Introduction

Solar energy is one of the most important energy sources used in the field of renewable energy1,2. In recent years, solar energy has been used in several fields, such as military and medical applications3,4. It is increasingly applied in residential and industrial sectors as well, providing a sustainable alternative to fossil fuels5,6. Solar panels are now widely installed on rooftops, powering homes, schools, and businesses with clean electricity7. Moreover, the development of grid-connected photovoltaic (PV) systems has significantly enhanced the efficiency and reliability of solar energy utilization8, enabling excess energy to be integrated into the grid and guaranteeing a consistent power supply, even during periods of limited solar generation.

The efficiency of PV cell technology has steadily improved through advancements in cell design, material selection, and fabrication techniques9,10,11. To accurately analyze and predict the performance of PV cells under various operating conditions, researchers commonly employ mathematical modeling12. In the literature, three primary models are widely used for simulation: the single-diode model (SDM), the double-diode model (DDM), and the three-diode model (TDM)13. However, these models contain different unknown parameters that must be identified before they can be effectively used for simulation and practical applications14.

In the literature, the identification of PV parameters is commonly formulated as an optimization problem, where the root mean square error (RMSE) is typically employed as the objective function to minimize the discrepancy between the experimental data and the estimated data obtained from the extracted parameters.

In15, the authors proposed the mother tree optimization with climate change (MTO-CL) algorithm to enhance parameter estimation in the three-diode PV model. The method achieved greater accuracy and robustness than seven other algorithms by adding elimination and distortion phases based on climate dynamics. This resulted in remarkably low RMSE and power errors across different modules. But this increase in accuracy comes with a longer computational time, which makes it less advantageous for real-time applications. In16, a modified electric eel foraging optimization (MEEFO) algorithm incorporating fractional-order calculus, fitness distance balance, and quasi-opposition-based learning to improve PV parameter estimation. The method demonstrated superior exploration and exploitation capabilities, avoiding premature convergence and achieving the lowest RMSE values across single, double, and triple diode models under varying meteorological conditions. However, the added strategies increase algorithmic complexity, which may limit its adaptability for real-time applications. In17, the research introduced the Levy flight and mutation-enhanced artificial rabbit optimization (LMARO) algorithm for PV parameter extraction. By combining swarm-elite learning, Levy flight, and mutation strategies, LMARO improved global exploration, population diversity, and convergence speed, achieving competitive RMSE values across single-diode, double-diode, and PV module models. While the method demonstrated strong accuracy and stability compared to several advanced algorithms, its adaptability to broader optimization problems still requires further improvement.

In18, the authors presented the bio-dynamics grasshopper optimization algorithm (BDGOA) aimed at improving photovoltaic parameter identification. The method enhanced convergence speed, exploration, and robustness relative to GOA, effectively estimating parameters of various commercial PV modules across different conditions; however, temperature-dependent variations in specific parameters persisted. In19, the paper suggested the enhanced prairie dog optimizer (En-PDO), which integrates random learning and logarithmic spiral search to improve PV parameter identification. Compared with the original PDO and eighteen recent algorithms, En-PDO consistently achieved lower RMSE values across single-, double-, and triple-diode models as well as PV module models under diverse conditions. While the method proved robust and accurate, future improvements are needed to extend its adaptability for dynamic environments and real-time applications. In20, the work proposed a hybrid multi-population gorilla troops optimizer and beluga whale optimization (HGTO-BWO) to improve PV parameter extraction. By combining multi-population strategies with exploration-exploitation mechanisms such as Levy flight and synchronized motion, the method achieved the lowest RMSE values across double- and triple-diode models for various PV cells and modules under different operating conditions. Despite its high accuracy and robustness, the approach is computationally demanding and complex to implement, limiting its practicality without further simplification.

In21, a hybrid kepler optimization algorithm (HKOA) was introduced by enhancing KOA with ranking-based update and exploitation-improvement mechanisms. These additions strengthen exploration to avoid local optima and improve exploitation for faster convergence. HKOA outperformed several recent algorithms on the RTC France cell and multiple PV modules, showing strong accuracy and stability. However, its reliance on extra control parameters and relatively high computational cost remain notable limitations. In22, a hybrid flower grey differential (HFGD) algorithm combining flower pollination algorithm (FPA), grey wolf optimizer (GWO), and differential evolution (DE) algorithm; was proposed to improve PV parameter estimation. With added Newton-Raphson refinement, HFGD achieved the lowest RMSE and strong robustness across several PV models. Its main drawback is the increased algorithmic complexity arising from multi-hybrid integration. In23, a kangaroo escape optimization (KEO) algorithm was proposed by modeling kangaroos’ escape behavior through chaotic energy adaptation, zigzag exploration, long-jump motions, and decoy-based exploitation. KEO achieved high accuracy and robustness across SDM, DDM, and TDM on the RTC France and Photowatt-PWP201 datasets, outperforming several recent optimizers. Its improved exploration-exploitation balance makes it effective for complex nonlinear PV models, though its multi-stage update strategy adds complexity that may affect computational efficiency in real-time scenarios.

In24, the authors introduced reconfigured single- and double-diode models (Reconfig-SDM and Reconfig-DDM) by adding a small series resistance to the diode branches to better capture PV nonlinearities. Using the squirrel search algorithm for parameter extraction, the proposed models achieved notably lower RMSE than classical SDM/DDM on RTC France and CS6P-220P modules. However, the improved accuracy comes at the cost of increased model complexity, requiring more parameters and computational effort during estimation. In25, an enhanced differential evolution (EDE) algorithm was introduced using stage-specific mutation and crossover strategies to improve exploration and exploitation during PV parameter estimation. EDE achieved the lowest RMSE across SDM, DDM, and TDM for multiple cells and modules, showing strong accuracy and convergence reliability. Its main limitation is the increased algorithmic complexity from adaptive control parameters, which may hinder real-time deployment. In26, the improved sinh cosh optimizer (ISCHO) enhances SCHO with trigonometric operators to strengthen exploitation and avoid local optima. It achieves low RMSE and reliable performance across multiple PV models and modules, outperforming several recent methods. However, the added operators increase computational complexity, limiting its application in real-time settings.

