CN103559561B - A kind of ultra-short term prediction method of photovoltaic plant irradiance - Google Patents

A kind of ultra-short term prediction method of photovoltaic plant irradiance Download PDF

Info

Publication number
CN103559561B
CN103559561B CN201310571072.7A CN201310571072A CN103559561B CN 103559561 B CN103559561 B CN 103559561B CN 201310571072 A CN201310571072 A CN 201310571072A CN 103559561 B CN103559561 B CN 103559561B
Authority
CN
China
Prior art keywords
irradiance
sigma
data
value
ultra
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Active
Application number
CN201310571072.7A
Other languages
Chinese (zh)
Other versions
CN103559561A (en
Inventor
李卫
席林
佘慎思
曾旭
杨文斌
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Shanghai Electric Group Corp
Original Assignee
Shanghai Electric Group Corp
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Shanghai Electric Group Corp filed Critical Shanghai Electric Group Corp
Priority to CN201310571072.7A priority Critical patent/CN103559561B/en
Publication of CN103559561A publication Critical patent/CN103559561A/en
Application granted granted Critical
Publication of CN103559561B publication Critical patent/CN103559561B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Landscapes

  • Management, Administration, Business Operations System, And Electronic Commerce (AREA)

Abstract

The invention discloses a kind of ultra-short term prediction method of photovoltaic plant irradiance, comprise step: from historical data base, extract irradiance data, after rejecting night hours segment data, calculate corresponding extraterrestrial theoretical irradiance, carry out data exception inspection with this, and adopt the difference rule of three normalization data of extraterrestrial irradiance theoretical value and actual irradiance; Training sample set is extracted by the input and output dimension of model; Adopt ANFIS to carry out modeling to irradiance time series, wherein determine regular number and the initial parameter of ANFIS model with subtractive clustering, and adopt back-propagation algorithm and least square method Optimization of Fuzzy model parameter; Input prediction sample, calculates predicted value; Add predicted value and form new sample set, circulation realizes multi-step prediction; Predicted value is carried out renormalization process.The present invention only needs to utilize history irradiance time series to realize the ultra-short term prediction of irradiance, and precision of prediction is good, and easy to implement.

Description

Ultra-short-term prediction method for irradiance of photovoltaic power station
Technical Field
The invention relates to an ultra-short-term prediction method of irradiance of a photovoltaic power station.
Background
Large-scale photovoltaic grid-connected power generation is an effective way of utilizing solar energy, but the solar energy is intermittent and fluctuating energy, and large-scale access can bring serious challenges to the safe and stable operation of a power system and the guarantee of electric energy quality. If the power generation power of the photovoltaic power station can be accurately predicted, a power grid dispatching department can be helped to make a reasonable operation mode in time and accurately adjust a dispatching plan, the influence of grid connection of the photovoltaic power station on the whole power grid can be effectively reduced, and the safety and stability of a power system are guaranteed.
The meteorological factors influencing the power generation power of the photovoltaic power station are various, such as irradiation intensity, ambient temperature, humidity and the like. Wherein the influence of irradiance is greatest. The irradiance of the earth surface is influenced by various meteorological factors such as cloud cover, temperature, air pressure and the like, so that the randomness is high, and the difficulty in realizing accurate prediction is high. For ultra-short term prediction of ground irradiance, the following methods are generally used: (1) autoregressive moving average (ARMA) model. The method utilizes historical time series data of irradiance, determines a mathematical model capable of describing the irradiance time series through model identification, parameter estimation and model inspection, and further achieves the purpose of prediction, but because ARMA is a linear model, the prediction precision is limited; (2) a prediction method using sky cloud picture images is provided. The method generally requires a sky imager to be installed on the photovoltaic power station site, and is expensive in cost and complex in prediction algorithm, so that the implementation is difficult. Therefore, how to realize the ultra-short-term prediction of the irradiance of the photovoltaic power station with high precision becomes a problem which is addressed by the applicant.
Disclosure of Invention
The invention aims to provide an ultra-short-term prediction method of irradiance of a photovoltaic power station, which can realize ultra-short-term prediction of irradiance by only using a historical irradiance time sequence, has good prediction precision and easy implementation, and lays a foundation for realizing ultra-short-term prediction of generating power of the photovoltaic power station.
The technical scheme for realizing the purpose is as follows:
an ultra-short-term prediction method for irradiance of a photovoltaic power station comprises the following steps:
step S1, extracting actual irradiance data of the photovoltaic power station in a given time period from the historical database, eliminating invalid irradiation data in night time periods, performing abnormal inspection on the extracted actual irradiance data according to theoretical extraterrestrial irradiance in the same time and region, and performing normalization processing on the irradiance data after the abnormal inspection is completed;
step S2, determining a training sample set according to the input and output dimensions of the prediction model;
step S3, modeling an irradiance time sequence by using ANFIS, inputting a model with 5-dimension and 1-dimension output, determining the rule number and initial parameters of the ANFIS by using subtractive clustering, and optimizing fuzzy model parameters by using a back propagation algorithm and a least square method;
step S4, inputting a prediction sample, and calculating to obtain a prediction value;
step S5, judging whether the multi-step prediction is finished, if yes, entering step S7; if not, go to step S6;
step S6, adding the predicted value to form a new sample set, and returning to step S2;
in step S7, the predicted value is subjected to inverse normalization processing.
The ultra-short term prediction method for irradiance of the photovoltaic power station, wherein the step S1 includes:
step S11, extracting an irradiance time sequence value v (t) of a photovoltaic power station location h days before the day to be predicted from a historical database as an original sample set, wherein h is a positive integer;
step S12, calculating theoretical extraterrestrial irradiance of the same time and region;
step S13, according to the formula: v (t) is more than or equal to 0 and less than or equal to E (t), whether each irradiance time sequence value v (t) is normal or not is checked, and E (t) is the theoretical extraterrestrial irradiance of the area at the time t; if abnormal irradiance data is found, the process goes to step S14; if not, go to step S15;
step S14, rejecting all irradiance data of a data day containing abnormal irradiance data;
step S15, according to the formula:
x ( t ) = E ( t ) - v ( t ) E ( t ) ( E ( t ) ≠ 0 ) 0 ( E ( t ) = 0 )
normalization is carried out, wherein x (t) is normalized data, and x (t) is more than or equal to 0 and less than or equal to 1.
The method for ultra-short-term prediction of irradiance of the photovoltaic power station includes step S12, which uses the following formula to calculate the theoretical extraterrestrial irradiance of the same region at the same time:
wherein E is the extraterrestrial irradiance value; escIs the solar constant; (r)0/r)2Is a day-to-earth distance correction factor; solar declination angle; etIs time difference, theta is day angle, N is integral day, △ N is correction value of integral day, Y is year, INT is integer part of number in brackets, tau is solar time angle of time point required by said point, SdIs the location of the point;is the geographic latitude of the point; γ is the geographic longitude of the point; s is the number of hours in the point-local standard, and F is the number of minutes in the point-local standard.
The method for ultra-short-term prediction of irradiance of the photovoltaic power station, wherein the step S2 refers to:
time series { x) of normalized N +5 consecutive irradiances1,x2,x3,...,xN+5Decomposed into N +1 5-dimensional vectors V1,...,VN+1N is a positive integer, to obtain:
(x1,x2,x3,x4,x5)=V1
(x2,x3,x4,x5,x6)=V2
(xN,xN+1,xN+2,xN+3,xN+4)=VN
(xN+1,xN+2,xN+3,xN+4,xN+5)=VN+1
and further pairing the next moment radiance value of the last one-dimensional data of the previous N vectors with the vectors to form N training sample pairs: { (V)1,x6),(V2,x7),...,(VN,xN+5)}。
The ultra-short term prediction method for irradiance of the photovoltaic power station, wherein the step S3 includes:
step S31, modeling the irradiance time series using ANFIS to obtain:
x ( t ) = ( Σ i = 1 n [ Σ j = 1 5 λ j i x ( t - j ) + ξ i ] · exp [ - ( Σ j = 1 5 ( x ( t - j ) - c ij ) 2 2 σ ij 2 ) ] ) ( Σ i = 1 n exp [ - ( Σ j = 1 5 ( x ( t - j ) - c ij ) 2 2 σ ij 2 ) ] )
wherein i =1,2, ·, n; j =1,2,. 5; x (t-j) is an input quantity; x (t) is the output quantity;ξin is the number of rules for the back-end parameter; c. Cij,σijIs frontPiece parameters;
step S32, carrying out subtractive clustering analysis on the training sample set, specifically:
according to the formula:calculating to obtain data point density Dp
Wherein p, q = (1, 2.. multidot., m), Y is a sample pair, m is the number of the sample pair,ais the effective neighborhood radius of the cluster center;
selecting the highest value of the density indexObtaining a first cluster centerReconstructing the density function:
D ′ p = D p - D c 1 exp [ - | | Y p - y c 1 | | 2 ( δ b / 2 ) 2 ]
wherein,b=1.25acalculating the density index of all data points by using the new density function, and determining the next clustering centerA new density function is constructed again, and the process is repeated until the density function is satisfiedThe highest value of the density index of the p-th clustering center is obtained;
thereby obtaining the optimal fuzzy rule number n and the initial model antecedent parameter cijAnd σij
Step S33, model parameters are optimized by adopting a hybrid learning method, namely, parameters are identified by adopting a least square method for the back part, and parameters are optimized by adopting a back propagation algorithm for the front part:
identifying back-part parameters by using least square methodAnd ξiConverting the formula obtained in the step S31 into a matrix of X = phi · theta, phi is m × 2n, and theta is a back piece parameter vector of 2n × 1, wherein X is an output vector of m × 1;
let the error index function beTo expect an output, according to the least squares principle, to minimize J (θ), it is necessary to have:thereby obtaining optimized model back-part parametersAnd ξi
Fix back part parametersAnd ξiAdjusting the front-part parameter c by using a back propagation algorithmijAnd σijThe correction algorithm is as follows:
c ij ( r + 1 ) = c ij ( r ) - α c ∂ E ∂ c ij σ ij ( r + 1 ) = σ ij ( r ) - α σ ∂ E ∂ σ ij
wherein, αcAnd ασIs the learning rate; c. Cij(r+1)、σij(r+1)、cij(r)、σijAnd (r) respectively representing the central parameter and the width parameter of the membership function of the front part in the step r +1 and the step r in the correction algorithm.
The ultra-short-term prediction method of irradiance of the photovoltaic power station is characterized in that,
said c ij ( r + 1 ) = c ij ( r ) - α c ∂ E ∂ c ij σ ij ( r + 1 ) = σ ij ( r ) - α σ ∂ E ∂ σ ij In (1),
learning rate αcAnd ασThe initial value of the learning method is 0.01, the training cycle number of the mixed learning is 25, and r is more than or equal to 0 and less than or equal to 25.
The method for predicting irradiance of a photovoltaic power station in an ultra-short period includes, in step S4:
judging the number n of the obtained optimal fuzzy rules, and if the number of the rules is one, adopting a continuous method for prediction;
if the number of rules is more than one, then the sample V will be predictedN+1Inputting the data into a model to obtain a predicted value xN+6: if x is not less than 0N+6If the predicted value is less than or equal to 1, the predicted value is effective, otherwise, the continuous prediction method is still adopted.
The method for predicting irradiance of a photovoltaic power station in an ultra-short period includes, in step S7:
according to the formula: p (t) = e (t) = x (t) × e (t)) and (t)) the obtained predicted value is subjected to inverse normalization processing, wherein x (t) is the predicted value, p (t) is data after inverse normalization, and e (t) is a theoretical external illuminance value at the time t.
The invention has the beneficial effects that: the method utilizes historical irradiance data acquired on site by the photovoltaic power station, adopts a difference value proportion method of an extraterrestrial irradiance theoretical value and actual irradiance to normalize the original irradiance data, establishes a prediction model by an adaptive fuzzy neural reasoning system, realizes ultra-short-term prediction in a multi-step circulation mode, can effectively complete the ultra-short-term prediction of the irradiance, has good prediction precision and is easy to implement, thereby providing a basis and guarantee for accurately predicting the ultra-short-term power generation power of the photovoltaic power station.
Drawings
FIG. 1 is a flow chart of a method of ultra-short term prediction of irradiance of a photovoltaic power plant of the present invention;
FIG. 2 is a diagram of the ANFIS model architecture of the present invention;
FIG. 3 is a membership function for input variable 1;
FIG. 4 is a membership function for input variable 2;
FIG. 5 is a membership function of input variable 3;
FIG. 6 is a membership function of input variable 4;
FIG. 7 is a membership function for input variable 5;
FIG. 8 is a plot of predicted versus actual values;
fig. 9 is a prediction error curve.
Detailed Description
The invention will be further explained with reference to the drawings.
Referring to fig. 1, the ultra-short term prediction method of irradiance of a photovoltaic power station of the present invention includes the following steps:
step S1, extracting actual irradiance data of the location of the photovoltaic power station in a given time period from the historical database, carrying out abnormal inspection on the extracted actual irradiance data according to theoretical extraterrestrial irradiance of the same region at the same time, and carrying out normalization processing on the irradiance data after the abnormal inspection is finished; in the embodiment, a meteorological observation station of a photovoltaic power station is used for collecting field irradiance data, the collection frequency is 30 seconds, and then the average value of irradiance for 15 minutes is counted and stored in a historical database; step S1 specifically includes:
step S11, extracting an irradiance time sequence value v (t) (irradiance actual observation data at t moment) of a photovoltaic power station location h days before a day to be predicted from a historical database as an original sample set, wherein h is a positive integer, and in the embodiment, h is 30 days; because the irradiance data is zero at night, taking the average value of 48 15 minutes in the middle of each day, namely the irradiance data from 6 points earlier to 6 points later, forming a continuous time sequence;
step S12, on the premise of neglecting the minor influences of ground axis precession, polar motion and the like, calculating the theoretical extraterrestrial irradiance in the same time and region by using the following formula:
wherein E is the extraterrestrial irradiance value; escIs the solar constant, which takes the value of 1367W/m 2; (r)0/r)2Is a day-to-earth distance correction factor; solar declination angle; etIs time difference, unit minute (min), theta is a day angle, N is a product day (the sequence number of the date in one year, the product day of 1 month and 1 day is 0, the product day of 12 months and 31 days in an average year is 364, and the product day of a leap year is 365), △ N is the correction value of the product day, Y is the year, INT is the integer part of the number in brackets, tau is the solar time angle of the moment sought by the point, and S is the time differencedIs the location of the point;is the geographic latitude of the point; γ is the geographic longitude of the point; s is the hours of the local standard (i.e. Beijing time) at the point, and F is the local standard at the pointNumber of minutes on time. And inputting the longitude and latitude and the time of the area to obtain the theoretical extraterrestrial irradiance of the area at the moment.
Step S13, according to the formula: v (t) is more than or equal to 0 and less than or equal to E (t), whether each irradiance time sequence value v (t) is normal or not is checked, and E (t) is the theoretical extraterrestrial irradiance of the area at the time t; if abnormal irradiance data is found, the process goes to step S14; if not, go to step S15;
step S14, rejecting all irradiance data of a data day containing abnormal irradiance data;
step S15, according to the formula:
x ( t ) = E ( t ) - v ( t ) E ( t ) ( E ( t ) ≠ 0 ) 0 ( E ( t ) = 0 )
and normalizing the irradiance data after abnormal treatment, wherein x (t) is normalized data, and x (t) is more than or equal to 0 and less than or equal to 1.
Step S2, determining a training sample set according to the input and output dimensions of the prediction model, namely:
time series { x) of normalized N +5 consecutive irradiances1,x2,x3,...,xN+5Decomposed into N +1 5-dimensional vectors V1,...,VN+1N is a positive integer, to obtain:
(x1,x2,x3,x4,x5)=V1
(x2,x3,x4,x5,x6)=V2
(xN,xN+1,xN+2,xN+3,xN+4)=VN
(xN+1,xN+2,xN+3,xN+4,xN+5)=VN+1
and further pairing the next moment radiance value of the last one-dimensional data of the previous N vectors with the vectors to form N training sample pairs: { (V)1,x6),(V2,x7),...,(VN,xN+5)};VN+1I.e. the prediction input of the model, xN+5Next time value x ofN+6I.e. the value we need to predict.
Step S3, modeling an irradiance time sequence by using ANFIS, inputting a model with 5-dimension and 1-dimension output, determining the rule number and initial parameters of the ANFIS by using subtractive clustering, and optimizing fuzzy model parameters by using a back propagation algorithm and a least square method; step S3 includes:
step S31, modeling irradiance time series using ANFIS as follows:
constructing an ANFIS model framework of an irradiance time sequence:
if x ( t - 1 ) is A 1 i , x ( t - 2 ) is A 2 i , x ( t - 3 ) is A 3 i , x ( t - 4 ) is A 4 i , x ( t - 5 ) is A 5 i , Then x i ( t ) = λ 1 i x ( t - 1 ) + λ 2 i x ( t - 2 ) + λ 3 i x ( t - 3 ) + λ 4 i x ( t - 4 ) + λ 5 i x ( t - 5 ) + ξ i
wherein i =1,2, ·, n; j =1,2,. 5; x (t-1), x (t-2), x (t-3), x (t-4) and x (t-5) are input quantities,ξin is the number of rules for the back-end parameter;is a fuzzy set of input quantities x (t-j);
the fuzzy set is expressed by a Gaussian membership function:wherein,representing a degree of membership; front part parameter cijAnd σijRespectively representing the center and the width of the membership function;
the fuzzy inference rule is obtained using the 5-layer ANFIS network architecture shown in fig. 2:
wherein,x (t) is the output quantity;
through substitution, obtain
x ( t ) = Σ i = 1 n x i ( t ) Π j = 1 5 μ A j i Σ i = 1 n Π j = 1 5 μ A j i = Σ i = 1 n x i ( t ) exp ( - ( Σ j = 1 5 ( x - ( t - j ) - c ij ) 2 2 σ ij 2 ) ) ( Σ i = 1 n exp [ - ( Σ j = 1 5 ( x ( t - j ) - c ij ) 2 2 σ ij 2 ) ] )
Then x is divided according to fuzzy inference rulei(t) substituting the above formula has the following expression:
x ( t ) = ( Σ i = 1 n [ Σ j = 1 5 λ j i x ( t - j ) + ξ i ] · exp [ - ( Σ j = 1 5 ( x ( t - j ) - c ij ) 2 2 σ ij 2 ) ] ) ( Σ i = 1 n exp [ - ( Σ j = 1 5 ( x ( t - j ) - c ij ) 2 2 σ ij 2 ) ] ) ;
in step S32, subtractive clustering is to use each data point as a possible cluster center and calculate the probability of using the point as a cluster center according to the data point density around each data point, which overcomes the disadvantage that the calculated amount of other clustering methods increases exponentially with the dimension of the problem. Carrying out subtraction clustering analysis on a training sample set, specifically comprising the following steps:
according to the formula:calculating to obtain data point density Dp
Wherein p, q = (1, 2.. multidot., m), Y is a sample pair, m is the number of the sample pair,athe radius of the effective neighborhood of the cluster center is a positive number, which is set to 0.5 in this embodiment;
selecting the highest value of the density indexObtaining a first cluster centerReconstructing the density function:
D ′ p = D p - D c 1 exp [ - | | Y p - y c 1 | | 2 ( δ b / 2 ) 2 ]
wherein,b=1.25acalculating the density index of all data points by using the new density function, and determining the next clustering centerA new density function is constructed again, and the process is repeated until the density function is satisfied The highest value of the density index of the p-th clustering center is obtained;
thereby obtaining the optimal fuzzy rule number n and the initial model antecedent parameter cijAnd σij
Step S33, identifying the parameters of the back piece by adopting a least square methodAnd ξiConverting the formula obtained in the step S31 into a matrix of X = phi theta, phi is m × 2n, and theta is a back piece parameter vector of 2n × 1, wherein X is an output vector of m × 1;
let the error index function beTo expect an output, according to the least squares principle, to minimize J (θ), it is necessary to have:thereby obtaining optimized model back-part parametersAnd ξi
Fix back part parametersAnd ξiAdjusting the front-part parameter c by using a back propagation algorithmijAnd σijTaking into account the error indicator function,xi(t) is the current output at time t,is the desired output, the correction algorithm is:
c ij ( r + 1 ) = c ij ( r ) - α c ∂ E ∂ c ij σ ij ( r + 1 ) = σ ij ( r ) - α σ ∂ E ∂ σ ij
wherein the learning rate αcAnd ασThe initial value of (2) is 0.01, and the training cycle number of the mixed learning is 25; c. Cij(r+1)、σij(r+1)、cij(r)、σij(r) respectively representing the central parameter and the width parameter of the membership function of the front part in the (r + 1) th step and the r step in the correction algorithm, wherein r is more than or equal to 0 and less than or equal to 25.
Step S4, inputting a prediction sample, and calculating to obtain a prediction value; the method specifically comprises the following steps:
judging the number n of the obtained optimal fuzzy rules, if the number of the rules is one, adopting a continuous method for prediction, namely using the irradiance value at the current moment as a predicted value at the next moment;
if the number of rules is more than one, then the sample V will be predictedN+1Inputting the data into a model to obtain a predicted value xN+6: if x is not less than 0N+6If the predicted value is less than or equal to 1, the predicted value is effective, otherwise, the continuous prediction method is still adopted. To this end, the single step prediction is completed.
Step S5, judging whether the multi-step prediction is finished, if yes, entering step S7; if not, go to step S6;
step S6, adding the predicted value to form a new sample set, and returning to step S2; repeating and circulating the steps to obtain a plurality of predicted values;
step S7, performing inverse normalization processing on the predicted values, which means:
according to the formula: p (t) = e (t) = x (t) × e (t) and performing inverse normalization processing on the obtained predicted value, and reducing the predicted value of the model to a true value; wherein x (t) is a predicted value, P (t) is data after inverse normalization, and E (t) is a theoretical extraterrestrial irradiance value at the time t.
The following is described in a specific case:
irradiance data of a certain photovoltaic power station in the Shanghai area is selected as an experimental verification object. The average value of irradiance of 15 minutes of 30 days from 18 days to 17 days of 5 months in 2013 is collected as an initial modeling data sample, 2880 in total, and 1440 in total are taken as effective data from 6 points earlier to 6 points later in each day. Calculating theoretical irradiance of the same time period according to the step S12, detecting that bad data exists in two days according to the step S13, and removing the data of the two days to obtain 1344 effective values of irradiance for 28 days. And taking the data of the previous 20 days as an original training sample set to establish an ANFIS model, predicting the irradiance value of 8 days later, predicting once per hour, and predicting 4 average values of 15 minutes each time.
The first 960 data are first normalized and then divided into 955 training sample pairs, each pair of 5-dimensional input vector and 1-dimensional output vector. And determining the number of the fuzzy rules as 5 by adopting subtractive clustering, and then obtaining the parameters of the front part and the rear part of the model by adopting a back propagation method and a least square method. Membership functions for the five inputs of the ANFIS model are shown in fig. 3 to 7. In the figure, in1ct 1-in 1ct4 represent four graphs of membership function of the first-dimension input variable; in2ct 1-in 2ct4 represent four membership function graphs of the second-dimension input variable; in3ct 1-in 3ct4 represent four membership function graphs of the third-dimensional input variable; in4ct 1-in 4ct4 represent four membership function graphs of the fourth-dimensional input variable; in5ct 1-in 5ct4 represent four graphs of membership function for the fifth dimension input variable.
The parameters of the fuzzy rule front part Gaussian membership function are shown in table 1, and the parameters of the back part linear function are shown in table 2:
TABLE 1
Fuzzy rule Back-piece linearity parameter (λ)1,λ2,λ3,λ4,λ5,ξ)
R1 [-0.082 -0.063 0.123 -0.169 1.244 -0.060]
R2 [-0.171 0.174 -0.291 0.797 0.588 -0.028]
R3 [2.334 -0.783 -1.247 0.982 -0.504 0.165]
R4 [0.029 -0.089 0.155 0.026 0.974 -0.036]
R5 [-0.076 0.277 -0.104 -0.055 1.104 -0.089]
TABLE 2
Month 5, No. 10, No. 6: the average value of the actual irradiance of 5 minutes before 00 (namely, 5 months and 9 days, between 17: 45 and 18: 00) is used as a prediction sample input model, the average value of the next 15 minutes (namely, 5 months and 10 days, between 6: 00 and 6: 15) can be obtained, the prediction value is added into the prediction sample, and the process is repeated for 4 times to obtain the prediction value of 1 hour in the future (namely, 5 months and 10 days, between 6: 00 and 7: 00). The prediction is executed once every hour, the irradiance prediction value of the future 8 days can be obtained after the cycle is 96 times, 384 points are total, the Root Mean Square Error (RMSE) is calculated to be 59.7, and the standard root mean square error (NRMSE) is 0.4259. Wherein, RMSE and NRMSE are respectively calculated according to the following formulas:
RMSE = [ 1 N ′ Σ i = 1 N ′ ( P ^ i - P i ) 2 ] 1 / 2
NRMSE = ( 1 N ′ Σ i = 1 N ′ ( P ^ i - P i ) 2 ) 1 / 2 1 N ′ Σ i = 1 N ′ P i
in the formula, PiIn order to predict the irradiance, a target irradiance is determined,and N' is the number of predicted points for the actually measured irradiance.
The comparison curve of the predicted value and the actual value is shown in fig. 8, and the prediction error curve is shown in fig. 9, so that the prediction model has good prediction accuracy.
The above embodiments are provided only for illustrating the present invention and not for limiting the present invention, and those skilled in the art can make various changes and modifications without departing from the spirit and scope of the present invention, and therefore all equivalent technical solutions should also fall within the scope of the present invention, and should be defined by the claims.

