Hybrid Power Forecasting Model for Photovoltaic Plants Based on Neural Network with Air Quality Index

High concentration of greenhouse gases in the atmosphere has increased dependency on photovoltaic (PV) power, but its random nature poses a challenge for system operators to precisely predict and forecast PV power. The conventional forecasting methods were accurate for clean weather. But when the PV plants worked under heavy haze, the radiation is negatively impacted and thus reducing PV power; therefore, to deal with haze weather, Air Quality Index (AQI) is introduced as a parameter to predict PV power. AQI, which is an indication of how polluted the air is, has been known to have a strong correlation with power generated by the PV panels. In this paper, a hybrid method based on the model of conventional back propagation (BP) neural network for clear weather and BP AQI model for haze weather is used to forecast PV power with conventional parameters like temperature, wind speed, humidity, solar radiation, and an extra parameter of AQI as input. The results show that the proposed method has less error under haze condition as compared to conventional model of neural network.


Introduction
The solar energy is known as an ideal source of renewable energy power generation.Photovoltaic (PV) power generation is the main application pattern of solar energy, but the output of photovoltaic power station has high unpredictability, variation, and intermittent nature [1,2].Forecasting and energy scheduling are significant to ensure bulk power system reliability and dependable operations.PV forecasts can be integrated into daily demand schedules and used for real-time energy trading.PV power forecasting depends on solar radiation and other factors like humidity, wind speed, and temperature.Since, solar radiation at one location on the earth's surface indicates periodicity and nonstationary characteristic due to the effect of the earth's rotation and revolution.Output power data of photovoltaic power station indicates periodicity in one day.In other words, output power presents the growing trend before the noon, and presents the falling trend after the noon.If effective procedure is not adopted to reduce nonstationary characteristic of PV output power, conventional power forecast technique will not guarantee precision of forecasting results and algorithm convergence [3].
Several techniques, such as satellite cloud [4], numerical weather predictions (NWP) [5], have been adopted in PV output forecasting.The errors of short-term (one day, or 2 days) PV power output forecasting are in the range of 10 to 30%.But in the morning, foggy or under rainy weather, the forecasting accuracy is lower and sometimes the relative mean square error (RMSE) can be more than 40%.Data mining method deals with a lot of data, and if there is an error in predicting weather, the algorithm will not provide good results [6,7].Grey-Markov forecast model has good prediction, but it has inherent defect of not dealing with random and nonlinear data [8,9].Support vector machine (SVM) algorithm which is used for classification was applied also to predict solar power during four weather states which are classified as rainy, cloudy, sunny, and foggy days; the results were good only for the four states and could not deal with the other states of weather [10].
Another well-known method for PV forecasting is the artificial neural network (ANN) method [11].The field of    3 International Journal of Photoenergy than the threshold value, then conventional BP neural network with no AQI is proposed.The output of PV power is not only effected by radiation, wind, temperature, and humidity but also to some extent on Air Quality Index which has not been taken as meteorological parameter to forecast PV power in urban areas.
This paper explains nonlinear features of the output power of photovoltaic power stations by studying the output characteristics of photovoltaic power stations with temperature, humidity, wind speed, AQI, and solar radiation.This paper adopts historical data to train BP feed-forward neural network and combines theoretical weather prediction information to forecast the output power of photovoltaic power station.The results show that the photovoltaic power prediction method based on the calculation of average AQI for 24 hours and BP network has good forecasting precision.

Effect of Haze and Other Factors on PV Power
2.1.Effect of Meteorological Parameters on PV Power.The output of photovoltaic power station is not just directly affected by solar radiation but other meteorological parameters (such as temperature, humidity, wind direction, wind speed, AQI, and cloud) will also lead to variations of photovoltaic power.It is known from Figure 1 that output power curve is affected by earth rotation with a period of 24 hours; the output is 0 at night and rises in the afternoon and then declines.Affected by meteorological factors, output power of photovoltaic power station shows different features every day.However, it is known from Figure 1 that since the output of photovoltaic power station is directly affected by solar radiation received by the ground and meanwhile air temperature, humidity, AQI, and other meteorological parameters impose indirect effect on the output of photovoltaic module; the output of the photovoltaic power station has random variations and intermittency.

