This package contains blocks to combine and extract signals.
Extends from Icons.Library (Icon for library).
Name | Description |
---|---|
Replicator | Signal replicator |
ExtractSignal | Extract signals from an input signal vector |
Extractor | Extract scalar signal out of signal vector dependent on IntegerRealInput index |
Multiplex2 | Multiplexer block for two input connectors |
Multiplex3 | Multiplexer block for three input connectors |
Multiplex4 | Multiplexer block for four input connectors |
Multiplex5 | Multiplexer block for five input connectors |
Multiplex6 | Multiplexer block for six input connectors |
DeMultiplex2 | DeMultiplexer block for two output connectors |
DeMultiplex3 | DeMultiplexer block for three output connectors |
DeMultiplex4 | DeMultiplexer block for four output connectors |
DeMultiplex5 | DeMultiplexer block for five output connectors |
DeMultiplex6 | DeMultiplexer block for six output connectors |
RealPassThrough | Pass a Real signal through without modification |
IntegerPassThrough | Pass a Integer signal through without modification |
BooleanPassThrough | Pass a Boolean signal through without modification |
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).
Type | Name | Default | Description |
---|---|---|---|
Integer | nout | 1 | Number of outputs |
Type | Name | Description |
---|---|---|
input RealInput | u | Connector of Real input signal |
output RealOutput | y[nout] | Connector of Real output signals |
block Replicator "Signal replicator" extends Modelica.Blocks.Interfaces.SIMO; equation y = fill(u, nout);end Replicator;
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 transfered 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).
Type | Name | Default | Description |
---|---|---|---|
Integer | nin | 1 | Number of inputs |
Integer | nout | 1 | Number of outputs |
Integer | extract[nout] | 1:nout | Extracting vector |
Type | Name | Description |
---|---|---|
input RealInput | u[nin] | Connector of Real input signals |
output RealOutput | y[nout] | Connector of Real output signals |
block ExtractSignal "Extract signals from an input signal vector" extends Modelica.Blocks.Interfaces.MIMO; parameter Integer extract[nout]=1:nout "Extracting vector"; equation for i in 1:nout loop y[i] = u[extract[i]]; end for;end ExtractSignal;
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).
Type | Name | Default | Description |
---|---|---|---|
Integer | nin | 1 | Number of inputs |
Boolean | allowOutOfRange | false | Index may be out of range |
Real | outOfRangeValue | 1e10 | Output signal if index is out of range |
Type | Name | Description |
---|---|---|
input RealInput | u[nin] | Connector of Real input signals |
output RealOutput | y | Connector of Real output signal |
input IntegerInput | index |
block Extractor "Extract scalar signal out of signal vector dependent on IntegerRealInput index" extends Modelica.Blocks.Interfaces.MISO; parameter Boolean allowOutOfRange=false "Index may be out of range"; parameter Real outOfRangeValue=1e10 "Output signal if index is out of range";Modelica.Blocks.Interfaces.IntegerInput index; protected Real k[nin]; equation when {initial(),change(index)} then for i in 1:nin loop k[i] = if index == i then 1 else 0; end for; end when; y = if not allowOutOfRange or index > 0 and index <= nin then k*u else outOfRangeValue;end Extractor;
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.Interfaces.BlockIcon (Basic graphical layout of input/output block).
Type | Name | Default | Description |
---|---|---|---|
Integer | n1 | 1 | dimension of input signal connector 1 |
Integer | n2 | 1 | dimension of input signal connector 2 |
Type | Name | Description |
---|---|---|
input RealInput | u1[n1] | Connector of Real input signals 1 |
input RealInput | u2[n2] | Connector of Real input signals 2 |
output RealOutput | y[n1 + n2] | Connector of Real output signals |
block Multiplex2 "Multiplexer block for two input connectors" extends Modelica.Blocks.Interfaces.BlockIcon; parameter Integer n1=1 "dimension of input signal connector 1"; parameter Integer n2=1 "dimension of input signal connector 2";Modelica.Blocks.Interfaces.RealInput u1[n1] "Connector of Real input signals 1"; Modelica.Blocks.Interfaces.RealInput u2[n2] "Connector of Real input signals 2"; Modelica.Blocks.Interfaces.RealOutput y[n1 + n2] "Connector of Real output signals"; equation [y] = [u1; u2];end Multiplex2;
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.Interfaces.BlockIcon (Basic graphical layout of input/output block).
Type | Name | Default | Description |
---|---|---|---|
Integer | n1 | 1 | dimension of input signal connector 1 |
Integer | n2 | 1 | dimension of input signal connector 2 |
Integer | n3 | 1 | dimension of input signal connector 3 |
Type | Name | Description |
---|---|---|
input RealInput | u1[n1] | Connector of Real input signals 1 |
input RealInput | u2[n2] | Connector of Real input signals 2 |
input RealInput | u3[n3] | Connector of Real input signals 3 |
output RealOutput | y[n1 + n2 + n3] | Connector of Real output signals |
block Multiplex3 "Multiplexer block for three input connectors" extends Modelica.Blocks.Interfaces.BlockIcon; parameter Integer n1=1 "dimension of input signal connector 1"; parameter Integer n2=1 "dimension of input signal connector 2"; parameter Integer n3=1 "dimension of input signal connector 3";Modelica.Blocks.Interfaces.RealInput u1[n1] "Connector of Real input signals 1"; Modelica.Blocks.Interfaces.RealInput u2[n2] "Connector of Real input signals 2"; Modelica.Blocks.Interfaces.RealInput u3[n3] "Connector of Real input signals 3"; Modelica.Blocks.Interfaces.RealOutput y[n1 + n2 + n3] "Connector of Real output signals"; equation [y] = [u1; u2; u3];end Multiplex3;
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.Interfaces.BlockIcon (Basic graphical layout of input/output block).
Type | Name | Default | Description |
---|---|---|---|
Integer | n1 | 1 | dimension of input signal connector 1 |
Integer | n2 | 1 | dimension of input signal connector 2 |
Integer | n3 | 1 | dimension of input signal connector 3 |
Integer | n4 | 1 | dimension of input signal connector 4 |
Type | Name | Description |
---|---|---|
input RealInput | u1[n1] | Connector of Real input signals 1 |
input RealInput | u2[n2] | Connector of Real input signals 2 |
input RealInput | u3[n3] | Connector of Real input signals 3 |
input RealInput | u4[n4] | Connector of Real input signals 4 |
output RealOutput | y[n1 + n2 + n3 + n4] | Connector of Real output signals |
block Multiplex4 "Multiplexer block for four input connectors" extends Modelica.Blocks.Interfaces.BlockIcon; parameter Integer n1=1 "dimension of input signal connector 1"; parameter Integer n2=1 "dimension of input signal connector 2"; parameter Integer n3=1 "dimension of input signal connector 3"; parameter Integer n4=1 "dimension of input signal connector 4";Modelica.Blocks.Interfaces.RealInput u1[n1] "Connector of Real input signals 1"; Modelica.Blocks.Interfaces.RealInput u2[n2] "Connector of Real input signals 2"; Modelica.Blocks.Interfaces.RealInput u3[n3] "Connector of Real input signals 3"; Modelica.Blocks.Interfaces.RealInput u4[n4] "Connector of Real input signals 4"; Modelica.Blocks.Interfaces.RealOutput y[n1 + n2 + n3 + n4] "Connector of Real output signals"; equation [y] = [u1; u2; u3; u4];end Multiplex4;
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.Interfaces.BlockIcon (Basic graphical layout of input/output block).
Type | Name | Default | Description |
---|---|---|---|
Integer | n1 | 1 | dimension of input signal connector 1 |
Integer | n2 | 1 | dimension of input signal connector 2 |
Integer | n3 | 1 | dimension of input signal connector 3 |
Integer | n4 | 1 | dimension of input signal connector 4 |
Integer | n5 | 1 | dimension of input signal connector 5 |
Type | Name | Description |
---|---|---|
input RealInput | u1[n1] | Connector of Real input signals 1 |
input RealInput | u2[n2] | Connector of Real input signals 2 |
input RealInput | u3[n3] | Connector of Real input signals 3 |
input RealInput | u4[n4] | Connector of Real input signals 4 |
input RealInput | u5[n5] | Connector of Real input signals 5 |
output RealOutput | y[n1 + n2 + n3 + n4 + n5] | Connector of Real output signals |
block Multiplex5 "Multiplexer block for five input connectors" extends Modelica.Blocks.Interfaces.BlockIcon; parameter Integer n1=1 "dimension of input signal connector 1"; parameter Integer n2=1 "dimension of input signal connector 2"; parameter Integer n3=1 "dimension of input signal connector 3"; parameter Integer n4=1 "dimension of input signal connector 4"; parameter Integer n5=1 "dimension of input signal connector 5";Modelica.Blocks.Interfaces.RealInput u1[n1] "Connector of Real input signals 1"; Modelica.Blocks.Interfaces.RealInput u2[n2] "Connector of Real input signals 2"; Modelica.Blocks.Interfaces.RealInput u3[n3] "Connector of Real input signals 3"; Modelica.Blocks.Interfaces.RealInput u4[n4] "Connector of Real input signals 4"; Modelica.Blocks.Interfaces.RealInput u5[n5] "Connector of Real input signals 5"; Modelica.Blocks.Interfaces.RealOutput y[n1 + n2 + n3 + n4 + n5] "Connector of Real output signals"; equation [y] = [u1; u2; u3; u4; u5];end Multiplex5;
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.Interfaces.BlockIcon (Basic graphical layout of input/output block).
Type | Name | Default | Description |
---|---|---|---|
Integer | n1 | 1 | dimension of input signal connector 1 |
Integer | n2 | 1 | dimension of input signal connector 2 |
Integer | n3 | 1 | dimension of input signal connector 3 |
Integer | n4 | 1 | dimension of input signal connector 4 |
Integer | n5 | 1 | dimension of input signal connector 5 |
Integer | n6 | 1 | dimension of input signal connector 6 |
Type | Name | Description |
---|---|---|
input RealInput | u1[n1] | Connector of Real input signals 1 |
input RealInput | u2[n2] | Connector of Real input signals 2 |
input RealInput | u3[n3] | Connector of Real input signals 3 |
input RealInput | u4[n4] | Connector of Real input signals 4 |
input RealInput | u5[n5] | Connector of Real input signals 5 |
input RealInput | u6[n6] | Connector of Real input signals 6 |
output RealOutput | y[n1 + n2 + n3 + n4 + n5 + n6] | Connector of Real output signals |
block Multiplex6 "Multiplexer block for six input connectors" extends Modelica.Blocks.Interfaces.BlockIcon; parameter Integer n1=1 "dimension of input signal connector 1"; parameter Integer n2=1 "dimension of input signal connector 2"; parameter Integer n3=1 "dimension of input signal connector 3"; parameter Integer n4=1 "dimension of input signal connector 4"; parameter Integer n5=1 "dimension of input signal connector 5"; parameter Integer n6=1 "dimension of input signal connector 6";Modelica.Blocks.Interfaces.RealInput u1[n1] "Connector of Real input signals 1"; Modelica.Blocks.Interfaces.RealInput u2[n2] "Connector of Real input signals 2"; Modelica.Blocks.Interfaces.RealInput u3[n3] "Connector of Real input signals 3"; Modelica.Blocks.Interfaces.RealInput u4[n4] "Connector of Real input signals 4"; Modelica.Blocks.Interfaces.RealInput u5[n5] "Connector of Real input signals 5"; Modelica.Blocks.Interfaces.RealInput u6[n6] "Connector of Real input signals 6"; Modelica.Blocks.Interfaces.RealOutput y[n1 + n2 + n3 + n4 + n5 + n6] "Connector of Real output signals"; equation [y] = [u1; u2; u3; u4; u5; u6];end Multiplex6;
The input connector is splitted 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.Interfaces.BlockIcon (Basic graphical layout of input/output block).
Type | Name | Default | Description |
---|---|---|---|
Integer | n1 | 1 | dimension of output signal connector 1 |
Integer | n2 | 1 | dimension of output signal connector 2 |
Type | Name | Description |
---|---|---|
input RealInput | u[n1 + n2] | Connector of Real input signals |
output RealOutput | y1[n1] | Connector of Real output signals 1 |
output RealOutput | y2[n2] | Connector of Real output signals 2 |
block DeMultiplex2 "DeMultiplexer block for two output connectors" extends Modelica.Blocks.Interfaces.BlockIcon; parameter Integer n1=1 "dimension of output signal connector 1"; parameter Integer n2=1 "dimension of output signal connector 2";Modelica.Blocks.Interfaces.RealInput u[n1 + n2] "Connector of Real input signals"; Modelica.Blocks.Interfaces.RealOutput y1[n1] "Connector of Real output signals 1"; Modelica.Blocks.Interfaces.RealOutput y2[n2] "Connector of Real output signals 2"; equation [u] = [y1; y2];end DeMultiplex2;
The input connector is splitted up 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.Interfaces.BlockIcon (Basic graphical layout of input/output block).
Type | Name | Default | Description |
---|---|---|---|
Integer | n1 | 1 | dimension of output signal connector 1 |
Integer | n2 | 1 | dimension of output signal connector 2 |
Integer | n3 | 1 | dimension of output signal connector 3 |
Type | Name | Description |
---|---|---|
input RealInput | u[n1 + n2 + n3] | Connector of Real input signals |
output RealOutput | y1[n1] | Connector of Real output signals 1 |
output RealOutput | y2[n2] | Connector of Real output signals 2 |
output RealOutput | y3[n3] | Connector of Real output signals 3 |
block DeMultiplex3 "DeMultiplexer block for three output connectors" extends Modelica.Blocks.Interfaces.BlockIcon; parameter Integer n1=1 "dimension of output signal connector 1"; parameter Integer n2=1 "dimension of output signal connector 2"; parameter Integer n3=1 "dimension of output signal connector 3";Modelica.Blocks.Interfaces.RealInput u[n1 + n2 + n3] "Connector of Real input signals"; Modelica.Blocks.Interfaces.RealOutput y1[n1] "Connector of Real output signals 1"; Modelica.Blocks.Interfaces.RealOutput y2[n2] "Connector of Real output signals 2"; Modelica.Blocks.Interfaces.RealOutput y3[n3] "Connector of Real output signals 3"; equation [u] = [y1; y2; y3];end DeMultiplex3;
The input connector is splitted up 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.Interfaces.BlockIcon (Basic graphical layout of input/output block).
Type | Name | Default | Description |
---|---|---|---|
Integer | n1 | 1 | dimension of output signal connector 1 |
Integer | n2 | 1 | dimension of output signal connector 2 |
Integer | n3 | 1 | dimension of output signal connector 3 |
Integer | n4 | 1 | dimension of output signal connector 4 |
Type | Name | Description |
---|---|---|
input RealInput | u[n1 + n2 + n3 + n4] | Connector of Real input signals |
output RealOutput | y1[n1] | Connector of Real output signals 1 |
output RealOutput | y2[n2] | Connector of Real output signals 2 |
output RealOutput | y3[n3] | Connector of Real output signals 3 |
output RealOutput | y4[n4] | Connector of Real output signals 4 |
block DeMultiplex4 "DeMultiplexer block for four output connectors" extends Modelica.Blocks.Interfaces.BlockIcon; parameter Integer n1=1 "dimension of output signal connector 1"; parameter Integer n2=1 "dimension of output signal connector 2"; parameter Integer n3=1 "dimension of output signal connector 3"; parameter Integer n4=1 "dimension of output signal connector 4";Modelica.Blocks.Interfaces.RealInput u[n1 + n2 + n3 + n4] "Connector of Real input signals"; Modelica.Blocks.Interfaces.RealOutput y1[n1] "Connector of Real output signals 1"; Modelica.Blocks.Interfaces.RealOutput y2[n2] "Connector of Real output signals 2"; Modelica.Blocks.Interfaces.RealOutput y3[n3] "Connector of Real output signals 3"; Modelica.Blocks.Interfaces.RealOutput y4[n4] "Connector of Real output signals 4"; equation [u] = [y1; y2; y3; y4];end DeMultiplex4;
The input connector is splitted up 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.Interfaces.BlockIcon (Basic graphical layout of input/output block).
Type | Name | Default | Description |
---|---|---|---|
Integer | n1 | 1 | dimension of output signal connector 1 |
Integer | n2 | 1 | dimension of output signal connector 2 |
Integer | n3 | 1 | dimension of output signal connector 3 |
Integer | n4 | 1 | dimension of output signal connector 4 |
Integer | n5 | 1 | dimension of output signal connector 5 |
Type | Name | Description |
---|---|---|
input RealInput | u[n1 + n2 + n3 + n4 + n5] | Connector of Real input signals |
output RealOutput | y1[n1] | Connector of Real output signals 1 |
output RealOutput | y2[n2] | Connector of Real output signals 2 |
output RealOutput | y3[n3] | Connector of Real output signals 3 |
output RealOutput | y4[n4] | Connector of Real output signals 4 |
output RealOutput | y5[n5] | Connector of Real output signals 5 |
block DeMultiplex5 "DeMultiplexer block for five output connectors" extends Modelica.Blocks.Interfaces.BlockIcon; parameter Integer n1=1 "dimension of output signal connector 1"; parameter Integer n2=1 "dimension of output signal connector 2"; parameter Integer n3=1 "dimension of output signal connector 3"; parameter Integer n4=1 "dimension of output signal connector 4"; parameter Integer n5=1 "dimension of output signal connector 5";Modelica.Blocks.Interfaces.RealInput u[n1 + n2 + n3 + n4 + n5] "Connector of Real input signals"; Modelica.Blocks.Interfaces.RealOutput y1[n1] "Connector of Real output signals 1"; Modelica.Blocks.Interfaces.RealOutput y2[n2] "Connector of Real output signals 2"; Modelica.Blocks.Interfaces.RealOutput y3[n3] "Connector of Real output signals 3"; Modelica.Blocks.Interfaces.RealOutput y4[n4] "Connector of Real output signals 4"; Modelica.Blocks.Interfaces.RealOutput y5[n5] "Connector of Real output signals 5"; equation [u] = [y1; y2; y3; y4; y5];end DeMultiplex5;
The input connector is splitted up 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.Interfaces.BlockIcon (Basic graphical layout of input/output block).
Type | Name | Default | Description |
---|---|---|---|
Integer | n1 | 1 | dimension of output signal connector 1 |
Integer | n2 | 1 | dimension of output signal connector 2 |
Integer | n3 | 1 | dimension of output signal connector 3 |
Integer | n4 | 1 | dimension of output signal connector 4 |
Integer | n5 | 1 | dimension of output signal connector 5 |
Integer | n6 | 1 | dimension of output signal connector 6 |
Type | Name | Description |
---|---|---|
input RealInput | u[n1 + n2 + n3 + n4 + n5 + n6] | Connector of Real input signals |
output RealOutput | y1[n1] | Connector of Real output signals 1 |
output RealOutput | y2[n2] | Connector of Real output signals 2 |
output RealOutput | y3[n3] | Connector of Real output signals 3 |
output RealOutput | y4[n4] | Connector of Real output signals 4 |
output RealOutput | y5[n5] | Connector of Real output signals 5 |
output RealOutput | y6[n6] | Connector of Real output signals 6 |
block DeMultiplex6 "DeMultiplexer block for six output connectors" extends Modelica.Blocks.Interfaces.BlockIcon; parameter Integer n1=1 "dimension of output signal connector 1"; parameter Integer n2=1 "dimension of output signal connector 2"; parameter Integer n3=1 "dimension of output signal connector 3"; parameter Integer n4=1 "dimension of output signal connector 4"; parameter Integer n5=1 "dimension of output signal connector 5"; parameter Integer n6=1 "dimension of output signal connector 6";Modelica.Blocks.Interfaces.RealInput u[n1 + n2 + n3 + n4 + n5 + n6] "Connector of Real input signals"; Modelica.Blocks.Interfaces.RealOutput y1[n1] "Connector of Real output signals 1"; Modelica.Blocks.Interfaces.RealOutput y2[n2] "Connector of Real output signals 2"; Modelica.Blocks.Interfaces.RealOutput y3[n3] "Connector of Real output signals 3"; Modelica.Blocks.Interfaces.RealOutput y4[n4] "Connector of Real output signals 4"; Modelica.Blocks.Interfaces.RealOutput y5[n5] "Connector of Real output signals 5"; Modelica.Blocks.Interfaces.RealOutput y6[n6] "Connector of Real output signals 6"; equation [u] = [y1; y2; y3; y4; y5; y6];end DeMultiplex6;
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.BlockIcon (Basic graphical layout of input/output block).
Type | Name | Description |
---|---|---|
input RealInput | u | Input signal |
output RealOutput | y | Output signal |
model RealPassThrough "Pass a Real signal through without modification" extends Modelica.Blocks.Interfaces.BlockIcon;Modelica.Blocks.Interfaces.RealInput u "Input signal"; Modelica.Blocks.Interfaces.RealOutput y "Output signal"; equation y = u;end RealPassThrough;
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.Interfaces.IntegerBlockIcon (Basic graphical layout of Integer block).
Type | Name | Description |
---|---|---|
input IntegerInput | u | Input signal |
output IntegerOutput | y | Output signal |
model IntegerPassThrough "Pass a Integer signal through without modification" extends Modelica.Blocks.Interfaces.IntegerBlockIcon;Modelica.Blocks.Interfaces.IntegerInput u "Input signal"; Modelica.Blocks.Interfaces.IntegerOutput y "Output signal"; equation y = u;end IntegerPassThrough;
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.BooleanBlockIcon (Basic graphical layout of Boolean block).
Type | Name | Description |
---|---|---|
input BooleanInput | u | Input signal |
output BooleanOutput | y | Output signal |
model BooleanPassThrough "Pass a Boolean signal through without modification" extends Modelica.Blocks.Interfaces.BooleanBlockIcon;Modelica.Blocks.Interfaces.BooleanInput u "Input signal"; Modelica.Blocks.Interfaces.BooleanOutput y "Output signal"; equation y = u;end BooleanPassThrough;