CHE412 Process Dynamics and Control BSc (Engg)

advertisement
CHE412 Process Dynamics and Control
BSc (Engg) Chemical Engineering (7th Semester)
Week 3 (contd.)
Mathematical Modeling (Contd.)
Luyben (1996) Chapter 3
Stephanopoulos (1984) Chapter 5
Dr Waheed Afzal
Associate Professor of Chemical Engineering
Institute of Chemical Engineering and Technology
University of the Punjab, Lahore
wa.icet@pu.edu.pk
1
Modeling CSTRs in Series
constant holdup, isothermal
Basis and Assumptions
A → B (first order reaction)
Compositions are molar and flow rates are volumetric
Constant V, ρ, T
Overall Mass Balance
𝑑ρ𝑉
𝑑𝑑
= ρ𝐹0 − ρ𝐹1 = 0 i.e. at constant V, F3 =F2 =F1 =F0 ≡ F
So overall mass balance is not required!
F0
V1
K1
T1
Luyben (1996)
F1
CA1
V2
K2
T2
F2
CA2
V3
K3
T3
F3
CA3
2
Modeling CSTRs in Series
constant holdup, isothermal
Component A mass balance on each tank (A is chosen arbitrarily)
𝑑𝐢𝐴1 𝐹
=
𝐢𝐴0 − 𝐢𝐴1 − π‘˜1𝐢𝐴1
𝑑𝑑
𝑉1
𝑑𝐢𝐴2 𝐹
=
𝐢𝐴1 − 𝐢𝐴2 − π‘˜2𝐢𝐴2
𝑑𝑑
𝑉2
𝑑𝐢𝐴3 𝐹
=
𝐢𝐴2 − 𝐢𝐴3 − π‘˜3𝐢𝐴3
𝑑𝑑
𝑉3
kn depends upon temperature
kn = k0 e-E/RTn where n = 1, 2, 3
Apply degree of freedom analysis!
Parameters/ Constants (to be known): V1, V2, V3, k1, k2, k3
Specified variables (or forcing functions): F and CA0 (known but not
constant) . Unknown variables are 3 (CA1, CA2, CA3) for 3 ODEs
Simplify the above ODEs for constant V, T and putting τ = V/F
3
Modeling CSTRs in Series
constant holdup, isothermal
If throughput F, temperature T and holdup V are same in
all tanks, then for τ = V/F (note its dimension is time)
𝑑𝐢𝐴1
1
1
+ 𝐢𝐴1 π‘˜ +
= 𝐢𝐴0
𝑑𝑑
τ
τ
𝑑𝐢𝐴2
1
1
+ 𝐢𝐴2 π‘˜ +
= 𝐢𝐴1
𝑑𝑑
τ
τ
𝑑𝐢𝐴3
1
1
+ 𝐢𝐴3 π‘˜ +
= 𝐢𝐴2
𝑑𝑑
τ
τ
In this way, only forcing function (variable to be specified)
is CA0.
4
Modeling CSTRs in Series
Variable Holdups, nth order
Mass Balances (Reactor 1)
𝑑𝑉1
= 𝐹0 − 𝐹1
𝑑𝑑
𝑑(𝑉1𝐢𝐴1
)
𝑑𝑑
= 𝐹0𝐢𝐴0 − 𝐹1𝐢𝐴1 −𝑉1π‘˜1(𝐢𝐴1)n
Mass Balances (Reactor 2)
𝑑𝑉2
= 𝐹1 − 𝐹2
𝑑𝑑
𝑑(𝑉2𝐢𝐴2)
𝑑𝑑
= 𝐹1𝐢𝐴1 − 𝐹2𝐢𝐴2 −𝑉2π‘˜2(𝐢𝐴2)n
Mass Balances (Reactor 1)
𝑑𝑉3
= 𝐹2 − 𝐹3
𝑑𝑑
𝑑(𝑉3𝐢𝐴3)
𝑑𝑑
Changes from previous case:
V of reactors (and F) varies
with time,
reaction is nth order
Parameters to be known:
k1, k2, k3, n
Disturbances to be specified:
CA0, F0
Unknown variables:
CA1, CA2, CA3, V1, V2, V3, F1, F2, F3
CV
Include
MV Controller eqns
V1 (or h1)
F1
F1 = f(V1)
= 𝐹2𝐢𝐴2 − 𝐹3𝐢𝐴3 −𝑉3π‘˜3(𝐢𝐴3)n V2 (or h2)
F2
F2 = f(V2)
V3 (or h3)
F3
F3 = f(V3) 5
Modeling a Mixing Process
Basis and Assumptions
F (volumetric), CA (molar); Well Stirred
Stephanopoulos (1984)
Feed (1, 2) consists of components A and B
Enthalpy of mixing is significant
Process includes heating/ cooling
H
H
ρ is constant
2
1
Overall Mass Balance
𝑑(πœŒπ΄β„Ž)
= 𝜌1𝐹1 + 𝜌2𝐹2 −
𝑑𝑑
𝑑(β„Ž)
𝐴
= (𝐹1 + 𝐹2 ) − 𝐹3
𝑑𝑑
Q
𝜌3𝐹3
in or out
Component Mass Balance
𝑑(𝑐𝐴 𝑉)
𝐴
𝑑𝑑
= (𝐹1 𝑐𝐴1 + 𝐹2 𝑐𝐴2) − 𝐹3 𝑐𝐴3
H3
6
Modeling a Mixing Process
Conservation of energy
(recall first law of thermodynamics)
βˆ†πΈ = βˆ†π‘ˆ + βˆ†π‘˜π‘’ + βˆ†π‘π‘’ ± 𝑄 + π‘Šπ‘ π‘€ − π‘βˆ†π‘£
H2
H1
βˆ†π‘ˆ ≅ βˆ†π» (for constant ρ/ liquid systems π‘βˆ†π‘£ is zero)
Energy Balance
H3
enthalpy balance (h is energy/mass)
𝑑(πœŒπ‘‰π’‰πŸ‘)
= 𝜌(𝐹1 π’‰πŸ + 𝐹2 π’‰πŸ) − 𝜌𝐹3 π’‰πŸ‘ ± 𝑄
𝑑𝑑
We were familiar with energy π‘šπΆπ‘ƒ βˆ†π‘‡; how to characterize h
(specific enthalpy) into familiar quantities (T, CA, parameters, …)
H is enthalpy, h is specific enthalpy; CP is heat capacity, cP is specific
heat capacity ….
7
Modeling a Mixing Process
𝑑(πœŒπ‘‰π’‰πŸ‘)
= 𝜌(𝐹1 π’‰πŸ + 𝐹2 π’‰πŸ) − 𝜌𝐹3 π’‰πŸ‘ ± 𝑄
𝑑𝑑
Since enthalpy depends upon temperature
so lets replace h with h(T)
β„Ž1 𝑇1 = π’‰πŸ 𝑇0 + 𝑐𝑃1 𝑇1 − 𝑇0
β„Ž2 𝑇2 = π’‰πŸ(𝑇0) + 𝑐𝑃2 𝑇2 − 𝑇0
β„Ž3 𝑇3 = π’‰πŸ‘(𝑇0) + 𝑐𝑃3 𝑇3 − 𝑇0
enthalpy associated with ΔT was easy to obtain, how to obtain h(T0)
πœŒπ’‰πŸ 𝑇0 = 𝑐𝐴1𝐻𝐴 + 𝑐𝐡1𝐻𝐡 + βˆ†π»π‘†1(𝑇0)
πœŒπ’‰πŸ 𝑇0 = 𝑐𝐴2𝐻𝐴 + 𝑐𝐡2𝐻𝐡 + βˆ†π»π‘†2(𝑇0)
πœŒπ’‰πŸ‘ 𝑇0 = 𝑐𝐴3𝐻𝐴 + 𝑐𝐡3𝐻𝐡 + βˆ†π»π‘†3(𝑇0)
𝐻𝐴 and 𝐻𝐡 are molar enthalpy of component A and B and βˆ†π»π‘†π‘– is heat of
solution for stream i at T0.
Put values of h in overall energy balance
8
Modeling a Mixing Process
Re-arranging (and using component mass balance equations)
𝑑𝑇3
πœŒπ‘π‘ƒ3 𝑉
= 𝑐𝐴1𝐹1 βˆ†π» 𝑠1 − βˆ†π» 𝑠3 + 𝑐𝐴2𝐹2 βˆ†π» 𝑠2 − βˆ†π» 𝑠3
𝑑𝑑
+𝜌𝐹1 𝑐𝑝1 𝑇1 − 𝑇0 − 𝑐𝑝3 𝑇3 − 𝑇0 +
𝜌𝐹2[𝑐𝑝2 𝑇2 − 𝑇0 − 𝑐𝑝3 𝑇3 − 𝑇0 ] ± 𝑄
If we assume cP1 = cP2 = cP3 = cP
𝑑𝑇3
πœŒπ‘π‘ 𝑉
= 𝑐𝐴1𝐹1 βˆ†π» 𝑠1 − βˆ†π» 𝑠3 + 𝑐𝐴2𝐹2 βˆ†π» 𝑠2 − βˆ†π» 𝑠3
𝑑𝑑
+π‘π‘πœŒπΉ1(𝑇1 − 𝑇3) + cp𝜌𝐹2(𝑇2 − 𝑇3) ± 𝑄
 If heats of solutions are strong functions of concentrations
then βˆ†π» 𝑠1 − βˆ†π» 𝑠3 and βˆ†π» 𝑠2 − βˆ†π» 𝑠3 are significant
 Mixing process is generally kept isothermal (how?)
9
Tips For Assessment (Exam)
Introduction + Modeling (week 1-3)
In exam, you may be asked short descriptive questions to check
your understanding of process control and to prepare a
mathematical model for a chemical process or processes and to
make the system exactly specified (i.e. Nf = 0)
1. Consult your class notes, board proofs,
discussions
2. Stephanopoulos (1984) chapters 1-5, examples
and end-chapter problems
3. Luyben (1996) chapter 3 page 40 to 74. Practice
examples and end-chapter problems for
chapter 3.
10
Week 3
Weekly Take-Home Assignment
1. Follow all the example modeling exercises in Luyben
(1996) chapter 3 page 40 to 74. Practice these
example processes.
2. Solve at least 10 end-chapter problems from Luyben
(1996) chapter 3 (Compulsory)
Submit before Friday (Feb 7)
Curriculum and handouts are posted at:
http://faculty.waheed-afzal1.pu.edu.pk/
11
Download