Documenti di Didattica
Documenti di Professioni
Documenti di Cultura
Equations of State
When the effects of complex phase behavior cannot be accurately
calculated using simple approaches, it is often desirable to utilize
some sort of equation of state (EOS). An EOS approach is often
recommended when dealing with volatile oils and retrograde
condensate gases. The two most common equations of state
utilized in petroleum engineering applications are the PengRobinson (PR) and Soave-Redlich-Kwong (SRK) equations, which
historically were derived from van der Waals (vdW) equation.
These three equations are called cubic because they result in a
cubic representation for the molar volume. The basic equations are
the following:
Ideal Gas
pvm = RT
(1.1)
van der Waals
ac
p + 2 ( vm b ) = RT
vm
(1.2)
Soave-Redlich-Kwong
ac (T )
p+
( vm b ) = RT
vm ( vm + b )
(1.3)
Peng-Robinson
ac (T )
p+
( vm b ) = RT
vm ( vm + b ) + b ( vm b )
(1.4)
ac (T )
p+
( v b ) = RT
( vm + f1b )( vm + f 2b ) m
(1.5)
z=
A=
B=
pvm
(definition of gas deviation factor)
RT
ac (T ) p
R 2T 2
(1.6)
(dimensionless)
bp
(dimensionless)
RT
Equation 1.5 can be algebraically rewritten in the following form:
z 3 a2 z 2 + a1 z a0 = 0
(1.7)
where
a0 = B A + wB ( B + 1)
a1 = A B B ( u w ) + u
a2 = 1 B ( u 1)
SRK
PR
1
0
1
0
1
1+ 2
1 2
2
-1
f1 =
f2 =
u = f1 + f 2
w = f1 f 2
= u 2 4w
2 2
Note that even though Eq. 1.7 is written in terms of z , Eq. 1.6 can
always be used to determine the molar volume if desired.
The values of ac and b are determined by noting that at the
critical point,
p
vm
=0
(1.8)
2 p
=0
vm2 T
(1.9)
Tc
ac = a
b = b
R 2Tc2
pc
(1.10)
RTc
pc
(1.11)
SRK
PR
a =
0.427480
0.457236
b =
0.086640
0.077796
zc =
0.333333
0.307401
Note that the value of the z-factor at the critical point is also given.
The numbers above can be expressed analytically, as given at the
end of this document.
For both the SRK and PR equations, the temperature-dependent
parameter is expressed as
(T ) = 1 + m 1 Tr
(1.12)
where,
m = mo + m1 m2 2
(1.13)
PR
m0 =
0.480
0.37464
m1 =
m2 =
1.574
0.176
1.54226
0.26992
(1.14)
where,
pvr T =0.7 =
pv (T = 0.7Tc )
pc
(1.15)
(1.16)
For an ideal gas, it can be shown that
dG = RT d ( ln p )
(1.17)
(1.18)
lim f = p
(1.19)
p 0
Note that the fugacity can be thought of as the potential for transfer
between phases. This means that molecules will tend to move
phase-wise, so as to minimize the fugacity.
Further defining a fugacity coefficient, as
p z 1
f
= exp
dp
p
0 p
(1.20)
vm
RT
p dvm
(1.21)
z+B
A
2
ln = z 1 ln ( z B )
ln
B z + B u
2
(1.22)
1.1 Solutions
In general an EOS can be solved for either one of the three
parameters z (or vm ), p , or T . First well deal with whats called
a flash calculation, solving for z when pressure and temperature
are known.
Equation 1.7 is a cubic equation. In general the following
possibilities are possible for the roots (solutions) of this equation.
1. Three real roots, some or all possibly repeated.
2. One real root and two imaginary roots.
For pure components, away from the vapor pressure line, there is
generally one real root and two imaginary roots. The value of z
will be relatively large for gases and relatively small for liquids.
Near the vapor pressure line, however, there will be three real
roots. It is in this region that fugacities are needed to determine
phase.
When there are three real roots, the largest root represents the zfactor of the gaseous phase, while the smallest root represents the
vm =
pM
, and/or molar volumes,
zRT
zRT
, as desired.
p
1.2 Mixtures
For mixtures an additional consideration must be taken into
account, composition. With so-called flash calculations, the
composition of the total system (mixture) is usually taken as a
known. The mole fractions of each component are given the
symbols z j (not to be confused with the z-factor), where j is the
component index, spanning the total number of components in the
system. Likewise the mole fractions of the liquid phase are given
the symbols x j and the mole fractions of the gaseous phase y j . By
definition,
x =y =z
j
= 1.
Kj =
yj
(1.23)
xj
Note that K j will be small (but never zero) for components that
prefer to be in the liquid phase, and much greater than one (but
never infinite) for components that prefer to be in the gaseous
phase. The values of K j can be determined from correlations, but
the more modern approach is to determine them through EOSs.
The final composition variable needed is the total mole fraction of
the mixture that is in the gaseous phase, n% g . This variable is, of
course, not defined outside the two-phase envelope, and has a
value ranging from zero (at a bubble point) to one (at a dew point)
inside the envelope.
The z j , K j , and n% g then fully define the composition of a twophase mixture. Liquid and gas compositions can be determined by
molar balances using the following relationships.
xj =
zj
1 + n% g ( K j 1)
yj = K j xj =
Kjzj
1 + n% g ( K j 1)
(1.24)
(1.25)
dG j = RT d ( ln f j )
(1.26)
lim f j = y j p
(1.27)
p 0
j =
fj
(1.28)
yj p
lj
gj
Kj =
(1.29)
(1.30)
b = y jbj
(1.31)
Note that for a single component, these two equations will yield
one components values of ac and b . Also, even though these
two equations are based on gas mixtures, they can also be applied
to liquid mixtures by substituting the x j for the y j . Equation 1.30
is a double summation, with both indexes i and j going over the
entire number of components in the system.
The ij are called binary interaction coefficients and are
empirical measures of the attractive and repulsive forces between
molecules of unlike size. Note that ii = jj = 0 and ij = ji = 0 .
There are many ways that binary interaction coefficients are
characterized (Ahmed, 1989), but in general they increase as the
relative difference between molecular weights increase. When no
data is available, values of zero are sometimes use. Often binary
interaction coefficients are used to history match EOS
calculations against actual PVT experiments.
10
z+B 2
A
ln j = ( z 1) Bj ln ( z B )
( Aj Bj ) ln
u
B
z+B
2
(1.32)
where,
Aj =
Bj =
2 acj j yi aci i (1 ij )
i
(1.33)
ac
bj
(1.34)
Note that Eq. 1.32 reverts to Eq. 1.22 where there is only one
component present.
For two-phase mixtures, Eq. 1.7 must be solved twice, once for the
liquid phase and once for the gas phase. When two phases exist,
both EOS calculations will yield three real roots. The smallest root
of the liquid equation should be taken as the z-factor for the liquid
phase, and the largest root of the gas equation should be taken as
the gas z-factor.
The above equations can be simplified using the following
definitions.
fbj =
Tcj
(1.35)
pcj
f aj (T ) =
Tcj
1 + mo + m1 j m2 2j
pcj
) 1
T
Tcj
(1.36)
11
Then,
A = a
B = b
Aj = 2
p
T2
y f y f (1 )
j
i ai
(1.37)
ij
p
y j fbj
T j
(1.38)
f aj yi f ai (1 ij )
i
(1.39)
y j f aj yi f ai (1 ij )
j
Bj =
aj
f bj
(1.40)
j bj
x =y
j
12
(K
T
j
K Cj
(1.41)
K Tj K Cj
f ( n% g ) =
j
zj
1 + n% g ( K j 1)
z j ( K j 1)
1 + n% g ( K j 1)
(1.42)
(1.43)
n%
k +1
g
= n%
k
g
( )
f ( n% )
f n% gk
k
g
(1.44)
13
envelope, the value of n% g is undefined and may take on nonphysical values. The following relationships define how to
determine whether the calculation is being done inside the twophase envelope or not.
Liquid phase
z K
j
<1
(1.45)
Gaseous phase
j
Bubble point
zj
Kj
z K
j
<1
(1.46)
=1
(1.47)
Dew point
zj
K
j
Two-phase
=1
(1.48)
z K
j
> 1 and
zj
K
j
>1
(1.49)
The above procedure can also be used to calculate bubble and dew
point pressures, by simply iterating on pressure until the
appropriate Eq. 1.47 or 1.48 is true. Again, the Excel Solver is a
good way to do this type of calculation.
ac =
b=
R 2Tc2
27 R 2Tc2
= 0.421875
pc
64 pc
1 RTc
RT
= 0.125 c
pc
8 pc
14
zc =
3
= 0.375
8
Soave-Redlich-Kwong
1 + 21 3 + 22 3 R 2Tc2
R 2Tc2
ac =
= 0.427480 2
9
pc
pc
21 3 1 RTc
RT
b=
= 0.086640 c
pc
3 pc
zc =
1
= 0.333333
3
Peng-Robinson
1715
112 + 80 2
16 2 13
1
2205
1134
ac =
+
+
23
13
1536 16 2 13
16 2 13
13
162 16 2 13 + 45 16 2 13
343
16 2 35 + 16 2 13
1
b=
1008
1536 +
+ 144 16 2 13
13
16
2
13
1
7
zc =
11
32
16 2 13
13
+ 16 2 13
13
R 2Tc2
R 2Tc2
= 0.457236
pc
pc
23
= 0.307401
1.4 References
Ahmed, T.: Hydrocarbon Phase Behavior, Gulf Publishing Co., Houston (1989).
McCain, W.D., Jr.: The Properties of Petroleum Fluids, PennWell Publishing Co., Tulsa (1990).
15