Skip to content

Add SOC prediction log to markdown table converter#240

Merged
kvanbiesen merged 1 commit intokvanbiesen:mainfrom
renaudallard:main
Feb 13, 2026
Merged

Add SOC prediction log to markdown table converter#240
kvanbiesen merged 1 commit intokvanbiesen:mainfrom
renaudallard:main

Conversation

@renaudallard
Copy link
Copy Markdown
Contributor

That's a full SOC prediction and learning script to generate pretty markdown tables from debug logs.
Saves a lot of time.
It will show something like this:

Time VIN Event Details
08:05:50 WBY...9486 Drive anchor 49.0% at 34071.0 km (cons=0.180)
08:06:19 WBY...9486 Re-anchor 49.0% -> 48.0% at 34071.0 km
08:09:42 WBY...9486 Re-anchor 48.0% -> 48.0% at 34072.0 km
08:13:34 WBY...9486 Re-anchor 48.0% -> 48.0% at 34073.0 km
08:16:11 WBY...9486 Skip learn distance 2.0 km < 5.0 km
08:44:46 WBY...9486 Drive anchor 46.0% at 34075.0 km (cons=0.180)
08:47:46 WBY...9486 Re-anchor 46.0% -> 46.0% at 34077.0 km
08:50:47 WBY...9486 Re-anchor 46.0% -> 46.0% at 34078.0 km
08:53:47 WBY...9486 Re-anchor 46.0% -> 46.0% at 34079.0 km
08:56:07 WBY...9486 Re-anchor 45.0% -> 45.0% at 34080.0 km
08:56:07 WBY...9486 Re-anchor 46.0% -> 45.0% at 34079.0 km
08:58:41 WBY...9486 Skip learn SOC drop 1.0% < 2.0%
09:47:10 WBY...9486 Drive anchor 45.0% at 34081.0 km (cons=0.180)
09:50:11 WBY...9486 Re-anchor 44.0% -> 44.0% at 34083.0 km
09:50:11 WBY...9486 Re-anchor 45.0% -> 44.0% at 34081.0 km
09:52:19 WBY...9486 Re-anchor 43.0% -> 43.0% at 34086.0 km
09:52:19 WBY...9486 Re-anchor 44.0% -> 43.0% at 34083.0 km
09:55:20 WBY...9486 Re-anchor 43.0% -> 43.0% at 34087.0 km
09:57:06 WBY...9486 Re-anchor 43.0% -> 43.0% at 34088.0 km
09:57:53 WBY...9486 Charge anchor 43.0% (capacity=74.0 kWh, method=AC)
09:57:53 WBY...9486 Charge start
10:00:41 WBY...9486 Drive end no active session
10:29:07 WBY...9486 BMW sync 47.0% > predicted 43.0%, syncing up
10:38:32 WBY...9486 BMW sync 48.0% > predicted 47.0%, syncing up
10:39:54 WBY...9486 BMW sync 48.0% > predicted none, syncing up
10:39:54 WBY...9486 Charge anchor 43.0% (capacity=74.0 kWh, method=AC)
10:39:54 WBY...9486 Charge start
10:39:54 WBY...9486 Drive end no active session
10:39:54 WBY...9486 Power 6.72 kW (aux: 0.00 kW) - total energy: 0.000 kWh, predicted SOC: 43.0%
10:39:59 WBY...9486 Charging 48.0% (anchor 48.0%, +0.01 kWh, 90%)
10:40:00 WBY...9486 Charging 48.0% (anchor 48.0%, +0.01 kWh, 90%)
10:40:14 WBY...9486 Charging 48.0% (anchor 48.0%, +0.03 kWh, 90%)
10:40:19 WBY...9486 Charging 48.1% (anchor 48.0%, +0.04 kWh, 90%)
10:40:44 WBY...9486 Charging 48.1% (anchor 48.0%, +0.08 kWh, 90%)
10:40:49 WBY...9486 Charging 48.1% (anchor 48.0%, +0.09 kWh, 90%)
10:41:14 WBY...9486 Charging 48.2% (anchor 48.0%, +0.13 kWh, 90%)
10:41:19 WBY...9486 Charging 48.2% (anchor 48.0%, +0.14 kWh, 90%)
10:41:44 WBY...9486 Charging 48.2% (anchor 48.0%, +0.18 kWh, 90%)

@kvanbiesen kvanbiesen merged commit f86b1e3 into kvanbiesen:main Feb 13, 2026
6 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants