Modelica.Blocks.Routing

Library of blocks to combine and extract signals

Information

This package contains blocks to combine and extract signals.

Extends from Modelica.Icons.Package (Icon for standard packages).

Package Content

Name Description
Modelica.Blocks.Routing.Replicator Replicator Signal replicator
Modelica.Blocks.Routing.IntegerReplicator IntegerReplicator Integer signal replicator
Modelica.Blocks.Routing.BooleanReplicator BooleanReplicator Boolean signal replicator
Modelica.Blocks.Routing.ExtractSignal ExtractSignal Extract signals from an input signal vector
Modelica.Blocks.Routing.Extractor Extractor Extract scalar signal out of signal vector dependent on IntegerRealInput index
Modelica.Blocks.Routing.Multiplex Multiplex Multiplexer block for arbitrary number of input connectors
Modelica.Blocks.Routing.Multiplex2 Multiplex2 Multiplexer block for two input connectors
Modelica.Blocks.Routing.Multiplex3 Multiplex3 Multiplexer block for three input connectors
Modelica.Blocks.Routing.Multiplex4 Multiplex4 Multiplexer block for four input connectors
Modelica.Blocks.Routing.Multiplex5 Multiplex5 Multiplexer block for five input connectors
Modelica.Blocks.Routing.Multiplex6 Multiplex6 Multiplexer block for six input connectors
Modelica.Blocks.Routing.DeMultiplex DeMultiplex DeMultiplexer block for arbitrary number of output connectors
Modelica.Blocks.Routing.DeMultiplex2 DeMultiplex2 DeMultiplexer block for two output connectors
Modelica.Blocks.Routing.DeMultiplex3 DeMultiplex3 DeMultiplexer block for three output connectors
Modelica.Blocks.Routing.DeMultiplex4 DeMultiplex4 DeMultiplexer block for four output connectors
Modelica.Blocks.Routing.DeMultiplex5 DeMultiplex5 DeMultiplexer block for five output connectors
Modelica.Blocks.Routing.DeMultiplex6 DeMultiplex6 DeMultiplexer block for six output connectors
Modelica.Blocks.Routing.RealPassThrough RealPassThrough Pass a Real signal through without modification
Modelica.Blocks.Routing.IntegerPassThrough IntegerPassThrough Pass a Integer signal through without modification
Modelica.Blocks.Routing.BooleanPassThrough BooleanPassThrough Pass a Boolean signal through without modification

Modelica.Blocks.Routing.Replicator Modelica.Blocks.Routing.Replicator

Signal replicator

Information

This block replicates the input signal to an array of nout identical output signals.

Extends from Modelica.Blocks.Interfaces.SIMO (Single Input Multiple Output continuous control block).

Parameters

NameDescription
noutNumber of outputs

Connectors

NameDescription
uConnector of Real input signal
y[nout]Connector of Real output signals

Modelica.Blocks.Routing.IntegerReplicator Modelica.Blocks.Routing.IntegerReplicator

Integer signal replicator

Information

This block replicates the Integer input signal to an array of nout identical Integer output signals.

Extends from Modelica.Blocks.Icons.IntegerBlock (Basic graphical layout of Integer block).

Parameters

NameDescription
noutNumber of outputs

Connectors

NameDescription
uConnector of Integer input signal
y[nout]Connector of Integer output signals

Modelica.Blocks.Routing.BooleanReplicator Modelica.Blocks.Routing.BooleanReplicator

Boolean signal replicator

Information

This block replicates the Boolean input signal to an array of nout identical Boolean output signals.

Extends from Modelica.Blocks.Icons.BooleanBlock (Basic graphical layout of Boolean block).

Parameters

NameDescription
noutNumber of outputs

Connectors

NameDescription
uConnector of Boolean input signal
y[nout]Connector of Boolean output signals

Modelica.Blocks.Routing.ExtractSignal Modelica.Blocks.Routing.ExtractSignal

Extract signals from an input signal vector

Information

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. 2

Extends from Modelica.Blocks.Interfaces.MIMO (Multiple Input Multiple Output continuous control block).

Parameters

NameDescription
ninNumber of inputs
noutNumber of outputs
extract[nout]Extracting vector

Connectors

NameDescription
u[nin]Connector of Real input signals
y[nout]Connector of Real output signals

Modelica.Blocks.Routing.Extractor Modelica.Blocks.Routing.Extractor

Extract scalar signal out of signal vector dependent on IntegerRealInput index

Information

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).

Parameters

NameDescription
ninNumber of inputs
allowOutOfRangeIndex may be out of range
outOfRangeValueOutput signal if index is out of range

Connectors

NameDescription
u[nin]Connector of Real input signals
yConnector of Real output signal
index 

Modelica.Blocks.Routing.Multiplex Modelica.Blocks.Routing.Multiplex

Multiplexer block for arbitrary number of input connectors

Information

The output connector is the concatenation of the input connectors.

Extends from Modelica.Blocks.Icons.Block (Basic graphical layout of input/output block).

Connectors

NameDescription
u[n]Connector of Real input signals
y[n + 0]Connector of Real output signals

Modelica.Blocks.Routing.Multiplex2 Modelica.Blocks.Routing.Multiplex2

Multiplexer block for two input connectors

