Lemonergy · Studio block
Vector selector
Selects a configured element from a real vector.
- Implementation ID
vector-select- Reviewed
- 2026-10-27
Behavior
The zero-based element index is checked against the fixed vector dimension before execution.
Interface
| Name | Direction | Unit | Meaning |
|---|---|---|---|
vector | input | 1 | Vector; real signal. |
element | output | 1 | Element 1; real signal. |
Parameters
Defaults are initial model values. Select values for your own model and operating conditions.
| Parameter | Unit | Default | Meaning and limits |
|---|---|---|---|
Vector lengthn | 1 | 3 | Explicit n used by this worked model. |
Selected zero-based indexindex | 1 | 1 | Explicit index used by this worked model. |
Physical quantityquantity | 1 | dimensionless | Explicit quantity used by this worked model. |
Equations and rules
y = vector[index]
Worked example
Connect scalar and vector blocks
A = 1; B = 2; C = 3. Result at 1 s = 24.
Open Studio example after release →| Output | Time (s) | Expected value | Unit | Absolute tolerance |
|---|---|---|---|---|
ResultResult | 1 | 24 | 1 | 1e-09 |
Use in a workflow
Connect scalar and vector blocks
Selects a configured element from a real vector.
- Vector selector: The zero-based element index is checked against the fixed vector dimension before execution.
- Use the block reference for settings and connections.
- Implementation tested locally; public release pending.
Connected concepts
Limits and interpretation
- The selected index is configured before the run; use other routing operations for dynamic selection.
Reference basis
This software operation is defined by its public contract and worked example; no external research result is claimed.
Implementation sources
This reference follows the public interface and locally verified numerical checks for an upcoming release.
Contract: Lemonergy Studio public contract · Verification record: verification-2026-10-27
docs/glossary/native-block-verification.json
This implementation and its workflow uses (JSON) · Knowledge graph (JSON-LD)