This information is part of the Modelica Standard Library maintained by the Modelica Association.

BooleanToReal

Convert Boolean to Real signal

Information
CONNECTORS
CLOSE ALL
NameTypeDescription
uBooleanInputConnector of Boolean input signal
yRealOutputConnector of Real output signal
PARAMETERS
NameTypeDefault ValueDescription
realTrueReal1.0Output signal for true Boolean input
realFalseReal0.0Output signal for false Boolean input