Beruflich Dokumente
Kultur Dokumente
Maciej Chaczykowski ∗
Warsaw University of Technology, Faculty of Environmental Engineering, Heating and Gas Systems Department, Nowowiejska 20,
00-653 Warszawa, Poland
a b s t r a c t
Real gas effects exert a significant influence on the hydraulics of natural gas transmission pipelines. In this article
the implications of the selection of the equation of state for the pipeline gas flow model are investigated. A non-
isothermal transient gas flow model with AGA-8 and SGERG-88 equations of state was studied. Models with Soave-
Redlich-Kwong and Benedict-Webb-Rubin equations of state were solved to illustrate the overall gas flow model
inaccuracies. The effect of the selection of different equations of state on the flow parameters is demonstrated and
discussed.
© 2009 The Institution of Chemical Engineers. Published by Elsevier B.V. All rights reserved.
Keywords: Natural gas pipeline; Transient non-isothermal flow; Equation of state; Compressibility factor
∗
Tel.: +48 22 234 50 57; fax: +48 22 825 29 92.
E-mail address: maciej.chaczykowski@is.pw.edu.pl.
Received 15 December 2008; Received in revised form 15 May 2009; Accepted 14 June 2009
0263-8762/$ – see front matter © 2009 The Institution of Chemical Engineers. Published by Elsevier B.V. All rights reserved.
doi:10.1016/j.cherd.2009.06.008
chemical engineering research and design 8 7 ( 2 0 0 9 ) 1596–1603 1597
1
Note: flowrate Qs is shown in the standard conditions of For a given gas composition, the compressibility factor
273.15 K, 0.1 MPa, Substantial derivatives are indicated as d/dt. can be expressed as a function of pressure and temperature
1598 chemical engineering research and design 8 7 ( 2 0 0 9 ) 1596–1603
z = z(p,T) thus Combining this with Eq. (2) gives the following derivation:
∂z ∂z
dz = dp + dT (7) dh dp 2fw3
∂p T ∂T p − − = q (17)
dt dt D
Substituting Eq. (7) into Eq. (6) we obtain
By using the thermodynamic identities
1 dp dT
1 d 1 ∂z 1 1 ∂z
= − − + (8) p ∂p
dt p z ∂p dt T z ∂T dt
T p dh = du + d , du = cv dT + T − p dv
∂T v
w=
s Qs zRT
(9) ∂z
pA ∂T s Qs zRT ∂T RT s Qs zRT 1 1
+ + zT +
∂t pA ∂x cv pA T z ∂T
Differentiation of the logarithmic form of Eq. (9) with respect
1 ∂Q 1 ∂p ∂T
to spatial coordinate yields s 1 ∂z 1 1 ∂z
× − − + +
Qs ∂x p z ∂p T ∂x T z ∂T p ∂x
1 ∂w
=
1 ∂Qs
−
1 ∂p
+
1 ∂T
+
1 ∂z
(10) 2f
zRT |Q | 3 q
s s
w ∂x Qs ∂x p ∂x T ∂x z ∂x − − =0 (18)
cv D Ap cv
The last term on the right-hand side of Eq. (10) can be substi-
tuted using Eq. (7). Therefore The first and the second term of Eq. (18) represent the time
∂z ∂p ∂z ∂T rate of change of the temperature of the gas as it flows along
1 ∂w 1 ∂Qs 1 ∂p 1 ∂T 1 1 the pipeline. The third term represents the real gas effects
= − + + +
w ∂x Qs ∂x p ∂x T ∂x z ∂p T ∂x z ∂T p ∂x resulting from the enthalpy dependence on pressure and tem-
(11) perature, and in the range of pressure and temperature values
representative for natural gas transmission pipelines it has a
Substituting Eqs. (8) and (11) into Eq. (5) gives the following positive value, causing the expanding gas to cool. The fourth
form of continuity equation expressed by quantities which are term represents heating of the gas from friction. The last term
directly measured in Eq. (18) represents the heat-transfer from the gas to the
∂z B 2(C − B2 )
= + 2
p
∂p T RT (RT)
SRK equation of state and BWR equation of state were taken where j is the spatial coordinate discretization section index
for comparison of the flow models. The following form of SRK and X (Tj ) = ∂Tj /∂x, X (pj ) = ∂pj /∂x, X (Qnj ) = ∂Qnj /∂x. The five-
equation, allowing for convenient compressibility factor cal- point differentiation formula for spatial derivative of pressure
culations was used in this work: is given below as an example:
⎡ ⎤
Z3 − Z2 + Z(A − B − B2 ) − AB = 0 (23) dp(x0 )
⎢ dx ⎥
⎢ dp(x1 ) ⎥
where ⎢ ⎥
⎢ dx ⎥
⎢ ⎥
A=
a˛p ⎢ dp(x2 ) ⎥
2 ⎢ ⎥
(RT) ⎢ dx ⎥
⎢. ⎥
X (p) = ⎢
⎢ ..
⎥
⎥
bp ⎢ ⎥
B= ⎢ dp(xN−2 ) ⎥
RT ⎢ ⎥
⎢ dx ⎥
⎢ dp(xN−1 ) ⎥
R2 Tc2 ⎢ ⎥
a = 0.42747 ⎢ dx ⎥
pc ⎣ ⎦
dp(xN )
dx
b = 0.08664
RTc ⎡ ⎤
pc −25 48 −36 16 −3 ··· 0
⎢ −3 −10 −6 ⎥
⎢ 18 1 ... 0 ⎥
2 ⎢ ⎥
⎢1 −8 0 8 −1 ... 0 ⎥
˛= 1+m 1−
T ⎢ ⎥
1 ⎢. .. .. .. .. .. .. ⎥
Tc = ⎢.
12 x ⎢ . . . . . . . ⎥⎥
⎢ ⎥
⎢0 ... 1 −8 0 8 −1 ⎥
m = 0.480 + 1.574ω − 0.176ω2 ⎢ ⎥
⎣0 ... −1 6 −18 10 3 ⎦
For iterative compressibility factor calculations Newton’s 0 ... 3 −16 36 −48 25
method was used. ⎡ ⎤
p(x0 )
BWR equation of state is in the following form:
⎢ p(x1 ) ⎥
⎢ ⎥
C0 ⎢ ⎥
p = RT + B0 RT − A0 − 2 + (bRT − a)3 + a˛6 ⎢ p(x2 ) ⎥
T2 ⎢ ⎥
⎢. ⎥
× ⎢ .. ⎥ + O( x4 )
c3
(1 + 2 )e−
2 ⎢ ⎥
+ ⎢ ⎥
T2 ⎢ p(xN−2 ) ⎥
⎢ ⎥
⎣ p(xN−1 ) ⎦
The values of eight coefficients: A0 , B0 , C0 , a, b, c, ˛ and
depend on gas composition only. Application of Newton’s p(xN )
method enables iterative density calculation. Once the density
is known, compressibility factor is calculated from Eq. (4). This approximation is fourth-order correct, i.e. the trunca-
tion error is proportional to x4 . The derivative p(x) approx-
5. Solution method imated at point xj is based on function values at grid points
xj−2 , xj−1 , xj , xj+1 , xj+2 . For a detailed description of the solution
Eqs. (11), (14) and (17) comprise the set of hyperbolic partial algorithm see paper (Osiadacz and Chaczykowski, 2001b).
differential equations with pressure, flow and temperature as
a function of time and location. It is solved by the method of 6. Simulation results and discussion
lines with a five-point biased upwind approximation scheme
for spatial derivatives In the case study, different equations of state were incor-
porated into the gas flow model in order to determine the
∂z
∂T n Qnj zRTj RTj n Qnj zRTj 1 1
=− X (Tj ) − zT +
∂t pj A cv pj A Tj z ∂T
∂z 3
1 1 1 ∂z 1 1 2f zRTj n |Qnj | q
× X (Qnj ) − − X (pj ) + + X (Tj ) + + = 0, j = 0, 1, . . . , N
Qnj pj z ∂p T Tj z ∂T p cv D Apj cv
∂z 1 ∂z −1 ∂T ∂z −1
∂p 1 1 1 n zRTj 1 1
= + − − − X (Qnj ), j = 0, 1, . . . , N (24)
∂t Tj z ∂T p pj z ∂p T ∂t pj A pj z ∂p T
∂z ∂p
∂Qn n Qnj zRTj 1 1 n Qnj zRTj
=− X (Qnj ) + Qnj − × + X (pj )
∂t pj A pj z ∂p T ∂t pj A
∂T
1 1 ∂z n Qnj zRTj ∂T A 2fzRTj n Qnj |Qnj |
− Qnj + + − X (pj ) − , j = 0, 1, . . . , N
Tj z ∂T p ∂t pj A ∂x n DApj
chemical engineering research and design 8 7 ( 2 0 0 9 ) 1596–1603 1601
7. Conclusion
du p d 2fw3
− − = q (A3)
dt dt D
∂p
du = cv dT + T − p dv (A4)
∂T v
we obtain
dT ∂p
1 d 2fw3
cv −T − = q (A5)
dt ∂T dt D
dT ∂p
∂w 2fw3
cv +T − = q (A6)
Fig. 7 – Change of pipeline line-pack. dt ∂T ∂x D
chemical engineering research and design 8 7 ( 2 0 0 9 ) 1596–1603 1603
2f
zRT |Q | 3 q
of compressible fluids in pipelines—a review of theoretical
−
s s
− =0 and some experimental studies. Int. J. Heat Fluid Flow, 8(1):
cv D Ap cv 3–15.