Documenti di Didattica
Documenti di Professioni
Documenti di Cultura
MULTIPHASE ISENTHALPIC
ALGORITHMS
AND ISENTROPIC
FLASH
MICHAEL L. MICHELSEN
Instituttet for Kemiteknik
ABSTRACT
Michelsen, M.L., 1987. Multiphase isenthalpic and isentropic flash algorithms. Fluid Phase
Equilibria, 33: 13-27.
INTRODUCTION
14
STABILITY
ANALYSIS
H/R
210
(K)
220
230
240
250
260
270
T(K)
in dependence
of temperature
for an equimolar
mixture
of methane
15
H/R
(K)
-500
-1000
-1500
210
220
230;
240
250
260
270
280
T(K)
The enthalpy/temperature
variation for the same mixture at 30 Atm. is
shown in Fig. 2. Now three roots for the compressibility factor are found in
the interval 223.7 K < T < 240.1 K, yielding the two branches of the curve
corresponding to the liquid-like and the vapour-like root, respectively. At
temperatures below T * = 233.0 K the liquid state has the lower Gibbs
energy, and above T * the vapour phase is the more stable. At the transition
temperature T = T* the enthalpies of the two phases are H/R = - 1165 K
and H/R = - 455 K, respectively.
If the specified enthalpy is outside this interval, determination of the
corresponding temperature is straightforward, and for a specification in the
interval (- 1165 to - 455 K) the transition temperature is used as the initial
temperature estimate for the subsequent phase split calculation. In this latter
situation the system is known to form (at least) two phases at equilibrium,
and stability analysis is not required.
Therefore, the outcome of the initial temperature search is either a
temperature, at which P-T stability analysis can be performed, or the
16
(1)
Kij = Yij/YiM
i/Si >
(2)
with
M-l
si=l+
4(Ku-l)
j=l
(3)
(5)
where 9, is the fugacity coefficient of component i in phase j.
17
withp,=l-
C Pj
(7)
j=l
M
and
j=l
(8)
H - Hspec
=
i=l
j=l
(9)
a8j/aP,
agk/a/3j
&,(K,-l)(K,-l)/~;(j,k=l,2,...,(M-1))
i=l
01)
and
agj/aT=
l/(RT2)agM/Wj=
E z,(K&l In K,/U-((K,
- l)/&)T
*)/li
i=l
(12)
where
M-l
7:
In K,/aT
2 flkqka
k=l
(13)
Finally,
%+I
w=
&,c,
k=l
k+ f
&,+
i=l k-l
18
Since f
( h,
k=l
%Vf
m
= E B,C~,,+RT~Zi/t(~~*-((~~,/si)
(14
i=l
k=l
M-l
where 7:* = c
PkKik(a In K,/~IIT)~
05)
k-l
n$y)
i=l
and a ln+,/aT
and the phase heat capacities. Evaluate K$), functions gj,
j=l,2 , .... M and the Jacobian matrix.
(2) Solve the set of M equations for pj and AT.
(3) Take fi; = /Ij + Afij, j = 1, 2, .... M, and In K; = lnK$) +
(a In K,SO/aT)AT and determine new phase mole numbers n@ from eqns.
(6) and (7). Take T () = T(O)+ AT and return to step (1)
For an ideal mixture convergence is quadratic, and for non-ideal mixtures
convergence is only linear with the rate of convergence determined by the
degree of nonlinearity. Convergence properties can be analysed qualitatively
as described in Michelsen (1982b). The essential result of this analysis is that
the convergence properties for the isenthalpic flash closely resemble those
for the isothermal flash, with two eigenvalues approaching 1 at the critical
point. Similarly, convergence will take place only to a stationary point which
is a local maximum in entropy.
The existence of eigenvalues of unit magnitude at the critical point and
consequently slow convergence in the critical region indicates that acceleration is advantageous. We advocate the use of the General Dominant
Eigenvalue Method (GDEM) of Crowe and Nishio (1975), using GDEM
with two terms after each five steps of direct substitution. The vector of
variables used for the extrapolation is the set of (M - 1) *N In K,, and the
temperature.
Figure 3 shows the iteration course for unaccelerated direct substitution
for the 5-component mixture listed in Table 1 at P = 50 Atm., H,,,,/R
=
-800 K. For comparison the iteration course for the same mixture at
19
A log lel
15
10
20
Iteration no.
!!K
-6 --
Fig. 3. Error (in phase fraction) vs. iteration number for isenthalpic flash of the Scomponent
mixture in Table 1.
TABLE I
Composition
of example Scomponent
mixture
Component
Mole fraction
CI
0.66
0.03
0.01
0.05
0.25
c2
C3
CO2
H2S
log lel
10
15
20
Iteration no.
c
-2-- <
-4--
-1,
-6--
-E-
Fig. 4. Error (in phase fraction) vs. iteration number for isothermal flash of the 5-component
mixture in Table 1.
20
-a 1
Fig. 5. Error (in phase fraction) vs. iteration number for isenthalpic flash of the 5-component
mixture in Table 1, using GDEM for acceleration.
In most cases the temperature T co) found in the initial stability analysis
differs from the final equilibrium temperature by less than 30 K. In certain
situations, however, a much larger deviation is observed, and special precautions are required. One example is given in Table 2, where initial and final
temperatures are listed in dependence of the specified enthalpy for an
equimolar mixture of isobutane and water at P = 10 Atm.
The tremendous difference between T(O) and Tceqn) is due to a peculiarity
of the thermodynamic model. The system at equilibrium contains a phase
consisting of essentially pure water, for which the enthalpy is negative and
numerically large. In the (hypothetical) feed mixture of water and isobutane,
21
TABLE 2
Initial aad equilibrium temperature in dependence of specified enthalpy for an equimolar
mixture of isobutane and water at 10 Atm
Hspec
/R
T(o)
T(W)
WI
(W
No. of phases
at equilibrium
-2400
- 2600
- 2800
-3000
-3200
249
214
179
144
111
367
348
338
338
338
2 (LV
2 (LV
3 (LLV
3 (LLV)
3 (LLV)
however, the partial molar enthalpy of water is much higher than the molar
enthalpy of pure water at the same temperature. The reason is that the
magnitude of the enthalpy is essentially determined by the temperature
derivative of the a-parameter of the SRK-equation, and in mixture with
isobutane the binary interaction coefficient of about 0.5 strongly reduces the
value of a.
Some estimate for the mixture equilibrium temperature is usually available and, e.g., for the case of an enthalpy specification of H&R
= - 2600
K, one would not suspect an equilibrium temperature lower than, say, 150
K. If a lower limit for the equilibrium temperature, T,,, can be specified we
recommend that stability analysis is performed at T,,, whenever H( T,,) >
H Spec.
If the mixture is unstable, a crude phase split is performed. For the
water-isobutane mixture this will result in two phases of essentially pure
water (ice) and pure isobutane, respectively, and with an enthalpy H,(T,,)
< Hspec Hence the phase split calculation can be continued from 7,,
taking the phase compositions from the phase split at T,, as initial
estimate.
For our mixture at H,,,/R = -2600 K, only a few iterations are
required to arrive at the equilibrium state, a liquid phase of essentially pure
water and a vapour phase rich in isobutane.
Changing the specification to Hs.JR = - 3000 K introduces a new
problem: now it becomes impossible to determine a two-phase solution with
the specified enthalpy. Below about 338 K the two phases are liquid, with a
total enthalpy lower than the specification and above 338 K we obtain a
liquid phase (water) and a vapour phase (isobutane) with a total enthalpy
higher than the specification. As a consequence the direct substitution
procedure leads to strong oscillations in temperature.
Such problems can be expected whenever a single phase is very narrowboiling. The indication for this phenomenon is the strong temperature
oscillations during the phase split calculation, and the suggested remedy is
22
to search for an additional phase. The phase, which oscillates between liquid
and vapour state, is split into two phases of initially equaly amount and
composition, for which during subsequent iterations the high density root of
the compressibility equation is selected for the one phase and the low
density root for the other. For the isobutane-water mixture the final result
at H,,,,/R = - 3000 K is three phases, liquid water, liquid isobutane and a
vapour rich in isobutane.
This approach for selecting the compressibility factor contrasts with that
used for the isothermal flash, where the root yielding the lower Gibbs energy
is always chosen. However, it enables us to manage situations with very
close-boiling phases, including even pure components.
SECOND ORDER CONVERGENCE METHODS
(16)
(17)
23
(H - TH,,,) = G- TKpec
Q=-S+
(18)
aQ
an, =
variables)
0%
+(Pij-PiM)
and
aQ
-=
aT
+S=-+I-Hs,,ec)
-+(G-H,,)-
(21)
i.e., the Hessian is not positive definite.
We therefore add a term proportional
thalpy
+(H-H,,,)2=
Q *=Q+
G-* ++#w&,,)2
(24
*
( I
a'Q
u2
SP
=(za-l)S
(23)
24
TABLE 3
Composition
of example 6-component
mixture
Component
Mole fraction
N*
CI
0.3040
0.5479
0.0708
0.0367
0.0208
0.0198
c2
c3
n-C*
n-C,
25
TABLE 4
Intermediate and final temperature and phase distribution
for the 6-component mixture of Table 3
Phases present
No. of Murray
iterations
(b) ::
Temperature
(K)
151.22
150.53
150.90
153.65
LV
LLV
(c) L
151.66
151.70
171.77
LL
LLV
169.00
169.00
(a) L
L\c
tical to those given earlier (Michelsen, 1982b), and in Table 4a-c only
temperature and the number of Murray iterations required for the intermediate and the final equilibrium calculations are presented.
Comparison with the earlier results show that roughly an identical number of iterations is required for the P-T and the P-H specifications. The
computing time for the isenthalpic flash exceeds that of the isothermal flash
by about 40%, due to the requirement for evaluation of temperature derivatives and to the special precautions required for determining the temperature.
THE ISENTROPIC CASE
26
cP
El
H spec
hij
i
j, k
Kij
M
N
n ij
P
R
S
s SpEX
T
Yij
i
heat capacity
discrepancy function, eqns. (4) and (8)
mixture enthalpy
specified enthalpy
partial molar enthalpy of component i, phase j
component index
phase indices
equilibrium factor for component i in phase j
total number of phases
total number of components
number of moles of component i in phase j
pressure (Atm.)
gas constant
mixture entropy
specified entropy
temperature (K)
mole fraction of component i in phase j
mole fraction of component i in feed
Greek letters
;.
SJ
27
Qi
Pij
ri *
7.1**
REFERENCES
Boston, J.F. and Britt, H.I., 1978. A radically different formulation
and solution of the
single-stage flash problem. Comput. Chem. Eng., 2: 109-122.
Crowe, A.M. and Nishio, M., 1975. Convergence promotion in the simulation of chemical
processes - the general dominant eigenvalue method. AIChE J., 21, 528-533.
Michelsen, M.L., 1982a. Minimization methods for flash calculation. Part I: General considerations. Report SEP 8205, Instituttet for Kemiteknik.
Michelsen, M.L., 1982b. The isothermal flash problem. I. Stability analysis. Fluid Phase
Equilibria, 8: 1-19.
Michelsen, M.L., 1982~. The isothermal flash problem. II. Phase-split
calculation. Fluid
Phase Equilibria, 8: 21-40.
Murray, W., 1972. Second derivative methods. In: W. Murray (Editor), Methods for Unconstrained Optimization, Academic Press, London.
Prausnitz, J.M., Anderson, T., Grens, E., Eckert, C., Hsieh, H. and OConnell, J., 1980.
Computer Calculations for Multicomponent
Vapor-Liquid
and Liquid-Liquid
Equilibria.
Prentice-Hall, New Jersey, Chapter 7.
Reid, R.C., Prausnitz, J.M. and Sherwood, T.K., 1977. The Properties of Gases and Liquids.
McGraw-Hill, New York.
Soave, G., 1972. Equilibrium constants from a modified Redlich-Kwong
equation of state.
Chem. Eng. Sci., 27: 1197-1203.