Abstract

This study proposes a memetic approach for optimally determining the parameter values of single-diode-equivalent solar cell model. The memetic algorithm, which combines metaheuristic and gradient-based techniques, has the merit of good performance in both global and local searches. First, 10 single algorithms were considered including genetic algorithm, simulated annealing, particle swarm optimization, harmony search, differential evolution, cuckoo search, least squares method, and pattern search; then their final solutions were used as initial vectors for generalized reduced gradient technique. From this memetic approach, we could further improve the accuracy of the estimated solar cell parameters when compared with single algorithm approaches.

1. Introduction

Determining the parameter values of photovoltaic (PV) cell models is very important when designing solar cells and estimating their performance. The key parameters that represent the behavior of solar cells include generated photocurrent, saturation current, series resistance, shunt resistance, and ideality factor [1]. Estimating these parameters accurately is essential for precise modeling and accurate performance evaluation of solar cells.

Several models have been proposed to describe the behavior of solar cells using current-voltage () relationship [24]. The curve of a solar cell has nonlinear characteristics determined by the solar cell parameters. These models generally consist of analytical equations based on a physical description that formulate PV-generated current with the technical characteristics and the environmental variables including the operating voltage, the ambient temperature, and the irradiance [5]. Among numerous modeling approaches, the single-diode model (SDM) is the most widely utilized solar cell model in the literature. A general SDM includes five parameters: photocurrent, saturation current, diode ideality constant, series resistance, and shunt resistance.

So far various computational intelligence methods, such as genetic algorithm, particle swarm optimization, simulated annealing, and harmony search, have been proposed for optimal estimation of solar cell parameters. Many studies have aimed to overcome the shortcomings of the conventional deterministic algorithms and to investigate the efficiency and applicability of the algorithms. Hybrid methods combining two or more metaheuristic algorithms also have been applied to explore the capability of stochastic artificial intelligence algorithms in estimating solar cell parameters. These algorithms could find relevant parameter values by minimizing the root mean square error (RMSE) as the objective function in the optimization process.

Up to now, metaheuristic algorithms have shown a higher level of applicability in estimating solar cell parameters with fine performance. Nonetheless, we also presume that a memetic approach, which combines the well-developed evolutionary frameworks with gradient-based local search algorithm, can provide an opportunity for better solutions. Through this memetic combination, it can be seen that the accuracy represented by RMSE can be further improved because metaheuristic algorithm can be reinforced by calculus-based method in terms of local search performance and calculus-based method can be reinforced by metaheuristic algorithm in terms of global search performance.

This paper is organized as follows. Optimization formulation of the problem to determine the solar cell parameters is described in Section 2. In Section 3, a memetic implementation, which integrates gradient-based local search into the evolutionary frameworks for better determining the parameters, is described. Then, simulation results of the proposed approach are provided in Section 4, followed by conclusions in Section 5.

2. Optimization Formulation of Photovoltaic Model

Solar cells are made of various semiconductor materials. The working mechanism of solar cells is essentially based on the PV effect, which is the generation of a potential difference at the P-N junction in regard to visible or other radiations. When a solar cell is exposed to light source, the semiconductor materials capture photons, and then charged carriers are generated. Potential difference and current in the external circuit guide to the separation of carriers in the internal electric field created by the junction and collection at the electrodes. The photogenerated charge carriers can be accordingly captured in the form of an electric current, that is, . Eliminating this effect, a solar cell behaves like a traditional diode that does not rely on any light parameters. The Shockley diode equation is utilized to represent the current flowing through the diode () [5] as follows:where denotes diode saturation current (normal diode current), denotes electrical potential difference between both ends of the diode, denotes ideality factor, and denotes thermal voltage. Here, the thermal voltage can be represented as follows:where denotes Boltzmann constant (1.380650 × 10−23 J/K), denotes ambient temperature (306 K in this study), and denotes electron charge (1.602176 × 10−19 C).

SDM, which can be visually described in Figure 1, follows the superposition principle [68]. Thus, the terminal current is equal to subtracting the currents diverting through the diode and resistance as follows:where denotes shunt current, denotes operating voltage, denotes series resistance, and denotes shunt resistance.

