Abstract

The output stability of the photovoltaic (PV) system is directly affected by temperature change of PV panels. In this paper, a novel temperature prediction method of PV panels with support vector machine (SVM) is proposed, which can solve the temperature prediction problem in a complex environment. In order to optimize parameters of SVM, a Pigeon-Inspired Optimization (PIO) method is given. Meanwhile, the delay factor (DF) is added to improve the PIO algorithm for avoiding the problem of local optimum. Moreover, a multisensor monitoring system of PV is established, and the collected data of temperature are used to train and verify the accuracy of the model. Finally, the proposed method is evaluated using synthetic and actual data sets. Simulation results show that the DFPIO-SVM can obtain better predictive performance.

1. Introduction

Due to the shortage of energy, emission of pollution, and increasing demand, people have to seek new energy to replace traditional fossil energy. Solar energy has been attracting more and more attention because it has the advantages of being green, clean, renewable, and so on. However, in natural conditions, the power generation performance of PV panels is affected by various factors, especially, the temperature change of PV panels [1, 2]. As one of the most relevant factors, the temperature of PV panels has attracted wide attention in recent years [3, 4]. When the temperature of PV panels rises by C, the efficiency of power generation decreases by about 0.22% [5]. Therefore, during the operation and maintenance of PV power stations, how to accurately predict the temperature of PV panels becomes an interesting problem.

The temperature of PV panels is often affected by natural factors such as irradiation, ambient temperature, wind speed, and dust [6, 7]. With the increase of radiation intensity and ambient temperature, the temperature of PV panels will increase accordingly. For every C increase of the ambient temperature, the temperature of PV panels will increase by 0.C [8, 9]. Due to the influence of wind, the temperature of PV panels will decrease faster. For every 1 m/s increase of wind speed, the temperature of PV panels will decrease by 0.C [10]. In order to better understand the temperature change rule of PV panels, many effective prediction models have been proposed by researchers. Almaktar et al. [11] proposed a novel temperature prediction model of PV panels based on the collected data in a tropical climate, which has better results. Barykina and Hammer [12] proposed a Faiman temperature model of PV panels, which evaluated four different panels in outdoor conditions with different climates. Muzathik [13] proposed a simple temperature prediction model of PV panels based on the environmental variables. Ceylan et al. [14] established a temperature prediction model of PV panels based on the backpropagation (BP) neural network by using different ambient temperature and radiation intensity data. However, these methods need to consider as many factors as possible, but the complex field environment makes it difficult to accurately measure some parameters, so a good prediction effect cannot be obtained.

With the development of artificial intelligence technology, a lot of machine learning algorithms, Long Short-Term Memory (LSTM) [1517], BP [18, 19], SVM [20, 21], Radial Basis Function Neural Network (RBFNN) [2224], Echo State Network (ESN) [2527], and Deep Belief Network (DBN) [28], have been widely used in time series prediction. SVM is used to solve regression problems due to its advantages of no large amount of sample data and fast training speed. Selakov et al. [29] proposed a novel hybrid model based on PSO-SVM, which is applied to short-term electrical load prediction. Zhang et al. [30] proposed a load prediction method based on SVM with dragonfly algorithm (DA) in microgrid. For the unpredictability and periodicity of power load, Ma et al. [31] investigated a prediction model based on SVM with a modified firefly algorithm (MFA). Lu [32] proposed surface roughness prediction methods based on SVM with the artificial bee colony (ABC) optimization algorithm in the manufacturing process.

Since the selection of key parameters of SVM has a great influence on the accuracy of the network model, some swarm intelligence optimization algorithms, including ABC [33, 34], PSO [29, 35, 36], Artificial Fish Swarms Algorithm (SFSA) [37], and Differential Evolution (DE) [38, 39], are applied to optimize these parameters by many researchers. The basic idea of these algorithms is to simulate the behavior of biological groups in nature, in which its own scalability, robustness, and flexibility are relatively strong [40, 41]. In 2014, Duan and Qiao [42] proposed a new swarm intelligence optimization algorithm, namely, Pigeon-Inspired Optimization, inspired by pigeon homing behavior in nature. PIO has been widely used in UAV formation [43, 44], control parameter optimization [4547], image processing [48], and life science [49, 50], and it has achieved good results in experimental applications.

