Professional Documents
Culture Documents
Process Modeling and Control (PMC) : Lecture # 2: Model Building Framework
Process Modeling and Control (PMC) : Lecture # 2: Model Building Framework
by:
Dr. Muhammad Zaman
Senior Engineer
Department of Chemical Engineering
Books:
CONTENTS
Modeling framework
The process system (SISO, MISO,MIMO)
The modelling goal
A systematic approach
The necessary ingredients
Conservation principles
Thermodynamic system principles
Balance volumes in process systems
Extensive and intensive variables
Principle of conservation
Conservation equations
Induced algebraic equations
Constitutive & conditional models
2
THE PROCESS SYSTEM
d
u S y
x
Inputs, u y = S[u,d]
Outputs, y
(SISO, MIMO
States, x SS or dynamic)
Disturbances, d
3
THE MODELING GOAL
Application areas
Flow sheeting Process control/analysis
simulation (rating) prediction/estimation
design regulation
optimization identification
faultdetection &
diagnosis
STEADY STATE VS DYNAMIC SIMULATIONS
GIVEN FIND
PROCESS SYSTEM A MATHEMATICAL MODEL
MODELING GOAL
VALIDATION CRITERIA 4
A SYSTEMATIC MODELLING PROCEDURE
1 4 7 Model
Problem Model
definition construction calibration &
validation
2 5
Controlling Model
factors solution
3 6
Problem Model
data verification
anticipated inputs/outputs/disturbances
spatial distribution
6
1. PROBLEM DEFINITION
7
DEFINITION EXAMPLE (STEP 1)
Goal (intent)
f, CAi effect of inlet change
(control design)
+/-10% accuracy
CSTR description
f, CA, CB
out-flow process/system details
lumped ? - yes
dynamic? - yes
8
A SYSTEMATIC MODELLING PROCEDURE
1 4 7 Model
Problem Model
calibration &
definition construction
validation
2 5
Controlling Model
factors solution
3 6
Problem Model
data verification
9
2. CONTROLLING FACTORS / MECHANISMS
Physiochemical processes/phenomena
Chemical reaction
Mass transfer
convective, evaporative, ...
Heat transfer
radiative, conductive,
Momentum transfer
ASSUMPTIONS
10
MECHANISMS - CSTR (STEP 2)
No heat loss or
f, CA, CB supplied
(adiabatic)
out-flow
11
A SYSTEMATIC MODELLING PROCEDURE
1 4 7 Model
Problem Model
calibration &
definition construction
validation
2 5
Controlling Model
factors solution
3 6
Problem Model
data verification
12
3. DATA FOR THE PROBLEM
f, CAi Physico-chemical
in-flow
data
Reaction kinetics
Equipment
f, CA, CB parameters
out-flow
Plant (process)
data
GENERALLY WE WILL BE DEALING WITH GREY BOX MODELS
13
DATA NEEDS: EXAMPLE - CSTR (STEP 3)
Reaction kinetics
data: k0 , E, DHR
f, CAi
in-flow
Physico-chemical
properties
specificheats,
enthalpies,
f, CA, CB
out-flow
Equipment
parameters: V
14
A SYSTEMATIC MODELLING PROCEDURE
1 4 7 Model
Problem Model
calibration &
definition construction
validation
2 5
Controlling Model
factors solution
3 6
Problem Model
data verification
15
MODEL CONSTRUCTION STEPS
M O D ELS
M A T H E M A T IC A L
M O D ELS
Equations analysis: f A i fC Ai
8 equations: 2 ODEs; 6 AEs
f A fC A 18
CSTR MODEL (STEP 4)
Classification of variables (plus degree of
freedom analysis: DF=18 variables 8 equations =
10)
Known (parameters) R, k0 , E , DH R , c p 5
Known (defined) V , f , C Ai , Ti 4
Known (independent) t 1
Unknown M A , H , r , C A , T , H i , f Ai , f A 2+6
Two differential
equations need initial
Boundary Conditions C A (0) C Ai conditions for two
dependent variables
T (0) Ti 19
A SYSTEMATIC MODELLING PROCEDURE
1 4 7 Model
Problem Model
calibration &
definition construction
validation
2 5
Controlling Model
factors solution
3 6
Problem Model
data verification
20
5. MODEL SOLUTION
Algebraic systems
Ordinary differential equations
Differential-algebraic equations
21
CSTR - NUMERICAL SOLUTION (STEP 5)
22
A SYSTEMATIC MODELLING PROCEDURE
1 4 7 Model
Problem Model
calibration &
definition construction
validation
2 5
Controlling Model
factors solution
3 6
Problem Model
data verification
23
6. MODEL VERIFICATION
Process of confirming that the model is correctly implemented
Structured programming approach
Modular code
Constraints
Quality documentation
24
A SYSTEMATIC MODELLING PROCEDURE
1 4 7 Model
Problem Model
calibration &
definition construction
validation
2 5
Controlling Model
factors solution
3 6
Problem Model
data verification
25
7. MODEL CALIBRATION/VALIDATION
26
SYSTEMATIC COMPUTER AIDED MODELLING
SYSTEM
Problem
definition Human
System
characteristics
Problem
data
Model
construction
Model
solution
Model
Model verification
calibration &
Computer
validation
27
MODELLING EXERCISE - 1
For the open & closed tank systems shown
below, develop the appropriate models
28