Next Article in Journal
Metamaterial-Enhanced MIMO Antenna for Multi-Operator ORAN Indoor Base Stations in 5G Sub-6 GHz Band
Previous Article in Journal
SiGe-Surrounded Bitline Structure for Enhancing 3D NAND Flash Erase Speed
 
 
Font Type:
Arial Georgia Verdana
Font Size:
Aa Aa Aa
Line Spacing:
Column Width:
Background:
Article

Parameter Extraction of Photovoltaic Cells and Panels Using a PID-Based Metaheuristic Algorithm

Department of Electronics and Computers, Faculty of Electrical Engineering and Computer Science, Transilvania University of Brasov, 500036 Brasov, Romania
*
Author to whom correspondence should be addressed.
Appl. Sci. 2025, 15(13), 7403; https://doi.org/10.3390/app15137403
Submission received: 25 May 2025 / Revised: 28 June 2025 / Accepted: 30 June 2025 / Published: 1 July 2025
(This article belongs to the Section Electrical, Electronics and Communications Engineering)

Abstract

In the world of solar technology, precisely extracting photovoltaic cell and panel parameters is key to efficient energy production. This paper presents a new metaheuristic algorithm for extracting parameters from photovoltaic cells using the functionality of the PID-based search algorithm (PSA). The research includes single-diode (SDM) and double-diode (DDM) models applied to RTC France, amorphous silicon (aSi), monocrystalline silicon (mSi), PVM 752 GaAs, and STM6-40 panels. Datasets from multijunction solar cells at three temperatures (41.5 °C, 51.3 °C, and 61.6 °C) were used. PSA performance was assessed using root mean square error (RMSE), mean bias error (MBE), and absolute error (AE). A strategy was introduced by refining PID parameters and relocating error calculations outside the main loop to enhance exploration and exploitation. A Lévy flight-based zero-output mechanism was integrated, enabling shorter extraction times and requiring a smaller population, while enhancing search diversity and mitigating local optima entrapment. PSA was compared against 26 top-performing algorithms. RTC France showed RMSE improvements of 0.67–2.10% in 3.35 s, while for the mSi model, PSA achieved up to 40.9% improvement in 5.57 s and 22.18% for PVM 752 in 8.52 s. PSA’s accuracy and efficiency make it a valuable tool for advancing renewable energy technologies.

1. Introduction

In response to combating climate change and satisfying the requirements of sustainable development, countries are rapidly moving to renewable energy sources like solar power, which is converted using photovoltaic (PV) panels into electric energy [1]. The development of PV systems is crucial for nations to take advantage of the fact that solar energy is accessible in many regions of the world [2]. The European Commission has established goals for renewable energy, which will likely result in improvements to existing technology and the introduction of whole new approaches. The target is for 32% of total energy consumption to come from renewable sources by the end of the decade and a remarkable 100% by 2050 [3]. The move to clean energy sources is becoming critical due to rising environmental concerns, and solar technology has achieved significant advancements and has made continuous attempts to improve photovoltaic technology. In order to maximize the effectiveness of solar power generation systems in response to changing environmental conditions, accurate parameter extraction from PV models is required.
“Parameter extraction” refers to identifying the key electrical parameters such as series resistance, shunt resistance, diode ideality factor, photocurrent, and saturation current in the single- and double-diode photovoltaic models, based on current–voltage (I–V) characteristics. Both analytical methods using complicated equations and metaheuristic algorithms have been used in this field. Both are especially useful when dealing with difficult issues like parameter extraction [4,5].
Analytical methods provide a basic strategy, but they are extremely assumption-dependent. However, metaheuristic algorithms, such as genetic algorithms, perform very well when faced with complicated problems and do not require derivatives [6]. Improvements in clean energy technologies are made possible by combining these analytical methods and metaheuristic algorithms to release photovoltaic systems’ full potential [7].
To illustrate the broader effectiveness of metaheuristic techniques in energy optimization problems, the War Strategy Optimization (WSO) algorithm has been successfully applied to optimal power flow in wind-integrated systems, achieving significant reductions in electricity generation costs and voltage fluctuations [8].
Although metaheuristic algorithms have many potential benefits, they can also have limitations, including a slower convergence rate and a higher calculation time [9]. The pros and cons of the various approaches to parameter extraction are addressed in a review by Cotfas et al. [10]. Further information on these powerful optimization methods is provided by later review publications that categorize metaheuristic algorithms and their alternatives [11,12].
While this study centers on photovoltaic systems, the importance of accurate modeling and parameter estimation extends across energy technologies. For instance, Zhao et al. [13] emphasized how structural understanding and redox behavior critically affect performance in sodium-ion batteries—highlighting the universal relevance of precise parameter extraction in optimizing next-generation energy systems.
Despite extensive research in the domain of parameter optimization for photovoltaic systems, key challenges persist that limit the real-world applicability of existing algorithms. One notable issue is the computational intensity required for many of these algorithms to function optimally; they often necessitate large populations, a high number of iterations, and extended computational time [14,15,16,17,18]. This is particularly problematic as photovoltaic systems continue to grow in complexity, raising questions about the scalability and efficiency of current optimization techniques.
This paper introduces a PID-based search algorithm (PSA) that directly addresses these limitations [19]. Inspired by PID control systems, PSA is engineered for efficiency, balancing both population size and the number of iterations to significantly reduce computational time. In tests involving both single- and double-diode models across six types of photovoltaic cells and panels, PSA has demonstrated not only effective scalability but also improved efficiency, making it well-suited for complex, real-world applications. Importantly, PSA requires fewer parameters to be configured, making it well-suited for real-world applications.
PID controllers are widely used in control systems due to their simplicity, robustness, and effectiveness in correcting dynamic system deviations in real time. These properties make them well-suited as a foundation for optimization strategies. In the proposed PSA, the proportional, integral, and derivative components are reinterpreted as metaheuristic tuning mechanisms that adaptively adjust the exploration–exploitation balance. This control-inspired structure helps guide the search process more efficiently toward optimal solutions. By incorporating feedback-driven corrections instead of relying purely on stochastic behavior, PSA offers a more structured and dynamically responsive alternative to traditional metaheuristics, improving both convergence speed and robustness against stagnation.
Another prevalent challenge in the existing literature is the susceptibility of optimization algorithms to local minima [20,21,22]. Many algorithms, while designed to seek optimal solutions, often converge to suboptimal points due to this limitation. PSA counters this challenge through its inherent resistance to disturbances and fluctuations, which allows it to avoid being stuck in local minima. The PID-inspired search mechanism in PSA ensures a more robust convergence to the global optimum, thereby elevating its efficacy over algorithms that are prone to local minima. Additionally, the PSA features a zero-output mechanism that adapts the search to prevent becoming stuck in local optima by using Lévy flight in a probabilistic manner. In order to improve convergence towards the global optimum in later steps, the Lévy flight enables the PSA to progressively shift focus towards the phase of exploitation despite larger diversity in the search space during earlier steps.
The PSA’s performance is evaluated through comparisons with twenty-six leading parameter extraction algorithms, each known for achieving optimal root mean square error (RMSE) in PV applications. However, computational efficiency and execution time scalability are the main weaknesses of the majority of these algorithms. To address these issues, this study significantly reduces execution time and iterations by using smaller population sizes under optimal RMSE. This will be achieved by determining preliminary error values outside the main iterative loop, hence providing a benchmark for further calculations in the incremental PSA. The PSA also applies a mechanism of zero-output with Lévy flight that self-tunes probabilistically to avoid entrapment in local optima, which helps to enhance the efficiency of search and solution quality.
Among the algorithms considered for comparison, the improved version of the snake optimization algorithm (ISOA) achieves a perfect balance between exploring and exploiting, proving possibilities with fewer variables and fewer iterations [23]. Reduced complexity makes it simpler to put into practice. While ISOA has optimized exploration–exploitation balance and accuracy, ISOA requires a high execution time to find the optimal RMSE, which took around 20.6 to 26.9 s per simulation to obtain the optimal RMSE value in the case of SDMs of the RTC France. For the RTC France DDM, it took around 26.87 s to reach the optimal RMSE.
The improved simultaneous heat transfer search algorithm (ISHTS) demonstrates a high level of accuracy in PV parameter estimation because the balance between exploration and exploitation has been enhanced using simultaneous heat transfer along with elitist perturbation strategies, resulting in an optimal RMSE [24]. The algorithm operates efficiently at 50,000 iterations. However, while ISHTS is highly accurate and optimizes the exploration phase to achieve the optimal RMSE value, it requires substantial processing time, with an average execution time of about 23 s per simulation for SDMs and DDMs.
The black widow optimization algorithm (BWOM), which takes its inspiration from the aggressive behaviors of black widow spiders, has certain distinct advantages over other optimization algorithms by using the cannibalism strategy and mating and reproduction mechanism. However, BWOM requires a higher number of search agents in order to obtain the optimal solution [25].
The enhanced generalized normal distribution optimization (NSGNDO) algorithm performs a balance between exploration and exploitation by means of neighborhood search strategies, which realize high accuracy in the PV parameter estimation [26]. In SDMs, NSGNDO achieves an optimal RMSE in 10,000 iterations and completes simulations in about 22 s. In DDMs, it is where NSGNDO yielded an optimal RMSE at about 38 s per run. However, in cases that are very large or highly nonlinear search spaces, the NSGNDO may face a long execution time. That is, the dual neighborhood search strategies make each iteration more complicated, possibly reflecting longer optimization times for high-dimensional problems.
The gaining–sharing knowledge-based algorithm (GSK) proves to be advantageous due to its high accuracy and efficiency when it comes to extracting parameters for solar PV systems [27]. To achieve a good balance between exploration and exploitation, the GSK algorithm employs a pair of crucial stages known as the “junior” and “senior” phases. However, the iteration in the case of SDMs is 30,000, and the iteration in the case of DDMs is 50,000, both of which resulted in a significant amount of computing time.
Improved shuffled complex evolution algorithm (ISCE) has major advantages include a basic yet effective global search, reliable performance, and less unpredictability [28]. This was performed by using the competitive complex evolution and reflection and contraction steps. However, when dealing with complicated situations that have multiple local low points, ISCE takes longer to make progress. ISCE achieved the optimal RMSE in the case of SDMs with 5000 iterations completing in approximately 19 s, while in the case of DDMs, it achieved an optimal RMSE with 10,000 iterations, averaging 24 s per simulation.
The hybrid successive discretization algorithm (HSDA) offers a number of advantages, including increased accuracy and a strong capability for global searching [29]. This is achieved by using vicinity construction around seed solutions, successive discretization techniques, and adaptive adjustment of search radius. However, these benefits require a lot of processing power to fully realize them.
The DIWJAYA algorithm relies on an improved JAYA with an individual weighting scheme, yielding high precision in PV parameter estimation, balancing between exploration and exploitation due to its adaptive weighting mechanism, population mean inclusions, and a Gaussian mutation strategy [30]. For the SDM, DIWJAYA reaches an optimal RMSE in 50,000 iterations, completing simulations in approximately 27 s. For the DDM, it achieves an optimal RMSE with reduced convergence times, averaging 30 s per run. While DIWJAYA’s advanced features improve convergence speed and solution quality, its higher iteration demands limit scalability in PV parameter extraction, as the algorithm requires 50,000 iterations to reach the optimal RMSE.
The atomic orbital search algorithm (AOS) is inspired by the quantum atomic model, whose concept is based on the movement of electrons around a nucleus’s orbitals. It employs hypothetical orbital layers and photon absorption and emission to find the best possible solution [31]. It is a population-based algorithm, and its performance comes from the fact that it can find the best global solutions quickly and with fewer iterations.
A memory-based improved gorilla troops optimizer (MIGT), demonstrating outperformance of other metaheuristic algorithms by combining the gorilla memory-saving technique and the explorative gorilla with an adaptive mutation mechanism [32]. However, the optimization process requires a high number of iterations in order to obtain the optimal solution, including increased computational load due to the memory-saving technique and potential performance fluctuations in high-dimensional PV models.
While parameter extraction in PV systems has been widely studied using metaheuristic algorithms, the current literature still struggles with balancing accuracy, convergence speed, and scalability. The novelty and contributions of the proposed work for extracting parameters of photovoltaic cells and panels are the following:
  • The work is the first that uses the PID-based Search Algorithm (PSA) to extract parameters for both single- and double-diode models for six types of photovoltaic cells and panels (RTC France, amorphous silicon, and monocrystalline silicon photovoltaic cells, PVM 752 GaAs, and STM6-40 photovoltaic panels). Additionally, multijunction solar cells at three temperatures (41.5 °C, 51.3 °C, and 61.6 °C) were utilized.
  • The PSA was compared with twenty-six top-performing algorithms and consistently achieved RMSE and MBE levels that are equivalent to or better than the best-performing algorithms. It also proved computationally efficient, requiring a smaller population and faster extraction times, validating its effectiveness for both PV cells and panels.
  • The PSA’s performance is considerably improved by adjusting the proportion, integral, differential, and beta (β) parameters, aiding the algorithm in both exploration and exploitation phases.
  • Improving the effectiveness of the PSA by calculating current and historical errors of the deviation signal outside the main iterative loop provides crucial beginning values for the incremental PSA and a solid foundation for further computations.
  • Implementing a Lévy flight-based zero-output mechanism that allows the PSA to probabilistically adjust to avoid local optima entrapment. This mechanism enables broader search diversity early in the process, whereas λ is decreased over time in order to gradually shift the algorithm’s focus on exploitation in later stages.
The following is the plan for this paper: photovoltaic cell and panel models, statistical tests, problem complexity, and the proposed algorithm are described in Section 2. Results and discussions are further discussed in Section 3. Finally, the conclusions and suggestions for further study are presented in Section 4.

2. Materials and Methods

