Complexity of Scheduling Charging in the Smart Grid

Mathijs de Weerdt, Michael Albert, Vincent Conitzer, Koos van der Linden

Introduction

As the global power grid increasingly relies on intermittent renewable energy sources, managing flexible demand becomes critical for stability. Electric vehicle (EV) charging represents a significant portion of this flexible demand. Users typically provide a deadline and an energy requirement, leaving the specific charging schedule to the grid operator. This "charge scheduling problem" involves shifting charging times and varying speeds to match fluctuating supply. This paper provides a comprehensive mapping of the computational complexity of this problem, classifying over 30 variants and providing optimal algorithms for tractable scenarios.

Complexity Analysis and Methods

The authors classify the complexity of various scheduling constraints using mathematical reductions from known NP-hard problems, such as the Knapsack problem. They examine dimensions including the number of deadlines, charging speed limits (fixed vs. unbounded), and the presence of "gaps" (periods where charging speed must be zero).

Complexity classification for fixed charging speeds across different demand types.

To address these problems, the authors developed two dynamic programming (DP) algorithms:

  • DP1: Designed for scenarios with bounded charging speeds and potential gaps.
  • DP2: Optimized for cases where charging speeds are unbounded (limited only by total grid supply).

These algorithms were evaluated using the PecanStreet Dataset (2017), which provided 15-minute resolution household load measurements to simulate realistic, time-varying grid supply available for EV charging.

Key Insights

Several factors were found to drastically alter the computational difficulty of the problem:

  • Gaps and Deadlines: The introduction of "gaps"—periods where an EV cannot charge—immediately makes the problem strongly NP-hard. Similarly, having three or more deadlines per agent introduces complex dependencies that render the problem intractably hard.
  • Speed Constraints: Assuming unbounded charging speeds simplifies the mathematical structure, often moving the problem into polynomial time (P). While physically unrealistic, this provides a foundation for faster heuristic development.

Experimental Results

The study successfully classified approximately 20 variants as being in P or weakly NP-hard, with 10 variants identified as strongly NP-hard.

In practical testing, DP1 scaled linearly with the number of EVs but exponentially with the time horizon and supply limits. It could optimally schedule 20 EVs over a short horizon in roughly 15 minutes. In contrast, DP2 demonstrated exceptional efficiency.

Runtime performance of the DP2 algorithm, showing linear scaling with the number of agents for both single and multiple deadline scenarios.

As shown in the figure above, DP2 scales linearly with the number of agents, solving instances with 100 EVs in under 3.5 seconds. This efficiency makes it a strong candidate for large-scale grid management, provided physical speed limits are addressed via heuristics.

Conclusion and Future Work

While the DP algorithms provide optimal solutions, they face trade-offs between physical accuracy and scalability. DP1 is limited by the time horizon, while DP2 ignores physical battery charging limits. Future research will focus on using DP2 as a basis for fast heuristics that respect physical constraints and adapting these models for online scheduling, where future supply and demand are uncertain.

Summary updated

BibTeX
@inproceedings{weerdt2018complexity,
  author = {Mathijs de Weerdt and Michael Albert and Vincent Conitzer and Koos van der Linden},
  title = {{Complexity of Scheduling Charging in the Smart Grid}},
  booktitle = {International Joint Conference on Artificial Intelligence},
  year = {2018},
  doi = {10.24963/ijcai.2018/658},
}
Figure