Lemonergy · Studio block
Bus selector
Selects one declared field or nested field from a named bus.
- Implementation ID
bus-select- Reviewed
- 2026-10-27
Behavior
A dotted field path selects the original typed value; missing fields are rejected before simulation.
Interface
| Name | Direction | Unit | Meaning |
|---|---|---|---|
bus | input | 1 | pack; named bus with declared typed fields. |
soc | output | fraction | soc; real signal. |
Parameters
Defaults are initial model values. Select values for your own model and operating conditions.
| Parameter | Unit | Default | Meaning and limits |
|---|---|---|---|
Bus declarationbus | 1 | pack | Explicit bus used by this worked model. |
Selected field pathfield | 1 | state.soc | Explicit field used by this worked model. |
Equations and rules
y = bus[configured field path]
Worked example
Update nested battery telemetry
Initial-SOC = 0.5; Updated-SOC = 0.6; Cell-voltage = 3.7. Before at 1 s = 0.5; After at 1 s = 0.6.
Open Studio example after release →| Output | Time (s) | Expected value | Unit | Absolute tolerance |
|---|---|---|---|---|
BeforeBefore | 1 | 0.5 | fraction | 1e-09 |
AfterAfter | 1 | 0.6 | fraction | 1e-09 |
Use in a workflow
Update nested battery telemetry
Selects one declared field or nested field from a named bus.
- Bus selector: A dotted field path selects the original typed value; missing fields are rejected before simulation.
- Use the block reference for settings and connections.
- Implementation tested locally; public release pending.
Connected concepts
Limits and interpretation
- Paths must exist in the declared bus version; dynamic field names are not supported.
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)