Outputs the number of signals that are above/below a certain threshold
Block that outputs the number of inputs that exceed a threshold.
The parameter kind
is used to determine the kind of the
inequality. The table below shows the allowed settings.
Value of parameter kind |
Output signal incremented by 1 for each i ∈ {1, ..., nin} if |
0 |
u[i] > t |
1 |
u[i] ≥ t |
2 |
u[i] ≤ t |
3 |
u[i] < threShold |
This model may be used to check how many rooms
exceed a temperature threshold.
-
September 8, 2020, by Michael Wetter:
Moved the block to the obsolete package.
This is for
issue 2124.
-
August 6, 2020, by Michael Wetter:
Renamed threshold
to t
.
This is for issue 2076.
-
January 10, 2017, by Milica Grahovac:
Initial CDL implementation.
-
November 21, 2011, by Michael Wetter:
Improved documentation.
-
November 25, 2008, by Michael Wetter:
First implementation.
Generated at 2025-04-03T18:24:42Z
by OpenModelicaOpenModelica 1.24.5 using GenerateDoc.mos