Lemonergy · Studio block

Resistance health index

Endpoint-normalized health index with raw value and out-of-reference flag.

Implementation ID
battery-resistance-health
Reviewed
2026-10-27

Behavior

Maps a measured capacity or resistance between user-selected fresh and end-of-life endpoints. It returns a clipped health index, the raw index and a flag for values outside the reference interval.

Interface

Resistance health index interfaceInputs or arguments on the left, observed outputs on the right. Conserving terminals appear below the component. The tables give units and behavior.Resistance health indexStudio blockmeasurementhealthrawoutside
Original Lemonergy interface view. Lines identify ports; they are not a completed simulation circuit.
Ports and observed outputs
NameDirectionUnitMeaning
measurementinput1Measured resistance (ohm); scalar.
healthoutput1 (fraction)Clipped health index; scalar.
rawoutput1Unclipped index; scalar.
outsideoutputtrue / falseOutside reference range; scalar.

Parameters

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

Configuration fields
ParameterUnitDefaultMeaning and limits
New resistance (Ω)
fresh
Ω0.05New resistance (Ω). This is an editable model input; the default belongs to the synthetic worked example.
End-of-life resistance (Ω)
end
Ω0.1End-of-life resistance (Ω). This is an editable model input; the default belongs to the synthetic worked example.

Equations and rules

  • raw = (measurement - end) / (fresh - end)
  • health = clamp(raw, 0, 1)

Worked example

Resistance health index worked example

Use the defaults below with Measured resistance (ohm) = 0.075 1. At 0 s, Clipped health index is 0.5 1 (fraction). Additional checks are listed below.

Open Studio example after release →
Numerical checks for the bundled synthetic example
OutputTime (s)Expected valueUnitAbsolute tolerance
Clipped health index
health
00.51 (fraction)1e-08

Explore the recorded outputs

Resistance health index recorded example

Resistance health index / Clipped health index
Resistance health index / Clipped health index against timeRecorded synthetic simulation values. Time in seconds; output in 1 (fraction).1.110223e-1600.250.250.50.50.750.75111 (fraction)Time (s)
Resistance health index / Clipped health index: 0.5 1 (fraction) 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

Resistance health index worked example

Endpoint-normalized health index with raw value and out-of-reference flag.

  1. Resistance health index: Maps a measured capacity or resistance between user-selected fresh and end-of-life endpoints. It returns a clipped health index, the raw index and a flag for values outside the reference interval.
    • Use the parameter values in the block reference.
    • Implementation tested locally; public release pending.
Open Studio example after release

Connected concepts

Limits and interpretation

  • This endpoint-normalized index is not the same quantity as capacity retention. The endpoint choice determines its interpretation.
  • The example verifies numerical behavior for synthetic parameters. Cell characterization and validation for an intended use are separate tasks.

Scientific and mathematical references

These sources explain the scientific and mathematical background. The behavior, interface and limits above define the Lemonergy implementation; a citation does not imply every model option in the source is implemented.

  1. Extended Kalman filtering for battery management systems of LiPB-based HEV battery packs: Part 3. State and parameter estimation

    Gregory L. Plett · Journal of Power Sources · 2004

    Technical reference · Model-based battery state-of-charge and parameter estimation with extended Kalman filtering, including uncertainty and model dependence.

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)