This library defines Complex input and output signals, as well as partial blocks.
Extends from Modelica.Icons.InterfacesPackage (Icon for packages containing interfaces).
Name | Description |
---|---|
ComplexInput | 'input Complex' as connector |
ComplexOutput | 'output Complex' as connector |
ComplexSO | Single Output continuous control block |
ComplexMO | Multiple Output continuous control block |
ComplexSISO | Single Input Single Output continuous control block |
ComplexSI2SO | 2 Single Input / 1 Single Output continuous control block |
ComplexSIMO | Single Input Multiple Output continuous control block |
ComplexMISO | Multiple Input Single Output continuous control block |
ComplexMIMO | Multiple Input Multiple Output continuous control block |
ComplexMIMOs | Multiple Input Multiple Output continuous control block with same number of inputs and outputs |
ComplexMI2MO | 2 Multiple Input / Multiple Output continuous control block |
ComplexSignalSource | Base class for continuous signal source |
Connector with one input signal of type Complex.
Extends from Complex (Complex number with overloaded operators).
Type | Name | Default | Description |
---|---|---|---|
Real | re | Real part of complex number | |
Real | im | Imaginary part of complex number |
Type | Name | Description |
---|---|---|
Real | re | Real part of complex number |
Real | im | Imaginary part of complex number |
connector ComplexInput = input Complex "'input Complex' as connector";
Connector with one output signal of type Complex.
Extends from Complex (Complex number with overloaded operators).
Type | Name | Default | Description |
---|---|---|---|
Real | re | Real part of complex number | |
Real | im | Imaginary part of complex number |
Type | Name | Description |
---|---|---|
Real | re | Real part of complex number |
Real | im | Imaginary part of complex number |
connector ComplexOutput = output Complex "'output Complex' as connector";
Block has one continuous Complex output signal.
Extends from Blocks.Interfaces.BlockIcon (Basic graphical layout of input/output block).
Type | Name | Description |
---|---|---|
output ComplexOutput | y | Connector of Complex output signal |
partial block ComplexSO "Single Output continuous control block" extends Blocks.Interfaces.BlockIcon;ComplexOutput y "Connector of Complex output signal"; end ComplexSO;
Block has one continuous Complex output signal vector.
Extends from Blocks.Interfaces.BlockIcon (Basic graphical layout of input/output block).
Type | Name | Default | Description |
---|---|---|---|
Integer | nout | 1 | Number of outputs |
Type | Name | Description |
---|---|---|
output ComplexOutput | y[nout] | Connector of Complex output signals |
partial block ComplexMO "Multiple Output continuous control block" extends Blocks.Interfaces.BlockIcon; parameter Integer nout(min=1) = 1 "Number of outputs";ComplexOutput y[nout] "Connector of Complex output signals"; end ComplexMO;
Block has one continuous Complex input and one continuous Complex output signal.
Extends from Blocks.Interfaces.BlockIcon (Basic graphical layout of input/output block).
Type | Name | Description |
---|---|---|
input ComplexInput | u | Connector of Complex input signal |
output ComplexOutput | y | Connector of Complex output signal |
partial block ComplexSISO "Single Input Single Output continuous control block" extends Blocks.Interfaces.BlockIcon;ComplexInput u "Connector of Complex input signal"; ComplexOutput y "Connector of Complex output signal"; end ComplexSISO;
Block has two continuous Complex input signals u1 and u2 and one continuous Complex output signal y.
Extends from Blocks.Interfaces.BlockIcon (Basic graphical layout of input/output block).
Type | Name | Description |
---|---|---|
input ComplexInput | u1 | Connector of Complex input signal 1 |
input ComplexInput | u2 | Connector of Complex input signal 2 |
output ComplexOutput | y | Connector of Complex output signal |
partial block ComplexSI2SO "2 Single Input / 1 Single Output continuous control block" extends Blocks.Interfaces.BlockIcon;ComplexInput u1 "Connector of Complex input signal 1"; ComplexInput u2 "Connector of Complex input signal 2"; ComplexOutput y "Connector of Complex output signal"; end ComplexSI2SO;
Block has one continuous Complex input signal and a vector of continuous Complex output signals.
Extends from Blocks.Interfaces.BlockIcon (Basic graphical layout of input/output block).
Type | Name | Default | Description |
---|---|---|---|
Integer | nout | 1 | Number of outputs |
Type | Name | Description |
---|---|---|
input ComplexInput | u | Connector of Complex input signal |
output ComplexOutput | y[nout] | Connector of Complex output signals |
partial block ComplexSIMO "Single Input Multiple Output continuous control block" extends Blocks.Interfaces.BlockIcon; parameter Integer nout=1 "Number of outputs";ComplexInput u "Connector of Complex input signal"; ComplexOutput y[nout] "Connector of Complex output signals"; end ComplexSIMO;
Block has a vector of continuous Complex input signals and one continuous Complex output signal.
Extends from Blocks.Interfaces.BlockIcon (Basic graphical layout of input/output block).
Type | Name | Default | Description |
---|---|---|---|
Integer | nin | 1 | Number of inputs |
Type | Name | Description |
---|---|---|
input ComplexInput | u[nin] | Connector of Complex input signals |
output ComplexOutput | y | Connector of Complex output signal |
partial block ComplexMISO "Multiple Input Single Output continuous control block" extends Blocks.Interfaces.BlockIcon; parameter Integer nin=1 "Number of inputs";ComplexInput u[nin] "Connector of Complex input signals"; ComplexOutput y "Connector of Complex output signal"; end ComplexMISO;
Block has a continuous Complex input vector and a continuous Complex output signal vector. The signal sizes of the input and output vector may be different.
Extends from Blocks.Interfaces.BlockIcon (Basic graphical layout of input/output block).
Type | Name | Default | Description |
---|---|---|---|
Integer | nin | 1 | Number of inputs |
Integer | nout | 1 | Number of outputs |
Type | Name | Description |
---|---|---|
input ComplexInput | u[nin] | Connector of Complex input signals |
output ComplexOutput | y[nout] | Connector of Complex output signals |
partial block ComplexMIMO "Multiple Input Multiple Output continuous control block" extends Blocks.Interfaces.BlockIcon; parameter Integer nin=1 "Number of inputs"; parameter Integer nout=1 "Number of outputs";ComplexInput u[nin] "Connector of Complex input signals"; ComplexOutput y[nout] "Connector of Complex output signals"; end ComplexMIMO;
Block has a continuous Complex input vector and a continuous Complex output signal vector where the signal sizes of the input and output vector are identical.
Extends from Blocks.Interfaces.BlockIcon (Basic graphical layout of input/output block).
Type | Name | Default | Description |
---|---|---|---|
Integer | n | 1 | Number of inputs (= number of outputs) |
Type | Name | Description |
---|---|---|
input ComplexInput | u[n] | Connector of Complex input signals |
output ComplexOutput | y[n] | Connector of Complex output signals |
partial block ComplexMIMOs "Multiple Input Multiple Output continuous control block with same number of inputs and outputs" extends Blocks.Interfaces.BlockIcon; parameter Integer n=1 "Number of inputs (= number of outputs)";ComplexInput u[n] "Connector of Complex input signals"; ComplexOutput y[n] "Connector of Complex output signals"; end ComplexMIMOs;
Block has two continuous Complex input vectors u1 and u2 and one continuous Complex output vector y. All vectors have the same number of elements.
Extends from Blocks.Interfaces.BlockIcon (Basic graphical layout of input/output block).
Type | Name | Default | Description |
---|---|---|---|
Integer | n | 1 | Dimension of input and output vectors. |
Type | Name | Description |
---|---|---|
input ComplexInput | u1[n] | Connector 1 of Complex input signals |
input ComplexInput | u2[n] | Connector 2 of Complex input signals |
output ComplexOutput | y[n] | Connector of Complex output signals |
partial block ComplexMI2MO "2 Multiple Input / Multiple Output continuous control block" extends Blocks.Interfaces.BlockIcon; parameter Integer n=1 "Dimension of input and output vectors.";ComplexInput u1[n] "Connector 1 of Complex input signals"; ComplexInput u2[n] "Connector 2 of Complex input signals"; ComplexOutput y[n] "Connector of Complex output signals"; end ComplexMI2MO;
Basic block for Complex sources. This component has one continuous Complex output signal y and two parameters (offset, startTime) to shift the generated signal.
Extends from ComplexBlocks.Interfaces.ComplexSO (Single Output continuous control block).
Type | Name | Default | Description |
---|---|---|---|
Complex | offset | Complex(0) | Offset of output signal y |
Time | startTime | 0 | Output y = offset for time < startTime [s] |
Type | Name | Description |
---|---|---|
output ComplexOutput | y | Connector of Complex output signal |
partial block ComplexSignalSource "Base class for continuous signal source" extends ComplexBlocks.Interfaces.ComplexSO; parameter Complex offset=Complex(0) "Offset of output signal y"; parameter SIunits.Time startTime=0 "Output y = offset for time < startTime";end ComplexSignalSource;