CN116227677A - Power prediction correction method considering photovoltaic power climbing characteristics - Google Patents

Power prediction correction method considering photovoltaic power climbing characteristics Download PDF

Info

Publication number
CN116227677A
CN116227677A CN202211718513.7A CN202211718513A CN116227677A CN 116227677 A CN116227677 A CN 116227677A CN 202211718513 A CN202211718513 A CN 202211718513A CN 116227677 A CN116227677 A CN 116227677A
Authority
CN
China
Prior art keywords
climbing
photovoltaic
power
prediction
photovoltaic power
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.)
Pending
Application number
CN202211718513.7A
Other languages
Chinese (zh)
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.)
Zhejiang University of Technology ZJUT
Original Assignee
Zhejiang University of Technology ZJUT
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 Zhejiang University of Technology ZJUT filed Critical Zhejiang University of Technology ZJUT
Priority to CN202211718513.7A priority Critical patent/CN116227677A/en
Publication of CN116227677A publication Critical patent/CN116227677A/en
Pending legal-status Critical Current

Links

Images

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06QINFORMATION AND COMMUNICATION TECHNOLOGY [ICT] SPECIALLY ADAPTED FOR ADMINISTRATIVE, COMMERCIAL, FINANCIAL, MANAGERIAL OR SUPERVISORY PURPOSES; SYSTEMS OR METHODS SPECIALLY ADAPTED FOR ADMINISTRATIVE, COMMERCIAL, FINANCIAL, MANAGERIAL OR SUPERVISORY PURPOSES, NOT OTHERWISE PROVIDED FOR
    • G06Q10/00Administration; Management
    • G06Q10/04Forecasting or optimisation specially adapted for administrative or management purposes, e.g. linear programming or "cutting stock problem"
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06QINFORMATION AND COMMUNICATION TECHNOLOGY [ICT] SPECIALLY ADAPTED FOR ADMINISTRATIVE, COMMERCIAL, FINANCIAL, MANAGERIAL OR SUPERVISORY PURPOSES; SYSTEMS OR METHODS SPECIALLY ADAPTED FOR ADMINISTRATIVE, COMMERCIAL, FINANCIAL, MANAGERIAL OR SUPERVISORY PURPOSES, NOT OTHERWISE PROVIDED FOR
    • G06Q50/00Information and communication technology [ICT] specially adapted for implementation of business processes of specific business sectors, e.g. utilities or tourism
    • G06Q50/06Energy or water supply
    • YGENERAL TAGGING OF NEW TECHNOLOGICAL DEVELOPMENTS; GENERAL TAGGING OF CROSS-SECTIONAL TECHNOLOGIES SPANNING OVER SEVERAL SECTIONS OF THE IPC; TECHNICAL SUBJECTS COVERED BY FORMER USPC CROSS-REFERENCE ART COLLECTIONS [XRACs] AND DIGESTS
    • Y04INFORMATION OR COMMUNICATION TECHNOLOGIES HAVING AN IMPACT ON OTHER TECHNOLOGY AREAS
    • Y04SSYSTEMS INTEGRATING TECHNOLOGIES RELATED TO POWER NETWORK OPERATION, COMMUNICATION OR INFORMATION TECHNOLOGIES FOR IMPROVING THE ELECTRICAL POWER GENERATION, TRANSMISSION, DISTRIBUTION, MANAGEMENT OR USAGE, i.e. SMART GRIDS
    • Y04S10/00Systems supporting electrical power generation, transmission or distribution
    • Y04S10/50Systems or methods supporting the power network operation or management, involving a certain degree of interaction with the load-side end user applications

Landscapes

  • Business, Economics & Management (AREA)
  • Engineering & Computer Science (AREA)
  • Economics (AREA)
  • Human Resources & Organizations (AREA)
  • Strategic Management (AREA)
  • Theoretical Computer Science (AREA)
  • Physics & Mathematics (AREA)
  • Health & Medical Sciences (AREA)
  • Marketing (AREA)
  • General Physics & Mathematics (AREA)
  • General Business, Economics & Management (AREA)
  • Tourism & Hospitality (AREA)
  • Quality & Reliability (AREA)
  • Game Theory and Decision Science (AREA)
  • Operations Research (AREA)
  • Development Economics (AREA)
  • Entrepreneurship & Innovation (AREA)
  • Public Health (AREA)
  • Water Supply & Treatment (AREA)
  • General Health & Medical Sciences (AREA)
  • Primary Health Care (AREA)
  • Supply And Distribution Of Alternating Current (AREA)
  • Management, Administration, Business Operations System, And Electronic Commerce (AREA)

Abstract

