Main Content

Compute steady-state value of MPC controller plant model state for given inputs and outputs

Use the Model Predictive Control Toolbox™
`trim`

function to calculate steady state values of LTI discrete-time
plants controlled by an MPC controller (see `mpc`

for background).

To find operating points of dynamic systems instead, see `trim`

(Simulink) and
Compute Steady-State Operating Points (Simulink Control Design).

returns a steady-state value for the plant state or the best approximation in a least
squares sense such that:`x`

= trim(`MPCobj`

,`y`

,`u`

)

$$\begin{array}{l}x-{x}_{off}=A(x-{x}_{off})+B(u-{u}_{off})\\ y-{y}_{off}=C(x-{x}_{off})+D(u-{u}_{off})\end{array}$$

Here, *A*,*B*, *C*, and
*D* are the state space realization matrices of the discrete-time plant
model used within `MPCobj`

,
*x _{off}*,