Based on initial Ki values, iteration is done to get value of V which satisfies material bal-
ance on system.
Yi = Ki.Xi
1 = V + L
Zi = V.Yi + L.Xi
where V & L are vapor and liquid fractions. Solving above equations for Xi gives :
Xi = Zi / ( V.( Ki - 1) + 1 )
Featured Resources :
At Flash conditions
Yi - Xi = 0
Above equation can be solved by iteration using Newton Raphson method. Function F
(V) is defined as:
F(V) = Yi - Xi
F(V) = [Zi (Ki - 1)/( V.(Ki - 1) + 1)]
V New = V - F(V)/F'(V)
Function F(V) and F'(V) are calculated based on new vapor fraction and this process is
repeated till there is negligible difference in between V and VNew. Vapor fraction thus
obtained is then used to estimate vapor and liquid molar composition (Yi & Xi).
Iteration for Ki
Vapor (Yi) and Liquid (Xi) mol fractions estimated above are used to generate values for
Ki. Parameters for Peng Robinson EOS are calculated for each component i.
iL Calculation
where, kijs are Binary Interaction Parameter available from literature. Following cubic
equation is solved to get ZL.
Roots calculated are arranged in descending order, highest root gives ZV and lowest root
gives ZL.
Featured Resources :
iV Calculation
Mixture parameters are calculated.
a = ij aij.Yi.Yj
b = i bi.Yi
A = aP/(RT)
B = bP/RT
Ki is calculated as:
Ki = iL/iV
New values of Ki thus calculated are again used to estimate V and thereafter Xi & Yi. It-
eration is repeated till there is no further change in Ki values. Typically, in 10 iterations
change in Ki values become negligible.
Spreadsheet
All above calculations along with iterative procedure for flash calculation have been
provided in below spreadsheet.
Like 12 Tweet
0
December 26, 2015 Vapor Liquid Equilibria EOS, Flash, Peng Robinson, PT Flash
Leave a comment
Dew T Flash using PR EOS
Dew T flash calculation determine dew point temperature (T) and liquid mol fraction
(Xi) for a mixture at given pressure (P) and vapor mol fraction (Yi). These calculations
can be performed in excel spreadsheet using Peng Robinson Equation of State (PR EOS).
Estimate temperature T and liquid mol fraction (Xi). T can be estimated as following
T = Tisat Xi
Tisat = Tc/[ 1 - 3.ln(P/Pc)/(ln(10).(7 + 7)) ]
where Pc, Tc and are critical constants for a component i. Liquid mol fraction is esti-
mated as following
Xi = Yi/Ki
Ki = exp[ ln(Pc/P) + ln(10)(7/3)(1 + )(1-T/Tc)]
Featured Resources :
First iteration starts with estimated T and Xi. Parameters for Peng
Robinson EOS are calculated for each component i.
Z + C2.Z + C1.Z + C0 = 0
If D < 0, then equation has 3 real roots, following parameters are calculated
t1 = Q1 / P1
t2 = (1 - t1)0.5 / t10.5. Q1/abs(Q1)
= atan(t2)
Z0 = 2.P10.5.cos(/3) - C2/3
Z1 = 2.P10.5.cos(( + 2*)/3) - C2/3
Z2 = 2.P10.5.cos(( + 4*)/3) - C2/3
Roots thus calculated are arranged in descending order, highest root gives ZV and lowest
root gives ZL.
Featured Resources :
Fugacity
As a next step, Liquid phase fugacity is calculated. Mixture properties are estimated as
following
a = ij aij.Xi.Xj
b = i bi.Xi
A = aP/(RT)
B = bP/RT
Xi = Yi.iV/iL
New values of Xi thus calculated are again used to estimate iL and thereafter Xi. This it-
eration is repeated till there is no further change in Xi values. Typically, in 25 iterations
change in Xi values become negligible.
At the end of iteration Xi is calculated, if it is close to 1, results are obtained. If not, new
value of T is estimated such that Xi is close to 1. In excel it can be achieved by using
GOAL SEEK function, in which T value is changed to make summation equal to 1.
Note
For some initial values of Temperature, Xi become equal to Yi and summation Xi be-
comes 1, it happens when initial guess for T falls in critical region. For such cases use
different value of temperature, such that summation is not equal to 1 and then use Ex-
cel GOAL SEEK function to estimate Dew Point Temperature and liquid mol fractions Xi.
Spreadsheet
All above calculations along with iterative procedure for flash calculation have been
modeled in below spreadsheet.
Like 4 Tweet
0
December 13, 2015 Vapor Liquid Equilibria Dew T, Flash, Peng Robinson, PR 3 Comments
Estimate temperature T and vapor mol fraction (Yi). T can be estimated as following
T = Tisat Xi
Tisat = Tc/[ 1 - 3.ln(P/Pc)/(ln(10).(7 + 7)) ]
where Pc, Tc and are critical constants for a component i. Vapor mol fraction is esti-
mated as following
Yi = Ki Xi
Ki = exp[ ln(Pc/P) + ln(10)(7/3)(1 + )(1-T/Tc)]
Featured Resources :
First iteration starts with estimated T and Yi. Parameters for Peng
Robinson EOS are calculated for each component i.
Z + C2.Z + C1.Z + C0 = 0
If D < 0, then equation has 3 real roots, following parameters are calculated
t1 = Q1 / P1
t2 = (1 - t1)0.5 / t10.5. Q1/abs(Q1)
= atan(t2)
Z0 = 2.P10.5.cos(/3) - C2/3
Z1 = 2.P10.5.cos(( + 2*)/3) - C2/3
Z2 = 2.P10.5.cos(( + 4*)/3) - C2/3
Roots thus calculated are arranged in descending order, highest root gives ZV and lowest
root gives ZL.
Featured Resources :
Fugacity
As a next step, Vapor phase fugacity is calculated. Mixture properties are estimated as
following
a = ij aij.Yi.Yj
b = i bi.Yi
A = aP/(RT)
B = bP/RT
Yi = Xi.iL/iV
New values of Yi thus calculated are again used to estimate iV and thereafter Yi. This it-
eration is repeated till there is no further change in Yi values. Typically, in 25 iterations
change in Yi values become negligible.
At the end of iteration Yi is calculated, if it is close to 1, results are obtained. If not, new
value of T is estimated such that Yi is close to 1. In excel it can be achieved by using
GOAL SEEK function, in which T value is changed to make summation equal to 1.
Note
For some initial values of Temperature, Yi become equal to Xi and summation Yi be-
comes 1, it happens when initial guess for T falls in critical region. For such cases use
different value of temperature, such that summation is not equal to 1 and then use Ex-
cel GOAL SEEK function to estimate Bubble Point Temperature and vapor mol fractions
Yi.
Spreadsheet
All above calculations along with iterative procedure for flash calculation have been
modeled in below spreadsheet.
Like 10 Tweet
1
December 12, 2015 Vapor Liquid Equilibria Bubble T, Equation of State, Flash, Peng Robinson, PR
Leave a comment
P = Pisat Xi
Pisat = exp[ ln(Pc) + ln(10)(7/3)(1 + )(1-T/Tc)]
where Pc, Tc and are critical constants for a component i. Vapor mol fraction is esti-
mated as following
Yi = Ki Xi
Ki = exp[ ln(Pc/P) + ln(10)(7/3)(1 + )(1-T/Tc)]
Featured Resources :
First iteration starts with estimated P and Yi. Parameters for Peng
Robinson EOS are calculated for each component i.
Z + C2.Z + C1.Z + C0 = 0
If D < 0, then equation has 3 real roots, following parameters are calculated
t1 = Q1 / P1
t2 = (1 - t1)0.5 / t10.5. Q1/abs(Q1)
= atan(t2)
Z0 = 2.P10.5.cos(/3) - C2/3
Z1 = 2.P10.5.cos(( + 2*)/3) - C2/3
Z2 = 2.P10.5.cos(( + 4*)/3) - C2/3
Roots thus calculated are arranged in descending order, highest root gives ZV and lowest
root gives ZL.
Featured Resources :
As a next step, Vapor phase fugacity is calculated. Mixture properties are estimated as
following
a = ij aij.Yi.Yj
b = i bi.Yi
A = aP/(RT)
B = bP/RT
Yi = Xi.iL/iV
New values of Yi thus calculated are again used to estimate iV and thereafter Yi. This it-
eration is repeated till there is no further change in Yi values. Typically, in 25 iterations
change in Yi values become negligible.
At the end of iteration Yi is calculated, if it is close to 1, results are obtained. If not, new
value of P is estimated such that Yi is close to 1. In excel it can be achieved by using
GOAL SEEK function, in which P value is changed to make summation equal to 1.
Note
For some initial values of Pressure, Yi become equal to Xi and summation Yi becomes
1, it happens when initial guess for P falls in critical region. For such cases use lower
value of pressure such that summation is not equal to 1 and then use Excel GOAL SEEK
function to estimate Bubble Point Pressure and vapor mol fractions Yi.
Spreadsheet
All above calculations along with iterative procedure for flash calculation have been
modeled in below spreadsheet.
Like 14 Tweet
0
December 5, 2015 Vapor Liquid Equilibria Bubble P, EOS, Equation of State, Flash, Peng Robinson,
PR Leave a comment