Information

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).

Parameters

NameDescription
n1Dimension of input signal connector 1
n2Dimension of input signal connector 2

Connectors

NameDescription
u1[n1]Connector of Real input signals 1
u2[n2]Connector of Real input signals 2
y[n1 + n2]Connector of Real output signals

Modelica.Blocks.Routing.Multiplex3 Modelica.Blocks.Routing.Multiplex3

Multiplexer block for three input connectors

Information

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).

Parameters

NameDescription
n1Dimension of input signal connector 1
n2Dimension of input signal connector 2
n3Dimension of input signal connector 3

Connectors

NameDescription
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

Modelica.Blocks.Routing.Multiplex4 Modelica.Blocks.Routing.Multiplex4

Multiplexer block for four input connectors

Information

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).

Parameters

NameDescription
n1Dimension of input signal connector 1
n2Dimension of input signal connector 2
n3Dimension of input signal connector 3
n4Dimension of input signal connector 4

Connectors

NameDescription
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

Modelica.Blocks.Routing.Multiplex5 Modelica.Blocks.Routing.Multiplex5

Multiplexer block for five input connectors

Information

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).

Parameters

NameDescription
n1Dimension of input signal connector 1
n2Dimension of input signal connector 2
n3Dimension of input signal connector 3
n4Dimension of input signal connector 4
n5Dimension of input signal connector 5

Connectors

NameDescription
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

Modelica.Blocks.Routing.Multiplex6 Modelica.Blocks.Routing.Multiplex6

Multiplexer block for six input connectors

Information

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).

Parameters

NameDescription
n1Dimension of input signal connector 1
n2Dimension of input signal connector 2
n3Dimension of input signal connector 3
n4Dimension of input signal connector 4
n5Dimension of input signal connector 5
n6Dimension of input signal connector 6

Connectors

NameDescription
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

Modelica.Blocks.Routing.DeMultiplex Modelica.Blocks.Routing.DeMultiplex

DeMultiplexer block for arbitrary number of output connectors

Information

The input connector is split up into output connectors.

Extends from Modelica.Blocks.Icons.Block (Basic graphical layout of input/output block).

Connectors

NameDescription
u[n + 0]Connector of Real input signals
y[n]Connector of Real output signals

Modelica.Blocks.Routing.DeMultiplex2 Modelica.Blocks.Routing.DeMultiplex2

DeMultiplexer block for two output connectors

Information

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).

Parameters

NameDescription
n1Dimension of output signal connector 1
n2Dimension of output signal connector 2

Connectors

NameDescription
u[n1 + n2]Connector of Real input signals
y1[n1]Connector of Real output signals 1
y2[n2]Connector of Real output signals 2

Modelica.Blocks.Routing.DeMultiplex3 Modelica.Blocks.Routing.DeMultiplex3

DeMultiplexer block for three output connectors

Information

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).

Parameters

NameDescription
n1Dimension of output signal connector 1
n2Dimension of output signal connector 2
n3Dimension of output signal connector 3

Connectors

NameDescription
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

Modelica.Blocks.Routing.DeMultiplex4 Modelica.Blocks.Routing.DeMultiplex4

DeMultiplexer block for four output connectors

Information

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).

Parameters

NameDescription
n1Dimension of output signal connector 1
n2Dimension of output signal connector 2
n3Dimension of output signal connector 3
n4Dimension of output signal connector 4

Connectors

NameDescription
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

Modelica.Blocks.Routing.DeMultiplex5 Modelica.Blocks.Routing.DeMultiplex5

DeMultiplexer block for five output connectors

Information

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).

Parameters

NameDescription
n1Dimension of output signal connector 1
n2Dimension of output signal connector 2
n3Dimension of output signal connector 3
n4Dimension of output signal connector 4
n5Dimension of output signal connector 5

Connectors

NameDescription
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

Modelica.Blocks.Routing.DeMultiplex6 Modelica.Blocks.Routing.DeMultiplex6

DeMultiplexer block for six output connectors

Information

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).

Parameters

NameDescription
n1Dimension of output signal connector 1
n2Dimension of output signal connector 2
n3Dimension of output signal connector 3
n4Dimension of output signal connector 4
n5Dimension of output signal connector 5
n6Dimension of output signal connector 6

Connectors

NameDescription
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

Modelica.Blocks.Routing.RealPassThrough Modelica.Blocks.Routing.RealPassThrough

Pass a Real signal through without modification

Information

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.Interfaces.SISO (Single Input Single Output continuous control block).

Connectors

NameDescription
uConnector of Real input signal
yConnector of Real output signal

Modelica.Blocks.Routing.IntegerPassThrough Modelica.Blocks.Routing.IntegerPassThrough

Pass a Integer signal through without modification

Information

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).

Connectors

NameDescription
uInput signal
yOutput signal

Modelica.Blocks.Routing.BooleanPassThrough Modelica.Blocks.Routing.BooleanPassThrough

Pass a Boolean signal through without modification

Information

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.Interfaces.BooleanSISO (Single Input Single Output control block with signals of type Boolean).

Connectors

NameDescription
uConnector of Boolean input signal
yConnector of Boolean output signal
Automatically generated Thu Oct 1 16:07:34 2020.