Professional Documents
Culture Documents
Ammonia
Ammonia
Abstract:
1. Introduction
1
and. In this paper, a thorough literature review on thermodynamics property prediction of water-
ammonia system is presented in first section. In the second section the two approaches based on
equation of state used in this research work to model the behavior of this system is outlined.
Comparison between predicted and experimental data using the two approaches is presented in
Section 4 and the last section, Conclusions, provides a brief on methods used and aimed goals
achieved.
Originally, equations of state were designed to describe mathematically the relation between
pressure, specific volume and temperature (PVT) of homogeneous gas systems. Equations of
state can take different forms from ideal gas law to more complicated forms like that of Lee-
Kesler type. Most commonly used analytical equations are the so-called cubic equations of state.
Cubic nature implies that the expanded form of equation has volume terms raised up to the third
power. This means that the largest positive root corresponds to the molar volume of the vapor and
the smallest positive root to the molar volume of the liquid. Two cubic commonly used equations
of state in the field of applied thermodynamics are PR, [3], and SRK, [5].
Peng and Robinson (1976) proposed the cubic equation of state of the form of Eq. 1, whereas
Soave, Redlich and Kwong (1976) proposed Eq. 2 for correlating PVT behavior of pure
component systems. In some cases, PR EOS is known to give slightly better predications of
liquid densities than SRK EOS [1].
(1)
(1-a)
(2)
(2-a)
where a and b are two parameters that can be calculated using temperature and critical state
properties. To extent the use of these two equations of state, one requires a mixing rule that
allows calculation of equation parameters for the mixture. Literature is rich with verity of mixing
rules that can be applied for PR and SRK equations of state. These rules are ranging from the
simplest, proposed by Van der waals [1] to more complex ones such as extended Twu-Coon [2].
2
In this study the Van der waals mixing rule presented by Eqs. 3 and 4 is used due to the merit of
its simplicity that renders less computational time necessary for complex process simulations and
binary interaction coefficient optimization.
(3)
(4)
(5)
(6)
(7)
The calculated fugacity coefficients for a binary mixture at specific temperature and pressure
are required to perform a phase equilibrium calculation in order to calculate optimized binary
interaction coefficient. The choice of phase equilibrium calculation in this study is discussed in
the following section.
3
3. Phase equilibrium calculation
(8)
(9)
The condition for a two-phase system consisting of vapor and liquid phases at the same P and
T in equilibrium is that the fugacity of each compound is the same in both phases. This condition
is given in Eq. 7.
(10)
where and are liquid and vapor phase fugacity for each component respectively.
There are different types of two-phase flash calculation that are discussed in many textbooks.
The one chosen in this study is based on initial guess of liquid fraction, L/F, because it does not
show convergence problems at high pressures compared to other types of two-phase flash
calculation. A very brief step-by-step procedure is presented here.
4
Figure 1. Flowchart of the flash calculation
4. Optimization procedure
Adjustable binary interaction coefficient in the proposed mixing rules calculated by regression
analysis of experimental phase equilibrium data. The basic idea in the regression analysis usually
employed to determine the optimized binary interaction coefficient is to apply the selected EOS
for calculation of a particular property and then to minimize the difference between predicted and
experimental values of that property according to a specified objective function. The objective
function should be defined based on the application that the trained EOS is supposed to be
applied. In this study, the objective function used to determine optimized binary interaction
coefficient at a specific temperature and pressure is defined by the sum of Absolute Relative
Error (ARE) in mole fractions of both components in two phases.
(11)
5
The reason supporting this choice of objective function is the fact the optimization based on
just one phase or one component may lead to in accurate predictions for the other phase or
component. Figure 2 presents the flowchart of necessary calculations for this optimization.
Figure 2. Flowchart of binary interaction coefficients for vapor and liquid phases.
(12)
(13)
(14)
(15)
(16)
(17)
6
In Eqs. 12 to 17, T and P are in K and MPa, respectively and these equations collectively show
that Binary interaction coefficients are considered function of both temperature and pressure. An
optimization algorithm based on minimization of the objective function defined by Eq. 18 is used
to find numerical values of the associated constants, in Eqs. 12 to 17.
(18)
Optimization of binary interaction coefficient for PR and SRK equations of state is performed
for water-ammonia system for the temperature range of 306 to 618 K and total pressure range of
0.036 to 22.5 MPa.
A flash calculation program based on the calculation sequence of Figure 1 was used to obtain
optimized binary interaction coefficient. Optimization of binary interaction coefficient (kij) was
investigated for a set of data comprises of 300 experimental data [4] for PR and SRK equations of
state. As mentioned earlier in the manuscript, optimization is performed under two different
approaches. In the first approach, one set of coefficients is used for both phases whereas in the
second one, different coefficients have been used for liquid and vapor phases. Optimization
results for these two approaches for a limited subset of experimental data are presented in Tables
1 to 4. Comparison between AREs presented in these four Tables show clearly that considering
different interaction coefficients for liquid and vapor phases improves considerably prediction
accuracy.
Table 1. Optimization result for single binary interaction coefficient for vapor and liquid phases for PR EOS
xExp. yExp. xCalc. yCalc. ARE for PR
T(K) P (Mpa) PR EOS
(NH3) (NH3) (NH3) (NH3) based Eq. 11
451.51 1.106 0.0174 0.1302 0.0174 0.1356 -0.2225 4.7820e-02
451.46 1.416 0.0571 0.3695 0.0571 0.3408 -0.2342 1.2298e-01
451.55 1.709 0.0859 0.4659 0.0859 0.4600 -0.2299 2.3877e-02
451.84 2.364 0.1720 0.6829 0.1720 0.6344 -0.2653 2.2388e-01
451.90 3.353 0.2391 0.7524 0.2391 0.7480 -0.2513 2.3630e-02
452.14 5.172 0.3354 0.8326 0.3354 0.8363 -0.2311 2.6390e-02
452.03 7.072 0.4668 0.8834 0.4495 0.8878 -0.2472 1.1217e-01
451.90 8.851 0.5480 0.9013 0.5099 0.9013 -0.2117 1.5376e-01
451.87 11.677 0.6817 0.9023 0.6111 0.9075 -0.1566 3.8476e-01
451.02 15.114 0.8717 0.8854 0.7691 0.8766 -0.0360 1.0047e+00
7
Table 2. Optimization result for single binary interaction coefficient for vapor and liquid phases for SRK
EOS
xExp. yExp. xCalc. yCalc. ARE for SRK
T(K) P (Mpa) SRK EOS
(NH3) (NH3) (NH3) (NH3) based Eq. 11
451.51 1.106 0.0174 0.1302 0.0174 0.1365 -0.2433 5.5496e-02
451.46 1.416 0.0571 0.3695 0.0571 0.3418 -0.2563 1.1887e-01
451.55 1.709 0.0859 0.4659 0.0859 0.4610 -0.2520 1.9876e-02
451.84 2.364 0.1720 0.6829 0.1720 0.6355 -0.2899 2.1888e-01
451.90 3.353 0.2391 0.7524 0.2391 0.7492 -0.2753 1.7361e-02
452.14 5.172 0.3354 0.8326 0.3354 0.8375 -0.2541 3.5335e-02
452.03 7.072 0.4668 0.8834 0.4500 0.8893 -0.2721 1.2457e-01
451.90 8.851 0.5480 0.9013 0.5065 0.9013 -0.2280 1.6737e-01
451.87 11.677 0.6817 0.9023 0.6128 0.9093 -0.1744 3.9646e-01
451.02 15.114 0.8717 0.8854 0.7652 0.8709 -0.0212 1.0953e+00
Table 3. Optimization result for two binary interaction coefficient for vapor and liquid phases for PR EOS
xExp. yExp. xCalc. yCalc. Optimum Optimum Error based
T(K) P (Mpa)
(NH3) (NH3) (NH3) (NH3) Liquid Vapor Eq. 18
451.51 1.106 0.0174 0.1302 0.0174 0.1346 -0.2302 -0.9544 3.8418e-02
451.46 1.416 0.0571 0.3695 0.0571 0.3695 -0.2049 2.4802 3.3523e-10
451.55 1.709 0.0859 0.4659 0.0859 0.4659 -0.2257 0.1174 1.2248e-10
451.84 2.364 0.1720 0.6829 0.1720 0.6829 -0.2437 1.3340 1.4442e-09
451.90 3.353 0.2391 0.7524 0.2391 0.7524 -0.2493 -0.1444 1.6440e-09
452.14 5.172 0.3354 0.8326 0.3354 0.8326 -0.2330 -0.2993 1.5391e-09
452.03 7.072 0.4668 0.8834 0.4634 0.8834 -0.2755 -0.4487 1.3782e-02
451.90 8.851 0.5480 0.9013 0.5326 0.9013 -0.2568 -0.3914 6.2371e-02
451.87 11.677 0.6817 0.9023 0.6294 0.9023 -0.2209 -0.3532 2.4105e-01
451.02 15.114 0.8717 0.8854 0.0421 0.8737 -0.0600 -0.0500 6.4123e-01
Table 4. Optimization result for two binary interaction coefficient for vapor and liquid phases for SRK EOS
xExp. yExp. xCalc. yCalc. Optimum Optimum Error based
T(K) P (Mpa)
(NH3) (NH3) (NH3) (NH3) Liquid Vapor Eq. 18
451.51 1.106 0.0174 0.1302 0.0174 0.1354 -0.2513 -1.0230 4.7779e-02
451.46 1.416 0.0571 0.3695 0.0571 0.3695 -0.2263 2.5188 4.0775e-10
451.55 1.709 0.0859 0.4659 0.0859 0.4659 -0.2482 0.0537 1.7986e-10
451.84 2.364 0.1720 0.6829 0.1720 0.6829 -0.2676 1.3645 4.8478e-10
451.90 3.353 0.2391 0.7524 0.2391 0.7524 -0.2738 -0.1922 1.0200e-09
452.14 5.172 0.3354 0.8326 0.3354 0.8326 -0.2568 -0.3508 2.8648e-09
452.03 7.072 0.4668 0.8834 0.4621 0.8834 -0.3002 -0.4960 1.8916e-02
451.90 8.851 0.5480 0.9013 0.5315 0.9013 -0.2802 -0.4348 6.6567e-02
451.87 11.677 0.6817 0.9023 0.6292 0.9023 -0.2411 -0.3885 2.4183e-01
451.02 15.114 0.8717 0.8854 0.7513 0.8636 -0.0700 -0.0600 7.7614e-01
The AREs obtained from the optimization for the complete set of experimental data show that
PR EOS provides much accurate predictions compared to SRK EOS.
To avoid including many tables in the manuscript presenting the optimized values of binary
interaction coefficient for the whole set of experimental data, we suffices presenting the
optimized constant of Eqs. 13 to 17 for PR EOS in Tables 5 to 7.
8
Table 5. Optimized constants for single binary interaction coefficient for liquid and vapor phases .
Parameter Value Parameter Value Parameter Value
1.35e-02 -2.36e-02 -1.81e-02
-1.04e-04 3.06e-03 3.03e-03
3.83e-07 -1.68e-05 -2.89e-05
-6.62e-10 3.08e-08 6.98e-08
4.19e-13 -1.88e-11 -5.09e-11
It is worth to note that the data presented in Table 7 for vapor phase binary interaction
coefficient is valid for the temperature range of 400 to 618 K.
6. Conclusion
9
References:
[1]- Ahmed T. "Hydrocarbon phase behavior." Houston: Gulf Pub. Co., ©1989.
[2]- Chorng H. Twu, John E. Coon, Bluck D., "A Comparison of the Peng-Robinson and
Soave-Redlich-Kwong Equations of State Using a New Zero-Pressure-Based Mixing Rule for the
Prediction of High Pressure and High Temperature Phase Equilibria.", Simulation Sciences Inc.,
601 Valencia Avenue, Brea, CA 92823 (USA)
[3]- Peng, D-Y. and Robinson, D.B., "A New Two-constant Equation of State.", Ind. Eng.
Chem. Fundam., 1976, 15, 59-64.
[4]- Rizvi syed S. H., Heldemann R. A., "Vapor-Liquid Equilibria in the Ammonia-Water
System.", J. chem. Eng. Data 1987, 32, 183-191
[6]- Valderrama José O., Alvarez V´ıctor H., "Temperature independent mixing rules to
correlate the solubility of solids in supercritical carbon dioxide.", J. of Supercritical Fluids 32
(2004) 37–46
[7]- Weber L.A., "Estimating the virial coefficients of the ammonia-water mixture.", Fluid
Phase Equilibria 162_1999.31–49
10