This example shows how to initialize a model at a specific operating point for simulation.
Compute a steady-state operating point using one of the following:
State specifications, see Compute Steady-State Operating Points from State Specifications
Output Specifications, see Compute Steady-State Operating Point to Meet Output Specification
Simulation snapshot, see Compute Operating Points at Simulation Snapshots.
In the Linear Analysis Tool, double-click the computed operating point or simulation snapshot variable in the Linear Analysis Workspace.
The Edit dialog box opens.
Note: If you computed multiple operating points using a simulation snapshot. Select an operating point from the Select Operating Point list.
Click Initialize model.
In the Initialize Model dialog box, specify a Variable Name for the operating point object. Alternatively, you can use the default variable name.
Click OK to export the operating point to the MATLAB® Workspace.
This action also sets the operating point values in the Data Import/Export pane of the Configuration Parameters dialog box. Simulink® derives the initial conditions from this operating point when simulating the model.
Tip If you want to store this operating point with the model, export the operating point to the Model Workspace instead.
In the Simulink Editor, select Simulation > Run to simulate the model starting at the specified operating point.