| Contents | Index |
| On this page… |
|---|
You can compute a steady-state operating point (or equilibrium operating point) from model simulation. The resulting operating point consists of the state values and model input levels at the specified simulation time.
Simulation-based operating point computation requires that you configure your model by specifying:
Initial conditions that cause your model to converge to equilibrium
Simulation time at which the model reaches equilibrium
You can use the simulation snapshot operating point to initialize the trim point search.
Note If your Simulink model has internal states, do not linearize this model at the operating point you compute from a simulation snapshot. Instead, try linearizing the model using a simulation snapshot or at an operating point from optimization-based search. |
This example shows how to use the Linear Analysis Tool to compute an operating point at specified simulation times (or simulation snapshots).
Open Simulink model.
sys = 'magball'; open_system(sys)

In the Simulink model window, select Tools > Control Design > Linear Analysis.
The Linear Analysis Tool for the model opens, with the default operating point being set to the model initial condition.
Click Operating Point Snapshot in the Linear Analysis tab.

Specify [1,10] in the Simulation Snapshot Times field and then press Enter.
This vector specifies to compute operating points at the t = 1 and t = 10 simulation times.
A variable, op_snapshot1, appears in the Linear Analysis Workspace. op_snapshot1 contains the two operating points.
Double click op_snapshot1 to see the resulting operating points. Use the Select Operating Point drop-down list to choose the operating point of interest.

For example, to evaluate your operating point from a simulation snapshot:
Initialize the model at the operating point (see Simulate Simulink Model at Specific Operating Point)
Add Scope blocks to show the output signals that should reach steady state during the simulation.
Run the simulation to check whether these key signals are at steady state.
![]() | Steady-State Operating Points (Trimming) From Specifications | Simulate Simulink Model at Specific Operating Point | ![]() |

Learn more about resources for designing, testing, and implementing control systems.
Get free kit| © 1984-2012- The MathWorks, Inc. - Site Help - Patents - Trademarks - Privacy Policy - Preventing Piracy - RSS |