Multiple Liquid-Vapour Equilibrium Flash Calculation by A Global Approach
Multiple Liquid-Vapour Equilibrium Flash Calculation by A Global Approach
00
Printed in Great Britain. All rights reserved Copyright 0 1993 Pergamon Press Ltd
(Received 10 April 1992;finaI revision received 2 October 1992; received for publication 8 January 1993)
1. INTRODUCTION
A global Newton-Raphson method was rec-
The appearance of more liquid phases is generally an ommended many times for simulation of rectification
undesirable phenomenon in distillation processes; columns where only one liquid phase occurs, e.g.
however, it is a reality in practice. The problem of Kubieek et al. (1976). Eckert (1989b) also suggested
three-phase distillation has been discussed in the the use of the global approach for three-phase rectifi-
literature, a good survey can be found in the paper by cation columns with a variable dimension of the
Cairns and Furzer (1990). The prediction of the problem depending on the number of existing phases.
appearance of more liquid phases by using a minimiz- A modified Nelson’s algorithm is used to determine
ation of Gibbs energy (e.g. Gautam and Seider, 1979; the number of coexisting liquid phases on individual
Michelsen, 1982) seems to be superior to fugacity trays after each Newton-Raphson iteration.
matching because the latter condition does not guar- In this paper we present an algorithm for nonadi-
antee that the solution possesses a global minimum. abatic-isobaric flash calculations where the dimen-
Ohanomah and Thompson (1984) performed a com- sion (the number of equations) remains constant.
prehensive study of several techniques and found However, the structure of equations is changed adap-
the Gibbs energy miminization method not to be tively dependent on the number of coexisting phases.
competitive for multiphase equilibrium calculations_ The algorithm is formulated for an arbitrary number
Nelson (1987) suggested an algorithm for isother- of coexisting liquid phases.
mal-isobaric multiple-phase flash calculation based
2. THE ISOBARlC FLASH
on two nested iteration loops. Ratios of phases and
their number are corrected in the inner iteration loop, Consider the equipment schematically drawn in
compositions of the phases are iterated in the outer Fig. 1, usually called the isobaric flash separation
loop. Poorly chosen initial guesses can produce phys- unit. Assume that the feed specifications (feed flows
ically unacceptable situations in the course of iter- Fkr compositions z,,+, . . , zNc and enthalpies I+*,
ations. Some improvement of this algorithm in these k=l,... , m), heat supply (Q) and pressure in the
cases was suggested by Eckert (1989a). Recently Biinz equipment are given. The steady-state operation of
et al. (1991) used Nelson’s method for the calculation the unit can be described by the following equations:
of high-pressure ternary phase diagrams of two three-
(i) equilibrium equations for p liquid phases and
component mixtures. A modification of this method
a vapour phase, r is the index of a chosen
for a nonadiabatic flash needs an outer iteration loop
reference liquid phase:
also for temperature, which may cause convergence
problems. We found no quotations of an example O=y,--K:xj, i=l,...,n, (la)
using a generalization of Nelson’s method for the
O=K~x~-K{x+, i=l,...,n;
problems with the possible occurrence of more than
two coexisting liquid phases. j=l,...,p,j#r; (lb)
879
880 E. Ecxsar and M. KUB~CEK
5
I G chosen from the following 2p + 2 equations:
%7-
Q O=G or 0=1-gyi, (6)
---_- i= I
Table 1. Choice of additional equations for possible occurrence of two liquid phases @ = 2)
Existing phase(s) Case Equations Conditions
Single vapour G O=L’. O=LZ cx: -=z1. Exx:<I,
O=l-Cy, G>O
OPI-~X: G>O
O-I-~X:
Multiple liquid-vapour equilibrium flash calculation 881
An additional remark has to be made to the equations (l-3) and p + 1 equations from the set
problem presented. The subsystem (1) has always a (6-7). We used a Newton-Raphson method without
solution where: any decomposition of the system, i.e. we used the
so-called global approach. For the system (8) we thus
xi’ = xf, i=l,...,n, (9)
have:
for some t,s = I,... .p. t -c s. We shall denote such
X” + ’ = Xk - I [cp‘(Xk)] - ‘cp(XL). (10)
a solution as a trivial (parasitic) solulion. We can
accept it only if at most one value from L’, L” is The N x N Jacobi matrix q’(X) can be computed in
positive (i.e. nonzero). When L’> 0, L’ z- 0 and (9) each iteration by using simple two-point difference
are valid then the Jacobi matrix of the system (8) is formulas. An analytical method of evaluating partial
singular and the solution is not unique [the system (8) derivatives is also possible but the formulas for K{
is infinitely satisfied by many values of L’, L” with the and hJ,may be complicated. The value E. = 1 is chosen
same sum L’ + L”]. This singular case can be trans- when:
formed into a nonsingular one by the following
operations: L’ + L’+ L’, 0 -+ L’ (phase s does not IIV(X*+‘)/I < JIcp(Xk)ll (11)
really exist). By repeating these operations for every
and a standard version of the Newton-Raphson
t and s satisfying (9) and L’ > 0, L” > 0 we finally
method results. When the condition (11) is not fuhi-
reach a solution where L' . L” = 0 (only such nonsin-
lled, the value of 1 is halved and Xk + 1 reevaluated
gular solutions are considered in Table 1). The ques-
(dumped method).
tion of whether there exists another nonsingular case
A very important problem is the choice of p + 1
with a higher number of really (physically) existing
equations from (67) which corresponds to an ex-
liquid phases remains open.
pected set of coexisting phases. As we do not know
this real “phase situation” beforehand, we developed
3. THE ALGORITHM
an adaptive algorithm which enables us to switch to
An iteration technique must be used for solving the another “phase situation” in the course of the iter-
system of N nonlinear equations which consists of ation process (always after several, e.g. two, iteration
Table 2. Decision diagram for possible switching between different cases, p = 2. In mws 14 the conditions in the
last column are tested first. In
the last row conditions in the first three columns are tested first. Marks /. \: in
the algorithm realization S/l means e.g. S > 0.99999, S\O means S < 0
To case
Fr0lll
case G LI L2 LI-L2 G-L2 G-L1 G-LI-L2
G *
Ll
L2
LI-L2
G-L2 LV.0 -4
GLI L’\O *
G’xO x.x:/1
x’ zx=
*
G-LI-L2 L’/O LWJ LYO
L\O G\O
or or
G’._O x’ =x2
882 E. ECKERTand M. KUB~EEK
h,(T) = 5
#=I
xi
s =Cpi(t) dt
m
0.6- L2
0.5- Ll
0.4- L2
0.3-
0.2-
L3
O.l-
CASE CASE
Ll-L2-L3 G-U-L2
0 ’
Null (1970), pp. 216-219. The value of h, for dode- Table 2) has 15 rows and 15 columns and contains
canal, h, = 58,740 J mol-r, was estimated from 100 possible switches (nonblank boxes).
Fishtine’s modification of the Kistiakowski equation
(Reid and Sherwood, 1966).
5. CONCLUSIONS
We used the following initial approximation:
G = 0, L’ = L2 = L3 = l/3, y = (O,O, O), x’ = (0.005, The suggested computational algorithm is rela-
0.005, 0.99) x2 = (0.005,0.99,0.005), x3 = (0.99, tively simple, robust and not very sensitive to initial
0.005,0.005), T = TF = 295.2. This initial guess led to approximation. The convergence is generally fast, i.e.
convergence to a correct solution for an arbitrary only several (4-8) iterations usually lead to a solution.
value of Q E (0 W, 35,000 W). Computed flowrates of The algorithm can also be used for modelling of
products dependent on the value of Q are presented rectification columns, because each stage can be
in Fig. 3. It is obvious that the results for higher modelled as a flash.
values of Q, i.e. for higher temperatures than used by
Null (1970) can be far from reality. Acknowledgemenr-Part of this work was supported by
Alexander van Humboldt Foundation during the stay of
Let us mention that there are 15 cases in this one of the authors (EE) at the Institute for System
example. Therefore, the decision diagram (cf. Dynamics and Control, University of Stuttgart, Germany.
884 E. ECKERT and M. KUB~I~EK