ExtractorExtract scalar signal out of signal vector dependent on IntegerRealInput index |
This information is part of the Modelica Standard Library maintained by the Modelica Association.
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.
nin |
Value: 1 Type: Integer Description: Number of inputs |
---|---|
useConjugateInput |
Value: fill(false, nin) Type: Boolean[nin] Description: If true, inputs are processed conjugate complex |
allowOutOfRange |
Value: false Type: Boolean Description: Index may be out of range |
outOfRangeValue |
Value: Complex(1e10, 0) Type: Complex Description: Output signal if index is out of range |
u |
Type: ComplexInput[nin] Description: Connector of Complex input signals |
|
---|---|---|
y |
Type: ComplexOutput Description: Connector of Complex output signal |
|
index |
Type: IntegerInput |
uInternal |
Type: Complex[nin] Description: Equals either u or conjugate complex input u if useComplexInput = true |
|
---|---|---|
outOfRangeValue |
Type: Complex Description: Output signal if index is out of range |
|
k |
Type: Complex[nin] |