Abstract
Constructing a reliable equivalent circuit of Li-Ion batteries using real operating conditions by estimating optimal parameters is mandatory for many engineering applications, as it controls the energy management of the battery in a hybrid system. However, model parameters can vary according to the electrochemical nature of the battery, so improving the accuracy of the battery model parameters is essential to obtain reliable and accurate equivalent circuits. Therefore, this paper proposes a new efficient hybrid optimization approach for determining the proper parameters of Li-ion battery Shepherd model equivalent circuits. The proposed algorithm comprises a white shark optimizer (WSO) and the whale optimization approach (WOA) for modifying the stochastic behavior of the WSO while searching for food sources. Minimizing the root mean square error between the estimated and measured battery voltages is the objective function considered in this work. The hybrid variant of the WSO (HWSO) was examined with two different types of batteries. Moreover, the proposed HWSO was validated versus a set of recent meta-heuristic approaches including the sea horse optimizer (SHO), artificial gorilla troops optimizer (GTO), coyote optimization algorithm (COA), and the basic version of the WSO. Furthermore, statistical analyses, mean convergence, and fitting curves were conducted for the comparisons. The proposed HWSO succeeded in achieving the least fitness values of 2.6172 × 10−4 and 5.6118 × 10−5 with standard deviations of 9.3861 × 10−5 and 3.2854 × 10−4 for battery 1 and battery 2, respectively. On the other hand, the worst fitness values were 6.5230 × 10−2 and 6.6197 × 10−5 via SHO and WSO for both considered batteries. The proposed HWSO results prove the efficiency of the proposed approach in providing highly accurate battery model parameters with high consistency and a unique convergence curve compared to the other methods.
1. Introduction
Recently, energy storage systems (ESSs) have played an essential part in enabling the presence of various renewable energy sources (RESs) such as solar energy, wind, and fuel in the electric power grids. Integration of such systems to the grid makes it more flexible and reliable as they enhance the system management via acting as backup to unstable RESs. One of the most popular ESSs is the electrochemical battery. Constructing a reliable model for the battery represents a challenge due to the nonlinear nature of its operation. Identifying the most accurate model for the battery is still an abundant area of research. The parameters of the battery model can be identified with the aid of experimental data. Many works have been conducted in estimating the optimal parameters of the battery model.
Ferahtia et al. [1] identified the optimal parameters of lithium-ion batteries using an artificial ecosystem optimizer (AEO), the authors used the Shepherd model, and comparison in terms of convergence speed, efficiency, and identification accuracy was presented with other algorithms. The considered target was the root mean square error (RMSE) between the experimental and estimated battery data. In [2], the authors built a reduced model of a lithium polymer battery using state-space representation. Furthermore, the parameters of a constructed circuit were identified using three steps. In the first one, the battery state of charge (SOC) was estimated using nonlinear characteristics including the current and initial SOC. Then, the battery open circuit voltage was calculated based on the evaluated SOC in the first step, and the equilibrium algorithm (EA) was applied in the third step to identify the battery’s optimal parameters. Kim et al. [3] determined the parameters of a battery equivalent circuit via a Bayesian neural network with the aid of experimental data of battery voltage and current. A Li-ion battery equivalent circuit was formulated using a gradient-based algorithm employed to determine the equilibrium and dynamical parameters of the battery [4]. A complete review of different estimation methodologies employed in constructing battery equivalent circuits was presented in [5]. The authors categorized the battery model into mathematical, physical, and circuit-based models. A Wiener structure-based approach was introduced by Naseri et al. [6] to strengthen the battery classic equivalent circuit model via considering the nonlinearities of Li-ion batteries. Moreover, an extended-kernel iterative recursive least square approach was used for estimating the Wiener model parameters. In [7], the parameters of an electrochemical model of a Li-ion battery operated at different conditions were estimated using a particle swarm optimizer (PSO). The four parameters evaluated were the diffusion coefficients at anode and cathode as well as the intercalation and de-intercalation reaction rates at anode and cathode. The authors in [8] presented an estimation methodology to evaluate the parameters of a battery, SOC, and open circuit voltage. A hybrid Li-ion battery-supercapacitor energy storage system used in electric vehicles was modeled through identifying its parameters via experimental tests [9]. In [10], a Li-ion battery was modeled as a fractional-order equivalent circuit with its parameters estimated using a mixed swarm cooperative PSO with the aid of experimental data. A model of a Li-ion polymer battery was constructed using Simscape and Simulink/Matlab software, and its parameters were identified using an optimization toolbox in the used software [11]. Moreover, sum squared error (SSE) between the measured and calculated data was considered the fitness function to be minimized. In [12], a lead-acid battery equivalent circuit was built and the optimal parameters were identified experimentally. Additionally, the constructed model was validated via Matlab/Simulink. The authors in [13] used a resistance–capacitance equivalent circuit to simulate the dynamic behavior of a Li-polymer battery; additionally, the nonlinear relationship between the battery SOC and open circuit voltage was described using piecewise linear approximation with a variable coefficient. Moreover, the circuit parameters were evaluated using the moving window method to mitigate the least square error between the experimental and simulated data. In [14], an adaptive identification approach to find the battery circuit parameters was presented and the dynamics of the battery were simulated using a second-order equivalent circuit. The extended Kalman filter was used to identify the parameters in slow dynamics, while the recursive least square approach was used for fast dynamics. Different equivalent circuits of Li-ion batteries and several identification methods were reviewed in [15]; the authors classified the models into one-time constant, two-time constants, internal resistance, Thevenin, and others. Houssein et al. [16] presented a modified Coot algorithm (mCoot) to evaluate the optimal parameters of a Li-ion battery equivalent circuit and minimize the RMSE between the measured and estimated data. Du et al. [17] presented an on-line method of battery circuit parameter identification based on the Cramer–Rao lower bound; the authors validated the constructed model via comparing the obtained outputs with experimental data. The authors in [18] compared nine optimization algorithms employed to evaluate the optimal parameters of nine different battery models. The coevolutionary PSO-based methodology was used to evaluate the optimal parameters of a battery equivalent circuit with the aid of a parameter identification window in [19]. El-Sehiemy et al. [20] used the enhanced sunflower optimizer (ESFO) to identify the optimal parameters and SOC of a lithium-ion battery; a reduced state-space representation model was used to describe the operation of the battery. Single and multi-objective problems have been formulated considering either battery voltage or battery SOC or both as the targets. A Cuckoo search-based approach was employed to solve a multi-objective problem aimed at evaluating the optimal parameters of a Li-ion battery electrochemical model in [21]. The battery current and voltage were fed to the approach while the voltage error and the electrodes’ capacity error were the targets to be minimized. In [22], three different parameter identification methods were evaluated in constructing a battery Thevenin equivalent circuit. The methods were the PSO, extended Kalman filter, and recursive least square approach. Furthermore, the battery SOC was estimated via the model with identified parameters either at static or dynamic operations. Liu et al. [23] studied the electrochemical–thermal model of a Li-ion battery and sensitivity of parameter identification methods. Additionally, different design optimization methods under various operating conditions were analyzed. The battery surface and ambient temperatures were considered in an improved equivalent circuit of a Li-ion battery presented in [24]. A second-order RC equivalent circuit was considered, and its parameters were identified using an exponential function fitting method. Moreover, the battery SOC was estimated using the extended Kalman filter algorithm. Chun et al. [25] selected a deep learning algorithm of a convolutional neural network to evaluate the optimal parameters of a Li-ion battery equivalent circuit. In [26], a first-order equivalent circuit model of a Li-ion battery was experimentally constructed and its parameters were identified using the Cramer–Rao lower bound. A second-order RC model of a li-ion battery was established using the recursive least square approach in [27]. Shi et al. [28] estimated the Li-ion battery SOC using an adaptive extended Kalman filter, while the recursive least square approach with a forgetting factor was employed to estimate the optimal parameters of the battery equivalent circuit. Duan et al. [29] used the first-order RC model with parameters identified via the least square method of an extended Kalman filter to simulate the battery equivalent circuit. Moreover, a multi-time scale prediction model of an adaptive unscented Kalman filter was introduced to estimate the battery SOC. A methodology combining a neural network and a genetic algorithm (GA) was used to estimate the optimal parameters of a Li-ion battery circuit in [30]. A modified Thevenin model of a Li-ion battery was established and the model parameters were identified via a differential evolution algorithm in [31]. The parameter identification problem of a lead-acid battery Shepherd model was solved using a bald eagle search (BES) algorithm, such that the RMSE between the estimated and measured voltages was minimized in [32]. Some remarks of reported approaches employed in estimating the parameters of a battery equivalent circuit are given in Table 1. There are some shortcomings of the reported methods, which can be clarified as follows:
Table 1.
Remarks of some reported works employed for constructing the battery circuit model.
- Some of the reported meta-heuristic optimization approaches suffer from premature and slow convergence rates; this defect causes trapping in local optima;
- Large computational times and efforts are other defects included in some other reported approaches in addition to excessive data that are required for training the neural network-based technique;
- Many researchers used algorithms that had less desirable optimal characteristics, while others ignored some important parameters such as battery temperature and hysteresis voltage.
These limitations are considered in this work via introducing an efficient, robust, and reliable hybrid approach comprising the white shark optimizer (WSO) and the whale optimization approach (WOA) to modify the stochastic behavior of the original WSO while searching for food sources.
The contributions of this work are given as:
- Proposing an efficient hybrid variant of the white shark optimizer for identifying the model parameters of two different Li-ion batteries with the Shepherd model;
- Using the spiral updating position strategy inspired by the whale optimization algorithm for enhancing the exploitation stage of the basic WSO;
- The proposed HWSO is validated versus SHO, GTO, COA, and WSO;
- Sets of statistical analyses, mean convergence, and fitting curves are conducted for the comparisons;
- The competence of the proposed HWSO is proved via the fetched results;
- Table 2 shows a comparison between the proposed approach and other methods in terms of complexity, required data, convergence rate, and trapping in local optima. The comparison clarifies the preference of the proposed methodology over the others;
Table 2. Comparison between the proposed HWSO and others. - The rest of this paper is organized as follows: Section 2 handles the model of a Li-ion battery, Section 3 explains the main aspects of the WSO, Section 4 introduces the proposed hybrid WSO-based methodology, Section 5 shows the fetched results and discussions, and conclusions are given in Section 6.
2. The Li-Ion Battery Model
In this work, the considered battery is a Li-ion type with the Shepherd model given in [33], this model is selected as it needs little data from the datasheet given by the manufacturer and the discharge curve of the battery. The used model can easily reflect the characteristics of macro-level batteries for both voltage and current, which represents an important level of simulation. The equivalent circuit of the Shepherd model is given in Figure 1; it comprises a controlled voltage source and internal resistance. The value of the controlled voltage source depends on two formulas of battery charge and discharge modes. The terminal voltage of the battery can be expressed as follows [34]:
where denotes the battery open circuit voltage at full capacity, is the polarization coefficient, denotes the capacity of the battery, is the removed actual charge (), is the current of the battery, is the battery’s internal resistance, is the amplitude of the exponential zone, and represents the inverse time constant of the exponential zone. The modified Shepherd model given in [33] used polarization resistance effect and polarization voltage term in the discharge model as follows:
where denotes the filtered current.
Figure 1.
Li-ion battery model.
In the charging mode, the battery voltage can be written as [33]:
Additionally, the battery SOC of the battery can be calculated as follows [33]:
where represents the initial state of charge. Figure 2 shows the typical discharge characteristic of a Li-ion battery; Vfull, Vexp, and Vnom are the battery voltages at maximum capacity, at capacity during the end of the exponential zone, and at normal operation capacity, respectively.
Figure 2.
Typical discharge characteristic of a Li-ion battery.
In the manufacturer datasheet, there are some missing data, but they can be determined with the aid of a meta-heuristic approach and experimental data. In this work, the parameter identification process is simulated as an optimization problem with a fitness function of minimizing the RMSE between the estimated and measured battery voltages as follows:
where is the number of data points, denotes the battery’s estimated voltage at instant , and represents the battery’s measured voltage at instant . Seven parameters to be identified are , , , , , , and τ.
The search space is identified via the following constraints [1]:
where and denote the minimum and maximum limits, respectively.
3. White Shark Optimizer (WSO)
One of the most recent meta-heuristic approaches is the white shark optimizer (WSO), which has been proposed by Braik et al. [35]. The authors drew their inspiration for the algorithm from great white sharks’ dynamic behaviors, which include outstanding hearing senses and smell during navigating and foraging. The white sharks are highly adapted and magnificent hunters that have armed strong muscles and hunt dolphins, small whales, shellfish, seabirds, and seals, which represent their prey. The hunting strategy followed by great white sharks in catching their prey starts by rushing their prey via surprise tactics whereupon massive fatal strikes are generated.
Devouring the prey (food source) requires three behaviors, which are: the movement towards the prey using the waves’ hesitations produced via the prey’s movement, random search for food sources in the ocean depths, and locating nearby prey. These steps help the great white sharks in updating their positions to reach the best solutions. The WSO can be modeled via initializing a population matrix of initial solutions. I initial population matrix has a size of N × d, where N denotes the population size while d is the problem dimension, as follows [35]:
where represents the ith white shark location in the jth dimension. It can be calculated based on the lower () and upper () bounds of the search space in the jth dimension as [35]:
where is a random number within a range [0, 1]. The initial fitness values are calculated for the initial solutions given in Equation (7) and then an updating process is placed in case the new position is better than the previous one. When the great white shark observes the prey location via its wave hesitancy, it moves toward its prey in undulating movements with a velocity given as [35]:
where and are the updated and current velocities of the ith white shark in iterations and , respectively; denotes the global best location during the kth iteration; is the position of the ith white shark in iteration ; and are random numbers within a range [0, 1]; represents the ith best known location to the swarm during iteration ; and is the index vector number i for the great white sharks obtaining the best location, and it can be defined as follows [35]:
The parameters and are the great white sharks’ forces that control the and effects on ; they can be computed as follows [35]:
where and are the initial and inferior velocities to obtain better motion for the great white sharks, and , and denotes the maximum iteration. The term in Equation (9) is the correction factor; it is used to analyze the convergence rate of the WSO via the following expression [35]:
where is the acceleration factor of the algorithm.
As stated before, the great white sharks spend most of time looking for valuable prey. Consequently, their positions change as they move toward their prey either by hearing the waves generated via prey movements or by smelling their prey’s scents. In this situation, the great white sharks move to random positions searching for the prey, this can be modeled as follows [35]:
where is the operator of negation, and are binary vectors defined by Equations (15) and (16), represents logical vector computed via Equation (17), is the frequency of great white shark wavy motions and it can be calculated based on Equation (18) [35]:
where and are the maximum and minimum undulating frequencies of the great white shark’s undulating motions, respectively. The parameter denotes the great white shark’s movement force; it is increased via the iterative process as follows [35]:
where and are two parameters used to manage the exploration/exploitation behaviors. The term helps in accelerating the search speed and then strengthens the features of the exploration and exploitation behaviors of the WSO. This merit encouraged the author to apply such an algorithm in solving the handled problem. The motion towards the best great white shark that converges to the prey can be simulated as follows [35]:
where represents the ith great white shark new position with regard to its prey; the term is responsible for changing the search direction as it gives either 1 or −1; , , and are random numbers within a range [0, 1]; and represents the distance between the white shark and its prey as follows [35]:
The parameter in Equation (20) is employed to describe the strength of the great white shark’s visual and olfactory senses when following its prey closely; it can be calculated as follows [35]:
where is a parameter used to control the exploration/exploitation behaviors. A flowchart of the WSO is shown in Figure 3.
Figure 3.
WSO flowchart.
4. The Proposed Hybrid WSO-Based Methodology
In the basic version of the WSO, the great white sharks follow one strategy while moving towards its prey location, which may cause the algorithm to be blinded to other optimal points around this location. Accordingly, another approach based on a spiral-shaped path has been integrated with the WSO in this work to enhance the exploitation behavior of the basic WSO. The implementation of the spiral-shaped path was inspired by whales’ behavior when swimming to prey locations, as reported in the whale optimization algorithm (WOA). The following relationship models the spiral path between the great white shark and its prey location:
where is the distance between the prey and the great white shark, is a constant for defining the shape of the logarithmic spiral, and is a random number in a range [−1, 1]. Using the spiral equation, the great white shark’s motion towards its prey, as in Equation (20), can be modified to be as follows:
The following pseudo code (see Algorithm 1) summarizes the main structure of the proposed HWSO when implemented for the battery model parameter estimation and optimization problem. In the first step, the lower and upper boundaries of the model parameters are assigned for generating the initial random set of solutions. Then, the corresponding initial objective function values in Equation (5) are calculated. Throughout the iteration numbers, the initial solution set is updated based on the main structure of the HWSO. Finally, the best determined parameters have been displayed after the termination criteria have been met.
| Algorithm 1 A pseudo code summarizing the main structure of the proposed HWSO |
| 1: Set the lower and upper limits of the battery model parameters 2: Determine the HWSO population size (n) and maximum number of iterations (K) 3: Generate the initial solutions (battery model parameters) set of WSO 4: Calculate the initial objective function of Equation (5) corresponding to the initial solutions 5: while (k < K) do 6: Update the HWSO parameters using Equations (10)–(19) 7: for i = 1 to n do 8: Calculate the velocity using Equation (9). 9: end for 10: Ior i = 1 to n do 11: if rand < then 12: Update the white shark’s location using Equation (14) first line 13: else 14: Update the white shark’s location using Equation (14) second line 15: end if 16: end for 17: for i = 1 to n do 18: if rand ≤ then 19: Calculate the distance between the white shark the prey using Equation (19) 20: Update the white shark location using Equation (25) first line 21: else 22: Update the white shark location using Equation (25) second line 23: end if 24: end for 25: Evaluate and update the new battery model parameters 26: k = k + 1 27: end while 28: Display the optimal battery model parameters obtained so far |
5. Numerical Results and Discussions
The efficiency of the proposed HWSO in determining highly accurate battery model parameters was investigated using two sets of data for two different rates of lithium-ion batteries: The considered batteries’ nominal voltages (V) were 24 and 220, and the rated capacity (Ah) are 30 and 120, respectively. Furthermore, the battery model was simulated at an initial SOC of 100%, and the temperature effect was ignored in this work. The simulation time was selected as 10,000 s. The real data of both considered batteries are given in Table 3.
Table 3.
Actual parameters of the considered batteries.
The HWSO was executed for 10 independent runs with a population size and iteration numbers of 25 and 150, respectively. Additionally, the simulated model of the battery was implemented for 3 s. For providing a comprehensive investigation of the HWO performance, it was compared with a set of recent optimizers including the sea horse optimizer (SHO), artificial gorilla troops optimizer (GTO), coyote optimization algorithm (COA), and the basic version of the WSO. All the algorithms were performed in the same settings for unbiased comparisons and statistical analyses were conducted. The mean convergence curves fetched by the proposed HWSO, basic WSO, and the other comparable techniques are depicted in Figure 4 in cases of determining the model parameters of batteries 1 and 2. The curves show that the proposed HWSO can escape from local solutions and converge to minimal objective function values versus the SHO and COA that are trapped to the objective function’s local values. Moreover, the proposed HWSO performances reveal remarkable behavior compared to the GTO and WSO as the spiral-motion path helps the algorithm discover better optimal values of the objective function. However, the convergence curves of the GTO and WSO illustrate the convergence of the algorithms after the first 130 iterations without updating that divulges their lacks in the efficient balancing between the exploration and exploitation cores.
Figure 4.
The mean convergence curves obtained with the HWSO, WSO, and other comparable techniques in the cases of (a) battery 1 and (b) battery 2.
The identified parameters of the battery model for the two studied types of batteries are reported in Table 4 and Table 5. It is worth noting that the estimated parameters with HWSO of Table 4 and Table 5 minimally deviate from the actual parameters in Table 3 of the two batteries studied. For evaluating the performance of the HWO statistically, Table 4 and Table 5 present the best, worst, mean, and standard deviation (SD) of the objective function. As per the reported data in the Tables, the proposed HWSO shows its superiority in achieving the least objective function values, 2.6172 × 10−4 and 5.6118 × 10−5, with high consistency compared to the other algorithms. Meanwhile, the SHO and COA performance affirm their disability in handling the battery modeling optimization problem. The WSO and GTO occupy the second and third ranks after the HWSO by reaching for objective functions of (2.9707 × 10−4, 5.8478 × 10−4) and (6.6197 × 10−5, 6.0177 × 10−4) regarding the two types of batteries, respectively. On the other hand, the work given in [1] achieved an objective function of 0.00900 with a standard deviation of 0.004595. For the second battery, the proposed algorithm outperformed the methodology given in [1]. Furthermore, the SD values prove the significant impact of integrating the spiral-motion path in enhancing the exploitation core of the optimizer; accordingly it realizes the optimal objective function value at each separate run.
Table 4.
The identified parameters of the battery model and objective function values in the case of battery 1 using HWSO, WSO, and other comparable algorithms.
Table 5.
The identified parameters of the battery model and objective function values in the case of battery 2 using HWSO, WSO, and other comparable algorithms.
Additionally, the computational time is measured and tabulated in Table 4. the proposed HWSO consumed 1744.59 s, and thus it does not come in the first rank; however, the most important issue is achieving the least fitness value. On the other hand, the slowest approach is the GTO as it consumed 4663.27 s. To comprehensively evaluate the algorithms’ results, the notched boxplot based on an ANOVA test is plotted in Figure 5 to illustrate the variance in the objective function values over the set of independent runs. Moreover, the ANOVA tables are presented in Table 6 and Table 7 for the two batteries. The boxplots of Figure 5 provide evidence of the consistency of the HWSO as the variance between the objective function values throughout a set of independent runs is minimal in contrast to the SHO that shows a high difference between the minim, maximum, and median values (red mark in the middle of the box) of the objective function as illustrated for its boxplot. Moreover, the data of the ANOVA tables affirm the existence of a significant difference between the algorithms.
Figure 5.
Boxplots of the objective function values obtained with the HWSO, WSO, and the other comparable techniques in the cases of (a) battery 1 and (b) battery 2 throughout the set of independent runs.
Table 6.
ANOVA table in the case of battery 1.
Table 7.
ANOVA table in the case of battery 2.
For testing the accuracy and efficiency of the identified parameters in representing the batteries’ behavior, the simulated model was implemented over a time horizon longer than that used in the optimization stage. The considered time of the simulation was 10,000 s. The fitted curves based on the identified parameters by HWSO and other techniques for the two batteries are depicted in Figure 6. The curves illustrate the high accuracy in the fitting while using the identified parameters of the HWSO that affirm its superiority in providing the highest quality solutions.
Figure 6.
The fitted curves using the identified parameters by the HWSO, WSO, and the other comparable techniques in the cases of (a) battery 1 and (b) battery 2.
In order to validate the proposed HWSO, the current pattern shown in Figure 7 is applied on both considered batteries. The actual data given in Table 3 were used to collect the measured data. The measured and estimated SOC and terminal voltage via the proposed approach of battery 1 are shown in Figure 8; the results clarify that both data are closely matched. Furthermore, the measured and estimated data for battery 2 are given in Figure 9, and both curves converge. The obtained curves confirmed the preference of the proposed HWSO in constructing a reliable circuit of a Li-ion battery under a variable current pattern.
Figure 7.
Battery current pattern.
Figure 8.
Measured and estimated SOC and terminal voltage of battery 1.
Figure 9.
Measured and estimated SOC and terminal voltage of battery 2.
The obtained results affirmed the superiority of the proposed HWSO in constructing a reliable model of different Li-ion batteries.
6. Conclusions
This work aimed at solving the problem of the parameter identification of a Li-ion battery equivalent circuit with the aid of practical data. The goal was to obtain a model of the battery that simulates reality. This was achieved via proposing a new hybrid meta-heuristic approach comprising a white shark optimizer (WSO) and the whale optimization approach (WOA) for solving the problem of battery parameter estimation. The WSO stochastic behavior when searching for food was enhanced by incorporating the WOA. The importance of the proposed method lies in the fact that it overcame many of the problems encountered in previous methods, the most important of which being that of trapping in local optima. The Shepherd model of a Li-ion battery was constructed in Simulink/Matlab and the proposed HWSO was employed to determine the unknown parameters. The process was formulated as an optimization problem with an objective function to be mitigated of root mean square error between the measured and estimated voltages. Two types of Li-ion batteries with different capacities were analyzed and solved with the proposed HWSO. Furthermore, the approach was assessed by conducting excessive comparison with other optimizers, including the sea horse optimizer (SHO), artificial gorilla troops optimizer (GTO), coyote optimization algorithm (COA), and the basic version of the WSO. Moreover, statistical analyses, mean convergence, and fitting curves were conducted to assess the proposed HWSO. The fetched results revealed that the proposed approach outperformed all others with fitness values of 2.6172 × 10−4 and 5.6118e × 10−5 with standard deviations of 9.3861 × 10−5 and 3.2854 × 10−4 for battery 1 and battery 2, respectively, while the SHO and WSO were the worst optimizers with RMSE values of 6.5230 × 10−2 and 6.6197 × 10−5, respectively. Moreover, the proposed HWSO outperformed the previous reported SSA approach that achieved an objective function of 0.00900 with a standard deviation of 0.004595. Furthermore, the statistical analyses confirmed the consistency of the HWSO, while the data of the ANOVA tables affirmed a significant difference between the comparable algorithms. The results proved the efficiency of the HWSO in establishing a highly accurate equivalent circuit for the Li-ion battery by identifying its optimal parameters. Future work will focus on applying the proposed method to construct equivalent circuits for several different batteries under different operating conditions. In addition, the battery charge and discharge rates will be considered in future works.
Author Contributions
Supervision, conceptualization, writing—review and editing, methodology, software, formal analysis, A.F.; methodology, software, validation, formal analysis, writing—review and editing, D.Y.; resources, data curation, investigation, formal analysis, methodology, software, validation, writing—original draft preparation, A.G.A. and M.A.A. All authors have read and agreed to the published version of the manuscript.
Funding
This work was funded by the Deanship of Scientific Research at Jouf University under Grant Number (DSR2022-RG-0108).
Institutional Review Board Statement
Not applicable.
Informed Consent Statement
Not applicable.
Data Availability Statement
Data will be made available on request.
Conflicts of Interest
The authors declare no conflict of interest.
Nomenclature
| Correction factor | |
| Battery open circuit voltage at full capacity | |
| Polarization coefficient | |
| Capacity of battery | |
| Removed actual charge | |
| i | Current of battery |
| Battery internal resistance | |
| Amplitude of exponential zone | |
| inverse time constant of exponential zone | |
| Filtered current | |
| Initial state of charge | |
| Vfull | Battery voltages at maximum capacity |
| Vexp | Battery voltages at capacity during the end of exponential zone |
| Vnom | Battery voltages at normal operation capacity |
| Number of data | |
| Battery measured voltage at instant | |
| Minimum limit | |
| Maximum limit | |
| N | Population size |
| d | Problem dimension |
| ith white shark location in jth dimension | |
| Lower bound | |
| Upper bound | |
| Random number in range [0, 1] | |
| Updated and current velocities of th white shark in iterations | |
| Global best location during th iteration | |
| Position of ith white shark in iteration | |
| and | random numbers in range [0, 1] |
| ith best known location to the swarm during iteration | |
| Index vector number i for the white sharks getting the best location | |
| and | White sharks’ forces |
| and | Initial and inferior velocities |
| Acceleration factor | |
| Operator of negation | |
| and | Binary vectors |
| Logical vector | |
| Frequency of white shark wavy motion | |
| and | Maximum and minimum undulating frequencies |
| white shark’s movement force | |
| Parameters to manage the exploration/exploitation behaviors | |
| ith white shark new position with regard to the prey | |
| , , and | Random numbers in range [0, 1] |
| Distance between the white shark and the prey | |
| Constant to define the shape of the logarithmic spiral | |
| Random number in [−1, 1] | |
| Battery estimated voltage at instant | |
| WSO | White shark optimizer |
| WOA | Whale optimization approach |
| HWSO | Hybrid variant of the WSO |
| SHO | Sea horse optimizer |
| GTO | Gorilla troops optimizer |
| COA | Coyote optimization algorithm |
| ESSs | Energy storage systems |
| RESs | Renewable energy sources |
| AEO | Artificial ecosystem optimizer |
| RMSE | Root mean square error |
| SOC | State of charge |
| EA | Equilibrium algorithm |
| PSO | Particle swarm optimizer |
| mCoot | Modified Coot algorithm |
| ESFO | Enhanced sunflower optimizer |
| GA | Genetic algorithm |
| BES | Bald eagle search |
| RMSE | Root mean square error |
References
- Ferahtia, S.; Djeroui, A.; Rezk, H.; Aissa, C.; Houari, A.; Machmoum, M. Optimal parameter identification strategy applied to lithium-ion battery model. Int. J. Energy Res. 2021, 45, 16741–16753. [Google Scholar] [CrossRef]
- Shaheen, A.M.; Hamida, M.A.; El-Sehiemy, R.A.; Elattar, E.E. Optimal parameter identification of linear and non-linear models for Li-Ion Battery Cells. Energy Rep. 2021, 7, 7170–7185. [Google Scholar] [CrossRef]
- Kim, M.; Chun, H.; Kim, J.; Kim, K.; Yu, J.; Kim, T.; Han, S. Data-efficient parameter identification of electrochemical lithium-ion battery model using deep Bayesian harmony search. Appl. Energy 2019, 254, 113644. [Google Scholar] [CrossRef]
- Park, S.; Kato, D.; Gima, Z.; Klein, R.; Moura, S. Optimal Experimental Design for Parameterization of an Electrochemical Lithium-Ion Battery Model. J. Electrochem. Soc. 2018, 165, A1309–A1323. [Google Scholar] [CrossRef]
- Barcellona, S.; Piegari, L. Lithium Ion Battery Models and Parameter Identification Techniques. Energies 2017, 10, 2007. [Google Scholar] [CrossRef]
- Naseri, F.; Schaltz, E.; Stroe, D.-I.; Gismero, A.; Farjah, E. An Enhanced Equivalent Circuit Model With Real-Time Parameter Identification for Battery State-of-Charge Estimation. IEEE Trans. Ind. Electron. 2021, 69, 3743–3751. [Google Scholar] [CrossRef]
- Rahman, A.; Anwar, S.; Izadian, A. Electrochemical model parameter identification of a lithium-ion battery using particle swarm optimization method. J. Power Sources 2016, 307, 86–97. [Google Scholar] [CrossRef]
- Kwak, M.; Lkhagvasuren, B.; Park, J.; You, J.-H. Parameter Identification and SOC Estimation of a Battery Under the Hysteresis Effect. IEEE Trans. Ind. Electron. 2019, 67, 9758–9767. [Google Scholar] [CrossRef]
- Michalczuk, M.; Grzesiak, L.M.; Ufnalski, B. Experimental parameter identification of battery-ultracapacitor energy storage system. In Proceedings of the 2015 IEEE 24th International Symposium on Industrial Electronics (ISIE), Rio de Janeiro, Brazil, 3–5 June 2015; IEEE: New York, NY, USA, 2015; pp. 1260–1265. [Google Scholar]
- Hu, M.; Li, Y.; Li, S.; Fu, C.; Qin, D.; Li, Z. Lithium-ion battery modeling and parameter identification based on fractional theory. Energy 2018, 165, 153–163. [Google Scholar] [CrossRef]
- Miniguano, H.; Barrado, A.; Lazaro, A.; Zumel, P.; Fernandez, C. General Parameter Identification Procedure and Comparative Study of Li-Ion Battery Models. IEEE Trans. Veh. Technol. 2019, 69, 235–245. [Google Scholar] [CrossRef]
- Moubayed, N.; Kouta, J.; El-Ali, A.; Dernayka, H.; Outbib, R. Parameter identification of the lead-acid battery model. In Proceedings of the 2008 33rd IEEE Photovoltaic Specialists Conference, San Diego, CA, USA, 11–16 May 2008; IEEE: New York, NY, USA, 2008; pp. 1–6. [Google Scholar]
- Rahimi-Eichi, H.; Baronti, F.; Chow, M.-Y. Online Adaptive Parameter Identification and State-of-Charge Coestimation for Lithium-Polymer Battery Cells. IEEE Trans. Ind. Electron. 2013, 61, 2053–2061. [Google Scholar] [CrossRef]
- Dai, H.; Xu, T.; Zhu, L.; Wei, X.; Sun, Z. Adaptive model parameter identification for large capacity Li-ion batteries on separated time scales. Appl. Energy 2016, 184, 119–131. [Google Scholar] [CrossRef]
- Madani, S.S.; Schaltz, E.; Kær, S.K. A review of different electric equivalent circuit models and parameter identification methods of lithium-ion batteries. ECS Trans. 2018, 87, 23. [Google Scholar] [CrossRef]
- Houssein, E.H.; Hashim, F.A.; Ferahtia, S.; Rezk, H. Battery parameter identification strategy based on modified coot optimization algorithm. J. Energy Storage 2022, 46, 103848. [Google Scholar] [CrossRef]
- Du, X.; Meng, J.; Zhang, Y.; Huang, X.; Wang, S.; Liu, P.; Liu, T. An Information Appraisal Procedure: Endows Reliable Online Parameter Identification to Lithium-Ion Battery Model. IEEE Trans. Ind. Electron. 2021, 69, 5889–5899. [Google Scholar] [CrossRef]
- Lai, X.; Gao, W.; Zheng, Y.; Ouyang, M.; Li, J.; Han, X.; Zhou, L. A comparative study of global optimization methods for parameter identification of different equivalent circuit models for Li-ion batteries. Electrochim. Acta 2019, 295, 1057–1066. [Google Scholar] [CrossRef]
- Yu, Z.; Xiao, L.; Li, H.; Zhu, X.; Huai, R. Model Parameter Identification for Lithium Batteries Using the Coevolutionary Particle Swarm Optimization Method. IEEE Trans. Ind. Electron. 2017, 64, 5690–5700. [Google Scholar] [CrossRef]
- El-Sehiemy, R.A.; Hamida, M.A.; Mesbahi, T. Parameter identification and state-of-charge estimation for lithium-polymer battery cells using enhanced sunflower optimization algorithm. Int. J. Hydrogen Energy 2020, 45, 8833–8842. [Google Scholar] [CrossRef]
- Li, W.; Demir, I.; Cao, D.; Jöst, D.; Ringbeck, F.; Junker, M.; Sauer, D.U. Data-driven systematic parameter identification of an electrochemical model for lithium-ion batteries with artificial intelligence. Energy Storage Mater. 2022, 44, 557–570. [Google Scholar] [CrossRef]
- Zhang, S.; Zhang, X. A comparative study of different online model parameters identification methods for lithium-ion battery. Sci. China Technol. Sci. 2021, 64, 2312–2327. [Google Scholar] [CrossRef]
- Liu, Y.; Tang, S.; Li, L.; Liu, F.; Jiang, L.; Jia, M.; Ai, Y.; Yao, C.; Gu, H. Simulation and parameter identification based on electrochemical- thermal coupling model of power lithium ion-battery. J. Alloys Compd. 2020, 844, 156003. [Google Scholar] [CrossRef]
- Huo, Y.; Hu, W.; Li, Z.; Rao, Z. Research on parameter identification and state of charge estimation of improved equivalent circuit model of Li-ion battery based on temperature effects for battery thermal management. Int. J. Energy Res. 2020, 44, 11583–11596. [Google Scholar] [CrossRef]
- Chun, H.; Kim, J.; Han, S. Parameter identification of an electrochemical lithium-ion battery model with convolutional neural network. IFAC-Pap. 2019, 52, 129–134. [Google Scholar] [CrossRef]
- Song, Z.; Hofmann, H.; Lin, X.; Han, X.; Hou, J. Parameter identification of lithium-ion battery pack for different applications based on Cramer-Rao bound analysis and experimental study. Appl. Energy 2018, 231, 1307–1318. [Google Scholar] [CrossRef]
- Ren, B.; Xie, C.; Sun, X.; Zhang, Q.; Yan, D. Parameter identification of a lithium-ion battery based on the improved recursive least square algorithm. IET Power Electron. 2020, 13, 2531–2537. [Google Scholar] [CrossRef]
- Shi, N.; Chen, Z.; Niu, M.; He, Z.; Wang, Y.; Cui, J. State-of-charge estimation for the lithium-ion battery based on adaptive extended Kalman filter using improved parameter identification. J. Energy Storage 2022, 45, 103518. [Google Scholar] [CrossRef]
- Duan, W.; Song, C.; Chen, Y.; Xiao, F.; Peng, S.; Shao, Y.; Song, S. Online parameter identification and state of charge estimation of battery based on multitimescale adaptive double Kalman filter algorithm. Math. Probl. Eng. 2020, 2020, 9502605. [Google Scholar] [CrossRef]
- Kim, J.; Chun, H.; Baek, J.; Han, S. Parameter identification of lithium-ion battery pseudo-2-dimensional models using genetic algorithm and neural network cooperative optimization. J. Energy Storage 2022, 45, 103571. [Google Scholar] [CrossRef]
- Shuai, W.; Li, E.; Wang, H. An equivalent circuit model of a deformed Li-ion battery with parameter identification. Int. J. Energy Res. 2020, 44, 8372–8387. [Google Scholar] [CrossRef]
- Rezk, H.; Ferahtia, S.; Ghoniem, R.M.; Fathy, A.; Ghoniem, M.M.; Alkanhel, R. Robust Parameter Identification Strategy for Lead Acid Battery Model. Batteries 2022, 8, 283. [Google Scholar] [CrossRef]
- Tremblay, O.; Dessaint, L.-A. Experimental Validation of a Battery Dynamic Model for EV Applications. World Electr. Veh. J. 2009, 3, 289–298. [Google Scholar] [CrossRef]
- Enache, B.; Lefter, E.; Stoica, C. Comparative study for generic battery models used for electric vehicles. In Proceedings of the 2013 8th International Symposium on Advanced Topics in Electrical Engineering (ATEE), Bucharest, Romania, 23–25 May 2013; IEEE: New York, NY, USA, 2013; pp. 1–6. [Google Scholar]
- Braik, M.; Hammouri, A.; Atwan, J.; Al-Betar, M.A.; Awadallah, M.A. White Shark Optimizer: A novel bio-inspired meta-heuristic algorithm for global optimization problems. Knowl.-Based Syst. 2022, 243, 108457. [Google Scholar] [CrossRef]
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. |
© 2023 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 (https://creativecommons.org/licenses/by/4.0/).