Next Article in Journal
Grid Interconnection Modeling of Inverter Based Resources (IBR) Plant for Transient Analysis
Previous Article in Journal
A Method for Matching Unconventional Wells and Reservoirs Based on Semi-Analytic Models
 
 
Font Type:
Arial Georgia Verdana
Font Size:
Aa Aa Aa
Line Spacing:
Column Width:
Background:
Article

Accelerated Particle Swarm Optimization Algorithms Coupled with Analysis of Variance for Intelligent Charging of Plug-in Hybrid Electric Vehicles

by
Khush Bakht
1,
Syed Abdul Rahman Kashif
1,
Muhammad Salman Fakhar
1,
Irfan Ahmad Khan
2,* and
Ghulam Abbas
3,*
1
Department of Electrical Engineering, University of Engineering and Technology, Lahore 54890, Pakistan
2
Clean and Resilient Energy Systems (CARES) Lab, Electrical and Computer Engineering Department, Texas A&M University, Galveston, TX 77553, USA
3
Department of Electrical Engineering, The University of Lahore, Lahore 54000, Pakistan
*
Authors to whom correspondence should be addressed.
Energies 2023, 16(7), 3210; https://doi.org/10.3390/en16073210
Submission received: 21 February 2023 / Revised: 27 March 2023 / Accepted: 30 March 2023 / Published: 2 April 2023
(This article belongs to the Section A1: Smart Grids and Microgrids)

Abstract

:
Plug-in hybrid electric vehicles (PHEVs) and plug-in electric vehicles (PEVs) have gained enormous attention for their ability to reduce fuel consumption in transportation and are, thus, helpful in the reduction of the greenhouse effect and pollution. However, they bring up some technical problems that should be resolved. Due to the ever-increasing demand for these PHEVs, the simultaneous connection of large PEVs and PHEVs to the electric grid can cause overloading, which results in disturbance to overall power system stability and quality and can cause a blackout. Such situations can be avoided by adequately manipulating power available from the grid and vehicle power demand. State of charge (SoC) is the leading performance parameter that should be optimized using computational techniques to charge vehicles efficiently. In this research, an efficient metaheuristic algorithm, accelerated particle swarm optimization (APSO), and its five variants were applied to allocate power to vehicles connected to the grid intelligently. For this, the maximization of average SoC is considered a fitness function, and each PHEV can be connected to the grid once a day so that the maximum number of cars can be charged daily. To statistically compare the performance of these six algorithms, one-way ANOVA was used. Simulation and statistical results obtained by maximizing this highly non-linear objective function show that accelerated particle swarm optimization with Variant 5 achieved some improvements in terms of computational time and best fitness value. The APSO-5 solution has a considerable percentage increase compared with the solution of other variants of APSO for the four PHEV datasets considered. Moreover, after 30 trials, APSO 5 gives the highest possible fitness value among all the algorithms.

1. Introduction

Many problems are plaguing society today, including a lack of energy and pollution brought on by fossil fuels. Combustion of coal, oil, and natural gas to provide energy for various human activities, mainly for transportation, emits greenhouse gases that pollute the environment and could be health hazards. Since the first energy crisis, which prompted the transition of the power grid from a traditional centralized grid to a distributed smart grid (SG), renewable energy sources (RESs) have been used in an increasing proportion globally [1,2]. Yet, because of their unstable and intermittent character as well as their potential to be disrupted or destroyed by faults and natural catastrophes, the deployment of RESs in power systems may result in the creation of new peaks in the energy system demand profile, which has an impact on the stability of the power grid [3,4]. Transportation electrification has gained much attention in the last decade [5]. Vehicles can be categorized into three main types [6]: (1) internal combustion engine vehicles (ICEVs), (2) hybrid electric vehicles (HEVs), and (3) all-electric vehicles (AEVs).
Recently, plug-in hybrid electric vehicles (PHEVs) and plug-in electric vehicles (PEVs) have gained much attraction due to their batteries that can be charged from the traditional power grid, and thus assist automobiles to work independently in the “all-electric range” (AER). These vehicles use electric power as the only source to charge their batteries [7]. Thus, PHEVs shift energy demand from fossil fuel to electric power for the transportation sector [8]. Moreover, there can be a two-way power flow between the grid and vehicles; i.e., to meet peak power demand and provide auxiliary service to the grid, PHEVs can transfer power to the grid [9]. Therefore, advancement in technology is revamping the conventional view of power systems. Due to the enormous increase in electric vehicles, the Electric Power Research Institute (EPRI) proposed that, by 2050, 62% of US vehicles will be PHEVs or PEVs [10].
Compared with conventional vehicles, AEVs have many advantages, as discussed in [11], i.e., zero emissions of pollutants, simplicity, reliability, cost, comfort, efficiency, and accessibility. Along with all these advantages, some significant battery-related challenges for plug-in electric vehicles should be resolved. (1) Driving range: Electric vehicles face limitations in their driving range; usually, it is limited to 200 to 250 km with a fully charged battery. Research is being carried out to improve this range; e.g., the Nissan leaf has an extended range of up to 364 km [12], and the Tesla Model S can reach up to 500 km [13]. (2) Charging time: As electric vehicles have a bank of batteries, they usually take an average of 4 to 8 h to fully charge; e.g., by using the Tesla supercharger, one can charge a Tesla Model S up to 50% in 20 minutes and up to 80% in half an hour [13]. (3) Cost and weight of batteries: Electric vehicles require large battery packs, which are expensive and heavy and need considerable space in the car. Depending on the battery capacity, such vehicles have an approximate weight of 200 kg, but this can vary for different vehicle types [14]. (4) Energy management: When many PHEVs or PEVs connect to the national grid for charging, this could threaten the grid’s power stability. This could result in a blackout situation. Thus, efficient algorithms and mechanisms should be used to properly distribute the power from the grid to vehicles by considering different objective functions and system constraints [15,16]. To maximize customer satisfaction and minimize the load on the grid, a control appliance would be required to properly govern different battery loads from several electric vehicles [17].
The charging infrastructure for PHEVs or PEVs consists of three major substations, which are shown in Figure 1 [18]:
  • Conventional power grids and renewable resources
  • Intelligent charging controllers
  • PHEV or PEV battery chargers and consumers
