원시데이터 수집 시스템
선정목록으로

Optimal electric vehicle charge scheduling algorithm using war strategy optimization approach

관련 수소연료전지 · (5) 연료전지용 수분제어장치(가습기)

기본 정보

저자
  1. Vikramgoud Madaram — Department of Electrical and Electronics Engineering, National Institute of Technology Mizoram, Aizwal, 796012, India
  2. Pabitra Kumar Biswas⃰ — Department of Electrical and Electronics Engineering, National Institute of Technology Mizoram, Aizwal, 796012, India
  3. Chiranjit Sain — Electrical Engineering Department, Ghani Khan Choudhury Institute of Engineering &Technology, Malda, West Bengal, India
  4. Thanikanti Sudhakar Babu — Department of Electrical and Electronics Engineering, Chaitanya Bharati Institute of Technology, Hyderabad, 500075, Telangana, India
  5. Shitharth Selvarajan — School of Built Environment, Engineering and Computing, Leeds Beckett University, Leeds, LS6 3QS, UK. shitharths@kdu.edu.et
DOI
10.1038/s41598-024-72428-6
저널
Scientific Reports
발행년도
2024
발행기관
Nature Portfolio
피인용수
13
라이선스
cc-by-nc-nd
논문 유형
–
언어
–
원문 페이지
https://doi.org/10.1038/s41598-024-72428-6
토픽
Electric and Hybrid Vehicle Technologies
OpenAlex ID
W4402632674

평가 내용

관련도
관련
사업분야
수소연료전지 · (5) 연료전지용 수분제어장치(가습기)
부 분야
–
R&D 측면
–
확신도
–
근거 용어
–
판단 근거
임베딩 유사도 기반 평가로 '수소연료전지 > 연료전지용 수분제어장치(가습기)' 분야에 선정된 논문입니다.
R&D 활용 포인트
–
평가 입력
–

초록

In this work, a new kind of charge scheduling algorithm is proposed by utilizing the War Strategy Optimization (WSO) algorithm. The strategies used in the war such as attack, defense, assigning soldiers to take positions are the inspiration to this algorithm. The proposed WSO algorithm is validated in a constructed geographic area which consists of Six starting/destination points, sixteen nodes, and twelve charging stations. In terms of waiting time and charging cost, the experimental results show that the WSO method much improves over current methods. The average waiting time and average charging cost of EVs are validated in MATLAB, with different considerations such as different number of EVs varied from 25 to 100, and different number of charging piles varied from 1 to 4. The WSO algorithm specifically lowered charging costs by up to 13.67% compared to the same and waiting time by up to 83.25% relative to the First Come First Serve algorithm. Comparatively to the Chaotic Harris Hawk Optimization and Harris Hawk Optimization algorithms, the WSO method demonstrated declines in waiting time by 11.17% and 39.09%, respectively, and declines in charging costs by 3.61% and 12.45%, respectively. Especially in situations with limited charging infrastructure, these findings show that the WSO algorithm may improve the efficiency and cost-effectiveness of EV charging management systems. For real-world EV charging management systems, the method's capacity to efficiently allocate EVs among charging stations, lower waiting times, and lower charging costs makes it a potential solution.

본문 75,538자

