Initial import: home-battery ROI simulator + cracked thuisbatterijgids calc

- Hourly data exporter (InfluxDB → CSV) for prices, P1, irradiance.
- LP-based 24h-foresight oracle dispatch with SoC-consistent state engine.
- Reverse-engineered thuisbatterijgids.nl formula (matches their quotes
  to within €0.50 across three battery configs).
- Catalog scraper for the 52 batteries on thuisbatterijgids.net via their
  /wp-json REST endpoint.
- Web app (Flask) that ranks every catalog battery by honest payback and
  contrasts with the store's quote, deployable via the included Procfile.
This commit is contained in:
Michiel Berger 2026-04-30 13:46:27 +02:00
commit 60e0706736
29 changed files with 30358 additions and 0 deletions

7
README.md Normal file
View file

@ -0,0 +1,7 @@
# 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.