Using Simulink    

Equilibrium Point Determination

The Simulink trim function determines steady-state equilibrium points. Consider, for example, this model, called lmod.

You can use the trim function to find the values of the input and the states that set both outputs to 1. First, make initial guesses for the state variables (x) and input values (u), then set the desired value for the output (y).

Use index variables to indicate which variables are fixed and which can vary.

Invoking trim returns the solution. Your results may differ due to roundoff error.

Note that there may be no solution to equilibrium point problems. If that is the case, trim returns a solution that minimizes the maximum deviation from the desired result after first trying to set the derivatives to zero. For a description of the trim syntax, see trim.


 Linearization linfun