1. Introduction
Shockley’s diode equation describes the behavior of the electrical variables of an ideal solar cell. In order to include the power losses experienced by an operating solar cell, the resistance of the series 
 and the shunt 
 need to be included through Kirchhoff’s current law (KCL) and Ohm’s laws [
1]. The resulting model is commonly referred to as the five-parameter single-diode model (SDM) [
2]. In this case, an implicit equation arises when calculating the current–voltage (
) characteristic, which is necessary to solve numerically. Banwell et al. showed [
3] that an explicit expression for the current in terms of the voltage that includes 
 can be obtained with the Lambert 
-function. A version of this expression that also includes 
 was developed in [
4]. In [
5], formulas were presented for computing the voltage in terms of the current and explicit expressions for short-circuit current 
 and open-circuit voltage 
.
The maximum power point (MPP) voltage 
 and current 
 are the pair of points of an 
 curve for which the power defined by 
 is at its maximum. The MPP is of interest because commercial solar panels are optimized to operate at this point for better efficiency [
6]. Furthermore, the MPP used as a simulation tool for predicting generation power [
7], estimating the MPP in real time using low-cost hardware [
8], or calculating the power density for optimal flow studies [
9], to mention only a few applications. The MPP computation problem has been addressed from different approaches. In [
10], the Lagrange multiplier method was used, employing an objective function to maximize the power within the constraint of satisfying the 
 equation of the photovoltaic (PV) module. A similar methodology was used in [
11], with the addition of an objective function to maximize the rectangle inside the 
 characteristic curve and study of the double diode model. In [
12], the objective was to maximize the power output using the tilt angle of the PV module given an arbitrary location, which was accomplished through the use of neural networks. Using measurements of the slope of the 
 curve around points 
 and 
, ref. [
13] constructed a parallelogram by which the MPP was computed using Lagrangian interpolation. Through the use of Thevenin and Norton equivalent circuits, ref. [
14] approximated a linearized version of the 
 curve of the PV module around the MPP in order to relate the parameters of the equivalent circuits to a variety of weather conditions. On the other hand, a significant problem in PV cell modeling consist of finding an explicit expression for the MPP in terms of the physical parameters of the SDM. Numerical method can be employed to easily determine the MPP with arbitrary accuracy; however, these methods are computationally expensive and may have divergence problems if the initial value is relatively far from the exact value of the solution. Therefore, it is worth finding analytical expressions for 
 and 
 with an acceptable level of accuracy. These should allow for quick and easy calculation of the MPP.
Obtaining analytical expressions is based on simplifications that reduce the implicit transcendental equation to an analytically solvable one. The previous literature has addressed this calculation from different approaches. The problem of including only 
 was first tackled in [
15] provided an explicit expression describing the relationship between voltage and current. From this expression, they proceeded to derive formulas for calculating 
 and 
. Subsequently, expressions for MPP voltage and current were obtained in [
8] through analytical methods based on the Mean Value Theorem (MVT) applied to the implicit current equation. Building on this, in [
16] the Lambert W-function was employed to refine the PV module’s current equation. It was observed that the arguments of the Lambert W-function take on small values, allowing for an approximation in which these terms are replaced by their arguments to simplify the expressions for 
 and 
. The resulting equations can be analytically solved using the Lambert W-function, providing a more precise approach. The problem of solving the transcendental equation for the MPP becomes more complex when 
 is included in the formulation. This problem was initially addressed in [
17], where the problem was reduced to a quadratic equation for 
 by employing some simplifications (such as 
 and 
) and using a linear approximation to solve the problem analytically. In [
7,
18], the exact solution of the MPP for the ideal case was presented in terms of the Lambert 
-function. The parameters 
 and 
 were included using the KCL. An alternative approach for analytical computation of the MPP was presented in [
19], where an explicit model with parameters associated with the SDM was taken as a reference. Returning to the idea of applying the MVT to the 
 curve, ref. [
20] applied the MV to the ideal SDM to find an approximation for the MPP, which was dependent on the natural logarithm and included 
 and 
 by viewing the circuit as a two-port network. Recently, the exact solution to the problem of applying the MVT to MPP computation was finally found in [
21].
It is well known that the accuracy of MPP calculation is strongly dependent on the method used to calculate the SDM parameters. In [
22], the authors found that with available 
 curve measurements, the most accurate method for representing curve is presented in [
23], which considers the five-parameter SDM. When data sheet information is available, the most accurate approach is presented in [
24,
25], which uses the so-called simplified SDM. This model neglects either 
 or 
 depending on the value of the series-parallel coefficient (SPR) parameter. In the case of SPR 