본문 펼치기
## OPEN # Optimal electric vehicle charge scheduling algorithm using war strategy optimization approach Vikramgoud Madaram <sup>1</sup> , Pabitra Kumar Biswas <sup>1</sup> , Chiranjit Sain <sup>2</sup> , Sudhakar Babu Thanikanti <sup>3</sup> & Shitharth Selvarajan <sup>4</sup> <sup>*</sup> In this work, a new kind of charge scheduling algorithm is proposed by utilizing the War Strategy Optimization (WSO) algorithm. The strategies used in the war such as attack, defense, assigning soldiers to take positions are the inspiration to this algorithm. The proposed WSO algorithm is validated in a constructed geographic area which consists of Six starting/destination points, sixteen nodes, and twelve charging stations. In terms of waiting time and charging cost, the experimental results show that the WSO method much improves over current methods. The average waiting time and average charging cost of EVs are validated in MATLAB, with different considerations such as different number of EVs varied from 25 to 100, and different number of charging piles varied from 1 to 4. The WSO algorithm specifically lowered charging costs by up to 13.67% compared to the same and waiting time by up to 83.25% relative to the First Come First Serve algorithm. Comparatively to the Chaotic Harris Hawk Optimization and Harris Hawk Optimization algorithms, the WSO method demonstrated declines in waiting time by 11.17% and 39.09%, respectively, and declines in charging costs by 3.61% and 12.45%, respectively. Especially in situations with limited charging infrastructure, these findings show that the WSO algorithm may improve the efficiency and cost-effectiveness of EV charging management systems. For real-world EV charging management systems, the method’s capacity to efficiently allocate EVs among charging stations, lower waiting times, and lower charging costs makes it a potential solution. Keywords Electric vehicle, Charge scheduling, War strategy algorithm, Harris Hawk optimization Greenhouse gas emissions are being reduced by electric vehicles (EVs). Recent laws in developed nations promote electric vehicles and reduce emissions for sustainable ­mobility <sup>1</sup> . Urban areas have high combustion vehicle CO2 emissions. EVs are best, but they emit CO2 without renewable power. Smart grids encourage distributed renewable energy. Renewable charging stations are best now. In 2018, the world had 5.1 million electric cars (EVs), and the International Energy Agency predicts 250 million by ­2030 <sup>2</sup> . By 2016, when 750,000 electric cars were sold worldwide, the Electric Vehicles Initiative aims to reach 30% market share for EVs in commercial vehicles, trucks, and passenger cars. The number of EV purchases should rise. As EVs gain popularity, range and battery capacity limit their efficiency and feasibility. Lack of charging infrastructure hurts EV sales. Time, geographical uncertainty, and insufficient electricity for efficient charging are power system "problems". Government and industry install charging stations (CS) for the public like gas stations to reduce these impacts. These are used in cities, highways, and densely populated areas like shopping malls, theaters, beaches, and more to charge vehicles while parking, saving time and ­money <sup>3</sup> . When charging stations are plentiful, the vehicle must choose a CS. The CS can separate into fast and slow charging stations. Along with this, the CS may be crowded, increasing vehicle charging ­time <sup>4</sup> . Even at fast charging, the vehicle must be plugged in for 30 min, which increases peak-hour queues. This will increase waiting and charging times and cause electric grid instability like voltage fluctuation, higher harmonics, grid unbalance, etc. VANET architecture communicates with all EVs in an environment to address these issues. This VANET system provides vehicle data like live location, SoC, average speed, and nearby charging stations. When the vehicle needs charging, this network suggests nearby charging stations with details like slow or fast charging, number of charging piles, distance to CS, nearby CS, etc. <sup>5,6</sup> . 1Department of Electrical and Electronics Engineering, National Institute of Technology Mizoram, Aizwal 796012, India. <sup>2</sup> Electrical Engineering Department, Ghani Khan Choudhury Institute of Engineering &Technology, Malda, West Bengal, India. <sup>3</sup> Department of Electrical and Electronics Engineering, Chaitanya Bharati Institute of Technology, Hyderabad 500075, Telangana, India. <sup>4</sup> School of Built Environment, Engineering and Computing, Leeds Beckett University, Leeds LS6 3QS, UK. <sup>*</sup> email: shitharths@kdu.edu.et This system provides the optimum solution for the EVs to select an optimum path and suitable charging ­station <sup>7</sup> . Researchers developed several optimization algorithms to improve VANET charge scheduling. VANET uses a Novel Hybrid Multi Population Algorithm to address these issues. Along with this, the artificial ecosystembased optimization algorithm is feud for improving/finetuning system performance. Harris Hawk Optimization is integrated to improve performance even more than other ­algorithms <sup>8</sup> . Later, a hybrid optimization algorithm was developed by combining tree seed and atom search algorithms. The tree seed algorithm finds the optimizing path, while the atom search algorithm efficiently fine-tunes the path and CS ­allocation <sup>9</sup> Chaos theory is integrated into this hybrid approach, reducing operation costs. In all 83 benchmarked functions, this method outperforms the results. These algorithms minimize electric grid operating costs, battery health, charge scheduling, optimal path selection, etc. Besides these methods, many algorithms have been developed to schedule charges in nearby CS with less waiting ­time <sup>10,11</sup> . The charging station model and dynamic CS pricing were modeled to optimize the problems. Charging station prices are fixed and vary based on comfort, power demand, grid peak operating time, etc. <sup>12,13</sup> . Traffic and vehicle location also affect charge scheduling and ­cost <sup>14</sup> . Scheduling takes power grid stability and operating points into account to direct users to the right charging ­station <sup>15</sup>,where the smart vehicle model and CS model are modeled to validate charge management. A model with the CS model, vehicle model, charging piles model, traffic conditions, grid conditions, and fast-charging consideration has been built to reduce charging ­time <sup>16</sup> . Developed charging management systems (EMS) for electric vehicles enable pre-empted ­charging <sup>3</sup> . The EMS must be charged to charge and band electric vehicles. EMS improvements improved billing and communication. Lack of opportunistic vehicle communication causes system inefficiency and slowness. Low-energy electric vehicles were used for travel planning and charge ­warning <sup>17</sup>, so electric vehicle passengers may benefit from this strategy. The strategy ignores additional energy issues, which is a drawback. Another charge management and CS selection system for energy-intensive electric vehicles has been ­developed <sup>18</sup> . The CS selection method used traffic lights, route mileage, and road speed to estimate electric car travel time. No consolidation occurred in electric vehicle charging station management. An algorithm-based distributed platform for charging electric ­cars <sup>19</sup> . Plugged-in EVs for V2G services increased power and reduced power loss. Success was measured by incremental cost. A shared and electric bike selection system was ­created <sup>20</sup> . This method initially improved electric vehicle ­charging <sup>21</sup> . Drivers found charging and transferring battery life easier this way. It is also planned to operate many electric ­vehicles <sup>2</sup>, by solving hierarchical mixed-variable optimization problems with CS selection. Compared to analytical methods, the procedure solved problems faster. This method considered the electric car charging point (ECP) site’s size and location to find the best ­one <sup>22</sup> . With a realistic model and optimal site model for electric car charging models, significant concerns and scheduling requirements were ­investigated <sup>23</sup> . This model was based on charge queuing and constant queue length. The method improved battery charging and position sensing. This decision banned car-sharing. One hundred forty people built a forward–backward computational graph MCDODE ­model <sup>24</sup> . Tree-based cumulative curves help them build multi-class DAR matrices. The form works for small, medium, and large networks. Conventional vehicle charging schedules have some ­drawbacks <sup>25,26</sup> : For charging, Spark-based route planning and electric car charging systems were ­developed <sup>4</sup> . This technique, which favored later-scheduled vehicles, caused serious issues. We must wait in line because of this issue. Safety is another issue. Electric vehicle messaging is safe with EMMS. This scenario protects sensitive data from unauthorized access with integrity, confidentiality, and privacy services. The teaching learning-based optimization (TLBO) JAYA system was created to select and optimize intrusion detection system parameters. SVM, C, and gamma were changed due to the enhanced JAYA statistical ­technique <sup>27</sup> . Safety is prioritized in electric vehicle charging systems. Recently, some JAYA metaheuristics have been optimized. JAYA does not require parameter changes, unlike other optimization strategies. A large plug-in electric car was controlled by a group using consensus. Sharing massive amounts of data could cause data security issues, so cybersecurity must be strengthened. Additionally, the data may be redundant. Since all EVs communicate, cloud databases can store the final data. Mining depends on predicted large amounts of data. As data quantity increases, Naïve Bayes Grid parameters become more precise. Fuzzy Generalized Hebbian Algorithm is a revolutionary data reduction method that can solve this problem. This technology eliminates redundant IDS ­data <sup>28</sup> . Computation error reduction can improve a decision support model’s electric vehicle charging location prediction. The computation and refinement of the solution, which offers massive optimal ECPs to meet customer needs, takes longer than expected. The mixed variable differential evolution approach makes performance improvement difficult to measure. The MVDE makes the fewest concessions possible to improve other measures through scheduled EV coordination.A large-scale statistical analysis of EVs’ access to dispersed has been ­done <sup>29</sup> . Few works present connected mobility (CM), a communication concept for vehicles, roadside base stations, passengers, traffic signals, and the power ­grid <sup>30,31</sup> . The car communicates via V2I, V2V, V2C, V2P, and V2X. V2X links car networks and infrastructure. VANET monitors traffic and road congestion with a multiagent system that links cars, communication channels, and roadside base ­stations <sup>32</sup> . To simplify charge scheduling, a Chaotic Harris Hawk Optimization algorithm was ­developed <sup>33</sup> . Table 1 provides the summary of different algorithms for the charge scheduling problem. The War Strategy Optimization (WSO) method has been utilized in the development of a novel charge scheduling algorithm, which has been proposed in this work. owing to the fact that the war is entirely predicated on tactical decisions in a complicated environment, which necessitates immediate actions in response to changes in the environment. The kings and commanders are currently deliberating over whether they should employ an offensive or defensive strategy. Additionally, they attempted to check the health of each army and its soldiers at each stage, and when it was necessary, they provided replacements for the soldiers in each army. The behavior in concern can be utilized to solve a wide variety of real-time problems, such as charge scheduling. The objective function of the charge scheduling algorithm and its constraints have been framed with the help of the WSO algorithm so that it can be used. Each of the electric vehicles (EVs) is a soldier, and in order to get charge of <u>[Ref]</u> <u>Algorithm</u> <u>Objective function</u> <u>Advantage</u> <u>Disadvantage</u> 6 First come first serve (FCFS) Minimize waiting time by serving EVs in Simple and easy to implement Can lead to long waiting times during <u>the order they arrive</u> <u>peak hours</u> 6 Round robin (RR) Distribute charging time equally among Fair distribution of resources May not optimize for individual EV needs <u>all EVs</u> 6 <u>Earliest deadline first (EDF)</u> <u>Minimize the time to the earliest deadline</u> <u>Prioritizes urgent charging needs</u> <u>Can lead to starvation of non-urgent EVs</u> 15 Shortest job first (SJF) Minimize the total charging time by serv- Efficient for short charging tasks Long charging tasks may be delayed <u>ing the shortest jobs first</u> 20 Priority scheduling Minimize waiting time based on priority Allows prioritization of critical EVs Lower priority EVs may experience long <u>levels</u> <u>waits</u> 6 <u>Genetic algorithm (GA)</u> <u>Minimize waiting time, and charging cost</u> <u>Can find near-optimal solutions</u> <u>Computationally intensive</u> 6 <u>Particle swarm optimization (PSO)</u> <u>Minimize waiting time, and charging cost</u> <u>Good convergence properties</u> <u>May get stuck in local optima</u> 32 <u>Ant colony optimization (ACO)</u> <u>Minimize waiting time, and charging cost</u> <u>Efective for routing problemsf</u> <u>Computationally intensive</u> 32 <u>Simulated annealing (SA)</u> <u>Minimize waiting time, and charging cost</u> <u>Can escape local optima</u> <u>Slow convergence</u> 22 <u>Tabu search (TS)</u> <u>Minimize waiting time, and charging cost</u> <u>Avoids cycling and local optima</u> <u>Requires careful parameter tuning</u> 33 Chaotic Harris Hawk optimization Minimize waiting time, and charging cost Good exploration capabilities May require fine-tuning of chaotic maps <u>(CHHO)</u> 33 Harris Hawk optimization (HHO) Minimize waiting time, and charging cost <sup>Effective for diverse optimization</sup> May get stuck in local optima <u>problems</u> 33 Proposed WSO Minimize total travel time, waiting time, <u>charging cost, and maximize grid stability</u> Effective for complex optimization Requires detailed parameter setting <u>problems</u> Table 1. Summary of different charge scheduling algorithms. the objective function, each EV is attempting to follow either an attack or defense strategy. Figure 1 depicts the functional hierarchy of the work that is being proposed. The structure of the manuscript is as follows: the WSO algorithm is discussed in Section "War strategy optimization (WSO) algorithm", and the charge scheduling method derived from the WSO algorithm is presented with a step-by-step formulation in Section "War strategy optimization (WSO) algorithm", respectively. Using the WSO method, the necessary expression for the charge scheduling process has been defined with a fitness function, and the relevant constraints have been constructed and addressed in Section "WSO based charge scheduling algorithm". In Section "Experimental analysis", both the construction of the geographic region and the validation of the WSO method for the charge scheduling have been completed and the work has been concluded in Section “Conclusion”. War strategy optimization (WSO) algorithm The War Strategy Optimization (WSO) algorithm, as proposed ­in <sup>34</sup> is a metaheuristic optimization algorithm inspired by ancient war strategies. This algorithm is used in the mathematical model for electric vehicle (EV) charge scheduling to solve the problems of effective EV charging in metropolitan environments. Focusing on four fundamental parameters like total travel time, total waiting time, total charging cost, and grid stability, the model is developed as a multi-objective optimization problem. Three main limitations like charging station capacity constraint, EV battery constraint, and time window constraint are included into the model. Inspired by military strategy, the WSO algorithm allows effective exploration of the solution space considering both individual EV needs and system-wide optimization. The model’s strength is in its all-encompassing approach that addresses power grid stability, user convenience, and economic concerns. Its adaptability makes it a strong instrument for long-term planning and optimization of EV charging networks in smart cities since it lets simple integration of extra constraints or goals possible. This model marks a breakthrough in EV charge scheduling, so facilitating the acceptance of EVs and helping to support the change to sustainable urban transportation systems. The objective function and constraints for a problem optimized using the WSO algorithm would depend on the specific application or problem being addressed. The general formulation of WSO is as follows: Objective Function: Minimize (or Maximize) f (x) (1) Subject to Constraints as in Eqs. (2) and (3) gi(x) ≤ 0, for (i = 1, 2, . . ., m) (2) hj(x) = 0, for (j = 1, 2, . . ., p) (3) where: - f (x) is the objective function specific to the problem being optimized (e.g., cost, distance, energy consumption). - x = (x1, x2, . . ., xn) is the vector of decision variables. Fig. 1. Pictorial representation of the charge scheduling procedure using WSO algorithm. - gi(x) are inequality constraints that must be satisfied by the solution. - hj(x) are equality constraints that must be satisfied by the solution. - m is the number of inequality constraints. - p is the number of equality constraints. The WSO algorithm would then be used to find the values of the decision variables (x) that optimize the objective function while satisfying all the constraints. The algorithm uses concepts from ancient war strategies, such as attack and defence strategies, to explore the solution space and converge to an optimal solution and the algorithm has been represented in Fig. 2. The position of King, Commander and their decides the moment of soldier. After the successful moment of soldiers, the commander relies on his strategy or reframe the strategy to achieve the target. The. Various parameters of WSA algorithm _Soldier size (S)_ The number of search agents are considered as the number of soldiers in this algorithm as per the expression (4) S = Numberofsoldiers (4) _Dimension of the war space (dimension of the problem)_ The number of decision variables used in the search space has been considered as the dimension of war space as in expression (5) D = Numberofdecisionvariables (5) <mark>KING</mark> <mark>Soldier</mark> Xi(t) Wi < 1 Wi > 1 Fig. 2. War strategy optimization model. Xi(t+n) Xi(t+3) Xi(t+2) <mark>Commander</mark> Xi(t+1) Random spread over King and Commander commands _Lower and upper bounds of the search space_ The decision variable are bounded between the upper bound to lower bound which may vary with respect to the moment in war space as expressed in Eqs. (6) and (7) Lower bound, Lb = (lb1, lb2, . . ., lbD) (6) Upper Bound, Ub = (ub1, ub2, . . ., ubD) (7) _Positions of the king (K) and army commander (C)_ In the war space (search space) the King and commander are selected based on the best and second best solutions among the position and movement of each soldiers and it can be expressed as Eqs. (8) and (9). Position of Kind, K = (k1, k2, . . ., kD) (8) Position of Commander, C = (c1, c2, . . ., cD) (9) _Attack forces of the king and the army commander_ The attacking force of the King and the commander can be expressed with the fitness values of them in the search space as express in Eqs. (10) and (11). Attack Forces of the Kind, FK = f (K) (10) Attack Forces of the Commander, FC = f (C) (11) These values are varied with respect to the movement and iteration count. In each iteration the forces of kind and commander may varied with respect to the movement of soldiers. _Max‑iterations_ The maximum number of iterations is a crucial parameter for tuning the accuracy and effectiveness of the algorithm and it can be expressed as Eq. (12) Max_iter = Maximumnumberofiterations (12) _ρr (rho)_ Rho is a control parameter which is lies between 0 to 1 for opting the soldier movement to follow either the attack strategy or the defence strategy. _Rank (R) and weight (W) of each soldier_ These two parameters are updated with respect to each iteration, fitness values and the movement of each soldier. Based on the soldier’s success on their attack/defence strategy and the improvements of their positions in the search space. Based on these the rank and weight of each soldier has been defined at the end of iteration. The rank and weight of each soldier can be defined using the Eqs. (13) and (14) These parameters are dynamically updated based on the soldier’s success in improving its position. The rank reflects how close a soldier is to the target, and the weight influences the step size of the soldier’s movement. Rank, Ri = Rankofthei <sup>th</sup> soldierbasedonitsfitness (13) <u>Ri</u> 1 − - Max_iter �α <u>Ri</u> Weight, Wi = Wi × 1 − (14) - �α where (α) is a constant that controls the nonlinearity of the weight update. _Weak soldier replacement/relocation strategy_ This parameter replaces or relocates each soldier based on the fitness value and its rank, weight. This update on the end of each iteration improves the efficiency of current fitness and the next iteration. The replacement lies between the upper bound and lower bound and it can be expressed as Eqs. (15) and (16). Replacement, Xw(t + 1) = Lb + rand × (Ub − Lb) (15) Relocation, Xw(t + 1) = −(1 − randn) × (Xw(t) − median(X)) + K (16) where Xw(t) is the position of the weak soldier at iteration (t), rand and randn are random numbers, and median is the median position of all soldiers. These are the parameters considered in WSO algorithm for properly tuning and improving the performance of its efficiency for any kind of described problems. Implementation of charge scheduling algorithm from WSO algorithm The WSO algorithm can be integrated to the charge scheduling problem by defining the objectives. There are few considerations for incorporating charge scheduling using WSO is by defining objectives, and its constraints as follows: Objective function _Minimization of total trave time_ The "attack strategy" of WSO dynamically moves soldiers (electric vehicles) to the destination while taking into consideration the amount of time required for charging. This helps to reduce the total amount of time that is spent traveling. _Minimization of waiting time_ Soldiers, which are electric vehicles, are strategically positioned in order to avoid congestion and reduce the amount of time spent waiting at charging stations. This is accomplished through the "defense strategy" of WSO. _Minimization of cost for charging_ It is possible to reduce charging costs by incorporating it into the fitness value of each WSO soldier (EV). This would enable charging costs to be reduced. _Maximization of grid stability_ In order to prevent the power grid from becoming unstable as a result of charging schedules for electric vehicles, the WSO algorithm ought to be modified to include a grid constraint. Constraints - When it comes to updating their positions in WSO, it is essential for soldiers (EVs) to take into account the capacity and availability of charging stations as battlefield constraints. - The ability to perform fitness evaluations and position updates is made possible by WSO’s utilization of electric vehicle State of Charge (SoC) and charging rate limits. Implementation of charge scheduling - The WSO soldiers are representing electric vehicles that have charging schedules in a war field. - There is a correlation between the positions of the soldiers and the beginning and duration of the charging process at stations. - When determining each charging schedule, fitness takes into account the amount of time spent traveling and waiting, as well as the cost of charging and the reliability of the grid. - With the assistance of WSO attack and defense strategies, electric vehicles are able to determine the charging schedule that is most suitable by taking into account all of their constraints and objectives. By mapping the WSO algorithm to the charge scheduling problem, it is possible to optimize charging schedules for electric vehicles while taking into account multiple objectives and constraints. The algorithm’s dynamic and strategic nature makes it possible to optimize the processes involved. It takes environmental data, user preferences, real-time data on availability of charging stations into account, and driver-specific information. The system changes with traffic flow and possible congestion at charging stations. Inspired by war strategies, it manages resources and responds to dynamic conditions using advanced calculations and strategic decision-making procedures. The system modulates current positions to improve efficiency and shows charging stations, charging requests, and vehicle locations. This advanced method shows the possibilities of intelligent, responsive systems in handling EV infrastructure needs.The functional flow diagram of the proposed WSO algorithm is shown in Fig. 3. WSO based charge scheduling algorithm The charges scheduling algorithm for EVs are derived from the WSO algorithm, where the objective is the minimization of total travel time, waiting time and charging cost. The flowchart of the proposed WSO algorithm has shown in Fig. 4. The objective function and the constraints of the charge scheduling using WSO algorithm is given as follows; Objective function The ultimate objective of the charge scheduling algorithm is to minimize the weighted sum of the total travel time, waiting time of EVs, charging cost, and to maximize the grid stability. The objective function (F) can be expressed as Eq. (17) F = w1 · Ttotal + w2 · Wtotal + w3 · Ctotal − w4 · Gstability (17) Ci is the total charging cost for all EVs, i=1 �N i=1 Wi is the total where Ttotal = i=1 �N i=1 Ti is the total travel time for all (N) EVs, including charging time, Wtotal = waiting time for all EVs at charging stations, Ctotal = i=1 <mark>�</mark> N Public Data Diversion Ahead Public Gathering Number of Charging Stations (including charging piles at each charging stations) No of Requests and vehicle information including location No of Requests and vehicle information including location Exploring new paths/ Moving current position towards best Relocate Weak soldiers and evaluate fitness function Update Charging Schedule Environmental Conditions WSO Algorithm on Charge Scheduling Road Traffic Condition Weather Conditions Driver Data Drive Profile Drive Behavior User Preference EV Information WSO Algorithm for Charge Scheduling CS1 CS2 CS3 No of Charging Station Free Slots Charging Station Details CSn Geographic Data Road Traffic Data Condition Fig. 3. Functional flow diagram of the proposed WSO charge scheduling algorithm. START Initialize parameters (number of EVs, CS, nodes, weights, path, CS info, traffic info) Initialize EV population Evaluate initial Fitness of the Charge Scheduling Initialize/update the WSO loop iter = 1:Max_iter Update rank and weight based on the Fitness values Manage Charging Station Queue Relocate Weak soldiers and evaluate fitness function Is iter < Max_iter YES STOP <u>NO</u> Moving the current position towards best YES towards best NO If solution_new better than YES solution NO solution Attack Exploring New paths Defence Solution_new = solution solution = solution Move to the next iteration Iteration ++ Update new position Fig. 4. Flowchart of the proposed WSO algorithm for charge scheduling.  1 − <u>i=1</u> <u>�N</u> Pcharging,i(t) Gstability = T <sup><u>1</u></sup> component. i=1 �N Pgrid,max (t) )    is the grid stability metric, w1, w2, w3, and w4 are the weights for each )  Constraints _Charging station capacity_ N �i=1 For each charging station j, at any time t : - xijt ≤ Capacityj (18) xijt ≤ Capacityj i=1 where xijt is a binary variable indicating whether EV (i) is charging at station (j) at time (t). _EV battery constraints_ 0 ≤ SoCi(t) ≤ 1 for all i and t (19) where SoCi(t) is the state of charge of EV (i) at time (t), normalized between 0 and 1. _Time windows_ ti <sup>start</sup> ≤ ChargingtimeofEVi ≤ ti <sup>end</sup> foralli (20) ti <sup>start</sup> ≤ ChargingtimeofEVi ≤ ti <sup>end</sup> i <sup>end</sup> foralli where ti <sup>start</sup> where ti <sup>start</sup> and i ≤ ti <sup>end</sup> are the earliest and latest charging start times for EV(i). The WSO algorithm is responsible for assigning a charging schedule spot to each soldier (EV), which includes the charging behaviors like time charging, charging duration and selected charging station. Fitness of the soldier is determined by the objective function. After that, the WSO algorithm determines the most effective charging schedules in order to minimize (F) and satisfy the constraints. i <sup>start</sup> and i ≤ ti <sup>end</sup> Pseudocode of the proposed algorithm The pseudocode of the proposed WSO algorithm based charge scheduling is gives as follows; The pseudocode of the proposed WSO algorithm based charge scheduling is gives as follows; 1: Initialize Parameters 2: S (Number of EVs or soldiers) 3: N (Number of Nodes) 4: CS (Number of Charging Stations) 5: P (Number of Start/Destination Points) 6: Max_iter (Maximum number of iterations) 7: ChargingStationInfo (Information of all charging stations) 8: PathsInfo (Information of all shortest paths and distances) 9: SoCInfo (State of Charge information for each EV) 10: TrafficInfo (Traffic condition data) 11: w1, w2, w3, w4 (Weights for travel time, waiting time, charge cost, and grid stability) 12: Initialize Population 13: for i = 1 to S do 14: Assign initial random paths and charging stations within SoC range to X_i 15: end for 16: Evaluate Fitness 17: for i = 1 to S do 18: F_i = w1 T_travel(X_i) + w2 T_wait(X_i) + w3 C_charge(X_i) - w4 G_stability(X_i) 19: end for 20: Main WSO Loop 21: for iter = 1 to Max_iter do 22: for i = 1 to S do 23: ρ = Random value between 0 and 1 24: if ρ < 0.5 then 25: Apply attack strategy for position update of X_i 26: else 27: Apply defense strategy for position update of X_i 28: end if 29: Rank and weight update for EVs based on fitness F_i 30: end for 31: Check Charging Station Capacity 32: for each CS_j in ChargingStationInfo do 33: for t = CurrentTime to EndOfDay do 34: if Queue at CS_j(t) > Capacity(CS_j) then 35: Manage queue and waiting times 36: end if 37: end for 38: end for 39: Relocate Weak Soldiers 40: for i = 1 to S do 41: if F_i exceeds a certain threshold then 42: Find new feasible path and charging station for X_i 43: end if 44: end for 45: Evaluate Fitness of New Population 46: for i = 1 to S do 47: Update F_i based on the new positions X_i 48: end for 49: Update Best Solution if Found 50: for i = 1 to S do 51: if F_i < F_best then 52: Update F_best and X_best with F_i and X_i respectively 53: end if 54: end for 55: end for 56: Output the Best Paths and Charging Schedules for All EVs Experimental analysis The proposed WSO algorithm has been validated in a constructed geographic area in order to evaluate its effectiveness under a variety of different scenarios. This section has examined WSO algorithm and also compares with three different algorithms, each of which has been analyzed in the assumed geographic network. The geographical area has been constructed on the basis of the actual geographical characteristics of the location in Chennai. The traffic conditions and the populations of the roads are taken into consideration during the creation process; however, a small intersecting road and narrow paths have been neglected in this work. There are six distinct points, namely A, B, C, D, E, and F, that have been taken into consideration as the starting and destination points. In addition to the sixteen nodes that connect all of these points to one another, there are twelve charging stations that are available. There are sixteen different ways to travel from any one of the starting points to the destination point, and the nodes are the means by which the six starting and destination points are connected to one another. Using Dijkstra’s algorithm, it is able to determine the path that was the shortest between the two points. Table 2 contains information regarding the number of charging stations, the number of nodes, and the details of the shortest path and the geographical region has been depicted in Fig. 5. Depending on the type of vehicle, the construction of the vehicle as well as the specifications of the motors, batteries, and other components are different. For the purposes of this work and analysis, the capacity of the battery has been assumed to be 100 kWh, and the Table 3 provides a detailed description of its specifications. When it comes to the procedures for scheduling electric vehicles, all electric vehicles are taken into consideration depending on how long it takes to travel from the starting point to the destination via the charging stations in the shortest path. It has been taken into consideration that the traffic situation at the location varies depending on the time of day. Every single vehicle possesses an adequate amount of power to reach the charging station. The charging stations operate properly and are free of any defects, which allows them to supply electric vehicles whenever it is required. The charging procedure is carried out in accordance with the principle of first come, first served in the conventional method. It is possible to charge the vehicle as soon as it arrives at the charging station when the charging piles are not occupied by other vehicles. However, when other vehicles are already charging and there are a few more vehicles waiting in queue, then this vehicle needs to wait in queue until the vehicles that have already been reached finish charging. When the number of people who use, vehicles is kept to a minimum, this method is effective in the environment. Nevertheless, this method is not effective in a densely populated area that has a greater number of people who use electric vehicles. As a result of the wait time, the overall charging time spent at the charging station will increase. The distance between each starting point and destination is listed in Table 4, which contains the charging station distances. In order to train the proposed algorithm, the details of the shortest path as well as the distance between each charging station and each point are utilized. The algorithm is able to assign the vehicle to the charging station that requires the least amount of waiting time possible based on these data. One of the most important considerations in the process of allocating vehicles is the State of Charge (SoC). Using the SoC, the algorithm is able to make an estimate of the maximum distance that each vehicle is capable of traveling, and it is also able to locate charging stations that are accessible based on the starting point and the destination. This means that the algorithm does not have the ability to execute scheduling procedures if the vehicle can only access a single charging station with the available SoC. In spite of this, it assigns the vehicle to the charging station that it is able to access using the SoC that is available. The amount of time spent waiting might lengthen as a result of this. However, the algorithm may be able to assist the user in reducing the amount of time spent waiting by charging the user’s device from a charging station that is easily accessible at an additional cost, while the user is traveling to their destination. This may shorten the amount of time that the user has to wait, but it will result in an increase in the cost function. The available charging stations in the shortest path has been obtained and fed to the algorithm for training. This always prefers the charging stations within this limit, whenever the vehicles raising the charging request. Simultaneously, there are numerous vehicles may rise the charging request. During this request, the algorithm collects the data like, starting point, destination point, available SoC, shortest path between two points, available charging stations in the shortest path. Based on these, the algorithm initializes the charge scheduling process. There are some charging stations which is mutually placed in the shortest path between two or more starting and destination points. This will increase the demand in that charging stations that directly increases the waiting time. It is one of the issues that can resolved using the proposed algorithm. As the property of opposition-based reinforcement learning, the proposed algorithm takes this scenario to as opposition and it learns to act effectively and efficiently to allocate the charging station with minimum waiting time. Also, it can shift the charging station recommendation in the shortest path to the next shortest path. For that it provides this option to the user when the user selects the second shortest path to get charged earlier and with less travel time. The mutually connected charging stations are given in Table 4 and the number of mutual connections with each other is shown in Fig. 5. For the purpose of training, the algorithm has been provided with the information regarding the charging stations that are located along the shortest path. Whenever the vehicles make a request for charging, this always gives preference to the charging stations that are within this limit. Concurrently, there are a great number of vehicles that could potentially increase the charging request. While this request is being processed, the algorithm gathers information such as the starting point, the destination point, the available SoC, the shortest path between two points, and the charging stations that are available along the shortest path. When these are taken into consideration, the algorithm begins the process of charge scheduling. Some charging stations are strategically located in the shortest path between two or more starting and destination points. These stations are mutually placed in the shortest path. Because of this, there will be a greater demand for charging stations, which will significantly lengthen the amount total waiting time. This is one of the possible problems that can be solved by utilizing the algorithm that WSO algorithm. EVs are considered as the soldier in the war space (environment). With the available SoC, the algorithm make a schedule, when the schedule is not optimum, then it follows the <u>Number of charging stations</u> <u>: 12</u> <u>Number of start/destination points</u> <u>: 6</u> <u>Number of junction nodes</u> <u>: 16</u> <u>From</u> <u>To</u> <u>Shortest path</u> <u>Distance (meters)</u> <u>A/B</u> <u>B/A</u> <u>A-1-12-13-11-14-15-B</u> <u>4600</u> <u>A/C</u> <u>C/A</u> <u>A-1-4-6-8-C</u> <u>4800</u> <u>A/D</u> <u>D/A</u> <u>A-2-E</u> <u>3600</u> <u>A/E</u> <u>E/A</u> <u>A-1-12-13-D</u> <u>2900</u> <u>A/F</u> <u>F/A</u> <u>A-1-12-9-16-F</u> <u>4500</u> <u>B/C</u> <u>C/B</u> <u>B-15-14-9-7-8-C</u> <u>4100</u> <u>B/D</u> <u>D/B</u> <u>B-15-14-9-12-1-2-D</u> <u>5900</u> <u>B/E</u> <u>E/B</u> <u>B-14-11-13-E</u> <u>2800</u> <u>B/F</u> <u>F/B</u> <u>B-15-14-10-16-F</u> <u>3700</u> <u>C/D</u> <u>D/C</u> <u>C-8-5-D</u> <u>4100</u> <u>C/E</u> <u>E/C</u> <u>C-8-16-10-14-11-13-E</u> <u>4300</u> <u>C/F</u> <u>F/C</u> <u>C-8-F</u> <u>1900</u> <u>D/E</u> <u>E/D</u> <u>E-13-12-1-2-D</u> <u>5100</u> <u>D/F</u> <u>F/D</u> <u>D-5-6-7-16-F</u> <u>4800</u> <u>E/F</u> <u>F/E</u> <u>E-13-11-14-10-16-F</u> <u>3700</u> Table 2. Basic Information of the Defined Geographic Area. <mark>CS9</mark> N S/D CS12 2 ## D <mark>CS8</mark> 12 CS4 CS11 CS10 3 1 4 5 <mark>CS</mark> B 6 13 ## A B CS7 CS2 7 CS5 7 ## C ## E <mark>CS3</mark> 15 11 8 ## F 16 CS6 14 10 CS1 Nodes in Geographic Area Starting / Destination Point Fig. 5. Pictorial representation of the designed geographic area. <u>S.No</u> <u>Specification</u> <u>Value</u> <u>Unit</u> <u>1</u> <u>Battery capacity</u> <u>100</u> <u>kWh</u> <u>2</u> <u>Nominal voltage ­(Vnominal)</u> <u>350–400</u> <u>V</u> <u>3</u> <u>Energy density</u> <u>150–250</u> <u>Wh/kg</u> <u>4</u> <u>Charge time (fast charge)</u> <u>20–40 (80%)</u> <u>minutes</u> <u>5</u> <u>Charge time (slow charge)</u> <u>6–12 (100%)</u> <u>hours</u> <u>6</u> <u>Cycle life</u> <u>1000–2000</u> <u>cycles</u> <u>7</u> <u>Operating temperature</u> <u>− 20 to 60</u> <u>°C</u> <u>8</u> <u>Weight</u> <u>400–600</u> <u>kg</u> Table 3. Specifications of EV battery. attack strategy to improve the schedule, when the scheduling in the consequent iterations are worser than the previous one, then it follows the defense strategy for to improvise the schedule. Moreover, it has the capability to move the recommendation for the charging station that is located on the shortest path to the next shortest path. Because of this, it gives the user the opportunity to select this option whenever they choose the second shortest path, which allows them to be charged earlier and with less time spent traveling. An list of the charging stations that are connected to one another is presented in Table 5, and Fig. 6 illustrates the total number of charging stations that are connected to one another. By scheduling the vehicle at the mutually connected charging stations, the FCFS algorithm ensures that the vehicle that arrived to the station first receives the charge. When a vehicle arrives at the very end of the line, it must wait for a considerable amount of time. This adds more time to the overall travel time. In contrast, the proposed algorithms disperse the charging station in a manner that is uniform for scheduling purposes. An algorithm will attempt to relocate to charging stations that are either not scheduled or scheduled with a minimum <u>Charging stations</u> Distance to charging station from different <u>points (meters)</u> <u>A</u> <u>B</u> <u>C</u> <u>D</u> <u>E</u> <u>F</u> <u>CS1</u> <u>5400</u> <u>2300</u> <u>2200</u> <u>5300</u> <u>3000</u> <u>1600</u> <u>CS2</u> <u>3200</u> <u>1600</u> <u>3400</u> <u>5700</u> <u>1400</u> <u>2600</u> <u>CS3</u> <u>4700</u> <u>700</u> <u>3700</u> <u>5300</u> <u>2000</u> <u>3100</u> <u>CS4</u> <u>2100</u> <u>3700</u> <u>3800</u> <u>5400</u> <u>1000</u> <u>3000</u> <u>CS5</u> <u>3700</u> <u>2800</u> <u>1600</u> <u>3100</u> <u>2300</u> <u>2300</u> <u>CS6</u> <u>5000</u> <u>2500</u> <u>1300</u> <u>4000</u> <u>2600</u> <u>900</u> <u>CS7</u> <u>4000</u> <u>3800</u> <u>1000</u> <u>3000</u> <u>3700</u> <u>1600</u> <u>CS8</u> <u>4200</u> <u>4900</u> <u>1400</u> <u>2300</u> <u>5400</u> <u>2900</u> <u>CS9</u> <u>2200</u> <u>5300</u> <u>3800</u> <u>1900</u> <u>3400</u> <u>4600</u> <u>CS10</u> <u>3500</u> <u>4800</u> <u>2900</u> <u>2500</u> <u>4500</u> <u>3800</u> <u>CS11</u> <u>1500</u> <u>5100</u> <u>4000</u> <u>2900</u> <u>2600</u> <u>4600</u> <u>CS12</u> <u>600</u> <u>3900</u> <u>4800</u> <u>3700</u> <u>2700</u> <u>5400</u> Table 4. Charging station distance from each point. number of vehicles when a greater number of vehicles are accumulated on a single charging station, also known as the charging stations that are mutually connected to one another. Taking the tenth charging station as an example, there are no vehicles that are mutually connected with it. Additionally, charging stations 1, 5, and 8 are connected in a single path that is mutually connected. Charging stations 6, 7, and 12 are connected to each other through a total of six mutual paths, while charging stations 3, 4, and 12 are connected through a total of four mutual paths. The charging station that was assigned to a greater number of vehicles is rescheduled to be used by the unscheduled charging stations when the proposed algorithm is put into action. An example of this would be the fact that the six vehicles that arrived at the charging station in accordance with the FCFS algorithm have been divided up and rescheduled to stations in the surrounding area. Three of the vehicles will be moved to the tenth charging station, which will bring the total count to an even number. Both the charging time and the total travel time are significantly cut down as a result of this. For the purpose of arriving at the random destination points, it is assumed that 200 EVs are randomly started from random points and traveled through random nodes. WSO, CHHO, HHO, and FCFS are the four algorithms that are taken into consideration in this analysis. In this process, there are two things that need to be taken into consideration: among the vehicles, there are some that are not following the path that is the shortest, and all of the charging stations have only one charging pile. Waiting time for the vehicle to be charged is lengthened as a result of this. The duration of the travel is also affected by the path that is chosen. Figure 7 shows the outcome of the simulation. When compared to other optimization algorithms, the WSO algorithm has better performance over others. The WSO algorithm has been replaced by the CHHO and HHO algorithms, which are exhibiting improved performance. In terms of the charge scheduling performance, the FCFS algorithm represents a more significant difference. The performance of all algorithms starts with similar performance from 1st EV to 23rd EV and it is start to increase with respect to the number of EVs. The peak waiting time of the proposed WSO algorithm is about 197 min, whereas the CHHO algorithm provides the peak waiting time of 219 min. The waiting time of vehicle which is scheduled using the HHO algorithm is 274 min which is almost 72% more than the proposed WSO algorithm. But the FCFS algorithm provides 361 min of waiting time for the 200th EV which is very high. This validation shows the better performance of the proposed WSO charge scheduling algorithm. Apart from this, the efficiency of the proposed algorithms is validated in different cases with real-time data. For that, environmental data has been created with different numbers of vehicles with 12 charging stations with different number of charging piles. In the first case, 25 vehicles are considered, and it has been scheduled in the created geographic area where 12 charging stations are fixed. However, the number of charging piles varied for carrying a effectiveness of the proposed algorithms. In each case, there are four different scenarios considered such as 12 charging stations with 1 charging pile, with 2 charging piles, with 3 charging piles and 4 charging piles. The algorithm has been simulated in a closed loop with 100 iterations and the average waiting time on every single iteration has been captured. There are two considerations has been assumed as, all the vehicles can access the charging station with the available SoC, the algorithms not strict to the shortest path, similarly it wont lied in the longest path, i.e. the distance more than 30% of shortest path. The average time is not constant in all the iterations which shows the scheduling behavior or the algorithm behavior for scheduling the vehicles. The average waiting time in each iteration is given in Table 5. Comparative analysis of CHHO, HHO, and FCFS with the proposed WSO algorithms shows that the normal waiting time for EVs at charging stations, WSO consistently performs better. In comparison, the wait time for WSO’s 25 vehicles with one charging lots is 35.26 min, while the wait times for CHHO, HHO, and FCFS are 39.9, 53.97, and 51.73 min: Whenever there are more than four charging piles, the waiting time for WSO decreases to 0.03 min, indicating that resource allocation efficiency increases as demand increases. Under high density of EVs, the algorithm performs reasonably well. When 50 EVs are considered in the geographic area, WSO has the average waiting time of 51.51 min, 15.80 min, 8.37 min and 1.80 min at charging piles count varies from 1 to 4, whereas the CHHO algorithm has the second better performance among all four algorithms, which has 6.01 min more than the WSO algorithm with the charging <u>From</u> <u>To</u> <u>Charging stations in the shortest path</u> <u>Number of charging stations</u> <u>A/B</u> <u>B/A</u> <u>CS12, CS4, CS2, CS3</u> <u>4</u> <u>A/ C</u> <u>C/A</u> <u>CS12, CS11, CS7</u> <u>3</u> <u>A/D</u> <u>D/A</u> <u>CS12, CS9</u> <u>2</u> <u>A/E</u> <u>E/A</u> <u>CS12, CS4</u> <u>2</u> <u>A/F</u> <u>F/A</u> <u>CS12, CS4, CS6</u> <u>3</u> <u>B/C</u> <u>C/B</u> <u>CS3, CS5, CS7</u> <u>3</u> <u>B/D</u> <u>D/B</u> <u>CS3, CS4, CS11, CS9</u> <u>4</u> <u>B/E</u> <u>E/B</u> <u>CS3, CS2</u> <u>2</u> <u>B/F</u> <u>F/B</u> <u>CS3, CS6</u> <u>2</u> <u>C/D</u> <u>D/C</u> <u>CS7, CS8</u> <u>2</u> <u>C/E</u> <u>E/C</u> <u>CS7, CS6, CS1, CS2</u> <u>4</u> <u>C/F</u> <u>F/C</u> <u>CS7, CS6</u> <u>2</u> <u>D/E</u> <u>E/D</u> <u>CS4, CS11, CS9</u> <u>3</u> <u>D/F</u> <u>F/D</u> <u>CS7, CS6</u> <u>2</u> <u>E/F</u> <u>F/E</u> <u>CS2, CS6</u> <u>2</u> Table 5. Accessible charging stations in the shortest path between two points. 6 5 4 3 2 1 0 CS1 CS2 CS3 CS4 CS5 CS6 CS7 CS8 CS9 CS10 CS11 CS12 Charging Stations Fig. 6. Number of mutual connections in each charging stations. pile 1. The HHO algorithm has the 76.37 min of waiting time for the 50 EVs when it served by 12 charging stations with one charging pule, similarly the FCFS algorithm has the 81.16 min in this scenario. Similarly, the analysis has been carried out for the four considerations of 25 EVs, 50 EVs, 75 EVs and 100 EVs and in all cases the charging piles varied from 1 to 4. Among the performance inferred from this validation the proposed WSO gives the better performance as compared to all other methods. The performance can be ranked as proposed WSO, CHHO, HHO and FCFS from high to low. The detailed results are given in Table 6. The iteration has been simulated using the python and MATLAB platform. The results in the table shows the average values of each 100 iterations in different cases. Whereas the average waiting time at each iteration of each algorithm has been plotted using python. Figure 8 shows the average waiting time of at each algorithm when 25 EVs are scheduled on 12 charging stations with one to four charging piles. Similarly for the 50 EVs, 75 EVs and 100 EVs are shown in Figs. 9, 10 and 11. The proposed WSO algorithm also reduces the charging cost by limiting the cost function of charge scheduling. Generally, the cost function is based on the charging demand, whenever more number of EVs are scheduled at a single charging station, the cost function in the charging schedule will be increased. This rise in cost function will directly increase the charging cost of that particular schedule. By avoiding the accumulation of EVs in a single charging station during the peak time, the cost function can be optimized. The proposed WSO algorithm effectively reduces the waiting time, that directly optimizes the charging cost. The average charging cost of each scheduling has given in Table 7. The proposed WSO algorithm has the minimum average charging cost as compared to other algorithms. The average charging cost of each iteration has been plotted Figs. 12, 13, 14 and 15. 400 350 300 250 200 150 100 50 0 <u>361 minute in FCFS</u> <u>274 minute in FCFS</u> <u>219 minute in FCFS</u> <u>197 minute in FCFS</u> Proposed WSO CHHO HHO WOA 0 20 40 60 80 100 120 140 160 180 200 Number of EVs Fig. 7. 200 EVs scheduled using different algorithms. When 25 number of EVs are scheduled to 12 charging stations with 1 to 4 charging piles, the WSO shows its superior performance of providing the less charging cost. When 25 EVs are scheduled by considering each charging station had one charging pile, the proposed WSO provides the charging cost of 363.95 INR, and CHHO gives the second-best cost and HHO and FCFS methods are trailing behind these two methods. When the number of charging piles are increased from 1 to 2,3,4 the average charging cost gets reduced, and all four algorithms are operating with more similar charging cost. On the second case of 50EVs with same scenario, the WSO algorithm dominates other algorithms in charging stations with one and two charging piles. When the number of charging piles are 3 and 4, all the four methods are operating with the same cost function. But in 75 EVs and 100 EVs in same scenario, the proposed WSO algorithm outperforms the other three methods in all cases. It is inferred that the usage of EVs is gaining popularity in recent years, where still there is some lag regarding the development of EV infrastructure. In real time, the number of charging infrastructure is limited to very few as compared to petrol banks and gas stations. The fueling infrastructure in fuel-based vehicles is always following the FCFS progress without any scheduling process. As the development of EV infrastructure is at mid-range, the charging stations are very few and, in this scenario, the FCFS is not suitable. The charge scheduling algorithm and process can be able to identify the data and coordinate the EVs and charging stations. When the charging infrastructure is attained completely, the FCFS algorithm will be applicable as like in fuel stations. Until this, the charging infrastructure required an intelligent algorithm for the efficient access and coordination between EVs and charging stations. The proposed WSO algorithm effectively schedules the EVs when the number of charging stations are limited and also it reduces the waiting time at charging stations and its corresponding charging cost. Conclusion This work proposed and validated a new kind of charge scheduling algorithm based on WSO, which is inspired from the strategies used in ancient wars. For validating the performance of proposed algorithm, there are different scenarios by varying the number of EVs by 25 to 100 and by varying the charging piles from 1 to 4 in all 12 charging stations. Also, the performance of the proposed WSO has been compared with the other algorithms such as CHHO, HHO, FCFS and when the number of charging piles are increased from 1 to 2,3,4 the average waiting time and average charging cost gets reduced, and all four algorithms are operating with more similar performance. The WSO algorithm achieved significant improvements in both waiting time and charging cost. Specifically, the WSO algorithm reduced waiting time by 11.17% compared to the CHHO algorithm, 39.09% compared to the HHO algorithm, and 83.25% compared to the FCFS algorithm. In terms of charging cost, the WSO algorithm achieved reductions of 3.61% compared to the CHHO algorithm, 12.45% compared to the HHO algorithm, and 13.67% compared to the FCFS algorithm. This shows that, the existing algorithms are capable and efficient in conditions such as, less number of EVs and more number of charging options and when the number of EVs are increased these algorithms are inefficient on scheduling. But the proposed WSO algorithm gives the better performance as compared to the other algorithms in all cases of validation. <u>S. No</u> <u>EVs in geographic area</u> <u>Charging piles in charging stations</u> <u>Waiting time (average) in minutes</u> <u>WSO</u> <u>CHHO</u> <u>HHO</u> <u>FCFS</u> 1 25 2 50 3 75 4 100 <u>1</u> <u>35.26</u> <u>39.90</u> <u>53.97</u> <u>51.73</u> <u>2</u> <u>16.69</u> <u>20.05</u> <u>24.71</u> <u>26.15</u> <u>3</u> <u>1.05</u> <u>2.41</u> <u>2.38</u> <u>2.66</u> <u>4</u> <u>0.03</u> <u>1.30</u> <u>0.55</u> <u>1.42</u> <u>1</u> <u>51.51</u> <u>57.52</u> <u>76.37</u> <u>81.16</u> <u>2</u> <u>15.80</u> <u>18.91</u> <u>24.38</u> <u>24.26</u> <u>3</u> <u>8.37</u> <u>10.51</u> <u>13.97</u> <u>13.77</u> <u>4</u> <u>1.80</u> <u>3.38</u> <u>3.49</u> <u>3.76</u> <u>1</u> <u>76.63</u> <u>86.89</u> <u>108.98</u> <u>114.32</u> <u>2</u> <u>32.40</u> <u>37.17</u> <u>48.96</u> <u>50.74</u> <u>3</u> <u>15.11</u> <u>17.82</u> <u>22.70</u> <u>23.67</u> <u>4</u> <u>2.31</u> <u>4.01</u> <u>4.41</u> <u>4.77</u> <u>1</u> <u>119.93</u> <u>134.23</u> <u>177.82</u> <u>184.75</u> <u>2</u> <u>46.68</u> <u>52.95</u> <u>72.00</u> <u>72.01</u> <u>3</u> <u>42.50</u> <u>48.10</u> <u>62.14</u> <u>67.59</u> <u>4</u> <u>17.10</u> <u>20.24</u> <u>26.28</u> <u>26.63</u> 80 70 60 50 40 30 20 6 5 4 3 2 1 0 0 10 20 30 40 50 60 70 80 90 100 Iteration Count Table 6. Average waiting times of EVs with respect to different number of EVs and charging piles in 100 iterations. 40 1 charging pile per CS 2 charging piles per CS 35 0 10 20 30 40 50 60 70 80 90 100 Iteration Count 30 25 20 15 10 5 0 10 20 30 40 50 60 70 80 90 100 Iteration Count 3 charging piles per CS 4 charging piles per CS 4 0 10 20 30 40 50 60 70 80 90 100 Iteration Count 3 2 1 0 <mark>Proposed WSO</mark> <mark>CHHO</mark> <mark>HHO</mark> <mark>FCFS</mark> Fig. 8. Average waiting time of 25 EVs vs 12 CS (1 to 4 CP). 160 140 120 100 80 60 40 25 20 40 1 charging pile per CS <u>2 charging piles per CS</u> 35 0 10 20 30 40 50 60 70 80 90 100 Iteration Count 30 25 20 15 10 7 0 10 20 30 40 50 60 70 80 90 100 Iteration Count 3 charging ~~pi~~ les per CS 4 charging piles per CS 6 0 10 20 30 40 50 60 70 80 90 100 Iteration Count 15 10 5 0 0 10 20 30 40 50 60 70 80 90 100 Iteration Count 5 4 3 2 1 200 180 160 140 120 100 80 60 40 35 30 25 20 15 10 Proposed WSO CHHO HHO FCFS Fig. 9. Average waiting time of 50 EVs vs 12 CS (1 to 4 CP). 90 1 charging pile per CS 2 charging pile ~~s p~~ er CS 80 0 10 20 30 40 50 60 70 80 90 100 Iteration Count 70 60 50 40 30 20 8 0 10 20 30 40 50 60 70 80 90 100 Iteration Count 3 charging piles per CS 4 charg ~~in~~ g piles per CS 7 0 10 20 30 40 50 60 70 80 90 100 Iteration Count 0 10 20 30 40 50 60 70 80 90 100 Iteration Count 6 5 4 3 2 1 Proposed WSO CHHO HHO FCFS Fig. 10. Average waiting time of 75 EVs vs 12 CS (1 to 4 CP). 300 250 200 150 100 120 100 80 60 40 20 0 10 20 30 40 50 60 70 80 90 100 Iteration Count 110 1 charging p ~~ile~~ per CS 100 2 ~~c~~ h ~~ar~~ ging piles per CS 0 10 20 30 40 50 60 70 80 90 100 Iteration Count 90 80 70 60 50 40 30 0 10 20 30 40 50 60 70 80 90 100 Iteration Count 45 3 charging piles per CS 4 charging piles per CS 40 35 30 25 20 15 10 0 10 20 30 40 50 60 70 80 90 100 Iteration Count Proposed WSO CHHO HHO FCFS Fig. 11. Average waiting time of 100 EVs vs 12 CS (1 to 4 CP). <u>Average charging cost in INR</u> <u>S.No</u> <u>EVs in geographic area</u> <u>Charging piles in charging stations</u> <u>WSO</u> <u>CHHO</u> <u>HHO</u> <u>FCFS</u> 1 25 2 50 3 75 4 100 <u>1</u> <u>363.95</u> <u>377.05</u> <u>409.24</u> <u>413.63</u> <u>2</u> <u>320.46</u> <u>327.84</u> <u>342.11</u> <u>345.89</u> <u>3</u> <u>313.39</u> <u>314.06</u> <u>314.21</u> <u>313.64</u> <u>4</u> <u>314.21</u> <u>314.67</u> <u>314.06</u> <u>314.33</u> <u>1</u> <u>410.50</u> <u>426.20</u> <u>478.95</u> <u>479.24</u> <u>2</u> <u>342.41</u> <u>351.61</u> <u>372.08</u> <u>375.62</u> <u>3</u> <u>313.47</u> <u>313.97</u> <u>314.11</u> <u>314.20</u> <u>4</u> <u>314.08</u> <u>313.71</u> <u>313.99</u> <u>313.92</u> <u>1</u> <u>474.68</u> <u>502.27</u> <u>580.71</u> <u>583.35</u> <u>2</u> <u>361.70</u> <u>376.32</u> <u>400.20</u> <u>405.93</u> <u>3</u> <u>322.05</u> <u>330.37</u> <u>342.02</u> <u>344.66</u> <u>4</u> <u>313.74</u> <u>313.62</u> <u>314.23</u> <u>313.83</u> <u>1</u> <u>475.48</u> <u>502.98</u> <u>580.51</u> <u>586.21</u> <u>2</u> <u>400.21</u> <u>418.90</u> <u>460.42</u> <u>474.62</u> <u>3</u> <u>387.21</u> <u>399.79</u> <u>443.32</u> <u>453.25</u> <u>4</u> <u>324.40</u> <u>329.77</u> <u>347.37</u> <u>348.37</u> Table 7. Average charging cost of EVs with respect to different number of EVs and charging piles in 100 iterations. 550 500 450 400 350 322 320 318 316 314 312 310 1 charging pile per CS 420 2 charging piles per CS 0 10 20 30 40 50 60 70 80 90 100 Iteration Count 420 400 380 360 340 320 300 322 320 318 316 314 312 310 0 10 20 30 40 50 60 70 80 90 100 Iteration Count 3 charging piles per CS 4 charging piles per CS 0 10 20 30 40 50 60 70 80 90 100 Iteration Count 0 10 20 30 40 50 60 70 80 90 100 Iteration Count <mark>Proposed WSO</mark> <mark>CHHO</mark> <mark>HHO</mark> <mark>FCFS</mark> Fig. 12. Average charging cost of 25 EVs vs. 12 CS (1 to 4 CP). 700 650 600 550 500 450 400 350 480 1 charging pile per CS 2 charging piles per CS 460 440 420 400 380 360 340 320 0 10 20 30 40 50 60 70 80 90 100 Iteration Count 0 10 20 30 40 50 60 70 80 90 100 Iteration Count 320 318 316 314 312 310 308 3 charging piles per CS 320 4 charging piles per CS 0 10 20 30 40 50 60 70 80 90 100 Iteration Count 320 318 316 314 312 310 308 0 10 20 30 40 50 60 70 80 90 100 Iteration Count <mark>Proposed WSO</mark> <mark>CHHO</mark> <mark>HHO</mark> <mark>FCFS</mark> Fig. 13. Average charging cost of 50 EVs vs. 12 CS (1 to 4 CP). 1000 900 800 700 600 500 400 600 1 charging pile per CS 2 charging piles per CS 550 0 10 20 30 40 50 60 70 80 90 100 Iteration Count 500 450 400 350 322 320 318 316 314 312 310 308 0 10 20 30 40 50 60 70 80 90 100 Iteration Count 420 400 380 360 340 320 300 3 charging piles per CS 4 charging piles per CS 320 0 10 20 30 40 50 60 70 80 90 100 Iteration Count 0 10 20 30 40 50 60 70 80 90 100 Iteration Count <mark>Proposed WSO</mark> <mark>CHHO</mark> <mark>HHO</mark> <mark>WOA</mark> Fig. 14. Average charging cost of 225 EVs vs. 12 CS (with varies charging piles 2 to 5). 1100 1000 900 800 700 600 500 400 1 charging pile per CS 2 charging piles per CS 0 10 20 30 40 50 60 70 80 90 100 Iteration Count 700 700 650 600 550 500 450 400 350 460 440 420 400 380 360 340 320 300 0 10 20 30 40 50 60 70 80 90 100 Iteration Count 650 600 550 500 450 400 350 300 3 charging piles per C ~~S~~ 440 4 charging piles per CS 0 10 20 30 40 50 60 70 80 90 100 Iteration Count 0 10 20 30 40 50 60 70 80 90 100 Iteration Count <mark>Proposed WSO</mark> <mark>CHHO</mark> <mark>HHO</mark> <mark>FCFS</mark> Fig. 15. Average charging cost of 300 EVs vs. 12 CS (with varies charging piles 2 to 5). Data availability The data used to support the findings of this study are included in the article. Received: 29 May 2024; Accepted: 6 September 2024 References 1. CanalsCasals, L., Martinez-Laserna, E., AmanteGarcía, B. & Nieto, N. Sustainability analysis of the electric vehicle use in Europe for CO2 emissions reduction. _J. Clean. Prod._ 127 [, 425–437. https://​doi.​org/​10.​1016/j.​jclep​ro.​2016.​03.​120 (2016).](https://doi.org/10.1016/j.jclepro.2016.03.120) 2. Liu, W.-L. _et al._ Coordinated charging scheduling of electric vehicles: A mixed-variable differential evolution approach. _IEEE Trans._ _Intell. Transp. Syst._ 21 [(12), 5094–5109. https://​doi.​org/​10.​1109/​TITS.​2019.​29485​96 (2020).](https://doi.org/10.1109/TITS.2019.2948596) 3. Cao, Y. _et al._ Toward pre-empted EV charging recommendation through V2V-based reservation system. _IEEE Trans. Syst. Man_ _Cybern. Syst._ 51 [(5), 3026–3039. https://​doi.​org/​10.​1109/​TSMC.​2019.​29171​49 (2021).](https://doi.org/10.1109/TSMC.2019.2917149) 4. Xie, F., Liu, C., Li, S., Lin, Z. & Huang, Y. Long-term strategic planning of inter-city fast charging infrastructure for battery electric vehicles. _Transp. Res. E Logist. Transp. Rev._ 109 [, 261–276. https://​doi.​org/​10.​1016/j.​tre.​2017.​11.​014 (2018).](https://doi.org/10.1016/j.tre.2017.11.014) 5. Barco, J., Guerra, A., Muñoz, L. & Quijano, N. Optimal routing and scheduling of charge for electric vehicles: A case study. _Math._ _Probl. Eng._ 2017 [, 1–16. https://​doi.​org/​10.​1155/​2017/​85097​83 (2017).](https://doi.org/10.1155/2017/8509783) 6. Alonso, M., Amaris, H., Germain, J. & Galan, J. Optimal charging scheduling of electric vehicles in smart grids by heuristic algo rithms. _Energies_ 7 [(4), 2449–2475. https://​doi.​org/​10.​3390/​en704​2449 (2014).](https://doi.org/10.3390/en7042449) 7. El-Bayeh, C. Z., Alzaareer, K., Aldaoudeyeh, A.-M.I., Brahmi, B. & Zellagui, M. Charging and discharging strategies of electric vehicles: A survey. _World Electric Veh. J._ 12 [(1), 11. https://​doi.​org/​10.​3390/​wevj1​20100​11 (2021).](https://doi.org/10.3390/wevj12010011) 8. Barshandeh, S., Piri, F. & Sangani, S. R. HMPA: An innovative hybrid multi-population algorithm based on artificial ecosystem based and Harris Hawks optimization algorithms for engineering problems. _Eng. Comput._ 38 [(2), 1581–1625. https://​doi.​org/​10.​](https://doi.org/10.1007/s00366-020-01120-w) [1007/​s00366-​020-​01120-w (2022).](https://doi.org/10.1007/s00366-020-01120-w) 9. Barshandeh, S. & Haghzadeh, M. A new hybrid chaotic atom search optimization based on tree-seed algorithm and Levy flight for solving optimization problems. _Eng. Comput._ 37 [(4), 3079–3122. https://​doi.​org/​10.​1007/​s00366-​020-​00994-0 (Oct.2021).](https://doi.org/10.1007/s00366-020-00994-0) 10. Yang, S.-N., Cheng, W.-S., Hsu, Y.-C., Gan, C.-H. & Lin, Y.-B. Charge scheduling of electric vehicles in highways. _Math. Comput._ _Model_ 57 [(11–12), 2873–2882. https://​doi.​org/​10.​1016/j.​mcm.​2011.​11.​054 (2013).](https://doi.org/10.1016/j.mcm.2011.11.054) 11. de Weerdt, M. M., Stein, S., Gerding, E. H., Robu, V. & Jennings, N. R. Intention-aware routing of electric vehicles. _IEEE Transact._ _Intell. Transp. Syst._ 17 [(5), 1472–1482. https://​doi.​org/​10.​1109/​TITS.​2015.​25069​00 (2016).](https://doi.org/10.1109/TITS.2015.2506900) 12. Cao, Y. _et al._ An EV charging management system concerning drivers trip duration and mobility uncertainty. _IEEE Trans. Syst._ _Man Cybern. Syst._ 48 [(4), 596–607. https://​doi.​org/​10.​1109/​TSMC.​2016.​26136​00 (2018).](https://doi.org/10.1109/TSMC.2016.2613600) 13. Cao, Y., Ahmad, N., Kaiwartya, O., Puturs, G. and Khalid, M. ‘Intelligent transportation systems enabled ict framework for electric vehicle charging in smart city’, in _Handbook of Smart Cities_ [, Cham: Springer International Publishing, pp. 311–330. https://​doi.​](https://doi.org/10.1007/978-3-319-97271-8_12) [org/​10.​1007/​978-3-​319-​97271-8_​12. (2018).](https://doi.org/10.1007/978-3-319-97271-8_12) 14. Kobayashi, Y., Kiyama, N., Aoshima, H. and Kashiyama, M. ‘A route search method for electric vehicles in consideration of range and locations of charging stations’, in _2011 IEEE Intelligent Vehicles Symposium (IV)_ [, IEEE, pp. 920–925 https://​doi.​org/​10.​1109/​](https://doi.org/10.1109/IVS.2011.5940556) [IVS.​2011.​59405​56 (2011).](https://doi.org/10.1109/IVS.2011.5940556) 15. Campbell, A. A., Cherry, C. R., Ryerson, M. S. & Yang, X. Factors influencing the choice of shared bicycles and shared electric bikes in Beijing. _Transp. Res. Part C Emerg. Technol._ 67 [, 399–414. https://​doi.​org/​10.​1016/j.​trc.​2016.​03.​004 (2016).](https://doi.org/10.1016/j.trc.2016.03.004) 16. Guo, Q., Xin, S., Sun, H., Li, Z. & Zhang, B. Rapid-charging navigation of electric vehicles based on real-time power systems and traffic data. _IEEE Trans. Smart Grid_ 5 [(4), 1969–1979. https://​doi.​org/​10.​1109/​TSG.​2014.​23099​61 (2014).](https://doi.org/10.1109/TSG.2014.2309961) 17. Ding, D. _et al._ Electric vehicle charging warning and path planning method based on spark. _IEEE Access_ 8 [, 8543–8553. https://​doi.​](https://doi.org/10.1109/ACCESS.2020.2964307) [org/​10.​1109/​ACCESS.​2020.​29643​07 (2020).](https://doi.org/10.1109/ACCESS.2020.2964307) 18. Barbecho Bautista, P., Lemus Cárdenas, L., Urquiza Aguiar, L. & Aguilar Igartua, M. A traffic-aware electric vehicle charging management system for smart cities. _Veh. Commun._ 20 [, 100188. https://​doi.​org/​10.​1016/j.​vehcom.​2019.​100188 (2019).](https://doi.org/10.1016/j.vehcom.2019.100188) 19. Wang, L. & Chen, B. Distributed control for large-scale plug-in electric vehicle charging with a consensus algorithm. _Int. J. Electr._ _Power Energy Syst._ 109 [, 369–383. https://​doi.​org/​10.​1016/j.​ijepes.​2019.​02.​020 (2019).](https://doi.org/10.1016/j.ijepes.2019.02.020) 20. Wang, X., Zheng, X. & Liang, X. Charging station recommendation for electric vehicle based on federated learning. _J. Phys. Conf._ _Ser._ 1792 [(1), 012055. https://​doi.​org/​10.​1088/​1742-​6596/​1792/1/​012055 (2021).](https://doi.org/10.1088/1742-6596/1792/1/012055) 21. Luo, Y. _et al._ Charging scheduling strategy for different electric vehicles with optimization for convenience of drivers, performance of transport system and distribution network. _Energy_ 194 [, 116807. https://​doi.​org/​10.​1016/j.​energy.​2019.​116807 (2020).](https://doi.org/10.1016/j.energy.2019.116807) 22. Bersani, C., Zero, E., and Sacile, R. ‘A decision support system for the optimal location of electric vehicle charging points’, in _2019_ _IEEE International Conference on Systems, Man and Cybernetics (SMC)_ [, IEEE, pp. 2707–2712. https://​doi.​org/​10.​1109/​SMC.​2019.​](https://doi.org/10.1109/SMC.2019.8914033) [89140​33 (2019).](https://doi.org/10.1109/SMC.2019.8914033) 23. Xiao, D., An, S., Cai, H., Wang, J. & Cai, H. An optimization model for electric vehicle charging infrastructure planning considering queuing behavior with finite queue length. _J. Energy Storage_ 29 [, 101317. https://​doi.​org/​10.​1016/j.​est.​2020.​101317 (2020).](https://doi.org/10.1016/j.est.2020.101317) 24. Ma, W., Pi, X. & Qian, S. Estimating multi-class dynamic origin-destination demand through a forward-backward algorithm on computational graphs. _Transp. Res. Part C Emerg. Technol._ 119 [, 102747. https://​doi.​org/​10.​1016/j.​trc.​2020.​102747 (2020).](https://doi.org/10.1016/j.trc.2020.102747) 25. Pavić, I., Pandžić, H. & Capuder, T. Electric vehicle based smart e-mobility system—definition and comparison to the existing concept. _Appl. Energy_ 272 [, 115153. https://​doi.​org/​10.​1016/j.​apene​rgy.​2020.​115153 (2020).](https://doi.org/10.1016/j.apenergy.2020.115153) 26. Wang, L., Wang, X. & Yang, W. Optimal design of electric vehicle battery recycling network—from the perspective of electric vehicle manufacturers. _Appl. Energy_ 275 [, 115328. https://​doi.​org/​10.​1016/j.​apene​rgy.​2020.​115328 (2020).](https://doi.org/10.1016/j.apenergy.2020.115328) 27. Aljanabi, M., Ismail, M. A. & Mezhuyev, V. Improved TLBO-JAYA algorithm for subset feature selection and parameter optimisa tion in intrusion detection system. _Complexity_ 2020 [, 1–18. https://​doi.​org/​10.​1155/​2020/​52876​84 (2020).](https://doi.org/10.1155/2020/5287684) 28. Ali, A. H., Aljanabi, M. & Ahmed, M. A. Fuzzy generalized hebbian algorithm for large-scale intrusion detection system. _Int. J._ _Integr. Eng._ 12 [, 1. https://​doi.​org/​10.​30880/​ijie.​2020.​12.​01.​008 (2020).](https://doi.org/10.30880/ijie.2020.12.01.008) 29. Ibraheem, H. R. _et al._ A new model for large dataset dimensionality reduction based on teaching learning-based optimization and logistic regression. _TELKOMNIKA (Telecommun. Comput. Electron. Control)_ 18 [(3), 1688. https://​doi.​org/​10.​12928/​telko​mnika.​](https://doi.org/10.12928/telkomnika.v18i3.13764) [v18i3.​13764 (2020).](https://doi.org/10.12928/telkomnika.v18i3.13764) 30. Das, H. S., Rahman, M. M., Li, S. & Tan, C. W. Electric vehicles standards, charging infrastructure, and impact on grid integration: A technological review. _Renew. Sustain. Energy Rev._ 120 [, 109618. https://​doi.​org/​10.​1016/j.​rser.​2019.​109618 (2020).](https://doi.org/10.1016/j.rser.2019.109618) 31. Zhan, K. _et al._ A probability transition matrix based decentralized electric vehicle charging method for load valley filling. _Electric_ _Power Syst. Res._ 125 [, 1–7. https://​doi.​org/​10.​1016/j.​epsr.​2015.​03.​013 (2015).](https://doi.org/10.1016/j.epsr.2015.03.013) 32. Mouhcine, E., Mansouri, K. and Mohamed, Y. ‘Intelligent vehicle routing system using VANET strategy combined with a distributed [ant colony optimization, 2019, pp. 230–237. https://​doi.​org/​10.​1007/​978-3-​030-​11914-0_​25.](https://doi.org/10.1007/978-3-030-11914-0_25) 33. Kumar, V. M., Chokkalingam, B. & Mihet-Popa, L. Mitigation of complexity in charging station allocation for EVs using chaotic harris hawks optimization charge scheduling algorithm. _IEEE Access_ 11 [, 130466–130482. https://​doi.​org/​10.​1109/​ACCESS.​2023.​](https://doi.org/10.1109/ACCESS.2023.3334672) [33346​72 (2023).](https://doi.org/10.1109/ACCESS.2023.3334672) 34. Tummala, S. L. V. _et al._ War strategy optimization algorithm: A new effective metaheuristic algorithm for global optimization. _IEEE Access_ 10 [, 25073–25105. https://​doi.​org/​10.​1109/​ACCESS.​2022.​31534​93 (2022).](https://doi.org/10.1109/ACCESS.2022.3153493) Author contributions Data curation, V.M.; Formal analysis, V.M and PKB; Methodology, V.M. and C.S.; Project administration, S.B.T, Resources, S.S., and S.B.T; Supervision, C.S. AND P.K.B.; Writing–original draft, V.M. and S.B.T. All authors have read and agreed to the published version of the manuscript. Competing interests The authors declare no competing interests. Additional information Correspondence and requests for materials should be addressed to S.S. Reprints and permissions information is available at www.nature.com/reprints. Publisher’s note Springer Nature remains neutral with regard to jurisdictional claims in published maps and institutional affiliations. Open Access This article is licensed under a Creative Commons Attribution-NonCommercial-NoDerivatives 4.0 International License, which permits any non-commercial use, sharing, distribution and reproduction in any medium or format, as long as you give appropriate credit to the original author(s) and the source, provide a link to the Creative Commons licence, and indicate if you modified the licensed material. You do not have permission under this licence to share adapted material derived from this article or parts of it. The images or other third party material in this article are included in the article’s Creative Commons licence, unless indicated otherwise in a credit line to the material. If material is not included in the article’s Creative Commons licence and your intended use is not permitted by statutory regulation or exceeds the permitted use, you will need to obtain [permission directly from the copyright holder. To view a copy of this licence, visit http://​creat​iveco​mmons.​org/​](http://creativecommons.org/licenses/by-nc-nd/4.0/) [licen​ses/​by-​nc-​nd/4.​0/.](http://creativecommons.org/licenses/by-nc-nd/4.0/) © The Author(s) 2024

