RealToBoolean

Convert Real to Boolean signal

Information

This information is part of the Modelica Standard Library maintained by the Modelica Association.

This block computes the Boolean output y from the Real input u by the equation:

y = u ≥ threshold;

where threshold is a parameter.

Parameters (1)

threshold

Value: 0.5

Type: Real

Description: Output signal y is true, if input u >= threshold

Connectors (2)

y

Type: BooleanOutput

Description: Connector of Boolean output signal

u

Type: RealInput

Description: Connector of Real input signal

Used in Components (1)

BooleanTable

Modelica.Blocks.Sources

Generate a Boolean output signal based on a vector of time instants