This package contains blocks to combine and extract signals.
Extends from Modelica.Icons.Package
(Icon for standard packages).
Name | Description |
---|---|
ComplexPassThrough | Pass a Complex signal through without modification |
Extractor | Extract scalar signal out of signal vector dependent on IntegerRealInput index |
ExtractSignal | Extract signals from an input signal vector |
Replicator | Signal replicator |
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).
Type | Name | Default | Description |
---|---|---|---|
Integer | nout | 1 | Number of outputs |
Boolean | useConjugateInput | false | If true, input is processed conjugate complex |
Type | Name | Description |
---|---|---|
input ComplexInput | u | Connector of Complex input signal |
output ComplexOutput | y[nout] | Connector of Complex 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. 2
Extends from Modelica.ComplexBlocks.Interfaces.ComplexMIMO
(Multiple Input Multiple Output continuous control block).
Type | Name | Default | Description |
---|---|---|---|
Integer | nin | 1 | Number of inputs |
Integer | nout | 1 | Number of outputs |
Boolean | useConjugateInput[nin] | fill(false, nin) | If true, inputs are processed conjugate complex |
Integer | extract[nout] | 1:nout | Extracting vector |
Type | Name | Description |
---|---|---|
input ComplexInput | u[nin] | Connector of Complex input signals |
output ComplexOutput | y[nout] | Connector of Complex 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.ComplexBlocks.Interfaces.ComplexMISO
(Multiple Input Single Output continuous control block).
Type | Name | Default | Description |
---|---|---|---|
Integer | nin | 1 | Number of inputs |
Boolean | useConjugateInput[nin] | fill(false, nin) | If true, inputs are processed conjugate complex |
Boolean | allowOutOfRange | false | Index may be out of range |
Complex | outOfRangeValue | Complex(1e+10, 0) | Output signal if index is out of range |
Type | Name | Description |
---|---|---|
input ComplexInput | u[nin] | Connector of Complex input signals |
output ComplexOutput | y | Connector of Complex output signal |
input IntegerInput | index |   |
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.Blocks.Interfaces.SISO
(Single Input Single Output continuous control block).
Type | Name | Description |
---|---|---|
input RealInput | u | Connector of Real input signal |
output RealOutput | y | Connector of Real output signal |
Generated 2018-12-12 12:09:58 EST by MapleSim.