Next Article in Journal
Exploring the Potential Impact of Artificial Intelligence (AI) on International Students in Higher Education: Generative AI, Chatbots, Analytics, and International Student Success
Next Article in Special Issue
Optical Autocorrelation Measurement for Ultrafast Pulses at NIR Wavelengths Using GaP, GaAsP, and Si Photoconductive Detectors
Previous Article in Journal
Know an Emotion by the Company It Keeps: Word Embeddings from Reddit/Coronavirus
Previous Article in Special Issue
Yb-Doped All-Fiber Amplifier with Low-Intensity Noise in mHz Range Oriented to Space-Borne Gravitational Wave Detection
 
 
Font Type:
Arial Georgia Verdana
Font Size:
Aa Aa Aa
Line Spacing:
Column Width:
Background:
Article

Parameter Extraction of Solar Photovoltaic Model Based on Nutcracker Optimization Algorithm

1
Department of Microelectronic Science and Technology, Harbin Institute of Technology, Harbin 150001, China
2
Tianjin Institute of Power Sources, Tianjin 300381, China
*
Author to whom correspondence should be addressed.
Submission received: 30 April 2023 / Revised: 20 May 2023 / Accepted: 29 May 2023 / Published: 31 May 2023
(This article belongs to the Special Issue Advances in Optical and Optoelectronic Devices and Systems)

Abstract

:
In order to improve the accuracy and reliability of the photovoltaic (PV) model, this paper explores a novel nature-inspired metaheuristic algorithm, i.e., the nutcracker optimizer algorithm (NOA), for the parameter extraction of a PV model, such as a single diode model (SDM), double diode model (DDM), and triple diode model (TDM) of PV components. The Aleo Solar S79Y300 monocrystalline silicon solar panel was tested at 1000 W/m2 solar irradiance and 25 °C temperature, and the results of the proposed NOA algorithm were compared with three popular algorithms, i.e., particle swarm optimization (PSO), firework algorithm (FWA), and whale optimization algorithm (WOA), in terms of algorithm accuracy and running time, and non-parametric tests were performed. The results show that the NOA can improve the efficiency of PV parameter extraction, and its performance is the best among the tested algorithms. It has the best root mean square error (RMSE) values in the SDM, being 7.92587 × 10−5 and 6.02460 × 10−5 in the DDM and 6.23617 × 10−5 in the TDM, and the shortest average execution time according to the overall ranking, making it well suited for extracting PV model parameters.

1. Introduction

In order to tackle the well-known challenges of energy transition, a swift shift from fossil fuels to a wider renewable energy period is required; solar energy is the most abundant and easily accessible renewable energy resource. Annually, the total amount of solar radiation received by the Earth is 7500 times the global energy consumption (about 450 EJ), thus the utilization of solar energy is playing an increasingly important role in the global energy transformation [1]. Photovoltaic researchers have been striving to achieve reliable and accurate modeling of PV components for a better understanding of their operating principles, performance, and characteristics, as well as predicting their performance and lifespan under different environmental conditions. The single diode model (SDM) is the foundation of photovoltaic component modeling, while the double diode model (DDM) considers the recombination loss in the depletion region of the PN junction based on the SDM, and the triple diode model (TDM) is considered to be a more accurate model than the SDM and DDM [2]. It introduces a third diode to characterize solar cells under reverse current conditions [2,3], and it contains nine parameters: Iph, ISD1, ISD2, ISD3, n1, n2, n3, Rs, and Rp. Due to the nonlinearity and complexity of the model, most mathematical and numerical analysis methods are simplified by certain approximation. Metaheuristic algorithms, well suited for solving complex optimization problems with large search spaces and non-linear objective functions, have been extensively studied in the field. In previous research, a diverse range of algorithms and their variants, including genetic algorithm (GA) [4], particle swarm optimization (PSO) [5], differential evolution (DE) [6], reinforcement learning neural network algorithm (RLNNA) [7], simplified bird mating optimization (SBMO) [8], firework algorithm (FWA) [9], artificial bee colony (ABC) [10], moth flame optimization (MFO) [11], harmony search algorithm (Hs) [12], mutative-scale parallel chaos optimization algorithm (MPCOA) [13], repairing self-adaptive differential evolution (Rcr-IJADE) [14], bee pollinator flower pollination algorithm (BPFPA) [15], free search differential evolution algorithm (FSDE) [16], teaching-learning based optimization (TLBO) [17], Generalized opposition-based learning teaching-learning based optimization (GOTLBO) [18], and evaporation rate-based water cycle algorithm (ER-WCA) [19], have been utilized for the parameter extraction of solar PV models. Recent trends in research also indicate an increasingly frequent pivot towards the exploration and utilization of novel metaheuristic algorithms. For example, Faiz Ali et al. proposed the use of the atomic orbital search metaheuristic algorithm (AOS) for solar cell parameter identification [20], which simulates the mixing and recombination of atomic orbitals to search for the optimal solution. They also discussed more than 30 different RMSE calculation methods to achieve a novel and accurate RMSE calculation. Youssef Kharchouf et al. proposed an improved DE algorithm for parameter extraction of photovoltaic cells in 2022 [21]. He used a numerical method for the Lambert W function analytical equation to improve the local convergence characteristics of DE, which reduced the computation time to half of its original time. Xiangchen et al. proposed a two-stage identification method [22]. First, they preprocessed the experimental I–V curve by removing outliers, curve fitting, and the sparsification of the I–V data. Following this, they used maximum power matching (MPM) to roughly identify the parameters from the preprocessed data. Finally, they used the results as the initial values for the improved flow direction algorithm (IFDA) iteration to achieve the accurate identification of photovoltaic model parameters. Amr A. Abd El-Mageed et al. proposed an improved queuing search optimization (QSO) algorithm based on DE technology and boundary constraint correction process [23], which identified the parameters of the SDM and DDM models. They used DE to increase the population diversity of IQSODE, thereby improving the exploration of the algorithm in the search space and solving the problem of the QSO algorithm being trapped in local optima. Junfeng Zhou et al. proposed a dynamic reverse learning strategy for identifying photovoltaic cell model parameters using an adaptive differential evolution algorithm [24]. The strategy expanded the search range of particles in the global optimal solution search phase, thereby increasing the probability of particles approaching the optimal solution area.
Previous research has mainly focused on one or two of the three models, yet this study presents a novel approach by employing a nature-inspired metaheuristic method known as the nutcracker optimization algorithm (NOA) [25] for the parameter extraction of single, double, and triple diode models. Aleo Solar S79Y300 monocrystalline silicon solar panels were tested under 1000 W/m2 solar radiation and 25 °C temperature. These conditions are standard testing conditions and commonly encountered in many geographical regions globally where substantial investment in solar energy is being made, thereby ensuring our findings have practical and relevant applications. We evaluated the performance of NOA for PV parameter extraction by observing the RMSE error and running time. Subsequent non-parametric tests were performed to analyze the data further. Finally, a comparative analysis was conducted between the proposed NOA and three popular algorithms, PSO [26], FWA [27], and WOA [28], summarizing the results for comprehensive understanding.
The outstanding contributions of the present article are the following:
  • Demonstrate the suitability and effectiveness of NOA in the field of the parameter extraction of the PV model.
  • Employ modern techniques to accurately identify the optimum parameters in the PV model.
  • Conduct a comparative study on four MAs to enhance the precision of a specific diode model optimization.
  • Analyze possible future trends in the area based on the test results.

