Professional Documents
Culture Documents
Mathematical
Modeling of
Chemical Processes
INPUT-OUTPUT MODEL
1
10/3/2015
Conservation Laws
Page
2-3
Conservation of Mass
rate of mass rate of mass rate of mass
= −
accumulation in out
Conservation of Component i
rate of component i rate of component i
=
accumulation in
2
10/3/2015
d (Vρ )
= w1 + w2 − w Eq. (1)
dt
where w1, w2, and w are mass flow rates.
d (Vρx )
= w1x1 + w2 x2 − wx Eq. (2)
dt
0 = w1 + w2 − w Eq. (2-4)
(3)
0 = w1 x1 + w2 x2 − wx Eq.(2-5)
(4)
Pag
e 2-6
3
10/3/2015
dV
ρ = w1 + w2 − w Eq. (5)
dt
ρ d (Vx )
= w1x1 + w2 x2 − wx Eq. (6)
dt
Pag
e 2-7
Equation (6) can be simplified by expanding the accumulation term using the “chain
rule” for differentiation of a product:
d (Vx ) dx dV
ρ = ρV + ρx Eq. (7)
dt dt dt
Substitution of (7) into (6) gives:
dx dV
ρV + ρx = w1 x1 + w2 x2 − wx Eq. (8)
dt dt
Substitution of the mass balance in (5) for ρ dV/dt in (8) gives:
dx
ρV + x ( w1 + w2 − w ) = w1x1 + w2 x2 − wx Eq. (9)
dt
After canceling common terms and rearranging (5) and (9), a more convenient
model form is obtained:
dV 1
= ( w1 + w2 − w ) Eq. (10)
dt ρ
dx w1 w
= ( x1 − x ) + 2 ( x2 − x ) Eq. (11)
dt V ρ Vρ Page
2-8
4
10/3/2015
1. The inlet or outlet flow rates might be constant, for example, exit flow rate q
might be kept constant by a constant-speed pump.
2. The tank exit line may function simply as a resistance to flow from the tank,
or it may contain a valve that provides significant resistance to flow at a
single point. In the simplest case, the flow may be assumed to be linearly
related to the driving force, the liquid level, h = qRv, where Rv is the
resistance of the line or valve.
3. A more realistic expression for flow rate q can be obtained when a fixed
valve has been placed in the exit line and turbulent flow can be assumed.
Pag
The driving for flow through the valve is the pressure drop ∆P = P – Pa,
e 2-9
where P is the pressure at the bottom of the tank and Pa is the pressure at
the end of the exit line.
GROUP EXERCISE
Pag
e 2-
10
5
10/3/2015
Conservation of Energy
The general law of energy conservation is also called the
First Law of Thermodynamics. It can be expressed as:
Page
2-11
Page 2-12
6
10/3/2015
Assumptions:
Page 2-13
Eq. (12)
7
10/3/2015
Model Development
An expression for the rate of internal energy accumulation can be derived
from Eq. (12) :
dU int dT
= ρVC Eq. (13)
dt dt
(
Hˆ − Hˆ ref = C T − Tref ) Eq. (14)
(
Hˆ = C T − Tref ) Eq. (15)
Model Development
For the inlet stream
(
Hˆ i = C Ti − Tref ) Eq. (16)
Eq. (17)
dT
V ρC = wC (Ti − T ) + Q Eq. (18)
dt Pag
e 2-
16
8
10/3/2015
Exercise
A perfectly stirred, constant-volume tank has two input streams, both consisting of
the same liquid. The temperature can vary with time.
Derive a dynamic model that will describe transient operation.
Page
2-17
Exercise
9
10/3/2015
For temperature control purposes, it is reasonable to classify the three inputs as:
2 disturbance variables: Ti, w
1 manipulated variable: Q
10