The aim of this paper is to extract PV parameters with maximum accuracy and minimal computation time. The first step involves gathering PV datasets. All datasets used in this study were obtained from previously published experimental studies. This includes data for monocrystalline silicon (mSi) and amorphous silicon (aSi) solar cells [29], multijunction solar cells at three temperatures (41.5 °C, 51.3 °C, and 61.6 °C) [33], as well as data for the RTC solar cell [34], PVM 752 GaAs [29], and STM6-40 panels [35]. Next, the selected models, SDM and DDM, were analyzed. An improved PID-based incremental search algorithm (PSA) was then implemented to improve the PV parameter extraction performance. To validate the results, some of the top algorithms in recent research were selected for comparison using three statistical tests.

2.1. PV Cell Models

PV systems are characterized by their ability to convert sunlight into electrical energy. As a result, knowing the behavior of the photovoltaic cell is critical for assessing its performance. Several models have been utilized to acquire the extracted parameters. The maximum power, short-circuit current, and open-circuit voltage can be obtained using their current–voltage characteristics. The single-diode model (SDM) and double-diode model (DDM) are presented since they are the most well-known models utilized in the challenge of extracting parameters, with the SDM being simpler and requiring fewer parameters to be extracted than the DDM [36,37]. The PSA is developed for optimizing the SDM and DDM parameters for three photovoltaic cells and three photovoltaic panels.

2.1.1. Single-Diode Model (SDM)

The SDM is widely utilized in the academic and research literature to extract the parameters of PV cells and panels. The SDM’s equivalent circuit is seen in Figure 1, as the diagram depicts a circuit with photocurrent, a diode, a shunt, and series resistance. The diode is connected in parallel with the shunt resistance, where the shunt resistance is utilized to consider the leakage current, while the series resistance accounts for ohmic losses. Equation (1) describes mathematically the equivalent circuit. It is obtained using Kirchhoff’s laws and used to calculate the output current [36].
I = I p h I s d e x p V + I R s n V t 1 V + I R s R s h
The photogenerated current is denoted by I p h , whereas the reverse saturation current is denoted by I s d ; n represents the ideality factor of the diode, while the shunt resistance and series resistance are represented by R s h , and R s , respectively. The thermal voltage V t is calculated as V t = k T / q , where q is the elementary electric charge with a value of 1.60217646 × 10−19 C, and the Boltzmann constant is represented as k with a value of 1.3806503 × 10−23 J/K. Lastly, T denotes the temperature of the photovoltaic cell. In order to ensure consistency in the computations for the extraction of parameters for both PV cells and panels, it is advised to use the same values for q and k .
In the case of the SDM, there are five parameters that need to be extracted from the single-diode cell, which are I p h , I s d , n ,   R s h , and R s .

2.1.2. Double-Diode Model (DDM)

This model takes into account the effects of recombination current loss in the depletion region by incorporating a second diode in the PV cell. Although this model is more accurate than the SDM, it is also difficult to put into practice. In contrast to the SDM, the DDM contains two parallel-connected diodes in its equivalent circuit, as seen in Figure 2. Equation (2) describes the mathematical formulas required to calculate the output current [37].
I = I p h I s d 1 exp V + I R s n 1 V t 1 I s d 2 exp V + I R s n 2 V t 1 V + I R s R s h ,
In this model, the PV cell is characterized by the seven parameters: I p h , I s d 1 , I s d 2 ,   n 1 , n 2 , R s h , and R s . The reverse saturation current and ideality factor of the diffusion mechanism are indicated by I s d 1 and n 1 , whereas the parameters that represent the generation–recombination process are denoted by I s d 2 and n 2 .

2.1.3. PV Module

In the case of the PV module, the photovoltaic cells are connected in series or in parallel. Equation (3) shows the calculation of the output current when considering a PV module [38].
I = N p   I p h N p     I s d 1 exp N p     V + N s   I R s n 1 N p   N s     V t 1 N p     I s d 2 e x p N p     V + N s   I R s n 2 N p   N s     V t 1 N p   V + N s I R s N s   R s h
where   N s is the number of series connections between PV cells, while N p is the number of parallel PV cell connections. For this study, N p is set to be equal to 1 because, in general, for industrial modules, the photovoltaic cells are connected in series. The parameters for the PV module will be used to extract both models, which in the SDM requires five parameters to be extracted, and the second bracket from Equation (3) can be considered as 0. On the other hand, in the case of the DDM, to improve the functionality of the module, seven parameters must be extracted.

2.1.4. Statistical Tests

To evaluate the performance of the PSA, an objective function that minimizes the differences between the measured current collected from the dataset and the estimated current obtained from the algorithm must be provided. This study uses the root mean square error, known as RMSE, see Equation (4), as the primary objective function due to its ability to penalize larger errors more significantly than other metrics, making it particularly effective for precise parameter estimation. Moreover, RMSE provides a comprehensive measure of accuracy and reliability, as it considers both the magnitude and distribution of errors.
Additionally, this study uses the mean bias error, known as MBE, shown in Equation (5), and absolute error, known as AE, shown in Equation (6), as another measure of performance to further assess the algorithm’s accuracy. These metrics are used to compare the PSA’s performance to those of other algorithms in the literature [37].
R M S E X = i = 1 n     I i c I i m   2 n   X ( S D M ) = I p h   , I s d 1 ,   R s ,   R s h ,   and   n 1 X D D M = I p h   , I s d 1 ,   I s d 2 , R s ,   R s h ,   n 1 and   n 2 ,
M B E = i = 1   n   I i c I i m   n
A E = i = 1 n   I i c I i m
where X represents the five parameters from the SDM and the seven parameters from the DDM. n is the total number of measured points, I i c is the algorithm’s calculated current, and I i m is the actual measured current.

2.2. Problem Complexity

While the models of PV used in the paper, in particular the SDM and DDM, are relatively simple in structure, the multi-objective nature of the parameter optimization problem makes it really challenging, in fact [39]. Among the important factors that the PSA needs to consider in a balanced manner are the accuracy of the parameter extraction, computational efficiency, and also robustness for different population sizes and iteration counts.
Each of the parameters in SDMs and DDMs affects the accuracy of the model, and its calibration should be performed as precisely as possible to reach minimum RMSE. However, the complexity of this task is compounded by the interdependencies between these parameters: adjusting one parameter can impact the behavior of others, potentially leading to a less accurate solution or longer computational time. Moreover, to achieve optimum performance, different types of PV cells and panels add extra complexity. Each cell type has different characteristics that can differently affect the efficacy of the algorithm. For this, a solution is required that will be able to adapt dynamically to changing conditions and avoid well-known challenges such as local minima and computationally expensive execution times [40].
In regard to this, PSA dynamically adjusts PID factors and a Lévy flight mechanism in terms of population sizes and iteration counts, balancing needs for exploration with the goal of efficient convergence. The following section presents the PSA with design features to address these challenges in PV parameter extraction.

2.3. The Proposed Algorithm

The chosen search algorithm for attaining the goal of the research is the PID-based search algorithm known as PSA [19], which aims to achieve accurate extraction of photovoltaic cell characteristics while balancing the number of iterations and population size to reduce the algorithm’s execution time.
Proportional–integral–derivative control, or incremental PID control, illustrates the change from the prior moment’s value of the control quantity. Using a recursive process, this difference becomes the next governing parameter. The incremental PID controller generates an output value for the actuator, which in turn controls the controlled object depending on the output value, all in response to the user-established target value. After each adjustment, the actual value of the item being controlled is gathered by a sensor and sent back to the incremental PID controller.
This research makes use of a discretized incremental PID search to complement the metaheuristic method’s search mechanism. PID control is designed to provide system stability by efficiently compensating for any disturbances in the object being managed. In this study, it regards each individual as if they were the goal value and the previously best individual in the community as the abstracted target value, which models the PID regulation process to correct the deviance of each individual relative to the optimal individual. The goal of this optimization technique is to improve the efficiency of the population as a whole by using a PID control mechanism, system deviation correction mechanism, adaptive tuning via zero output, and Lévy flight mechanism.

2.3.1. Initialization

The optimization process begins with the initialization of certain variables obtained from the input parameters. These variables include the parameters to be optimized using lower and upper limits, population size, maximum number of iterations, and PID coefficients. This properly constructed setup is critical to producing a population of viable solutions and evaluating their fitness levels.
x i j = u j l j r 1 + l j
The initial solutions (population) are generated randomly within the provided lower bound l j and upper bound   u j . r 1   is a random number between 0 and 1. The fitness of each solution, calculated using the objective function to extract the parameters of the PV panel, is evaluated and stored. The fitness function used is the RMSE, see Equation (4). The algorithm identifies and stores the best solution and its fitness value.

2.3.2. Calculating System Deviations

The algorithm performs the current and previous errors of the deviation signal only within the main iterative loop. To improve performance, an initial calculation of the deviation signal is also conducted outside the main loop, providing starting values for the incremental PSA and setting the baseline for further calculations. The errors show how the current matrix of solutions from the previous iteration differs from the optimal solution. The primary iterative process begins, which runs for a maximum number of generations. In each generation, the algorithm calculates the fitness function of each solution. If a solution performs better than the previously identified best solution, it is replaced as the best new solution. Then, the algorithm updates the calculation of current and previous errors in each generation, following the PSA. The difference between the best and current solutions forms the basis for updating the errors. The current and previous errors of iteration t are defined as follows:
e k t = x * t 1 X ( t 1 )
e k 1 t = e k t 1 + x * t x * t 1
where x * t is the best solution vector at iteration t , and X ( t ) is the matrix of all solutions at iteration t . The deviation signal e k t is calculated as the difference between the historical best individual x * t 1 and the current individual x t 1 at each iteration as shown in Equation (7). This approach eliminates the need for external detecting devices or a specialized controlling system to obtain the deviation signal, as it is derived inherently within the algorithm by tracking the progress of each individual in relation to the best-known solution in the search space. This internal feedback loop allows the PSA to autonomously adjust the control output based on the system’s deviation without additional hardware requirements.
Output values, zero output values, and a variable η are calculated. The output values utilize the PSA, with the PID coefficients applied to a weighted sum of the current error, the difference between current and previous errors, and the difference between the current and twice the previous errors plus the two-step errors, as in the following:
u t = K p r 2 e k t e k 1 t + K i r 3 e k t + K d r 4 e k t 2 e k 1 t + e k 2 t
where the PID coefficients K p , K i , and K d are the proportion, integral, and differential adjustment coefficients, respectively; and r 2 , r 3 , and r 4 are vector matrices containing random numbers between 0 and 1.
The zero output values utilize the Lévy flight function L , providing an exploration mechanism to avoid local minima. The variable η , used to balance the influence of the output and zero output values, decreases with progressing generations. The zero output values are defined as follows:
o t = cos 1 t / T + λ r 5 L   e k t
By replacing:
λ = ln T t + 2 ln T 2
L = u σ v 1 / β ; σ = Γ 1 + β × sin π β 2 Γ 1 + β 2 × β × 2 β 1 2 1 β
With u and v being matrices of randomly generated numbers coming from a standard normal distribution, β a factor set to 2, and r 5 a vector of random numbers from 0 to 1.
With this, the solutions are updated using a combination of output and zero output values, moderated by η :
x t + 1 = x t + η u t + 1 η o t
where
η = r 6 cos t / T
r 6 is a vector of random numbers coming from 0 to 1. Finally, the algorithms clip the solutions to ensure they remain within the set bounds.
In the extraction of the PV panel parameters, setting the K p = 1.2 , K i = 2 , and K d = 0.75 helped the algorithm balance between exploration and exploitation for stable and efficient convergence. The selected moderate K p value ensures responsiveness without oscillations, while the higher K i value corrects residual errors, and K d value provides damping to prevent overshooting.
Additionally, the Lévy flight parameter was set to β = 2 to allow controlled long-distance jumps, preventing premature convergence while maintaining stability. Empirical tests showed that β < 2 led to stagnation, while β > 2.5 caused excessive randomness. This configuration provided optimal accuracy and efficiency, obtaining the best solutions within a few runs.
Although a full grid search or sensitivity analysis was not conducted due to computational constraints, the selected parameters were determined through iterative empirical testing and consistently yielded optimal or near-optimal results across multiple test cases. This parameter set achieved low RMSE and MBE values with efficient convergence over multiple runs.
After running through all the generations, the code returns the best solution and its fitness value, signifying the optimal parameters and the minimum RMSE achieved by the algorithm.
Algorithm 1 and Figure 3 represent the algorithm’s pseudo-code and flowchart.
Algorithm 1 PID-Based Search Algorithm
1.Initialize bounds, population size, number of generations, beta factor, and proportion, integral, and derivative coefficients
2.Create the initial population using uniform random numbers within the bounds
3.For every solution in initial population
4. Calculate and store fitness value
5.End For
6.Identify best solution and its fitness value
7.Initialize current errors e k ( 1 ) using Equation (8)
8.Initialize previous errors e k 1 ( 1 ) as e k ( 1 ) (case for first generation)
9.Initialize two-step previous e k 2 ( 1 ) errors as e k ( 1 ) (case for first generation)
10.For t = 1 to number of generations
11. For every solution in population
12. Calculate and store fitness value
13. End For
14. Update best solution and its fitness value
15. e k 2 ( t ) = e k 1 ( t )
16. Update previous e k 1 ( t ) errors using Equation (9)
17. Update current errors e k ( t ) using Equation (8)
18. Calculate vector of output value u ( t ) using Equation (10)
19. Calculate λ using Equation (11)
20. Calculate Lévy flight function L using Equation (12)
21. Calculate zero output value vector o ( t ) using Equation (11)
22. Calculate η matrix using Equation (15)
23. Update population using Equation (14)
24. Clip set of solutions within the bounds
25.End For
26.Return best solution and its fitness value
Due to the PSA’s simplicity and ease of implementation, the implementation is built into vs. Code using the Python language version 3.11.9 and runs on a PC with an Intel Core i9 CPU and Windows 11 64-bit operating system. It is straightforward to use and offers stable performance.

