Optimal Extraction of Photovoltaic Model Parameters Using Gravitational Search Algorithm Approach ()
1. Introduction
World’s primary energy consumption is increasing by about 2.5% in every year. Though most of the energy demand is shared by conventional energy sources, the environmental impact on usage of these sources has been disintegrative with the issues such as pollution, global warming, and excessive greenhouse effect. To overcome the above mentioned effects, finding sustainable alternatives is becoming increasingly urgent. To meet considerable percentage of demand, renewable energy sources are installed to share 3.9% of global power generation. The rapid growth of renewable power generation continues and this opens a new era for solar power generation. Solar energy is obviously environmentally advantageous relative to any other energy source. The increase in demand for solar industry over the past several years has expanded the importance of PV system design and application for more reliable and efficient operation.
PV module represents the fundamental power conversion unit of a PV generator system. PV module is a series connection of PV cells where each cell exhibits non-linear characteristics. To use PV module in the simulation environment, it is necessary that the model should produce the PV cell non-linear characteristics. For efficient design of the PV array in simulation environment, it is essential to use the accurate magnitudes of the panel parameters. But, these parameters are usually unknown to the user and hence the parameters are needed to be extracted by a proper extraction method before designing the PV array. Nowadays, a single diode PV model with a photo current source I, a single diode D, a series resistance Rse and a shunt resistance Rsh is used as the equivalent circuit of a PV cell [1] [2] . Hence, the parameters needed to be extracted are photo current, diode ideality factor, series resistance and shunt resistance. For parameter extraction process, the values of PV array open circuit voltage Voc, short circuit current Isc, voltage at maximum power point Vmpp, current at maximum power point Impp, temperature coefficient of open circuit voltage Kv, temperature coefficient of short circuit current Ki and the maximum peak output power Pmp are necessary. Generally, all these values for a PV array are available in manufacturers’ data-sheet. Hence, most of the parameter extraction methods are based on manufacturers’ data-sheet. In single diode PV model, the unknown currents are obtained by nodal analysis. The other parameters Rse and Rsh are calculated from PV cell characteristics [3] . However, finding Rse and Rsh from characteristics curve may not be more accurate. In addition to that, the value of these resistances depends on solar irradiation and ambient temperature. To resolve these issues, optimization techniques are introduced to optimize accurately the value of photo-current, diode ideality factor, series resistance and shunt resistance.
Genetic algorithm based optimization of the circuit parameters is slow and takes larger computation time [4] - [8] . In Particle Swamping Optimization, to extract the optimal value for Rse and Rsh, a large number of iterations are to be evaluated, though the results are close to possible values [9] - [11] . Gravitational Search Algorithm (GSA) is a newly developed heuristic optimization method based on the law of gravity and mass interactions [12] . GSA has been confirmed to give higher performance in solving various nonlinear functions, compared with some well-known search methods. In [13] , GSA was introduced to apply in parameter identification of hydraulic turbine governing system. Subsequent to the development of GSA, researchers tried to implement this algorithm to different applications. In this study GSA is implemented to optimize single diode PV model parameters. This paper is organized as follows: Section 2 provides an introduction to GSA. Section 3 provides a brief review of GSA for PV model parameters extraction, and the proposed objective function. Section 3.2 describes the procedure of GSA to the PV parameters optimization problem in a detailed manner. The results obtained are elaborated in Section 4.
2. Gravitational Search (GS) Algorithm
Over the last two decades, many researches has to be done for various types of algorithms like Evolutionary Approach (EA), Differential Evolution (DE), Particle Swarm Optimization (PSO) and etc. [9] - [11] to solve the optimal parameter extraction of PV modules. Rashedi et al., proposed one of the newest heuristic algorithm which is successfully applied to various benchmark problems [12] . GSA proved that it gives better convergence than GA and PSO under various conditions. This algorithm is mainly based on the Newton’s law of gravity, “The gravitational force between two particles is directly proportional to the product of their masses and inversely proportional to the square of the distance between them”. This algorithm gives the better optimal results which are obtained by various applications in an effective manner [13] [14] . To find the optimal value of series and parallel resistances in photo voltaic array, this paper adapts the above mentioned heuristic algorithm.
In the proposed GS algorithm, agents are considered as objects and their performance is measured by their masses. All these objects attract each other by the gravitational force and this force causes a global movement of all objects towards each other with heavier masses. Hence, masses cooperate using a direct form of communication, through gravitational force. The heavy masses―which correspond to good solutions― move more slowly than lighter ones and this guarantees the exploitation step of the algorithm.
As per GS algorithm, each mass (agent) has four specifications:
1) Position;
2) Inertial mass;
3) Active gravitational mass and;
4) Passive gravitational mass.
The position of the mass corresponds to a solution of the problem and its gravitational and inertial masses are determined using a fitness function. In other words, each mass presents a solution and the algorithm is navigated by properly adjusting the gravitational and inertial masses. By lapse of time, we expect that the masses may be attracted by the heaviest mass. This mass will present an optimal solution in the search space.
3. GS Algorithm for PV Model Parameters Extraction
3.1. Modelling of PV Array
The building block of PV array is the Solar cell, which is basically a PN semiconductor junction that directly coverts light energy into electricity. PV cells are grouped in larger units called PV modules which are further interconnected in a parallel-series configuration to form PV arrays or PV generators. Figure 1 shows the equivalent circuit of a PV cell. To extract the PV array parameters like Ipv, a, Rse and Rsh a PV mathematical model is used according to the following set of equations [1] [2] .
The voltage-current characteristic equation of a solar cell is given as,
(1)
where, Ipv is a light-generated current or photocurrent, Io is the cell saturation of dark current, q (=1.6 × 10−19 C) is an electron charge, K (=1.38 × 10−23 J/K) is a Boltzmann’s constant, T is the cell’s working temperature, “a” is an ideal factor, Rsh is a shunt resistance and Rse is a series resistance of solar cell. The photo-current Ipv mainly depends on the solar insolation and cell’s working temperature and is given by,
(2)
where, ISC is the cell’s short-circuit current at 25˚C and 1 kW/m2, Ki is the cell’s short- circuit current temperature coefficient, Tn is the cell’s reference temperature and H is the solar insolation in kW/m2. The cell’s saturation current Io varies with the cell temperature is
(3)
where, VOC is the cell’s open circuit current at 25˚C and 1 kW/m2, KV is the cell’s open circuit voltage temperature coefficient, NS is the number of cells connected in series per string and Vt is the thermal voltage given by, Vt = KT/q. The terminal equation of PV array for the current is given as,
(4)
where, Ns is number cells in series and Np is the number cells in parallel.Hence the objective function using the Equations (1) to (4) is formulated as given below:
Figure 1. The equivalent circuit of a PV cell.
(5)
where
(6)
3.2. GSA Implementation for Optimal Design of PV Model
The detailed description of the algorithm to extract PV model parameters is presented below and the pictorial flowchart is shown in Figure 2.
3.2.1. Position
A set of values for the I-V characteristics serves as the input data for the GSA. The parameters that are extracted by optimization are Ipv, Rse, Rsh and a are evaluated as Xk in GSA.
Considering a system with N agents (masses), Position of the Kth agent is defined by,
(7)
where―Position of the Kth agent in dth dimension.
3.2.2. Fitness Evaluation
The fitness value of each agent is evaluated using Equation (6). The best and worst value of each generation with respect to time were calculated using,
(8)
(9)
3.2.3. Gravitational Constant
Gravitational constant (G) is initialized at the beginning and at the later stages and is calculated as a function of time (t) (to reduce the time control strategy).
(10)
3.2.4. Force
During a time “t”, the force between the agents “k” and “l” with respect to mass is given as,
(11)
where, (all the values are with respect to specific time “t”);
―Passive gravitational mass of agent k;
―Active gravitational mass of agent l;
―Small constant;
―Gravitational constant;
―Euclidian distance between two agents k and l. It is given by,
(12)
3.2.5. Total Force
The total force acting on a particle k at dth dimension is given by,
(13)
where,―Random number between the intervals [0-1].
is a function of time, with the initial value at the beginning and decreasing with time in such a way, at the beginning, all agents apply the force, and as time passes, is decreased linearly and at the end there will be just one agent applying force to the others. Therefore, Equation (11) could be written as,
(14)
where,―Set of first k agents with the best fitness value and biggest mass.
3.2.6. Gravitational and Inertial Mass
Gravitational and Inertial masses are calculated by using the following equations (assuming gravitational mass is equal to inertial mass),
(15)
(16)
(17)
where,―Fitness value of the agent at time t.
3.2.7. Acceleration
By the law of motion, the acceleration of the agent k in direction at time t is found out by using the following relation,
(18)
where,―Inertial mass of the agent i.
3.2.8. Updating of Velocity and Position
Velocity can be updated by summing the current velocity and its acceleration. Similarly, the position of particles can be updated by adding its previous position and its velocity.
(19)
(20)
where,―Random number between the intervals [0-1]. Random numbers are used to give a randomized characteristic to the search.
3.2.9. Convergence Criterion
To obtain the best solution for the global optima, this algorithm stops its searching for the best solution by maximum iterations given for the optimal PV design problem.
4. Results and Discussion
The PV modelling method accuracy is validated by measured parameters of selected PV modules. The experimental (I and V) data is extracted from the manufacturer’s datasheet [15] . Three PV modules (SM55, ST36 and ST40) of different technologies are utilized for verification; these include the mono-crystalline and thin-film types. The specifications of the modules are given in Table 1. For GSA method, the simulation is done
Table 1. Specifications for the three modules used in the experiments.
using MATLAB R2010b with Intel Core i3 CPU @ 2.53 GHz processor, 3 GB RAM under windows 7 environment. And the SM55, ST36 and ST40 PV modules are used for simulation study. The parameters settings in GSA are: Agents-100, Iterations-100 and Power of R-1. The results obtained using the proposed GSA method is compared with DE in a judicial way.
Fitness Value and Optimized Parameter Values by GSA
Simulation results are obtained by executing the proposed GSA method at 1000 W/m2 and 25˚C temperature for 25 times. The GSA method obtains the global optimal value of objective function as 5.847 × 10−12, 9.6421 × 10−12 and 5.1656 × 10−12 for SM55, ST36 and ST40 PV modules respectively. Also, for experimental validation, the data is significantly fewer compared to the DE and Rs-model [10] as shown in Table 2. Among the 25 runs, best values are taken as the model parameters. From these results, it is evident that GSA outperforms DE in optimizing the objective function, which shows the effectiveness of GSA method. GSA tends to find the global optimum faster than other algorithms and hence has a higher convergence rate [9] [10] . Even, GSA proves its fast computational ability by returning those results within 29 - 31 seconds. GSA could be the unique algorithm faster than all other optimization techniques in these kinds of applications [9] as shown in Table 3. The convergence performance of each module is shown in Figures 3(a)-(c) by selecting its best one out of 25 runs.
Figures 4(a)-(c) and Figures 5(a)-(c) show the I-V and P-V curves for SM55, ST36 and ST40 respectively, for different levels of irradiance and temperatures. It can be seen that the I-V and P-V curve obtained by proposed model strongly agrees to the experimental data for all types of modules. In particular, the proposed model is very accurate at all irradiance and temperature levels.
5. Conclusion
This paper presents a powerful GSA method for extracting solar cell parameters. Number of parameters extracted is limited to four i.e. Ipv, a, Rse, and Rsh. The GSA method has been successfully applied to the PV modules SM55, ST36 and ST40 under different temperatures and solar insolations. The results obtained using GSA are better when
(a)(b)(c)
Figure 3. (a) Convergence performances of the fitness function with GSA for PV module ST40; (b) Convergence performances of the fitness function with GSA for PV module ST36; (c) Convergence performances of the fitness function with GSA for PV module SM55.
Table 2. Comparison of computation time using various methods with proposed method GSA for one run.
Table 3. Results for extraction of parameter by GSA for various types of modules (best result for 100 runs).
compared to DE and Rs-model. Further, the computational time is comparatively low using the proposed method which allows the possibility of real time application of the algorithm towards various modules under different environmental conditions.