The invention belongs to the field of new energy grid-connected consumption, and discloses a power prediction correction method considering the climbing characteristic of photovoltaic power, which comprises the following steps: acquiring historical photovoltaic power data and meteorological factors, preprocessing, and extracting photovoltaic power climbing characteristics by using a climbing characteristic calculation formula; building an EOF-OPTICS clustering model based on the climbing characteristic to cluster the historical photovoltaic power generation power; carrying out photovoltaic power prediction on the clustering subset by using a RMSprop-QWEGRU photovoltaic prediction model; calculating a prediction error of a climbing section of the photovoltaic power generation power; and predicting future photovoltaic power by using a RMSprop-QWEGRU photovoltaic prediction model, mapping historical photovoltaic prediction errors to future photovoltaic predictions by using a shape DTW similarity measurement method, and carrying out error correction of corresponding time periods. The method can improve the accuracy of photovoltaic power climbing section prediction and provide technical support for stable operation of the power grid.

Description

Power prediction correction method considering photovoltaic power climbing characteristics
Technical Field
The invention belongs to the field of new energy grid-connected consumption, and particularly relates to a power prediction correction method considering the climbing characteristic of photovoltaic power.
Background
With the rapid development of economy, the phenomenon of energy shortage, environmental deterioration and the like is generally presented worldwide. In this background, the development of new energy sources represented by photovoltaics has been coming into the spotlight. The photovoltaic climbing phenomenon means that when the weather changes due to day-night conversion and short-term environment, the photovoltaic output power rises or falls greatly in a short time. Along with the continuous increase of the photovoltaic grid-connected capacity, the influence of the photovoltaic climbing phenomenon on the stability of the power grid and the quality of output electric energy is larger and larger, so that the accurate prediction of the photovoltaic power climbing phenomenon has important significance on the stability and the safe operation of the power grid.
At present, the photovoltaic climbing power prediction method is mainly divided into a direct prediction method and an indirect prediction method. The method for directly predicting the climbing event carries out the climbing prediction through the environmental variable, and is visual and has a certain accuracy. However, as the photovoltaic power climbing event is a small probability event, the number and quality of training samples of the direct prediction method model are often limited, and the prediction effect of the model is also often poor. While the main stream indirect method can improve the prediction accuracy by improving the prediction model and the prediction method, the indirect method has the problems of error accumulation, climbing, missing report and the like due to the introduction of power prediction. Therefore, how to improve the prediction model and the method has important significance for improving the effect of the photovoltaic power generation power climbing prediction.
Disclosure of Invention
Aiming at the defects of the prior art, the invention provides a power prediction correction method considering the characteristics of photovoltaic climbing, which aims to improve the accuracy of predicting the photovoltaic power climbing section by carrying out characteristic analysis on historical photovoltaic climbing data and feeding back a prediction error to a power prediction model according to the characteristics, and provides technical support for reducing the adverse effect of photovoltaic climbing on a power grid.
In order to solve the technical problems, the invention provides the following technical scheme:
a power prediction correction method taking into account characteristics of a photovoltaic power ramp, the method comprising the steps of:
step 1, acquiring historical photovoltaic power data, and processing the original data into a standard data format;
the processed data comprise historical photovoltaic power and air condition influence factors, power climbing characteristics are extracted according to a climbing characteristic calculation formula optimized by utilizing the historical photovoltaic power, and the climbing characteristics comprise climbing points P i ' amplitude of power change ΔP r (t), a power change rate R (t), a climbing occurrence probability O (t);
step 2, an EOF-OPTICS clustering model is established to cluster the climbing characteristics of the photovoltaic power, and a subset under different climbing characteristics is obtained;
step 3, training and predicting the divided subsets by using an RMSprop-QWEGRU photovoltaic prediction model to obtain power prediction results of all the sub-clusters;
step 4, calculating the errors of the predicted value and the true value under each subgroup based on the training result of each cluster, and calculating an error rate time sequence by using the predicted result and the true value;
and 5, carrying out error correction on the photovoltaic power generation power prediction result by using the prediction error rate.
Further, in the step 1, the following climbing features are extracted using a climbing feature calculation formula: amplitude of change in power ΔP r (t) wherein ΔP r (t) > 0 is climbing up, ΔP r (t) < 0 is a downhill climb, a power change rate R (t), a climbing occurrence probability O (t),
Figure BDA0004028056750000021
ΔP r (t)=P i+Δi '[t,Δt]-P i '[t,Δt]>P ε
P ε =ηP d
Figure BDA0004028056750000022
Figure BDA0004028056750000031
wherein: p (P) i ' is the climbing point, through
Figure BDA0004028056750000032
Determining, P t For the power value of the climbing point, i is a data point in delta t time, delta i is a time interval of the data point, t is the climbing starting time, delta t is the climbing duration, and P ε To be climbing threshold value, P d For the photovoltaic installed capacity, eta is the climbing threshold value to occupy the percentage of the installed capacity, and the optimized parameter combination < omega, lambda > is the sigmoid function linearity and the threshold value.
Further, in the step 2, the step of reconstructing the characteristic space of the photovoltaic power climbing characteristic by using the empirical orthogonal function EOF specifically includes: normalizing the photovoltaic power data characteristics, and constructing a matrix X from the processed data m×n Wherein m is a feature dimension and n is a time series; solving principal components of original photovoltaic data space eigenvectors
Figure BDA0004028056750000033
Obtaining the main component of the characteristic vector of the original photovoltaic power generation data, wherein +.>
Figure BDA0004028056750000034
Is the transpose of the eigenvector matrix; solving the variance contribution rate of the kth eigenvector>
Figure BDA0004028056750000035
Wherein lambda is a characteristic value sequence (lambda 1 ,…,λ m ) And (lambda) 1 >λ 2 >…>λ m ) By sequentially applying the first n items K i Summing to obtain a feature vector space which can best embody the original feature relation, and reconstructing a feature matrix to obtain a photovoltaic sample set R o×n Where o is the most capable of representing the originalFeature numbers of the feature relationships;
the method for establishing the OPTICS cluster model based on the reconstructed feature matrix with higher correlation coefficient obtained by the EOF algorithm comprises the following specific steps: first calculate a set of photovoltaic samples R o×n Core distance of each sample point:
Figure BDA0004028056750000036
calculating the reachable distance between the core sample and the neighbor point y of the sample:
Figure BDA0004028056750000037
wherein y, r.epsilon.R { R 1 ,r 2 ,…,r m -a }; epsilon represents the input parameter neighborhood; minPts represents the number of input judgment core object samples; n (N) ε (R) is the number of sample sets in the sample set R having a distance from the sample point R of not more than ε;
Figure BDA0004028056750000038
for representing the set N ε An ith node of (r) closest to node r; the distances among the samples are Euclidean metrics according to the characteristics;
traversing the sample set R to obtain a core photovoltaic data sample object set omega, processing neighbor points in sequence from small to large according to the reachable distance of the core objects, and if the rest core objects exist in the neighbor point set, preferentially processing the core objects and the neighbor points of the core objects; the result is an ordered list { p } of the photovoltaic sample set 1 ,p 2 ,…,p N P, where i The node sequence number is the node sequence number processed for the ith time; core distance { c of sample node 1 ,c 2 ,…,c N -a }; reachable distance { rd for sample nodes 1 ,rd 2 ,…,rd N Finally, clustering is completed according to the ordered list set P to obtain a subset { S }, wherein the subset { S } 1 ,S 2 ,…,S m }。
Further, the saidIn step 3, an empirical orthogonal function EOF is used to reconstruct a feature space for features with higher correlation coefficients, and the specific steps include: the original photovoltaic data is randomly divided into a training set and a testing set after normalization, and a RMSprop-QWGRU photovoltaic prediction neural network is trained, wherein the QWGRU is a quantum weighting gating circulating unit, and the QWGRU inputs photovoltaic signs of the testing set
Figure BDA0004028056750000041
The output layer is photovoltaic power generation power +.>
Figure BDA0004028056750000042
The hidden layer is
Figure BDA0004028056750000043
The neuron parameters comprise an input x m Weights |phi of (2) m >Neuronal Quantum Activity value->
Figure BDA0004028056750000049
The relation between the aggregation operator sigma, the activation function F and the excitation function F, and the input photovoltaic sign matrix and the output predicted photovoltaic power generation power is expressed as follows:
Figure BDA0004028056750000044
wherein, the F activation function is inner product operation; phi m >=[cosα m ,sinα m ] T ,α m Is of the value of phi m >Is a phase of (2);
Figure BDA0004028056750000045
beta is->
Figure BDA0004028056750000046
Is a phase of (2); alpha i Is of the value of phi i >Is a phase of (2); x is x i Is the input of neurons; m is the neuron input number;
the QWGUR parameters are adjusted through an RMSprop self-adaptive learning rate optimization algorithm, and a loss function is defined:
Figure BDA0004028056750000047
wherein o is i As predicted value, y i Is a true value, and N is a group of data number;
through type son
Figure BDA0004028056750000048
Updating parameters of neuron, in which Eg 2 ] r =0.9E[g 2 ] t-1 +0.1g t ⊙g t Meaning a gradient squared weighted average and as a gradient scaling factor; the product of Hadamard is expressed as the multiplication of the corresponding position elements of the matrix; gamma is 1e-6; gradient->
Figure BDA0004028056750000051
Meaning that the loss function L (f (x; θ) t ) Y) about theta t Is a derivative of (2); θ t To the neuron parameters that need to be optimized; η is the learning rate.
Further, in the step 5, a time series correspondence f is calculated Tsc The method comprises the following specific steps: s is selected by using shape DTW similarity measurement method i Representative elements in the subset
Figure BDA0004028056750000052
Calculation of +.about.using shape DTW method>
Figure BDA0004028056750000053
Time-series correspondence f with power prediction curve FCST (t) Tsc The method comprises the steps of carrying out a first treatment on the surface of the The ShapeDTW measures the similarity between photovoltaic power curves, firstly, the euclidean distance is used for measuring the similarity between sequence shape descriptors d, so that the corresponding relation between two photovoltaic power time sequences is obtained, and Ji Guangfu power time sequences are realized; where d= (d 1 ,d 2 ,…d L ) T ,d i ∈R m ,d=F(S)=(F(s 1 ),F(s 2 ),…,F(s L )) T The shape descriptor computation function F takes the form of a derivative, i.e. for the raw power data s i Taking a first derivative with respect to time;
error rate sigma of prediction of subset i The sequence is according to the corresponding relation f Tsc Mapping to a target time-of-day sequence, comprising the following specific steps: determining a climbing time period by comparing the difference value of the power of adjacent climbing points of the power prediction curve FCST (t) in the delta t time with the set threshold delta, and recording the climbing starting time t begin Climbing end time t end The method comprises the steps of carrying out a first treatment on the surface of the FCST (t) and representative element prediction by photovoltaic generation power
Figure BDA0004028056750000054
Time series correspondence f between Tsc Calculation of the photovoltaic power prediction bias σ (t) =0.15 σ, eventually used to correct the moment t, using a weighted moving average error i (f Tsc (t)-1)+0.7σ i (f Tsc (t))+0.15σ i (f Tsc (t) +1), where t ε (t) begin ,t end ) The method comprises the steps of carrying out a first treatment on the surface of the Performing error correction on FCST (t), and finally predicting result +.>
Figure BDA0004028056750000055
Compared with the prior art, the invention has the beneficial effects that:
1) According to the invention, an optimized climbing characteristic calculation formula is established, the photovoltaic power climbing characteristic calculation accuracy is improved, and the problem of missing detection of the photovoltaic power climbing characteristic is solved;
2) According to the invention, an EOF-OPTICS clustering method is used for clustering historical photovoltaic data based on climbing features and photovoltaic features, an EOF algorithm can extract the features with the maximum correlation coefficient with photovoltaic power climbing, and the OPTICS method is classified based on density, wherein clusters with smaller density can be ignored, uncertainty factors influencing photovoltaic power climbing can be further reduced, and clustering results can better reflect the climbing features of the historical data;
3) According to the method, an RMSprop-QWEGRU prediction model is established, historical photovoltaic data is used for training and prediction, a prediction error rate is fed back to a prediction result according to sequence feature similarity, error correction is carried out on a photovoltaic power climbing section with high instability and difficult predictability, the accuracy of photovoltaic power prediction is further improved, and the problem that photovoltaic power climbing is difficult to predict is solved;
4) The invention uses a shape DTW method to calculate the similarity and time sequence corresponding relation between the sub-cluster representative data and the predicted target, maps the predicted climbing period of the target photovoltaic power to the power prediction error rate of the historical data subset according to the time point of the time sequence corresponding relation, and takes the weighted moving average as the final correction error rate; the method can effectively reduce the influence of noise points of the photovoltaic historical data, and can perform error rate feedback more accurately compared with a direct correspondence method.
Drawings
Fig. 1 is a flowchart of an overall power prediction correction method considering the climbing characteristic of photovoltaic power.
Detailed Description
The invention is further described below with reference to the accompanying drawings.
As shown in fig. 1, a power prediction correction method considering the climbing characteristic of photovoltaic power includes the following steps:
step 1, acquiring historical photovoltaic power generation power data and environmental impact factors, wherein a data set comprises photovoltaic power generation power, solar irradiation intensity, environmental temperature, environmental humidity, wind speed, weather conditions and other weather impact factors at corresponding moments, carrying out quantization treatment on the weather conditions (0 for rainy days, 0.5 for cloudy days and 1 for sunny days), deleting abnormal data and non-power output time period data, and finally obtaining the data set: historical photovoltaic Power { P (t) } (t=1,2,3…T) P (t) is the photovoltaic power at time t; n=5 weather influencing factors { F n (t)} (t=1,2,3…T)(n=1,2,3…N) ,F n And (t) the nth type environmental impact factor data at the moment t.
Extracting the following photovoltaic climbing characteristics by using an optimized climbing characteristic calculation formula: amplitude of change in power ΔP r (t) whereinΔP r (t) > 0 is climbing up, ΔP r (t) < 0 is downhill climbing; a power change rate R (t); the probability of occurrence of climbing O (t),
Figure BDA0004028056750000071
ΔP r (t)=P i+Δi '[t,Δt]-P i '[t,Δt]>P ε
P ε =ηP d
Figure BDA0004028056750000072
Figure BDA0004028056750000073
wherein: p (P) i ' is the climbing point, i is the data point in delta t time, delta i is the time interval of the data point, t is the climbing starting time, delta t is the climbing duration, the value is the difference of the time greater than the threshold power change period, and P ε To be climbing threshold value, P d For the photovoltaic installed capacity, eta is the percentage of the installed capacity occupied by the climbing threshold value, and the parameter combination is optimized<ω,λ>The linearity of the sigmoid function and the threshold installed capacity coefficient are respectively determined by an Adam parameter optimizing method, and in the embodiment, delta i is 1h and P d 5kW, 10% lambda and 0.01% omega;
and 2, establishing an EFO-OPTICS clustering model according to the extracted climbing characteristics to cluster the photovoltaic power generation of each time node, so as to obtain subsets under different climbing characteristics. The EFO-OPTICS clustering model is a model based on density clustering of a data set based on data characteristics processed by an empirical orthogonal function EOF algorithm. Firstly, reconstructing a component feature space for features with higher correlation coefficients by using an empirical orthogonal function EOF: normalizing the photovoltaic power data characteristics, and constructing a matrix X from the processed data m×n Wherein m is a feature dimension, n is a time sequence, and X is calculated m×n Covariance of (2)Matrix array
Figure BDA0004028056750000074
Eigenvalue (lambda) 1 ,…,λ m ) And (lambda) 1 >λ 2 >…>λ m ) And eigenvector matrix V m×n . Solving->
Figure BDA0004028056750000075
Obtaining the main component of the characteristic vector of the original photovoltaic power generation data, wherein +.>
Figure BDA0004028056750000076
Is the transpose of the eigenvector matrix; solving the variance contribution rate of the kth eigenvector>
Figure BDA0004028056750000081
For the first n items K in turn i Summing, when K i Finishing accumulation when the accumulated value is more than 90%, extracting the characteristics participating in accumulation, and reconstructing a characteristic matrix R o×n Where o is the feature number that best embodies the original feature relationship.
Based on the reconstructed feature matrix R o×n And establishing an OPTICS clustering model, and dividing the original data set into n classes based on the characteristics and m outliers. Calculating a sample set R o×n Core distance of each sample point:
Figure BDA0004028056750000082
calculating the reachable distance of the core sample:
Figure BDA0004028056750000083
wherein y, r.epsilon.R { R 1 ,r 2 ,…,r m -a }; epsilon represents the neighborhood of the input parameters, the range is (0, o); minPts represents the number of input judgment core object samples, and is set according to the epsilon value, and the range is (0, n-1); n (N) ε (R) is the distance from the sample point R in the sample set RA number of sample sets no greater than ε apart;
Figure BDA0004028056750000084
for representing the set N ε An ith node of (r) closest to node r; d () is the euclidean metric distance between samples according to the features.
Firstly traversing a sample set R to obtain a core photovoltaic data sample object set omega, processing neighbor points in sequence from small to large according to the reachable distance of the core objects, and if the rest core objects exist in the neighbor point set, preferentially processing the core objects and the neighbor points of the core objects. Obtaining an ordered list set P= { P of the sample set 1 ,p 2 ,…,p N P, where i The node sequence number is the node sequence number processed for the ith time; core distance { c of sample node 1 ,c 2 ,…,c N -a }; reachable distance { rd for sample nodes 1 ,rd 2 ,…,rd N Finally, clustering is completed according to the ordered list set P to obtain a subset { S }, wherein the subset { S } 1 ,S 2 ,…,S m }。
And 3, respectively training and predicting the divided subsets by using an RMSprop-QWEGRU photovoltaic prediction model to obtain power prediction results of all the sub-clusters. The RMSprop-QWGRU photovoltaic prediction model is a quantum weighted gating circulating unit neural network, an input signal quantum weighting processing mechanism is introduced into the neural network on the basis of a GUR gating circulating unit, and a RMSprop optimization algorithm is used for optimizing quantum neural network parameters. The original photovoltaic data is randomly divided into a training set and a testing set according to subsets after normalization, and the QWERU photovoltaic prediction neural network inputs the photovoltaic signs of the testing set
Figure BDA0004028056750000091
The output layer is photovoltaic power generation power +.>
Figure BDA0004028056750000092
The hidden layer is
Figure BDA0004028056750000093
Neuron parameters include inputsx m Weights |phi of (2) m >Neuronal Quantum Activity value->
Figure BDA0004028056750000094
The relation between the aggregation operator sigma, the activation function F and the excitation function F, and the input photovoltaic sign matrix and the output predicted photovoltaic power generation power is expressed as follows:
Figure BDA0004028056750000095
wherein, the F activation function is inner product operation; phi m >=[cosα m ,sinα m ] T ,α m Is of the value of phi m >Is a phase of (2);
Figure BDA0004028056750000096
beta is->
Figure BDA0004028056750000097
Is a phase of (a) of (b).
RMSprop defines a loss function for the adaptive learning rate parameter optimization algorithm:
Figure BDA0004028056750000098
wherein o is i As predicted value, y i For a true value, N is a set of data numbers, which may be set to 30, 50, 100, etc. according to the original data.
Through type son
Figure BDA0004028056750000099
Updating parameters of neuron, in which Eg 2 ] t =0.9E[g 2 ] t-1 +0.1g t ⊙g t Meaning a gradient squared weighted average and as a gradient scaling factor; gamma is 1e-6; gradient of
Figure BDA00040280567500000910
Meaning loss ofLoss function L (f (x; θ) t ) Y) about theta t Is a derivative of (2); θ t To the neuron parameters that need to be optimized; η is the learning rate.
And 4, calculating errors of the predicted value and the true value of the subgroup based on training results of the clusters. The subset of partitions { S } is divided into subsets using a trained RMSprop-QWEGRU photovoltaic prediction model 1 ,S 2 ,…,S m Power prediction for test set in subset i prediction result
Figure BDA00040280567500000911
n is the number of samples contained in subset i. The predicted value and the true value
Figure BDA00040280567500000912
Comparing and calculating error rate time series +.>
Figure BDA00040280567500000913
Sequentially solving for sigma for the subset to obtain { sigma ] 1 (t),σ 2 (t),…,σ m (t)}。
And step 5, carrying out error correction on the photovoltaic power generation power prediction result by using the prediction error rate. Adopting a RMSprop-QWEGRU photovoltaic power prediction model to predict future power value as { FCST (t) } based on original historical data (t=1,2,3…T) Extracting climbing features by utilizing an optimized climbing feature formula, and classifying a prediction target into a subset sequence { S } by using an EFO-DBSCAN cluster model based on the extracted climbing features 1 ,S 2 ,…,S m In the }, classify the subset S i S is selected by using shape DTW similarity measurement method i Representative elements in the subset
Figure BDA0004028056750000101
Calculation of +.about.using shape DTW method>
Figure BDA0004028056750000102
A time-series correspondence f between FCST (t), and the prediction error rate sigma of the subset i The sequence is mapped to a target time sequence of day according to the corresponding relation f, and the climbing time period is calculatedError correction is carried out on the predicted value, and finally a photovoltaic power predicted result { R (t) } is obtained (t=1,2,3…T)
ShapeDTW measures the similarity between the sequence shape descriptors d by using euclidean distances, thereby deriving the correspondence between the two photovoltaic power time series, and realizing the Ji Guangfu power time series. Where d= (d 1 ,d 2 ,…d L ) T ,d i ∈R m ,d=F(S)=(F(s 1 ),F(s 2 ),…,F(s L )) T The shape descriptor computation function F takes the form of a derivative, i.e. for the raw power data s i The first derivative is derived with respect to time.
Determining a climbing time period by comparing the difference value of the power of adjacent climbing points of the power prediction curve FCST (t) in the delta t time with the set threshold delta, and recording the climbing starting time t begin Climbing end time t end . FCST (t) and representative element by power prediction
Figure BDA0004028056750000103
The time series correspondence relation f is finally used for correcting the photovoltaic power prediction deviation sigma (t) =0.15 sigma at the moment t by using weighted moving average error calculation i (f(t)-1)+0.7σ i (f(t))+0.15σ i (f (t) +1), where t.epsilon.t begin ,t end ). For FCST (t) Error correction is carried out to obtain a final prediction result +.>
Figure BDA0004028056750000104
Finally, it should be noted that this patent is a power prediction correction method taking into account the characteristics of the photovoltaic climbing, and the above list is only one specific embodiment of the present invention, and obviously, the present invention is not limited to the above examples, but many variations are possible. All modifications directly derived or suggested to one skilled in the art from the present disclosure should be considered as being within the scope of the present invention.

