GreaterThreshold block

Requirements.LogicalBlocks.GreaterThreshold  ยท source

Icon of GreaterThreshold

Output y is true if input u is greater than threshold

Extends Requirements.Interfaces.partialThresholdComparison

The output is true if the Real input is greater 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 GreaterEqualThreshold, LessThreshold, LessEqualThreshold, WithinBand.

This block is demonstrated with example ThresholdComparisons.