Extractor
Extract signal from vector
Description
Equations
Connections
Parameters
Modelica Standard Library
The Extractor component extracts a signal from an input vector based on an input index.
If the index input is out of range, then the output is 0 unless the parameter Allow Out of Range is true, then the output is the value of the Out of Range parameter.
y={uindex0<index≤ninOut of Range ValueAllow Out of Range Value0otherwise
Name
Modelica ID
u
Real input vector
y
Real output signal
index
Integer input
Default
Units
nin
1
Number of inputs
Allow Out Of Range
false
See description
allowOutOfRange
Out Of Range Value
1·1010
Output value if index is out of range
outOfRangeValue
The component described in this topic is from the Modelica Standard Library. To view the original documentation, which includes author and copyright information, click here.
See Also
Routing
Selectors
Signal Blocks
Download Help Document