blockLessThreshold

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

Information

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

Parameters

TypeNameDefaultDescription
Integert0Threshold for comparison

Connectors

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

Revisions

  • August 30, 2017, by Jianjun Hu:
    First implementation, based on the implementation of the Modelica Standard Library.