LessEqualThreshold block
Requirements.LogicalBlocks.LessEqualThreshold
ยท source
Output y is true if input u is less or equal than threshold
Extends Requirements.Interfaces.partialThresholdComparison
The output is true if the Real input is less or equal than parameter threshold, otherwise the output is false.
The block extends Interfaces.partialThresholdComparison (Real input u, Boolean output y, parameter threshold with default 0). The comparison is evaluated continuously; a change of the output generates a state event. The Boolean output is typically used as condition or check of a requirement, e.g., converted with BooleanToProperty. See also GreaterThreshold, GreaterEqualThreshold, LessThreshold, WithinBand.
This block is demonstrated with example ThresholdComparisons.