About Conditional Expressions in Branches

You can use a gateway to define a conditional expression for a branch in a parallel simulation flow. The branch runs when the condition is true.

See Also
About Branching
Inserting Gateways to Create Branches
Controlling the Execution of Branches

Conditional expressions support the following syntax:

equality ==
inequality !=
greater than >
greater than or equal to >=
less than <
less than or equal to <=
AND &&
OR||

You can use a parameter name in a conditional expression, but it must be qualified with the name of the owning activity with the following syntax:

'<activity name>.<parameter name>'
Parameter names can appear on both sides of the expression:
'DOE.Parameter1' == 'DOE.Parameter2'

You must surround parameter names with single quotation marks. To help you enter the correct syntax, you can select a parameter from the Gateway Editor and click to insert the qualified parameter name into the expression.

Conditional expressions support all types of data—string, integer, float, and Boolean. For example:

'simulation.material'=="steel"
'simulation.numCompositeLayers' >= 5
'simulation.load' < 5000.0 && 'simulation.max deflection' > 1.5
'simulation.isNonlinear'
'Calculator.Parameter2' == true() && 'Calculator.Parameter1'==3

Nested parentheses are supported.