WOLFRAM SYSTEM MODELER

Extractor

Extract scalar signal out of signal vector dependent on IntegerRealInput index

Wolfram Language

In[1]:=
SystemModel["Modelica.Blocks.Routing.Extractor"]
Out[1]:=

Information

This information is part of the Modelica Standard Library maintained by the Modelica Association.

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 (3)

nin

Value: 1

Type: Integer

Description: Number of inputs

allowOutOfRange

Value: false

Type: Boolean

Description: = true, if index may be out of range

outOfRangeValue

Value: 1e10

Type: Real

Description: Output signal if index is out of range

Connectors (3)

u

Type: RealInput[nin]

Description: Connector of Real input signals

y

Type: RealOutput

Description: Connector of Real output signal

index

Type: IntegerInput

Description: 'input Integer' as connector