48-hour demand forecasting
Recursive half-hourly inference with updated lag and rolling-demand features.
An end-to-end engineering project combining NESO historical data, trained forecasting models, SHAP explainability, interactive analytics, a FastAPI backend, and a Next.js frontend.

Capabilities
The complete forecasting workflow is exposed through focused analytical tools rather than disconnected model experiments.
Recursive half-hourly inference with updated lag and rolling-demand features.
Point-level uncertainty bands derived from saved validation error.
Local prediction contributions and global feature importance from the active model.
Model-backed what-if analysis for demand, generation, weather, and calendar assumptions.
Great Britain regional layers for demand, stress, renewables, and carbon intensity.
Typed FastAPI endpoints for forecasts, model metadata, simulation, and explainability.
Product
Forecast production, operational interpretation, and model explanation remain connected to the same saved artifacts and API contracts.
Forecasting
A continuous 48-hour demand horizon built from half-hourly NESO observations and recursively updated model features.

Operations
Operational views connect national forecasts, regional demand allocation, scenario assumptions, and model confidence.

Explainability
Saved validation metrics and SHAP contributions show which engineered features influence both the model globally and an individual forecast.

Architecture
Each stage has a clear responsibility, typed boundary, and output that can be inspected independently.
Half-hourly demand
Lags, rolling, time
Baseline estimators
MAE, RMSE, MAPE, R²
Typed inference services
Interactive analytics
Technology stack
Machine Learning
The platform reports dataset scale, model performance, forecast cadence, and explainability as first-class operational facts.
17,232
Historical observations
30 min
Sampling interval
48 hrs
Forecast horizon
1.36%
Validation MAPE
11
Engineered features
Real
SHAP explainability
Live
REST API
Interactive
Scenario engine
Documentation
The repository documents the architecture, machine-learning workflow, API services, and known model limitations.