2. Solar Cell Model

2.1. Photovoltaic (PV) Cell Models

The models of photovoltaic (PV) cells mainly include a series of mathematical models, such as the single diode model (SDM), double diode model (DDM), triple diode model (TDM), diode models with reverse bias characteristics [29], and the improved double diode model (MDDSCM) [30,31], and so on. In this study, we adopted the most commonly used models: SDM, DDM, and TDM. Figure 1 and Table 1 show the circuit structure and equations (including the circuit equation of the PV component) of the SDM, DDM, and TDM. In the equations, IL represents the output current, Iph represents the photocurrent of the PV component, ISD1, ISD2, and ISD3 represent the reverse saturation current, Ns represents the number of cells connected in series, Np represents the number of cells connected in parallel, VT (=n*k*T/q) is the thermal voltage of the PV component, q is the electron charge (1.60217646 × 10−19 C), k is the Boltzmann constant (1.3806503 × 10−23 J/k), T is the temperature of the PN junction (in K), n is the ideality factor of the diode, Rp is the parallel resistance, Rs is the series resistance, and RL is the external load resistance.

2.2. Optimization of Photovoltaic (PV) Cell Model Parameters

The optimization of photovoltaic (PV) cell model parameters using metaheuristic algorithms can be understood as a process of optimizing a single objective function. The objective function is typically defined as an error function that measures the discrepancy between the model’s predictions and experimental data. The optimization algorithm iteratively searches for the optimal set of parameters that minimize the error function. The resulting solution is a set of optimized parameter values, denoted as XS, XD, and XT. Finally, the optimized parameter values are validated by comparing the simulated model output to the result of experimental measurements.
In this paper, the root mean square error (RMSE) is applied as the fitness function for algorithm optimization. The error function is represented by the RMSE shown in Table 2 which quantifies the accuracy and goodness of fit of the proposed current–voltage characteristic model. By experimentally measuring a set of actual current values (Imea) of solar cell modules under equidistant voltages, feasible solutions are obtained through MA optimization and then incorporated into the optimization functions of SDM, DDM, and TDM in Table 3. Consequently, the Ical value is calculated, and the fitness function value is derived by incorporating it into the RMSE formula.

3. NOA

3.1. Overview of NOA

NOA is a novel nature-inspired metaheuristic algorithm (MA) inspired by the Clark’s nutcracker [25]. The nutcracker collects pine nuts (food) in the summer and autumn and stores them in specific locations, then retrieves the storage location and searches for food in the spring and winter. Inspired by this idea of food access, we proposed two strategies: (i) a foraging and caching strategy and (ii) a caching search and recovery strategy. After population initialization, random exploration and exploitation optimization are carried out, and RMSE is the fitness function. The nomenclature used in the NOA algorithm is shown in Table 4.

3.2. Foraging and Storage Strategy

