blockConstraintViolation
Block that outputs the fraction of time when a constraint is violated
Information
Block that outputs the running fractional time during which any element ui of the input signal is not within umin ≤ ui ≤ umax.
Parameters
| Type | Name | Default | Description |
|---|---|---|---|
| Real | uMin | Minimum value for input | |
| Real | uMax | Maximum value for input | |
| Integer | nu | 0 | Number of input connections |
Connectors
| Type | Name | Default | Description |
|---|---|---|---|
| Buildings.Controls.OBC.CDL.Interfaces.RealInput[nu] | u | Variables of interest | |
| Buildings.Controls.OBC.CDL.Interfaces.RealOutput | y | Fraction of time when the constraint is violated |
Components
| Type | Name | Default | Description |
|---|---|---|---|
| Modelica.Units.SI.Time | t | Integral of violated time |
Revisions
-
January 12, 2020, by Michael Wetter:
Added documentation.