Modelica.ComplexBlocks.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.ComplexBlocks.Routing.Replicator Replicator Signal replicator
Modelica.ComplexBlocks.Routing.ExtractSignal ExtractSignal Extract signals from an input signal vector
Modelica.ComplexBlocks.Routing.Extractor Extractor Extract scalar signal out of signal vector dependent on IntegerRealInput index
Modelica.ComplexBlocks.Routing.ComplexPassThrough ComplexPassThrough Pass a Complex signal through without modification

Modelica.ComplexBlocks.Routing.Replicator Modelica.ComplexBlocks.Routing.Replicator

Signal replicator

Information

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

Extends from Modelica.ComplexBlocks.Interfaces.ComplexSIMO (Single Input Multiple Output continuous control block).

Parameters

NameDescription
noutNumber of outputs
useConjugateInputIf true, input is processed conjugate complex

Connectors

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

Modelica.ComplexBlocks.Routing.ExtractSignal Modelica.ComplexBlocks.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.ComplexBlocks.Interfaces.ComplexMIMO (Multiple Input Multiple Output continuous control block).

Parameters

NameDescription
ninNumber of inputs
noutNumber of outputs
useConjugateInput[nin]If true, inputs are processed conjugate complex
extract[nout]Extracting vector

Connectors

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

Modelica.ComplexBlocks.Routing.Extractor Modelica.ComplexBlocks.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.ComplexBlocks.Interfaces.ComplexMISO (Multiple Input Single Output continuous control block).

Parameters

NameDescription
ninNumber of inputs
useConjugateInput[nin]If true, inputs are processed conjugate complex
allowOutOfRangeIndex may be out of range
outOfRangeValueOutput signal if index is out of range

Connectors

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

Modelica.ComplexBlocks.Routing.ComplexPassThrough Modelica.ComplexBlocks.Routing.ComplexPassThrough

Pass a Complex signal through without modification

Information

Passes a Complex 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.ComplexBlocks.Interfaces.ComplexSISO (Single Input Single Output continuous control block).

Parameters

NameDescription
useConjugateInputIf true, input is processed conjugate complex

Connectors

NameDescription
uConnector of Complex input signal
yConnector of Complex output signal
Automatically generated Thu Dec 19 17:19:53 2019.