Claims (5)

1. A power prediction correction method taking into account the characteristics of a photovoltaic power ramp, the method comprising the steps of:
step 1, acquiring historical photovoltaic power data, and processing the original data into a standard data format;
the processed data comprise historical photovoltaic power and air condition influence factors, power climbing characteristics are extracted according to a climbing characteristic calculation formula optimized by utilizing the historical photovoltaic power, and the climbing characteristics comprise climbing points P i ' amplitude of power change ΔP r (t), a power change rate R (t), a climbing occurrence probability O (t);
step 2, an EOF-OPTICS clustering model is established to cluster the climbing characteristics of the photovoltaic power, and a subset under different climbing characteristics is obtained;
step 3, training and predicting the divided subsets by using an RMSprop-QWEGRU photovoltaic prediction model to obtain power prediction results of all the sub-clusters;
step 4, calculating the errors of the predicted value and the true value under each subgroup based on the training result of each cluster, and calculating an error rate time sequence by using the predicted result and the true value;
and 5, carrying out error correction on the photovoltaic power generation power prediction result by using the prediction error rate.
2. The power prediction correction method considering the climbing characteristics of the photovoltaic power according to claim 1, wherein in the step 1, the following climbing characteristics are extracted using a climbing characteristic calculation formula: amplitude of change in power ΔP r (t) wherein ΔP r (t) > 0 is climbing up, ΔP r (t) < 0 is a downhill climb, a power change rate R (t), a climbing occurrence probability O (t),
Figure FDA0004028056740000011
ΔP r (t)=P i+Δi '[t,Δt]-P i '[t,Δt]>P ε
P ε =ηP d
Figure FDA0004028056740000021
Figure FDA0004028056740000022
wherein: p (P) i ' is the climbing point, pass P i ':
Figure FDA0004028056740000023
Determining, P t For the power value of the climbing point, i is a data point in delta t time, delta i is a time interval of the data point, t is the climbing starting time, delta t is the climbing duration, and P ε To be climbing threshold value, P d For the photovoltaic installed capacity, eta is the percentage of the installed capacity occupied by the climbing threshold value, and the parameter combination is optimized<ω,λ>The sigmoid function linearity and the threshold degree, respectively.
3. The power prediction correction method considering the climbing characteristic of the photovoltaic power according to claim 1, wherein in the step 2, the characteristic space is reconstructed by using the empirical orthogonal function EOF to reconstruct the climbing characteristic of the photovoltaic power, and the specific steps include: normalizing the photovoltaic power data characteristics, and constructing a matrix X from the processed data m×n Wherein m is a feature dimension and n is a time series; solving principal components of original photovoltaic data space eigenvectors
Figure FDA0004028056740000024
Obtaining the main component of the characteristic vector of the original photovoltaic power generation data, wherein +.>
Figure FDA0004028056740000025
Is the transpose of the eigenvector matrix; solving the variance contribution rate of the kth eigenvector>
Figure FDA0004028056740000026
Wherein lambda is a characteristic value sequence (lambda 1 ,…,λ m ) And (lambda) 1 >λ 2 >…>λ m ) By sequentially applying the first n items K i Summing to obtain a feature vector space which can best embody the original feature relation, and reconstructing a feature matrix to obtain a photovoltaic sample set R o×n Wherein o is a feature number which can best embody the original feature relation;
the method for establishing the OPTICS clustering model based on the reconstructed feature matrix obtained by the EOF algorithm comprises the following specific steps: first calculate a set of photovoltaic samples R o×n Core distance of each sample point:
Figure FDA0004028056740000027
calculating the reachable distance between the core sample and the neighbor point y of the sample:
Figure FDA0004028056740000028
wherein y, r.epsilon.R { R 1 ,r 2 ,…,r m -a }; epsilon represents the input parameter neighborhood; minPts represents the number of input judgment core object samples; n (N) ε (R) is the number of sample sets in the sample set R having a distance from the sample point R of not more than ε;
Figure FDA0004028056740000031
for representing the set N ε An ith node of (r) closest to node r; the distances among the samples are Euclidean metrics according to the characteristics;
traversing the sample set R to obtain a core photovoltaic data sample object set omega, processing neighbor points in sequence from small to large according to the reachable distance of the core objects, and if the rest core objects exist in the neighbor point set, preferentially processing the core objects and the neighbor points of the core objects; the result is an ordered list { p } of the photovoltaic sample set 1 ,p 2 ,…,p N P, where i For the ith timeA processed node sequence number; core distance { c of sample node 1 ,c 2 ,…,c N -a }; reachable distance { rd for sample nodes 1 ,rd 2 ,…,rd N Finally, clustering is completed according to the ordered list set P to obtain a subset { S }, wherein the subset { S } 1 ,S 2 ,…,S m }。
4. The power prediction correction method considering the climbing characteristic of the photovoltaic power according to claim 1, wherein in the step 3, the feature space is formed by reconstructing the feature by using an empirical orthogonal function EOF, and the specific steps include: the original photovoltaic data is randomly divided into a training set and a testing set after normalization, and a RMSprop-QWGRU photovoltaic prediction neural network is trained, wherein the QWGRU is a quantum weighting gating circulating unit, and the QWGRU inputs photovoltaic signs of the testing set
Figure FDA0004028056740000032
The output layer is photovoltaic power generation power +.>
Figure FDA0004028056740000033
The hidden layer is->
Figure FDA0004028056740000034
The neuron parameters comprise an input x m Weights |phi of (2) m >Neuronal Quantum Activity value->
Figure FDA0004028056740000035
The relation between the aggregation operator sigma, the activation function F and the excitation function F, and the input photovoltaic sign matrix and the output predicted photovoltaic power generation power is expressed as follows:
Figure FDA0004028056740000036
wherein, the F activation function is inner product operation; phi m >=[cosα m ,sinα m ] T ,α m Is of the value of phi m >Is a phase of (2);
Figure FDA0004028056740000037
beta is->
Figure FDA0004028056740000038
Is a phase of (2); alpha i Is of the value of phi i >Is a phase of (2); x is x i Is the input of neurons; m is the neuron input number;
the QWGUR parameters are adjusted through an RMSprop self-adaptive learning rate optimization algorithm, and a loss function is defined:
Figure FDA0004028056740000041
wherein o is i As predicted value, y i Is a true value, and N is a group of data number;
through type son
Figure FDA0004028056740000042
Updating parameters of neuron, in which Eg 2 ] t =0.9E[g 2 ] t-1 +0.1g t ⊙g t Meaning a gradient squared weighted average and as a gradient scaling factor; the product of Hadamard is expressed as the multiplication of the corresponding position elements of the matrix; gamma is 1e-6; gradient->
Figure FDA0004028056740000043
Meaning that the loss function L (f (x; θ) t ) Y) about theta t Is a derivative of (2); θ t To the neuron parameters that need to be optimized; η is the learning rate.
5. The power prediction correction method considering the climbing characteristic of the photovoltaic power according to claim 1, wherein in the step 5, a time series correspondence f is calculated Tsc The method comprises the following specific steps: s is selected by using shape DTW similarity measurement method i Representative elements in the subset
Figure FDA0004028056740000044
Calculation of +.about.using shape DTW method>
Figure FDA0004028056740000045
Time-series correspondence f with power prediction curve FCST (t) Tsc The method comprises the steps of carrying out a first treatment on the surface of the The ShapeDTW measures the similarity between photovoltaic power curves, firstly, the euclidean distance is used for measuring the similarity between sequence shape descriptors d, so that the corresponding relation between two photovoltaic power time sequences is obtained, and Ji Guangfu power time sequences are realized; where d= (d 1 ,d 2 ,…d L ) T ,d i ∈R m ,d=F(S)=(F(s 1 ),F(s 2 ),…,F(s L )) T The shape descriptor computation function F takes the form of a derivative, i.e. for the raw power data s i Taking a first derivative with respect to time;
error rate sigma of prediction of subset i The sequence is according to the corresponding relation f Tsc Mapping to a target time-of-day sequence, comprising the following specific steps: determining a climbing time period by comparing the difference value of the power of adjacent climbing points of the power prediction curve FCST (t) in the delta t time with the set threshold delta, and recording the climbing starting time t begin Climbing end time t end The method comprises the steps of carrying out a first treatment on the surface of the FCST (t) and representative element prediction by photovoltaic generation power
Figure FDA0004028056740000046
Time series correspondence f between Tsc Calculation of the photovoltaic power prediction bias σ (t) =0.15 σ, eventually used to correct the moment t, using a weighted moving average error i (f Tsc (t)-1)+0.7σ i (f Tsc (t))+0.15σ i (f Tsc (t) +1), where t ε (t) begin ,t end ) The method comprises the steps of carrying out a first treatment on the surface of the Performing error correction on FCST (t), and finally predicting result +.>
Figure FDA0004028056740000047
/>
CN202211718513.7A 2022-12-29 2022-12-29 Power prediction correction method considering photovoltaic power climbing characteristics Pending CN116227677A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202211718513.7A CN116227677A (en) 2022-12-29 2022-12-29 Power prediction correction method considering photovoltaic power climbing characteristics

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202211718513.7A CN116227677A (en) 2022-12-29 2022-12-29 Power prediction correction method considering photovoltaic power climbing characteristics

