Real To Boolean - MapleSim Help

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

Real To Boolean

Converts a real signal to a Boolean signal

Description

The Real To Boolean components converts the real input, $u$, to a Boolean value based on the preset threshold, $\mathrm{threshold}$. The equation of this component is

 $y=\left\{\begin{array}{cc}\mathrm{true}& u\ge \mathrm{threshold}\\ \mathrm{false}& \mathrm{otherwise}\end{array}\right\$

Connections

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

Variables

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

Parameters

 Symbol Default Units Description Modelica ID $\mathrm{threshold}$ $0.5$ - If the input signal u is greater than or equal to this value, the output signal, $y$, is true. threshold

 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.