EOS and Non-Ideal Behaviour
EOS and Non-Ideal Behaviour
EOS and Non-Ideal Behaviour
Thermodynamics – I
ChE–301
Aqeel Ahmad TAIMOOR
Class Objectives
Understand the difference between compressible and
incompressible fluids and mathematical procedure to calculate
properties
Understand how the parameters for van der Waal EOS can be
determined
Class Objectives
Understand the difference between compressible and
incompressible fluids and mathematical procedure to calculate
properties
Understand how the parameters for van der Waal EOS can be
determined
Volumetric Properties of
fluid
Volume of fluid is required to design various chemical
equipment
Understand how the parameters for van der Waal EOS can be
determined
Equation of State
Understand how the parameters for van der Waal EOS can be
determined
Virial Equation of State
Most simple form of equation
of state is PV=RT
Regression of isotherms
A curve can be defined by a
polynomial of ‘n’ degree
PV = a + bP + cP2 + …
Such an equation is termed as
virial equation
Above equation may be written
as
PV = a(1+BP+CP2+…)
Non-Ideal Gas Simplest
Virial Equation
PV = ZRT
So, Z = 1 + BP/RT
Virial Equations
However straight line approximation does not valid after
certain pressure
Understand how the parameters for van der Waal EOS can be
determined
Virial Equations
Virial equations does not converge rapidly to solution
Understand how the parameters for van der Waal EOS can be
determined
van der Waal Correction
Ideal gas molecules has no volume
VR = Vig + NVmolR (Volume adjustment)
As for one mole ‘N’ is constant and ‘Vmol’ for a certain gas
is constant thus VR = Vig + b or Vig = VR – b
Ideal gas pressure is different than the real gas pressure
because of molecules attraction
dU = Q + W = TdS – PdV
For gas with no entropy change (dS = 0; assumption)
dU/dV = –P
van der Waal Correction
If there is no interaction between the molecules then ‘U’
does not change with the volume
U = a/V
𝑎
𝑃+ 2 𝑉 − 𝑏 = 𝑅𝑇
𝑉
Class Objectives
Understand the difference between compressible and
incompressible fluids and mathematical procedure to calculate
properties
Understand how the parameters for van der Waal EOS can be
determined
Parameter Determination
Parameter determination
From the figure it is clear that derivative (dP/dV)Tc and
double derivative (d2P/dV2)Tc = 0
Understand how the parameters for van der Waal EOS can be
determined
Class Objectives
Understand the cubic equation of state roots
Liquid
Root
Ambiguous Vapour
Root Root
Example
a. saturated vapour
b. saturated liquid
Class Objectives
Understand the cubic equation of state roots
Tr = T/Tc
Pr = P/Pc
General form of EOS
Vapor like root
Combining pressure volume equation with PV = ZRT a
generalized form of the EOS can be obtained
𝑍−𝛽
𝑍 = 1 + 𝛽 − 𝑞𝛽
𝑍 + 𝜀𝛽 𝑍 + 𝜎𝛽
𝑃𝑟 𝛼 𝑇𝑟
𝛽=Ω 𝑞=Ψ
𝑇𝑟 Ω𝑇𝑟
The initial seed value is taken from the ideal gas law in
order to converge the solution i.e. Z = 1
General form of EOS
Liquid like root
1+𝛽−𝑍
𝑍 = 𝛽 + 𝑍 + 𝜀𝛽 𝑍 + 𝜎𝛽
𝑞𝛽
𝑃𝑟 𝛼 𝑇𝑟
𝛽=Ω 𝑞=Ψ
𝑇𝑟 Ω𝑇𝑟
a. saturated vapour
b. saturated liquid
Problem
Class Objectives
Understand the cubic equation of state roots
If c = 0 then
d(logPrSat)/d(1/Tr) = m
Acentric factor
Theorem of
Corresponding States
But this is not true for all gases
ω = -1 – logPrSat Tr = 0.7
𝑅𝑇𝐶 𝑅𝑇𝐶
𝑏 = 0.08664 𝑏 = 0.077796
𝑃𝐶 𝑃𝐶
EOS for Property Calculations
‘a’ is the correction because of the molecular
interactions
2
𝑅𝑇𝐶
𝑎 = 0.42748 1 + 𝜅 1 − 𝑇𝑟0.5 2
𝑃𝐶
𝑅𝑇𝐶 2
𝑎 = 0.457235 1 + 𝜅 1 − 𝑇𝑟0.5 2
𝑃𝐶
𝑅𝑇 𝑎 𝑅𝑇 𝑎
𝑃= − 𝑃= −
𝑉−𝑏 𝑉 𝑉+𝑏 𝑉 − 𝑏 𝑉 𝑉 + 𝑏 + 𝑏(𝑉 − 𝑏)
𝑍 3 − 𝑍 2 + 𝐴 − 𝐵 − 𝐵2 𝑍 − 𝐴𝐵 = 0
𝑍 3 − 1 − 𝐵 𝑍 2 + 𝐴 − 2𝐵 − 3𝐵2 𝑍 − 𝐴𝐵 − 𝐵2 − 𝐵3 = 0
𝑎𝑃 𝑏𝑃
𝐴= 𝐵=
𝑅𝑇 2 𝑅𝑇
Solution to cubic equation
Either use ‘the routines’ to find the roots of this
equation or one can follow the following solution to
find ‘Z’
𝑥 3 + 𝑏𝑥 2 + 𝑐𝑥 + 𝑑 = 0
𝑍 3 − 𝑍 2 + 𝐴 − 𝐵 − 𝐵2 𝑍 − 𝐴𝐵 = 0
𝑍 3 − 1 − 𝐵 𝑍 2 + 𝐴 − 2𝐵 − 3𝐵2 𝑍 − 𝐴𝐵 − 𝐵2 − 𝐵3 = 0
𝑏 = −1 𝑏 =− 1−𝐵 2𝑏 3 − 9𝑏𝑐 + 27𝑑
𝑄=
𝑐 = 𝐴 − 𝐵 − 𝐵2 27
𝑐 = 𝐴 − 2𝐵 − 3𝐵2
3𝑐 − 𝑏 2
𝑑 = −𝐴𝐵 𝑑 = −(𝐴𝐵 − 𝐵2 − 𝐵3 𝑃=
3
𝑄2 𝑃3
𝑅= +
4 27
Solution to cubic equation
If R < 0 (three roots exist, max = gas, min = liquid)
−𝑃 3𝑄 𝑐𝑜𝑠 −1 𝑡
𝑚=2 𝑡= 𝜃=
3 𝑃𝑚 3
𝑏
𝑥1 = 𝑚 𝑐𝑜𝑠𝜃 −
3
4 𝑏
𝑥2 = 𝑚 𝑐𝑜𝑠 𝜃 + 𝜋 −
3 3
2 𝑏
𝑥3 = 𝑚 𝑐𝑜𝑠 𝜃 + 𝜋 −
3 3
If R > 0 (above critical point)
1 1
−𝑄 3 −𝑄 3 𝑏
𝑥= + 𝑅 + − 𝑅 −
2 2 3
Problem
a. saturated vapour
b. saturated liquid
Class Objective
Understand why the iterative solution is not very handy
with computers and devise an analytical solution to
cubic equation of state
Z = Zo +ωZl
Z = 1 + BP/RT = 1 + B`Pr/Tr
B` = Bo + ωBl
Z = 1 + BoPr/Tr+ ωBlPr/Tr
0.422 0.172
𝐵𝑜 = 0.083 − 1.6 𝐵𝑙 = 0.139 − 4.2
𝑇𝑟 𝑇𝑟
Pitzer Correlation for third
Virial coefficient ‘C’
General virial equation truncated to third virial
coefficient
Z = 1 + B`Pr/(Tr Z) + C`(Pr/(Tr Z) )2
B` = Bo + ωBl
C` = Co + ωCl
0.02432 0.00313
𝐶𝑜 = 0.01407 + −
𝑇𝑟 𝑇𝑟10.5
0.05539 0.00242
𝐶𝑙 = −0.02676 + 2.7 −
𝑇𝑟 𝑇𝑟10.5
Example
Class Objective
Understand why the iterative solution is not very handy
with computers and devise an analytical solution to
cubic equation of state
U = f(T,V)
𝜕𝑈 𝜕𝑈
𝜕𝑈 = 𝜕𝑇 + 𝜕𝑉
𝜕𝑇 𝑉
𝜕𝑉 𝑇
Thermodynamic Properties
𝜕𝑈
Constant volume heat capacity = 𝐶𝑉
𝜕𝑈 𝜕𝑇 𝑉
∗
For ideal gas = 𝐶𝑉
𝜕𝑇 𝜕𝐻
Constant pressure heat capacity = 𝐶𝑃
𝜕𝑇 𝑃
𝜕𝐻
For ideal gas = 𝐶𝑃∗
𝜕𝑇
Coefficient of thermal expansion (works for 1 𝜕𝑉
liquids and solids over limited range) =𝛼
𝑉 𝜕𝑇 𝑃
Isothermal compressibility (works for liquids
and solids over limited range) 1 𝜕𝑉
− =𝜅
𝑉 𝜕𝑃 𝑇
Class Objective
Understand why the iterative solution is not very handy
with computers and devise an analytical solution to
cubic equation of state
𝜕𝑄 = 𝑇𝜕𝑆
𝜕𝐻 = 𝜕U + 𝜕 𝑃𝑉 𝜕𝐻 = 𝑇𝜕𝑆 + 𝑉𝜕𝑃
𝜕𝐴 = 𝜕U − 𝜕 𝑇𝑆 𝜕𝐴 = −𝑃𝜕𝑉 − 𝑆𝜕𝑇
𝜕𝐺 = 𝜕H − 𝜕 𝑇𝑆 𝜕𝐺 = 𝑉𝜕𝑃 − 𝑆𝜕𝑇
Thermodynamic Identities
𝜕𝑈 𝜕𝐻 𝜕𝐴 𝜕𝐺
=𝑇 =𝑇 = −𝑃 =𝑉
𝜕𝑆 𝜕𝑆 𝑃
𝜕𝑉 𝑇
𝜕𝑃 𝑇
𝑉
𝜕𝑈 𝜕𝐻 𝜕𝐴 𝜕𝐺
= −𝑃 =𝑉 = −𝑆 = −𝑆
𝜕𝑉 𝑆 𝜕𝑃 𝜕𝑇 𝑉
𝜕𝑇 𝑃
𝑆
𝜕𝑈 𝜕𝑇 𝜕𝐻 𝜕𝑇
= 𝐶𝑉 =𝑇 = 𝐶𝑃 =𝑇
𝜕𝑆 𝑉
𝜕𝑆 𝑉
𝜕𝑆 𝜕𝑆
𝑃 𝑃
Maxwell relations
𝜕𝑈 = 𝑇𝜕𝑆 − 𝑃𝜕𝑉 𝜕𝐻 = 𝑇𝜕𝑆 + 𝑉𝜕𝑃
𝜕𝑈 𝜕𝑈 𝜕𝐻 𝜕𝐻
=𝑇 = −𝑃 =𝑇 =𝑉
𝜕𝑆 𝜕𝑉 𝜕𝑆 𝑃 𝜕𝑃
𝑉 𝑆 𝑆
𝜕𝑇 𝜕𝑃 𝜕𝑇 𝜕𝑉
=− =
𝜕𝑉 𝜕𝑆 𝜕𝑃 𝑆
𝜕𝑆 𝑃
𝑆 𝑉
Maxwell relations
𝜕𝐴 𝜕𝐴 𝜕𝐺 𝜕𝐺
= −𝑃 = −𝑆 = −𝑆 =𝑉
𝜕𝑉 𝜕𝑇 𝜕𝑇 𝑃
𝜕𝑃 𝑇
𝑇 𝑉
𝜕𝑃 𝜕𝑆 𝜕𝑆 𝜕𝑉
= − =
𝜕𝑇 𝑉
𝜕𝑉 𝑇
𝜕𝑃 𝜕𝑇
𝑇 𝑃
Class Objective
Understand why the iterative solution is not very handy
with computers and devise an analytical solution to
cubic equation of state
𝑇𝜕𝑆 − 𝑃𝜕𝑉
𝜕𝑈 = 𝐶𝑉 𝜕𝑇 + 𝜕𝑉
𝜕𝑉 𝑇
𝜕𝑆 𝜕𝑉
𝜕𝑈 = 𝐶𝑉 𝜕𝑇 + 𝑇 −𝑃 𝜕𝑉
𝜕𝑉 𝑇
𝜕𝑉 𝑇
Maxwell relation
𝜕𝑃 𝜕𝑆 𝜕𝑃
= 𝜕𝑈 = 𝐶𝑉 𝜕𝑇 + 𝑇 − 𝑃 𝜕𝑉
𝜕𝑇 𝑉
𝜕𝑉 𝑇
𝜕𝑇 𝑉
Example
Derive a relation for enthalpy using H = f(T,P)
Solution
𝜕𝐻 𝜕𝐻
𝜕𝐻 = 𝜕𝑇 + 𝜕𝑃
𝜕𝑇 𝑃
𝜕𝑃 𝑇 𝜕𝑆 𝜕𝑉
− =
𝜕𝑃 𝑇
𝜕𝑇 𝑃
𝜕𝐻
𝜕𝐻 = 𝐶𝑃 𝜕𝑇 + 𝜕𝑃
𝜕𝑃 𝑇
𝜕𝐻 = 𝑇𝜕𝑆 + 𝑉𝜕𝑃 𝜕𝑉
𝜕𝐻 = 𝐶𝑃 𝜕𝑇 + 𝑉 − 𝑇 𝜕𝑃
𝑇𝜕𝑆 + 𝑉𝜕𝑃 𝜕𝑇 𝑃
𝜕𝐻 = 𝐶𝑃 𝜕𝑇 + 𝜕𝑃
𝜕𝑃 𝑇
𝜕𝑆 𝜕𝑃
𝜕𝐻 = 𝐶𝑃 𝜕𝑇 + 𝑇 +𝑉 𝜕𝑃
𝜕𝑃 𝑇
𝜕𝑃 𝑇
Solution
The term dV/dT is avoided as the EOS is hard to
differentiate in this form. It is preferable to replace
dV/dT by dP/dT
𝜕𝐻 = 𝜕U + 𝜕 𝑃𝑉
𝜕𝑃
𝜕𝑈 = 𝐶𝑉 𝜕𝑇 + 𝑇 − 𝑃 𝜕𝑉
𝜕𝑇 𝑉
𝜕𝑃
𝜕𝐻 = 𝐶𝑉 𝜕𝑇 + 𝑇 − 𝑃 𝜕𝑉 + 𝜕 𝑃𝑉
𝜕𝑇 𝑉
Example
Entropy fundamental relation
Entropy relation solution
S=f(T,V)
𝜕𝑆 𝜕𝑆 𝜕𝑃 𝜕𝑆
𝜕𝑆 = 𝜕𝑇 + 𝜕𝑉 =
𝜕𝑇 𝜕𝑉 𝜕𝑇 𝑉
𝜕𝑉 𝑇
𝑉 𝑇
𝜕𝑇 𝐶𝑉 𝜕𝑃
𝐶𝑉 =𝑇 𝜕𝑆 = 𝜕𝑇 + 𝜕𝑉
𝜕𝑆 𝑉 𝑇 𝜕𝑇 𝑉
𝜕𝑆 𝐶𝑉
=
𝜕𝑇 𝑉
𝑇
Fundamental Relation
𝜕𝑃
𝜕𝑈 = 𝐶𝑉 𝜕𝑇 + 𝑇 − 𝑃 𝜕𝑉
𝜕𝑇 𝑉
𝜕𝑃
𝜕𝐻 = 𝐶𝑉 𝜕𝑇 + 𝑇 − 𝑃 𝜕𝑉 + 𝜕 𝑃𝑉
𝜕𝑇 𝑉
𝐶𝑉 𝜕𝑃
𝜕𝑆 = 𝜕𝑇 + 𝜕𝑉
𝑇 𝜕𝑇 𝑉
Problem
Determine the relation between Joule-Thomson coefficient
and temperature and pressure
Joule – Thomson Coefficient
Joule Thomson effect is define as the change in
temperature with change in pressure at constant enthalpy
𝜕𝑇
Mathematically 𝜇=
𝜕𝑃 𝐻
𝜕𝑉
𝜕𝐻 = 𝐶𝑃 𝜕𝑇 + 𝑉 − 𝑇 𝜕𝑃
𝜕𝑇 𝑃
𝜕𝑉
𝜕𝑉 − 𝑉−𝑇
0 = 𝐶𝑃 𝜕𝑇 + 𝑉 − 𝑇 𝜕𝑃 𝜕𝑇 𝜕𝑇 𝑃
𝜕𝑇 = 𝜕𝑃
𝑃 𝜕𝑃 𝐻
𝐶𝑃
Class Objective
Understand why the iterative solution is not very handy
with computers and devise an analytical solution to
cubic equation of state
𝜕𝑃
𝜕𝑃 𝜕𝐻 = 𝑇 − 𝑃 𝜕𝑉 + 𝜕 𝑃𝑉
𝜕𝐻 = 𝑇 − 𝑃 𝜕𝑉 + 𝜕 𝑃𝑉 𝜕𝑇 𝑉
𝜕𝑇 𝑉
Ideal properties
are used to
calculate the real
properties
𝜕𝐻
= 𝐶𝑃∗
𝜕𝑇
Departure Function
Departure Function
P≈0
𝜕𝑃
Reference T 𝜕𝐻 = 𝑇 − 𝑃 𝜕𝑉 + 𝜕 𝑃𝑉
𝜕𝑇
Point 𝑉
Departure function
𝜕𝑃
𝜕𝐻 = 𝑇 − 𝑃 𝜕𝑉 + 𝜕 𝑃𝑉
𝜕𝑇 𝑉
𝑉
𝜕𝑃
𝐻 − 𝐻 𝑖𝑔 =න 𝑇 − 𝑃 𝜕𝑉 + 𝑃𝑉 − 𝑃𝑉 𝑖𝑔
𝑉≈∞ 𝜕𝑇 𝑉
𝑉
𝜕𝑃
𝐻− 𝐻 𝑖𝑔 = 𝑅𝑇 𝑍 − 1 න 𝑇 − 𝑃 𝜕𝑉
𝑉≈∞ 𝜕𝑇 𝑉
Enthalpy From PR
𝑉
𝜕𝑃
𝐻− 𝐻 𝑖𝑔 = 𝑅𝑇 𝑍 − 1 න 𝑇 − 𝑃 𝜕𝑉
𝑉≈∞ 𝜕𝑇 𝑉
𝑅𝑇 𝑎 Peng Robinson
𝑃= −
𝑉 − 𝑏 𝑉 𝑉 + 𝑏 + 𝑏(𝑉 − 𝑏) Equation of State
𝜕𝑃 𝑅 𝑑𝑎ൗ
= − 𝑑𝑇
𝜕𝑇 𝑉
𝑉 − 𝑏 𝑉 𝑉 + 𝑏 + 𝑏(𝑉 − 𝑏)
𝑉
𝑅 𝑑𝑎ൗ 𝑅𝑇 𝑎
𝐻 𝑑𝑒𝑝 = 𝑅𝑇 𝑍 − 1 + න 𝑇 − 𝑑𝑇 − + 𝜕𝑉
𝑉≈∞ 𝑉 − 𝑏 𝑉 2 + 2𝑏𝑉 − 𝑏 2 𝑉 − 𝑏 𝑉 2 + 2𝑏𝑉 − 𝑏 2
Enthalpy From PR
𝑉
𝑅 𝑑𝑎ൗ 𝑅𝑇 𝑎
𝐻 𝑑𝑒𝑝 = 𝑅𝑇 𝑍 − 1 + න 𝑇 − 2 𝑑𝑇 − + 𝜕𝑉
𝑉≈∞ 𝑉 − 𝑏 𝑉 + 2𝑏𝑉 − 𝑏 2 𝑉 − 𝑏 𝑉 2 + 2𝑏𝑉 − 𝑏 2
𝑑𝑥 1 2𝑎𝑥 + 𝑏 − 𝑏 2 − 4𝑎𝑐
න 2 = 𝑙𝑛
𝑎𝑥 + 𝑏𝑥 + 𝑐 2
𝑏 − 4𝑎𝑐 2𝑎𝑥 + 𝑏 + 𝑏 2 − 𝑎𝑎𝑐
𝑇 𝑑𝑎ൗ𝑑𝑇 − 𝑎 𝑍+ 1+ 2 𝐵
𝐻 − 𝐻 𝑖𝑔 = 𝑅𝑇 𝑍 − 1 + 𝑙𝑛
2 2𝑏 𝑍+ 1− 2 𝐵
PR to calculate properties
𝑇 𝑑𝑎ൗ𝑑𝑇 − 𝑎 𝑍+ 1+ 2 𝐵
𝐻 − 𝐻 𝑖𝑔 = 𝑅𝑇 𝑍 − 1 + 𝑙𝑛
2 2𝑏 𝑍+ 1− 2 𝐵
𝑑𝑎ൗ
𝑑𝑇 𝑍+ 1+ 2 𝐵
𝑆 − 𝑆 𝑖𝑔 = 𝑅𝑙𝑛 𝑍 − 𝐵 + 𝑙𝑛
2 2𝑏 𝑍+ 1− 2 𝐵
𝑃𝑉
𝑍=
𝑅𝑇
𝑃𝑏
𝐵=
𝑅𝑇
SRK to calculate properties
𝑎 𝑇 − 𝑇 𝑑𝑎ൗ𝑑𝑇 𝑍+𝐵
𝐻 − 𝐻 𝑖𝑔 = 𝑅𝑇 𝑍 − 1 − 𝑙𝑛
𝑏 𝑍
𝑑𝑎 1 𝑍+𝐵
𝑆 − 𝑆 𝑖𝑔 = 𝑅𝑙𝑛 𝑍 − 𝐵 + 𝑙𝑛
𝑑𝑇 𝑏 𝑍
𝑃𝑉
𝑍=
𝑅𝑇
𝑃𝑏
𝐵=
𝑅𝑇
Class Objective
Understand departure function and why ideal properties
are essential
Calculate Z
Procedure to use EOS for
Property Calculations
Ideal gas enthalpy is either calculated by using heat
capacity or by using polynomial functions
𝐻 𝑖𝑔 = 𝑎 + 𝑏𝑇 + 𝑐𝑇 2 + 𝑑𝑇 3 + ⋯
Tc =420 K
Pc = 40.43 bar
ω = 0.191
𝜕𝑉
𝜕𝐻 = 𝐶𝑃 𝜕𝑇 + 𝑉 − 𝑇 𝜕𝑃
𝜕𝑇 𝑃
1 𝜕𝑉
𝛽=
𝑉 𝜕𝑇 𝑃
𝜕𝐻 = 𝐶𝑃 𝜕𝑇 + 1 − 𝛽𝑇 𝑉𝜕𝑃
Incompressible Fluids
If S = f(T,P) then a relation can be obtained
𝐶𝑃 𝜕𝑉
𝜕𝑆 = 𝜕𝑇 − 𝜕𝑃
𝑇 𝜕𝑇 𝑃
1 𝜕𝑉
𝛽=
𝑉 𝜕𝑇 𝑃
𝐶𝑃
𝜕𝑆 = 𝜕𝑇 − 𝛽𝑉𝜕𝑃
𝑇
𝛽 1 𝜕𝑉
𝜕𝑈 = 𝐶𝑉 𝜕𝑇 + 𝑇−𝑃 𝜕𝑉 𝜅=−
𝜅 𝑃
𝑉 𝜕𝑃 𝑇
Class Objective
Understand departure function and why ideal properties
are essential
𝑑𝑒𝑝 𝑜 𝑑𝑒𝑝 𝑙
𝑆 𝑑𝑒𝑝 𝑆 𝑆
= +𝜔
𝑅𝑇𝑐 𝑅𝑇𝑐 𝑅𝑇𝑐
Class Objective
Understand departure function and why ideal properties
are essential