Skip to content
Modexen

Case study · Smart buildings · Machine learning

Day-ahead load forecasting for a smart office building with custom machine-learning models

Location
Drahi-X Novation Center, École Polytechnique campus, Palaiseau, France
Skills & services
Load forecasting · Machine-learning model development · Time-series modelling · Benchmarking and validation · Smart-building energy management
lower forecast error than the industry-standard benchmark, with our best model
~30%
a full 24-hour-ahead forecast at 15-minute resolution
96 steps
of unseen 2024 data used to test every model
1 year

How we worked

The project in 5 steps

Step 1 of 5

Tomorrow's demand, in 15-minute steps

The Drahi-X Novation Center is a 5,000 m² start-up incubator and living lab with rooftop PV, a battery and a building management system with predictive HVAC control. To schedule those assets, the operator needs a reliable 24-hour-ahead forecast built only on data the building already collects.

Forecast horizon
24 h
Resolution
15 min (96 steps)
Main inputs
Load history and temperature

Batteries, rooftop solar and predictive HVAC only pay off when a building knows tomorrow's demand. We built, trained and validated our own forecasting models on the building's existing meter data, and cut forecast error by about 30% against the industry-standard benchmark.

The challenge

Smart buildings with solar panels, batteries and predictive HVAC are only as efficient as their view of tomorrow's demand. Without a reliable forecast, batteries charge at the wrong time, solar output is exported cheaply instead of used on site, and heating and cooling react to demand instead of anticipating it.

The Drahi-X Novation Center, a 5,000 m² incubator on the École Polytechnique campus, has a 16.7 kWp rooftop PV plant, a 30 kWh battery and a building management system with predictive HVAC control. The operator needed a 24-hour-ahead load forecast at 15-minute resolution, built only on data the building already collects.

What the data told us

We trained on three years of 15-minute meter data (2021 to 2023), repaired gaps, and kept all of 2024 aside as unseen test data. The building follows a clear office rhythm: a ramp-up around 06:00, a plateau from 08:00 to 17:00 and a low overnight base, with weekdays well above weekends.

Seasonality is strong. Average monthly demand runs at about 26 kW in winter against about 7.5 kW in August, and heating pushes peaks to around 70 kW. Understanding these drivers is what turns a generic algorithm into a model that fits a specific building.

The models we built

We developed and trained two forecasting models of our own and measured both against a validated benchmark. The benchmark, same day last week, needs no training and is the standard any serious model must beat.

Our statistical model is a dual SARIMAX, with separate weekday and weekend models driven by temperature, time of day and morning-ramp features. Our deep-learning model is a bidirectional LSTM neural network that learns from 58 engineered features, including calendar effects, lagged demand, rolling statistics, temperature, and frequency and wavelet signals, validated with 5-fold cross-validation.

Putting the models to the test

Before testing the advanced models, we validated the benchmark itself: weekly persistence beat daily persistence by about 18% in RMSE, confirming the building runs on a weekly schedule. Every model then produced rolling 24-hour forecasts across all of 2024, scored at each of the 96 steps.

The scorecard below summarises the full test year. Select a day underneath to see how each model performed on real operating conditions, from a heating-driven winter peak to a quiet summer weekend.

ModelMAE (kW)RMSE (kW)MAPE (%)Training time
Benchmark (same day last week)4.075.1627.3Seconds
SARIMAX (weekday and weekend)~3.3~4.0~2710 to 12 hours
Bidirectional LSTM~2.8~3.5~21 to 2220 to 32 hours

2024 test year. Lower is better. Values marked ~ are read from the study's charts.

02040608000:0003:0006:0009:0012:0015:0018:0021:00kW
Actual load
Benchmark
18.7 kW error
SARIMAX
13.7 kW error
LSTM· best
5.5 kW error

9 Jan, winter weekday. Our LSTM tracks the heating-driven midday peak closely, while the benchmark and SARIMAX under-predict it.

Day-ahead forecasts issued at 00:00 on four representative days of the 2024 test year. Values are approximate, read from the study's charts.

Where each model wins

Accuracy is not one number. SARIMAX is the most accurate in the first hours of the forecast, which suits intraday control. The LSTM holds the lowest error across most of the day, which suits next-day scheduling. Both stay below the benchmark across the whole horizon.

Accuracy was highest in summer and on stable days, and lowest during regime changes such as Monday ramp-ups, winter heating peaks and unannounced shutdowns. That tells a client exactly where extra data, such as occupancy or holiday calendars, will pay off next.

01.534.56+0 h+3 h+6 h+9 h+12 h+15 h+18 h+21 hkW
+1 h
Benchmark
4.05 kW
SARIMAX· best
2.10 kW
LSTM
2.55 kW

1 h ahead, SARIMAX is the most accurate model, with MAE about 48% below the benchmark.

Average error across all of 2024 at each hour of the forecast horizon. Values are approximate, read from the study's charts.

Why this matters for your operations

A forecast that is 30% more accurate turns directly into operational value: batteries charged and discharged at the right time, more solar consumed on site, heating and cooling pre-conditioned rather than reactive, lower peak-demand charges, and firmer commitments in demand-response and energy-procurement contracts.

We build these models around the data a site already has, validate them against a transparent benchmark so the gain is measurable, and integrate them with building management and energy systems. The same approach scales from a single building to an industrial site or a portfolio.

What we recommend

Benchmark first: a validated baseline shows whether added model complexity is worth its cost. Then add context, not just complexity: public-holiday calendars, occupancy signals such as Wi-Fi counts, CO₂ or access logs, and solar irradiance target the largest remaining errors.

Forecast with uncertainty and keep models fresh, since prediction intervals and periodic retraining make forecasts safe to act on for battery scheduling and demand response. Finally, close the loop by feeding forecasts into the building management system to steer HVAC, PV self-consumption and storage automatically.

Weighing a similar investment?

Tell us about your operations, your targets or the investment you're weighing. The team that would deliver the work will reply within two working days.

Book a 30-minute conversation