Publications (1)

Publication Number Publication Date
CN116227677A true CN116227677A (en) 2023-06-06

Family

ID=86586451

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202211718513.7A Pending CN116227677A (en) 2022-12-29 2022-12-29 Power prediction correction method considering photovoltaic power climbing characteristics

Country Status (1)

Country Link
CN (1) CN116227677A (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN117200200A (en) * 2023-09-06 2023-12-08 国网上海市电力公司 Training method of photovoltaic power prediction model

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN117200200A (en) * 2023-09-06 2023-12-08 国网上海市电力公司 Training method of photovoltaic power prediction model

Similar Documents

Publication Publication Date Title
CN109002915B (en) Photovoltaic power station short-term power prediction method based on Kmeans-GRA-Elman model
CN109063911B (en) Load aggregation grouping prediction method based on gated cycle unit network
CN107766990B (en) Method for predicting power generation power of photovoltaic power station
CN107944622B (en) Wind power prediction method based on continuous time interval clustering
CN111667098B (en) Wind power station output power prediction method based on multi-model combination optimization
CN110909810A (en) Renewable energy short-term prediction method based on data mining and variational modal decomposition
CN114897129A (en) Photovoltaic power station short-term power prediction method based on similar daily clustering and Kmeans-GRA-LSTM
CN112418346B (en) Numerical weather forecast total radiation system error classification calculation method
CN114444378A (en) Short-term power prediction method for regional wind power cluster
CN115481791A (en) Water-wind power generation and power generation combined prediction method, device and equipment
CN111898825A (en) Photovoltaic power generation power short-term prediction method and device
CN114462718A (en) CNN-GRU wind power prediction method based on time sliding window
Varanasi et al. K-means clustering based photo voltaic power forecasting using artificial neural network, particle swarm optimization and support vector regression
CN116702937A (en) Photovoltaic output day-ahead prediction method based on K-means mean value clustering and BP neural network optimization
CN115759389A (en) Day-ahead photovoltaic power prediction method based on weather type similar day combination strategy
CN114118596A (en) Photovoltaic power generation capacity prediction method and device
CN111506868B (en) Ultra-short-term wind speed prediction method based on HHT weight optimization
CN116227677A (en) Power prediction correction method considering photovoltaic power climbing characteristics
CN114676923A (en) Method and device for predicting generated power, computer equipment and storage medium
CN116341613A (en) Ultra-short-term photovoltaic power prediction method based on Informar encoder and LSTM
CN113487064A (en) Photovoltaic power prediction method and system based on principal component analysis and improved LSTM
CN115169742A (en) Short-term wind power generation power prediction method
CN114117852B (en) Regional heat load rolling prediction method based on finite difference working domain division
CN116341728A (en) Ultra-short-term photovoltaic output power prediction method based on data driving
CN116523142A (en) Photovoltaic cluster interval prediction method considering space-time characteristic clustering

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination