|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.
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 Editor, select Analysis > Control Design > Linear Analysis.
The Linear Analysis Tool for the model opens, with the default operating point being set to the model initial condition.
In the Linear Analysis tool, click the Operating Point Snapshots tab.
This vector specifies operating points at t = 1 and t = 10.
A new 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. Select an operating point of interest from the Select Operating Point list to see it.
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.