The nutcracker searches for good seeds during summer and autumn (first exploration phase), and stores them in a storage area (first exploitation strategy). Due to harsh weather conditions such as heavy snow and wind, the storage area is often far from the search area and has less vegetation, making it easier for the nutcracker to retrieve the seeds during winter and spring.
X i t + 1 = X i , j t i f τ 1 < τ 2 X m , j t + γ X A , j t X B , j t + μ · r 2 · U j L j i f t T m a x / 2.0 X C , j t + μ X A , j t X B , j t + μ · ( r 1 < δ ) r 2 · U j L j , Otherwise , Otherwise
μ = τ 3 i r 1 < r 2 τ 4 i r 2 < r 3 τ 5 i r 1 < r 3
X t + 1 n e w = X i t + μ ( X b e s t t X i t ) | λ | + r 1 ( X A t X B t ) i τ 1 < τ 2 X b e s t t + μ ( X A t X B t ) i τ 1 < τ 3 X b e s t t l Otherwise
X i t + 1 = Equation  1 , i φ > P a 1 Equation  3 , Otherwise
Formulas (1)–(4) provide a mathematical model for this strategy. Formulas (1) and (2) describe the process of the nutcracker searching for good seeds. The first state of X i t + 1 represents maintaining the current optimal solution, and the second state represents exploring the solution space based on the average value X m , j t of all solutions in the current population, and any solution X A , j t and X B , j t . Formula (3) simulates the process of the nutcracker storing seeds, which is the first development stage. The algorithm development process is controlled by the contemporary optimal solution X best t and a variable l that decreases linearly from 1 to 0. Formula (4) represents the balance between exploration and development of the algorithm according to the probability value P a 1 , which decreases linearly from 1 to 0.

3.3. Cache Search and Recovery Strategy

During the spring and winter seasons, the nutcracker retrieves stored food based on spatial memory, using reference points to locate the stored food as their main source of nutrition. However, approximately 20% of nutcrackers are unable to retrieve stored food, as reported by [32], leading them to search for new food sources.
R P s = R P 1,1 t R P 1,2 t R P i , 1 t R P i , 2 t R P N , 1 R P N , 1 t
R P i , 1 t = X i t + α cos θ X A t X B t + α R P , i θ = π / 2 X i t + α cos θ X A t X B t , Otherwise
R P i , 2 t = X 1 t + α cos θ U U τ 3 + U + α R P U 2 , i θ = π / 2 X 1 t + α cos θ U L τ 3 + L U 2 , Otherwise
= 1 t T m a x 2 t T m a x , i r 1 > r 2 t T m a x 2 t , Otherwise
Equations (5)–(8) provide a mathematical model of the reference points (RP). Abdel-Basset assumed each cache has two reference points [25], then the RP matrix in Equation (5) has two columns. Equations (6) and (7) describe the two methods for solving the RP. Additionally, the process of the nutcracker is described as learning from past experiences continuously during retrieval; Equation (8) is used to modify RP, with the first term in α linearly decreasing and the second term linearly increasing.
X i t + 1 = m i n ( X i t , i f X i t < f ( R P i , 1 t ) R P i , 1 t , Otherwise , X i t , i f X i t < f ( R P i , 2 t ) R P i , 2 t , Otherwise )
X i j t + 1 = X i j t , i τ 3 < τ 4 X i j t + r 1 X best j t X i j t + r 2 R P i , 1 t X i j t , Otherwise
X i j t + 1 = X i j t , i τ 5 < τ 6 X i j t + r 1 X best j t X i j t + r 2 R P i , 2 t X i j t , Otherwise
X i t + 1 = Equation  ( 10 ) , i τ 7 < τ 8 Equation  ( 11 ) , Otherwise
X i t + 1 = Equation  ( 6 ) , i φ > P a 2 Equation  ( 9 ) , Otherwise
During the second exploration process of the nutcracker, Formula (9) describes the process of searching for seeds and recovering a cache in the storage area. The smaller result of the two reference points is taken as the new location, as described in Formulas (10) and (11). Based on the optimal solution X best j t and R P i , 1 t and R P i , 2 t , the second development phase is described in terms of developing corresponding areas, and using τ 7 , τ 8 random numbers to synthesize the two reference points, as shown in Formula (12). Finally, similar to Formula (4) in the foraging and storage strategy, P a 2 is used to balance the exploration and development process under this strategy (note that P a 2 should be set to 0.2 based on experimental verification).

3.4. Implementation of NOA

