Scheduling of EV Battery Swapping, II: Distributed Solutions

Pengcheng You, Steven H. Low, Liang Zhang, Ruilong Deng, Georgios B. Giannakis, Youxian Sun, Zaiyue Yang

Abstract

In Part I of this paper we formulate an optimal scheduling problem for battery swapping that assigns to each electric vehicle (EV) a best station to swap its depleted battery based on its current location and state of charge. The schedule aims to minimize a weighted sum of total travel distance and generation cost over both station assignments and power flow variables, subject to EV range constraints, grid operational constraints and AC power flow equations. We propose there a centralized solution based on the second-order cone programming (SOCP) relaxation of optimal power flow (OPF) and generalized Benders decomposition that is suitable when global information is available. In this paper we propose two distributed solutions based on the alternating direction method of multipliers (ADMM) and dual decomposition respectively that are suitable for cases where the distribution grid, battery stations and EVs are managed by separate entities. Our algorithms allow these entities to make individual decisions but coordinate through privacy-preserving information exchanges to jointly solve an approximate version of the joint battery swapping scheduling and OPF problem. We evaluate our algorithms through simulations.

Introduction

As electric vehicle (EV) adoption accelerates, battery swapping has emerged as a viable alternative to traditional charging, offering significantly reduced downtime for drivers. However, integrating large-scale battery swapping into the existing power grid presents a complex optimization challenge. A centralized approach, while theoretically sound, faces significant hurdles in real-world deployment regarding data privacy and computational scalability. Utilities, station operators, and individual drivers are often reluctant to share sensitive information like grid topology or real-time vehicle locations. Furthermore, the mixed-integer nature of the scheduling problem—where an EV must be assigned to a discrete station—becomes computationally prohibitive as the number of vehicles grows.

System architecture for distributed battery swapping scheduling, highlighting the privacy-preserving information exchanges between the utility company, station operator, and EVs.

To address these issues, this paper proposes distributed frameworks that allow separate entities to coordinate optimal swapping assignments without exposing private data.

Distributed Optimization Frameworks

The core of the proposed solution lies in transforming the non-convex scheduling problem into a manageable convex form using Second-Order Cone Programming (SOCP) relaxation for AC power flow and binary relaxation for vehicle assignments. Two primary distributed architectures are explored:

ADMM-Based Coordination

The Alternating Direction Method of Multipliers (ADMM) is employed for scenarios where a utility company and a station operator coordinate. Instead of sharing raw data, these entities exchange "consensus" variables representing the aggregate number of EVs assigned to each station. This approach is computationally efficient and minimizes communication overhead.

Dual Decomposition

For a more granular approach, a dual decomposition framework involves the utility, the station operator, and individual EVs. In this model, the station operator broadcasts "price signals" (Lagrange multipliers) reflecting grid and station constraints. Individual EVs then respond by selecting their preferred station based on these signals and their local constraints, such as travel distance and state of charge.

Information flow in the dual decomposition-based distributed algorithm, showing the iterative exchange of price signals and vehicle decisions.

Theoretical Insights: The Sparsity of Ambiguity

A critical concern when relaxing binary assignment variables is the potential for "fractional" assignments (e.g., an EV assigned partially to multiple stations). The authors provide a mathematical guarantee (Theorem 1) stating that the number of EVs with non-binary assignments is strictly bounded by a small constant related to the number of stations ($N_w(N_w-1)/2$). In a typical scenario with 400 EVs and 4 stations, at most 6 EVs would require rounding, ensuring that the relaxed solution remains highly accurate and easily discretizable.

Experimental Evaluation

The algorithms were tested using a simulation based on the Southern California Edison (SCE) 56-bus radial distribution feeder. The setup included 4 distributed generators, 4 battery swapping stations, and 400 EVs randomly distributed across a 16 km² area. Parameters were grounded in real-world values, including a charging rate of 0.01 MW and travel costs of $0.02/km.

Key Results

  • Convergence: Both ADMM and dual decomposition algorithms demonstrated rapid convergence, reaching stable solutions within 50 to 200 iterations.
  • Optimality: The distributed solutions yielded station assignments that were nearly identical to those found by centralized methods, proving that local coordination can achieve global efficiency.
  • Grid Stability: The algorithms successfully maintained grid operational constraints, including voltage stability and line capacity, ensuring that battery swapping does not compromise local power infrastructure.

Conclusion and Future Work

This research demonstrates that distributed optimization can effectively manage EV battery swapping while preserving entity privacy and ensuring grid safety. While the current models assume reliable communication and static snapshots of vehicle demand, future work will address dynamic scheduling for real-time arrivals and the impact of communication latency or packet loss. Additionally, exploring incentive-compatible mechanisms will be crucial for ensuring all participants adhere to the coordination protocols in competitive environments.

Summary updated

Abstract

In Part I of this paper we formulate an optimal scheduling problem for battery swapping that assigns to each electric vehicle (EV) a best station to swap its depleted battery based on its current location and state of charge. The schedule aims to minimize a weighted sum of total travel distance and generation cost over both station assignments and power flow variables, subject to EV range constraints, grid operational constraints and AC power flow equations. We propose there a centralized solution based on the second-order cone programming (SOCP) relaxation of optimal power flow (OPF) and generalized Benders decomposition that is suitable when global information is available. In this paper we propose two distributed solutions based on the alternating direction method of multipliers (ADMM) and dual decomposition respectively that are suitable for cases where the distribution grid, battery stations and EVs are managed by separate entities. Our algorithms allow these entities to make individual decisions but coordinate through privacy-preserving information exchanges to jointly solve an approximate version of the joint battery swapping scheduling and OPF problem. We evaluate our algorithms through simulations.
BibTeX
@article{you2018scheduling,
  author = {Pengcheng You and Steven H. Low and Liang Zhang and Ruilong Deng and Georgios B. Giannakis and Youxian Sun and Zaiyue Yang},
  title = {{Scheduling of EV Battery Swapping, II: Distributed Solutions}},
  journal = {IEEE Trans. Control. Netw. Syst.},
  year = {2018},
  url = {https://openreview.net/forum?id=edMHrAVkN718},
}
Figure