Professional Documents
Culture Documents
117
ABSTRACT
Englezos, P., Kalogerakis, N., Trebble, M.A. and Bishnoi, P.R., 1990. Estimation of multiple
binary interaction parameters in equations of state using VLE data. Application to the
Trebble-Bishnoi equation of state. Fluid Phase Equilibria, 58: 117-132.
A systematic approach for the estimation of binary interaction parameters for equations of
state is presented. A least-squares procedure which is computationally
very efficient is
advocated for the calculation of the binary interaction parameters. Subsequently, if the
calculated phase behavior represents the experimental data without a gross bias, the statistically best parameters can be obtained by maximum likelihood (ML) estimation. For these
cases, the use is advocated of an implicit ML estimation procedure which is computationally
significantly more efficient than the error in variables method. The proposed approach is
particularly suitable for equations of state which have more than one interaction parameter.
In such cases, the best parameter set is chosen from among several combinations
of
interaction parameters present in the equation of state.
INTRODUCTION
Equations of state (EOS) are used extensively for the calculation of high
pressure equilibria and/or properties of fluid mixtures. Empirical binary
interaction parameters are normally utilized in these equations to increase
their correlational flexibility, particularly in non-ideal fluid systems. Recently, Trebble and Bishnoi (1987, 1988) proposed a cubic EOS which can
IUPAC Workshop,
118
119
i=l
,**-, N
04
i=l
,-*-, N
(W
$=T+e,,;
i=l
,...,N
(14
Pi = Pi + e,,i;
i= l,...,
ji=yi+eyi-
(ld)
where e.,i are the corresponding errors in the measurements. The thermodynamic model (EOS) can be viewed as a functional relationship among the
above true state variables, a set of unknown parameters k, and a set of
precisely known parameters u, such as the pure component EOS parameters and critical properties. However, it should be noted that the assumption
of precisely known pure component critical properties may not always be
valid. The elements of the parameter vector k = (k,, k,, k,, k,)T are the
binary interaction parameters. Given the above information and having a
thermodynamic model, the objective is to determine the parameter vector k
by matching the data with the model predictions by satisfying some optimality criterion.
THEORETICAL BACKGROUND
120
two, which become the dependent ones. For experiment i, let nij( j = 1, 2)
be the independent variables (e.g. qil = xi and qiZ = T). The dependent
variables tii can be obtained from the equilibrium relationships using the
thermodynamic model, and in principle can be written as
tij=hj(nii,
Iliz; k; u>;
j=l,
(2)
E i
ix1
j=l
[7)ij-Gij12
4,
hj(qil,
qi2;
k; U)-
ii]
'tfj
121
ML PARAMETER
ESTIMATION
PROCEDURE
i=l,...,
N; j=1,2
j, the equilibrium
(4)
If we replaced the true but unknown state variables with their measurements, then the above functions would not be equal to zero, owing to the
measurement errors, even if the model were exact.
gi(&,
ji, t,
?i; k; u) =cij;
i=l,...,
N; j=1,2
(5)
(7)
and similarly for ail2 we obtain
+(a)(
$)G,i
(8)
122
P,;k;u)=lnh:-lnf,;;
i=l,...,
N; j=l,2
SIMPLE LS ESTIMATION
PROCEDURE
(CURVE
FITTING)
= 5 i
i=l j=1
00)
123
ALTERNATIVE
LS ESTIMATION
PROCEDURES
Mk)=
i=l
and
&P(k)=
+ (yidc-jTi)*
(p.cc-~i)2
2
5.i
(x;~c-4i)2 + (y;c-,)*
c
i=l
&
.t i
ti
01)
02)
ESTIMATION
PROBLEM
When given a set of binary VLE data with no prior knowledge regarding
the adequacy of the thermodynamic model (EOS), we advocate the following
approach to the parameter estimation problem.
124
(a) Use the proposed simple LS estimation procedure and determine the
binary interaction parameters.
(b) Plot the data and the model predictions and judge whether the fit is
acceptable. If the model predictions are deemed to be not acceptable, stop,
and reconsider the applicability of the EOS/mixing rules. Otherwise, proceed to the next step.
(c) Using the determined parameters as initial guesses, obtain the optimum parameter values by the proposed implicit ML estimation procedure.
At this point it is up to the user whether to proceed with further
investigations, such as computation of the standard error of parameter
estimates, computation of the standard error of estimate of the model
prediction, detection of erroneous measurements (outliers), performance of
model adequacy tests, etc.
Step (a) is very important when using EOS which utilize more than one
binary interaction parameter. In such cases we have to select the best
combination of interaction parameters to be used, besides determining their
optimal values. For example, the Trebble-Bishnoi EOS can utilize up to
four interaction parameters; hence the number of possible combinations
that should be investigated is C:=i( 4) = 15.
In general, it is desirable to utilize as few interaction parameters as
possible. Therefore, the investigation begins by considering all possible cases
with one parameter. Of these, the best is used for the generation of the VLE
predictions. Upon examination, we decide whether the fit is acceptable. If it
is, we proceed to determine the statistically optimal parameter value by the
implicit ML procedure. If the fit is not acceptable, we should proceed to
utilize two binary interaction parameters. Again, all possible two-parameter
combinations should be examined and the VLE predictions be generated
with the optimal set of parameters. If necessary, we should continue with
three or more parameters. It is noted that the decision as to whether the fit is
acceptable is subjective and based on experience rather than a rigorous
statistical test.
COMPUTATIONAL
ASPlkTS
OF THE MINIMIZATION
ALGORITHM
In the applications that follow, the solution of the non-linear minimization problem was obtained using the Gauss-Newton
method. To ensure
convergence of the iterative procedure we used (a) Marquardts modification, and (b) singular value decomposition of the normal equation matrix to
take the pseudo-inverse if the problem was ill-conditioned (Kalogerakis and
Luus, 1983). When the initial guess of the parameters is not sufficiently close
to the optimal values, several problems may be encountered. The minimization may proceed towards the wrong direction, or towards the proper
125
Three binary systems were used in the present study, namely methane(Hong and
methanol (Hong et al., 1987), carbon dioxide-methanol
Kobayashi, 1988) and propane-methanol
(Galivel-Solastiuk et al., 1986).
The quadratic mixing rules used were those proposed by Trebble and
Bishnoi (1988). It is noted that the binary interaction parameters were
considered to be temperature independent.
Table 1 shows the parameter estimates with their standard error of
estimate for the methane-methanol
system. Also shown is the type of the
objective function that was used, and the CP seconds required per iteration.
The values of the parameters which are not shown in the tables are zero. As
can be seen from the table, the parameter estimates with all three estimation
procedures do not vary significantly. For this system, use of only one
parameter, kd, was found to be acceptable. The interaction parameter k,
was selected over k,, k,, k, from the results obtained by the simple LS
estimation procedure. Using the interaction parameter value for k, obtained
by LS estimation (-0.1903), the phase equilibrium calculations were performed. The calculated values of the liquid and vapor mole fractions at
constant temperature and pressure were found to agree very well with the
experimental data. Subsequently, ML estimation was performed and the
value -0.2317 was obtained for k,. Using the ML estimate for k,, isobaric-isothermal flash computations were performed. Typical VLE predictions for two isotherms are shown in Figs. 1 and 2.
Similar calculations were performed for the carbon dioxide-methanol
system. The parameter estimates are shown in Table 2. Two binary interac-
TABLE 1
Parameter estimates for the methane-methanol
system
Parameter
Standard
deviation ( W)
Objective
function
CPU/iteration
(CP s)
k, = -0.1903
k, = - 0.2317
k, = - 0.2515
f 14.9 a
f 0.03
f 0.01 a
&s(k)
S,,(k)
S,,(k)
0.004 NP
0.014 NP
0.032 NP
a As computed under the null hypothesis that uij is constant and qii = 1.
b NP is the number of experimental points.
0.0
0.2
0.4
220 K
0.6
0.8
1.0
X, Y Methane
Fig. 1. Vapor-liquid
equilibrium
system.
5oT------
0 0
-
0.0
0.2
Fig. 2. Vapor-liquid
H@Q 6t al.
Predict/ops
1987
0.4
0.6
X, Y
kktkne
0.6
1.0
system.
127
TABLE 2
Parameter estimates for the carbon dioxide-methanol
system
Parameter
Standard
deviation (%)
Objective
function
CPU/iteration
(CP s)
k,
k,
k,
k,
k,
f 9.54 a
f 15.86 a
f0.18
f 0.60
f3.15
f 7.63
f 3.91
f 1.14
S,(k)
0.0054 NP
S,,(k)
0.015 NP
Sr, (h)
0.103 NP
S,,(h)
0.445 NP
=
=
=
=
=
0.0605
-0.1137
0.0504
- 0.0631
0.0511
k, = - 0.0967
k, = 0.0566
k, = - 0.2238
a As computed under the null hypothesis that uij is constant and qi, = 1.
b NP is the number of experimental points.
simple LS, whereas S, requires 80 times more CPU time for this particular
problem.
For the majority of binary systems, the use of one or two binary
interaction parameters has been found to be adequate for the representation
of VLE data (Trebble, 1988). As can be seen from Figs. 1-4, the phase
behavior of the binary systems of methane and carbon dioxide with methanol
are represented by the EOS with an accuracy reasonable for engineering-type
calculations. This was not the case for the propane-methanol
system, for
which grossly biased predictions were obtained using one, two or three
parameters determined by LS estimation. The improvement of the fit by
,
0.00
Predictions
II
I1
0.25
0.50
0.75
1.00
x,
Fig. 3. Vapor-liquid
Y CO2
equilibrium
system.
128
6-
I
0 0
5--
and Kabayashi
Predictions
Hong
x, Y
Fig. 4. Vapor-liquid
1988
co;!
system.
TABLE 3
Parameter estimates for the propane-methanol
Standard
deviation ( W)
Objective
function
CPU/iteration
o.i53i
S,,(k)
0.006 NP
- 0.2994
0.1533
- 0.3218
0.2384
-0.3222
f
f
f
f
f
S,,(k)
0.049 NP
S,,(k)
0.196 NP
Parameter
k,
k,
k,
k,
k,
k,
=
=
=
=
=
=
system
7.35 a
9.34 a
0.27
0.40
0.58
0.82
(CP s)
a As computed under the null hypothesis that uij is constant and qii = 1.
b NP is the number of experimental Points.
129
0 0 Galivel-Predictions
Y
Salastiuk
I
~~
d.3_
0.0
x,
Fig. 5. Vapor-liquid
et al. 1988
d.9
Y Fr:pacne
system.
2.8
-I
q
0
8
2.1
2
3
E
1.4
0.7
0.0
T = 343 K
30 GalivelSolartiuk
- Predlctions
I
0.13
0.2
0.4
4/
et al.
0.6
1988
I
I
0.6
I
I
1.0
X, Y hopane
Fig. 6. Vapor-liquid
system.
130
parameters which yield the best possible fit of the VLE data and guarantee
prediction of the correct phase behavior.
Finally, as can be seen from the examples given above, the computational
requirements of the LS and the ML estimation procedures are very small
when compared with the simplified error in variables method (S,,., S,,). In
addition, the latter were found to converge very slowly as compared with the
ML or the LS estimation procedures, which implies that the overall computational requirements of. the error in variables method are excessive by at
least two orders of magnitude.
CONCLUSIONS
k
P
:
T
U
X
error
fugaci ty
interaction parameter vector
pressure
weighting factor
objective function
temperature
vector of precisely known parameters
liquid mole fraction
vapor mole fraction
131
Greek letters
c
Bl?
772
513 62
;
residual
independent variables
dependent variables
standard deviation
variance-covariance matrix
Subscripts
i
j
LS
ML
TX
TP
index; 1, . . . , N
index; 1, 2
least-squares
maximum likelihood
temperature, liquid mole fraction
temperature, pressure
Superscripts
talc
L
VA
calculated
liquid
vapor
experimental
REFERENCES
Anderson, T.F., Adams, D.S. and Greens E.A. II, 1978. Evaluation of parameters for
nonlinear thermodynamic models. AIChE J., 24(l): 20-29.
Box, M.J., 1970. Improved parameter estimation. Technometrics, 12(2): 219-229.
Britt, H.I. and Luecke, R.H., 1973. The estimation of parameters in nonlinear, implicit
models. Technometrics, 15(2): 233-247.
Englezos, P., 1988. Ph.D. Dossier, Dept. of Chem. and Pet. Eng., University of Calgary.
Englezos, P., Kalogerakis, N. and Bishnoi, P.R., 1989. Estimation of binary interaction
parameters for equations of state subject to liquid phase stability requirements. 5th Int.
Conf. on Fluid Properties and Phase Equilibria for Chemical Process Design, Banff,
Alberta, Canada, April 30-May 51989. Fluid Phase Equilibria, 53: 81-88.
Fabries, J.F. and Renon, H., 1975. Method of evaluation and reduction of vapor-liquid
equilibrium data of binary mixtures. AIChE J., 21(4): 735-743.
Galivel-Solastiuk, F., Laugier, S. and Richon, D., 1986. Vapor-liquid equilibrium data for the
propane-methanol
and propane-methanol-carbon
dioxide system. Fluid Phase Equilibria, 28: 73-85.
Hong, J.H. and Kobayashi, R., 1988. Vapor-liquid
equilibrium studies for the carbon
dioxide-methanol system. Fluid Phase Equilibria, 41: 269-276.
Hong, J.H., Malone, P.V., Jett, M.D. and Kobayashi, R., 1987. The measurement and
interpretation of the fluid phase equilibria of a normal fluid in a hydrogen bonding
solvent: The methane-methanol
system. Fluid Phase Equilibria, 38: 83-86.
132
Kalogerakis, N. and Luus, R., 1983. Improvement of Gauss-Newton method for parameter
estimation through the use of information index. Ind. Eng. Chem. Fundam., 22: 436-445.
Kemeny, S. and Manczinger, J., 1978. Treatment of binary vapor-liquid equilibrium data.
Chem. Eng. Sci., 33: 71-76.
Kemeny, S., Manczinger, J., Skjold-Jorgensen, S. and Toth, K., 1982. Reduction of thermodynamic data by means of the multiresponse Maximum Likelihood Principle. AIChE J.,
28(l): 20-30.
Neau, E. and Peneloux, A., 1981. Estimation of model parameters. Comparison of methods
based on the Maximum Likelihood Principle. Fluid Phase Equilibria, 6: 1-19.
Patino-Leal, H. and Reilly, R.M., 1982. Statistical estimation of parameters in vapor-liquid
equilibrium. AIChE J., 28(4): 580-587.
Paunovic, R., Jovanovic, S. and Mihajlov, A., 1981. Rapid computation of binary interaction
coefficients of an equation of state for vapor-liquid equilibrium calculations. Application
to the Redlich-Kwong-Soave
equation of state. Fluid Phase Equilibria, 6: 141-148.
Peneloux, A., Deyvieux, R., Canals, E. and Neau, E., 1976. The Maximum Likelihood test
and the estimation of experimental inaccuracies. Application to data reduction for
vapor-liquid equilibrium. J. Chim. Phys., 73: 706-716.
Peters, C.J., De Roo, J.L. and Lichtenthaler, R.N., 1987. Measurements and calculations of
phase equilibria of binary mixtures of ethane + eicosane. Part I. Vapor + liquid equilibria.
Fluid Phase Equilibria, 34: 287-308.
Salazar-Sotelo, D., Boireaut, A. and Renon, H., 1986. Computer calculations of the optimal
parameters of a model for the simultaneous representation of experimental, binary and
ternary data. Fluid Phase Equilibria, 27: 383-403.
Schwartzentruber, J., Galivel-Solastiuk, F. and Renon, H., 1987. Representation of the
vapor-liquid equilibrium of the ternary system carbon dioxide-propane-methanol
and its
binaries with a cubic equation of state. A new mixing rule. Fluid Phase Equilibria, 38:
217-226.
Schwetlick, H. and Tiller, V., 1985. Numerical methods for estimating parameters in nonlinear models with errors in the variables. Technometrics, 27(l): 17-24.
Skjold-Jorgensen, S., 1983. Gn statistical principles in reduction of thermodynamic data.
Fluid Phase Equilibria, 14: 273-288.
Sutton, T.L. and MacGregor, J.F., 1977. The analysis and design of binary vapor-liquid
equilibrium experiments. Part I. Parameter estimation and consistency tests. Can. J. Chem.
Eng., 55: 602-608.
Trebble, M.A. and Bishnoi, P.R., 1987. Development of a new four-parameter equation of
state. Fluid Phase Equilibria, 35: 1-18.
Trebble, M.A. and Bishnoi, P.R., 1988. Extension of the Trebble-Bishnoi equation of state to
fluid mixtures. Fluid Phase Equilibria, 40: 1-21.
Trebble, M.A., 1988. Correlation of VLE data for binary mixtures of l-alkanols and normal
hexane with the Trebble-Bishnoi equation of state. Fluid Phase Equilibria, 42: 117-128.
Valko, P. and Vajda, S., 1987. An extended Marquardt-type procedure for fitting error-invariables models. Comput. Chem. Eng., 11(l): 37-43.
van Ness, H.C., Petersen, F. and Rasmussen, P., 1978. Vapor-liquid equilibrium. Part V.
Data reduction by maximum likelihood. AIChE J., 24(6): 1055-1063.