By applying an optimization technique to the model, power can be allocated efficiently to the connected vehicles. For smart charging of PHEVs, energy demand, energy price, charging time, and battery and grid capacity should be considered. APSO and its five variants were applied to maximize the state of charge and, thus, allocate power intelligently and efficiently to vehicles. There are some constraints to be met; i.e., the state of charge and power of the vehicle, ramp rate of SoC, and sum of power supplied to vehicles should be within limits.
Due to the variation in the number of vehicles plugged in for charging at different times, there is a need for an overall demand arrangement, which will help minimize the grid strain and enhance power production and supply [19].
Charging of PHEVs can be classified into two types, i.e., household charging and public charging. In this research, public charging stations are considered, as vehicles are usually expected to be charged in public stations [20]. A systematized charging infrastructure is required for charging such a large number of cars, because these new loads are an extra burden on the existing grid [21]. Thus, to facilitate this charging infrastructure, much research is being carried out [22,23]. Moreover, research to enable adequate energy storage, reduction in cost, service quality, and optimization of power allocation from charging infrastructure to vehicles is also in progress [24].
The type of optimization problem determines the kind of optimization algorithm to be applied to obtain the best fitness value. The manufacturing and design of a product are engineering optimization problems with specific constraints to be met. Optimization problems can be categorized in terms of several constraints: the type of function, determinacy, variable types, the landscape of the objective function, and the number of objectives to be met [25,26,27,28].
There are many optimization algorithms, but the nature of the algorithm and the optimization problem will decide which algorithm will solve a problem. Optimization algorithms are of three types, i.e., deterministic optimization algorithms, stochastic optimization algorithms, and metaheuristic optimization algorithms [28]. This research incorporated metaheuristic optimization algorithms to allocate a charge to the electric vehicles’ batteries from the grid efficiently. These algorithms use stochastic and deterministic approaches to obtain optimal global results. This algorithm has two main steps: the first step is selecting the best solution, which will lead to convergence at the end of the iterations, and the second step is to include randomness to ensure that the solution will not stick to the local solution and thus increase diversity. These algorithms use an approach followed by nature: i.e., the processes used by birds and fish to find food, genetic mutation, repulsion, attraction within the species, etc. PSO, APSO, and their variants are metaheuristic algorithms.
As mentioned previously, metaheuristic algorithms always follow different trajectories when applied to the same optimization problem with the same initial conditions. Thus, if we consider two metaheuristic algorithms, say A and B, and use them on the same problem, we cannot say that algorithm A outperformed algorithm B because it gives a better global result. This is due to the stochastic (random) nature of these algorithms. Thus, to properly compare the two algorithms, we must perform statistical tests on the results obtained by applying both algorithms to the same problem many times. One-way ANOVA is a statistical test that can compare more than two metaheuristic algorithms [27,28]. The advantages of using ANOVA over other statistical tests are that ANOVA uses simple algebra for its calculations, making it easier to implement, and that more than two groups with different observations can be compared at a time [29].
One-way ANOVA (“analysis of variance”) is a parametric test that compares the means of two or more independent groups to observe whether there is some statistical evidence to prove that the associated group means are significantly different. ANOVA’s method of implementation and hypotheses are given in Appendix A.
In reference [30], plug-in hybrid electric vehicles were charged using PSO and APSO algorithms. It was concluded that the PSO algorithm has certain drawbacks, like early convergence, requiring memory to update particles, and a low-quality solution, while, on the other hand, APSO outperformed PSO. APSO is a more efficient algorithm with a single update equation, a high-quality solution, and local exploitation capability. Reference [31] also highlights the significance of utilizing the APSO technique, since it infinitesimally reduces the Big O time complexity for the common benchmark test case of the CSTHTS optimization issue. Thus, the accelerated particle swarm optimization (APSO) approach and its five variants are employed in this research project to provide real-time and large-scale optimization for intelligently distributing available grid electricity to cars while maintaining the stability of the grid system. State of charge (SoC) is the main parameter that should be maximized to charge the vehicles effectively. Six metaheuristic algorithms are employed using four automobile datasets, including 50 PHEVs, 100 PHEVs, 500 PHEVs, and 1000 PHEVs. Statistical comparisons of six algorithms are made using a one-way ANOVA test.
The paper is organized in the following way. In Section 2, the problem statement is described. Accelerated PSO and its variants are exploited in Section 3. Section 4 pinpoints the methodology adopted in the research comprehensively. Section 5 is dedicated to results and discussion, considering four datasets of PHEVs. The conclusions of the presented study are drawn in Section 6.

2. Problem Statement

The purpose of this research was to intelligently allocate available power from the grid to plugged-in vehicles. Consider a charging infrastructure of total power capacity P and N PHEVs required to be served overall, 24 h a day. The vehicle should leave the charging station before the estimated leaving time, and each PHEV can be plugged in only once a day. State of charge is the main performance parameter that needs to be maximized to intelligently provide power to each connected vehicle from the grid without risking a blackout.
The fitness function, as given in reference [20], is given in (1).
M a x J ( k ) = i ( w t i × S o C i ( k + 1 ) )
w t i ( k ) = f ( C a r , i ( k ) , T r , i ( k ) , D i ( k ) )
C a r , i ( k ) = ( 1 S o C i ( k ) ) × C a i
where C a r , i ( k ) is the remaining battery capacity required to be filled for the ith PHEV at a time step k. This is illustrated in Figure 2.
T r , i ( k ) is the remaining time left for fully charging the ith vehicle at time step k, D i ( k ) is the difference between real-time electricity price and the price which the ith vehicle’s owner agrees to pay, C a i is the rated battery capacity of the ith vehicle, S o C i ( k ) and S o C i ( k + 1 ) are the states of charge of the ith car at time steps k and k + 1, respectively, and w t i ( k ) is the weighting term of the ith vehicle, which is a function of time of charging, current SoC, and energy price. If a particular car has significantly less current SoC and less time to charge, but its owner has agreed to pay an extra cost, then the charging system will provide more power to that charger. In this research, the weighting term is randomly selected for the vehicles, and all concentration is kept to distribute the available power from the grid to the maximum number of vehicles. The optimization of weighting terms is another area for research. This example indicates the relation between w t i ( k ) , D i ( k ) , T r , i ( k ) , and C a r , i ( k ) . That is to say:
w t i ( k ) ( C a r , i ( k ) + D i ( k ) + 1 T r , i ( k ) )
The terms in (4) need to be normalized because their scales are not similar.
c a r , i ( k ) = C a r , i ( k ) M i n [ C a r , i ( k ) ] M a x [ C a r , i ( k ) ] M i n [ C a r , i ( k ) ]
d i ( k ) = D i ( k ) M i n [ D i ( k ) ] M a x [ D i ( k ) ] M i n [ D i ( k ) ]
t r , i ( k ) = T r , i ( k ) M i n [ T r , i ( k ) ] M a x [ T r , i ( k ) ] M i n [ T r , i ( k ) ]
Depending on preferences for these parameters, each has different important factors, as shown in (8). In this work, charging current is assumed to be a constant quantity over a time Δt.
w ( k ) = α 1 c a r , i ( k ) + α 2 t r , i ( k ) + α 3 d i ( k )
C a i × { S o C i ( k + 1 ) S o C i ( k ) } = Q i = I i ( k ) × Δ t
S o C i ( k + 1 ) = S o C i ( k ) + { I i ( k ) C a i × Δ t }
where I i ( k ) is charging current over a period Δt and the sample time assigned by the operator of the parking station is Δt. Q i is the charge of the battery of the ith PHEV.
Considering the battery model, a capacitor circuit with C a i denoting the battery capacitance in Farads, the equation for charging the battery is given as
C a i × d V i d t = I i
For a short time period, a voltage change can be taken to be linear.
[ V i ( k + 1 ) V i ( k ) Δ t ] × C a i = I i ( k )
V i ( k + 1 ) V i ( k ) = I i ( k ) × Δ t C a i
Now, replacing I i ( k ) with P i ( k ) because power has to be allocated intelligently, this will be the main decision parameter:
2 × P i ( k ) V i ( k + 1 ) + V i ( k ) × C a i = I i ( k )
Put I i ( k ) from (14) into (12):
V i ( k ) = 2 × P i ( k ) I i I i × Δ t C a i
Putting (13) into (15) yields a formula for V i ( k ) , which will be used in algorithm coding to find the battery’s voltage at time step k.
V i ( k + 1 ) = P i ( k ) × Δ t 0.5 × C a i + V i ( k ) 2
Substituting (12) into (10) gives S o C i ( k + 1 ) , which, along with (15), is put into (1), which will provide the final form of the objective function, which is to be maximized by applying APSO and its variants.
S o C i ( k + 1 ) = S o C i ( k ) + { P i ( k ) × Δ t 0.5 × C a i × ( V i ( k + 1 ) + V i ( k ) ) }
M a x   J ( k ) = S o C i ( k ) + i ( w t i × { ( P i ( k ) × Δ t 0.5 × C a i × ( 2 × P i ( k ) × Δ t C a i + V i ( k ) 2 + V i ( k ) ) ) } )
The above equation is the final form of the objective function, which needs to be maximized.

2.1. Constraints

Rate of charging (i.e., slow, medium, or fast required SoC), the time during which the PHEV is connected to the charger, the price of electricity that the owner of the vehicle has agreed to pay, and battery conditions and requirements are some real-world constraints that should be taken in account and solved. Furthermore, sampling time is limited by communications bandwidth, affecting the processing ability of PHEV.
Primary energy constraints include utility power, i.e., the power available from the charging grid, and maximum power charged by the vehicle. The overall efficiency of the charging station is assumed to be constant at any time step k and denoted as η. S o C i , max ( k ) is the maximum limit of battery SoC for the ith PHEV, and is user-defined. When the S o C i of the ith vehicle reaches its S o C i , max limit, the battery is fully charged, and the charger switches to standby mode. Δ S o C max limits the SoC ramp rate. The control system information updates when:
  • Utility information changes
  • A new PHEV/PEV is plugged-in
  • Δt has passed (Δt is sample time)