As shown in the pseudo code of NOA in Algorithm 1, the implementation of NOA in the optimization process requires the initialization of the population in accordance with the set boundaries:
X i , j t = U j L j R M + L j , i = 1,2 , , N , j = 1,2 , , D
Algorithm 1: Pseudo-code of NOA.
Input: population size N, the lower limits of variables L , the upper limits of variables U the current number of iteration t = 0, and the maximum number of iterations T m a x .
Output: the best solution found.
1. Initialize N nutcracker/solution using Equation (14);
2. Evaluate each solution and find the one with the best fitness in the population
3. t = 1; //the current function evaluation//
4. while ( t < T m a x )
5.  Generate random numbers σ and σ 1 , between 0 and 1.
6.  If  σ < σ 1  //* Foraging and storage strategy*//
7.    φ is a random number between 0 and 1.
8.   for i = 1: N
9.    for j = 1: d
10.     if  φ > P a 1  /*Exploration phase1*/
11.      Updating X i t + 1 using Equation (1)
12.     else /*Exploitation phase1*/
13.      Updating X i t + 1 using Equation (3)
14.     end if
15.    end for
16.    Update the current iteration t by t = t + 1
17.   end for
18.  else //* Cache-search and recovery strategy *//
19.   Generate RP matrix using Equations (5)–(7).
20.   Generate a random number ϕ between 0 and 1.
21.   for i = 1: N
22.    if  ϕ > P a 2  /*Exploration phase2*/
23.     Updating X i t + 1 using Equation (9).
24.    else /*Exploitation phase2*/
25.     Updating X i t + 1 using Equation (12).
26.    end if
27.     t = t + 1
28.   end for
29. end while
Following this, according to the foraging and storage strategies, the nutcracker population performs exploration and exploitation in first stage, and the cache search and retrieval strategies in the second stage. These two strategies are implemented in parallel and have equal probabilities. Every nutcracker represents a solution of the problem. Possible food sources in the first stage and caches in the second stage represent candidate solutions. The fitness function values to be optimized are calculated by selecting new solutions according to the strategies, and the iteration process continues to select better solutions.
During the initialization process, in addition to the population size, search boundaries, and maximum number of iterations, the NOA also requires presetting two parameters, Alpha: the percentage of attempts to avoid local optima, and Prb: the percentage of explorations of other regions in the search space. In this paper, Alpha = 5% and Prb = 0.2, chosen in accordance with the recommended values in the original code, to balance the exploration and exploitation processes. In both strategies, exploration and exploitation in the solution space are equally important in regards to following the information-sharing mechanism and mutually coordinating to balance and avoid local optima.

4. Experimental Analysis

During the algorithm iteration, the number of iterations in each run is critical to the algorithm’s performance. Too few iterations can limit the accuracy and reliability of the optimization results, and the algorithm may get stuck in local optima and fail to find the global optimal solution. In this experiment, the algorithm was set to iterate 50,000 times, and the NOA, PSO, FWA, and WOA algorithms were independently executed 30 times each, taking Aleo Solar S79Y300 monocrystalline silicon solar panels under 1000 W/m2 solar radiation and 25 °C temperature as an example. The RMSE average, MD, and STD were calculated to evaluate the accuracy and reliability of the algorithm, as shown in Table 5. The best values of SDM, DDM, and TDM models for each algorithm corresponding to the best RMSE value are detailed in Table 6, Table 7 and Table 8.
When applying MA to optimize parameters, setting search boundaries requires a comprehensive consideration of the value range, changing trend of the objective function, feasible constraints, and the convergence and stability of the algorithm. In this paper, four algorithms were tested and analyzed, and the parameter configurations were determined based on the test results analysis. The parameter configurations are shown in Table 9.
The iterative convergence graphs of SDM, DDM, and TDM algorithms are illustrated in Figure 2. The horizontal axis represents the number of iterations, and the vertical axis shows the best fitness values (on a logarithmic scale). Table 10 records the average time taken by each algorithm. A clear observation from Figure 2 is that NOA exhibits the best accuracy. Taking RMSE as an example, data from Table 5, Table 6 and Table 7 demonstrate that NOA achieves the best accuracy among the three models. Moreover, Figure 3 shows an excellent fit between the curve results obtained by the NOA and the measured data.
Table 11 provides a comparative analysis of the NOA against PSO, FWA, and WOA, utilizing the nonparametric Wilcoxon rank test for independent samples [33]. The test examined the best fitness values derived from 30 independent experiments per function. The p-values and h-values recorded in the table offer a quantitative and qualitative understanding of NOA’s performance relative to the other algorithms. The p-values in Table 11, all of which are below the set significance level of 0.05, suggest a significant difference in NOA’s performance and probability distribution from its counterparts. Meanwhile, the h-value indicates whether the null hypothesis is accepted (h = 1) or rejected (h = 0). Any non-rejection of the null hypothesis would imply significant differences between NOA and a certain algorithm for a specific function, as per the Wilcoxon test.
Through comparative analysis, it is evident that, although PSO, WOA, and FWA demonstrate remarkable performance in various optimization problems, their effectiveness is limited in this study. Upon reaching 50,000 iterations, the results of these algorithms still fail to achieve the desired optimal solution. This phenomenon can be primarily attributed to two aspects. First, the convergence behavior of these algorithms makes it difficult for them to escape local optima in a short time, ultimately obstructing their identification of global optimal values. Second, the insufficient compatibility between these algorithms and the unique characteristics of the Aleo Solar S79Y300 monocrystalline silicon solar cell, module parameter extraction problem leads to reduced efficiency in solving this specific issue. This implies that the problem features might not align well with the fundamental assumptions or heuristic methods employed by PSO, FWA, and WOA, resulting in suboptimal performance.
By contrast, the NOA consistently outperforms popular algorithms (such as PSO, FWA, and WOA) in terms of accuracy and computational efficiency. The primary reason behind NOA’s excellence is its dual search strategy approach, which expertly balances exploration and exploitation throughout the search process. As described in Section 3, the dual-strategy approach consists of two overall strategies: a foraging and storage strategy, and a caching and restoration strategy. These strategies work synergistically to facilitate a dynamic and adaptable search process that bypass local optima and quickly converge on the expected high-quality solution. The algorithm uses random numbers in each stage of various strategies during the optimization process, enhancing its adaptability and responsiveness to the search environment, which enables it to deal with complex multi-dimensional nonlinear optimization problems effectively. Simultaneously, to address the unique challenges in the search process, both strategies include specialized exploration and development algorithms that are balanced and coordinated with each other. The exploration operator emphasizes expanding the search scope by guiding the algorithm to unknown regions of the solution space, while the development operator focuses on refining and enhancing the current best solution. The parallel integration of these strategies, along with their respective exploration and exploitation operators, fosters a highly adaptive and dynamic search process. This adaptability enables the algorithm to identify promising solution regions efficiently, and quickly converge to the global optimum, even in complex optimization scenarios, such as the TDM involving three exponential formulas and nine-dimensional variables.

