Direct Calculation of Unsteady-State Weymouth Equations for Gas Volumetric Flow Rate with Different Friction Factors in Horizontal and Inclined Pipes

Direct calculations of unsteady-state Weymouth equations for gas volumetric flow rate occur more frequently in the design and operation analysis of natural gas systems. Most of the existing gas pipelines design procedures are based on a particular friction factor and steady-state flow analysis. This paper examined the behavior of different friction factors and the need to develop model analysis capable of calculating unsteady-state gas flow rate in horizontal and inclined pipes. The results show different variation in flow rate with Panhandle A and Panhandle B attaining stability in accurate time with initial unsteadiness at the instance of flow. Chen and Jain friction factors have opposition to flow with high flow rate: The prediction also reveals that Colebrook-White degenerated to Nikuradse friction factor at high Reynolds number. The horizontal and inclined flow equations are considerably enhanced on the usage of different friction factors with the aid of Matlab to handle these calculations.


Introduction
derived gas flow equation in a rigorous algebraic analytical equation for isothermal steady-state flow in gas pipeline to calculate volumetric flow rate and pressure losses in horizontal pipelines.For slightly inclined pipes, the elevation change is compensated by simply adding the static head of gas column to the pressure losses.Researchers continue to develop transient mathematical models that focus on the unsteady nature of these systems.Many related design problems, however, could be solved using steady-state modeling.Several investigators have studied the problem of gas flow through the pipeline and have developed a range of numerical schemes, which include the method of characteristics, finite element methods, and explicit and implicit finite difference methods.The choice partly depends on the individual requirements of the system under investigation.Common solution techniques for steady-state network analysis include nodal and loop formulation [2] and the entire set of hydraulic equation [3].Reference [4] presented a central implicit finite difference method and compared this method with the method of characteristics.They showed that the implicit method is very accurate for large time steps and so in the implicit procedure the maximum practical time increment is limited by the frequency of the variables imposed at the boundary condition at the inlet and outlet ends of the pipe.[5,6] discussed the importance of a transient simulation and the advantages of using a transient simulation.He notes that transient simulation is not only an excellent tool for training operations personnel, but it can also act as a helpful tool in on-line systems.He emphasizes its use in the design phase of a gas pipeline without storage facilities and with a flow demand that varies with respect to time on an hourly basis so as to show a behavior that could not be considered as a steady state.[7,8] compared a variety of transient models.Numerical solution of the partial differential equations, which characterize a dynamic model of the network, requires significant computational resources.The problem is to find, for a given mathematical model of a pipeline, a numerical method that meets the criteria of accuracy and relatively small computation time.The main goal of this paper is to characterize different transient models and existing numerical techniques to solve the transient equations.Reference [9] presented an analytical unsteadystate flow equation for gas pipelines in two categories: gas flow in wellbore during production and gas flow in pipe-lines during transportation.This is the most recent development that was based on the steady-state gas flow developed [10], and the paper assumed Moody friction factor and observed in their paper that all unsteady-state processes tend towards steady-state with time and applicable over a wide range of Reynolds number and relative roughness values within an acceptable standard of accuracy.The methods for gas pipeline calculations have some limitations in their accuracy due to assumptions considered in the used of friction factors on their models.Most of the methods neglected kinetic energy contribution.All are developed on the basis of steady-state flow for horizontal and inclined pipes.Most recently, [11] developed equations that assume unsteady-state gas volumetric flow rate calculations that are based on Weymouth's equations.The new equations are obtained by solving the fundamental energy equation without neglecting any assumption in the momentum equation.However, the basic flow equation consists of four components: elevation, kinetic energy, frictional losses and accumulation term.The elevation component is dependent upon the gas gravity and when computed over the length of a horizontal or inclined pipeline becomes negligible.
In this work, the developed model equations in [11] will be applied to other friction factor equations producing different flow rate from the unsteady-state Weymouth equations.Use of fundamental equation for calculating flow requires the numerical evaluation of friction factor.In general the friction factor itself is in turn a function of flow rate, thus making the whole flow equation an implicit one.For the purpose of determining friction factor, it has been found that fluid flow may be characterized by a dimensionless grouping of variables known as Reynolds number.The other parameter in the friction factor correlation is pipe roughness.Friction factor may be correlated as a function of the Reynolds number and the relative pipe roughness.Reynolds numbers are defined as the ratio of gas density, gas velocity, and pipe diameter to gas viscosity.The relative roughness is expressed as the absolute roughness of the pipe to its diameter.
This paper considered different friction factor equations for use in Equations ( 1) and (2) and these are substituted into the unsteady state equations for solutions.These solutions can be used to calculate the instantaneous volumetric gas flow rate in both horizontal and inclined pipes if p 1 and p 2 are known.The developed equations for both the horizontal and incline pipes are stated as follows: for horizontal pipeline and For vertical pipeline.For a uniform slope: and if the Moody friction factor for Weymouth equation is All these friction factors below will be substituted into Equations ( 1) and (2) respectively to calculate the instantaneous volumetric gas flow rate in horizontal and inclined pipes.

