Professional Documents
Culture Documents
(Regular Paper)
1. INTRODUCTION
The flash calculations process is essential to
compositional modeling. There have been many
solution techniques proposed mainly to speed up this
process and to increase its capability to converge near
the critical regions. The SSI solution method is
common; however, it demonstrates poor convergence
near the critical point. To overcome this convergence
problem, Fussell and Yanosik[3] have proposed the
Minimum Variable Newton-Raphson (MVNR)
method. The method minimizes the number of
81
H.S. Naji
82
(1)
(2)
a0 = AB u1u 2 (1 + B ) B 2
(3)
where:
N
am = xi i
(4)
i =1
N
bm = xi bi
i =1
N
i = x j aij
j =1
aij = ai a j i j (1 k ij )
ai = a R 2
(5)
Tci2
Pci
(6)
Tci
bi = b R
Pci
The constants a and b, are best determined
through regression in such a way that the EOS is
forced to predict the phase behavior of the
hydrocarbon mixture. For the SRK EOS, a=0.427480
and b=0.086640. For the PR EOS, a=0.457235 and
b=0.077796. Other parameters are given by:
Conventional and Rapid Flash Calculations for the Soave-Redlich-Kwong and Peng-Robinson Equations of State
i = 1 + mi 1 Tr
)]
mi =
m0 + m1 1 + Tr (0.7 Tr )
2
i
SRK EOS
PR EOS
0.49
(8)
(14)
B
ln = i ( Z L 1) ln( Z L B)
B
L
Aij Bi Z L + u1 B L
A
2
f i = xi p iL
ln L
(u1 u 2 )B A B Z + u 2 B
(9)
P
bi
RT
P
P
AijL =
L =
(RT )2 i (RT )2
Bi =
j =1
yi = xi K i =
i =1
i =1
i =1
m1
Compound
m1
N2
O2
CO2
NH3
H2 O
Hcl
C1
C2
C3
n-C4
n-C5
C6
0.01996
0.01512
0.04285
0.00100
-0.06635
0.01989
-0.00159
0.02669
0.03136
0.03443
0.03946
0.05104
C7
C8
C9
C10
C11
C12
C13
C14
C15
C16
C17
C18
0.04648
0.04464
0.04104
0.04510
0.02919
0.05426
0.04157
0.02686
0.01892
0.02665
0.04048
0.08291
3. CONVENTIONAL FLASH
CALCULATIONS
Flash calculations refer to the process of calculating
the liquid and vapor mole fractions, xi and yi, at the
prevailing pressure and temperature when given the
overall composition of the hydrocarbon mixture, zi.
The liquid and vapor mole fractions are constrained by
the following equation:
N
N
(11)
y =
x =1
i
xi ) =
i =1
zi ( K i 1)
=0
1 + V ( K i 1)
(17)
1 + V (K
ij
(16)
zi K i
1 + V ( K i 1)
(15)
zi
1 + V ( K i 1)
i =1
(10)
x a
xi =
y x = (y
where:
i =1
(13)
zi = Vyi + (1 V ) xi
z i = Vxi K i + (1 V ) xi
Tci
Tr < 0.7
L
i
zi = Vyi + Lxi
< 0.49
i =1
xi
Tr 0.7
0
m1 =
Table 1
y =xK
i
0.378893 + 1.4897153i
m0 = 0.17131848i2 + 0.0196554i3
2
0.37464 + 1.54226i 0.26992i
Tr = T
(7)
1)
83
H.S. Naji
P
T
(19)
K = ci exp 5.37(1 + )1 ci
i
2.
3.
4.
5.
6.
Ki
7.
fi L
1 < 10 15
V
i =1 f i
f =
(21)
V = [V V 0 ] < 10 15
2
i = 1,..., N
(22)
z (K 1)
=0
g (V ) = i i
1
+
V ( K i 1)
i =1
N
84
Pci
T
exp 5.37(1 + i )1 ci
P
T
(23)
Assume an initial guess of V from the RachfordRice equation, Eq. 18. Calculate fugacities and
fugacity coefficients of all components for both liquid
and vapor phases using Eq. 9. Update component
equilibrium ratios Ki and V, using the GloballyConvergent Newton. Steps 3-4 are repeated until the
following criteria are satisfied:
2
fi L
1 < 1015
V
f
i =1 i
f =
(24)
V = [V V 0 ] < 1015
2
( )
( )
amL
= 1L + 2 2L 23L 4L
bmL
= 5L
= ai i + 2 ai i hi g i
L
i
(25)
L
1
L
2
ai i g i 3L ai i hi2 g i 4L
1L = xi ai i
i =1
N
2L = xi ai i hi g i
i =1
N
(26)
= xi ai i h g i
L
3
i =1
2
i
4L = xi ai i g i
i =1
N
5L = xi bi
i =1
6L = L
Conventional and Rapid Flash Calculations for the Soave-Redlich-Kwong and Peng-Robinson Equations of State
Is Single-Phase Stable?
Yes
Yes
Is Single-Phase Stable?
No
No
Set V0 = V
Set V0 = V
Calculate Components Liquid and Vapor Mole Fractions
fL
f = iV 1 < 1015
i =1 f i
Yes
fiL
f =
i 1
1 < 10 15
Yes
No
No
No
No
V = [V V 0 ] < 10 15
2
Yes
V = [V V 0 ] < 10 15
2
STOP
Yes
STOP
R1 = 1L xi ai i = 0
i =1
N
R2 = xi ai i hi g i = 0
L
2
i =1
N
R3 = xi ai i hi2 g i = 0
L
3
(27)
i =1
N
R4 = 4L xi ai i g i = 0
i =1
N
R5 = 5L xi bi = 0
i =1
R6 =
i =1
z i (1 K i )
=0
K i + 6L (1 K i )
85
H.S. Naji
kF = L kL + (1 L )Vk
k = 1,....., 5
(28)
kF L kL
(1 L )
k = 1,.....,5
No
Given Overall Composition, T, and P
Set V0 = V
2.
3.
4.
5.
6.
V
1 f
1 < 10 15
Yes
No
Update Reduced Parameters Using Broyden's Method
No
fi L
1 < 1015
V
i =1 f i
fiL
f =
(30)
f =
(31)
V = [V V 0 ] < 1015
2
8. RESULTS
The conventional and rapid flash calculations
formulated in this study were extensively used to flash
a total of 134 crude oil samples at different pressures
from 100 to 10000 psia at an increment of 5 psia. The
oil samples include: the five-component hydrocarbon
reported by Mehra et al[1], the ten-component volatile
oil reported by Nghiem et al[2] and the fifteencomponent reservoir oil system reported by Fussell and
Yanosik[3]. In addition, 131 crude oil samples, compiles
by Elsharkawy[14], were used. Saturation pressures of
all oil samples were calculated via flash calculations
and compared with reported values.
The initial guesses for both flash methods were
obtained by conventional flash until component
fugacities converged to within a relative error of 10-4.
86
Pci
T
exp 5.37(1 + i )1 ci
P
T
Yes
Is Single-Phase Stable?
(29)
V = [V V 0 ] < 10 15
2
Yes
STOP
Conventional and Rapid Flash Calculations for the Soave-Redlich-Kwong and Peng-Robinson Equations of State
2820
2800
2780
Pressure, psia
#
1
2
3
4
5
Method
SSI - SRK
SSI - PR
Rapid - SRK
Rapid - PR
2700
2680
0.50
0.55
0.60
0.65
0.70
0.75
0.80
0.85
0.90
0.95
1.00
Vapor Fraction
Nghiem et al. V
Nghiem et al. Powell Method 2
This Study SSI-SRK
This Study Rapid-SRK
Figure 5. Plot of vapor mole fraction versus pressure for the ten
component system of Nghiem et al.
850
800
Pressure, psia
2740
2720
2760
750
700
650
600
0.5
0.55
0.6
0.65
0.7
0.75
0.8
0.85
0.9
0.95
Vapor Fraction
Figure 4. Plot of vapor mole fraction versus pressure for the five
component system of Mehra et al.
Component
C1
C2
C3
nC4
nC5
nC6
nC7
nC8
nC9
nC10
Component
N2
CO2
C1
C2
C3
i-C4
n-C4
i-C5
n-C5
C6
180 BP*
230 BP
280 BP
330 BP
380 BP
Value
0.13066
0.9668
145.944 lb/mole
431.0 F
87
H.S. Naji
5000
5000
4000
3500
3000
2500
2000
1500
1000
500
0
1
12
23
34
44
54
71
101
112
127
141
152
163
173
Sample number
4950
6000
4900
Elsharkawy SRK
4850
Elsharkawy PR
5000
4800
Pressure, psia
4500
4750
4700
4650
4600
4550
4500
4450
4000
3000
2000
1000
0
0.05
0.1
0.15
0.2
0.25
0.3
0.35
0.4
0.45
0.5
Vapor Fraction
Fussell et al.
Nghiem et al.
Figure 6. Plot of vapor mole fraction versus pressure for the fifteencomponent system
6000
Elsharkawy SRK
12
23
34
44
54
71
101
112
127
141
152
163
173
Sample number
5000
5000
Saturation pressure, psia
4500
4000
Saturation pressure, psia
4000
3000
2000
1000
3500
3000
2500
2000
1500
1000
500
12
23
34
44
54
71
101
112
127
141
152
163
173
Sample number
12
23
35
45
57
85
107
123
136
147
159
170
Sample number
This Study Rapid SRK
Figure 11. Plot of Rapid and SSI flash calculations for both SRK and
PR equations of state
6000
Elsharkawy PR
This Study PR
5000
9. CONCLUSIONS
4000
3000
2000
1000
0
1
12
23
34
44
54
71
101
112
127
141
152
163
173
Sample number
88
Conventional and Rapid Flash Calculations for the Soave-Redlich-Kwong and Peng-Robinson Equations of State
NOMENCLATURE
a
A
b
B
F
fiV
fiL
g
h
Ki
L
REFERENCES
1.
89
H.S. Naji
90
Appendix A:
Rapid Flash Reduced Parameters
The key point to the rapid flash, as proposed by Li and
[12]
is to decompose the BIPs into two parts using
the following expression:
Johns
k ij = (hi h j ) g i g j
(32)
aij = 1 (hi h j ) g i g j
2
ai a j i j
(33)
(34)
ai a j i j hi2 g i g j ai a j i j h 2j g i g j
j =1
j =1
i = x j ai a j i j + 2 x j ai a j i j hi h j g i g j
N
x j ai a j i j hi2 g i g j x j ai a j i j h 2j g i g j
j =1
N
j =1
i =1
j =1
am = xi x j ai a j i j + 2 xi x j ai a j i j hi h j g i g j
i =1
j =1
i =1
j =1
i =1
j =1
xi x j ai a j i j h g i g j xi x j ai a j i j h 2j g i g j
2
i
bm = xi bi
i =1
(35)
Rearranging Eq. 35 yields:
N
i = ai i x j a j j + 2 ai i hi g i x j a j j h j g j
j =1
j =1
2
2
ai i hi g i x j a j j g j ai i g i x j a j j h j g j
=
1
=
1
j
j
N
N
N
am = xi ai i x j a j j + 2 xi ai i hi g i x j a j j h j g j
=
1
=
1
i
j
i =1
j =1
N
N
N
2
2
xi ai i hi g i x j a j j g j xi ai i g i x j a j j h j g j
=
1
=
1
i
j
i =1
j =1
bm = xi bi
i =1
(36)
Realizing that i and j are interchangeable yields:
Conventional and Rapid Flash Calculations for the Soave-Redlich-Kwong and Peng-Robinson Equations of State
N
i = ai i xi ai i + 2 ai i hi g i xi ai i hi g i
i =1
i =1
N
N
i =1
am = xi ai i + 2 xi ai i hi g i
i =1
i =1
N ln Vi VDl ln Vi
K i
= K i
L
V
L
VDk
Dk
l Dl Dk
with:
VDl
LDk
N
N
2 xi ai i hi2 g i xi ai i g i
i =1
i =1
bm = xi bi
( )
L
1
1 LD 6
L
D6
L
V
Dk Dk
=
L 2
1 Dk
1
for l = k = 1,...,5
(43)
for l = 6, k = 1,...,5
for l = k = 6
otherwise
i =1
am = 1L
(42)
( )
+ 2 2L
L
2
L
3
2
i
L
4
2 3L 4L
B (Z 1) B
ln i Bi Z
1 Z
B
i 2
=
B Dk
Dk (Z B ) Dk Dk
Dk
B
Z
Aij Bi
1
B
A
2
+ u1
B (Z + u1 B ) Dk
Dk
(u1 u 2 )B A
bm = 5L
(38)
Appendix B:
Jacobian Matrix for SRK/PR
The entries of the Jacobian matrix are given here for
both equations of state, the SRK and the PR. The rows
of the Jacobian matrix in a dimensionless form are
given by:
Z
1
B
+u
(Z + u 2 B ) Dk 2 Dk
2 Aij
Aij
AB i
2
A
B
3
(
)
(
)
u
u
B
u
u
AB
(u1 u 2 )B
2
1
2
Dk
Dk
Dk
1
Aij Bi Z + u1 B
1
A
B
A
2
ln
(u u )B (u u )B 2
A
B
Z
u
B
+
2
2
Dk
Dk
1
1
2
) Z
a 0
a 2
a1
+Z
+
Dk
Dk Dk
N
xi
RD 2
= 2 k Ai hi g i
L
Dk
LDk
i =1
a1
A
B
B
=
u2
2(u1 + u 2 u1u 2 )B
Dk Dk
Dk
Dk
N
xi
RD 4
= 4 k Ai g i
LDk
LDk
i =1
Dk =
xi
RD 6
yi
=
P
Ai =
a
(RT )2 i i
P
Bi =
bi
RT
x i
LDk
y i
LDk
(40)
K i
z i (1 K i ) 6 k + 1 LD 6
LDk
L
D6
)]
+ K i 1 LD 6
[(
[(
Dk
4 D 2
(P
) (
(P
2 D 4
2 D 3
0 0]
) ( P RT )
]
RT )R ( P RT )R
B
=
R ]
P RT 2
RT ) 5
P RT R1
P RT R4
Aij
(45)
P RT 1
P RT 4
RDk =
a 0
B
B
A
B
= A
B
2u1u 2 (1 + B )B
u1u 2 B 2
Dk
Dk
Dk
Dk
Dk
A
= [2 D1
Dk
N
RD 5
xi
= 5 k Bi
L
Dk
LDk
i =1
RT )R5
(46)
5k
Dk
Ai
2 Ai hi g i
Ai g i
Ai hi2 g i
0 0
(41)
K i
z i K i (1 K i ) 6 k + LD 6
LDk
L
D6
+ K i 1 LD 6
)]
(44)
a 2
B
= (u1 + u 2 1)
Dk
Dk
(39)
Z + u1 B
ln
Z + u2 B
N
xi
RD1
= 1k Ai
L
Dk
LDk
i =1
N
RD 3
xi
= 3k Ai hi2 g i
L
Dk
LDk
i =1
91