CN102521671B - Ultrashort-term wind power prediction method - Google Patents
Ultrashort-term wind power prediction method Download PDFInfo
- Publication number
- CN102521671B CN102521671B CN201110388041.9A CN201110388041A CN102521671B CN 102521671 B CN102521671 B CN 102521671B CN 201110388041 A CN201110388041 A CN 201110388041A CN 102521671 B CN102521671 B CN 102521671B
- Authority
- CN
- China
- Prior art keywords
- sample set
- wind power
- training
- vector machine
- model
- 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.)
- Expired - Fee Related
Links
- 238000000034 method Methods 0.000 title claims abstract description 53
- 238000012549 training Methods 0.000 claims abstract description 29
- 239000011159 matrix material Substances 0.000 claims description 26
- 238000012545 processing Methods 0.000 claims description 9
- 230000003044 adaptive effect Effects 0.000 claims description 5
- 238000004422 calculation algorithm Methods 0.000 claims description 4
- 238000001914 filtration Methods 0.000 claims description 3
- 210000002364 input neuron Anatomy 0.000 claims description 3
- 210000004205 output neuron Anatomy 0.000 claims description 3
- 238000011946 reduction process Methods 0.000 claims description 2
- 230000009466 transformation Effects 0.000 claims 2
- 230000015572 biosynthetic process Effects 0.000 claims 1
- 239000000203 mixture Substances 0.000 claims 1
- 238000007781 pre-processing Methods 0.000 abstract description 3
- 230000006870 function Effects 0.000 description 14
- 238000013528 artificial neural network Methods 0.000 description 5
- 238000004364 calculation method Methods 0.000 description 4
- 238000013277 forecasting method Methods 0.000 description 4
- 238000012706 support-vector machine Methods 0.000 description 3
- 230000002457 bidirectional effect Effects 0.000 description 2
- 230000000694 effects Effects 0.000 description 2
- 238000005516 engineering process Methods 0.000 description 2
- 238000013507 mapping Methods 0.000 description 2
- 238000007619 statistical method Methods 0.000 description 2
- 230000002159 abnormal effect Effects 0.000 description 1
- 230000002411 adverse Effects 0.000 description 1
- 238000004458 analytical method Methods 0.000 description 1
- 230000005540 biological transmission Effects 0.000 description 1
- 238000006243 chemical reaction Methods 0.000 description 1
- 230000007613 environmental effect Effects 0.000 description 1
- 238000009499 grossing Methods 0.000 description 1
- 238000011160 research Methods 0.000 description 1
- 238000013468 resource allocation Methods 0.000 description 1
- 238000005070 sampling Methods 0.000 description 1
- 230000007704 transition Effects 0.000 description 1
- 230000000007 visual effect Effects 0.000 description 1
Landscapes
- Management, Administration, Business Operations System, And Electronic Commerce (AREA)
Abstract
Description
技术领域 technical field
本发明属于风电功率预测技术领域,尤其涉及一种风电功率超短期预测方法。The invention belongs to the technical field of wind power forecasting, in particular to an ultra-short-term wind power forecasting method.
背景技术 Background technique
随着能源和环境问题的日益突出,风能作为可再生能源发电技术中发展最快的一种能源,越来越受到人们的重视,由于风电场的输出功率具有间歇性和波动性的特点,所以风电接入电网后会对整个电网的电能质量和电力系统运行的稳定性产生重要的影响,为减少这种不利影响,对风电功率的预测准确性就显得尤为重要。由中华人民共和国国家能源局发布的《中华人民共和国电力行业标准》中的《风电功率预测功能规范》指出了超短期风电功率预测是指预测风电场未来0-4小时的有功功率。由于电网调度、资源配置所需的时间主要集中在0~3小时时间段,因此,对风电功率的超短期预测显得尤为重要,尤其是风电功率超短期预测能有效的减轻风电并网对整个电网的影响,对于电网安全经济调度、电力市场及风电场运行都有重要意义。With the increasingly prominent energy and environmental problems, wind energy, as the fastest-growing energy source in renewable energy generation technology, has attracted more and more attention. After wind power is connected to the grid, it will have an important impact on the power quality of the entire grid and the stability of the power system operation. In order to reduce this adverse effect, the accuracy of wind power prediction is particularly important. The "Functional Specifications for Wind Power Forecasting" in the "Electric Power Industry Standards of the People's Republic of China" issued by the National Energy Administration of the People's Republic of China points out that ultra-short-term wind power forecasting refers to predicting the active power of wind farms in the next 0-4 hours. Since the time required for power grid dispatching and resource allocation is mainly concentrated in the time period of 0 to 3 hours, the ultra-short-term forecast of wind power is particularly important, especially the ultra-short-term forecast of wind power can effectively reduce the impact of wind power on the entire grid. It is of great significance to the security and economic dispatch of the power grid, the power market and the operation of wind farms.
目前风电功率的预测方法根据直接预测的物理量不同可以分为两类:一类是直接预测风电场的输出功率,另一类是先进行风速预测,然后根据风电机组或风电输出功率与风速的关系得到风电输出功率。其中,直接预测法常包括物理模型法和统计法两种。物理模型通过对风电场所在地进行物理建模,利用风速、风向、气温和气压等数值天气预报进行预测,该方法的预测结果和建立的模型好坏有很大的关系,如果模型太粗糙,预测精度就会较差。统计方法的实质是利用有效的历史数据(如数值天气预报数据、历史统计风电功率数据)进行预测。常见的相关方法有持续预测法、空间平滑法、时间序列法、卡尔曼滤波法、灰色预测法、人工神经网络法、小波分析法、支持向量机回归法、最小二乘法、模糊逻辑法等。其中持续预测法最简单,该方法把最近一点的功率观测值作为下一点的预测值。人工神经网络和支持向量机的相关研究是现在主要应用的方法,但人工神经网络复杂度较高,支持向量机的参数选择对模型预测精度有较大影响。At present, wind power prediction methods can be divided into two categories according to the different physical quantities directly predicted: one is to directly predict the output power of the wind farm, and the other is to first predict the wind speed, and then according to the relationship between the output power of the wind turbine or wind power and the wind speed Get the output power of wind power. Among them, the direct prediction method often includes two kinds of physical model method and statistical method. The physical model performs physical modeling on the location of the wind farm, and uses numerical weather forecasts such as wind speed, wind direction, temperature and air pressure to make predictions. The prediction results of this method have a lot to do with the quality of the established model. If the model is too rough, the prediction Accuracy will be poor. The essence of statistical methods is to use effective historical data (such as numerical weather prediction data, historical statistical wind power data) to make predictions. Common related methods include continuous prediction method, spatial smoothing method, time series method, Kalman filter method, gray prediction method, artificial neural network method, wavelet analysis method, support vector machine regression method, least square method, fuzzy logic method, etc. Among them, the continuous prediction method is the simplest, which uses the power observation value of the latest point as the predicted value of the next point. The related research of artificial neural network and support vector machine is the main application method at present, but the complexity of artificial neural network is high, and the parameter selection of support vector machine has a great influence on the prediction accuracy of the model.
发明内容 Contents of the invention
针对上述背景技术中提到的现有风电功率预测方法复杂和预测精度不高等不足,本发明提出了一种风电功率超短期预测方法。Aiming at the shortcomings of the existing wind power forecasting methods mentioned in the above background technology, such as complexity and low forecasting accuracy, the present invention proposes an ultra-short-term wind power forecasting method.
本发明的技术方案是,一种风电功率超短期预测方法,其特征是该方法包括以下步骤:The technical solution of the present invention is a method for ultra-short-term forecasting of wind power, characterized in that the method comprises the following steps:
步骤1:采集风电场的风速、风向和风电功率数据,形成样本集;Step 1: Collect the wind speed, wind direction and wind power data of the wind farm to form a sample set;
步骤2:对样本集进行数据预处理;Step 2: Perform data preprocessing on the sample set;
步骤3:利用深度自动编码器网络对预处理后的样本集进行降维;Step 3: Use the deep autoencoder network to reduce the dimensionality of the preprocessed sample set;
步骤4:用降维后的样本集对相关向量机回归模型进行训练,然后利用训练后的相关向量机回归模型对超短期的风电功率进行预测。Step 4: Use the dimension-reduced sample set to train the correlation vector machine regression model, and then use the trained correlation vector machine regression model to predict the ultra-short-term wind power.
所述步骤2具体包括下列步骤:Described step 2 specifically comprises the following steps:
步骤2.1:对采集的样本集应用有限脊波变换,得到脊波系数矩阵,对脊波系数矩阵的每列分别进行一维离散多尺度小波变换,得到有限脊波变换系数矩阵;Step 2.1: apply finite ridgelet transform to the collected sample set to obtain a ridgelet coefficient matrix, and perform one-dimensional discrete multi-scale wavelet transform on each column of the ridgelet coefficient matrix to obtain a finite ridgelet transform coefficient matrix;
步骤2.2:对有限脊波变换系数矩阵的每一列进行小波自适应阈值去噪处理,低频子带系数不处理,对各高频子带系数进行软阈值处理;Step 2.2: Perform wavelet adaptive threshold denoising processing on each column of the finite ridgelet transform coefficient matrix, do not process low-frequency sub-band coefficients, and perform soft-threshold processing on high-frequency sub-band coefficients;
步骤2.3:对处理后的有限脊波变换系数矩阵应用有限脊波反变换重构信号;Step 2.3: applying finite ridgelet inverse transform to the processed finite ridgelet transform coefficient matrix to reconstruct the signal;
步骤2.4:对重构信号进行自适应维纳Wiener滤波,得到去噪后的样本集。Step 2.4: Perform adaptive Wiener filtering on the reconstructed signal to obtain a denoised sample set.
所述步骤3具体包括下列步骤:Described step 3 specifically comprises the following steps:
步骤3.1:采用连续限制波耳兹曼机模型对对去噪处理后的样本集进行预训练,得到一组独立的连续限制波耳兹曼机模型和一组权值;Step 3.1: Pre-training the denoised sample set with a continuous restricted Boltzmann machine model to obtain a set of independent continuous restricted Boltzmann machine models and a set of weights;
步骤3.2:将每个连续限制波耳兹曼机模型的输出神经元和下一个连续限制波耳兹曼机模型的输入神经元合并为一层,展开形成深度自动编码器网络;Step 3.2: Combine the output neuron of each continuous restricted Boltzmann machine model and the input neuron of the next continuous restricted Boltzmann machine model into one layer, and expand to form a deep autoencoder network;
步骤3.3:对权值进行微调,采用基于交叉熵函数的BP算法进行网络训练,调整权值以使交叉熵函数达到最小,完成降维过程。Step 3.3: Fine-tune the weights, use the BP algorithm based on the cross-entropy function for network training, adjust the weights to minimize the cross-entropy function, and complete the dimensionality reduction process.
所述步骤4具体包括下列步骤:Described step 4 specifically comprises the following steps:
步骤4.1:将降维后的样本集根据相关向量机训输入的格式要求对样本集进行格式化处理;Step 4.1: format the sample set after dimensionality reduction according to the format requirements of the relevant vector machine training input;
步骤4.2:选择高斯核函数作为相关向量机模型的核函数,对核函数的参数初始化;Step 4.2: Select the Gaussian kernel function as the kernel function of the correlation vector machine model, and initialize the parameters of the kernel function;
步骤4.3:用格式化处理后的样本集对相关向量机模型进行训练;Step 4.3: use the formatted sample set to train the correlation vector machine model;
步骤4.4:在步骤4.3的基础上,利用训练好的相关向量机模型预测超短期的风电功率。Step 4.4: On the basis of step 4.3, use the trained correlation vector machine model to predict the ultra-short-term wind power.
所述有限脊波变换的计算公式为:The calculation formula of the finite ridgelet transform is:
式中:In the formula:
FRATf[k,l]是有限脊波变换系数矩阵;FRAT f [k, l] is the finite ridgelet transform coefficient matrix;
p是系数矩阵的维数;p is the dimension of the coefficient matrix;
f(a,b)是离散数据信号;f(a, b) is a discrete data signal;
a为横坐标;a is the abscissa;
b为纵坐标;b is the vertical coordinate;
Lk,l表示网格Zp 2上组成的以k为斜率、l为截距的直线的点的集合。所述软阈值的计算公式为:L k, l represents the set of points on the grid Z p 2 on a straight line with k as the slope and l as the intercept. The formula for calculating the soft threshold is:
其中:in:
T为软阈值;T is the soft threshold;
为估计噪声的方差; is the variance of the estimated noise;
为估计子带信号方差。 To estimate the subband signal variance.
本发明对风电功率进行预测的方法是先用脊波变换对得到的样本集进行去噪处理,然后用深度自动编码器网络对样本集数据进行降维,最后用相关向量机回归模型进行预测。本发明适合于风电场超短期功率的预测,实现了结构风险最小化的原则,深度自动编码器网络的引进,使样本集能够在低维度的样本数据上进行模型训练,大大降低了预测模型的训练时间开销,进而很好满足系统状态估计中对于精度和实时性的要求,使预测模型更加准确。The method for predicting wind power in the present invention is to use ridgelet transform to denoise the obtained sample set, then use a deep autoencoder network to reduce the dimension of the sample set data, and finally use a correlation vector machine regression model to predict. The invention is suitable for the prediction of ultra-short-term power of wind farms, and realizes the principle of minimizing structural risks. The introduction of deep autoencoder network enables the sample set to perform model training on low-dimensional sample data, which greatly reduces the cost of the prediction model. The training time overhead can well meet the accuracy and real-time requirements of the system state estimation, making the prediction model more accurate.
附图说明 Description of drawings
图1为超短期风电功率预测方法流程图;Figure 1 is a flow chart of the ultra-short-term wind power forecasting method;
图2为基于脊波变换的方法对得到的样本集去噪的流程图;Fig. 2 is the flowchart of denoising the sample set obtained based on the method of ridgelet transform;
图3为用相关向量机回归模型预测的流程图。Fig. 3 is a flow chart of predicting with the correlation vector machine regression model.
具体实施方式 Detailed ways
下面结合附图,对优选实施例作详细说明。应该强调的是,下述说明仅仅是示例性的,而不是为了限制本发明的范围及其应用。The preferred embodiments will be described in detail below in conjunction with the accompanying drawings. It should be emphasized that the following description is only exemplary and not intended to limit the scope of the invention and its application.
一种好的预测模型必须同时考虑预测所能达到的精度和时空复杂度问题,考虑到上述原因,本方法中采用了深度自动编码器网络和相关向量回归模型相结合的思想进行预测。直接采集的数据粗糙不齐而且有噪点,所以采用脊波变换对样本集数据进行处理。但在高维样本集下的训练时空复杂度太大,而深度自动编码器网络(Deep Autoencoder Network,DAN)方法采用连续值限制型波耳兹曼模型(Continouse Restricted Boltzmann Machine,CRBM)的网络结构,通过训练具有多个中间层的双向深层神经网络将高维数据转换成低维嵌套并继而重构高维数据。特别地,DAN提供了高维数据空间和低维嵌套结构的双向映射,有效解决了大多数非线性降维方法所不具备的逆向映射问题。高维数据转换成低维嵌套并继而重构高维数据方法,能够在尽量保持观测空间的全局与局部性质的前提下降低空间维数,能够解决在高维样本集下训练时空复杂度大的问题。相关向量机(Relevance Vector Machine,RVM)很好地解决了预测精度的问题。本发明的解决思路是:首先,采用脊波变换对样本集数据进行处理,然后用DAN方法进行维数约减,使之从高维空间数据映射为低维空间数据,最后用RVM进行样本训练和预测。A good prediction model must consider both the accuracy of the prediction and the complexity of time and space. Considering the above reasons, this method uses the idea of combining the deep autoencoder network and the correlation vector regression model for prediction. The directly collected data is rough and noisy, so the ridgelet transform is used to process the sample set data. However, the space-time complexity of training under high-dimensional sample sets is too large, and the Deep Autoencoder Network (DAN) method uses the network structure of the Continuous Restricted Boltzmann Machine (CRBM) , transform high-dimensional data into low-dimensional embeddings and then reconstruct high-dimensional data by training a bidirectional deep neural network with multiple intermediate layers. In particular, DAN provides a bidirectional mapping of high-dimensional data spaces and low-dimensional nested structures, effectively solving the reverse mapping problem that most nonlinear dimensionality reduction methods do not have. The method of converting high-dimensional data into low-dimensional nesting and then reconstructing high-dimensional data can reduce the spatial dimension while maintaining the global and local properties of the observation space as much as possible, and can solve the problem of the large space-time complexity of training in high-dimensional sample sets. The problem. Relevance Vector Machine (RVM) solves the problem of prediction accuracy well. The solution idea of the present invention is: firstly, adopt ridgelet transform to process sample set data, then use DAN method to reduce dimensionality, make it map from high-dimensional space data to low-dimensional space data, and finally use RVM to carry out sample training and forecast.
图1是本发明提供的一种超短期功率预测方法流程图。图1中,本发明提供的方法包括如下的步骤:Fig. 1 is a flowchart of an ultra-short-term power prediction method provided by the present invention. In Fig. 1, the method provided by the invention comprises the following steps:
步骤1:采集某风电场8月的风速、风向和风电功率数据,形成样本集;Step 1: Collect the wind speed, wind direction and wind power data of a wind farm in August to form a sample set;
这些数据每隔15分钟采集一次,形成N×T二维数组。These data are collected every 15 minutes to form an N×T two-dimensional array.
步骤2:对样本集进行数据预处理,采用基于脊波变换的方法对得到的样本集去噪;图2是基于脊波变换的方法对得到的样本集去噪的流程图。步骤2又包含下列步骤:Step 2: Perform data preprocessing on the sample set, and use a method based on ridgelet transform to denoise the obtained sample set; Figure 2 is a flow chart of denoising the obtained sample set based on the ridgelet transform method. Step 2 in turn includes the following steps:
步骤2.1:对采集的样本集应用有限脊波变换,每个方向上将产生一个FRAT序列,因此有限脊波变换的结果是产生一个p×(p+1)的脊波系数矩阵,对脊波系数矩阵的每列分别进行一维离散多尺度小波变换,得到有限脊波变换系数矩阵FRATf[k,l],(k,l)∈Pi,j,整个过程称为有限脊波变换。Step 2.1: Apply finite ridgelet transform to the collected sample set, a FRAT sequence will be generated in each direction, so the result of finite ridgelet transform is to generate a p×(p+1) ridgelet coefficient matrix, for ridgelet One-dimensional discrete multi-scale wavelet transform is performed on each column of the coefficient matrix to obtain the finite ridgelet transform coefficient matrix FRAT f [k, l], (k, l)∈P i, j , and the whole process is called finite ridgelet transform.
设p是一个素数,定义集合Zp={0,1,2,…,p-1},那么定义离散数据信号f(x)在有限网格Zp 2上的有限脊波变换的系数矩阵为:Let p be a prime number, define the set Z p ={0, 1, 2,...,p-1}, then define the coefficient matrix of the finite ridgelet transform of the discrete data signal f(x) on the finite grid Z p 2 for:
式中:In the formula:
FRATf[k,l]是有限脊波变换系数矩阵;FRAT f [k, l] is the finite ridgelet transform coefficient matrix;
p是系数矩阵的维数;p is the dimension of the coefficient matrix;
f(a,b)是离散数据信号;f(a, b) is a discrete data signal;
a为横坐标;a is the abscissa;
b为纵坐标。b is the ordinate.
Lk,l表示网格Zp 2上组成的以k为斜率、l为截距的直线(当k=p时,代表斜率无限大或垂直的直线)的点的集合,即:L k, l represents the collection of points on the grid Z p 2 of a straight line with k as the slope and l as the intercept (when k=p, it represents a straight line with an infinite slope or a vertical line), namely:
Lk,l={(i,j)|j=ki+l(mod)p,i∈Zp},k∈Zp (2)L k, l = {(i, j)|j = ki+l(mod)p, i∈Z p }, k∈Z p (2)
其中:in:
Zp为网格边长。Z p is the grid side length.
Lp,l={(l,j)|j∈ZP} (3)L p, l = {(l, j)|j∈Z P } (3)
上式定义了有限网格Zp 2上p×(p+1)个方向上的直线,其中每条直线上均包含p个点,对于任意给定方向,存在p条互相平行的直线,它们完全覆盖了网格Zp 2。其重构公式为:The above formula defines the straight lines in p×(p+1) directions on the finite grid Z p 2 , where each straight line contains p points. For any given direction, there are p parallel straight lines, and they Grid Z p 2 is completely covered. Its reconstruction formula is:
式中:In the formula:
Pa,b为经过点(a,b)∈Zp 2的直线的斜率和截距构成的数组集合,可表示为:P a, b is an array set composed of the slope and intercept of the straight line passing through the point (a, b) ∈ Z p 2 , which can be expressed as:
步骤2.2:对有限脊波变换系数矩阵的每一列,进行小波自适应阈值去噪处理,低频子带不处理,对各高频子带系数进行软阈值处理。阈值公式为:Step 2.2: For each column of the finite ridgelet transform coefficient matrix, perform wavelet adaptive threshold denoising processing, do not process low-frequency sub-bands, and perform soft-threshold processing on high-frequency sub-band coefficients. The threshold formula is:
其中:in:
T为阈值;T is the threshold;
为估计噪声的方差; is the variance of the estimated noise;
为估计子带信号方差; To estimate the subband signal variance;
步骤2.3:处理后的脊波系数矩阵应用有限脊波反变换重构信号;Step 2.3: Apply the finite ridgelet inverse transform to the processed ridgelet coefficient matrix to reconstruct the signal;
步骤2.4:对重构信号进行自适应维纳Wiener滤波,以减少“卷绕”效应,得到去噪后的样本集。Step 2.4: Adaptive Wiener filtering is performed on the reconstructed signal to reduce the "convoluted" effect, and a denoised sample set is obtained.
步骤3:利用深度自动编码器网络对得到的样本集进行降维。步骤3又包含下列步骤:Step 3: Use the deep autoencoder network to reduce the dimensionality of the obtained sample set. Step 3 further includes the following steps:
步骤3.1:对于脊波变换处理后的样本集N×M数组记做X={x1,x2,...,xi∈RM},其中,i≤M,向量xi的维数为N;Step 3.1: write X={x 1 , x 2 ,..., x i ∈ R M } for the sample set N×M array processed by ridgelet transform, where, i≤M, the dimension of vector x i for N;
步骤3.2:采用CRBM对数据进行预训练,可以得到一组独立的CRBM模型和一组权值;Step 3.2: Using CRBM to pre-train the data, a set of independent CRBM models and a set of weights can be obtained;
其中CRBM的预训练过程为:The pre-training process of CRBM is:
CRBM由一个可视层和一个隐层及他们层间的连接组成。可视单元和隐单元间由权值矩阵w连接,隐层中的每个单元的输入都来自于可视层中所有单元的状态,按照各个可视单元对每个隐层单元的贡献大小,对它们之间的连接赋以相应的权值,即每个隐单元的状态值是与其连接的所有可视单元的权值和。下面用s表示可视单元和隐单元的状态,sj表示输入来自于可视单元状态集{si}的隐单元j的输出,wij表示可视单元i和隐单元j之间的权值,且它们之间的双向权值相等,即wij=wji,则通过如下公式进行权值更新计算。CRBM consists of a visible layer and a hidden layer and the connections between them. The visible unit and the hidden unit are connected by a weight matrix w. The input of each unit in the hidden layer comes from the state of all units in the visible layer. According to the contribution of each visible unit to each hidden layer unit, The corresponding weights are assigned to the connections between them, that is, the state value of each hidden unit is the sum of the weights of all visible units connected to it. In the following, s represents the state of the visible unit and the hidden unit, s j represents the output of the hidden unit j whose input comes from the state set {s i } of the visual unit, and w ij represents the weight between the visible unit i and the hidden unit j value, and the two-way weights between them are equal, that is, w ij =w ji , then the weight update calculation is performed by the following formula.
式中函数φj的表达式如下:The expression of the function φ j in the formula is as follows:
其中,Nj(0,1)表示零均值、单位方差的高斯随机变量。常数σ和Nj(0,1)共同产生了一个噪声输入分量nj=σNj(0,1),其概率分布为:Wherein, N j (0, 1) represents a Gaussian random variable with zero mean and unit variance. The constant σ and N j (0, 1) jointly produce a noise input component n j = σN j (0, 1), and its probability distribution is:
由(2)式可知道,φj(x)是渐近线在θL和θH处的sigmoid函数。参数aj控制sigmoid曲线的斜率,式噪声控制变量,当aj由小变大时,可以完成从无噪声的确定性状态到二进制随机状态的平滑过渡。It can be known from formula (2) that φ j (x) is the sigmoid function of the asymptote at θ L and θ H. The parameter a j controls the slope of the sigmoid curve, and the formula noise controls the variable. When a j changes from small to large, a smooth transition from a noise-free deterministic state to a binary random state can be completed.
CRBM采用最小化对比散度训练准则替代了仅靠Gibbs抽样的波尔兹曼机的松弛搜索,大大减少了计算量。最小化训练准则用来更新CRBM的权值{wij}以及“噪声控制”参数{ai}:CRBM uses the minimum contrastive divergence training criterion to replace the relaxation search of the Boltzmann machine that only relies on Gibbs sampling, which greatly reduces the amount of calculation. Minimizing the training criterion is used to update the CRBM weights {w ij } and "noise control" parameters {a i }:
其中:in:
表示单元j的一步重构状态; Indicates the one-step reconstruction state of unit j;
<·>表示训练数据的均值;<·>Represents the mean value of the training data;
ηw是权值w的学习率。η w is the learning rate for weight w.
式(4)和式(5)表明用CRBM进行预训练时只进行简单的加法和乘法,计算量不大,可以很容易的完成权值的更新过程。Equations (4) and (5) show that only simple addition and multiplication are performed during pre-training with CRBM, and the amount of calculation is not large, and the updating process of weights can be easily completed.
步骤3.3:每个CRBM模型的输出神经元和下一个CRBM的输入神经元合并为一层,展开形成自编码神经网络;Step 3.3: The output neurons of each CRBM model and the input neurons of the next CRBM are merged into one layer, and expanded to form an autoencoder neural network;
步骤3.4:对权值进行微调。采用基于交叉熵(Cross Entropy)函数的BP算法进行网络训练,调整权值以使交叉熵函数达到最小;Step 3.4: Fine-tune the weights. Use the BP algorithm based on the cross entropy (Cross Entropy) function for network training, and adjust the weights to minimize the cross entropy function;
步骤3.5:降维后的数据集组成的二维数组作为进行下一步数据处理的输入数据。Step 3.5: The two-dimensional array composed of the reduced dimension data set is used as the input data for the next step of data processing.
步骤4:用降维后的样本集对相关向量机回归模型进行训练,然后利用训练好的相关向量机回归模型对超短期的风电功率进行预测。步骤4包含下列步骤:Step 4: Use the dimension-reduced sample set to train the correlation vector machine regression model, and then use the trained correlation vector machine regression model to predict the ultra-short-term wind power. Step 4 includes the following steps:
步骤4.1:将降维后的样本集的前30天的数据作为训练样本,并根据相关向量机训练样本的格式要求对输入数据进行格式化处理;Step 4.1: Use the data of the first 30 days of the sample set after dimensionality reduction as a training sample, and format the input data according to the format requirements of the relevant vector machine training sample;
步骤4.2:选择高斯核函数作为相关向量机的核函数,对参数初始化;Step 4.2: Select the Gaussian kernel function as the kernel function of the correlation vector machine, and initialize the parameters;
步骤4.3:将预测时刻的前24小时的数据作为训练样本的输入数据,预测时刻的后两小时的风电功率作为输出数据,对相关向量机回归模型进行训练;Step 4.3: Use the data of the first 24 hours of the prediction time as the input data of the training samples, and the wind power of the last two hours of the prediction time as the output data, and train the correlation vector machine regression model;
步骤4.4:在步骤4.3的基础上,利用训练好的相关向量机模型对未来2小时的风电功率进行预测。Step 4.4: On the basis of step 4.3, use the trained correlation vector machine model to predict the wind power for the next 2 hours.
根据步骤3的降维结果,xi为第i个时刻降维后的数据。According to the dimensionality reduction result of step 3, x i is the data after dimensionality reduction at the i-th moment.
RVM的模型输出定义为The model output of RVM is defined as
式中:In the formula:
xi为观测向量;x i is the observation vector;
wi为模型的权值;w i is the weight of the model;
K(x,xi)为核函数;K(x, x i ) is the kernel function;
Φ为N×(N+1)阶矩阵。Φ is an N×(N+1) order matrix.
训练样本集的似然函数可以表示为The likelihood function of the training sample set can be expressed as
式中:In the formula:
N为向量xi的维数;N is the dimension of vector x i ;
w为权值;w is the weight;
t为目标向量,t=[t1,t2,…,tN]T;t is the target vector, t=[t 1 , t 2 ,...,t N ] T ;
σ2为高斯噪声的方差。σ 2 is the variance of Gaussian noise.
计算权值的后验概率分布为:The posterior probability distribution for calculating the weights is:
式中:In the formula:
α为决定权值矩阵w的先验分布的超参数,α=[α0,α1,…,αN]T,每个超参数αi对应一个权值wi;α is the hyperparameter that determines the prior distribution of the weight matrix w, α=[α 0 , α 1 ,…,α N ] T , and each hyperparameter α i corresponds to a weight w i ;
μ为权值后验统计量均值,μ=σ2∑ΦTt;μ is the mean value of the weight posterior statistics, μ=σ 2 ∑Φ T t;
∑为求和符号,∑=(σ2ΦTΦ+A)-1,其中A=diag(α0,α1,…,αN)。Σ is a summation symbol, Σ=(σ 2 Φ T Φ+A) -1 , where A=diag(α 0 , α 1 , . . . , α N ).
通过最大化超参数似然分布找到其最可能的值αMP和采用反复迭代估计法,对p(t|α,σ2)=∫p(t|w,σ2)p(w|α)dw关于α求导,令其为零并对公式重排,得:Find its most probable value α MP by maximizing the likelihood distribution of the hyperparameter and Using iterative iterative estimation method, p(t|α, σ 2 )=∫p(t|w, σ 2 )p(w|α)dw is derived with respect to α, making it zero and rearranging the formula, we get :
式中:In the formula:
μi为权值wi后验统计量均值,μi=1-αi∑ii;μ i is the mean value of posterior statistics of weight w i , μ i =1-α i ∑ ii ;
∑ii为当前的α和σ2后验权值协方差矩阵的第i个对角元素。∑ ii is the ith diagonal element of the current α and σ 2 posterior weight covariance matrix.
同样对噪声方差σ2求导,得到更新法则:Also deriving the noise variance σ 2 to get the update rule:
(σ2)new=||t-∑μ||2/(N-∑iγi) (15)(σ 2 ) new =||t-∑μ|| 2 /(N-∑ i γ i ) (15)
学习算法反复计算(4)(5)式,同时更新μ和∑,知道满足某个合适的收敛条件。The learning algorithm repeatedly calculates (4) (5) and updates μ and ∑ at the same time until a suitable convergence condition is satisfied.
建模过程可以概括为以下几步:The modeling process can be summarized in the following steps:
1.初始化αi和σ2;1. Initialize α i and σ 2 ;
2.计算权值后验统计量均值μ和后验方差∑;2. Calculate the weight posterior statistics mean μ and posterior variance Σ;
3.计算所有γi并重新估计αi和σ2;3. Calculate all γ i and re-estimate α i and σ 2 ;
4.若收敛,到步骤5,不收敛则返回步骤2;4. If it converges, go to step 5; if it does not converge, return to step 2;
5.删除αi→∞的权值和基函数,获得训练模型。5. Delete the weights and basis functions of α i → ∞ to obtain the training model.
风电功率预测的过程中要用到大量的历史数据,这些数据在采集、传输、转换各个环节都有可能发生故障或受到干扰,导致数据异常,而且风速及功率这些数据变化幅度大,没有规律性,因此发明中用脊波变换进行数据的去噪处理。处理后的数据形成新的样本集,然后利用深度自动编码器网络进行降维,最后用相关向量机回归模型进行功率预测。本发明在确保预测精度的前提下,能够在低维度的样本数据上进行模型训练,降低了预测的训练时间开销。A large amount of historical data is used in the process of wind power forecasting. These data may fail or be disturbed in each link of collection, transmission, and conversion, resulting in abnormal data. Moreover, the data of wind speed and power vary greatly without regularity. , so the ridgelet transform is used in the invention to denoise the data. The processed data form a new sample set, then use a deep autoencoder network for dimensionality reduction, and finally use a correlation vector machine regression model for power prediction. Under the premise of ensuring the prediction accuracy, the present invention can perform model training on low-dimensional sample data, reducing the training time overhead of prediction.
以上所述,仅为本发明较佳的具体实施方式,但本发明的保护范围并不局限于此,任何熟悉本技术领域的技术人员在本发明揭露的技术范围内,可轻易想到的变化或替换,都应涵盖在本发明的保护范围之内。因此,本发明的保护范围应该以权利要求的保护范围为准。The above is only a preferred embodiment of the present invention, but the scope of protection of the present invention is not limited thereto. Any person skilled in the art within the technical scope disclosed in the present invention can easily think of changes or Replacement should be covered within the protection scope of the present invention. Therefore, the protection scope of the present invention should be determined by the protection scope of the claims.
Claims (3)
Priority Applications (1)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| CN201110388041.9A CN102521671B (en) | 2011-11-29 | 2011-11-29 | Ultrashort-term wind power prediction method |
Applications Claiming Priority (1)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| CN201110388041.9A CN102521671B (en) | 2011-11-29 | 2011-11-29 | Ultrashort-term wind power prediction method |
Publications (2)
| Publication Number | Publication Date |
|---|---|
| CN102521671A CN102521671A (en) | 2012-06-27 |
| CN102521671B true CN102521671B (en) | 2014-10-29 |
Family
ID=46292582
Family Applications (1)
| Application Number | Title | Priority Date | Filing Date |
|---|---|---|---|
| CN201110388041.9A Expired - Fee Related CN102521671B (en) | 2011-11-29 | 2011-11-29 | Ultrashort-term wind power prediction method |
Country Status (1)
| Country | Link |
|---|---|
| CN (1) | CN102521671B (en) |
Families Citing this family (35)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| CN102709926A (en) * | 2012-06-28 | 2012-10-03 | 哈尔滨工业大学 | Rotary hot spare dispatching method in construction of intelligent power grid on basis of relevance vector machine |
| CN103065049B (en) * | 2012-12-28 | 2015-08-19 | 东北电力大学 | A kind of wind power real-time estimate computing method based on coif5 small echo real-time decomposition |
| CN103020485B (en) * | 2013-01-08 | 2016-01-06 | 天津大学 | Based on the short-term wind speed forecasting method of beta noise core ridge regression technology |
| CN103218674A (en) * | 2013-04-07 | 2013-07-24 | 国家电网公司 | Method for predicating output power of photovoltaic power generation system based on BP (Back Propagation) neural network model |
| CN103279804B (en) * | 2013-04-29 | 2016-08-17 | 清华大学 | The Forecasting Methodology of super short-period wind power |
| CN103489037B (en) * | 2013-07-04 | 2016-05-18 | 清华大学 | A kind of Forecasting Methodology that can power generating wind resource |
| CN103440529B (en) * | 2013-08-12 | 2016-05-25 | 新疆大学 | A kind of lateral error translation modification method of wind power forecasting system |
| CN103489041A (en) * | 2013-09-17 | 2014-01-01 | 国家电网公司 | Short-term wind power forecast method |
| CN103955755A (en) * | 2014-04-18 | 2014-07-30 | 国家电网公司 | Wind electricity power short-term prediction method by adopting composite data source based on self-learning polynomial kernel function support vector machine |
| CN103984987B (en) * | 2014-05-05 | 2017-11-24 | 国家电网公司 | A kind of arma modeling ultrashort-term wind power prediction method of wind measurement network real time correction |
| CN104239689B (en) * | 2014-08-18 | 2017-11-21 | 华北电力大学 | Short-term wind speed forecasting method based on optimization Method Using Relevance Vector Machine |
| CN104200282A (en) * | 2014-08-26 | 2014-12-10 | 南京信息工程大学 | Rapid prediction method for facility agriculture environment factor |
| CN104200290B (en) * | 2014-09-26 | 2017-05-10 | 国家电网公司 | Wind power forecast method |
| CN104680246B (en) * | 2015-01-29 | 2017-12-12 | 北京交通大学 | A kind of wind power plant realtime power Forecasting Methodology based on data-driven |
| CN104657786A (en) * | 2015-02-03 | 2015-05-27 | 河海大学 | Short-term wind power mixed predicting method based on Boosting algorithm |
| CN104679863B (en) * | 2015-02-28 | 2018-05-04 | 武汉烽火众智数字技术有限责任公司 | It is a kind of based on deep learning to scheme to search drawing method and system |
| CN104915736A (en) * | 2015-06-29 | 2015-09-16 | 东北电力大学 | Method for improving accuracy of wind power combined prediction based on improved entropy weight method |
| US10443577B2 (en) | 2015-07-17 | 2019-10-15 | General Electric Company | Systems and methods for improved wind power generation |
| CN105160866A (en) * | 2015-08-07 | 2015-12-16 | 浙江高速信息工程技术有限公司 | Traffic flow prediction method based on deep learning nerve network structure |
| CN105046383A (en) * | 2015-09-19 | 2015-11-11 | 东北电力大学 | Real-time wind power predicting method based on ensemble empirical mode decomposition and relevant vector machine |
| CN105844350B (en) * | 2016-03-21 | 2019-12-17 | 广西电网有限责任公司电力科学研究院 | A Short-Term Wind Power Prediction System Based on Covariance Optimal Combination Model |
| CN105956720A (en) * | 2016-06-07 | 2016-09-21 | 中南大学 | Wind power ultra short period prediction method based on T-S fuzzy model |
| CN106250988B (en) * | 2016-07-28 | 2018-09-11 | 武汉理工大学 | Relevance vector regression Incremental Learning Algorithm based on sample properties and system |
| CN106778571B (en) * | 2016-12-05 | 2020-03-27 | 天津大学 | Digital video feature extraction method based on deep neural network |
| 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 |
| CN107358323A (en) * | 2017-07-13 | 2017-11-17 | 上海交通大学 | A kind of power forecasting method of short-term photovoltaic generation |
| CN109409915B (en) * | 2017-08-18 | 2024-03-08 | 厦门雅迅网络股份有限公司 | Auto parts sales forecasting methods, terminal equipment and storage media |
| CN108428021B (en) * | 2018-05-21 | 2021-10-12 | 国网山东省电力公司青岛供电公司 | Micro-grid short-term load prediction model based on HSA-RRNN |
| CN108830428A (en) * | 2018-07-04 | 2018-11-16 | 吉林大学 | A kind of short-time wind speed prediction technique based on four parameter mixed kernel function LSSVM |
| CN109214575B (en) * | 2018-09-12 | 2021-08-31 | 河海大学 | An ultra-short-term wind power prediction method based on small wavelength short-term memory network |
| CN109858664A (en) * | 2018-11-23 | 2019-06-07 | 国网新疆电力有限公司电力科学研究院 | Method and device for predicting thermoelectric relationship of heating unit based on correlation vector machine |
| CN110175639B (en) * | 2019-05-17 | 2021-06-11 | 华北电力大学 | Short-term wind power prediction method based on feature selection |
| CN111274532B (en) * | 2020-01-21 | 2023-05-02 | 南方电网科学研究院有限责任公司 | A short-term wind power prediction method and device based on CEEMD-LZC and manifold learning |
| CN111539482B (en) * | 2020-04-28 | 2021-03-09 | 三峡大学 | RBF kernel function-based space multidimensional wind power data dimension reduction and reconstruction method |
| CN114841077A (en) * | 2022-05-24 | 2022-08-02 | 华电电力科学研究院有限公司 | Wind power prediction method, device and medium |
Citations (2)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| CN101916998A (en) * | 2010-07-12 | 2010-12-15 | 东北电力科学研究院有限公司 | A wind power prediction device and method based on support vector machine |
| CN102170130A (en) * | 2011-04-26 | 2011-08-31 | 华北电力大学 | Short-term wind power prediction method |
-
2011
- 2011-11-29 CN CN201110388041.9A patent/CN102521671B/en not_active Expired - Fee Related
Patent Citations (2)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| CN101916998A (en) * | 2010-07-12 | 2010-12-15 | 东北电力科学研究院有限公司 | A wind power prediction device and method based on support vector machine |
| CN102170130A (en) * | 2011-04-26 | 2011-08-31 | 华北电力大学 | Short-term wind power prediction method |
Non-Patent Citations (2)
| Title |
|---|
| 刘峻 等.基于超短期风电功率预测的风电场自动发电控制.《中国电力》.2011,第44卷(第2期),第74-77页. |
| 基于超短期风电功率预测的风电场自动发电控制;刘峻 等;《中国电力》;20110228;第44卷(第2期);第74-77页 * |
Also Published As
| Publication number | Publication date |
|---|---|
| CN102521671A (en) | 2012-06-27 |
Similar Documents
| Publication | Publication Date | Title |
|---|---|---|
| CN102521671B (en) | Ultrashort-term wind power prediction method | |
| CN112949945B (en) | Wind power ultra-short-term prediction method for improving bidirectional long-term and short-term memory network | |
| CN111860982B (en) | VMD-FCM-GRU-based wind power plant short-term wind power prediction method | |
| Hu et al. | Short-term wind speed prediction using empirical wavelet transform and Gaussian process regression | |
| CN102170130B (en) | Short-term wind power prediction method | |
| Deka et al. | Discrete wavelet neural network approach in significant wave height forecasting for multistep lead time | |
| Krishna et al. | Time series modeling of river flow using wavelet neural networks | |
| CN110738010A (en) | Wind power plant short-term wind speed prediction method integrated with deep learning model | |
| CN112945162B (en) | Accumulation layer landslide displacement prediction model and prediction method | |
| CN110309603A (en) | A short-term wind speed prediction method and system based on wind speed characteristics | |
| CN108846410A (en) | Power Quality Disturbance Classification Method based on sparse autocoding deep neural network | |
| CN106875041A (en) | A kind of short-term wind speed forecasting method | |
| Faraz et al. | Stock market prediction-by-prediction based on autoencoder long short-term memory networks | |
| CN111242377A (en) | Short-term wind speed prediction method integrating deep learning and data denoising | |
| CN101729315A (en) | Network flow-predicting method and device based on wavelet package decomposition and fuzzy neural network | |
| Wang et al. | Chaotic time series method combined with particle swarm optimization and trend adjustment for electricity demand forecasting | |
| CN103136598A (en) | Monthly electrical load computer forecasting method based on wavelet analysis | |
| CN107292446B (en) | Hybrid wind speed prediction method based on component relevance wavelet decomposition | |
| CN110543929A (en) | A Wind Speed Interval Prediction Method and System Based on Lorenz System | |
| CN113361782B (en) | Short-term rolling forecast method of photovoltaic power generation based on improved MKPLS | |
| CN110163433A (en) | A kind of ship method for predicting | |
| CN109117992B (en) | Ultra-short-term wind power prediction method based on WD-LA-WRF model | |
| CN115471008A (en) | A Short-Term Gas Load Forecasting Method Based on Long-Short-Term Memory Neural Network | |
| Zou et al. | A hybrid model based on multi-stage principal component extraction, GRU network and KELM for multi-step short-term wind speed forecasting | |
| Li et al. | Stochastic recurrent wavelet neural network with EEMD method on energy price prediction: J. Li, J. Wang |
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 | ||
| CF01 | Termination of patent right due to non-payment of annual fee |
Granted publication date: 20141029 Termination date: 20151129 |
|
| CF01 | Termination of patent right due to non-payment of annual fee |