Calculation of Critical Points and Phase Boundaries in The Critical Region
Calculation of Critical Points and Phase Boundaries in The Critical Region
Calculation of Critical Points and Phase Boundaries in The Critical Region
MICHAEL L. MICHELSEN
Instituttet for Kemiteknik, Danmarks Tekniske Hgjskole, Bygning 229, DK-2800 Lyngby
(Denmark)
(Received April 4, 1983; accepted in final form September 23, 1983)
ABSTRACT
Michelsen, M.L., 1984, Calculation of critical points and phase boundaries in the critical
region. Fluid Phase Equilibria, 16: 57-76.
INTRODUCTION
CRITICALITY CONDITIONS
Let the N-component mixture for which the critical temperature T, and
critical pressure PCare desired be of composition z. The criticality conditions
used here are based on tangent-plane stability criterion of Gibbs as modified
by Michelsen (1982a). The necessary and sufficient criterion for stability at a
specified temperature and pressure (T, P) is that
for any trial phase mole numbers Y. We shall use the term “locally stable”
for a mixture provided that there exists a closed region 1lY- zll< c, within
which F is nonnegative everywhere. At a critical point a specific behaviour of
F, to be described below, is required.
The first and second partial derivatives of F with respect to the y are
aF/ar; = gi = In & + In +i (Y) - In Z, - In +;(z) (2)
and
a+/ayaq = (11 y)sij +(a In $,/anj)y (3)
It is convenient to substitute as new independent variables a set of deviation
variables X given by
xi= (~.-zi)/ui (4)
with u. = z?/*
I . In terms of these variables, the above partial derivatives
becomk
aFlax, = uigi
and
a2F/axiaxj = u,uj(a2F/aqaq) (5)
59
In particular,
equals
(17)
(18)
where b and c represent the coefficients at the m th iteration and the
subscripts T and P denote their partial derivatives with respect to tempera-
ture and pressure. These partial derivatives can, of course, be determined by
numerical differentiation, but a much more inexpensive evaluation is possi-
ble.
Differentiation of eqn. (9) with respect to pressure yields
Bu, + Bpu = h,,u, + Xy (19)
61
and
urup = 0 (20)
where X, and up are respectively the pressure derivative of Xmin and the
corresponding eigenvector, and BP is the pressure derivative of the matrix B.
Multiplication of eqn. (19) by uT yields A, directly:
X, = uTB+ (22)
since uTB = Ami,uT and uTu, = 0. Equation (19) can now be solved for up:
(B - XminI)up = Y (23)
with Y = h,u - Bpll. The matrix of coefficients for this set of N linear
equations is of rank N - 1, and the augmented matrix (B - AminI, u) is also
of rank N - 1. Hence the general solution of eqn. (23) is
u,=h+Qu (24)
where h is any particular solution to eqn. (23) and Q is an arbitrary scalar
multiplier. Solving for h, Q is determined from the condition given as eqn.
(20) yielding Q = - uTh. The numerical procedure for solving the set of
homogeneous linear equations is described in Appendix A.
Explicit numerical evaluation of BP is not required, since only the vector
B,u is needed. The elements of this vector can be found from
, i.j r.j,k
where Ai = (aF/dXi)x,o=
0,Bij=(a2F/aX,aXj),=,
(our previous B), etc.
X may be expanded as
with u’u = 1, and where w and q are yet undetermined vectors which are
orthogonal to u, i.e.,
1[ +s3 ~Bijwiuj+(1/6)
1.J
c
r.J.k
Cijkuiujuk
1
CBtj(qzuj+ w,wj/2) +(1/2) c ‘,,kwlUjUk
i.j r.j.k
+ (i/24) c
i. j.k.1
D,Jk~u,u~ukul (33)
1
Selecting u to minimize the coefficient of s2 yields the previous result,
Bu = hmi,,u. Furthermore, the (i, j) cross-products are zero, i.e.,
CBtJWtui
= CBiJqr
UJ = 0 (34)
d* = d + (1,‘2)(~*)~r (42)
At the critical point b = c = 0, and the critical point is locally stable
provided that d* > 0. If d* equals zero, higher-order terms must be evaluated
to determine whether or not the system is stable. Stability when d* = 0
requires that the coefficient of s’, which depends on u and w* only, must
equal zero, and that the minimal value of the coefficient of s6 is at least
nonnegative. This coefficient depends on q, and its minimal value is found
by solving a set of linear equations similar to eqn. (36) for q. Global stability
requires that F(Y) be nonnegative for arbitrary Y, and the question of global
stability cannot be resolved by expansions from Y = z. It is worthwhile
noticing that d* < d, where the equality sign holds only provided that r is
parallel to u (in which case w* equals 0). Positiveness of d is therefore not a
sufficient condition for local stability.
In the immediate vicinity of a locally stable critical point, b and c are both
small relative to d*. At a point (T, P) = (T, + AT, P, + AP) on the phase
boundary close to the critical point, the coefficients b and c must have values
such that F(s) has a minimum at, say s = 6, with F( 8) = 0. This requires that
(dF/ds),,s = 6(2b + 3~8 + 4d*S2) = 0 (43)
and
F(6) = S2( b + CS + d*6*) = 0 (4)
from which,
c= -2d*6
b=d*S2 (45)
In addition, for b and c,
b(T, + AT, PC+ AP) = b(T,, PC) + b,AT+ b,AP = b,AT+ b,AP (46)
c(T, + AT, PC+ AP) = c(T,, P,)+c,AT+ c,AP = c,AT+ c,AP (47)
Combination of eqns. (45)-(47) then yields
AT = (~~8
AP = a,8 (48)
65
with
y = zi -I- v,lQ
Of
Rather than working with the modified tangent-plane distance, the original
tangent-plane distance
can also be used. The modifications required, which of course do not affect
the constants of eqn. (41), are described in Appendix B.
To illustrate the nature of tangent-plane-distance surfaces in the critical
region, a contour plot of f(y) is given in Fig. l(a) for a mixture containing
70% CH,, 15% CO, and 15% H,S at T = 225.02 K, P = 70.49 atm., using the
Soave-Redlich-Kwong equation of state (Soave, 1972). This corresponds to
a point very close to the phase boundary, the nontrivial minimum having a
value close to zero. The contours are replotted in Fig. l(b) using “eigenvec-
tor coordinates” as described in Appendix B, where s1 corresponds to the
distance s along the eigenvector u. The curve X = su + s*w* is also shown in
Fig. l(b). Notice that this curve passes the saddle point and the nontrivial
minimum at very close distances, while the variation of f along the s1 axis
just barely reveals the presence of an additional minimum. The critical point
for this mixture is at T = 232.15 K, P = 77.81 atm.
(A)
Fig. 1. Tangent-plane distance for a ternary mixture of CH,, CO, and H,S for a point close
to the phase boundary: (a) contour plot of f(y); (b) plot in “eigenvector coordinates”
(Appendix B).
67
STABILITY ANALYSIS
Inside the phase boundary, two phases of compositions y(l) and y”’ and in
amounts of /3 and (1 - p) moles per mole of feed will form such that the
total Gibbs energy of the system is at a minimum. Michelsen (1982a, eqn. 8)
showed that the change in Gibbs energy is related to the tangent-plane
distances at compositions y(r) and yC2)by
Y(‘)=z+(l -/3)A
Y(=)= z - PA (58)
to satisfy the material-balance constraints. The objective is to select /? and A
such that eqn. (56) is minimized.
Again we select new variables Xi = A;/ui corresponding to the transforma-
tion used in eqn. (4). In the critical region the concentration difference will
68
be small, and F(y “)) and F(yC2’) can be expanded in power series in X from
X = 0, in analogy with eqn. (30):
~=(1/2)8(‘-P)CB,jX,X,+(‘/6)P(1-8)(I-28) C CjkX,XjXk
1.j i.j.k
+ (l/24)/3(1 - @)(l - 3/3+ 3p2) c Dijk,X;XjXkX,+ . . . (59)
i.j.k.1
(65)
Assume that the minimum is found at s = 6. Then, the above conditions
(eqn. (65)) yield
c = -2d*(l- 2/?)6 (66)
b = [ d*(l - 2p)’ - 2dP(l- /3)]S2 (67)
69
AT
i AP !
j3=0.5
(70)
with
NUMERICAL EXAMPLE
TABLE 1
Composition and principal eigenvector u at critical point for a seven-component mixture
TABLE 2
Expansion coefficients and their temperature and pressure derivatives at the critical point for
mixture given in Table 1
Coefficient Value
4 - 0.0618
b, 0.0504
CT 0.1537
CP - 0.2105
d 2.058
d* 0.943
TABLE 3
Predicted and calculated temperature and pressure variations along the p = 0.5 line for
mixture given in Table 1
6 CT- T,)/S’
-. IP-R)/S2
_..
0.10 - 38.6 - 66.7
0.05 - 37.3 -65.9
0.02 - 36.8 - 65.6
TABLE 4
Predicted and calculated phase distributions in the critical region for mixture given in Table 1
B 6 B 6
0.20 0.05 0.30 0.039
0.20 0.02 0.24 0.017
0.20 0.01 0.22 0.0093
0.20 0.005 0.21 0.0048
0.5 0.05 0.39 0.054
0.5 0.02 0.46 0.0202
0.5 0.01 0.48 0.010
0.5 0.005 0.49 0.005
71
,T-Tc (K)
-- 1.
Fig. 2. T- T, versus 6 for seven-component mixture given in Table 1: full lines, calculated
results; dotted lines, results predicted using eqn. (48).
The present procedure for the calculation of critical points and of the
phase boundary in the vicinity of the critical point is of particular use in
connection with complete phase-boundary calculations as described by
Michelsen (1980). This procedure for constructing the phase boundary is
capable of passing the critical point, but numerical problems can be severe in
12
the vicinity of the latter, since the determinant of the Jacobian matrix is
inversely proportional to the fourth power of the distance from the critical
point.
Combination of Michelsen’s marching procedure with the present direct
calculation of the critical point and the associated derivatives required for
phase-envelope construction obviates the need to calculate points on the
phase boundary close to the critical point. The present procedure also allows
calculation of the phase boundary starting from a critical point. Finally, the
procedure provides a first estimate of phase composition and phase amounts
for flash calculations at specified T and P in the critical region, based on
properties derived for the feed composition only.
For stand-alone calculations of critical points, good initial estimates of the
critical temperature and pressure are needed. A procedure similar to that
described here using temperature and total volume as the independent
variables and based on a tangent plane in Helmholtz energy is easily derived,
and preliminary investigations indicate that such a procedure combines the
economy of the present method with the reliability and insensitivity to initial
estimates of the method of Heidemann and Khalil.
ACKNOWLEDGEMENT
LIST OF SYMBOLS
Superscripts
T vector transpose
Subscripts
This appendix describes briefly the solution procedure for a set of N linear
algebraic equations of the form
Bx=a (Al)
where the matrix of coefficients B and the augmented matrix (B, a) are both
of rank N - 1, the objective being to determine a particular solution, x = h.
Such equations are encountered in the calculation of the eigenvector deriva-
tives up and uT (eqn. (23)) and of the correction vector w* (eqn. (36)).
Since the N equations are known to be linearly dependent, a simple
74
procedure is simply to take x,,, = 0 and delete the last equation from the set.
This yields the reduced system
wx’ = a’ (A2)
where B’ is the upper (N - 1). (N - 1) submatrix of B, and a’ contains the
first N - 1 elements of a. Provided that a triangular decomposition of B is
available (B = LU with L unit lower triangular), an even simpler procedure is
available, where
Ux=L-‘a=b (A31
where (in exact arithmetic) U,, and b, are both equal to zero. Taking xN
equal to zero results in a reduced system where the matrix of coefficients U’
is triangular.
In solving eqn. (23),
(B - XminI)up = Y (A41
the triangular decomposition of B is available from the eigenvalue calcula-
tion, while exact evaluation of up would require the triangular factors of
B - h,,I. To avoid renewed factorization, the small term X,i,I in eqn. (A4)
is neglected, the equation to be solved becoming
Bu,=v (As)
or
uu, = L- lY (A@
where the procedure above (taking (u~)~ = 0) is used even though U,, and
the last element of L-‘V are both nonzero. It can be shown that the
approximations introduced in this calculation of up (and ur) do not degrade
the performance of the Newton-Raphson iteration.
(B4)
REFERENCES