Compute Steady-State Operating Points from Specifications
You can compute a steady-state operating point of a Simulink® model by specifying constraints on the model states, outputs, and inputs, and finding a model operating condition that satisfies these constraints. You can trim your model to meet any combination of state, input, or output specifications. Computing an operating point in this way is called trimming. For more information on steady-state operating points, see About Operating Points.
You can trim your Simulink model:
In the Steady State Manager. For an example, see Compute Operating Points from Specifications Using Steady State Manager.
At the command line. For more information, see Compute Operating Points from Specifications at the Command Line.
In the Model Linearizer. For more information, see Compute Operating Points from Specifications Using Model Linearizer.
For more information on selecting a trimming tool, see Compute Steady-State Operating Points.
For state specifications, you can constrain the values of model states to known values or ranges. You can also define bounds for the derivatives of states that are not at steady state. Using such constraints, you can trim derivatives to known nonzero values or specify derivative tolerances for states that cannot reach steady state. For an example that trims a model for state specifications, see Compute Operating Points from Specifications Using Model Linearizer.
You can constrain the values of any root-level input or output ports to known values or ranges. You can also add output specifications to signals in your Simulink model. For an example that adds an output specification in this way, see Compute Operating Points from Specifications Using Steady State Manager.
If your trimming is unsuccessful; that is, if the optimization search was unable to meet all of your specifications, determine the specifications that could not be met by validating your trimmed operating point against the original specifications. For more information, see Validate Operating Point Against Specifications.
After trimming your model, you can:
Linearize your model at the resulting operating point. For more information, see Linearize at Trimmed Operating Point.
Simulate your model at the resulting operating point. For more information, see Simulate Simulink Model at Specific Operating Point.