, only 
 is considered and 
; otherwise if SPR 
, then 
, and a finite value of 
 is taken. In the current literature there is no approximation for the latter case, only the model where 
 or a combination of 
 and 
 are considered; nevertheless, the expressions obtained in this way lack accuracy due to the multiple simplifications.
In this work, analytical approximations of these two special cases are developed using perturbation theory and the Lagrange inversion theorem (LIT). For the case in which only 
 is considered, an implicit equation for 
 obtained from the SDM is converted into the dimensionless form 
, where 
a and 
 are dimensionless parameters. From here, we note that for small values of 
a (which correspond to small values of 
), it is possible to obtain an analytical closed-form expression for 
u. Using perturbation theory, it can be argued that this approximation is close to the exact solution, at least at a small distance 
. Expanding the power series around 
 = 0, an expression for the exact form is found using the LIT. For the other case, where 
 is considered, a similar methodology is followed, using the 
 estimate of the ideal case as an initial approximation. The expressions are validated using the set of six 
 curves measured by the NREL and presented in [
26], where they are found to have an error of less than 0.035%.
  2. Problem Description
Assuming nondegenerate conditions, the total current 
I produced by a solar cell follows Shockley’s diode equation [
27]. When series and shunt resistance are considered, this equation becomes
      
      where
      
      with 
 being the number of cells connected in series, 
T the module temperature, 
 Boltzmann’s constant, 
q the electron charge, 
A the ideality factor of the diode, 
 the recombination current, 
 the photogeneration current, 
 the series resistance, and 
 the shunt resistance. From Equation (
1), the implicit solutions for the current in terms of the voltage (and vice versa) follow [
5]
      
      with
      
At the maximum power point (MPP), it follows that 
. The maximum power point voltage 
 and current 
 follow the implicit forms [
21]
      
      where W(x) is Lambert’s 
-function, defined by 
, and 
 and 
 are Equations (
4) and (
5) evaluated at 
 and 
, respectively. Equations (
6) and (
7) are transcendental equations that cannot be solved analytically. Numerical methods can then be employed; however, these may present divergence problems and can be computationally expensive. In the following section, analytical approximations are presented to avoid these problems.
  3. Mathematical Background
This section presents two mathematical tools employed in the present work to find the analytical approximations of the MPP: perturbation theory and the Lagrange inversion theorem (LIT).
Let 
 be the exact root of the equation 
. Consider the problem of finding the roots of a transcendental equation in the form
      
      where 
 is a small parameter satisfying 
. Following perturbation theory, the solution to Equation (
8) can be expressed as a power series in 
 of the following form:
Expanding to the first order in 
 gives
      
      where 
 is the first-order coefficient of the power series. Standard perturbation theory requires substituting Equation (
10) in Equation (
8) and collecting terms of equal powers of 
. This results in a system of algebraic equations that can be solved analytically. However, in this work we explore a different approach. First, we expand 
 via Taylor series expansion around 
 to provide
      
Substituting Equation (
10) into Equation (
11) and simplifying yields
      
Separating the zeroth-order term from the series and denoting 
 in Equation (
12), it follows that
      
However, according to Equation (
8), 
; therefore, it follows that
      
From Equation (
14), according to the Lagrange inversion theorem (LIT), if 
, then there exists a function 
 such that [
28]
      
      where the coefficients 
 follow [
29]
      
      with coefficients 
 satisfying the constraints 
 and 
. The first five 
 are [
30]
      
The LIT allows us to find 
 through Equation (
15). The root of 
, 
x, is then calculated by inserting Equation (
15) in Equation (
10). The radius of convergence of the reverse series in Equation (
15) has the same domain as the original series in Equation (
11), according to [
31,
32].
  4. Computation of the MPP Assuming Only Series Resistance
From the general form of the diode equation provided by Equation (
1), the case in which only 
 is considered can be approximated by taking the limit 
