Transcript CHE412 Process Dynamics and Control BSc (Engg)
CHE412 Process
Dynamics
and Control
BSc (Engg) Chemical Engineering (7 th 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 [email protected]
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, F So overall mass balance is not required! 3 =F 2 =F 1 =F 0 β‘ F
F 0
Luyben (1996) V 1 K 1 T 1
F 1 C A1 V 2 K 2 T 2 F 2 C A2 V 3 K 3 T 3 F 3 C A3
2
Modeling CSTRs in Series constant holdup, isothermal
Component A mass balance on each tank
(A is chosen arbitrarily) ππΆ π΄1 ππ‘ ππΆ π΄2 ππ‘ ππΆ π΄3 ππ‘ = = = πΉ π 1 πΉ π 2 πΉ π 3 πΆ π΄0 β πΆ π΄1 πΆ π΄2 πΆ π΄1 β πΆπ΄ 2 β πΆπ΄ 3 β π 1 πΆ π΄1 β π 2 πΆ π΄2 β π 3 πΆ π΄3
k n
depends upon temperature k
n = k 0 e -E/RTn where n = 1, 2, 3 Apply degree of freedom analysis!
Parameters/ Constants (to be known): V
1 , V 2 , V 3 , k 1 , k 2 , k 3
Specified variables (or forcing functions): F and C
A0
constant) . Unknown variables are
3
(C A1 , C A2 , C A3 (known but not ) 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
ππ‘ + πΆπ΄
2
ππΆ ππ‘
π΄3
+ πΆπ΄
3
π + π + 1
Ο
1
Ο
= = 1
Ο
πΆ
π΄1
1
Ο
πΆ
π΄2 In this way, only forcing function (variable to be specified) is C
A0
. 4
Mass Balances (Reactor 1)
ππ ππ‘ 1 = πΉ 0 β πΉ 1 π(π 1 πΆ π΄1 ) ππ‘ = πΉ 0 πΆ π΄0
Modeling CSTRs in Series
Variable Holdups, n th order β πΉ 1 πΆ π΄1 βπ 1 π 1 (πΆπ΄ 1)
n
Changes from previous case: V of reactors (and F) varies with time, reaction is n th order Parameters to be known:
Mass Balances (Reactor 2)
ππ ππ‘ 2 = πΉ 1 β πΉ 2 π(π 2 πΆ π΄2 ) ππ‘ = πΉ 1 πΆ π΄1 β πΉ 2 πΆ π΄2 βπ 2 π 2 (πΆ π΄2 )
n
k 1 , k 2 , k 3 , n
Disturbances to be specified:
C A0
, F
0
Unknown variables:
C A1 , C A2 , C A3 , V 1 , V 2 , V 3 , F 1 , F 2 , F 3
Mass Balances (Reactor 1)
ππ ππ‘ 3 = πΉ 2 β πΉ 3 π(π 3 πΆ π΄3 ) ππ‘ = πΉ 2 πΆ π΄2 β πΉ 3 πΆ π΄3 βπ 3 π 3 (πΆ π΄3 )
n
V 1 V 2
CV
(or h
1
) (or h
2
)
MV
F 1 F 2
Include
Controller eqns
F 1 F 2 = f(V 1 ) = f(V 2 ) V 3
(or h
3
)
F 3 F 3 = f(V 3 )
5
Modeling a Mixing Process
Basis and Assumptions
F (volumetric), C
A
(molar); Well Stirred Feed (1, 2) consists of components A and B
Stephanopoulos (1984)
Enthalpy of mixing is significant Process includes heating/ cooling
H 2
Ο is constant
H 1
Overall Mass Balance
π(ππ΄β) ππ‘ π(β) = π 1 πΉ 1 + π 2 πΉ 2 β π 3 πΉ 3 π΄ ππ‘ = (πΉ 1 + πΉ 2 ) β πΉ 3
Component Mass Balance
π(ππ΄ π) π΄ ππ‘ = (πΉ 1 π π΄1 + πΉ 2 π π΄2 ) β πΉ 3 π π΄ 3
H 3
Q in or out
6
Modeling a Mixing Process
Conservation of energy
H 1
(recall first law of thermodynamics) βπΈ = βπ + βππ + βππ Β± π + π π π€ β πβπ£ βπ β βπ» (for constant Ο/ liquid systems πβπ£ is zero)
H 2
Energy Balance
H 3
enthalpy balance (h is energy/mass) π(πππ π ) ππ‘ = π(πΉ 1 π π + πΉ 2 π π ) β ππΉ 3 π π Β± π We were familiar with energy ππΆ π βπ ; how to characterize h (specific enthalpy) into familiar quantities (T, C
A
, parameters, β¦) H is enthalpy, h is specific enthalpy; C P heat capacity β¦.
is heat capacity, c P is specific 7
Modeling a Mixing Process
π(πππ ππ‘ π ) = π(πΉ 1 π π + πΉ 2 π π Since enthalpy depends upon temperature ) β ππΉ 3 π π so lets replace h with h(T) Β± π β 1 β 2 π π 1 2 = π π π 0 + ππ 1 = π π (π 0 ) + π π2 π 1 β π π 2 β π 0 0 β 3 π 3 = π π (π 0 ) + π π3 π 3 β π 0 enthalpy associated with ΞT was easy to obtain, how to obtain
h(T 0 )
ππ π π 0 = ππ΄ 1 π΄ + ππ΅ 1 π΅ + β (π 0 ) ππ ππ π π π π 0 0 = ππ΄ 2 π΄ = π π΄3 π΄ + ππ΅ 2 + ππ΅ 3 π΅ π΅ + β (π 0 + β (π 0 ) ) π΄ and π΅ are molar enthalpy of component A and B and solution for stream
i
at
T 0
. β is heat of 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 +ππΉ 1 π π1 ππΉ 2 [ππ 2 π 1 β π π 2 β π 0 0 β ππ β ππ 3 3 π 3 β π π 3 β π 0 0 + ] Β± π πΉ 2 β π 2 β β π 3 If we assume c P1 πππ π ππ 3 ππ‘ = ππ΄ 1 = c πΉ 1 P2 = c β P3 = c π 1 β β π» P π 3 + π π΄2 πΉ 2 β π 2 β β π 3 +ππππΉ 1 (π 1 β π 3 ) + c p ππΉ 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. N f = 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