blockExtractor

Extract scalar signal out of signal vector dependent on IntegerRealInput index

Extends from Modelica.Blocks.Interfaces.MISO (Multiple Input Single Output continuous control block).

Information

This block extracts a scalar output signal out of 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.

Parameters

TypeNameDefaultDescription
Integernin (from MISO)1Number of inputs
BooleanallowOutOfRangefalse= true, if index may be out of range
RealoutOfRangeValue1e10Output signal if index is out of range

Connectors

TypeNameDefaultDescription
RealInput[nin]u (from MISO)Connector of Real input signals
RealOutputy (from MISO)Connector of Real output signal
Modelica.Blocks.Interfaces.IntegerInputindex