In this paper, a temperature prediction method of PV panels based on SVM with PIO is introduced. Firstly, on the basis of analysing the SVM principle, the PIO algorithm is adopted to optimize the SVM parameters, and the PV panels temperature prediction model is established. And then, according to the characteristics of particle velocity change before and after two times, DF is introduced into the PIO algorithm to improve the search accuracy. Finally, in order to verify the prediction performance of DFPIO-SVM, for the temperature data of PV panels from the distributed PV power station, the comparison results of different optimization methods are given.

The remainder of this paper is as follows: a multisensor information fusion (MSIF) monitoring system is introduced in Section 2. The principle of SVM and three comparison optimization methods are given in Section 3. The DFPIO-SVM prediction model is proposed in Section 4. The simulation example results are performed in Section 5.

2. MSIF Monitoring System

In this section, we will introduce a MSIF monitoring system of PV station, which can collect and record data of current, voltage, temperature of PV panels, and meteorological information.

2.1. The Structure of Monitoring System

The MSIF monitoring system consists of a field data acquisition system, a wireless data transmission system, and the software management system. In Figure 1, the data information from monitoring point A and point B is transmitted to monitoring point C and then to the monitoring center. Meanwhile, each monitoring point can also be used as a relay system. The transmission distance between points can be 5 km. The temperature of PV panels is transmitted to the monitoring center by the wireless system, which can provide accurate real-time information for the operating and maintenance personnel.

The field data acquisition system includes a meteorological monitoring system, temperature sensor, data transmitter, and other equipment. Solar irradiance, ambient temperature and humidity, wind speed, wind direction, and atmospheric pressure obtained from sensors are transmitted to a data monitoring host. The digital DS18B20 temperature sensor is used to measure the temperature of PV panels. By using the characteristics of a sensor single bus, complex signal transmission lines are avoided. When measuring the temperature of PV panels, it is necessary to make a measurement of different positions, and the average temperature is expressed aswhere denotes the average temperature and denotes the temperature of different positions.

2.2. The Data Source

The experimental site is a distributed PV power station in western Jilin, China. The area is located at N and E. The power station has an output of 12 MW. The annual sunshine duration is 1300 hours and the average annual power generation is 15.8 million KWh. The PV power station has 46,200 PV panels, which are oriented toward the south. The angle of inclination to the ground is , and the tilt angle of the fixed bracket is not adjustable. Two PV panels are installed side by side and the dimension is 1640 mm  990 mm  35 mm. The MSIF monitoring system at the experimental site is shown in Figure 2.

2.3. Recorded Temperature Data of PV Panels

The data in this paper were obtained through the MSIF monitoring system established in a PV power station. The monitoring system recorded the temperature, meteorological information, voltage, current, and other data of the PV panels every 15 minutes. The prediction model is trained and validated using 3000 data samples from January to June 2018 under different weather conditions.

The open-circuit voltage decreases PV panels with the increase of temperature, and the voltage temperature coefficient is . Similarly, the peak power decreases PV panels with the temperature increase, which directly affects the generation efficiency of PV systems. As shown in Figure 3, take the time series with an interval of 15 minutes and the rolling time sample data set is established. Through the observation of the curve, it can be concluded that the temperature change of PV panels is caused by a variety of factors and has the characteristics of being random and nonlinear.

3. Methodology

In this section, the principle of SVM will be given in subsection 3.1. Three optimization methods, PSO algorithm, DE algorithm, and PIO algorithm, will be briefly described in subsections 3.2, 3.3, and 3.4.

3.1. SVM Model

SVM is a data-based machine learning method, which adopts the principle of risk minimization. It has good generalization performance and has obvious advantages in solving small sample problems. In the process of establishing the SVM model, the training network is firstly trained with the training sample data, and then the network is used for later prediction. The training sample set , where . The function of SVM is described as follows:where denotes weight and denotes offset value. In order to find the optimal parameters and , the function is constructed:where parameter denotes penalty factor and denotes relaxation variables. Combined with the optimization principle, equation (3) is transformed as follows:where k(xi, xj) is the kernel function of SVM and are the Lagrange multiplier. The RBF kernel function is selected, and its expression is as follows:where is a parameter of the kernel function.

3.2. PSO Algorithm

PSO is a kind of evolutionary computation, which originated from the research on the hunting behavior of birds. It has been widely used in function optimization, neural network training, fuzzy system control, and other applications. The velocity and position of a particle are two important properties, which search for the optimal solution in search space. Firstly, all the particles in space are assigned initial random positions and initial random velocities. Secondly, the individual optimal solution for each particle is calculated. Then, the individual particle can share extreme value information with other particles in the particle swarm. Finally, the optimal solution is sought through the interaction and information transfer between particles.

