Extractor

Extracts a signal from an input signal vector, dependent on an input signal

 Description The Extractor component extracts a signal from the input vector, $u$. The integer input index specifies which signal to extract. When the input index is outside the range $1..{n}_{\mathbf{in}}$, if the Allow Out Of Range parameter is true, the output is Out Of Range, otherwise it is zero.

Connections

 Name Description $\mathrm{index}$ integer input $u$ Real vector input signal connection $y$ Real output signal connection

Variables

 Symbol Units Description $\mathrm{index}$ - Integer input signal $u$ - Real input signal $y$ - Real output signal

Parameters

 Symbol Default Type Description Modelica ID $1$ Integer Number of inputs nin Allow Out Of Range $\mathrm{false}$ Boolean index may be out of range allowOutOfRange Out Of Range Value 1e10 Real Output signal if index is out of range outOfRangeValue