Building RenewableCast: Forecasting German Wind and Solar, Benchmarked Against ENTSO-E
- v3 average error on four unseen weeks, forecast weather
- 1,567 MW
- v3 average error on four unseen weeks, forecast weather
- ENTSO-E on the same weeks: a tie
- 1,574 MW
- ENTSO-E on the same weeks: a tie
- Forecast resolution, 24 h ahead
- 15 min
- Forecast resolution, 24 h ahead
Germany’s renewable fleet now routinely swings tens of gigawatts within a day. Grid and trading decisions need a short-horizon view of that supply, and a clear bar for whether a forecast is good enough.
RenewableCast is my answer: a live 24-hour-ahead forecast of German wind and solar generation at 15-minute resolution, served as a dashboard and API, and scored continuously against the ENTSO-E day-ahead wind+solar forecast.
Update, November 2026. The current model (v3, live since 7 November) ties ENTSO-E on four weeks it never saw, 7 October to 3 November 2026: MAE 1,567 MW against 1,574 MW, and 17% lower than the previous model's 1,881 MW. It is trained on forecast weather, the same input it gets live. The July numbers below were scored on observed weather and are kept as a record.
The short version of the July results:
- The base LightGBM stack currently trails ENTSO-E on the held-out skill window (skill ≈ −0.17, MAE 2,880 MW vs ENTSO-E 2,377 MW).
- An optional ENTSO-E residual corrector improves that to skill ≈ +0.16 on the corrector validation holdout (MAE 1,986 MW).
- That corrector result is not evidence that the system consistently beats ENTSO-E in production. Live rolling skill is logged separately and can differ materially.
Live demo: renewablecast.rishabanradhakrishnan.com · API docs: renewablecast.rishabanradhakrishnan.com/docs
What RenewableCast does
RenewableCast forecasts total German renewable generation, meaning solar plus onshore and offshore wind, 96 steps ahead (24 hours × 15 minutes).
For each target timestamp it publishes:
- a point forecast (MW)
- a 90% prediction interval (5th / 95th quantiles)
- the concurrent ENTSO-E day-ahead series when available
- later, actuals, so error and skill can be computed after the fact
The public surface is a Next.js dashboard plus a FastAPI service: live chart, model card, rolling ahead-of-time skill, CSV export, and an optional tool-calling agent grounded in the live forecast and methodology notes.
Why renewable forecasting matters
Wind and solar are weather-driven. Their aggregate output sets how much residual load conventional plant, storage, and interconnectors must cover. A usable day-ahead / intra-day view of that renewable block supports:
- Dispatch and balancing: sizing reserves against expected renewable shape
- Trading and hedging: pricing positions against a transparent generation path
- Storage and flexibility: planning charge / discharge around renewable peaks and troughs
- Research and product work: a reproducible baseline next to the official TSO forecast
I treat ENTSO-E as the reference because it is the operational public benchmark for this series. Beating marketing copy is irrelevant; closing the gap to that forecast, or being clear about where you don't, is the useful claim.
Live dashboard
The production dashboard compares actuals, ENTSO-E, and the model on one chart, with overlap MAE/MAPE for the recent window and a separate rolling skill section driven by the durable forecast log.

Live view: last ~48 h of actuals and ENTSO-E, plus the next 24 h model forecast. Chart MAE/MAPE are overlap stats; ahead-of-time skill is tracked below the chart.

Model card: validation MAE, RMSE, MAPE, 90% PI coverage, skill vs ENTSO-E, and feature importances for the current split-v2 stack.

