Energy Management of PV-Enabled Battery Charging Swapping Stations for Electric Vehicles in Active Distribution Systems Under Uncertainty
Abstract
1. Introduction
- We present a PV-enabled BCSS model in which inventory batteries stored in the BCSS are employed to ensure an economical BCSS operation (via B2B and DR functionalities) and maintain a stable active distribution grid operation (via inverter-based VVC associated with BCSS and stand-alone PV system) while satisfying the desired battery swapping demands of EVs.
- We propose a Wasserstein-based DRO framework that enables the DSO to optimally schedule the operations of PV-enabled BCSSs in the active distribution system while addressing the uncertainties in both PV generation output and DR-induced maximum demand reduction capability. A key part of the proposed DRO framework is to formulate a distributionally robust bound (DRB) problem that determines the bounds of the aforementioned uncertain parameters in the distributionally robust chance constraints (DRCCs).
- We reformulate the original DRB problem as a duality theory-based tractable optimization problem by transforming the DRCCs into deterministic constraints, which can be efficiently solved by off-the-shelf optimization solvers.
2. System Model
3. DO Problem Formulation for BCSS-Integrated Active Distribution System Operation
3.1. Objective Function
3.2. Active Distribution System Model
3.3. Reactive Power Constraints of Stand-Alone PV System
3.4. PV-Enabled BCSS Operational Constraints
3.4.1. Status of Battery Swapping and Charging/Discharging
3.4.2. SOC Dynamics of Battery for EV and BCSS
3.4.3. Charging and Discharging of Grid-Connected BCSS
3.4.4. Demand Reduction via the DR Program
3.4.5. Reactive Power Capability of BCSS
4. DRO-Based Solution Approach
4.1. Backgrounds of DRO
4.2. DRB Problem Formulation
- Step (1): Construct the ambiguity sets using the Wasserstein metric, which contain the probability distributions associated with the uncertain real power outputs of the stand-alone and BCSS-related PV systems and the uncertain DR-induced maximum demand reduction.
- Step (2): Formulate Wasserstein-based DRCCs (35)–(37) associated with the aforementioned uncertainties.
- Step (5): Using the solution calculated from the DRB problem, transform the intractable DRCCs (35)–(37) into the tractable deterministic constraints (51)–(53). Finally, these deterministic constraints are employed in the optimization problem to handle the uncertainties in the real power outputs of the stand-alone and BCSS-related PV systems and the uncertain DR-induced maximum demand reduction.
5. Simulation Results
5.1. Simulation Setup
5.2. BCSS Operation via EV Battery Swapping and Inventory Battery Charging/Discharging
5.3. Benefits of B2B/PV Capability
5.4. Reactive Power Capability of BCSS and Stand-Alone PV System
5.5. Performance Comparison with Different Radii of the Wasserstein Ball
5.6. Performance Comparison with SO and RO Methods
5.7. Sensitivity Analysis of the Objective Functions with Respect to Varying Weight
5.8. Computational Complexity
5.9. Scalability
- The proposed DRO-based BCSS scheduling framework successfully supported the EV battery swapping while ensuring the economical operation of the BCSSs through the charging and discharging of inventory batteries (see the results in Figure 7).
- In the proposed framework, a higher PV generation led to a more economical BCSS operation by fully utilizing the cost-free PV real power output (see the results in Figure 8).
- The proposed framework could increase and decrease the DR-induced reward and electricity arbitrage cost of BCSSs, respectively, via B2B and/or PV real power support (the results are shown in Figure 9).
- The uncertainty-integrated DRO method yielded a more conservative solution than that of the uncertainty-free DO method (baseline approach). This solution’s conservatism became more pronounced with an increasing Wasserstein ball radius (i.e., a larger ambiguity set) (the results are shown in Table 3).
6. Practical Implications
7. Conclusions
Author Contributions
Funding
Data Availability Statement
Conflicts of Interest
Abbreviations
| EV | Electric vehicle |
| PCS | Plug-in charging station |
| BCSS | Battery charging swapping station |
| VVC | Volt/VAR control |
| DR | Demand response |
| DSO | Distribution system operator |
| BCS | Battery charging station |
| BSS | Battery swapping station |
| ESS | Energy storage system |
| PV | Photovoltaic |
| B2B | Battery-to-battery |
| RO | Robust optimization |
| SO | Stochastic optimization |
| DRO | Distributionally robust optimization |
| DRB | Distributionally robust bound |
| DRCC | Distributionally robust chance constraint |
| DO | Deterministic optimization |
| SOC | State of charge |
References
- Boucher, M. Transportation electrification and managing traffic congestion: The role of intelligent transportation systems. IEEE Electrif. Mag. 2019, 7, 16–22. [Google Scholar] [CrossRef]
- Jin, J.; Mao, S.; Xu, Y. Optimal priority rule-enhanced deep reinforcement learning for charging scheduling in an electric vehicle battery swapping station. IEEE Trans. Smart Grid 2023, 14, 4581–4593. [Google Scholar] [CrossRef]
- Liang, Y.; Ding, Z.; Zhao, T.; Lee, W.J. Real-time operation management for battery swapping-charging system via multi-agent deep reinforcement learning. IEEE Trans. Smart Grid 2023, 14, 559–571. [Google Scholar] [CrossRef]
- Nayak, D.S.; Misra, S. An operational scheduling framework for electric vehicle battery swapping station under demand uncertainty. Energy 2024, 290, 130219. [Google Scholar] [CrossRef]
- Dong, Q.; Song, X.; Gong, C.; Hu, C.; Rui, J.; Wang, T.; Xia, Z.; Wang, Z. Voltage regulation strategies in photovoltaic-energy storage system distribution network: A review. Energies 2025, 18, 2740. [Google Scholar] [CrossRef]
- Achour, Y.; Ouammi, A.; Zejli, D. Model predictive control based demand response scheme for peak demand reduction in a smart campus integrated microgrid. IEEE Access 2021, 9, 162765–162778. [Google Scholar] [CrossRef]
- Cui, D.; Wang, Z.; Liu, P.; Wang, S.; Dorrell, D.G.; Li, X.; Zhan, W. Operation optimization approaches of electric vehicle battery swapping and charging station: A literature review. Energy 2023, 263, 126095. [Google Scholar] [CrossRef]
- Yan, W.; Li, P.; Han, Y.; Zhao, Z.; Zhang, D.; Xu, Z.; Liu, Z. Truck-based inter-station battery transportation strategy for battery swapping stations considering the intra-day irregular behavior of electric vehicles. Energy Rep. 2025, 14, 1314–1326. [Google Scholar] [CrossRef]
- Lai, Z.; Li, S. Towards a multimodal charging network: Joint planning of charging stations and battery swapping stations for electrified ride-hailing fleets. Transp. Res. Part B Methodol. 2024, 183, 102928. [Google Scholar] [CrossRef]
- Chen, X.; Yang, Y.; Song, J.; Wang, J.; He, G. Hybrid energy storage system optimization with battery charging and swapping coordination. IEEE Trans. Autom. Sci. Eng. 2024, 21, 4094–4105. [Google Scholar] [CrossRef]
- Bai, J.; Ding, T.; Jia, W.; Mu, C.; Siano, P.; Shahidehpour, M. Battery charging and swapping system involved in demand response for joint power and transportation networks. IEEE Trans. Intell. Transp. Syst. 2024, 25, 6836–6847. [Google Scholar] [CrossRef]
- Mao, S.; Wang, Y.; Guan, Q.; Xu, Y. Structural charging and replenishment policies for battery swapping charging system operation under uncertainty. IEEE Trans. Intell. Transp. Syst. 2023, 24, 14598–14609. [Google Scholar] [CrossRef]
- Kocer, M.C.; Onen, A.; Jung, J.; Gultekin, H.; Albayrak, S. Optimal location and sizing of electric bus battery swapping station in microgrid systems by considering revenue maximization. IEEE Access 2023, 11, 41084–41095. [Google Scholar] [CrossRef]
- Liu, H.; Zhang, Y.; Ge, S.; Gu, C.; Li, F. Day-ahead scheduling for an electric vehicle PV-based battery swapping station considering the dual uncertainties. IEEE Access 2019, 7, 115625–115636. [Google Scholar] [CrossRef]
- Boonraksa, T.; Boonraksa, P.; Pinthurat, W.; Marungsri, B. Optimal battery charging schedule for a battery swapping station of an electric bus with a PV integration considering energy costs and peak-to-average ratio. IEEE Access 2024, 12, 36280–36295. [Google Scholar] [CrossRef]
- Feng, J.; Hou, S.; Yu, L.; Dimov, N.; Zheng, P.; Wang, C. Optimization of photovoltaic battery swapping station based on weather/traffic forecasts and speed variable charging. Appl. Energy 2020, 264, 114708. [Google Scholar] [CrossRef]
- Sarker, M.R.; Pandžić, H.; Ortega-Vazquez, M.A. Optimal operation and services scheduling for an electric vehicle battery swapping station. IEEE Trans. Power Syst. 2015, 30, 901–910. [Google Scholar] [CrossRef]
- Güldorum, H.C.; Diaz-Cachinero, P.; Muñoz-Delgado, G.; Contreras, J. Unlocking the potential of battery charging and swapping stations: Achieving fully flexible operation via B2X and V2X integration. IEEE Trans. Transp. Electrif. 2025, 11, 11041–11053. [Google Scholar] [CrossRef]
- Chen, X.; Yang, Y.; Wang, Z.; Song, J.; Wang, J.; He, G. Battery swapping station management with heterogeneous battery functionality degradation. IEEE Trans. Smart Grid 2025, 16, 478–490. [Google Scholar] [CrossRef]
- Wan, Y.; Qin, J.; Shi, Y.; Fu, W.; Zhang, D. Privacy-preserving operation management of battery swapping and charging system with dual-based benders decomposition. IEEE Trans. Smart Grid 2023, 14, 3899–3912. [Google Scholar] [CrossRef]
- Wu, H. A survey of battery swapping stations for electric vehicles: Operation modes and decision scenarios. IEEE Trans. Intell. Transp. Syst. 2022, 23, 10163–10185. [Google Scholar] [CrossRef]
- Esfahani, P.M.; Kuhn, D. Data-driven distributionally robust optimization using the Wasserstein metric: Performance guarantees and tractable reformulations. Math. Program. 2018, 171, 115–166. [Google Scholar] [CrossRef]
- Núñez-Rodríguez, R.A.; Unsihuay-Vila, C.; Posada, J.; Pinzón-Ardila, O. Data-Driven Distributionally Robust Optimization for Day-Ahead Operation Planning of a Smart Transformer-Based Meshed Hybrid AC/DC Microgrid Considering the Optimal Reactive Power Dispatch. Energies 2024, 17, 4036. [Google Scholar] [CrossRef]
- Shi, X.; Xu, Y.; Guo, Q.; Sun, H.; Zhang, X. Day-Ahead Distributionally Robust Optimization-Based Scheduling for Distribution Systems with Electric Vehicles. IEEE Trans. Smart Grid 2023, 14, 2837–2850. [Google Scholar] [CrossRef]
- Liang, J.; Miao, J.; Sun, L.; Zhao, L.; Wu, J.; Du, P.; Cao, G.; Zhao, W. Supply–Demand Dynamics Quantification and Distributionally Robust Scheduling for Renewable-Integrated Power Systems with Flexibility Constraints. Energies 2025, 18, 1181. [Google Scholar] [CrossRef]
- Yin, C.; Dong, J.; Zhang, Y. Distributionally Robust Bilevel Optimization Model for Distribution Network with Demand Response Under Uncertain Renewables Using Wasserstein Metrics. IEEE Trans. Sustain. Energy 2025, 16, 1165–1176. [Google Scholar] [CrossRef]
- Çiçek, A. Optimal operation of an all-in-one EV station with photovoltaic system including charging, battery swapping and hydrogen refueling. Int. J. Hydrogen Energy 2022, 47, 32405–32424. [Google Scholar] [CrossRef]
- Erdinç, O. Considering the combinatorial effects of on-site distributed generation and battery-to-X option availability in electric vehicle battery swap station operation. Sustain. Energy Grids Netw. 2021, 26, 100472. [Google Scholar] [CrossRef]
- Wang, Z.; Hou, S. Real-time Volt/Var optimization through bidirectional chargers in battery swapping stations: A hierarchical scheduling strategy. Electr. Power Syst. Res. 2024, 237, 111040. [Google Scholar] [CrossRef]
- Alharbi, W.; Humayd, A.S.B.; Praveen, R.P.; Awan, A.B.; Anees, V.P. Optimal scheduling of battery-swapping station loads for capacity enhancement of a distribution system. Energies 2023, 16, 186. [Google Scholar] [CrossRef]
- Revankar, S.R.; Kalkhambkar, V.N.; Gupta, P.P.; Kumbhar, G.B. Economic operation scheduling of microgrid integrated with battery swapping station. Arab. J. Sci. Eng. 2022, 47, 13979–13993. [Google Scholar] [CrossRef]
- Zhang, Y.; Yao, L.; Hu, L.; Yang, J.; Zhou, X.; Deng, W.; Chen, B. Operation optimization of battery swapping stations with photovoltaics and battery energy storage stations supplied by transformer spare capacity. IET Gener. Transm. Distrib. 2023, 17, 3872–3882. [Google Scholar] [CrossRef]
- Bian, H.; Ren, Q.; Guo, Z.; Zhou, C. Optimal scheduling of integrated energy system considering electric vehicle battery swapping station and multiple uncertainties. World Electr. Veh. J. 2024, 15, 170. [Google Scholar] [CrossRef]
- Mehrjerdi, H. Resilience oriented vehicle-to-home operation based on battery swapping mechanism. Energy 2021, 218, 119528. [Google Scholar] [CrossRef]
- Baran, M.E.; Wu, F.F. Network reconfiguration in distribution systems for loss reduction and load balancing. IEEE Trans. Power Deliv. 1989, 4, 1401–1407. [Google Scholar] [CrossRef]
- Taghizad-Tavana, K.; Kheljani, H.S.; Hosseini, S.H.; Tarafdar-Hagh, M.; Daneshvar, M. Multi-dimensional management of smart distribution networks: Comparative analysis of box and polyhedral methods for modeling uncertainties. Sustain. Cities Soc. 2024, 108, 105488. [Google Scholar] [CrossRef]
- Arrigo, A.; Ordoudis, C.; Kazempour, J.; De Grève, Z.; Toubeau, J.F.; Vallée, F. Wasserstein distributionally robust chance-constrained optimization for energy and reserve dispatch: An exact and physically-bounded formulation. Eur. J. Oper. Res. 2022, 296, 304–322. [Google Scholar] [CrossRef]
- Mohsenian-Rad, A.H.; Leon-Garcia, A. Optimal residential load control with price prediction in real-time electricity pricing environments. IEEE Trans. Smart Grid 2010, 1, 120–133. [Google Scholar] [CrossRef]
- Open Data Sets. Available online: https://site.ieee.org/pes-iss/data-sets (accessed on 1 July 2025).
- Swarnkar, M.; Jatav, A.; Singh, G.; Swarnkar, A.; Soni, A.; Niazi, K.R. Demand response and load profile analysis in modern electricity systems. In Intelligent Computing Techniques for Smart Energy Systems; Springer Nature: Berlin, Germany, 2024; pp. 45–50. [Google Scholar] [CrossRef]
- Bertsimas, D.; Sim, M. Robust discrete optimization and network flows. Math. Program. 2003, 98, 49–71. [Google Scholar] [CrossRef]

