System constraints are defined as [32]:
i P i ( k ) P u t i l i t y ( k ) × η
0 P i ( k ) P i , max ( k )
0 S o C i ( k ) S o C i , max ( k )
0 S o C i ( k + 1 ) S o C i ( k ) Δ S o C max
The constraint in (19) ensures that a blackout situation cannot happen; i.e., the sum of power delivered to all the PHEVs should be less than the product of utility power P u t i l i t y and charging station efficiency η so that there is always some power in the charging station and the risk of blackout is reduced. Equations (20) and (21) are the constraints that each PHEV power and state of charge should always be within some specified limit. The constraint presented in (22) limits the ramp rate of the states of charge of car batteries and avoids sudden or abrupt changes in charge that could damage the battery.

2.2. Variables

The following variables are taken from reference [32] in this research:
0.2 S o C 0.8
Waiting   time 30   min   ( 1800   s )
16   kWh Capacity   of   Battery   of   PHEVs 40   kWh

2.3. Fixed Parameters

The fixed parameters remain constant throughout the use of the algorithm, as taken from reference [31].
  • The charger’s maximum limit is P i , max = 6.7   kW , meaning a particular vehicle’s power cannot exceed the 6.7 kW limit.
  • Overall charging grid efficiency is taken as η = 0.9 all the time.
  • P u t i l i t y ( k ) = η × n ( k ) × P i , max ( k ) , where η = 0.9, n is the no. of PHEVs plugged in at time step k and P i , max = 6.7   kW at any time step k.
  • Sample time equals Δt = 20 min or 1200 s.
  • Charging one vehicle multiple times in a day is not considered. Each vehicle is plugged in once a day.
Usually, a level-two charging method is considered for electric chargers of vehicles in both public and private stations. In this research, a level -two charging method is used: a single-phase outlet with 240 VAC, 32 A, and 7.7 kVA [20]. Figure 3 summarizes the problem statement.

3. Accelerated Particle Swarm Optimization Algorithm (APSO)

In 2007, at Cambridge University, to obtain convergence of the algorithm quickly by using the global best only, Yang developed the accelerated particle swarm optimization (APSO) algorithm [28]. This algorithm falls into the metaheuristic algorithms category and has been applied to many problems, as listed in [30,31,32,33,34,35,36,37,38,39,40,41]. One of the advantages of using APSO compared with other metaheuristic algorithms is its simplicity, as it uses only one update per iteration to reach convergence in a relatively short time. Thus, this algorithm requires less computational time and also uses less memory for storing data [28]; in references [26,27] a canonical version of APSO is proposed, which is simple and gives a robust solution in less iterations.
When applying the APSO algorithm to any problem, the first step is generating a set of solutions randomly initialized in each search space. Then, these particles move taking the influence of the global best solution, which is obtained by applying an updated equation to each particle. Equation (26) gives a revised equation for the APSO algorithm; i.e., the equation which will change the position of particles in each iteration using the global best so that particles converge to the final solution.
x i n + 1 = { ( 1 β ( n ) × x i n ) + ( β ( n ) × g * n ) + ( α ( n ) × ( ε 0.5 ) ) }
where x i n + 1 is the ith particle value at iteration n + 1, x i n is the ith particle value at iteration n, g * n is the global best among all the particles, α ( n ) and β ( n ) are the tuning parameters of APSO at the nth iteration, and ε is a random number between 0 and 1.
The tuning parameters play a crucial role in the performance of the APSO algorithm, as the stochastic or random behavior of the APSO algorithm increases by increasing the α value and the deterministic behavior increases by increasing the β value. Thus, when changing the tuning parameters and values the algorithm behaves differently. In this research, six variant APSO algorithms and a simple APSO algorithm were applied to the same problem. Usually, the values of α and β are between 0 and 1, but reference [28] proposed the most efficient performance range for these tuning parameters, which is 0.1 to 0.4 for α and 0.1 to 0.7 for β. It is recommended that α and β values do not exceed one because the solution diverges. According to reference [38], the values of alpha (α) and beta (β) are constant or fixed in the canonical form. Due to randomness in the algorithmic procedure, there is a low chance that the algorithm will follow the same trajectory when applied again to the same problem [42].
The optimized result found iteratively is given as an output by the optimizer. In the first iteration, particles are initialized, then these particles are influenced by the global best particle, which is shown as a blue dot with a red asterisk in each iteration. This procedure is followed in all iterations, and particles move under the influence of the global best particle. When the stopping criteria are met, particles ultimately converge to the global best result. However, the global best particle, a blue dot with a red asterisk, will show the global best solution [27].

Variants of APSO

By controlling the values of the tuning parameters, i.e., alpha and beta, in the update equation, it is possible to achieve a better result by changing the search space and the exploitation strategies for the simple APSO algorithm. The two metaheuristic algorithms can only be compared statistically. Results obtained by a single algorithm run cannot be compared statistically. Instead, each algorithm should be simulated several times, and their results can be compared. The following are the variants used in this research to achieve better results for allocating power to PHEVs. Increasing the alpha value will increase the randomization of the APSO algorithm, while changing the beta will affect the weight of both the local best of every particle and the global best particle of each iteration. There are many other variants of APSO, i.e., Levi flights, chaotic map-based methods, etc. In this research, linear changes in alpha and beta are considered. The following variants have been taken from [43] and are presented in Table 1.
In this research, the α range is taken as [0.1 to 0.4] and the β range is taken as [0.2 to 0.5] in all variants. The APSO algorithm itself gives better results, but these results can be improved by adding variations in the alpha and beta values that are actually tuning the algorithmic search procedure. Randomization can be increased by increasing the alpha value, and the weight of the local best of every particle and the global best particle of each iteration can be varied by varying the beta value. Thus, by changing the tuning parameters, the search trajectory varies and better results can be achieved.

4. Methodology

The mathematical model of the problem solved in this research is explained. The objective function in (1) is optimized using the APSO algorithm and its five variants. Following are the main steps of these algorithms used to achieve results.
  • First, generate a group of particles, where each particle is a set of random solutions; i.e., in this case, each particle is a set of powers allocated to PHEVs, but these powers should be within the limits given in the constraint equation. Moreover, it should also fulfill the constraint equation, which is that the sum of all the powers should be equal to or less than a product of Putility and efficiency of the grid. Therefore, P = {P1, P2, P3, …, Pn}, where, P1 = {p1, p2, …, pi}, P2 = {p1, p2, …, pi}, P3 = {p1, p2, …, pi}, and Pn = {p1, p2, …, pi} are generated. Here, n is the number of particles set and i is the number of vehicles connected to the grid for charging.
  • Find the voltages of batteries corresponding to the power values of each PHEV using (16).
  • Find the best fitness value by putting power and voltage values into (18) and considering the weighing terms and battery capacities.
  • Apply the APSO algorithm technique to the particles using (1).
  • All the constraints are checked at each iteration.
  • The local best fitness value is the maximum value obtained by each particle.
  • The global best solution is the maximum value obtained at the end of the iteration.
  • Update the power values using the local best and global best.
  • Apply Step 2 onward until the stop criteria are met.
  • Generate the results.
  • Apply a one-way ANOVA test to the dataset obtained after running the algorithm 30 times for each PHEV set to compare the algorithms statistically.
  • Generate the ANOVA result.

5. Results and Discussion

In this section, APSO and its five techniques are simulated to obtain the best fitness value for the fitness function stated in (18). Results for 50, 100, 500, and 1000 PHEVs are given. It can be seen that convergence occurs very rapidly. All the simulations were run on a computer with the following configuration:
  • System type: 64-bit operating system, ×64-based processor
  • Processor: Intel(R) Core (TM) i3-4010U CPU @ 1.70 GHz
  • RAM: 8.00 GB
  • Software: MATLAB R2015a
An APSO algorithm is applied to each 50-, 100-, 500-, and 1000-PHEV set; the results of 100 iterations using 100 particles are given below. Furthermore, the same data is simulated using five more algorithms, an extension of the simple APSO algorithm. In the APSO variants algorithm, i.e., from APSO Variant 1 to APSO Variant 5, the tuning parameters alpha (α) and beta (β) are recalculated in each iteration. The parameter values used for APSOs are summarized in Table 2.

5.1. Dataset for 50 PHEVs