In recent years, researchers have employed various metaheuristic optimization algorithms to tackle the challenge of estimating PV parameters. These algorithms include: a hybrid optimization technique combining the analytical Newton-Raphson-based optimization (Ana-NRBO) algorithm with an analytical initialization method27, wild horse optimizer28, shuffled puma optimizer29, frilled lizard optimization30, snake optimization with sine-cosine algorithm31, PID-based search algorithm (PSA)32, generalized normal distribution optimization based on neighborhood search strategies (NSGNDO)33, pelican optimization algorithm34, drone squadron optimization35, lungs performance-based optimization (LPO) algorithm36, gold rush optimizer37, archimedes optimization algorithm38, improved simultaneous heat transfer search39, butterfly optimization algorithm with chaos learning strategy40, northern goshawk optimization algorithm41, tree seed algorithm42, nutcracker optimization algorithm43, landscape-aware particle swarm optimization (LaPSO)44, adaptive slime mould algorithm (ASMA)45, weighted mean of vectors (INFO)46, chaotic-gradient-based optimizer47, modified elephant herding optimization48, improved bonobo optimizer49, gradient-based optimizer50, and coyote optimization algorithm51.

Although numerous metaheuristic algorithms have been proposed for PV parameter extraction, most existing studies concentrate primarily on algorithmic improvements while relying on the same conventional problem formulation based on the RMSE objective function. This narrow focus overlooks the fact that the accuracy and convergence behavior of any optimizer are strongly influenced not only by the search mechanism but also by the mathematical structure of the objective function itself. As a result, even recently introduced high-performance optimizer may still exhibit slow convergence, stagnation, or sensitivity to initial conditions when the underlying formulation remains unchanged.

A limited number of works have attempted to modify the problem formulation directly13,52. For example, in13 proposed the Flood Algorithm (FLA) along with a Newton–Raphson based objective function. While their modified formulation enhanced accuracy, it introduced substantial computational overhead due to derivative evaluations, making it unsuitable for real-time or embedded PV applications. This highlights two key limitations in the current literature: derivative-based objective reformulations increase computational cost and sensitivity to numerical instabilities, and metaheuristic algorithms enhancements alone cannot fully address the inherent nonlinearity of PV models when the traditional RMSE formulation remains unchanged.

Motivated by these gaps, this work introduces a secant-based objective function modification as a derivative-free reformulation of the PV parameter extraction problem. Unlike the traditional formulation of the objective function, the secant mechanism approximates the estimated current used in the RMSE formula without requiring explicit derivatives, thereby maintaining numerical stability. This modification enabling faster convergence toward high-accuracy solutions.

In parallel, and in accordance with the No Free Lunch (NFL) theorem, which states that no single optimizer performs best across all problem classes53. A recently developed metaheuristic, the starfish optimization algorithm (SFOA), is employed. SFOA offers a well-balanced exploration-exploitation structure inspired by starfish sensory-driven movement and regeneration behavior54. Its multi-arm search mechanism enables effective coverage of high-dimensional spaces, while its regeneration phase helps escape local minima; an essential capability for the highly multimodal PV parameter extraction problem. Compared to traditional nature-inspired metaheuristic algorithms, SFOA does not rely on delicate control parameters, making it robust and easier to implement.

This paper investigates the secant method to enhance problem formulation, aiming to achieve a small RMSE value compared to the traditional formulation of the PV parameters extraction objective function. The key contributions of this paper can be summarized as follows:

  • Application of the starfish optimization algorithm: this recently introduced metaheuristic is employed for accurate extraction of parameters in PV cell and module models.

  • Comparative performance analysis: the results obtained using SFOA are rigorously compared with those from four other state-of-the-art optimization algorithms, educational competition optimizer (ECO)55, hippopotamus optimization algorithm (HO)56, osprey optimization algorithm (OOA)57, and zebra optimization algorithm (ZOA)58.

  • Objective function enhancement: the objective function is reformulated using the secant method, and its performance is evaluated against the conventional objective functions commonly reported in the literature.

  • The combination of SFOA with the secant-based formulation achieves superior RMSE performance across SDM, DDM, TDM, and PV module models, confirming the effectiveness of both the new problem formulation and the optimizer.

This paper is organized as follows. The section on PV Models and Problem Formulation outlines the photovoltaic cell and module models and formulates the parameter extraction problem, including the secant-based objective function. The Starfish Optimization Algorithm section presents a detailed description of the proposed optimization method. The Experimental Setup section describes the benchmark datasets, error metrics, and comparative optimization algorithms. The Results and Discussion section presents and analyzes the obtained results. Finally, the Conclusion section summarizes the main findings and highlights potential directions for future research.

PV models and problem formulation

PV cell/module models

Accurate design of PV cells and modules requires both a precise mathematical model and an efficient metaheuristic algorithm to estimate the model’s unknown parameters. In the literature, the single-diode, double-diode, and three-diode models are widely used for PV cells, while the single-diode model (SDM) is typically employed for PV modules. These models are described in this section.

The electrical equivalent circuit of the SDM is shown in Fig. 1a. It consists of a constant current source, a diode, a shunt (parallel) resistance, and a series resistance. The diode models the p-n junction of the solar cell, representing the diffusion current due to carrier transport across the junction. By applying Kirchhoff’s current law, the output current of the SDM can be expressed as13:

$$\begin{aligned} I_{pv} = I_{ph} - I_{sd} \left[ exp \left( \frac{q(V_{pv}+I_{pv}R_{s})}{nkT} \right) - 1 \right] - \frac{V_{pv} + I_{pv} R_{s}}{R_{sh}} \end{aligned}$$
(1)

In this equation, \(I_{pv}\) is the output current of the photovoltaic (PV) cell, and \(I_{ph}\) is the photocurrent generated by the incident light. The term \(I_{sd}\) denotes the reverse saturation current of the diode. The constants k and q represent the Boltzmann constant and the elementary charge, with values 1.38064852 \(\times 10^{-23}\) J/K and 1.6021764 \(\times 10^{-19}\) C, respectively.

The parameter n is the diode ideality factor, and T is the temperature of the PV cell in Kelvin. \(V_{pv}\) denotes the output voltage of the PV cell. The terms \(R_s\) and \(R_{sh}\) represent the series resistance and the shunt resistance of the PV cell, respectively.

PV modules typically consist of \(N_s\) solar cells connected in series to meet the desired power output, as shown in Fig. 1b. The output current of the PV module model (PVM) is given by13:

$$\begin{aligned} I_{pv} = I_{ph} - I_{sd} \left[ exp \left( \frac{q(V_{pv}+N_{s}I_{pv}R_{s})}{nkTN_{s}} \right) - 1 \right] - \frac{V_{pv} + N_{s}I_{pv} R_{s}}{N_{s}R_{sh}} \end{aligned}$$
(2)

After excluding the known parameters, both the SDM and PVM have five unknown parameters that require estimation, defined as \(X = \left[ I_{ph}, I_{sd}, R_{sh}, R_{s}, n \right]\).

Fig. 1
figure 1

Equivalent circuit of (a) SDM, (b) PVM, (c) DDM, and (d) TDM.

The Double-Diode Model (DDM), shown in Fig. 1c, contains the same elements as the SDM but includes a second diode connected in parallel with the first. The second diode models the recombination current in the depletion (space-charge) region, while the first diode represents the diffusion current as in the SDM. This model provides better accuracy under low-irradiance conditions or for high-quality cells where recombination effects in the depletion region are significant. The output current of the DDM is18:

$$\begin{aligned} \begin{aligned} I_{pv} = I_{ph}&- I_{sd1} \left[ exp \left( \frac{q(V_{pv}+I_{pv}R_{s})}{n_1kT} \right) - 1 \right] \\&- I_{sd2} \left[ exp \left( \frac{q(V_{pv}+I_{pv}R_{s})}{n_2kT} \right) - 1 \right] \\&- \frac{V_{pv} + I_{pv} R_{s}}{R_{sh}} \end{aligned} \end{aligned}$$
(3)

In this model, \(I_{sd1}\) and \(I_{sd2}\) denote the saturation currents due to diffusion and recombination, respectively, while \(n_1\) and \(n_2\) represent the corresponding ideality factors of the diodes.

By excluding the known parameters, the DDM is characterized by seven unknown parameters that need to be estimated: \(X = \left[ I_{ph}, I_{sd1}, I_{sd2}, R_{sh}, R_{s}, n_1, n_2 \right]\).

The Three-Diode Model (TDM), shown in Fig. 1d, extends the DDM by adding a third diode in parallel. This additional diode captures further nonlinear effects, such as junction breakdown, defect-related leakage, or recombination at grain boundaries in polycrystalline cells. The TDM is particularly useful for modeling cells under low-irradiance conditions. The output current of the TDM is given by46:

$$\begin{aligned} \begin{aligned} I_{pv} = I_{ph}&- I_{sd1} \left[ exp \left( \frac{q(V_{pv}+I_{pv}R_{s})}{n_1kT} \right) - 1 \right] \\&- I_{sd2} \left[ exp \left( \frac{q(V_{pv}+I_{pv}R_{s})}{n_2kT} \right) - 1 \right] \\&- I_{sd3} \left[ exp \left( \frac{q(V_{pv}+I_{pv}R_{s})}{n_3kT} \right) - 1 \right] \\&- \frac{V_{pv} + I_{pv} R_{s}}{R_{sh}} \end{aligned} \end{aligned}$$
(4)

In this model, \(I_{sd3}\) represents the additional saturation current associated with a third recombination mechanism, often included to capture more complex carrier dynamics and improve the accuracy of the PV cell modeling under various operating conditions.

After excluding the known parameters, the triple-diode model (TDM) comprises nine unknown parameters that must be estimated: \(X = \left[ I_{ph}, I_{sd1}, I_{sd2}, I_{sd3}, R_{sh}, R_{s}, n_1, n_2, n_3 \right]\).

Secant-based objective function

Parameter identification of a PV cell/module is treated as an optimization problem, aiming to determine the set of parameters that most closely matches the experimental I–V curve of the PV cell/module. Modeling a PV cell/module involves the precise determination of the parameters in Eqs. (1), (2), (3), and (4). For that, an objective function is defined as follows:

$$\begin{aligned} RMSE(X) = \sqrt{\frac{1}{N_{m}} \sum _{i=1}^{N_{m}} f_M(V_{pv_{i}},I_{pv_{i}},X)^2} \end{aligned}$$
(5)

where X is the vector of parameters to be extracted for each model, \(N_{m}\) is the number of experimental data points, and M is the model type. The function \(f_M\) for each model is defined as follows:

$$\begin{aligned} \begin{aligned} f_{SDM}(V_{pv},I_{pv},X) = I_{ph}&- I_{sd} \left[ exp \left( \frac{q(V_{pv}+I_{pv}R_{s})}{nkT} \right) - 1 \right] \\&- \frac{V_{pv} + I_{pv} R_{s}}{R_{sh}} - I_{pv} \end{aligned} \end{aligned}$$
(6)
$$\begin{aligned} \begin{aligned} f_{DDM}(V_{pv},I_{pv},X) = I_{ph}&- I_{sd1} \left[ exp \left( \frac{q(V_{pv}+I_{pv}R_{s})}{n_1kT} \right) - 1 \right] \\&- I_{sd2} \left[ exp \left( \frac{q(V_{pv}+I_{pv}R_{s})}{n_2kT} \right) - 1 \right] \\&- \frac{V_{pv} + I_{pv} R_{s}}{R_{sh}} - I_{pv} \end{aligned} \end{aligned}$$
(7)
$$\begin{aligned} \begin{aligned} f_{TDM}(V_{pv},I_{pv},X) = I_{ph}&- I_{sd1} \left[ exp \left( \frac{q(V_{pv}+I_{pv}R_{s})}{n_1kT} \right) - 1 \right] \\&- I_{sd2} \left[ exp \left( \frac{q(V_{pv}+I_{pv}R_{s})}{n_2kT} \right) - 1 \right] \\&- I_{sd3} \left[ exp \left( \frac{q(V_{pv}+I_{pv}R_{s})}{n_3kT} \right) - 1 \right] \\&- \frac{V_{pv} + I_{pv} R_{s}}{R_{sh}} - I_{pv} \end{aligned} \end{aligned}$$
(8)
$$\begin{aligned} \begin{aligned} f_{PVM}(V_{pv},I_{pv},X) = I_{ph}&- I_{sd} \left[ exp \left( \frac{q(V_{pv}+N_{s}I_{pv}R_{s})}{nkTN_{s}} \right) - 1 \right] \\ &- \frac{V_{pv} + N_{s}I_{pv} R_{s}}{N_{s}R_{sh}} - I_{pv} \end{aligned} \end{aligned}$$
(9)

In this approach, \(V_{pv}\) and \(I_{pv}\) are replaced by the measured data to compute the error between the measured current \(I_{m}\) and the estimated current \(I_{e}\) based on the candidate parameter set X.

For all PV models considered in this study (SDM, PVM, DDM, and TDM), the current–voltage relationship can be expressed in the implicit nonlinear form \(f_M(V_{pv}, I_{pv}, X) = 0\), Due to the coexistence of linear and exponential current terms, this equation does not admit a closed-form solution for \(I_{pv}\). The conventional objective function minimizes the algebraic residual of equation (5). This approach does not enforce physical consistency and results in a rugged fitness landscape due to the strong nonlinearity of \(f_M\).

In the literature, this approach is the most common in papers on parameter extraction of PV cells/modules. However, in this paper, a new approach is proposed based on finding the estimated current \(I_{e}\) using the secant method, then calculating the RMSE.

To overcome the limitation of conventional approach, the estimated current \(I_{e}\) is obtained by explicitly solving \(f_M(V_{pv}, I_{pv}, X) = 0\). for each voltage point using the secant method. The objective function is then defined as:

$$\begin{aligned} RMSE = \sqrt{\frac{1}{N_{m}} \sum _{i=1}^{N_{m}} (I_{e_{i}} - I_{m_{i}})^2} \end{aligned}$$
(10)

which ensures that the PV model equation is satisfied for every candidate solution.

The secant method is adopted due to its derivative-free nature and superlinear convergence, making it numerically robust when embedded within population-based metaheuristic optimization.

The secant method is an iterative, derivative-free algorithm for finding roots of nonlinear equations g(x). Lets consider

$$g(x) = 0$$

It starts with two initial approximations, \(x_0\) and \(x_1\), and at each step computes a new approximation \(x_{n+1}\) as the x-intercept of the secant line passing through the points

$$\big ( x_{n-1}, g(x_{n-1}) \big ) \quad \text {and} \quad \big ( x_n, g(x_n) \big ).$$

The iteration formula is:

$$\begin{aligned} x_{n+1} = x_n - g(x_n) \cdot \frac{x_n - x_{n-1}}{g(x_n) - g(x_{n-1})}. \end{aligned}$$
(11)

In contrast to Newton’s method, which requires the exact derivative \(g'(x)\), the secant method approximates it by a finite difference:

$$g'(x_n) \approx \frac{g(x_n) - g(x_{n-1})}{x_n - x_{n-1}}.$$

This avoids derivative evaluations while still achieving superlinear convergence under suitable smoothness conditions.

For each model, \(f_{M}\) is replaced by the difference between the measured current \(I_{m}\) and the estimated current \(I_{e}\) as in (10), where \(I_{e}\) is the root of \(f_{M}\), found using the secant method. The whole process of this approach is shown in Fig. 2.

Fig. 2
figure 2

The process of objective function formulation based on Secant-method.

Starfish optimization algorithm

The Starfish Optimization Algorithm (SFOA) was proposed in54. The inspiration behind the SFOA comes from the unique biological and behavioral characteristics of starfish. Specifically, SFOA draws from starfish’s abilities to explore their surroundings using five arms (each equipped with light-sensitive eyes), their distinctive preying method of everting their stomachs to digest food externally, and their remarkable capacity for regeneration.

Mathematical model of SFOA

Initialization

During the initialization phase of SFOA, starfish positions are randomly generated within the bounds of the design variables and represented in matrix form:

$$\begin{aligned} X=\begin{bmatrix} X_{11} & X_{12} & \dots & X_{1D}\\ X_{21} & X_{22} & \dots & X_{2D}\\ \vdots & \vdots & \ddots & \vdots \\ X_{N1} & X_{N2} & \dots & X_{ND} \end{bmatrix}_{N \times D} \end{aligned}$$
(12)

where, X denote the matrix representing the positions of the starfish, with dimensions \(N \times D\), where N is the population size and D is the number of design variables. In the initialization phase, the position of each starfish is computed according to the following equation:

$$\begin{aligned} X_{ij} = L_j + r (U_j - L_j), \quad i=1,2,\dots ,N, \quad j=1,2,\dots ,D \end{aligned}$$
(13)

here, \(X_{ij}\) denotes the position of the ith starfish in the jth dimension, r is a uniformly distributed random number in the range (0, 1), and \(U_j\) and \(L_j\) represent the upper and lower bounds of the design variable in the jth dimension, respectively. Once the initial position matrix is generated, the fitness values of all starfish can be computed using the objective function and stored in a vector:

$$\begin{aligned} F = \begin{bmatrix} F(X_1)\\ F(X_2)\\ \vdots \\ F(X_N) \end{bmatrix}_{N \times 1} \end{aligned}$$
(14)

here, F is a matrix of size \(N \times 1\) used to store and update the fitness values. After initialization, SFOA enters its main loop, beginning the exploration and exploitation phases.

Exploration phase

The exploration phase of the SFOA algorithm simulates the starfish’s search capability, inspired by its five arms, each ending with an eye to aid in environmental sensing. In the exploration phase of SFOA, a novel search strategy is introduced, which combines a five-dimensional search pattern for cases where \(D>5\), and a unidimensional search pattern when \(D\le 5\), depending on the nature of the optimization problem. The dimensional threshold is inspired by the biological structure of starfish, which possess five arms (or eyes), serving as a natural basis for this design.

If the dimension of the optimization problem exceeds 5 (\(D>5\)), the search space becomes significantly large, requiring the starfish to utilize all five arms to explore its surroundings effectively. Moreover, each arm relies on knowledge of the best position found by the search agents to guide its movement. Based on this, a mathematical model is developed to represent this phase as follows:

$$\begin{aligned} Y_{i,p}^{T} = {\left\{ \begin{array}{ll} X_{i,p}^{T} + a_1 \left( X_{best,p}^{T} - X_{i,p}^{T}\right) \cos \theta , \quad r \le 0.5\\ X_{i,p}^{T} - a_1 \left( X_{best,p}^{T} - X_{i,p}^{T}\right) \sin \theta , \quad r > 0.5 \end{array}\right. } \end{aligned}$$
(15)

here, \(Y_{i,p}^{T}\) and \(X_{i,p}^{T}\) represent the updated and current positions of the i-th starfish in the p-th dimension, respectively. \(X_{best,p}^{T}\) denotes the p-th dimension of the current best position. The vector p consists of five randomly selected dimensions from the total D dimensions, and r is a random number in the range (0, 1). The parameters \(a_1\) and \(\theta\) are computed as follows:

$$\begin{aligned} a_1 = (2r-1)\pi \end{aligned}$$
(16)
$$\begin{aligned} \theta = \frac{\pi }{2} \frac{T}{T_{max}},\quad \theta \in \left[ 0, \pi /2\right] \end{aligned}$$
(17)

here, T denotes the current iteration, while \(T_{max}\) is the maximum number of iterations. The sine and cosine components reflect the equal probability of a starfish arm twisting left or right in its attempt to approach food.

For optimization problems where \(D>5\), the five-dimensional search pattern from (15) is applied to update only five dimensions of each position. This approach enhances search capability and improves efficiency compared to a full vector-based search pattern.

If an updated position falls outside the boundaries of the design variables, the starfish’s arms tend to remain at their previous positions rather than adopting the invalid update. This behavior can be mathematically expressed as follows:

$$\begin{aligned} X_{i,p}^{T+1} = {\left\{ \begin{array}{ll} Y_{i,p}^{T} \quad & L_{b,p} \le Y_{i,p}^{T} \le U_{b,p}\\ X_{i,p}^{T} \quad & \text {otherwise} \end{array}\right. } \end{aligned}$$
(18)

where p denotes the updated dimension, \(L_{b,p}\) and \(U_{b,p}\) represent the bounds of design variables, respectively.

If the dimension of the optimization problem is less than or equal to 5 (\(D\le 5\)), the exploration phase adopts a unidimensional search pattern to update positions. In this case, only one arm of the starfish moves to search for a food source, guided by the positional information of other starfish. The updated position in this scenario is defined as follows:

$$\begin{aligned} Y_{i,q}^{T} = E_t X_{i,p}^{T} + A_1 \left( X_{k_1,p}^{T} - X_{i,p}^{T} \right) + A_2 \left( X_{k_2,p}^{T} - X_{i,p}^{T} \right) \end{aligned}$$
(19)

here, \(X_{k_1,p}^{T}\) and \(X_{k_2,p}^{T}\) represent the p-th dimensional positions of two randomly selected starfish. \(A_1\) and \(A_2\) are random numbers within the range \((-1, 1)\), and p is a randomly selected dimension from the D total dimensions. \(E_t\) denotes the energy of the starfish, calculated as follows:

$$\begin{aligned} E_t = \frac{T_{max} - T}{T_{max}} \cos \theta \end{aligned}$$
(20)

Similar to the previous update rule, if the newly obtained position of a starfish falls outside the boundary, the starfish will remain at its previous position rather than adopting the updated one.

Exploitation phase

In SFOA, the exploitation phase focuses on searching for global solutions through two distinct updating strategies: preying and regeneration.

The parallel two-directional search strategy is used to model the preying phase of starfish; in this strategy, the SOFA needs to utilize the information from other starfish and the current best position of the population. First, five distances are computed between the best-known position and those of other starfish. Then, two of these distances are randomly selected to guide the position update of each starfish using a parallel two-directional search strategy. These distances are calculated as follows:

$$\begin{aligned} d_m = \left( X_{best}^{T} - X_{m_{p}}^{T}\right) , \quad m=1,\dots ,5 \end{aligned}$$
(21)

here, \(d_m\) represents the five distances between the global best starfish and five other selected starfish, while \(m_{p}\) denotes five randomly chosen starfish. Based on this, the position update rule during the starfish’s preying behavior is defined as follows:

$$\begin{aligned} Y_{i}^{T} = X_{i}^{T} + r_1 d_{m_{1}} + r_2 d_{m_{2}} \end{aligned}$$
(22)

where, \(r_1\) and \(r_2\) are random numbers in the range (0, 1), while \(d_{m_{1}}\) and \(d_{m_{2}}\) are randomly selected values from the set \(d_m\).

In addition, starfish are vulnerable to predators during predation due to their slow movement. When threatened, a starfish may escape by shedding an arm, a defensive mechanism used to evade capture.

Consequently, the regeneration phase in SFOA is applied exclusively to the last starfish in the population (\(i=N\)). Since regeneration in nature takes several months, this phase is modeled with a very slow movement speed. Accordingly, the position update rule for the regeneration phase is defined as follows:

$$\begin{aligned} Y_{i}^{T} = exp\left( -T\times N/T_{max} \right) X_{i}^{T} \end{aligned}$$
(23)

If the position obtained from (22) or (23) exceeds the boundaries of the design variables, it is adjusted as follows:

$$\begin{aligned} X_{i}^{T+1} = {\left\{ \begin{array}{ll} Y_{i}^{T} \quad L_b \le & Y_{i}^{T} \le U_b\\ L_b \quad & Y_{i}^{T} \le L_b\\ U_b \quad & Y_{i}^{T} > U_b \end{array}\right. } \end{aligned}$$
(24)

The procedure and complexity of SFOA

The detailed procedure of SFOA is illustrated in Fig. 3, which presents the algorithm’s flowchart.

The SFOA begins with the initialization phase, where algorithm parameters and problem-specific information are provided. The population is then randomly generated within the design variable boundaries using (12), followed by the evaluation of fitness values. After initialization, SFOA proceeds into the main optimization loop.

In the main loop, the decision to proceed with either the exploration or exploitation phase is based on comparing a random number in the range (0, 1) with the algorithmic parameter \(G_p\), which is set to 0.5 in SFOA based on the original paper54. When the maximum iteration criterion is met, the main loop terminates, and the final global solution is returned.

At the initialization phase, the computational complexity of SFOA is \(O(N \times D)\). During the exploration phase, a hybrid search pattern is employed depending on the dimensionality: for \(D>5\), the complexity is \(O( 1/2 \times T_{max} \times N \times 5)\), and for \(D \le 5\), it is \(O( 1/2 \times T_{max} \times N \times 1)\). In the exploitation phase, the complexity is given by \(O( 1/2 \times T_{max} \times N \times D)\).

For an optimization problem where \(D>5\), the total computational complexity of SFOA is calculated as follows:

$$\begin{aligned} O(\text {SOFA}) \simeq O \left( N \times T_{max} \times D \times \left[ \frac{1}{2} + \frac{5}{2D}\right] \right) \end{aligned}$$
(25)

For the case where \(D\le 5\), the total computational complexity of SFOA is calculated as follows:

$$\begin{aligned} O(\text {SOFA}) \simeq O \left( N \times T_{max} \times D \times \left[ \frac{1}{2} + \frac{1}{2D}\right] \right) \end{aligned}$$
(26)

To determine the computational complexity of the proposed method, the time complexity of SFOA is combined with that of the Secant-based objective function, denoted as \(O(\text {Secant-OF})\). Accordingly, the overall time complexity of the proposed method can be expressed as:

$$\begin{aligned} O(\text {Proposed Method}) = O(\text {SFOA}) + O(\text {Secant-OF}). \end{aligned}$$
(27)

The computational complexity of the Secant-based objective function is approximated by

$$\begin{aligned} O(\text {Secant-OF}) \simeq O \left( N_m \times L_s \right) , \end{aligned}$$
(28)

where \(N_m\) represents the size of the dataset used for each model, and \(L_s\) denotes the number of iterations required by the Secant method. In the other hand, the space complexity of the proposed method is identical to that of SFOA and is approximated as \(O \left( N \times D \right)\).

Fig. 3
figure 3

The flowchart of SFOA.

Experimental setup

Benchmark data

The benchmark data used for the PV cell are from the RTC France monocrystalline silicon cell, which has a diameter of 57 mm and consists of a single cell. Its experimental I–V curve was obtained under an incident irradiance of 1000 W/m2 at an operating temperature of 33 °C, and is characterized by 26 pairs of current–voltage data points. The PV module data are from the Photowatt-PWP201 polycrystalline module, which is composed of 36 cells connected in series. Its experimental I–V curve was measured under an irradiance of 1000 W/m2 at an operating temperature of 45 °C, and is characterized by 25 pairs of current–voltage data points. The experimental data are shown in Table 1.

Table 1 The experimental voltage and current for RTC France solar cell and Photowatt-PWP201 module.

Table 2 lists the parameter ranges for each PV cell/module model, which are identical to those reported in previous studies13,18.

Table 2 Parameters boundaries of RTC France PV cell and PhotoWatt PWP-201 PV module.

Error metrics

To evaluate the accuracy of the estimated current values in comparison to the measured data, the following error metrics are used:

  • Absolute error (AE) represents the total magnitude of the deviation between the measured current values \(I_{m,i}\) and the estimated current values \(I_{e,i}\), summed over all data points.

    $$\begin{aligned} AE = \sum _{i=1}^{N_{m}} |I_{m,i} - I_{e,i} |\end{aligned}$$
    (29)
  • Mean absolute error (MAE) measures the average magnitude of the absolute differences between measured and estimated currents, providing a general indication of prediction accuracy.

    $$\begin{aligned} MAE = \frac{1}{N_{m}} \sum _{i=1}^{N_{m}} |I_{m,i} - I_{e,i} |\end{aligned}$$
    (30)
  • Maximum absolute error (MaxAE) is the maximum absolute difference between the measured and estimated currents over all data points. It represents the worst-case error.

    $$\begin{aligned} MaxAE = \max _{i=1,\dots ,N_{m}} |I_{m,i} - I_{e,i} |\end{aligned}$$
    (31)
  • Median bias error (MBE) represents the average signed difference between measured and estimated currents. A positive MBE indicates underestimation by the model, while a negative value indicates overestimation.

    $$\begin{aligned} MBE = \sum _{i=1}^{N_{m}} \frac{(I_{m,i} - I_{e,i})}{N_{m}} \end{aligned}$$
    (32)

Comparative algorithms

In this study, to maintain conciseness, only brief summaries of each algorithm are presented in Table 3, instead of providing detailed explanations.

Table 3 A summary of the metaheuristic algorithms used in this paper.

For consistency in benchmarking, all algorithms were configured with an identical population size of 50 and 1000 iterations. All simulations were conducted in MATLAB R2021a on a personal computer equipped with an Intel Core i5-3230M CPU at 2.60 GHz and 8.00 GB of RAM. Each algorithm was executed 30 times in independent runs. For the SFOA, the parameter Gp was set to 0.5, while for the ECO, the learning habit boundary was set to \(H = 0.5\). The remaining algorithms were used in their original form without any control parameter adjustments, as they do not incorporate tunable control parameters. For the initial guess of secant method, \(x_0\) is set to 0 and \(x_1\) is set to \(I_{ph}\).

Results and discussion

Convergence analysis

Figure 4 illustrates the convergence curves of the RMSE, without secant modification, for the SFOA, ECO, HO, OOA, and ZOA algorithms applied to the SDM, DDM, and TDM models, based on RTC France and PVM for the Photowatt-PWP201 module. Across all models, the SFOA algorithm demonstrates the fastest and most stable convergence, consistently reaching the lowest fitness values well before the maximum iteration limit, except in the case of PVM. For SDM, DDM, TDM, and PVM, SFOA achieves near-optimal solutions within the first 600–650 iterations, 800–850 iterations, 800–900 iterations, and 900–1000 iterations, respectively. Followed closely by ECO, ZOA, and HO, which converge more slowly and to slightly higher final fitness values.

OOA perform significantly worse across all cases, with OOA maintaining an almost constant and high fitness value throughout the iterations, indicating poor search capability and an inability to improve over time. The PVM case in Fig. 4d highlights these performance differences even more clearly; SFOA reaches the lowest fitness value with a sharp initial drop, while ECO, HO, and ZOA exhibit slower and less stable convergence patterns, and OOA once again shows negligible improvement.

Fig. 4
figure 4

Convergence curves for (a) SDM, (b) DDM, (c) TDM, and (d) PVM for different algorithms without secant modification.

Figure 5 shows the convergence curves of the different algorithms for the various models in the case of modification with the secant method. The inclusion of the secant modification significantly accelerates convergence for all methods, with SFOA showing the most remarkable improvement. In this case, SFOA reaches the lowest fitness value, lower than \(10^{-3}\), well before 750 iterations and maintains this advantage throughout the run. ECO and HO also benefit from the modification, converging faster and to lower final fitness values than in the non-secant case.

In contrast, ZOA experiences modest gains, converging more slowly and stabilizing at higher fitness levels, while OOA remains almost unchanged, stuck at a constant, poor fitness value. The PVM case in Fig. 5d highlights the advantage of the secant modification for SFOA, which quickly reaches near-optimal solutions, whereas other algorithms converge more gradually and to worse solutions.

Fig. 5
figure 5

Convergence curves for (a) SDM, (b) DDM, (c) TDM, and (d) PVM for different algorithms with secant modification.

To highlight the differences in terms of convergence and to provide a clearer view of the SFOA, Fig. 6 illustrates its convergence curves for the various models, in both cases with and without secant modification. Across all four models, the secant-enhanced SFOA (green curve) consistently converges faster and achieves lower fitness values than the standard version (blue curve).

Fig. 6
figure 6

Convergence curves for SFOA with and without secant modification for (a) SDM, (b) DDM, (c) TDM, and (d) PVM.

Accuracy of parameter extraction

Using five optimization algorithms and their corresponding secant-based hybrid variants, Table 4 summarizes the ideal parameters found for the SDM, DDM, and TDM based on the RTC France reference cell and the Photowatt-PWP201 PVM. The photocurrent \(I_{ph}\), saturation current(s) (\(I_{sd}\), \(I_{sd1}\), \(I_{sd2}\), \(I_{sd3}\)), shunt resistance \(R_{sh}\), series resistance \(R_{s}\), and ideality factor(s) (n, \(n_1\), \(n_2\), \(n_3\)), as well as the RMSE as a measure of fitting accuracy, are among the presented parameters for each model. The RMSE values of the secant-hybrid approaches are lower than those of their standalone counterparts, especially for the SDM and DDM. The most reliable accuracy across various PV models is provided by SFOA-Secant and ECO-Secant among the tested configurations, indicating the resilience of hybridization in parameter extraction.

The best results are obtained with the SFOA-Secant configuration for the TDM and DDM, yielding RMSE values of \(7.3218\times 10^{-4}\) and \(7.4162\times 10^{-4}\), respectively. These are closely followed by ECO-Secant for the DDM (\(7.5727\times 10^{-4}\)) and SFOA-Secant for the SDM (\(7.6579\times 10^{-4}\)). Such minimal error values indicate highly accurate parameter estimation and an excellent match between the modeled and experimental I–V characteristics. For the PVM, SFOA-Secant achieves the lowest RMSE of \(2.0489\times 10^{-3}\).

In contrast, the poorest performance is observed for the OOA and OOA-Secant configurations in the PVM case, with RMSE values of \(3.4675\times 10^{-1}\) and \(1.9808\times 10^{-1}\), respectively, followed by OOA in the DDM (\(2.4222\times 10^{-2}\)) and OOA-Secant in the same model (\(2.0863\times 10^{-2}\)). These large deviations suggest that these settings fail to converge effectively to the optimal parameters, resulting in poor model fitting and significant mismatches with the measured data.

Table 4 Optimal parameters of three PV cell models (SDM, DDM, and TDM) based on RTC France reference cell, and PVM parameters for the Photowatt-PWP201.

Table 5 shows that SFOA-Secant achieves the lowest RMSE across all PV models (SDM, DDM, TDM, and PVM), outperforming recent optimization methods reported in the literature. Several competing algorithms provide results only for simpler models, indicating limited scalability when handling higher-order PV models. Moreover, although some methods yield competitive RMSE values for SDM and DDM, their accuracy degrades for more complex models, particularly for PV modules. These results indicate that most existing approaches are constrained by the traditional RMSE-based objective formulation. In contrast, the proposed secant-based modification significantly enhances convergence accuracy and numerical stability, demonstrating that improving the problem formulation is essential for achieving consistently high-precision PV parameter extraction.

Table 5 Comparison of RMSE values obtained by the proposed SFOA-Secant method and state-of-the-art optimization algorithms for different PV models.

Performance metrics

Table 6 presents the performance metrics of the five optimization algorithms and their Secant-based hybrid variants in estimating the optimal parameters of the SDM, DDM, and TDM for RTC France reference cell, as well as the PVM for Photowatt-PWP201. The evaluation metrics include AE, MAE, MaxAE, MBE, and the average computation time \((avg \ t(s))\) as performance indicators. Across all models, the Secant-based variants generally outperform their standalone counterparts in terms of AE, MAE, and MaxAE, reflecting improved fitting precision. However, this accuracy gain often comes at the cost of increased computation time, particularly for the HO-Secant approach, which exhibits the longest runtimes in all cases.

The SFOA-Secant and ECO-Secant configurations consistently yield the best results. For instance, SFOA-Secant achieves some of the lowest values recorded for this model in the SDM case, with an AE of 0.017501793, an MAE of 0.000673146, and a MaxAE of 0.001528391. Similarly, SFOA-Secant produces an AE of 0.017008394 and an MAE of 0.000654169 for the DDM and an AE of 0.016697426 and an MAE of 0.000642209 for the TDM, both of which demonstrate extremely accurate parameter estimation. ECO-Secant outperforms all other methods in the PVM case, yielding the lowest AE of 0.04216968 and an MAE of 0.001686787.

The OOA, on the other hand, exhibits the worst results, especially in the PVM case, where AE reaches 7.61536214, MAE rises to 0.304614486, and MaxAE peaks at 0.481289424. Other models, like the DDM, also show this pattern, with OOA producing an AE of 0.602298626 and an MAE of 0.023165332. With AE values of 0.367535968 for the TDM and 4.133594452 for the PVM, OOA-Secant also performs poorly in some cases, showing that hybridization may not always lead to better performance when the base algorithm itself shows poor convergence characteristics.

Table 6 Performance of optimization algorithms and their secant variants for estimating optimal parameters of SDM, DDM, and TDM (RTC France cell) and PVM (Photowatt-PWP201) using AE, MAE, MaxAE, MBE, and average computation time.

From the average computation time reported in Table 6, it is evident that all Secant-based variants require a longer execution time compared to their conventional counterparts. This increase is attributed to the additional iterative root-finding process introduced by the Secant method during objective-function evaluation. The effect is consistent across all PV models and optimization algorithms. These results experimentally confirm the computational time approximation formulated in (28), demonstrating that the improved accuracy achieved by the Secant-based formulation is obtained at the cost of increased computational effort.

Robustness and repeatability

The statistical analysis of RMSE values for the SDM, DDM, TDM, and PVM based on 30 independent runs using five optimization algorithms and their Secant-hybrid variants is shown in Table 7. Insight into the accuracy and consistency of the methods is provided by reporting the minimum, maximum, mean, median, and standard deviation for each case.

The findings show that the Secant-hybrid versions, SFOA-Secant in particular, achieve consistently low RMSE values with little variation across all PV models. For example, SFOA-Secant exhibits near-perfect repeatability in the SDM, maintaining an exceptionally stable RMSE of roughly \(7.6579\times 10^{-4}\) with a standard deviation of just \(1.3793\times 10^{-9}\). Both SFOA-Secant and ECO-Secant demonstrate their robustness in parameter extraction by achieving low mean RMSE values and small standard deviations in the DDM and TDM.

In contrast, specific baseline algorithms exhibit substantial variability and higher error values. Notably, OOA shows fluctuations, as observed in the SDM (mean RMSE of \(1.2286\times 10^{-1}\), maximum of \(2.5212\times 10^{-1}\)) and PVM (mean RMSE of \(4.4056\times 10^{-1}\)). In the PVM case, the standard deviation for OOA reaches \(1.7721\times 10^{-2}\), indicating a strong sensitivity to initialization or being stuck in local minima. By comparison, the best-performing hybrid variants consistently combine accuracy with stability, making them more suitable for reliable PV model parameter estimation.

Table 7 Statistical comparison of RMSE values for SDM, DDM, TDM, and PVM obtained with different algorithms after 30 runs.

Figure 7 presents box plots of the fitness for the different optimization algorithms, with and without the secant modification, applied to SDM, DDM, TDM, and PVM. Across all subfigures, the Secant-based variants, especially SFOA-Secant exhibit extremely compact distributions with minimal interquartile range (IQR) and negligible outliers, indicating both high accuracy and exceptional stability. In particular, SFOA-Secant maintains median RMSE values close to zero with no visible spread, confirming its repeatable performance across independent runs.

In contrast, specific baseline algorithms, such as OOA and HO, show significant variance and higher median RMSE values, as clearly visible in the elongated box and whiskers, along with numerous outliers. This effect is most pronounced in SDM of Fig. 7a and TDM in Fig. 7c, where OOA’s performance fluctuates considerably between runs. For PVM in Fig. 7d, OOA and ECO display substantial dispersion, whereas SFOA-Secant, ECO-Secant, and other hybrid variants retain consistently low error values.

Fig. 7
figure 7

Box plot for (a) SDM, (b) DDM, (c) TDM, and (d) PVM for different algorithms with and without secant modification.

Therefore, the figure graphically supports the previous statistical conclusions: the Secant-hybrid methods, particularly SFOA-Secant, are consistently the most accurate and dependable, yielding strongly clustered, low-error results for all PV models.

Statistical validation

The p-values from the Wilcoxon rank-sum test, which compares the RMSE distributions of SFOA-Secant to each of the other tested algorithms for SDM, DDM, TDM, and PVM, are shown in Table 8. At the \(5\%\) significance level, SFOA-Secant significantly outperforms the compared method, as indicated by the p-values, which are incredibly small in all cases and range from \(10^{-10}\) to \(10^{-11}\), accompanied by a “+” symbol. The robustness and superiority of the SFOA-Secant approach in obtaining lower RMSE values with high confidence are highlighted by this consistent statistical dominance across all models and algorithms.

Table 8 Wilcoxon rank-sum test p-values comparing SFOA-Secant with other optimization algorithms for SDM, DDM, TDM, and PVM models.

Table 9 presents the results of the Friedman ranking test, showing the mean ranks and the corresponding rank orders for each algorithm across all four PV models. In every case, SFOA-Secant obtains the best possible mean rank (close to 1.0) and is ranked first, confirming its consistent top performance. The second-best performers vary depending on the model, SFOA in SDM, DDM, and TDM, and ECO-Secant in PVM; although their mean ranks are notably higher than SFOA-Secant’s. Conversely, OOA and OOA-Secant occupy the bottom ranks in nearly all cases, reflecting their poor optimization stability and accuracy observed in earlier tables.

Table 9 Mean and order rankings from the Friedman test of different tested algorithms for SDM, DDM, TDM, and PVM.

With results that are statistically significant when compared to all competitors, SFOA-Secant is not only the most accurate configuration but also the most consistently dominant, according to the statistical tests, which generally support the conclusions from the error analysis.

Characteristic curves

Figures 8 and 9 present the I–V and P–V characteristic curves, respectively, for RTC France based on SDM, DDM, TDM, and Photowatt-PWP201 based on PVM, using different algorithms with and without the secant modification. In both sets of plots, the measured experimental curves serve as the reference, while the estimated curves from each optimization approach are plotted for comparison.

Across the first three models, Figs. 8a–c and 9a–c, the secant-based variants, especially SFOA-Secant achieve almost perfect overlap with the measured curves, demonstrating precise parameter estimation and accurate reproduction of both the current and power profiles. The differences between the measured and estimated curves are practically imperceptible for these cases, indicating negligible modeling error.

In contrast, some baseline algorithms, particularly OOA for PVM, exhibit noticeable deviations. The secant modification effectively reduces these discrepancies, with SFOA-Secant and ECO-Secant producing near-perfect fits even in the more challenging PVM case.

Fig. 8
figure 8

The I–V characteristic curves of RTC France based on (a) SDM, (b) DDM, and (c) TDM and Photowatt-PWP201 based on (d) PVM using different algorithms.

Fig. 9
figure 9

The P–V characteristic curves of RTC France based on (a) SDM, (b) DDM, and (c) TDM and Photowatt-PWP201 based on (d) PVM using different algorithms.

These figures support the previous statistical and error-metric findings; the Secant-based hybrids, particularly SFOA-Secant, exhibit the lowest numerical errors and the highest fidelity in accurately representing the actual electrical behavior of the PV models under all operating conditions.

Conclusion

The extraction of unknown parameters in photovoltaic (PV) models is a fundamental task, as it enables a rigorous, physics-based interpretation of PV cell and module behavior. Such an understanding directly supports practical applications, including accurate performance prediction, real-time monitoring, fault diagnosis, and the development of effective strategies for system optimization and efficiency enhancement. In this paper, the parameters of several PV models were extracted using a recently developed metaheuristic, namely the Starfish Optimization Algorithm (SFOA). Its performance was systematically evaluated and compared with four recent state-of-the-art algorithms: the Educational Competition Optimizer (ECO), Hippopotamus Optimization Algorithm (HO), Osprey Optimization Algorithm (OOA), and Zebra Optimization Algorithm (ZOA). Two objective function formulations were investigated: the conventional RMSE-based formulation and a novel secant-based reformulation. The primary contribution of this work lies in the development and successful integration of the secant-based objective function into the PV parameter extraction problem.

The results demonstrate that the secant-hybrid variants consistently achieve lower RMSE values with negligible variance across all considered PV models. An ablation analysis, conducted by replacing the proposed secant-based objective with the classical RMSE formulation while keeping all optimization settings unchanged, confirms that the observed performance gains originate from the proposed reformulation rather than from algorithmic parameter tuning. Furthermore, statistical validation using the Wilcoxon rank-sum test verifies that the improvements are statistically significant and not attributable to random effects.

Among all tested configurations, the SFOA-Secant approach exhibits the fastest and most stable convergence behavior, reliably attaining the lowest fitness values well before reaching the maximum number of iterations. The best overall results were obtained using SFOA-Secant for the three-diode model (TDM) and double-diode model (DDM), achieving RMSE values of \(7.3218 \times 10^{-4}\) and \(7.4162 \times 10^{-4}\), respectively. These results are closely followed by ECO-Secant for the DDM (\(7.5727 \times 10^{-4}\)) and SFOA-Secant for the single-diode model (SDM) (\(7.6579 \times 10^{-4}\)). Comprehensive statistical analyses further confirm that SFOA-Secant consistently outperforms all competing methods with high precision and robustness across different PV models.

In contrast, the OOA and OOA-Secant configurations exhibit inferior performance in most scenarios, particularly for the PV module (PVM) case. Although the secant-based hybridization improves accuracy in some instances, it also introduces additional computational overhead. This increase in computation time is mainly attributed to the iterative root-finding process embedded within the objective function evaluation. Moreover, the I–V and P–V characteristic curves obtained using OOA, with and without secant modification, show noticeable deviations from the experimental data, indicating poor convergence behavior.

The main limitation of the proposed secant-based objective function lies in its increased computational complexity, as evidenced by the higher average runtimes observed across different algorithms. While this overhead is acceptable for offline parameter identification, it may restrict the direct applicability of the method in strict real-time or embedded environments without further optimization.

Future research can address these limitations through several promising directions.

  • The proposed secant-based objective function can be evaluated on additional benchmark datasets and under varying environmental conditions to further assess its generalization capability.

  • Computational efficiency may be improved by developing adaptive or simplified variants of the secant method that preserve accuracy while reducing runtime.

  • Enhancing poorly performing algorithms, such as OOA, particularly for PV module parameter extraction, represents another important research avenue.

  • The real-time implementation of SFOA-based parameter extraction in operational PV systems, possibly through hardware acceleration or reduced-order modeling, constitutes a valuable direction for future work.