섹션 본문 75문단 · 35,416자

(제목 없음)

1In this work, a new kind of charge scheduling algorithm is proposed by utilizing the War Strategy Optimization (WSO) algorithm.The strategies used in the war such as attack, defense, assigning soldiers to take positions are the inspiration to this algorithm.The proposed WSO algorithm is validated in a constructed geographic area which consists of Six starting/destination points, sixteen nodes, and twelve charging stations.In terms of waiting time and charging cost, the experimental results show that the WSO method much improves over current methods.The average waiting time and average charging cost of EVs are validated in MATLAB, with different considerations such as different number of EVs varied from 25 to 100, and different number of charging piles varied from 1 to 4. The WSO algorithm specifically lowered charging costs by up to 13.67% compared to the same and waiting time by up to 83.25% relative to the First Come First Serve algorithm.Comparatively to the Chaotic Harris Hawk Optimization and Harris Hawk Optimization algorithms, the WSO method demonstrated declines in waiting time by 11.17% and 39.09%, respectively, and declines in charging costs by 3.61% and 12.45%, respectively.Especially in situations with limited charging infrastructure, these findings show that the WSO algorithm may improve the efficiency and cost-effectiveness of EV charging management systems.For real-world EV charging management systems, the method's capacity to efficiently allocate EVs among charging stations, lower waiting times, and lower charging costs makes it a potential solution.Keywords Electric vehicle, Charge scheduling, War strategy algorithm, Harris Hawk optimization Greenhouse gas emissions are being reduced by electric vehicles (EVs).Recent laws in developed nations promote electric vehicles and reduce emissions for sustainable mobility 1 .Urban areas have high combustion vehicle CO2 emissions.EVs are best, but they emit CO2 without renewable power.Smart grids encourage distributed renewable energy.Renewable charging stations are best now.In 2018, the world had 5.1 million electric cars (EVs), and the International Energy Agency predicts 250 million by 2030 2 .By 2016, when 750,000 electric cars were sold worldwide, the Electric Vehicles Initiative aims to reach 30% market share for EVs in commercial vehicles, trucks, and passenger cars.The number of EV purchases should rise.As EVs gain popularity, range and battery capacity limit their efficiency and feasibility.Lack of charging infrastructure hurts EV sales.Time, geographical uncertainty, and insufficient electricity for efficient charging are power system "problems".Government and industry install charging stations (CS) for the public like gas stations to reduce these impacts.These are used in cities, highways, and densely populated areas like shopping malls, theaters, beaches, and more to charge vehicles while parking, saving time and money 3 .When charging stations are plentiful, the vehicle must choose a CS.The CS can separate into fast and slow charging stations.Along with this, the CS may be crowded, increasing vehicle charging time 4 .Even at fast charging, the vehicle must be plugged in for 30 min, which increases peak-hour queues.This will increase waiting and charging times and cause electric grid instability like voltage fluctuation, higher harmonics, grid unbalance, etc. VANET architecture communicates with all EVs in an environment to address these issues.This VANET system provides vehicle data like live location, SoC, average speed, and nearby charging stations.When the vehicle needs charging, this network suggests nearby charging stations with details like slow or fast charging, number of charging piles, distance to CS, nearby CS, etc. 5,6 .