Claims (7)

1. An ultra-short-term prediction method for irradiance of a photovoltaic power station is characterized by comprising the following steps:
step S1, extracting actual irradiance data of the photovoltaic power station in a given time period from the historical database, eliminating invalid irradiation data in night time periods, performing abnormal inspection on the extracted actual irradiance data according to theoretical extraterrestrial irradiance in the same time and region, and performing normalization processing on the irradiance data after the abnormal inspection is completed;
step S2, determining a training sample set according to the input and output dimensions of the prediction model;
step S3, modeling an irradiance time sequence by using ANFIS, inputting a model with 5-dimension and 1-dimension output, determining the rule number and initial parameters of the ANFIS by using subtractive clustering, and optimizing fuzzy model parameters by using a back propagation algorithm and a least square method;
step S4, inputting a prediction sample, and calculating to obtain a prediction value;
step S5, judging whether the multi-step prediction is finished, if yes, entering step S7; if not, go to step S6;
step S6, adding the predicted value to form a new sample set, and returning to step S2;
step S7, the predicted value is processed with inverse normalization,
the step S1 includes:
step S11, extracting an irradiance time sequence value v (t) of a photovoltaic power station location h days before the day to be predicted from a historical database as an original sample set, wherein h is a positive integer;
step S12, calculating theoretical extraterrestrial irradiance of the same time and region;
step S13, according to the formula: v (t) is more than or equal to 0 and less than or equal to E (t), whether each irradiance time sequence value v (t) is normal or not is checked, and E (t) is the theoretical extraterrestrial irradiance of the area at the time t; if abnormal irradiance data is found, the process goes to step S14; if not, go to step S15;
step S14, rejecting all irradiance data of a data day containing abnormal irradiance data;
step S15, according to the formula:
x ( t ) = E ( t ) - v ( t ) E ( t ) ( E ( t ) ≠ 0 ) 0 ( E ( t ) = 0 )
normalization is carried out, wherein x (t) is normalized data, and x (t) is more than or equal to 0 and less than or equal to 1.
2. The ultra-short term prediction method of photovoltaic power station irradiance as claimed in claim 1, wherein the step S12 is implemented by calculating the theoretical extraterrestrial irradiance at the same time and in the same area according to the following formula:
wherein E is the extraterrestrial irradiance value; escIs the solar constant; (r)0/r)2Is a day-to-earth distance correction factor; solar declination angle; etIs time difference, theta is day angle, N is integral day, △ N is correction value of integral day, Y is year, INT is integer part of number in brackets, tau is solar time angle of time point required by said point, SdIs the location of the point;is the geographic latitude of the point; γ is the geographic longitude of the point; s is the number of hours in the point-local standard, and F is the number of minutes in the point-local standard.
3. The ultra-short term prediction method of photovoltaic power station irradiance as claimed in claim 1, wherein the step S2 refers to:
time series { x) of normalized N +5 consecutive irradiances1,x2,x3,…,xN+5Decomposed into N +1 5-dimensional vectors V1,…,VN+1N is a positive integer, to obtain:
(x1,x2,x3,x4,x5)=V1
(x2,x3,x4,x5,x6)=V2
……
(xN,xN+1,xN+2,xN+3,xN+4)=VN
(xN+1,xN+2,xN+3,xN+4,xN+5)=VN+1
and further pairing the next moment radiance value of the last one-dimensional data of the previous N vectors with the vectors to form N training sample pairs: { (V)1,x6),(V2,x7),…,(VN,xN+5)}。
4. The ultra-short term prediction method of photovoltaic power station irradiance as recited in claim 1, wherein the step S3 comprises:
step S31, modeling the irradiance time series using ANFIS to obtain:
x ( t ) = ( Σ i = 1 n [ Σ j = 1 5 λ j i x ( t - j ) + ξ i ] · exp [ - ( Σ j = 1 5 ( x ( t - j ) - c i j ) 2 2 σ i j 2 ) ] ) ( Σ i = 1 n exp [ - ( Σ j = 1 5 ( x ( t - j ) - c i j ) 2 2 σ i j 2 ) ] )
wherein i is 1,2, …, n; j ═ 1,2, …, 5; x (t-j) is an input quantity; x (t) is the output quantity;ξin is the number of rules for the back-end parameter; c. Cij,σijIs a front part parameter;
step S32, carrying out subtractive clustering analysis on the training sample set, specifically:
according to the formula:calculating to obtain data point density Dp
Wherein p, q is (1,2, …, m), Y is a sample pair, m is the number of sample pairs,ais the effective neighborhood radius of the cluster center;
selecting the highest value of the density indexObtaining a first cluster centerReconstructing the density function:
D ′ p = D p - D c 1 exp [ - | | Y p - y c 1 | | 2 ( δ b / 2 ) 2 ]
wherein,b=1.25acalculating the density index of all data points by using the new density function, and determining the next clustering centerA new density function is constructed again, and the process is repeated until the density function is satisfied The highest value of the density index of the p-th clustering center is obtained;
thereby obtaining the optimal fuzzy rule number n and the initial model antecedent parameter cijAnd σij
Step S33, model parameters are optimized by adopting a hybrid learning method, namely, parameters are identified by adopting a least square method for the back part, and parameters are optimized by adopting a back propagation algorithm for the front part:
identifying back-part parameters by using least square methodAnd ξiConverting the formula obtained in the step S31 into a matrix with X being phi & theta, phi being m × 2n and theta being 2n × 1 rear piece parameter vector, and X being an output vector of m × 1;
let the error index function be To expect an output, according to the least squares principle, to minimize J (θ), it is necessary to have:thereby obtaining optimized model back-part parametersAnd ξi
Fix back part parametersAnd ξiAdjusting the front-part parameter c by using a back propagation algorithmijAnd σijThe correction algorithm is as follows:
c i j ( r + 1 ) = c i j ( r ) - α c ∂ E ∂ c i j σ i j ( r + 1 ) = σ i j ( r ) - α σ ∂ E ∂ σ i j
wherein, αcAnd ασIs the learning rate; c. Cij(r+1)、σij(r+1)、cij(r)、σijAnd (r) respectively representing the central parameter and the width parameter of the membership function of the front part in the step r +1 and the step r in the correction algorithm.
5. The ultra-short term prediction method of photovoltaic power station irradiance as recited in claim 4,
said c i j ( r + 1 ) = c i j ( r ) - α c ∂ E ∂ c i j σ i j ( r + 1 ) = σ i j ( r ) - α σ ∂ E ∂ σ i j In (1),
learning rate αcAnd ασThe initial value of the learning method is 0.01, the training cycle number of the mixed learning is 25, and r is more than or equal to 0 and less than or equal to 25.
6. The ultra-short term prediction method of photovoltaic power station irradiance as claimed in claim 1, wherein the step S4 specifically refers to:
judging the number n of the obtained optimal fuzzy rules, and if the number of the rules is one, adopting a continuous method for prediction;
if the number of rules is more than one, then the sample V will be predictedN+1Inputting the data into a model to obtain a predicted value xN+6: if x is not less than 0N+6If the predicted value is less than or equal to 1, the predicted value is effective, otherwise, the continuous prediction method is still adopted.
7. The ultra-short term prediction method of photovoltaic power station irradiance as claimed in claim 1, wherein the step S7 specifically refers to:
according to the formula: and (p), (t) -x (t) e (t) and (t) performing inverse normalization processing on the obtained predicted value, wherein x (t) is the predicted value, p (t) is data after inverse normalization, and e (t) is a theoretical external illumination value at the time t.
CN201310571072.7A 2013-11-13 2013-11-13 A kind of ultra-short term prediction method of photovoltaic plant irradiance Active CN103559561B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201310571072.7A CN103559561B (en) 2013-11-13 2013-11-13 A kind of ultra-short term prediction method of photovoltaic plant irradiance

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201310571072.7A CN103559561B (en) 2013-11-13 2013-11-13 A kind of ultra-short term prediction method of photovoltaic plant irradiance

Publications (2)

Publication Number Publication Date
CN103559561A CN103559561A (en) 2014-02-05
CN103559561B true CN103559561B (en) 2016-03-09

Family

ID=50013802

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201310571072.7A Active CN103559561B (en) 2013-11-13 2013-11-13 A kind of ultra-short term prediction method of photovoltaic plant irradiance

Country Status (1)

Country Link
CN (1) CN103559561B (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN107085755A (en) * 2017-05-15 2017-08-22 内蒙古电力(集团)有限责任公司 A kind of photovoltaic plant short term power Forecasting Methodology and system

Families Citing this family (24)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103823504B (en) * 2014-03-20 2016-01-20 常州工学院 A kind of maximum power tracking and controlling method based on least square method supporting vector machine
CN104933489A (en) * 2015-06-29 2015-09-23 东北电力大学 Wind power real-time high precision prediction method based on adaptive neuro-fuzzy inference system
CN105373857A (en) * 2015-11-27 2016-03-02 许昌许继软件技术有限公司 Photovoltaic power station irradiance prediction method
CN105590027A (en) * 2015-12-17 2016-05-18 国网冀北电力有限公司 Identification method for photovoltaic power abnormal data
CN105701572B (en) * 2016-01-13 2020-11-06 国网甘肃省电力公司电力科学研究院 Photovoltaic short-term output prediction method based on improved Gaussian process regression
CN105787594B (en) * 2016-02-29 2019-11-12 南京航空航天大学 Irradiation prediction technique based on multivariate time series and regression analysis
CN105956685B (en) * 2016-04-20 2019-09-10 南京国电南自电网自动化有限公司 A kind of photovoltaic power factor table prediction technique
CN106295034B (en) * 2016-08-15 2019-12-03 河海大学常州校区 A kind of high-precision scattering radiometer calculation method
CN106300424B (en) * 2016-09-07 2018-10-09 广东工业大学 A kind of method and device of determining new energy user photovoltaic generating system daily generation
CN107171638B (en) * 2016-10-18 2018-11-06 上海电力新能源发展有限公司 The division methods and device of a kind of group of set of strings
CN106548613A (en) * 2016-11-02 2017-03-29 中国人民解放军理工大学 For the region microwave link networking signal pickup assembly and method of Rainfall estimation
CN106651007A (en) * 2016-11-24 2017-05-10 北京理工大学 Method and device for GRU-based medium and long-term prediction of irradiance of photovoltaic power station
CN107256437B (en) * 2017-05-15 2020-11-27 内蒙古电力(集团)有限责任公司 Photovoltaic power station ultra-short-term irradiance prediction method and system
CN107358323A (en) * 2017-07-13 2017-11-17 上海交通大学 A kind of power forecasting method of short-term photovoltaic generation
CN108960522A (en) * 2018-07-16 2018-12-07 浙江电腾云光伏科技有限公司 A kind of photovoltaic power generation quantity prediction analysis method
CN109284874B (en) * 2018-10-26 2021-08-17 昆明电力交易中心有限责任公司 Method, device and equipment for predicting daily generated energy of photovoltaic power station and storage medium
CN109447372A (en) * 2018-11-13 2019-03-08 广东电网有限责任公司 Peak load staggering prediction method and device
CN110007371A (en) * 2019-04-11 2019-07-12 成都四方伟业软件股份有限公司 Wind speed forecasting method and device
CN110705752A (en) * 2019-09-05 2020-01-17 上海上实龙创智慧能源科技股份有限公司 Sewage BOD real-time prediction method based on ANFIS and mechanism model
CN111414582B (en) * 2020-03-12 2022-12-27 广西电网有限责任公司 Photovoltaic theoretical power calculation method, device, equipment and storage medium
CN113487093B (en) * 2021-07-09 2024-06-14 国网浙江省电力有限公司电力科学研究院 Ultra-short-term photovoltaic power prediction method based on neighborhood forward time sequence optimal combination
CN114285374A (en) * 2021-12-14 2022-04-05 上海电气集团股份有限公司 Equipment positioning method and system for photovoltaic power station, electronic equipment and storage medium
CN114201924B (en) * 2022-02-16 2022-06-10 杭州经纬信息技术股份有限公司 Solar irradiance prediction method and system based on transfer learning
CN115115137B (en) * 2022-07-26 2022-11-29 国能日新科技股份有限公司 Photovoltaic power prediction method and device based on matching statistical wavelets

Citations (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103019267A (en) * 2012-12-10 2013-04-03 华东交通大学 Predicative control method for modeling and running speed of adaptive network-based fuzzy inference system (ANFIS) of high-speed train

Family Cites Families (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US7822578B2 (en) * 2008-06-17 2010-10-26 General Electric Company Systems and methods for predicting maintenance of intelligent electronic devices

Patent Citations (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103019267A (en) * 2012-12-10 2013-04-03 华东交通大学 Predicative control method for modeling and running speed of adaptive network-based fuzzy inference system (ANFIS) of high-speed train

Non-Patent Citations (4)

* Cited by examiner, † Cited by third party
Title
《基于多模型模糊神经网络的智能天气预报》;周岩;《中国优秀硕士学位论文全文数据库基础科学辑(月刊)》;20111215;全文 *
《基于多模型模糊神经网络的智能天气预报》;周岩;《中国优秀硕士学位论文全文数据库基础科学辑(月刊)》;20111215;论文第四章第1段,第5.2节,第5.3.1节 *
An ANFIS-based Forecasting for Solar Radiation Data from Sunshine Duration and Ambient Temperature》;A Mellit,et al.;《IEEE Power Engineering Society General Meeting》;20071231;全文 *
An ANFIS-based Forecasting for Solar Radiation Data from Sunshine Duration and Ambient Temperature》;A Mellit,et al.;《IEEE Power Engineering Society General Meeting》;20071231;第Ⅰ,Ⅲ,Ⅶ节 *

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN107085755A (en) * 2017-05-15 2017-08-22 内蒙古电力(集团)有限责任公司 A kind of photovoltaic plant short term power Forecasting Methodology and system

Also Published As

Publication number Publication date
CN103559561A (en) 2014-02-05

Similar Documents

Publication Publication Date Title
CN103559561B (en) A kind of ultra-short term prediction method of photovoltaic plant irradiance
CN103559540B (en) Based on the wind speed ultra-short term on-line prediction method of Adaptive Neuro-fuzzy Inference
Mi et al. Wind speed prediction model using singular spectrum analysis, empirical mode decomposition and convolutional support vector machine
Hong et al. Day-ahead solar irradiation forecasting utilizing gramian angular field and convolutional long short-term memory
Duan et al. A combined short-term wind speed forecasting model based on CNN–RNN and linear regression optimization considering error
He et al. A combined model for short-term wind power forecasting based on the analysis of numerical weather prediction data
CN103106544B (en) A kind of photovoltaic generation prognoses system based on T-S Fuzzy neutral net
CN104992248A (en) Microgrid photovoltaic power station generating capacity combined forecasting method
CN104573879A (en) Photovoltaic power station output predicting method based on optimal similar day set
CN105426956A (en) Ultra-short-period photovoltaic prediction method
CN103489038A (en) Photovoltaic ultra-short-term power prediction method based on LM-BP neural network
CN105160423A (en) Photovoltaic power generation prediction method based on Markov residual error correction
Chen et al. Online prediction of ultra-short-term photovoltaic power using chaotic characteristic analysis, improved PSO and KELM
CN117394306B (en) Wind power prediction model establishment method based on new energy grid connection and application thereof
Wang et al. Hybrid deep learning model for short-term wind speed forecasting based on time series decomposition and gated recurrent unit
CN115907131B (en) Method and system for constructing electric heating load prediction model in northern area
CN116629416A (en) Photovoltaic power station power prediction method and device
CN107203827A (en) A kind of wind turbine forecasting wind speed optimization method based on multiscale analysis
CN112101626A (en) Distributed photovoltaic power generation power prediction method and system
CN116307291A (en) Distributed photovoltaic power generation prediction method and prediction terminal based on wavelet decomposition
CN117216526A (en) Photovoltaic output prediction method and system based on artificial intelligence
Alblawi et al. PV solar power forecasting based on hybrid MFFNN-ALO
CN116706903B (en) Photovoltaic power generation amount prediction method, device, equipment and medium
CN113112085A (en) New energy station power generation load prediction method based on BP neural network
CN108038518A (en) A kind of photovoltaic generation power based on meteorological data determines method and system

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
C14 Grant of patent or utility model
GR01 Patent grant