Set Output Constraint Conditions
Each output can be constrained if a certain condition is met on the inputs, state variables or the output itself.
Select the output to be constrained.
-
In the Output name column, click the ... button.
A list of available outputs is shown.
-
Double-click the desired state variable.
- Click OK.
Specify the constraint.
-
Click the Expression Builder
icon.
The Expression builder shows the variables and variable names for the expression.
-
Enter the condition in the Expression box and include the name of the listed
variable.
For example, the following condition forces the “SpringDamper_F” output to be greater than or equal to 0.
Note: Arithmetical operators can be included in the expression: (+ - * / ^), logical operators (| & ! ~), and relational operators ( > < >= <= == ~= <>). - After you have defined the output constraints, click OK.