Panhandle A Equation
The Panhandle A pipeline flow equation assumes that f varies as follows: (5)

Nikuradse's Friction Factor
This correlation is still the best one available for fully developed turbulent flow in rough pipes:

Hagen-Poiseuille Equation
This is used for laminar flow.64

Colebrook-White Equation
This is applicable to smooth pipes and to flow in transition and fully rough zones of turbulent flow.

Analysis of the Unsteady-State Analytica Equation
Equations ( 1) and (2) are for horizontal and inclined tw rate, inlet and outlet pressures, and the s (1) and (2), it was assumed that te

Result and Discussions
horizontal and inclined l pipes and these provide a fundamental relationship beeen gas flow usual pipeline parameters.These two equations are based on fundamental fluid flow equations that governs compressible gas flow in pipes [9-14] considered a single phase real gas flow in pipe with uniform cross-sectional area using the mass conservation principle to developed a conservation equation for a control system that includes energy equation that so obtained the unsteady-state equa-tions for gas flow in pipes and these can be applied to a variety of problems.
In deriving Equation mperature and compressibility factor are constant, for a very short piece of pipeline, this assumption claimed to be valid and thus the equations should be accurate [11].These equations can be used to estimate any of these variables in the specified order.However, we can always divide a long pipeline into small segments for stepwise calculations to retain the same level of accuracy.
The volumetric gas flow rate for pipes is calculated for a period of 1000 hours using Equations (1) and (2) for the different friction factors.These are compared with steady-state gas flow for both horizontal and inclined pipes and are hereby discussed.Fig- ure 1 shows the variation of flow rate with time for both horizontal and inclined pipes using Panhandle A Equation.The graph shows increase in the flow rate from 0 to 380 hours and stabilizes from 400 to 1000 hours for horizontal pipe.It also shows increase in flow rate from 0 to 560 hours and then stabilizes from 580 to 1000 hours for inclined pipe.The steady state gas flow rate is achievable as 49.4 MMScf/hour for horizontal pipe and 38.2 MMScf/hour for inclined pipe.Figure 2 shows the variation of flow rate with time for both horizontal and inclined pipes using Panhandle B Equation.The graph shows increase in the flow rate from 0 to 420 hours and then stabilizes from 440 to 1000 hours for horizontal pipe.The graph shows that the flow rate also increases from 0 to 480 hours and then stabilizes from 500 to 1000 hours for inclined pipe.The steady-state gas flow rate is achievable as 56.5 MMScf/hour for horizontal pipe and 43.7 MMScf/hour for inclined flow.Figure 3 shows the variation of flow rate with time for both horizontal and inclined pipes using Nikuradse's friction factor.The graph shows increase in the flow rate from 0 to 420 hours and then stabilizes from 440 to 1000 hours for horizontal pipe.The graph shows that the flow rate also increases from 0 to 680 hours and then stabilizes from 700 to 1000 hours for inclined pipe.The steady-state gas flow rate is achievable as 40.2 MM Scf/hour for horizontal pipe and 31.1 MMScf/hour for inclined pipe.Figure 4 shows the variation of flow rate with time for both horizontal and inclined pipes using Hagen-Poiseuille Equation.The graph shows increase in the flow rate from 0 to 380 hours and then stabilizes from 400 to 1000 hours for horizontal pipe.The graph shows that the flow rate also increases from 0 to 420 hours and then stabili r inclined pipe.The steady-state gas flow rate is achiev MMScf/hour for horizontal pipe and 61.1 MMScf/hour for inclined pipe.Figure 6 shows the variation of flow rate with time for both horizontal and inclined pipes using Jain Equation.The graph shows increase in the flow rate from 0 to 640 hours and then stabilizes from 660 to 1000 hours for horizontal pipe.The graph shows that the flow rate also increases from 0 to 680 hours and then stabilizes from 700 to 1000 hours for inclined pipe.
The steady-state gas flow rate is achievable as 39.5 MMScf/hour for horizontal pipe and 30.5 MMScf/hour for inclined pipe.Figure 7 shows the variation of flow rate with time for both horizontal and inclined pipes using Colebrook-White Equation.The graph shows increase in the flow rate from 0 to 440 hours and then stabilizes from 460 to 1000 hours for horizontal pipe.The graph shows that the flow rate also increases from 0 to 740 hours and then stabilizes from 760 to 1000 hours for e gas flow rate is achievable as 40.2 MMScf/hour for horizontal pipe and 31.0 zes from 440 to 1000 hours inclined pipe.The steady-stat fo able as 59.2 MM Scf/hour for horizontal pipe and 45.8 MMScf/hour for inclined pipe.Figure 5 shows the variation of flow rate with time for both horizontal and inclined pipes using Chen Equation.The graph shows increase in the flow rate from 0 to 680 hours and then stabilizes from 700 to 1000 hours for horizontal pipe.The graph also shows increase in flow rate from 0 to 920 hours and then stabilizes from 940 to 1000 hours for inclined pipe.
The steady-state gas flow rate is achievable as 79.0 MMScf/hour for inclined pipe.The analysis of results and discussion shows that all the flow variations in the graphs are evident that there exists an initial transience at the instance of flow which later stabilizes with time.It is observed that the flow rate for inclined flow is smaller when compared to horizontal flow.It is also observed that it took a longer time to achieve steadiness in inclined pipes as compared to horizontal pipes and these observations can be attributed to gravity effect due to change in elevation.The gas volumetric  flow rate obtained when using Panhandle B is higher than the volumetric flow rate when using Panhandle A.
This can be attributed to the fact that Panhandle B equation is correlated for higher flow rates.We also observed that gas volumetric flow rate increased with de-creasing friction factor.
Chen Equation which has a friction factor of 0.0045 has the highest flow rate while Jain Equation which has a friction factor of 0.01739 has the lowest flow rate.This can be attributed to friction factor that shows the degree  to which flow is opposed in a pipe.Hence, a small friction factor means that opposition to flow is low which implies high flow rate and vice versa.
The Nikuradse's friction fact ately equal to the friction factor quation for a Reynolds number of 8 × 10 5 .This is because Colebrook-White degenerates to Nikuradse correlation at high Reynolds number.eglecting any of the terms in th flow rate at any given time.It is observed that Chen and Jain friction factors have opposition to flow which implies high flow rate and vice versa.The examination also observed that Colebrook-White degenerate to Nikuradse friction factor at high Reynolds number.In conclusion, we observed that all unsteady-state processes tend towards steady-state with time.The initial unsteadiness at the instance of flow is enhanced at high Reynolds number.The usage have tremendous application when examined through different friction factors and is able to predict unsteady-state flow in pipeline compare to the steady-state process assumed in industry.
This is probably the most widely used equation for long lines (transmission and delivery).The modified Panhandle equation assumes that f varies as

Figure 2 .
Figure 2. Flow rate variation with using Panhandle B Equation.

Figure 6 .
Figure 6.Flow variation with time using Jain Equation.

Figure 7 .
Figure 7. Flow variation with time using Colebrook-White Equation.

g
Acceleration due to gravity, ft/sec 2 T  Average flowing temperature, o R e  Base of natural logarithm T  Base temperature, o R = 2.718 b b P  Base pressure, psia A  Constant cross-sectional area of the pipeline, 2 ft e L  Effective length of the pipeline, mile .  Gas density Z  Gas deviation factor at average flowing temperature and Gas specific gravity (air = 1) u  Gas velocity, ft/sec c g  Gravitational conversion factor = 32.17lbm-ft/lbf-sec 2 D  Inside diameter of pipe, in L  Length of pipe, miles f  Moody friction factor Z   Outlet elevation -inlet elevation  V Specific volume, 3 ft lbm   Angle of Inclination, degree.