Professional Documents
Culture Documents
Journal of Chemical Engineering of Japan, Vol. 40, No. 6, pp. 534538, 2007 Research Paper
Applications of the SoaveRedlichKwong Equation of State Using
Mathematica
+ ( )
( ) 1
where
b
RT
P
= ( ) 0 08664 2 .
c
c
a
RT
P
m T =
( )
+
( )
[ ]
( ) 0 42748 1 1 3
2
2
.
c
c
r
T
T
T
r
c
= ( ) 4
and
m = + ( ) 0 480 1 574 0 176 5
2
. . .
In Figure 1, we show isotherms obtained for ethane at
temperatures varying from 274.15 to 303.15 K.
Ethanes critical temperature and pressure and acen-
tric factor (Sandler, 1999) are the following: T
c
=
305.556 K, P
c
= 48.2989 bar and = 0.1064.
Received on November 1, 2006; accepted on January 23, 2007.
Correspondence concerning this article should be addressed to
H. Binous (E-mail address: binoushousam@yahoo.com).
These isotherms are obtained using the following
Mathematica
commands:
In the same figure, one can read the vapor pres-
sure as well as the liquid and gas molar volumes at
different temperatures using the bold dots. These pure
component properties are found by imposing that the
t wo shaded areas i n Fi gure 2 are equal ; t he
Mathematica
exp .
.
. ln . 44 0103
2 5688210
4 97635 1 4644710 100
3
5 2
(6)
with T in K and P
sat
in bar.
2. VaporLiquid Equilibrium Diagram for Binary
Mixtures
The binary mixture composed of ethane and ben-
zene exhibits peculiar vaporliquid isothermal equi-
librium diagrams because of the large difference in
volatility of these two components. The liquid and
vapor mole fractions are related by
y K x i
i i i
= = ( ) 1 2 7 or
where K
i
is the equilibrium constant.
The SRK EOS is part of a family of equations
called cubic because the compressibility factor, Z, is a
solution of a the following cubic equation,
Z Z Z A B B AB
3 2 2
0 8 +
( )
= ( )
where
A y y A x x A
i j ij
j
C
i
C
i j ij
j
C
i
C
= ( )
= = = =
1 1 1 1
9 or
A A A k
ij i j ij
=
( )
( )
( )
0 5
1 10
.
B y B x B
i i
i
C
i i
i
C
= ( )
= =
1 1
11 or
A a
P
T
B
P
T
i i i
i
i
i
i
= = ( ) 0 42747 0 08664 12
2
. .
r
r
r
r
and
For each component, we define the reduced pressure
and temperature by P
i
r
= P/ P
i
c
and T
i
r
= T/ T
i
c
and a
i
is
given by an equation similar to Eq. (3) given for the
pure component case. The binary interaction param-
eter, k
ij
, is assumed to be equal to zero. The equilib-
rium constants are obtained using the method as
follows,
K i C
i
l
v
i
i
= = ( )
for to 1 13
where
v v
i
v
i i
v
v
i i i
i
i
Z
B
B
Z B
A
B
A
A
B
B
Z B
Z
=
( )
( )
( )
exp ln
ln
.
.
1
2
14
0 5
0 5
A similar expression is obtained for the liquid phase
fugacity coefficient,
l
i
, by replacing the gas phase
compressibility factor, Z
v
i
with its liquid phase
counterpart, Z
l
i
. These two compressibility factors are
the largest and smallest roots of Eq. (8), respectively.
Fig. 1 Isotherms for ethane
Fig. 2 Isotherm at q = 11C (shaded areas are equal)
Fig. 3 Vapor pressure versus temperature for ethane
536 JOURNAL OF CHEMICAL ENGINEERING OF JAPAN
The Mathematica
1
1 1
0 15
1
where z
i
is the mole fraction of component i in the feed.
The Mathematica
(Wolfram
Research, Inc.) function, FindRoot which uses either
the secant or Newtons method. Little programming
skills are required by the student who gets acquainted
with the basic Mathematica
(The
MathWorks, Inc.). However, it is the authors opinion
that Mathematica
(Wolfram Research,
Inc.).
Nomenclature
K
i
= equilibrium constant
= critical pressure [bar]
= reduced pressure
P
sat
= vapor pressure [bar]
= critical temperature [K]
= reduced temperature
x = liquid mole fraction
y = vapor mole fraction
Z = compressibility factor
z = mole fraction in the feed
= vapor phase fraction
l
,
v
= fugacity coefficients
= acentric factor
Table 1 Composition of the gasoline
Component
z
i
T
i
c
[K] P
i
c
[bar]
Methane 0. 0000 191. 056 45. 8016 0. 0000
Ethane 0. 0012 305. 556 48. 2989 0. 1064
Propane 0. 0012 369. 944 42. 0114 0. 1538
i-Butane 0. 0117 408. 094 35. 9989 0. 1825
n-Butane 0. 0117 425. 167 37. 4728 0. 1954
i-Pentane 0. 0117 460. 400 32. 9001 0. 2104
n-Pentane 0. 0235 469. 778 33. 3084 0. 2387
n-Hexane 0. 3521 507. 900 29. 9197 0. 2972
C
7
+
0. 5869 563. 606 29. 0746 0. 3289
P
i
c
P
i
r
T
i
c
T
i
r
538 JOURNAL OF CHEMICAL ENGINEERING OF JAPAN
Literature Cited
Bi nous, H. ; Mat hemat i ca Informat i on Cent er, ht t p: / /
l i b r a r y . w o l f r a m . c o m / i n f o c e n t e r / s e a r c h /
?search_results=1;search_person_id=1536 (2006a)
Bi nous, H. ; Mat l ab Fi l e Exchange Cent er, ht t p: / /
www. ma t hwor ks . c om/ ma t l a bc e nt r a l / f i l e e xc ha nge /
loadAuthor.do?objectType= author&objectId=1093893 (2006b)
Prausnitz, J. M., R. N. Lichtenthaler and E. G. deAzevedo; Mo-
lecular Thermodynamics of Fluid-Phase Equilibria, 3rd ed.,
pp. 714717, Prentice-Hall, Englewood Cliffs, U.S.A. (1998)
Sandler, S. I.; Chemical and Engineering Thermodynamics, 3rd ed.,
pp. 196198, Wiley, U.S.A. (1999)
Tester, J. W. and M. Modell; Thermodynamics and Its Applications,
3rd ed., pp. 255257, Prentice Hall, Englewood Cliffs, U.S.A.
(1996)
Wolfram, S.; Mathematica, A System for Doing Mathematics by
Computer, Addison-Wesley, Redwood City, U.S.A. (1988)