CN110738253A - A short-term wind power prediction method based on FCM and AFSA-Elman - Google Patents
A short-term wind power prediction method based on FCM and AFSA-Elman Download PDFInfo
- Publication number
- CN110738253A CN110738253A CN201910971600.5A CN201910971600A CN110738253A CN 110738253 A CN110738253 A CN 110738253A CN 201910971600 A CN201910971600 A CN 201910971600A CN 110738253 A CN110738253 A CN 110738253A
- Authority
- CN
- China
- Prior art keywords
- elman
- wind
- afsa
- fcm
- clustering
- Prior art date
- Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
- Pending
Links
- 238000000034 method Methods 0.000 title claims abstract description 23
- 238000004422 calculation algorithm Methods 0.000 claims abstract description 58
- 230000002776 aggregation Effects 0.000 claims abstract description 4
- 238000004220 aggregation Methods 0.000 claims abstract description 4
- 238000011524 similarity measure Methods 0.000 claims description 16
- 241000251468 Actinopterygii Species 0.000 claims description 7
- 238000013528 artificial neural network Methods 0.000 claims description 6
- 238000005457 optimization Methods 0.000 claims description 5
- 238000012545 processing Methods 0.000 claims description 5
- 230000015572 biosynthetic process Effects 0.000 claims 1
- 238000003786 synthesis reaction Methods 0.000 claims 1
- 230000000694 effects Effects 0.000 abstract description 13
- 238000004140 cleaning Methods 0.000 abstract 1
- 238000004458 analytical method Methods 0.000 description 5
- 238000011156 evaluation Methods 0.000 description 4
- 238000005259 measurement Methods 0.000 description 4
- 238000010248 power generation Methods 0.000 description 4
- 230000008569 process Effects 0.000 description 4
- 238000011160 research Methods 0.000 description 4
- 238000007621 cluster analysis Methods 0.000 description 3
- 238000011161 development Methods 0.000 description 3
- 238000010586 diagram Methods 0.000 description 3
- 238000004364 calculation method Methods 0.000 description 2
- 238000012360 testing method Methods 0.000 description 2
- 238000012549 training Methods 0.000 description 2
- 230000000007 visual effect Effects 0.000 description 2
- 230000009286 beneficial effect Effects 0.000 description 1
- 238000002474 experimental method Methods 0.000 description 1
- 238000013277 forecasting method Methods 0.000 description 1
- 239000005431 greenhouse gas Substances 0.000 description 1
- 230000010365 information processing Effects 0.000 description 1
- 230000001788 irregular Effects 0.000 description 1
- 238000012423 maintenance Methods 0.000 description 1
- 238000007726 management method Methods 0.000 description 1
- 238000000691 measurement method Methods 0.000 description 1
- 238000012986 modification Methods 0.000 description 1
- 230000004048 modification Effects 0.000 description 1
- 230000001737 promoting effect Effects 0.000 description 1
- 238000000926 separation method Methods 0.000 description 1
- 238000004088 simulation Methods 0.000 description 1
- 238000007619 statistical method Methods 0.000 description 1
- 238000000714 time series forecasting Methods 0.000 description 1
- 230000009466 transformation Effects 0.000 description 1
- 230000001131 transforming effect Effects 0.000 description 1
- 238000010792 warming Methods 0.000 description 1
Images
Classifications
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F18/00—Pattern recognition
- G06F18/20—Analysing
- G06F18/23—Clustering techniques
- G06F18/232—Non-hierarchical techniques
- G06F18/2321—Non-hierarchical techniques using statistics or function optimisation, e.g. modelling of probability density functions
- G06F18/23213—Non-hierarchical techniques using statistics or function optimisation, e.g. modelling of probability density functions with fixed number of clusters, e.g. K-means clustering
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F18/00—Pattern recognition
- G06F18/20—Analysing
- G06F18/24—Classification techniques
- G06F18/241—Classification techniques relating to the classification model, e.g. parametric or non-parametric approaches
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06N—COMPUTING ARRANGEMENTS BASED ON SPECIFIC COMPUTATIONAL MODELS
- G06N3/00—Computing arrangements based on biological models
- G06N3/02—Neural networks
- G06N3/04—Architecture, e.g. interconnection topology
- G06N3/045—Combinations of networks
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06N—COMPUTING ARRANGEMENTS BASED ON SPECIFIC COMPUTATIONAL MODELS
- G06N3/00—Computing arrangements based on biological models
- G06N3/02—Neural networks
- G06N3/08—Learning methods
- G06N3/084—Backpropagation, e.g. using gradient descent
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06Q—INFORMATION AND COMMUNICATION TECHNOLOGY [ICT] SPECIALLY ADAPTED FOR ADMINISTRATIVE, COMMERCIAL, FINANCIAL, MANAGERIAL OR SUPERVISORY PURPOSES; SYSTEMS OR METHODS SPECIALLY ADAPTED FOR ADMINISTRATIVE, COMMERCIAL, FINANCIAL, MANAGERIAL OR SUPERVISORY PURPOSES, NOT OTHERWISE PROVIDED FOR
- G06Q10/00—Administration; Management
- G06Q10/04—Forecasting or optimisation specially adapted for administrative or management purposes, e.g. linear programming or "cutting stock problem"
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06Q—INFORMATION AND COMMUNICATION TECHNOLOGY [ICT] SPECIALLY ADAPTED FOR ADMINISTRATIVE, COMMERCIAL, FINANCIAL, MANAGERIAL OR SUPERVISORY PURPOSES; SYSTEMS OR METHODS SPECIALLY ADAPTED FOR ADMINISTRATIVE, COMMERCIAL, FINANCIAL, MANAGERIAL OR SUPERVISORY PURPOSES, NOT OTHERWISE PROVIDED FOR
- G06Q50/00—Information and communication technology [ICT] specially adapted for implementation of business processes of specific business sectors, e.g. utilities or tourism
- G06Q50/06—Energy or water supply
Landscapes
- Engineering & Computer Science (AREA)
- Theoretical Computer Science (AREA)
- Physics & Mathematics (AREA)
- Data Mining & Analysis (AREA)
- General Physics & Mathematics (AREA)
- Business, Economics & Management (AREA)
- Economics (AREA)
- Evolutionary Computation (AREA)
- Artificial Intelligence (AREA)
- General Engineering & Computer Science (AREA)
- Life Sciences & Earth Sciences (AREA)
- Health & Medical Sciences (AREA)
- Human Resources & Organizations (AREA)
- General Health & Medical Sciences (AREA)
- Strategic Management (AREA)
- Computational Linguistics (AREA)
- General Business, Economics & Management (AREA)
- Tourism & Hospitality (AREA)
- Biomedical Technology (AREA)
- Biophysics (AREA)
- Evolutionary Biology (AREA)
- Marketing (AREA)
- Bioinformatics & Cheminformatics (AREA)
- Molecular Biology (AREA)
- Computing Systems (AREA)
- Computer Vision & Pattern Recognition (AREA)
- Mathematical Physics (AREA)
- Software Systems (AREA)
- Bioinformatics & Computational Biology (AREA)
- Water Supply & Treatment (AREA)
- Entrepreneurship & Innovation (AREA)
- Operations Research (AREA)
- Quality & Reliability (AREA)
- Probability & Statistics with Applications (AREA)
- Game Theory and Decision Science (AREA)
- Development Economics (AREA)
- Public Health (AREA)
- Primary Health Care (AREA)
- Management, Administration, Business Operations System, And Electronic Commerce (AREA)
- Supply And Distribution Of Alternating Current (AREA)
Abstract
本发明公开了一种基于FCM和AFSA‑Elman的短期风电功率预测方法,涉及风电功率预测领域,包括以下步骤:对风场历史数据进行清洗与标准化处理;初次选择聚类模型的输入向量,采用模糊C聚类算法对风机样本进行训练,选择出合适的分群指标;根据分群指标构建新的输入集,再次用FCM对其进行训练,得到不同机群的划分结果;将聚类的各类机群采用风机容量加权聚合的方法得到各机群等值机组的参数值,此参数值即可表征对应的机群;根据等值参数,建立不同机群的AFSA‑Elman预测模型,即可得到不同机群的预测结果;将各机群预测的功率进行容量加权,即可达到整个风电场的总预测功率。达到了避免电力系统“维数灾”的发生,准确有效地预测短期风电功率的效果。
The invention discloses a short-term wind power prediction method based on FCM and AFSA-Elman, which relates to the field of wind power prediction and includes the following steps: cleaning and standardizing the historical data of the wind farm; selecting the input vector of the clustering model for the first time, using The fuzzy C clustering algorithm trains the fan samples and selects the appropriate clustering index; constructs a new input set according to the clustering index, and trains it again with FCM to obtain the division results of different clusters; The method of weighted aggregation of fan capacity is used to obtain the parameter value of the equivalent units of each cluster, and this parameter value can represent the corresponding cluster; according to the equivalent parameters, the AFSA-Elman prediction model of different clusters can be established, and the prediction results of different clusters can be obtained; The total predicted power of the entire wind farm can be achieved by capacity-weighting the predicted power of each fleet. It has achieved the effect of avoiding the occurrence of the "dimension disaster" of the power system and accurately and effectively predicting the short-term wind power.
Description
技术领域technical field
本发明涉及风电功率预测领域,特别涉及一种基于FCM和AFSA-Elman的短期风电功率预测方法。The invention relates to the field of wind power prediction, in particular to a short-term wind power prediction method based on FCM and AFSA-Elman.
背景技术Background technique
随着经济的快速发展,能源供应紧张,世界能源结构已从化石能源系统转变到基于可再生能源的可持续新能源系统,因此世界各国都非常重视可持续新能源的发展。风能作为一种可再生能源,具有分布广泛、永不枯竭、蕴藏量大等特点,风力发电在降低温室气体排放量、放缓全球变暖的过程中发挥着突出作用。如今,世界上有一百多个国家正在大力推广风能的使用,风电产业发展迅速,未来全球风电行业也将持续快速发展。根据世界风能协会统计数据显示,2017年全球新增装机达52492兆瓦,比2016年的新增装机量54642兆瓦低3.8%。With the rapid economic development and tight energy supply, the world's energy structure has been transformed from a fossil energy system to a sustainable new energy system based on renewable energy. Therefore, all countries in the world attach great importance to the development of sustainable new energy. As a kind of renewable energy, wind energy has the characteristics of wide distribution, inexhaustibility and large reserves. Wind power plays a prominent role in reducing greenhouse gas emissions and slowing down global warming. Today, more than 100 countries in the world are vigorously promoting the use of wind energy. The wind power industry is developing rapidly, and the global wind power industry will continue to develop rapidly in the future. According to statistics from the World Wind Energy Association, the world's newly installed capacity reached 52,492 MW in 2017, 3.8% lower than the 54,642 MW newly installed capacity in 2016.
中国在发展清洁能源的政策推动下大力发展风力发电事业。为了能在可再生能源开发方面起到促进作用,也能为电力系统运行管理提供指导作用,较高精度的风电功率预测的工作是非常需要的。风电功率预测是根据风电场气象信息有关数据利用物理模拟计算和科学统计方法,对风电场的出力风速进行短期预报,从而预报出风电场的发电功率。China is vigorously developing wind power generation under the promotion of the policy of developing clean energy. In order to promote the development of renewable energy and provide guidance for the operation and management of the power system, the work of high-precision wind power forecasting is very necessary. Wind power prediction is a short-term forecast of the output wind speed of the wind farm by using physical simulation calculation and scientific statistical methods according to the relevant data of the wind farm meteorological information, so as to predict the power generation of the wind farm.
由于风的随机波动会使得风能具有较强的不确定性,在日益扩大的风场规模和电网调度的难度加大的背景下,对风电功率预测的研究意义日益凸显。对电力部门来说,功率预测的极值可以帮助及时修改与制定电网调度策略,既有效减少风能资源的消耗,也高效确保国家电力系统安全稳定运行;从电力市场来说,高效的功率预测可以提高风电在电力市场的评价指标,保证更多的风能资源得以利用;对风场本身而言,检修人员可根据预测模拟出的功率曲线有选择性的对风机进行维护,既保证风机免受恶劣天气的破坏,也能够将风资源损耗降到最小化,从而进一步提高了风电场的经济效益。Because the random fluctuation of wind will make wind energy have strong uncertainty, the research significance of wind power prediction is increasingly prominent under the background of the expanding wind farm scale and the difficulty of power grid dispatching. For the power sector, the extreme value of power forecast can help to modify and formulate grid dispatching strategies in a timely manner, which can not only effectively reduce the consumption of wind energy resources, but also effectively ensure the safe and stable operation of the national power system; from the power market, efficient power forecasting can Improve the evaluation index of wind power in the power market to ensure that more wind energy resources can be used; for the wind farm itself, maintenance personnel can selectively maintain the wind turbines according to the power curve predicted and simulated, which not only ensures that the wind turbines are protected from harsh conditions Weather damage can also minimize the loss of wind resources, thereby further improving the economic benefits of wind farms.
故而针对目标风电场地形复杂、场内机组众多等特点,亟需一种风电功率预测方法来对风电功率进行预测。Therefore, in view of the complex terrain of the target wind farm and the numerous units in the field, a wind power prediction method is urgently needed to predict the wind power.
发明内容SUMMARY OF THE INVENTION
本发明的目的是提供一种基于FCM和AFSA-Elman的短期风电功率预测方法,可以较好地避免电力系统“维数灾”的发生,对评估大容量风电场和电力系统之间的相互影响具有重要意义,为短期风电功率预测提供了一种准确有效的方法。The purpose of the present invention is to provide a short-term wind power prediction method based on FCM and AFSA-Elman, which can better avoid the occurrence of the "dimension disaster" of the power system, and is useful for evaluating the mutual influence between large-capacity wind farms and power systems. It is of great significance and provides an accurate and effective method for short-term wind power prediction.
本发明的上述技术目的是通过以下技术方案得以实现的:The above-mentioned technical purpose of the present invention is achieved through the following technical solutions:
一种基于FCM和AFSA-Elman的短期风电功率预测方法,包括以下步骤:A short-term wind power prediction method based on FCM and AFSA-Elman, including the following steps:
步骤1:对风场历史数据进行清洗与标准化处理,建立目标风电场内各台风电机组的观测数据;Step 1: Clean and standardize the historical data of the wind farm, and establish the observation data of each wind turbine in the target wind farm;
步骤2:初次选择聚类模型的输入向量,采用模糊C聚类算法对风机样本进行训练,选择出合适的分群指标;Step 2: Select the input vector of the clustering model for the first time, use the fuzzy C clustering algorithm to train the fan samples, and select the appropriate clustering index;
步骤3:根据分群指标构建新的输入集,再次用FCM对其进行训练,得到不同机群的划分结果;Step 3: Construct a new input set according to the clustering index, and train it with FCM again to obtain the division results of different clusters;
步骤4:将聚类的各类机群采用风机容量加权聚合的方法得到各机群等值机组的参数值,此参数值即可表征对应的机群;Step 4: Use the weighted aggregation method of fan capacity to obtain the parameter values of the equivalent units of each cluster of the various clusters of the cluster, and this parameter value can represent the corresponding cluster;
步骤5:根据等值参数,建立不同机群的AFSA-Elman预测模型,即可得到不同机群的预测结果;Step 5: According to the equivalent parameters, establish the AFSA-Elman prediction model of different fleets, and then the prediction results of different fleets can be obtained;
步骤6:将各机群预测的功率进行容量加权,即可达到整个风电场的总预测功率。Step 6: Perform capacity weighting on the predicted power of each fleet to achieve the total predicted power of the entire wind farm.
更进一步地,步骤1中,观测数据包括各个风机的风速、风向、有功功率及温度数据形成的时间序列。Further, in
更进一步地,步骤2中,采用基于空间度量特征的距离为聚类算法的相似性度量,通过引入距离的思想对相关系数进行适当转化,根据公式计算基于空间度量特征的距离,其中,ρxy为相关系数,dxy为基于空间度量特征的距离。Further, in step 2, the distance based on the spatial metric feature is used as the similarity measure of the clustering algorithm, and the correlation coefficient is appropriately transformed by introducing the idea of distance, and according to the formula Calculate the distance based on the spatial metric feature, where ρ xy is the correlation coefficient, and d xy is the distance based on the spatial metric feature.
更进一步地,步骤3中,以风速、风向和有功功率三种要素综合为分群指标。Further, in step 3, the three elements of wind speed, wind direction and active power are integrated as the grouping index.
更进一步地,步骤5采用AFSA-Elman算法为风电功率预测模型,利用人工鱼群算法的可并行处理和自动实现全局寻优的特点来优化Elman神经网络的权阈值。Further, in step 5, the AFSA-Elman algorithm is used as the wind power prediction model, and the weight threshold of the Elman neural network is optimized by using the parallel processing of the artificial fish swarm algorithm and the characteristics of automatic global optimization.
综上所述,本发明具有以下有益效果:To sum up, the present invention has the following beneficial effects:
1.通过基于空间度量特征的距离充分体现了相关性与距离间的密切联系,通过对相关系数的转换,可得到能够反映变量间相关性的空间度量特征的距离,其对风机相关性的研究更具有应用价值。1. The distance based on the spatial metric feature fully reflects the close relationship between the correlation and the distance. Through the transformation of the correlation coefficient, the distance of the spatial metric feature that can reflect the correlation between variables can be obtained. The research on the correlation of wind turbines more application value.
2.AFSA-Elman算法较未优化的Elman算法、常用的BP算法,相对均方根误差(rRMSE)和相对平均绝对误差(rMAE)明显较小,且误差值相对较为平稳,预测曲线也更接近于实际功率曲线。因此,提出的FCM-AFSA-Elman短期风电功率模型的效果较为理想。2. Compared with the unoptimized Elman algorithm and the commonly used BP algorithm, the AFSA-Elman algorithm has significantly smaller relative root mean square error (rRMSE) and relative mean absolute error (rMAE), and the error value is relatively stable, and the prediction curve is closer. on the actual power curve. Therefore, the effect of the proposed FCM-AFSA-Elman short-term wind power model is ideal.
附图说明Description of drawings
图1是本发明实施例中风电场的风机分布位置图;Fig. 1 is the fan distribution position diagram of the wind farm in the embodiment of the present invention;
图2是本发明实施例中AFSA-Elman算法与BP算法预测曲线对比;Fig. 2 is the AFSA-Elman algorithm and the BP algorithm prediction curve contrast in the embodiment of the present invention;
图3是本发明实施例中AFSA-Elman算法与Elman算法预测曲线对比;Fig. 3 is AFSA-Elman algorithm and Elman algorithm prediction curve contrast in the embodiment of the present invention;
图4是本发明实施例中BP算法预测绝对误差图;Fig. 4 is the absolute error diagram of BP algorithm prediction in the embodiment of the present invention;
图5是本发明实施例中Elman算法预测绝对误差图;Fig. 5 is the Elman algorithm prediction absolute error diagram in the embodiment of the present invention;
图6是本发明实施例中AFSA-Elman算法预测绝对误差图。FIG. 6 is a graph of the absolute prediction error of the AFSA-Elman algorithm in an embodiment of the present invention.
具体实施方式Detailed ways
下面结合附图对本发明的具体实施方式作进一步说明,本实施例不构成对本发明的限制。The specific embodiments of the present invention will be further described below with reference to the accompanying drawings, and this embodiment does not constitute a limitation to the present invention.
本发明揭示了一种基于FCM和AFSA-Elman的短期风电功率预测方法,其中包括采用FCM对风电机组进行聚类,对聚类后的各个机群分别建立AFSA-Elman模型,将各个机群的预测结果叠加获得最终的短期风电功率预测结果,具体包括以下步骤:The invention discloses a short-term wind power forecasting method based on FCM and AFSA-Elman, which includes using FCM to cluster wind turbines, establishing an AFSA-Elman model for each cluster after the clustering, and combining the prediction results of each cluster. The final short-term wind power forecast result is obtained by superposition, which includes the following steps:
步骤1:对风场历史数据进行清洗与标准化处理;Step 1: Clean and standardize the wind farm historical data;
其中,观测的数据包括各个风机的风速、风向、有功功率及温度数据形成的时间序列。Among them, the observed data includes the time series formed by the wind speed, wind direction, active power and temperature data of each fan.
步骤2:初次选择聚类模型的输入向量(所有特征量),采用基于空间度量特征的距离的模糊C聚类算法对风机样本进行训练,根据不同分群指标对于聚类结果的影响情况,选择出合适的分群指标;Step 2: Select the input vector (all feature quantities) of the clustering model for the first time, use the fuzzy C clustering algorithm based on the distance of the spatial metric feature to train the fan samples, and select the clustering results according to the influence of different clustering indicators on the clustering results. Appropriate clustering metrics;
其中,采用基于空间度量特征的距离为聚类算法的相似性度量,通过引入距离的思想对相关系数进行适当转化,距离公式参考式为 Among them, the distance based on the spatial metric feature is used as the similarity measure of the clustering algorithm, and the correlation coefficient is appropriately transformed by introducing the idea of distance. The reference formula of the distance formula is:
上式主要计算基于空间度量特征的距离,其中ρxy为相关系数,dxy为基于空间度量特征的距离。将dxy应用到FCM中,比较好地解决了欧氏距离的问题,这也解决了FCM聚类算法只适用于处理类内紧密、类间分离较好的数据及球形数据,而不能处理非凸形状的数据的问题。The above formula mainly calculates the distance based on the spatial metric feature, where ρ xy is the correlation coefficient, and d xy is the distance based on the spatial metric feature. The application of d xy to FCM can better solve the problem of Euclidean distance, which also solves the problem that the FCM clustering algorithm is only suitable for processing data with tight intra-class and good separation between classes and spherical data, but cannot process non-linear data. Problems with convexly shaped data.
步骤3:根据得出的分群指标构建新的输入集,再次用FCM对其进行训练,得到不同机群的划分结果;Step 3: Construct a new input set according to the obtained clustering index, and train it with FCM again to obtain the division results of different clusters;
本实施例中,由于温度要素对聚类结果的影响较小,因此省略温度要素,以风速、风向和有功功率三种要素综合为分群指标;In this embodiment, since the influence of the temperature element on the clustering result is small, the temperature element is omitted, and the three elements of wind speed, wind direction and active power are integrated as the clustering index;
步骤4:将聚类的各类机群采用风机容量加权聚合的方法得到各机群等值机组的等值参数,此参数值即可表征对应的机群;Step 4: Use the weighted aggregation method of fan capacity to obtain the equivalent parameters of the equivalent units of each cluster, and the parameter value can represent the corresponding cluster;
聚类结果判断准则利用方差思想定义度量类内距离和类间距离测度,类间距离越大越好,类内距离越小越好,所述的聚类结果的内部评价指标参考式为:The clustering result judgment criterion uses the variance idea to define the measurement of intra-class distance and inter-class distance. The larger the inter-class distance, the better, and the smaller the intra-class distance, the better. The internal evaluation index reference formula of the clustering result is:
其中,STDI为类间距离与类内距离之比,ck是类簇k的质心,xt是所有样本的质心,xi是类簇k的第i个样本,nk是类簇k的样本数,K是数据集的类簇数。where STDI is the ratio of the inter-class distance to the intra-class distance, c k is the centroid of cluster k, x t is the centroid of all samples, x i is the ith sample of cluster k, n k is the centroid of cluster k The number of samples, K is the number of clusters of the dataset.
步骤5:根据等值参数,建立不同机群的AFSA-Elman预测模型,即可得到不同机群的预测结果,其中,采用AFSA-Elman算法为风电功率预测模型,利用人工鱼群算法的可并行处理和自动实现全局寻优的特点来优化Elman神经网络的权阈值;Step 5: According to the equivalent parameters, establish AFSA-Elman prediction models of different fleets, and then the forecast results of different fleets can be obtained. Among them, the AFSA-Elman algorithm is used as the wind power prediction model, and the parallel processing and parallel processing of the artificial fish swarm algorithm are used. Automatically realize the characteristics of global optimization to optimize the weight threshold of Elman neural network;
为了提高Elman算法的预测精度,引入人工鱼群算法(AFSA)对Elman算法的权阈值进行寻优,所述的寻优过程满足如下两式:In order to improve the prediction accuracy of the Elman algorithm, the artificial fish swarm algorithm (AFSA) is introduced to optimize the weight threshold of the Elman algorithm. The optimization process satisfies the following two equations:
其中,M=(m1,m2,…,mn)为虚拟人工鱼当前状态,为某时刻视点所在位置状态,Rand函数产生0到1之间的随机数,Step为步长,Visual为视野范围。Among them, M=(m 1 , m 2 ,..., m n ) is the current state of the virtual artificial fish, is the position state of the viewpoint at a certain moment, the Rand function generates a random number between 0 and 1, Step is the step size, and Visual is the field of view.
步骤6:基于步骤5建立的不同机群的AFSA-Elman预测模型,即可得到不同机群的预测结果,将各机群预测的功率进行容量加权,即可达到整个风电场的总预测功率。Step 6: Based on the AFSA-Elman prediction model of different clusters established in Step 5, the prediction results of different clusters can be obtained, and the predicted power of each cluster can be weighted by capacity to achieve the total predicted power of the entire wind farm.
如图1所示,以云南磨豆山风电场为例:磨豆山风电场地处低纬度高海拔地形,场内场内共有型号相同的风机24台,每台风机的装机容量为2MW,风场总容量为48MW。风机的切入风速为3m/s,额定风速为12m/s,切出风速为25m/s,额定功率为2MW。As shown in Figure 1, taking Yunnan Modoushan Wind Farm as an example: Modoushan Wind Farm is located in low-latitude and high-altitude terrain. There are 24 wind turbines of the same model in the farm. Each wind turbine has an installed capacity of 2MW. The total farm capacity is 48MW. The cut-in wind speed of the fan is 3m/s, the rated wind speed is 12m/s, the cut-out wind speed is 25m/s, and the rated power is 2MW.
由于此风电场位于山地特殊地形,风电机组的位置分布与风速空间分布等对风电出力的影响较大,可见,对风电场内的风电机组进行详细建模与分析是必要的。Because the wind farm is located in a special mountainous terrain, the location distribution of wind turbines and the spatial distribution of wind speed have a greater impact on the wind power output. It can be seen that it is necessary to conduct detailed modeling and analysis of the wind turbines in the wind farm.
风电机组的地理分布如图1所示,其中,0号位置为测风塔位置,1-24号位置分别代表1号至24号风机的位置,由于7号风机自身故障,无法准确获取有效数据,因此该风机不作为研究对象。以下对本发明进一步说明:The geographical distribution of wind turbines is shown in Figure 1, where No. 0 is the location of the wind measuring tower, and No. 1 to No. 24 represent the positions of No. 1 to No. 24 fans respectively. Due to the failure of No. 7 fan itself, it is impossible to obtain valid data accurately. , so the fan is not used as the research object. The present invention is further described below:
1.在对风力机数据进行去除无效观测数据、去除数据异常值及数据归一化处理后,建立目标风电场内各台风电机组观测数据,表示为Di=[Di1,Di2,Di3,Di4],其中i∈[1,24],表示风机编号,Di1,Di2,Di3,Di4分别表示风机风速、风向、有功功率及温度数据形成的时间序列。1. After removing invalid observation data, removing data outliers and normalizing the data of wind turbines, establish the observation data of each wind turbine in the target wind farm, which is expressed as D i =[D i1 ,D i2 ,D i3 , D i4 ], where i∈[1,24], represents the fan number, and D i1 , D i2 , D i3 , and D i4 represent the time series formed by the fan wind speed, wind direction, active power and temperature data, respectively.
2.风电场地处山地地形,场内风电机组布局是不规则的。由于地形、海拔、其他机组的影响等因素,场内每台风机捕获的运行数据有较大的差异,使得风速具有较强的波动性及间歇性,故引入聚类算法对场内不同运行状态的风机进行分析。聚类分析的关键在于分群指标及相似度测量上。2. The wind farm is located in mountainous terrain, and the layout of wind turbines in the farm is irregular. Due to factors such as terrain, altitude, and the influence of other units, the operating data captured by each fan in the field is quite different, making the wind speed highly fluctuating and intermittent. analysis of the fan. The key to cluster analysis lies in the clustering index and similarity measurement.
(1)在风机特征量选取上,应该保证既能显著影响风机发电过程,且这些特征指标能在发电发生前容易获得的选择。(1) In the selection of wind turbine characteristic quantities, it should be ensured that not only can significantly affect the wind turbine power generation process, but also these characteristic indicators can be easily obtained before power generation occurs.
为了充分体现相关性与距离间的密切关系,通过对相关系数的转换,可得到能够反映变量间相关性的空间度量特征的距离其中,ρxy为相关系数,dxy为基于空间度量特征的距离,其对风机相关性的研究更具有应用价值。以基于空间度量特征的距离为相似性度量,分类为4类,采用模糊C均值聚类(FCM)算法对不同分群指标的情况进行分析,分析结果如表1所示。In order to fully reflect the close relationship between correlation and distance, by transforming the correlation coefficient, the distance of the spatial metric feature that can reflect the correlation between variables can be obtained. Among them, ρ xy is the correlation coefficient, and d xy is the distance based on the spatial metric feature, which has more application value for the research on the correlation of wind turbines. Taking the distance based on the spatial metric feature as the similarity measure, it is classified into four categories, and the fuzzy C-means clustering (FCM) algorithm is used to analyze the situation of different clustering indicators. The analysis results are shown in Table 1.
表1不同分群指标下FCM聚类结果表Table 1 FCM clustering results table under different clustering indicators
从表1可以看出,在不同分群指标下,聚类的分群情况大不相同。其中,温度这一要素对聚类结果的影响微乎其微,因此我们省略这一要素,仅研究风速、风向、有功功率这三大要素的影响。以STDI为聚类结果评价指标来分析聚类效果。It can be seen from Table 1 that under different clustering indicators, the clustering situation of the clusters is quite different. Among them, the influence of temperature on the clustering results is minimal, so we omit this factor and only study the influence of the three major factors of wind speed, wind direction, and active power. The clustering effect was analyzed with STDI as the clustering result evaluation index.
以STDI为聚类结果评价指标来分析聚类效果,如表2所示。以风速、风向和有功功率结合的综合分群指标的STDI值为0.7325,大于以风速、风速+风向为分群指标的STDI值,证明前者的聚类效果较好,因此确定用风速、风向与有功功率三种要素综合为分类指标。Using STDI as the clustering result evaluation index to analyze the clustering effect, as shown in Table 2. The STDI value of the comprehensive clustering index combined with wind speed, wind direction and active power is 0.7325, which is greater than the STDI value of wind speed, wind speed + wind direction as the clustering index, which proves that the former has a better clustering effect. Therefore, it is determined to use wind speed, wind direction and active power. The three elements are integrated into the classification index.
表2不同指标下的STDI值Table 2 STDI values under different indicators
(2)相似性度量也是聚类分析中重要环节。分别选用欧氏距离(Euclideandistance)、皮尔逊系数(Pearson)以及基于空间度量特征的距离(Space distance)为相似性度量做对比,以模糊C均值聚类为聚类算法对风电场内风机进行聚类,其聚类结果及STDI值如表3所示。(2) Similarity measurement is also an important link in cluster analysis. The Euclidean distance, the Pearson coefficient and the distance based on the spatial metric feature (Space distance) were selected as similarity measures for comparison, and the fuzzy C-means clustering was used as the clustering algorithm to cluster the wind turbines in the wind farm. The clustering results and STDI values are shown in Table 3.
表3不同相似性度量下FCM聚类结果表Table 3 FCM clustering results table under different similarity measures
从表3中可知,虽然聚类方法相同,但不同的相似性度量导致了不同的机群分组,说明了相似性度量对机组间的划分有很大影响。从STDI值来看,基于空间度量特征的距离下的分群聚类效果较其他两类都要好。It can be seen from Table 3 that although the clustering methods are the same, different similarity measures lead to different groupings of clusters, indicating that similarity measures have a great influence on the division between clusters. From the STDI value, the clustering effect based on the distance based on the spatial metric feature is better than the other two types.
3.为进一步评价不同相似性度量的效果,采用AFSA-Elman预测模型对不同机群的数据进行实验。Elman神经网络的动态处理信息能力使其在时间序列的预测问题上得以广泛应用。为提高Elman算法的预测精度,引入人工鱼群算法(AFSA)对Elman算法的权阈值进行寻优,寻优过程为:3. In order to further evaluate the effect of different similarity measures, the AFSA-Elman prediction model is used to conduct experiments on the data of different clusters. The dynamic information processing capability of Elman neural network makes it widely used in time series forecasting. In order to improve the prediction accuracy of Elman algorithm, artificial fish swarm algorithm (AFSA) is introduced to optimize the weight threshold of Elman algorithm. The optimization process is as follows:
其中,M=(m1,m2,…,mn)为虚拟人工鱼当前状态,为某时刻视点所在位置状态,Rand函数产生0到1之间的随机数,Step为步长,Visual为视野范围。Among them, M=(m 1 , m 2 ,..., m n ) is the current state of the virtual artificial fish, is the position state of the viewpoint at a certain moment, the Rand function generates a random number between 0 and 1, Step is the step size, and Visual is the field of view.
选取风电场1月份前27天数据即2592组数据作为训练样本训练AFSA-Elman预测模型,再将训练好的模型去预测最后三天即288组数据,将预测后的数据与风场实测数据做对比,求出各项误差值。为评价不同相似性度量情况下的分群结果,均用AFSA-Elman模型训练并检验。Select the data of the first 27 days of the wind farm in January, that is, 2592 sets of data as training samples to train the AFSA-Elman prediction model, and then use the trained model to predict the last three days, that is, 288 sets of data, and compare the predicted data with the measured data of the wind farm. Compare and find each error value. In order to evaluate the clustering results under different similarity measures, the AFSA-Elman model was used for training and testing.
本发明选用了均方根误差(RMSE)、平均绝对误差(MAE)、相对均方根误差(rRMSE)和相对平均绝对误差(rMAE)四种误差指标对风电场的短期风速预测结果进行评价,其计算公式如下所示:The present invention selects four error indexes of root mean square error (RMSE), mean absolute error (MAE), relative root mean square error (rRMSE) and relative mean absolute error (rMAE) to evaluate the short-term wind speed prediction result of the wind farm. Its calculation formula is as follows:
(1)均方根误差(RMSE)(1) Root Mean Square Error (RMSE)
(2)平均相对误差(MAE)(2) Average relative error (MAE)
(3)相对均方根误差(rRMSE)(3) Relative root mean square error (rRMSE)
(4)相对平均绝对误差(rMAE)(4) Relative mean absolute error (rMAE)
其中,N表示样本的个数,表示的是第i个预测值,xk(i)表示的是第i个实际值。Among them, N represents the number of samples, represents the ith predicted value, and x k (i) represents the ith actual value.
不同相似性度量情况下的相应预测误差结果如表4所示。The corresponding prediction error results under different similarity measures are shown in Table 4.
表4不同相似性度量情况下的预测精度对比Table 4 Comparison of prediction accuracy under different similarity measures
从表4可知,采用基于空间度量特征的距离为相似性度量下的模型误差rRMSE和rMAE值分别为22.25%、16.53%,以欧氏距离为相似性度量下的模型误差值为25.41%、19.04%,以皮尔逊系数为相似性度量下的模型误差值为23.48%、17.85%,相比之下,基于空间度量特征的距离为相似性度量方法下的模型精度较高,功率预测的效果较好。验证了提出的相似性度量方法即基于空间度量特征的距离的可行性。It can be seen from Table 4 that the rRMSE and rMAE values of the model errors when the distance based on the spatial metric feature is used as the similarity measure are 22.25% and 16.53%, respectively, and the model error values when the Euclidean distance is used as the similarity measure are 25.41% and 19.04%. %, the model error values with the Pearson coefficient as the similarity measure are 23.48% and 17.85%. In contrast, the model accuracy based on the distance based on the spatial metric feature as the similarity measure is higher, and the effect of power prediction is better. it is good. The feasibility of the proposed similarity measurement method, namely distance based on spatial measurement features, is verified.
为进一步评估AFSA-Elman算法的预测效果,分别将AFSA-Elman算法与未优化的Elman算法和常用的BP神经网络算法做对比,预测曲线对比分别如图2和图3所示。In order to further evaluate the prediction effect of the AFSA-Elman algorithm, the AFSA-Elman algorithm is compared with the unoptimized Elman algorithm and the commonly used BP neural network algorithm. The comparison of the prediction curves is shown in Figure 2 and Figure 3, respectively.
由于数据量较大,在测试集288个数据中抽取48个数据做具体分析。图2分别对比了AFSA-Elman算法预测曲线、BP算法预测曲线和实际功率曲线,图3中对比了AFSA-Elman算法预测曲线、Elman算法预测曲线和实际功率曲线,通过两张图可以看出,AFSA-Elman算法预测曲线比BP算法预测曲线、Elman算法预测曲线更接近于实际功率曲线,AFSA-Elman算法的拟合效果更好。图4、图5、图6分别为BP算法、Elman算法、AFSA-Elman算法模型在对应时间内每个预测功率值与实测值的绝对误差对比图。通过三张图对比可看出,AFSA-Elman模型的绝对误差相比较BP和Elman明显较小,且误差值相对较为平稳。为了更直观的了解三种算法的预测效果,表5罗列出不同算法下各种预测误差指标。Due to the large amount of data, 48 data were extracted from the 288 data in the test set for specific analysis. Figure 2 compares the prediction curve of the AFSA-Elman algorithm, the prediction curve of the BP algorithm and the actual power curve. Figure 3 compares the prediction curve of the AFSA-Elman algorithm, the prediction curve of the Elman algorithm and the actual power curve. The predicted curve of the AFSA-Elman algorithm is closer to the actual power curve than the predicted curve of the BP algorithm and the Elman algorithm, and the fitting effect of the AFSA-Elman algorithm is better. Figure 4, Figure 5, and Figure 6 are the comparison charts of the absolute error between each predicted power value and the measured value in the corresponding time of the BP algorithm, Elman algorithm, and AFSA-Elman algorithm model. It can be seen from the comparison of the three figures that the absolute error of the AFSA-Elman model is significantly smaller than that of BP and Elman, and the error value is relatively stable. In order to understand the prediction effect of the three algorithms more intuitively, Table 5 lists various prediction error indicators under different algorithms.
表5几种预测预测算法预测精度对比Table 5 Comparison of prediction accuracy of several prediction and prediction algorithms
从表5中可以看出,AFSA-Elman算法的预测精确度明显高于BP神经网络算法和Elman算法。对于误差指标最大的夏、秋季,该算法也有很好的预测效果,预测后的功率序列与实际功率序列更加接近。说明了该算法在功率预测中的有效性,与目前使用较为广泛的算法相比,也具有很高的精准度。实验结果分析表明,AFSA-Elman模型预测误差相比较Elman和BP明显较小,验证了AFSA-Elman的预测效果都优于Elman和BP算法。因此本文提出的基于聚类分析和AFSA-Elman算法的短期风电功率预测方法可以更好的提高预测精度。It can be seen from Table 5 that the prediction accuracy of the AFSA-Elman algorithm is significantly higher than that of the BP neural network algorithm and the Elman algorithm. For summer and autumn when the error index is the largest, the algorithm also has a good prediction effect, and the predicted power sequence is closer to the actual power sequence. It shows the effectiveness of the algorithm in power prediction, and it also has high accuracy compared with the more widely used algorithms at present. The analysis of experimental results shows that the prediction error of AFSA-Elman model is significantly smaller than that of Elman and BP, which verifies that the prediction effect of AFSA-Elman is better than that of Elman and BP algorithms. Therefore, the short-term wind power prediction method based on cluster analysis and AFSA-Elman algorithm proposed in this paper can better improve the prediction accuracy.
以上所述,仅是本发明的较佳实施例而已,不用于限制本发明,本领域技术人员可以在本发明的实质和保护范围内,对本发明做出各种修改或等同替换,这种修改或等同替换也应视为落在本发明技术方案的保护范围内。The above are only preferred embodiments of the present invention and are not intended to limit the present invention. Those skilled in the art can make various modifications or equivalent replacements to the present invention within the spirit and protection scope of the present invention. Or equivalent replacement should also be regarded as falling within the protection scope of the technical solution of the present invention.
Claims (5)
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201910971600.5A CN110738253A (en) | 2019-10-14 | 2019-10-14 | A short-term wind power prediction method based on FCM and AFSA-Elman |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201910971600.5A CN110738253A (en) | 2019-10-14 | 2019-10-14 | A short-term wind power prediction method based on FCM and AFSA-Elman |
Publications (1)
Publication Number | Publication Date |
---|---|
CN110738253A true CN110738253A (en) | 2020-01-31 |
Family
ID=69270012
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201910971600.5A Pending CN110738253A (en) | 2019-10-14 | 2019-10-14 | A short-term wind power prediction method based on FCM and AFSA-Elman |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN110738253A (en) |
Cited By (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN111476293A (en) * | 2020-04-03 | 2020-07-31 | 河海大学 | Wind power plant grouping method considering wind speed and wind direction |
CN112016684A (en) * | 2020-08-06 | 2020-12-01 | 广西大学 | Electric power terminal fingerprint identification method of deep parallel flexible transmission network |
CN112580900A (en) * | 2021-02-23 | 2021-03-30 | 国能日新科技股份有限公司 | Short-term power prediction method and system based on single fan modeling |
CN113449920A (en) * | 2021-06-30 | 2021-09-28 | 上海电机学院 | Wind power prediction method, system and computer readable medium |
Citations (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN105703396A (en) * | 2016-03-21 | 2016-06-22 | 广西电网有限责任公司电力科学研究院 | Multi-turbine characterization equivalent modeling method of double-fed wind power plant |
CN109165770A (en) * | 2018-07-09 | 2019-01-08 | 江苏大学 | Novel photovoltaic power forecasting method based on AFSA-Elman |
-
2019
- 2019-10-14 CN CN201910971600.5A patent/CN110738253A/en active Pending
Patent Citations (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN105703396A (en) * | 2016-03-21 | 2016-06-22 | 广西电网有限责任公司电力科学研究院 | Multi-turbine characterization equivalent modeling method of double-fed wind power plant |
CN109165770A (en) * | 2018-07-09 | 2019-01-08 | 江苏大学 | Novel photovoltaic power forecasting method based on AFSA-Elman |
Non-Patent Citations (2)
Title |
---|
汪玉环: ""股票间相关性测量方法的研究及应用"", 《中国优秀博硕士学位论文全文数据库(硕士)经济与管理科学辑》 * |
祝牧: ""大型风电场群运行特性与优化控制研究"", 《中国优秀博硕士学位论文全文数据库(博士)工程科技Ⅱ辑》 * |
Cited By (6)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN111476293A (en) * | 2020-04-03 | 2020-07-31 | 河海大学 | Wind power plant grouping method considering wind speed and wind direction |
CN111476293B (en) * | 2020-04-03 | 2022-08-30 | 河海大学 | Wind power plant grouping method considering wind speed and wind direction |
CN112016684A (en) * | 2020-08-06 | 2020-12-01 | 广西大学 | Electric power terminal fingerprint identification method of deep parallel flexible transmission network |
CN112016684B (en) * | 2020-08-06 | 2022-09-02 | 广西大学 | Electric power terminal fingerprint identification method of deep parallel flexible transmission network |
CN112580900A (en) * | 2021-02-23 | 2021-03-30 | 国能日新科技股份有限公司 | Short-term power prediction method and system based on single fan modeling |
CN113449920A (en) * | 2021-06-30 | 2021-09-28 | 上海电机学院 | Wind power prediction method, system and computer readable medium |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN103020462B (en) | Take into account the wind energy turbine set probability output power calculation algorithms of complicated wake effect model | |
CN104699936B (en) | Wind power plant sector management method based on Fluid Mechanics Computation short-term wind speed forecasting | |
Shi et al. | Hybrid forecasting model for very-short term wind power forecasting based on grey relational analysis and wind speed distribution features | |
CN103545832B (en) | A kind of photovoltaic system energy accumulation capacity configuration based on generating predicated error | |
CN110738253A (en) | A short-term wind power prediction method based on FCM and AFSA-Elman | |
CN104200032B (en) | Based on period horizontal time shafts clustering method in broad sense load modeling | |
CN104978608B (en) | Wind power prediction device and prediction method | |
CN111753893A (en) | A power cluster prediction method for wind turbines based on clustering and deep learning | |
CN106779129A (en) | A kind of Short-Term Load Forecasting Method for considering meteorologic factor | |
CN105760617A (en) | Calculation method applied to multi-parameter fault prediction and judgment indexes of wind generating set | |
CN102496927A (en) | Wind power station power projection method based on error statistics modification | |
CN109522599A (en) | Transmission line of electricity catastrophic failure method for early warning caused by a kind of typhoon | |
CN104700321A (en) | Analytical method of state running tendency of transmission and distribution equipment | |
CN113988421B (en) | Intelligent prediction method of wind turbine power based on deep learning | |
CN103473621A (en) | Wind power station short-term power prediction method | |
CN103489046A (en) | Method for predicting wind power plant short-term power | |
CN104682381A (en) | Reliability calculation method for flexible direct-current transmission system of large wind power plant | |
CN116629120A (en) | A heat dissipation evaluation method and system for a dry-type power transformer | |
CN105825002B (en) | A kind of wind power plant dynamic equivalent modeling method based on dynamic Gray Association Analysis | |
CN107194141A (en) | A kind of region wind energy resources becomes more meticulous appraisal procedure | |
CN106650977A (en) | Short-term power prediction method used for newly-built wind farm | |
Samal et al. | Cost savings and emission reduction capability of wind-integrated power systems | |
CN113610285A (en) | Power prediction method for distributed wind power | |
CN110674864A (en) | Wind power abnormal data identification method with synchronous phasor measurement device | |
CN117592799A (en) | A post-resource evaluation system for in-service wind power projects |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
PB01 | Publication | ||
PB01 | Publication | ||
SE01 | Entry into force of request for substantive examination | ||
SE01 | Entry into force of request for substantive examination | ||
RJ01 | Rejection of invention patent application after publication | ||
RJ01 | Rejection of invention patent application after publication |
Application publication date: 20200131 |