## Documentation Center |

The linearized model of a continuous stirred-tank reactor (CSTR) involving an exothermic (heat-generating) reaction is represented by the following differential equations:[9]

where *C _{A}* is the concentration
of a key reactant,

Measurement of reactant concentrations is often difficult, if
not impossible. Let us assume that *T* is a measured
output, *C _{A}* is an unmeasured
output,

The model fits the general state-space format

where

The following code shows how to define such a model for some
specific values of the *a _{ij}* and

A = [-0.0285 -0.0014 -0.0371 -0.1476]; B = [-0.0850 0.0238 0.0802 0.4462]; C = [0 1 1 0]; D = zeros(2,2); CSTR = ss(A,B,C,D);

The following code sets some of the `CSTR` model's
optional properties:

CSTR.InputName = {'T_c', 'C_A_i'}; CSTR.OutputName = {'T', 'C_A'}; CSTR.StateName = {'C_A', 'T'}; CSTR.InputGroup.MV = 1; CSTR.InputGroup.UD = 2; CSTR.OutputGroup.MO = 1; CSTR.OutputGroup.UO = 2;

To view the properties of `CSTR`, enter:

CSTR

Was this topic helpful?