. This yields
      
Solving for 
V gives
      
      meaning that the output power of the module 
 is provided by
      
At the MPP, the derivative of the power with respect to the current is zero, i.e.,
      
      with
      
Substituting Equations (
19) and (
22) into Equation (
21) and combining and simplifying the like terms yields a transcendental equation for 
 of the following form:
Now, defining the variables 
a, 
, and 
u as
      
Equation (
23) can be rewritten as
      
      which makes the problem dimensionless.
	  
Because 
, it follows from Equation (
26) that 
. Furthermore, 
 must be satisfied to ensure that the solution of Equation (
27) lies in the real plane; therefore, the value of 
u must be bounded by 
. This is expected, as the value of 
 that solves Equation (
23) is in the range of 
 given that 
 is the maximum value taken by the current. This value depends on the PV module technology, incoming irradiance, and cell temperature. The analysis in this section shows that the value of 
u that solves Equation (
27) has a well-defined boundary for constant values. Regarding 
a, because 
, 
, 
, 
, 
A, and 
 are physical quantities with positive value, it follows that 
 for any standard PV module. Finally, because 
 for any practical scenario, Equation (
25) implies that 
.
  4.1. Initial Approximation of the MPP
In the particular case where either 
 or 
 is small, 
a in Equation (
24) is also small. In this case, 
 and 
u should be near zero in order to conserve the equality in Equation (
27). This occurs in the case of low illumination, resulting in small 
, or when assuming a reasonable quality of the solar cells in the module such that 
 is small. Therefore, the significant terms that contribute the most to the solution of Equation (
27) are the first two on the right-hand side. In this special case, it is possible to neglect the 
 term, causing a transcendentally small error, as follows:
Applying exponentiation to both sides of Equation (
28) gives
        
        and using the definition of 
 finally results in
        
        where 
 is the principal branch of Lambert’s 
-function. Thus, the MPP is calculated by substituting Equation (
29) into Equation (
26) for 
, then in turn into Equation (
19) for 
. Returning to the original variables, Equation (
29) is represented as follows:
The expression in Equation (
30) was initially presented in [
16] for the study of a PV cell. In order for the approximation Equation (
29) to satisfy the bounds of 
u, it must hold that
        
The main branch of the Lambert 
-function has the special value 
; as it is monotonically increasing, Equation (
29) must satisfy 
. Therefore, in order for Equation (
31) to be true, it must be the case that
        
This provides the restriction that the parameters 
 and 
a must be satisfied in order for Equation (
29) to hold. Furthermore, Equation (
32) provides a limit for the values that 
 can take, given by
        
  4.2. Perturbation Theory
Equation (
27) can be rewritten as
        
Because 
a is assumed to be small, note that Equation (
34) has the same form as the general expression in Equation (
8), with 
, 
, and 
. The root of 
 is known to be 
, as provided by Equation (
29). Then, following perturbation theory, the roots of Equation (
34) follow
        
        where 
 is a new variable introduced for convenience. Substituting Equation (
35) in Equation (
27) yields
        
Taylor series expansion for 
 near zero results in
        
        which can be represented as
        
        where 
 is the Kronecker’s delta. Denoting the left-hand side of Equation (
38) as
        
        and the coefficients of the summation of the right-hand side as
        
Equation (
38) can be written as
        
        which has the same form as Equation (
14). Then, applying the LIT, it follows that
        
Notice that 
 corresponds to Equation (
27) evaluated at 
. Therefore, the closer the initial approximation 
 is to the exact solution, the smaller 
 becomes.
The value of 
 is calculated with Equation (
42). From here, the value of 
u can be calculated by substituting 
 into Equation (
35), with 
 provided by Equation (
29). The MPP is finally calculated by evaluating Equation (
26) with the obtained value of 
u to estimate 
, which is then used in Equation (
19) to calculate 
.
  4.3. Statistical Data of  and a Parameters
To illustrate the applicability of the approximation provided by Equations (
29) and (
35), it is important to know the ranges for the values of 
a and 
 for different types of PV technologies and atmospheric conditions. From the 
 data published in [
26], PV metrics (
, 
,…) were calculated using the the analytical method described in [
24,
25]. This method classifies a module according to the series/parallel ratio (SPR) metric, provided by
        
