Abstract
Uncoordinated and instantaneous charging decisions made by electric vehicle (EV) drivers create bottlenecks in existing infrastructure, leading to inefficiencies and prolonged waiting times, and resource losses that challenge sustainable transportation systems. This study proposes a “scenario-based” optimization approach targeting the stochastic behaviors of independent EV drivers, incorporating individual risk-taking profiles and balking mechanisms to promote infrastructure sustainability. The proposed algorithm integrates a discrete-event simulation with a Genetic Algorithm (GA) as a decision support mechanism. The optimization focuses on a vehicle cohort entering the route once the system reaches a steady-state saturation point during peak evening hours. GA parameters are optimized using the Taguchi method to maximize robustness. The results demonstrate that, compared to the baseline scenario where drivers act individually, the proposed decision-making mechanism can achieve up to a 20% reduction in the total travel time of the optimized vehicle group. Overall, the proposed model offers a scalable framework for optimizing individual charging behaviors, thereby contributing to more predictable, resource-efficient, and sustainable management of electric vehicle charging infrastructures.
1. Introduction
The automotive industry has been experiencing a rapid transformation in recent years with the widespread adoption of electric vehicles (EVs). Along with technological advancements and increasing consumer demand, EVs have begun to move out of a hard-to-reach market and become a mainstream part of transportation. However, this rapid growth creates significant demand pressure on a charging infrastructure that is not yet fully mature [1]. Specifically, international energy reports indicate that while global electric car sales are expected to reach 28% of total car sales in 2026, the deployment of corresponding high-power infrastructure lags behind, with vehicles capable of utilizing ultra-fast chargers above 250 kW accounting for less than 5% of the current vehicle stock [2]. This availability gap severely intensifies peak-hour charging demand, resulting in localized bottleneck formations and prolonged driver waiting times at high-density highway hubs during transit periods. The most fundamental limitations brought by EVs, compared to internal combustion engine vehicles, are long charging times and relatively more limited ranges [3]. This situation, especially in long-distance travel or in intensive urban use, leads to unpredictable and undesirable waiting times at charging stations. These real-world infrastructure imbalances are further intensified by peak-hour charging congestion, where uncoordinated driver charging behavior directly leads to prolonged station-level waiting time. Queues formed at charging stations not only negatively affect the driver experience, but also cause inefficient use of the existing infrastructure and an “infrastructural bottleneck” problem [4,5].
This infrastructural bottleneck occurs due to the effect of charging decisions taken by drivers independently of each other and based on instant information and behaviors. In current systems, a driver usually prefers the nearest or cheapest charging station when the energy of their vehicle decreases. However, dozens of drivers acting with a similar approach at the same time cause serious accumulations and long queues at some stations, while leaving the stations at other points of the route idle [6]. This situation reduces the overall efficiency of the system and increases the total waiting time for all drivers. The resulting time losses and the prevention of these make the problem suitable to be studied from different aspects in different fields. Academic studies on EV charging infrastructure, driver behaviors and management are spread over a wide range reflecting the multidimensional nature of the problem [7].
The increase in demand for electric vehicles has also accelerated infrastructure studies related to electric vehicle charging stations. It can be said that the basis of the research is formed by studies related to strategic infrastructure planning. These studies present the determination of charging station location with Multi-Criteria Decision-Making (MCDM) methods [8], optimization of station capacity and simulation for correct positioning [9], and regional solutions and alternative projections using mathematical models. In addition to these approaches, the literature also includes innovative infrastructure models such as Mobile Charging Stations (MCS) [10] and Battery Swapping Stations (BSS) [11], which offer flexibility to overcome the limitations of fixed stations and increase operational efficiency. Furthermore, macro-level infrastructure planning has recently expanded into advanced paradigms; this includes utilizing conditional generative adversarial networks for short-term station load prediction and operational planning [12], developing systematic frameworks to evaluate infrastructure resilience against urban grid anomalies [13], and analyzing spatial accessibility under integrated home and workplace dual-scenarios [14]. In this context, recent research has also deployed interpretive structural modeling and generative artificial intelligence for optimal charging station location selection [15,16].
Some research has focused on the operational efficiency of the existing infrastructure. Studies in this field take into account factors such as determining future demand projections [17], using real-time traffic and station capacity data [18,19,20], and modeling the arrival dynamics of vehicles to stations (range, battery status) [21]. These models aim to increase system efficiency by directing vehicle traffic to less crowded stations [8,22,23]. In addition, in terms of operational efficiency, studies that include efficient use of energy through smart grids, minimization of facility costs [9], dynamic energy pricing strategies [24], and technical improvements extending battery life [25] show the depth of research in this area.
Parallel to these studies, research on regional charging station placement [26,27], demand forecasting according to current placement and determining future projections [17], directing existing demand according to station density [8,22,23], reducing/optimizing queues at stations, keeping the number of vehicles waiting for service at certain levels, charging time optimization [28], and material-based technical improvements [25] have started to appear in the literature. In addition, the efficient use of energy at charging stations through smart grids, facility feasibility, cost minimization [9], and studies on energy pricing have been given considerable space in the literature [24]. In studies addressing the need for fast charging at stations, there are also models that give charging restrictions to vehicles considering queue length and that create a queue model by giving priority between vehicles [29].
Apart from these topics, regarding vehicle travel, research has focused on the Electric Vehicle Routing Problem (EVRP). This problem, extensively studied in the context of logistics, aims to determine the shortest or lowest-cost routes including charging breaks [30,31]. Studies have used mathematical and simulation-based models that address time, charging duration, and cost minimization together [28,32]. In the commercial use of electric vehicles, studies have been encountered on cost, determining charging time, electric vehicle routing [30,31], mathematical modeling focused on time, charging and cost minimization [28,32], simulation, agent-based simulation [26], and even studies investigating the reaction of people in a region to the installation of charging stations in certain areas [33]. In studies on stations, traffic [18,19], station capacity, the maximum acceptable waiting time for the customer, vehicle arrival at the station, range, and battery characteristics are some of the criteria considered [21].
It can be said that research gaps still exist at the intersection of all these approaches. Operational management models either reach a solution by focusing on the efficiency of a single station or develop local approaches without considering the whole network. Modeling the instantaneous charging decisions of individual drivers involves high stochasticity and non-linear queue dynamics that are difficult to capture with static analytical models [7]. Furthermore, accessing high-resolution real-world data regarding driver impatience and specific battery thresholds is a significant challenge. To overcome these limitations, this study employs an event-based simulation approach as a controllable test environment. This approach enables the creation of realistic traffic models under dynamic conditions and the testing of the optimization algorithm. The limited access to real-world traffic flow, energy consumption, and charging station usage data—due to commercial confidentiality and technical challenges in high-resolution data collection processes—is one of the primary motivations for developing a simulation-based test environment in this study. As part of the study, a comprehensive five-day simulation was conducted to model heavy traffic flow on the highway. The third day of the simulation at 7:30 P.M. was selected as the optimization focus; this time period falls within a segment where the system has completed its warm-up phase, reached a stable steady state, and where station queues begin to intensify.
The charging decisions for a representative cohort of 10 vehicles entering the system at this time were optimized using a Genetic Algorithm (GA), with hyperparameters systematically tuned through the Taguchi experimental design to ensure robustness. To protect the developed charging decision optimization model from infeasible solutions, the genetic algorithm includes a special repair operator that enforces the maximum charging dwell time constraint throughout the evolutionary process. By optimizing individual charging plans within a specific vehicle group during congested peak hours, this framework serves as a decentralized decision support tool that enhances driver time efficiency while contributing to sustainable transportation systems. This proposed model offers a modular and scalable structure capable of generating solutions for any route scenario where traffic density and infrastructure data are provided, rather than being limited to a specific route configuration. The model can be used and adapted in various configurations for any driver or group of drivers at any given time. To validate the optimization, the entire five-day simulation cycle was run from the beginning for each candidate solution, with the decisions of vehicles outside the target group held constant. The simulation results were then compared with the optimization results containing the best solution. Parameter tuning experiments therefore take approximately 9 h using the system described in the “optimization workflow” section.
In the following sections of this article, the architecture of the proposed simulation model, the mathematical formulation of the optimization problem, and the details of the Taguchi methodology used for parameter optimization, the experimental design results, the optimal parameter set, and the statistical significance of these parameters are presented and discussed. Finally, the general results of the study are summarized and future research is addressed.
2. Methodology
The electric vehicle charging decision model proposed in this study is built on an approach consisting of two main components: a discrete-time simulation model and a Genetic Algorithm-based optimization model that optimizes the decisions of the vehicles that join the highway at a certain moment of the simulation. The general purpose of the method is to determine the charging station assignments that will minimize the total travel time for vehicles on a specific route. The steps of the method of the study and the created optimization environment are given in the general framework in Figure 1.
Figure 1.
Solution space and application stages.
The main motivation for establishing the pre-optimization simulation model is to overcome the difficulties experienced in accessing realistic traffic, energy consumption, and charging data. With this goal, a simulation environment was developed using the Python programming language and the SimPy library in order to create a dynamic environment where the optimization algorithm will be tested and its performance will be measured. This simulation represents a highway route of a certain length. On the route, it is assumed that charging stations are positioned every 30 km, each having eight charging units with similar capacity. The main active entities in the simulation are the “vehicle” agents. At the start of the simulation, each vehicle is assigned an initial range and a charging decision mechanism according to certain rules (see Section 2.1.3). The entry of new vehicles into the system is modeled using defined statistical distributions at certain times of the day to reflect the stochastic nature of traffic (see Section 2.1.2).
The basic scenario models the situation where vehicles act completely individually without any central guidance. This behavior is provided by the “risk-taking profile” assigned to each driver at the time they enter the simulation. This basic scenario was run for five days and performance metrics such as queue lengths at stations, waiting times, and total travel times were recorded in detail. These data were used as a reference point to measure the success of the optimization model.
The system is designed to have the general capability to optimize the charging decisions of “n” vehicles that join the route at any moment of the simulation. As a specific application in this study, the evening of the third day (19:30), when traffic and station density are closest to reality, was chosen. After this time, the problem of determining at which station 10 vehicles entering the system will charge was modeled and solved with a Genetic Algorithm. In the GA, each potential solution (charging plan) is represented by a data structure called a “chromosome.”
Finally, since the performance of the Genetic Algorithm largely depends on its internal parameters such as population size, crossover rate, and mutation rate, the most effective combination of these parameters was systematically determined with the Taguchi experimental design. The GA was run repeatedly with different parameter levels and the fitness values (minimum travel time) obtained at the end of each experiment were analyzed over the signal-to-noise (S/N) ratios. The optimal parameter set obtained as a result of this analysis was used in the actual optimization experiments. In the sub-sections, the simulation and optimization stage are given.
2.1. Electric Vehicle Travel Simulation
In the study, in order to model the preference and waiting behaviors of electric vehicles for charging stations on a specific route, an event-based simulation environment was developed. The simulation environment is basically built on two main components. These are: the vehicles, which are dynamic entities, and the charging stations, which are static resources. The route expressed in Figure 1 is defined as a 260 km long highway where traffic flows in one direction. On the route, a total of eight charging stations located 30 km apart are positioned. In order to focus on the basic dynamics of the system, it is assumed that all stations have the same capacity of eight charging units (C) and all vehicles have the same type of battery and charging technology. The created environment provides flexibility as much as possible so that alternative scenarios can be tested.
The basic process of the simulation includes adding vehicles to the route, making charging decisions during the journey, and calculating the waiting times, station density, and total travel times resulting from these decisions. The process starts with vehicles entering the route according to defined arrival criteria. When these vehicles reach each station on the route, they decide to charge or proceed to the next station by considering criteria such as their current charge percentage and the instant density of the station.
Throughout the simulation, data were recorded in order to provide input to the optimization model and to analyze system performance. Station performance metrics include waiting times and densities at different times of the day (morning, noon, evening, night). Vehicle performance metrics include total travel time, speed, distance traveled, time records related to travel and charging processes (start, end, etc.), the identity of the station where charging was taken, and whether the vehicle was stranded due to running out of charge. The simulation was run with predefined rules and assumptions such as arrival, driver profile, vehicle type, which will be detailed in the sub-sections.
2.1.1. Simulation Resources and Queue Formation
In the simulation model, each charging station works like a small service center that can serve up to eight vehicles at the same time. Service priority at the stations is determined according to the “First-In, First-Out” (FIFO) rule.
When vehicles arrive, they either start receiving service at an empty charger, or if there is no available charging plug, they join the queue. Waiting times are calculated by subtracting their arrival time from the moment they start charging. It is assumed that once the vehicles start charging, they will charge until they are fully charged. Therefore, the service time is calculated by subtracting the current energy from the capacity of the vehicle and dividing this value by the charging speed per minute. The average service time (Ŝj) can be expressed in Equation (1).
Here, sj,k k. denotes the duration (in minutes) of the k-th service, and nj represents the total number of services.
When a charging unit becomes available, the duration for which it provided service is recorded, and the average service time for that station (initially set at 20 min) is recalculated. In this way, both the number of waiting vehicles and the occupancy status of each charging unit are tracked on a daily and hourly basis.
2.1.2. Vehicle Generation and Physical Movement
In order to make the traffic density during the day realistic, each day was divided into four different time periods, and vehicle arrivals at different frequencies were planned for each period. In order for the arrival probabilities to be equal within the defined time intervals, vehicle arrivals were modeled using a continuous uniform distribution. The time periods and vehicle arrival intervals are as follows:
- 07:00–08:59: one vehicle every 10–20 s
- 09:00–16:59: one vehicle every 30–40 s
- 17:00–19:59: one vehicle every 8–18 s
- 20:00–06:59: one vehicle every 40–120 s
Each vehicle is assigned a constant speed suitable to a normal distribution with a mean of 90 km/h and a standard deviation of 10 km/h. It is assumed that the vehicles are not affected by each other’s speed and that no accidents occur. The range of the vehicles is 350 km, and their energy consumption per kilometer is assumed constant (0.286%). These assumptions were made to isolate the effects of driver charging decision behaviors and queue dynamics from other variables, to stay away from hard-to-predict and complex calculations, and to examine and produce solutions more clearly.
Each charging station is a checkpoint where the vehicle’s position and current charge are checked. If a vehicle’s energy is not enough to reach the next station, the point where it would be stranded between two stations is calculated, and it is assumed to be removed from the simulation by being towed with roadside assistance.
The state of charge of the vehicles at the moment of entering the system is assigned using truncated normal distributions that vary according to different times of the day, as given in Table 1.
Table 1.
Vehicle initial energy assignment by time of day.
The simulation entry charge state is obtained from a truncated normal distribution between 10% and 99%, with higher averages during the 07:00–09:00 peak, levels close to 50% at midday, levels similar to the morning hours during 17:00–19:00, and similar ranges to midday during night hours. Table 1 shows how the departure energy is sampled.
Each vehicle entering the system is assigned a unique ID and a driver profile. This profile contains parameters that determine how willing the driver is to take risks, the critical battery threshold, the maximum time they can tolerate waiting, and how many charging stops they can make in one day. In this way, all drivers are turned into a heterogeneous community based on individual differences, rather than a homogeneous mass repeating the same set of behaviors.
2.1.3. Driver Profiles and Charging Decision Mechanism
At the start of the simulation, each driver is randomly assigned a “Risk Aversion” value from a uniform distribution in the range [0, 1]. This value is created so that “1” represents the most cautious profile, and “0” represents the most risk-taking profile. Other behavioral parameters such as the driver’s critical energy threshold, waiting tolerance, maximum number of stops, and charging avoidance time are derived from this basic risk profile value according to the calculations in Table 2.
Table 2.
Driver profile schedule.
The charging avoidance, maximum stops, and general waiting tolerances of the drivers are used in the charging decision mechanism calculations explained below, together with the risk aversion value assigned to them and their state of charge when they arrive at stations. A driver’s decision to charge at a station is determined upon each station arrival by the mechanism shown in Figure 2, with the steps detailed as follows:
Figure 2.
Charging decision-making mechanism.
- Precondition 1: After a driver stops at a station, according to their risk-taking profile, they can only come to the stage of making a decision to stop at a station again after driving for a minimum of 30 min and a maximum of 90 min. Here, the more the profile tends to take risks, the closer the time is to 90 min; the more the profile avoids taking risks, the closer the time is to 30 min. (30 min + 60 × (Risk Taking))
- Precondition 2: A driver can stop for charging at most 2 times.
- Energy threshold check 1: If the remaining energy is at or below the critical energy level, the higher the driver’s risk-taking rate, the higher the probability of not stopping at the relevant charging station (the probability of passing without stopping changes between 1% and 0.01% depending on the driver’s risk profile: the higher the risk-taking, the closer to 1%; the lower the risk-taking, the closer to 0.01%). For this decision, the waiting tolerance is not examined.
- Energy threshold check 2: If the remaining energy is 75% or above, the higher the driver’s risk-taking rate, the higher the probability of not stopping is assigned. The probability of passing without stopping at the charging station is between 99% and 100% depending on the driver’s risk profile. If, as a result of this criterion, the decision is to charge, the driver’s waiting tolerance is checked. If it matches the tolerance, the charging decision is made.
- Energy threshold check 3: If the remaining energy is below 75% and above the critical energy level, the less risk-taking the driver’s profile is, the more they can accept waiting in the queue up to twice their defined waiting tolerance to enter the queue and charge. The user who can take the most risk can wait only up to half of the waiting tolerance determined for them.
It is crucial to note that the simulation incorporates a “balking mechanism”. Drivers evaluate the instantaneous queue length according to their risk profile upon arrival. If the waiting time exceeds their tolerance, they bypass the station. This behavior creates a “Lost Demand” phenomenon, which effectively regulates the system load. Consequently, this prevents infinite queue formation even when the theoretical arrival rate momentarily exceeds station capacity, mirroring real-world driver impatience.
2.1.4. Data Collection and Performance Measurements
During each charging process, the actual waiting and service times are recorded, and both the vehicle’s total travel time and the probability of becoming stranded are monitored. At the station level, occupancy rates within time intervals and the historical queue lengths are stored. All these measurements are used both to validate the simulation and as input to the fitness function of the Genetic Algorithm.
2.2. Optimization
The primary objective of the proposed optimization model is to minimize total travel time by identifying the optimal charging decision for a given set of vehicles, thereby increasing efficiency in the decision-making process. To reach this goal, a genetic algorithm (GA), which is a search and optimization method based on natural selection, is utilized to optimize the charging behaviors of electric vehicles in the highway network.
The optimization problem was defined over a specific scenario in order to create an experimental environment. This scenario was determined as the optimization of the charging decisions of the first 10 vehicles included in the system after 19:30 on the third day of the simulation, when the system reached a stable but congested state and evening traffic intensified. The reason for selecting this time period is to test the model under a challenging scenario involving heavy traffic and high station density. The selection of this specific time window is justified by the observation that the average number of vehicles in the queue begins to exceed two during these hours, as evidenced by the hourly average queue length analysis presented in Section 3.1.
While this simulation currently serves as a means of generating controlled data to overcome the scarcity of real-world data, the basic framework of the proposed GA can be adapted to suit live operational environments. In a practical smart transportation application, the static assumptions within the simulation can be gradually replaced with experimental data streams via dynamic information networks. For example, rather than relying on simulated driver profiles, targeted vehicle groups can transmit real-time State of Charge parameters directly from in-vehicle telematics via standard Application Programming Interfaces (APIs). At the same time, rather than running a global simulation cycle for each feasibility assessment, the optimization model can query live occupancy data and queue profiles directly from active Charging Station Management Systems.
Under this type of interconnected architecture, GA can function as a cloud-based decision support engine that transforms real-time highway data into proactive route recommendations. This process can be designed to repeat continuously for each new group of vehicles entering the highway. On routes where traffic dynamics and charging station occupancy data can be easily obtained, this framework can ultimately function as a predictive system that provides personalized recommendations for the most suitable charging locations and schedules, tailored to the driver’s specified destination. Consequently, the proposed methodology is not structurally limited to a virtual environment; rather, it is designed to reduce real-world network pressures, station usage imbalances, and local peak-hour congestion by optimizing individual driver choices.
2.2.1. Optimization Process Flow
The entire simulation and optimization process was developed and executed using the Python programming language (v3.13.2). The discrete-event simulation framework was constructed utilizing the SimPy (v4.1.1) library to dynamically model vehicle movements, queue behaviors, and charging station resource allocations. High-performance numerical computations and multi-dimensional matrix operations were performed using NumPy (v2.2.2), while comprehensive data management, structured logging, and performance metrics evaluation were handled via the Pandas (v2.2.3) library. To parallelize the most computationally intensive step—the genetic algorithm’s fitness evaluation—Python’s built-in multiprocessing library was utilized, enabling concurrent execution across multiple core threads. Statistical data visualization, occupancy heatmaps, and distribution analyses were generated using Matplotlib (v3.10.0) and Seaborn (v0.13.2) data visualization engines. All optimization experiments were conducted on a workstation equipped with an Intel Core i7-1165G7 CPU @ 2.80 GHz, 8 GB RAM, and a Windows 11 operating system. The runtime for a single optimization experiment was approximately nine hours. To ensure the highest accuracy and a statistically rigorous comparison with the baseline scenario, the entire five-day discrete-event simulation is re-initialized and executed from the beginning (Time = 0) for every single chromosome in each generation.
While this high computational demand is necessary for validating the methodology in a research environment, real-time applications could utilize parallel computing or pre-trained surrogate models to reduce fitness evaluation time to milliseconds.
The optimization process begins with the user specifying the vehicle group and time interval to be optimized. Then, the GA loop is executed for the predefined number of generations. At the end of the process, the solution yielding the best (lowest) fitness score according to the minimization objective is selected. Using this optimal strategy, the system is simulated one final time and the results are recorded. Finally, the pre-optimization (baseline) and post-optimization results are compared, and the improvement rates are reported. The general flow of the optimization process is summarized in Figure 3.
Figure 3.
General flow chart of the optimization process.
2.2.2. Genetic Algorithm Architecture
Due to the combinatorial nature and large search space of the problem, a Genetic Algorithm—an evolutionary computation technique—was chosen as the solution approach. The developed GA architecture consists of the following key components:
Chromosome structure: Each potential solution is represented by a “chromosome,” which consists of a sequence of genes corresponding to each optimized vehicle (Figure 4). Specifically, each solution is structured as follows:
Figure 4.
Schematic representation of chromosome and gene structure.
- Gene: A binary vector with a length equal to the total number of stations, representing the charging strategy for a single vehicle.
- Vector value: A value of “1” in the j-th position of the vector indicates that the vehicle will charge at the j-th station. A value of “0” means it will pass without stopping.
Encoding strategy: The choice of binary encoding is specifically tailored to the discrete nature of the charging decision problem. Each gene directly maps to the binary “Charge (1)/Bypass (0)” decision at each station, allowing the GA to efficiently explore the combinatorial space of potential charging plans without the need for complex decoding layers.
Constraint Handling and Repair Mechanism: A special correction operator has been developed to ensure the feasibility of the charging decision-making mechanism by avoiding infeasible solutions (such as illogical and infeasible solutions that result in stopping at three consecutive stations). Any chromosome that violates the maximum charging stop constraint (i.e., containing more than two “1”s in a gene)—whether generated during initialization or resulting from crossover and mutation—is automatically repaired by randomly converting excess “1s” to “0s”.
Fitness function: The fitness function, which determines how “good” a chromosome is, runs the simulation model for each candidate solution. The evaluation process has a multi-step structure that includes penalty and normalization mechanisms.
- Simulation-based evaluation: The fitness value of a chromosome is calculated by running a full simulation under the charging strategies it defines, enabling measurement of its impact on overall system dynamics.
- Penalty mechanism: A vehicle running out of energy before completing its journey (being stranded) is an undesirable outcome. To eliminate solutions that include this situation, a deterrent penalty score (Pi) is added to the fitness score. This penalty given in Equation (2) is proportional to how far the vehicle could not approach the destination:
- Normalization of performance metrics: To combine metrics of different scales (travel time and penalty score) fairly, Min–Max normalization was used. The minimum and maximum reference values required for normalization are read from the file containing the results of the baseline scenario run before optimization. The normalized form of a Ti travel time is calculated as in Equation (3):
- Integrated fitness function: The final fitness score of a chromosome is the average of the normalized travel time (norm(Ti)) and penalty score values of all optimized vehicles. The aim of the optimization is to minimize this F value. The function is given in Equation (4).N represents the total number of optimized vehicles; norm (Ti), represents the normalized travel time of the i-th vehicle; and (Pi) represents the penalty score of the i-th vehicle.
Genetic operators: Standard genetic operators (selection, crossover, mutation) were used for the evolution of the population and to search for better solutions. To maximize the performance of the GA, which operators and hyperparameters (e.g., population size, mutation rate) will be used were determined by the Taguchi experimental design methodology, detailed in the next section.
2.2.3. Determination of Genetic Algorithm Hyperparameters—Taguchi Experimental Design
In the study, the Taguchi experimental design methodology was used to determine the optimum levels of the control factors (hyperparameters) that affect the performance of the genetic algorithm (GA). This method was preferred because of its efficiency in determining the main effects of factors on the system and providing a robust system design against noise factors with far fewer experiments compared to a full factorial experiment. The aim is to find the hyperparameter set that will enable the GA to reach the best solution in the fastest and most stable way by minimizing the fitness function value.
Taking into account literature review and the use of GA in electric vehicle applications, six main factors expected to most affect optimization performance and three levels for each factor [28] were defined [31,34,35]. These factors and their levels are presented in Table 3 [28].
Table 3.
Genetic algorithm optimization factors and levels.
The factors were determined as one 2-level factor (Selection Method) and five 3-level factors. Since it contains mixed-level factors, the L18 (21 × 37) orthogonal array, which is suitable for this structure, was chosen. This array allows the main effects of the factors to be investigated efficiently with a plan of 18 experiments. Minitab 21 software was used to create the experiment plan and perform statistical analysis of the results. In accordance with the standard structure of the L18 orthogonal array, the 18 different experiment combinations created with Minitab are given in Table 4.
Table 4.
Experiments performed.
The experiments were carried out with the specified parameter sets, and then analysis of variance (ANOVA) was performed to test the effects of the factors on the Taguchi signal-to-noise ratio. All findings related to the analyses and the determination of the optimal hyperparameter set are presented in detail in the Results and Discussion Section.
3. Results and Discussion Methodology
In this section, the findings of the study are presented under two main headings: simulation results and optimization results. First, the simulation outputs representing the virtual environment and baseline scenario in which the optimization model was tested were analyzed, and then the optimization results obtained with the Genetic Algorithm and the statistical validity of these results were examined.
3.1. Simulation Results
The simulation outputs were generally composed of basic data regarding the total travel time, waiting time, service time, and number of stops per vehicle. During the five-day simulation period, a total of 13,107 vehicles were included in the system, of which 13,106 successfully completed the simulation. Only one vehicle was stranded and could not complete the simulation. The average travel time was calculated as 222.36 min, and the average number of charging per vehicle was 1.41. These data suggest that the sampling of charging station locations and the accepted existing range capacity for vehicles were sufficient.
The average risk avoidance rate of the driver profiles in the simulation was calculated as 0.50, and the average critical energy threshold as 20.01%. The effect of driver profile behaviors on travel metrics is summarized in Figure 5.
Figure 5.
Average travel, service, and waiting time per profile.
- When examining the “Average Waiting Time per Profile” graph, it was observed that high-risk drivers had the longest waiting times (approximately 15 min), while low-risk drivers had the shortest waiting times (approximately 8 min). This indicates that high-risk drivers tend to operate closer to their critical energy thresholds and therefore cause greater congestion at charging stations.
- The “Average Service Time per Profile” graph showed that the average service times were similar across all risk profiles (approximately 20–22 min). This suggests, for this simulation, that the service speed at charging stations is not directly related to the driver profile but rather depends on technical factors such as charging duration.
- According to the “Average Travel Time per Profile” graph, the average travel time of low-risk drivers was approximately 75 min, while that of high-risk drivers could exceed 100 min. This difference can be attributed to high-risk drivers delaying their decisions to stop for charging, which may potentially result in longer charging times or more waiting at stations with higher occupancy rates.
As seen in Figure 6, while waiting times at stations were largely concentrated in the 0–5 min range, waiting times exceeding 25–30 min were also rarely observed. The service times in the simulation were mostly within the 14–21 min band.
Figure 6.
Average station service time and waiting time.
The heatmap presented in Figure 7 clearly shows at which hours of the day and at which stations congestion increases. It was observed that occupancy rates increased to 35–40% particularly during midday and evening hours (between 12:00–20:00), while they dropped to as low as 12% during nighttime hours. These changes in congestion demonstrate the effect of the traffic arrival rules defined during the day on the system. The heatmap also shows that the stations at the beginning of the route were more congested in the early morning hours. This can be interpreted as being due to vehicles starting their journey at night and having a lower initial energy level, thus tending to charge at the first stations.
Figure 7.
Heatmap of average station occupancy by hour.
When examining the hourly average queue lengths in Figure 8, it was seen that even during the busiest hours of the day, the average queue length remained below one vehicle. This supports that the general waiting times were at reasonable levels. The fact that instantaneous queue lengths rarely reached the level of 5–6 vehicles even during peak demand times suggests that the driver profiles and charging area capacity in the simulation were realistic.
Figure 8.
Hourly average queue length.
Figure 9 illustrates the network-wide hourly average occupancy rate across all stations, calculated over the five-day simulation period. As shown in the profile, the occupancy rate increases after hour 7 and maintains plateau between 35% and 41% during afternoon and evening hours.
Figure 9.
Hourly network-wide average occupancy profile.
This plateau validates the selection of the 19:30 time window as a representative high-occupancy scenario to test and evaluate the proposed individual driver recommendation framework.
It is important to discuss the potential influence of the underlying simulation infrastructure on these baseline outcomes. In realistic highway networks, spatial asymmetries in station placements, heterogeneous charger power levels, and variable energy consumption profiles driven by traffic waves, passenger loads, or topography would naturally introduce higher real-time volatility. Relaxing these uniform boundary conditions would likely lead to more transient, unpredictable bottleneck formations and severe localized queue spikes. Nevertheless, maintaining these controlled parameters in this study provides a mathematically tractable benchmark, ensuring that the performance improvements achieved by the GA are strictly driven by behavior-based scheduling rather than accidental infrastructure-induced variations.
3.2. Optimization Results
The optimization experiments were carried out for the first 10 vehicles entering the highway at 19:30 on the 3rd day of the simulation, taking into account the congestion during the evening hours and the station saturation in the simulation. The vehicles included in the optimization are listed in Table 5.
Table 5.
Vehicles to be optimized.
As stated in the methodology section, 18 different experimental combinations created according to the L18 orthogonal array and the response variables measured as a result of each experiment are presented in Table 6.
Table 6.
Performance results of experiments conducted with the L18 orthogonal array.
When examining the experimental results, it is seen that Experiments 9, 10, 13, 15, 17, and 18 achieved an improvement of over 20% in total travel time. When the parameters of these experiments are examined, it is seen that only one of them used the roulette selection method (D9). Experiment 9 was conducted with 400 generations and a population size of 200. In other experiments where the improvement exceeded 20%, the population size ranged from 50 to 200, and the number of generations ranged from 100 to 400.
The analyses were continued based on the “Best Fitness” value, which was determined as the main optimization objective. Since the aim of the study is to minimize the fitness value, the “Smaller-is-better” performance characteristic and the corresponding Signal-to-Noise (S/N) ratio were used in the Taguchi analysis. The main goal is always to maximize the S/N ratio. The main effects of the factors on the S/N ratios and on the means are given in Figure 10.
Figure 10.
Signal-to-Noise (S/N) ratio graph.
When the figure is examined, it is seen that the levels that maximize the S/N ratio and the levels that minimize the average fitness value overlap for all factors. The optimal factor levels determined based on graphical analysis are summarized in Table 7.
Table 7.
Optimal factor levels determined according to main effects analysis.
This is a highly positive result, showing that the factor settings that improve performance also increase system stability. The optimal factor levels determined based on graphical analysis are summarized in Table 7.
In order to verify the statistical validity of the identified factor effects, Analysis of Variance (ANOVA) was conducted on the S/N ratio response variable. The results of the analysis, performed at a 95% confidence level (α = 0.05), are presented in Table 8.
Table 8.
Analysis of variance results.
When examining the p-values, in Table 8, it is observed that nearly all factors—Selection Method, Population Size, Number of Generations, Number of Crossover Points, and Elitism Rate—exert a statistically significant effect on GA performance at the a = 0.05 level (p < 0.05). While the Mutation Rate (p = 0.090) falls slightly above this strict threshold, it remains significant at the 90% confidence level a = 0.10), indicating an influence within the optimization process. The coefficient of determination (R2) of the model, 94.50% (Table 9), shows that these factors in the model explain a very large portion of the variability in the response.
Table 9.
ANOVA model summary.
In order to confirm the stability and superiority of the optimization performance, 34 confirmation runs were conducted with the optimal hyperparameter set determined in Table 7. The “Best Fitness” results obtained from these runs were compared with the results of the 18 experiments conducted with the L18 orthogonal array using the Independent Samples t-test. The summary statistics of the “Best Fitness” values obtained from the 34 confirmation runs are presented in Table 10.
Table 10.
Best fitness values of 34 confirmation runs with optimal parameter set.
The findings in Table 11 reveal the success of optimization in two important dimensions. First, it was observed that the mean fitness value of the confirmation runs with the optimal set was lower than the mean of the Taguchi experiment set. This difference between the two groups was proven to be statistically significant by the t-test performed. The fact that the obtained p-value is much smaller than the 0.05 significance level indicates that the performance improvement provided by the optimal set is not due to chance and is statistically valid.
Table 11.
Comparative statistics and t-test results of Taguchi 18 experiment set and optimal experiment set fitness results.
The second finding is the increase in the consistency of the results. The standard deviation of the optimal set is considerably lower compared to the standard deviation of the Taguchi experiment set. This indicates that the parameters determined with the Taguchi method not only improve the average performance but also ensure good stability in the algorithm’s results.
The results show that the proposed decision mechanism provides an improvement of up to 20% in the total travel time of the optimized vehicle group compared to the scenario where drivers act individually. Because the stranding penalty is integrated into the fitness function alongside travel time (Equation (4)), it acts as a soft penalty rather than a hard constraint. This guides the genetic algorithm to prioritize overall group efficiency under heavy traffic. If optimization had been applied solely to optimize a single vehicle’s decision, the route-sticking scenario that arises in Taguchi parameter analysis and repeated experiments might not have occurred. This study shows that decision support systems that optimize individual decisions in the direction of total benefit are important for the sustainability of EV charging infrastructure, and it is thought that the developed model will contribute to studies aimed at developing intelligent decision support systems.
4. Conclusions
The primary objective of this study is to develop a model that optimizes the charging decisions of individual electric vehicle (EV) drivers in a way that safely minimizes travel time. To this end, a simulation environment (a virtual test bed) that replicates driver behavior and traffic dynamics was first created. This environment was used to generate experimental data that would be difficult to collect in the real world.
Subsequently, a Genetic Algorithm (GA)-based optimization model designed to minimize total travel time was presented, operating within this virtual environment. To address the “parameter sensitivity” and “solution instability” issues frequently criticized in the literature regarding meta-heuristic algorithms, GA hyperparameters were analyzed using the Taguchi Method to determine appropriate parameters. Through this approach, the goal is not only for the algorithm to reach the global optimum but also to consistently replicate this success with high stability in every run, free from random noise factors.
The proposed optimization approach is anticipated to deliver tangible benefits, including reduced waiting and travel times for drivers, while offering a more predictable and efficient charging experience for the broader EV ecosystem. Also, by focusing strictly on providing individual drivers with smart recommendations rather than complex system integrations, this approach offers a practical, user-level contribution to sustainable transportation. Despite its contributions, this study has limitations. The optimization is conducted on a representative 10-vehicle cohort to demonstrate a Proof-of-Concept for modular decision support. While the runtime is currently suited for offline planning or research validation, the integration of surrogate models or parallel computing could transition this framework to real-time operations. Future research may also compare this GA-based approach against other metaheuristics like Particle Swarm Optimization (PSO) or Ant Colony Optimization (ACO) to further refine its performance. Based on the findings and limitations of this study, the following future research directions are proposed:
- Multi-objective optimization: While this study focused primarily on a single objective—minimizing the total travel time of selected vehicles—future research could address the simultaneous optimization of multiple, potentially conflicting objectives such as total travel time, waiting time, and energy cost. Employing advanced multi-objective algorithms such as NSGA-II could provide more comprehensive and realistic decision-making frameworks.
- Enhanced simulation and real-time data integration: Incorporating real-time traffic data, dynamic energy consumption models and driver behavior models into an agent-based simulation framework could substantially improve the model’s ability to reflect real-world operational dynamics. When these optimization processes are scaled up to run continuously across wider vehicle populations, their potential shifts toward supporting macro-level infrastructure sustainability. Such continuous implementations can theoretically flatten systemic capacity overloads and optimize spatial queue distributions, structurally mitigating the risk of stranded vehicles across the corridor. Within this broader operational horizon, future iterations of the driver behavior model could also incorporate multi-attribute utility functions to explicitly evaluate charging prices, destination urgency, and spatial willingness to detour, thereby expanding the holistic nature of the decision support framework.
- Comparative algorithmic analysis: Comparing the performance of the proposed GA model with other popular metaheuristic algorithms specific to this problem, such as PSO or ACO, to determine which optimization model is the most effective will provide a significant contribution to the literature.
- Efficiency: Given that a single optimization cycle takes approximately nine hours under the current setup, future research could explore parallel computing techniques or machine learning-based surrogate models to reduce computational time and facilitate real-time applications.
Author Contributions
Conceptualization, O.O., F.S. and A.H.K.; methodology, O.O., F.S. and A.H.K.; software, O.O.; validation, O.O.; formal analysis, O.O.; data curation, O.O.; writing—original draft preparation, O.O., F.S. and A.H.K.; writing—review and editing, O.O., F.S. and A.H.K.; visualization, O.O.; supervision, F.S. and A.H.K.; project administration, O.O., F.S. and A.H.K. All authors have read and agreed to the published version of the manuscript.
Funding
This research received no external funding.
Institutional Review Board Statement
Not applicable.
Informed Consent Statement
Not applicable.
Data Availability Statement
The original contributions presented in this study are included in the article. Further inquiries can be directed to the corresponding author.
Conflicts of Interest
The authors declare no conflicts of interest.
Abbreviations
The following abbreviations are used in this manuscript:
| EV | Electric vehicle |
| GA | Genetic algorithm |
| MCDM | Multi-criteria decision-making |
| MCS | Mobile charging stations |
| BSS | Battery swapping stations |
| EVRP | Electric vehicle routing problem |
| S/N | Signal to noise |
| F | Fitness function |
| Pi | Penalty score |
| PSO | Particle swarm optimization |
| ACO | Ant colony optimization |
References
- Wu, J.; Su, H.; Meng, J.; Liu, F. Electric Vehicle Charging Scheduling Considering Infrastructure Constraints. Energy 2023, 278, 127806. [Google Scholar] [CrossRef] [Scilit]
- Global EV Outlook 2026: Executive Summary. Available online: https://www.iea.org/reports/global-ev-outlook-2026/executive-summary (accessed on 7 June 2026).
- Kim, M.; Jeong, B. Electric Vehicle Energy Consumption Prediction for Unknown Route Types Using Deep Neural Networks by Combining Static and Dynamic Data. J. Clean. Prod. 2025, 461, 142435. [Google Scholar]
- Shahmoradi, H.; Esmaelian, M.; Karshenas, H. An EDA-Based Method for Solving Electric Vehicle Charging Scheduling Problem under Limited Power and Maximum Imbalance Constraints. Comput. Ind. Eng. 2022, 172, 108544. [Google Scholar] [CrossRef] [Scilit]
- Zhang, H.; Tang, L.; Yang, C.; Lan, S. Locating Electric Vehicle Charging Stations with Service Capacity Using the Improved Whale Optimization Algorithm. Adv. Eng. Inform. 2019, 41, 100901. [Google Scholar] [CrossRef] [Scilit]
- Shahkamrani, A.; Askarian-abyaneh, H.; Nafisi, H.; Marzband, M. A Framework for Day-Ahead Optimal Charging Scheduling of Electric Vehicles Providing Route Mapping: Kowloon Case Study. J. Clean. Prod. 2021, 307, 127297. [Google Scholar] [CrossRef] [Scilit]
- Si, C.; Chau, K.T.; Liu, W.; Hou, Y. Optimal Scheduling for Electric Vehicle Charging: A Review of Methods, Technologies, and Uncertainty Management. J. Energy Storage 2025, 131, 117500. [Google Scholar] [CrossRef] [Scilit]
- Rani, P.; Mishra, A.R. Fermatean Fuzzy Einstein Aggregation Operators-Based MULTIMOORA Method for Electric Vehicle Charging Station Selection. Expert Syst. Appl. 2021, 182, 115267. [Google Scholar] [CrossRef] [Scilit]
- Jang, H.S.; Bae, K.Y.; Jung, B.C.; Sung, D.K. Apartment-Level Electric Vehicle Charging Coordination: Peak Load Reduction and Charging Payment Minimization. Energy Build. 2020, 223, 110155. [Google Scholar] [CrossRef] [Scilit]
- Li, H.; Son, D.; Jeong, B. Electric Vehicle Charging Scheduling with Mobile Charging Stations. J. Clean. Prod. 2024, 434, 140162. [Google Scholar] [CrossRef] [Scilit]
- Zang, C.; Liu, F.; Li, X. An Alternating Direction Multiplier Method with Variable Neighborhood Search for Electric Vehicle Routing Problem with Time Windows and Battery Swapping Stations. Expert Syst. Appl. 2024, 238, 121838. [Google Scholar]
- He, W.; Wang, X.; Zhang, Y.; Hua, R. Short-Term Load Prediction of Electric Vehicle Charging Stations Based on Conditional Generative Adversarial Networks. Int. J. Environ. Technol. Manag. 2025, 28, 1–18. [Google Scholar] [CrossRef] [Scilit]
- Mogire, E.; Kilbourn, P.; Luke, R. Resilient Electric Vehicle Charging Stations in Urban Areas: A Systematic Literature Review. World Electr. Veh. J. 2026, 17, 148. [Google Scholar] [CrossRef] [Scilit]
- Cai, L.; Cui, Q.; Yang, Z.; Liu, J.; Zhang, K. Revisiting Electric Vehicle Charging Station Accessibility: A Home and Workplace Dual-Scenario Perspective. J. Transp. Geogr. 2026, 130, 104488. [Google Scholar] [CrossRef] [Scilit]
- Ullah, I.; Zheng, J.; Iqbal, M.; Ahmad, M.; Jamal, A.; Severino, A. Interpretive Structural Model for Influential Factors in Electric Vehicle Charging Station Location. Energy 2025, 325, 136154. [Google Scholar] [CrossRef] [Scilit]
- Lee, E.H.; Lee, E. Electric Vehicle Charging Station Location Selection Using Generative Artificial Intelligence. Transp. Res. Part E Logist. Transp. Rev. 2026, 213, 104930. [Google Scholar] [CrossRef] [Scilit]
- Powell, S.; Vianna Cezar, G.; Apostolaki-Iosifidou, E.; Rajagopal, R. Large-Scale Scenarios of Electric Vehicle Charging with a Data-Driven Model of Control. Energy 2022, 248, 123592. [Google Scholar] [CrossRef] [Scilit]
- Rozas, H.; Muñoz-Carpintero, D.; Saéz, D.; Orchard, M.E. Solving in Real-Time the Dynamic and Stochastic Shortest Path Problem for Electric Vehicles by a Prognostic Decision Making Strategy. Expert Syst. Appl. 2021, 184, 115489. [Google Scholar] [CrossRef] [Scilit]
- Basso, R.; Kulcsár, B.; Sanchez-Diaz, I. Electric Vehicle Routing Problem with Machine Learning for Energy Prediction. Transp. Res. Part B Methodol. 2021, 145, 24–55. [Google Scholar] [CrossRef] [Scilit]
- An, Y.; Gao, Y.; Wu, N.; Zhu, J.; Li, H.; Yang, J. Optimal Scheduling of Electric Vehicle Charging Operations Considering Real-Time Traffic Condition and Travel Distance. Expert Syst. Appl. 2023, 213, 118941. [Google Scholar] [CrossRef] [Scilit]
- Ahmad, F.; Iqbal, A.; Ashraf, I.; Marzband, M.; Khan, I. Optimal Location of Electric Vehicle Charging Station and Its Impact on Distribution Network: A Review. Energy Rep. 2022, 8, 2314–2333. [Google Scholar] [CrossRef] [Scilit]
- Yu, Z.; Wu, Z.; Li, Q.; Bai, Q. A Map Matching-Based Method for Electric Vehicle Charging Station Placement at Directional Road Segment Level. Sustain. Cities Soc. 2022, 84, 103987. [Google Scholar] [CrossRef] [Scilit]
- Li, X.; Jenn, A. An Integrated Optimization Platform for Spatial-Temporal Modeling of Electric Vehicle Charging Infrastructure. Transp. Res. Part D Transp. Environ. 2022, 104, 103177. [Google Scholar] [CrossRef] [Scilit]
- Li, H.; Hu, L.; Jiang, Y. Dynamic Pricing, Vehicle Relocation and Staff Rebalancing for Station-Based One-Way Electric Carsharing Systems Considering Nonlinear Charging Profile. Transp. Lett. 2022, 15, 659–684. [Google Scholar] [CrossRef] [Scilit]
- Amjad, M.; Farooq-i-Azam, M.; Ni, Q.; Dong, M.; Ansari, E.A. Wireless Charging Systems for Electric Vehicles. Renew. Sustain. Energy Rev. 2022, 167, 112730. [Google Scholar] [CrossRef] [Scilit]
- Jordán, J.; Palanca, J.; Martí, P.; Julian, V. Electric Vehicle Charging Stations Emplacement Using Genetic Algorithms and Agent-Based Simulation. Expert Syst. Appl. 2022, 197, 116739. [Google Scholar] [CrossRef] [Scilit]
- Carra, M.; Maternini, G.; Barabino, B. On Sustainable Positioning of Electric Vehicle Charging Stations in Cities: An Integrated Approach for the Selection of Indicators. Sustain. Cities Soc. 2022, 85, 104067. [Google Scholar] [CrossRef] [Scilit]
- Karakatič, S. Optimizing Nonlinear Charging Times of Electric Vehicle Routing with Genetic Algorithm. Expert Syst. Appl. 2021, 164, 114039. [Google Scholar] [CrossRef] [Scilit]
- Zhang, T.; Li, X.; Zhang, Y.; Shu, C. Should Charging Stations Provide Service for Plug-In Hybrid Electric Vehicles During Holidays? Sustainability 2025, 17, 336. [Google Scholar] [CrossRef] [Scilit]
- Fateme Attar, S.; Mohammadi, M.; Reza Pasandideh, S.H.; Naderi, B. Formulation and Exact Algorithms for Electric Vehicle Production Routing Problem. Expert Syst. Appl. 2022, 204, 117292. [Google Scholar] [CrossRef] [Scilit]
- Abid, M.; Tabaa, M.; Chakir, A.; Hachimi, H. Routing and Charging of Electric Vehicles: Literature Review. Energy Rep. 2022, 8, 556–578. [Google Scholar] [CrossRef] [Scilit]
- Chen, Y.; Li, D.; Zhang, Z.; Wahab, M.I.M.; Jiang, Y. Solving the Battery Swap Station Location-Routing Problem with a Mixed Fleet of Electric and Conventional Vehicles Using a Heuristic Branch-and-Price Algorithm with an Adaptive Selection Scheme. Expert Syst. Appl. 2021, 186, 115683. [Google Scholar] [CrossRef] [Scilit]
- Wang, N.; Tian, H.; Zhu, S.; Li, Y. Analysis of Public Acceptance of Electric Vehicle Charging Scheduling Based on the Technology Acceptance Model. Energy 2022, 258, 124804. [Google Scholar] [CrossRef] [Scilit]
- Chen, Z.; Mi, C.C.; Xiong, R.; Xu, J.; You, C. Energy Management of a Power-Split Plug-in Hybrid Electric Vehicle Based on Genetic Algorithm and Quadratic Programming. J. Power Sources 2014, 248, 416–426. [Google Scholar] [CrossRef] [Scilit]
- Li, L.; Zhou, L.; Yang, C.; Xiong, R.; You, S.; Han, Z. A Novel Combinatorial Optimization Algorithm for Energy Management Strategy of Plug-in Hybrid Electric Vehicle. J. Frankl. Inst. 2017, 354, 6588–6609. [Google Scholar] [CrossRef] [Scilit]
Disclaimer/Publisher’s Note: The statements, opinions and data contained in all publications are solely those of the individual author(s) and contributor(s) and not of MDPI and/or the editor(s). MDPI and/or the editor(s) disclaim responsibility for any injury to people or property resulting from any ideas, methods, instructions or products referred to in the content. |
© 2026 by the authors. Licensee MDPI, Basel, Switzerland. This article is an open access article distributed under the terms and conditions of the Creative Commons Attribution (CC BY) license.









