Library of connectors and partial models for input/output blocks
This package contains interface definitions for continuous input/output blocks with Real, Integer and Boolean signals. Furthermore, it contains partial models for continuous and discrete blocks.
Extends from Modelica.Icons.InterfacesPackage (Icon for packages containing interfaces).
Name | Description |
---|---|
RealInput | 'input Real' as connector |
RealOutput | 'output Real' as connector |
BooleanInput | 'input Boolean' as connector |
BooleanOutput | 'output Boolean' as connector |
IntegerInput | 'input Integer' as connector |
IntegerOutput | 'output Integer' as connector |
RealVectorInput | Real input connector used for vector of connectors |
IntegerVectorInput | Integer input connector used for vector of connectors |
BooleanVectorInput | Boolean input connector used for vector of connectors |
SO | Single Output continuous control block |
MO | Multiple Output continuous control block |
SISO | Single Input Single Output continuous control block |
SI2SO | 2 Single Input / 1 Single Output continuous control block |
SIMO | Single Input Multiple Output continuous control block |
MISO | Multiple Input Single Output continuous control block |
PartialRealMISO | Partial block with a RealVectorInput and a RealOutput signal |
MIMO | Multiple Input Multiple Output continuous control block |
MIMOs | Multiple Input Multiple Output continuous control block with same number of inputs and outputs |
MI2MO | 2 Multiple Input / Multiple Output continuous control block |
SignalSource | Base class for continuous signal source |
SVcontrol | Single-Variable continuous controller |
MVcontrol | Multi-Variable continuous controller |
DiscreteBlock | Base class of discrete control blocks |
DiscreteSISO | Single Input Single Output discrete control block |
DiscreteMIMO | Multiple Input Multiple Output discrete control block |
DiscreteMIMOs | Multiple Input Multiple Output discrete control block |
SVdiscrete | Discrete Single-Variable controller |
MVdiscrete | Discrete Multi-Variable controller |
BooleanSISO | Single Input Single Output control block with signals of type Boolean |
BooleanMIMOs | Multiple Input Multiple Output continuous control block with same number of inputs and outputs of Boolean type |
MI2BooleanMOs | 2 Multiple Input / Boolean Multiple Output block with same signal lengths |
SI2BooleanSO | 2 Single Input / Boolean Single Output block |
BooleanSignalSource | Base class for Boolean signal sources |
IntegerSO | Single Integer Output continuous control block |
IntegerMO | Multiple Integer Output continuous control block |
IntegerSignalSource | Base class for continuous Integer signal source |
IntegerSIBooleanSO | Integer Input Boolean Output continuous control block |
IntegerMIBooleanMOs | Multiple Integer Input Multiple Boolean Output continuous control block with same number of inputs and outputs |
PartialIntegerSISO | Partial block with a IntegerInput and an IntegerOutput signal |
PartialIntegerMISO | Partial block with an IntegerVectorInput and an IntegerOutput signal |
partialBooleanSISO | Partial block with 1 input and 1 output Boolean signal |
partialBooleanSI2SO | Partial block with 2 input and 1 output Boolean signal |
partialBooleanSI3SO | Partial block with 3 input and 1 output Boolean signal |
partialBooleanSI | Partial block with 1 input Boolean signal |
partialBooleanSO | Partial block with 1 output Boolean signal |
partialBooleanSource | Partial source block (has 1 output Boolean signal and an appropriate default icon) |
partialBooleanThresholdComparison | Partial block to compare the Real input u with a threshold and provide the result as 1 Boolean output signal |
partialBooleanComparison | Partial block with 2 Real input and 1 Boolean output signal (the result of a comparison of the two Real inputs) |
PartialBooleanSISO_small | Partial block with a BooleanInput and a BooleanOutput signal and a small block icon |
PartialBooleanMISO | Partial block with a BooleanVectorInput and a BooleanOutput signal |
Adaptors | Obsolete package with components to send signals to a bus or receive signals from a bus (only for backward compatibility) |
PartialConversionBlock | Partial block defining the interface for conversion blocks |
BlockIcon | This icon will be removed in future Modelica versions, use Modelica.Blocks.Icons.Block instead. |
BooleanBlockIcon | This icon will be removed in future Modelica versions, use Modelica.Blocks.Icons.BooleanBlock instead. |
DiscreteBlockIcon | This icon will be removed in future Modelica versions, use Modelica.Blocks.Icons.DiscreteBlock instead. |
IntegerBlockIcon | This icon will be removed in future Modelica versions, use Modelica.Blocks.Icons.IntegerBlock instead. |
partialBooleanBlockIcon | This icon will be removed in future Modelica versions, use Modelica.Blocks.Icons.PartialBooleanBlock instead. |
PartialNoise | Partial noise generator |
'input Real' as connector
Connector with one input signal of type Real.
Extends from Real.
'output Real' as connector
Connector with one output signal of type Real.
Extends from Real.
'input Boolean' as connector
Connector with one input signal of type Boolean.
Extends from Boolean.
'output Boolean' as connector
Connector with one output signal of type Boolean.
Extends from Boolean.
'input Integer' as connector
Connector with one input signal of type Integer.
Extends from Integer.
'output Integer' as connector
Connector with one output signal of type Integer.
Extends from Integer.
Real input connector used for vector of connectors
Real input connector that is used for a vector of connectors, for example PartialRealMISO, and has therefore a different icon as RealInput connector.
Extends from Real.
Integer input connector used for vector of connectors
Integer input connector that is used for a vector of connectors, for example PartialIntegerMISO, and has therefore a different icon as IntegerInput connector.
Extends from Integer.
Boolean input connector used for vector of connectors
Boolean input connector that is used for a vector of connectors, for example PartialBooleanMISO, and has therefore a different icon as BooleanInput connector.
Extends from Boolean.
Single Output continuous control block
Block has one continuous Real output signal.
Extends from Modelica.Blocks.Icons.Block (Basic graphical layout of input/output block).
Name | Description |
---|---|
y | Connector of Real output signal |
Multiple Output continuous control block
Block has one continuous Real output signal vector.
Extends from Modelica.Blocks.Icons.Block (Basic graphical layout of input/output block).
Name | Description |
---|---|
nout | Number of outputs |
Name | Description |
---|---|
y[nout] | Connector of Real output signals |
Single Input Single Output continuous control block
Block has one continuous Real input and one continuous Real output signal.
Extends from Modelica.Blocks.Icons.Block (Basic graphical layout of input/output block).
Name | Description |
---|---|
u | Connector of Real input signal |
y | Connector of Real output signal |
2 Single Input / 1 Single Output continuous control block
Block has two continuous Real input signals u1 and u2 and one continuous Real output signal y.
Extends from Modelica.Blocks.Icons.Block (Basic graphical layout of input/output block).
Name | Description |
---|---|
u1 | Connector of Real input signal 1 |
u2 | Connector of Real input signal 2 |
y | Connector of Real output signal |
Single Input Multiple Output continuous control block
Block has one continuous Real input signal and a vector of continuous Real output signals.
Extends from Modelica.Blocks.Icons.Block (Basic graphical layout of input/output block).
Name | Description |
---|---|
nout | Number of outputs |
Name | Description |
---|---|
u | Connector of Real input signal |
y[nout] | Connector of Real output signals |
Multiple Input Single Output continuous control block
Block has a vector of continuous Real input signals and one continuous Real output signal.
Extends from Modelica.Blocks.Icons.Block (Basic graphical layout of input/output block).
Name | Description |
---|---|
nin | Number of inputs |
Name | Description |
---|---|
u[nin] | Connector of Real input signals |
y | Connector of Real output signal |
Partial block with a RealVectorInput and a RealOutput signal
Name | Description |
---|---|
Advanced | |
significantDigits | Number of significant digits to be shown in dynamic diagram layer for y |
Name | Description |
---|---|
u[nu] | |
y |
Multiple Input Multiple Output continuous control block
Block has a continuous Real input and a continuous Real output signal vector. The signal sizes of the input and output vector may be different.
Extends from Modelica.Blocks.Icons.Block (Basic graphical layout of input/output block).
Name | Description |
---|---|
nin | Number of inputs |
nout | Number of outputs |
Name | Description |
---|---|
u[nin] | Connector of Real input signals |
y[nout] | Connector of Real output signals |
Multiple Input Multiple Output continuous control block with same number of inputs and outputs
Block has a continuous Real input and a continuous Real output signal vector where the signal sizes of the input and output vector are identical.
Extends from Modelica.Blocks.Icons.Block (Basic graphical layout of input/output block).
Name | Description |
---|---|
n | Number of inputs (= number of outputs) |
Name | Description |
---|---|
u[n] | Connector of Real input signals |
y[n] | Connector of Real output signals |
2 Multiple Input / Multiple Output continuous control block
Block has two continuous Real input vectors u1 and u2 and one continuous Real output vector y. All vectors have the same number of elements.
Extends from Modelica.Blocks.Icons.Block (Basic graphical layout of input/output block).
Name | Description |
---|---|
n | Dimension of input and output vectors. |
Name | Description |
---|---|
u1[n] | Connector 1 of Real input signals |
u2[n] | Connector 2 of Real input signals |
y[n] | Connector of Real output signals |
Base class for continuous signal source
Basic block for Real sources of package Blocks.Sources. This component has one continuous Real output signal y and two parameters (offset, startTime) to shift the generated signal.
Extends from SO (Single Output continuous control block).
Name | Description |
---|---|
offset | Offset of output signal y |
startTime | Output y = offset for time < startTime [s] |
Name | Description |
---|---|
y | Connector of Real output signal |
Single-Variable continuous controller
Block has two continuous Real input signals and one continuous Real output signal. The block is designed to be used as base class for a corresponding controller.
Extends from Modelica.Blocks.Icons.Block (Basic graphical layout of input/output block).
Name | Description |
---|---|
u_s | Connector of setpoint input signal |
u_m | Connector of measurement input signal |
y | Connector of actuator output signal |
Multi-Variable continuous controller
Block has two continuous Real input signal vectors and one continuous Real output signal vector. The block is designed to be used as base class for a corresponding controller.
Extends from Modelica.Blocks.Icons.Block (Basic graphical layout of input/output block).
Name | Description |
---|---|
nu_s | Number of setpoint inputs |
nu_m | Number of measurement inputs |
ny | Number of actuator outputs |
Name | Description |
---|---|
u_s[nu_s] | Connector of setpoint input signals |
u_m[nu_m] | Connector of measurement input signals |
y[ny] | Connector of actuator output signals |
Base class of discrete control blocks
Basic definitions of a discrete block of library Blocks.Discrete.
Extends from Modelica.Blocks.Icons.DiscreteBlock (Graphical layout of discrete block component icon).
Name | Description |
---|---|
samplePeriod | Sample period of component [s] |
startTime | First sample time instant [s] |
Single Input Single Output discrete control block
Block has one continuous input and one continuous output signal which are sampled due to the defined samplePeriod parameter.
Extends from DiscreteBlock (Base class of discrete control blocks).
Name | Description |
---|---|
samplePeriod | Sample period of component [s] |
startTime | First sample time instant [s] |
Name | Description |
---|---|
u | Continuous input signal |
y | Continuous output signal |
Multiple Input Multiple Output discrete control block
Block has a continuous input and a continuous output signal vector which are sampled due to the defined samplePeriod parameter.
Extends from DiscreteBlock (Base class of discrete control blocks).
Name | Description |
---|---|
samplePeriod | Sample period of component [s] |
startTime | First sample time instant [s] |
nin | Number of inputs |
nout | Number of outputs |
Name | Description |
---|---|
u[nin] | Continuous input signals |
y[nout] | Continuous output signals |
Multiple Input Multiple Output discrete control block
Block has a continuous input and a continuous output signal vector where the signal sizes of the input and output vector are identical. These signals are sampled due to the defined samplePeriod parameter.
Extends from DiscreteBlock (Base class of discrete control blocks).
Name | Description |
---|---|
n | Number of inputs (= number of outputs) |
samplePeriod | Sample period of component [s] |
startTime | First sample time instant [s] |
Name | Description |
---|---|
u[n] | Continuous input signals |
y[n] | Continuous output signals |
Discrete Single-Variable controller
Block has two continuous Real input signals and one continuous Real output signal that are sampled due to the defined samplePeriod parameter. The block is designed to be used as base class for a corresponding controller.
Extends from DiscreteBlock (Base class of discrete control blocks).
Name | Description |
---|---|
samplePeriod | Sample period of component [s] |
startTime | First sample time instant [s] |
Name | Description |
---|---|
u_s | Continuous scalar setpoint input signal |
u_m | Continuous scalar measurement input signal |
y | Continuous scalar actuator output signal |
Discrete Multi-Variable controller
Block has two continuous Real input signal vectors and one continuous Real output signal vector. The vector signals are sampled due to the defined samplePeriod parameter. The block is designed to be used as base class for a corresponding controller.
Extends from DiscreteBlock (Base class of discrete control blocks).
Name | Description |
---|---|
samplePeriod | Sample period of component [s] |
startTime | First sample time instant [s] |
nu_s | Number of setpoint inputs |
nu_m | Number of measurement inputs |
ny | Number of actuator outputs |
Name | Description |
---|---|
u_s[nu_s] | Continuous setpoint input signals |
u_m[nu_m] | Continuous measurement input signals |
y[ny] | Continuous actuator output signals |
Single Input Single Output control block with signals of type Boolean
Block has one continuous Boolean input and one continuous Boolean output signal.
Extends from Modelica.Blocks.Icons.BooleanBlock (Basic graphical layout of Boolean block).
Name | Description |
---|---|
u | Connector of Boolean input signal |
y | Connector of Boolean output signal |
Multiple Input Multiple Output continuous control block with same number of inputs and outputs of Boolean type
Block has a continuous Boolean input and a continuous Boolean output signal vector where the signal sizes of the input and output vector are identical.
Extends from Modelica.Blocks.Icons.BooleanBlock (Basic graphical layout of Boolean block).
Name | Description |
---|---|
n | Number of inputs (= number of outputs) |
Name | Description |
---|---|
u[n] | Connector of Boolean input signals |
y[n] | Connector of Boolean output signals |
2 Multiple Input / Boolean Multiple Output block with same signal lengths
Block has two Boolean input vectors u1 and u2 and one Boolean output vector y. All vectors have the same number of elements.
Extends from Modelica.Blocks.Icons.BooleanBlock (Basic graphical layout of Boolean block).
Name | Description |
---|---|
n | Dimension of input and output vectors. |
Name | Description |
---|---|
u1[n] | Connector 1 of Boolean input signals |
u2[n] | Connector 2 of Boolean input signals |
y[n] | Connector of Boolean output signals |
2 Single Input / Boolean Single Output block
Block has two Boolean input signals u1 and u2 and one Boolean output signal y.
Extends from Modelica.Blocks.Icons.BooleanBlock (Basic graphical layout of Boolean block).
Name | Description |
---|---|
u1 | Connector 1 of Boolean input signals |
u2 | Connector 2 of Boolean input signals |
y | Connector of Boolean output signals |
Base class for Boolean signal sources
Basic block for Boolean sources of package Blocks.Sources. This component has one continuous Boolean output signal y.
Extends from Modelica.Blocks.Icons.BooleanBlock (Basic graphical layout of Boolean block).
Name | Description |
---|---|
y | Connector of Boolean output signal |
Single Integer Output continuous control block
Block has one continuous Integer output signal.
Extends from Modelica.Blocks.Icons.IntegerBlock (Basic graphical layout of Integer block).
Name | Description |
---|---|
y | Connector of Integer output signal |
Multiple Integer Output continuous control block
Block has one continuous Integer output signal vector.
Extends from Modelica.Blocks.Icons.IntegerBlock (Basic graphical layout of Integer block).
Name | Description |
---|---|
nout | Number of outputs |
Name | Description |
---|---|
y[nout] | Connector of Integer output signals |
Base class for continuous Integer signal source
Basic block for Integer sources of package Blocks.Sources. This component has one continuous Integer output signal y and two parameters (offset, startTime) to shift the generated signal.
Extends from IntegerSO (Single Integer Output continuous control block).
Name | Description |
---|---|
offset | Offset of output signal y |
startTime | Output y = offset for time < startTime [s] |
Name | Description |
---|---|
y | Connector of Integer output signal |
Integer Input Boolean Output continuous control block
Block has a continuous Integer input and a continuous Boolean output signal.
Extends from Modelica.Blocks.Icons.BooleanBlock (Basic graphical layout of Boolean block).
Name | Description |
---|---|
u | Connector of Integer input signal |
y | Connector of Boolean output signal |
Multiple Integer Input Multiple Boolean Output continuous control block with same number of inputs and outputs
Block has a continuous Integer input and a continuous Boolean output signal vector where the signal sizes of the input and output vector are identical.
Extends from Modelica.Blocks.Icons.BooleanBlock (Basic graphical layout of Boolean block).
Name | Description |
---|---|
n | Number of inputs (= number of outputs) |
Name | Description |
---|---|
u[n] | Connector of Integer input signals |
y[n] | Connector of Boolean output signals |
Partial block with a IntegerInput and an IntegerOutput signal
Name | Description |
---|---|
u | Integer input signal |
y | Integer output signal |
Partial block with an IntegerVectorInput and an IntegerOutput signal
Name | Description |
---|---|
u[nu] | Vector of Integer input signals |
y | Integer output signal |
Partial block with 1 input and 1 output Boolean signal
Block has one continuous Boolean input and one continuous Boolean output signal with a 3D icon (e.g., used in Blocks.Logical library).
Extends from Modelica.Blocks.Icons.PartialBooleanBlock (Basic graphical layout of logical block).
Name | Description |
---|---|
u | Connector of Boolean input signal |
y | Connector of Boolean output signal |
Partial block with 2 input and 1 output Boolean signal
Block has two continuous Boolean input and one continuous Boolean output signal with a 3D icon (e.g., used in Blocks.Logical library).
Extends from Modelica.Blocks.Icons.PartialBooleanBlock (Basic graphical layout of logical block).
Name | Description |
---|---|
u1 | Connector of first Boolean input signal |
u2 | Connector of second Boolean input signal |
y | Connector of Boolean output signal |
Partial block with 3 input and 1 output Boolean signal
Block has three continuous Boolean input and one continuous Boolean output signal with a 3D icon (e.g., used in Blocks.Logical library).
Extends from Modelica.Blocks.Icons.PartialBooleanBlock (Basic graphical layout of logical block).
Name | Description |
---|---|
u1 | Connector of first Boolean input signal |
u2 | Connector of second Boolean input signal |
u3 | Connector of third Boolean input signal |
y | Connector of Boolean output signal |
Partial block with 1 input Boolean signal
Block has one continuous Boolean input signal with a 3D icon (e.g., used in Blocks.Logical library).
Extends from Modelica.Blocks.Icons.PartialBooleanBlock (Basic graphical layout of logical block).
Name | Description |
---|---|
u | Connector of Boolean input signal |
Partial block with 1 output Boolean signal
Block has one continuous Boolean output signal with a 3D icon (e.g., used in Blocks.Logical library).
Extends from Modelica.Blocks.Icons.PartialBooleanBlock (Basic graphical layout of logical block).
Name | Description |
---|---|
y | Connector of Boolean output signal |
Partial source block (has 1 output Boolean signal and an appropriate default icon)
Basic block for Boolean sources of package Blocks.Sources. This component has one continuous Boolean output signal y and a 3D icon (e.g., used in Blocks.Logical library).
Extends from Modelica.Blocks.Icons.PartialBooleanBlock (Basic graphical layout of logical block).
Name | Description |
---|---|
y | Connector of Boolean output signal |
Partial block to compare the Real input u with a threshold and provide the result as 1 Boolean output signal
Block has one continuous Real input and one continuous Boolean output signal as well as a 3D icon (e.g., used in Blocks.Logical library).
Name | Description |
---|---|
threshold | Comparison with respect to threshold |
Name | Description |
---|---|
u | Connector of Boolean input signal |
y | Connector of Boolean output signal |
Partial block with 2 Real input and 1 Boolean output signal (the result of a comparison of the two Real inputs)
Block has two continuous Real input and one continuous Boolean output signal as a result of the comparison of the two input signals. The block has a 3D icon (e.g., used in Blocks.Logical library).
Name | Description |
---|---|
u1 | Connector of first Boolean input signal |
u2 | Connector of second Boolean input signal |
y | Connector of Boolean output signal |
Partial block with a BooleanInput and a BooleanOutput signal and a small block icon
Name | Description |
---|---|
u | Boolean input signal |
y | Boolean output signal |
Partial block with a BooleanVectorInput and a BooleanOutput signal
Name | Description |
---|---|
u[nu] | Vector of Boolean input signals |
y | Boolean output signal |
Partial block defining the interface for conversion blocks
This block defines the interface of a conversion block that converts from one unit into another one.
Name | Description |
---|---|
u | Connector of Real input signal to be converted |
y | Connector of Real output signal containing input signal u in another unit |
This icon will be removed in future Modelica versions, use Modelica.Blocks.Icons.Block instead.
This icon will be removed in future versions of the Modelica Standard Library. Instead the icon Modelica.Blocks.Icons.Block shall be used.
This icon will be removed in future Modelica versions, use Modelica.Blocks.Icons.BooleanBlock instead.
This icon will be removed in future versions of the Modelica Standard Library. Instead the icon Modelica.Blocks.Icons.BooleanBlock shall be used.
This icon will be removed in future Modelica versions, use Modelica.Blocks.Icons.DiscreteBlock instead.
This icon will be removed in future versions of the Modelica Standard Library. Instead the icon Modelica.Blocks.Icons.DiscreteBlock shall be used.
This icon will be removed in future Modelica versions, use Modelica.Blocks.Icons.IntegerBlock instead.
This icon will be removed in future versions of the Modelica Standard Library. Instead the icon Modelica.Blocks.Icons.IntegerBlock shall be used.
This icon will be removed in future Modelica versions, use Modelica.Blocks.Icons.PartialBooleanBlock instead.
This icon will be removed in future versions of the Modelica Standard Library. Instead the icon Modelica.Blocks.Icons.PartialBooleanBlock shall be used.
Partial noise generator
Partial base class of noise generators defining the common features of noise blocks.
Extends from Modelica.Blocks.Interfaces.SO (Single Output continuous control block).
Name | Description |
---|---|
samplePeriod | Period for sampling the raw random numbers [s] |
Advanced | |
Noise generation | |
enableNoise | =true: y = noise, otherwise y = y_off |
y_off | y = y_off if enableNoise=false (or time<startTime, see below) |
Initialization | |
useGlobalSeed | = true: use global seed, otherwise ignore it |
useAutomaticLocalSeed | = true: use automatic local seed, otherwise use fixedLocalSeed |
fixedLocalSeed | Local seed (any Integer number) |
startTime | Start time for sampling the raw random numbers [s] |
Name | Description |
---|---|
y | Connector of Real output signal |