If SPR 
, then only 
 is considered; if SPR 
, then only 
 is taken into account. The obtained values were used to evaluate Equations (
24)–(
26).
It was found that 40,891 experimental measurements resulted in SPR 
. These were used to calculate the 
a and 
 values. 
Table 1 shows a statistical summary of 
, where it can be observed that Equation (
32) is valid for four of the five studied modules. In the case of CIGS technology, Equation (
32) is not fulfilled in only five of the 8331 measurements. Analyzing the case where 
 obtains its minimum value, it is found that 
 and 
; therefore 
, indicating that 
, which is physically impossible. However, with the use of Equation (
35), it is found that 
; using Equation (
35) we then have 
 and the value provided by the numerical solution of Equation (
27) is 
, with an Absolute Percentage Error of 1.41%, showing that the present methodology performs adequately even in the limiting cases. Furthermore, it is found that 173,822 of the measurements have SPR < 1, emphasizing the importance of finding an approximation for the special case where the SDM model considers only 
.
  5. Computation of the MPP Assuming Only Shunt Resistance
In the case where only parallel resistance is considered, the general form of the diode equation in Equation (
1) reduces to
      
The electrical power is then provided by
      
      and its derivative with respect to the voltage by
      
At the MPP, it follows that 
, which yields
      
The solution for the ideal case (
) of Equation (
47) is provided by [
18]
      
The method presented in 
Section 3 can be used to find a solution to Equation (
47). Because 
 takes large values for conventional modules, it follows that 
. Note that Equation (
47) follows the general form of Equation (
8) with 
 and 
. The root of 
 is 
 provided by Equation (
48). Following perturbation theory, Equation (
47) has a solution of the following form:
      with 
. Replacing Equation (
49) in Equation (
47) yields
      
      where 
. Expanding the exponential function via Taylor series expansion for 
 near zero results in
      
	  The summation can be separated as
      
      and extracting the first term of the first summation and multiplying the factor 
 in the second provides
      
	  Through an index shift in the second summation and using the factorial property 
, Equation (
53) becomes
      
      where
      
	  Grouping the summations and adding the term 
 with the Kronecker’s delta function results in
      
	  Now, defining
      
	  Equation (
56) is represented as follows:
	  Applying the LIT, it can be seen that 
 follows
      
	  Finally, 
 is computed by substituting Equation (
59) in Equation (
49). The latter expression is then used in Equation (
44) to calculate 
.
Perturbation theory states that in order for Equation (
59) to converge, it must be the case that
      
	  Substituting Equation (
55) in Equation (
60) and splitting the absolute value yields
      
      which with some algebraic manipulations can be rewritten as
      
	  For the ideal case (
), 
 can be calculated as follows:
	  Substituting Equation (
63) in Equation (
62),
      
	  Because 
 is strictly positive, only the left-hand side of Equation (
64) is considered, resulting in
      
	  This results in a minimum for the value that 
 can take, ensuring the convergence of Equation (
58).
  6. Validation
To validate the performance of the model derived in Equations (
26) and (
49), 
 data from six different photovoltaic technologies were utilized. These data were obtained from the National Renewable Energy Laboratory (NREL) real-time photovoltaic solar resource testing database [
33]. A list of the equipment utilized for collecting the 
 data is provided in [
26], with properties of these experimental measurements such as accuracy, range, and detailed uncertainty calculations provided in [
34]. 
Table 2 summarizes the PV metrics and the simplified SDM parameters for the six studied PV technologies. The characteristic parameters were calculated using the explicit solutions presented in [
24,
25]. 
Figure 1 shows the IV curve and MPP for each module and analytical method. 
Figure 2 displays the base-10 logarithm of the relative error (in %) between the experimental measurements and the simplified SDM model of the current with respect to the normalized voltage. It can be observed that the error is small around the extremes of the curve (
 and 
) and in the MPP. This is because the methodology seeks to match the experimental curve IV with the theoretical curve at these points. This is sufficient for the methodology presented in this work, which seeks to obtain the highest accuracy in the vicinity of the MPP. 
Table 3 shows the absolute percentage error (APE) between the calculated and the measured 
, 
. The APE is provided by
      
      where 
 represents the experimental measurements of the MPP and 
