← Latest papers
⚡ electrical engineering

Stochastic Model Predictive Control of Charging Energy Hubs with Conformal Prediction

This paper proposes a scenario-based stochastic model predictive control framework for optimizing electric vehicle charging in energy hubs, which utilizes conformal prediction to generate calibrated probabilistic forecasts and demonstrates superior cost performance compared to deterministic approaches while approaching the efficiency of perfect forecasts.

Original authors: Diego Fernández-Zapico, Theo Hofman, Mauro Salazar

Published 2026-07-14
📖 5 min read🧠 Deep dive

Original authors: Diego Fernández-Zapico, Theo Hofman, Mauro Salazar

Original paper licensed under CC BY 4.0 (http://creativecommons.org/licenses/by/4.0/). This is an AI-generated explanation of the paper below. It is not written or endorsed by the authors. For technical accuracy, refer to the original paper. Read full disclaimer

Imagine you are the captain of a very fancy, self-sustaining charging station for electric cars. You have a big solar roof, a giant battery in the basement, and a connection to the main power grid. Your job is to decide every 15 minutes whether to charge the battery, discharge it to power the cars, or buy/sell electricity from the grid. The goal? To spend as little money as possible while keeping the cars happy.

The tricky part is that the future is foggy. You don't know exactly how many cars will show up, how much sun will hit your roof, or how expensive electricity will be tomorrow. If you guess wrong, you might end up buying expensive power or wasting free solar energy.

The Crystal Ball Problem

Most captains use a "point forecast," which is like looking at a weather app that says, "It will be 75°F tomorrow." It's a single guess. But the real world is messy. What if it's actually 85°F? Or 65°F?

The authors of this paper tried a different approach. Instead of just one guess, they used a "stochastic" method. Think of this as looking at a weather app that gives you three possible futures: a "best-case" sunny day, a "worst-case" cloudy day, and a "middle-of-the-road" day. They call these scenarios.

To make these scenarios trustworthy, they used a special math trick called Conformal Prediction. Imagine you have a machine learning robot that is great at guessing numbers but terrible at saying "how sure" it is. Conformal Prediction is like putting a safety net around that robot's guesses. It doesn't assume the errors follow a specific pattern (like a bell curve); instead, it uses past mistakes to draw a box around the future. The paper says this box is "distribution-free," meaning it works even if the data is weird or unpredictable.

The Experiment: A 280-Day Simulation

The researchers didn't just talk about this; they built a digital twin of their charging hub and ran it for 280 days (about 9 months) in a simulated environment. They tested four different "captains":

  1. The Omniscient Captain: This captain has a magic crystal ball that knows the exact future (perfect forecast). This is the gold standard, the "perfect" score.
  2. The Deterministic Captain: This captain uses the standard "single guess" (point forecast) with no idea about uncertainty.
  3. The Stochastic Captain: This captain uses the three-scenario approach with the safety net (Conformal Prediction).
  4. The Recourse Captain: A variation of the Stochastic Captain that can change its mind slightly later on.

The Results: Who Won?

Here is what the simulation revealed, keeping the numbers exactly as they appeared:

  • The Gap to Perfection: Even the best human-like strategies couldn't match the magic crystal ball. Compared to the Omniscient captain, the Stochastic and Recourse captains were 13% more expensive. This means that even with fancy math, not knowing the future perfectly costs money.
  • The Real Winner: When compared to the Deterministic captain (the one with the single guess), the Stochastic and Recourse captains were 1% better. That might sound small, but in the world of energy management, saving 1% is a victory.
  • The Trade-off: The fancy captains did take a bit more time to think. The Stochastic version took an average of 0.743 minutes per decision step, while the Deterministic version only took 0.321 minutes. However, the paper notes that 0.743 minutes is still far below the 0.25 hours (15 minutes) between decisions, so the system never got stuck waiting for a calculation.

What They Ruled Out

The paper explicitly argues against relying on simple guesses that ignore uncertainty. They showed that the standard "point forecast" (Deterministic) works okay, but it leaves money on the table. They also noted that their method doesn't rely on assuming the data follows a specific "distribution" (like a bell curve), which is a common limitation in older methods.

The Verdict

The study suggests that using Conformal Prediction to create multiple scenarios is a smart move. It doesn't make you a god who knows the future, but it does help you avoid the worst mistakes. In this 280-day simulation, the Stochastic MPC and Recourse MPC were the best overall performers, beating the simple guessers and getting closer to the perfect crystal ball than any other method tested.

The authors also pointed out that their predictions for electricity prices got a bit wobbly toward the end of the year (specifically in Autumn), with a Normalized Mean Absolute Error (nMAE) jumping to 0.228 compared to 0.039 in Winter. This suggests that while the method is strong, the market itself can be a tricky beast to predict.

In short: If you want to run a charging hub, don't just guess the future. Look at a few possible futures, wrap them in a safety net, and you'll save a little bit of cash every day.

Drowning in papers in your field?

Get daily digests of the most novel papers matching your research keywords — with technical summaries, in your language.

Try Digest →