3.3. DE Algorithm

DE is developed from the genetic algorithm (GA), an algorithm model that simulates biological evolution. Through the operation of the difference operator, the population is continuously evolved and iterated to save the individual with the highest adaptability, which is often used to find the optimal solution of nonlinear and nondifferentiable problems, and it has the characteristics of fast speed and good robustness. DE algorithm approaches to the global optimal solution through repeated iteration on the population, which mainly includes population initialization, mutation operation, crossover operation, and selection operation.

3.4. PIO Algorithm

PIO is a novel intelligence optimization algorithm for solving global optimization problems, and it is to simulate the homing behavior of pigeon by the Earth’s magnetic field and landmarks [42]. When pigeon is far away from its destination, it uses the Earth’s magnetic to identify the direction. When pigeon is close to its destination, it uses landmarks for navigation.

3.4.1. Map and Compass Operator

In the map and compass operator, the rules are defined with the position and the velocity of pigeon, and the positions and velocities in a D-dimension search space are updated in each iteration. The new position and velocity of pigeon at the iteration can be calculated as follows:where denotes map and compass factor, denotes a random number, and denotes the current global best position.

3.4.2. Landmark Operator

In landmark operator, is used to record the half number of pigeons in each generation, and is the center position of all pigeons in generation . If each pigeon can fly a direct distance to the destination, the position updating rule for pigeon iteration is described as follows:where denotes the quality of the pigeon individual. For the minimum optimization problems, . On the contrary, .

4. DFPIO-SVM

The SVM for regression accuracy depends on the parameters of penalty factor and kernel function . The selection of these two parameters is generally obtained through experience and tends to affect the effect of regression. In order to improve the regression accuracy of SVM, DFPIO will be used to optimize the selection of these parameters.

4.1. DFPIO

During the updating iteration of pigeon, the direction of movement of the pigeon is always to the optimal position. The velocity change of pigeon at time isWhen , it shows that the pigeon is in reverse motion at and moment, and the pigeon velocity is too large to pass the current optimal solution at moment. At this time, the flying velocity of pigeon should be reduced to make it close to the optimal solution. In order to improve the accuracy of the pigeon, we refer to the delay factor (DF) into the position update equation (8). So, the delay factor is given by

According to the changing characteristics of the velocity before and after the pigeon, DF can dynamically adjust the flying speed of the pigeon. Thus, the position update can be rewritten as follows:

4.2. DFPIO-SVM

DFPIO algorithm is used to optimize the penalty factor and kernel function of SVM. The parameters are treated as two particles, which constantly update their positions and velocities, and their fitness values are calculated by the objective function to achieve the global optimum.

An algorithmic implementation for the optimization process is provided in Algorithm 1.

Input: number of pigeons , number of iterations for optimization , the map and compass factor ;
Output: trained DFPIO-SVM;
(1)Step 1: initialize and pigeons positions at random ∈;
(2)Step 2: compute the fitness of each pigeon;
(3)Step 3: update velocity and position according to equations (7) and (15);
(4)Step 4: update position according to equation (11);
(5)Step 5: update and ;
(6)Step 6: obtain optimal .

5. Results

In this section, the Mackey–Glass chaotic time series and Nonlinear Autoregressive Moving-Average (NARMA) series are used to verify the performance of DFPIO-SVM. DFPIO-SVM is compared to original SVM [20], PSO [29], DE [38], PIO [42], and OPIO [48]. For these prediction methods, the training number of samples is 900, and the prediction number of samples is 100. The dimension of the input and output are 5 and 1, respectively. For optimization methods, the size of the swarm optimization algorithm is 30, particle vector dimension is 2, the map and compass factor is 0.3, and the number of iterations is 30.

5.1. The Mackey–Glass Chaotic Time Series

The Mackey–Glass is a typical chaotic system, which is selected to verify the prediction performance of DFPIO-SVM. It can be described bywhere is set as 17. The Runge–Kutta method is used to generate the Mackey–Glass time series and the initial condition . The mean squared errors (MSE) and root mean squared error (RMSE) are given to analyse the performance of prediction methods, which can be described bywhere denotes target data, denotes predicted data, and is the number of data samples.

The prediction accuracy of DFPIO-SVM and other methods in [20, 29, 38, 42, 48] are shown in Table 1, and it can be seen that the prediction accuracy of the DFPIO-SVM is better than that of those methods. The average prediction accuracies of DFPIO-SVM are increased by 84.08%.

