blockLessEqualThreshold

Output y is true, if input u is less or equal than a threshold

Information

Block that outputs true if the Integer input is less than or equal to the parameter t. Otherwise the output is false.

Parameters

TypeNameDefaultDescription
Integert0Threshold for comparison

Connectors

TypeNameDefaultDescription
Buildings.Controls.OBC.CDL.Interfaces.IntegerInputuInput to be compared
Buildings.Controls.OBC.CDL.Interfaces.BooleanOutputyOutputs true if u is less or equal than the threshold

Revisions

  • August 6, 2020, by Michael Wetter:
    Renamed threshold to t.
    This is for Buildings, issue 2076.
  • August 30, 2017, by Jianjun Hu:
    First implementation, based on the implementation of the Modelica Standard Library.