Professional Documents
Culture Documents
Fugacityreport
Fugacityreport
net/publication/321369533
CITATIONS READS
2 8,411
4 authors, including:
Some of the authors of this publication are also working on these related projects:
Equation of State Modelling: Soave-Redlich-Kwong and Van der Waals View project
All content following this page was uploaded by Ridhish Kumar on 28 November 2019.
By
In the present report, the authors have written a MATLAB© code to calculate the value of the
fugacity coefficient for pure Carbon dioxide and pure water, from the Van der Waals (VdW)
and Soave-Redlich-Kwong (SRK) Equations of State (EOS) for different temperature and
pressure conditions, and compare the obtained values with the experimentally determined
values which was obtained through a literature search. Then error analysis has been done on
the deviation of the calculated values from the experimental values. Further, the authors
discuss the possible reasons for the same.
2. APPROACH
First, a MATLAB© code was written to calculate the volume roots of the VdW and SRK
EOS. They are cubic equations and were solved by iterative Newton-Raphson Method.
Two general methods are available for the calculation of fugacities: 1) graphical and 2)
analytical. The graphical method can always be used if P-V-T data are available. The
analytical method requires that the P-V-T data be fitted to an analytical expression for the
equation of state in a form which can be integrated. Fortunately, the Van der Waals and
Soave- Redlich- Kwong Equations of State is of such a form and with the proper constants
closely represents the P-V-T data for many gases over a wide range of temperatures and
pressures. [3] The volume roots that were obtained from the previous code, were then
plugged into a MATLAB© code that was written to calculate the value of the fugacity
coefficient through the Van der Waals and Soave- Redlich- Kwong Equations of State
modelling.
The equation used for the Van der Waals EOS is as follows:
𝑃(𝑣 − 𝑏) 𝑎
ln 𝜑 = 𝑍 − 1 − 𝑙𝑛 −
𝑅𝑇 𝑅𝑇𝑣
The equation used for the Soave- Redlich- Kwong EOS is as follows:
𝑎 𝑍+𝐵
ln 𝜑 = 𝑍 − 1 − ln 𝑍 − 𝐵 − ln
𝑏𝑅𝑇 𝐵
The numerical results for both the EOS were compared to the experimental data obtained by
literature search. They’ve been appropriately referenced in the reference section. Statistics
data such as Average Absolute Deviation (AAD %), minimum error and maximum error are
also provided. The accuracy of prediction of fugacity coefficient values is discussed in the
results and discussion section. The experimental data has been obtained from literature search
and has been referenced as [8] and [9].
3. CODE
SRK Code:
VDW Code:
4. DERIVATION
Here we attempt to arrive at a suitable expression connecting fugacity with other measurable
quantities.
Using the fundamental relationship,
6
𝑍−1
ln ∅ = 𝑑𝑃
7 𝑃
Where fugacity is defined by 𝑓 = ∅𝑃, ∅ here is called the fugacity coefficient. [2][3][4]
Using elementary transformation of variables, we get a volume explicit form,
: =
ln ∅ = 𝑍 − 1 − >
𝑃𝑑𝑣 … Equation 2
;<
Now for the Van der Waals Equation of state we have the volume explicit form,
? ;< ?
𝑃 + 𝑣 − 𝑏 = 𝑅𝑇 or, 𝑃 = − … Equation 3
=@ =AB =C
Where a is the energy parameter and b is the molecular co-volume and are calculated through
critical temperatures and pressures and are therefore not dependent on temperature for Van
der Waals treatment here.
Using Equation 3, we now have,
= =
𝑅𝑇 𝑎 𝑣−𝑏 𝑎 𝑎
𝑃𝑑𝑣 = − D 𝑑𝑣 = 𝑅𝑇𝑙𝑛 > + − >
> > 𝑣−𝑏 𝑣 𝑣 −𝑏 𝑣 𝑣
? ;<
Since 𝑣 > is large, ≅ 0 and 𝑣 > − 𝑏 = 𝑣 > =
=E 6
Therefore,
𝑃(𝑣 − 𝑏) 𝑎
𝑃𝑑𝑣 = 𝑅𝑇𝑙𝑛 +
𝑅𝑇 𝑣
𝑃(𝑣 − 𝑏) 𝑎
ln 𝜑 = 𝑍 − 1 − 𝑙𝑛 −
𝑅𝑇 𝑅𝑇𝑣
𝑎 𝑍+𝐵
ln 𝜑 = 𝑍 − 1 − ln 𝑍 − 𝐵 − ln
𝑏𝑅𝑇 𝐵
Deviation (of
Calculated Fugacity Experimental
Pressure (bar) Temperature (K) calculated values
Coefficient Fugacity Coefficient
from experimental)
1 300 0.998 0.998 0.000
1 400 1.015 0.999 0.016
1 500 1.008 0.999 0.009
1 600 1.03 1 0.030
1 700 1.06 1 0.060
1 800 1.004 1 0.004
1 900 1.003 1 0.003
1 1000 1.003 1 0.003
1000 300 0.231 0.111 0.120
1000 400 0.359 0.279 0.080
1000 500 0.479 0.473 0.006
1000 600 0.588 0.64 0.052
1000 700 0.68 0.759 0.079
1000 800 0.754 0.841 0.087
1000 900 0.813 0.885 0.072
1000 1000 0.859 0.914 0.055
Table 1: Fugacity Coefficients for Water calculated from Van der Waals EOS
Deviation (of
Calculated Fugacity Experimental
Pressure (bar) Temperature (K) calculated values
Coefficient Fugacity Coefficient
from experimental)
10.3 299.85 0.962 0.94 0.022
10.3 322.05 0.967 0.95 0.017
10.3 388.75 0.977 0.97 0.007
20.7 299.85 0.917 0.9 0.017
20.7 322.05 1.254 0.92 0.334
20.7 388.75 1.292 0.96 0.332
41.4 299.85 1.112 0.8 0.312
41.4 322.05 0.857 0.84 0.017
41.4 388.75 0.933 0.92 0.013
82.8 299.85 0.663 0.63 0.033
82.8 322.05 0.749 0.7 0.049
82.8 388.75 0.924 0.84 0.084
165.5 299.85 0.401 0.38 0.021
165.5 322.05 0.479 0.48 0.001
165.5 388.75 0.673 0.72 0.047
Table 2: Fugacity Coefficients for Carbon dioxide calculated from Van der Waals EOS
Deviation (of
Calculated Fugacity Experimental
Pressure (bar) Temperature (K) calculated values
Coefficient Fugacity Coefficient
from experimental)
1 300 0.997 0.998 0.001
1 400 0.998 0.999 0.001
1 500 0.9995 0.999 0.001
1 600 0.9996 1 0.000
1 700 0.9997 1 0.000
1 800 0.9998 1 0.000
1 900 0.9999 1 0.000
1 1000 1 1 0.000
1000 300 0.132 0.111 0.021
1000 400 0.321 0.279 0.042
1000 500 0.537 0.473 0.064
1000 600 0.723 0.64 0.083
1000 700 0.856 0.759 0.097
1000 800 0.9504 0.841 0.109
1000 900 1.014 0.885 0.129
1000 1000 1.056 0.914 0.142
Table 3: Fugacity Coefficients for Water calculated from Soave- Redlich- Kwong EOS
Deviation (of
Calculated Fugacity Experimental
Pressure (bar) Temperature (K) calculated values
Coefficient Fugacity Coefficient
from experimental)
10.3 299.85 0.95 0.94 0.010
10.3 322.05 0.961 0.95 0.011
10.3 388.75 0.982 0.97 0.012
20.7 299.85 0.901 0.9 0.001
20.7 322.05 0.923 0.92 0.003
20.7 388.75 0.964 0.96 0.004
41.4 299.85 0.804 0.8 0.004
41.4 322.05 0.849 0.84 0.009
41.4 388.75 0.929 0.92 0.009
82.8 299.85 0.575 0.63 0.055
82.8 322.05 0.705 0.7 0.005
82.8 388.75 0.865 0.84 0.025
165.5 299.85 0.352 0.38 0.028
165.5 322.05 0.481 0.48 0.001
165.5 388.75 0.76 0.72 0.040
Table 4: Fugacity Coefficients for Carbon dioxide calculated from Soave- Redlich- Kwong EOS
6. CONCLUSION
Both the EOS show results with reasonable accuracy however, departure from ideal
conditions is better explained by the Soave-Redlich-Kwong model at high pressures. From
the graphs, it is apparent that the Soave-Redlich-Kwong EOS provides a better result of the
fugacity coefficients when compared to the same given by the Van der Waals EOS. Note that
with increasing temperature, the SRK EOS isotherm of water converges closely to 1, like the
experimental isotherm, whereas the VdW EOS isotherm has a slight deviation at a pressure of
1 bar when compared with the experimental isotherm of water. The VdW EOS isotherm of
carbon-dioxide shows deviation from the experimental values at low pressure, whereas the
SRK EOS isotherm shows more accurate results when compared to the experimental
isotherm.
A possible reason for the better results from the SRK EOS is because it accounts for the
sphericity of molecules whereas the VdW EOS fails to account for it. Several other possible
reasons could be the molecular structure of CO2, which is a linear diatomic molecule,
whereas water molecule is non-linear triatomic polar molecule. Forces that are not considered
in the equations of state such as the London Forces, the dipole interactions et cetera, could be
a few of the many reasons that the EOS are inaccurate at times.
Given the more accurate results obtained with SRK EOS, although for a relatively small data
set, this model could be further explored for its ability to predict thermodynamic properties of
compounds, as was done in this report for fugacity coefficient.
7. CONFLICT OF INTEREST
None declared.
8. ACKNOWLEDGEMENT
The authors would like to thank Prof. Anirban Roy for guiding us in this endeavour.
9. REFERENCES
[1] Anderson, G. M. (1963). fugacity. Geochimica et Cosmochimica Acta, 28(1), 713- 715.
[2] Szarawara, J., & Gawdzik, A. (1989). Method of calculation of fugacity coefficient from
cubic equations of state. Chemical Engineering Science, 44(7), 1489–1494.
https://doi.org/10.1016/0009-2509(89)80025-9
[3] Holley Jr., C. E., Worlton, W. J., & Zeigler, R. K. (1959). Compressibility Factors and
Fugacity Coefficients Calculated from The Beattie-Bridgeman Equation of State for
Hydrogen, Nitrogen, Oxygen, Carbon Dioxide, Ammonia, Methane, And Helium, 2271,
1–51. https://doi.org/10.2172/6419744
[4] Prausnitz, J.M., Lichtenthaller, R.N., and De Azedevo, E.G., 1986. Molecular
thermodynamics of fluid phase equilibria. Prentice Hall, 353p.
[5] Hala, E., Pick, J., Fried, V. and Vilim, O., 1967. Vapor-Liquid Equilibrium. (English
trans. by G. Standart). Pergamon Press, 599 p.
[6] Denbigh, K., 1983. The Principles of Chemical Equilibrium, 4th. ed., Cambridge
Univ. Press, 494 p.
[7] Redlich O. and Kwong J.N.S., 1949. On the thermodynamics of solutions. V. An equation
of state. Fugacities of Gaseous Solutions. Chem. Rev. 44, 233-244.
[9] Anderson, G. M. (1963). fugacity. Geochimica et Cosmochimica Acta, 28(1), 713- 715.