3. Results and Discussion

The strength, efficiency, and accuracy of the algorithm are major factors in the growth and evolution of green energy sources. The extraction of exact parameters from photovoltaic cells and panels is a powerful resource that may help advance the renewable energy sector and lead us to a more sustainable future for the world.
To achieve accurate parameter extraction for PV cells and modules, this section determines how successfully the suggested PSA works. RTC France, amorphous silicon (aSi) and monocrystalline silicon (mSi) photovoltaic cells and panels, multijunction cells (MJS), PVM 752 GaAs, and STM6-40 photovoltaic panels were all used in the experiment. Based on a measured dataset, these PV devices were evaluated using the PSA for SDMs and DDMs. The PSA shows better or at least equivalent results compared to twenty-six of the best-performing algorithms.
Four metrics, including RMSE, MBE, STD, and AE, have been evaluated by comparing them with other top metaheuristic algorithms that have been used to extract the parameters of PV cells and panels to evaluate the performance of the PSA. In terms of improving the manufacturing process for manufacturers, it is crucial to achieve ideal solutions for each device while decreasing computation time. The performance results of the twenty-six comparison algorithms were taken directly from their original studies, using the same datasets and evaluation metrics. While our PSA was fine-tuned for optimal performance, the benchmark results also reflect tuning performed in their respective original papers.
The iteration and population size used for all the tests are 1100 iterations and 100 population sizes. It is significant to know that the PSA leads to better RMSE solutions as the number of iterations increases. This, however, leads to increased computational time. As a result, there is a trade-off between producing better outcomes and requiring more processing resources. In the end, the best combination that led to finding the optimal RMSE value from the first run was 100 population and 1100 iterations. With this iteration and the population size, the PSA provided positive results from its first run. The algorithm’s exploration step was much improved and effectively prevented convergence to local minima, which would otherwise result in less-than-ideal results. All execution times reported in this study include both the initialization phase and the full optimization loop to reflect the complete computational cost of the PSA.
The parameters of the PV cells are provided with their upper and lower bounds in Table 1, and in Table 2, the lower and upper bounds applied to the parameters of the PV modules are shown.

3.1. RTC France Cell

The first solar cell being examined is the 57 mm diameter RTC France silicon commercial cell. The majority of studies that extract photovoltaic cell parameters and apply metaheuristic algorithms for the SDMs and DDMs include this specific cell, which has been extensively examined. Although the changes could be slight, they are an essential way to show the new algorithm’s effectiveness and accuracy. At 1000 W/m2 and 33 °C, the RTC silicon photovoltaic cell’s I–V characteristic is measured. The associated dataset [34] is shown in Table S1, and it contains values for the current calculated using the SDMs and DDMs, along with their respective errors.
Both the SDM’s and DDM’s execution times of 3.3512 and 6.5292 s, respectively, are shown in Table 3, along with the RTC photovoltaic cell parameters retrieved using the PSA. The performance of the proposed algorithm was compared using RMSE, MBE, and STD with BWOA, ISHTS, NSGNDO, ISOA, AOS, HSDA, GSK, DIWJAYA, memory-based improved gorilla troops optimizer (MIGTO) [32], growth optimizer (GO) [41], improved marine predators algorithm (IMPA) [22], improved moth flame algorithms with local escape operators (IMFOL) [42], modified stochastic fractal search algorithm (MSFS) [43], a logistic chaotic JAYA algorithm (LCJAYA) [44], hybrid backtracking search optimization algorithm with differential evolution (DE/BSA) [45], leveraging the opposition-based exponential distribution optimizer (OBEDO) [46], and improved differential evolution algorithm (DE) [47]. As all of them produce the same RMSE value for the SDM, there is almost no difference in RMSE between the PSA and other top-performing algorithms. The RMSE value for the DDM, however, has improved to 0.67% when compared to BWOA and 1.15% when compared to ISOA, which demonstrates that PSA obtained the best RMSE value. Despite this, the RMSE for the DDM produced with the ASO, MSFS, MIGTO, IMFOL, and GSK algorithms is higher than that obtained with the PSA.
In the case of the SDM, because the RMSE values derived from the majority of algorithms are essentially identical, the difference in the retrieved parameters is negligible. This is due to the use of the best algorithms from the specialized literature. Algorithms such as DE and LCJAYA, on the other hand, give limited results because of their tendency to converge to local minima, preventing them from discovering optimal solutions and giving inferior results when compared to other top-performing algorithms for both models. This means that not all the algorithms can obtain the minimum value for RMSE. In this instance, however, the PSA surpasses other algorithms across all statistical tests, as shown in Table 3. When all retrieved parameters are analyzed for both models using the PSA method, considerable differences can be detected when compared to other algorithms.
In comparison to BWOA, the reverse saturation alteration for the diffusion mechanism is less in the DDM, varying by around 0.28%, but the difference for generation–recombination is high. As a result, it can be concluded that the DDM can accurately match the SDM in terms of parameter extraction and accuracy. Furthermore, the evaluation of all RTC photovoltaic cell parameters and the RMSE, MBE, and STD demonstrates the PSA’s capability to find the optimal solution and avoid hitting local minima.
In comparison to ISOA, both algorithms achieved the same RMSE of 9.8602 × 10−4; however, PSA yielded a significantly lower mean bias error (MBE) of 9.58 × 10−11 compared to ISOA’s −1.57 × 10−8, indicating greater numerical stability. For the DDM, PSA achieved a better RMSE (9.7078 × 10−4) than ISOA (9.8215 × 10−4), as well as a notably reduced MBE (2.31 × 10−9 vs. −3.62 × 10−8), confirming its consistency and precision.
For both the SDMs and DDMs, Figure 4 shows how the PSA’s estimated and observed I–V line up, and Figure 5 displays the P–V characteristics.
The absolute errors that were calculated by the algorithm, which are the differences between the measured current and the calculated current for both models, are displayed in Figure 6.
The PSA’s convergence curves for both models are shown in Figure 7, where the maximum iteration was 1500 and the population size was 100. The figure displays the iteration at which we began obtaining the least RMSE value, which is around 250 iterations at population 45 in the case of the SDM and population 93 in the case of the DDM. Additionally, shaded regions representing ± standard deviation across the iterations are included to illustrate the algorithm’s stability and convergence behavior over time. These bands reflect the variation in RMSE values and help assess the degree of fluctuation in the optimization process. Narrower bands indicate more consistent performance, while wider bands suggest increased variability.
Another study focuses on how the RTC photovoltaic cell’s RMSE and computation time change with iteration and population size. To find the best population size and iteration rate combination for minimizing the RMSE value, two studies were carried out.
The population size ranged from 20 to 100, and both models were examined in the first study with a set number of iterations of 100. However, this method did not produce the best results because the smallest RMSE value was reached when the population size and iteration were both set to 100. The results of this analysis produced a SDM with an RMSE value of 2.0060 × 10−3 and a compute time of 0.3747 s. With a computation time of 0.5862 s, the DDM’s minimal RMSE value was 4.5336 × 10−3.
In the second study, the number of iterations was changed by a step of 200 while keeping the population size fixed. This method made it possible to determine the algorithm’s lowest possible RMSE value. The optimum RMSE solution for the SDM needed a population size of 50 and 1100 iterations, which took around 2.056 s to compute. With a population size of 50 and 1500 iterations, the DDM took around 4.632 s to compute. Table 4 displays the analysis for the SDM, whereas Table 5 displays the analysis for the DDM.
Another experiment was conducted to evaluate the PSA’s effect on CPU execution time across different processors, as presented in Table 6. The SDM and DDM were tested on Intel Core i9 and AMD Ryzen 5 5600H CPUs. The Intel Core i9 outperformed the AMD Ryzen 5, with execution times of 1.9865 s (SDM) and 4.5221 s (DDM) compared to 3.5441 s (SDM) and 7.6632 s (DDM) for the AMD. The differences are due to the Intel CPU’s better single-threaded performance, optimized instruction sets, and superior thermal management, particularly for the more computationally demanding DDM.

3.2. aSi Cell

The amorphous silicon photovoltaic is the topic of discussion in the second analysis. It was evaluated at a specified 1000 W/m2 irradiance and 25 °C temperature, and so the I–V characteristic was measured. The result observed [29], which includes the current values derived using the SDMs and DDMs, including their associated errors, can be found in Table S2.
Table 7 displays the characteristics of the aSi photovoltaic cell determined from the PSA for both the SDMs and DDMs. The SDM analysis took 3.3512 s to execute, whereas the DDM took 6.5292 s. Statistical tests, RMSE, MBE, and STD were used to evaluate algorithm performance, which included algorithms such as BWOA, ISOA, and HSDA.
The PSA and BWOA algorithms produced identical RMSE values for both models, showing only minor variations. A comparison of the RMSE value with ISOA for the SDM revealed a small improvement of roughly 0.01%, whereas the improvement for the DDM was more considerable at 3.88%. For both models, the RMSE produced by the HSDA was higher than that obtained by the PSA.
When compared to BWOA, the RMSE findings for the SDMs and DDMs are essentially equal, showing insignificant changes in the obtained parameters. However, substantial differences arise when comparing the DDM to other algorithms such as ISOA and HSDA. Table 7 shows how the PSA beats alternative techniques for the DDM across all statistical tests. As all collected parameters for both models are analyzed using the PSA technique, substantial differences are shown when compared to other algorithms.
Compared to ISOA, the DDM has more changes in reverse saturation for recombination and generation processes as well as changes in series and shunt resistance. This shows that the DDM excels at extracting parameters reliably and with accuracy. Furthermore, the evaluation of all aSi solar cell parameters and the RMSE demonstrates the PSA’s capacity to find the optimal solution and avoid entering local minima.
Using the PSA approach, the I–V in Figure 8 and the P–V in Figure 9 shows features of the SDMs and DDMs aligned with the actual values.
Disparities between the observed current and the estimated current for both models are shown in Figure 10 as absolute errors, determined by the algorithm.
The convergence curves of the PSA with a maximum of 1500 iterations and a population size of 100 are shown in Figure 11. On the graph, the minimum RMSE value is seen to have been reached at roughly 150 iterations at population 37. Additionally, the figure includes shaded regions representing the ± standard deviation of RMSE values across the iterations. These bands serve to highlight the consistency and stability of the PSA throughout the optimization process. A narrow-shaded area indicates that the RMSE values remained closely clustered, reflecting robust convergence behavior, whereas wider regions would signify greater variability and less consistent performance.
In addition to the RTC, the aSi photovoltaic cell benefited from the research that was performed. The original study looked at both models with a fixed number of iterations set to 100, and the population size was between 20 and 100. However, the highest results were obtained by setting both the population size and the number of iterations to 100; therefore, this strategy was not optimal. The investigation showed that the SDM took 0.6133 s to compute and had an RMSE of 4.72 × 10−5. The DDM, on the other hand, minimized the RMSE to 1.52113 × 10−4 in only 0.9482 s.
In the next experiment, we kept the sample size the same while increasing the number of iterations by a factor of 200. By making this modification, we were able to find the algorithm’s minimum RMSE. With 900 iterations and a population size of 50, the optimum RMSE solution for the SDM was found, and the resultant calculation time was around 2.6704 s. For the DDM, the optimal solution took 50 population sizes and 1500 iterations, with an execution time of around 7.082 s. Table 8 displays the results of the experiment with the SDM, whereas Table 9 displays the experiment results with the DDM.
In this experiment, the CPU execution times for the SDM and DDM were evaluated across two different processors: Intel Core i9 and AMD Ryzen 5 5600H. Table 10 presents the results, highlighting that the Intel Core i9 consistently outperformed the AMD Ryzen 5 5600H for both models in terms of execution speed. The SDM required less execution time than the DDM on both processors, indicating a simpler computational complexity. Specifically, the Intel Core i9 achieved 3.2214 s for the SDM and 6.2822 s for the DDM, while the AMD Ryzen 5 took 5.9455 s and 9.9611 s, respectively. These differences can be attributed to the Intel Core i9’s superior architecture, clock speeds, and optimizations for single-threaded performance, which the algorithm likely benefits from. Conversely, the AMD Ryzen 5, while powerful, may not be as efficient for workloads with such specific computational demands.

3.3. mSi Cell