The dataset of 50 PHEVs was simulated by APSO and its five variants, and the results obtained are given in Table 3. All these results fulfilled the constraints, and it was observed that APSO 5 provides the highest possible fitness value.
To make comparison easier, all the algorithm results are combined in Figure 4. It is shown that the convergence behaviors of these six algorithms are the same. It can be noted that convergence occurred within ten iterations. Regarding the fitness value, all APSO variants give better-optimized values than a simple APSO algorithm. Due to the tuning of the parameters in the APSO variants, provided in Table 2, alpha and beta values are taken between 0.1 and 0.4 and 0.2 and 0.5, respectively, and their value is tuned in each iteration until we obtain the best-optimized result. APSO Variant 5 gives the highest optimized value for state of charge compared with all the other simulated algorithms, as shown in Figure 4. Table 3 summarizes the results for all algorithms, and the computational time for APSO 5 is 0.2 s more than for APSO 4, but the fitness value is increased from 14.2314 to 15.758 (1.5266 difference), and this difference has a strong impact on the charging scenario. Table 4 represents the comparison between APSO 5 and other algorithmic solutions in terms of percentage increase in fitness values.
APSO and its variants are meta-heuristic algorithms that are stochastic in nature. Thus, to compare these algorithms’ performance, a statistical test should be performed, and, for this, each algorithm should be applied to the dataset approximately 30 times. We cannot say anything about the superiority of any algorithm by seeing only one result. Thus, the results obtained after applying six algorithms to the 50-PHEV dataset 30 times are given in Table 5, and the maximum value is colored blue.
After obtaining 30 trial results, a one-way ANOVA statistical test was applied to observe whether all six algorithms were statistically similar in performance or not. As discussed earlier, to compare the means of more than two independent groups, one-way analysis of variance (ANOVA) is used instead of a t-test. If the sigma value is greater than 0.05, we can say that all the groups have equal means and are statistically similar in performance, and vice versa. Statistical testing was performed on SPSS software, and the results are shown in Table 6; the sig value was 0.705, much greater than 0.05, and, thus, it was concluded that all the algorithms are statistically performing the same. However, with respect to the average value of the fitness function among the 30 trials and the maximum value among the 30 trials, it is not wrong to say that APSO Variant 5 performed better than the others because it gave the largest fitness value. Results of the one-way ANOVA test on the 50-PHEV dataset are presented in Table 6.

5.2. Dataset of 100 PHEVs

After applying the six algorithms to the 100-car set, the results obtained by all six algorithms, along with computational time, are given in Table 7.
Per Table 7, simple APSO gives 24.227, while APSO 5 gives 29.395, which will be highly beneficial when charging the vehicles because we need to charge vehicles to the maximum given utility power and must follow the constraints. The results obtained from all six algorithms are shown in Figure 5 so that they can be compared easily.
In Figure 5, it can be noted that there is a similarity in the convergence behavior for the 100- and 50-car sets. All variants outperformed the simple APSO algorithm, and APSO 5 gives the highest possible fitness value with a computational time trade-off. Table 8 compares APSO 5 with the other algorithms and shows how much the percentage of the solution increases with APSO 5. Compared statistically, the 30 trial results for the 100-car set as simulated by six algorithms are given in Table 9.
The 30 trial results show that APSO Variant 5 gives the maximum average value. We are applying one-way ANOVA to see whether these algorithms perform differently or not. It can be seen in Table 10 that the sig. value is 0.956, which is much higher than 0.05, and, thus, it can be said that all perform statistically the same.

5.3. Dataset of 500 PHEVs

Results obtained after simulating the 500-car set data are given in Table 11.
For this dataset, APSO 5 gives a maximum fitness value with comparatively less computational time. APSO 2 also shows a better maximum fitness value, but its computational time is higher than for all other algorithms. Therefore, the stochastic nature of the algorithms produces a beneficial result, as seen in this set. The convergence behaviors for all these algorithms are similar, as shown in Figure 6.
The maximum fitness value and lowest computational time are achieved in the 500-PHEV set by APSO 5. Table 12 represents the percentage increase with APSO 5 w.r.t each algorithm and proves that APSO 5 outperforms other algorithms. But to compare statistically, all six algorithms simulated this data 30 times, and their results are shown in Table 13. On applying one-way ANOVA on 30 trials, the obtained results are given in Table 14 below.
As can be seen from Table 14, the significant value is 0.917, which is much greater than 0.05, and, thus, this dataset also follows the trend that all these algorithms are statistically performing the same, but APSO with Variant 5 gives the highest possible fitness value.
However, for this dataset, APSO Variant 5 has the lowest computational time along with the highest fitness value, while, for the other datasets, APSO 5 gives the highest fitness value with little compromise on computational time.

5.4. Dataset of 1000 PHEVs

APSO and its variant algorithms were applied to the 1000-PHEV set. Keeping the constraints satisfied, the following results were gathered.
All six algorithms have exemplary convergence behavior and have very little chance of getting stuck in local maxima due to the algorithm’s stochastic nature. Additionally, all variants work better than the simple APSO algorithm due to the tuning of the parameters. It can be seen from Table 15 that APSO Variant 5 gives the maximum value among all the variants with a compromise on computational time. However, here, we are trying to provide full power from available utility power to the vehicles and maximize the state of charge. Therefore, a small difference in computational time can be ignored, and only the maximum fitness value should be considered. Table 16 shows the importance of using APSO 5, which improves the solution compared to other algorithms. The convergence behavior of the algorithms is shown in Figure 7.
Due to the stochastic nature of these algorithms, it is required to run each algorithm a certain number of times (say for 30 trials) on each PHEV set to compare their performance statistically. Therefore, again, six algorithms were applied to the 1000-car set 30 times, and the results are given in Table 17. Comparing the performance of APSO and its variants on the 1000-PHEV dataset using one-way ANOVA gives the following results shown in Table 18.
The sig. value is 0.704, which is greater than 0.05; thus, it is concluded that these six algorithms are statistically performing the same for datasets of 1000 cars.
The aim of this research was to find the algorithm that will most intelligently and efficiently allocate available grid power to the vehicles that are plugged into the charging station. Table 3, Table 7, Table 11, and Table 15 give the best fitness values, which represent the maximization of the states of charge of the batteries connected to the station so that power available from the grid will charge the vehicle batteries to the maximum. The computational times for all six algorithms applied to the 50-, 100-, 500-, and 1000-PHEV sets are not much different, while small differences in fitness value will have a large impact on the charging scenario. APSO with Variant 5 gives the highest possible fitness value with a small increase in computational time. To compare these independent algorithms statistically with each other, one-way ANOVA was used. Table 4, Table 8, Table 12, and Table 16 show the percentage increase in fitness value using APSO 5 compared with other algorithms.
The results for 30 trials are given in Table 5, Table 9, Table 13, and Table 17. After applying the ANOVA test, it can be seen in Table 6, Table 10, Table 14 and Table 18 that the value of sig. is 0.705 for 50 PHEVs, 0.956 for 100 PHEVs, 0.917 for 500 PHEVs, and 0.704 for 1000 PHEVs; these are greater than 0.05 so the hypothesis that all the population or group means are similar is correct, and we can say that all six algorithms are statistically similar in performance. However, by seeing the average and maximum values for 30 trials given in Table 5, Table 9, Table 13, and Table 17, it can be noted that APSO 5 provides the highest value; i.e., it maximizes the objective function more and is closer to the global maximum.

6. Conclusions

