Docsity

Process Dynamics and Control - Assignment 2 Practice Questions | CHBE 470, Assignments of Chemistry

Toggle sidebar
bg1
Problem 1
Overall Material Balance:
ii ii
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:
12
ii
dh
AFFF20h
dt =−=− (S1.2)
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:
12
ss s
dh 0 F 20h h 9ft
dt =⇒ = ⇒ = (S1.3)
The process model in (S1.3) is nonlinear. In order to linearize this model, one can expand
the function Fi-20h1/2 in (S1.3) about the steady state value Fs-20hs1/2 as follows:
()
()
(
)
()
[]
() ()() ()
iS iS
SS
12 12
ii
12 12
iss is s
ii
FF FF
hh hh
12 12
isssisss
F20h F20h
F 20h F 20h F F h h HOT
Fh
0 1 F F 10h h h F F 10h h h
==
==
−−
⎡⎤⎡⎤
∂− ∂−
⎢⎥⎢⎥
−=−+ −+ −+=
∂∂
⎢⎥⎢⎥
⎣⎦⎣⎦
⎡⎤ ⎡⎤
≅+ −− − =−− −
⎣⎦ ⎣⎦
(S1.4)
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
ARH
dt 3
=− (S1.5)
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:
RRQ(s)
A sH(s) H(0) BH(s) H(s)
ss(AsB)P(s)
⎡⎤
−=− ⇒ = =
⎣⎦ + (S1.6)
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:
12
CC
RQ(s)
H(s) s(As B) P(s) s s B A
===+
++
(S1.7)
where
1s0 s0
2sBA sBA
R
CsH(s) R/B
As B
R
C (As B)H(s) AR / B
s
==
=− =−
⎡⎤
⎡⎤
== =
⎢⎥
⎣⎦ +
⎣⎦
⎡⎤
⎡⎤
=+ = =−
⎢⎥
⎣⎦
⎣⎦
(S1.8)
pf3
pf4
pf5

Partial preview of the text

Download Process Dynamics and Control - Assignment 2 Practice Questions | CHBE 470 and more Assignments Chemistry in PDF only on Docsity!

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

= − = − (S1.2)

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

= ⇒ = ⇒ = (S1.3)

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

= = = =

− −

⎡ (^) ∂ − ⎤ ⎡ (^) ∂ − ⎤

− = − + ⎢ ⎥ − + ⎢ ⎥ − + = ⎢ ∂^ ⎥ ⎢ ∂ ⎥ ⎣ ⎦ ⎣ ⎦

≅ + − − ⎡^ ⎤^ − = − − ⎡^ ⎤ − ⎣ ⎦ ⎣ ⎦

(S1.4)

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

= − (S1.5)

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)

(S1.6)

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

(S1.7)

where

1 s 0 s 0

2 s B A s B A

R

C sH(s) R / B As B

R

C (As B)H(s) AR / B s

=

=− =−

= ⎡^ ⎤ = =

= ⎡^ + ⎤ = = −

(S1.8)

Therefore, (S1.7) becomes:

R 1 A

H(s) B s s B A

(S1.9)

Using table 7.1 from the book and taking the inverse Laplace transform of (S1.9) yields:

s^ [^ ]

R

H(t) h(t) h 1 A exp( B A t) B

= − = − − (S1.9)

or

3(Fi 60) 10 h(t) 9 1 exp t 10 3

⎣ ⎝^ ⎠⎦

(S1.10)

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

⎣ ⎝^ ⎠⎦

(S1.11)

h(t) 9 15.3 1 exp t 3

⎣ ⎝^ ⎠⎦

(S1.12)

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

a

0

5

10

0 5 10 15 20

nonlinear linear

time (min)

85% decrease inlet flow rate

b

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. Compute the coefficients

1 s 0

(^2 2 )

s 0 s 0

(^3 ) s 2

(^4 )

s 3

C

(s 2)(s 3) 6

d 1 2s 5 5 C ds (s 2)(s 3) (s 5s 6) 36

C

s (s 3) 4

C

s (s 2) 9

=

= =

=−

=−

⎣ +^ + ⎦

⎣ +^ +^ ⎦ ⎣ +^ + ⎦

(S3.5)

Therefore, (S3.4) can be rewritten as:

2

x(s) s s s 2 s 3

(S3.6)

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

⎣ +^ + ⎦

(S3.7)

From table 7.1 in the book, we have:

n at 1 n 1

1 t e L

s a n!

− −

(S3.8)

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

  1. Take the Laplace transform of equation (4.1) and apply derivation theorem

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) ⎣ ⎦ ⎣ ⎦

     (S4.1)

  1. Apply initial conditions

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)

(S4.2)

  1. Identify roots and their multiplicity

1

2

3

4

s 0

s 1

s j

s j

1

2

3

4

μ =

μ =

μ =

μ =

(S4.3)

  1. Partial fraction expansion

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)

(S4.4)

  1. Compute the coefficients

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 =

(S4.5)

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)

(S4.6)

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: