Figures
Abstract
Electric vehicle (EV) charging infrastructure is rapidly improving. To address high site selection costs from unbalanced fast-slow charging ratios and multi-party cost allocation issues, we propose a four-objective optimization model based on a three-party cost game (suppliers, users, power grid). The model minimizes: (1) construction/operation costs, (2) user time loss costs, (3) grid power loss costs, and (4) voltage deviation costs under different charging modes. An improved artificial hummingbird algorithm solves the model. Results show the approach improves economic efficiency, provides valuable reference for EV charging station siting, and demonstrates strong algorithm robustness and generalization.
Citation: Fan S, Zeng X, Li L, Xu S (2025) Improved artificial hummingbird algorithm for electric vehicle charging station fast and slow charging location determination method. PLoS One 20(9): e0332872. https://doi.org/10.1371/journal.pone.0332872
Editor: Dhanamjayulu C, Vellore Institute of Technology, INDIA
Received: June 23, 2025; Accepted: September 7, 2025; Published: September 30, 2025
Copyright: © 2025 Fan et al. This is an open access article distributed under the terms of the Creative Commons Attribution License, which permits unrestricted use, distribution, and reproduction in any medium, provided the original author and source are credited.
Data Availability: All relevant data are within the manuscript and its Supporting Information files.
Funding: This work was supported by Ministry of Education Humanities and Social Sciences (Project no. 20YJCZH027 to FSX), Key topics of the committee of education ministry (Project no. JZW2021030 to FSX) , Shanghai Educational Science Research Program – Philosophy and Social Sciences Research Project for Shanghai Universities (Project no. 2024ZSW003 to FSX), Shanghai Key Course Construction: Logistics Economics (Project no. 2023 to FSX, and key course construction of e-commerce in Shanghai Dianji University (Project no. 2025 to FSX).
Competing interests: The authors have declared that no competing interests exist.
1. Introduction
As global energy demand continues to rise, particularly the reliance on non-renewable energy sources like coal and oil, environmental pollution has worsened, damaging the atmosphere and posing severe challenges to living conditions. Consequently, the concept of “carbon neutrality” [1] has emerged. The green and low-carbon transition of China’s energy system serves as a fundamental pathway to realize the nation’s Dual Carbon objectives – reaching carbon emission peak before 2030 and attaining carbon neutrality by 2060 [2]. By the end of 2023, China’s pure electric vehicle fleet had reached 15.52 million units, yet the construction of charging infrastructure still lags behind the “1:1 vehicle-to-charger ratio” target [3] set by the National Energy Administration, becoming a bottleneck for industry development. As a pivotal driver of the “dual carbon” strategy, electric vehicles have demonstrated significant emission reduction effects. With the increasing production and sales of electric vehicles, China has introduced a series of policy measures to promote the popularization and development of EV charging stations. The “Development Plan for Electric Vehicle Charging Infrastructure (2015-2020)”, issued in 2015, explicitly called for accelerating charging infrastructure construction to meet demand. This initiative was later incorporated into the 2020 Government Work Report to boost the growth of new infrastructure industries [4] On January 10, 2022, the National Development and Reform Commission and other departments issued the “ Implementation Opinions on Further Enhancing the Service Support Capacity of Electric Vehicle Charging Infrastructure ”, which significantly boosted the development of the new energy vehicle charging market. This policy established charging as the mainstream solution while positioning battery swapping as a supplementary approach [5–6].
Therefore, scientifically and rationally planning the siting and capacity allocation of charging stations not only guarantees a convenient and efficient charging experience for users, preventing queuing caused by insufficient facilities, but also comprehensively improves service quality and user satisfaction, thereby significantly increasing public acceptance of electric vehicles. This issue has already attracted systematic attention and in-depth research from numerous scholars both at home and abroad.
2. Literature review
With the rapid development and widespread adoption of electric-vehicle technology, the siting of charging stations has become a focal concern for both academia and industry. Research on this issue not only determines the charging convenience of EV users, but also directly affects the operational efficiency of charging stations, the stability of the power grid, and environmental sustainability.
Early studies, such as Hamed et al. [7], adopted a maximum-coverage location model to address EV charging-station siting under expected daytime and nighttime demands, integrating financial feasibility to improve adoption rates. As attention shifted toward user behavior and psychological factors, Xu et al. [8] incorporated range anxiety and route-choice issues caused by battery degradation, aiming to minimize drivers’ perceived range anxiety. Wu and Sioshansi [9] innovatively proposed a classical stochastic-flow-capturing location framework that optimizes station placement as the number of charging stations increases. Jung et al. [10] introduced a dynamic siting model that replaces flow interception with trip interception, effectively reducing user queueing delays and service-request rejection rates and thereby enhancing station service levels. More recently, the rapid advancement of big-data analytics and artificial-intelligence techniques has opened new avenues for EV charging-station siting. Tu et al. [11] note that charging-station locations are constrained by dynamic travel patterns and charging durations; to tackle this, they extract massive GPS trajectory data to build a multi-objective siting model that maximizes total travel distance covered and minimizes charging-queue waiting time. Keawthong et al. [12] analyze Bangkok EV GPS data and propose a data-driven process that minimizes the aggregate travel time from EVs to charging stations. Several studies further adopt a stakeholder-oriented perspective: Ko et al. [13] argue that station locations must simultaneously satisfy users, government, and charging-service providers, and thus put forward a trajectory-based siting model balancing these interests. Frade et al. [14] take Lisbon as a case study and construct a maximum-coverage charging-station model by integrating local population and employment density characteristics. Recognizing the limited driving range of EVs and the uncertainty of their initial state of charge, He et al. [15] develop a bi-level charging-station siting model that explicitly accounts for range limitations and stochastic initial SOC to optimize deployment strategies. Shahraki et al. [16] adopt total vehicle-kilometers-traveled as the objective and find that, as the total number of charging stations increases, the optimal locations expand from the inner city outward, exhibiting diminishing marginal benefits. Against the backdrop of sustainable development and environmental protection, Hosseini & Sarder [17] develop a Bayesian-network model that integrates both quantitative and qualitative factors; from this sustainability perspective they formulate a suite of sub-indicators to provide a novel view on charging-station siting. Namdeo et al. [18] propose a geospatial modeling approach that derives a siting plan based on users’ travel patterns and EV usage intensity.Additional studies have explicitly considered the interplay between the power grid and the traffic network. Hidalgo et al. [19] compute spatiotemporal energy demands while accounting for individual user requirements, constructing a dedicated siting model that minimizes (i) the total infrastructure installation cost and (ii) the volume of failed trips due to insufficient on-board energy; they further analyze how variations in user charging behavior and battery energy efficiency affect algorithmic outcomes. Tadayon et al. [20] present a design strategy that simultaneously considers the electric grid and the urban transportation network; their multi-objective charging-station siting model maximizes user travel comfort, minimizes all station-related cost indicators, and satisfies constraints such as traffic volume and charging duration. Jing Xiaomin [21] systematically incorporates traffic-network layout, distribution-system efficiency, and multiple cost dimensions into a comprehensive multi-objective planning model for charging-station siting.
Research on the siting of EV charging stations has achieved substantial advancements. Early investigations predominantly employed coverage-based and flow-capture models, whereas recent efforts have increasingly leveraged large-scale data and artificial-intelligence techniques for optimization. Contemporary studies further integrate stakeholder perspectives, sustainability criteria, and coordinated analyses of power-grid and transportation networks. Nonetheless, the extant literature remains largely focused on station-level cost constraints—comprising construction and operation-and-maintenance expenditures—and subsequently derives user routing patterns and range-anxiety considerations, ultimately yielding single- or two-party benefit maximization. In capacity optimization, existing approaches typically address the charging station as an aggregate entity, neglecting flexible allocation between fast and slow chargers. Concurrently, investigations incorporating the operational implications of charging-station integration into distribution networks remain scarce, despite the significant stresses imposed by high-power fast-charging technologies. Consequently, a multi-cost, multi-dimensional, and multi-objective framework for siting and sizing represents the prevailing trajectory for future EV charging-station planning and decision-making.
In recent years, capacity sizing has been explicitly incorporated into optimal siting studies for new-energy charging infrastructure. Liu and Lin [22], grounded in the P-median principle, developed a combined location-and-capacity model that simultaneously minimizes user detour costs, fixed investment expenditures, and operation-and-maintenance outlays for EV charging stations. Peng et al. [23] constructed a comprehensive charging-station cost framework that integrates land-use fees, equipment procurement costs, and long-term O&M expenses, and they employed an efficient search strategy to explore the solution space. A numerical case study under their framework yielded optimal siting and capacity configurations under given constraints.To expedite optimization and mitigate computational complexity, researchers have increasingly adopted heuristic algorithms for such problems [24]. These algorithms, formulated as near-optimal rather than strictly optimal approaches, can rapidly approximate globally satisfactory solutions. Commonly used techniques include genetic algorithms and particle swarm optimization (PSO). Wang Huanlin [25] formulated a charging-demand allocation model based on candidate station locations and solved it via PSO to identify sites that satisfy traffic convenience, operational economy, regional development prospects, grid security, and construction feasibility. Wang Yong [26] established a cost-minimization siting-and-sizing model and applied an improved mutation-based PSO to obtain solutions. Qu Rui et al. [27] introduced a chaotic simulated-annealing PSO that exploits probabilistic jumps to escape local optima and locate global solutions within the search space.Despite these algorithmic enhancements, PSO remains susceptible to premature convergence, which can degrade solution quality in location-and-capacity models. Addressing this limitation remains a critical challenge for heuristic approaches to EV charging-station planning.
In conclusion, this paper presents a multi-dimensional, multi-objective model for simultaneously siting electric-vehicle charging stations and determining their capacity. By explicitly balancing the cost concerns of suppliers, users, and grid operators, the model formulates four objective functions: (i) minimization of charging-station construction cost, (ii) minimization of users’ annual charging-related travel cost, (iii) minimization of grid power losses, and (iv) minimization of voltage deviation. This integrated framework remedies the incompleteness of conventional siting objectives, enhances the flexibility of fast- versus slow-charger allocation, and fills the gap in existing literature regarding the heterogeneous impacts of mixed charger types on power-system performance. To mitigate the issues of excessive iterations and the elusiveness of global optima, this paper proposes a chaotic non-uniform mutation-enhanced artificial hummingbird algorithm (CAHA) specifically tailored for solving the multi-dimensional, multi-objective siting model. The algorithm enhances the conventional Artificial Hummingbird Algorithm via three optimization strategies while integrating chaos theory to improve global exploration capability. A case study in the New-City Planning Area of Xi’an demonstrates that CAHA surpasses AHA, PSO, and NSGA-II in both total cost reduction and solution robustness, thus providing a practical and cost-effective blueprint for supporting China’s “Dual-Carbon” 2030/2060 targets.
3. Establishment of a multi-objective location model for electric vehicle charging stations
In the real world, the siting of electric-vehicle (EV) charging stations is influenced and constrained by a multitude of factors, including national policies, geographical conditions, and the spatial distribution of actual EV user charging demands. This study primarily examines the perspectives of the operator, end-user, and grid side. By examining the multidirectional gaming among these three parties, it pursues the minimization of operator costs and the maximization of user satisfaction while simultaneously ensuring the minimization of grid loss costs. From the operator perspective, cost factors primarily comprise expenditures on station deployment, land acquisition, road construction, labor, procurement of charging equipment (e.g., charging piles), and subsequent operational and maintenance costs of charging infrastructure. Operators seek to fulfill EV charging demands at minimal feasible expenditure. From the end-user perspective, analysis focuses on annual loss-induced costs during charging processes. This encompasses: (1) temporal costs incurred en route to charging stations—user experience improves proportionally with proximity between origin points and charging facilities; (2) queuing-induced temporal costs during charging sessions. Higher station density within a region, greater aggregate charging pile availability, and elevated proportions of fast-charging equipment collectively enhance demand fulfillment capacity, thereby reducing queue times and diminishing users’ charging wait-time costs. As the demand for fast-charging stations for EVs continues to surge, the burden on the grid side is also increasing. Therefore, by optimizing line losses and charging losses, the grid-side network loss costs can be effectively reduced. Fig 1 illustrates the key factors influencing the siting of EV charging stations.
3.1. Factors influencing the location selection of electric vehicle charging stations
3.1.1. Operator Side: Charging station construction costs.
Charging station siting is influenced by multiple factors, among which construction cost [28] is one of the most critical considerations. a) Land cost is the foremost element, serving as a key component of overall construction expenses; therefore, it must be fully integrated into the siting decision. b) Infrastructure development costs including power-supply facilities and road connections—are also pivotal, as geographic location directly affects the investment required for these assets. c) Construction and labor costs further shape site selection; regions with relatively low labor costs can significantly reduce both initial outlay and ongoing O&M expenses. d) Rights and permitting fees must not be overlooked, since certain jurisdictions impose specific charges for land-use rights, building permits, and other regulatory approvals. Finally, e) market demand and profit expectations are decisive. Even if construction costs are low, a site lacking charging demand or facing intense competition may fail to deliver projected returns.
Hence, a comprehensive evaluation of these factors is essential to ensure that charging stations are built in the most cost-effective and strategically advantageous locations.
3.1.2 User Side: En-route loss cost incurred by users.
The en-route loss cost for users encompasses both travel-time cost [29] and queuing-time cost, both of which translate into losses of users’ time and resources.
a) Travel-time cost captures the economic value of the time required for an EV to reach a charging station. It integrates multiple factors: the distance between the charging station and the demand origin, the urban travel-time cost coefficient, road-condition complexity that limits vehicle speed, the number of operating days per year, and the probability that a given vehicle will choose that station. By synthesizing these elements, the monetary value of travel time during the charging journey can be quantified, providing an essential input for cost–benefit analyses and operational decisions. b) Queuing-time cost refers to the average waiting time at the station before charging service begins. It is calculated from the station’s workload—defined by the EV arrival rate relative to the charging rate—and the station’s capacity (i.e., the number of chargers). Estimating the expected waiting time allows an assessment of station efficiency and supports adjustments in charger deployment to balance service quality against investment cost.
3.1.3. Grid Side: Impacts on the power system.
Laboratory simulations demonstrate that different EV charging/discharging patterns distinctly alter the daily load profile of the grid:
a) Uncontrolled charging amplifies peak-hour demand, intensifying the challenge of peak-shaving.b) Controlled charging produces a milder impact, mitigating—though not eliminating—the peak-shaving pressure created by uncontrolled patterns.c) Controlled charging-and-discharging (V2G) actively flattens the load curve, achieving genuine peak-shaving and valley-filling.
As EV penetration rises, the grid’s characteristics evolve: the minimum daily load increases, the maximum load decreases, and the peak-valley difference narrows. These shifts confirm that all charging modes materially affect the grid and complicate peak regulation.Consequently, during charging-station siting, priority must be given to solutions that minimize grid losses, thereby enhancing the economic efficiency of power-system operation.
3.2. Siting model formulation
3.2.1. Problem assumptions.
To facilitate the construction of an electric-vehicle charging-station siting model, the following assumptions are made, as summarized in Table 1.
3.2.2. Objective function.
To simultaneously reduce (i) users’ en-route loss costs, (ii) operators’ construction-and-operation costs, and (iii) grid-side network-loss costs, this paper formulates a multi-objective mathematical model.
- (1) Operater side: Charging station construction costs
The cost of charging station operators can be divided into construction cost and equipment maintenance cost
, Based on the different prices of fast and slow charging, the following mathematical formula is established:
In the formula, is the construction cost;
is the discount rate, which is 0.08;
is the operating life, which is 20 years;
is the fixed investment cost, which is 3 million yuan;
is the number of charging piles in the charging station;
is the equivalent investment coefficient of the distribution transformer and transmission line related equipment cost, which is 20,000 yuan/unit;
is the unit price of the charging pile, which is 200,000 yuan/unit for fast charging and 100,000 yuan/unit for slow charging.
is the equipment maintenance cost;
is the conversion coefficient of labor and equipment operation and maintenance cost, which is taken as 0.1.
In summary, the objective function of the construction and operation cost of the charging station is:
I is a collection of charging stations.
- (2) User side: The annual loss cost of users during charging journey
In formulating the objective function for this study, queueing theory [30–31] is employed as a fundamental analytical tool. Queueing theory studies the performance and behaviour of queueing systems, in which customers arriving at a service facility must wait until they are served. Its purpose is to build mathematical models that evaluate system performance indicators—such as average waiting time, average service time, and system utilisation—and to furnish guidelines for optimising system design and operation. The objective function developed herein is closely aligned with queueing-theoretic principles. Specifically, it decomposes user-side losses into two queueing-related components: (i) travel time to the charging station, and (ii) waiting time at the station. By embedding these components as sub-objectives within the overall optimisation framework, the model yields a queueing-theory-based function that minimises users’ annual aggregate loss associated with the entire charging journey.
- a) Travel-time cost en-route is expressed as:
is the time cost of charging;
is the time cost coefficient of urban travel, which is 17 yuan/h;
s the Euclidean distance from demand point
to charging station
;
is the average speed of urban traffic, which is 20 km/h;
is the charging probability of electric vehicles, which is 0.05.
- b) Charging waiting-time cost
This paper focuses on siting charging stations that provide both fast and slow chargers. The resulting user waiting experience differs markedly from that of single-mode stations, so the distinct characteristics of fast and slow charging must be explicitly modeled. When a station is equipped with both fast and slow chargers, the waiting times experienced by users will vary according to the mix of charger types. Introduced the concept of equivalent coefficient for fast and slow charging. Among them, the charging service intensity can be expressed as:
among them, is the equivalent coefficient of fast and slow charging.
The fast-to-slow charging coefficient is an indicator used to compare how the charging rates of different chargers affect battery charging efficiency. It is defined as the ratio of the effective amount of charge delivered to the battery by a fast charger versus a slow charger within the same time period. In this paper, an equivalent coefficient that combines both charger types is employed. A weighted average is applied to the fast- and slow-charging efficiency coefficients, using their respective usage frequencies or importance as weights, yielding a comprehensive efficiency coefficient that represents the combined charging efficiency of fast and slow chargers.
EV charging stations are equipped with two types of charging stations: fast and slow. The former charges quickly but at a higher cost, while the latter charges slowly and at a lower cost. Therefore, when designing a charging station, it is necessary to consider the ratio of fast charging and slow charging to balance charging efficiency and cost.
Wherein, is the waiting time cost for charging,
is the expected waiting time for electric vehicles in queue,
is the number of charging piles at a certain station;
is the number of electric vehicles arriving at the charging station per unit time;
is the charging probability of electric vehicles, which is 0.05;
is the charging time period for electric vehicles, which is 4h;
is the average service rate of the charging piles;
is the service time of the charging piles, which is 12h;
is the probability that all charging piles are idle.
In summary, the objective function of the user’s loss cost during the charging journey each year is:
- (3) Grid side: network loss costs and voltage deviation costs
In the power system, components such as transmission lines and transformers experience energy loss in the form of thermal energy due to the presence of resistance and reactance when current flows through them. This loss not only wastes electrical energy resources, but also affects the overall efficiency of the system. Reducing network losses has become one of the key objectives for optimizing the operation of the power system. When selecting the location for electric vehicle charging stations, it is necessary to connect the charging loads of each charging station to the distribution system, calculate the active power loss through power flow, and combine the charging electricity price and the operation time of the charging station to ultimately obtain the cost of the objective function three network losses [32]:
is the daily operation time of the charging station, which is 12 hours/day;
the electricity price, which is 0.8 yuan/kWh;
is the active power loss.
In the power system, voltage offset refers to the difference between the voltage at a node and the rated value. Excessive or insufficient voltage offset can cause equipment damage or a decrease in power quality, so it is necessary to maintain the voltage within an appropriate range. Minimizing the cost of voltage offset [33] means minimizing the voltage offset at the nodes as much as possible, so that the system operates at the optimal voltage state.
In the site selection of electric vehicle charging stations, it is necessary to obtain the equivalent voltage offset price, and then obtain the objective function of minimizing the cost of four voltage offsets:
Among them, is the voltage,
is the expected deviation loss price of system voltage, which is 20 yuan.
3.2.3. Constraints.
- (1) Restrictions on the number of charging piles in the station:
Indicates the maximum value and the minimum value
of the number of charging piles established in the charging station.
- (2) Constraints on the number of charging stations
The number of charging stations is determined based on the demand for charging and the capacity of the charging stations. The prediction is based on the peak charging demand within the day and the capacity constraints of the charging stations. The calculation formula is as follows:
- (3) Power flow constraints
Where ,
is the susceptance of the branch,
and
represent the active power of the power generation and charging station load of the grid node,
and
represent the reactive power of the power generation and charging station load of the grid node
, respectively.
(4) Branch apparent power constraint
where is the maximum apparent power in branch
,
is the active power in branch
,
is the reactive power in branch
.
- (5) Node Voltage Constraints
is the lower limit of node voltage,
is the upper limit of node voltage.
4. Chaotic non-uniform mutation-enhanced Artificial Hummingbird Algorithm (CAHA)
In electric-vehicle charging-station siting, the inclusion of multiple stakeholders and objectives continually increases problem complexity. Genetic algorithms, particle swarm optimization, and simulated annealing are frequently employed, yet their inherent structures often drive the search into local optima, compromising solution accuracy. To enhance convergence and global-search capability, this paper augments the Artificial Hummingbird Algorithm (AHA) with chaotic non-uniform mutation, proposing a novel Chaotic Non-uniform Mutation Artificial Hummingbird Algorithm (CAHA) specifically tailored for the multi-dimensional and multi-objective siting problem.
4.1. Tent Chaos map
Since the artificial hummingbird algorithm usually uses randomly generated data as the initial population position when solving optimization problems, it will have an adverse effect on the diversity of the population. Therefore, this paper introduces the Tent mapping [34]. The traversal of the Tent mapping shows uniform and random characteristics, which helps the algorithm to avoid falling into local optimal solutions more easily, thereby ensuring the diversity of the population and enhancing its global search capabilities. Therefore, this paper plans to use the Tent mapping to initialize the population and take, which is expressed as:
In addition to uniformity and randomness, the Tent chaotic map exhibits the following characteristics:
- (1) Chaoticity: The Tent map displays chaotic behavior, whereby an infinitesimal perturbation in the initial condition can lead to an entirely different system trajectory.
- (2) Piecewise Linearity: The Tent map is a piecewise function characterized by two distinct linear segments on the intervals [0, a] and [a, 1]. On [0, a] it behaves as a linear function with slope < 1, whereas on [a, 1] it is the mirror image of this linear function, again with slope < 1.
4.2. Crossover operator
The crossover operator usually refers to an operation used to generate new individuals in genetic algorithms and evolutionary computing. In these algorithms, individuals are often represented by chromosomes, and the crossover operator is a method of operating on these chromosomes.
The design of the crossover operator has a great influence on the convergence and search ability of the algorithm. This paper performs a crossover operation on the first 1/3 of the population with the best fitness and recalculates the fitness. When the fitness of the new individual is better than that of the original individual, it replaces the original individual, so that it has a certain probability of jumping out of the local optimal solution.
4.3. Non-uniform mutation operator
The non-uniform mutation operator is a nonlinear mutation operation whose mutation rate gradually decreases with the number of iterations, thereby introducing greater disturbances in early iterations and becoming more stable in later iterations. This approach helps to find a balance between global search and local search, thereby enhancing the practicality and convergence of the algorithm. In this article, we use a non-uniform mutation operator to perturb the position of the population so that individuals can search in a larger range at the beginning of the solution and perform fine search in local areas at the later stage. The non-uniform operator can be expressed as follows:
Where represents the element of the i th dimension of the j th individual.
is the current iteration number.
and
represent the maximum and minimum values of each dimension of the search space respectively.
can be expressed as follows:
Among them, is the maximum number of iterations,
is the parameter that determines the non-uniformity.
4.4. Steps of CAHA
Based on the above improvements, this paper proposes a chaotic non-uniform mutation artificial hummingbird algorithm. In the population initialization process, we use Tent chaotic mapping to improve the diversity of the population; and for the artificial hummingbird algorithm [35], in order to solve the problem of easily falling into the local optimal solution, we introduce the crossover operator and non-uniform mutation operator, thereby improving the optimization search ability and convergence performance of the algorithm. The specific steps of the improved artificial hummingbird algorithm are as follows:
Step1: First, the positions (PopPos) and fitness (PopFit) of a group of hummingbirds are initialized by random generation. These positions are limited to a given search space range (between Low and Up).
Step2: Tent chaos optimization is used to obtain the initial population position. Based on the initial position, we calculate the ideal position and optimal fitness value of the population, the environmental safety signal, and initialize the access table;
Step3: In each iteration, the hummingbirds will fly and search according to certain rules. These rules include random selection of directions (diagonal, omnidirectional, axial flight), guided foraging and regional foraging strategies.
Step4: Periodically perform migration and foraging operations to maintain the diversity of the population. Within a specific number of iterations, select the hummingbird with the highest fitness to migrate and re-initialize its position randomly.
Step5: After a certain number of iterations, perform fitness sorting and perform crossover operations based on a part of the bees with the best fitness.
Step6: Introduce non-uniform mutation operators to perform non-uniform mutation operations on the positions of hummingbirds to increase the diversity of the search.
Step7: In each iteration, update the global optimal fitness (BestF) and the corresponding position (BestX).
Step8: Record the optimal fitness of each iteration for subsequent analysis of the algorithm’s performance.
4.5. Algorithm performance evaluation
In order to prove the supeanriority of the performance of the improved artificial hummingbird algorithm (CAHA), this section uses the improved artificial hummingbird algorithm (CAHA), artificial hummingbird algorithm (AHA) and particle swarm algorithm (PSO) to conduct simulation experiments on multiple test functions. The selected test functions include Sphere function, Ackley function, Griewank function and Rastrigin function.
For the improved CAHA algorithm, its core parameters include: selecting a population size of 30 and a maximum number of iterations of 100. The core parameters selected by AHA are consistent with the optimized AHA algorithm. In the design of the PSO algorithm, we selected 30 population particles, 5 particle dimensions, a maximum number of iterations of 100, and an inertia weight of 0.8. In order to intuitively compare the convergence of different algorithms and their ability to select the best solution, we show the convergence trends of the three algorithms on four test functions, as shown in Figs 2 (a), (b), (c) and (d).
(b) Ackley function convergence curve. (c) Griewank function convergence curve. (d) Rastrigin function convergence curve.
The results indicate that CAHA converges rapidly on the multimodal Griewank and Rastrigin functions, while achieving higher prediction accuracy and stronger robustness on the unimodal Rosenbrock and Sphere functions without falling into local optima. The AHA enhanced by non-uniform mutation outperforms both the particle swarm algorithm and the conventional AHA in terms of iteration count and the ability to select the global optimum, successfully avoiding local optima. By initializing the population with a Tent chaotic map and incorporating crossover and non-uniform mutation operators, the proposed algorithm preserves the advantages of the original AHA while significantly improving overall performance.
4.6. Algorithm complexity
In the CAHA, the time complexity is derived as follows:
Tent-chaos initialization: O(N·D) for a one-off generation and mapping, where N is the population size and D the problem dimension. Hummingbird position update: O(N·D·T) over T iterations, with N individuals and D dimensions processed each generation. Crossover operator: O((N/3)·D) per generation, applied only to the top one-third of individuals. Non-uniform mutation: O(N·D) per generation, performing a per-dimension non-linear perturbation.
Hence, the overall time complexity of CAHA is O(N·D·T), the same asymptotic order as AHA and PSO. Empirically, for D ≤ 100 the running time of CAHA does not differ significantly from that of AHA or PSO.
5. Case analysis
A case study is conducted in a designated planning zone of Xi’an. The zone covers 72 km² and has a population density of 1200 inhabitants per square kilometre. Private-car ownership is 20% of the population, and 25% of these vehicles are electric. The area encompasses 36 residential-centroid demand points and 32 pre-selected candidate station sites. The candidate sites are assumed to correspond one-to-one with the IEEE 33-node test feeder. Coordinates of the demand points together with their associated EV counts are given in Table 2, while the precise coordinates of the candidate sites aligned with the IEEE 33-node system are listed in Table 3.
The corresponding topology of the planning zone is illustrated in Fig 3.
Through analysis, it is concluded that the number of charging stations is crucial to the development of the electric vehicle industry. Too few charging stations will reduce user experience and charging efficiency, which is not conducive to industrial development; too many charging stations will increase investment costs and waste land resources. Taking into account user experience, investment costs and social burden, as shown in Fig 4, building 5 charging stations can minimize the total social cost while meeting user needs. Specifically, 5 charging stations can optimize resource allocation, improve user experience, and promote the healthy development of the electric vehicle industry. It is an economically feasible solution. It is recommended to implement this plan in this planning area.
The best site selection and capacity determination plan with the best overall total cost is shown in Fig 5, where the circular ring is the candidate site selection point. The number of charging piles in the selected site selection point and the ratio of charging piles under different charging modes are shown in Table 4.
Through the data in Fig 5 and Table 4, we can clearly see that the planned area is divided into 5 service areas by 5 charging stations. Specifically, candidate station No. 17 is equipped with 14 charging piles, and its charging speed ratio is 0.7036; candidate station No. 7 is equipped with 11 charging piles, and its charging speed ratio reaches 0.4850; candidate station No. 23 is equipped with 7 charging piles, and its charging speed and speed ratio are both 0.1146; candidate station No. 30 is equipped with 11 charging piles, and its charging speed ratio reaches 0.6649; candidate station No. 24 is equipped with 10 charging piles, and its charging speed ratio reaches 0.3654.
To evaluate the robustness of the proposed algorithm, the number and proportion of fast/slow chargers at each candidate site were repeatedly varied; the CAHA was executed ten independent times. The resulting statistics are summarized in Table 5.
As shown in Table 5, CAHA demonstrates strong robustness in charging-station siting. Regarding capacity allocation, the variance of the number of charging piles ranges from 0.22 to 0.4, indicating only minor fluctuations that remain within engineering tolerances. In the fast-to-slow charger ratio analysis, the relative deviation from the mean is less than 0.5%, underscoring the algorithm’s high stability.
To validate the practicality of the CAHA, comparative experiments were conducted among CAHA, the original Artificial Hummingbird Algorithm (AHA), Particle Swarm Optimization (PSO), and the widely-used multi-objective optimizer NSGA-II; the results are reported in Tables 6 and 7. As shown in Table 7, the solution obtained by the improved AHA (CAHA) yields a total cost of 1619.9631 across the four cost components, which is the lowest among all four algorithms. By contrast, the original AHA attains the smallest network-loss and voltage-deviation costs, yet its annual user travel-loss cost is more than twice that of the CAHA solution. PSO produces the highest value for every single cost component, resulting in the largest total cost.
In the context of EV-charging-station siting, the proposed multi-dimensional, multi-objective model demonstrates marked superiority over single-objective formulations. By simultaneously optimizing construction, maintenance, user travel, and system-loss costs, it furnishes a holistic solution that reconciles the often-conflicting requirements and constraints of diverse stakeholders—government agencies, EV users, and charging-station operators—allowing decision-makers to select the most appropriate compromise solution. Comparative results verifying these advantages are presented in Table 8.
From Table 8, it can be seen that when only optimizing the cost objective function of charging station construction, this cost is the minimum value in the comparative experiment. However, in order to pursue the minimum cost of charging station construction, the user’s time consumption cost is ignored, making this cost 2.83 times higher than that of multi-objective site selection, which makes it extremely inconvenient for users to travel; However, when only considering the objective function of user travel cost, the construction cost and total cost of charging stations increase significantly compared to multi-dimensional and multi-objective site selection; If only considering the grid losses and voltage offsets of the power grid, the construction cost of charging stations will be 2.04 times that of multi-dimensional multi-objective site selection, and the user’s time consumption cost will even skyrocket to 37.55 times that of multi- dimensional multi-objective site selection. Even more unreasonable is the situation where five charging stations are concentrated in one place to extremely control grid losses and voltage offsets during site selection. The multi-dimensional and multi-objective site selection in this article not only minimizes the total cost, but also balances the four objective functions, keeping them within a more reasonable cost range.
To verify the generalization and robustness of the algorithm, the CAHA algorithm and the multi-dimensional multi-objective location game process are extended to more complex power grids. In this paper, a larger-scale area is selected for planning, with 72 demand points and 58 candidate points based on the planning. The coordinate data of each point and the number of electric vehicles are shown in Attachment 1. The IEEE 84 system is selected as the test system. After economic analysis, the final optimal location result is 21 candidate locations, as shown in Table 9.
To test the robustness of the algorithm, the number and proportion of charging piles at each candidate site were repeatedly varied; the CAHA method was executed ten independent times. Table 10 summarizes the resulting statistics.
As shown in Table 10, CAHA demonstrates strong robustness in charging-station siting. Regarding capacity allocation, the variance of the number of charging piles ranges from 0.15 to 0.58, indicating only minor fluctuations that remain within engineering tolerances. In the fast-to-slow charger ratio analysis, the relative deviation from the mean is less than 0.5%, underscoring the algorithm’s high stability.
To validate the practicality of the CAHA, comparative experiments were conducted among CAHA, the original Artificial Hummingbird Algorithm (AHA), Particle Swarm Optimization (PSO), and the widely-used multi-objective optimizer NSGA-II; the results are reported in Tables 11 and 12. As shown in Table 12, the solution obtained by the improved AHA (CAHA) yields a total cost of 6432.45 across the four cost components, which is the lowest among all four algorithms. By contrast, the original AHA attains the smallest network-loss and voltage-deviation costs, yet its annual user travel-loss cost is more than twice that of the CAHA solution. NSGA-II produces the highest value for every single cost component, resulting in the largest total cost.
The results of the multi-dimensional multi-objective location cost strategy tested in a complex system are shown in Table 13.
As can be seen from the above tables, the costs based on multi-factor and multi-objective location optimization results are superior to decision-making results that only consider single objective functions. Therefore, under both complex and non-complex multi-condition tests, the CAHA model and the multi-dimensional multi-objective location game model can achieve good results and have strong generalization and robustness.
The current validation of the proposed CAHA method are confined to the IEEE 33 and IEEE 84-node feeder, which are relatively small and highly aggregated. While the Xi’an 72 km² planning case offers a real-world setting, it still represents only a medium-scale distribution network. To strengthen the impact and generalizability of the findings, future work will (1) test CAHA on larger, real-world datasets—specifically 1000-plus-node urban grids and extensive highway networks—and (2) incorporate high-uncertainty factors such as time-varying loads, renewable-generation fluctuations, and dynamic electricity prices to assess robustness and scalability under more complex operating conditions.
Conclusion
This study proposes an electric vehicle charging station location and capacity optimization model based on the Improved Artificial Hummingbird Algorithm (CAHA), aiming to solve problems such as charging station construction cost, user charging time loss, grid loss, and voltage deviation through multi-objective optimization. Through calculation and verification, the following conclusions can be drawn as follows:
- (1) The four-objective function for the three-party game between suppliers, users and the grid is established, namely the construction cost of the charging station, the annual user loss cost during the charging journey, the network loss cost and the voltage offset cost. By introducing the ratio of fast and slow charging piles, the design of the charging station is more reasonable while the cost is controlled, which is in line with the future trend.
- (2) The proposed CAHA algorithm is based on the AHA algorithm and integrates Tent’s chaos theory, crossover operator and non-uniform mutation operator, which significantly improves the convergence speed of the algorithm and its ability to escape from the local optimal solution. Compared with the AHA algorithm, CAHA has demonstrated higher execution efficiency and better optimization search capabilities in the planning process of electric vehicle charging stations.
- (3) With the rapid development of electric vehicle infrastructure, it has greatly improved the actual charging station site selection project and saved costs.
Although the model has shown good optimization performance and robustness in theory and experiments, there are some limitations in practical applications, such as simplifying assumptions, static demand assumptions, simplifying grid constraints, and issues with computational cost and scalability. Future research directions include dynamic demand modeling, renewable energy integration, multi-objective optimization algorithm improvement, practical case verification, and policy and market factor analysis to enhance the practicality and foresight of research and provide stronger support for the planning and construction of electric vehicle charging infrastructure.
References
- 1. Zhao F, Liu X, Zhang H. Automobile industry under China’s carbon peaking and carbon neutrality goals: Challenges, opportunities, and coping strategies. Journal of Advanced Transportation. 2022;2022(1):1–13.
- 2. Wu C, Lin X, Sui Q. Two-stage self-scheduling of battery swapping station in day-ahead energy and frequency regulation markets. Applied Energy. 2021;283:116285.
- 3. China National Energy Administration. Electric vehicle charging infrastructure development guide (2015- 2020). 2015.
- 4. Martins LS, Guimarães LF, Junior ABB. Electric car battery: An overview on global demand, recycling and future approaches towards sustainability. Journal of Environmental Management. 2021;295:113091.
- 5.
Cao L. Research on the development and application of charging piles based on the development of new energy vehicles. In: IOP Conference Series: Earth and Environmental Science, 2020. 012001.
- 6.
Tang G a n g. Research on siting and capacity determination of electric vehicle charging stations. Beijing: North China Electric Power University. 2016.
- 7. Hamed MM, Kabtawi DM, Al-Assaf A. Random parameters modeling of charging-power demand for the optimal location of electric vehicle charge facilities. Journal of Cleaner Production. 2023;388:136022.
- 8. Xu M, Yang H, Wang S. Mitigate the range anxiety: Siting battery charging stations for electric vehicle drivers. Transportation Research Part C: Emerging Technologies. 2020;114:164–88.
- 9. Wu F, Sioshansi R. A stochastic flow-capturing model to optimize the location of fast-charging stations with uncertain electric vehicle flows. Transportation Research Part D: Transport and Environment. 2017;53:354–76.
- 10. Jung J, Chow JYJ, Jayakrishnan R. Stochastic dynamic itinerary interception refueling location problem with queue delay for electric taxi charging stations. Transportation Research Part C: Emerging Technologies. 2014;40:123–42.
- 11. Tu W, Li Q, Fang Z. Optimizing the locations of electric taxi charging stations: A spatial–temporal demand coverage approach. Transportation Research Part C: Emerging Technologies. 2016;65:172–89.
- 12. Keawthong P, Muangsin V, Gowanit C. Location selection of charging stations for electric taxis: a Bangkok case. Sustainability. 2022;14(17):11033.
- 13. Ko J, Gim THT, Guensler R. Locating refuelling stations for alternative fuel vehicles: a review on models and applications. Transport Reviews. 2017;37(5):551–70.
- 14. Frade I, Ribeiro A, Gonçalves G. Optimal location of charging stations for electric vehicles in a neighborhood in Lisbon, Portugal. Transportation Research Record. 2011;2252(1):91–8.
- 15. He F, Yin Y, Zhou J. Deploying public charging stations for electric vehicles on urban road networks. Transportation Research Part C: Emerging Technologies. 2015;60:227–40.
- 16. Shahraki N, Cai H, Turkay M. Optimal locations of electric public charging stations using real world vehicle travel patterns. Transportation Research Part D: Transport and Environment. 2015;41:165–76.
- 17. Hosseini S, Sarder MD. Development of a Bayesian network model for optimal site selection of electric vehicle charging station. International Journal of Electrical Power & Energy Systems. 2019;105:110–22.
- 18. Namdeo A, Tiwary A, Dziurla R. Spatial planning of public charging points using multi-dimensional analysis of early adopters of electric vehicles for a city region. Technological Forecasting and Social Change. 2014;89:188–200.
- 19.
Hidalgo PA, López M, Ostendorp M, Lienkamp M. Optimizing the charging station placement by considering the user’s charging behavior. In: 2016 IEEE International Energy Conference (ENERGYCON), 2016.
- 20. Tadayon‐Roody P o o y a, Ramezani M, Falaghi H. Multi‐objective locating of electric vehicle charging stations considering travel comfort in urban transportation system. IET Generation, Transmission & Distribution. 2021;15(5):960–71.
- 21.
Xiaomin J. Research on the planning of electric vehicle charging station integration into distribution networks. Shanghai: Donghua University. 2022.
- 22. Liu L, Yu N, Fang G. Research on location and capacity planning of EV charging stations based on improved P-median model. Jilin Electric Power. 2024;52(03):19–22.
- 23. Peng G, Deng Y, Zhang L. Research on site selection and capacity determination of electric vehicle charging stations based on genetic algorithm. Scientific and Technological Innovation. 2024;(02):1–4.
- 24. Wei G, Wang G, Ruan G, Review on intelligent decision-making and optimization for electric vehicle charging station siting. Computer Engineering and Applications. 2023;59(21):52–65.
- 25. Wu F, Sioshansi R. A stochastic flow-capturing model to optimize the location of fast-charging stations with uncertain electric vehicle flows. Transportation Research Part D: Transport and Environment. 2017;53:354–76.
- 26.
Wang Y. Research on location and capacity optimization of regional electric vehicle charging stations. Nanjing: Nanjing University of Posts and Telecommunications. 2020.
- 27. Qu R, Liu R, Luo Y. Charging station planning scheme for electric vehicles based on chaotic simulated-annealing particle swarm optimization. Electrical & Energy Management Technology. 2023;10:41–6.
- 28.
Wang Z. Research on urban public electric vehicle charging station location based on a multi-objective planning model. Kaifeng: Henan University. 2023.
- 29.
Liu Huanan. Research on Location, Sizing, and Operational Decisions of Electric Vehicle Charging Stations Considering Multi-Stakeholder Interests. Jilin: Northeast Electric Power University, 2023.
- 30. Huang X, Yang H, Chen J. Optimal planning of electric vehicle charging stations based on life-cycle cost and quantum genetic algorithm. Automation of Electric Power Systems. 2015;39(17):176–82.
- 31. Lin L i n, Gao Y a j i n g. Optimal configuration of charging stations based on queuing theory. Electric Power Science and Engineering. 2014;30(04):33–7.
- 32.
Zhang J u a n. Research on coordinated charging strategies and charging infrastructure planning for electric vehicles. Taiyuan: Taiyuan University of Technology. 2018.
- 33. Li H, Zhang X, Jiang C. Electric vehicle charging station location based on an improved moth-flame optimization algorithm. Electrical Automation. 2023;45(05):113–4, 118.
- 34.
Pang Enze. Research on Urban Electric Vehicle Charging Station Siting. North China Electric Power University, 2018.
- 35. Liu D o n g l i n, Wang Y u f e i, Zhang Y u. Siting and capacity determination method for electric vehicle charging stations based on Huff model. Electric Power Automation Equipment. 2023;43(11).