Boolean To Real
Convert Boolean to Real signal
Description
Equations
Connections
Parameters
Modelica Standard Library
The Boolean To Real component converts the Boolean input to an real value preset by the parameters Real True and Real False.
y={Real TrueuReal Falseotherwise
Name
Modelica ID
u
Boolean input signal
y
Real output signal
Default
Units
Real True
1
Output signal for true Boolean input
realTrue
Real False
0
Output signal for false Boolean input
realFalse
The component described in this topic is from the Modelica Standard Library. To view the original documentation, which includes author and copyright information, click here.
See Also
Signal Blocks
Signal Converters
Download Help Document