Implements the package from PLAN.md: config/data loading, the LP-first
MILP-fallback rolling-horizon optimiser, battery degradation tracking,
independent schedule validation, metrics, plots and the CLI, plus the
matching test suite. Adds a Gitea Actions workflow (lint + tests) that
posts a pass/fail notification to ntfy on every run, and a .gitignore
for build/cache artefacts that had been tracked by mistake.
Co-Authored-By: Claude Sonnet 5 <noreply@anthropic.com>
Commits the three source documents for the battery trading exercise
(task brief, battery specification, and three years of half-hourly
Market 1 and hourly Market 2 prices) together with PLAN.md, the
implementation plan for the dispatch model.
The plan covers a rolling-horizon MILP on the half-hourly grid with a
48-hour lookahead and 24-hour commitment, solved with PuLP/CBC, plus
degradation and cycle-life reporting, an independent schedule
validator, charts and tests.
Co-Authored-By: Claude Opus 5 (1M context) <noreply@anthropic.com>