Boolean To Real - MapleSim Help

Boolean To Real

Convert Boolean to Real signal

 Description The Boolean To Real component converts the Boolean input to an real value preset by the parameters Real True and Real False.
 Equations $y=\left\{\begin{array}{cc}\mathrm{Real True}& u\\ \mathrm{Real False}& \mathrm{otherwise}\end{array}$

Connections

 Name Description Modelica ID $u$ Boolean input signal u $y$ Real output signal y

Parameters

 Name Default Units Description Modelica ID Real True $1$ Output signal for true Boolean input realTrue Real False $0$ Output signal for false Boolean input realFalse

 Modelica Standard Library 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.