5. Conclusions

In this paper, the applicability and accuracy of NOA for solar cell parameter estimation problem were explored, and three popular algorithms, PSO, FWA, and WOA, were applied in SDM, DDM, TDM models, respectively. Based on experimental results and comparisons, the following conclusions can be drawn: NOA is suitable for solving solar cell problems, and the results show that NOA has the best performance and the smallest error in optimizing solar cell parameters compared with the other three popular algorithms. Additionally, the average running time results show that the running time of NOA is also the shortest among the four algorithms. In this work, the best RMSE value of SDM is 7.92587 × 10−5, that of DDM is 6.02460 × 10−5, and that of TDM is 6.23617 × 10−5, as shown through NOA calculation and simulation. However, according to the NFL theorem [34], future work will seek new test sets, such as arsenic gallium, perovskite material solar cells, or experimental measurements of photovoltaic modules using different technologies such as polycrystalline and thin films under different irradiation intensities and temperatures to the performance of NOA, a potential meta-heuristic algorithm.

Author Contributions

Writing—original draft preparation, Z.D.; writing—review and editing, H.Y., Q.Z. and L.T. All authors have read and agreed to the published version of the manuscript.

Funding

This research received no external funding.

Institutional Review Board Statement

Not applicable.

Informed Consent Statement

Not applicable.

Data Availability Statement

Not applicable.

Conflicts of Interest

The authors declare no conflict of interest.

