CN111697621A - Short-term wind power prediction method based on EWT-PDBN combination - Google Patents
Short-term wind power prediction method based on EWT-PDBN combination Download PDFInfo
- Publication number
- CN111697621A CN111697621A CN202010581545.1A CN202010581545A CN111697621A CN 111697621 A CN111697621 A CN 111697621A CN 202010581545 A CN202010581545 A CN 202010581545A CN 111697621 A CN111697621 A CN 111697621A
- Authority
- CN
- China
- Prior art keywords
- data
- wind power
- prediction
- value
- historical
- 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.)
- Granted
Links
- 238000000034 method Methods 0.000 title claims abstract description 73
- 239000002245 particle Substances 0.000 claims abstract description 58
- 238000010606 normalization Methods 0.000 claims abstract description 26
- 238000012545 processing Methods 0.000 claims abstract description 21
- 238000000354 decomposition reaction Methods 0.000 claims abstract description 12
- 238000012216 screening Methods 0.000 claims abstract description 11
- 238000005516 engineering process Methods 0.000 claims abstract description 7
- 238000007781 pre-processing Methods 0.000 claims abstract description 7
- 230000006870 function Effects 0.000 claims description 64
- 238000012549 training Methods 0.000 claims description 42
- 238000005457 optimization Methods 0.000 claims description 24
- 238000012360 testing method Methods 0.000 claims description 20
- 230000008569 process Effects 0.000 claims description 19
- 210000002569 neuron Anatomy 0.000 claims description 15
- 238000004458 analytical method Methods 0.000 claims description 14
- 238000011156 evaluation Methods 0.000 claims description 14
- 238000004364 calculation method Methods 0.000 claims description 10
- 230000000007 visual effect Effects 0.000 claims description 9
- 230000000694 effects Effects 0.000 claims description 8
- 230000002159 abnormal effect Effects 0.000 claims description 6
- 210000004027 cell Anatomy 0.000 claims description 6
- 230000021615 conjugation Effects 0.000 claims description 6
- 239000011159 matrix material Substances 0.000 claims description 6
- 230000007704 transition Effects 0.000 claims description 6
- 239000013598 vector Substances 0.000 claims description 6
- 238000003672 processing method Methods 0.000 claims description 5
- 238000005070 sampling Methods 0.000 claims description 4
- 238000007476 Maximum Likelihood Methods 0.000 claims description 3
- 230000004913 activation Effects 0.000 claims description 3
- 230000003044 adaptive effect Effects 0.000 claims description 3
- 230000019771 cognition Effects 0.000 claims description 3
- 230000008602 contraction Effects 0.000 claims description 3
- 238000013135 deep learning Methods 0.000 claims description 3
- 238000003062 neural network model Methods 0.000 claims description 3
- 238000000638 solvent extraction Methods 0.000 claims description 3
- 230000006641 stabilisation Effects 0.000 claims description 3
- 238000011105 stabilization Methods 0.000 claims description 3
- 230000001502 supplementing effect Effects 0.000 claims description 3
- 238000010586 diagram Methods 0.000 description 5
- 230000009466 transformation Effects 0.000 description 5
- 238000013528 artificial neural network Methods 0.000 description 3
- 230000008859 change Effects 0.000 description 3
- 238000011161 development Methods 0.000 description 3
- 238000010801 machine learning Methods 0.000 description 2
- 238000012706 support-vector machine Methods 0.000 description 2
- 238000013459 approach Methods 0.000 description 1
- 238000013473 artificial intelligence Methods 0.000 description 1
- 230000003247 decreasing effect Effects 0.000 description 1
- 230000007547 defect Effects 0.000 description 1
- 244000144992 flock Species 0.000 description 1
- 230000019637 foraging behavior Effects 0.000 description 1
- 230000010365 information processing Effects 0.000 description 1
- 230000010354 integration Effects 0.000 description 1
- 230000007774 longterm Effects 0.000 description 1
- 230000035772 mutation Effects 0.000 description 1
- 238000010248 power generation Methods 0.000 description 1
- 230000002441 reversible effect Effects 0.000 description 1
- 238000012795 verification Methods 0.000 description 1
Images
Classifications
-
- H—ELECTRICITY
- H02—GENERATION; CONVERSION OR DISTRIBUTION OF ELECTRIC POWER
- H02J—CIRCUIT ARRANGEMENTS OR SYSTEMS FOR SUPPLYING OR DISTRIBUTING ELECTRIC POWER; SYSTEMS FOR STORING ELECTRIC ENERGY
- H02J3/00—Circuit arrangements for AC mains or AC distribution networks
- H02J3/38—Arrangements for parallely feeding a single network by two or more generators, converters or transformers
- H02J3/381—Dispersed generators
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F18/00—Pattern recognition
- G06F18/20—Analysing
- G06F18/21—Design or setup of recognition systems or techniques; Extraction of features in feature space; Blind source separation
- G06F18/214—Generating training patterns; Bootstrap methods, e.g. bagging or boosting
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06N—COMPUTING ARRANGEMENTS BASED ON SPECIFIC COMPUTATIONAL MODELS
- G06N3/00—Computing arrangements based on biological models
- G06N3/004—Artificial life, i.e. computing arrangements simulating life
- G06N3/006—Artificial life, i.e. computing arrangements simulating life based on simulated virtual individual or collective life forms, e.g. social simulations or particle swarm optimisation [PSO]
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06N—COMPUTING ARRANGEMENTS BASED ON SPECIFIC COMPUTATIONAL MODELS
- G06N3/00—Computing arrangements based on biological models
- G06N3/02—Neural networks
- G06N3/04—Architecture, e.g. interconnection topology
- G06N3/045—Combinations of networks
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06N—COMPUTING ARRANGEMENTS BASED ON SPECIFIC COMPUTATIONAL MODELS
- G06N3/00—Computing arrangements based on biological models
- G06N3/02—Neural networks
- G06N3/08—Learning methods
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06Q—INFORMATION 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/00—Administration; Management
- G06Q10/04—Forecasting or optimisation specially adapted for administrative or management purposes, e.g. linear programming or "cutting stock problem"
-
- H—ELECTRICITY
- H02—GENERATION; CONVERSION OR DISTRIBUTION OF ELECTRIC POWER
- H02J—CIRCUIT ARRANGEMENTS OR SYSTEMS FOR SUPPLYING OR DISTRIBUTING ELECTRIC POWER; SYSTEMS FOR STORING ELECTRIC ENERGY
- H02J2300/00—Systems for supplying or distributing electric power characterised by decentralized, dispersed, or local generation
- H02J2300/20—The dispersed energy generation being of renewable origin
- H02J2300/28—The renewable source being wind energy
-
- Y—GENERAL 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
- Y02—TECHNOLOGIES OR APPLICATIONS FOR MITIGATION OR ADAPTATION AGAINST CLIMATE CHANGE
- Y02A—TECHNOLOGIES FOR ADAPTATION TO CLIMATE CHANGE
- Y02A30/00—Adapting or protecting infrastructure or their operation
-
- Y—GENERAL 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
- Y02—TECHNOLOGIES OR APPLICATIONS FOR MITIGATION OR ADAPTATION AGAINST CLIMATE CHANGE
- Y02E—REDUCTION OF GREENHOUSE GAS [GHG] EMISSIONS, RELATED TO ENERGY GENERATION, TRANSMISSION OR DISTRIBUTION
- Y02E10/00—Energy generation through renewable energy sources
- Y02E10/70—Wind energy
- Y02E10/76—Power conversion electric or electronic aspects
Landscapes
- Engineering & Computer Science (AREA)
- Theoretical Computer Science (AREA)
- Physics & Mathematics (AREA)
- Data Mining & Analysis (AREA)
- General Physics & Mathematics (AREA)
- Life Sciences & Earth Sciences (AREA)
- Artificial Intelligence (AREA)
- General Engineering & Computer Science (AREA)
- Evolutionary Computation (AREA)
- Molecular Biology (AREA)
- Computing Systems (AREA)
- Business, Economics & Management (AREA)
- Software Systems (AREA)
- Health & Medical Sciences (AREA)
- Biomedical Technology (AREA)
- Biophysics (AREA)
- Computational Linguistics (AREA)
- General Health & Medical Sciences (AREA)
- Mathematical Physics (AREA)
- Strategic Management (AREA)
- Economics (AREA)
- Human Resources & Organizations (AREA)
- Evolutionary Biology (AREA)
- Entrepreneurship & Innovation (AREA)
- Development Economics (AREA)
- Power Engineering (AREA)
- Game Theory and Decision Science (AREA)
- Bioinformatics & Computational Biology (AREA)
- Bioinformatics & Cheminformatics (AREA)
- Computer Vision & Pattern Recognition (AREA)
- Marketing (AREA)
- Operations Research (AREA)
- Quality & Reliability (AREA)
- Tourism & Hospitality (AREA)
- General Business, Economics & Management (AREA)
- Management, Administration, Business Operations System, And Electronic Commerce (AREA)
Abstract
The invention provides a short-term wind power prediction method based on an EWT-PDBN combination, which comprises the following steps: A. collecting numerical weather forecast data and historical wind power data of a wind power plant; B. preprocessing and normalizing all collected data; C. decomposing the normalized historical average wind power data by using an empirical wavelet transform signal decomposition technology; D. performing correlation screening on the decomposed different eigenmode component function subsequences, then respectively taking the screened group subsequences and other data subjected to normalization processing as input data together, inputting the input data into a particle swarm optimized deep belief network model for prediction, and obtaining group prediction data; E. and superposing the group of prediction data to reconstruct a group of data, and then carrying out inverse normalization processing on the group of data to obtain a result serving as a final wind power prediction result. According to the method, the wind power prediction result with high precision and small error is obtained through EWT-PDBN combined prediction.
Description
Technical Field
The invention relates to the technical field of wind power prediction, in particular to a short-term wind power prediction method based on an EWT-PDBN combination.
Background
Compared with the traditional energy, the wind energy is one of intermittent new energy with wide development prospect, but the wind speed and the wind power generation power show the characteristics of volatility, randomness and the like due to the continuous change of the climate environment. In recent years, the installed capacity of wind power in China is continuously increased, the controllability of a power system containing wind power on electric energy is weakened due to the instability of the wind power, meanwhile, many problems are brought to the safe and stable operation of the power system after large-scale wind power integration, and the further development of the wind power is restricted. Although some methods are available to solve these problems, most methods sacrifice the economy of system operation, such as adding system spare capacity. Therefore, the wind speed or the wind power can be accurately predicted, so that the problems caused by inherent characteristics of wind power can be solved to a great extent, the impact force of wind power non-stationarity on a power grid can be reduced, and the operation cost of a power system is saved.
The conventional wind power plant power prediction is divided into physical, statistical and intelligent methods according to a modeling method; according to the prediction time scale, the method comprises the steps of long-term prediction, medium-term prediction, short-term prediction and ultra-short-term prediction; the prediction mode is divided into direct prediction and indirect prediction. Due to the continuous development of the field of artificial intelligence, a neural network has shown a good prediction effect in time series data prediction as a machine learning technology. However, the method can be regarded as a shallow prediction model, and although the method has strong adaptability, the deep characteristics and the internal rules of the wind power data cannot be completely extracted, so that the problems of low prediction precision and easy error generation exist.
Disclosure of Invention
The invention aims to provide a short-term wind power prediction method based on an EWT-PDBN combination, and the method is used for solving the problems of low prediction precision and easy error generation in the prior art.
The invention is realized by the following steps: a short-term wind power prediction method based on an EWT-PDBN combination comprises the following steps:
A. collecting numerical weather forecast data and historical wind power data of a wind field, wherein the numerical weather forecast data comprises wind speed, temperature, air pressure, and atmospheric pressure and relative humidity of an average sea level, and the historical wind power data comprises historical maximum wind power data, historical minimum wind power data and historical average wind power data;
B. preprocessing all collected data, and then normalizing all the preprocessed data;
C. decomposing the normalized historical average wind power data by using an empirical wavelet transform signal decomposition technology, and carrying out stabilization treatment to obtain a plurality of groups of subsequences with different characteristic frequencies;
D. performing correlation screening on the different decomposed subsequences to screen out n groups of subsequences, then respectively using the screened n groups of subsequences and numerical weather forecast data, historical maximum wind power data and historical minimum wind power data which are subjected to normalization processing as input data together, and predicting in a particle swarm optimization deep belief network model to obtain n groups of prediction data;
E. and superposing the n groups of prediction data to reconstruct a group of data, then carrying out inverse normalization processing on the group of data, taking the obtained result as a final wind power prediction result, and then carrying out prediction result analysis according to the error evaluation index.
In the step A, preprocessing the collected numerical weather forecast data and the collected historical wind power data, namely performing abnormal value processing, wherein the specific processing method comprises the following steps:
setting the time resolution of numerical weather forecast data and historical wind power data to be 15 min;
(II) supplementing the missing data by using the data at the previous moment;
(III) replacing the historical power data smaller than 0 with 0;
fourthly, replacing abnormal data with average values of adjacent moments for interpolation;
and (V) replacing the historical power data value exceeding the threshold value with the rated power value of the fan.
In step B, all data values are normalized, and the values are reduced to the interval [ -1, 1], wherein the normalized calculation formula is as follows:
wherein x isgNormalizing the data; x, xmin、xmaxRespectively a data value, a minimum value in the data, and a maximum value in the data;
in step E, a set of data formed by the superposition weights is denormalized to have a physical meaning, and the denormalization calculation formula is:
xf=x′(xmax-xmin)+xmin(2)
wherein x' is an output value of the EWT-PDBN prediction model; x is the number offAnd obtaining a wind power data prediction value for inverse normalization.
In step C, decomposing the normalized historical average wind power data with non-stationarity by using an EWT algorithm to obtain n subsequences of different modal components, where each subsequence is defined as a group of amplitude and frequency modulated signals, and the implementation of the EWT algorithm includes the following steps:
(C1) 0, pi to Fourier axis]Adaptive partitioning into N successive cells, ωnThe width of each cell is represented by Λn=[ωn-1,ωn]Denotes, τnFor at each omeganA transition region as a center, the width of the transition region being 2 taun;
(C2) Λ in each cellnIn the above, according to the Littlewood-Paley and Meyer wavelet transform method, the definitions of the empirical wavelet function and the empirical wavelet scale function in the frequency domain are constructed as formula (3) and formula (4):
there are many functions that satisfy the above properties, and the most used is β (x) ═ x4(35-84x+70x2-20x3) For arbitrary n>0, further reducing the empirical wavelet function and the scale function to formula (7) and formula (8):
(C3) determining detail coefficients of the empirical wavelet function according to the empirical wavelet function and the scale functionAnd approximation coefficientThe Fourier transform and the inverse Fourier transform are denoted as Fg, respectively]And F-1[g]Detail coefficients of empirical wavelet transformCan be obtained by the inner product of empirical wavelet functions:
wherein "<g>"is inner product operation; psin(t) is an empirical wavelet function;for empirical wavelet function psin(t) Fourier transform;for empirical wavelet function psin(t) complex conjugation;
wherein "<g>"is inner product operation; phi is a1(t) is an empirical scale function;as a function of scale phi1(t) Fourier transform;as a function of scale phi1(t) complex conjugation;
(C4) detail coefficient based on empirical wavelet functionAnd approximation coefficientTo reconstruct the original signal, the formula is:
wherein "+" is a convolution operation;andrespectively empirical wavelet transform detail coefficientsAnd approximation coefficientThe original signal is decomposed into empirical mode components according to the following formula:
the implementation of the particle group optimized deep belief network (PDBN) model in step D comprises the following steps:
a. searching a node number parameter of an optimal hidden layer in a limited Boltzmann machine by utilizing a PSO optimization algorithm, then initializing DBN network parameters and particle population numbers, then calculating a particle fitness function value, and updating a particle optimal value and a population optimal value;
b. checking whether the system reaches the iteration times, if so, outputting the parameter value, and establishing an RBM network corresponding to the parameter value, otherwise, returning to the step 1 to perform iteration again;
c. screening subsequences with large correlation degree with the historical average wind power data sequence, inputting the subsequences into unsupervised RBMs with optimized PSOs for pre-training, and then adjusting according to a BPNN fine-tuning phase method to form PDBN network prediction models corresponding to the subsequences;
d. decomposing the test data of the historical average wind power according to an EWT algorithm, screening n groups of subsequences, respectively using the n groups of subsequences and the numerical weather forecast data, the historical maximum wind power data and the historical minimum wind power data which are subjected to normalization processing as input data together, and predicting in a particle swarm optimization deep belief network (PDBN) model to obtain n groups of predicted data.
In step a, the velocity and position information updating formula of the particle individual is as follows:
vi(k+1)=ωvi(k)+c1r1[Pbesti(k)-xi(k)]+c2r2[Gbesti(k)-xi(k)](13)
xi(k+1)=xi(k)+φvi(k+1) (14)
wherein, in each iterative optimization process, the position of the ith particle is assumed to be X ═ X1,x2,…,xi,…,xn]Velocity V ═ V1,v2,…,vi,…,vn]The particles continuously update the speed and the position of the particles by iteratively comparing the fitness value with the two extreme values to find the individual optimal solution P of the particlesbest=[Pbest1,Pbest2,…,Pbesti,…,Pbestn]And the best solution G currently found for the whole populationbest=[Gbest1,Gbest2,…,Gbesti,…,Gbestn](ii) a k is the number of iterations; x is the number ofi(k) Is the position of the particle at k iterations; v. ofi(k) The velocity of the ith particle at k iterations; pbesti(k) Historical optimal positions of the particles i are shown; gbesti(k) Historical optimal positions for the groups; c. C1,c2Is a cognition factor; r is1,r2Are uniformly distributed random numbers; omega is the inertial weight; phi is a contraction factor used to keep the velocity within a certain range.
In the step b, the RBM network establishment step is as follows:
b1, a DBN is a multi-hidden-layer deep learning network formed by stacking a plurality of limited Boltzmann machines, an RBM is composed of a visible layer and a hidden layer and is a special neural network model based on energy, namely the ideal state of the network model is that the energy is minimized, the RBM learns the probability distribution from the visible layer to the hidden layer, and the joint energy function can be expressed as a formula (15):
wherein v ═ v (v)1,v2,L,vi,L,vn)T、h=(h1,h2,L,hj,L,hm)TState vectors of a visible layer and a hidden layer; v. ofi、hjRespectively showing the states of the ith and the j th neurons of the visual layer and the hidden layer; a ═ a1,a2,L,ai,L,an)T、b=(b1,b2,L,bj,L,bm)TBias vectors of a visible layer and a hidden layer; a isi、bjBiasing of ith and j neurons of the visual layer and the hidden layer respectively; θ ═ ωij,ai,bjIs the training parameter of the RBM; ω is a weight matrix connecting v and h, ωij∈Rm×n(ii) a n is the number of visible layer neurons; m is the number of hidden layer neurons;
b2, given an energy function, the joint probability distribution can be expressed as
b3, for simplifying the calculation process of RBM, assuming that all nodes are binary nodes, i.e. v ∈ {0,1}, h ∈ {0,1}, and specifying that the nodes are independent of each other, the activation rates of neurons of given v, h and h, v can be given by formula (17) and formula (18), respectively:
wherein, Pθ(v i1| h) is known hiProbability of 1, Pθ(h j1| v) is given vjThe probability of 1 is given as the probability of,representing a sigmoid function;
b4, after the training sample S is given, training the RBM to determine the solution update parameter theta ═ { a, b, omega }, i.e. the goal of training the RBM is to maximize the log-likelihood functionThe maximum likelihood function log P (v) is obtained by a gradient ascent method, and is calculated as follows:
wherein EPAndexpectation of probability distribution after raw data and reconstructed data, respectively, and EP[hv]=P(h|v)vT,
b5 due toThe calculation is complex, wherein a normalization factor Z is involved, so that the distribution is difficult to obtain, and in order to solve the problem of long time for calculating Z (theta), the RBM adopts k steps to disperseThe RBM parameters are quickly and effectively trained by a learning algorithm, and the main idea is to initialize a visual layer by using training data and then execute Gibbs sampling;
the objective of the CD learning algorithm is to obtain the approximate values of partial derivatives Δ ω, Δ a, Δ b, and update the formula as
Wherein ω isk、ak、bkThe weight matrix, the visible layer bias amount, and the hidden layer bias amount of the kth sample are respectively, and η is the learning rate.
In step c, the DBN network is composed of multiple layers of stacked RBMs and 1 layer of BPNN, the DBN training process includes a layered pre-training process and a fine tuning process, the RBMs are responsible for the pre-training of the network, the BPNN is responsible for the fine tuning part of the network, and the DBN network establishment specifically includes the steps of:
c1, a layered pre-training process, wherein sample data is input into a visible layer of a first RBM network, after training, the output of a hidden layer is used as the input of a visible layer of a second RBM network, and pre-training is carried out layer by layer in this way until all four layers of RBM networks are trained;
c2, fine tuning, wherein the purpose of fine tuning is to make the output value close to the input value, and since the parameters are obtained by training sample learning, the network can avoid falling into local optimum to achieve global optimum, and the prediction effect is better. In the step E, n groups of prediction data are subjected to superposition reconstruction and inverse normalization to serve as a final wind power prediction result, prediction result analysis is performed according to error evaluation indexes, in order to visually evaluate the accuracy of each wind power prediction model, the quality states among the models are analyzed and compared in detail, and the average relative error, the root mean square error and the accuracy R are selected2Pearson correlation coefficient ePRThe error analysis index is used as an error analysis index of the wind power prediction model;
wherein, yi、Respectively the true value of the test sample and the average value of the true values of the test sample;respectively a predicted value of the test sample and an average value of the predicted values of the test samples; n is the number of samples of the test set, and for the four error evaluation indexes, MRE and RMSE refer to error indexes, and the smaller the value of the error evaluation indexes, the higher the prediction precision is; and R is2And ePRRefers to the prediction accuracy, and a larger value indicates a higher prediction accuracy.
According to the method, numerical weather forecast data and historical wind power data of a wind field are collected, preprocessing and normalization processing are carried out on all data, empirical wavelet transformation decomposition is carried out on historical average wind power data subjected to normalization processing to obtain a plurality of groups of subsequences, screening is carried out, the screened subsequences and other data subjected to normalization processing are jointly used as input data, a plurality of groups of prediction data are obtained through prediction in a particle swarm optimization deep belief network (PDBN) model, the prediction data are superposed and reconstructed into a group of data, then reverse normalization processing is carried out on the group of data, and an obtained result is used as a final wind power prediction result.
The invention adopts an Empirical Wavelet Transform (EWT) signal processing method, and the EWT can decompose intrinsic mode components (IMF) with different scales in a self-adaptive mode, thereby solving the aliasing phenomenon existing in the decomposition result in the prior art, avoiding the defect of difficult selection of wavelet transform basis functions and being capable of well processing non-stationary signals.
The Particle Swarm Optimization (PSO) algorithm is an intelligent optimization algorithm which is provided for simulating the flight foraging behavior of a bird swarm. In PSO, a mass-free particle is designed to simulate the birds in a flock, all of which are assigned random velocities and positions that represent the solution to the problem to be optimized. Each particle searches an independent optimal solution (the best position passed) in the space, then shares the optimal solution with other particles in the whole particle swarm, and finds the optimal individual optimal solution as the current global optimal solution of the whole particle swarm, so that the speed and the position of the particle are adjusted. The PSO is used as an algorithm for random search and parallel optimization, has the characteristics of simple principle, good robustness, high convergence speed, better global search capability and the like, and can find out the global optimal solution of the problem with higher probability. The particle swarm optimization algorithm is used for signal denoising, signal decomposition and signal reconstruction, the important characteristics of an original signal are effectively extracted, PSO wind power data are processed by the Particle Swarm Optimization (PSO) algorithm, the uncertainty of the original power is reduced, and the power is decomposed into subsequences with different characteristics or frequencies, so that the prediction effect is good. The invention adopts a Deep Belief Network (DBN) as a network combining multi-type machine learning and each hierarchy structure, and uses a multi-layer nonlinear information processing method to carry out feature classification on wind power prediction, thereby being obviously superior to a time sequence, a Support Vector Machine (SVM) and a traditional shallow neural network prediction method in the prior art in the aspect of prediction performance.
Drawings
FIG. 1 is a flow chart of the EWT-PDBN prediction model of the present invention.
Fig. 2 is a schematic diagram of the fourier axis division of the present invention.
FIG. 3 is a diagram illustrating the PSO algorithm optimizing DBN network parameters according to the present invention.
Fig. 4 is a schematic view of the RBM structure of the present invention.
Fig. 5 is a schematic diagram of the DBN structure of the present invention.
FIG. 6 is a schematic diagram of an EWT decomposition of the EWT-PDBN prediction model of the present invention.
FIG. 7 is a graph of the EWT-PDBN model wind power prediction results versus actual power results of the present invention.
FIG. 8 is a schematic diagram of the wind power prediction results for the six models.
Detailed Description
As shown in FIG. 1, the short-term wind power prediction method based on the EWT-PDBN combination comprises the following steps:
A. collecting numerical weather forecast data and historical wind power data of a wind field, wherein the numerical weather forecast data comprises five groups of data of wind speed, temperature, air pressure, atmospheric pressure of average sea level and relative humidity, and the historical wind power data comprises three groups of data of historical maximum wind power data, historical minimum wind power data and historical average wind power data;
B. preprocessing all collected data, and then normalizing all the preprocessed data;
C. decomposing the normalized historical average wind power data by using an Empirical Wavelet Transform (EWT) signal decomposition technology, and carrying out stabilization treatment to obtain a plurality of groups of subsequences with different characteristic frequencies;
D. performing correlation screening on the different decomposed subsequences to screen n groups of subsequences, then respectively using the screened n groups of subsequences and numerical weather forecast data, historical maximum wind power data and historical minimum wind power data which are subjected to normalization processing as input data together, and predicting in a particle swarm optimization deep belief network (PDBN) model to obtain n groups of predicted data;
E. and superposing the n groups of prediction data to reconstruct a group of data, then carrying out inverse normalization processing on the group of data, taking the obtained result as a final wind power prediction result, and then carrying out prediction result analysis according to the error evaluation index.
In the step A, preprocessing the collected numerical weather forecast data and the collected historical wind power data, namely performing abnormal value processing, wherein the specific processing method comprises the following steps:
setting the time resolution of numerical weather forecast data and historical wind power data to be 15 min;
(II) supplementing the missing data by using the data at the previous moment;
(III) replacing the historical power data smaller than 0 with 0;
fourthly, replacing abnormal data with average values of adjacent moments for interpolation;
and (V) replacing the historical power data value exceeding the threshold value with the rated power value of the fan.
In step B, all data values are normalized, and the values are reduced to the interval [ -1, 1], wherein the normalized calculation formula is as follows:
wherein x isgNormalizing the data; x, xmin、xmaxRespectively a data value, a minimum value in the data, and a maximum value in the data;
in step E, a set of data formed by the superposition weights is denormalized to have a physical meaning, and the denormalization calculation formula is:
xf=x′(xmax-xmin)+xmin(2)
wherein x' is an output value of the EWT-PDBN prediction model; x is the number offAnd obtaining a wind power data prediction value for inverse normalization.
In step C, decomposing the normalized historical average wind power data with non-stationarity by using an EWT algorithm to obtain n subsequences of different modal components, where each subsequence is defined as a group of amplitude and frequency modulated signals, and as shown in fig. 2, the implementation of the EWT algorithm includes the following steps:
(C1) 0, pi to Fourier axis]Adaptive partitioning into N successive cells, ωnThe width of each cell is represented by Λn=[ωn-1,ωn]Denotes, τnFor at each omeganA transition region as a center, the width of the transition region being 2 taun;
(C2) Λ in each cellnIn the above, according to the Littlewood-Paley and Meyer wavelet transform method, the definitions of the empirical wavelet function and the empirical wavelet scale function in the frequency domain are constructed as formula (3) and formula (4):
there are many functions that satisfy the above properties, and the most used is β (x) ═ x4(35-84x+70x2-20x3) For arbitrary n>0, further reducing the empirical wavelet function and the scale function to formula (7) and formula (8):
(C3) determining detail coefficients of the empirical wavelet function according to the empirical wavelet function and the scale functionAnd approximation coefficientLet F [ g ] denote Fourier transform and inverse Fourier transform, respectively]And F-1[g]Detail coefficients of empirical wavelet transformCan be obtained by the inner product of empirical wavelet functions:
wherein "<g>"is inner product operation; psin(t) is an empirical wavelet function;for empirical wavelet function psin(t) Fourier transform;for empirical wavelet function psin(t) complex conjugation;
wherein "<g>"is inner product operation; phi is a1(t) is an empirical scale function;as a function of scale phi1(t) Fourier transform;as a function of scale phi1(t) complex conjugation;
(C4) detail coefficient based on empirical wavelet functionAnd approximation coefficientTo reconstruct the original signal, the formula is:
wherein "+" is a convolution operation;andrespectively empirical wavelet transform detail coefficientsAnd approximation coefficientThe original signal is decomposed into empirical mode components according to the following formula:
as shown in fig. 4, the implementation of the particle group optimized deep belief network (PDBN) model in step D includes the following steps:
a. searching node number parameters of an optimal hidden layer in a Restricted Boltzmann Machine (RBM) by utilizing a PSO optimization algorithm, then initializing DBN network parameters and particle population numbers, then calculating a particle fitness function value, and updating a particle optimal value and a population optimal value;
b. checking whether the system reaches the iteration times, if so, outputting the parameter value, and establishing an RBM network corresponding to the parameter value, otherwise, returning to the step 1 to perform iteration again;
c. screening subsequences with large correlation degree with the historical average wind power data sequence, inputting the subsequences into unsupervised RBMs with optimized PSO for pre-training, and then adjusting according to a BPNN fine-tuning phase method to form PSO-DBN network prediction models corresponding to the subsequences;
d. decomposing the test data of the historical average wind power according to an EWT algorithm, screening out n groups of subsequences, respectively using the n groups of subsequences and the numerical weather forecast data, the historical maximum wind power data and the historical minimum wind power data which are subjected to normalization processing as input data, and predicting in a particle swarm optimization deep belief network (PDBN) model to obtain n groups of predicted data.
As shown in fig. 3, in step a, the velocity and position information updating formula of the particle individual is as follows:
vi(k+1)=ωvi(k)+c1r1[Pbesti(k)-xi(k)]+c2r2[Gbesti(k)-xi(k)](13)
xi(k+1)=xi(k)+φvi(k+1) (14)
wherein, in each iterative optimization process, the position of the ith particle is assumed to be X ═ X1,x2,…,xi,…,xn]The velocity (i.e., the rate of change of position) is V ═ V1,v2,…,vi,…,vn]The particles continuously update their speed and position by iteratively comparing the fitness value with two extreme values to find the individual optimal solution (individual extreme value) P of the particles themselvesbest=[Pbest1,Pbest2,…,Pbesti,…,Pbestn]And the best solution currently found for the entire population (global)Extreme value) Gbest=[Gbest1,Gbest2,…,Gbesti,…,Gbestn](ii) a k is the number of iterations; x is the number ofi(k) Is the position of the particle at k iterations; v. ofi(k) The velocity of the ith particle at k iterations; pbesti(k) Historical optimal positions of the particles i are shown; gbesti(k) Historical optimal positions for the groups; c. C1,c2Is a cognition factor; r is1,r2Are uniformly distributed random numbers; omega is the inertial weight; phi is a contraction factor used to keep the velocity within a certain range.
In step b, the RBM network establishment step is:
b1, a multi-hidden-layer deep learning network formed by stacking a plurality of Restricted Boltzmann Machines (RBMs), wherein the RBMs are composed of visible layers and hidden layers and are special neural network models based on energy, namely the ideal state of the network models is that the energy is minimized, the RBMs learn the probability distribution from the visible layers to the hidden layers, and the joint energy function can be expressed as a formula (15):
wherein v ═ v (v)1,v2,…,vi,…,vn)T、h=(h1,h2,…,hj,…,hm)TState vectors of a visible layer and a hidden layer; v. ofi、hjRespectively showing the states of the ith and the j th neurons of the visual layer and the hidden layer; a ═ a1,a2,…,ai,…,an)T、b=(b1,b2,…,bj,…,bm)TBias vectors of a visible layer and a hidden layer; a isi、bjBiasing of ith and j neurons of the visual layer and the hidden layer respectively; θ ═ ωij,ai,bjIs the training parameter of the RBM; ω is a weight matrix connecting v and h, ωij∈Rm×n(ii) a n is the number of visible layer neurons; m is the number of hidden layer neurons。
b2, given an energy function, the joint probability distribution can be expressed as
b3, for simplifying the calculation process of RBM, assuming that all nodes are binary nodes, i.e. v ∈ {0,1}, h ∈ {0,1}, and specifying that the nodes are independent of each other, the activation rates of neurons of given v, h and h, v can be given by formula (17) and formula (18), respectively:
wherein, Pθ(v i1| h) is known hiProbability of 1, Pθ(h j1| v) is given vjThe probability of 1 is given as the probability of,representing a sigmoid function;
b4, after the training sample S is given, training the RBM to determine the solution update parameter theta ═ { a, b, omega }, i.e. the goal of training the RBM is to maximize the log-likelihood functionThe maximum likelihood function log P (v) is obtained by a gradient ascent method, and is calculated as follows:
wherein EPAndexpectation of probability distribution after raw data and reconstructed data, respectively, and EP[hv]=P(h|v)vT,
b5 due toThe RBM adopts a k-step contrast divergence (CD-k) learning algorithm to quickly and effectively train RBM parameters, and the main idea is to initialize a visual layer by using training data and then execute Gibbs sampling;
the objective of the CD learning algorithm is to obtain the approximate values of partial derivatives Δ ω, Δ a, Δ b, and update the formula as
Wherein ω isk、ak、bkThe weight matrix, the visible layer bias amount, and the hidden layer bias amount of the kth sample are respectively, and η is the learning rate.
As shown in fig. 5, in step c, the DBN network is formed by multiple layers of stacked RBMs and 1 layer of BPNN, the DBN training process includes a layered pre-training process and a fine tuning process, the RBMs are responsible for the pre-training of the network, the BPNN is responsible for the fine tuning of the network, and the DBN network establishment specifically includes the following steps:
c1, performing layered pre-training process (the network is trained layer by layer from low to high in an unsupervised mode), inputting sample data into a visible layer of a first RBM network, after training, using the output of a hidden layer as the input of a second RBM visible layer, and performing pre-training layer by layer in the mode until all four layers of RBM networks are trained;
c2, fine tuning process (the network adopts BP neural network to fine tune the parameters obtained by pre-training from high to low in a supervision mode), the purpose of fine tuning is to make the output value approach the input value, because the parameters are obtained by training sample learning, the network can avoid falling into local optimum to achieve global optimum, and the prediction effect is better.
In step E, n groups of prediction data are subjected to superposition reconstruction and inverse normalization to serve as a final wind power prediction result, prediction result analysis is performed according to an error evaluation index, in order to visually evaluate the accuracy of each wind power prediction model, the quality states among the models are analyzed and compared in detail, and Mean Relative Error (MRE), Root Mean Square Error (RMSE) and precision R are selected2Pearson correlation coefficient ePRThe error analysis index is used as an error analysis index of the wind power prediction model;
wherein, yi、Respectively the true value of the test sample and the average value of the true values of the test sample;respectively a predicted value of the test sample and an average value of the predicted values of the test samples; n is the number of samples of the test set, and for the four error evaluation indexes, MRE and RMSE refer to error indexes, and the smaller the value of the error evaluation indexes, the higher the prediction precision is; and R is2And ePRRefers to the prediction accuracy, and a larger value indicates a higher prediction accuracy.
In order to verify the effectiveness of the short-term wind power prediction method based on the EWT-PDBN combination, numerical weather forecast data (including wind speed, temperature, air pressure, average sea level atmospheric pressure and relative humidity) and historical wind power data (historical maximum wind power data, historical minimum wind power data and historical average wind power data) of a certain wind power plant generator set in the Tianjin coastal area from 04 months and 10 days in 2019 and 05 months and 10 days (totally 31 days) are selected as input data of an EWT-PDBN model, a wind power predicted value is used as output, modeling analysis is carried out, and the data sampling time interval is 15 min. 2784 data in the first 29 days are selected as a training set for training the EWT-PDBN model, 192 data in the last two days are selected as a test set for the model to carry out tests, and the wind power of 48h in the future is predicted.
In the EWT-PDBN method, historical average wind power data is decomposed using an EWT signal processing technique to obtain a series of subsequences with different characteristic frequency scales, 8 subsequences with a large correlation with the original sequence are selected using a sample entropy algorithm, and the decomposition result is shown in fig. 6.
And (3) respectively taking numerical weather forecast data, historical maximum wind power data and historical minimum wind power data which are subjected to normalization processing on each subsequence as input data, predicting through a PSO-DBN prediction model, and determining that the RBM network of the DBN model has 4 layers, wherein the number of the input layers is 8, the number of nodes of hidden layers of the 4 layers is respectively 15, 30, 20 and 10, and the number of nodes of hidden layers of the 4 layers is 1. The final prediction result is obtained by superposing the prediction results of the components, and the prediction results are shown in fig. 7. Besides small errors of individual points with violent mutation, the method can realize effective prediction of the wind power.
The method is compared and analyzed with the prediction results of a direct Deep Belief Network (DBN) method, a particle swarm optimization deep belief network (PDBN) method, a wavelet transformation combined deep belief network (WT-DBN) method, an empirical wavelet transformation combined deep belief network (EWT-DBN) method and a wavelet transformation combined particle swarm optimization deep belief network (WT-PDBN) method. The six methods are shown in the figure 8. It can be observed that:
the EWT-PDBN model (EWT-PSO-DBN model) has a very accurate prediction trend in predicting wind power. In addition, of the six involved models, the EWT-PDBN model performs best in wind power prediction; when the wind power changes suddenly, the EWT-PDBN model can have better prediction performance than other models.
Table 1 shows the prediction error evaluation index of the EWT-PDBN prediction method. Table 2 shows the prediction error evaluation indexes of the six prediction methods, and it can be seen from tables 1 and 2 that:
(1) compared with a direct DBN model, the average relative error of the PDBN model after particle swarm optimization is smaller, MRE is reduced by about 14.31%, the accuracy is improved by about 1.13 percentage points, and the Pearson correlation coefficient is improved by about 0.81%. This shows that the DBN network optimized by the particle swarm optimization can improve the prediction accuracy.
(2) Compared with the DBN model, the average relative error of the wavelet DBN model and the empirical wavelet DBN model is in a decreasing trend, and the accuracy is in an increasing trend. Therefore, the noise of the original wind power sequence can be reduced through a signal decomposition technology, the relative error is reduced, and the prediction effect of the combination of the signal decomposition technology and the DBN network is better than that of a single DBN network.
(3) Compared with a WT-DBN model combining wavelet transformation with DBN, the EWT-DBN model combining empirical wavelet decomposition with DBN has higher prediction accuracy, MRE is reduced by about 11.37%, accuracy is increased by about 0.93 percentage point, and Pearson correlation coefficient is also increased by about 0.58%.
(4) The prediction accuracy of the EWT-PDBN model with the EWT combined with the PSO optimized DBN and the prediction accuracy of the WT-PDBN model with the WT combined with the PSO optimized DBN are higher than those of the EWT-PDBN model without the particle swarm optimization and the WT-PDBN model without the particle swarm optimization, and the average error is small.
(5) Compared with other five model methods, the EWT-PDBN method provided by the invention is a model with the minimum prediction error change, not only has the highest prediction precision, but also has the largest correlation between the prediction sequence and the actual sequence, the best result and the best effect.
Example analysis and verification show that the EWT-PDBN model adopted by the method is better in prediction effect compared with the traditional DBN model, the WT-DBN model, the PDBN model, the EWT-DBN model and the WT-PDBN model, the prediction accuracy is obviously higher than that of the other five methods, and the method is more suitable for wind power prediction of a distributed wind power plant including Tianjin coastal areas.
TABLE 1
TABLE 2
Claims (9)
1. A short-term wind power prediction method based on EWT-PDBN combination is characterized by comprising the following steps:
A. collecting numerical weather forecast data and historical wind power data of a wind field, wherein the numerical weather forecast data comprises wind speed, temperature, air pressure, and atmospheric pressure and relative humidity of an average sea level, and the historical wind power data comprises historical maximum wind power data, historical minimum wind power data and historical average wind power data;
B. preprocessing all collected data, and then normalizing all the preprocessed data;
C. decomposing the normalized historical average wind power data by using an empirical wavelet transform signal decomposition technology, and carrying out stabilization treatment to obtain a plurality of groups of subsequences with different characteristic frequencies;
D. performing correlation screening on the different decomposed subsequences to screen out n groups of subsequences, then respectively using the screened n groups of subsequences and numerical weather forecast data, historical maximum wind power data and historical minimum wind power data which are subjected to normalization processing as input data together, and predicting in a particle swarm optimization deep belief network model to obtain n groups of prediction data;
E. and superposing the n groups of prediction data to reconstruct a group of data, then carrying out inverse normalization processing on the group of data, taking the obtained result as a final wind power prediction result, and then carrying out prediction result analysis according to the error evaluation index.
2. The EWT-PDBN combination-based short-term wind power prediction method as claimed in claim 1, wherein in step A, collected numerical weather forecast data and historical wind power data are preprocessed, namely, abnormal value processing is performed, and the specific processing method comprises the following steps:
setting the time resolution of numerical weather forecast data and historical wind power data to be 15 min;
(II) supplementing the missing data by using the data at the previous moment;
(III) replacing the historical power data smaller than 0 with 0;
fourthly, replacing abnormal data with average values of adjacent moments for interpolation;
and (V) replacing the historical power data value exceeding the threshold value with the rated power value of the fan.
3. The EWT-PDBN combination-based short-term wind power prediction method as claimed in claim 1, wherein in step B, all data values are normalized and their values are reduced to the range [ -1, 1], and the normalized calculation formula is:
wherein x isgNormalizing the data; x, xmin、xmaxRespectively a data value, a minimum value in the data, and a maximum value in the data;
in step E, a set of data formed by the superposition weights is denormalized to have a physical meaning, and the denormalization calculation formula is:
xf=x′(xmax-xmin)+xmin(2)
wherein x' is an output value of the EWT-PDBN prediction model; x is the number offAnd obtaining a wind power data prediction value for inverse normalization.
4. The EWT-PDBN combination-based short-term wind power prediction method according to claim 1, wherein in step C, the normalized historical mean wind power data with non-stationarity is decomposed by an EWT algorithm to obtain n subsequences of different modal components, each subsequence is defined as a group of amplitude and frequency modulation signals, and the EWT algorithm is implemented by the following steps:
(C1) 0, pi to Fourier axis]Adaptive partitioning into N successive cells, ωnThe width of each cell is represented by Λn=[ωn-1,ωn]Denotes, τnFor at each omeganA transition region as a center, the width of the transition region being 2 taun;
(C2) Λ in each cellnIn the above, according to the Littlewood-Paley and Meyer wavelet transform method, the definitions of the empirical wavelet function and the empirical wavelet scale function in the frequency domain are constructed as formula (3) and formula (4):
there are many functions that satisfy the above properties, and the most used is β (x) ═ x4(35-84x+70x2-20x3) For arbitrary n>0, further reducing the empirical wavelet function and the scale function to formula (7) and formula (8):
(C3) determining detail coefficients of the empirical wavelet function according to the empirical wavelet function and the scale functionAnd approximation coefficientThe Fourier transform and the inverse Fourier transform are denoted as Fg, respectively]And F-1[g]Detail coefficients of empirical wavelet transformCan be obtained by the inner product of empirical wavelet functions:
wherein "<g>"is inner product operation; psin(t) is an empirical wavelet function;for empirical wavelet function psin(t) Fourier transform;for empirical wavelet function psin(t) complex conjugation;
wherein "<g>"is inner product operation; phi is a1(t) is an empirical scale function;as a function of scale phi1(t) Fourier transform;as a function of scale phi1(t) complex conjugation;
(C4) detail coefficient based on empirical wavelet functionAnd approximation coefficientTo reconstruct the original signal, the formula is:
wherein "+" is a convolution operation;andrespectively empirical wavelet transform detail coefficientsAnd approximation coefficientThe original signal is decomposed into empirical mode components according to the following formula:
5. the EWT-PDBN combination based short-term wind power prediction method according to claim 1, wherein the implementation of the particle group optimized deep belief network model in step D comprises the steps of:
a. searching a node number parameter of an optimal hidden layer in a limited Boltzmann machine by utilizing a PSO optimization algorithm, then initializing DBN network parameters and particle population numbers, then calculating a particle fitness function value, and updating a particle optimal value and a population optimal value;
b. checking whether the system reaches the iteration times, if so, outputting the parameter value, and establishing an RBM network corresponding to the parameter value, otherwise, returning to the step 1 to perform iteration again;
c. screening subsequences with large correlation degree with the historical average wind power data sequence, inputting the subsequences into unsupervised RBMs with optimized PSOs for pre-training, and then adjusting according to a BPNN fine-tuning phase method to form PDBN network prediction models corresponding to the subsequences;
d. decomposing the test data of the historical average wind power according to an EWT algorithm, screening out n groups of subsequences, respectively using the n groups of subsequences and the numerical weather forecast data, the historical maximum wind power data and the historical minimum wind power data which are subjected to normalization processing as input data together, and predicting in a particle swarm optimization deep belief network model to obtain n groups of prediction data.
6. The EWT-PDBN combination-based short-term wind power prediction method as claimed in claim 5, wherein in step a, the velocity and position information updating formula of the particle individual is as follows:
vi(k+1)=ωvi(k)+c1r1[Pbesti(k)-xi(k)]+c2r2[Gbesti(k)-xi(k)](13)
xi(k+1)=xi(k)+φvi(k+1) (14)
wherein, in each iterative optimization process, the position of the ith particle is assumed to be X ═ X1,x2,…,xi,…,xn]Velocity V ═ V1,v2,…,vi,…,vn]The particles continuously update the speed and the position of the particles by iteratively comparing the fitness value with the two extreme values to find the individual optimal solution P of the particlesbest=[Pbest1,Pbest2,…,Pbesti,…,Pbestn]And the best solution G currently found for the whole populationbest=[Gbest1,Gbest2,…,Gbesti,…,Gbestn](ii) a k is the number of iterations; x is the number ofi(k) Is the position of the particle at k iterations; v. ofi(k) The velocity of the ith particle at k iterations; pbesti(k) Historical optimal positions of the particles i are shown; gbesti(k) Optimizing group historyA location; c. C1,c2Is a cognition factor; r is1,r2Are uniformly distributed random numbers; omega is the inertial weight; phi is a contraction factor used to keep the velocity within a certain range.
7. The EWT-PDBN combination-based short-term wind power prediction method as claimed in claim 5, wherein in step b, the RBM network establishment step is:
b1, a DBN is a multi-hidden-layer deep learning network formed by stacking a plurality of limited Boltzmann machines, an RBM is composed of a visible layer and a hidden layer and is a special neural network model based on energy, namely the ideal state of the network model is that the energy is minimized, the RBM learns the probability distribution from the visible layer to the hidden layer, and the joint energy function can be expressed as a formula (15):
wherein v ═ v (v)1,v2,L,vi,L,vn)T、h=(h1,h2,L,hj,L,hm)TState vectors of a visible layer and a hidden layer; v. ofi、hjRespectively showing the states of the ith and the j th neurons of the visual layer and the hidden layer; a ═ a1,a2,L,ai,L,an)T、b=(b1,b2,L,bj,L,bm)TBias vectors of a visible layer and a hidden layer; a isi、bjBiasing of ith and j neurons of the visual layer and the hidden layer respectively; θ ═ ωij,ai,bjIs the training parameter of the RBM; ω is a weight matrix connecting v and h, ωij∈Rm×n(ii) a n is the number of visible layer neurons; m is the number of hidden layer neurons;
b2, given an energy function, the joint probability distribution can be expressed as
b3, for simplifying the calculation process of RBM, assuming that all nodes are binary nodes, i.e. v ∈ {0,1}, h ∈ {0,1}, and specifying that the nodes are independent of each other, the activation rates of neurons of given v, h and h, v can be given by formula (17) and formula (18), respectively:
wherein, Pθ(vi1| h) is known hiProbability of 1, Pθ(hj1| v) is given vjThe probability of 1 is given as the probability of,representing a sigmoid function;
b4, after the training sample S is given, training the RBM to determine the solution update parameter theta ═ { a, b, omega }, i.e. the goal of training the RBM is to maximize the log-likelihood functionThe maximum likelihood function logP (v) is obtained by a gradient ascent method, and is calculated as follows:
wherein EPAndexpectation of probability distribution after raw data and reconstructed data, respectively, and EP[hv]=P(h|v)vT,
b5 due toThe RBM adopts a k-step contrast divergence learning algorithm to quickly and effectively train RBM parameters in order to solve the problem of long time for calculating Z (theta), and the main idea is to initialize a visual layer by using training data and then execute Gibbs sampling;
the objective of the CD learning algorithm is to obtain the approximate values of partial derivatives Δ ω, Δ a, Δ b, and update the formula as
Wherein ω isk、ak、bkThe weight matrix, the visible layer bias amount, and the hidden layer bias amount of the kth sample are respectively, and η is the learning rate.
8. The EWT-PDBN combination-based short-term wind power prediction method as claimed in claim 5, wherein in the step c, the DBN network is composed of a plurality of layers of stacked RBMs and a layer 1 BPNN, the DBN training process comprises a layered pre-training process and a fine tuning process, the RBMs are responsible for the pre-training of the network, the BPNN is responsible for the fine tuning of the network, and the DBN network establishment specific steps are as follows:
c1, a layered pre-training process, wherein sample data is input into a visible layer of a first RBM network, after training, the output of a hidden layer is used as the input of a visible layer of a second RBM network, and pre-training is carried out layer by layer in this way until all four layers of RBM networks are trained;
c2, fine tuning, wherein the purpose of fine tuning is to make the output value close to the input value, and since the parameters are obtained by training sample learning, the network can avoid falling into local optimum to achieve global optimum, and the prediction effect is better.
9. The EWT-PDBN combination-based short-term wind power prediction method as claimed in claim 1, wherein in step E, n groups of prediction data are subjected to superposition reconstruction and inverse normalization to serve as a final wind power prediction result, then prediction result analysis is performed according to error evaluation indexes, in order to visually evaluate the accuracy of each wind power prediction model, the quality state among the models is analyzed and compared in detail, and the average relative error, the root mean square error and the precision R are selected2Pearson correlation coefficient ePRThe error analysis index is used as an error analysis index of the wind power prediction model;
wherein, yi、Respectively the true value of the test sample and the average value of the true values of the test sample;respectively a predicted value of the test sample and an average value of the predicted values of the test samples; n is the number of samples of the test set, and for the four error evaluation indexes, MRE and RMSE refer to error indexes, and the smaller the value of the error evaluation indexes, the higher the prediction precision is; and R is2And ePRRefers to the prediction accuracy, and a larger value indicates a higher prediction accuracy.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN202010581545.1A CN111697621B (en) | 2020-06-23 | 2020-06-23 | Short-term wind power prediction method based on EWT-PDBN combination |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN202010581545.1A CN111697621B (en) | 2020-06-23 | 2020-06-23 | Short-term wind power prediction method based on EWT-PDBN combination |
Publications (2)
Publication Number | Publication Date |
---|---|
CN111697621A true CN111697621A (en) | 2020-09-22 |
CN111697621B CN111697621B (en) | 2021-08-24 |
Family
ID=72483408
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN202010581545.1A Active CN111697621B (en) | 2020-06-23 | 2020-06-23 | Short-term wind power prediction method based on EWT-PDBN combination |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN111697621B (en) |
Cited By (12)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN110263971A (en) * | 2019-05-14 | 2019-09-20 | 西安理工大学 | Super short-period wind power combination forecasting method based on support vector machines |
CN112200384A (en) * | 2020-10-28 | 2021-01-08 | 宁波立新科技股份有限公司 | Power load short-time prediction method based on EWT neural network |
CN112329979A (en) * | 2020-09-23 | 2021-02-05 | 燕山大学 | Ultra-short-term wind power prediction method based on self-adaptive depth residual error network |
CN112434848A (en) * | 2020-11-19 | 2021-03-02 | 西安理工大学 | Nonlinear weighted combination wind power prediction method based on deep belief network |
CN112733692A (en) * | 2021-01-04 | 2021-04-30 | 润联智慧科技(西安)有限公司 | Fault prediction method and device based on integrated hybrid model and related equipment |
CN113033904A (en) * | 2021-04-02 | 2021-06-25 | 合肥工业大学 | Wind power prediction error analysis and classification method based on S transformation |
CN113507118A (en) * | 2021-07-11 | 2021-10-15 | 湘潭大学 | Wind power prediction method and system |
CN113591382A (en) * | 2021-08-02 | 2021-11-02 | 东北电力大学 | Ultra-short-term rolling prediction method based on WT-TCN wind power |
CN114493051A (en) * | 2022-04-08 | 2022-05-13 | 南方电网数字电网研究院有限公司 | Photovoltaic power prediction method and device for improving precision based on combined prediction |
CN115081705A (en) * | 2022-06-16 | 2022-09-20 | 华能扎赉特旗太阳能光伏发电有限公司科右中旗分公司 | Wind power prediction method based on ITD-ELM |
CN116979533A (en) * | 2023-09-25 | 2023-10-31 | 西南石油大学 | Self-attention wind farm power prediction method integrating adaptive wavelet |
CN118296468A (en) * | 2024-05-30 | 2024-07-05 | 厦门锋元机器人有限公司 | Aluminum welding defect detection method and system based on artificial intelligence |
Citations (7)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
KR100802402B1 (en) * | 2006-06-15 | 2008-02-14 | 한국에너지기술연구원 | Forecasting method of wind power generation by classification of wind speed patterns |
CN103400052A (en) * | 2013-08-22 | 2013-11-20 | 武汉大学 | Combined method for predicting short-term wind speed in wind power plant |
CN104899665A (en) * | 2015-06-19 | 2015-09-09 | 国网四川省电力公司经济技术研究院 | Wind power short-term prediction method |
CN106846173A (en) * | 2016-12-30 | 2017-06-13 | 国网新疆电力公司电力科学研究院 | Short-term wind power forecast method based on EWT ESN |
CN107632258A (en) * | 2017-09-12 | 2018-01-26 | 重庆大学 | A kind of fan converter method for diagnosing faults based on wavelet transformation and DBN |
CN109063915A (en) * | 2018-08-10 | 2018-12-21 | 广东工业大学 | Short-term wind speed forecasting method, device, equipment, system and storage medium |
CN111162551A (en) * | 2020-01-15 | 2020-05-15 | 国网内蒙古东部电力有限公司 | Storage battery charging and discharging control method based on wind power ultra-short term prediction |
-
2020
- 2020-06-23 CN CN202010581545.1A patent/CN111697621B/en active Active
Patent Citations (7)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
KR100802402B1 (en) * | 2006-06-15 | 2008-02-14 | 한국에너지기술연구원 | Forecasting method of wind power generation by classification of wind speed patterns |
CN103400052A (en) * | 2013-08-22 | 2013-11-20 | 武汉大学 | Combined method for predicting short-term wind speed in wind power plant |
CN104899665A (en) * | 2015-06-19 | 2015-09-09 | 国网四川省电力公司经济技术研究院 | Wind power short-term prediction method |
CN106846173A (en) * | 2016-12-30 | 2017-06-13 | 国网新疆电力公司电力科学研究院 | Short-term wind power forecast method based on EWT ESN |
CN107632258A (en) * | 2017-09-12 | 2018-01-26 | 重庆大学 | A kind of fan converter method for diagnosing faults based on wavelet transformation and DBN |
CN109063915A (en) * | 2018-08-10 | 2018-12-21 | 广东工业大学 | Short-term wind speed forecasting method, device, equipment, system and storage medium |
CN111162551A (en) * | 2020-01-15 | 2020-05-15 | 国网内蒙古东部电力有限公司 | Storage battery charging and discharging control method based on wind power ultra-short term prediction |
Non-Patent Citations (3)
Title |
---|
李军 等: "基于经验小波变换和多核学习的风电功率短期预测", 《信息与控制》 * |
李刚强: "基于小波变换和深度信念网络的风电场短期风速预测方法", 《中国优秀硕士学位论文全文数据库 工程科技II辑(电子期刊)》 * |
陈祖成: "基于改进深度置信网络的风电场短期功率组合预测研究", 《中国优秀硕士学位论文全文数据库 工程科技II辑(电子期刊)》 * |
Cited By (19)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN110263971A (en) * | 2019-05-14 | 2019-09-20 | 西安理工大学 | Super short-period wind power combination forecasting method based on support vector machines |
CN112329979A (en) * | 2020-09-23 | 2021-02-05 | 燕山大学 | Ultra-short-term wind power prediction method based on self-adaptive depth residual error network |
CN112200384A (en) * | 2020-10-28 | 2021-01-08 | 宁波立新科技股份有限公司 | Power load short-time prediction method based on EWT neural network |
CN112200384B (en) * | 2020-10-28 | 2024-05-17 | 宁波立新科技股份有限公司 | EWT neural network-based short-time prediction method for power load |
CN112434848B (en) * | 2020-11-19 | 2023-06-16 | 西安理工大学 | Nonlinear weighted combination wind power prediction method based on deep belief network |
CN112434848A (en) * | 2020-11-19 | 2021-03-02 | 西安理工大学 | Nonlinear weighted combination wind power prediction method based on deep belief network |
CN112733692A (en) * | 2021-01-04 | 2021-04-30 | 润联智慧科技(西安)有限公司 | Fault prediction method and device based on integrated hybrid model and related equipment |
CN113033904B (en) * | 2021-04-02 | 2022-09-13 | 合肥工业大学 | Wind power prediction error analysis and classification method based on S transformation |
CN113033904A (en) * | 2021-04-02 | 2021-06-25 | 合肥工业大学 | Wind power prediction error analysis and classification method based on S transformation |
CN113507118B (en) * | 2021-07-11 | 2022-05-13 | 湘潭大学 | Wind power prediction method and system |
CN113507118A (en) * | 2021-07-11 | 2021-10-15 | 湘潭大学 | Wind power prediction method and system |
CN113591382A (en) * | 2021-08-02 | 2021-11-02 | 东北电力大学 | Ultra-short-term rolling prediction method based on WT-TCN wind power |
CN113591382B (en) * | 2021-08-02 | 2023-08-04 | 东北电力大学 | Ultra-short-term rolling prediction method based on WT-TCN wind power |
CN114493051A (en) * | 2022-04-08 | 2022-05-13 | 南方电网数字电网研究院有限公司 | Photovoltaic power prediction method and device for improving precision based on combined prediction |
CN115081705A (en) * | 2022-06-16 | 2022-09-20 | 华能扎赉特旗太阳能光伏发电有限公司科右中旗分公司 | Wind power prediction method based on ITD-ELM |
CN116979533A (en) * | 2023-09-25 | 2023-10-31 | 西南石油大学 | Self-attention wind farm power prediction method integrating adaptive wavelet |
CN116979533B (en) * | 2023-09-25 | 2023-12-08 | 西南石油大学 | Self-attention wind farm power prediction method integrating adaptive wavelet |
CN118296468A (en) * | 2024-05-30 | 2024-07-05 | 厦门锋元机器人有限公司 | Aluminum welding defect detection method and system based on artificial intelligence |
CN118296468B (en) * | 2024-05-30 | 2024-08-09 | 厦门锋元机器人有限公司 | Aluminum welding defect detection method and system based on artificial intelligence |
Also Published As
Publication number | Publication date |
---|---|
CN111697621B (en) | 2021-08-24 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN111697621B (en) | Short-term wind power prediction method based on EWT-PDBN combination | |
CN111860982B (en) | VMD-FCM-GRU-based wind power plant short-term wind power prediction method | |
CN109214575B (en) | Ultrashort-term wind power prediction method based on small-wavelength short-term memory network | |
CN110175386B (en) | Method for predicting temperature of electrical equipment of transformer substation | |
CN111680446B (en) | Rolling bearing residual life prediction method based on improved multi-granularity cascade forest | |
CN109886464B (en) | Low-information-loss short-term wind speed prediction method based on optimized singular value decomposition generated feature set | |
CN109635928A (en) | A kind of voltage sag reason recognition methods based on deep learning Model Fusion | |
CN110991721A (en) | Short-term wind speed prediction method based on improved empirical mode decomposition and support vector machine | |
CN115511177A (en) | Ultra-short-term wind speed prediction method based on INGO-SWGMN hybrid model | |
CN115275991A (en) | Active power distribution network operation situation prediction method based on IEMD-TA-LSTM model | |
CN106897794A (en) | A kind of wind speed forecasting method based on complete overall experience mode decomposition and extreme learning machine | |
Chen et al. | Research on wind power prediction method based on convolutional neural network and genetic algorithm | |
Shetty et al. | Optimized radial basis function neural network model for wind power prediction | |
Chen et al. | Pseudo-label guided sparse deep belief network learning method for fault diagnosis of radar critical components | |
CN117592593A (en) | Short-term power load prediction method based on improved quadratic modal decomposition and WOA optimization BILSTM-intent | |
CN116341717A (en) | Wind speed prediction method based on error compensation | |
Qiu et al. | Fault diagnosis of analog circuits based on wavelet packet energy entropy and DBN | |
CN115561005A (en) | Chemical process fault diagnosis method based on EEMD decomposition and lightweight neural network | |
CN117407660B (en) | Regional sea wave forecasting method based on deep learning | |
Wang et al. | Short term wind speed forecasting based on feature extraction by cnn and mlp | |
CN117689082A (en) | Short-term wind power probability prediction method, system and storage medium | |
CN113887570B (en) | Solar flare two-classification prediction method based on neural network | |
CN115421029A (en) | FCM-GA-PNN analog circuit fault diagnosis method | |
Che et al. | A Sample Entropy Parsimonious Model Using Decomposition-ensemble with SSA and CEEMDAN for Short-term Wind Speed Prediction. | |
Guo et al. | Rolling Bearing Fault Diagnosis Based on QGA Optimized DBN-ELM Model |
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 | ||
GR01 | Patent grant | ||
GR01 | Patent grant |