Specifications

Design Controller in Simulink
5-3
CSTR Temperature — Temperature of the limiting reactant in the product stream.
Concentration — Concentration of the limiting reactant in the product stream, also
referred to as residual concentration. The MPC controller regulates this state to
satisfy the desired setpoint.
MPC Controller
The MPC Controller block, which requires a supported C or C++ compiler, represents the
model predictive controller. It is available in the Model Predictive Control Toolbox
library of the Simulink Library Browser. For this example, the block is configured as
follows:
Measured output (mo inport) — Residual concentration; signal originating at the CA
outport of the CSTR block.
Reference, also referred to as setpoint or target (ref inport) — Residual concentration
reference; signal originating at the Concentration Setpoint block. Set to 2 kmol/m
3
.
Manipulated variable (mv outport) — Concentration of the CSTR coolant; input signal
of the Tc inport of the CSTR block.
The reactor temperature is usually controlled. For this example, ignore the reactor
temperature for a more challenging nonlinear control problem.
Open MPC Design Tool
Double-click the MPC Controller block to open the block dialog box.