Beruflich Dokumente
Kultur Dokumente
Component Mass Balance
/
Energy Balance
( )
25
Modeling of a Jacketed CSTR (Contd.)
Coolant
Fc
i
,Tc
i
V
C
A
T
F
i
, C
Ai
, T
i
F, C
A
, T
Coolant
Fc
o
,Tc
o
Input variables: C
Ai
, F
i
, T
i
, Q, (F)
Output variables: V, C
A
, T
N
f
= N
v
- N
E
Case (1): N
f
= 0 i.e. N
v
= N
E
(exactly specified system)
We can solve the model without difficulty
Case (2): f > 0 i.e. N
v
> N
E
(under specified system), infinite
number of solutions because N
f
process variables can be fixed
arbitrarily. either specify variables (by measuring disturbances)
or add controller equation/s
Case (3): N
f
< 0 i.e. N
v
< N
E
(over specified system) set of
equations has no solution
remove N
f
equation/s
We must achieve N
f
= 0 in order to simulate (solve) the model
26
Degrees of Freedom (N
f
) Analysis
Basis/ Assumptions
Perfectly mixed, Perfectly insulated
, c
P
are constant
27
Stirred Tank Heater: Modeling and
Degree of Freedom Analysis
Steam
Fst
A
Overall Mass Balance
=
Energy Balance
Degree of Freedom Analysis
Independent Equations: 2 Variables: 6 (h, F
i
, F, T
i
, T, Q)
N
f
= 6-2 (= 4) Underspecified
N
f
= 4
Specify load variables (or disturbance)
Measure F
i
, T
i
(N
f
= 4 - 2 = 2)
Include controller equations (not
studied yet); specify CV-MV pairs:
28
Stirred Tank Heater: Modeling and
Degree of Freedom Analysis
Steam
Fst
A
CV MV
h F
T Q
= +
N
f
= 2 - 2 = 0
Can you draw these control loops?
F
Z
m
B
m
D
V
B
D
x
D
B
x
B
R x
D
Reboiler
Condenser
Reflux Drum
(Stephanopoulos, 1984)
29
Basis/ Assumptions
1. Saturated feed
2. Perfect insulation of column
3. Trays are ideal
4. Vapor hold-up is negligible
5. Molar heats of vaporization of A
and B are similar
6. Perfect mixing on each tray
7. Relative volatility () is constant
8. Liquid holdup follows Francis weir
formulae
9. Condenser and Reboiler dynamics
are neglected
10. Total 20 trays, feed at 10
2, 4, 5 V
1
= V
2
= V
3
= V
N
(not valid for high-pressure columns)
Modeling an Ideal Binary Distillation Column
= 20
Reflux Drum
Overall
(
=
20
Component
= (
20
/
)(
20
)
30
V
20
D
x
D
R
x
D
Reflux Drum
N = 20
V
20
R
V
19
L
20
Top Tray
Top Tray
Overall
(
20
)
= +
19
20
20
Component
20
=
1
20
20
+
(
19
20
)
Remember V
1
= V
2
= . V
N
= V
B
m
D
Modeling Distillation Column
31
N
th
Stage
m
N
v
N
L
N+1
L
N v
N-1
N
th
Stage (stages 19 to 11 and 9 to 2)
Overall
(
=
+1
+
1
Component
(
=
+1
+1
+
1
. simplify!
Modeling Distillation Column
Feed Stage
(10
th
)
m
N
v
10
L
11
L
10 v
9
F
Z
Feed Stage (10
th
)
Overall
(
10
)
=
11
+ +
9
10
10
Component
(
10
10
)
=
11
11
+ +
9
9
10
10
10
10
. simplify!
32
V
B
L
1
V
1
L
2
1
st
Stage
Modeling Distillation Column
1
st
Stage
Overall
(
1
)
=
2
+
1
1
Component
(
1
1
)
=
2
2
+
1
1
1
simplify!
V
B
L
1
Column
Base
m
B
B
Column Base
Overall
(
=
1
Component
(
=
1
. simplify!
V
B
33
Modeling Distillation Column
Equilibrium relationships (to determine y)
Mass balance (total and component) around 6 segments of a
distillation column: reflux drum, top tray, N
th
tray, feed tray, 1
st
tray and column base.
Solution of ODE for total mass balance gives liquid holdups (m
N
)
Solution of ODE for component mass balance gives liquid
compositions (x
N
)
V
1
= V
2
= = V
N
= V
B
(vapor holdups)
How to calculate y (vapor composition) and L (liquid flow rate)
Recall
ij
is constant throughout the column
Use
ij
= k
i
/k
j
, x
i
+ x
j
=1, y
i
+ y
j
= 1, and k = y/x to prove
+(
)
=
0
+
L
N
is flow rate of liquid coming from N
th
stage
L
N0
is reference value of flow rate L
N
m
N
is liquid holdup at N
th
stage
m
N0
is reference value of liquid holdup m
N
is hydraulic time constant (typically 3 to 6 seconds)
Modeling Distillation Column
Hydraulic relationships (to determine L)
35
Modeling Distillation Column
Degree of Freedom Analysis
Total number of independent equations:
Equilibrium relationships (y
1
, y
2
, y
N
, y
B
) N+1 (21)
Hydraulic relationships (L
1
, L
2
, L
N
) N (20)
(does not work for liquid flow rates D and B)
Total mass balances (1 for each tray, reflux drum and
column base) N+2 (22)
Total component mass balances (1 for each tray, reflux
drum and column base) N+2 (22)
Total Number of equations N
E
= 4N + 5 (85)
44 differential and 41 algebraic equations
Note the size of model even for a simple system with several
simplifying assumptions!
36
Modeling Distillation Column
Degree of Freedom Analysis
Total number of independent variables:
Liquid composition (x
1
, x
2
, x
N
, x
D
,
x
B
) N+2
Liquid holdup (m
1
, m
2
, m
N
, m
D
,
m
B
) N+2
Vapor composition (y
1
, y
2
, y
N
, y
B
) N+1
Liquid flow rates (L
1
, L
2
, L
N
) N
Additional variables 6
(Feed: F, Z; Reflux: D, R; Bottom: B, V
B
)
Total Number of independent variables N
V
= 4N + 11
Degree of Freedom = (4N + 11) (4N + 5)
= 6
System is underspecified
37
Modeling Distillation Column
Degree of Freedom Analysis
(4N + 11) (4N + 5) = 6
Specify disturbances: F, Z (N
f
= 6-2 = 4)
Include controller equations (Recall our discussion on types
of feedback controllers )
General form, of P-Controller c(t) = c
s
+ K
c
(t)
Controlled
Variable
Manipulated
Variable
x
D
R
x
B
V
B
m
D
D
m
B
B
R = K
c
(x
s
- x
D
) + R
s
V
B
= K
c
(x
Bs
-x
B
) + V
Bs
D = K
c
(m
Ds
-m
D
) + D
s
B = K
c
(m
Bs
-m
B
) + B
s
N
f
= 4 - 4 = 0
Controller Equation
(Proportional Controller)
Can you draw these four feedback control loops on the process?
38
Feedback Control on a Binary Distillation Column
CV MV loop
x
D
R 1
x
B
V
B
2
m
D
D 3
m
B
B 4
R
(Stephanopoulos, 1984)
39
Modeling CSTRs in Series
constant holdup, isothermal
F
0
F
1
C
A1
F
2
C
A2
F
3
C
A3
V
1
K
1
T
1
V
2
K
2
T
2
V
3
K
3
T
3
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
3
=F
2
=F
1
=F
0
F
So overall mass balance is not required!
Luyben (1996)
40
Modeling CSTRs in Series
constant holdup, isothermal
Component A mass balance on each tank (A is chosen arbitrarily)
1
0
1
1
2
1
2
2
3
2
3
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
(known but not
constant) . Unknown variables are 3 (C
A1
, C
A2
, C
A3
) for 3 ODEs
Simplify the above ODEs for constant V, T and putting = V/F
41
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
+
2
+
1
=
1
+
3
+
1
=
1
2
In this way, only forcing function (variable to be specified)
is C
A0
.
42
Modeling CSTRs in Series
Variable Holdups, n
th
order
Mass Balances (Reactor 1)
=
0
1
(
1
1
)
=
0
1
1
1
(
1
)
n
Mass Balances (Reactor 2)
=
1
2
(
2
2
)
=
1
2
2
2
(
2
)
n
Mass Balances (Reactor 1)
=
2
3
(
3
3
)
=
2
3
3
3
(
3
)
n
Changes from previous case:
V of reactors (and F) varies
with time,
reaction is n
th
order
Parameters to be known:
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
CV MV
Include
Controller eqns
V
1
(or h
1
) F
1
F
1
= f(V
1
)
V
2
(or h
2
) F
2
F
2
= f(V
2
)
V
3
(or h
3
) F
3
F
3
= f(V
3
)
H
1
H
2
H
3
Q
in or out
43
Modeling a Mixing Process
Overall Mass Balance
()
=
1
1
+
2
2
3
()
= (
1
+
2
)
3
Component Mass Balance
( )
= (
1
1
+
2
2
)
3
3
c
A
is concentration of A in CSTR; hence c
A
= c
A3
Basis and Assumptions
F (volumetric), C
A
(molar); Well Stirred
Feed (1, 2) consists of components A and B
Enthalpy of mixing is significant
Process includes heating/ cooling
Stephanopoulos (1984)
H
1
H
2
H
3
44
Modeling a Mixing Process
Conservation of energy
(recall first law of thermodynamics)
= + + +
(for constant / liquid system, is zero)
Energy Balance
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
is heat capacity, c
P
is specific
heat capacity .
45
Modeling a Mixing Process
Since enthalpy depends upon temperature
so lets replace h with h(T)
1
1
=
0
+
1
1
2
2
=
(
0
) +
2
2
3
3
=
(
0
) +
3
3
0
enthalpy associated with T was easy to obtain, how to obtain h(T
0
)
0
=
1
+
1
+
1
(
0
)
0
=
2
+
2
+
2
(
0
)
0
=
3
+
3
+
3
(
0
)
and
is heat of
solution for stream i at T
0
.
(
= (
1
+
2
)
3
Put values of h in overall energy balance
46
Modeling a Mixing Process
Re-arranging (and using component mass balance equations)
=
1
3
+
2
3
+
1
1
1
0
3
3
0
+
2
[
2
2
0
3
3
0
]
If we assume c
P1
= c
P2
= c
P3
= c
P
=
1
3
+
2
3
+
1
(
1
3
) + c
p
2
(
2
3
)
If heats of solutions are strong functions of concentrations
then
3
and
3
are significant
Mixing process is generally kept isothermal (how?)