2the objective function, each EV is attempting to follow either an attack or defense strategy.Figure 1 depicts the functional hierarchy of the work that is being proposed.

3The structure of the manuscript is as follows: the WSO algorithm is discussed in Section "War strategy optimization (WSO) algorithm", and the charge scheduling method derived from the WSO algorithm is presented with a step-by-step formulation in Section "War strategy optimization (WSO) algorithm", respectively.Using the WSO method, the necessary expression for the charge scheduling process has been defined with a fitness function, and the relevant constraints have been constructed and addressed in Section "WSO based charge scheduling algorithm".In Section "Experimental analysis", both the construction of the geographic region and the validation of the WSO method for the charge scheduling have been completed and the work has been concluded in Section "Conclusion".

War strategy optimization (WSO) algorithm

4The War Strategy Optimization (WSO) algorithm, as proposed in 34 is a metaheuristic optimization algorithm inspired by ancient war strategies.This algorithm is used in the mathematical model for electric vehicle (EV) charge scheduling to solve the problems of effective EV charging in metropolitan environments.Focusing on four fundamental parameters like total travel time, total waiting time, total charging cost, and grid stability, the model is developed as a multi-objective optimization problem.Three main limitations like charging station capacity constraint, EV battery constraint, and time window constraint are included into the model.Inspired by military strategy, the WSO algorithm allows effective exploration of the solution space considering both individual EV needs and system-wide optimization.The model's strength is in its all-encompassing approach that addresses power grid stability, user convenience, and economic concerns.Its adaptability makes it a strong instrument for long-term planning and optimization of EV charging networks in smart cities since it lets simple integration of extra constraints or goals possible.This model marks a breakthrough in EV charge scheduling, so facilitating the acceptance of EVs and helping to support the change to sustainable urban transportation systems.The objective function and constraints for a problem optimized using the WSO algorithm would depend on the specific application or problem being addressed.The general formulation of WSO is as follows:

5Objective Function:

6Subject to Constraints as in Eqs.(2) and (3) where:

7• f (x) is the objective function specific to the problem being optimized (e.g., cost, distance, energy consump- tion).• x = (x 1 , x 2 , . . ., x n ) is the vector of decision variables.

8(1) Minimize (or Maximize) f (x)

9(2) g i (x) ≤ 0, for (i = 1, 2, . . ., m)

10(3) h j (x) = 0, for (j = 1, 2, . . ., p) • g i (x) are inequality constraints that must be satisfied by the solution.

11• h j (x) are equality constraints that must be satisfied by the solution.

12• m is the number of inequality constraints.

13• p is the number of equality constraints.

14The WSO algorithm would then be used to find the values of the decision variables (x) that optimize the objective function while satisfying all the constraints.The algorithm uses concepts from ancient war strategies, such as attack and defence strategies, to explore the solution space and converge to an optimal solution and the algorithm has been represented in Fig. 2. The position of King, Commander and their decides the moment of soldier.After the successful moment of soldiers, the commander relies on his strategy or reframe the strategy to achieve the target.The.

Soldier size (S)

15The number of search agents are considered as the number of soldiers in this algorithm as per the expression (4)

Dimension of the war space (dimension of the problem)

16The number of decision variables used in the search space has been considered as the dimension of war space as in expression (5)

