A Distributed Optimization Framework to Regulate the Electricity Consumption of a Residential Neighborhood with Renewables

Erhan Can Ozcan, Ioannis Ch. Paschalidis, Paschalidis, Ioannis Ch.arXiv 2023 · DOI

Abstract

Demand response services at the distribution level are emerging as enabling strategies for improving grid reliability in the presence of intermittent renewable generation and grid congestion. For residential loads, space heating and cooling, water heating, electric vehicle charging, and routine appliances make up the bulk of the electricity consumption. Controlling these loads is essential to effectively partake into grid operations and provide services such as peak shaving and demand response. However, maintaining user comfort is important for ensuring user participation to such a program. This paper formulates a novel mixed integer linear programming problem to control the overall electricity consumption of a residential neighborhood by considering the users' comfort and preferences. To efficiently solve the problem for communities involving a large number of homes, a distributed optimization framework based on the Dantzig-Wolfe decomposition technique is developed. We demonstrate the load shaping capacity and the computational performance of the proposed optimization framework in a simulated environment.

Introduction

As power grids integrate increasing amounts of intermittent renewable energy, such as solar and wind, matching supply with demand becomes a complex balancing act. Residential loads—including HVAC systems, electric vehicles (EVs), and water heaters—account for a significant portion of total consumption and often peak simultaneously. Traditionally, utilities manage these peaks by activating expensive and carbon-intensive "peaker" plants.

Demand Response (DR) offers a cleaner alternative by shifting appliance operation times. However, implementing DR at scale faces two primary challenges:

  1. Scalability: Optimizing thousands of homes simultaneously creates a Mixed Integer Linear Programming (MILP) problem that standard centralized solvers cannot process in real-time.
  2. Privacy: Residents are often reluctant to share granular behavioral data or appliance preferences with a central utility aggregator.

Methodology

To address these challenges, we propose a Restricted Master Heuristic (RMH) based on the Dantzig-Wolfe decomposition technique. This framework splits the optimization into a "Master Problem" managed by the grid aggregator and "Pricing Subproblems" managed locally by each smart home.

The distributed optimization framework coordinates between the aggregator and individual homes while preserving privacy.

In this distributed model, each home solves its own MILP to find an optimal load schedule based on local comfort bounds (e.g., specific temperature ranges). The aggregator sends incentive signals (dual variables), and homes respond with feasible consumption schedules. Crucially, the aggregator never accesses private constraints; it only sees the resulting power schedules. To maintain computational efficiency, a column removal heuristic prunes unused schedules, preventing the master problem from slowing down as more options are generated.

Experimental Setup

The framework was tested in a high-fidelity simulated environment using Python and Gurobi. We utilized real-world 2018 weather data to model HVAC dynamics and implemented detailed physical models for HVAC, electric water heaters, and EVs. The simulation scaled up to 7,000 homes, with household preferences randomly sampled to ensure a diverse and realistic neighborhood profile.

Results and Key Insights

The proposed framework demonstrates linear scalability, a significant improvement over the exponential complexity of centralized solvers. For a community of 7,000 homes, the distributed algorithm provided a solution in approximately 1,000 seconds, whereas centralized solvers failed to meet the industry-standard 15-minute operational window.

Comparison of total load demand before and after optimization for low and high renewable generation scenarios.

Key results include:

  • Effective Peak Shaving: The framework successfully flattened the demand curve. In high-solar scenarios, it shifted loads to midday to utilize excess renewable energy, maintaining a nearly constant draw from traditional generators.
  • High Accuracy: Despite being a heuristic, the "pseudogap" (the difference between the heuristic solution and the theoretical optimum) remained consistently below 1%.
  • Prioritizing Comfort: By treating user comfort as a hard constraint rather than a suggestion, the framework ensures that any proposed schedule remains within the resident's preferred bounds, which is vital for real-world adoption.

Conclusion

This distributed optimization framework provides a scalable, privacy-preserving solution for residential demand response. By leveraging Dantzig-Wolfe decomposition, we achieve near-optimal load shaping that respects individual user preferences. Future work will focus on incorporating robust optimization to handle the uncertainty of renewable generation and weather, as well as exploring quadratic penalty functions to further smooth aggregate load fluctuations.

Summary updated

BibTeX
@misc{ozcan2023distributed,
  author = {Erhan Can Ozcan and Ioannis Ch. Paschalidis and Paschalidis, Ioannis Ch.},
  title = {{A Distributed Optimization Framework to Regulate the Electricity Consumption of a Residential Neighborhood with Renewables}},
  year = {2023},
  eprint = {2306.09954},
  archivePrefix = {arXiv},
  url = {https://arxiv.org/abs/2306.09954},
}
Figure