blockSignalRanker
Ranks output signals such that y[i] >= y[i+1]
Extends from Modelica.Blocks.Interfaces.MIMO (Multiple Input Multiple Output continuous control block).
Information
Block that sorts the input signal u[:] such that the output
signal satisfies y[i] >= y[i+1] for all i=1, ..., nin-1.
This block may for example be used in a variable air volume flow controller to access the position of the dampers that are most open.
Parameters
| Type | Name | Default | Description |
|---|---|---|---|
| Integer | nin (from MIMO) | 1 | Number of inputs |
| Integer | nout (from MIMO) | 1 | Number of outputs |
Connectors
| Type | Name | Default | Description |
|---|---|---|---|
| RealInput[nin] | u (from MIMO) | Connector of Real input signals | |
| RealOutput[nout] | y (from MIMO) | Connector of Real output signals |
Revisions
-
October 15, 2021, by Michael Wetter:
Changed implementation to use sort function from Modelica Standard Library.
This is for IBPSA, #1534. -
November 21, 2011, by Michael Wetter:
Removedassertstatement. -
November 25, 2008, by Michael Wetter:
First implementation.