CN102567636B - High-precision wind electric field power interval forecasting method based on relevance vector machine - Google Patents

High-precision wind electric field power interval forecasting method based on relevance vector machine Download PDF

Info

Publication number
CN102567636B
CN102567636B CN201110443265.5A CN201110443265A CN102567636B CN 102567636 B CN102567636 B CN 102567636B CN 201110443265 A CN201110443265 A CN 201110443265A CN 102567636 B CN102567636 B CN 102567636B
Authority
CN
China
Prior art keywords
vector machine
wind
value
relevance vector
parameter
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Active
Application number
CN201110443265.5A
Other languages
Chinese (zh)
Other versions
CN102567636A (en
Inventor
刘永前
阎洁
韩爽
张晋华
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
North China Electric Power University
Original Assignee
North China Electric Power University
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 North China Electric Power University filed Critical North China Electric Power University
Priority to CN201110443265.5A priority Critical patent/CN102567636B/en
Publication of CN102567636A publication Critical patent/CN102567636A/en
Application granted granted Critical
Publication of CN102567636B publication Critical patent/CN102567636B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Abstract

The invention discloses a high-precision wind electric field power interval forecasting method based on a relevance vector machine, which comprises the steps of collecting data, carrying out normalization on the data, and selecting a training sample of a relevance vector machine forecasting model; optimizing parameters of the relevance vector machine forecasting model to obtain an optimized iteration initial value of kernel function width and the relevance vector machine forecasting model; obtaining a kernel function, and then obtaining relevance vector machine forecasting model parameters after convergence; and finally obtaining a forecasting value and a variance of a wind electric field, so as to obtain a forecasted interval of wind electric field power. The method can improve adaptability of the model, improve forecasting accuracy, reduce training sample size and reduce training time.

Description

Based on the high precision wind power interval prediction method of Method Using Relevance Vector Machine
Technical field
The invention belongs to technical field of wind power, particularly relate to a kind of high precision wind power interval prediction method based on Method Using Relevance Vector Machine.
Background technology
Along with the great-leap-forward development of wind-power electricity generation, the economy of the intrinsic intermittence of wind-power electricity generation, stochastic volatility serious threat Operation of Electric Systems, stability and power supply quality.Wind farm power prediction technology alleviates one of wind farm grid-connected effective way to electric system adverse effect.Wind farm power prediction also contributes to accurately and reliably: (1) reduces spinning reserve capacity, reasonable arrangement turnaround plan, thus reduces operating cost; (2) wind-electricity integration ratio is improved; (3) improve wind-powered electricity generation enterprise competitiveness, surf the Net at a competitive price for wind-powered electricity generation and advantage is provided.
Wind electric field power prediction method conventional both at home and abroad has: artificial neural network (ANN), support vector machine (SVM) etc.Artificial Neural Network can approach any non-linear continuous function in theory, is therefore successfully applied to wind power prediction field.But ANN easily caused problem concerning study in training.Its consequence is: when for given data, and predicated error is very little; When unknown data outside input amendment, predicated error is increased sharply.This is also referred to as limited generalization ability.Based on this understanding, improving one of way of ANN model generalization ability is exactly increase training sample quantity.Demand for a large amount of training sample too increases the application limitation of ANN conversely, as: China's wind energy turbine set is not long for most working time, and historical data is not enough, is difficult to obtain enough training samples and sets up ANN forecast model; More be not easy to divide and month or season set up ANN forecast model.
In order to improve the generalization ability of model and the demand broken away from for a large amount of training sample, SVM technology is applied in wind power prediction field by many scholars, use less training sample to realize predicting comparatively accurately, and effectively avoid the danger being absorbed in Local Minimum.But SVM also embodies some shortcomings part in Practical Project uses:
1. kernel function must meet horse plucked instrument condition, and namely kernel function is confined to continuous symmetric function;
2. predict the outcome as point estimation, any unascertained information can not be provided;
3. the number of support vector along with the increase of number of training linear increase, add computation complexity;
4. must estimate some insensitive parameters, cause the meaningless increase of calculated amount and parameter amount.
In order to overcome above-mentioned shortcoming, calendar year 2001 Michael E.Tipping proposes a kind of probability learning method based on bayesian theory, edge likelihood theory---Method Using Relevance Vector Machine (Relevance Vector Machine, RVM).It is the simple nonlinear pattern recognition model of a kind of structure, not only remains the outstanding predictive ability of SVM and generalization ability, further improves the weak point of SVM.Therefore, the method Successful utilization in multiple fields, as load prediction, failure modes etc., but to be not yet applied in wind farm power prediction.
Summary of the invention
Weak and cannot the deficiencies such as unascertained information be provided for the existing wind power forecasting method generalization ability mentioned in above-mentioned background technology, the present invention proposes a kind of high precision wind power interval prediction method based on Method Using Relevance Vector Machine.
Technical scheme of the present invention is, based on the high precision wind power interval prediction method of Method Using Relevance Vector Machine, it is characterized in that the method comprises the following steps:
Step 1: image data normalization, selects the training sample of Method Using Relevance Vector Machine forecast model according to the absolute error of wind speed in numerical weather forecast;
Step 2: be optimized the parameter of Method Using Relevance Vector Machine forecast model on the basis of step 1, obtains the iterative initial value of optimized kernel function width and Method Using Relevance Vector Machine forecast model;
Step 3: try to achieve kernel function on the basis of step 2, and then try to achieve the Method Using Relevance Vector Machine prediction model parameters after convergence;
Step 4: predicted value and the variance of trying to achieve wind power, obtain the forecast interval of wind power.
The described training sample selecting Method Using Relevance Vector Machine forecast model according to the absolute error of wind speed in numerical weather forecast is specially:
Step 1: be station work sample according to the absolute error of wind speed in numerical weather forecast;
Step 2: each group is tested with Method Using Relevance Vector Machine forecast model respectively, chooses one group of training sample as Method Using Relevance Vector Machine forecast model that wherein precision of prediction is the highest.
Described step 2 is specially:
Step 2.1: using training sample as the input amendment of particle cluster algorithm, tries to achieve the adaptive value of the fitness function of each particle in particle cluster algorithm in each group;
Step 2.2: select the position of the minimum particle of adaptive value in all particles as global extremum;
Step 2.3: whether inspection adaptive value meets iteration requirement, if meet iteration requirement, then global extremum is optimum kernel function width parameter and the iterative initial value of Method Using Relevance Vector Machine model; Otherwise more the speed of new particle and position, recalculate adaptive value.
Described fitness function is:
f = Σ i = 1 n ( P Mi - P Pi ) 2 Cap × n
Wherein:
F is fitness function;
P mifor the real power in i moment;
P pifor the predicted power in i moment;
Cap is wind energy turbine set start total volume;
N is all number of samples.
Described iteration requires to be less than 0.1 for adaptive value.
Described step 3 is specially:
Step 3.1: calculate the kernel function of Method Using Relevance Vector Machine forecast model, the variance of training sample Posterior distrbutionp and the weighted value of Posterior distrbutionp;
Step 3.2: on the basis of step 3.1, utilizes the maximal margin estimation technique to calculate the maximization numerical value of the prior distribution of hyper parameter;
Step 3.3: in inspection current iteration step, whether hyper parameter meets specified requirements, if meet iteration requirement, then hyper parameter is now Method Using Relevance Vector Machine prediction model parameters; Otherwise, upgrade hyper parameter, until meet iteration requirement.
The computing formula of described kernel function is:
K ( X i , X j ) = exp ( - | | X i - X j | | 2 2 θ 2 )
Wherein:
K (X i, X j) be kernel function;
X i, X jfor the mode input parameter after normalization;
θ is the kernel function width after PSO optimizes.
The computing formula of the variance of described training sample Posterior distrbutionp is:
∑=(σ -2φ Tφ+A) -1
Wherein:
∑ is the variance of Posterior distrbutionp;
A is hyper parameter diagonal entry, A=diag (α 0, α 1... α n);
σ -2for iterative initial value;
φ is basis function vector.
The computing formula of the weighted value of described Posterior distrbutionp is:
w i=σ -2∑φ Tt
Wherein:
W ifor Posterior distrbutionp weighted value;
T is the target component of training sample.
The predicted value of described wind power and the computing formula of variance be respectively:
y *=w Tφ
σ 2 *=σ 2 MPT∑φ
Wherein:
Y *for wind farm power prediction monodrome;
σ 2 *for wind farm power prediction is worth variance.
Advantage of the present invention:
One, present invention employs Method Using Relevance Vector Machine (RVM) method, the precision of prediction of RVM be high, generalization ability is strong, and there is following considerable advantage:
(1) diversity of Selection of kernel function: without the need to meeting horse plucked instrument condition, improve the adaptive faculty of model, can more widely, the power generation characteristics of the better different wind energy turbine set of simulation;
(2) probabilistic forecasting: single power prediction numerical value is not only provided, predict the outcome under also providing certain confidence level contingent fluctuation upper lower limit value;
(3) training process needs less sample: the power Method Using Relevance Vector Machine forecast model can setting up different month on the one hand very easily, more meets numerical weather forecast accuracy rate characteristic distributions, likely improves the precision of Method Using Relevance Vector Machine forecast model; Be applicable to the less newly-built wind energy turbine set of historical data on the other hand;
(4) openness: most associated vector automatically goes to zero in training, make the number of number much smaller than support vector of associated vector, and can not along with the increase of training sample linear increase.Because learning process only pays close attention to those vectors relevant with high-precision forecast result, greatly reduce model complexity, improve the efficiency of model training;
(5) optimum configurations is simple: being different from support vector machine needs to arrange additional parameter, and Method Using Relevance Vector Machine only needs manually to arrange kernel function width, at utmost reduces the impact of subjective factor for model.
Two, the present invention is based on numerical weather forecast (NWP) precision distribution characteristics and propose a kind of training sample screening technique, the method effectively improves precision of prediction, reduces training sample scale, decreases the training time.
Three, the present invention adopts particle group optimizing method (PSO) to carry out optimizing to kernel function width and iterative initial value, improves precision of prediction further.
Accompanying drawing explanation
Fig. 1 is wind power interval prediction system construction drawing;
Fig. 2 is training sample screening process figure;
Fig. 3 is Model Parameter Optimization process flow diagram;
Fig. 4 is Method Using Relevance Vector Machine forecast model training process flow diagram;
Fig. 5 is prediction and uncertainty analysis process flow diagram;
Fig. 6 is that 1 month by month correlation vector machine error prediction model in 2010 is with NWP accuracy class change curve;
Fig. 7 is each moon RSP method, SVM method, GA-ANN method root-mean-square error figure;
Fig. 8 is each moon RSP method, SVM method, GA-ANN method mean absolute error figure;
Fig. 9 is spring (May 24 was example) wind power interval prediction result figure;
Figure 10 is summer (July 29 was example) wind power interval prediction result figure;
Figure 11 is autumn (September 25 was example) wind power interval prediction result figure;
Figure 12 is winter (Dec 26 was example) wind power interval prediction result figure.
Embodiment
Below in conjunction with accompanying drawing, preferred embodiment is elaborated.It is emphasized that following explanation is only exemplary, instead of in order to limit the scope of the invention and apply.
For the defect of existing wind electric field power prediction method, the present invention proposes a kind of high precision wind power interval prediction method based on Method Using Relevance Vector Machine.The method carries out the screening of training sample according to the feature that numerical weather forecast (NWP) error distributes, particle group optimizing method (PSO) is adopted to carry out optimizing to kernel function width and iterative initial value, and fully utilized the advantage of Method Using Relevance Vector Machine (RVM), the interval Method Using Relevance Vector Machine forecast model of wind power that establish that precision of prediction is high, generalization ability is strong, uncertainty analysis can be provided.The method also has lower to training sample scale requirements, that computation process is easy advantage.
Technical scheme of the present invention is, wind power interval prediction method, is characterized in that the method comprises the following steps:
The present invention quotes Method Using Relevance Vector Machine (RVM) method and carries out wind power interval prediction, and have stronger predictive ability and generalization ability, training sample demand is few.In order to improve the precision of Method Using Relevance Vector Machine forecast model further, the present invention, according to the characteristic distributions of numerical weather forecast (NWP) error, proposes a kind of screening technique of training sample; Particle group optimizing method (PSO) is utilized to be optimized kernel functional parameter and iterative initial value.In addition, it is simple that the present invention also has optimum configurations, the advantages such as working time is short, is convenient to promote in Practical Project adopt.
The technical problem to be solved in the present invention is: for existing wind electric field power prediction method Problems existing, proposes that a kind of precision of prediction is high, generalization ability is strong, provides uncertainty analysis, the wind power interval prediction method that few to training sample quantity demand, operation time is short; Propose a kind of training sample screening technique based on numerical weather forecast (NWP) accuracy characteristic, to improve precision of prediction, reduce the training time; A kind of wind power interval prediction method based on Method Using Relevance Vector Machine (RVM) is provided, and adopts particle group optimizing method (PSO) to carry out optimizing to kernel function width and Method Using Relevance Vector Machine forecast model iterative initial value.
The present invention proposes the high precision wind power interval prediction method based on Method Using Relevance Vector Machine (Relevance vector machine with samples Selection and Particle swarm optimization is called for short RSP method) comprising 4 stages, 18 steps.
Training sample screening stage comprises 3 steps, is respectively: data acquisition and normalization; Packet: by whole sample by after month grouping again according to the absolute error of NWP wind speed by each moon sample packet; Choose each moon to the best NWP accuracy class of accurately predicting, screen the training sample of Method Using Relevance Vector Machine forecast model accordingly, enter the Model Parameter Optimization stage.
The Model Parameter Optimization stage comprises 5 steps, is respectively: population parameter initialization; The calculating of particle fitness function value; The calculating of individual extreme value and global extremum; Upgrade particle rapidity and particle position; After meeting iterated conditional, deposit optimum kernel function width and Method Using Relevance Vector Machine forecast model iterative initial value, enter the Method Using Relevance Vector Machine forecast model training stage.
The Method Using Relevance Vector Machine forecast model training stage comprises 7 steps, is respectively: input training sample and Optimal Parameters; Kernel function calculates; Posterior distrbutionp variance calculates; Posterior distrbutionp weighted value calculates; Hyper parameter α iand σ 2calculating; Inspection iterated conditional, upgrades hyper parameter α iand σ 2; Delete invalid vector, after meeting iterated conditional, preservation model parameter, enters prediction and uncertainty analysis stage.
Prediction and uncertainty analysis stage comprise 3 steps, are respectively: calculate wind farm power prediction monodrome and variance; Renormalization process; Wind farm power prediction uncertainty analysis.
Operating process of the present invention as shown in Figure 1, is described in detail below in conjunction with type selecting example:
A. training sample screening stage, as shown in Figure 2
B. the Model Parameter Optimization stage, as shown in Figure 3
C. the Method Using Relevance Vector Machine forecast model training stage, as shown in Figure 4
D. prediction and the uncertainty analysis stage, as shown in Figure 5
Comprise in above-mentioned steps A (training sample screening stage):
A1. from wind farm data collection and supervisor control (SCADA) system and anemometer tower, extract reality based on the data acquisition module of the interval Method Using Relevance Vector Machine forecast model of high precision wind power of Method Using Relevance Vector Machine and survey wind data, Power Output for Wind Power Field, numerical weather forecast data (NWP), input parameter using NWP as model training power Output for Wind Power Field is as model training target parameter note: x ifor sample parameter, be respectively the wind speed in NWP, wind direction sine value, wind direction cosine value, temperature, pressure, humidity; N is sample size.Then normalized input parameter and corresponding target parameter, normalization formula is:
x=[x ori-min(x ori)]/[[max(x ori)-min(x ori)]]
Wherein:
X orifor original sample parameter;
X is the sample parameter after normalization.
A2. first whole sample was divided into groups according to month, then the absolute error of the precision of each moon NWP according to NWP wind speed is divided into groups.Such as, < 1.2m/s representative is chosen NWP wind speed absolute error and is less than the sample of 1.2m/s as training sample, and namely < 1.2m/s is higher than the NWP accuracy class of < 1.8m/s.The absolute error e of NWP wind speed nWPexpression formula is as follows:
e=|x NWP-x act|
Wherein:
E is NWP wind speed absolute error;
X nWPfor the wind speed numerical value in NWP result;
X actfor the wind speed numerical value of actual measurement.
A3. find best NWP accuracy class and set up training sample.As shown in Fig. 6 and table 1, the precision of prediction in example wind energy turbine set January first raises along with the raising of NWP accuracy class, and when continuing to improve NWP accuracy class, precision of prediction declines from mxm. again; Therefore the training sample in January is the data of NWP wind speed absolute error < 1.5m/s.NWP grade of errors corresponding to different month Method Using Relevance Vector Machine precision of forecasting model mxm. is not identical, that is: be station work sample according to the absolute error of wind speed in numerical weather forecast; Each group is tested with Method Using Relevance Vector Machine forecast model respectively, chooses one group of training sample as Method Using Relevance Vector Machine forecast model that wherein precision of prediction is the highest.As shown in table 2.
Method Using Relevance Vector Machine precision of forecasting model under table 1.1 month different N WP accuracy class
NWP accuracy class <1.8m/s <1.7m/s <1.6m/s <1.5m/s <1.4m/s <1.3m/s <1.2m/s
Method Using Relevance Vector Machine precision of forecasting model 0.14254 0.14226 0.14049 0.13801 0.14477 0.15791 0.15864
The NWP accuracy class that table 2. each month by month correlation vector machine precision of forecasting model mxm. is corresponding
Through the screening to example wind energy turbine set training sample, for each month sets up the training sample meeting NWP precision characteristic distributions, final each month, training sample number was as shown in table 3: visible by time Filtering system, training sample scale reduces, therefore saved computing time, proved that the method has the advantage little to training sample quantity demand simultaneously.
Table 3. each moon whole sample size, screening after training sample quantity
Above-mentioned B-stage comprised in (Model Parameter Optimization stage):
B1. with the input amendment that the training sample of A stage gained is the Model Parameter Optimization stage.This stage adopts particle cluster algorithm (PSO), first the initial value of particle position and speed in each colony of PSO is set, in example wind energy turbine set, number of particles gets 20, particle initial position is between (0,30) random number between, speed initial value is the random number between (-2,2);
B2. calculate the adaptive value of each particle, fitness function f expression formula is:
f = &Sigma; i = 1 n ( P Mi - P Pi ) 2 Cap &times; n
Wherein:
P mifor the real power in i moment;
P pifor the predicted power in i moment;
Cap is wind energy turbine set start total volume;
N is all number of samples.
B3. select particle position that in each colony, particle fitness function value is minimum respectively as the individual extreme value of each colony, select particle position minimum in all particles fitness function value as global extremum;
B4. upgrade particle rapidity and position, expression formula is respectively:
v i , d k + 1 = &omega; &CenterDot; v i , d k + c 1 &CenterDot; rand ( ) ( pd i , d k - y i , d k ) + c 2 &CenterDot; rand ( ) ( gb i , d k - y i , d k )
y i , d k + 1 = y i , d k + v i , d k + 1
Wherein:
C 1and c 2for Studying factors;
Rand () is the random number between (0,1);
with be respectively speed and the position of d dimension in particle i kth time iteration;
for the position of the individual extreme value that particle i ties up at d;
for the position of the global extremum that colony ties up at d;
ω is the inertia weight factor.
B5. adaptive value is checked whether to meet iteration requirement, as met then finishing iteration, when the global extremum obtained after secondary iteration is optimum kernel function width parameter and Method Using Relevance Vector Machine forecast model iterative initial value, do not meet and then return B2 until restrain or reach maximum iteration time.
Comprise in the above-mentioned C stage:
C1: kernel function width, Method Using Relevance Vector Machine forecast model iterative initial value (B-stage obtains result) after the best training sample (the A stage obtains result) after input screening and PSO optimize;
C2: the kernel function K (X calculating the interval Method Using Relevance Vector Machine forecast model of high precision wind power based on Method Using Relevance Vector Machine i, X j), expression formula is:
K ( X i , X j ) = exp ( - | | X i - X j | | 2 2 &theta; 2 )
Wherein:
K (X i, X j) be kernel function;
X i, X jfor the mode input parameter after normalization;
θ is the kernel function width after PSO optimizes.
C3: the variance ∑ of calculation training sample Posterior distrbutionp, expression formula is:
∑=(σ -2φ Tφ+A) -1
Wherein:
∑ is the variance of Posterior distrbutionp;
A=diag (α 0, α 1... α n) be hyper parameter diagonal entry;
σ -2for iterative initial value;
φ is basis function vector, φ=(1, K (x, t)) t, x is input parameter, and t is target parameter; C4: the weighted value w calculating Posterior distrbutionp i, expression formula is:
w i=σ -2∑φ Tt
Wherein:
W ifor Posterior distrbutionp weighted value;
T is the target component of training sample.
C5: utilize the maximal margin estimation technique to calculate about hyper parameter { α iand σ 2maximized prior distribution, maximal margin estimation technique expression formula is:
L=-0.5[log|β -1I+φA -1φ T|+t T-1I+φA -1φ T) -1t]
Wherein:
β is iterative initial value σ -2inverse;
I is unit matrix;
C6: if do not meet iterated conditional (α between twice iteration ithe variable quantity of numerical value is less than 10 -6) then continue to upgrade to calculate { α iand σ 2until convergence, parameter more new formula is:
&alpha; i new = 1 - &alpha; i &Sigma; ii w i 2 ; ( &sigma; 2 ) new = | | t - &phi; w i | | 2 N - &Sigma; ( 1 - &alpha; i &Sigma; ii )
Wherein:
iii-th diagonal entry of Posterior distrbutionp variance ∑;
N is sample size;
C7: delete α in iterative process iw corresponding to → ∞ i; The w retained icorresponding vector is " associated vector " of Method Using Relevance Vector Machine forecast model, and after convergence, Method Using Relevance Vector Machine prediction model parameters is: α mP, σ 2 mP.
The above-mentioned D stage comprises:
D1: substitute into kernel function width that test sample book, B-stage optimization obtains and Method Using Relevance Vector Machine forecast model iterative initial value, Method Using Relevance Vector Machine prediction model parameters α that C stage-training obtains mP, σ 2 mP, try to achieve the wind farm power prediction value between (0,1) and variance thereof, expression formula is as follows:
y *=w Tφ
σ 2 *=σ 2 MPT∑φ
Wherein:
Y *for wind farm power prediction monodrome;
σ 2 *for wind farm power prediction is worth variance.
D2: renormalization process, expression formula is:
x anti=x 0-1×[max(x ori)-min(x ori)]+min(x ori)
Wherein:
X antifor renormalization result;
X 0-1for the parameter of [0,1];
X orifor original parameter;
D3: given confidence level parameter δ, calculate the contingent fluctuation higher limit of wind farm power prediction monodrome and fluctuation lower limit, i.e. uncertainty analysis, expression formula is as follows:
P upper=P prep×(1+σ *z δ/2)
P lower=P prep×(1-σ *z δ/2)
Wherein:
P upperfor the contingent fluctuation higher limit of wind farm power prediction value;
P lowerfor the contingent fluctuation lower limit of wind farm power prediction value;
P prepfor wind farm power prediction value;
σ *for wind farm power prediction is worth mean square deviation;
Z δ/2for the critical value that standardized normal distribution under confidence level 1-δ is corresponding;
Through wind power interval prediction, not only can obtain the predicted value of a real number, the contingent fluctuation range under certain confidence level can also be tried to achieve.The decision in the face of risk that this probabilistic forecasting mechanism substantially increases model is worth.
Sample calculation analysis
1 data
Check analysis is carried out with the data instance of north of China wind energy turbine set, data comprise average wind power measured value, the mean wind speed of the every 15min extracted from SCADA system, and the same period numerical weather forecast result, the time is (except October) in 2010.Have 80% for training in each moon sample, 20% for test.
Choose 2 kinds of instantly popular intelligent learning methods: neural network (GA-ANN) method as a comparison of support vector machine (SVM), genetic algorithm optimization, from precision of prediction, uncertainty analysis, operation time, model complexity 4 aspect, Forecasting Methodology analyzed respectively and contrast.All methods adopt same input parameter, training sample and test sample book.Note: because GA-ANN is comparatively large to training sample demand, then use whole 11 training samples of RVM as training data, only set up a model.
2 accuracy evaluation indexs
RMSE = &Sigma; i = 1 n ( P Mi - P Pi ) 2 Cap &times; n
MAE = &Sigma; i = 1 n | P Mi - P Pi | Cap &times; n
In formula:
RMSE is root-mean-square error;
MAE is mean absolute error;
P mifor the real power in i moment;
P pifor the predicted power in i moment;
Cap is wind energy turbine set start (or wind power generating set) total volume;
N is all number of samples.
3 test analysis
As shown in table 4 and Fig. 7, Fig. 8, RSP method, SVM method, GA-ANN method each moon root-mean-square error peace all absolute errors.The wind farm power prediction precision of RSP method is far above SVM method and GA-ANN method.Average of the whole year RMSE and MAE value comparatively SVM and GA-ANN reduce (12.565%-9.920%)/12.565%=21.05% and (9.088%-6.654%)/9.088%=26.778% respectively, embody the predictive ability that RSP method is stronger.
Table 4.RSP method, SVM method, GA-ANN method each moon predicated error
For May 24, July 29, September 25 and Dec 26, Fig. 9-Figure 12 depicts contingent fluctuation range under the predicted value of wind power, actual value and 90% confidence level, demonstrates anticipation trend and the uncertainty analysis ability of RSP method.This is one of important feature of the present invention, does not only give the predicted value determined in Output rusults, also provides the uncertainty analysis of this prediction simultaneously, the fluctuation higher limit namely predicted the outcome and lower limit.Can find out, the method has well doped the variation tendency of real power, and when power is undergone mutation, prediction curve also can well be followed the trail of.The bound plots changes of predicted power fluctuation is also consistent with real power curve, and is clipped in by real power curve between fluctuation bound; Through inspection: under 90% fiducial interval, the point of annual power actual value between predicted power fluctuation upper lower limit value has 89.928%.Prove the method can instruct wind energy turbine set operations staff and electric power system dispatching personnel more science carry out decision in the face of risk.
As can be seen from Table 5: the training time of RSP method and computing time are all much smaller than other two kinds of Forecasting Methodologies, and vectorial number involved in calculating is few, has fully demonstrated learning ability and the learning efficiency of RSP wind electric field power prediction method.In test, model running environment is: dominant frequency 2.79GHz internal memory 3.12GB.Prove that RSP method meets the requirement that the scheduling decision carrying the previous day requires and the ultra-short term operational plan of 10min-4h is formulated completely.
Table 5. model computing time and vectorial quantity
The above; be only the present invention's preferably embodiment, but protection scope of the present invention is not limited thereto, is anyly familiar with those skilled in the art in the technical scope that the present invention discloses; the change that can expect easily or replacement, all should be encompassed within protection scope of the present invention.Therefore, protection scope of the present invention should be as the criterion with the protection domain of claim.

Claims (2)

1., based on the high precision wind power interval prediction method of Method Using Relevance Vector Machine, it is characterized in that the method comprises the following steps:
Step 1: image data normalization, selects the training sample of Method Using Relevance Vector Machine forecast model according to the absolute error of wind speed in numerical weather forecast;
Step 2: be optimized the parameter of Method Using Relevance Vector Machine forecast model on the basis of step 1, obtains the iterative initial value of optimized kernel function width and Method Using Relevance Vector Machine forecast model;
Step 3: try to achieve kernel function on the basis of step 2, and then try to achieve the Method Using Relevance Vector Machine prediction model parameters after convergence;
Step 4: predicted value and the variance of trying to achieve wind power, obtain the forecast interval of wind power;
Described step 1 comprises:
A1. from wind farm data collection and supervisor control and anemometer tower, extract reality based on the data acquisition module of the interval Method Using Relevance Vector Machine forecast model of high precision wind power of Method Using Relevance Vector Machine and survey wind data, Power Output for Wind Power Field, numerical weather forecast data-hereinafter referred to as NWP, input parameter using NWP as model training power Output for Wind Power Field is as model training target parameter wherein x ifor sample parameter, be respectively the wind speed in NWP, wind direction sine value, wind direction cosine value, temperature, pressure, humidity; N is sample size; Then normalized input parameter and corresponding target parameter, normalization formula is:
x=[x ori-min(x ori)]/[[max(x ori)-min(x ori)]]
Wherein:
X orifor original sample parameter;
X is the sample parameter after normalization;
A2. first whole sample was divided into groups according to month, then the absolute error of the precision of each moon NWP according to NWP wind speed is divided into groups; The absolute error e of NWP wind speed nWPexpression formula is as follows:
e=|x NWP-x act|
Wherein:
E is NWP wind speed absolute error;
X nWPfor the wind speed numerical value in NWP result;
X actfor the wind speed numerical value of actual measurement;
A3. find best NWP accuracy class and set up training sample; NWP grade of errors corresponding to different month Method Using Relevance Vector Machine precision of forecasting model mxm. is not identical, that is: be station work sample according to the absolute error of wind speed in numerical weather forecast; Each group is tested with Method Using Relevance Vector Machine forecast model respectively, chooses one group of training sample as Method Using Relevance Vector Machine forecast model that wherein precision of prediction is the highest; Through the screening to example wind energy turbine set training sample, for each month sets up the training sample meeting NWP precision characteristic distributions;
Described step 2 comprises:
B1. with the input amendment of the training sample of step 1 gained for Model Parameter Optimization step; Adopt particle cluster algorithm, first set the initial value of particle position and speed in each colony of particle cluster algorithm, in example wind energy turbine set, number of particles gets 20, particle initial position is between (0,30) random number between, speed initial value is the random number between (-2,2);
B2. calculate the adaptive value of each particle, fitness function f expression formula is:
f = &Sigma; i = 1 n ( P Mi - P Pi ) 2 Cap &times; n
Wherein:
P mifor the real power in i moment;
P pifor the predicted power in i moment;
Cap is wind energy turbine set start total volume;
N is all number of samples;
B3. select particle position that in each colony, particle fitness function value is minimum respectively as the individual extreme value of each colony, select particle position minimum in all particles fitness function value as global extremum;
B4. upgrade particle rapidity and position, expression formula is respectively:
v i , d k + 1 = &omega; &CenterDot; v i , d k + c 1 &CenterDot; rand ( ) ( p b i , d k - y i , d k ) + c 2 &CenterDot; rand ( ) ( g b i , d k - y i , d k )
y i , d k + 1 = y i , d k + v i , d k + 1
Wherein:
C 1and c 2for Studying factors;
Rand () is the random number between (0,1);
with be respectively speed and the position of d dimension in particle i kth time iteration;
for the position of the individual extreme value that particle i ties up at d;
for the position of the global extremum that colony ties up at d;
ω is the inertia weight factor;
B5. adaptive value is checked whether to meet iteration requirement, as met then finishing iteration, when the global extremum obtained after secondary iteration is optimum kernel function width parameter and Method Using Relevance Vector Machine forecast model iterative initial value, do not meet and then return B2 until restrain or reach maximum iteration time;
Described step 3 comprises:
C1: input kernel function width, the Method Using Relevance Vector Machine forecast model iterative initial value after the best training sample after screening and particle cluster algorithm optimization;
C2: the kernel function K (X calculating the interval Method Using Relevance Vector Machine forecast model of high precision wind power based on Method Using Relevance Vector Machine i, X j), expression formula is:
K ( X i , X j ) = exp ( - | | X i - X j | | 2 2 &theta; 2 )
Wherein:
K (X i, X j) be kernel function;
X i, X jfor the mode input parameter after normalization;
θ is the kernel function width after particle cluster algorithm is optimized;
C3: the variance ∑ of calculation training sample Posterior distrbutionp, expression formula is:
∑=(σ -2φ Tφ+A) -1
Wherein:
∑ is the variance of Posterior distrbutionp;
A=diag (α 0, α 1... α n) be hyper parameter diagonal entry;
σ -2for iterative initial value;
φ is basis function vector, φ=(1, K (x, t)) t, x is input parameter, and t is target parameter;
C4: the weighted value w calculating Posterior distrbutionp i, expression formula is:
w i=σ -2∑φ Tt
Wherein:
W ifor Posterior distrbutionp weighted value;
T is the target component of training sample;
C5: utilize the maximal margin estimation technique to calculate about hyper parameter { α iand σ 2maximized prior distribution, maximal margin estimation technique expression formula is:
L=-0.5[log|β -1I+φA -1φ T|+t T-1I+φA -1φ T) -1t]
Wherein:
β is iterative initial value σ -2inverse;
I is unit matrix;
C6: if do not meet iterated conditional i.e. α between twice iteration ithe variable quantity of numerical value is less than 10 -6then continue to upgrade to calculate { α iand σ 2until convergence, parameter more new formula is:
&alpha; i new = 1 - &alpha; i &Sigma; ii w i 2 ; ( &sigma; 2 ) new = | | t - &phi; w i | | 2 N - &Sigma; ( 1 - &alpha; i &Sigma; ii )
Wherein:
iii-th diagonal entry of Posterior distrbutionp variance ∑;
N is sample size;
C7: delete α in iterative process iw corresponding to → ∞ i; The w retained icorresponding vector is " associated vector " of Method Using Relevance Vector Machine forecast model, and after convergence, Method Using Relevance Vector Machine prediction model parameters is: α mP, σ 2 mP;
Described step 4 comprises:
D1: substitute into kernel function width that test sample book, step 2 optimization obtain and Method Using Relevance Vector Machine forecast model iterative initial value, step 3 trains the Method Using Relevance Vector Machine prediction model parameters α obtained mP, σ 2 mP, try to achieve the wind farm power prediction value between (0,1) and variance thereof, expression formula is as follows:
y *=w Tφ
σ 2 *=σ 2 MPT∑φ
Wherein:
Y *for wind farm power prediction monodrome;
σ 2 *for wind farm power prediction is worth variance;
D2: renormalization process, expression formula is:
x anti=x 0-1×[max(x ori)-min(x ori)]+min(x ori)
Wherein:
X antifor renormalization result;
X 0-1for the parameter of [0,1];
X orifor original parameter;
D3: given confidence level parameter δ, calculate the contingent fluctuation higher limit of wind farm power prediction monodrome and fluctuation lower limit, i.e. uncertainty analysis, expression formula is as follows:
P upper=P prep×(1+σ *z δ/2)
P lower=P prep×(1-σ *z δ/2)
Wherein:
P upperfor the contingent fluctuation higher limit of wind farm power prediction value;
P lowerfor the contingent fluctuation lower limit of wind farm power prediction value;
P prepfor wind farm power prediction value;
σ *for wind farm power prediction is worth mean square deviation;
Z δ/2for the critical value that standardized normal distribution under confidence level 1-δ is corresponding;
Through wind power interval prediction, can not only obtain the predicted value of a real number, can also try to achieve the fluctuation range of the generation under certain confidence level, the decision in the face of risk that this probabilistic forecasting mechanism substantially increases model is worth.
2. the high precision wind power interval prediction method based on Method Using Relevance Vector Machine according to claim 1, is characterized in that described iteration requires to be less than 0.1 for adaptive value.
CN201110443265.5A 2011-12-27 2011-12-27 High-precision wind electric field power interval forecasting method based on relevance vector machine Active CN102567636B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201110443265.5A CN102567636B (en) 2011-12-27 2011-12-27 High-precision wind electric field power interval forecasting method based on relevance vector machine

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201110443265.5A CN102567636B (en) 2011-12-27 2011-12-27 High-precision wind electric field power interval forecasting method based on relevance vector machine

Publications (2)

Publication Number Publication Date
CN102567636A CN102567636A (en) 2012-07-11
CN102567636B true CN102567636B (en) 2015-01-07

Family

ID=46413025

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201110443265.5A Active CN102567636B (en) 2011-12-27 2011-12-27 High-precision wind electric field power interval forecasting method based on relevance vector machine

Country Status (1)

Country Link
CN (1) CN102567636B (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
EP3407271A4 (en) * 2017-03-24 2019-05-01 Xinjiang Goldwind Science & Technology Co., Ltd. Fault prediction method and device for fan

Families Citing this family (18)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102778555B (en) * 2012-08-06 2013-09-25 国网技术学院 Method for predicting concentration of gas dissolved in transformer oil
CN103296701B (en) * 2013-05-09 2015-04-29 国家电网公司 Active power control method in wind power plant
CN103808509A (en) * 2014-02-19 2014-05-21 华北电力大学(保定) Fan gear box fault diagnosis method based on artificial intelligence algorithm
CN104008430B (en) * 2014-05-29 2017-04-26 华北电力大学 Method for establishing virtual reality excavation dynamic smart load prediction models
CN105205544B (en) * 2014-06-24 2018-07-24 华北电力大学(保定) A kind of wind power forecasting method based on dual random theory
CN105046383A (en) * 2015-09-19 2015-11-11 东北电力大学 Real-time wind power predicting method based on ensemble empirical mode decomposition and relevant vector machine
CN105956722A (en) * 2016-06-22 2016-09-21 广东工业大学 Short-term wind power prediction method and apparatus
CN106960260B (en) * 2017-03-27 2021-05-18 国电电力威海风力发电有限公司 Wind power prediction system convenient for power dispatching
CN107437112B (en) * 2017-04-19 2018-07-17 武汉理工大学 A kind of mixing RVM model prediction methods based on the multiple dimensioned kernel function of improvement
CN108133225A (en) * 2017-10-23 2018-06-08 南京南瑞集团公司 A kind of icing flashover fault early warning method based on support vector machines
CN109242200B (en) * 2018-09-29 2022-05-17 华北电力大学 Wind power interval prediction method of Bayesian network prediction model
CN109858664A (en) * 2018-11-23 2019-06-07 国网新疆电力有限公司电力科学研究院 Thermal power plant unit thermoelectricity Relationship Prediction method and device based on Method Using Relevance Vector Machine
CN110110912B (en) * 2019-04-26 2021-09-28 华北电力大学 Photovoltaic power multi-model interval prediction method
CN110266058B (en) * 2019-05-31 2023-07-14 国网山东省电力公司济南供电公司 Modeling and solving method of unit combination model based on interval optimization
CN110991691A (en) * 2019-10-22 2020-04-10 国网浙江省电力有限公司 Wind power probability prediction method based on nuclear random approximation
CN110991725B (en) * 2019-11-27 2022-03-18 东北电力大学 RBF ultra-short-term wind power prediction method based on wind speed frequency division and weight matching
CN111612255B (en) * 2020-05-23 2022-07-26 福州大学 Wind power plant power curve modeling method based on support vector regression
CN115165777A (en) * 2022-07-01 2022-10-11 首都医科大学宣武医院 Fentanyl class management and control narcotic waste liquid recovery verification system

Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US6879944B1 (en) * 2000-03-07 2005-04-12 Microsoft Corporation Variational relevance vector machine
CN102102626A (en) * 2011-01-30 2011-06-22 华北电力大学 Method for forecasting short-term power in wind power station

Patent Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US6879944B1 (en) * 2000-03-07 2005-04-12 Microsoft Corporation Variational relevance vector machine
CN102102626A (en) * 2011-01-30 2011-06-22 华北电力大学 Method for forecasting short-term power in wind power station

Non-Patent Citations (3)

* Cited by examiner, † Cited by third party
Title
Sparse Bayesian Learning and the Relevance Vector Machine;Michael E.Tipping;《The Journal of Machine Research》;20010109;第1卷;第15-19页 *
区域风电功率一体化预测方法研究;陈倩;《中国优秀硕士学位论文全文数据库》;20111210;第20-35页 *
粒子群优化算法及其应用研究;李丹;《中国优秀博士学位论文全文数据库》;20101130;第211-244页 *

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
EP3407271A4 (en) * 2017-03-24 2019-05-01 Xinjiang Goldwind Science & Technology Co., Ltd. Fault prediction method and device for fan

Also Published As

Publication number Publication date
CN102567636A (en) 2012-07-11

Similar Documents

Publication Publication Date Title
CN102567636B (en) High-precision wind electric field power interval forecasting method based on relevance vector machine
Ding et al. Rolling optimization of wind farm and energy storage system in electricity markets
CN105046374B (en) A kind of power interval prediction technique based on core extreme learning machine model
Mabel et al. Analysis of wind power generation and prediction using ANN: A case study
Ghadimi et al. PSO based fuzzy stochastic long-term model for deployment of distributed energy resources in distribution systems with several objectives
CN102184337B (en) Dynamic combination analysis method of new energy generating capacity influenced by meteorological information
CN106295899B (en) Wind power probability density Forecasting Methodology based on genetic algorithm Yu supporting vector quantile estimate
CN104319807B (en) A kind of method obtaining windy electric field capacity credibility based on Copula function
CN102479347B (en) Method and system for forecasting short-term wind speed of wind farm based on data driving
CN104978608A (en) Wind power prediction apparatus and prediction method
CN105160060A (en) Actual power curve fitting based theoretical power determination method for wind power plant
CN107394809A (en) Wind-electricity integration system risk appraisal procedure based on wind speed time cycle feature
CN105205549A (en) Light-preserved system tracking day-ahead plan scheduling method based on chance constrained programming
CN114021420A (en) Distributed photovoltaic ultra-short-term power generation prediction method and system
CN110380444A (en) Distributing wind-powered electricity generation orderly accesses the method for planning capacity of power grid under a kind of more scenes based on structure changes Copula
CN111612244A (en) QRA-LSTM-based method for predicting nonparametric probability of photovoltaic power before day
Gulin et al. Load forecast of a university building for application in microgrid power flow optimization
CN109118120A (en) Consider the Multiobjective Decision Making Method of Reservoir Operation Scheme Substantial evaluation
Bo et al. Hybrid PSO-BP neural network approach for wind power forecasting
Zhang et al. Achieving wind power and photovoltaic power prediction: An intelligent prediction system based on a deep learning approach
CN109615142A (en) A kind of wind farm wind velocity combination forecasting method based on wavelet analysis
Deng et al. A Survey of the Researches on Grid-Connected Solar Power Generation Systems and Power Forecasting Methods Based on Ground-Based Cloud Atlas
Liu et al. Advanced evaluation method for regional wind power prediction
CN105117814A (en) Method for actively power distribution network bi-layer wind-power planning based on improved Cuckoo search algorithm
Kazem Prediction of grid-connected photovoltaic performance using artificial neural networks and experimental dataset considering environmental variation

Legal Events

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