Lemonergy · Studio block
Manual switch
Selects a configured input without changing its shape, units or element type.
- Implementation ID
native-manual-switch- Reviewed
- 2026-10-27
Behavior
y = data[configured index].
Interface
| Name | Direction | Unit | Meaning |
|---|---|---|---|
in0 | input | 1 | First signal; real 3 array. |
in1 | input | 1 | Second signal; real 3 array. |
out0 | output | 1 | Selected signal; real 3 array. |
Parameters
Defaults are initial model values. Select values for your own model and operating conditions.
| Parameter | Unit | Default | Meaning and limits |
|---|---|---|---|
Selected input (zero-based)params[0] | 1 | 1 | Configured value for Selected input (zero-based). |
Equations and rules
y = data[configured index]
Worked example
Manual switch — worked example
First signal = [1,2,3]; Second signal = [4,5,6]. Selected signal at 0 s = [4,5,6].
Open Studio example after release →| Output | Time (s) | Expected value | Unit | Absolute tolerance |
|---|---|---|---|---|
Selected signalout0 | 0 | [4, 5, 6] | 1 | 1e-09 |
Explore the recorded outputs
Manual switch recorded example
Manual switch [1]2 actual recorded samples. Lines are visual guides between samples. Synthetic example, not measured cell data.
Read the selected signal as a table
| Time (s) | Value |
|---|
Download the recorded samples (JSON) · Open this Studio example after release
Use in a workflow
Manual switch — worked example
Selects a configured input without changing its shape, units or element type.
- Manual switch: y = data[configured index].
- Use the block reference for settings and connections.
- Implementation tested locally; public release pending.
Connected concepts
Limits and interpretation
- The selected input is configured before the run; this is not a mid-run interactive control.
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)