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, . The integer input index specifies which signal to extract.
When the input index is outside the range , if allowOutOfRange is true, the output is outOfRangeValue, otherwise it is zero.
|
|
Connections
|
|
Name
|
Description
|
|
integer input
|
|
Real vector input signal connection
|
|
Real output signal connection
|
|
|
|
|
Variables
|
|
Symbol
|
Units
|
Description
|
|
-
|
Integer input signal
|
|
-
|
Real input signal
|
|
-
|
Real output signal
|
|
|
|
|
Parameters
|
|
Symbol
|
Default
|
Type
|
Description
|
Modelica ID
|
|
|
Integer
|
Number of inputs
|
nin
|
|
|
Boolean
|
index may be out of range
|
allowOutOfRange
|
outOfRangeValue
|
1e10
|
Real
|
Output signal if index is out of range
|
outOfRangeValue
|
|
|
|
|
See Also
|
|
Signal Blocks Overview
The components described in this topic are from the Modelica Standard Library. To view the original documentation, which includes author and copyright information, click here.
|
|
Download Help Document
Was this information helpful?