Lemonergy · Studio block
Variant branch start
Starts a statically selected output branch with inactive-branch elimination.
- Implementation ID
variant-start- Reviewed
- 2026-10-27
Behavior
Starts a statically selected branch region by activating one output path.
Interface
| Name | Direction | Unit | Meaning |
|---|---|---|---|
in0 | input | 1 | Branch 0; real signal. |
out0 | output | 1 | Branch 0; real signal. |
out1 | output | 1 | Branch 1; real signal. |
Parameters
Defaults are initial model values. Select values for your own model and operating conditions.
| Parameter | Unit | Default | Meaning and limits |
|---|---|---|---|
selectedselected | 1 | 0 | Explicit selected in the worked model. |
countcount | 1 | 2 | Explicit count in the worked model. |
signal quantitysignal.quantity | 1 | dimensionless | Explicit signal quantity in the worked model. |
signal shapesignal.shape | 1 | [] | Explicit signal shape in the worked model. |
signal element Typesignal.elementType | 1 | real | Explicit signal elementType in the worked model. |
Equations and rules
active branch = configured selection
Worked example
Variant branch start — executable model
The first branch takes input3 through gain2, producing6.
Open Studio example after release →| Output | Time (s) | Expected value | Unit | Absolute tolerance |
|---|---|---|---|---|
ResultResult | 0.2 | 6 | 1 | 1e-09 |
Use in a workflow
Variant branch start — executable model
Starts a statically selected output branch with inactive-branch elimination.
- Variant branch start: Starts a statically selected branch region by activating one output path.
- Use the block reference for settings and connections.
- Implementation tested locally; public release pending.
Connected concepts
Limits and interpretation
- Selected branch paths must remain consistent with the corresponding end selection. There are no symbolic condition expressions.
Reference basis
This compiler and software type contract is defined by the documented behavior and executable example; no external research result or full external API parity 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)