The monocrystalline silicon photovoltaic is the subject of this third solar cell analysis. At 1000 W/m2 irradiance and 27 °C temperature, the I–V characteristic of mSi silicon is evaluated. Current values derived using the SDMs and DDMs, together with their corresponding errors, are reported in Table S3 of the final dataset [29].
The mSi photovoltaic cell’s PSA-extracted values for the SDMs and DDMs are shown in Table 11. The SDM took 3.9440 s to execute, whereas the DDM version took 5.5715 s. Algorithms’ effectiveness is measured using RMSE, MBE, and STD to evaluate solutions obtained by ISOA, HSDA, and the Barnacles Mating Optimizer Algorithm (BMOA) [48].
In terms of the SDM, the RMSE value achieved by the PSA is not exceeded by ISOA; however, it does vary slightly from HSDA. In the instance of the DDM, the RMSE value improves by 40.9% when compared to ISOA and 50.58% when compared to HSDA. Despite these gains, the RMSE for both models generated by the BMOW algorithm is still greater than that achieved by the PSA.
The SDM’s RMSE findings show that the PSA was below ISOA’s RMSE value, with the discrepancies in the extracted parameters being very small. But there are notable differences when compared to other algorithms like BMOA and HSDA. In contrast, the PSA surpasses all other algorithms in the DDM with a high improvement, as seen in Table 11.
The performance of the BMOA was poor, since it became stuck in a local minimum and could not achieve the optimal results. When comparing the PSA findings to those of other algorithms, significant discrepancies were found after assessing all of the obtained parameters for both models. The PSA’s parameters, specifically in the SDM, exhibited only minor variations in values compared to ISOA, resulting in a greater RMSE value than that attained by ISOA, where ISOA obtained 5.5854 × 10−4 while PSA obtained 5.63096 × 10−4. The PSA, however, produced significant improvements in the DDM, notably in reverse saturation for the recombination and generation processes, as well as changes in series and shunt resistance. In terms of RMSE, PSA obtained 2.6216 × 10−4 while ISOA obtained 4.4383 × 10−4, representing an improvement of around 40.9% by PSA in this case. When compared to ISOA and HSDA, these improvements produced a greater overall improvement. Importantly, the PSA’s capability to locate the ideal solution and avoid being trapped in local minima is shown by the assessment of all mSi photovoltaic cell characteristics and the RMSE.
The alignment of the estimated and observed I–V and P–V characteristics generated by the PSA is shown in Figure 12 and Figure 13, allowing a comparison of the measured and computed currents for both the SDMs and DDMs.
Figure 14 shows the absolute errors, which are the differences between the observed and estimated currents for both models as determined by the algorithm. In the case of the DDM, the absolute errors are very low in comparison with the ones calculated with the SDM.
The convergence curves of the PSA method for both models are shown in Figure 15, with a maximum iteration of 1500 and a population size of 100. The graphic depicts the iteration at which the algorithm starts producing the lowest RMSE result.
Starting with iteration 220 at 66 population for the SDM, the PSA showed evidence of escaping the local minimum and nearing the ideal RMSE value. For the DDM, the algorithm began this process at iteration 100, although it took a significant jump to obtain the optimum RMSE at iteration 780 and 70 population.
To provide additional insight into the algorithm’s reliability, shaded regions corresponding to ± standard deviation across iterations are included. These bands demonstrate the level of variability in RMSE values at each iteration, offering a visual measure of algorithm stability. Narrower bands indicate consistent behavior across optimization steps, affirming PSA’s robustness in both SDMs and DDMs.
An initial investigation was performed on both models with a fixed iteration number set at 100 and the size of the population ranging between 20 and 100 to determine the most effective combination of iteration size and population size for reaching the best RMSE. The lowest RMSE value was attained when the population size and the number of iterations were both adjusted to 100; therefore, this method clearly did not work. The study showed that the RMSE for the SDM was 1.61 × 10−3 and the calculation time was 0.4073 s, whereas the RMSE for the DDM was 1.3605 × 10−3 and the computation time was 0.6340 s.
In the next experiment, the population size was held constant, but the number of iterations was increased by 200. The lowest RMSE value achievable by the method was thus determined. It took around 2.2343 s to obtain the optimum RMSE solution for the SDM with a population size of 50 and 1100 iterations. The DDM took around 7.082 s to calculate after 1500 iterations with a population size of 50. Since DDM requires the extraction of seven parameters, the search for the best RMSE takes more time, resulting in a higher number of iterations.
Table 12 presents the results of the SDM study, while Table 13 presents the findings of the DDM analysis.
In this analysis, the CPU execution times for the SDM and DDM were compared on Intel Core i9 and AMD Ryzen 5 5600H processors, as summarized in Table 14. The results indicate that the Intel Core i9 performed consistently faster than the AMD Ryzen 5 for both models, with execution times of 3.7890 s for the SDM and 5.2777 s for the DDM on the Intel processor, compared to 6.1665 s and 8.8891 s, respectively, on the AMD processor. The Intel Core i9’s superior execution times can be attributed to its advanced architecture, higher single-threaded performance, and optimizations for computational workloads, while the AMD Ryzen 5, though competitive, lags behind in handling the algorithm’s demands.

3.4. PVM Panel

PVM, short for PVM 752 GaAs thin-film photovoltaic panel, is the second photovoltaic panel being examined. The PVM I–V characteristic is being measured at 1000 W/m2 irradiance and 25 °C. The result is observed [29], containing the measured data and current values derived using the SDMs and DDMs, together with the corresponding errors, and can be found in Table S4.
The characteristics of the PVM photovoltaic panel that were derived using the PSA for the SDMs and DDMs are shown in Table 15. The SDM takes 5.3845 s to execute, whereas the DDM takes 8.5250 s. The performance of the algorithm, comprising BWOA, HSDA, AOS, OBEDO, and Supply-Demand-Based Optimization (SDO) [49], is measured by using RMSE.
Both the PSA and the BWOA provide the same RMSE values for the SDM, indicating that there is little difference between the two approaches. However, when HSDA and SDO are put up against PSA, the proposed algorithm performs much better, yielding a 3% advantage over both algorithms.
On the other hand, the RMSE improvement using the PSA for the DDM is impressive: 1.19% better than BWOA and 22.18% better than HSDA. Despite this, for both models, the RMSE produced using the PSA method is still better than other algorithms.
According to the RMSE values for the SDM, the PSA method achieves the same results as BWOA (2.2780 × 10−4), with hardly any changes in the parameters that are found. However, as demonstrated in Table 15, when comparing it with other algorithms such as BWOA and HSDA, significant discrepancies are found. The PSA performs better than other algorithms in all statistical tests, as shown in particular by the DDM.
AOS algorithms were unable to locate the lowest RMSE value because they were caught in local minima, which prevented them from obtaining the ideal RMSE. On the other hand, compared to other methods, substantial differences may be found when examining all obtained parameters using the PSA approach for both models.
In the instance of SDM, the PSA produced significantly larger parameter value differences for the I s d 1 of 3.778895 × 10−6 compared to BWOA with 3.7788 × 10−12, which resulted in a significantly lower RMSE value. Compared to BWOA and HSDA, the PSA improved the DDM the most by changing the reverse saturation for the recombination and generation processes and showing the most change in series and shunt resistance. The evaluation of all PVM solar module parameters and the RMSE show that the PSA can choose the best solution and not become stuck in local minima.
Figure 16 and Figure 17 show the PSA’s estimated and observed I–V and P–V for the SDMs and DDMs to show the difference between the measured current and the calculated current.
The absolute errors acquired by the algorithm are shown in Figure 18, which illustrates the differences between the observed current and the predicted current for both the SDMs and DDMs. In the case of the DDM, the absolute errors are very low in comparison with the ones calculated with the SDM.
The PSA’s convergence curves for both models are shown in Figure 19. The algorithm’s maximum iteration was set at 1500, with a population of 100. The graph shows which iterations the algorithm went through to reach the lowest RMSE value. The PSA began to evade the local minimum for the SDM around iteration 270 at 80 populations, arriving at the ideal RMSE value. For the DDM, on the other hand, this improvement started at iteration 370 at population 65, showing that it required a few more iterations to obtain the ideal RMSE value compared to the SDM.
To provide a clearer view of performance consistency, the convergence curves are accompanied by shaded bands representing ± standard deviation at each iteration. These bands indicate the degree of fluctuation in RMSE values and offer visual confirmation of the PSA’s stability and reliability during the optimization process.
Two tests were undertaken for both the SDMs and DDMs to find the appropriate combination of iteration size and population size for achieving the ideal RMSE in the case of PVM.
The population size in the first experiment varied from 20 to 100, but the number of iterations remained constant at 100. This method, however, did not produce the best results, as the lowest RMSE value was found when both the population size and iteration were set to 100. This resulted in an RMSE of 2.2031 × 10−3 and a computation time of 0.6249 s for the SDM. Meanwhile, the DDM achieved a minimal RMSE of 5.9449 × 10−4 in 0.9250 s of computing time.
In the second experiment, the number of iterations varied by 200 each time while the population size remained the same. The best RMSE value for the algorithm was calculated using this strategy. The SDM’s optimum RMSE solution, computed with 1500 iterations and a population size of 50, took about 4.6392 s to complete. With a population size of 50, the optimal solution in the DDM was similarly discovered after 1500 iterations; however, this time the calculation took roughly 6.8158 s. Finding the ideal RMSE requires more iterations for the DDM than it does for the SDM since the DDM requires the extraction of seven parameters. The findings of the SDM analysis are shown in Table 16, while the DDM analysis results are shown in Table 17.
In this experiment, summarized in Table 18, the performance of the SDMs and DDMs was evaluated in terms of CPU execution times across two processors: Intel Core i9 and AMD Ryzen 5 5600H. On the Intel Core i9, the DDM required 8.5112 s, significantly more than the 5.2231 s for the SDM. Similarly, on the AMD Ryzen 5, the DDM took 12.1566 s compared to 9.8966 s for the SDM. The differences in execution times between the processors also highlight the Intel Core i9’s better efficiency in managing computational workloads, which is likely due to its optimized architecture and superior single-thread performance.

3.5. STM6-40 Panel

The third solar panel under consideration is an STM6-40 monocrystalline panel manufactured by Schutten Solar. These panels are made up of 36 cells connected in series [50]. The I–V characteristic of the STM6-40 is measured at 1000 W/m2 irradiance and 51 °C. The dataset of 20 points [35], which is shown in Table S5, used to extract the parameters, includes the current values derived using the SDMs and DDMs, as well as their corresponding errors.
The STM6-40 photovoltaic panel’s PSA-obtained parameters are displayed in Table 19 for both the SDM and DDM types. The SDM took 2.56053 s to execute, while the DDM version took 4.4231 s. RMSE, MBE, and STD were used to evaluate the effectiveness of the algorithm.
The PSA is compared with ELADE, HSDA, GSK, IMPA, DE/BSA, reinforcement learning-based differential evolution (RLDE) [51], rnhanced leader particle swarm optimization (ELPSO) [52], conventional PSO (CPSO) [52], backtracking search algorithm (BSA) [52], and artificial bee colony (ABC) [52]. The PSA and other algorithms produce comparable RMSE values for the SDM, showing no variation in performance. However, when comparing PSA with ELPSO, it is roughly 20.6% better. The DDM’s RMSE value is 1.83% better than HSDA’s result and 7.72% better than it was when ELPSO was used. For both models, the RMSE performance of the PSA beats the other algorithms.
RMSE for SDM shows that the PSA yielded the same results (1.72981 × 10−3) as the ELADE, HSDA, RLDE, IMPA, and GSK algorithms, showing that the differences between them were quite small. In the case of the DDM, when compared to other algorithms like HSDA and ELPSO, however, certain key differences become apparent. Table 19 shows that, in contrast, the PSA consistently achieves the highest statistical success rates in the DDM. When compared to other methods, the PSA’s study of all obtained parameters reveals significant discrepancies.
The PSA’s parameters displayed slightly bigger variations in values as compared to HSDA in the SDM, leading to a slightly better RMSE value than that produced by other algorithms. On the other hand, the PSA was better in the case of the DDM with an RMSE of 1.6892 × 10−3 compared to either HSDA with 1.72072 × 10−3 or ELPSO with 1.8307 × 10−3. This is because the PSA could make more subtle changes to reverse saturation for the recombination and generation mechanisms, as well as changes to series and shunt resistance. Calculating the RMSE for each parameter of an STM6-40 photovoltaic module shows that the PSA method can find the best solution without becoming stuck in local minima.
Figure 20 and Figure 21 depict the consistency between the estimated and observed I–V and P–V characteristics generated by the PSA, allowing one to visually identify the discrepancies between the measured and calculated current in both the SDMs and DDMs.
Figure 22 displays the absolute errors, which are estimated by the PSA, between the observed and predicted currents for both models.
The PSA’s convergence curves are shown in Figure 23 for both models, with a maximum of 1500 iterations and a population size of 100. The figure shows the iteration at which the algorithm started attaining the minimum RMSE. At iteration 50 and a population of 89, the PSA began to escape the local minimum and eventually reached the optimal RMSE for the SDM. However, in the DDM, the PSA started making headway toward the best possible solution around iteration 120 and a population of 33.
To assess the consistency of the algorithm’s performance, shaded regions representing ± standard deviation across the iterations have been added to the convergence curves. These bands help visualize the variability in RMSE values throughout the optimization and provide further evidence of the algorithm’s robustness and stability across runs.
Two experiments were performed to establish the ideal iteration size and population size for minimizing the RMSE in the context of STM6-40. While the number of iterations was held constant at 100 for both models, the population size ranged from 20 to 100 in the first investigation. The shortest RMSE values were achieved when the population size and iteration were both set to 100; therefore, this strategy did not end up being the most effective. The resulting RMSE for the SDM was 2.08 × 10−3, and the computation took 0.3170 s. The best RMSE value for the DDM was 1.80 × 10−3, and it took 0.486 s to compute.
The second experiment involved keeping the population size the same but increasing the number of iterations by a factor of 200. This was a more efficient means of determining the RMSE of the algorithm. It took about 1.0971 s to calculate the optimal RMSE solution for the SDM with a population size of 50 and 700 iterations. However, the DDM required a larger number of iterations (1500) and a population size of 50, resulting in a computation time of about 3.5337 s due to the need to extract seven parameters. The intricacy of parameter extraction necessitated a longer iteration time in DDM to achieve the best RMSE. Table 20 displays the SDM analysis results, and Table 21 displays the DDM analysis results.
Table 22 examines the performance of both PV models in terms of CPU execution times on two processors: Intel Core i9 and AMD Ryzen 5 5600H. In terms of computational performance, the Intel Core i9 consistently outperformed the AMD Ryzen 5 5600H. For the SDM, the Intel Core i9 required 2.6012 s, significantly faster than the 4.9071 s taken by the AMD Ryzen 5. Similarly, for the DDM, the Intel Core i9 completed the task in 4.4091 s, whereas the AMD Ryzen 5 required 8.0901 s. These results highlight the Intel Core i9’s efficiency and better optimization for the given workload.

3.6. Multijunction Solar Cells (MJSC)

