Less than

True while u1 < u2.

  • signal
  • Boolean
  • Modelica Standard Library
  • 3 ports
BlockLess thanKindlessLibraryLogic

Description

Compares two signals: true while u1 is strictly less than u2.

Example

Comparators A sine compared with thresholds, with a ramp, and through a hysteresis band.

sin(πt)t / 4Above 0.5Below −0.5Hysteresis ±0.5Sine > rampSine < ramp
In Gradara, select a Less than block and press F1, then choose Open example. It opens as a new model in My models, ready to run.

Also in this example:RampSine waveGreater than thresholdLess than thresholdGreater thanHysteresis

Ports

Inputs 2

  • u1

    First Real input.

  • u2

    Second Real input, in the same units as u1.

Outputs 1

  • y

    True while u1 < u2.

Equations

Modelica
y = u1 < u2

Implementation

Modelica Standard Library 4.1.0Modelica.Blocks.Logical.Less
MSL documentation

Assumptions and limitations

  • No hysteresis; equal inputs give false.

See also

Select a block in Gradara and press F1 to open its page offline.