Effect of Haze on Output of PV Plant.
To study the effect of haze on PV power, AQI is introduced."AQI" may be defined as a single number for reporting the air quality with respect to its effects on the human health.In most elaborate form, it combines many pollutant concentrations in some mathematical expression to arrive at a single number for air quality.Particulate concentrations of Beijing city have reached to high level due to rapid urbanization and neighboring coal-based factories in Hebei province [15].Therefore, the level of AQI of Beijing sometime reaches to 500 (which indicates hazardous situation).Sunlight is reflected back by these pollution particles, and hence attenuation of radiation occurs when AQI is high.This paper explains the effect of AQI on PV power and the forecasting precision of PV power by combining meteorological parameters using an artificial neural network.
This paper introduces correlation coefficient to discuss the correlation among photovoltaic power, meteorological where correlation coefficient r > 0 shows that the two parameters have correlation and both parameters are directly proportional to each other, where r < 0 means that the two parameters are inversely related.Where r tends to be 1, the two have a close relationship; r = 0 means that the two are not related to each other.One year data of PV power and other meteorological parameters has been analyzed to obtain the relationship between PV power and meteorological parameters under different AQI levels by using Pearson correlation coefficient as shown in Table 1.Pearson coefficient is widely used to find a linear connection between the two parameters.Pearson coefficient of AQI and PV power has a minus value as shown in Table 1 which means a larger AQI value will produce less PV power.

BP Network
3.1.Fundamentals of BP Network.Learning algorithm which is frequently used is called back propagation (BP).A BP network learns from the data and target data, which means that we have to provide two types of data that comprise of some input examples and the known precise output for each example [16].The kind of behavior which we expect from the network is totally dependent on these input-output combinations, and the network is allowed to adapt by BP algorithm.The BP learning procedure is performed in iterations and produces the output on the current state of weights.The output of the network is calculated, compared with the known output of the training set, and error signal (mean squared error) is computed.The error signal is passed backwards to the network to bring some changes in the weights of each layer.The weight changes are computed to reduce the error, and the procedure is repeated for each set of inputoutput and then back to the first input-output set.The cycle is repeated to reduce the error below or equal to some threshold value.When the error reaches to threshold value, we say that the network has learned "well enough." The back propagation learning algorithm can be divided into two phases: propagation and weight update.Propagation stage involves forward propagation of a training set and backward propagation of error to output layer and hidden layer.Weight update stage comprises to update weights in the negative gradient direction.A training set x 1 , t 1 , …, x n , t n consisting of n-ordered pairs, pattern x i from the training set is presented to BP network; it creates an output y i different from the target t i .The network makes y i and t i identical for i = 1, …, p, by using a learning algorithm.More precisely, we want to minimize the error function of the network, defined as The weights in the network are the only factors that can be changed to make the quadratic error E as small as possible.
Because E is computed by the long network through composition of the node functions, it is a continuous and differentiable function of the weights w 1 , w 2 , …, w l in the network.We can thus lessen E by using an iterative process of gradient descent, for which we need to calculate the gradient Weights are updated with a learning rate (which is a proportionality factor that defines the step size of each iteration) that is introduced.With the introduction of this factor, the entire learning problem now depends on calculating the gradient of the network function with respect to its weights.The change in weight Δw i , which is added to the old weight, is equal to the product of the learning rate "α" and the gradient, multiplied by −1.
The gradient can adjust the network weights iteratively.By updating the weights in this manner, a point of minimum of the error function is reached, where ∇E = 0 Input of each layer is multiplied by a different weight value.The weighted inputs are summed and broadcasted to all neurons in the next layer to solve a problem as shown in Figure 2.

