Beruflich Dokumente
Kultur Dokumente
PROCESS MODELING
& SIMULATION
Dr. M. Chidambaram
Professor
Indian Institute of Technology Madras
chidam@iitm.ac.in
Mathematical
Problem
Mathematical
Solution
Interpretation
SENSITIVITY ANALYSIS
Determined by making changes in
parameters of interest and noting their
influences on each variable
Provides guides as to how accurately a
parameter needs to be determined
If the process is not sensitive to a parametermodel to be simplified
Best experimental conditions for estimating
model parameter
MODEL VALIDATION
Requires:
Confirming logic, assumptions & model
behavior
Comparison with historical i/o data
Or data literature
Comparison with pilot plant performance
Data used in formulating the model
(parameter estimation) should not be used to
validate it
Solution methodology
Evaluation of system behavior for different operation
conditions
Analytical solution for linear model equations
Perturbation techniques
Numerical solution
Continuous modeling programs:CSMP,MATLAB,SCILAB
Discrete-event simulation techniques:
GPSS,GASP,SIMSCRIPT
Sound understanding of fundamentals
(3.27)
m d2x/dt2 = mg ki2/x2
system A given by
df
B1 f 2 a
dy
da
B3a
dy
da
( B1 B3 ) fa
dy
df
B1 f N a
dy
da
B3 f N1 a m
dy
n q /( 2 m) N
n1 q(m 1) /( m 2) N 1
b1 B1
b3 B3 B1q /( m 2)
where q N1 N 1 and q not equal to zero
b3 0
and m 2
( N 1, N1 1 and m 1.5)
References
1.
2.
3.
4.
5.
Additional references
M .Chidambaram
Catalyst mixing in BCSRs,
Can J. Chem. Eng., 87, 503-506, 1989.
S.Sivakumar, M.Chidambaram & H.S.Shankar
Analysis of Deactivation disguised kinetics in transport
reactors by periodic operation
Can. J. Chem. Eng, 66, 505-508, 1988.
D.Swati, V.S.R.Rao, R.Pickhardt & M.Chidambaram
Nonlinear PI Controller for time delayed pH
system
Indian Chemical Engineer, 50, 93-105,2008
INPUT
SYSTEM
INPUT
SYSTEM
OUTPUT
OUTPUT
?
ANALYSIS PROBLEM
INPUT
SYSTEM
OUTPUT
?
SYNTHESIS PROBLEM(DESIGN)
INPUT
?
SYSTEM
OUTPUT
COMPENSATION PROBLEM
Model Classification
Type of Model
Criterion of classification
Mechanistic
Empirical
Stochastic
Deterministic
Lumped parameter
Distributed parameter
Linear
Nonlinear
Continuous
Discrete
Hybrid
Equation types
Steady- state
Problem
Dynamic
problem
Deterministic
ODEs/PDEs
Stochastic
Algebraic/ difference
equations
Lumped parameter
Algebraic equations
ODEs
Distributed parameter
EPDEs
PPDEs
Linear
Linear algebraic
equations
Linear ODEs
Nonlinear
Nonlinear algebraic
equations
Nonlinear ODEs
Continuous
Algebraic equations
ODEs
Discrete
Difference equations
Difference equations
MODEL EQUATIONS
CONVERSION OF MASS /ENERYAND(OR) MOMENTUM
(BALANCE EQUTIONS)
LEADS TO
SYSTEM OF
ALGEBRAIC EQUTIONS
LINEAR
NONLINEAR
CONSTANT
COEFFICIENTS
IVP
LINEAR ODES
BVP
VARIABLE
COEFFICIENTS
CONSTANT
COEFFICIENTS
VARIABLE
COEFFICIENTS
IVP
NONLINEAR ODEs
BVP
HYPERBOLIC EQUATIONS
PDE
PARABOLIC EQUATIONS
ELLIPTIC EQUATIONS
COMBINATIONS OF ABOVE
L/NL
JACOBI METHOD
ITERATIVE METHODS
GAUSS SEIDEL
METHOD
Scalar equation:
f(x)=0
BVP ODE(NL)
Shooting method
Finite difference Scheme method
Collocation method (polynomial
approximation)
EXAMPLE 1a
M file
function y = nitt1(x)
y = x^2 - 2* x-3;
Command Window
x0 =[0];
y = fzero ('nitt1',x0)
y = -1
x0= [2];
y = fzero ('nitt1',x0)
y=3
EXAMPLE 2a
3.0000
-1.0000
EXAMPLE 2a
3.0000
-1.0000
EXAMPLE 3a
Command Window
tspan = [0 20];
x0 = [0.25 1]';
[t, x] = ode23('nitt4',tspan, x0);
plot(t, x(:,1),':',t, x(:,2));
xlabel ('time, sec')
ylabel ('response in x1, x2')
3
response in x1,x2
-1
-2
-3
10
12
time,sec
14
16
18
20
EXAMPLE 5a
fminsearch(@pest,[1 1 1])
ans=6.0776 0.9561 0.1951
(log method: 7.105 0.9804 0.1896)
SENSITIVITY ANALYSIS
(8.12)
(8.13)
(8.14)
(8.15)
(8.16)
(8.17)
(8.18)
(8.19)
(8.21a)
(8.21b)
Thank you !
y(k ) 1 y(k 1) 2 y (k 2) 1u (k 1)
2u (k 2)
(1)
c.
d.
e.
f.
Problem definition
Search for data and facts-state of the art,
state objective and identify constraints
Mathematical Modeling- note assumptions.
Analysis/simulation- test data,
Design and prototyping
Analyze alternatives
Reading skills
Be curious
Good researcher tends to be curious.
Ask good questions
What happens if..? Why ? is it true that.?these
questions can help you find good research
problems.
Be aware of research density
Go to bed early
Thank you !