Figure 1 can be transformed into an optimization problem with respect to RMSE once measured data of relationship is given, as follows:This optimization problem has five decision variables of cell-generated photocurrent , diode saturation current , diode ideality factor , series resistance , and shunt resistance . The measured data is given in Table 1 [5] where the first column represents measured voltage data and the second column represents measured current data, which originally came from a commercial (RTC France) 57 mm diameter silicon solar cell performing at the standard irradiance level (1 sun (1000 W/m2) at 306°K) [9]. Also, the data is graphically shown in Figure 2.

3. Memetic Implementation

Memetic computing is a branch in computer science which considers complicate structures as the combination of heterogeneous operators, named memes, whose evolutionary interactions contribute to intelligent structures for problem solving [10, 11]. For recent decades, memetic algorithms have been widely applied in the large-scale complex optimization problems.

The problem of balance between global and local search, that is, balance between computational intelligence and gradient-based search algorithm, has been explored under a multiobjective optimization setting in [12, 13]. In [14], a memetic algorithm was presented to analyze the evolutionary artificial neural network for training of a medical application. For a large-scale combinatorial optimization problem, a parallel memetic algorithm with selective local search was proposed in [15]. In [1618], memetic algorithms were applied to solve scheduling and planning problems such as vehicle routing and path planning. A fast adaptive memetic algorithm for a design of controller of engineering drives was presented in [19], and a compact memetic differential algorithm has been developed for a robot control in [20]. In [21], a differential evolution-based hybrid algorithm was provided to solve the optimization problem in flow-dynamic design. In [22] a novel memetic algorithm scheme was proposed by combining metaheuristic algorithm and gradient-based technique to find better solutions for an economic load dispatch problem with valve-point loading.

In order to explore the opportunity of better solution in determining solar cell parameters using the memetic combination proposed in this study, various metaheuristic algorithms, such as genetic algorithm, simulated annealing, particle swarm optimization, harmony search, and cuckoo search, as well as mathematical approaches, such as least squares method and pattern search, have been performed, which have shown the good level of performances among all the existing relevant approaches in literature.

Once good parameter values for the PV cell model are obtained using the above-mentioned various algorithms, the values can be further polished using gradient-based techniques. In this study, we adopted generalized reduced gradient (GRG) method as the gradient-based local search technique.

The GRG algorithm was first developed by Abadie and Carpentier [23] as an extension of the reduced gradient method to solve a general constrained nonlinear programming problem, which can be stated as follows [24]:where is a vector of variables, is the objective function, is the th equality constraint, and is the th inequality constraint (). is the whole search space and is the feasible search space. The and denote the lower and upper bounds of the variable , respectively. It is assumed that all problem functions , , and are twice continuously differentiable.

GRG transforms inequality constraints into equality constraints by introducing slack variables. Hence all the constraints are of equality form and can be represented as follows:where contains both original variables and slacks. Variables are divided into dependent variables and independent ones (or basic and nonbasic variables, resp.):The names of basic and nonbasic variables are from linear programming. Similarly, the gradient of the objective function, bounds, and the Jacobian matrix may be partitioned as follows:Let be an initial feasible solution, which satisfies equality constraints and bound constraints. Note that basic variables must be selected so that is nonsingular.

The reduced gradient vector is determined as follows:The search directions for the independent and the dependent variables are given byA line search is performed to find the step length as the solution to the following problem:The optimal solution to the problem gives the next solution:A more detailed description of the GRG method can be found in [25].

4. Computational Results

For this PV parameter optimization problem, various metaheuristic and mathematical algorithms have so far proposed their solutions, as summarized in Table 2. As seen in Table 2, the obtained solution vector of PV model parameters from simulated annealing (SA) [26] made RMSE of 0.02165, which is the worst one among various solution vectors if outlier from genetic algorithm 1 (GA1) is not considered; genetic algorithm 2 (GA2) [27] produced RMSE of 0.02158, which is slightly better than SA; pattern search (PS) [28] produced RMSE of 0.01741; nonlinear least squares 1 (NLS1) [9] produced RMSE of 0.00719; particle swarm optimization (PSO) [4] produced RMSE of 0.00715; least squares (LS) method [29] produced RMSE of 0.00477; nonlinear least squares 2 (NLS2) [1] produced RMSE of 0.00474; harmony search (HS) [30] produced RMSE of 0.00280; repaired adaptive differential evolution (RADE) [31] produced RMSE of 0.00278; and cuckoo search (CS) [5] produced RMSE of 0.00269 which is the best one among algorithms. Ye et al. [4] proposed GA1, but it does not appear to be good because its RMSE is huge (132,590). Although there are two nonlinear least squares (NLS1 and NLS2) and two genetic algorithms (GA1 and GA2), they are different in terms of algorithm structure and algorithm parameter values.

