Skip to main content
QUICK REVIEW

[Paper Review] Stochastic optimal control of a domestic microgrid equipped with solar panel and battery

François Pacaud, Pierre Carpentier|arXiv (Cornell University)|Jan 19, 2018
Microgrid Control and OptimizationEngineering18 references5 citations
TL;DR

This paper proposes a stochastic optimal control framework for a domestic microgrid with solar panels and battery storage, comparing Stochastic Dual Dynamic Programming (SDDP) and Model Predictive Control (MPC) under uncertainty. SDDP outperforms MPC by 2–3% in electricity cost savings, particularly in extreme scenarios, due to better handling of uncertainty and more efficient use of storage, with only a modest computational overhead.

ABSTRACT

Microgrids are integrated systems that gather and operate energy production units to satisfy consumers demands. This paper details different mathematical methods to design the Energy Management System (EMS) of domestic microgrids. We consider different stocks coupled together - a battery, a domestic hot water tank - and decentralized energy production with solar panel. The main challenge of the EMS is to ensure, at least cost, that supply matches demand for all time, while considering the inherent uncertainties of such systems. We benchmark two optimization algorithms to manage the EMS, and compare them with a heuristic. The Model Predictive Control (MPC) is a well known algorithm which models the future uncertainties with a deterministic forecast. By contrast, Stochastic Dual Dynamic Programming (SDDP) models the future uncertainties as probability distributions to compute optimal policies. We present a fair comparison of these two algorithms to control microgrid. A comprehensive numerical study shows that i) optimization algorithms achieve significant gains compared to the heuristic, ii) SDDP outperforms MPC by a few percents, with a reasonable computational overhead.

Motivation & Objective

  • Design an optimal Energy Management System (EMS) for a domestic microgrid with solar PV, battery, hot water tank, and thermal inertia.
  • Address the challenge of managing supply-demand balance under uncertain solar generation and variable electrical/hot water demand.
  • Benchmark SDDP and MPC against a heuristic to evaluate performance in cost savings and robustness to uncertainty.
  • Assess the trade-offs between computational complexity and control performance in real-time microgrid operation.
  • Investigate how different algorithms utilize storage assets (battery and hot water tank) under stochastic conditions.

Proposed method

  • Model the microgrid using continuous-time physical equations for load balance, battery, hot water tank, and building thermal dynamics.
  • Formulate a stochastic optimal control problem with random variables for solar irradiance, electrical demand, and hot water demand.
  • Implement SDDP using backward induction to compute value functions offline, enabling online decision-making based on probability distributions.
  • Apply MPC with deterministic forecasts of future uncertainties, solving a receding horizon optimization problem at each time step.
  • Use Monte Carlo simulation with 1,000 scenarios to assess performance, computing 95% confidence intervals for cost and comfort metrics.
  • Quantize the probability distribution of future uncertainties in SDDP to balance accuracy and computational speed.

Experimental results

Research questions

  • RQ1How does SDDP compare to MPC in terms of electricity cost savings under stochastic uncertainty in solar generation and demand?
  • RQ2What is the impact of uncertainty modeling (probabilistic vs. deterministic forecast) on the performance of EMS algorithms?
  • RQ3How do SDDP and MPC differ in their utilization of battery and hot water tank storage capacities?
  • RQ4What is the computational cost of SDDP relative to MPC, and is the performance gain justified by the overhead?
  • RQ5Does SDDP consistently outperform MPC across different weather and load conditions, or are there scenarios where MPC performs better?

Key findings

  • SDDP reduces average electricity costs by 2.2% compared to MPC during a winter day, and by 44% compared to the heuristic.
  • During a summer day, SDDP saves 44% more than the heuristic and 17% more than MPC, with a 35% cost reduction in extreme scenarios.
  • SDDP outperforms MPC in 93% of assessment scenarios during the summer day, as shown by scenario-wise comparison of electricity bills.
  • SDDP charges the battery earlier and more fully than MPC, and uses the hot water tank more effectively to store excess PV energy.
  • The online computation time for SDDP is 1.5 ms per step, only 3 times slower than MPC’s 0.5 ms, indicating a reasonable computational overhead.
  • Both SDDP and MPC maintain thermal comfort above setpoints, but SDDP achieves better cost savings without compromising comfort.

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.