| Category | [18] | [27,28] | [29] | [30] | [31] | [32] | [33,34] | Proposed Study |
|---|---|---|---|---|---|---|---|---|
| Distributed BCSS | ✓ | ✓ | ✓ | ✓ | ✓ | ✓ | ✓ | ✓ |
| PV-enabled BCSS | ✓ | ✓ | ✗ | ✗ | ✗ | ✓ | ✓ | ✓ |
| DR | ✓ | ✗ | ✗ | ✓ | ✓ | ✓ | ✗ | ✓ |
| VVC | ✗ | ✗ | ✓ | ✓ | ✗ | ✗ | ✗ | ✓ |
| B2B | ✓ | ✓ | ✗ | ✗ | ✗ | ✗ | ✗ | ✓ |
| PV generation output uncertainty | ✗ | ✗ | ✗ | ✗ | ✗ | ✗ | ✓ | ✓ |
| Demand reduction uncertainty | ✗ | ✗ | ✗ | ✗ | ✗ | ✗ | ✗ | ✓ |
| DRO method | ✗ | ✗ | ✗ | ✗ | ✗ | ✗ | ✗ | ✓ |
| BCSS | Parameter | Mean (kWΔt) | Std (kWΔt) | Min (kWΔt) | Max (kWΔt) |
|---|---|---|---|---|---|
| Initial SOC | 18.18 | 6.67 | 6.62 | 30.24 | |
| 1 | Desired SOC | 57.96 | 13.41 | 38.46 | 71.19 |
| ΔSOC | 39.76 | 14.28 | 8.68 | 62.75 | |
| Initial SOC | 17.59 | 7.64 | 6.81 | 30.35 | |
| 2 | Desired SOC | 61.34 | 11.75 | 38.89 | 71.60 |
| ΔSOC | 43.74 | 13.10 | 11.08 | 64.53 | |
| Initial SOC | 17.41 | 6.31 | 6.32 | 30.26 | |
| 3 | Desired SOC | 62.34 | 11.45 | 38.91 | 71.59 |
| ΔSOC | 44.92 | 13.33 | 12.12 | 65.14 |
| Multi-Objective Function | DO Method | DRO Method | |||
|---|---|---|---|---|---|
| (Total Real Power Loss (kW)) | 110.99 | 115.91 | 116.90 | 117.11 | 117.71 |
| (Total Electricity Arbitrage Cost ($)) | 1466.59 | 1526.64 | 1531.16 | 1549.58 | 1620.23 |
| (Total Battery Degradation Cost ($)) | 7.79 | 7.86 | 7.89 | 7.90 | 7.95 |
| (Total SOC Mismatch for Battery Swapping (kWΔt)) | 0 | 0 | 0 | 0 | 0 |
| (Total DR-induced Reward ($)) | 1353.72 | 1260.81 | 1211.64 | 1209.33 | 1203.92 |
| Multi-Objective Function | DO Method | DRO Method | |||
|---|---|---|---|---|---|
| (Total Real Power Loss (kW)) | 183.33 | 185.14 | 187.63 | 187.91 | 188.17 |
| (Total Electricity Arbitrage Cost ($)) | 2476.28 | 2516.44 | 2516.87 | 2541.21 | 2590.23 |
| (Total Battery Degradation Cost ($)) | 12.98 | 13.06 | 13.09 | 13.70 | 13.85 |
| (Total SOC Mismatch for Battery Swapping (kWΔt)) | 0 | 0 | 0 | 0 | 0 |
| (Total DR-induced Reward ($)) | 2256.21 | 2244.61 | 2231.47 | 2217.23 | 2209.91 |
Disclaimer/Publisher’s Note: The statements, opinions and data contained in all publications are solely those of the individual author(s) and contributor(s) and not of MDPI and/or the editor(s). MDPI and/or the editor(s) disclaim responsibility for any injury to people or property resulting from any ideas, methods, instructions or products referred to in the content. |
© 2026 by the authors. Licensee MDPI, Basel, Switzerland. This article is an open access article distributed under the terms and conditions of the Creative Commons Attribution (CC BY) license.
Share and Cite
Kim, H.; Lee, S.; Choi, D.-H. Energy Management of PV-Enabled Battery Charging Swapping Stations for Electric Vehicles in Active Distribution Systems Under Uncertainty. Energies 2026, 19, 1223. https://doi.org/10.3390/en19051223
Kim H, Lee S, Choi D-H. Energy Management of PV-Enabled Battery Charging Swapping Stations for Electric Vehicles in Active Distribution Systems Under Uncertainty. Energies. 2026; 19(5):1223. https://doi.org/10.3390/en19051223
Chicago/Turabian StyleKim, Haram, Sangyoon Lee, and Dae-Hyun Choi. 2026. "Energy Management of PV-Enabled Battery Charging Swapping Stations for Electric Vehicles in Active Distribution Systems Under Uncertainty" Energies 19, no. 5: 1223. https://doi.org/10.3390/en19051223
APA StyleKim, H., Lee, S., & Choi, D.-H. (2026). Energy Management of PV-Enabled Battery Charging Swapping Stations for Electric Vehicles in Active Distribution Systems Under Uncertainty. Energies, 19(5), 1223. https://doi.org/10.3390/en19051223

