This package contains blocks to combine and extract signals.
Extends from Modelica.Icons.Package (Icon for standard packages).Name | Description |
---|---|
Replicator | Signal replicator |
ExtractSignal | Extract signals from an input signal vector |
Extractor | Extract scalar signal out of signal vector dependent on IntegerRealInput index |
Multiplex2 | Multiplexer block for two input connectors |
Multiplex3 | Multiplexer block for three input connectors |
Multiplex4 | Multiplexer block for four input connectors |
Multiplex5 | Multiplexer block for five input connectors |
Multiplex6 | Multiplexer block for six input connectors |
DeMultiplex2 | DeMultiplexer block for two output connectors |
DeMultiplex3 | DeMultiplexer block for three output connectors |
DeMultiplex4 | DeMultiplexer block for four output connectors |
DeMultiplex5 | DeMultiplexer block for five output connectors |
DeMultiplex6 | DeMultiplexer block for six output connectors |
RealPassThrough | Pass a Real signal through without modification |
IntegerPassThrough | Pass a Integer signal through without modification |
BooleanPassThrough | Pass a Boolean signal through without modification |
This block replicates the input signal to an array of nout
identical output signals.
Name | Description |
---|---|
nout | Number of outputs |
Name | Description |
---|---|
u | Connector of Real input signal |
y[nout] | Connector of Real output signals |
Extract signals from the input connector and transfer them to the output connector.
The extracting scheme is given by the integer vector 'extract'. This vector specifies, which input signals are taken and in which order they are transferred to the output vector. Note, that the dimension of 'extract' has to match the number of outputs. Additionally, the dimensions of the input connector signals and the output connector signals have to be explicitly defined via the parameters 'nin' and 'nout'.
Example:
nin = 7 "Number of inputs"; nout = 4 "Number of outputs"; extract[nout] = {6,3,3,2} "Extracting vector";
extracts four output signals (nout=4) from the seven elements of the input vector (nin=7):
output no. 1 is set equal to input no. 6 output no. 2 is set equal to input no. 3 output no. 3 is set equal to input no. 3 output no. 4 is set equal to input no. 2Extends from Modelica.Blocks.Interfaces.MIMO (Multiple Input Multiple Output continuous control block).
Name | Description |
---|---|
nin | Number of inputs |
nout | Number of outputs |
extract[nout] | Extracting vector |
Name | Description |
---|---|
u[nin] | Connector of Real input signals |
y[nout] | Connector of Real output signals |
This block extracts a scalar output signal out the vector of input signals dependent on the Integer value of the additional u index:
y = u [ index ] ;
where index is an additional Integer input signal.
Extends from Modelica.Blocks.Interfaces.MISO (Multiple Input Single Output continuous control block).
Name | Description |
---|---|
nin | Number of inputs |
allowOutOfRange | Index may be out of range |
outOfRangeValue | Output signal if index is out of range |
Name | Description |
---|---|
u[nin] | Connector of Real input signals |
y | Connector of Real output signal |
index |
The output connector is the concatenation of the two input connectors. Note, that the dimensions of the input connector signals have to be explicitly defined via parameters n1 and n2.
Extends from Modelica.Blocks.Icons.Block (Basic graphical layout of input/output block).
Name | Description |
---|---|
n1 | dimension of input signal connector 1 |
n2 | dimension of input signal connector 2 |
Name | Description |
---|---|
u1[n1] | Connector of Real input signals 1 |
u2[n2] | Connector of Real input signals 2 |
y[n1 + n2] | Connector of Real output signals |
The output connector is the concatenation of the three input connectors. Note, that the dimensions of the input connector signals have to be explicitly defined via parameters n1, n2 and n3.
Extends from Modelica.Blocks.Icons.Block (Basic graphical layout of input/output block).
Name | Description |
---|---|
n1 | dimension of input signal connector 1 |
n2 | dimension of input signal connector 2 |
n3 | dimension of input signal connector 3 |
Name | Description |
---|---|
u1[n1] | Connector of Real input signals 1 |
u2[n2] | Connector of Real input signals 2 |
u3[n3] | Connector of Real input signals 3 |
y[n1 + n2 + n3] | Connector of Real output signals |
The output connector is the concatenation of the four input connectors. Note, that the dimensions of the input connector signals have to be explicitly defined via parameters n1, n2, n3 and n4.
Extends from Modelica.Blocks.Icons.Block (Basic graphical layout of input/output block).
Name | Description |
---|---|
n1 | dimension of input signal connector 1 |
n2 | dimension of input signal connector 2 |
n3 | dimension of input signal connector 3 |
n4 | dimension of input signal connector 4 |
Name | Description |
---|---|
u1[n1] | Connector of Real input signals 1 |
u2[n2] | Connector of Real input signals 2 |
u3[n3] | Connector of Real input signals 3 |
u4[n4] | Connector of Real input signals 4 |
y[n1 + n2 + n3 + n4] | Connector of Real output signals |
The output connector is the concatenation of the five input connectors. Note, that the dimensions of the input connector signals have to be explicitly defined via parameters n1, n2, n3, n4 and n5.
Extends from Modelica.Blocks.Icons.Block (Basic graphical layout of input/output block).
Name | Description |
---|---|
n1 | dimension of input signal connector 1 |
n2 | dimension of input signal connector 2 |
n3 | dimension of input signal connector 3 |
n4 | dimension of input signal connector 4 |
n5 | dimension of input signal connector 5 |
Name | Description |
---|---|
u1[n1] | Connector of Real input signals 1 |
u2[n2] | Connector of Real input signals 2 |
u3[n3] | Connector of Real input signals 3 |
u4[n4] | Connector of Real input signals 4 |
u5[n5] | Connector of Real input signals 5 |
y[n1 + n2 + n3 + n4 + n5] | Connector of Real output signals |
The output connector is the concatenation of the six input connectors. Note, that the dimensions of the input connector signals have to be explicitly defined via parameters n1, n2, n3, n4, n5 and n6.
Extends from Modelica.Blocks.Icons.Block (Basic graphical layout of input/output block).
Name | Description |
---|---|
n1 | dimension of input signal connector 1 |
n2 | dimension of input signal connector 2 |
n3 | dimension of input signal connector 3 |
n4 | dimension of input signal connector 4 |
n5 | dimension of input signal connector 5 |
n6 | dimension of input signal connector 6 |
Name | Description |
---|---|
u1[n1] | Connector of Real input signals 1 |
u2[n2] | Connector of Real input signals 2 |
u3[n3] | Connector of Real input signals 3 |
u4[n4] | Connector of Real input signals 4 |
u5[n5] | Connector of Real input signals 5 |
u6[n6] | Connector of Real input signals 6 |
y[n1 + n2 + n3 + n4 + n5 + n6] | Connector of Real output signals |
The input connector is split up into two output connectors. Note, that the dimensions of the output connector signals have to be explicitly defined via parameters n1 and n2.
Extends from Modelica.Blocks.Icons.Block (Basic graphical layout of input/output block).
Name | Description |
---|---|
n1 | dimension of output signal connector 1 |
n2 | dimension of output signal connector 2 |
Name | Description |
---|---|
u[n1 + n2] | Connector of Real input signals |
y1[n1] | Connector of Real output signals 1 |
y2[n2] | Connector of Real output signals 2 |
The input connector is split into three output connectors. Note, that the dimensions of the output connector signals have to be explicitly defined via parameters n1, n2 and n3.
Extends from Modelica.Blocks.Icons.Block (Basic graphical layout of input/output block).
Name | Description |
---|---|
n1 | dimension of output signal connector 1 |
n2 | dimension of output signal connector 2 |
n3 | dimension of output signal connector 3 |
Name | Description |
---|---|
u[n1 + n2 + n3] | Connector of Real input signals |
y1[n1] | Connector of Real output signals 1 |
y2[n2] | Connector of Real output signals 2 |
y3[n3] | Connector of Real output signals 3 |
The input connector is split into four output connectors. Note, that the dimensions of the output connector signals have to be explicitly defined via parameters n1, n2, n3 and n4.
Extends from Modelica.Blocks.Icons.Block (Basic graphical layout of input/output block).
Name | Description |
---|---|
n1 | dimension of output signal connector 1 |
n2 | dimension of output signal connector 2 |
n3 | dimension of output signal connector 3 |
n4 | dimension of output signal connector 4 |
Name | Description |
---|---|
u[n1 + n2 + n3 + n4] | Connector of Real input signals |
y1[n1] | Connector of Real output signals 1 |
y2[n2] | Connector of Real output signals 2 |
y3[n3] | Connector of Real output signals 3 |
y4[n4] | Connector of Real output signals 4 |
The input connector is split into five output connectors. Note, that the dimensions of the output connector signals have to be explicitly defined via parameters n1, n2, n3, n4 and n5.
Extends from Modelica.Blocks.Icons.Block (Basic graphical layout of input/output block).
Name | Description |
---|---|
n1 | dimension of output signal connector 1 |
n2 | dimension of output signal connector 2 |
n3 | dimension of output signal connector 3 |
n4 | dimension of output signal connector 4 |
n5 | dimension of output signal connector 5 |
Name | Description |
---|---|
u[n1 + n2 + n3 + n4 + n5] | Connector of Real input signals |
y1[n1] | Connector of Real output signals 1 |
y2[n2] | Connector of Real output signals 2 |
y3[n3] | Connector of Real output signals 3 |
y4[n4] | Connector of Real output signals 4 |
y5[n5] | Connector of Real output signals 5 |
The input connector is split into six output connectors. Note, that the dimensions of the output connector signals have to be explicitly defined via parameters n1, n2, n3, n4, n5 and n6.
Extends from Modelica.Blocks.Icons.Block (Basic graphical layout of input/output block).
Name | Description |
---|---|
n1 | dimension of output signal connector 1 |
n2 | dimension of output signal connector 2 |
n3 | dimension of output signal connector 3 |
n4 | dimension of output signal connector 4 |
n5 | dimension of output signal connector 5 |
n6 | dimension of output signal connector 6 |
Name | Description |
---|---|
u[n1 + n2 + n3 + n4 + n5 + n6] | Connector of Real input signals |
y1[n1] | Connector of Real output signals 1 |
y2[n2] | Connector of Real output signals 2 |
y3[n3] | Connector of Real output signals 3 |
y4[n4] | Connector of Real output signals 4 |
y5[n5] | Connector of Real output signals 5 |
y6[n6] | Connector of Real output signals 6 |
Passes a Real signal through without modification. Enables signals to be read out of one bus, have their name changed and be sent back to a bus.
Extends from Modelica.Blocks.Icons.Block (Basic graphical layout of input/output block).
Name | Description |
---|---|
u | Input signal |
y | Output signal |
Passes a Integer signal through without modification. Enables signals to be read out of one bus, have their name changed and be sent back to a bus.
Extends from Modelica.Blocks.Icons.IntegerBlock (Basic graphical layout of Integer block).
Name | Description |
---|---|
u | Input signal |
y | Output signal |
Passes a Boolean signal through without modification. Enables signals to be read out of one bus, have their name changed and be sent back to a bus.
Extends from Modelica.Blocks.Icons.BooleanBlock (Basic graphical layout of Boolean block).
Name | Description |
---|---|
u | Input signal |
y | Output signal |