Specifications
2 Building Models
2-22
opspec = operspec('CSTR_OpenLoop');
opspec = addoutputspec(opspec,'CSTR_OpenLoop/CSTR',2);
opspec.Outputs(1).Known = true;
opspec.Outputs(1).y = 2;
op1 = findop('CSTR_OpenLoop',opspec);
 Operating Point Search Report:
---------------------------------
 Operating Report for the Model CSTR_OpenLoop.
 (Time-Varying Components Evaluated at time t=0)
Operating point specifications were successfully met.
States: 
----------
(1.) CSTR_OpenLoop/CSTR/C_A
 x: 2 dx: -4.6e-12 (0)
(2.) CSTR_OpenLoop/CSTR/T_K
 x: 373 dx: 5.49e-11 (0)
Inputs: 
----------
(1.) CSTR_OpenLoop/Coolant Temperature
 u: 299 [-Inf Inf]
Outputs: 
----------
(1.) CSTR_OpenLoop/CSTR
 y: 2 (2)
The calculated operating point is C_A =   and T_K = 373 K. Notice that the
steady-state coolant temperature is also given as 299 K, which is the nominal value of
the manipulated variable of the MPC controller.
To specify:
• Values of known inputs, use the Input.Known and Input.u fields of opspec
• Initial guesses for state values, use the State.x field of opspec