Lower and upper bounds of the search space

17The decision variable are bounded between the upper bound to lower bound which may vary with respect to the moment in war space as expressed in Eqs. ( 6) and ( 7)

Positions of the king (K) and army commander (C)

18In the war space (search space) the King and commander are selected based on the best and second best solutions among the position and movement of each soldiers and it can be expressed as Eqs.( 8) and (9).

Attack forces of the king and the army commander

19The attacking force of the King and the commander can be expressed with the fitness values of them in the search space as express in Eqs.(10) and (11).

20These values are varied with respect to the movement and iteration count.In each iteration the forces of kind and commander may varied with respect to the movement of soldiers.(6) Lower bound, Lb = (lb 1 , lb 2 , . . ., lb D ) www.nature.com/scientificreports/

Max-iterations

21The maximum number of iterations is a crucial parameter for tuning the accuracy and effectiveness of the algorithm and it can be expressed as Eq. ( 12) ρr (rho) Rho is a control parameter which is lies between 0 to 1 for opting the soldier movement to follow either the attack strategy or the defence strategy.

Rank (R) and weight (W) of each soldier

22These two parameters are updated with respect to each iteration, fitness values and the movement of each soldier.

23Based on the soldier's success on their attack/defence strategy and the improvements of their positions in the search space.Based on these the rank and weight of each soldier has been defined at the end of iteration.The rank and weight of each soldier can be defined using the Eqs.( 13) and ( 14) These parameters are dynamically updated based on the soldier's success in improving its position.The rank reflects how close a soldier is to the target, and the weight influences the step size of the soldier's movement.

24where (α) is a constant that controls the nonlinearity of the weight update.

Weak soldier replacement/relocation strategy

25This parameter replaces or relocates each soldier based on the fitness value and its rank, weight.This update on the end of each iteration improves the efficiency of current fitness and the next iteration.The replacement lies between the upper bound and lower bound and it can be expressed as Eqs.( 15) and ( 16).

26where X w (t) is the position of the weak soldier at iteration (t), rand and randn are random numbers, and median is the median position of all soldiers.These are the parameters considered in WSO algorithm for properly tuning and improving the performance of its efficiency for any kind of described problems.

Implementation of charge scheduling algorithm from WSO algorithm

27The WSO algorithm can be integrated to the charge scheduling problem by defining the objectives.There are few considerations for incorporating charge scheduling using WSO is by defining objectives, and its constraints as follows:

Minimization of total trave time

28The "attack strategy" of WSO dynamically moves soldiers (electric vehicles) to the destination while taking into consideration the amount of time required for charging.This helps to reduce the total amount of time that is spent traveling.

Minimization of waiting time

29Soldiers, which are electric vehicles, are strategically positioned in order to avoid congestion and reduce the amount of time spent waiting at charging stations.This is accomplished through the "defense strategy" of WSO.

Minimization of cost for charging

30It is possible to reduce charging costs by incorporating it into the fitness value of each WSO soldier (EV).This would enable charging costs to be reduced.

Maximization of grid stability

31In order to prevent the power grid from becoming unstable as a result of charging schedules for electric vehicles, the WSO algorithm ought to be modified to include a grid constraint.

Constraints

32• When it comes to updating their positions in WSO, it is essential for soldiers (EVs) to take into account the capacity and availability of charging stations as battlefield constraints.

