An operating point of a dynamic system specifies the initial states and root-level input signals of the model at a particular time. You can find operating points using command-line tools, the Steady State Manager, or when linearizing a model using the Model Linearizer. For more information about operating points, see About Operating Points and Compute Steady-State Operating Points.
|Operating point specifications|
|Initialize operating point specification values|
|Add output specification to operating point specification|
|Get index of a state element of an operating point specification|
|Get index of an input element of an operating point specification|
|Get index of an output element of an operating point specification|
|Trigger-Based Operating Point Snapshot||Generate operating points at triggered events|
An operating point of a dynamic system defines the states and root-level input signals of the model at a specific time.
To obtain a steady-state operating point, you can trim your model using numerical optimization techniques or simulate your model until it reaches a steady-state condition.
The operating point object used for linearization and control design does not include Simulink® blocks with internal state representation, such as Memory and Transport Delay blocks.
You can view and modify operating point values programmatically at the command line or interactively using the Steady State Manager or Model Linearizer.
Find a steady-state operating point that meets specifications. You can specify known values or bounds for model states, outputs, and inputs.
When you modify an operating point specification in the Steady State Manager or Model Linearizer, you can export the specification to the MATLAB® workspace or the Model Linearizer workspace.
You can control the accuracy of your operating point search by using different optimization methods.
If you know the approximate time when the model reaches the neighborhood of a steady-state operating point, you can use simulation to get state values to use as the initial conditions for numerical optimization.
Simulate your model and find an operating point that consists of the state values and model input levels at a specified simulation snapshot time.
You can find an operating point by simulating the model until it is at steady state and taking a simulation snapshot.
To find operating points for Simscape™ models, you can trim the models using projection-based trim optimizers, or take simulation snapshots at specified times.
Modifying your Simulink model can change, add, or remove states, inputs, or outputs, which changes the operating point.
You can derive your Simulink model initial conditions from your computed operating point.
Trim Simulink models using additional user-specified constraints and objective functions.
Generate code for trimming your simulink model, and modify the script to batch trim your model.
Vary model parameters and batch trim your model to find corresponding operating points.
Find operating points for multiple operating point specifications using a single model compilation.
This example shows how to use the
command to speed up multiple calls to compiling functions in Simulink
Control Design™ such as
You can generate MATLAB code to programmatically reproduce an operating point search result that you obtained interactively.