Hybrid Forecasting Method.
The BP network algorithm is divided into two steps.First is to train BP network with training input data of wind speed, humidity, temperature, and PV power and AQI (for haze weather) or no AQI (for clear weather) data to train the network as shown in Figure 3, and then the network is used to predict PV power for four-day test data ahead as shown in Figure 4. Normalization of each input (A) is given by ( 5) with B max and B min {1, −1}.

Simulation Results
Simulations are carried out by Matlab to implement forecasting process of BP network.4.1.Haze Weather or High AQI Tests.When the average AQI for one day is above 150, the proposed model predicts the PV power more accurately than the conventional model.The errors calculated in predicting PV power with the AQI model are minimum.In this case, the BP AQI model has less errors as compared to the conventional BP model.Therefore, for haze weather, the BP AQI model is proposed.The performance of predicting PV power is significantly improved by the proposed model.The output of both models is shown as follows in Figure 5. Calculated errors are given at Table 2 and Figure 6.

Clear Weather Tests.
During clear weather, when the average AQI is below 150, the outputs of both AQI model and conventional BP model are compared, which show that the conventional BP model has less errors as compared to the BP AQI model.Therefore, for clear weather or low AQI, the conventional BP model is proposed to predict the PV power.The results are shown in Figure 7, and calculated errors are given at Table 3 and Figure 8.

Discussion
From the results of Figures 5 and 7, it is evident that the proposed hybrid model can perform well especially in haze weather, while other forecasting models have less precision during haze weather.The threshold value of AQI in this paper is 150, from which above BP with AQI and below conventional BP model are used, respectively.From Tables 2  and 3, it is evident that for clear weather, the conventional BP model has less errors while for haze weather or high AQI value, BP with AQI model has less errors.The hybrid model is tested on haze weather and clear weather conditions.Results of Tables 2 and 3 verify the precision of the proposed model.The errors calculated in Table 2 for four days ahead show that the accuracy is high during haze weather, and the proposed model is appropriate for weather of Beijing where haze factor is considerable.Output of PV power is negatively impacted by AQI which has never been considered as a meteorological parameter in the previous models of forecasting of PV power.

Conclusions
In this paper, four days ahead PV power is predicted with well-trained hybrid model with the introduction of additional meteorological factor AQI.The model is trained with the average AQI values ranging from 0 to 400, one month data of PV power and meteorological parameters.After training, four days ahead data is then normalized and fed to the trained network to predict PV power.For the average AQI value of 150 or below the conventional BP neural network and for AQI value above 150, BP with AQI model is used to predict PV power, thus, enhancing the precision and accuracy even during haze weather and clear weather, which proves precision and practicability of this approach.Errors are calculated by MAE and RMSE to verify the forecasting errors of the proposed method.Precision of this model can offer reference basis for forecasting PV power grid generation plan.

Figure 1 :
Figure 1: PV power and other meteorological parameters during haze weather.

Figure 3 :
Figure 3: Training network with historic input data.

Figure 4 :Figure 5 :
Figure 4: Prediction of PV power by trained network.

Table 1 :
Pearson correlation between PV power and meteorological parameters under different AQI level.
kj Figure 2: Structure of BP network.

Table 2 :
Errors in KW during haze weather.
The data are from photovoltaic Power Station of the State Key Laboratory of Electrical Power System with Renewable Energy Sources in North China Electric Power University (NCEPU) in Changping District, Beijing, with installed capacity of 3 KW and sampling interval of 15 minutes.For example, verification four days ahead of PV power is predicted with well-trained network.Weather is classified in two categories: the first one in which AQI is high or there is haze, and the second one is when AQI is normal or the haze factor is less.Mi is real power at i time, P Pi is predicted power at i time, and n is the number of samples which are taken at 15 min interval; for one day, n is 96.

7
International Journal of Photoenergy Weather is classified in two categories on average AQI value.Average AQI value above 150 is called haze weather and below 150 is clear weather.In this paper, hybrid model (conventional + AQI model) is tested on clear and haze weather conditions.The proposed model is trained with AQI and without AQI.If the average AQI of the data for future prediction is more than 150 then the BP AQI model is triggered and if the AQI value for future data is less than 150 then the conventional BP model is used.