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

Manual switch interfaceInputs or arguments on the left, observed outputs on the right. Conserving terminals appear below the component. The tables give units and behavior.Manual switchStudio blockin0in1out0
Original Lemonergy interface view. Lines identify ports; they are not a completed simulation circuit.
Ports and observed outputs
NameDirectionUnitMeaning
in0input1First signal; real 3 array.
in1input1Second signal; real 3 array.
out0output1Selected signal; real 3 array.

Parameters

Defaults are initial model values. Select values for your own model and operating conditions.

Configuration fields
ParameterUnitDefaultMeaning and limits
Selected input (zero-based)
params[0]
11Configured 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 →
Numerical checks for the bundled synthetic example
OutputTime (s)Expected valueUnitAbsolute tolerance
Selected signal
out0
0[4, 5, 6]11e-09

Explore the recorded outputs

Manual switch recorded example

Manual switch [1]
Manual switch [1] against timeRecorded synthetic simulation values. Time in seconds; output in —.3.503.750.2540.54.250.754.51—Time (s)
Manual switch [1]: 4 — at 0 s

2 actual recorded samples. Lines are visual guides between samples. Synthetic example, not measured cell data.

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.

  1. Manual switch: y = data[configured index].
    • Use the block reference for settings and connections.
    • Implementation tested locally; public release pending.
Open Studio example after release

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)