Optimization of ChargingBattery-Swap Station Locat
Optimization of ChargingBattery-Swap Station Locat
DOI: 10.32604/cmes.2022.022089
ARTICLE
ABSTRACT
The joint location planning of charging/battery-swap facilities for electric vehicles is a complex problem. Consid-
ering the differences between these two modes of power replenishment, we constructed a joint location-planning
model to minimize construction and operation costs, user costs, and user satisfaction-related penalty costs. We
designed an improved genetic algorithm that changes the crossover rate using the fitness value, memorizes, and
transfers excellent genes. In addition, the present model addresses the problem of “premature convergence” in
conventional genetic algorithms. A simulated example revealed that our proposed model could provide a basis
for optimized location planning of charging/battery-swapping facilities at different levels under different charging
modes with an improved computing efficiency. The example also proved that meeting more demand for power
supply of electric vehicles does not necessarily mean increasing the sites of charging/battery-swap stations. Instead,
optimizing the level and location planning of charging/battery-swap stations can maximize the investment profit.
The proposed model can provide a reference for the government and enterprises to better plan the location of
charging/battery-swap facilities. Hence, it is of both theoretical and practical value.
KEYWORDS
Charging/battery-swapping facility; genetic algorithm; location planning; excellent gene cluster
1 Introduction
With the ever-growing energy consumption and increase in the environmental effects of fossil-fuel
based energy sources, the use of collection technology of clean energies has undergone a remarkable
growth in the Chinese market [1]. In 2020, the ownership of electric vehicles (EVs) in China reached
approximately 4.5 million, which is expected to exceed 21 million by 2025, and 65 million by 2030.
The number of battery-swap EVs has also exhibited an evident growth tendency. In fact, the number
of EVs in 2021 was 155,900, an increase of more than 30% compared to that of 2019, including
approximately 79,000 private passenger vehicles, accounting for nearly 50%. With the advancement
of wind energy, solar energy, and other new energy industries, the demand for energy storage systems
is worth increasing [2]. Moreover, as reported by the Chinese Electric Vehicle Charging Infrastructure
This work is licensed under a Creative Commons Attribution 4.0 International License,
which permits unrestricted use, distribution, and reproduction in any medium, provided the
original work is properly cited.
1178 CMES, 2023, vol.134, no.2
Promotion Alliance, the number of charging facilities (public and private) reached 1.87 million
nationwide in May 2021, marking a 43.9% annual growth. Nevertheless, half of the owners of
EVs have no household charging piles and must rely on public charging facilities. As the central
government proposed the need to “increase the number of charging piles and battery-swap stations”
in China’s Government Work Report, for the first time in March 2021, battery-swap stations have
gained popularity and been promoted along with fast-charging facilities. The two modes of power
replenishment (i.e., charging and battery swap) are expected to develop together in the future.
However, power replenishment systems for EVs still face several challenges. First, the total
number of available facilities is still lower than the demand, despite the fact of increasing initiatives
to build more charging/battery-swap facilities. In addition, existing facilities often suffer from low
utilization rates and poor customer perception because of spatial and temporal randomness and
uncertainty in the need for power replenishment [3]. The conflicts between the increasing need for
EVs, power replenishment, and the limited investments in charging/battery-swapping facilities have
curbed the development of EVs. Therefore, an efficient method to optimize the location planning
of charging/battery-swap facilities, improve their utilization, and enhance customers’ perception is
required.
Research on methods for optimized location planning of charging/battery-swap stations has
advanced. Cheng et al. [4] proposed a cost minimization model that considered the investments of
charging networks, depreciation costs for EVs, and investments in power distribution networks. Yang
et al. [5] established a new multi-target model that aimed at minimizing the construction cost of
charging piles and maximizing the average capacity of charging stations. Song et al. [6] proposed a
location selection method for fast-charging stations that considered the operators, drivers, vehicles,
traffic flows, and power grids. Existing works on the location planning of charging/battery-swap
stations mainly focused on one or multiple of the following aspects: the income of the power grid
operator [7,8], investment in charging facilities [9,10], user costs [11,12], and new types of energy
storage devices [13,14]. Most reported studies have created a location optimization problem with the
following objectives: minimum cost, maximum fulfillment of needs, and maximum efficiency. Many
achievements have been reported from various investigations regarding location planning methods
of charging and battery-swap stations. However, no reports have explored the simultaneous location
planning of fast-charging and battery-swap stations to achieve effective coordination between these
two types of charging facilities. In the present work, we considered the location selection problem of
these two types of facilities and established a joint location planning model of charging/battery-swap
facilities to minimize the sum of construction, operation, charging, traveling, and penalty costs.
Location selection modeling is a complicated optimization problem that makes it almost imprac-
tical to use the traditional linear algorithm [15]. The global optimal solution is difficult to be obtained
by predominantly adopting heuristic algorithms such as the particle swarm optimization (PSO) [16],
genetic (GA) [17], firefly [18], simulated annealing [19], artificial neural network [20], and improved
algorithms [21]. Standard heuristic algorithms cannot provide an accurate and efficient solution to
the joint location-selection modeling problem of charging/battery-swap facilities. For example, in
the GA, the population diversity decreases after selection, and the population presents phenotype
consistency during convergence, resulting in premature convergence. Two optimization solutions have
been reported to address this problem. First, before the first round of inheritance, the operators
are modified or upgraded under the premise that the individual with the largest fitness value has a
high probability of being selected [22–24]. The second solution is to introduce a new notion after the
first round of inheritance or use the population maturity degree as an indicator to evaluate whether
the algorithm prematurely converges and hence improve the inheritance strategy [25,26]. However,
CMES, 2023, vol.134, no.2 1179
the improved GAs proposed in previous studies are not suitable for the combined optimization
problem of complicated systems that consider the location selection of both charging and battery-
swap facilities. Although many studies have focused on the location planning of charging and battery-
swap stations, very few have combined these two in location selection. To fill this research gap, in this
work, we constructed a model for location planning including both charging and battery-swap facilities
to optimize the level and location planning of charging/battery-swap stations and to maximize the
investment profit.
can be classified into four levels with different battery storage, single-way power distribution, and daily
service capacities. Table 1 shows the division of these levels.
r0 (1 + r0 )n0
Chf = pL sh + ph Nhc + pb Nhb + fsk (2)
(1 + r0 ) − 1
n0
where sk is the building area of the fast-charging station, pL is the unit price of land, pk is the
construction cost of a single unit of a fast-charging facility, Nkc is the number of fast-charging facilities,
fsk is the construction cost of the power distribution system, sh is the building area of the battery swap
station, ph is the construction cost of a single battery-swap facility unit, Nhc is the number of battery
swap facilities, pb is the unit price of the batteries, Nhb is the number of batteries reserved in the swap
station, r0 is the discount rate, and n0 is the depreciable life. The construction costs for fast-charging
facilities (Fkm ) and battery-swap stations (Fhm ) of different levels can be obtained, where m represents
the level of the facilities. Table 2 lists the specific costs.
δi = dij
v
, (8)
v
k
+ Wqj + Tc
where the average waiting time at charging station j is Wqj , and the charging time is Tc .
B. Operating vehicles, including taxis and online-hailing cars, rely primarily on public charging
stations. In scheduled rotations, the operating vehicles often do not have considerable time to
stay at the station for charging; thus, when they are short of electricity, they will need quick
charging, depending on fast charging or battery swaps for power replenishment.
C. Commercial vehicles generally rely on charging stations specifically built by the vehicle
operators; hence, this type of vehicle is not considered in the present work.
1182 CMES, 2023, vol.134, no.2
Then, using the formula for Little’s law, we obtain the expected queuing and waiting times. The
average waiting
time
of a vehicle at charging station j is Wqj = L1 /λe , and the charging time conforms
to Tc ∼ N μ, σ .2
Nhi is the number of battery swaps per vehicle per year, Nki is the average number of charging
times per vehicle per year.
dij
Ck =
u i
Dik Xij Nk + Wqj + Tc γ + Dik dij q λ + Dik Xij qNk
u k i
(17)
v
i
d
Ch =
u
Dih Xij Nh γ + Dih dij q λ + Dih Xij qNh
i ij u h i
(18)
i
v
Xjk Fkm + Xjh Fhm ≤ Cmax (23)
j j
Xjk ∈ {0, 1} (24)
Xjh ∈ {0, −1} (25)
Xij ∈ {0, 1} , (26)
where the objective function in Eq. (19) represents the minimum sum of costs of charging and battery
swap stations, including the construction, operation, driver access, and penalty costs. Constraint (20)
means that only one candidate site can be used to construct one type of facility, either a charging station
or a battery-swap station. Constraints (21) and (22) indicate that only when there are charging facilities
(charging piles or battery-swap stations), vehicles will come to this site for charging. Constraint (23)
considers the limits of governmental and corporate investments, and the maximum investment budget
is set as Cmax ; constraint (24) is equal to 1 when a fast-charging station is built at candidate site j;
otherwise, it is equal to 0; constraint (25) is equal to −1 when a battery-swap station is built at candidate
site j; otherwise, it is equal to 0. Constraint (26) is equal to 1 when the EV at demand site i moves to
site j for charging; otherwise, it is equal to 0.
identified; by assigning the demand site i to the candidate site j∗ k, we will obtain Xij∗k = 1. In addition,
the demand for fast charging assigned to candidate site j∗ k, where a facility is yet to be constructed,
Dik . Then, the distance
is between demand site i and jNh (jNh ∈ {j1h , j2h , . . . , jNh }) is calculated, that is
dij1 h , dij1 h , . . . , dijN h , from which the minimum distance dij∗ h corresponding to candidate site j∗ h is
obtained. By assigning demand site i to candidate site j∗ h, we achieve Xij∗h = 1, and the demand
for fast charging assigned to candidate site j∗ h is Dih . Let i = i + 1, the abovementioned procedures
are repeated until all demand sites i (i ∈ I) are assigned. In this manner, we can obtain the assigned
demands for the construction of fast-charging piles and battery-swap stations.
(2) Identifying the level of the charging station and the battery-swap station (m)
Step 1: The service capacity of an m-level charging station is Cmk . For all jNk (jNk ∈ {j1k , j2k , . . . , jNk }),
if Cmk−1 ≤ WjNk ≤ Cmk holds, the identification process terminates. For ∀jNk ∈ {j1k , j2k , . . . , jNk }, if WjNk >
Cmk , then we proceed to Step 2.
Step 2: When WjNk > Cmk , all demand sites ijNk assigned to candidate site jNk , where a facility is to
be built, can be found, and the distances from all demand sites to the candidate site, dijN k , are calculated
and sequenced. The demand site with the largest distance to the candidate site is removed and assigned
to the second closest station one after another until WjNk ≤ Cmk is satisfied. The set of demand sites
and the level of candidate sites are updated, and we return to Step 1.
The two steps above describe the process of identifying the level of a candidate site for a charging
station. The process in the battery-swap station is the same. Here, the distances from the demand site
to the charging station and battery-swap station are considered together, and the demand for charging
stations that are excessively far is assigned to a closer battery-swap station.
4 Simulation Example
4.1 Simulation Data
A simulated case was used to confirm the effectiveness of the proposed model. As shown in Fig. 1,
the simulation example is based on the main urban area of a city in Central China, with a total area of
approximately 139.2 km2 . Combined with statistical practice, 30 sub-areas of energy supply demand in
this area were studied and appropriate locations for the construction of charging stations were selected.
CMES, 2023, vol.134, no.2 1187
There are 3,490 EVs in this region, of which 2,804 are charging vehicles and 686 are battery swap
ones. The ratio of private cars to operating vehicles was 9.8:0.2. Private cars and operating vehicles need
to charge 0.2 and 2 times per day at public charging facilities, respectively. Table 3 lists the locations
and corresponding demand scales of the 30 demand sites, and Table 4 lists the specific parameters.
Table 3 (continued)
Demand site Abscissa Ordinate Demand for charging piles Demand for battery-swaps
22 5.4 16.1 12 36
23 18.98 16.73 16 35
24 9.29 17.14 132 10
25 22.21 24.56 108 6
26 21.3 15.4 72 44
27 21.35 8.98 20 38
28 7.89 10.36 24 43
29 20.36 12.26 152 7
30 18.58 15.1 32 46
The improved GA and MATLAB were used to find the solutions. The algorithm was set as follows:
the population was 50, the iteration was 200 times, and in the termination rules, the maximum iteration
was 50 times for the current optimal solution to remain unchanged. The simulation was run 20 times,
and the results are listed in Table 5.
CMES, 2023, vol.134, no.2 1189
As shown in Fig. 3, the result differs from that in Section 4.2.1. Sites 9, 13, and 17 are still planned
for charging piles; however, site 26 is no longer reserved for a charging station, and site 12 is arranged
for a new charging station. Charging stations were planned for regions with lower construction costs
to reduce the overall value of the objective function.
Figure 3: Construction locations and allocation of demand points (under varied construction costs)
the level of the fast-charging station and the location of the stations changed to minimize the overall
cost. Moreover, the location and scale of the battery-swap stations varied to meet changing demands.
Because the average construction cost of the battery-swap station is higher than that of the fast-
charging station, with an increasing proportion of EVs, the overall construction cost of energy supply
stations increases linearly. As shown in Fig. 4, when the proportion of battery-swap vehicles is changed
to 1/4, 3/8, and 1/2, the construction costs of battery-swap stations are 32 million CNY, 44 million CNY,
and 48 million CNY, and the overall construction costs are 50.3 million CNY, 58.2 million CNY, and
61.1 million CNY, respectively. This represents an increase of 18.6%, 15.7% and 4.98%, respectively,
compared to the original cost.
Figure 4: Construction cost of the charging/battery-swap station under different reduction ratios
Table 8: Times to reach the optimal solution for the two algorithms
Algorithm Minimum Maximum Mean
Conventional GA 3 15 7.6
Improved GA 24 58 39.4
As shown in Fig. 5, when the initial parameters were held constant, the fitness function curve of
the improved algorithm increased rapidly, with a higher fitness value and a higher rising speed than
those of the conventional GA. Moreover, as the number of epochs increased, the fitness values of
both algorithms increased until convergence. The improved algorithm converged at the 130th epoch.
However, the conventional algorithm did not exhibit a steadily reduced fitness value as the number of
epochs increased. Within 200 epochs, the conventional GA converged at the 152nd epoch, but did not
converge to the global optimum. The improved GA has better stability and poorer convergence than
its conventional counterpart.
5 Conclusions
Meeting the demand for power supply of EVs does not necessarily mean increasing the number of
charging/battery-swap stations. Instead, optimizing the level and location planning of these stations
can maximize the investment profit. A case simulation revealed that our proposed model for the
location selection of multilevel charging/battery-swap stations could provide a basis for decision-
making. In the location selection of charging/battery-swap facilities, the construction, operation,
charging, traveling, and waiting costs, as well as customer satisfaction with the service of the
facilities, should be considered. Location selection is a multi-target and nonlinear combination
optimization problem subject to different influencing factors. Therefore, the difference between the
fast-charging and battery-swap stations was considered. We built a location selection optimization
model for charging/battery-swap facilities. To solve this model, we designed an improved GA that
can dynamically change the crossover and mutation rates according to the fitness values, memorize,
and transfer excellent genes with a large probability. This improved algorithm avoids the problem
CMES, 2023, vol.134, no.2 1193
Funding Statement: The authors received no specific funding for this study.
Conflicts of Interest: The authors declare that they have no conflicts of interest to report regarding the
present study.
References
1. Zhao, J., Li, F., Wang, Z., Dong, P., Wang, K. (2021). Flexible PVDF nanogenerator-driven motion
sensors for human body motion energy tracking and monitoring. Journal of Materials Science: Materials
in Electronics, 32(11), 14715–14727. DOI 10.1007/s10854-021-06027-w.
2. Li, D., Li, S., Zhang, S., Sun, J., Wang, L. et al. (2022). Aging state prediction for supercapacitors
based on heuristic kalman filter optimization extreme learning machine. Energy, 250, 123773. DOI
10.1016/j.energy.2022.123773.
3. Rahman, I., Vasant, P. M., Singh, B. S. M., Abdullah-Al-Wadud, M., Adnan, N. (2016). Review of recent
trends in optimization techniques for plug-in hybrid, and electric vehicle charging infrastructures. Renewable
and Sustainable Energy Reviews, 58, 1039–1047. DOI 10.1016/j.rser.2015.12.353.
4. Cheng, Y., Tao, J. (2018). Optimal planning model of electric bus charging network under fast charg-
ing mode. Diangong Jishu Xuebao/Transactions of China Electrotechnical Society, 33, 586–595. DOI
10.19595/j.cnki.1000-6753.tces.L80558.
5. Yang, J., Jiang, X., Zhao, K. (2020). Multi-objective optimization method of location and capacity
determination problems of highway charging stations. Journal of Chongqing Normal University: Natural
Science Edition, 38, 1–10. DOI 10.11721/cqnuj20200611.
6. Song, Y. (2016). Optimization of electric vehicles’ charging station location (Ph.D. Thesis). Southwest
Jiaotong University. China.
7. Ren, Y., Shi, L., Zhang, Q., Han, W., Huang, S. (2011). Optimal distribution and scale of
charging stations for electric vehicles. Automation of Electric Power Systems, 35(14), 53–57. DOI
10.1080/17415993.2010.547197.
8. Kang, Q., Wang, J. B., Zhou, M. C., Ammari, A. C. (2015). Centralized charging strategy and scheduling
algorithm for electric vehicles under a battery swapping scenario. IEEE Transactions on Intelligent Trans-
portation Systems, 17(3), 659–669. DOI 10.1109/TITS.2015.2487323.
9. Ju, R. (2011). Electric vehicle charging station constraint conditions and comprehensive benefit analysis.
East China Electric Power, 39(4), 547–550.
10. Wei, T., Qlab, D., Zf, D., Slse, D., Bzab, C. et al. (2016). Optimizing the locations of electric taxi charging
stations: A spatial–temporal demand coverage approach. Transportation Research Part C: Emerging Tech-
nologies, 65, 172–189. DOI 10.1016/j.trc.2015.10.004.
11. Cai, H., Jia, X., Chiu, A. S., Hu, X., Xu, M. (2014). Siting public electric vehicle charging stations in Beijing
using big-data informed travel patterns of the taxi fleet. Transportation Research Part D: Transport and
Environment, 33, 39–46. DOI 10.1016/j.trd.2014.09.003.
12. Kong, W., Luo, Y., Feng, G., Li, K., Peng, H. (2019). Optimal location planning method of fast charging
station for electric vehicles considering operators, drivers, vehicles, traffic flow and power grid. Energy, 186,
115826. DOI 10.1016/j.energy.2019.07.156.
1194 CMES, 2023, vol.134, no.2
13. Wang, K., Wang, W., Wang, L., Li, L. (2020). An improved SOC control strategy for electric vehicle hybrid
energy storage systems. Energies, 13(20), 5297. DOI 10.3390/en13205297.
14. Liu, C., Zhang, Y., Sun, J., Cui, Z., Wang, K. (2022). Stacked bidirectional LSTM RNN to evaluate the
remaining useful life of supercapacitor. International Journal of Energy Research, 46(3), 3034–3043. DOI
10.1002/er.7360.
15. Hua, Y., Wang, N., Zhao, K. (2021). Simultaneous unknown input and state estimation for the linear
system with a rank-deficient distribution matrix. Mathematical Problems in Engineering, 2021. DOI
10.1155/2021/6693690.
16. Hou, W., Luo, Q., Wu, X., Zhou, Y., Si, G. (2021). Multiobjective optimization of large-scale EVs
charging path planning and charging pricing strategy for charging station. Complexity, 2021. DOI
10.1155/2021/8868617.
17. Ding, D. J., Dai, K., Zhang, X. S., Gu, J. P., Zhou, H. et al. (2018). Network planning for electric vehicle
charging based on fuzzy multi-objective optimization. Power System Protection and Control, 46(3), 43–50.
DOI 10.7667/PSPC170006.
18. Qiu, J. P., Niu, D. X., Zhu, G. D. (2016). Optimized layout of charging station for electric vehicle based
on firefly algorithm. Journal of North China Electric Power University (Natural Science Edition), 43(5),
105–110. DOI 10.3969/j.ISSN.1007-2691.2016.05.16.
19. Jia, H. P., Liu, S. G., Xie, S. L., Huang, S. L., Pei, S. T. (2013). The location model of the electric vehicle
charging station based on simulated annealing algorithm. Advanced Materials Research, 805, 1895–1899.
DOI 10.4028/www.scientific.net/AMR.805-806.1895.
20. Liu, C., Li, Q., Wang, K. (2021). State-of-charge estimation and remaining useful life prediction of
supercapacitors. Renewable and Sustainable Energy Reviews, 150, 111408. DOI 10.1016/j.rser.2021.111408.
21. Li, Q., Li, D., Zhao, K., Wang, L., Wang, K. (2022). State of health estimation of lithium-ion battery based
on improved ant lion optimization and support vector regression. Journal of Energy Storage, 50, 104215.
DOI 10.1016/j.est.2022.104215.
22. Li, S., Wei, T., Muke, B., Lu, Z. (2014). Locating and sizing of centralized charging stations in
distribution network considering load shifting. Proceedings of the CSEE, 34(7), 1052–1060. DOI
10.13334/j.0258-8013.pcsee.2014.07.00.
23. Awasthi, A., Venkitusamy, K., Padmanaban, S., Selvamuthukumaran, R., Blaabjerg, F. et al. (2017).
Optimal planning of electric vehicle charging station at the distribution system using hybrid optimization
algorithm. Energy, 133, 70–78. DOI 10.1016/j.energy.2017.05.094.
24. Xu, Y., Zhi, J. (2015). Optimal PMU configuration based on improved adaptive genetic algorithm. Power
System Protection and Control, 43(2), 55–62.
25. Hu, F. H., Ma, B. L., Yang, L., Li, W. (2014). Research on vehicle scheduling optimization in emergency
material distribution based on improved genetic algorithm. Application Research of Computers, 31(10),
2928–2932. DOI 10.3969/j.issn.1001-3695.2014.10.010.
26. Liu, L., Jing, P. (2015). A mutation strategy to suppress premature of genetic algorithm. The Application of
Computer Technology, 2015(23), 179.
27. Beijing Bureau of Quality and Technical Supervision. DB11/Z 728-2010 Technical Specification for Electric
Energy Supply and Guarantee of Electric Vehicles: Charging Station.