References

  1. Li, G.; Li, M.; Taylor, R.; Hao, Y.; Besagni, G.; Markides, C. Solar energy utilisation: Current status and roll-out potential. Appl. Therm. Eng. 2022, 209, 118285. [Google Scholar] [CrossRef]
  2. Ibrahim, I.A.; Hossain, M.; Duck, B.C.; Nadarajah, M. An improved wind driven optimization algorithm for parameters identification of a triple-diode photovoltaic cell model. Energy Convers. Manag. 2020, 213, 112872. [Google Scholar] [CrossRef]
  3. Qais, M.H.; Hasanien, H.M.; Alghuwainem, S. Identification of electrical parameters for three-diode photovoltaic model using analytical and sunflower optimization algorithm. Appl. Energy 2019, 250, 109–117. [Google Scholar] [CrossRef]
  4. Jervase, J.A.; Bourdoucen, H.; Al-Lawati, A. Solar cell parameter extraction using genetic algorithms. Meas. Sci. Technol. 2001, 12, 1922. [Google Scholar] [CrossRef]
  5. Ye, M.; Wang, X.; Xu, Y. Parameter extraction of solar cells using particle swarm optimization. J. Appl. Phys. 2009, 105, 094502. [Google Scholar] [CrossRef]
  6. Ishaque, K.; Salam, Z.; Taheri, H.; Shamsudin, A. Parameter extraction of photovoltaic cell using differential evolution method. In Proceedings of the 2011 IEEE Applied Power Electronics Colloquium (IAPEC), Johor Bahru, Malaysia, 18–19 April 2011; pp. 10–15. [Google Scholar]
  7. Zhang, Y. Neural network algorithm with reinforcement learning for parameters extraction of photovoltaic models. IEEE Trans. Neural Netw. Learn.Syst. 2021, 1–11. [Google Scholar] [CrossRef]
  8. Askarzadeh, A.; dos Santos Coelho, L. Determination of photovoltaic modules parameters at different operating conditions using a novel bird mating optimizer approach. Energy Convers. Manag. 2015, 89, 608–614. [Google Scholar] [CrossRef]
  9. Babu, T.S.; Ram, J.P.; Sangeetha, K.; Laudani, A.; Rajasekar, N. Parameter extraction of two diode solar PV model using Fireworks algorithm. Sol. Energy 2016, 140, 265–276. [Google Scholar] [CrossRef]
  10. Oliva, D.; Cuevas, E.; Pajares, G. Parameter identification of solar cells using artificial bee colony optimization. Energy 2014, 72, 93–102. [Google Scholar] [CrossRef]
  11. Allam, D.; Yousri, D.; Eteiba, M. Parameters extraction of the three diode model for the multi-crystalline solar cell/module using Moth-Flame Optimization Algorithm. Energy Convers. Manag. 2016, 123, 535–548. [Google Scholar] [CrossRef]
  12. Askarzadeh, A.; Rezazadeh, A. Parameter identification for solar cell models using harmony search-based algorithms. Sol. Energy 2012, 86, 3241–3249. [Google Scholar] [CrossRef]
  13. Yuan, X.; Xiang, Y.; He, Y. Parameter extraction of solar cell models using mutative-scale parallel chaos optimization algorithm. Sol. Energy 2014, 108, 238–251. [Google Scholar] [CrossRef]
  14. Muhsen, D.H.; Ghazali, A.B.; Khatib, T.; Abed, I.A. Parameters extraction of double diode photovoltaic module’s model based on hybrid evolutionary algorithm. Energy Convers. Manag. 2015, 105, 552–561. [Google Scholar] [CrossRef]
  15. Ram, J.P.; Babu, T.S.; Dragicevic, T.; Rajasekar, N. A new hybrid bee pollinator flower pollination algorithm for solar PV parameter estimation. Energy Convers. Manag. 2017, 135, 463–476. [Google Scholar] [CrossRef]
  16. Ayala, H.V.H.; dos Santos Coelho, L.; Mariani, V.C.; Askarzadeh, A. An improved free search differential evolution algorithm: A case study on parameters identification of one diode equivalent circuit of a solar cell module. Energy 2015, 93, 1515–1522. [Google Scholar] [CrossRef]
  17. Patel, S.J.; Panchal, A.K.; Kheraj, V. Extraction of solar cell parameters from a single current–voltage characteristic using teaching learning based optimization algorithm. Appl. Energy 2014, 119, 384–393. [Google Scholar] [CrossRef]
  18. Chen, X.; Yu, K.; Du, W.; Zhao, W.; Liu, G. Parameters identification of solar cell models using generalized oppositional teaching learning based optimization. Energy 2016, 99, 170–180. [Google Scholar] [CrossRef]
  19. Kler, D.; Sharma, P.; Banerjee, A.; Rana, K.; Kumar, V. PV cell and module efficient parameters estimation using Evaporation Rate based Water Cycle Algorithm. Swarm Evol. Comput. 2017, 35, 93–110. [Google Scholar] [CrossRef]
  20. Ali, F.; Sarwar, A.; Bakhsh, F.I.; Ahmad, S.; Shah, A.A.; Ahmed, H. Parameter extraction of photovoltaic models using atomic orbital search algorithm on a decent basis for novel accurate RMSE calculation. Energy Convers. Manag. 2023, 277, 116613. [Google Scholar] [CrossRef]
  21. Kharchouf, Y.; Herbazi, R.; Chahboun, A. Parameter’s extraction of solar photovoltaic models using an improved differential evolution algorithm. Energy Convers. Manag. 2022, 251, 114972. [Google Scholar] [CrossRef]
  22. Chen, X.; Ding, K.; Zhang, J.; Yang, Z.; Liu, Y.; Yang, H. A two-stage method for model parameter identification based on the maximum power matching and improved flow direction algorithm. Energy Convers. Manag. 2023, 278, 116712. [Google Scholar] [CrossRef]
  23. Abd El-Mageed, A.A.; Abohany, A.A.; Saad, H.M.; Sallam, K.M. Parameter extraction of solar photovoltaic models using queuing search optimization and differential evolution. Appl. Soft Comput. 2023, 134, 110032. [Google Scholar] [CrossRef]
  24. Zhou, J.; Zhang, Y.; Zhang, Y.; Shang, W.-L.; Yang, Z.; Feng, W. Parameters identification of photovoltaic models using a differential evolution algorithm based on elite and obsolete dynamic learning. Appl. Energy 2022, 314, 118877. [Google Scholar] [CrossRef]
  25. Abdel-Basset, M.; Mohamed, R.; Jameel, M.; Abouhawwash, M. Nutcracker optimizer: A novel nature-inspired metaheuristic algorithm for global optimization and engineering design problems. Knowl. Based Syst. 2023, 262, 110248. [Google Scholar] [CrossRef]
  26. Kennedy, J.; Eberhart, R. Particle swarm optimization. In Proceedings of the ICNN’95-International Conference on Neural Networks, Perth, WA, Australia, 27 November–1 December 1995; pp. 1942–1948. [Google Scholar]
  27. Tan, Y.; Zhu, Y. Fireworks algorithm for optimization. In Proceedings of the Advances in Swarm Intelligence: First International Conference, ICSI 2010, Beijing, China, 12–15 June 2010; Proceedings, Part I 1. pp. 355–364. [Google Scholar]
  28. Mirjalili, S.; Lewis, A. The whale optimization algorithm. Adv. Eng. Softw. 2016, 95, 51–67. [Google Scholar] [CrossRef]
  29. Abbassi, A.; Gammoudi, R.; Dami, M.A.; Hasnaoui, O.; Jemli, M. An improved single-diode model parameters extraction at different operating conditions with a view to modeling a photovoltaic generator: A comparative study. Sol. Energy 2017, 155, 478–489. [Google Scholar] [CrossRef]
  30. Jung, T.H.; Ko, J.W.; Kang, G.H.; Ahn, H.K. Output characteristics of PV module considering partially reverse biased conditions. Sol. Energy 2013, 92, 214–220. [Google Scholar] [CrossRef]
  31. Kassis, A.; Saad, M. Analysis of multi-crystalline silicon solar cells at low illumination levels using a modified two-diode model. Sol. Energy Mater. Sol. Cells 2010, 94, 2108–2112. [Google Scholar] [CrossRef]
  32. Vander Wall, S.B. An experimental analysis of cache recovery in Clark’s nutcracker. Anim. Behav. 1982, 30, 84–94. [Google Scholar] [CrossRef]
  33. Wilcoxon, F. Individual comparisons by ranking methods. In Breakthroughs in Statistics; Springer: Berlin/Heidelberg, Germany, 1992; pp. 196–202. [Google Scholar]
  34. Wolpert, D.H.; Macready, W.G. No free lunch theorems for optimization. IEEE Trans. Evol. Comput. 1997, 1, 67–82. [Google Scholar] [CrossRef]
