Photovoltaic Power Prediction Based on Scene Simulation Knowledge Mining and Adaptive Neural Network

Influenced by light, temperature, atmospheric pressure, and some other random factors, photovoltaic power has characteristics of volatility and intermittent. Accurately forecasting photovoltaic power can effectively improve security and stability of power grid system. The paper comprehensively analyzes influence of light intensity, day type, temperature, and season on photovoltaic power. According to the proposed scene simulation knowledge mining (SSKM) technique, the influencing factors are clustered and fused into prediction model. Combining adaptive algorithm with neural network, adaptive neural network prediction model is established. Actual numerical example verifies the effectiveness and applicability of the proposed photovoltaic power prediction model based on scene simulation knowledge mining and adaptive neural network.


Introduction
Facing the increasingly severe problem of tradition energy consumption and environment pollution, solar power is attracting more and more attention.With the development of grid-connected photovoltaic power (PV) generation, it has been regarded as a kind of effective way to make full use of solar energy, which is economic and environmental [1].Recently, the grid-connected photovoltaic power system has been widely used around the world.However, due to the variations of light intensity and temperature, solar power owns the characters of volatility and intermittece, which are not conducive to stable operation of power grid.Therefore, it is important to predict the output power with less forecast error, to reduce the influence of PV power on grid, and to improve security and stability of power system [2][3][4].
In the early period, trend extrapolation, regression analysis, time series [5], and so on are the main methods to power prediction.But these methods have been difficult to meet the requirements of modern industry.Recently, artificial intelligence method becomes hot spot.Many new techniques and methods such as fuzzy method, expert system, artificial neural network (ANN), wavelet analysis, and support vector machine (SVM), and so forth, have been developed quickly [6].Among them, it is recognized that ANN is a more effective way for short-term load forecasting [7] and has made many successful applications [8].Based on data of light intensity and temperatures, some researches [9] use ANN to forecast PV power.However, there is little research on the overall consideration about various factors.Besides light intensity and temperature, there are numerous factors to be considered, including angles of incidence, conversion efficiency, installation angles of PV array, atmospheric pressure, and some other random factors.This paper comprehensively considers various factors to forecast photovoltaic power.For amount factors, the above parameters would require lots of computational resources, and ANN might suffer from multiple local minima easily.What is more results lacking clarity need to be explained.Thus, this paper introduces a new concept: scene simulation knowledge mining (SSKM) aimed to analyze the influencing factors and simulate the output power of PV.
This paper is organized as follows.In Section 2, the influencing factors of PV and the relationship between factors and output power are analyzed.The SSKM is used to cluster all elements in Section 3, and an adaptive algorithm is put forward to establish an improved adaptive ANN model.To prove the accuracy and practicability of the method, some calculating examples are given in Section 4.

Factors Analysis
Many factors influence the generating capacity of PV grid system.Actually, because of various conditions, it could not be determined in advance one by one and is not necessary to be distinguished meticulously.Some influences can be combined into several correction groups, added with certain safety coefficient.
Influenced by many factors, change of PV generation capacity is a nonstationary random process with obvious cyclicity.An obvious feature for PV system is that the output time series is highly autocorrelated.Almost all PV grid inverters run with a relatively stable power conversion efficiency at maximum power point tracking (MPPT) model.Its output power is highly correlated.Although the efficiency of power conversion and photoelectric conversion changes over time, during system life cycle, the variation is relatively small, so much so that in short-term prediction can be considered as constant.
Therefore, the power conversion efficiency of inverter, photoelectric conversion efficiency of PV array, and area of the PV array can be ignored, since they are implicitly included in electricity data.Based on the above analysis, light intensity, day type, temperature, season, and the output data are the major factors taken into consideration in this paper.

Light Intensity.
A method of calculating output power per unit area can be found in [10].Consider where  donates photovoltaic power conversion efficiency; the area of photovoltaic power supply is ; light intensity is ; and the environment temperature is  0 .Figure 1 is the photovoltaic generation power and light intensity curve.We can see from Figure 1 that the variation regularity of power curve and light intensity curve is similar.The change trend of photovoltaic generation power can be mapped to the change of light intensity.Therefore, this paper takes light intensity as an input value of the forecasting model.2.2.Day Type.Generally, PV system mainly outputs power from 7:00 to 18:00.Figure 2 shows the power curves at a PV system in sunny, cloudy, and rainy days.It is easy to recognize that there are large differences among different day types.
For sunny day type, changes of electricity curves can broadly reflect the intensity of sun irradiation in a day.When the weather becomes rainy, solar irradiation intensity decreases obviously.If the input parameters ignore these changes of radiation intensity, the forecast will be inaccurate.So, some appropriate variables to reflect weather change correctly as well as corresponding variation of PV are needed.
With the development of weather forecast, the prediction model ought to take daily weather forecast information into consideration to deal with different day types.But, weather parameters are generally given by vague description, such as sunny, cloudy, rain, moderate rain, or heavy rain.So, plenty of statistical analyses on historical electricity have to be done to decide how to change vague and uncertain description of day types to accurate information, which is accepted by prediction model.Thus, In order to improve the prediction accuracy, PV data needs to be classified into three groups: sunny, cloudy, and rainy.

