



Study with the several resources on Docsity
Earn points by helping other students or get them with a premium plan
This page cannot be seen from the preview
Don't miss anything!




Problem 1
Overall Material Balance :
i i i i
dn d( V) d( Ah) dh d F F A Ah F F dt dt dt dt dt
ρ ρ ρ = = = ρ − ρ ⇒ ρ + = ρ − ρ (S1.1)
In absence of chemical reactions and at constant temperature and pressure, the density of
the fluid liquid in the tank can be assumed constant. Therefore, (S1.1) yields:
1 2 i i
dh A F F F 20h dt
subject to the initial condition h(0)=hs. At steady state, equation (S1.2) provides a
functional relationship between the level asymptotically attained by the liquid in the tank
and the stationary inlet flow rate:
1 2 s s s
dh 0 F 20h h 9ft dt
The process model in (S1.3) is nonlinear. In order to linearize this model, one can expand
the function Fi -20h
1/ in (S1.3) about the steady state value Fs -20hs
1/ as follows:
i S i S S S
1 2 1 2 1 2 1 2 i^ i i s s i s s i (^) F F i F F h h h h
1 2 1 2 i s s s i s s s
F 20h F 20h F 20h F 20h F F h h HOT F h
0 1 F F 10h h h F F 10h h h
= = = =
− −
⎡ (^) ∂ − ⎤ ⎡ (^) ∂ − ⎤
− = − + ⎢ ⎥ − + ⎢ ⎥ − + = ⎢ ∂^ ⎥ ⎢ ∂ ⎥ ⎣ ⎦ ⎣ ⎦
≅ + − − ⎡^ ⎤^ − = − − ⎡^ ⎤ − ⎣ ⎦ ⎣ ⎦
Substituting equation (S1.4) into equation (S1.2) and defining the deviation variables
H=h-hs and R=Fi -FS provides the linearized process model in deviation form:
dH 10 A R H dt 3
subject to the initial condition H(0)=0. Let 10/3 be equal to B. Then, solution to equation
(S1.5) can be obtained by employing the Laplace transform, as follows:
R R Q(s) A sH(s) H(0) BH(s) H(s) s s(As B) P(s)
Notice that P(s) has two simple (multiplicity=1) roots s=0 and s=-B/A. By using partial
fraction expansion, (S1.6) can be rewritten as follows:
1 2 R Q(s) C^ C H(s) s(As B) P(s) s s B A
where
1 s 0 s 0
2 s B A s B A
C sH(s) R / B As B
C (As B)H(s) AR / B s
=− =−
Therefore, (S1.7) becomes:
H(s) B s s B A
Using table 7.1 from the book and taking the inverse Laplace transform of (S1.9) yields:
H(t) h(t) h 1 A exp( B A t) B
or
3(Fi 60) 10 h(t) 9 1 exp t 10 3
For a 10% decrease in the inlet flow rate, (Fi -60)=-0.1Fs =-6 ft
3 /min. Moreover, for an
85% decrease in the inlet flow rate, (Fi -60)=-0.85Fs =-51 ft
3 /min. Therefore, the time-
dependent change of the liquid level in the tank due to i) a 10% decrease and ii) an 85%
decrease in the input flow rate is respectively given by:
h(t) 9 1.8 1 exp t 3
h(t) 9 15.3 1 exp t 3
The comparison between the dynamics of the nonlinear model and those of the linearized
model is illustrated in figure 1a and 1b for the case of 10% and 85% decrease in the inlet
flow rate respectively.
7
8
9
10
0 5 10 15 20
nonlinear
liquid level h (ft) linear
time (min)
10% decrease inlet flow rate
0
5
10
0 5 10 15 20
nonlinear linear
time (min)
85% decrease inlet flow rate
liquid level h (ft)
Notice that for the case of 10% decrease, the discrepancy from the nonlinear model is
small and the linear model can be considered adequate. However, for 85% decrease in the
inlet flow rate, the discrepancy is huge. Thus, for large disturbances the linearization
fails. Notice also that the new steady state predicted by the liner model is negative, which
does not even make physical sense.
1 s 0
(^2 2 )
s 0 s 0
(^3 ) s 2
(^4 )
s 3
(s 2)(s 3) 6
d 1 2s 5 5 C ds (s 2)(s 3) (s 5s 6) 36
s (s 3) 4
s (s 2) 9
=
= =
=−
=−
Therefore, (S3.4) can be rewritten as:
2
x(s) s s s 2 s 3
Comment on the qualitative nature of the solution
The roots s=-2 and s=-3 are both on the real axis and on the left of the imaginary axis.
Therefore, these roots are stabilizing as they will contribute to exponentially decaying
terms. The root s=0 has multiplicity bigger than one and lies on the origin. This root is
destabilizing as it contributes to a term t that increases in time. Therefore, the entire
system will be ultimately unstable as t approaches infinite. This result can be double
checked by applying the final value theorem and evaluating the limit for t going to
infinite of x(t):
t s 0 s 0
1 6 5 1 4s 1 9s lim x(t) lim sx(s) lim →∞ → → s 36 s 2 s 3
From table 7.1 in the book, we have:
n at 1 n 1
1 t e L
s a n!
− −
Thus, inverting (S3.6) while considering (S3.8) gives:
2t 3t x(t) 1 6 t 5 36 1 4 e 1 9 e
− − = − + − (S3.9)
Problem 4
4 3 2 3 2 2 ⎡ (^) s x(s) − s x(0) − s x(0) − sx(0) − x(0) ⎤ (^) + ⎡ (^) s x(s) − s x(0) − sx(0) − x(0) ⎤= s (s +1) ⎣ ⎦ ⎣ ⎦
3 2 3 2 3 2
s s s 2s 1 s (s 1)x(s) (s 1) x(s) (s 1) s (s 1)(s 1)
1
2
3
4
s 0
s 1
s j
s j
1
2
3
4
μ =
μ =
μ =
μ =
3 2 1 2 3 4 5 6 3 2 3 2
s s 2s 1 C C C C C C x(s) s (s 1)(s 1) s s s (s 1) (s j) (s j)
3 2
(^1 )
s 0
3 2
(^2 )
s 0
2 3 2
(^3 2 )
s 0
3 2
(^4 3 )
s 1
3 2
(^5 )
s j
3 2
6
s s 2s 1 C 1 (s 1)(s 1)
d s s 2s 1 C 1 ds (s 1)(s 1)
1 d s s 2s 1 C 1 2 ds (s 1)(s 1)
s s 2s 1 1 C s (s 1) 2
s s 2s 1 1 C (1 j) s (s 1) 4
s s 2s C
=
=
=
=−
=−
3 s j
(1 j) s (s 1) 4 =
Therefore, (S4.4) can be rewritten as:
3 2
1 1 1 1 2 1 4(1 j) 1 4(1 j) x(s) s s s (s 1) (s j) (s j)
Comment on the qualitative nature of the solution
The root s=0 has multiplicity 3 and will contribute to terms t
2 and t. Thus, this root
contributes to divergence. The pair of complex and conjugates is simple and lies on the
imaginary axis. Therefore, theses roots contribute to oscillations with constant amplitude.
Finally, the root s=-1 is simple and lies on the left of the imaginary axis. Hence, this root
contributes to an exponentially decaying term. The overall behavior of the system is
unstable. Applying the final value theorem gives: