4.1. Test 01
The lead-acid battery model was created using Matlab 2020a. Random solutions within the search space restrictions were generated and assigned to the model as candidate solutions. The model was then run using these parameters, and the results were compared to the measured data. The error was used in the objective function Equation (4).
A predetermined current supplied the considered LaB battery. The output voltage was saved and used in the identification process. The actual parameters of the considered battery are presented in
Table 1. The used current and measured voltage are delivered in
Figure 2.
Since the MAs are stochastic algorithms that start from random positions, the results for each time can be different. The algorithm’s robustness means its ability to provide similar or close to results for each identification process. The robustness can be evaluated using ANOVA and Tuckey statistical tests.
Its results were compared with those provided by employing other MAs such as PSO, SSA, AEO, MPA, and COOT to confirm the proposed method’s high performance. However, due to the stochastic nature of the MAs, each algorithm was performed 30 times to approve the performance in terms of robustness and accuracy. Each algorithm was initialized with the following parameters: Population size (N = 30); Number of max iterations (Tmax = 30); Upper search space limit (UB): 120% of the actual value; and lower search space limit (LB): 80% of the actual value.
Table 2 shows the final parameters for the first, middle, and last runs. The identification statistics are given in
Table 3.
The average efficiency can be calculated as follow
where
n is the number of runs (30 runs),
OFest is the estimated fitness value, and
OFbest is the best-obtained fitness value.
From the provided results in
Table 2, all the estimated parameters were near the real ones. However, the identification precision differed from one algorithm to another and from run to run. To analyze these results, a statistical study is presented in
Table 3. Based on these results, the best mean fitness value was 7.79776 × 10
−5, provided by the BES. In addition, the BES’s min, max, and standard deviation were the best-obtained results by 6.26281 × 10
−5, 16.2673 × 10
−5, and 6.26281 × 10
−5, respectively. Moreover, the BES optimization efficiency was the highest at 85.32%. Consequently, the battery parameters estimated using the BES were nearer to the actual values. However, the elapsed time by the BES was much longer compared to the other optimizers, as confirmed by the total voltage error (2.182 × 10
−3).
Figure 3 introduces the evolution of the mean fitness. The provided curves demonstrate the superiority of the BES over the other methods. The mean fitness value was 7.79776 × 10
−5, which is better than the AEO by 2.25 times, better than the MPA by five times, better than the COT by 16 times, better than the SSA by 18 times, and finally better than PSO by 36. Furthermore, the BES needed only ten iterations to reach the minimum cost function, unlike the other algorithms, regarding the convergence rate.
Figure 4 presents the agent evolution of both PSO, SSA, and COOT algorithms.
Figure 5 shows the agent evolution of MPA, AEO, and BES algorithms. These curves explain the obtained results in
Table 2 and
Table 3. The PSO and COOT algorithms required more iterations to achieve better results. Thirty iterations were not enough. SSA agents were much closer to optimal results than PSO and COOT. However, the accuracy was still weak during the last iterations. The MPA provided a competitive performance; however, the variation range of its agent was vast compared with BES and AEO. BES and AEO gave the best results in terms of accuracy and convergence speed; the movement of their agents can explain this. Nevertheless, the evolution of the BES agents is slightly better than the evolution of the AEO agent, demonstrating its superiority.
A variation analysis test called ANOVA was performed to approve the superiority of the BES. The ANOVA test results are provided in
Table 4 and
Figure 6. These results prove the high ability of the suggested identification strategy to extract the optimal lead-acid battery.
The calculated and measured voltages are given in
Figure 7. The model output voltage is identical to the measured battery voltage. Therefore, the battery parameters were accurately identified using the proposed strategy.
4.2. Test 02
Some parameters can be known or measured (
Q,
Rint, and
E0). In this case, these parameters were set very close to their real values to produce a simpler optimization problem where the number of unknown parameters was decreased to only four. In this case, only the following parameters were identified: K, A, B, and
τ. The search space limits were extended to 150% of the real values. The statistical results are provided in
Table 5, and the produced fitness curves are illustrated in
Figure 8.
The other optimization algorithms’ performance was raised to reduce the optimization problem complexity. The AEO provided a very similar performance to the BES, with a slight superiority in terms of mean fitness to the BES and a slight advantage to the AEO in terms of StD.
4.3. Test 03
The experimental testing results in [
22] were used to extract the parameters of Banner 120 Ah Lab. These testing results are illustrated in
Figure 8. The used battery had been supplied with a constant current (20 A). The search space limits are presented in
Table 6, where the used data are presented in
Figure 9.
The mean fitness evolution compared with those provided by employing other MAs is provided in
Figure 10. Due to the large data size, each algorithm was performed five times. Each algorithm was initialized with the same parameters as in previous cases. The search space limits were set approximately.
As shown in
Figure 10, MPA and BES offer very similar performance with a slight superiority to BES, as shown in the statistical results in
Table 7 and
Table 8. The statistical results below prove the ability of the proposed identification strategy to extract the LaB parameters accurately. Regarding accuracy, the BES provided the minimum fitness value (0.0747). Regarding the robustness, the BES’ StD value (2.4 × 10
−7) is the lowest, and the obtained parameters in
Table 7 are very similar, which approves its robustness.
The discharge curve simulated based on parameters obtained by the BES model compared to the measured data is provided in
Figure 11.