2.3.
Temperature.The changes of atmospheric temperature can influence photovoltaic power system to a certain degree.Though historic data of photovoltaic reflects similarity between power curve and day types, the changes of temperature can reflect tiny change of curve height in the same day.So, we should take atmospheric temperature as an input variable.
Figure 3 shows the relationship between average day PV power and temperature of a photovoltaic system, in which the day type is sunshine.From Figure 3, we can know that in the same day type, the higher the average temperature is, the larger the day output power is.

Season.
Season also plays an important role in photovoltaic output.The output of photovoltaic modules is changing with solar radiation intensity, and solar radiation intensity is different in diverse seasons.Besides, the photovoltaic system is installed in different locations where the climatic condition is variable, which make the effect degree of season on photovoltaic output the different.According to NASA, we can get atmosphere data of diverse districts.The data reflects that temperature and solar radiation intensity vary a lot in different months.Especially in summer, the numerical values of temperature and solar radiation are much higher than that in winter.So, we can infer that the output of photovoltaic system varies in variable seasons.
Based on the above analysis, we make statistics choosing electric production data from June to August of 2010 and from December 2010 to February 2011.We aggregate data of two to three months and make comparison in accordance with day arrays.In Figure 4, we can find a law that the electric production in summer is higher than that in winter.On the one hand, the solar radiation intensity is much stronger in summer; on the other hand, the solar radiation time is also much longer than that in winter, which makes the photovoltaic modules work longer and more effective.At the same time, we can see the electric production in summer fluctuates a lot more than in winter, which means that the output of photovoltaic system is largely influenced by rainy days.This section mainly analyzes several influential factors aimed at the uncertainty of photovoltaic output, including day type, season, temperature, and solar radiation.Through the comparison and analysis of historic data, we can approximately know their effect on the photovoltaic output.In the following section, we will build an accurate and reasonable forecast model based on the results above.

Prediction Model Based on Scene Simulation Knowledge Mining and Adaptive Neural Network
For photovoltaic power, we mainly consider the influence of light intensity, season, day type, and temperature.According to scene simulation knowledge mining, select high similarity historical data and meteorological environment as learning sample to complete scene simulation knowledge mining as the first step.Neural network prediction model can simulate arbitrary complex nonlinear mapping with the advantage of being intelligent.Here adaptive neural network is chosen to forecast photovoltaic power.

Scene Simulation Knowledge Mining Technique.
By the above analysis, we know that the influence degree of meteorological factors on photovoltaic power is different.Light intensity, day type, temperature, and season can make different degrees of influence on photovoltaic power, and the power is often a result of combined action of various meteorological factors [11][12][13].How to effectively deal with various meteorological factors is important to improve the prediction accuracy.
According to scene simulation knowledge mining technique, take the day characteristic similarity and the former trend similarity as index to choose similar scene as input value of forecast model.Definition 1. Characteristic similarity for two days  and  is defined as follows: where   is characteristic similarity.It is angle cosine between two eigenvectors in -dimensional space which reflects the distance between two-day characters in -dimensional space.

Input signal x(t) Comparator
Unit delay matrix Correct signal E(t) Forecast value y(t) x(t − 1) Model

Adaptive Neural Network.
According to the latest situation to automatically adjust model so as to achieve satisfied prediction effect which is very important, adaptive prediction method continuously automatically adjusts model structure and parameters based on prediction deviation which actually forms a closed loop feedback [14].A typical adaptive system block diagram is shown in Figure 5.
According to model and actual value of  − 1 time and parameters of  time, we can predict output value () of  time.() is -value of () and ().If () = 0, model parameter needs no correction.Otherwise, we amend the model parameters in order to track environment change.
Works of the literature [15] introduce the principle and application of adaptive neural network algorithm.Adaptive neural network can choose new paradigm for neural network training.Neuron structure of adaptive neural network is shown in Figure 6.
The output of Figure 6 is Adaptive neural network adopts the minimum mean square error (MSE) learning rule, namely, Windrow Hoff (WH) algorithm, to adjust weights and thresholds.For a given  set of training samples; { 1 ,  1 }, { 1 ,  1 }, . . ., {  ,   }, the basic implementation of WH learning rule is to find the best  and , to minimize mean square error of each output neuron.The mean square error of neuron is where  is the target value and  is the predicted value.Strives for partial derivatives of mean square error, we can get the optimal solution of  and , respectively.Consider . ( Setting type ( 6) equal to 0, extreme value point of mean square error can be calculated.Because of the continuous correction of model parameter, adaptive neural network is much faster than feed-forward network.
Adaptive neural network is able to obtain a set of continuous data, make accurate predictions, automatically discard old data, and study new data in the process of learning [16].
The adaptive data training process is as follows [17,18].
(1) Define the error function as where  is the size of learning array;  1 is target value;  1 is predicted value.After learning weight , make a prediction.
(2) Set studied weight and threshold values as initial values of new training array's weight and threshold, the new training function is (3) Start new forecast based on the studied weight in step (2).Proceed the above process until learning all of the data and making accurate forecast.This method can effectively deal with nonstatic data.Learning data for neural network is historical load and meteorological data in this paper.

Numerical Example Analysis
This power output prediction model of PV power generation system uses Mat lab programming implementation and selects Guangdong photovoltaic power generation system as an example.The precision time is 1 h, the time from 7:00 to 18:00.The sun radiation from 7 p.m. to 6 a.m. is 0, so it is not included in the study [19,20].
In order to validate the proposed prediction model, one day was randomly chosen from each season of the year 2010, that is, D1 = December 25 for winter, D2 = April 20 for spring, D3 = July 15 for summer, and D4 = October 23 for fall.Three models are chosen to be predicted, respectively.Model 1 is traditional BP neural network forecasting model without the proposed scene simulation knowledge mining.Model 2 is ordinary adaptive neural network forecasting model.Model 3 is the proposed adaptive neural network prediction model based on scene simulation knowledge mining.The following table is PV power prediction error from different prediction models.As can be seen from Table 1, for the same season, prediction error of traditional BP neural network is much bigger, the adaptive neural network is relatively small, and the prediction result of the proposed adaptive neural network prediction model based on scene simulation knowledge mining is the best.For the proposed prediction method, analysis results in different seasons, comprehensive prediction error in summer (3.9%) is the minimum, and error in winter (14.2%) is the maximum.
In order to further assess the forecasting capability of the proposed adaptive neural network prediction model based on scene simulation knowledge mining, simulations are carried out for three different days-sunny day (SD), cloudy day (CD), and rainy day (RD) from each season, and the results obtained from the proposed model are presented in Table 2 where we can observe the lower values of MAPE in SDs compared to CDs and RDs.
Through the effective analysis of influencing factors of PV power output, combined with the improved adaptive neural network prediction model and scene simulation knowledge mining technique, a photovoltaic power prediction model based on scene simulation knowledge mining and adaptive neural network is proposed.The benefit of the proposed approach is that it does not require complex modeling and complicated calculation; forecast under different weather types can be carried out using only historical power data and weather data.The test results proved validity and accuracy of the proposed approach; the proposed approach can be used to forecast the power output of photovoltaic system precisely.

Conclusions
With the development of the grid-connected photovoltaic power (PV), it has been regarded as a kind of effective way to make full use of solar energy, which is economic and environmental.Influenced by light, temperature, atmospheric pressure, and some other random factors, photovoltaic power has characteristics of volatility and intermittece.Accurately forecasting photovoltaic power can effectively improve security and stability of power grid system.We comprehensively analyze the influence of light intensity, day type, temperature, and season on photovoltaic power in this paper.According to proposed scene simulation knowledge mining technique, similar meteorological factors and power are taken as input value in prediction model.Combining advanced adaptive neural network and scene simulation knowledge mining, photovoltaic power prediction model based on scene simulation knowledge mining and adaptive neural network is established.Guangdong photovoltaic power generation system is selected to verify the proposed model.The test results proved validity and accuracy of the proposed approach; the proposed approach can be used to forecast the power output of photovoltaic system precisely.

Figure 2 :
Figure 2: Photovoltaic power on different day types.

Figure 3 :Figure 4 :
Figure 3: Influence of temperature on photovoltaic power.

Figure 5 :
Figure 5: Block diagram of an adaptive system.

Table 1 :
Prediction error for different models.

Table 2 :
Prediction error for different day styles.