Three datasets were measured for an InGaP/InGaAs/Ge multijunction solar cell (MJSC) at three different temperatures. The MJSC, with a 1 cm2 active area, was tested under one-sun irradiance at three temperature conditions: Case A (41.5 °C), Case B (51.3 °C), and Case C (61.6 °C). These measurements were conducted in natural sunlight using the RELab system. The datasets were utilized to extract either five or seven parameters of the MJSC based on the SDMs and DDMs [33]. The associated errors and current values derived from the three cases are presented in Tables S6–S8.
The PSA was compared with other methods, including BWOA, the Chameleon Swarm Algorithm (CSA) [33], and the 5P method. The results obtained using the PSA for both the SDMs and DDMs are summarized in Table 23. To evaluate algorithm performance, the statistical tests RMSE and MBE were employed.
The PSA consistently outperformed BWOA and CSA across all temperatures and models. It achieved significant RMSE reductions, with improvements of up to 42.26% over BWOA and 88.11% over CSA. Additionally, the PSA demonstrated exceptional accuracy and stability in parameter extraction, particularly for I p h , I s d 1 , R s h , and n 1 , even in complex scenarios and at higher temperatures.
At Case A (41.5 °C), for the SDM, PSA achieved the lowest RMSE of 7.8273 × 10−5, improving over BWOA and CSA by 12.17% and 23.17%, respectively. The extracted parameters from PSA showed minimal variation, particularly for the photogenerated current ( I p h ), which differed by only 0.12% compared to other algorithms. Moreover, PSA outperformed its counterparts in accurately estimating reverse saturation current ( I s d 1 ) and shunt resistance ( R s h ), with deviations significantly lower than those produced by CSA. In the DDM, PSA continued to lead with an RMSE of 7.803119 × 10−5, reflecting a 12.42% improvement over BWOA and a 22.67% improvement over CSA. The extracted parameters from PSA were more consistent, with R s and n 1 values remaining stable, while R s h and I s d 1 exhibited less deviation than those obtained using the CSA.
At a higher temperature of 51.3 °C (Case B), PSA maintained its leading performance. For the SDM, it achieved an RMSE of 7.538744 × 10−5, marking a significant improvement of 20.23% over BWOA and 25.99% over CSA. The parameters extracted by PSA, particularly I p h and R s , remained stable and accurate despite the increased thermal stress. The differences in I p h were slightly more pronounced, with PSA differing from BWOA by 0.10% and from CSA by 0.14%. These values reflect a slight increase in variability as temperature rises, which is expected due to the thermal impact on solar cell behavior. Additionally, the ideality factor ( n 1 ) showed reduced variation, ensuring reliable modeling under these conditions. In the DDM, PSA achieved an RMSE of 7.5161575 × 10−5, which was dramatically better than the BWOA and CSA, with improvements of 42.26% and 36.74%, respectively. The extracted parameters for I s d 1 and R s h were notably more consistent, avoiding the exaggerated deviations seen with CSA. Furthermore, PSA managed to align its R s and n 2 values with expected trends, demonstrating its robustness in handling the complexity of the DDM.
Under the most challenging conditions at 61.6 °C in Case C, PSA’s ability to maintain accuracy was evident. For the SDM, it achieved an RMSE 6.7754050 × 10−5, a 30.01% improvement over BWOA and an impressive 88.11% over CSA. The extracted parameters, including I p h and I s d 1 , remained highly accurate, and the differences in I p h increased further, with PSA differing from BWOA by 0.20% and from CSA by 0.30%. These results highlight the challenges posed by high-temperature conditions, where thermal noise and variability in the dataset can affect parameter extraction, reflecting PSA’s capability to handle the noise and variability introduced by higher temperatures. Additionally, R s h and n 1 were extracted with significantly reduced deviations compared to CSA, ensuring a more precise representation of the solar cell’s behavior.
The best results obtained to extract the parameters of the MJSC for three temperatures are obtained using the PSA for both models by comparing the obtained results with the other algorithms in terms of RMSE, MBE, and STD.
The reduction in RMSE between the temperatures is significant (Figure 24). At 51.3 °C, the RMSE improves by 3.68% compared to 41.5 °C. As the temperature increases to 61.6 °C, the RMSE further improves by 10.12% compared to 51.3 °C. Overall, the RMSE improves by 13.43% when comparing the highest temperature (61.6 °C) to the lowest (41.5 °C).
Table 24 compares the performance of the SDM and DDM across three temperature scenarios—Case A (41.5 °C), Case B (51.3 °C), and Case C (61.6 °C)—on Intel Core i9 and AMD Ryzen 5 5600H processors. As temperature increases, run times vary slightly, with the SDM consistently requiring less time than the DDM. For example, in Case A, the SDM’s run time is 3.1843 s compared to 4.099 s for the DDM, with similar trends in Cases B and C. The Intel Core i9 consistently outperforms the AMD Ryzen 5 in CPU execution times, completing tasks in as little as 2.9817 s (SDM, Case C) compared to Ryzen’s 4.0331 s. Notably, the Intel Core i9’s CPU execution times are slightly lower than the total run times due to its efficient handling of task overheads, while the AMD Ryzen 5’s results are closer to the total run times, highlighting the i9’s superior computational efficiency.

4. Conclusions

This research introduced a novel metaheuristic algorithm, the PID-based search algorithm (PSA), for extracting parameters of PV cells and panels. By optimizing the proportion, integral, and differential parameters and relocating initial error calculations outside the iterative loop, the PSA demonstrated enhanced exploration, exploitation, and computational efficiency. The algorithm’s performance was validated using both SDMs and DDMs across datasets, including RTC France, aSi, mSi, and various photovoltaic panels. Compared to 26 state-of-the-art algorithms using four statistical tests, the PSA consistently achieved superior or comparable accuracy.
In particular, the RTC France DDM yielded RMSE improvements of 0.67–2.10%, while the mSi cell demonstrated up to 40.9% RMSE improvement compared with the ISOA, which obtained 4.4383 × 10−4, while PSA obtained 2.6216 × 10−4 with execution times of 3.94 s for the SDM and 5.57 s for the DDM. Additionally, the PSA required smaller population sizes and fewer iterations, underscoring its practicality. Testing the PSA under diverse conditions, including the multijunction solar cell (MJSC) at three different temperatures (41.5 °C, 51.3 °C, and 61.6 °C), demonstrated its reliability and effectiveness. It achieved average RMSE improvements of 12.17–12.42% across BWOA and CSA and execution times as low as 2.98 s for SDMs and 4.10 s for DDMs. The PSA was also tested using two CPUs—Intel Core i9 and AMD Ryzen 5 5600H—to evaluate CPU efficiency, with Intel Core i9 consistently achieving faster results. The extracted parameters, such as I p h , I s d 1 , R s h , and n 1 , were highly accurate and stable, even under high thermal stress.
To enhance the robustness and practical applicability of the PID-based Search Algorithm (PSA) in real-world environments, future work will integrate strategies to handle uncertainties such as sensor noise, environmental variability, and data imperfections commonly encountered in field conditions. One promising direction is the use of stochastic perturbation models that simulate noisy I–V measurements, enabling PSA to be tested and calibrated for resilience under such conditions. Moreover, the control-based nature of PSA allows for adaptive adjustment of the PID coefficients ( K p , K i , K d ) in response to the algorithm’s convergence behavior, which can improve stability and prevent premature convergence. Building on these enhancements, future work will apply PSA to emerging challenges, including perovskite solar cell modeling, triple-diode models, and PV panel power output prediction, further demonstrating its accuracy, flexibility, and potential for advancing complex photovoltaic systems.

Supplementary Materials

The following supporting information can be downloaded at: https://www.mdpi.com/article/10.3390/app15137403/s1, Table S1. RTC silicon PV cell dataset and current results; Table S2. Amorphous silicon photovoltaic cell dataset and current results; Table S3. Monocrystalline PV cell dataset and current results; Table S4. PVM 752 GaAs thin-film PV panel dataset and current results; Table S5. STM4-60 monocrystalline PV panel dataset and current results; Table S6. Multi-junction solar cell dataset at 41.5 °C and current results; Table S7. Multi-junction solar cell dataset at 51.3 °C and current results; Table S8. Multi-junction solar cell dataset at 61.1 °C and current results.

Author Contributions

Conceptualization, A.B. and D.T.C.; methodology, A.B., O.A., D.T.C., and P.A.C.; software, A.B.; validation, A.B. and O.A.; investigation, A.B.; data curation, A.B.; writing—original draft preparation, A.B. and O.A.; writing—review and editing, A.B., O.A., D.T.C., and P.A.C.; visualization, A.B.; supervision, D.T.C. 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

We present the data in the Supplementary Materials.

Conflicts of Interest

The authors declare no conflicts of interest.

