Module 7 - Isothermal CSTRs
Module 7 - Isothermal CSTRs
<b=""vandss.m Generate the steady-state input/output curves for the van de Vusse reactor
To use this m-file to generate Figure M7.8, enter the following at the MATLAB
command window prompt:
k1 = 5/6;
k2 = 5/3;
k3 = 1/6;
cafs = 10;
[fsov,cbs,cas] = vandss(k1,k2,k3,cafs);
to plot Figure M7.8a, enter
plot(fsov,cas)
to plot Figure M7.8b, enter
plot(fsov,cbs)
<b=""vanmax.m The the maximum of the concentration of component B as a function of
F/V for the van de Vusse reactor
Use the command:
fmin('vanmax',0,2)
ans =
1.2921
<b=""vanvusse.m The function routine to be used by ode45 to integrate the two
differential equations which describe the dynamic behavior of the van de Vusse reactor
Use the commands:
x0 = [3;1.117]
plot(t,x)
to find that you are at a steady-state for F/V = 4/7. Modify the function file if you wish to
perform step changes, for example