Lemonergy · Studio block

Bus creator

Collects typed named fields into a bus, including nested buses.

Implementation ID
bus-create
Reviewed
2026-10-27

Behavior

Field names, quantities and nested bus types come from an explicit versioned declaration; no numerical values are changed.

Interface

Bus creator interfaceInputs or arguments on the left, observed outputs on the right. Conserving terminals appear below the component. The tables give units and behavior.Bus creatorStudio blocksocbus
Original Lemonergy interface view. Lines identify ports; they are not a completed simulation circuit.
Ports and observed outputs
NameDirectionUnitMeaning
socinputfractionsoc; real signal.
busoutput1state; named bus with declared typed fields.

Parameters

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

Configuration fields
ParameterUnitDefaultMeaning and limits
Bus declaration
bus
1stateExplicit bus used by this worked model.

Equations and rules

  • bus[field] = connected field value

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 →
Numerical checks for the bundled synthetic example
OutputTime (s)Expected valueUnitAbsolute tolerance
Before
Before
10.5fraction1e-09
After
After
10.6fraction1e-09

Use in a workflow

Update nested battery telemetry

Collects typed named fields into a bus, including nested buses.

  1. Bus creator: Field names, quantities and nested bus types come from an explicit versioned declaration; no numerical values are changed.
    • Use the block reference for settings and connections.
    • Implementation tested locally; public release pending.
Open Studio example after release

Connected concepts

Limits and interpretation

  • Bus declarations must be acyclic, at most 16 levels deep, with at most 4096 leaves.

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)