Lecture Notes:BASIC LAWS IN Modeling: Principles of Formulation of Model
Lecture Notes:BASIC LAWS IN Modeling: Principles of Formulation of Model
MODELING
Principles of Formulation of model:
•Basis
•Assumptions
•Mathematical consistency of model
•Solution of the model equations
•Verification
BASIC LAWS IN MODELING
Fundamental laws used in modeling:
Some fundamental laws of physics and chemistry are required for
modeling a chemical engineering system, used in their time
dependent form
1. Continuity equations
2. Component continuity equations
3. Energy equations
4. Equation of motion
5. Transport equations
6. Equations of state
7. Equilibrium relations
BASIC LAWS IN MODELING
Continuity equations:
Total continuity equation (Mass balance). The principle of the
conservation of mass when applied to a dynamic system says:
[Mass flow into system]-[Mass flow out of system]
=
[Time rate of change of mass inside system]
Unit: The units of this equations are mass per time, e.g. Kg/s.
N.B. The right hand side of the above equation will be either a
partial derivative or an ordinary derivative of the mass inside
the system with respect to the independent variable time, t.
Ex.1:
Consider a tank of perfectly mixed liquid as shown below, into
which flows of liquid stream at a volumetric rate of F0 (m3/min)
and with a density of 0 (Kg/m3). The volumetric holdup of liquid
in the tank is V (m3) and its density . The volumetric flow rate
from the tank is F, and the density of the out flowing stream is
the same as that of the tanks contents.
F0 (t)
0 (t)
V (t)
(t) F (t)
(t)
d
[ F0 0 - F ] = ( V )
dt
dz
(t, z)
v (t, z)
z
Z=0 z z + dz Z=L
�(vA )
vA + dz
�z
The above expression for the flow at z + dz may be
thought of as a Taylor series expansion of a function f
(z) around z.
The value of the function at a spot dz away from z is
�� f � ( dz )
2 2
��
f�
f ( z + dz ) = f ( z ) + � � dz + � 2 � + ....
��z�
(z) ��z �(z)
2!
�( A dz ) �(vA )
= vA - [vA + dz ]
�
t �z
Canceling out the dz terms and assuming A is constant yield
�(v )
�
+ =0
�t �
z
Component continuity equations:
Component continuity equation (component balance). Chemical
components are not consumed like mass. If a reaction occurs
inside a system, the number of moles of an individual component
will increase if it is a product of the reaction or decreases if it is a
reactant .
So the component continuity equation of the jth chemical species
of the system:
[Flow of moles of jth component into system]-[Flow of moles of jth
component out of system] + [Rate of formation of moles of j th
component from chemical reactions]
=
[Time rate of change of moles of jth component inside system]
Unit: The units of this equations are moles of component per time.
Component continuity equations: Discussions
• The flows in and out can be both convective (due to bulk flow)
and molecular ( due to diffusion)
• We can have one component continuity equation for each
component in the system. e.g. if there are NC components,
there are NC component continuity equations for any one
system.
• However the one total mass balance and these NC component
balances are not all independent, since the sum of all the moles
times their respective molecular weights equals the total mass .
• In a given system we use total mass balance and NC-1
component balances.
• e.g. in a binary system , there would be one total mass balance
and one component balance equation is needed.
Ex.3:
Consider the same tank of perfectly mixed liquid as shown below,
into which flows of liquid stream at a volumetric rate of F 0 (m3/min)
and with a density of 0 (Kg/m3). The volumetric holdup of liquid in
the tank is V (m3) and its hold up . The volumetric flow rate from
the tank is F, and the density of the out flowing stream is the same
as that of the tanks contents. A chemical reaction (A to B) takes
place in the liquid in the tank. Component A reacts irreversibly and
a specific reaction rate k to form product, component B.
k
F0 (t) A �� �B
0 (t)
V (t), (t),
CA0
CA, CB F (t), (t)
CB0
CA, CB
PERFECTLY MIXED TANK
Assumptions:
• Let the concentrations of component A in the flowing feed
stream be CA0 (moles of A per unit volume) and in the
reactor CA.
• Assuming a simple first order reaction, the rate of
consumption of reactant A per unit volume will be directly
proportional to the instantaneous concentrations of A in
the tank.
Component balance on reactant A
Flow of reactant into system
F0C A0
Flow of A out of system
FC A
d (VC A )
= F0C A0 - FC A - VkC A
dt
Since the system is binary (component A & B) we could write
another component continuity equation for component B. Let
CB be the concentration of B in moles per unit volume.
d (VCB )
= F0CB 0 - FCB + VkCB
dt
M AC A + M B C B =
�M C
j= A
j j =
(t, z)
CAo (t) CAL (t)
v (t, z) k
A ��
�B
CA (t, z)
Z=0 z z + dz Z=L
vAC A + AN A
Molar flow of A leaving system at boundary at z+ dz
�(vAC A + AN A )
(vAC A + AN A ) + dz
� z
Rate of formation of A inside system
- kC A Adz
Time rate of change of A inside system
�( AdzC A )
�t
Substituting all terms in the main equation
�( AdzCA ) �(vAC A + AN A )
= (vACA + AN A ) - (vACA + AN A + dz ) - kC A Adz
�t �z
Dividing by Adz
C A �(vC A + N A )
�
+ + kC A = 0
�t � z
Substituting for NA
�
C A �(vC A ) � �
CA
+ + kC A = ( DA )
�t �z �z �z
Units: the units of the equation are moles of A per volume per
time.
Energy equation:
The energy equation of the system:
[Flow of internal, kinetic and potential energy into system by
convection or diffusion]-[Flow of internal, kinetic and potential
energy out of system by convection or diffusion] + [Heat added to
system by conduction, radiation and reaction]-[Work done by
system on surroundings (shaft work and PV work)]
=
[Time rate of change of internal, kinetic and potential energy inside
system]
Unit: The units of this equations are energy per time.
Ex.6:
Consider the same system of CSTR this time with a cooling coil
inside the tank that can remove the exothermic heat of reaction (
cal per g moles of A reacted).
Normal convention is that -ve for an exothermic reaction and
+ve for an endothermic reaction.
F0 (t) k
A ��
�B
0 (t)
CA0
V (t), (t),
T0 CA, T
-Q F (t), (t)
CA, T
QG = -VC A k
energy energy 3 moles of A 1
= m 3
time moles of A m time
d ( VU ) P P0
= F0 0U 0 - F U + QG + Q - F + F0 0
dt 0
= F0 0 (U 0 + PV
0 0 ) - F (U + PV ) + QG + Q
d ( VU )
= Fo 0 ho - F h + Q - VkC A
dt
As h=Cp T
d (VT )
C p = C p ( FoTo - FT ) + Q - VkC A
dt