Trim & Linearize VIs
Owning Palette: Simulation VIs and Functions
Installed With: Control Design and Simulation Module. This topic might not match its corresponding palette in LabVIEW depending on your operating system, licensed product(s), and target.
Use the Trim & Linearize VIs to trim and linearize a simulation subsystem.
Note This palette is not available when you are developing a simulation for an embedded target. |
Trimming a simulation subsystem involves searching for a set of states and/or inputs that satisfy state/input/output/state derivative conditions that you specify. Linearizing a nonlinear simulation subsystem involves approximating the behavior of that subsystem around a certain operating point. You can trim and/or linearize only continuous subsystems.
Note You do not need to place these VIs inside a Simulation Loop. |
The VIs on this palette can return general LabVIEW error codes or specific Simulation error codes.
Palette Object | Description |
---|---|
SIM Get Parameter Names | Returns the names, dimensions, and types of all parameters in the Parameters In input. |
SIM Get Parameter Value | Returns the value and type of a parameter you specify. The data types you wire to the Item Name input and the Default Value input determine the polymorphic instance to use. |
SIM Linearize | Returns a linear time-invariant (LTI) system model given a nonlinear simulation subsystem. Linearizing a nonlinear simulation subsystem involves approximating the behavior of that subsystem around an operating point. The operating point consists of the Inputs and States of the subsystem. The data type you wire to the Path input determines the polymorphic instance to use. |
SIM Query Subsystem | Returns the names and values of the parameters of the states, inputs, outputs, and state derivatives of a simulation subsystem. Use these parameters with the SIM Set Parameter Value VI to specify conditions and values that the SIM Trim VI and the SIM Linearize VI use. The data type you wire to the Path input determines the polymorphic instance to use. |
SIM Set Parameter Value | Provides information to the SIM Linearize VI and SIM Trim VI about which parameter values to modify and how to modify those parameter values. The data type you wire to the Item Name input or the Value input determines the polymorphic instance to use. |
SIM Trim | Calculates the states and/or inputs of a simulation subsystem necessary to produce a set of outputs and/or state derivatives that you specify. Trimming a subsystem involves searching for a set of states and/or inputs that satisfy one or more specified output and/or state derivative conditions. The data type you wire to the Path input determines the polymorphic instance to use. |