A unified decision making framework for supply and demand management in microgrid networks

Raghuram Bharadwaj Diddigi, Sai Koti Reddy Danda, Shalabh Bhatnagar

TL;DR

This paper presents a unified Markov Decision Process (MDP) framework that simultaneously manages energy sharing (supply-side) and flexible load scheduling (demand-side) within microgrid networks. By employing model-free Reinforcement Learning, the authors demonstrate that microgrids can maximize profits and minimize energy deficits by intelligently "shifting" demand to align with stochastic renewable generation and fluctuating market prices.

What Problem Does This Paper Address?

Microgrids—small-scale power grids that can operate independently or in conjunction with the main grid—are essential for integrating renewable energy. However, they face two major hurdles: stochasticity (the sun doesn't always shine, and wind doesn't always blow) and management silos.

Traditionally, researchers have treated Supply-Side Management (SSM)—deciding when to buy, sell, or store energy—and Demand-Side Management (DSM)—scheduling flexible appliances like washing machines—as separate problems. This paper argues that treating them in isolation is inefficient. For instance, a microgrid might sell excess solar power at noon for a low price, only to realize later it needed that energy to run a flexible industrial load when prices spiked. By unifying these decisions, the system can exploit the "flexibility" of certain loads to better match the "volatility" of renewable supply.

Methods

The authors formulate the problem as a Markov Decision Process (MDP) and solve it using Average-Cost Q-Learning.

  • The Unified Model: The state space includes the current time, net energy demand (supply minus fixed loads), current market price, and the status of "Activities of Daily Living" (ADL) jobs. ADL jobs are flexible loads that must be completed within a specific time window.
  • Decision Space: At each time step, the controller decides:
  • How much energy to buy/sell from the main grid or neighboring microgrids.
  • How much energy to store or retrieve from the local battery.
  • Which subset of flexible ADL jobs to schedule immediately.
  • Model-Free Learning: Because renewable generation and consumer behavior are hard to model precisely, the authors use Q-learning (specifically a version based on Relative Value Iteration). This allows the controller to learn an optimal policy through simulation and experience without needing a prior mathematical model of the environment's transition probabilities.

Datasets

The study relies on a mix of simulated and synthetic data:

  • RAPsim: An open-source microgrid simulator used to generate realistic hourly solar and wind generation data.
  • Synthetic Profiles: The authors fitted the RAPsim data to Poisson distributions. They simulated networks of three and five microgrids, each with different combinations of solar, wind, or no renewable access.
  • ADL Jobs: They defined specific job profiles (e.g., a job requiring 2 units of energy within a 4-hour window) to test the scheduling logic.

Key Insights and Ideas

  • Flexibility as a Buffer: The "aha moment" is treating flexible demand not just as a task to be completed, but as a strategic buffer. The RL agent learns to "hide" this demand during periods of low supply or high market prices, effectively using the consumer's time window as a form of virtual energy storage.
  • Strategic Storage: Unlike "greedy" models that fill batteries as fast as possible, the RL agent learns to hold back. It might choose not to sell surplus energy at midday if it predicts a high-demand, high-price period in the evening.
  • Cooperative Gains: The framework encourages microgrids to prioritize trading with neighbors over the main grid. This reduces transmission losses and keeps the "profit" within the local network.

Key Results

  • Superior Profitability: The proposed "ADL-sharing" model consistently outperformed two baselines: a "Non-ADL" model (where demand is fixed) and a "Greedy-ADL" model (where microgrids fill their own batteries before sharing).
  • Convergence: The Q-learning algorithm successfully converged to a stable policy in both the 3-grid and 5-grid scenarios, proving the approach is robust to increasing network complexity.
  • Resilience to Penalties: As the penalty for unmet demand ($c$) increased, the profit gap between the unified model and the baselines widened. This suggests that the unified framework is particularly valuable in systems where reliability is expensive or critical.

Limitations and Future Work

  • Price Takers: Currently, the microgrids are "price takers"—they react to prices set by the main grid. The authors suggest that future work should involve peer-to-peer (P2P) trading, where microgrids can bid and negotiate prices among themselves.
  • Scalability: As the number of ADL jobs and microgrids grows, the state space explodes (the "curse of dimensionality"). The authors acknowledge that Deep Reinforcement Learning (using neural networks for function approximation) will be necessary to scale this to city-sized networks.
  • Feature Engineering: Selecting the right features for the RL agent remains a challenge to ensure the policy remains optimal as the network environment evolves.

Summary updated

BibTeX
@inproceedings{diddigi2018unified,
  author = {Raghuram Bharadwaj Diddigi and Sai Koti Reddy Danda and Shalabh Bhatnagar},
  title = {{A unified decision making framework for supply and demand management in microgrid networks}},
  booktitle = {SmartGridComm},
  year = {2018},
  doi = {10.1109/smartgridcomm.2018.8587514},
}
Figure