Boolean To Real - MapleSim Help

Online Help

All Products    Maple    MapleSim


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

Boolean To Real

Convert Boolean to Real signal

 

Description

Equations

Connections

Parameters

Modelica Standard Library

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={Real TrueuReal Falseotherwise

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.

See Also

Signal Blocks

Signal Converters