Rolling performance from the ahead-of-time forecast log (7 / 14 / 30 day windows). This is the honest production check, not the training holdout.
Open the live page and spend half a minute on the chart and skill strip: renewablecast.rishabanradhakrishnan.com.
Architecture
End-to-end path:
- Ingest generation history, live actuals, ENTSO-E day-ahead, Open-Meteo weather, and installed capacity
- Features aligned to the target timestamp (forecast weather at the moment being predicted; generation lags shifted by the 24 h horizon)
- Inference via split solar / wind LightGBM models; optional residual corrector when ENTSO-E day-ahead is present
- Serve through FastAPI; log issued forecasts to Postgres; render on the Next.js dashboard
- Host on a single Hetzner CX22 with Docker Compose and Caddy (TLS by hostname)
Data sources and model methodology
Data
Wide table: on a narrow screen, scroll sideways to see all columns.
| Role | Source |
|---|---|
| Training generation + installed capacity | Energy-Charts (Fraunhofer ISE), cleaned history per technology |
| Live actuals + day-ahead benchmark | ENTSO-E Transparency Platform |
| Weather (archive + forecast) | Open-Meteo multi-site German average |
Training needs a complete per-technology generation history. The ENTSO-E Transparency API is the right place for live actuals and the day-ahead benchmark; for multi-year training history I standardized on Energy-Charts instead, and added frozen-column integrity checks in the downloader and trainer so a near-constant generation series within any year fails the job before a model is fit.
Model
- Target: capacity factor (generation ÷ installed capacity), then scaled back to MW with the latest capacity. Germany’s solar fleet roughly doubled from ~60 GW (2022) to ~114 GW (2026); trees do not extrapolate that growth in raw MW.
- Split stacks: separate LightGBM triplets for solar and combined wind (point MAE + 5%/95% quantiles). Different physics; splitting cut combined validation MAE by roughly 15–20% versus a single blended model.
- Horizon: 96 × 15-minute steps.
- Features (27 in the current card): hub-height wind (and power-curve transforms), shortwave / direct / diffuse radiation, cloud cover, temperature, calendar encodings, lagged generation statistics.
- Phase-3 residual corrector (optional): learn
actual − ENTSO-E, then blendENTSO-E + residualwith the base model. If ENTSO-E is missing, the base forecast is used unchanged.
Production deployment and forecast logging
The stack runs continuously on Hetzner:
renewablecast.rishabanradhakrishnan.com→ Next.js dashboard, with the FastAPI service and baked model artifact behind/docs- Postgres (internal) for durable history
Operational pieces that matter for evaluation:
- Hourly snapshot refresh of live series
- Forecast-history log (from 2026-07-04): each 24h-ahead issuance is persisted first-write-wins per target timestamp, so later re-forecasts cannot rewrite the past
- Actuals and ENTSO-E are backfilled as they publish
- Nightly Postgres dumps
All “how did we do last week?” answers come from that log, not from replaying the model after the fact.
Honest ENTSO-E evaluation
Skill is defined as:
Positive skill means lower absolute error than ENTSO-E on the same window.
Base model (current split-v2, no reliance on “we beat the TSO”)
Wide table: on a narrow screen, scroll sideways to see all columns.
| Metric | Value |
|---|---|
| Model MAE | 2,880 MW |
| ENTSO-E MAE (same window) | 2,377 MW |
| Skill vs ENTSO-E | −0.1745 (~17% worse) |
| RMSE | 3,649 MW |
| R² | 0.9564 |
| Bias | +795 MW |
| 90% PI coverage | 93.6% |
| Skill window | 2026-04-03 → 2026-04-30 (n = 2,688) |
The base model is a credible public-data weather-driven forecast. It does not currently match ENTSO-E. That is the correct headline for interviews and technical review.
Residual corrector (validation holdout)
Wide table: on a narrow screen, scroll sideways to see all columns.
| Metric | Value |
|---|---|
| Corrector | enabled (blend_α = 0.95) |
| Corrected MAE | 1,986 MW |
| Corrected skill vs ENTSO-E | +0.1643 (~16% better on that holdout) |
Two caveats, both intentional:
- The corrector uses ENTSO-E as an input. Improving on ENTSO-E by learning a residual is a different claim from beating ENTSO-E from weather alone.
- Blend weight was selected on the corrector validation window. Treat +16% as a held-out validation result, not as settled production superiority.
- Added November 2026: it was scored on observed weather. The v3 result at the top replaces it.
The live rolling panel is there precisely so those two numbers are never confused.
Choosing training data that is fit for purpose
Before model class or hyperparameter tuning mattered, the training generation series had to be trustworthy across years. Early pulls through the per-technology ENTSO-E path were not usable for that: older ranges could return empty series, and naive gap-filling produced long stretches of near-constant solar and onshore wind values. That was roughly three-quarters of the rows in that first training table.
I switched training generation to Energy-Charts, kept ENTSO-E for live actuals and the day-ahead benchmark, and added integrity guards that refuse training when a generation column is near-constant within any year. That was prerequisite work: without a real multi-year capacity-factor history, capacity-factor LightGBM is noise.
Limitations and what I would improve
Limits today
- National multi-site Open-Meteo weather is not TSO per-farm meteorology or plant models.
- Weather-forecast error propagates directly into generation error.
- Extreme / record days are underrepresented and tend to be under-predicted.
- MAPE is misleading at night (near-zero generation); prefer MAE.
- Corrector availability depends on ENTSO-E day-ahead; otherwise base-only.
- Live skill can lag validation skill. That's expected, and I log it openly.
Next improvements
- Longer production skill windows and drift alerts (e.g. 7-day MAE vs validation baseline)
- Scheduled retrain + model versioning directories
- Richer spatial weather (more sites or regional clusters) without pretending to own TSO plant models
- Clearer product separation of base vs corrected series in the API so consumers cannot mix claims
Demo, API, and technical review
Wide table: on a narrow screen, scroll sideways to see all columns.
| Live dashboard | renewablecast.rishabanradhakrishnan.com |
| API documentation | renewablecast.rishabanradhakrishnan.com/docs |
| This case study (canonical) | this page on rishabanradhakrishnan.com |
Source code is available for technical review upon request.
If you are evaluating this for an energy-systems, forecasting, or MLOps role: start with the live chart and the rolling skill panel, then read the model card metrics above. I am happy to walk through the training pipeline, the forecast log schema, and the ENTSO-E comparison in a technical interview.