Company Events Academic Community Support Solutions Products & Services Contact NI MyNI

Trim & Linearize VIs

LabVIEW 2012 Control Design and Simulation Module Help

Edition Date: June 2012

Part Number: 371894G-01

»View Product Info

Owning Palette: Simulation VIs and Functions

Requires: 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 Control & Simulation Loop.

The VIs on this palette can return general LabVIEW error codes or specific Simulation error codes.

Palette ObjectDescription
SIM Get Parameter NamesReturns the names, dimensions, and types of all parameters in the Parameters In input.
SIM Get Parameter ValueReturns the value and type of a parameter you specify. Wire data to the Item Name and Default Value inputs to determine the polymorphic instance to use or manually select the instance.
SIM LinearizeReturns 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. Wire data to the Path input to determine the polymorphic instance to use or manually select the instance.
SIM Query SubsystemReturns 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. Wire data to the Path input determines the polymorphic instance to use or manually select the instance.
SIM Set Parameter ValueProvides information to the SIM Linearize VI and SIM Trim VI about which parameter values to modify and how to modify those parameter values. Wire data to the Item Name input or the Value input to determine the polymorphic instance to use or manually select the instance.
SIM TrimCalculates 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. Wire data to the Path input to determine the polymorphic instance to use or manually select the instance.

 

Your Feedback! poor Poor  |  Excellent excellent   Yes No
 Document Quality? 
 Answered Your Question? 
Add Comments 1 2 3 4 5 submit