Académique Documents
Professionnel Documents
Culture Documents
14 Distillation column 3 64 v
15 Underwater vehicle 6 v Cooling Jacket
Tc
16 Water tank 1 v CA Reaction
4 T A B
17 Dual string kite model v v
Distillation column with 204 v Product
18
enthalpy equation Figure 1. The most popular model in the
Type-I diabetic blood 3 v collection: Continuously stirred tank reactor
21
glucose control (CSTR) with A->B exothermic reaction.
Yeast fermentation 7 v
22
bioreactor 1 Table II. Variables in CSTR Model
Electric vehicle with a DC 7 Cooling water temperature (K)
23 Tc
motor
ca Concentration of species A
Yeast fermentation 2 v
24 (mol/m3 )
bioreactor 2
T Reactor temperature
25 Polyethylene reactor 7 v v q Volumetric flowrate (m3 /sec)
V Reactor volume (m3 )
The nonlinear model database includes ρ Density of A-B mixture (kg/m3 )
chemical reactors, binary distillation columns, Cp Heat capacity of A-B mixture (J/kg-
and simple mechanical systems. The K)
complexity of the models range from a simple ∆H Heat of reaction for A->B (J/mol)
ODE model with 1 input and 1 state to a large E/R Activation energy in the Arrhenius
Equation (J/mol) / Universal Gas % Heat capacity of A-B
Constant (8.31451 J/mol-K) Mixture (J/kg-K)
k0 Pre-exponential factor (1/sec) Cp = .239;
UA Overall Heat Transfer Coefficient % Heat of reaction for A->B
(W/m2 -K) * Area (m2 ) (J/mol)
Caf Feed Concentration (mol/m3 ) mdelH = 5e4;
Tf Feed Temperature (K) % E = Arrhenius Equation
(J/mol)
% R = Univ Gas Constant
Table III: Equations in CSTR Model EoverR = 8750;
Species balance for component A: % Pre-exponential factor
(1/sec)
∂c E
V a = q ( Caf − Ca ) − k0 exp − VCa k0 = 7.2e10;
∂t RT % U - Heat Trans Coeff
(W/m^2-K)
Energy balance: % A - Area (m^2)
E UA = 5e4;
A = ∆Hk 0 exp − VCa
RT % Feed Conc (mol/m^3)
Caf = 1;
B = UA ( Tc − T ) % Feed Temperature (K)
∂T
= ρ C p q ( Tf − T ) + A + B
Tf = 350;
ρC pV
∂t
% Compute xdot:
These model equations are translated to a xdot(1,1) = (q/V*(Caf - Ca)
model function in MATLAB (see file cstr1.m). - k0*exp(-EoverR/T)*Ca);
The model function returns the state derivates
as a function of the current time (t) and states xdot(2,1) = (q/V*(Tf - T) +
(x). A global variable (u) is used to provide mdelH/(rho*Cp)*k0*exp(-
input changes to the temperature of the EoverR/T)*Ca +
cooling jacket. UA/V/rho/Cp*(Tc-T));
Table IV: CSTR Model in MATLAB These model equations are solved in MATLAB
function xdot=cstr1(t,x) with a numerical integrator. In this case
ode15s is used to solve the differential
global u
equations over a 5 second horizon. The jacket
% T of cooling jacket (K) temperature is stepped from 300 K to 290 K.
Tc = u; The cooling of the reactor jacket results in a
% Conc in CSTR (mol/m^3) decrease in reactor temperature and an
Ca = x(1,1); increase in the concentration of species A.
% Temperature in CSTR (K) The results are displayed in two plots of the
T = x(2,1); temperature and reactor concentration (see file
% Flowrate (m^3/sec) step.m).
q = 100;
% Volume of CSTR (m^3) Table V: CSTR Model Step in MATLAB
V = 100; % Step test for Model 1
% Density (kg/m^3) CSTR
rho = 1000; global u
intermedia te (B). There is an additional
% Initial Conditions-States equation and variable to account for the
Ca_ss = 0.87725294608097; intermediate reaction step.
T_ss = 324.475443431599;
x_ss = [Ca_ss;T_ss]; Feed Inputs
States
% Initial Condition-Control
u_ss = 300;
Feed θ
x17
Figure 4. Simple force balance for an object in
motion.
x31
Bottoms
x32 Model 16 - Gravity Drained Water Tank
Figure 3a. Distillation column model
This gravity drained water tank was a control
diagram.
experiment for Tom Edgar's undergraduate
control course. The students had to perform
experiments to determine the process time
constant and tune a PID controller. The
nonlinear model gave excellent predictions of
level (or volume) and was used to demonstrate
the advantage of model predictive control
(MPC) over PID control for level control.
1000
reflux ratio.
500
0
Model 12 - Cruise Control with 0 50 100 150 200 250 300 350 400 450 500
Time (sec)
Disturbance
100
Inlet Valve % Open
80
This simple mechanical model is of an object
60
that is seeking to maintain constant speed 40
while subject to disturbances. In this case, the 20
disturbance is the incline or decline angle. 0
50 100 150 200 250 300 350 400 450
Time (sec)