Case Study: CSTR Dynamics Via Linearization: 1. Representation of Multivariable Systems
Case Study: CSTR Dynamics Via Linearization: 1. Representation of Multivariable Systems
Case Study: CSTR Dynamics via Linearization1
Linearization of the state and output equations around a steady state yields the following equations
d ∆x
= A N ∆N x(t ) + B N ∆N u(t )
dt ⎛ ∂f ⎞ x (t ) − x ⎛ ∂f ⎞ u (t ) −u
⎜ ⎟ s ⎜ ⎟ s
⎝ ∂x ⎠xs ,u s ⎝ ∂u ⎠x s ,u s
(6)
∆
Ny (t ) = N ∆x(t ) +
C N ∆u(t )
D
y (t ) − y s ⎛ ∂h ⎞ ⎛ ∂h ⎞
⎜ ⎟ ⎜ ⎟
⎝ ∂x ⎠xs ,u s ⎝ ∂u ⎠xs ,u s
∂f
where is the Jacobian matrix of the vector-valued function f of the vector x defined as
∂x
⎡ ∂f1 ∂f1 ⎤
⎢ ∂x " ∂x ⎥
∂f ⎢
1 n ⎥
=ˆ # % # ⎥
⎢ (7)
∂x ⎢ ⎥
⎢ ∂f n " ∂f n ⎥
⎢⎣ ∂x1 ∂xn ⎥⎦
1
Calculations were done in Mathematica.
CHEE 3367 Lecture Notes Michael Nikolaou
∂f ∂g ∂g
and similarly for , , ; and the deviation variables are defined as
∂u ∂x ∂u
∆
N x(t ) , ∆
N u(t ) , ∆
N y (t ) (8)
x (t ) − xs u (t ) −us y (t ) − y s
G ( s)
with
G( s ) = C[ sI − A ]−1 B + D (9)
At V
Tc
AÆB
F, CA, T
-2-
CHEE 3367 Lecture Notes Michael Nikolaou
(HWNTHI: Verify the above steady state. Is it unique? Combining eqns. (11) at steady state yields a single eqn. for Ts :
Fs
C Ai
Fs ⎛ −E ⎞
0 = ( C Ai − C As ) − k0 exp ⎜ ⎟ C As ==> C As =
V
V ⎝ RT (t ) ⎠ Fs ⎛ −E ⎞
+ k0 exp ⎜ ⎟
V ⎝ RT (t ) ⎠
(14)
Fs
⎛ −E ⎞ C Ai
Fs UAt
0 = (Ti − Ts ) + Jk0 exp ⎜ ⎟
V − (Ts − Tc s )
V ⎝ RTs ⎠ Fs + k exp ⎛ − E ⎞ ρc pV
0 ⎜ ⎟
V ⎝ RT (t ) ⎠
Fs
Jk0 C Ai UAt
+ (Ti − Ts ) − (Ts − Tcs ) = 0
V Fs
(15)
Fs
exp ⎡⎣ E/R ⎤ + k0
V
ρC pV
V Ts ⎦
Fs
Jk0 C Ai UAt
and − Vs (Ti − Ts ) + (Ts − Tcs ) vs. Ts ; find
V F
To visualize the solution of eqn. (15) for Ts , plot Fs
exp ⎡⎣ E/R ⎤ + k0 ρC pV
V Ts ⎦
intersection. See Figure 2.)
-3-
CHEE 3367 Lecture Notes Michael Nikolaou
Heat rate
200
547.6
100
T HK L
450 500 550
-100
-200
-300
Fs
Jk0 V C Ai
Figure 2 – Plot of heat generation rate (S-curve, ) and heat input minus output
Fs
V exp ⎡⎣ ET/sR ⎤⎦ + k0
UAt
rate ( − (Ti − Ts ) + (Ts − Tcs ) )for the continuous stirred-tank reactor (CSTR) studied.
Fs
V
ρC pV
Therefore
⎡ Fs −
E
k E −
E
⎤
⎢ − − k0 e − 0 2 e RTs C As ⎥
RTs
21 22 ⎦⎣ c ⎦
G (s)
or
-4-
CHEE 3367 Lecture Notes Michael Nikolaou
548.4
430
548.2
C A Hmolêm3L
548.0 420
547.8
T HK L
547.6 410
547.4
547.2 400
547.0
0.0 0.5 1.0 1.5 2.0 2.5 3.0 0.0 0.5 1.0 1.5 2.0 2.5 3.0
Time HhL Time HhL
Figure 3 – Temperature and concentration response of CSTR to step change in inlet flow rate
by +10% of its steady state value (dashed line = approximately linearized system; continuous
line = nonlinear eqns. (11)). Note the inverse response of temperature to flowrate, Figure
3, due to right half-plane zero (=?) in G21 ( s ) .
-5-
CHEE 3367 Lecture Notes Michael Nikolaou
Heat rate
200
150 519.3
100
459.
50
T HK L
386.4 450 500 550
Fs
Jk0 V C Ai
Figure 4 – Plot of heat generation rate (S-curve, ) and heat input minus output
Fs
V exp ⎣⎡ ET/sR ⎦⎤ + k0
UAt
rate ( − (Ti − Ts ) + (Ts − Tcs ) )for the continuous stirred-tank reactor (CSTR) studied.
Fs
V
ρC pV
386.4
386.2 7790
C A Hmolêm3L
386.0
7780
T HK L
385.8
385.6 7770
385.4
7760
385.2
0 2 4 6 8 10 0 2 4 6 8 10
Time HhL Time HhL
Figure 5 – Temperature and concentration response of CSTR to step change in inlet flow rate
by +10% of its steady state value (dashed line = approximately linearized system; continuous
line = nonlinear eqns. (11)).
-6-
CHEE 3367 Lecture Notes Michael Nikolaou
500
8000
450 7000
C A Hmolêm3L
T HK L
6000
400
5000
350
4000
0 2 4 6 8 10 0 2 4 6 8 10
Time HhL Time HhL
540
4000
520
C A Hmolêm3L
3000
500
T HK L
2000
480
460 1000
440
0
0 2 4 6 8 10 0 2 4 6 8 10
Time HhL Time HhL
Figure 6 – Temperature and concentration response of CSTR to step change in inlet flow rate
by +10% (top row) and -10% (bottom row) of its steady state value (dashed line =
approximately linearized system; continuous line = nonlinear eqns. (11)). The CSTR escapes
either towards steady state 1 or 3.
-7-
CHEE 3367 Lecture Notes Michael Nikolaou
523
940
522
C A Hmolêm3L 920
521
T HK L
900
520 880
519 860
518 840
0 2 4 6 8 10 0 2 4 6 8 10
Time HhL Time HhL
Figure 7 – Temperature and concentration responses of CSTR to step change in inlet flow rate
by +10% of its steady state value (dashed line = approximately linearized system; continuous
line = nonlinear eqns. (11)). Note the inverse responses of both temperature and
concentration (associated with the right half-plane zeros of the corresponding transfer
functions).
-8-