33(

Implementation of charge scheduling

34• The WSO soldiers are representing electric vehicles that have charging schedules in a war field.

35• There is a correlation between the positions of the soldiers and the beginning and duration of the charging process at stations.• When determining each charging schedule, fitness takes into account the amount of time spent traveling and waiting, as well as the cost of charging and the reliability of the grid.• With the assistance of WSO attack and defense strategies, electric vehicles are able to determine the charging schedule that is most suitable by taking into account all of their constraints and objectives.

36By mapping the WSO algorithm to the charge scheduling problem, it is possible to optimize charging schedules for electric vehicles while taking into account multiple objectives and constraints.The algorithm's dynamic and strategic nature makes it possible to optimize the processes involved.It takes environmental data, user preferences, real-time data on availability of charging stations into account, and driver-specific information.The system changes with traffic flow and possible congestion at charging stations.Inspired by war strategies, it manages resources and responds to dynamic conditions using advanced calculations and strategic decision-making procedures.The system modulates current positions to improve efficiency and shows charging stations, charging requests, and vehicle locations.This advanced method shows the possibilities of intelligent, responsive systems in handling EV infrastructure needs.The functional flow diagram of the proposed WSO algorithm is shown in Fig. 3.

WSO based charge scheduling algorithm

37The charges scheduling algorithm for EVs are derived from the WSO algorithm, where the objective is the minimization of total travel time, waiting time and charging cost.The flowchart of the proposed WSO algorithm has shown in Fig. 4. The objective function and the constraints of the charge scheduling using WSO algorithm is given as follows;

Objective function

38The ultimate objective of the charge scheduling algorithm is to minimize the weighted sum of the total travel time, waiting time of EVs, charging cost, and to maximize the grid stability.The objective function (F) can be expressed as Eq. ( 17

Charging station capacity

39where x ijt is a binary variable indicating whether EV (i) is charging at station (j) at time (t).

EV battery constraints

40where SoC i (t) is the state of charge of EV (i) at time (t), normalized between 0 and 1.

Time windows

41where t start i and i ≤ t end i are the earliest and latest charging start times for EV(i).The WSO algorithm is responsible for assigning a charging schedule spot to each soldier (EV), which includes the charging behaviors like time charging, charging duration and selected charging station.Fitness of the soldier is determined by the objective function.After that, the WSO algorithm determines the most effective charging schedules in order to minimize (F) and satisfy the constraints.

Pseudocode of the proposed algorithm

42The pseudocode of the proposed WSO algorithm based charge scheduling is gives as follows; (18) For each charging station j, at any time t :

Experimental analysis

43The proposed WSO algorithm has been validated in a constructed geographic area in order to evaluate its effectiveness under a variety of different scenarios.This section has examined WSO algorithm and also compares with three different algorithms, each of which has been analyzed in the assumed geographic network.The geographical area has been constructed on the basis of the actual geographical characteristics of the location in Chennai.The traffic conditions and the populations of the roads are taken into consideration during the creation process; however, a small intersecting road and narrow paths have been neglected in this work.There are six distinct points, namely A, B, C, D, E, and F, that have been taken into consideration as the starting and destination points.In addition to the sixteen nodes that connect all of these points to one another, there are twelve charging stations that are available.There are sixteen different ways to travel from any one of the starting points to the destination point, and the nodes are the means by which the six starting and destination points are connected to one another.Using Dijkstra's algorithm, it is able to determine the path that was the shortest between the two points.Table 2 contains information regarding the number of charging stations, the number of nodes, and the details of the shortest path and the geographical region has been depicted in Fig. 5. Depending on the type of vehicle, the construction of the vehicle as well as the specifications of the motors, batteries, and other components are different.For the purposes of this work and analysis, the capacity of the battery has been assumed to be 100 kWh, and the Table 3 provides a detailed description of its specifications.When it comes to the procedures for scheduling electric vehicles, all electric vehicles are taken into consideration depending on how long it takes to travel from the starting point to the destination via the charging stations in the shortest path.It has been taken into consideration that the traffic situation at the location varies depending on the time of day.Every single vehicle possesses an adequate amount of power to reach the charging station.The charging stations operate properly and are free of any defects, which allows them to supply electric vehicles whenever it is required.The charging procedure is carried out in accordance with the principle of first come, first served in the conventional method.It is possible to charge the vehicle as soon as it arrives at the charging station when the charging piles are not occupied by other vehicles.However, when other vehicles are already charging and there are a few more vehicles waiting in queue, then this vehicle needs to wait in queue until the vehicles that have already been reached finish charging.When the number of people who use, vehicles is kept to a minimum, this method is effective in the environment.Nevertheless, this method is not effective in a densely populated area that has a greater number of people who use electric vehicles.As a result of the wait time, the overall charging time spent at the charging station will increase.

44The distance between each starting point and destination is listed in Table 4, which contains the charging station distances.In order to train the proposed algorithm, the details of the shortest path as well as the distance between each charging station and each point are utilized.The algorithm is able to assign the vehicle to the charging station that requires the least amount of waiting time possible based on these data.One of the most important considerations in the process of allocating vehicles is the State of Charge (SoC).Using the SoC, the algorithm is able to make an estimate of the maximum distance that each vehicle is capable of traveling, and it is also able to locate charging stations that are accessible based on the starting point and the destination.This means that the algorithm does not have the ability to execute scheduling procedures if the vehicle can only access a single charging station with the available SoC.In spite of this, it assigns the vehicle to the charging station that it is able to access using the SoC that is available.The amount of time spent waiting might lengthen as a result of this.However, the algorithm may be able to assist the user in reducing the amount of time spent waiting by charging the user's device from a charging station that is easily accessible at an additional cost, while the user is traveling to their destination.This may shorten the amount of time that the user has to wait, but it will result in an increase in the cost function.

45The available charging stations in the shortest path has been obtained and fed to the algorithm for training.This always prefers the charging stations within this limit, whenever the vehicles raising the charging request.Simultaneously, there are numerous vehicles may rise the charging request.During this request, the algorithm collects the data like, starting point, destination point, available SoC, shortest path between two points, available charging stations in the shortest path.Based on these, the algorithm initializes the charge scheduling process.There are some charging stations which is mutually placed in the shortest path between two or more starting and destination points.This will increase the demand in that charging stations that directly increases the waiting time.It is one of the issues that can resolved using the proposed algorithm.As the property of opposition-based reinforcement learning, the proposed algorithm takes this scenario to as opposition and it learns to act effectively and efficiently to allocate the charging station with minimum waiting time.Also, it can shift the charging station recommendation in the shortest path to the next shortest path.For that it provides this option to the user when the user selects the second shortest path to get charged earlier and with less travel time.The mutually connected charging stations are given in Table 4 and the number of mutual connections with each other is shown in Fig. 5.

46For the purpose of training, the algorithm has been provided with the information regarding the charging stations that are located along the shortest path.Whenever the vehicles make a request for charging, this always gives preference to the charging stations that are within this limit.Concurrently, there are a great number of vehicles that could potentially increase the charging request.While this request is being processed, the algorithm gathers information such as the starting point, the destination point, the available SoC, the shortest path between two points, and the charging stations that are available along the shortest path.When these are taken into consideration, the algorithm begins the process of charge scheduling.Some charging stations are strategically located in the shortest path between two or more starting and destination points.These stations are mutually placed in the shortest path.Because of this, there will be a greater demand for charging stations, which will significantly lengthen the amount total waiting time.This is one of the possible problems that can be solved by utilizing the algorithm that WSO algorithm.EVs are considered as the soldier in the war space (environment).With the available SoC, the algorithm make a schedule, when the schedule is not optimum, then it follows the

A/B B/A

47A-1-12-13-11-14-15-B 4600 attack strategy to improve the schedule, when the scheduling in the consequent iterations are worser than the previous one, then it follows the defense strategy for to improvise the schedule.Moreover, it has the capability to move the recommendation for the charging station that is located on the shortest path to the next shortest path.

48Because of this, it gives the user the opportunity to select this option whenever they choose the second shortest path, which allows them to be charged earlier and with less time spent traveling.An list of the charging stations that are connected to one another is presented in Table 5, and Fig. 6 illustrates the total number of charging stations that are connected to one another.By scheduling the vehicle at the mutually connected charging stations, the FCFS algorithm ensures that the vehicle that arrived to the station first receives the charge.When a vehicle arrives at the very end of the line, it must wait for a considerable amount of time.This adds more time to the overall travel time.In contrast, the proposed algorithms disperse the charging station in a manner that is uniform for scheduling purposes.An algorithm will attempt to relocate to charging stations that are either not scheduled or scheduled with a minimum www.nature.com/scientificreports/number of vehicles when a greater number of vehicles are accumulated on a single charging station, also known as the charging stations that are mutually connected to one another.Taking the tenth charging station as an example, there are no vehicles that are mutually connected with it.Additionally, charging stations 1, 5, and 8 are connected in a single path that is mutually connected.Charging stations 6, 7, and 12 are connected to each other through a total of six mutual paths, while charging stations 3, 4, and 12 are connected through a total of four mutual paths.The charging station that was assigned to a greater number of vehicles is rescheduled to be used by the unscheduled charging stations when the proposed algorithm is put into action.An example of this would be the fact that the six vehicles that arrived at the charging station in accordance with the FCFS algorithm have been divided up and rescheduled to stations in the surrounding area.Three of the vehicles will be moved to the tenth charging station, which will bring the total count to an even number.Both the charging time and the total travel time are significantly cut down as a result of this.For the purpose of arriving at the random destination points, it is assumed that 200 EVs are randomly started from random points and traveled through random nodes.WSO, CHHO, HHO, and FCFS are the four algorithms that are taken into consideration in this analysis.In this process, there are two things that need to be taken into consideration: among the vehicles, there are some that are not following the path that is the shortest, and all of the charging stations have only one charging pile.

49Waiting time for the vehicle to be charged is lengthened as a result of this.The duration of the travel is also affected by the path that is chosen.Figure 7 shows the outcome of the simulation.When compared to other optimization algorithms, the WSO algorithm has better performance over others.The WSO algorithm has been replaced by the CHHO and HHO algorithms, which are exhibiting improved performance.In terms of the charge scheduling performance, the FCFS algorithm represents a more significant difference.The performance of all algorithms starts with similar performance from 1st EV to 23rd EV and it is start to increase with respect to the number of EVs.The peak waiting time of the proposed WSO algorithm is about 197 min, whereas the CHHO algorithm provides the peak waiting time of 219 min.The waiting time of vehicle which is scheduled using the HHO algorithm is 274 min which is almost 72% more than the proposed WSO algorithm.But the FCFS algorithm provides 361 min of waiting time for the 200th EV which is very high.This validation shows the better performance of the proposed WSO charge scheduling algorithm.

50Apart from this, the efficiency of the proposed algorithms is validated in different cases with real-time data.For that, environmental data has been created with different numbers of vehicles with 12 charging stations with different number of charging piles.In the first case, 25 vehicles are considered, and it has been scheduled in the created geographic area where 12 charging stations are fixed.However, the number of charging piles varied for carrying a effectiveness of the proposed algorithms.In each case, there are four different scenarios considered such as 12 charging stations with 1 charging pile, with 2 charging piles, with 3 charging piles and 4 charging piles.The algorithm has been simulated in a closed loop with 100 iterations and the average waiting time on every single iteration has been captured.There are two considerations has been assumed as, all the vehicles can access the charging station with the available SoC, the algorithms not strict to the shortest path, similarly it wont lied in the longest path, i.e. the distance more than 30% of shortest path.The average time is not constant in all the iterations which shows the scheduling behavior or the algorithm behavior for scheduling the vehicles.The average waiting time in each iteration is given in Table 5. Comparative analysis of CHHO, HHO, and FCFS with the proposed WSO algorithms shows that the normal waiting time for EVs at charging stations, WSO consistently performs better.In comparison, the wait time for WSO's 25 vehicles with one charging lots is 35.26 min, while the wait times for CHHO, HHO, and FCFS are 39.9, 53.97, and 51.73 min: Whenever there are more than four charging piles, the waiting time for WSO decreases to 0.03 min, indicating that resource allocation efficiency increases as demand increases.Under high density of EVs, the algorithm performs reasonably well.When 50 EVs are considered in the geographic area, WSO has the average waiting time of 51.51 min, 15.80 min, 8.37 min and 1.80 min at charging piles count varies from 1 to 4, whereas the CHHO algorithm has the second better performance among all four algorithms, which has 6.01 min more than the WSO algorithm with the charging www.nature.com/scientificreports/pile 1.The HHO algorithm has the 76.37 min of waiting time for the 50 EVs when it served by 12 charging stations with one charging pule, similarly the FCFS algorithm has the 81.16 min in this scenario.Similarly, the analysis has been carried out for the four considerations of 25 EVs, 50 EVs, 75 EVs and 100 EVs and in all cases the charging piles varied from 1 to 4. Among the performance inferred from this validation the proposed WSO gives the better performance as compared to all other methods.The performance can be ranked as proposed WSO, CHHO, HHO and FCFS from high to low.The detailed results are given in Table 6.

51The iteration has been simulated using the python and MATLAB platform.The results in the table shows the average values of each 100 iterations in different cases.Whereas the average waiting time at each iteration of each algorithm has been plotted using python.Figure 8 shows the average waiting time of at each algorithm when 25 EVs are scheduled on 12 charging stations with one to four charging piles.Similarly for the 50 EVs, 75 EVs and 100 EVs are shown in Figs. 9, 10 and 11.

52The proposed WSO algorithm also reduces the charging cost by limiting the cost function of charge scheduling.Generally, the cost function is based on the charging demand, whenever more number of EVs are scheduled at a single charging station, the cost function in the charging schedule will be increased.This rise in cost function will directly increase the charging cost of that particular schedule.By avoiding the accumulation of EVs in a single charging station during the peak time, the cost function can be optimized.The proposed WSO algorithm effectively reduces the waiting time, that directly optimizes the charging cost.The average charging cost of each scheduling has given in Table 7.The proposed WSO algorithm has the minimum average charging cost as compared to other algorithms.The average charging cost of each iteration has been plotted Figs. 12, 13, 14 and 15. www.nature.com/scientificreports/When 25 number of EVs are scheduled to 12 charging stations with 1 to 4 charging piles, the WSO shows its superior performance of providing the less charging cost.When 25 EVs are scheduled by considering each charging station had one charging pile, the proposed WSO provides the charging cost of 363.95 INR, and CHHO gives the second-best cost and HHO and FCFS methods are trailing behind these two methods.When the number of charging piles are increased from 1 to 2,3,4 the average charging cost gets reduced, and all four algorithms are operating with more similar charging cost.On the second case of 50EVs with same scenario, the WSO algorithm dominates other algorithms in charging stations with one and two charging piles.When the number of charging piles are 3 and 4, all the four methods are operating with the same cost function.But in 75 EVs and 100 EVs in same scenario, the proposed WSO algorithm outperforms the other three methods in all cases.It is inferred that the usage of EVs is gaining popularity in recent years, where still there is some lag regarding the development of EV infrastructure.In real time, the number of charging infrastructure is limited to very few as compared to petrol banks and gas stations.The fueling infrastructure in fuel-based vehicles is always following the FCFS progress without any scheduling process.As the development of EV infrastructure is at mid-range, the charging stations are very few and, in this scenario, the FCFS is not suitable.The charge scheduling algorithm and process can be able to identify the data and coordinate the EVs and charging stations.When the charging infrastructure is attained completely, the FCFS algorithm will be applicable as like in fuel stations.Until this, the charging infrastructure required an intelligent algorithm for the efficient access and coordination between EVs and charging stations.The proposed WSO algorithm effectively schedules the EVs when the number of charging stations are limited and also it reduces the waiting time at charging stations and its corresponding charging cost.

Conclusion

53This work proposed and validated a new kind of charge scheduling algorithm based on WSO, which is inspired from the strategies used in ancient wars.For validating the performance of proposed algorithm, there are different scenarios by varying the number of EVs by 25 to 100 and by varying the charging piles from 1 to 4 in all 12 charging stations.Also, the performance of the proposed WSO has been compared with the other algorithms such as CHHO, HHO, FCFS and when the number of charging piles are increased from 1 to 2,3,4 the average waiting time and average charging cost gets reduced, and all four algorithms are operating with more similar performance.The WSO algorithm achieved significant improvements in both waiting time and charging cost.Specifically, the WSO algorithm reduced waiting time by 11.17% compared to the CHHO algorithm, 39.09% compared to the HHO algorithm, and 83.25% compared to the FCFS algorithm.In terms of charging cost, the WSO algorithm achieved reductions of 3.61% compared to the CHHO algorithm, 12.45% compared to the HHO algorithm, and 13.67% compared to the FCFS algorithm.This shows that, the existing algorithms are capable and efficient in conditions such as, less number of EVs and more number of charging options and when the number of EVs are increased these algorithms are inefficient on scheduling.But the proposed WSO algorithm gives the better performance as compared to the other algorithms in all cases of validation.

Fig. 1 .

54Fig. 1.Pictorial representation of the charge scheduling procedure using WSO algorithm.

Fig. 3 .

55Fig. 3. Functional flow diagram of the proposed WSO charge scheduling algorithm.

56https://doi.org/10.1038/s41598-024-72428-6

Fig. 5 .

57Fig. 5. Pictorial representation of the designed geographic area.

Fig. 7 .

58Fig. 7. 200 EVs scheduled using different algorithms.

Fig. 8 .

59Fig. 8. Average waiting time of 25 EVs vs 12 CS (1 to 4 CP).

Fig. 11 .

60Fig. 11.Average waiting time of 100 EVs vs 12 CS (1 to 4 CP).

Table 1 .

61Summary of different charge scheduling algorithms.

number of EVs, CS, nodes, weights, path, CS info, traffic info) Initialize EV population Evaluate initial Fitness of the Charge Scheduling Moving the current position towards best Initialize/update the WSO loop iter = 1:Max_iter Attack Defence Update new position Exploring New paths Update rank and weight based on the Fitness values YES NO Manage Charging Station Queue Relocate Weak soldiers and evaluate fitness function Is iter < Max_iter If solution_new better than solution Solution_new = solution solution = solution Move to the next iteration Iteration ++ YES NO YES STOP NO Fig

62is the grid stability metric, w 1 , w 2 , w 3 , and w 4 are the weights for each component.

63Vol:.(1234567890) Scientific Reports | (2024) 14:21795 | https://doi.org/10.1038/s41598-024-72428-6www.nature.com/scientificreports/START Initialize parameters (. 4. Flowchart of the proposed WSO algorithm for charge scheduling.Vol.:(0123456789) Scientific Reports | (2024) 14:21795 | https://doi.org/10.1038/s41598-024-72428-6www.nature.com/scientificreports/

64≤ 1 for all i and t

65Vol.:(0123456789) Scientific Reports | (2024) 14:21795 | https://doi.org/10.1038/s41598-024-72428-6www.nature.com/scientificreports/

Table 2 .

66Basic Information of the Defined Geographic Area.

Table 3 .

67Specifications of EV battery.

68Vol:.(1234567890) Scientific Reports | (2024) 14:21795 | https://doi.org/10.1038/s41598-024-72428-6

Table 4 .

69Charging station distance from each point.

Table 5 .

70Accessible charging stations in the shortest path between two points.Number of mutual connections in each charging stations.

71Vol:.(1234567890) Scientific Reports | (2024) 14:21795 | https://doi.org/10.1038/s41598-024-72428-6

Table 6 .

72Average waiting times of EVs with respect to different number of EVs and charging piles in 100 iterations.

73S.

Table 7 .

74Average charging cost of EVs with respect to different number of EVs and charging piles in 100 iterations.

75S.

참고문헌 34건

  1. Optimal Charging Scheduling of Electric Vehicles in Smart Grids by Heuristic Algorithms Energies · Multidisciplinary Digital Publishing Institute · 2014 10.3390/en7042449
  2. A probability transition matrix based decentralized electric vehicle charging method for load valley filling Electric Power Systems Research · Elsevier BV · 2015 10.1016/j.epsr.2015.03.013
  3. Charge scheduling of electric vehicles in highways Mathematical and Computer Modelling · Pergamon Press · 2011 10.1016/j.mcm.2011.11.054
  4. Rapid-Charging Navigation of Electric Vehicles Based on Real-Time Power Systems and Traffic Data IEEE Transactions on Smart Grid · Institute of Electrical and Electronics Engineers · 2014 10.1109/tsg.2014.2309961
  5. A route search method for electric vehicles in consideration of range and locations of charging stations 2022 IEEE Intelligent Vehicles Symposium (IV) · 2011 10.1109/ivs.2011.5940556
  6. Intention-Aware Routing of Electric Vehicles IEEE Transactions on Intelligent Transportation Systems · Institute of Electrical and Electronics Engineers · 2015 10.1109/tits.2015.2506900
  7. Factors influencing the choice of shared bicycles and shared electric bikes in Beijing Transportation Research Part C Emerging Technologies · Elsevier BV · 2016 10.1016/j.trc.2016.03.004
  8. Sustainability analysis of the electric vehicle use in Europe for CO2 emissions reduction Journal of Cleaner Production · Elsevier BV · 2016 10.1016/j.jclepro.2016.03.120
  9. An EV Charging Management System Concerning Drivers’ Trip Duration and Mobility Uncertainty IEEE Transactions on Systems Man and Cybernetics Systems · Institute of Electrical and Electronics Engineers · 2016 10.1109/tsmc.2016.2613600
  10. Long-term strategic planning of inter-city fast charging infrastructure for battery electric vehicles Transportation Research Part E Logistics and Transportation Review · Elsevier BV · 2017 10.1016/j.tre.2017.11.014
  11. Intelligent Transportation Systems Enabled ICT Framework for Electric Vehicle Charging in Smart City Springer eBooks · Springer Nature · 2018 10.1007/978-3-319-97271-8_12
  12. Distributed control for large-scale plug-in electric vehicle charging with a consensus algorithm International Journal of Electrical Power & Energy Systems · Elsevier BV · 2019 10.1016/j.ijepes.2019.02.020
  13. Intelligent Vehicle Routing System Using VANET Strategy Combined with a Distributed Ant Colony Optimization Lecture notes in networks and systems · Springer International Publishing · 2019 10.1007/978-3-030-11914-0_25
  14. Optimal Routing and Scheduling of Charge for Electric Vehicles: A Case Study Mathematical Problems in Engineering · Hindawi Publishing Corporation · 2017 10.1155/2017/8509783
  15. Toward Pre-Empted EV Charging Recommendation Through V2V-Based Reservation System IEEE Transactions on Systems Man and Cybernetics Systems · Institute of Electrical and Electronics Engineers · 2019 10.1109/tsmc.2019.2917149
  16. Electric vehicle based smart e-mobility system – Definition and comparison to the existing concept Applied Energy · Elsevier BV · 2020 10.1016/j.apenergy.2020.115153
  17. A traffic-aware electric vehicle charging management system for smart cities Vehicular Communications · Elsevier BV · 2019 10.1016/j.vehcom.2019.100188
  18. Coordinated Charging Scheduling of Electric Vehicles: A Mixed-Variable Differential Evolution Approach IEEE Transactions on Intelligent Transportation Systems · Institute of Electrical and Electronics Engineers · 2019 10.1109/tits.2019.2948596
  19. A decision support system for the optimal location of electric vehicle charging points 2022 IEEE International Conference on Systems, Man, and Cybernetics (SMC) · 2019 10.1109/smc.2019.8914033
  20. Electric vehicles standards, charging infrastructure, and impact on grid integration: A technological review Renewable and Sustainable Energy Reviews · Elsevier BV · 2019 10.1016/j.rser.2019.109618
  21. Estimating multi-class dynamic origin-destination demand through a forward-backward algorithm on computational graphs Transportation Research Part C Emerging Technologies · Elsevier BV · 2020 10.1016/j.trc.2020.102747
  22. Charging scheduling strategy for different electric vehicles with optimization for convenience of drivers, performance of transport system and distribution network Energy · Elsevier BV · 2019 10.1016/j.energy.2019.116807
  23. Electric Vehicle Charging Warning and Path Planning Method Based on Spark IEEE Access · Institute of Electrical and Electronics Engineers · 2020 10.1109/access.2020.2964307
  24. A new hybrid chaotic atom search optimization based on tree-seed algorithm and Levy flight for solving optimization problems Engineering With Computers · Springer Science+Business Media · 2020 10.1007/s00366-020-00994-0
  25. An optimization model for electric vehicle charging infrastructure planning considering queuing behavior with finite queue length Journal of Energy Storage · Elsevier BV · 2020 10.1016/j.est.2020.101317
  26. A new model for large dataset dimensionality reduction based on teaching learning-based optimization and logistic regression TELKOMNIKA (Telecommunication Computing Electronics and Control) · Ahmad Dahlan University · 2020 10.12928/telkomnika.v18i3.13764
  27. Improved TLBO-JAYA Algorithm for Subset Feature Selection and Parameter Optimisation in Intrusion Detection System Complexity · Hindawi Publishing Corporation · 2020 10.1155/2020/5287684
  28. Optimal design of electric vehicle battery recycling network – From the perspective of electric vehicle manufacturers Applied Energy · Elsevier BV · 2020 10.1016/j.apenergy.2020.115328
  29. HMPA: an innovative hybrid multi-population algorithm based on artificial ecosystem-based and Harris Hawks optimization algorithms for engineering problems Engineering With Computers · Springer Science+Business Media · 2020 10.1007/s00366-020-01120-w
  30. Charging and Discharging Strategies of Electric Vehicles: A Survey World Electric Vehicle Journal · Multidisciplinary Digital Publishing Institute · 2021 10.3390/wevj12010011
  31. Charging Station Recommendation for Electric Vehicle Based on Federated Learning Journal of Physics Conference Series · IOP Publishing · 2021 10.1088/1742-6596/1792/1/012055
  32. Fuzzy Generalized Hebbian Algorithm for Large-Scale Intrusion Detection System International Journal of Integrated Engineering · Penerbit UTHM · 2020 10.30880/ijie.2020.12.01.008
  33. War Strategy Optimization Algorithm: A New Effective Metaheuristic Algorithm for Global Optimization IEEE Access · Institute of Electrical and Electronics Engineers · 2022 10.1109/access.2022.3153493
  34. Mitigation of Complexity in Charging Station Allocation for EVs Using Chaotic Harris Hawks Optimization Charge Scheduling Algorithm IEEE Access · Institute of Electrical and Electronics Engineers · 2023 10.1109/access.2023.3334672