Documenti di Didattica
Documenti di Professioni
Documenti di Cultura
Chemical Processes
Chapter 2
accuracy and complexity on one hand, and the cost and effort
required to develop the model, on the other hand.
• Process modeling is both an art and a science. Creativity is
required to make simplifying assumptions that result in an
appropriate model.
• Dynamic models of chemical processes consist of ordinary
differential equations (ODE) and/or partial differential
equations (PDE), plus related algebraic equations.
Table 2.1. A Systematic Approach for
Developing Dynamic Models
1. State the modeling objectives and the end use of the model.
They determine the required levels of model detail and model
accuracy.
Chapter 2
Conservation of Mass
rate of mass rate of mass rate of mass
Chapter 2
Conservation of Component i
rate of component i rate of component i
=
accumulation in
•Dangerous to extrapolate
Semi-empirical
•Compromise of first two approaches
•Model structure may be simpler
•Typically 2 to 10 physical parameters
estimated
(nonlinear regression)
•Good versatility, can be extrapolated
• linear regression
y = c0 + c1 x + c2 x 2
• nonlinear regression
(
y = K 1 − e −t /τ )
Chapter 2
•
Chapter 2
d ( V ρx )
= w1 x1 + w2 x2 − wx (2-3)
dt
dV
ρ = w1 + w2 − w (2-12)
dt
ρ d ( Vx )
= w1x1 + w2 x2 − wx (2-13)
dt
Equation 2-13 can be simplified by expanding the accumulation
term using the “chain rule” for differentiation of a product:
d ( Vx ) dx dV
ρ = ρV + ρx (2-14)
dt dt dt
Substitution of (2-14) into (2-13) gives:
dx dV
Chapter 2
ρV + ρ x = w1x1 + w2 x2 − wx (2-15)
dt dt
Substitution of the mass balance in (2-12) for ρ dV/dt in (2-15)
gives:
dx
ρV + x ( w1 + w2 − w ) = w1x1 + w2 x2 − wx (2-16)
dt
After canceling common terms and rearranging (2-12) and (2-16),
a more convenient model form is obtained:
dV 1
= ( w1 + w2 − w ) (2-17)
dt ρ
dx w1 w2
= ( x1 − x ) + ( x2 − x ) (2-18)
dt V ρ Vρ
Chapter 2
Chapter 2 Stirred-Tank Heating Process
Assumptions:
Note that this term appears in the general energy balance of Eq. 2-
10.
Suppose that the liquid in the tank is at a temperature T and has an
enthalpy, Ĥ . Integrating Eq. 2-29 from a reference temperature
Tref to T gives,
(
Hˆ − Hˆ ref = C T − Tref ) (2-32)
where Hˆ ref is the value of Ĥ at Tref . Without loss of generality, we
assume that Hˆ ref = 0 (see Appendix B). Thus, (2-32) can be
written as:
(
Hˆ = C T − Tref ) (2-33)
Model Development - III
For the inlet stream
(
Hˆ i = C Ti − Tref ) (2-34)
Chapter 2
( ) ( ) (
−∆ wHˆ = w C Ti − Tref − w C T − Tref
) (2-35)
dT
V ρC = wC (Ti − T ) + ws ∆H v (1)
dt
0 = wC (Ti − T ) + w s ∆H v (2)
subtract (2) from (1)
dT
V ρC = wC (T − T ) + (ws − w s )∆H v
dt
divide by wC
V ρ dT ∆H v
= T −T + ( ws − w s )
w dt wC
Define deviation variables (from set point)
y (t ) = K p 1 − e τ1
Chapter 2
Example 1:
Ti = 40 o C, T = 90 o C, Ti′ = 0o C
C=l cal g o C
w=10 4 kg hr
ρ =103 kg m3
V=20 m 3
ρV = 2 ×104 kg
ρ V 2 ×10 4 kg
τ= = = 2hr
w 104 kg hr
dy
2
dt
= -y + 6 × 10-5 u dynamic model
y = T−T
u = ws − ws
Step 1: t=0 double ws
T(0) = T y(0) = 0
u = +0.83 ×106 g hr
dy
2 = -y + 50
dt
y = 50( l - e -0.5t )
Chapter 2
T = y ss + T = 50 + 90 = 140o C
Process Dynamics
Process control is inherently concerned with unsteady
state behavior (i.e., "transient response", "process
dynamics")
Stirred tank heater: assume a "lag" between heating
element temperature Te, and process fluid temp, T.
heat transfer limitation = heA(Te – T)
Energy balances
Chapter 2
dT
wCTi +h e A(Te -T)-wCT=mC
Tank: dt
dTe
Q - h e A(Te - T) = m e C e
Chest: dt
dT dT
= 0, e = 0
dt dt
At s.s.
Specify Q → calc. T, Te
2 first order equations ⇒ 1 second order equation in T
Relate T to Q (Te is an intermediate variable)
y=T-T u=Q-Q Ti fixed
mm e C e d 2 y m e C e m e C e m dy 1
2
+
+ +
+ y = u
wh e A e dt heAe wC w dt wC
Fig. 2.2
Rv
1
q= h Rv: line resistance
Rv
dh 1
A = qi − h P = p + ρgh (2 - 57)
dt Rv
Chapter 2
linear ODE
P = p + ρgh
*
If q = Cv P - Pa Pa : ambient pressure
dh
A = qi − Cρgh
v
*
q =Ci −hv (2-61)
dt
nonlinear ODE
Chapter 2
Table 2.2. Degrees of Freedom Analysis
1. List all quantities in the model that are known constants (or
parameters that can be specified) on the basis of equipment
dimensions, known physical properties, etc.
2. Determine the number of equations NE and the number of
Chapter 2
4 variables: T , Ti , w, Q
1 equation: Eq. 2-36
Chapter 2
Monod Equation
Chapter 2
rg = µ X (2-93)
d ( PV )
= Vrp (2-99)
Chapter 2
dt
d( SV ) 1 1
= FSf − V rg − V rP (2-100)
dt YX / S YP / S
d (V )
= F (2-101)
dt
Chapter 2