Skip to main content
QUICK REVIEW

[Paper Review] Stochastic MPC for energy hubs using data driven demand forecasting

Varsha Behrunani, Francesco Micheli|arXiv (Cornell University)|Jan 1, 2023
Advanced Control Systems OptimizationEngineering1 citations
TL;DR

This paper proposes a stochastic model predictive control (MPC) framework for energy hubs that uses Gaussian process (GP)-based data-driven forecasting to predict uncertain electricity and thermal demands. By sampling multi-step demand trajectories from the GP model and applying the Scenario Approach, the method solves a chance-constrained optimization problem, significantly reducing constraint violations while maintaining low operational costs—demonstrated on real building data with 95% confidence level and 100 scenarios achieving near-optimal performance.

ABSTRACT

Energy hubs convert and distribute energy resources by combining different energy inputs through multiple conversion and storage components. The optimal operation of the energy hub exploits its flexibility to increase the energy efficiency and reduce the operational costs. However, uncertainties in the demand present challenges to energy hub optimization. In this paper, we propose a stochastic MPC controller to minimize energy costs using chance constraints for the uncertain electricity and thermal demands. Historical data is used to build a demand prediction model based on Gaussian processes to generate a forecast of the future electricity and heat demands. The stochastic optimization problem is solved via the Scenario Approach by sampling multi-step demand trajectories from the derived prediction model. The performance of the proposed predictor and of the stochastic controller is verified on a simulated energy hub model and demand data from a real building.

Motivation & Objective

  • To address the challenge of uncertain electricity and thermal demands in energy hub operation.
  • To improve energy efficiency and reduce operational costs through advanced predictive control.
  • To develop a data-driven forecasting model that captures uncertainty in building energy demands using Gaussian processes.
  • To integrate the forecast uncertainty into a stochastic MPC framework via the Scenario Approach for robust control.
  • To validate the controller's performance on real demand data from a building and a simulated energy hub.

Proposed method

  • A Gaussian process (GP) model is trained on historical data to forecast multi-step electricity and thermal demands with uncertainty quantification.
  • The GP predictor generates 50 multi-step demand trajectory samples per time step to represent future demand uncertainty.
  • The stochastic MPC problem is formulated with chance constraints to limit the probability of violating thermal and electrical power limits.
  • The Scenario Approach is applied by sampling trajectories from the GP model, transforming the chance-constrained problem into a deterministic robust optimization problem.
  • The resulting optimization is solved in real-time for each control interval, yielding optimal dispatch of CHP, heat pump, boilers, storage, and PV units.
  • The controller is evaluated using a simulated energy hub with real demand data from the ETZ building at ETH Zurich.

Experimental results

Research questions

  • RQ1How accurately can a GP-based model forecast multi-step electricity and thermal demands in a real building?
  • RQ2To what extent does the scenario-based stochastic MPC reduce constraint violations compared to deterministic MPC with perfect forecast?
  • RQ3How does the number of sampled scenarios affect the trade-off between operational cost and constraint violation probability?
  • RQ4Can the proposed framework maintain low operational costs while ensuring 95% confidence in meeting thermal and electrical load constraints?
  • RQ5How does the MPC controller perform under realistic uncertainty compared to a baseline with perfect demand knowledge?

Key findings

  • The GP-based forecast achieved median forecast errors within ±5% for electricity and ±10% for heat across all prediction horizons up to 24 hours.
  • With 100 sampled scenarios, the controller reduced average operational cost to 59.28 CHF/h, close to the perfect-forecast baseline of 59.01 CHF/h.
  • The number of constraint violations dropped significantly from 25% with 3 scenarios to nearly zero with 100 scenarios, while cumulative violations decreased by over 80%.
  • The empirical distribution of thermal constraint violations showed a sharp reduction in severity and frequency when increasing scenarios from 3 to 100.
  • The MPC controller demonstrated strong robustness, maintaining low cost and high reliability even under uncertain demand, validating the effectiveness of the Scenario Approach.
  • The framework achieved 95% confidence level in constraint satisfaction with only 100 scenarios, confirming the method’s scalability and practicality for real-time control.

Read this paper

Open the full text in the Nubint reader and ask about any passage as you read.

Read this paper on Nubint

This review was generated by AI from the original paper. Please check the paper before citing it.