The search range of decision variable is , , , , and [30], and several metaheuristic algorithms such as HS, RADE, and CS provided a number of function evaluations (HS = 5,000; RADE = 10,000; and CS = 5,000) while PSO provided time taken (242 seconds) and SA and GA2 did not mention any.

Table 1 shows corresponding currents calculated by various algorithms, and Figure 3 shows the errors between calculated and measured currents from various algorithms. As observed in the figure, the magnitude of the errors abruptly increases after around 0.4 V. Presumably this is because representing rapid change is more difficult than representing monotonic change. The measured current abruptly drops after around 0.4 V as seen in Figure 2.

The above-enumerated algorithms found good PV parameter values with small RMSE. However, is it possible to further improve the solution quality? The memetic algorithm, which combines metaheuristic and gradient-based algorithms, may answer to this question because the memetic algorithm can complement the weakness of metaheuristic algorithm by using gradient-based algorithm. Thus, we can obtain even better solutions if we introduce gradient-based algorithm to the metaheuristic algorithm.

The gradient-based algorithm (GRG in this study) by itself cannot find good solution unless it starts with good and feasible initial vector. Otherwise, it will get stuck in a local optimum or will diverge instead of converging.

For this PV parameter optimization problem also, finding good solutions using gradient-based algorithm requires proper feasible initial vector, which is not very easy and tedious task. Thus, the result vectors from metaheuristic or other mathematical algorithms can be used as the proper initial vectors for the gradient-based algorithm.

The results from the memetic approach were tabulated in Table 3. As seen in the table, some initial vectors could be further improved while others could not because of getting stuck in local optimal (LO). SA + GRG could improve RMSE from 0.02165 to 0.00209; GA2 + GRG could improve RMSE from 0.02158 to 0.00432; PS + GRG could improve RMSE from 0.01741 to 0.00261; however, NLS1 + GRG, PSO + GRG, LS + GRG, NLS2 + GRG, HS + GRG, RADE + GRG, and CS + GRG could not improve RMSE any further because they already reached local optima where there is no room to escape using the local search technique. Here, the computation time of GRG part is less than one second, so it does not become a burden.

Figure 4 shows the errors between calculated and measured currents from various memetic approaches. As observed in the figure, the magnitude of the errors is less than single algorithm approach. While CS found the best RMSE of 0.00269 in single algorithm approach, PS + GRG could find the better RMSE of 0.00261, and SA + GRG could find even better RMSE of 0.00209.

While the above approach used the constant ambient temperature (306°K or 32.85°C), the sensitivity of the ambient temperature was also tested under various operation (weather) conditions between −5°C and 40°C. SA + GRG produced the computation results as shown in Table 4. As seen in the table, and are fluctuating, is increasing, is decreasing, and is almost constant.

5. Conclusions

In this study, a memetic approach has proposed for optimally determining the parameter values of single-diode-equivalent solar cell model. The memetic approach considered various metaheuristic and mathematical algorithms and combined them with GRG technique. The results validated the performance of the memetic approach, which further improved the quality of solutions originally obtained by various algorithms.

The proposed memetic approach in this work can be also further applied to more complicated and realistic PV models with various module types [32] in the future. And theoretically the balance between global search and local search can be a good future research topic because too much exploited solutions do not appear to be good initial vectors for local search algorithms. In addition, parameter-setting-free technique [33, 34] can be also incorporated in metaheuristic approach in order to eliminate tedious algorithm parameter setting task.

Nomenclature

:Observed terminal current
:Diode current
:Cell-generated photocurrent
:Diode saturation current
:Shunt current
:Boltzmann constant (1.380650 × 10−23 J/K)
:Diode ideality factor
:Electron charge (1.602176 × 10−19 C)
:Series resistance
:Shunt resistance
:Ambient temperature (306 K in this study)
:Observed operation voltage
:Electrical potential difference between both ends of the diode
:Thermal voltage.

Conflict of Interests

The authors declare that there is no conflict of interests regarding the publication of this paper.

Acknowledgment

This research was supported by the Gachon University research fund of 2015 (GCU-2015-0030).