In this research, four sets of plug-in hybrid electric vehicles, i.e., a 50-PHEV set, 100-PHEV set, 500-PHEV set, and 1000-PHEV set, are simulated by six algorithms to allocate power efficiently to the vehicles from the grid. These six algorithms are accelerated particle swarm optimization (APSO) and its five variants. State of charge is the main performance parameter that needs to be maximized so that batteries can be charged to the maximum with the available power from the grid. The constraints that should be met during the allocation of power to the vehicles are that the power of each PHEV must be less than or equal to 6.7 kW, the state of charge of each car must be within the 0.2 to 0.8 range, and the sum of allocated power to the vehicles should be less than or equal to the product of utility power and charging station efficiency.
These constraints will avoid the risk of overcharging cars’ batteries and also avoid a blackout situation. After meeting the constraints, APSO and its variants converge within ten iterations using 100 particles in each algorithm. APSO with Variant 5 gives the highest possible fitness value, which means that, with respect to other algorithms, APSO 5 will maximize the state of charge, and batteries could be charged more efficiently with the available power. There is a small increase in computational time, but this can be ignored because the increase in fitness value is much greater and has a larger impact on the charging scenario than an increase in computational time. The APSO 5 solution achieves percentage increases of 45.49%, 24.47%, 22.44%, 18.57%, and 10.72% over the solutions of APSO, APSO 1, APSO 2, APSO 3, and APSO 4, respectively, for the 50-PHEV dataset. For 100 PHEVs, the APSO 5 solution achieves increases of 21.33%, 16.94%, 6.82%, 17.06%, and 11.81% over the solutions of APSO, APSO 1, APSO 2, APSO3, and APSO 4, respectively. Similarly, for 500 PHEVs, the percentage increases in APSO 5’s fitness value over the fitness values of APSO, APSO 1, APSO 2, APSO 3, and APSO 4 are 4.52%, 2.74%, 2.06%, 3.38%, and 3.49%, respectively. For 1000 PHEVs, these increases are 4.8%, 2.14%, 7.40%, 2.0%, and 1.01% for the APSO 5 value over APSO, APSO 1, APSO 2, APSO 3, and APSO 4, respectively.
To compare these algorithms statistically, a one-way ANOVA test was used, and 30 trials of each algorithm were required for each car set. It was proven that all these algorithms performed statistically the same. Taking an average of 30 trial results and a maximum among them, it was noted that APSO Variant 5 gives the highest possible fitness value from among all the algorithms.
This problem belongs to the domain of operational research, and finding better and better optimization algorithms for attaining better solutions is a requirement in this research area. Previously, this research problem was solved using the canonical versions of PSO and APSO. This research paper discusses some better and improved variants of the APSO algorithm that can help in providing better solutions to SOC problems. This will help researchers gain insight into the various possible solution strategies for the SOC problem.

Author Contributions

Conceptualization, K.B. and M.S.F.; methodology, K.B. and M.S.F.; software, K.B. and M.S.F.; validation, G.A., M.S.F. and S.A.R.K.; formal analysis, G.A. and I.A.K.; investigation, K.B. and S.A.R.K.; resources, M.S.F. and I.A.K.; data curation, K.B. and M.S.F.; writing—original draft preparation, K.B.; writing—review and editing, K.B., S.A.R.K. and G.A.; visualization, K.B., M.S.F., S.A.R.K. and G.A.; supervision, M.S.F., S.A.R.K., G.A. and I.A.K.; project administration, S.A.R.K. and G.A.; funding acquisition, G.A. and I.A.K. All authors have read and agreed to the published version of the manuscript.

Funding

This research received no external funding.

Data Availability Statement

Not applicable.

Acknowledgments

The authors would like to acknowledge the support of Power Planners International Pvt. Limited, Shark Innovation Labs, Rukhsana Fakhar, and Hitachi Energy Pakistan Pvt. Limited for providing the funding for establishing the Power Systems Simulation Research Lab at the University of Engineering and Technology, Lahore. The computational resources of the established lab were used in this research.

Conflicts of Interest

The authors declare no conflict of interest.

Appendix A

One-way ANOVA (“analysis of variance”) is a parametric test that compares the means of two or more independent groups to observe whether there is some statistical evidence to prove that the associated group means are significantly different. ANOVA’s methods of implementation and hypotheses are given in Appendix A. This uses the statistical difference between means of two or more independent groups. There are two hypotheses for such a test.
Hypothesis A0 (HA0).
If sig. is greater than 0.05, then μ1 = μ2 = …. = μk (all k group means are equal), i.e., all the groups are significantly similar.
Hypothesis A1 (HA1).
If sig. is smaller than 0.05, it means at least one μi is different (one of the group means is not equal to the other group means), and, thus, these groups are significantly different.
For the statistical test, there needs to be a set of data. Thus, after running algorithms several times on the same problem with the same initial conditions (suppose 30 times) and finding the means and variances for each algorithm result, we compared the means and variances of all algorithms. If there is a significant difference between the means and variances of these algorithms, i.e., the value of sig. is smaller than 0.05, then null hypothesis H1 is accepted. One can say that these algorithms performed differently on statistical grounds. If sig. is greater than 0.05 then H0 is accepted, and all the algorithms performed statistically similarly.