X represents calculation of the MPP for each technology using the presented methodology. In addition, three well-established methods from the literature are used to make comparisons, labeled “Batzelis” for the method presented in [
35], “Wang” for [
20], and “Tirado” for [
21]. For the numerical solutions, these are obtained for the implicit Equations (
27) and (
47) using Matlab’s built-in 
fzero solver with Equations (
35) and (
49) as the respective initial values. According to the methodology used to calculate the SDM parameters, the expressions presented in the 
Section 4 are use for the modules “xSi12922”, “CdTe75669”, and “HIT05662”, while the expressions presented in 
Section 5 are used for the other three modules.
Of the three methods used for comparison, the one presented in [
21] performs best in estimating the MPP of the xSi12922 and HIT05662 technologies, the method presented in [
20] performs best for the aSiMicro and CdTe modules, and the method presented in [
35] performs best for the CIGS and mSi0188 technologies. However, the smallest mean of APE for the six modules is achieved by the method from [
21], with 0.418% and 0.406% for 
 and 
, respectively, followed by [
35] with 0.501% and 0.491%. The method with the largest mean APE is [
20], with 1.011% for 
 and 1.096% for 
. The best performance is obtained by the numerical solution and the method proposed in this work, both with similar accuracy of 7.077 
% for 
 and 6.195 
% for 
, showing superior performance compared to the previously published methods. The reason for this is that the previous methods depend on the values of both resistors (series and shunt); thus, if one is neglected, the resulting expression is strongly affected and becomes significantly inaccurate.
Figure 3 and 
Figure 4 display the curves of 
 and 
 with respect to 
 and 
 (with the scale axis in base-10 logarithm) for the aSiMicro03036 and HIT05662 technologies, respectively. Here, the first five terms of Equations (
59) and (
42) are compared to the numerical approximation using Equations (
47) and (
27). The MPP value of the module is marked with a dot, while the limits for 
 (from Equation (
65)) and 
 (from Equation (
33)) are indicated with a vertical dashed line. In 
Figure 3, it can be observed that there is a good fit between the analytical and numerical approximation for values of 
, and 
 tends to the ideal case as 
 continues to increase. On the other hand, the series diverges for values 
; however, the range covered by 
 is sufficient to satisfy practical cases. From 
Figure 4, it can be seen that the values calculated with the new analytical model are in good agreement with the numerical reference model for 
. For 
, the value of 
 calculated with Eqution (
42) appears to decrease, while 
 increases with increasing 
, showing a clear divergence of the power series.
 Figure 5 and 
Figure 6 compare the APE for the numerical and the analytical solutions as a function of 
 and 
 for the aSiMicro03036 and HIT05662 technologies and for different numbers of terms in the power-series of Equations (
59) and (
42). In 
Figure 6, it can be observed that the APE increases as 
 decreases; taking one term of Equation (
42), the approximation yields an APE of 25.98% for 
 and 28.51% for 
 at 
. Increasing 
 up to the modulus value 
 provides an APE of 1.51 
% for both 
 and 
, while in the limiting case 
 the APE is equal to 1.36 
%. The APE decreases significantly when increasing the number of terms; estimating the performance for 
 , an 
 of 0.719% is calculated by taking five terms, significantly improving the accuracy in this extreme case. 
Figure 5 shows that the APE increases as 
 increases; this is because the approximation provided by Equation (
42) performs better as 
 decreases. It is also observed that in the vicinity of 
, the APE decreases rapidly as 
 decreases, from an 
% for one term down to 
% using five terms. For the case where 
 , the APE ranges from 1.4148 
% for one term to 3.9139 
% for five terms, showing significantly improved accuracy of the approximation. Thus, if computational resources are limited, as is the case with real-time MPP estimation using low-cost hardware, it is possible to take the first terms of the series. If requirements are less stringent, it is possible to take as many terms as the level of accuracy requires.
 A limitation of the methodology presented here is that it depends on the existence of a small parameter in the equations, introduced in the formulations presented in this work as 
 (provided by (
39)) and 
 (provided by (
55)). Furthermore, the convergence of the power series depends strongly on how small these parameters are. However, using a large amount of data, we found that the values of these parameters fell within the established limits.