For the Mackey–Glass chaotic time series, the prediction output values of five methods and the target values are shown in Figure 4. From this figure, we can see that the DFPIO-SVM fits the curve moderately well. Figure 5 shows the prediction error of three methods. The prediction error curves of the five methods fluctuate, but the curve of DFPIO-SVM is the lowest. The average prediction errors of SVM, PSO-SVM, and DFPIO-SVM are 0.03306, 0.01434, and 0.01373, respectively.

The trained SVM model is used to predict the Mackey–Glass chaotic time series. Comparing the fitness results of MSE shown in Figure 6, it can be seen that the DFPIO algorithm achieves the smallest MSE within 23rd iterations. PIO algorithm achieves the same MSE as DFPIO at the 15th iteration. In the iteration process, the fitness values of PSO are higher than PIO and DFPIO.

5.2. NARMA Series

At the same time, a NARMA model is given to verify the prediction performance of DFPIO-SVM, which can be described as follows:where and are output and input. The input is independent identically distributed random samples, and its value is in the range [0, 1]. The output is the value initialized in the range [−1, 1].

For the NARMA series, the prediction accuracies of the five methods are shown in Table 2. It is apparent from this table that DFPIO-SVM can be compared with other methods, having better prediction performance. The average prediction accuracy of DFPIO-SVM increased by 2.31%.

Figure 7 shows the target values and prediction output values of three methods, and the corresponding error curve is shown in Figure 8. The prediction results of three methods fluctuated greatly, and the prediction of peak value is not accurate. The overall trend of the DFPIO-SVM model is close to the actual prediction data, compared with the other two prediction methods, it has a better fitting degree with the actual data. The average prediction errors of DE-SVM, OPIO-SVM, and DFPIO-SVM are 0.01537, 0.01516, and 0.01466, respectively.

In Figure 9, we can see that the DFPIO algorithm achieves the smallest MSE within the 25th iterations. PIO algorithm achieves the same MSE as PSO at the 15th iteration. With the increase in iteration, it can be seen that the delay factor increases the global search capability of the PIO algorithm.

5.3. The Temperature of PV Panels

To further verify the prediction performance of DFPIO-SVM for the temperature of PV panels, the field temperature data collected in PV power station from Jilin are tested in this paper. The mean absolute percentage error (MAPE) and its expression are as follows:where denotes target data, denotes predicted data, and is the number of data samples.

As can be seen from Table 3, DFPIO-SVM achieved the smallest MAPE value. After executing the DFPIO algorithm, search and get the optimal SVM parameter , . It can be intuitively seen that the established prediction algorithm is more effective and less affected by sample data. The DFPIO-SVM algorithm can be used to find the optimal parameters of SVM more easily and efficiently, which improves the prediction accuracy of the model.

The best parameters of five optimization methods are brought into the SVM model for PV panels temperature prediction. The predicted results are shown in Figure 10, and the prediction relative error is shown in Figure 11. According to the running results of the program, the prediction results based on DFPIO-SVM are in better agreement with the target. The average percentage error of the test prediction is 0.2883%. The simulation results show that the DFPIO-SVM can achieve high accuracy in the temperature prediction of PV panels.

A temperature data set of PV panels is used for SVM training in Figure 12. The results show that DFPIO-SVM converges faster than other algorithms. DFPIO-SVM algorithm achieves the smallest MSE at the 14th iteration, and it can achieve the least iterations.

6. Conclusions

In this paper, a novel DFPIO algorithm is proposed, which is used to solve the problem of SVM parameters optimization. By referring the delay factor to the position updating equation, the convergence accuracy of the PIO algorithm is improved. Meanwhile, the predictive performance of the proposed algorithm is verified by the Mackey–Glass chaotic time series and NARMA series. In order to further analyse the application effect of the proposed model in the prediction temperature of PV panels, a MSIF monitoring system is established in a PV power station from Jilin. The temperature data of PV panels, from January to June 2018, are selected for the input of the prediction model. Comparing with other optimization methods, the effectiveness of the DFPIO algorithm is verified. These results show that the DFPIO-SVM model can be used to better predict the temperature of PV panels and have strong generalization ability.

Data Availability

The MATLAB data used to support the findings of this study are available from the corresponding author upon request.

Conflicts of Interest

The authors declare that there are no conflicts of interest regarding this paper.

Acknowledgments

This work was supported by the National Key R & D Program of China (Grant no. 2018YFB1500800), Science and Technology Development Program of Jilin Province (Grant no. 20190302079GX), and Science and Technology Innovation Development Program of Jilin City (Grant no. 201830819).