References

  1. Tooryan, F.; HassanzadehFard, H.; Collins, E.R.; Jin, S.; Ramezani, B. Smart integration of renewable energy resources, electrical, and thermal energy storage in microgrid applications. Energy 2020, 212, 118716. [Google Scholar] [CrossRef]
  2. Piliougine, M.; Guejia-Burbano, R.; Petrone, G.; Sánchez-Pacheco, F.; Mora-López, L.; Sidrach-de-Cardona, M. Parameters extraction of single diode model for degraded photovoltaic modules. Renew Energy 2021, 164, 674–686. [Google Scholar] [CrossRef]
  3. EU Commission. Committing to Climate-Neutrality by 2050: Commission Proposes European Climate Law and Consults on the European Climate Pact; EU Commission: Brussels, Belgium, 2020. [Google Scholar]
  4. Cotfas, D.; Cotfas, P.; Mahmoudinezhad, S.; Louzazni, M. Critical factors and parameters for hybrid photovoltaic-thermoelectric systems; review. Appl. Therm. Eng. 2022, 215, 118977. [Google Scholar] [CrossRef]
  5. Yang, B.; Wang, J.; Zhang, X.; Yu, T.; Yao, W.; Shu, H.; Zeng, F.; Sun, L. Comprehensive overview of meta-heuristic algorithm applications on PV cell parameter identification. Energy Convers. Manag. 2020, 208, 112595. [Google Scholar] [CrossRef]
  6. Elkholy, A.; Abou El-Ela, A. Optimal parameters estimation and modelling of photovoltaic modules using analytical method. Heliyon 2019, 5, e02137. [Google Scholar] [CrossRef]
  7. Li, S.; Gong, W.; Gu, Q. A comprehensive survey on meta-heuristic algorithms for parameter extraction of photovoltaic models. Renew. Sustain. Energy Rev. 2021, 141, 110828. [Google Scholar] [CrossRef]
  8. Le, T.M.C.; Le, X.C.; Huynh, N.N.P.; Doan, A.T.; Dinh, T.V.; Duong, M.Q. Optimal power flow solutions to power systems with wind energy using a highly effective meta-heuristic algorithm. Int. J. Renew. Energy Dev. 2023, 12, 467–477. [Google Scholar] [CrossRef]
  9. Navarro, M.A.; Oliva, D.; Ramos-Michel, A.; Haro, E.H. An analysis on the performance of metaheuristic algorithms for the estimation of parameters in solar cell models. Energy Convers. Manag. 2023, 276, 116523. [Google Scholar] [CrossRef]
  10. Cotfas, D.; Cotfas, P.; Kaplanis, S. Methods to determine the dc parameters of solar cells: A critical review. Renew. Sustain. Energy Rev. 2013, 28, 588–596. [Google Scholar] [CrossRef]
  11. Gu, Z.; Xiong, G.; Fu, X. Parameter Extraction of Solar Photovoltaic Cell and Module Models with Metaheuristic Algorithms: A Review. Sustainability 2023, 15, 3312. [Google Scholar] [CrossRef]
  12. Sharma, A.; Sharma, A.; Averbukh, M.; Jately, V.; Rajput, S.; Azzopardi, B.; Lim, W.H. Performance investigation of state-of-the-art metaheuristic techniques for parameter extraction of solar cells/module. Sci. Rep. 2023, 13, 11134. [Google Scholar] [CrossRef]
  13. Zhao, L.; Bi, S.; Li, J.; Wen, Y.; Zhang, H.; Zhang, D.; Lu, S.; Yin, P.; Shi, F.; Yan, J. Prussian blue analogues for advanced non-aqueous sodium ion batteries: Redox mechanisms, key challenges and modification strategies. Energy Storage Mater. 2025, 78, 104256. [Google Scholar] [CrossRef]
  14. Yadav, D.; Singh, N.; Bhadoria, V.S.; Giri, N.C.; Cherukuri, M. A Novel Metaheuristic Jellyfish Optimization Algorithm for Parameter Extraction of Solar Module. Int. Trans. Electr. Energy Syst. 2023, 2023, 5589859. [Google Scholar] [CrossRef]
  15. Vandrasi, R.K.; Sravana Kumar, B.; Devarapalli, R. Solar photo voltaic module parameter extraction using a novel Hybrid Chimp-Sine Cosine Algorithm. Energy Sources Part A 2022, 1–20. [Google Scholar] [CrossRef]
  16. Long, W.; Cai, S.; Jiao, J.; Xu, M.; Wu, T. A new hybrid algorithm based on grey wolf optimizer and cuckoo search for parameter extraction of solar photovoltaic models. Energy Convers. Manag. 2020, 203, 112243. [Google Scholar] [CrossRef]
  17. Chen, X.; Yu, K. Hybridizing cuckoo search algorithm with biogeography-based optimization for estimating photovoltaic model parameters. Sol. Energy 2019, 180, 192–206. [Google Scholar] [CrossRef]
  18. Ayyarao, T.S.; Kumar, P.P. Parameter estimation of solar PV models with a new proposed war strategy optimization algorithm. Int. J. Energy Res. 2022, 46, 7215–7238. [Google Scholar] [CrossRef]
  19. Gao, Y. PID-based search algorithm: A novel metaheuristic algorithm based on PID algorithm. Expert Syst. Appl. 2023, 232, 120886. [Google Scholar] [CrossRef]
  20. He, P.; Xi, X.; Li, S.; Qin, W.; Xing, C.; Yang, B. Radial Basis Function Based Meta-Heuristic Algorithms for Parameter Extraction of Photovoltaic Cell. Processes 2023, 11, 1606. [Google Scholar] [CrossRef]
  21. Tajjour, S.; Chandel, S.S.; Malik, H.; Alotaibi, M.A.; Ustun, T.S. A Novel Metaheuristic Approach for Solar Photovoltaic Parameter Extraction Using Manufacturer Data. Photonics 2022, 9, 858. [Google Scholar] [CrossRef]
  22. Abdel-Basset, M.; El-Shahat, D.; Chakrabortty, R.K.; Ryan, M. Parameter estimation of photovoltaic models using an improved marine predators algorithm. Energy Convers. Manag. 2021, 227, 113491. [Google Scholar] [CrossRef]
  23. Belabbes, F.; Cotfas, D.T.; Cotfas, P.A.; Medles, M. Using the snake optimization metaheuristic algorithms to extract the photovoltaic cells parameters. Energy Convers. Manag. 2023, 292, 117373. [Google Scholar] [CrossRef]
  24. Chen, X.; Wang, S.; He, K. Parameter estimation of various PV cells and modules using an improved simultaneous heat transfer search algorithm. J. Comput. Electron. 2024, 23, 584–599. [Google Scholar] [CrossRef]
  25. Madhiarasan, M.; Cotfas, D.T.; Cotfas, P.A. Black Widow Optimization Algorithm Used to Extract the Parameters of Photovoltaic Cells and Panels. Mathematics 2023, 11, 967. [Google Scholar] [CrossRef]
  26. Ghetas, M.; Elshourbagy, M. Parameters extraction of photovoltaic models using enhanced generalized normal distribution optimization with neighborhood search. Neural Comput. Appl. 2024, 36, 14035–14052. [Google Scholar] [CrossRef]
  27. Xiong, G.; Li, L.; Mohamed, A.W.; Yuan, X.; Zhang, J. A new method for parameter extraction of solar photovoltaic models using gaining–sharing knowledge based algorithm. Energy Rep. 2021, 7, 3286–3301. [Google Scholar] [CrossRef]
  28. Gao, X.; Cui, Y.; Hu, J.; Xu, G.; Wang, Z.; Qu, J.; Wang, H. Parameter extraction of solar cell models using improved shuffled complex evolution algorithm. Energy Convers. Manag. 2018, 157, 460–479. [Google Scholar] [CrossRef]
  29. Cotfas, D.T.; Deaconu, A.M.; Cotfas, P.A. Hybrid successive discretisation algorithm used to calculate parameters of the photovoltaic cells and panels for existing datasets. IET Renew. Power Gener. 2021, 15, 3661–3687. [Google Scholar] [CrossRef]
  30. Choulli, I.; Elyaqouti, M.; Saadaoui, D.; Lidaighbi, S.; Elhammoudy, A.; Abazine, I. DIWJAYA: JAYA driven by individual weights for enhanced photovoltaic model parameter estimation. Energy Convers. Manag. 2024, 305, 118258. [Google Scholar] [CrossRef]
  31. 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]
  32. Abdel-Basset, M.; El-Shahat, D.; Sallam, K.M.; Munasinghe, K. Parameter extraction of photovoltaic models using a memory-based improved gorilla troops optimizer. Energy Convers. Manag. 2022, 252, 115134. [Google Scholar] [CrossRef]
  33. Cotfas, D.T.; Madhiarasan, M.; Cotfas, P.A. Extraction of the multijunction solar cell parameters using two metaheuristic algorithms. IEEE Access 2024, 12, 109634–109656. [Google Scholar] [CrossRef]
  34. Easwarakhanthan, T.; Bottin, J.; Bouhouch, I.; Boutrit, C. Nonlinear minimization algorithm for determining the solar cell parameters with microcomputers. Int. J. Sol. Energy 1986, 4, 1–12. [Google Scholar] [CrossRef]
  35. Oliva, D.; Abd El Aziz, M.; Hassanien, A.E. Parameter estimation of photovoltaic cells using an improved chaotic whale optimization algorithm. Appl. Energy 2017, 200, 141–154. [Google Scholar] [CrossRef]
  36. Arabshahi, M.; Torkaman, H.; Keyhani, A. A method for hybrid extraction of single-diode model parameters of photovoltaics. Renew Energy 2020, 158, 236–252. [Google Scholar] [CrossRef]
  37. Jordehi, A.R. Parameter estimation of solar photovoltaic (PV) cells: A review. Renew. Sustain. Energy Rev. 2016, 61, 354–371. [Google Scholar] [CrossRef]
  38. Ahmadianfar, I.; Gong, W.; Heidari, A.A.; Golilarz, N.A.; Samadi-Koucheksaraee, A.; Chen, H. Gradient-based optimization with ranking mechanisms for parameter identification of photovoltaic systems. Energy Rep. 2021, 7, 3979–3997. [Google Scholar] [CrossRef]
  39. Singla, M.K.; Gupta, J.; Alsharif, M.H.; Kim, M.-K.; Aljaidi, M.; Safaraliev, M. A robust multi-objective optimization algorithm for accurate parameter estimation for solar cell models. Soft Comput. 2024, 28, 11265–11277. [Google Scholar] [CrossRef]
  40. Ayyarao, T.S.; Kishore, G.I. Parameter estimation of solar PV models with artificial humming bird optimization algorithm using various objective functions. Soft Comput. 2024, 28, 3371–3392. [Google Scholar] [CrossRef]
  41. Aribia, H.B.; El-Rifaie, A.M.; Tolba, M.A.; Shaheen, A.; Moustafa, G.; Elsayed, F.; Elshahed, M. Growth Optimizer for Parameter Identification of Solar Photovoltaic Cells and Modules. Sustainability 2023, 15, 7896. [Google Scholar] [CrossRef]
  42. Qaraad, M.; Amjad, S.; Hussein, N.K.; Badawy, M.; Mirjalili, S.; Elhosseini, M.A. Photovoltaic parameter estimation using improved moth flame algorithms with local escape operators. Comput. Electr. Eng. 2023, 106, 108603. [Google Scholar] [CrossRef]
  43. Xu, S.; Qiu, H. A modified stochastic fractal search algorithm for parameter estimation of solar cells and PV modules. Energy Rep. 2022, 8, 1853–1866. [Google Scholar] [CrossRef]
  44. Jian, X.; Weng, Z. A logistic chaotic JAYA algorithm for parameters identification of photovoltaic cell and module models. Optik 2020, 203, 164041. [Google Scholar] [CrossRef]
  45. Saadaoui, D.; Elyaqouti, M.; Assalaou, K.; Lidaighbi, S.; Arjdal, E.; Choulli, I.; Elhammoudy, A.; Abazine, I. A hybrid optimization algorithm to identify unknown parameters of photovoltaic models under varying operating conditions. Eng. Appl. Artif. Intell. 2024, 133, 108544. [Google Scholar] [CrossRef]
  46. Kullampalayam Murugaiyan, N.; Chandrasekaran, K.; Manoharan, P.; Derebew, B. Leveraging opposition-based learning for solar photovoltaic model parameter estimation with exponential distribution optimization algorithm. Sci. Rep. 2024, 14, 528. [Google Scholar] [CrossRef] [PubMed]
  47. 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]
  48. Madhiarasan, M.; Cotfas, D.T.; Cotfas, P.A. Barnacles Mating Optimizer Algorithm to Extract the Parameters of the Photovoltaic Cells and Panels. Sensors 2022, 22, 6989. [Google Scholar] [CrossRef]
  49. Xiong, G.; Zhang, J.; Shi, D.; Yuan, X. Application of supply-demand-based optimization for parameter extraction of solar photovoltaic models. Complexity 2019, 2019, 1–22. [Google Scholar] [CrossRef]
  50. Tong, N.T.; Pora, W. A parameter extraction technique exploiting intrinsic properties of solar cells. Appl. Energy 2016, 176, 104–115. [Google Scholar] [CrossRef]
  51. Hu, Z.; Gong, W.; Li, S. Reinforcement learning-based differential evolution for parameters extraction of photovoltaic models. Energy Rep. 2021, 7, 916–928. [Google Scholar] [CrossRef]
  52. Jordehi, A.R. Enhanced leader particle swarm optimisation (ELPSO): An efficient algorithm for parameter estimation of photovoltaic (PV) cells and modules. Sol. Energy 2018, 159, 78–87. [Google Scholar] [CrossRef]
