Boolean To Real - MapleSim Help

Home : Support : Online Help : MapleSim : MapleSim Component Library : Signal Blocks : Signal Converters : componentLibrary/signalBlocks/signalConverters/BooleanToReal

Boolean To Real

Converts a Boolean signal to a real signal

Description

The Boolean To Real components converts the Boolean input, $u$, to a real value preset by the parameters,  and . The equation of this component is

 $y=\left\{\begin{array}{cc}\mathrm{realFalse}& u=\mathrm{false}\\ \mathrm{realTrue}& u=\mathrm{true}\end{array}\right\$

Connections

 Name Description $u$ Connection for the Boolean input signal $y$ Connection for the real output signal

Variables

 Symbol Units Description $u$ - Boolean input signal $y$ - Real output signal

Parameters

 Symbol Default Units Description Modelica ID $1.0$ - Output signal for true Boolean input realTrue $0.0$ - Output signal for false Boolean input realFalse

 See Also The components described in this topic are from the Modelica Standard Library. To view the original documentation, which includes author and copyright information, click here.