This application claims all benefits accruing under 35 U.S.C. §119 from China Patent Application 201410163004.1, filed on Apr. 22, 2014 in the China Intellectual Property Office, disclosure of which is incorporated herein by reference.
1. Technical Field
The present disclosure relates to a method of predicating ultra-short-term wind power based on self-learning composite data source.
2. Description of the Related Art
With the rapid development of wind power industry, China has entered a period of rapidly developing wind power. Large-scale wind power bases are usually located in the “Three North” (Northwest, Northeast, Northern China) of China.
With development of new energy, uncertainty and uncontrollability of wind power and photovoltaic brings to many problems to the security and stability of economic operation of the grid. The wind power predication is the basis for large-scale wind power optimization scheduling. The wind power predication can provide critical information for real-time scheduling of new energy , recent plan of new energy, monthly plan of new energy, generation capacity of new energy, and abandoned wind power
What is needed, therefore, is a method of predicating ultra-short-term wind power based on self-learning composite data source.
Many aspects of the embodiments can be better understood with reference to the following drawings. The components in the drawings are not necessarily drawn to scale, the emphasis instead being placed upon clearly illustrating the principles of the embodiments. Moreover, in the drawings, like reference numerals designate corresponding parts throughout the several views.
The only FIGURE shows a flowchart of one embodiment of a method of predicating ultra-short-term wind power based on self-learning composite data source.
The disclosure is illustrated by way of example and not by way of limitation in the figures of the accompanying drawings in which like references indicate similar elements. It should be noted that references to “an” or “one” embodiment in this disclosure are not necessarily to the same embodiment, and such references mean at least one.
Referring to the FIGURE, one embodiment of a method of predicating ultra-short-term wind power based on self-learning composite data source comprises:
first step, obtaining model parameters of an autoregression moving average model by inputting data;
second step, obtaining a predication result by inputting data required by wind power predication into the autoregression moving average model; and
third step, performing post-evaluation to the predication result by analyzing error between the predication result and measured values, and performing model order determination and model parameters estimation again while the error is greater than an allowable maximum error.
The method of predicating ultra-short-term wind power can be divided into two stages: the first stage, training model; and the second stage, predicating wind power. The first stage comprises the first step, and the second step. The second stage comprises the third step.
In first step, the model parameters of the autoregression moving average model can be obtained by:
(a), inputting basic data of model training;
(b), determining model order; and
(c), estimating the parameters of model via moment estimation method.
In step (a), the basic data of model training comprises wind farm's basic information, historical wind speed data, historical power data, and geographic information system data.
In step (b), the model order is determined by:
determining model order by using the residual variance map, wherein xt is assumed as the item to be estimated, and xt-1, xt-2, . . . , xt-n is the known historical power sequence; for the ARMA (p, q) model, the determining model order is to determine the value of the model parameters p and q;
fitting the original sequence with a series of progressively increasing order model, calculating residual sum of squares {circumflex over (σ)}a2, and drawing the order and graphics of {circumflex over (σ)}a2, wherein while the order increase, {circumflex over (σ)}a2 decreases dramatically; while the order reaches actual order, {circumflex over (σ)}a2 is gradually leveled off, or even increase,
{circumflex over (σ)}a2=Squares of fitting error/((number of actually observed values)−(number of model parameters));
wherein the number of actually observed values is the observed values which applied in the fitting model; in a sequence with N observed values, the maximum number of observed values is N−p in fitting AR(p) model; the number of model parameters is the number of parameters applied in constructing model; while the model comprises mean values, the number of model parameters equals to the number of order plus one; In the sequence with N observed values, the ARMA model residuals estimator is:
wherein Q is a sum of squares of fitting error; φi(1≦i≦p) and θj(1≦j≦q) are model coefficients; N is a length of observed sequence; {circumflex over (μ)} is a constant of model parameters, and determined by φi(1≦i≦p) and θj(1≦j≦q)
In the step (c), the estimating the parameters of ARMA (p,q) model via moment estimation method comprises:
defining the historical power data of wind farm as a data sequence x1, x2, . . . , xt, and autocovariance of x1, x2, . . . , xt is defined as:
wherein k=0, 1, 2, . . . , n−1, xt and xt-k are values in the sequence x1, x2, . . . , xt; then
The autocorrelation function of historical power data is:
wherein k=0, 1, 2, . . . , n−1.
The moments estimation of the AR is:
assuming:
y
t
=x
1−φ1xt-1− . . . −φpxt-p;
thus a covariance function is:
substituting γk with estimate of {circumflex over (γ)}k:
thus parameters φ1, φ2, . . . , φp can be obtained;
applying moments estimation to the model parameters θ1, θ2, . . . , θq of model MA(q):
γ0(yt)=(1+θ12+θ22+ . . . +θq2)σa2,
until
γk(yt)=(−θk+θ1θk+1+ . . . +θq-kθq)σa2,
wherein k=1, 2, . . . , m;
the model parameters of the autoregression moving average model of the m+1 nonlinear equations listed above can be resolved via iteration.
In detail, the equation can be transformed as:
giving a group of initial values of θ1, θ2, . . . , θq and σa2 such as:
θ1=θ2= . . . =θq=0, σa2=γ0;
substituting the initial values into the right side of the two equations listed above, the left is the first iterative value in the first iterative step, and defined as σa2(1), θ1(1), . . . , θq(1); then the σa2(1), θ1(1), . . . , θq(1) again, the left is the second iterative value, and defined as σa2(2), θ1(2), . . . , θq(2); going on iteration, while the results of the adjacent two iterations is less than a given threshold, the results are obtained as the approximate solution of parameters.
From solving process listed above, in order to obtain the order of the time series model, it is necessary to obtain the predictive value of the time series forecasting; in order to get the predictive value of a time series, it is necessary to establish specific prediction function; in order to establish specific prediction function, it is necessary to obtain the order of model.
According to practical results, the order of time series model is generally not more than five bands. So in the implementation of the algorithm, it can assume that the model has one order, and get a first-order model parameters from parameters estimation method, thereby the estimated function can be obtained, then the predictive value of each item of time series model in the first-order model, thus a first-order residual variance model can be obtained; then, assuming the model is a second-order model, and obtain the second-order model residuals via the above method; and so on, the residuals of 1-5 order model can be obtained, and selected the minimum order residuals model number as the final order of the model. After determine the model order, the parameters θ1, θ2, . . . , θq can be calculated.
In the second step, the obtaining a predication result by inputting data required by wind power predication into the autoregression moving average model comprises:
(a), inputting basic data of power prediction;
(b), dealing with the basic data via filtering and preprocessing;
(c), establishing autoregressive moving average model based on the certain parameters, and inputting the basic data after being dealt with into the autoregressive moving average model to obtain prediction result;
(d), outputting the predication result to the database, showing the prediction results by charts and curves, and showing the results of comparing prediction results and measured results.
In one embodiment, the basic data comprises resource monitoring system data and operational monitoring system data. The resource monitoring system data comprises wind resource monitoring system resource monitoring data; the operation monitoring system data comprises fans data, booster station data, and supervisory control and data acquisition system (SCADA).
In one embodiment, the dealing with the basic data via filtering and preprocessing comprises: the noise filter module filter the data obtained from the real-time acquisition monitoring system in order to remove bad data and singular value; data preprocessing module deal with the data via alignment, normalization, and classification filtering process.
After the model parameters are estimated, the time series model of ultra-short-term wind power forecasting can be obtained by combined the model parameters and order of the model has been estimated. The autoregression moving average model can be established in accordance with p and q values, as well as the value φ1, φ2, . . . , φp and θ1, θ2, . . . , θq.
The autoregressive moving average model can be:
wherein φi(1≦i≦p) and θj(1≦j≦q) are coefficients, αt is white noise sequence.
The ultra-short-term wind power prediction accuracy is effectively improved due to the fact the composite data source is introduced, and thus the on-grid energy of new energy resources is effectively increased on the premise that safe, stable and economical operation of a power grid is guaranteed.
Depending on the embodiment, certain of the steps of methods described may be removed, others may be added, and that order of steps may be altered. It is also to be understood that the description and the claims drawn to a method may include some indication in reference to certain steps. However, the indication used is only to be viewed for identification purposes and not as a suggestion as to an order for the steps.
It is to be understood that the above-described embodiments are intended to illustrate rather than limit the disclosure. Variations may be made to the embodiments without departing from the spirit of the disclosure as claimed. It is understood that any element of any one embodiment is considered to be disclosed to be incorporated with any other embodiment. The above-described embodiments illustrate the scope of the disclosure but do not restrict the scope of the disclosure.
Number | Date | Country | Kind |
---|---|---|---|
201410163004.1 | Apr 2014 | CN | national |