WithinBand block
Requirements.LogicalBlocks.WithinBand
ยท source
Output y is true if input u is within a lower and upper threshold
The output y is true if the Real input u is greater or equal u_min and less or equal u_max. Otherwise the output is false:
y = u ≥ u_min and u ≤ u_max
This block is demonstrated with example ThresholdComparisons.
Parameters
| Name | Type | Description |
|---|---|---|
u_max parameter | Real | Upper threshold |
u_min parameter | Real | Lower threshold |
Components and variables
| Name | Type | Description |
|---|---|---|
u | Modelica.Blocks.Interfaces.RealInput | Connector of Real input signal |
y | Modelica.Blocks.Interfaces.BooleanOutput | Connector of Boolean output signal |