Core idea
The BHI estimates remaining capacity from OCPP charging data, using only stable charging phases (after initial warm‑up). Processing runs offline overnight.
- Stable phase: analysis starts ≈10–20 min after start (AC), 5% SoC change on DC or when stability criteria are met ().
- Capacity estimate:
Capacity ≈ 100% × ΔE / ΔSoCfrom delivered energy (kWh) and SoC change (%). - BHI/SoH:
BHI ≈ (current capacity / reference) × 100%. Without OEM data, the first robust session becomes the baseline. - Self‑comparison: evaluate vehicle vs. its own history, split by AC/DC and temperature bands.
Confidence model
Confidence (0–100%) quantifies reliability of the current BHI:
- Session coverage (35 pts): share of eligible sessions (ΔSoC ≥ 20 pp) in 30 d (up to 40 sessions → full points).
- Stability (25 pts): low std. deviation of BHI in last 30 d → more points.
- AC/DC mix (15 pts): balanced coverage (~50/50) → maximum.
- ΔSoC span (15 pts): median span per evaluated window (≥ 35 pp → maximum).
- Temperature coverage (10 pts): share of sessions within 5–30 °C.
Buckets: high ≥ 70 %, medium 40–69 %, low < 40 %.
Thresholds & status
critical if BHI < 80% OR Δ30d ≤ −3.0 pp OR Δ90d ≤ −6.0 pp.
watch (if not critical) if BHI < 85% OR Δ30d ≤ −2.0 pp OR Δ90d ≤ −4.0 pp.
ok otherwise.
Thresholds are configurable per OEM/use case.
Reference SoH & correlation
The dashboard integrates two reference signals:
- OEM SoH (daily): direct SoH reported by the vehicle/OEM, shown with date and latest value.
- Manual SoH measurements: lab/garage SoH tests with timestamp.
We compute the correlation r (BHI↔OEM) over a 90‑day window, along with mean bias (BHI−OEM, in pp) and MAE.
Optionally, a calibration (bias correction) can be applied if a systematic offset is proven.
Constant window detection (charging profile)
Only the constant SoC‑increase segment of a session is used for capacity estimates:
- Ignore initial warm‑up: start after +5 pp SoC change from session start (controllers & auxiliaries settled).
- Find constant segment: rolling slope of SoC(t) (dSoC/dt); choose the longest window with low coefficient of variation and high mean slope.
- Stop before taper: end when slope drops below 70% of the stable mean (balancing phase).
The constant window is highlighted in the per‑vehicle charging profile with two vertical markers and a shaded band.