Figure 1. Equivalent circuit of single-diode model.
Figure 1. Equivalent circuit of single-diode model.
Applsci 15 07403 g001
Figure 2. Equivalent circuit of double-diode model.
Figure 2. Equivalent circuit of double-diode model.
Applsci 15 07403 g002
Figure 3. PSA flowchart.
Figure 3. PSA flowchart.
Applsci 15 07403 g003
Figure 4. RTC SDM and DDM I–V characteristics.
Figure 4. RTC SDM and DDM I–V characteristics.
Applsci 15 07403 g004
Figure 5. RTC SDM and DDM P–V characteristics.
Figure 5. RTC SDM and DDM P–V characteristics.
Applsci 15 07403 g005
Figure 6. RTC SDM and DDM calculated absolute error.
Figure 6. RTC SDM and DDM calculated absolute error.
Applsci 15 07403 g006
Figure 7. RTC SDM and DDM convergence curve.
Figure 7. RTC SDM and DDM convergence curve.
Applsci 15 07403 g007
Figure 8. aSi SDM and DDM I–V characteristics.
Figure 8. aSi SDM and DDM I–V characteristics.
Applsci 15 07403 g008
Figure 9. aSi SDM and DDM P–V characteristics.
Figure 9. aSi SDM and DDM P–V characteristics.
Applsci 15 07403 g009
Figure 10. aSi SDM and DDM calculated absolute error.
Figure 10. aSi SDM and DDM calculated absolute error.
Applsci 15 07403 g010
Figure 11. aSi SDM and DDM convergence curve.
Figure 11. aSi SDM and DDM convergence curve.
Applsci 15 07403 g011
Figure 12. mSi SDM and DDM I–V characteristics.
Figure 12. mSi SDM and DDM I–V characteristics.
Applsci 15 07403 g012
Figure 13. mSi SDM and DDM P–V characteristics.
Figure 13. mSi SDM and DDM P–V characteristics.
Applsci 15 07403 g013
Figure 14. mSi SDM and DDM calculated absolute error.
Figure 14. mSi SDM and DDM calculated absolute error.
Applsci 15 07403 g014
Figure 15. mSi SDM and DDM convergence curve.
Figure 15. mSi SDM and DDM convergence curve.
Applsci 15 07403 g015
Figure 16. PVM SDM and DDM I–V characteristics.
Figure 16. PVM SDM and DDM I–V characteristics.
Applsci 15 07403 g016
Figure 17. PVM SDM and DDM P–V characteristics.
Figure 17. PVM SDM and DDM P–V characteristics.
Applsci 15 07403 g017
Figure 18. PVM SDM and DDM calculated absolute error.
Figure 18. PVM SDM and DDM calculated absolute error.
Applsci 15 07403 g018
Figure 19. PVM SDM and DDM convergence curve.
Figure 19. PVM SDM and DDM convergence curve.
Applsci 15 07403 g019
Figure 20. STM6-40 SDM and DDM I–V characteristics.
Figure 20. STM6-40 SDM and DDM I–V characteristics.
Applsci 15 07403 g020
Figure 21. STM6-40 SDM and DDM P–V characteristics.
Figure 21. STM6-40 SDM and DDM P–V characteristics.
Applsci 15 07403 g021
Figure 22. STM6-40 SDM and DDM calculated absolute error.
Figure 22. STM6-40 SDM and DDM calculated absolute error.
Applsci 15 07403 g022
Figure 23. STM6-40 SDM and DDM convergence curve.
Figure 23. STM6-40 SDM and DDM convergence curve.
Applsci 15 07403 g023
Figure 24. RMSE for PSA with regard to temperature.
Figure 24. RMSE for PSA with regard to temperature.
Applsci 15 07403 g024
Table 1. PV cells lower and upper bounds.
Table 1. PV cells lower and upper bounds.
ParameterRTC CellmSi CellaSi CellMJSC Cell
LBUBLBUBLBUBLBUB
I p h (A)0101010.0010.2
I s d 1 , I s d 2 ( A ) 10−1210−510−1210−510−1210−510−4010−5
R s ( Ω ) 010100.50.0013
R s h ( Ω ) 01000200010000100,000
n 1 ,   n 2 13131514
Table 2. PV modules lower and upper bounds.
Table 2. PV modules lower and upper bounds.
ParameterPVMSTM6-40
LBUBLBUB
I p h (A)0102
I s d 1 , I s d 2 ( A ) 10−1210−510−1210−5
R s ( Ω ) 0101
R s h ( Ω ) 0100001000
n 1 ,   n 2 11012 × 36
Table 3. RMSE of the RTC photovoltaic cell and the extracted parameters for different algorithms.
Table 3. RMSE of the RTC photovoltaic cell and the extracted parameters for different algorithms.
AlgorithmModel I p h (A) I s d 1 ( μ A ) n 1 R s ( Ω ) R s h ( Ω ) I s d 2 ( μ A ) n 2RMSEMBESTD
PSASDM0.7607755300.3230207901.481183580.036377092953.7185235--9.8602 × 10−49.58307692 × 10−111.005550 × 10−3
BWOASDM0.7607755300.3230208441.481183600.036377092253.7185277--9.8602 × 10−49.6050008 × 10−111.005550 × 10−3
ISOASDM0.76077510.32366781.4813850.036368853.76822--9.8602 × 10−4−1.57692307674 × 10−81.005557 × 10−3
ISHTSSDM0.760780.323021.481180.0363853.71853--9.8602 × 10−4−3.71615384615 × 10−61.005600 × 10−3
NSGNDOSDM0.760780.323021.481180.0363853.71852--9.8602 × 10−4−3.71769230769 × 10−61.005599 × 10−3
DE/BSASDM0.7607750.323020801.481183590.036377053.71852464--9.8602 × 10−4−4.71538461539 × 10−71.005549 × 10−3
DIWJAYASDM0.7607750.3230211.4811830.03637753.718525--9.8602 × 10−4−1.75576923076 × 10−61.005551 × 10−3
OBEDOSDM0.76080.3231.48120.036453.7185--9.8602 × 10−45.67684615384 × 10−51.009594 × 10−3
GOSDM0.7607760.3231.4811830.03637753.718745--9.8602 × 10−41.24500000000 × 10−51.005708 × 10−3
IMPASDM0.76077553030.3230208161.481183590.0363770925853.71852391--9.8602 × 10−4−3.84615385140 × 10−91.005549 × 10−3
AOSSDM0.7607760.3226891.481080.03637953.69001--9.8603 × 10−49.05384615393 × 10−71.005559 × 10−3
IMFOLSDM0.7607755300.3230208431.481183600.036377092453.7185307--9.8602 × 10−4−4.73712949209 × 10−81.005549 × 10−3
HSDASDM0.76077580.323016531.48118230.0363770853.71452--9.8602 × 10−41.42971 × 10−81.005550 × 10−3
MSFSSDM0.760775530.323020821.481183590.0363770953.71852461--9.8602 × 10−4−5.38461538498 × 10−91.005549 × 10−3
GSKSDM0.76080.32311.48120.036453.7227--9.8602 × 10−4−5.47846153845 × 10−61.006553 × 10−3
MIGTOSDM0.760775520.323020831.48118350.0363770953.7185298--9.8602 × 10−4−1.96923076912 × 10−71.005548 × 10−3
LCJAYASDM0.76080.32301.48190.036453.7185--2.7630 × 10−31.42552076923 × 10−32.413762 × 10−3
DESDM0.76070.32091.47090.036354.1134--3.6249 × 10−2−1.98973134615 × 10−23.089350 × 10−2
PSADDM0.7608004040.2449832501.455440960.036877303858.559871010.03.000000009.7078 × 10−42.30769229980 × 10−99.900088 × 10−4
BWOADDM0.7607888740.2318119401.451307740.036862522156.97316672.84361712.413354629.7738 × 10−42.61366 × 10−89.967384 × 10−4
ISOADDM0.76076450.291168951.471899990.036502855.0168890.72073392.308899999.8215 × 10−4−3.61538461445 × 10−81.001607 × 10−3
GODDM0.7607910.2381.4557120.03665854.9778100.5741.9684289.830 × 10−42.05047692307 × 10−41.048820 × 10−3
ISHTSDDM0.760780.744721.999980.0367455.483740.226591.451259.8248 × 10−4−5.16153846145 × 10−71.001974 × 10−3
NSGNDODDM0.760780.749352.000000.0367455.485440.225971.451029.8248 × 10−48.98538461538 × 10−61.002053 × 10−3
DE/BSADDM0.7607810.7493501.45100.03674055.4854470.2259731.99999.8248 × 10−4−4.35068028846 × 10−16.597302 × 10−1
DIWJAYADDM0.7607810.2259731.4510160.036740455.4854480.7493551.9999999.8248 × 10−4−6.45384615380 × 10−71.001943 × 10−3
IMPADDM0.76078107910.225974170461.4510167290.03674043073955.4854425070.74934811.999999999.8248 × 10−43.84615394821 × 10−101.001941 × 10−3
OBEDODDM0.76080.2311.45290.036755.39950.7082.00009.8250 × 10−49.80126923077 × 10−51.007371 × 10−3
AOSDDM0.760780.227321.451510.03671755.39510.728951.998799.8745 × 10−46.28773076923 × 10−51.004967 × 10−3
IMFOLDDM0.7607791690.7663201002.000000000.036730555055.65673440.22514861.450778809.8252 × 10−4−2.61538461624 × 10−81.001984 × 10−3
HSDADDM0.760794120.22670321.4510.0367628755.3983850.82673082.03036279.8217 × 10−43.30230769231 × 10−61.001620 × 10−3
MSFSDDM0.760781080.749348962.000000000.0367404355.485438920.22597401.451016689.8248 × 10−43.80769230855 × 10−81.001942 × 10−3
GSKDDM0.76080.25951.46270.036654.93300.47911.99839.8248 × 10−44.06253846153 × 10−51.004134 × 10−3
MIGTODDM0.76078100.2259741.45101670.036740455.4854410.74934931.99999999.8248 × 10−42.69230769009 × 10−91.001942 × 10−3
LCJAYADDM0.76080.225961.45180.036755.48150.746402.0003.0123 × 10−31.60520961538 × 10−32.599509 × 10−3
DEDDM0.76050.4232201.875790.0206151.93450.187261.436023.0866 × 10−21.18194761538 × 10−22.907886 × 10−2
The results of PSA algorithm are highlighted in bold.
Table 4. RTC iteration vs. population size SDM case.
Table 4. RTC iteration vs. population size SDM case.
Number of RunsPopulation SizeNumber of IterationsRMSERun Time (s)
5201009.1922 × 10−30.0890
301005.4496 × 10−30.1280
501004.4394 × 10−30.1901
601007.3220 × 10−30.2262
801006.6887 × 10−30.3345
1001002.0060 × 10−30.3747
503006.3211 × 10−30.5690
505003.4615 × 10−30.9510
507001.3510 × 10−31.3144
509009.8710 × 10−41.6930
5011009.8602 × 10−42.0560
5013009.8602 × 10−42.4502
5015009.8602 × 10−42.9132
Table 5. RTC iteration vs. population size DDM case.
Table 5. RTC iteration vs. population size DDM case.
Number of RunsPopulation SizeNumber of IterationsRMSERun Time (s)
5201006.6931 × 10−30.1221
301008.6845 × 10−30.1806
501008.7694 × 10−30.2942
601006.9107 × 10−30.3561
801008.6446 × 10−30.4728
1001004.5336 × 10−30.5862
503004.2502 × 10−30.8779
505001.7329 × 10−31.4524
507001.4385 × 10−32.0343
509009.8620 × 10−42.6404
5011009.8348 × 10−43.1974
5013009.7632 × 10−43.7938
5015009.7078 × 10−44.6326
Table 7. RMSE of the aSi photovoltaic cell and the extracted parameters for different algorithms.
Table 7. RMSE of the aSi photovoltaic cell and the extracted parameters for different algorithms.
AlgorithmModel I p h (A) I s d 1 ( μ A ) n 1 R s ( Ω ) R s h ( Ω ) I s d 2 ( μ A ) n 2RMSEMBESTD
PSASDM0.01134472200.7349372913.3684171.82123 × 10−14523.153423--4.6123 × 10−5−2.159066441 × 10−124.604524 × 10−5
BWOASDM0.01134472200.7349372593.3684170.01523.153416--4.6123 × 10−52.159066442 × 10−124.604524 × 10−5
ISOASDM0.0113440.7415433.371561.1657 × 10−9524.336--4.6127 × 10−5−3.669565217 × 10−74.605594 × 10−5
HSDASDM0.0113470.70475423.3538340.040283520.0651--4.6194 × 10−54.13577 × 10−74.610007 × 10−5
PSADDM0.01133173495.507428045.00000.500000600.6672680.05026102.710886344.0943 × 10−53.6782608695 × 10−94.095979 × 10−5
BWOADDM0.01134390133.4997521084.9992790.3800093610554.6414710.15611472.957196764.0943 × 10−5−9.393959725 × 10−94.248453 × 10−5
ISOADDM0.01133340.1642762.974440.347809570.8453.662664.993794.2596 × 10−52.63015 × 10−84.258692 × 10−5
HSDADDM0.011349140.2221953.0794620.1987938528.10081.06053044.09911524.4973 × 10−5−4.004347826 × 10−74.486736 × 10−5
The results of PSA algorithm are highlighted in bold.
Table 8. aSi iteration vs. population size SDM case.
Table 8. aSi iteration vs. population size SDM case.
Number of RunsPopulation SizeNumber of IterationsRMSERun Time (s)
5201002.6833 × 10−40.1297
301002.6592 × 10−40.1885
501002.3619 × 10−40.3064
601004.7753 × 10−50.3708
801009.9107 × 10−50.4944
1001004.7163 × 10−50.6134
503004.8050 × 10−50.9202
505004.7721 × 10−51.4856
507004.6683 × 10−52.0660
509004.6123 × 10−52.6705
5011004.6123 × 10−53.2334
5013004.6123 × 10−53.8267
5015004.6123 × 10−54.3954
Table 9. aSi iteration vs. population size DDM case.
Table 9. aSi iteration vs. population size DDM case.
Number of RunsPopulation SizeNumber of IterationsRMSERun Time (s)
5201002.1202 × 10−40.1945
301003.4918 × 10−40.2907
501002.4165 × 10−40.4771
601009.3571 × 10−50.5735
801001.6082 × 10−40.7634
1001001.5211 × 10−40.9482
503006.7630 × 10−51.4260
505004.6719 × 10−52.3688
507004.2545 × 10−53.3233
509004.5706 × 10−54.2179
5011004.5534 × 10−55.4857
5013004.1202 × 10−56.4356
5015004.0943 × 10−57.0822
Table 10. aSi CPU execution time.
Table 10. aSi CPU execution time.
Number of RunsModelPopulation Size/
Number of Iterations
RMSEIntel Core i9 CPU Execution Time (s)AMD Ryzen 5 5600H CPU Execution Time (s)
5SDM100/11004.6123 × 10−53.22145.9455
DDM100/11004.0943 × 10−56.28229.9611
Table 11. mSi photovoltaic cell RMSE and extracted parameters for various algorithms.
Table 11. mSi photovoltaic cell RMSE and extracted parameters for various algorithms.
AlgorithmModel I p h (A) I s d 1 ( μ A ) n 1 R s ( Ω ) R s h ( Ω ) I s d 2 ( μ A ) n 2RMSEMBESTD
PSASDM0.4257520320.5172177831.679565030.091309217399.1799271--5.63096 × 10−41.025410758621 × 10−75.533625 × 10−2
ISOASDM0.4257450.5236191.681070.091164299.8127--5.5854 × 10−47.025715034483 × 10−85.533602 × 10−2
HSDASDM0.4257530.5162411.6793340.091328999.07598--5.63098 × 10−43.50364 × 10−75.533616 × 10−2
BMOASDM0.426600.544531.44290.1118650.305--1.8456 × 10−35.1804 × 10−11.290548 × 10+0
PSADDM0.4253111712.592547682.006934460.113483601200.02.29084278 × 10−51.0002.6216 × 10−42.028312551724 × 10−85.527109 × 10−2
ISOADDM0.4255790.1310031.538820.0960953130.1847.181192.572894.4383 × 10−41.025653137931 × 10−75.535608 × 10−2
HSDADDM0.4257480.24025861.6793340.0913289105.0751.03013522.0918685.3057 × 10−4−5.75799 × 10−77.357780 × 10−2
BMOADDM0.427310.0560951.45320.1082253.1060.536742.06851.3754 × 10−32.4771 × 10−45.535128 × 10−2
The results of PSA algorithm are highlighted in bold.
Table 12. mSi iteration vs. population size SDM case.
Table 12. mSi iteration vs. population size SDM case.
Number of RunsPopulation SizeNumber of IterationsRMSERun Time(s)
5201003.3469 × 10−30.0888
301002.4630 × 10−30.1277
501008.4297 × 10−40.2075
601003.2550 × 10−30.2474
801001.9829 × 10−30.3272
1001001.6111 × 10−30.4074
503009.8442 × 10−40.6108
505007.4310 × 10−41.0200
507006.7488 × 10−41.4103
509005.9296 × 10−41.8384
5011005.6309 × 10−42.2344
5013005.6309 × 10−42.6551
5015005.6309 × 10−43.1299
Table 13. mSi iteration vs. population size DDM case.
Table 13. mSi iteration vs. population size DDM case.
Number of RunsPopulation SizeNumber of IterationsRMSERun Time(s)
5201001.5243 × 10−30.1945
301003.4145 × 10−30.2907
501004.2702 × 10−30.4771
601003.6405 × 10−30.5735
801003.4981 × 10−30.7634
1001001.3605 × 10−30.9482
503002.8906 × 10−31.4260
505009.9828 × 10−42.3688
507001.3823 × 10−33.3233
509005.0116 × 10−44.2179
5011005.2988 × 10−45.4857
5013004.7973 × 10−46.4356
5015002.6216 × 10−47.0822
Table 14. mSi CPU execution time.
Table 14. mSi CPU execution time.
Number of RunsModelPopulation Size/
Number of Iterations
RMSEIntel Core i9 CPU Execution Time (s)AMD Ryzen 5 5600H CPU Execution Time (s)
5SDM100/11005.6309 × 10−43.78906.1665
DDM100/11002.6216 × 10−45.27778.8891
Table 15. RMSE of the PVM photovoltaic panel and the extracted parameters for different algorithms.
Table 15. RMSE of the PVM photovoltaic panel and the extracted parameters for different algorithms.
AlgorithmModel I p h (A) I s d 1 ( μ A ) n 1 R s ( Ω ) R s h ( Ω ) I s d 2 ( μ A ) n 2RMSEMBESTD
PSASDM0.1000668263.778895 × 10−61.615672820.660508880608.00995--2.2780 × 10−4−3.7727 × 10−122.304376 × 10−4
BWOASDM0.100066823.7788 × 10−121.61567280.660508875608.00993--2.2780 × 10−43.82764 × 10−122.304380 × 10−4
HSDASDM0.10002750915.94432 × 10−61.64669020.65014344678.14612--2.3469 × 10−44.21357 × 10−92.374105 × 10−4
SDOSDM0.10005.9440 × 10−61.64670.6499668.5946--2.3487 × 10−43.283863 × 10−52.374245 × 10−4
AOSSDM 0.100015.944 × 10−61.6467000.6479662.9896--2.3921 × 10−45.575000 × 10−62.419182 × 10−4
OBEDOSDM0.100161.85 × 10−61.56910.6777519.07--2.4818 × 10−4−9.57454 × 10−62.503665 × 10−4
PSADDM0.1000003213.964506705.788352760.67662957510001.0 × 10−61.532431.6579 × 10−42.27272 × 10−101.677123 × 10−4
BWOADDM0.10001067359.9885504267.178856670.6724961417983.111641.5226 × 10−121.557711.67797 × 10−4−1.69207 × 10−61.798672 × 10−4
OBEDODDM0.100091.89 × 10−81.35610.6786618.212.43 × 10−51.80682.0777 × 10−41.687500 × 10−62.138220 × 10−4
HSDADDM0.10005597457.26940 × 10−52.002608020.669003416634.061996.222 × 10−71.514792.1306 × 10−4−1.77149 × 10−72.161703 × 10−4
SDODDM0.10017.2313 × 10−42.00000.6684637.30266.23 × 10−51.51522.1318 × 10−43.283863 × 10−52.374245 × 10−4
AOSDDM0.1031921.775 × 10−41.9990.65472001 × 10−61.571051.7804 × 10−3−4.38184 × 10−41.984256 × 10−3
The results of PSA algorithm are highlighted in bold.
Table 16. PVM iteration vs. population size SDM case.
Table 16. PVM iteration vs. population size SDM case.
Number of RunsPopulation SizeNumber of IterationsRMSERun Time (s)
5201003.6985 × 10−30.1184
301001.5959 × 10−20.1756
501007.4701 × 10−30.2828
601005.8390 × 10−30.3432
801002.3133 × 10−30.5087
1001002.2031 × 10−30.6249
503002.2025 × 10−30.9447
505009.6592 × 10−41.5563
507002.7921 × 10−42.1904
509002.2026 × 10−32.7723
5011006.3920 × 10−43.3992
5013002.5767 × 10−43.9922
5015002.2780 × 10−44.6392
Table 17. PVM iteration vs. population size DDM case.
Table 17. PVM iteration vs. population size DDM case.
Number of RunsPopulation SizeNumber of IterationsRMSERun Time (s)
5201005.5364 × 10−30.1895
301007.6733 × 10−30.2784
501008.9201 × 10−40.4655
601003.3552 × 10−30.5530
801002.9206 × 10−30.7356
1001005.9449 × 10−40.9250
503005.1178 × 10−31.3636
505004.8415 × 10−42.2742
507002.3892 × 10−43.1928
509003.2303 × 10−44.1243
5011006.6249 × 10−45.0614
5013001.6835 × 10−45.8600
5015001.6579 × 10−46.8158
Table 18. PVM CPU execution time.
Table 18. PVM CPU execution time.
Number of RunsModelPopulation Size/
Number of Iterations
RMSEIntel Core i9 CPU Execution Time (s)AMD Ryzen 5 5600H CPU Execution Time (s)
5SDM100/11002.2780 × 10−45.22319.8966
DDM100/11001.6579 × 10−48.511212.1566
Table 19. RMSE of the STM6-40 photovoltaic panel and the extracted parameters for different algorithms.
Table 19. RMSE of the STM6-40 photovoltaic panel and the extracted parameters for different algorithms.
AlgorithmModel I p h (A) I s d 1 ( μ A ) n 1 R s ( Ω ) R s h ( Ω ) I s d 2 ( μ A ) n 2RMSEMBESTD
PSASDM1.663904781.7386570154.73090540.153855757573.418599--1.72981 × 10−3−2.5000000 × 10−101.774752 × 10−3
ELADESDM1.663904781.7386570454.73090540.153855756573.4186142--1.72981 × 10−3−1.000 × 10−91.774752 × 10−3
HSDASDM1.6639047791.738654397854.7308990.1538559327543.4183498--1.72981 × 10−31.58 × 10−101.875694 × 10−3
RLDESDM1.663904781.7386569554.73090540.1538557624573.4185940--1.72981 × 10−3−7.500000010295 × 10−91.774751 × 10−3
GSKSDM1.66351.924055.1340.144595.7656--1.72981 × 10−31.841645000000 × 10−41.798958 × 10−3
DE/BSASDM1.663904771.7386568854.73090510.0042737715.92829377--1.72981 × 10−37.514688560000 × 10−13.788024 × 10−1
IMPASDM1.663904781.73865692954.73090520.153855762573.418589--1.72981 × 10−3−1.500000028527 × 10−91.774750 × 10−3
ELPSOSDM1.6662684.59614 × 10−150.4586430.5497.747315--2.1803 × 10−31.457340026790 × 10+43.158300 × 10+4
PSADDM1.664067252.42076 × 10−531.68922030.331459896613.8683412.6434562858.03055581.6892 × 10−3−2.965000000266 × 10−71.733171 × 10−3
HSDADDM1.6638773301.100611014053.34089200.1635655746580.97701821.68121367465.873264951.72072 × 10−34.98823 × 10−71.765430 × 10−3
ELPSODDM1.6648431.67016 × 10−241.9934810.50606.8883016.21092467.3441241.8307 × 10−3−8.2272 × 10−53.966815 × 10−2
CPSODDM1.6647462.52914 × 10−242.8169470.50611.7471368.77982270.7348631.8343 × 10−31.15492 × 10−44.034324 × 10−2
BSADDM1.6611121.1985291000.50924.8130278.9167 × 10−152.8742784.0335 × 10−3−8.48803 × 10−46.383651 × 10−2
ABCDDM1.6634728.93777571.4649811.236435938.2099911 × 10−627.7907142.0538 × 10−3−2.42145 × 10−41.639806 × 10−1
The results of PSA algorithm are highlighted in bold.
Table 20. STM6-40 iteration vs. population size SDM case.
Table 20. STM6-40 iteration vs. population size SDM case.
Number of RunsPopulation SizeNumber of IterationsRMSERun Time (s)
5201003.5802 × 10−30.0689
301003.9856 × 10−30.1013
501002.1070 × 10−20.1630
601005.2572 × 10−30.1971
801006.1873 × 10−30.2573
1001002.0879 × 10−30.3170
503001.7571 × 10−30.4678
505002.5284 × 10−30.7864
507001.7298 × 10−31.0971
509001.7298 × 10−31.4028
5011001.7298 × 10−31.8029
5013001.7298 × 10−32.1277
5015001.7298 × 10−32.4678
Table 21. STM6-40 iteration vs. population size DDM case.
Table 21. STM6-40 iteration vs. population size DDM case.
Number of RunsPopulation SizeNumber of IterationsRMSERun Time (s)
5201003.30 × 10−30.1077
301003.49 × 10−20.1556
501002.25 × 10−20.2524
601001.45 × 10−20.2968
801001.87 × 10−30.4020
1001001.80 × 10−30.4867
503005.9485 × 10−30.7507
505002.7450 × 10−31.2540
507003.3232 × 10−31.7156
509002.2871 × 10−32.2240
5011002.7683 × 10−32.5609
5013001.7029 × 10−33.0451
5015001.6892 × 10−33.5337
Table 22. STM6-40 CPU execution time.
Table 22. STM6-40 CPU execution time.
Number of RunsModelPopulation Size/
Number of Iterations
RMSEIntel Core i9 CPU Execution Time (s)AMD Ryzen 5 5600H CPU Execution Time (s)
5SDM100/11001.7298 × 10−32.60124.9071
DDM100/11001.6892 × 10−34.40918.0901
Table 23. RMSE of the MJSC photovoltaic cell and the extracted parameters for different algorithms.
Table 23. RMSE of the MJSC photovoltaic cell and the extracted parameters for different algorithms.
AlgorithmModel I p h (A) I s d 1 ( μ A ) n 1 R s ( Ω ) R s h ( Ω ) I s d 2 ( μ A ) n 2RMSEMBESTD
Case A: MJSC at 41.5 °C
PSASDM0.01207511563.78228069 × 10−341.282634171.5679715365,594.5326--7.82737990023 × 10−53.448275 × 10−107.965936 × 10−5
BWOASDM0.01210894282.3858024 × 10−381.1319123252.06692768618,039.8683--8.9120260701 × 10−52.96206896 × 10−79.069773 × 10−05
CSASDM0.0113441 × 10−401.061300282.2965593513,448.8398--1.0186359636 × 10−47.80407241 × 10−41.036667 × 10−4
5PSDM0.0113471.671098 × 10−351.2300822.5414622,3038.6--3.8193717771 × 10−49.25141724 × 10−43.306110 × 10−4
PSADDM0.01207165021.58366151 × 10−143.99999991.66262677100,000.02.4774912 × 10−351.236455407.80311999761 × 10−53.4482758 × 10−107.941187 × 10−5
BWOADDM0.01210781622.3606317 × 10−381.13192142.06284960418,690.33642.8573381 × 10−401.13192148003378.912393251 × 10−5−1.2862068 × 10−69.069190 × 10−5
CSADDM0.01213156931 × 10−401.06132962.29390193814,059.11351.4088443 × 10−222.2961082511611.0088314434 × 10−4−2.6548275 × 10−61.026332 × 10−4
Case B: MJSC at 51.3°C
PSASDM0.01233784351.09880130 × 10−311.31228551.4711646099,999.9724--7.53874445507 × 10−56.8965517 × 10−107.672188 × 10−5
BWOASDM0.0123824448.6249412 × 10−371.11635392.12661285115,948.7273133--9.4508986452 × 10−5−5.4137931 × 10−79.628231 × 10−5
CSASDM0.0124113371 × 10−401.00111032.4995903789954.65622131--1.0186359636 × 10−42.67241379 × 10−71.253248 × 10−4
5PSDM0.012353836.068981 × 10−361.1449782.65579523,011.52--3.2891868735 × 10−41.80126206 × 10−42.801111 × 10−4
PSADDM0.01234075855.51543091 × 10−144.01.5687292299,995.29079.3577793 × 10−331.265963217.51615759370 × 10−52.75862068 × 10−97.649272 × 10−5
BWOADDM0.0122937091.0091098 × 10−401.00910982.528407915100,0001.0091098 × 10−401.13192148003371.3016613407 × 10−4−1.4912937 × 10−32.076396 × 10−3
CSADDM0.0124425391 × 10−401.00116462.462677049760.663612.6221828 × 10−172.99999999907331.1884566045 × 10−4−7.6765517 × 10−61.208481 × 10−4
Case C: MJSC at 61.6 °C
PSASDM0.01258237028.90988273 × 10−301.321959721.4207638976848.8449--6.77540506680 × 10−57.1428571 × 10−106.899791 × 10−5
BWOASDM0.0126463741.7564737 × 10−351.092676092.17396548410,764.6947093--9.6816850966 × 10−5−7.2857142 × 10−79.859123 × 10−5
CSASDM0.0126663741.8464737 × 10−351.0950162682.1669654910,780.7048--5.6947272673 × 10−4−3.5050500 × 10−44.570632 × 10−4
5PSDM0.012581021.85812 × 10−301.2900242.21206364,141.71--3.2115343257 × 10−41.774900 × 10−42.725626 × 10−4
PSADDM0.01258237032.91443456 × 10−224.01.4207640976,848.52958.9098505 × 10−301.321959656.77540506673 × 10−5−3.571428 × 10−106.899659 × 10−5
The results of PSA algorithm are highlighted in bold.
Table 24. MJSC CPU execution time for all cases.
Table 24. MJSC CPU execution time for all cases.
Number of RunsModelPopulation Size/
Number of Iterations
RMSERun Time (s)Intel Core i9 CPU Execution Time (s)AMD Ryzen 5 5600H CPU Execution Time (s)
5Case A: MJSC at 41.5 °C
SDM100/11007.8273 × 10−53.18433.01244.9071
DDM100/11007.8031 × 10−54.0993.85588.0901
Case B: MJSC at 51.3 °C
SDM100/11007.5387 × 10−53.37703.11094.5467
DDM100/11007.5161 × 10−54.60774.4418.2144
Case C: MJSC at 61.6 °C
SDM100/11006.7754 × 10−53.09982.98174.0331
DDM100/11006.7754 × 10−54.10123.99128.5455
Table 6. RTC CPU execution time.
Table 6. RTC CPU execution time.
Number of RunsModelPopulation Size/
Number of Iterations
RMSEIntel Core i9 CPU Execution Time (s)AMD Ryzen 5 5600H CPU Execution Time (s)
5SDM100/11009.8602 × 10−41.98653.5441
DDM100/11009.7078 × 10−44.52217.6632
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

Bennagi, A.; AlHousrya, O.; Cotfas, D.T.; Cotfas, P.A. Parameter Extraction of Photovoltaic Cells and Panels Using a PID-Based Metaheuristic Algorithm. Appl. Sci. 2025, 15, 7403. https://doi.org/10.3390/app15137403

AMA Style

Bennagi A, AlHousrya O, Cotfas DT, Cotfas PA. Parameter Extraction of Photovoltaic Cells and Panels Using a PID-Based Metaheuristic Algorithm. Applied Sciences. 2025; 15(13):7403. https://doi.org/10.3390/app15137403

Chicago/Turabian Style

Bennagi, Aseel, Obaida AlHousrya, Daniel T. Cotfas, and Petru A. Cotfas. 2025. "Parameter Extraction of Photovoltaic Cells and Panels Using a PID-Based Metaheuristic Algorithm" Applied Sciences 15, no. 13: 7403. https://doi.org/10.3390/app15137403

APA Style

Bennagi, A., AlHousrya, O., Cotfas, D. T., & Cotfas, P. A. (2025). Parameter Extraction of Photovoltaic Cells and Panels Using a PID-Based Metaheuristic Algorithm. Applied Sciences, 15(13), 7403. https://doi.org/10.3390/app15137403

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