I have opened the example code for successive linearization of a nonlinear CSTR model by executing the following at the MATLAB prompt:
web([docroot,'/toolbox/mpc/mpc_getstarted_commands11.html'])
In the example code on line #16 the nominal conditions for the CSTR model are set as follows:
Model.Nominal.U = [0 0 u];
where,
u = up(3);
defined on line # 3 of the code and,
up = [10 298.15 298.15];
defined on line # 2 of the code.
The three parameters comprising of the nominal conditions in the structure "Model.Nominal.U" include Feed Concentration, Feed Temperature Disturbances, and the Control Variable listed in that particular order. I do not understand the reason behind the Feed Concentration and the Feed Temperature Disturbances being set to zero while the Control Varible is set to "u" where u=up(3)=298.15. I would expect to see the following instead:
Model.Nominal.U= up;
where,
up = [10 298.15 298.15]
Best Answer