Package 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 Contents

NameDescription
BooleanPassThroughPass a Boolean signal through without modification
BooleanReplicatorBoolean signal replicator
DeMultiplexDeMultiplexer block for arbitrary number of output connectors
DeMultiplex2DeMultiplexer block for two output connectors
DeMultiplex3DeMultiplexer block for three output connectors
DeMultiplex4DeMultiplexer block for four output connectors
DeMultiplex5DeMultiplexer block for five output connectors
DeMultiplex6DeMultiplexer block for six output connectors
ExtractorExtract scalar signal out of signal vector dependent on IntegerRealInput index
ExtractSignalExtract signals from an input signal vector
IntegerPassThroughPass a Integer signal through without modification
IntegerReplicatorInteger signal replicator
MultiplexMultiplexer block for arbitrary number of input connectors
Multiplex2Multiplexer block for two input connectors
Multiplex3Multiplexer block for three input connectors
Multiplex4Multiplexer block for four input connectors
Multiplex5Multiplexer block for five input connectors
Multiplex6Multiplexer block for six input connectors
RealPassThroughPass a Real signal through without modification
ReplicatorSignal replicator

Block 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

TypeNameDefaultDescription
Integernout1Number of outputs

Connectors

TypeNameDescription
input RealInputuConnector of Real input signal
output RealOutputy[nout]Connector of Real output signals

Block 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

TypeNameDefaultDescription
Integernout1Number of outputs

Connectors

TypeNameDescription
input IntegerInputuConnector of Integer input signal
output IntegerOutputy[nout]Connector of Integer output signals

Block 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

TypeNameDefaultDescription
Integernout1Number of outputs

Connectors

TypeNameDescription
input BooleanInputuConnector of Boolean input signal
output BooleanOutputy[nout]Connector of Boolean output signals

Block 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

TypeNameDefaultDescription
Integernin1Number of inputs
Integernout1Number of outputs
Integerextract[nout]1:noutExtracting vector

Connectors

TypeNameDescription
input RealInputu[nin]Connector of Real input signals
output RealOutputy[nout]Connector of Real output signals

Block 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

TypeNameDefaultDescription
Integernin1Number of inputs
BooleanallowOutOfRangefalseIndex may be out of range
RealoutOfRangeValue1e+10Output signal if index is out of range

Connectors

TypeNameDescription
input RealInputu[nin]Connector of Real input signals
output RealOutputyConnector of Real output signal
input IntegerInputindex 

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

Parameters

TypeNameDefaultDescription
Integern0Dimension of input signal connector

Connectors

TypeNameDescription
input RealVectorInputu[n]Connector of Real input signals
output RealOutputy[n + 0]Connector of Real output signals

Block 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

TypeNameDefaultDescription
Integern11Dimension of input signal connector 1
Integern21Dimension of input signal connector 2

Connectors

TypeNameDescription
input RealInputu1[n1]Connector of Real input signals 1
input RealInputu2[n2]Connector of Real input signals 2
output RealOutputy[n1 + n2]Connector of Real output signals

Block 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

TypeNameDefaultDescription
Integern11Dimension of input signal connector 1
Integern21Dimension of input signal connector 2
Integern31Dimension of input signal connector 3

Connectors

TypeNameDescription
input RealInputu1[n1]Connector of Real input signals 1
input RealInputu2[n2]Connector of Real input signals 2
input RealInputu3[n3]Connector of Real input signals 3
output RealOutputy[n1 + n2 + n3]Connector of Real output signals

Block 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

TypeNameDefaultDescription
Integern11Dimension of input signal connector 1
Integern21Dimension of input signal connector 2
Integern31Dimension of input signal connector 3
Integern41Dimension of input signal connector 4

Connectors

TypeNameDescription
input RealInputu1[n1]Connector of Real input signals 1
input RealInputu2[n2]Connector of Real input signals 2
input RealInputu3[n3]Connector of Real input signals 3
input RealInputu4[n4]Connector of Real input signals 4
output RealOutputy[n1 + n2 + n3 + n4]Connector of Real output signals

Block 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

TypeNameDefaultDescription
Integern11Dimension of input signal connector 1
Integern21Dimension of input signal connector 2
Integern31Dimension of input signal connector 3
Integern41Dimension of input signal connector 4
Integern51Dimension of input signal connector 5

Connectors

