blockConditionalForward

Forwards the first input if it is positive or if the second input is negative and returns a third (optional) one if neither one of the conditions is valid.

Parameters

TypeNameDefaultDescription
Realu30

Connectors

TypeNameDefaultDescription
Modelica.Blocks.Interfaces.RealInputu1The first input
Modelica.Blocks.Interfaces.RealInputu2The second input
Modelica.Blocks.Interfaces.RealInputu3The failing case input
Modelica.Blocks.Interfaces.RealOutputyOutput signal connector