No description
Find a file
Michiel Berger ab4f9712b5 Default export_rate to 0; add tie-breaker so battery fills before exporting
- DEFAULTS['export_rate'] = 0 (terugleveringskosten can be re-enabled per
  scenario via the Advanced field — keeping the headline default simple).
- LP gets a microscopic per-hour penalty (1e-6 € · hour) on charging that
  prefers earlier hours, and on discharging that prefers later. Total
  effect on annual savings: < €0.001 (well below display rounding). But
  visually the battery now fills as soon as surplus arrives, instead of
  the LP arbitrarily mixing surplus hours with grid-arbitrage hours when
  both give the same daily total.
2026-05-01 10:04:23 +02:00
data/raw Battery timeline modal + switch to real 2025 data 2026-05-01 09:21:16 +02:00
docs Initial import: home-battery ROI simulator + cracked thuisbatterijgids calc 2026-04-30 13:46:27 +02:00
scripts timeline: label columns 'no-bat meter' / 'with-bat meter' to avoid confusion 2026-04-30 22:47:59 +02:00
src/pluginbattery Default export_rate to 0; add tie-breaker so battery fills before exporting 2026-05-01 10:04:23 +02:00
tests Initial import: home-battery ROI simulator + cracked thuisbatterijgids calc 2026-04-30 13:46:27 +02:00
.env.example Initial import: home-battery ROI simulator + cracked thuisbatterijgids calc 2026-04-30 13:46:27 +02:00
.gitignore Move custom batteries from web.py into data/raw/extra_batteries.json 2026-04-30 15:52:16 +02:00
CLAUDE.md Initial import: home-battery ROI simulator + cracked thuisbatterijgids calc 2026-04-30 13:46:27 +02:00
Dockerfile Dockerfile: gunicorn 2 workers x 4 threads (gthread) 2026-04-30 17:39:13 +02:00
Procfile Initial import: home-battery ROI simulator + cracked thuisbatterijgids calc 2026-04-30 13:46:27 +02:00
pyproject.toml Initial import: home-battery ROI simulator + cracked thuisbatterijgids calc 2026-04-30 13:46:27 +02:00
README.md Initial import: home-battery ROI simulator + cracked thuisbatterijgids calc 2026-04-30 13:46:27 +02:00
uv.lock Initial import: home-battery ROI simulator + cracked thuisbatterijgids calc 2026-04-30 13:46:27 +02:00

pluginbattery

Backtest the actual ROI of a home battery against real historical electricity prices and solar irradiance.

Answers: "If I had owned this battery (plug-in or installed) over the last N years, what would it have actually saved me?"

See CLAUDE.md for project intent, open decisions, and assumptions.