Figure 1. Equivalent circuit of (a) SDM, (b) DDM, (c) TDM.
Figure 1. Equivalent circuit of (a) SDM, (b) DDM, (c) TDM.
Applsci 13 06710 g001
Figure 2. Convergence graph for (a) SDM, (b) DDM, (c) TDM.
Figure 2. Convergence graph for (a) SDM, (b) DDM, (c) TDM.
Applsci 13 06710 g002
Figure 3. Simulated I–V curves of (a) SDM, (b) DDM, (c) TDM.
Figure 3. Simulated I–V curves of (a) SDM, (b) DDM, (c) TDM.
Applsci 13 06710 g003
Table 1. Circuit equations of SDM, DDM, TDM.
Table 1. Circuit equations of SDM, DDM, TDM.
ModelCircuit Equations
SDM I L = I p h I S D 1 exp q ( V L + I L R s ) n 1 k T 1 V L + I L R s R s h
DDM I L = I p h I S D 1 exp q ( V L + I L R s ) n 1 k T 1 I S D 2 exp q ( V L + I L R s ) n 2 k T 1 V L + I L R s R s h
TDM I L = I p h I S D 1 exp q ( V L + I L R s ) n 1 k T 1 I S D 2 exp q ( V L + I L R s ) n 2 k T 1 I S D 3 exp q ( V L + I L R s ) n 3 k T 1 V L + I L R s R s h
PV I L = I p h N p I S D N p exp q V L + N s I L R s N p n k N S T 1 ( V L + N s I L R s N p ) / R s h N s N p
Table 2. Formula for the error function.
Table 2. Formula for the error function.
Evaluation IndexFormula
RMSE R M S E = 1 N i = 1 N I m e a I cal 2  1
1  I m e a represents the actual current value obtained from the experiment, and I cal represents the calculated current value after model optimization.
Table 3. Parameter optimization functions for SDM, DDM, and TDM.
Table 3. Parameter optimization functions for SDM, DDM, and TDM.
ModelParameter Optimization Functions
SDM f S ( V t , I t , X s ) = I L x 3 + x 4 q ( V t + x 1 I t ) x 5 k T 1 + V t + x 1 I t x 2
DDM f D ( V t , I t , X D ) = I L x 3 + x 4 q ( V t + x 1 I t ) x 6 k T 1 + x 5 q ( V t + x 1 I t ) x 7 k T 1 + V t + x 1 I t x 2
TDM f T ( V t , I t , X T ) = I L x 3 + x 4 q ( V t + x 1 I t ) x 6 k T 1 + x 5 q ( V t + x 1 I t ) x 7 k T 1 + x 8 q ( V t + x 1 I t ) x 9 k T 1 + V t + x 1 I t x 2
X s = [ R s , R s h , I p h , I S D 1 , n 1 ] , X D = [ R s , R s h , I p h , I S D 1 , I S D 2 , n 1 , n 2 ] , X T = [ R s , R s h , I p h , I S D 1 , I S D 2 , I S D 3 , n 1 , n 2 , n 3 ] .
Table 4. The nomenclature used in the NOA algorithm.
Table 4. The nomenclature used in the NOA algorithm.
ParametersDescription
X i t The current position/current cache of nutcrackers in iteration t.
X i , j t The jth position of the ith nutcracker in the current generation.
U j , L j Vectors, including the upper and lower bound of the jth dimension in the optimization problem.
γ , λ A number generated according to the Lévy flight.
X best t The jth dimension of the best solution obtained.
τ , r , φ Random real numbers in the range of [0, 1].
X m , j t The mean of the jth dimensions of all solutions of the current population in the iteration t.
X t + 1 n e w A new position in the storage area of the nutcrackers in current iteration t.
l A factor that linearly decreased from 1 to 0.
P a 1 A probability value that is linearly decreased from one to zero.
R P i , 1 t , R P i , 2 t RPs (objects) of the cache position X i t of the ith nutcracker in the current generation t.
θ The angle-of-view of the nutcracker, chosen at random from [0, π].
t , T m a x The current and maximum generations.
P a 2 A probability value that is equal to 0.2.
R M A random vector in the interval [0, 1].
Table 5. Test results for SDM, DDM, and TDM models.
Table 5. Test results for SDM, DDM, and TDM models.
NOAPSO FWAWOA
SDMAVG-RMSE0.018868 2.298162 1.679379 3.061984
MD0.000099 1.698016 1.698207 1.698016
STD0.079632 1.658716 0.103535 2.336065
DDMAVG-RMSE0.488002 1.447042 1.267698 1.557119
MD0.024675 1.309913 1.310957 1.672228
STD0.636135 0.244036 0.131228 0.236466
TDMAVG-RMSE0.003819 0.250803 0.378707 0.304575
MD0.003069 0.017604 0.405576 0.376345
STD0.003877 0.457756 0.088091 0.338801
Rank1324
Table 6. Test results for SDM.
Table 6. Test results for SDM.
Algorithm R s R s h I p h I S D 1 n 1 RMSE
NOA0.006562 5.220376 7.865330 2.9458 × 10−100.981397 7.92586 × 10−5
PSO0.000000 0.116629 9.426077 0.0000000.823792 1.698016
FWA0.000000 0.153262 10.000000 3.1557 × 10−100.999684 1.131198
WOA0.000000 0.116653 9.425459 0.0000000.960865 1.698016
Table 7. Test results for DDM.
Table 7. Test results for DDM.
Algorithm R s R s h I p h I S D 1 I S D 2 n 1 n 2 RMSE
NOA0.006562 5.229866 7.865346 2.9392 × 10−105.4180 × 10−70.981306 3.641440 6.02460 × 10−5
PSO0.046217 3000.000008.037722 0.0000001.0000 × 10−61.000000 2.000000 1.309913
FWA0.000335 535.789322 7.249937 4.9392 × 10−101.1080 × 10−80.998794 2.000811 0.817332
WOA0.046217 2332.14650 8.037774 0.0000001.0000 × 10−60.112296 2.000000 1.309914
Table 8. Test results for TDM.
Table 8. Test results for TDM.
Algorithm R s R s h I p h I S D 1 I S D 2 I S D 3 n 1 n 2 n 3 RMSE
NOA0.006564 5.210821 7.865464 2.9270 × 10−108.2069 × 10−79.1951 × 10−70.981139 8.745928 8.109913 6.23616 × 10−5
PSO0.006739 100.00000 7.824180 0.0000001.0000 × 10−61.4708 × 10−111.000000 1.691382 0.877124 0.013344
FWA0.004407 62.997622 7.939448 0.0000001.0000 × 10−61.0000 × 10−60.556490 2.035365 1.483360 0.106027
WOA0.006551 93.154950 7.813773 4.6284 × 10−109.3795 × 10−75.1560 × 10−91.000000 9.460711 9.315814 0.019484
Table 9. Variable Range Setting for SDM, DDM, TDM.
Table 9. Variable Range Setting for SDM, DDM, TDM.
ParametersLower BoundUpper Bound
R s ( Ω ) 010
R s h ( Ω ) 03000
I p h ( A ) 010
I S D 1 , I S D 2 , I S D 3 ( μ A ) 01
n 1 , n 2 , n 3 010
Table 10. Convergence time (in seconds).
Table 10. Convergence time (in seconds).
AlgorithmSDMDDMTDMAVG-TimeRANK
NOA406.19 404.87 729.26 513.44 1
PSO4279.71 6378.25 4177.62 4945.19 3
FWA4957.14 9037.98 12516.82 8837.32 4
WOA2262.39 2263.33 4610.02 3045.24 2
Table 11. Wilcoxon rank test, comparative results.
Table 11. Wilcoxon rank test, comparative results.
NOA vs.PSOhFWAhWOAh
SDM3.01985 × 10−11 11.91209 × 10−913.01985 × 10−111
DDM2.97473 × 10−1111.90126 × 10−913.00270 × 10−111
TDM2.50779 × 10−1112.80032 × 10−1113.00098 × 10−111
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

Duan, Z.; Yu, H.; Zhang, Q.; Tian, L. Parameter Extraction of Solar Photovoltaic Model Based on Nutcracker Optimization Algorithm. Appl. Sci. 2023, 13, 6710. https://0-doi-org.brum.beds.ac.uk/10.3390/app13116710

AMA Style

Duan Z, Yu H, Zhang Q, Tian L. Parameter Extraction of Solar Photovoltaic Model Based on Nutcracker Optimization Algorithm. Applied Sciences. 2023; 13(11):6710. https://0-doi-org.brum.beds.ac.uk/10.3390/app13116710

Chicago/Turabian Style

Duan, Zhenjiang, Hui Yu, Qi Zhang, and Li Tian. 2023. "Parameter Extraction of Solar Photovoltaic Model Based on Nutcracker Optimization Algorithm" Applied Sciences 13, no. 11: 6710. https://0-doi-org.brum.beds.ac.uk/10.3390/app13116710

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