References

  1. Han, B.; Zahraoui, Y.; Mubin, M.; Mekhilef, S.; Seyedmahmoudian, M.; Stojcevski, A. Home Energy Management Systems: A Review of the Concept, Architecture, and Scheduling Strategies. IEEE Access 2023, 11, 19999–20025. [Google Scholar] [CrossRef]
  2. Zahraoui, Y.; Alhamrouni, I.; Mekhilef, S.; Reyasudin Basir Khan, M.; Seyedmahmoudian, M.; Stojcevski, A.; Horan, B. Energy management system in microgrids: A comprehensive review. Sustainability 2021, 13, 10492. [Google Scholar] [CrossRef]
  3. Hou, Q.; Zhang, N.; Du, E.; Miao, M.; Peng, F.; Kang, C. Probabilistic duck curve in high PV penetration power system: Concept, modeling, and empirical analysis in China. Appl. Energy 2019, 242, 205–215. [Google Scholar] [CrossRef]
  4. Zahraoui, Y.; Alhamrouni, I.; Basir Khan, M.R.; Mekhilef, S.; Hayes, B.P.; Rawa, M.; Ahmed, M. Self-healing strategy to enhance microgrid resilience during faults occurrence. Int. Trans. Electr. Energy Syst. 2021, 31, 13232. [Google Scholar] [CrossRef]
  5. Banvait, H.; Lin, X.; Anwar, S.; Chen, Y. Plug-in Hybrid Electric Vehicle Energy Management System using Particle Swarm Optimization. World Electr. Veh. J. 2009, 3, 618–628. [Google Scholar] [CrossRef] [Green Version]
  6. Tie, S.; Tan, C. A review of energy sources and energy management system in electric vehicles. Renew. Sustain. Energy Rev. 2013, 20, 82–102. [Google Scholar] [CrossRef]
  7. Rahman, I.; Vasant, P.; Singh, B.; Wadud, M. Optimization of PHEV/EV charging infrastructures: A review. Int. J. Energy Technol. Policy 2014, 10, 280. [Google Scholar] [CrossRef]
  8. Parks, K.; Denholm, P.; Markel, T. Cost Andemissions Associated with Plug-In Hybrid Vehicle Charging in the Xcel Energy Colorado Service Territory; Technical Report; National Renewable Energy Laboratory (NREL): Golden, CO, USA, 2007. [Google Scholar]
  9. Kempton, W.; Tomić, J. Vehicle-to-grid power implementation: From stabilizing the grid to supporting large-scale renewable energy. J. Power Sources 2005, 144, 280–294. [Google Scholar] [CrossRef]
  10. Duvall, M.; Knipping, E. Environmental Assessment of Plug-In Hybrid Electric Vehicles. EPRI July 200. Available online: http://mydocs.epri.com/docs/CorporateDocuments/SectorPages/Portfolio/PDM/PHEV-ExecSum-vol1.pdf (accessed on 20 February 2023).
  11. Sanguesa, J.; Torres-Sanz, V.; Garrido, P.; Martinez, F.; Marquez-Barja, J. A Review on Electric Vehicles: Technologies and Challenges. Smart Cities 2021, 4, 372–404. [Google Scholar] [CrossRef]
  12. Nissan LEAF—100% Electric Family Car|Nissan. Nissan. 2022. Available online: https://www.nissan.co.uk/vehicles/new-vehicles/leaf.html (accessed on 21 June 2022).
  13. Electric Cars, Solar & Clean Energy|Tesla. Tesla. 2022. Available online: http://tesla.com/ (accessed on 21 February 2021).
  14. Berjoza, D.; Jurgena, I. Effects of change in the weight of electric vehicles on their performance characteristics. Agron. Res. 2017, 15, 952–963. [Google Scholar]
  15. Hota, A.; Juvvanapudi, M.; Bajpai, P. Issues and solution approaches in PHEV integration to smart grid. Renew. Sustain. Energy Rev. 2014, 30, 217–229. [Google Scholar] [CrossRef]
  16. Su, W.; Chow, M. Computational intelligence-based energy management for a large-scale PHEV/PEV enabled municipal parking deck. Appl. Energy 2012, 96, 171–182. [Google Scholar] [CrossRef]
  17. Su, W.; Chow, M. Performance evaluation of a PHEV parking station using particle swarm optimization. In Proceedings of the Power and Energy Society General Meeting, Detroit, MI, USA, 24–28 July 2011; pp. 1–6. [Google Scholar]
  18. Su, W.; Chow, M. Performance Evaluation of an EDA-Based Large-Scale Plug-In Hybrid Electric Vehicle Charging Algorithm. IEEE Trans. Smart Grid 2013, 3, 308–315. [Google Scholar] [CrossRef]
  19. Morrow, K.; Karner, D.; Francfort, J. Plug-In Hybrid Electric Vehicle Charging Infrastructure Review; The Idaho National Laboratory: Idaho Falls, ID, USA, 2008. [Google Scholar]
  20. Investigation into the Scope for the Transport Sector to Switch to Electric Vehicles and Plug-In Hybrid Vehicles; Department for Transport: England, UK, 2008.
  21. Mayfield, D. Site design for electric vehicle charging stations. ver.1.0, presented by Sustainable Transportation Strategies, July 2012. Available online: https://vacleancities.org/wp-content/uploads/Site-Design-for-EV-Charging-Stations-1.0.pdf (accessed on 20 February 2023).
  22. Boyle, G. Renewable Electricity and the Grid—The Challenge of Variability; Earthscan Publications Ltd.: Oxford, UK, 2007. [Google Scholar]
  23. Shafiei, A.; Williamson, S. Plug-in hybrid electric vehicle charging: Current issues and future challenges. In Proceedings of the 2010 IEEE Vehicle Power and Propulsion Conference, Lille, France, 1–3 September 2010; pp. 1–8. [Google Scholar]
  24. Wood, A.; Wollenberg, B. Power Generation, Operation, and Control; John Wiley & Sons: Hoboken, NJ, USA, 1996. [Google Scholar]
  25. Farhat, I.; El-Hawary, M. Optimization methods applied for solving the short-term hydrothermal coordination problem. Electr. Power Syst. Res. 2009, 79, 1308–1320. [Google Scholar] [CrossRef]
  26. Yang, X.-S. Engineering Optimization: An Introduction with Metaheuristic Applications; John Wiley: Hoboken, NJ, USA, 2010. [Google Scholar]
  27. Fakhar, M.; Liaquat, S.; Kashif, S.; Rasool, A.; Khizer, M.; Iqbal, M.; Baig, M.; Padmanaban, S. Conventional and Metaheuristic Optimization Algorithms for Solving Short Term Hydrothermal Scheduling Problem: A Review. IEEE Access 2021, 9, 25993–26025. [Google Scholar] [CrossRef]
  28. Fakhar, M.; Kashif, S.; Liaquat, S.; Rasool, A.; Padmanaban, S.; Iqbal, M.; Baig, M.; Khan, B. Implementation of APSO and Improved APSO on Non-Cascaded and Cascaded Short Term Hydrothermal Scheduling. IEEE Access 2021, 9, 77784–77797. [Google Scholar] [CrossRef]
  29. Atia, N.; Benzaoui, A.; Jacques, S.; Hamiane, M.; Kourd, K.E.; Bouakaz, A.; Ouahabi, A. Particle Swarm Optimization and Two-Way Fixed-Effects Analysis of Variance for Efficient Brain Tumor Segmentation. Cancers 2022, 14, 4399. [Google Scholar] [CrossRef]
  30. Rahman, I.; Vasant, P.M.; Singh, B.S.; Abdullah-Al-Wadud, M. On the Performance of Accelerated Particle Swarm Optimization for Charging Plug-in Hybrid Electric Vehicles. Alex. Eng. J. 2016, 55, 419–426. [Google Scholar] [CrossRef] [Green Version]
  31. Iqbal, M.A.; Fakhar, M.S.; Ul Ain, N.; Tahir, A.; Khan, I.A.; Abbas, G.; Kashif, S.A.R. A New Fast Deterministic Economic Dispatch Method and Statistical Performance Evaluation for the Cascaded Short-Term Hydrothermal Scheduling Problem. Sustainability 2023, 15, 1644. [Google Scholar] [CrossRef]
  32. Hess, A.; Francesco, M.; Reinhardt, M.; Casetti, C. Optimal deployment of charging stations for electric vehicular networks. In Proceedings of the CoNEXT’12: Conference on emerging Networking Experiments and Technologies, Nice, France, 10 December 2012; pp. 1–6. [Google Scholar]
  33. Yang, X. Nature-Inspired Metaheuristic Algorithms; Luniver Press: Frome, UK, 2010. [Google Scholar]
  34. Fergany, A. Accelerated particle swarm optimization-based approach to the optimal design of substation grounding grid. Przeglazd Elektrotechniczny 2013, 7, 30–34. [Google Scholar]
  35. Vasant, P.; Ganesan, T.; Elamvazuthi, I. An improved PSO approach for solving non-convex optimization problems. In Proceedings of the 2011 Ninth International Conference on ICT and Knowledge Engineering, Bangkok, Thailand, 12–13 January 2012. [Google Scholar]
  36. Rahman, I.; Vasant, P.; Mahinder Singh, B.; Abdullah-Al-Wadud, M. Swarm Intelligence-Based Smart Energy Allocation Strategy for Charging Stations of Plug-In Hybrid Electric Vehicles. Math. Probl. Eng. 2015, 2015, 620425. [Google Scholar] [CrossRef] [Green Version]
  37. Roja Reddy, B. Performance Analysis of Mimo Radar Waveform Using Accelerated Particle Swarm Optimization Algorithm. Signal Image Process. Int. J. 2012, 3, 193–202. [Google Scholar] [CrossRef]
  38. Talatahari, S.; Khalili, E.; Alavizadeh, S. Accelerated Particle Swarm for Optimum Design of Frame Structures. Math. Probl. Eng. 2013, 2013, 649857. [Google Scholar] [CrossRef]
  39. Prajna, K.; Bhushan Rao, G.; Reddy, K.; Maheswari, R. A New Dual Channel Speech Enhancement Approach Based on Accelerated Particle Swarm Optimization (APSO). Int. J. Intell. Syst. Appl. 2014, 6, 1–10. [Google Scholar] [CrossRef]
  40. Ganesan, T.; Elamvazuthi, I.; Ku Shaari, K.; Vasant, P. Swarm intelligence and gravitational search algorithm for multi-objective optimization of synthesis gas production. Appl. Energy 2013, 103, 368–374. [Google Scholar] [CrossRef]
  41. Su, W.; Chow, M. Investigating a Large-scale PHEV/PEV Parking Deck in a Smart Grid Environment. In Proceedings of the 2011 North American Power Symposium, Boston, MA, USA, 4–6 August 2011. [Google Scholar]
  42. Ben Guedria, N. Improved accelerated PSO algorithm for mechanical engineering optimization problems. Appl. Soft Comput. 2016, 40, 455–467. [Google Scholar] [CrossRef]
  43. Iqbal, M.A.; Fakhar, M.S.; Kashif, S.A.; Naeem, R.; Rasool, A. Impact of parameter control on the performance of APSO and PSO algorithms for the CSTHTS problem: An improvement in algorithmic structure and results. PLoS ONE 2021, 16, 12. [Google Scholar] [CrossRef]