TypeNameDescription
input RealInputu1[n1]Connector of Real input signals 1
input RealInputu2[n2]Connector of Real input signals 2
input RealInputu3[n3]Connector of Real input signals 3
input RealInputu4[n4]Connector of Real input signals 4
input RealInputu5[n5]Connector of Real input signals 5
output RealOutputy[n1 + n2 + n3 + n4 + n5]Connector of Real output signals

Block 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

TypeNameDefaultDescription
Integern11Dimension of input signal connector 1
Integern21Dimension of input signal connector 2
Integern31Dimension of input signal connector 3
Integern41Dimension of input signal connector 4
Integern51Dimension of input signal connector 5
Integern61Dimension of input signal connector 6

Connectors

TypeNameDescription
input RealInputu1[n1]Connector of Real input signals 1
input RealInputu2[n2]Connector of Real input signals 2
input RealInputu3[n3]Connector of Real input signals 3
input RealInputu4[n4]Connector of Real input signals 4
input RealInputu5[n5]Connector of Real input signals 5
input RealInputu6[n6]Connector of Real input signals 6
output RealOutputy[n1 + n2 + n3 + n4 + n5 + n6]Connector of Real output signals

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

Parameters

TypeNameDefaultDescription
Integern0Dimension of output signal connector

Connectors

TypeNameDescription
input RealInputu[n + 0]Connector of Real input signals
output RealVectorOutputy[n]Connector of Real output signals

Block 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

TypeNameDefaultDescription
Integern11Dimension of output signal connector 1
Integern21Dimension of output signal connector 2

Connectors

TypeNameDescription
input RealInputu[n1 + n2]Connector of Real input signals
output RealOutputy1[n1]Connector of Real output signals 1
output RealOutputy2[n2]Connector of Real output signals 2

Block 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

TypeNameDefaultDescription
Integern11Dimension of output signal connector 1
Integern21Dimension of output signal connector 2
Integern31Dimension of output signal connector 3

Connectors

TypeNameDescription
input RealInputu[n1 + n2 + n3]Connector of Real input signals
output RealOutputy1[n1]Connector of Real output signals 1
output RealOutputy2[n2]Connector of Real output signals 2
output RealOutputy3[n3]Connector of Real output signals 3

Block 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

TypeNameDefaultDescription
Integern11Dimension of output signal connector 1
Integern21Dimension of output signal connector 2
Integern31Dimension of output signal connector 3
Integern41Dimension of output signal connector 4

Connectors

TypeNameDescription
input RealInputu[n1 + n2 + n3 + n4]Connector of Real input signals
output RealOutputy1[n1]Connector of Real output signals 1
output RealOutputy2[n2]Connector of Real output signals 2
output RealOutputy3[n3]Connector of Real output signals 3
output RealOutputy4[n4]Connector of Real output signals 4

Block 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

TypeNameDefaultDescription
Integern11Dimension of output signal connector 1
Integern21Dimension of output signal connector 2
Integern31Dimension of output signal connector 3
Integern41Dimension of output signal connector 4
Integern51Dimension of output signal connector 5

Connectors

TypeNameDescription
input RealInputu[n1 + n2 + n3 + n4 + n5]Connector of Real input signals
output RealOutputy1[n1]Connector of Real output signals 1
output RealOutputy2[n2]Connector of Real output signals 2
output RealOutputy3[n3]Connector of Real output signals 3
output RealOutputy4[n4]Connector of Real output signals 4
output RealOutputy5[n5]Connector of Real output signals 5

Block 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

TypeNameDefaultDescription
Integern11Dimension of output signal connector 1
Integern21Dimension of output signal connector 2
Integern31Dimension of output signal connector 3
Integern41Dimension of output signal connector 4
Integern51Dimension of output signal connector 5
Integern61Dimension of output signal connector 6

Connectors

TypeNameDescription
input RealInputu[n1 + n2 + n3 + n4 + n5 + n6]Connector of Real input signals
output RealOutputy1[n1]Connector of Real output signals 1
output RealOutputy2[n2]Connector of Real output signals 2
output RealOutputy3[n3]Connector of Real output signals 3
output RealOutputy4[n4]Connector of Real output signals 4
output RealOutputy5[n5]Connector of Real output signals 5
output RealOutputy6[n6]Connector of Real output signals 6

Model 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

TypeNameDescription
input RealInputuConnector of Real input signal
output RealOutputyConnector of Real output signal

Model 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

TypeNameDescription
input IntegerInputuInput signal
output IntegerOutputyOutput signal

Model 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

TypeNameDescription
input BooleanInputuConnector of Boolean input signal
output BooleanOutputyConnector of Boolean output signal

Generated 2018-12-12 12:09:57 EST by MapleSim.