Real To Boolean - MapleSim Help

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