Figure 1. Large-scale PHEV charging infrastructure in a smart grid environment [14].
Figure 1. Large-scale PHEV charging infrastructure in a smart grid environment [14].
Energies 16 03210 g001
Figure 2. Illustration of battery charging of PHEV [23].
Figure 2. Illustration of battery charging of PHEV [23].
Energies 16 03210 g002
Figure 3. Problem statement description by the flow diagram.
Figure 3. Problem statement description by the flow diagram.
Energies 16 03210 g003
Figure 4. Convergence behavior of the APSO Variant 5 algorithm for 50 PHEVs.
Figure 4. Convergence behavior of the APSO Variant 5 algorithm for 50 PHEVs.
Energies 16 03210 g004
Figure 5. Results comparison between APSO and its variants for 100 PHEVs.
Figure 5. Results comparison between APSO and its variants for 100 PHEVs.
Energies 16 03210 g005
Figure 6. Results comparison between APSO and its variants for 500 PHEVs.
Figure 6. Results comparison between APSO and its variants for 500 PHEVs.
Energies 16 03210 g006
Figure 7. Results comparison between APSO and its variants for 1000 PHEVs.
Figure 7. Results comparison between APSO and its variants for 1000 PHEVs.
Energies 16 03210 g007
Table 1. Variants of the APSO algorithm [43].
Table 1. Variants of the APSO algorithm [43].
AlgorithmAlphaBeta
APSO Variant 1 α ( n ) = α max ( α max α min N ) × n β ( n ) = β + min ( β max β min N ) × n × sin ( π 2 )
APSO Variant 2 α ( n ) = α + min ( α max α min N ) × n × cos ( π 2 ) β ( n ) = β max ( β max β min N ) × n
APSO Variant 3 α ( n ) = α + min ( α max α min N ) × n × cos ( π 2 ) β ( n ) = β min + ( β max β min N ) × n × cos ( π 2 )
APSO Variant 4 α ( n ) = α max ( α max α min N ) × n β ( n ) = β max ( β max β min N ) × n
APSO Variant 5 α ( n ) = α + min ( α max α min N ) × n × cos ( π 2 ) β ( n ) = β min + ( β max β min N ) × n
N = the total number of iterations, n = the current iteration number, [αmax αmin] is the range of α, and [βmax βmin] is the range of β.
Table 2. Parameters for APSO and its variants.
Table 2. Parameters for APSO and its variants.
ParametersValues
Size of swarms100
Maximum iterations100
Alpha, α for APSO0.2
Alpha, α for APSO variants0.1 to 0.4
Beta, β for APSO0.5
Beta, β for APSO variants0.2 to 0.5
Table 3. Summarized results of APSO and its variants for 50 PHEVs.
Table 3. Summarized results of APSO and its variants for 50 PHEVs.
Algorithm TypeBest Fitness ValueComputational Time (s)
APSO10.861510.336
APSO Variant 112.659810.538
APSO Variant 212.869210.326
APSO Variant 313.289110.667
APSO Variant 414.231410.819
APSO Variant 515.758011.055
Table 4. Comparison of the APSO 5 solution with other algorithm’s solutions in terms of percentage increase for the 50-PHEV dataset.
Table 4. Comparison of the APSO 5 solution with other algorithm’s solutions in terms of percentage increase for the 50-PHEV dataset.
Algorithms Compared with APSO 5Percentage Increase in the APSO Variant 5 Solution w.r.t Other Algorithms
APSO45.49%
APSO 124.47%
APSO 222.44%
APSO 318.57%
APSO 410.72%
Table 5. APSO and its variants’ results for 50 PHEVs (30 Trials).
Table 5. APSO and its variants’ results for 50 PHEVs (30 Trials).
RunsAPSOAPSO 1APSO 2APSO 3APSO 4APSO 5
113.50213.517513.3485414.1933112.5339112.72591
212.1928411.7539814.3914.5980211.5528413.59895
312.1651810.8521511.003149.83195613.7789213.49392
412.6590312.5918414.4657714.2369911.8202412.28426
512.5400212.1028513.2264713.1771713.2689211.29777
614.1482311.7126214.0327512.752913.7145911.99627
712.7516511.8862214.2889210.1338513.361313.49167
813.6194613.7893913.91711.4936914.8982813.40129
912.9379812.3425611.6638112.7386813.586616.65707
1013.3742610.8541414.5104810.0300112.9388213.83871
1112.31514.8056312.8873312.6686714.5197914.1858
1210.4826514.0945811.7863312.9452813.1128212.43806
1314.130811.669659.38182110.3687812.4115312.97832
1412.3322715.1151913.3711912.3231810.6427613.06213
1512.5685314.4404311.3229313.1780414.5761113.56715
1613.6538711.5593213.3342813.9660113.1131312.36803
1711.291513.198314.4624212.1976511.5392911.81985
1811.1152113.513513.571539.13985613.0774712.31658
1912.2816513.4530412.4284812.621312.3286912.08295
2012.4547713.5955213.348814.2147712.0343211.86018
2112.4938711.5380814.0276813.0331113.9007813.84535
Average12.6430212.8253313.1115312.7494412.9704613.04176
Max.14.1482315.1151914.5104814.5980214.5761116.65707
Table 6. One-way ANOVA test on the 50-PHEV dataset.
Table 6. One-way ANOVA test on the 50-PHEV dataset.
Sum of SquaresdfMean SquareFSig.
Between Groups4.90550.9810.5930.705
Within Groups287.7091741.653
Total292.614179
Table 7. Summarized results of APSO and its variants for 100 PHEVS.
Table 7. Summarized results of APSO and its variants for 100 PHEVS.
Algorithm TypeBest Fitness ValueComputational Time (s)
APSO24.22719.226
APSO Variant 125.13418.523
APSO Variant 227.51817.711
APSO Variant 325.10917.702
APSO Variant 426.28817.720
APSO Variant 529.39518.738
Table 8. Comparison of the APSO 5 solution with other algorithms’ solutions regarding percentage increase for the 100-PHEV dataset.
Table 8. Comparison of the APSO 5 solution with other algorithms’ solutions regarding percentage increase for the 100-PHEV dataset.
Algorithms Compared with APSO 5Percentage Increase in the APSO Variant 5 Solution w.r.t Other Algorithms
APSO21.33%
APSO 116.94%
APSO 26.82%
APSO 317.06%
APSO 411.81%
Table 9. APSO and its variants’ results for 100 PHEVs (30 Trials).
Table 9. APSO and its variants’ results for 100 PHEVs (30 Trials).
RunsAPSOAPSO 1APSO 2APSO 3APSO 4APSO 5
125.7298824.2792625.7625525.7625525.6998729.71674
224.6626827.0237223.5522523.5522523.3277523.61872
325.9895427.4876124.4949724.4949727.662425.01369
425.7493625.6808626.5795226.5795226.4264825.8907
523.5713423.3627725.6821525.6821523.8914328.48542
624.5191727.7065525.4108325.4108324.8874626.01486
726.5729526.4912126.9747626.9747621.9351826.0455
825.7219523.9212625.639525.639524.3333623.07433
925.3987924.7376822.2725722.2725726.3955623.99511
1026.9635122.0529324.5045524.5045526.487524.36713
1125.5441425.1139324.760624.760625.0844524.49567
1222.1660226.4122422.1467722.1467725.4810625.20646
1324.4996326.4652624.3688224.3688227.4072526.10468
1424.7917626.4652625.2151725.2151724.2748526.72789
1522.2556125.4810626.0088126.0088128.3257727.81361
1624.5295427.385827.6361927.6361925.4264523.63633
1725.2121724.2545522.8773122.8773127.2113427.81298
1826.0040228.3069725.8598825.8598827.8152924.34076
1927.4882925.4193626.4460626.4460625.9971725.45669
2022.9101427.1699424.794624.794623.5867425.97135
2125.9594527.8048127.5958327.5958321.1303824.53901
2226.4280825.982225.035425.035421.1303824.39439
2324.8480923.7135326.4016726.4016724.7959925.46869
2427.700821.1140825.5686725.5686725.4102326.96501
2525.0571624.6460426.5209126.5209122.1948824.1428
2626.3988424.8185125.1476925.1476926.8131424.06652
2725.5671925.4032423.2805223.2805226.7708927.75539
2826.6962221.5959324.2927324.2927326.8828227.83387
2925.0851126.7896427.028927.028926.3380423.38254
3023.2805926.5573427.5144627.5144623.3212825.19494
Average25.243425.4547825.3124925.3124925.2148525.58439
Max.27.700828.3069727.6361927.6361928.3257729.71674
Table 10. One-way ANOVA test on the 100-PHEV dataset.
Table 10. One-way ANOVA test on the 100-PHEV dataset.
Sum of SquaresdfMean SquareFSig.
Between Groups2.94850.5900.2140.956
Within Groups478.6491742.751
Total481.597179
Table 11. Summarized results of APSO and its variants for 500 PHEVs.
Table 11. Summarized results of APSO and its variants for 500 PHEVs.
Algorithm TypeBest Fitness ValueComputational Time (s)
APSO126.29284.989
APSO Variant 1128.47180.755
APSO Variant 2129.33097.386
APSO Variant 3127.68280.271
APSO Variant 4127.54087.832
APSO Variant 5132.00381.951
Table 12. Comparison of the APSO 5 solution with other algorithms solutions regarding percentage increase for the 500-PHEV dataset.
Table 12. Comparison of the APSO 5 solution with other algorithms solutions regarding percentage increase for the 500-PHEV dataset.
Algorithms Compared with APSO 5Percentage Increase in the APSO Variant 5 Solution w.r.t Other Algorithms
APSO4.52%
APSO 12.74%
APSO 22.06%
APSO 33.38%
APSO 43.49%
Table 13. APSO and its variants’ results for 500 PHEVs (30 Trials).
Table 13. APSO and its variants’ results for 500 PHEVs (30 Trials).
RunsAPSOAPSO 1APSO 2APSO 3APSO 4APSO 5
1126.5735121.9186126.49897131.9917123.1114121.9186
2118.5763125.0634122.96496132.6757126.8516125.0634
3125.7073129.5977124.11509125.0797124.4189129.5977
4129.8414127.6419131.99168125.9139121.9661127.6419
5132.9401127.4631132.6757122.8347124.9691127.4631
6120.7045129.9951125.07965121.9275130.079129.9951
7115.1843126.3374125.91388124.988127.5952126.3374
8132.0033121.4333122.83467129.5959127.5402130.3004
9122.437121.9186127.10125127.9723129.9992128.4759
10121.4333125.0634123.29089127.4973127.2541129.6517
11126.337129.5977122.04113129.9619121.4614127.1907
12129.9952127.6419124.50352126.4876122.4556124.8892
13127.463127.4631128.31973121.4392132.0014131.7331
14127.6419129.9951125.22181122.4328114.9656124.1206
15129.5977126.3374134.83523131.998120.7139126.4998
16125.0634121.4333125.66249115.0261133.0082122.8755
17121.9186122.437123.21541120.6972130.9115124.1174
18126.337132.0033126.32302132.953125.7167132.0569
19129.9952115.1843124.42171129.9211118.5398132.6094
20127.463120.7045122.99828125.6997126.5188125.0891
21127.6419132.9401124.47612118.5409130.4012125.9237
22129.5977129.8413119.60667126.5255128.4612122.8309
23125.0634125.7073127.97136128.0473129.6462127.0979
24121.9186118.5763131.32843130.3305127.127123.3213
25121.9508126.5735126.36098128.4446124.8817122.0304
26124.6762127.6401126.22204129.6345132.0327124.5046
27132.306130.3004125.2958127.683124.2326128.334
28126.0091128.4759130.28276124.872126.5118125.2105
29122.2824129.6517123.83581131.811123.2037134.859
30126.3052127.1907129.99217124.1028124.1148125.6579
Average 125.8321 126.2042 126.17937 126.5695 126.023 126.9132
Max. 132.9401 132.9401 134.83523 132.953 133.0082 134.859
Table 14. One-way ANOVA test on the 500-PHEV dataset.
Table 14. One-way ANOVA test on the 500-PHEV dataset.
Sum of SquaresdfMean SquareFSig.
Between Groups23.01054.6020.2930.917
Within Groups2736.16217415.725
Total2759.172179
Table 15. Summarized results for APSO and its variants for 1000 PHEVS.
Table 15. Summarized results for APSO and its variants for 1000 PHEVS.
Algorithm TypeBest Fitness ValueComputational Time (s)
APSO246.048170.259
APSO Variant 1252.678163.379
APSO Variant 2240.319170.626
APSO Variant 3253.034167.090
APSO Variant 4255.659174.643
APSO Variant 5258.104182.413
Table 16. Comparison of the APSO 5 solution with other algorithms regarding percentage increase for the 1000-PHEV dataset.
Table 16. Comparison of the APSO 5 solution with other algorithms regarding percentage increase for the 1000-PHEV dataset.
Algorithms Compared with APSO 5Percentage Increase in the APSO Variant 5 Solution w.r.t Other Algorithms
APSO4.81%
APSO 12.14%
APSO 27.40%
APSO 32.00%
APSO 41.01%
Table 17. APSO and its variants’ results for 1000 PHEVS (30 trials).
Table 17. APSO and its variants’ results for 1000 PHEVS (30 trials).
RunsAPSOAPSO 1APSO 2APSO 3APSO 4APSO 5
1256.13764249.7973240.3178250.4989261.9885249.0351
2246.0487245.60438254.088252.7105246.6598242.1332
3247.61726248.15366250.3368253.0247250.8615243.6935
4255.83371252.3311250.3702244.8549255.0794249.8352
5258.10479252.6764258.0784249.7282251.2514249.8802
6248.84371247.45823248.6636259.9551250.8295256.8304
7247.95574248.84369247.9065254.3202249.0221259.1609
8243.80545247.95577247.5528250.6186242.0723245.4554
9258.42472243.80521255.7673252.0285243.5746255.4172
10248.68239247.61727258.0784250.6758247.571263.5139
11250.32604255.83371248.6636253.4435255.91245.5679
12256.58346258.10481247.9065247.5528258.0109259.9388
13256.01452248.84369243.7365255.7673248.6194240.236
14250.74767247.95577258.4053258.0784247.8989247.6173
15253.11394247.61727248.6774248.6636244.4708255.8337
16247.61726255.83371250.2822247.9065259.6944258.1048
17255.83371258.10481256.4984243.7365248.7005248.8437
18258.10479248.84369255.9761258.4053256.0186247.9558
19248.84371247.95577250.7484248.6774256.4801243.8052
20247.95574243.80521253.1931250.2822255.9998248.6824
21243.80545247.61727244.7054256.4984250.8999250.326
22258.42472247.61727261.1004255.9761253.3815256.5835
23248.68239255.83371252.965250.7484245.3576256.0145
24250.32604258.10481243.8777253.1931261.2543250.7629
25256.58346248.84369248.9531244.7054252.9813253.1139
26256.01452247.95577253.6329261.1004243.8997244.4732
27250.74767243.80521262.0778252.965248.6261261.1325
28247.61726247.61727245.6205243.8777249.2437253.8278
29255.83371247.61727246.1537248.6053251.2514244.3531
30258.10479255.83371255.0697248.7633250.8295248.653
Average252.09117249.93292251.3135251.5787251.2813251.0260
Max.258.42472258.10481262.0778261.1004261.9885263.5139
Table 18. One-way ANOVA test on the 1000-PHEV dataset.
Table 18. One-way ANOVA test on the 1000-PHEV dataset.
Sum of SquaresDfMean SquareFSig.
Between Groups77.783515.5570.5940.704
Within Groups4556.04717426.184
Total4633.830179
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.

