Battery knowledge · Data, communication and electronics

Plant model

A model of the system being controlled — cells, pack, cooling loop, charger — as distinct from the controller itself. Engineers tune and verify BMS software against it in model-, software- and hardware-in-the-loop tests, so its fidelity, often an equivalent circuit model coupled to a thermal model, limits how much those tests prove.

Also called
system model

Example

Data, communication and electronics: an example situation

2500 in a log might mean 25.00 °C, 2.5 V or raw counts. Units and scale must accompany the value.

Read Plant model alongside Battery and cell emulator in this context. A programmable power source that behaves like a battery or like each cell of a string, so a BMS or charger can be tested at any voltage, state of charge or fault without real cells. Cell emulators drive every AFE input separately.

Use in Lemonergy

Lemonergy Studio blocks

Update nested battery telemetry

Replaces selected bus fields while preserving every other field.

Blocks to use

  1. Bus assignment

    Replacement ports inherit the exact declared field types. The original bus value remains unchanged for other consumers.

    Inputs & settings
    • Use the block reference for settings and connections.
    • Bundled example verified on the production release of 28 October 2026.

This overview identifies the components to use. Follow the example in Lemonergy for their connections and settings.

  1. Review the interface, units and model limits.
  2. Open the Studio example and run its bundled model.
  3. Compare outputs with the numerical checks; change one input and run again.

Example. Initial-SOC = 0.5; Updated-SOC = 0.6; Cell-voltage = 3.7. Before at 1 s = 0.5; After at 1 s = 0.6.

Observe. Inspect the output channels and checks on the block reference page.

A field and one of its descendants cannot be replaced in the same assignment; replacement paths must be distinct.

Open Studio example →

Lemonergy Studio blocks

Update nested battery telemetry

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

Blocks to use

  1. Bus creator

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

    Inputs & settings
    • Use the block reference for settings and connections.
    • Bundled example verified on the production release of 28 October 2026.

This overview identifies the components to use. Follow the example in Lemonergy for their connections and settings.

  1. Review the interface, units and model limits.
  2. Open the Studio example and run its bundled model.
  3. Compare outputs with the numerical checks; change one input and run again.

Example. Initial-SOC = 0.5; Updated-SOC = 0.6; Cell-voltage = 3.7. Before at 1 s = 0.5; After at 1 s = 0.6.

Observe. Inspect the output channels and checks on the block reference page.

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

Open Studio example →

Lemonergy Studio blocks

Update nested battery telemetry

Selects one declared field or nested field from a named bus.

Blocks to use

  1. Bus selector

    A dotted field path selects the original typed value; missing fields are rejected before simulation.

    Inputs & settings
    • Use the block reference for settings and connections.
    • Bundled example verified on the production release of 28 October 2026.

This overview identifies the components to use. Follow the example in Lemonergy for their connections and settings.

  1. Review the interface, units and model limits.
  2. Open the Studio example and run its bundled model.
  3. Compare outputs with the numerical checks; change one input and run again.

Example. Initial-SOC = 0.5; Updated-SOC = 0.6; Cell-voltage = 3.7. Before at 1 s = 0.5; After at 1 s = 0.6.

Observe. Inspect the output channels and checks on the block reference page.

Paths must exist in the declared bus version; dynamic field names are not supported.

Open Studio example →
All connected Lemonergy block references

References & further reading

Further reading on this topic

These sources provide broader context; they are not presented as citations for every statement in this entry.

  1. 3rd generation of the CAN data link layer

    CAN in Automation, CAN Newsletter · 2020

    Topic background · Classical CAN, CAN FD and CAN XL data-link concepts; publication describes the 2020 state.

  2. Getting Started with the BQ76925

    Texas Instruments · 2019

    Topic background · A concrete BMS analog front-end example: cell voltage, current, temperature measurement and MCU integration.