blockExtractor

Extract scalar signal out of signal vector dependent on IntegerRealInput index

Extends from Modelica.ComplexBlocks.Interfaces.ComplexMISO (Multiple Input Single Output continuous control block).

Information

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.

Parameters

TypeNameDefaultDescription
Integernin (from ComplexMISO)1Number of inputs
Boolean[nin]useConjugateInput (from ComplexMISO)fill(false, nin)If true, inputs are processed conjugate complex
BooleanallowOutOfRangefalseIndex may be out of range
ComplexoutOfRangeValueComplex(1e10, 0)Output signal if index is out of range

Connectors

TypeNameDefaultDescription
ComplexInput[nin]u (from ComplexMISO)Connector of Complex input signals
ComplexOutputy (from ComplexMISO)Connector of Complex output signal
Modelica.Blocks.Interfaces.IntegerInputindex