Share and Cite

MDPI and ACS Style

Bakht, K.; Kashif, S.A.R.; Fakhar, M.S.; Khan, I.A.; Abbas, G. Accelerated Particle Swarm Optimization Algorithms Coupled with Analysis of Variance for Intelligent Charging of Plug-in Hybrid Electric Vehicles. Energies 2023, 16, 3210. https://doi.org/10.3390/en16073210

AMA Style

Bakht K, Kashif SAR, Fakhar MS, Khan IA, Abbas G. Accelerated Particle Swarm Optimization Algorithms Coupled with Analysis of Variance for Intelligent Charging of Plug-in Hybrid Electric Vehicles. Energies. 2023; 16(7):3210. https://doi.org/10.3390/en16073210

Chicago/Turabian Style

Bakht, Khush, Syed Abdul Rahman Kashif, Muhammad Salman Fakhar, Irfan Ahmad Khan, and Ghulam Abbas. 2023. "Accelerated Particle Swarm Optimization Algorithms Coupled with Analysis of Variance for Intelligent Charging of Plug-in Hybrid Electric Vehicles" Energies 16, no. 7: 3210. https://doi.org/10.3390/en16073210

Note that from the first issue of 2016, this journal uses article numbers instead of page numbers. See further details here.

Article Metrics

Back to TopTop