CN115034485A - A data space-based wind power interval prediction method and device - Google Patents
A data space-based wind power interval prediction method and device Download PDFInfo
- Publication number
- CN115034485A CN115034485A CN202210686617.8A CN202210686617A CN115034485A CN 115034485 A CN115034485 A CN 115034485A CN 202210686617 A CN202210686617 A CN 202210686617A CN 115034485 A CN115034485 A CN 115034485A
- Authority
- CN
- China
- Prior art keywords
- wind power
- prediction
- data
- meteorological
- wind
- 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
Images
Classifications
-
- 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
- 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
- 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
-
- H—ELECTRICITY
- H02—GENERATION; CONVERSION OR DISTRIBUTION OF ELECTRIC POWER
- H02J—CIRCUIT ARRANGEMENTS OR SYSTEMS FOR SUPPLYING OR DISTRIBUTING ELECTRIC POWER; SYSTEMS FOR STORING ELECTRIC ENERGY
- H02J3/00—Circuit arrangements for AC mains or AC distribution networks
- H02J3/004—Generation forecast, e.g. methods or systems for forecasting future energy generation
-
- Y—GENERAL TAGGING OF NEW TECHNOLOGICAL DEVELOPMENTS; GENERAL TAGGING OF CROSS-SECTIONAL TECHNOLOGIES SPANNING OVER SEVERAL SECTIONS OF THE IPC; TECHNICAL SUBJECTS COVERED BY FORMER USPC CROSS-REFERENCE ART COLLECTIONS [XRACs] AND DIGESTS
- Y04—INFORMATION OR COMMUNICATION TECHNOLOGIES HAVING AN IMPACT ON OTHER TECHNOLOGY AREAS
- Y04S—SYSTEMS INTEGRATING TECHNOLOGIES RELATED TO POWER NETWORK OPERATION, COMMUNICATION OR INFORMATION TECHNOLOGIES FOR IMPROVING THE ELECTRICAL POWER GENERATION, TRANSMISSION, DISTRIBUTION, MANAGEMENT OR USAGE, i.e. SMART GRIDS
- Y04S10/00—Systems supporting electrical power generation, transmission or distribution
- Y04S10/50—Systems or methods supporting the power network operation or management, involving a certain degree of interaction with the load-side end user applications
Landscapes
- Engineering & Computer Science (AREA)
- Business, Economics & Management (AREA)
- Theoretical Computer Science (AREA)
- Physics & Mathematics (AREA)
- Economics (AREA)
- General Physics & Mathematics (AREA)
- Human Resources & Organizations (AREA)
- Strategic Management (AREA)
- Health & Medical Sciences (AREA)
- General Health & Medical Sciences (AREA)
- Marketing (AREA)
- General Business, Economics & Management (AREA)
- Tourism & Hospitality (AREA)
- Life Sciences & Earth Sciences (AREA)
- Computing Systems (AREA)
- Water Supply & Treatment (AREA)
- Public Health (AREA)
- Artificial Intelligence (AREA)
- Biomedical Technology (AREA)
- Biophysics (AREA)
- Computational Linguistics (AREA)
- Data Mining & Analysis (AREA)
- Evolutionary Computation (AREA)
- Molecular Biology (AREA)
- Primary Health Care (AREA)
- General Engineering & Computer Science (AREA)
- Mathematical Physics (AREA)
- Software Systems (AREA)
- Development Economics (AREA)
- Game Theory and Decision Science (AREA)
- Entrepreneurship & Innovation (AREA)
- Operations Research (AREA)
- Quality & Reliability (AREA)
- Power Engineering (AREA)
- Management, Administration, Business Operations System, And Electronic Commerce (AREA)
Abstract
本发明涉及风电功率预测技术领域,具体提供了一种基于数据空间的风电功率区间预测方法及装置,包括:获取预测时刻与风电功率相关的气象特征数据;将所述预测时刻与风电功率相关的气象特征数据输入至预先构建的深度学习风电功率预测模型,得到预测时刻的风电功率预测值;基于所述预测时刻的风电功率预测值确定所述预测时刻的风电功率预测区间。本发明提供一种科学合理、实用高效、准确可靠的风电场短期风电功率的点预测和区间预测方法,能够实现风电场对于未来24h的短期功率点预测,以及不同置信度下的区间预测,为电力系统调度运行以及风电场报量参与电力市场提供决策支撑。
The invention relates to the technical field of wind power prediction, and specifically provides a data space-based wind power power interval prediction method and device, comprising: acquiring meteorological feature data related to wind power at the forecast time; The meteorological feature data is input into a pre-built deep learning wind power prediction model to obtain a wind power prediction value at the prediction time; the wind power prediction interval at the prediction time is determined based on the wind power prediction value at the prediction time. The invention provides a scientific, reasonable, practical, efficient, accurate and reliable point forecasting and interval forecasting method for short-term wind power of wind farms, which can realize short-term power point forecasting of wind farms for the next 24 hours and interval forecasting under different confidence degrees. The dispatching operation of the power system and the participation of wind farms in the power market provide decision support.
Description
技术领域technical field
本发明涉及风电功率预测技术领域,具体涉及一种基于数据空间的风电功率区间预测方法及装置。The invention relates to the technical field of wind power prediction, in particular to a data space-based wind power power interval prediction method and device.
背景技术Background technique
由于风电本身具有随机性、波动性和间歇性,并且具有显著的反调峰特征,其迅速发展给电力系统的规划、调度和安全运行,以及风电的经济合理消纳带来了严峻的挑战。大规模风电场接入电网后,风电功率的间歇性和波动性会对电网的电力电量平衡以及频率稳定调节带来较大的压力。为应对大规模间歇性风电接入电网的不确定性,准确的风电功率预测愈加重要。短期风电功率点和区间预测结果是电网调度管理部门制定发电计划和调整运行策略的主要参考数据,同时也是风电企业报量报价参与电力现货市场的重要依据。此外,准确可靠的短期风电功率点和区间预测也有利于降低电力市场参与者面临的由风电功率不确定性所带来的技术和经济风险,提高风电企业参与电力市场交易的收益,进一步促进新能源发展和电力系统清洁低碳转型。Because wind power itself is random, fluctuating and intermittent, and has significant anti-peak characteristics, its rapid development has brought severe challenges to the planning, dispatching and safe operation of power systems, as well as the economical and reasonable consumption of wind power. After a large-scale wind farm is connected to the power grid, the intermittent and fluctuating wind power will bring greater pressure on the power balance and frequency stability regulation of the power grid. To cope with the uncertainty of large-scale intermittent wind power integration into the grid, accurate wind power forecasting is increasingly important. The short-term wind power point and interval forecast results are the main reference data for the power grid dispatch management department to formulate power generation plans and adjust operation strategies, and are also an important basis for wind power companies to quote and participate in the electricity spot market. In addition, accurate and reliable short-term wind power point and interval forecasts are also conducive to reducing the technical and economic risks faced by power market participants caused by wind power uncertainty, increasing the benefits of wind power companies participating in power market transactions, and further promoting new Energy development and clean and low-carbon transition of the power system.
随着5G时代的到来,大数据、云服务、人工智能等新一代信息技术被广泛应用,能够为短期风电功率预测提供可靠的数据质量和强大的计算能力支持。风电场通过数据采集与监视控制SCADA(Supervisory Control And Data Acquisition)、数值天气预报(Numerical Weather Prediction,NWP)系统、地理信息系统(Geographic InformationSystem,GIS)等平台采集储存了海量的多源、多维、多模态数据资源,为风电场数据空间的构建提供了基础。数据空间秉承了一种不同于传统大数据管理的新的数据管理理念,由面向业务转向面向对象。数据空间是一种面向全对象的全生命周期的分布式多元标签数据存储的底层框架,是一种让数据安全、高效连接的技术体系。顺应数字化风电场转型建设的趋势,构建风电场数据空间是提高风电场数字化运维管理水平的重要手段。通过数据空间提供的数据存储技术及相关服务,风电场能够以综合、安全、高效的方式系统地管理多个数据源,并能选择性地提取有用信息,从而有效提高数据的利用程度,为风电功率预测和风电场运维管理提供决策支撑。With the advent of the 5G era, new-generation information technologies such as big data, cloud services, and artificial intelligence are widely used, which can provide reliable data quality and powerful computing power support for short-term wind power forecasting. Wind farms collect and store massive multi-source, multi-dimensional, Multimodal data resources provide the basis for the construction of wind farm data space. Dataspace adheres to a new data management concept that is different from traditional big data management, shifting from business-oriented to object-oriented. Data space is a low-level framework of distributed multi-label data storage with full object-oriented full life cycle, and a technical system that allows data to be connected securely and efficiently. In line with the trend of digital wind farm transformation and construction, building a wind farm data space is an important means to improve the digital operation and maintenance management level of wind farms. Through the data storage technology and related services provided by DataSpace, wind farms can systematically manage multiple data sources in a comprehensive, safe and efficient manner, and can selectively extract useful information, thereby effectively improving the degree of data utilization, providing wind power Power forecasting and wind farm operation and maintenance management provide decision support.
基于不同的建模思想,风电功率预测方法大致可以分为物理方法、统计学方法、人工智能和机器学习方法以及组合优化方法。但是物理方法对于NWP数据准确度和完整度的要求较高,并且要求对大气物理特性及风机特征等进行明确的数学方程描述,一般不适用于短期功率预测。统计学模型、人工智能和机器学习模型,尤其是混合多阶段模型在风电功率短期预测领域有着广泛的应用。但是,随着信息平台的建设以及大数据技术的完善,风电场的数据规模不断扩大和数据类型也更加多样化。而传统的统计学和机器学习模型难以描述复杂的风电功率波动与多维气象数据之间的映射关系,限制了点预测精度的提升。并且,在实际工程应用中,由于风电功率波动性强所带来的风险,风电利益相关者对于功率概率区间预测提出了新的需求。Based on different modeling ideas, wind power prediction methods can be roughly divided into physical methods, statistical methods, artificial intelligence and machine learning methods, and combinatorial optimization methods. However, the physical method has high requirements on the accuracy and completeness of NWP data, and requires a clear mathematical equation description of atmospheric physical characteristics and fan characteristics, which is generally not suitable for short-term power prediction. Statistical models, artificial intelligence and machine learning models, especially hybrid multi-stage models, are widely used in the field of short-term forecasting of wind power. However, with the construction of information platforms and the improvement of big data technology, the data scale of wind farms has been continuously expanded and the data types have become more diversified. However, traditional statistical and machine learning models are difficult to describe the complex mapping relationship between wind power fluctuations and multi-dimensional meteorological data, which limits the improvement of point prediction accuracy. Moreover, in practical engineering applications, due to the risks brought about by strong wind power fluctuations, wind power stakeholders have put forward new demands for power probability interval prediction.
总结来看,目前有关风电场多维数据空间数据清洗和特征挖掘技术、风电功率时间序列数据智能分解和降噪方法,以及点预测方法与区间预测方法的综合应用方面还存在一定的差距,并且在工程实践中缺乏对于先进的深度学习算法的应用,一定程度上限制了风电功率预测精度的进一步提升。To sum up, there is still a certain gap in the comprehensive application of multi-dimensional data spatial data cleaning and feature mining technology of wind farms, intelligent decomposition and noise reduction methods of wind power time series data, and point forecasting methods and interval forecasting methods. The lack of application of advanced deep learning algorithms in engineering practice limits the further improvement of wind power prediction accuracy to a certain extent.
发明内容SUMMARY OF THE INVENTION
为了克服上述缺陷,本发明提出了一种基于数据空间的风电功率区间预测方法及装置。In order to overcome the above defects, the present invention proposes a data space-based wind power interval prediction method and device.
第一方面,提供一种基于数据空间的风电功率区间预测方法,所述基于数据空间的风电功率区间预测方法包括:In a first aspect, a data space-based wind power interval prediction method is provided, and the data space-based wind power interval prediction method includes:
获取预测时刻与风电功率相关的气象特征数据;Obtain meteorological feature data related to wind power at the forecast time;
将所述预测时刻与风电功率相关的气象特征数据输入至预先构建的深度学习风电功率预测模型,得到预测时刻的风电功率预测值;Inputting the meteorological feature data related to wind power at the forecast time into a pre-built deep learning wind power forecast model to obtain a wind power forecast value at the forecast time;
基于所述预测时刻的风电功率预测值确定所述预测时刻的风电功率预测区间。The wind power prediction interval at the prediction time is determined based on the wind power prediction value at the prediction time.
优选的,所述获取预测时刻与风电功率相关的气象特征数据之前,包括:Preferably, before obtaining the meteorological feature data related to the wind power at the predicted time, the method includes:
采集风电场历史功率数据和气象特征数据;Collect historical power data and meteorological characteristic data of wind farms;
对所述风电场历史功率数据和气象特征数据进行预处理;Preprocessing the historical power data and meteorological characteristic data of the wind farm;
计算历史功率数据与各种气象特征数据之间的相关性,并基于历史功率数据与各种气象特征数据之间的相关性筛选与风电功率相关的气象特征。Calculate the correlation between the historical power data and various meteorological feature data, and screen the meteorological features related to wind power based on the correlation between the historical power data and various meteorological feature data.
进一步的,所述预处理包括下述中的至少一种:异常值识别、数据清洗、风速数据预处理。Further, the preprocessing includes at least one of the following: outlier identification, data cleaning, and wind speed data preprocessing.
进一步的,所述计算历史功率数据与各种气象特征数据之间的相关性,并基于历史功率数据与各种气象特征数据之间的相关性筛选与风电功率相关的气象特征包括:Further, calculating the correlation between historical power data and various meteorological feature data, and screening meteorological features related to wind power based on the correlation between historical power data and various meteorological feature data includes:
计算各种气象特征数据之间的皮尔逊相关系数;Calculate the Pearson correlation coefficient between various meteorological feature data;
若各种气象特征数据之间的皮尔逊相关系数超过第一阈值,则剔除其中一个气象特征数据;If the Pearson correlation coefficient between various meteorological feature data exceeds the first threshold, then remove one of the meteorological feature data;
计算历史功率数据与各种气象特征数据之间的皮尔逊相关系数和灰色关联度;Calculate the Pearson correlation coefficient and gray correlation between historical power data and various meteorological feature data;
若气象特征数据与历史功率数据之间的皮尔逊相关系数在预设显著性水平下显著,且气象特征数据与历史功率数据之间的灰色关联度超过第二阈值,则该气象特征数据对应的气象特征为与风电功率相关的气象特征。If the Pearson correlation coefficient between the meteorological feature data and the historical power data is significant at the preset significance level, and the gray correlation between the meteorological feature data and the historical power data exceeds the second threshold, then the corresponding meteorological feature data Meteorological features are meteorological features related to wind power.
优选的,所述预先构建的深度学习风电功率预测模型的训练过程包括:Preferably, the training process of the pre-built deep learning wind power prediction model includes:
利用风电场历史功率数据分解后得到的固有模态分量和残余分量以及与风电功率相关的气象特征数据构建训练集和验证集;The training set and the validation set are constructed by using the intrinsic modal components and residual components obtained after decomposing the historical power data of the wind farm and the meteorological characteristic data related to the wind power;
利用所述训练集和验证集对初始深度学习风电功率预测模型进行训练,得到所述预先构建的深度学习风电功率预测模型。The initial deep learning wind power prediction model is trained by using the training set and the verification set to obtain the pre-built deep learning wind power prediction model.
进一步的,所述基于所述预测时刻的风电功率预测值确定所述预测时刻的风电功率预测区间,包括:Further, determining the wind power prediction interval at the prediction time based on the wind power prediction value at the prediction time includes:
将所述验证集中与风电功率相关的气象特征数据输入至预先构建的深度学习风电功率预测模型,得到所述验证集各样本点的风电功率预测值;Inputting the meteorological feature data related to wind power in the verification set into a pre-built deep learning wind power prediction model, to obtain the wind power prediction value of each sample point in the verification set;
将所述验证集各样本点的风电功率预测值与所述验证集中各样本点的历史风电功率之差作为所述验证集各样本点的风电功率预测误差;Taking the difference between the wind power prediction value of each sample point in the verification set and the historical wind power power of each sample point in the verification set as the wind power prediction error of each sample point in the verification set;
基于所述验证集各样本点的风电功率预测值及所述验证集各样本点的风电功率预测误差确定所述验证集的相对误差样本序列;Determine the relative error sample sequence of the verification set based on the wind power prediction value of each sample point of the verification set and the wind power prediction error of each sample point of the verification set;
基于核密度估计方法得到的所述验证集的相对误差样本序列对应的置信上下限;The upper and lower confidence limits corresponding to the relative error sample sequence of the validation set obtained based on the kernel density estimation method;
基于所述验证集的相对误差样本序列对应的置信上下限确定所述预测时刻的风电功率预测区间。The wind power prediction interval at the prediction time is determined based on the upper and lower confidence limits corresponding to the relative error sample sequence of the verification set.
进一步的,所述验证集的相对误差样本序列的计算式如下:Further, the calculation formula of the relative error sample sequence of the verification set is as follows:
ep=er/pv e p = er /p v
上式中,ep为所述验证集的相对误差样本序列,er为所述验证集各样本点的风电功率预测误差序列,pv为所述验证集各样本点的风电功率预测值。In the above formula, ep is the relative error sample sequence of the verification set, er is the wind power prediction error sequence of each sample point in the verification set, and pv is the wind power prediction value of each sample point in the verification set.
进一步的,所述预测时刻的风电功率预测区间的计算式如下:Further, the calculation formula of the wind power prediction interval at the prediction time is as follows:
上式中,为预测时刻的风电功率预测区间,为所述预测时刻的风电功率预测值在置信度水平μ下的上限,为所述预测时刻的风电功率预测值在置信度水平μ下的下限。In the above formula, is the forecast interval of wind power at the forecast time, is the upper limit of the predicted value of wind power at the predicted time under the confidence level μ, is the lower limit of the predicted value of wind power at the predicted time under the confidence level μ.
进一步的,所述预测时刻的风电功率预测值在置信度水平μ下的上限的计算式如下:Further, the calculation formula of the upper limit of the predicted value of wind power at the predicted time under the confidence level μ is as follows:
所述预测时刻的风电功率预测值在置信度水平μ下的下限的计算式如下:The calculation formula of the lower limit of the predicted value of wind power at the predicted time under the confidence level μ is as follows:
上式中,pi为所述预测时刻的风电功率预测值,为所述验证集的相对误差样本序列对应的置信度水平μ的上限,为所述验证集的相对误差样本序列对应的置信度水平μ的下限。In the above formula, pi is the predicted value of wind power at the predicted time, is the upper limit of the confidence level μ corresponding to the relative error sample sequence of the validation set, is the lower limit of the confidence level μ corresponding to the relative error sample sequence of the validation set.
第二方面,提供一种基于数据空间的风电功率区间预测装置,所述基于数据空间的风电功率区间预测装置包括:In a second aspect, a data space-based wind power interval prediction device is provided, and the data space-based wind power interval prediction device includes:
获取模块,用于从风电场数据空间中获取预测时刻与风电功率相关的气象特征数据;The acquisition module is used to acquire the meteorological feature data related to the wind power at the forecast time from the wind farm data space;
第一确定模块,用于将所述预测时刻与风电功率相关的气象特征数据输入至预先构建的深度学习风电功率预测模型,得到预测时刻的风电功率预测值;a first determination module, configured to input the meteorological feature data related to the wind power at the forecast time into a pre-built deep learning wind power forecast model to obtain a wind power forecast value at the forecast time;
第二确定模块,用于基于所述预测时刻的风电功率预测值确定所述预测时刻的风电功率预测区间。The second determination module is configured to determine the wind power prediction interval at the prediction time based on the wind power prediction value at the prediction time.
第三方面,提供一种计算机设备,包括:一个或多个处理器;In a third aspect, a computer device is provided, comprising: one or more processors;
所述处理器,用于存储一个或多个程序;the processor for storing one or more programs;
当所述一个或多个程序被所述一个或多个处理器执行时,实现所述的基于数据空间的风电功率区间预测方法。When the one or more programs are executed by the one or more processors, the data space-based wind power interval prediction method is implemented.
第四方面,提供一种计算机可读存储介质,其上存有计算机程序,所述计算机程序被执行时,实现所述的基于数据空间的风电功率区间预测方法。In a fourth aspect, a computer-readable storage medium is provided on which a computer program is stored, and when the computer program is executed, the data space-based wind power interval prediction method is implemented.
本发明上述一个或多个技术方案,至少具有如下一种或多种有益效果:The above-mentioned one or more technical solutions of the present invention have at least one or more of the following beneficial effects:
本发明提供了一种基于数据空间的风电功率区间预测方法及装置,包括:获取预测时刻与风电功率相关的气象特征数据;将所述预测时刻与风电功率相关的气象特征数据输入至预先构建的深度学习风电功率预测模型,得到预测时刻的风电功率预测值;基于所述预测时刻的风电功率预测值确定所述预测时刻的风电功率预测区间。本发明提供一种科学合理、实用高效的风电场短期风电功率准确的点预测和区间预测方法,能够实现风电场对于未来24h的短期功率点预测,以及不同置信度下的区间预测,为电力系统调度运行以及风电场报量参与电力市场提供决策支撑。The invention provides a data space-based wind power interval prediction method and device, including: acquiring meteorological feature data related to wind power at the forecast time; inputting the meteorological feature data related to the wind power at the forecast time into a pre-built The wind power prediction model is deeply learned to obtain the wind power prediction value at the prediction time; the wind power prediction interval at the prediction time is determined based on the wind power prediction value at the prediction time. The invention provides a scientific, reasonable, practical and high-efficiency method for accurate point prediction and interval prediction of short-term wind power of wind farms, which can realize short-term power point prediction of wind farms for the next 24 hours and interval predictions under different confidence degrees. It provides decision support for dispatching operation and participation of wind farms in the electricity market.
附图说明Description of drawings
图1是本发明实施例的基于数据空间的风电功率区间预测方法的主要步骤流程示意图;FIG. 1 is a schematic flowchart of main steps of a data space-based wind power interval prediction method according to an embodiment of the present invention;
图2是本发明实施例的LSTM神经网络模型结构示意图;2 is a schematic structural diagram of an LSTM neural network model according to an embodiment of the present invention;
图3是本发明实施例的基于数据空间的风电功率区间预测方法的详细步骤流程示意图;3 is a schematic flowchart of detailed steps of a data space-based wind power interval prediction method according to an embodiment of the present invention;
图4是本发明实施例的训练集风电功率数据序列经变分模态分解后的结果图;4 is a result diagram of a training set wind power data sequence after variational modal decomposition according to an embodiment of the present invention;
图5是本发明实施例的基于BiLSTM-Attention的风电功率点预测方法对于预测集风电功率的预测曲线和相对误差图;FIG. 5 is a prediction curve and a relative error diagram of the wind power point prediction method based on BiLSTM-Attention for predicting the set wind power according to an embodiment of the present invention;
图6是本发明实施例的基于核密度估计的基于数据空间的风电功率区间预测方法计算得到的预测集风电功率不同置信水平下的预测区间图;6 is a forecast interval diagram of the forecast set wind power under different confidence levels calculated by the data space-based wind power interval prediction method based on kernel density estimation according to an embodiment of the present invention;
图7是本发明实施例的基于数据空间的风电功率区间预测装置的主要结构框图。FIG. 7 is a main structural block diagram of a data space-based wind power interval prediction apparatus according to an embodiment of the present invention.
具体实施方式Detailed ways
下面结合附图对本发明的具体实施方式作进一步的详细说明。The specific embodiments of the present invention will be further described in detail below with reference to the accompanying drawings.
为使本发明实施例的目的、技术方案和优点更加清楚,下面将结合本发明实施例中的附图,对本发明实施例中的技术方案进行清楚、完整地描述,显然,所描述的实施例是本发明一部分实施例,而不是全部的实施例。基于本发明中的实施例,本领域普通技术人员在没有做出创造性劳动前提下所获得的所有其它实施例,都属于本发明保护的范围。In order to make the purposes, technical solutions and advantages of the embodiments of the present invention clearer, the technical solutions in the embodiments of the present invention will be clearly and completely described below with reference to the accompanying drawings in the embodiments of the present invention. Obviously, the described embodiments These are some embodiments of the present invention, but not all embodiments. Based on the embodiments of the present invention, all other embodiments obtained by those of ordinary skill in the art without creative efforts shall fall within the protection scope of the present invention.
针对现有风电功率预测技术存在的不足,本发明的目的是结合数据空间的数据存储管理技术和深度学习算法强大的非线性数据拟合能力,提供一种科学合理、实用高效、准确可靠的风电场短期风电功率区间预测方法,能够实现风电场对于未来24h的短期功率点预测(时间分辨率为15min及以内),以及不同置信度下的区间预测,为电力系统调度运行以及风电场报量参与电力市场提供决策支撑。In view of the shortcomings of the existing wind power prediction technology, the purpose of the present invention is to combine the data storage management technology of the data space and the powerful nonlinear data fitting ability of the deep learning algorithm to provide a scientific, reasonable, practical, efficient, accurate and reliable wind power The short-term wind power interval prediction method of the wind farm can realize the short-term power point forecast of the wind farm for the next 24 hours (the time resolution is 15 minutes or less), and the interval forecast under different confidence levels. The electricity market provides decision support.
由于冗余的特征维度会导致预测模型过于复杂,限制模型预测效率和预测精度的提升。基于皮尔逊相关性分析和灰色关联分析的关键特征筛选,可以从多源、多维的风电功率影响因素数据中初步挖掘输入特征与风电功率的因果关联关系。通过出筛选影响风电功率的关键特征,可以充分挖掘数据中的有效信息资源,为模型训练增加先验知识,从而提高模型预测精度和拟合优度。Due to redundant feature dimensions, the prediction model will be too complex, which limits the improvement of model prediction efficiency and prediction accuracy. Based on the screening of key features by Pearson correlation analysis and grey correlation analysis, the causal relationship between input features and wind power can be preliminarily mined from the multi-source and multi-dimensional wind power influencing factor data. By screening out the key features that affect wind power, the effective information resources in the data can be fully mined, and prior knowledge can be added to model training, thereby improving model prediction accuracy and goodness of fit.
由于原始风电功率序列具有较强的随机性和波动性,会对预测模型的精度和稳定性带来不利影响。而在利用变分模态分解对于风电功率序列信号进行分解时,模态分解总数和二次惩罚系数的取值将直接影响原始信号分解的最终效果。灰狼算法优化的变分模态分解方法可以实现模态分解总数和二次惩罚系数这两个参数的优化取值,进而将随机性和波动性较强的风电功率信号分解为不同频率的平稳分量,从而提高模型的预测的稳定性和精确度。Due to the strong randomness and volatility of the original wind power sequence, it will adversely affect the accuracy and stability of the prediction model. When using variational modal decomposition to decompose the wind power sequence signal, the total number of modal decomposition and the value of the quadratic penalty coefficient will directly affect the final effect of the original signal decomposition. The variational modal decomposition method optimized by the gray wolf algorithm can realize the optimal values of the total number of modal decomposition and the quadratic penalty coefficient, and then decompose the wind power signal with strong randomness and volatility into stationary signals of different frequencies. components, thereby improving the stability and accuracy of the model's predictions.
由于当前风电功率点预测方法精度仍需进一步提升,本发明构建了基于 BiLSTM-Attention的深度学习模型实现短期风电功率点预测。借助于长短期记忆神经网络 (Longshort-term memory,LSTM)模型对于时间序列数据的敏感性,双向长短期记忆网络(Bidirectional long short-term memory,BiLSTM)可以兼顾时间序列数据前后时刻的信息,能够捕捉到被单向LSTM忽略的信息,更充分地挖掘数据序列中潜在的信息,并增强网络处理复杂情况的能力。利用BiLSTM模型对于风电功率各个分量进行预测,强化数据的时序特征,更深入地挖掘输入特征与风电功率的因果关联关系,可以进一步提高模型预测精度。注意力(Attention)机制可以将有限的计算资源用来处理更加重要的信息。本发明将软注意力机制引入BiLSTM,通过用概率分配权重的方式改进BiLSTM网络因时序数据过长而丢失重要信息的缺陷,并且突出关键特征中重要信息的影响,进而提高模型的预测精度和预测效率。Since the accuracy of the current wind power point prediction method still needs to be further improved, the present invention constructs a deep learning model based on BiLSTM-Attention to achieve short-term wind power point prediction. With the help of the sensitivity of the long short-term memory (LSTM) model to time series data, the bidirectional long short-term memory (BiLSTM) network can take into account the information of the time series data before and after, and can Capturing information that is ignored by unidirectional LSTMs, more fully mines the underlying information in the data sequence, and enhances the network's ability to handle complex situations. The BiLSTM model is used to predict each component of wind power, strengthen the time series features of the data, and dig deeper into the causal relationship between input features and wind power, which can further improve the prediction accuracy of the model. The Attention mechanism can use limited computing resources to process more important information. The invention introduces the soft attention mechanism into BiLSTM, improves the defect that the BiLSTM network loses important information due to too long time series data by assigning weights by probability, and highlights the influence of important information in key features, thereby improving the prediction accuracy and prediction of the model. efficiency.
传统风电功率预测研究大都聚焦在提高点预测精度上,而忽略了预测误差中的附加信息。区间预测通过描绘风电功率预测曲线的上下边界,可以在实际工程应用为电力系统决策者提供更多的信息,有助于提高电网稳定性并且降低运营成本。为了提高风电功率预测结果的决策参考价值,需要从海量多源高维数据中提取有价值的信息,降低风电序列的非平稳性,提高模型训练集的质量,进而提高风电点预测和区间预测的精度。Most of the traditional wind power forecasting research focuses on improving the point forecasting accuracy, while ignoring the additional information in the forecasting error. By describing the upper and lower boundaries of the wind power prediction curve, interval prediction can provide more information for power system decision makers in practical engineering applications, which can help improve grid stability and reduce operating costs. In order to improve the decision-making reference value of wind power prediction results, it is necessary to extract valuable information from massive multi-source high-dimensional data, reduce the non-stationarity of wind power sequences, improve the quality of model training sets, and then improve the accuracy of wind power point forecasting and interval forecasting. precision.
实施例1Example 1
参阅附图1,图1是本发明的一个实施例的基于数据空间的风电功率区间预测方法的主要步骤流程示意图。如图1所示,本发明实施例中的基于数据空间的风电功率区间预测方法主要包括以下步骤:Referring to FIG. 1 , FIG. 1 is a schematic flowchart of main steps of a data space-based wind power interval prediction method according to an embodiment of the present invention. As shown in FIG. 1 , the data space-based wind power interval prediction method in the embodiment of the present invention mainly includes the following steps:
步骤S101:获取预测时刻与风电功率相关的气象特征数据;Step S101: obtaining meteorological feature data related to wind power at the predicted time;
步骤S102:将所述预测时刻与风电功率相关的气象特征数据输入至预先构建的深度学习风电功率预测模型,得到预测时刻的风电功率预测值;Step S102: Input the meteorological feature data related to the wind power at the predicted time into a pre-built deep learning wind power prediction model to obtain a predicted value of the wind power at the predicted time;
步骤S103:基于所述预测时刻的风电功率预测值确定所述预测时刻的风电功率预测区间。Step S103: Determine a wind power prediction interval at the prediction time based on the wind power prediction value at the prediction time.
本实施例中,所述步骤S101可以通过SCADA和NWP等信息系统采集风电场历史功率数据和气象特征(包括风速、风向、温度、湿度、气压等)等信息,并通过NWP系统获取未来一天的气象特征数据值,然后将从不同平台采集获取的数据(数据时间分辨率一致)按照统一的数据标准、规范和协议,汇聚、整合并存储到风电场数据空间中进行统一管理,为风电功率预测提供安全、稳定、高效的数据支撑服务。In this embodiment, in the step S101, information such as historical power data and meteorological characteristics (including wind speed, wind direction, temperature, humidity, air pressure, etc.) of the wind farm can be collected through information systems such as SCADA and NWP, and information such as wind farm data can be obtained through the NWP system for the next day. Meteorological characteristic data values, and then the data collected from different platforms (the data time resolution is consistent) are aggregated, integrated and stored in the wind farm data space according to unified data standards, specifications and protocols for unified management, which is used for wind power forecasting. Provide safe, stable and efficient data support services.
本实施例中,所述步骤S101之前,包括:In this embodiment, before the step S101, it includes:
采集风电场历史功率数据和气象特征数据;Collect historical power data and meteorological characteristic data of wind farms;
对所述风电场历史功率数据和气象特征数据进行预处理;Preprocessing the historical power data and meteorological characteristic data of the wind farm;
计算历史功率数据与各种气象特征数据之间的相关性,并基于历史功率数据与各种气象特征数据之间的相关性筛选与风电功率相关的气象特征。Calculate the correlation between the historical power data and various meteorological feature data, and screen the meteorological features related to wind power based on the correlation between the historical power data and various meteorological feature data.
其中,所述预处理包括下述中的至少一种:异常值识别、数据清洗、风速数据预处理。Wherein, the preprocessing includes at least one of the following: outlier identification, data cleaning, and wind speed data preprocessing.
在一个实施方式中,为避免历史数据集中数据异常值和缺失值影响基于数据驱动的模型的精度,需对风电场数据空间中的风电功率及其影响因素(特征)数据集进行预处理,具体的:In one embodiment, in order to avoid data outliers and missing values in the historical data set from affecting the accuracy of the data-driven model, the data set of wind power and its influencing factors (features) in the wind farm data space needs to be preprocessed. of:
步骤1:异常值识别。原始风电场数据集中存在异常值的情况,主要可分为以下几类:风速大于切入风速,但是功率值为0;风电功率大于0,但是风速记录为0;数据传感器采样故障,数据采集异常或数据记录缺失等。对于整条数据记录的缺失,将其从样本中删除,对于缺失值和异常值进行进一步处理。Step 1: Outlier identification. There are abnormal values in the original wind farm data set, which can be mainly divided into the following categories: the wind speed is greater than the cut-in wind speed, but the power value is 0; the wind power is greater than 0, but the wind speed record is 0; data sensor sampling failure, abnormal data collection or Missing data records, etc. For the missing of the entire data record, it is removed from the sample, and further processing is performed for missing values and outliers.
步骤2:数据清洗。考虑到气象和功率数据变化具有一定的连续性,以该缺失数据值前后相邻采样时间间隔的数据均值,作为该缺失值的补充值或作为异常值的替代值。Step 2: Data cleaning. Considering that the changes of meteorological and power data have a certain continuity, the data mean of the adjacent sampling time intervals before and after the missing data value is used as the supplementary value of the missing value or as a substitute value for the abnormal value.
步骤3:风速数据预处理。风向的范围为0°~360°,从物理意义上讲,0°、360°和1°、359°对风机出力是基本等效的,但对基于数据驱动的深度学习方法而言,输入的数值差异却很大,因此,对风向采用三角函数化处理,即取风向的sin值替换原来的风向数据。Step 3: Preprocessing of wind speed data. The wind direction ranges from 0° to 360°. Physically speaking, 0°, 360° and 1° and 359° are basically equivalent to the fan output, but for data-driven deep learning methods, the input The numerical difference is very large. Therefore, the trigonometric function is used for the wind direction, that is, the sin value of the wind direction is used to replace the original wind direction data.
步骤4:经过异常值识别、数据清洗和风速数据预处理后,得到数据样本,划分训练集、验证集和验证集。Step 4: After outlier identification, data cleaning and wind speed data preprocessing, data samples are obtained and divided into training set, validation set and validation set.
进一步的,所述计算历史功率数据与各种气象特征数据之间的相关性,并基于历史功率数据与各种气象特征数据之间的相关性筛选与风电功率相关的气象特征包括:Further, calculating the correlation between historical power data and various meteorological feature data, and screening meteorological features related to wind power based on the correlation between historical power data and various meteorological feature data includes:
计算各种气象特征数据之间的皮尔逊相关系数;Calculate the Pearson correlation coefficient between various meteorological feature data;
若各种气象特征数据之间的皮尔逊相关系数超过第一阈值,则剔除其中一个气象特征数据;If the Pearson correlation coefficient between various meteorological feature data exceeds the first threshold, then remove one of the meteorological feature data;
计算历史功率数据与各种气象特征数据之间的皮尔逊相关系数和灰色关联度;Calculate the Pearson correlation coefficient and gray correlation between historical power data and various meteorological feature data;
若气象特征数据与历史功率数据之间的皮尔逊相关系数在预设显著性水平下显著,且气象特征数据与历史功率数据之间的灰色关联度超过第二阈值,则该气象特征数据对应的气象特征为与风电功率相关的气象特征。If the Pearson correlation coefficient between the meteorological feature data and the historical power data is significant at the preset significance level, and the gray correlation between the meteorological feature data and the historical power data exceeds the second threshold, then the corresponding meteorological feature data Meteorological features are meteorological features related to wind power.
在一个实施方式中,利用皮尔逊相关系数和灰色关联度对于风电功率影响因素进行分析,筛选关键特征,降低数据冗余度;本发明提供的实施例中,第一阈值设置为0.95,预设显著性水平为0.01,第二阈值设置为0.80。In one embodiment, the Pearson correlation coefficient and the grey correlation degree are used to analyze the influencing factors of wind power, to screen key features and reduce data redundancy; in the embodiment provided by the present invention, the first threshold is set to 0.95, and the preset The significance level was 0.01 and the second threshold was set at 0.80.
本实施例中,所述预先构建的深度学习风电功率预测模型的训练过程包括:In this embodiment, the training process of the pre-built deep learning wind power prediction model includes:
利用风电场历史功率数据分解后得到的固有模态分量和残余分量以及与风电功率相关的气象特征数据构建训练集和验证集;The training set and the validation set are constructed by using the intrinsic modal components and residual components obtained after decomposing the historical power data of the wind farm and the meteorological characteristic data related to the wind power;
利用所述训练集和验证集对初始深度学习风电功率预测模型进行训练,得到所述预先构建的深度学习风电功率预测模型。The initial deep learning wind power prediction model is trained by using the training set and the verification set to obtain the pre-built deep learning wind power prediction model.
具体的,风电功率序列分解的具体过程利用灰狼优化算法(Grey WolfOptimization, GWO)优化后的变分模态分解(Variational Modal Decomposition,VMD)方法对历史风电功率序列进行分解,得到多个不同频率的固有模态分量(Intrinsic ModeFunctions,IMFs) 和一个残余分量(Residual,RES)。Specifically, the specific process of decomposing the wind power sequence uses the Variational Modal Decomposition (VMD) method optimized by the Grey Wolf Optimization (GWO) algorithm to decompose the historical wind power sequence to obtain multiple different frequencies. The intrinsic mode components (Intrinsic ModeFunctions, IMFs) and a residual component (Residual, RES).
利用灰狼优化算法,以各个模态分量的局部包络熵极小值作为适应度函数,对于风电功率序列模态分解总数K、二次惩罚系数α0进行寻优。模态分量x(j),j=1,2,…,n的包络熵计算公式如下。Using the gray wolf optimization algorithm, the local envelope entropy minimum value of each modal component is used as the fitness function to optimize the total number of modal decomposition K and the quadratic penalty coefficient α 0 of the wind power sequence. The formula for calculating the envelope entropy of the modal components x(j), j=1,2,...,n is as follows.
式中,a(j)是变分模态分解后得到的α0模态分量x(j)经Hilbert解调后得到的包络信号,pj是a(j)归一化形式。In the formula, a(j) is the envelope signal obtained by Hilbert demodulation of the α 0 modal component x(j) obtained after variational modal decomposition, and p j is the normalized form of a(j).
将灰狼优化算法寻优得到的最优模态分解总数K和二次惩罚系数α0作为变分模态分解的参数,最终计算得到风电功率序列分解后的多个固有模态分量(IMFs)和一个残余分量 (RES)。The total number of optimal modal decompositions K and the quadratic penalty coefficient α 0 obtained by the gray wolf optimization algorithm are used as the parameters of the variational modal decomposition, and finally the multiple intrinsic modal components (IMFs) of the decomposed wind power sequence are calculated. and a residual component (RES).
在一个实施方式中,所述预先构建的深度学习风电功率预测模型的训练过程中,将风电场历史数据集分为训练集和验证集,利用训练集训练基于BiLSTM-Attention(注意力机制优化的双向长短期记忆神经网络)的深度学习预测模型,利用验证集来确定深度学习模型的超参数,并记录验证集的预测误差。预测模型中采用min-max(最大最小值)归一化方法对于所有输入数据进行归一化,并将模型预测结果进行反归一化后输出。将待预测风电场未来一天的关键特征数据输入经历史数据集训练后的BiLSTM-Attention模型,得到风电功率的点预测结果。In one embodiment, during the training process of the pre-built deep learning wind power prediction model, the wind farm historical data set is divided into a training set and a verification set, and the training set is used to train a BiLSTM-Attention (attention mechanism optimized model) Bidirectional long short-term memory neural network) deep learning prediction model, using the validation set to determine the hyperparameters of the deep learning model, and recording the prediction error of the validation set. In the prediction model, the min-max (maximum and minimum value) normalization method is used to normalize all input data, and the model prediction results are de-normalized and output. The key feature data of the wind farm to be predicted in the next day is input into the BiLSTM-Attention model trained by the historical data set, and the point prediction result of wind power is obtained.
具体的,建立LSTM神经网络模型,如附图2所示。Specifically, an LSTM neural network model is established, as shown in FIG. 2 .
it=σ(Wixt+Uiht-1+bi)i t =σ(W i x t +U i h t-1 +b i )
ft=σ(Wfxt+Ufht-1+bf)f t =σ(W f x t +U f h t-1 +b f )
ot=σ(Woxt+Uoht-1+bo)o t =σ(W o x t +U o h t-1 +b o )
ht=ot⊙tanh(ct)h t =o t ⊙tanh(c t )
式中,σ表示Sigmoid激活函数,Wi,Wf,和Wo分别指代输入层到输入门、遗忘门、输出门与细胞状态的权重向量;Ui,Uf,Uo分别指代隐藏层到输入门、遗忘门、输出门与细胞状态的权重向量;bi,bf,分别指代输入门、遗忘门、输出门与细胞状态的偏置。In the formula, σ represents the sigmoid activation function, W i , W f , and W o respectively refer to the weight vector from the input layer to the input gate, forget gate, output gate and cell state; U i , U f , and U o respectively refer to The weight vector from the hidden layer to the input gate, forgetting gate, output gate and cell state; b i , b f , respectively refer to the bias of the input gate, forgetting gate, output gate and cell state.
在上述基础上,建立BiLSTM神经网络模型。t时刻的BiLSTM计算单元总输出值h′具体计算公式如下:On the basis of the above, the BiLSTM neural network model is established. The specific calculation formula of the total output value h' of the BiLSTM computing unit at time t is as follows:
式中,和分别表示前向LSTM单元和后向LSTM单元的输出值,为向量拼接操作。In the formula, and represent the output values of the forward LSTM unit and the backward LSTM unit, respectively, It is a vector concatenation operation.
将软注意力机制引入BiLSTM,通过用概率分配权重的方式替代随机分配权重的方式改进 BiLSTM网络因时序数据过长而丢失重要信息的缺陷,进而提高BiLSTM-Attention模型的预测精度和预测效率。The soft attention mechanism is introduced into BiLSTM to improve the BiLSTM network's defect of losing important information due to too long time series data by replacing the random weight assignment with probability assignment weight, thereby improving the prediction accuracy and prediction efficiency of the BiLSTM-Attention model.
进一步的,将筛选后的关键特征序列和分解后的风电功率序列数据输入到基于BiLSTM-Attention的深度学习预测模型中;利用训练集对于预测模型进行训练,基于验证集确定模型的超参数,并且记录验证集的误差;然后将预测集的关键特征数据输入经历史数据集训练后的BiLSTM-Attention模型,分别得到功率序列各个分量的预测值,将各个分量加总后得到风电功率的点预测结果。Further, input the screened key feature sequence and decomposed wind power sequence data into the deep learning prediction model based on BiLSTM-Attention; use the training set to train the prediction model, and determine the hyperparameters of the model based on the validation set, and Record the error of the verification set; then input the key feature data of the prediction set into the BiLSTM-Attention model trained on the historical data set, obtain the predicted value of each component of the power sequence, and add up the components to obtain the point prediction result of wind power power .
在一个实施方式中,本发明还进行了风电功率点预测结果评价,具体为:In one embodiment, the present invention also performs wind power point prediction result evaluation, specifically:
选取平均绝对误差(Mean Absolute Error,MAE),平均绝对百分比误差(MeanAbsolute Percentage Error,MAPE),均方根误差(Root Mean Square Error,RMSE)和R2(R-squared) 作为模型点预测结果的评价指标。Select Mean Absolute Error (MAE), Mean Absolute Percentage Error (MAPE), Root Mean Square Error (RMSE) and R2 (R- squared ) as the model point prediction results. evaluation indicators.
进一步的,平均绝对误差、平均绝对百分比误差和均方根误差越小,模型预测准确度越高,点预测效果越好;R2越接近于1,预测功率曲线与实际功率曲线的拟合程度越好,点预测效果越好。Further, the smaller the mean absolute error, the mean absolute percentage error and the root mean square error, the higher the model prediction accuracy and the better the point prediction effect; the closer R 2 is to 1, the better the fitting degree between the predicted power curve and the actual power curve. The better, the better the point prediction.
本实施例中,利用核密度估计方法计算不同置信度下验证集相对误差样本序列的置信上限和置信下限,并结合待预测时刻的点预测结果计算不同置信度下风电功率预测值的置信上限和下限,进而得到风电功率预测区间,所述基于所述预测时刻的风电功率预测值确定所述预测时刻的风电功率预测区间,包括:In this embodiment, the kernel density estimation method is used to calculate the upper and lower confidence limits of the relative error sample sequence of the validation set under different confidence levels, and the upper and lower confidence limits of the predicted value of wind power under different confidence levels are calculated in combination with the point prediction results at the time to be predicted. The lower limit of the wind power is obtained, and the wind power prediction interval is obtained, and the wind power prediction interval at the prediction moment is determined based on the wind power prediction value at the prediction moment, including:
将所述验证集中与风电功率相关的气象特征数据输入至预先构建的深度学习风电功率预测模型,得到所述验证集各样本点的风电功率预测值;Inputting the meteorological feature data related to wind power in the verification set into a pre-built deep learning wind power prediction model, to obtain the wind power prediction value of each sample point in the verification set;
将所述验证集各样本点的风电功率预测值与所述验证集中各样本点的历史风电功率之差作为所述验证集各样本点的风电功率预测误差;Taking the difference between the wind power prediction value of each sample point in the verification set and the historical wind power power of each sample point in the verification set as the wind power prediction error of each sample point in the verification set;
基于所述验证集各样本点的风电功率预测值及所述验证集各样本点的风电功率预测误差确定所述验证集的相对误差样本序列;Determine the relative error sample sequence of the verification set based on the wind power prediction value of each sample point of the verification set and the wind power prediction error of each sample point of the verification set;
基于核密度估计方法得到的所述验证集的相对误差样本序列对应的置信上下限;The upper and lower confidence limits corresponding to the relative error sample sequence of the validation set obtained based on the kernel density estimation method;
基于所述验证集的相对误差样本序列对应的置信上下限确定所述预测时刻的风电功率预测区间。The wind power prediction interval at the prediction time is determined based on the upper and lower confidence limits corresponding to the relative error sample sequence of the verification set.
在一个实施方式中,所述验证集的相对误差样本序列的计算式如下:In one embodiment, the calculation formula of the relative error sample sequence of the validation set is as follows:
ep=er/pv e p = er /p v
上式中,ep为所述验证集的相对误差样本序列,er为所述验证集各样本点的风电功率预测误差序列,pv为所述验证集各样本点的风电功率预测值。In the above formula, ep is the relative error sample sequence of the verification set, er is the wind power prediction error sequence of each sample point in the verification set, and pv is the wind power prediction value of each sample point in the verification set.
在一个实施方式中,所述预测时刻的风电功率预测区间的计算式如下:In one embodiment, the calculation formula of the wind power prediction interval at the prediction time is as follows:
上式中,为预测时刻的风电功率预测区间,为所述预测时刻的风电功率预测值在置信度水平μ下的上限,为所述预测时刻的风电功率预测值在置信度水平μ下的下限。In the above formula, is the forecast interval of wind power at the forecast time, is the upper limit of the predicted value of wind power at the predicted time under the confidence level μ, is the lower limit of the predicted value of wind power at the predicted time under the confidence level μ.
在一个实施方式中,所述预测时刻的风电功率预测值在置信度水平μ下的上限的计算式如下:In one embodiment, the calculation formula of the upper limit of the predicted value of wind power at the predicted moment under the confidence level μ is as follows:
所述预测时刻的风电功率预测值在置信度水平μ下的下限的计算式如下:The calculation formula of the lower limit of the predicted value of wind power at the predicted time under the confidence level μ is as follows:
上式中,pi为所述预测时刻的风电功率预测值,为所述验证集的相对误差样本序列对应的置信度水平μ的上限,为所述验证集的相对误差样本序列对应的置信度水平μ的下限。In the above formula, pi is the predicted value of wind power at the predicted time, is the upper limit of the confidence level μ corresponding to the relative error sample sequence of the validation set, is the lower limit of the confidence level μ corresponding to the relative error sample sequence of the validation set.
在一个实施方式中,对于基于数据空间的风电功率区间预测效果评价,选取预测区间覆盖率(Prediction Interval Coverage Probability,PICP)和预测区间平均带宽(Prediction interval normalized average width,PINAW)以及综合可靠性指标(Coverage width-based criterion,CWC)来进行对比分析。In one embodiment, for the data space-based wind power interval prediction effect evaluation, the prediction interval coverage ratio (Prediction Interval Coverage Probability, PICP), the prediction interval normalized average width (PINAW) and the comprehensive reliability index are selected. (Coverage width-based criterion, CWC) for comparative analysis.
预测区间覆盖率指标反映了指定置信度下,实际风电功率落在预测区间内的概率,PICP 小于置信度μ,说明预测无效;反之,预测有效。PICP越大说明实际功率落入预测上下限之间的概率越大,其表达式如下。The forecast interval coverage index reflects the probability that the actual wind power falls within the forecast interval under the specified confidence level. If PICP is less than the confidence level μ, the forecast is invalid; otherwise, the forecast is valid. The larger the PICP, the greater the probability that the actual power falls between the upper and lower limits of the prediction, and its expression is as follows.
式中,N为预测样本个数,ci为布尔变量,取值如下所示。In the formula, N is the number of prediction samples, and c i is a Boolean variable whose values are as follows.
预测区间平均带宽指标可以反映预测区间上下限间宽度的平均值,当预测结果的PICP 相同时,较小的PINAW对应更好的预测效果。具体可表示为:The average bandwidth index of the prediction interval can reflect the average value of the width between the upper and lower limits of the prediction interval. When the PICP of the prediction result is the same, a smaller PINAW corresponds to a better prediction effect. Specifically, it can be expressed as:
式中,Z是风电功率值的变化区间。In the formula, Z is the change interval of the wind power value.
由于PICP和PINAW只反映了单方面的评价标准,不能体现出预测结果的综合表现。因此,引入综合可靠性评价指标(Coverage width-based criterion,CWC),其计算公式如下:Since PICP and PINAW only reflect unilateral evaluation criteria, they cannot reflect the comprehensive performance of the predicted results. Therefore, a comprehensive reliability evaluation index (Coverage width-based criterion, CWC) is introduced, and its calculation formula is as follows:
CWC=PINAW[1+γPIPCe-η(PIPC-μ)],η>0CWC=PINAW[1+γ PIPC e -η(PIPC-μ) ], η>0
式中,η为大于0的参数,本发明中取1;μ为给定的置信水平。In the formula, η is a parameter greater than 0, which is taken as 1 in the present invention; μ is a given confidence level.
进一步的,本发明提供一个具体的实施方案,如附图3所示,具体包括以下实施步骤:Further, the present invention provides a specific embodiment, as shown in Figure 3, which specifically includes the following implementation steps:
步骤1:风电场数据采集存储。以中国北方某装机容量为150MW的风电场为例,将该风电场SCADA平台中风电功率数据和气象特征数据存储到风电场数据空间中。风电场数据集中包括风电功率以及10m风速、10m风向、30m风速、30m风向、50m风速、50m风向、70m风速、轮毂处风向、轮毂处风速、压强、温度、湿度等气象特征,数据采样时间间隔为5min。选取该风电场2013年5月15日至2018年5月31日的风电场实测历史数据和功率数据对本发明提出的方法进行训练和测试。Step 1: Wind farm data collection and storage. Taking a wind farm with an installed capacity of 150MW in northern China as an example, the wind power data and meteorological feature data in the wind farm SCADA platform are stored in the wind farm data space. The wind farm data set includes wind power and meteorological features such as wind speed at 10m, wind direction at 10m, wind speed at 30m, wind direction at 30m, wind speed at 50m, wind direction at 50m, wind speed at 70m, wind direction at the hub, wind speed at the hub, pressure, temperature, humidity, etc. The data sampling time interval for 5min. The measured historical data and power data of the wind farm from May 15, 2013 to May 31, 2018 of the wind farm are selected to train and test the method proposed by the present invention.
步骤2:数据预处理。对采集到的数据集进行异常值识别,数据清洗,和风速数据预处理。Step 2: Data preprocessing. Perform outlier identification, data cleaning, and wind speed data preprocessing on the collected data set.
步骤2.1:对于整条数据记录的缺失,将其从样本中删除。Step 2.1: For the absence of the entire data record, remove it from the sample.
步骤2.2:对于个别缺失数据值,以该缺失数据值前后相邻时刻的数据均值作为该缺失值的补充值;对于个别异常数据值,以该异常数据值前后相邻时刻的数据均值作为该异常值的替代值。Step 2.2: For individual missing data values, the data mean value at the adjacent moments before and after the missing data value is used as the supplementary value for the missing value; for individual abnormal data values, the data mean value at the adjacent moments before and after the abnormal data value is used as the anomaly. Alternate value for the value.
步骤2.3:对风向采用三角函数化处理,即取风向的sin值替换原来的风向数据。Step 2.3: Use trigonometric function processing on the wind direction, that is, replace the original wind direction data with the sin value of the wind direction.
步骤2.4:经数据预处理后,共得到4420个数据样本,如下表1所示。将前3844个数据作为训练样本,用于对预测模型进行训练;然后以接下来288个点作为验证集,用于对模型超参数进行调试,并记录预测误差;以最后一天288个点作为验证集,用来计算预测方法评价指标,验证本发明提出点预测和区间预测方法的效果。Step 2.4: After data preprocessing, a total of 4420 data samples were obtained, as shown in Table 1 below. Use the first 3844 data as training samples to train the prediction model; then use the next 288 points as the validation set to debug the model hyperparameters and record the prediction error; use the last 288 points as validation The set is used to calculate the evaluation index of the prediction method, and to verify the effect of the point prediction and interval prediction methods proposed by the present invention.
表1Table 1
步骤3:风电功率关键特征筛选。利用皮尔逊相关性分析和灰色关联分析对风电功率影响因素进行分析,筛选关键特征,降低数据冗余度。综合皮尔逊相关系数和灰色关联度的计算结果,选取了10m风速、10m风向、30m风速、30m风向、50m风速、50m风向、轮毂处风速、轮毂处风向、温度、湿度作为预测模型的输入特征。Step 3: Screening of key features of wind power. Pearson correlation analysis and grey correlation analysis are used to analyze the influencing factors of wind power, screen key features, and reduce data redundancy. Based on the calculation results of Pearson correlation coefficient and grey correlation degree, 10m wind speed, 10m wind direction, 30m wind speed, 30m wind direction, 50m wind speed, 50m wind direction, wind speed at the hub, wind direction at the hub, temperature and humidity are selected as the input features of the prediction model. .
步骤3.1:计算不同特征间的皮尔逊相关系数,以及不同特征之间的皮尔逊相关系数,预设系数阈值为0.95;以及不同特征与风电功率间的皮尔逊相关系数,预设显著性水平为 0.01。经计算,70m处风速与轮毂处风速相关性为0.993,70m处风向与轮毂处风向相关性为 0.998,均大于预设的0.95阈值,因此删除70m处风速和风向;而其余特征间的相关性均低于0.95。并且,删除70m处风速和风向后,剩余的所有特征与风电功率间的皮尔逊相关系数都在0.01的显著性水平下显著。Step 3.1: Calculate the Pearson correlation coefficient between different features and the Pearson correlation coefficient between different features, the preset coefficient threshold is 0.95; and the Pearson correlation coefficient between different features and wind power, the preset significance level is 0.01. After calculation, the correlation between the wind speed at 70m and the wind speed at the hub is 0.993, and the correlation between the wind direction at 70m and the wind direction at the hub is 0.998, both of which are greater than the preset 0.95 threshold. Therefore, the wind speed and wind direction at 70m are deleted; and the correlation between the other features All are lower than 0.95. Moreover, after deleting the wind speed and wind direction at 70m, the Pearson correlation coefficients between all remaining features and wind power are significant at the 0.01 level of significance.
步骤3.2:计算不同特征与风电功率之间的灰色关联度,预设关联度阈值为0.80,结果如下表2所示。气压与风电功率间的灰色关联度低于预设的0.80阈值,因此将其剔除。Step 3.2: Calculate the grey correlation degree between different features and wind power. The preset correlation threshold is 0.80. The results are shown in Table 2 below. The gray correlation between air pressure and wind power is lower than the preset 0.80 threshold, so it is removed.
表2Table 2
步骤4:风电功率序列分解。首先,将原始风电功率序列输入灰狼算法优化的变分模态分解模型。将灰狼优化算法的最大迭代次数设置为30,初始种群数目设置为20,待优化参数有模态分解总数和二次惩罚系数两个,因此变量维数设置成为2维;根据经验,将模态分解总数的取值范围设为[3,10]、二次惩罚系数的取值范围设为[200,2000]。灰狼优化算法优化变分模态分解参数的结果如下:模态分解总数为6,二次惩罚系数为178.02。训练集风电功率数据序列经变分模态分解后的结果如附图4所示。Step 4: Decomposition of wind power sequence. First, the original wind power sequence is input into the variational modal decomposition model optimized by the gray wolf algorithm. The maximum number of iterations of the gray wolf optimization algorithm is set to 30, the initial population number is set to 20, and the parameters to be optimized include the total number of modal decompositions and the quadratic penalty coefficient, so the variable dimension is set to 2 dimensions; The value range of the total number of state decompositions is set to [3, 10], and the value range of the quadratic penalty coefficient is set to [200, 2000]. The results of the variational modal decomposition parameters optimized by the gray wolf optimization algorithm are as follows: the total number of modal decompositions is 6, and the quadratic penalty coefficient is 178.02. Figure 4 shows the result of the variational modal decomposition of the wind power data sequence in the training set.
步骤5:短期风电功率点预测。LSTM神经网络模型结构如附图2所示,利用风电场训练集和验证集的数据,通过实验法对于BiLSTM-Attention预测模型的超参数进行设置。其中, BiLSTM网络包含2层隐含层,隐藏单元数分别为50和50,BatchSize=64,Timestep=36,学习率为0.001,Optimiser=‘adam’,迭代次数为Epochs=200;Attention size为64。为证明本发明提出的技术方案的有效性,选取BiLSTM模型、LSTM模型和BP神经网络(BackPropagation Neural Network,BPNN)模型分别对于预测集的风电功率进行预测,并将预测结果与本发明出的基于BiLSTM-Attention模型的风电功率预测结果进行对比分析。其中,LSTM的参数设置与BiLSTM网络相同。使用Python 3.8.8和Tensorflow 2.4.1实现了BiLSTM-Attention,BiLSTM,LSTM模型。BPNN输入层神经元数目为影响因素的数目10,隐含层神经元数目为20,输出层神经元数目为1,训练次数为5000,精度目标设置为0.001。根据以上参数设置,分别对不同模型进行训练,最后,将预测集的关键特征数据输入训练好的预测模型中,得到不同模型风电功率点预测结果。Step 5: Short-term wind power point prediction. The structure of the LSTM neural network model is shown in Figure 2. Using the data of the wind farm training set and validation set, the hyperparameters of the BiLSTM-Attention prediction model are set experimentally. Among them, the BiLSTM network contains 2 hidden layers, the number of hidden units is 50 and 50, BatchSize=64, Timestep=36, the learning rate is 0.001, Optimiser='adam', the number of iterations is Epochs=200; the Attention size is 64 . In order to prove the effectiveness of the technical solution proposed by the present invention, the BiLSTM model, the LSTM model and the BP neural network (Back Propagation Neural Network, BPNN) model are selected to predict the wind power of the forecast set respectively, and the forecast results are compared with those based on the present invention. The wind power prediction results of the BiLSTM-Attention model are compared and analyzed. Among them, the parameter settings of LSTM are the same as those of BiLSTM network. BiLSTM-Attention, BiLSTM, LSTM models are implemented using Python 3.8.8 and Tensorflow 2.4.1. The number of neurons in the input layer of BPNN is the number of influencing factors 10, the number of neurons in the hidden layer is 20, the number of neurons in the output layer is 1, the number of training times is 5000, and the accuracy target is set to 0.001. According to the above parameter settings, different models are trained respectively, and finally, the key feature data of the prediction set is input into the trained prediction model, and the prediction results of wind power points of different models are obtained.
本发明提出的基于BiLSTM-Attention的风电功率点预测方法对于预测集风电功率的预测曲线和相对误差如附图5所示。The prediction curve and relative error of the wind power point prediction method based on BiLSTM-Attention proposed by the present invention are shown in FIG.
步骤6:风电功率点预测结果评价。根据预测集的功率实际值和不同模型的预测值,计算不同模型预测结果的平均绝对误差(MAE),平均绝对百分比误差(MAPE),均方根误差(RMSE) 和R-squared,结果如下表3所示。根据误差评价指标计算结果可以看出,本发明提出的基于BiLSTM-Attention模型的短期风电功率点预测方法的预测误差较小,拟合优度较高,点预测效果较好。Step 6: Evaluation of wind power point prediction results. Calculate the mean absolute error (MAE), mean absolute percentage error (MAPE), root mean square error (RMSE) and R-squared of the prediction results of different models according to the actual power value of the prediction set and the predicted value of different models. The results are as follows: 3 shown. According to the calculation result of the error evaluation index, it can be seen that the short-term wind power point prediction method based on the BiLSTM-Attention model proposed by the present invention has a smaller prediction error, a higher goodness of fit, and a better point prediction effect.
表3table 3
步骤7:基于数据空间的风电功率区间预测。利用验证集风电功率实际值和基于BiLSTM-Attention模型计算得到的验证集风电功率预测值,可以计算得到验证集相对误差样本序列ep=er/pv=[ep1,ep2,…,epn]。然后,利用核密度估计方法,基于高斯核函数计算不同置信水平下验证集相对误差样本序列的置信上限和置信下限最后,根据预测模型输出的预测集的风电功率值pi,计算得到该点预测功率pi不同置信水平μ下的上限和下限进而得到预测曲线的上下区间。Step 7: Wind power interval prediction based on data space. Using the actual value of wind power in the verification set and the predicted value of the wind power in the verification set calculated based on the BiLSTM-Attention model, the relative error sample sequence of the verification set can be calculated e p = er /p v =[e p1 ,e p2 ,..., e pn ]. Then, using the kernel density estimation method, the upper confidence limit of the relative error sample sequence of the validation set under different confidence levels is calculated based on the Gaussian kernel function and lower confidence limit Finally, according to the wind power value p i of the forecast set output by the forecast model, the upper limit of the predicted power p i at this point under different confidence levels μ is calculated. and lower bound Then, the upper and lower intervals of the prediction curve are obtained.
本发明提出的基于核密度估计的基于数据空间的风电功率区间预测方法对于预测集风电功率不同置信水平下的预测区间如附图6所示。The data space-based wind power interval prediction method based on the kernel density estimation proposed by the present invention is shown in FIG.
步骤8:基于核密度估计的风电功率区间预测效果评价。为验证本发明提出的基于核密度估计的风电功率区间预测方法的有效性,选取假设误差分布服从正态分布的参数估计方法,计算预测集风电功率不同置信水平下的预测区间。根据不同预测区间估计方法的结果,分别计算区间预测效果评价指标,结果如下表4所示。由表4可知,在不同的置信水平下,基于高斯核函数的核密度估计方法均能得到大于预设置信水平的区间覆盖率PICP,并且比较稳定。在相同的置信水平下,基于高斯核函数的核密度估计方法的综合可靠性指标CWC均优于基于正态分布的区间估计方法。这表示,本发明提出的基于核密度估计的风电功率区间预测方法能够紧密地跟随风电功率序列的变化趋势,并在同一置信水平下,能够以更窄的预测区间宽度覆盖更多的风电功率实际值。Step 8: Evaluation of the forecast effect of wind power in the interval based on kernel density estimation. In order to verify the validity of the wind power interval prediction method based on kernel density estimation proposed in the present invention, a parameter estimation method assuming that the error distribution obeys a normal distribution is selected to calculate the prediction interval of wind power under different confidence levels of the forecast set. According to the results of different prediction interval estimation methods, the interval prediction effect evaluation indicators are calculated respectively, and the results are shown in Table 4 below. It can be seen from Table 4 that under different confidence levels, the kernel density estimation method based on the Gaussian kernel function can obtain the interval coverage ratio PICP greater than the preset confidence level, and it is relatively stable. Under the same confidence level, the comprehensive reliability index CWC of the kernel density estimation method based on Gaussian kernel function is better than the interval estimation method based on normal distribution. This means that the wind power interval prediction method based on kernel density estimation proposed in the present invention can closely follow the change trend of the wind power sequence, and at the same confidence level, it can cover more actual wind power with a narrower prediction interval width. value.
表4Table 4
实施例2Example 2
基于同一种发明构思,本发明还提供一种基于数据空间的风电功率区间预测装置,如图 7所示,所述基于数据空间的风电功率区间预测装置包括:Based on the same inventive concept, the present invention also provides a data space-based wind power interval prediction device, as shown in FIG. 7 , the data space-based wind power interval prediction device includes:
获取模块,用于从风电场数据空间中获取预测时刻与风电功率相关的气象特征数据;The acquisition module is used to acquire the meteorological feature data related to the wind power at the forecast time from the wind farm data space;
第一确定模块,用于将所述预测时刻与风电功率相关的气象特征数据输入至预先构建的深度学习风电功率预测模型,得到预测时刻的风电功率预测值;a first determination module, configured to input the meteorological feature data related to the wind power at the forecast time into a pre-built deep learning wind power forecast model to obtain a wind power forecast value at the forecast time;
第二确定模块,用于基于所述预测时刻的风电功率预测值确定所述预测时刻的风电功率预测区间。The second determination module is configured to determine the wind power prediction interval at the prediction time based on the wind power prediction value at the prediction time.
优选的,所述获取预测时刻与风电功率相关的气象特征数据之前,包括:Preferably, before obtaining the meteorological feature data related to the wind power at the predicted time, the method includes:
采集风电场历史功率数据和气象特征数据;Collect historical power data and meteorological characteristic data of wind farms;
对所述风电场历史功率数据和气象特征数据进行预处理;Preprocessing the historical power data and meteorological characteristic data of the wind farm;
计算历史功率数据与各种气象特征数据之间的相关性,并基于历史功率数据与各种气象特征数据之间的相关性筛选与风电功率相关的气象特征。Calculate the correlation between the historical power data and various meteorological feature data, and screen the meteorological features related to wind power based on the correlation between the historical power data and various meteorological feature data.
进一步的,所述预处理包括下述中的至少一种:异常值识别、数据清洗、风速数据预处理。Further, the preprocessing includes at least one of the following: outlier identification, data cleaning, and wind speed data preprocessing.
进一步的,所述计算历史功率数据与各种气象特征数据之间的相关性,并基于历史功率数据与各种气象特征数据之间的相关性筛选与风电功率相关的气象特征包括:Further, calculating the correlation between historical power data and various meteorological feature data, and screening meteorological features related to wind power based on the correlation between historical power data and various meteorological feature data includes:
计算各种气象特征数据之间的皮尔逊相关系数;Calculate the Pearson correlation coefficient between various meteorological feature data;
若各种气象特征数据之间的皮尔逊相关系数超过第一阈值,则剔除其中一个气象特征数据;If the Pearson correlation coefficient between various meteorological feature data exceeds the first threshold, then remove one of the meteorological feature data;
计算历史功率数据与各种气象特征数据之间的皮尔逊相关系数和灰色关联度;Calculate the Pearson correlation coefficient and gray correlation between historical power data and various meteorological feature data;
若气象特征数据与历史功率数据之间的皮尔逊相关系数在预设显著性水平下显著,且气象特征数据与历史功率数据之间的灰色关联度超过第二阈值,则该气象特征数据对应的气象特征为与风电功率相关的气象特征。If the Pearson correlation coefficient between the meteorological feature data and the historical power data is significant at the preset significance level, and the gray correlation between the meteorological feature data and the historical power data exceeds the second threshold, then the corresponding meteorological feature data Meteorological features are meteorological features related to wind power.
优选的,所述预先构建的深度学习风电功率预测模型的训练过程包括:Preferably, the training process of the pre-built deep learning wind power prediction model includes:
利用风电场历史功率数据分解后得到的固有模态分量和残余分量以及与风电功率相关的气象特征数据构建训练集和验证集;The training set and the validation set are constructed by using the intrinsic modal components and residual components obtained after decomposing the historical power data of the wind farm and the meteorological characteristic data related to the wind power;
利用所述训练集和验证集对初始深度学习风电功率预测模型进行训练,得到所述预先构建的深度学习风电功率预测模型。The initial deep learning wind power prediction model is trained by using the training set and the verification set to obtain the pre-built deep learning wind power prediction model.
进一步的,所述基于所述预测时刻的风电功率预测值确定所述预测时刻的风电功率预测区间,包括:Further, determining the wind power prediction interval at the prediction time based on the wind power prediction value at the prediction time includes:
将所述验证集中与风电功率相关的气象特征数据输入至预先构建的深度学习风电功率预测模型,得到所述验证集各样本点的风电功率预测值;Inputting the meteorological feature data related to wind power in the verification set into a pre-built deep learning wind power prediction model, to obtain the wind power prediction value of each sample point in the verification set;
将所述验证集各样本点的风电功率预测值与所述验证集中各样本点的历史风电功率之差作为所述验证集各样本点的风电功率预测误差;Taking the difference between the wind power prediction value of each sample point in the verification set and the historical wind power power of each sample point in the verification set as the wind power prediction error of each sample point in the verification set;
基于所述验证集各样本点的风电功率预测值及所述验证集各样本点的风电功率预测误差确定所述验证集的相对误差样本序列;Determine the relative error sample sequence of the verification set based on the wind power prediction value of each sample point of the verification set and the wind power prediction error of each sample point of the verification set;
基于核密度估计方法得到的所述验证集的相对误差样本序列对应的置信上下限;The upper and lower confidence limits corresponding to the relative error sample sequence of the validation set obtained based on the kernel density estimation method;
基于所述验证集的相对误差样本序列对应的置信上下限确定所述预测时刻的风电功率预测区间。The wind power prediction interval at the prediction time is determined based on the upper and lower confidence limits corresponding to the relative error sample sequence of the verification set.
进一步的,所述验证集的相对误差样本序列的计算式如下:Further, the calculation formula of the relative error sample sequence of the verification set is as follows:
ep=er/pv e p = er /p v
上式中,ep为所述验证集的相对误差样本序列,er为所述验证集各样本点的风电功率预测误差序列,pv为所述验证集各样本点的风电功率预测值。In the above formula, ep is the relative error sample sequence of the verification set, er is the wind power prediction error sequence of each sample point in the verification set, and pv is the wind power prediction value of each sample point in the verification set.
进一步的,所述预测时刻的风电功率预测区间的计算式如下:Further, the calculation formula of the wind power prediction interval at the prediction time is as follows:
上式中,为预测时刻的风电功率预测区间,为所述预测时刻的风电功率预测值在置信度水平μ下的上限,为所述预测时刻的风电功率预测值在置信度水平μ下的下限。In the above formula, is the forecast interval of wind power at the forecast time, is the upper limit of the predicted value of wind power at the predicted time under the confidence level μ, is the lower limit of the predicted value of wind power at the predicted time under the confidence level μ.
进一步的,所述预测时刻的风电功率预测值在置信度水平μ下的上限的计算式如下:Further, the calculation formula of the upper limit of the predicted value of wind power at the predicted time under the confidence level μ is as follows:
所述预测时刻的风电功率预测值在置信度水平μ下的下限的计算式如下:The calculation formula of the lower limit of the predicted value of wind power at the predicted time under the confidence level μ is as follows:
上式中,pi为所述预测时刻的风电功率预测值,为所述验证集的相对误差样本序列对应的置信度水平μ的上限,为所述验证集的相对误差样本序列对应的置信度水平μ的下限。In the above formula, pi is the predicted value of wind power at the predicted time, is the upper limit of the confidence level μ corresponding to the relative error sample sequence of the validation set, is the lower limit of the confidence level μ corresponding to the relative error sample sequence of the validation set.
实施例3Example 3
基于同一种发明构思,本发明还提供了一种计算机设备,该计算机设备包括处理器以及存储器,所述存储器用于存储计算机程序,所述计算机程序包括程序指令,所述处理器用于执行所述计算机存储介质存储的程序指令。处理器可能是中央处理单元(CentralProcessing Unit,CPU),还可以是其他通用处理器、数字信号处理器(Digital SignalProcessor、DSP)、专用集成电路(Application SpecificIntegrated Circuit,ASIC)、现成可编程门阵列 (Field-Programmable GateArray,FPGA)或者其他可编程逻辑器件、分立门或者晶体管逻辑器件、分立硬件组件等,其是终端的计算核心以及控制核心,其适于实现一条或一条以上指令,具体适于加载并执行计算机存储介质内一条或一条以上指令从而实现相应方法流程或相应功能,以实现上述实施例中一种基于数据空间的风电功率区间预测方法的步骤。Based on the same inventive concept, the present invention also provides a computer device, the computer device includes a processor and a memory, the memory is used for storing a computer program, the computer program includes program instructions, and the processor is used for executing the Program instructions stored by the computer storage medium. The processor may be a central processing unit (Central Processing Unit, CPU), or other general-purpose processors, digital signal processors (Digital Signal Processor, DSP), application specific integrated circuits (Application Specific Integrated Circuit, ASIC), off-the-shelf programmable gate array ( Field-Programmable GateArray, FPGA) or other programmable logic devices, discrete gate or transistor logic devices, discrete hardware components, etc., which are the computing core and control core of the terminal, which are suitable for implementing one or more instructions, specifically suitable for loading And execute one or more instructions in the computer storage medium to realize the corresponding method flow or corresponding function, so as to realize the steps of a data space-based wind power interval prediction method in the above embodiment.
实施例4Example 4
基于同一种发明构思,本发明还提供了一种存储介质,具体为计算机可读存储介质 (Memory),所述计算机可读存储介质是计算机设备中的记忆设备,用于存放程序和数据。可以理解的是,此处的计算机可读存储介质既可以包括计算机设备中的内置存储介质,当然也可以包括计算机设备所支持的扩展存储介质。计算机可读存储介质提供存储空间,该存储空间存储了终端的操作系统。并且,在该存储空间中还存放了适于被处理器加载并执行的一条或一条以上的指令,这些指令可以是一个或一个以上的计算机程序(包括程序代码)。需要说明的是,此处的计算机可读存储介质可以是高速RAM存储器,也可以是非不稳定的存储器 (non-volatile memory),例如至少一个磁盘存储器。可由处理器加载并执行计算机可读存储介质中存放的一条或一条以上指令,以实现上述实施例中一种基于数据空间的风电功率区间预测方法的步骤。Based on the same inventive concept, the present invention also provides a storage medium, specifically a computer-readable storage medium (Memory), which is a memory device in a computer device for storing programs and data. It can be understood that, the computer-readable storage medium here may include both a built-in storage medium in a computer device, and certainly also an extended storage medium supported by the computer device. The computer-readable storage medium provides storage space in which the operating system of the terminal is stored. In addition, one or more instructions suitable for being loaded and executed by the processor are also stored in the storage space, and these instructions may be one or more computer programs (including program codes). It should be noted that the computer-readable storage medium here can be a high-speed RAM memory, or a non-volatile memory (non-volatile memory), such as at least one disk memory. One or more instructions stored in the computer-readable storage medium can be loaded and executed by the processor to implement the steps of the data space-based wind power interval prediction method in the above embodiment.
本领域内的技术人员应明白,本发明的实施例可提供为方法、系统、或计算机程序产品。因此,本发明可采用完全硬件实施例、完全软件实施例、或结合软件和硬件方面的实施例的形式。而且,本发明可采用在一个或多个其中包含有计算机可用程序代码的计算机可用存储介质(包括但不限于磁盘存储器、CD-ROM、光学存储器等)上实施的计算机程序产品的形式。As will be appreciated by one skilled in the art, embodiments of the present invention may be provided as a method, system, or computer program product. Accordingly, the present invention may take the form of an entirely hardware embodiment, an entirely software embodiment, or an embodiment combining software and hardware aspects. Furthermore, the present invention may take the form of a computer program product embodied on one or more computer-usable storage media (including, but not limited to, disk storage, CD-ROM, optical storage, etc.) having computer-usable program code embodied therein.
本发明是参照根据本发明实施例的方法、设备(系统)、和计算机程序产品的流程图和 /或方框图来描述的。应理解可由计算机程序指令实现流程图和/或方框图中的每一流程和 /或方框、以及流程图和/或方框图中的流程和/或方框的结合。可提供这些计算机程序指令到通用计算机、专用计算机、嵌入式处理机或其他可编程数据处理设备的处理器以产生一个机器,使得通过计算机或其他可编程数据处理设备的处理器执行的指令产生用于实现在流程图一个流程或多个流程和/或方框图一个方框或多个方框中指定的功能的装置。The present invention is described with reference to flowchart illustrations and/or block diagrams of methods, apparatus (systems), and computer program products according to embodiments of the invention. It will be understood that each flow and/or block in the flowchart illustrations and/or block diagrams, and combinations of flows and/or blocks in the flowchart illustrations and/or block diagrams, can be implemented by computer program instructions. These computer program instructions may be provided to the processor of a general purpose computer, special purpose computer, embedded processor or other programmable data processing device to produce a machine such that the instructions executed by the processor of the computer or other programmable data processing device produce Means for implementing the functions specified in a flow or flow of a flowchart and/or a block or blocks of a block diagram.
这些计算机程序指令也可存储在能引导计算机或其他可编程数据处理设备以特定方式工作的计算机可读存储器中,使得存储在该计算机可读存储器中的指令产生包括指令装置的制造品,该指令装置实现在流程图一个流程或多个流程和/或方框图一个方框或多个方框中指定的功能。These computer program instructions may also be stored in a computer-readable memory capable of directing a computer or other programmable data processing apparatus to function in a particular manner, such that the instructions stored in the computer-readable memory result in an article of manufacture comprising instruction means, the instructions The apparatus implements the functions specified in the flow or flow of the flowcharts and/or the block or blocks of the block diagrams.
这些计算机程序指令也可装载到计算机或其他可编程数据处理设备上,使得在计算机或其他可编程设备上执行一系列操作步骤以产生计算机实现的处理,从而在计算机或其他可编程设备上执行的指令提供用于实现在流程图一个流程或多个流程和/或方框图一个方框或多个方框中指定的功能的步骤。These computer program instructions can also be loaded on a computer or other programmable data processing device to cause a series of operational steps to be performed on the computer or other programmable device to produce a computer-implemented process such that The instructions provide steps for implementing the functions specified in the flow or blocks of the flowcharts and/or the block or blocks of the block diagrams.
最后应当说明的是:以上实施例仅用以说明本发明的技术方案而非对其限制,尽管参照上述实施例对本发明进行了详细的说明,所属领域的普通技术人员应当理解:依然可以对本发明的具体实施方式进行修改或者等同替换,而未脱离本发明精神和范围的任何修改或者等同替换,其均应涵盖在本发明的权利要求保护范围之内。Finally, it should be noted that the above embodiments are only used to illustrate the technical solutions of the present invention rather than to limit them. Although the present invention has been described in detail with reference to the above embodiments, those of ordinary skill in the art should understand that: the present invention can still be Modifications or equivalent replacements are made to the specific embodiments of the present invention, and any modifications or equivalent replacements that do not depart from the spirit and scope of the present invention shall be included within the protection scope of the claims of the present invention.
Claims (12)
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN202210686617.8A CN115034485A (en) | 2022-06-16 | 2022-06-16 | A data space-based wind power interval prediction method and device |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN202210686617.8A CN115034485A (en) | 2022-06-16 | 2022-06-16 | A data space-based wind power interval prediction method and device |
Publications (1)
Publication Number | Publication Date |
---|---|
CN115034485A true CN115034485A (en) | 2022-09-09 |
Family
ID=83125121
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN202210686617.8A Pending CN115034485A (en) | 2022-06-16 | 2022-06-16 | A data space-based wind power interval prediction method and device |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN115034485A (en) |
Cited By (6)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN115347571A (en) * | 2022-10-17 | 2022-11-15 | 国网江西省电力有限公司电力科学研究院 | Method and device for short-term prediction of photovoltaic power generation based on transfer learning |
CN115358495A (en) * | 2022-10-20 | 2022-11-18 | 中国华能集团清洁能源技术研究院有限公司 | A Calculation Method of Comprehensive Deviation Rate of Wind Power Prediction |
CN116227694A (en) * | 2023-02-16 | 2023-06-06 | 国能信控互联技术有限公司 | Wind power prediction method and system based on multi-interval feature screening and machine learning |
CN116701869A (en) * | 2023-06-08 | 2023-09-05 | 国网福建省电力有限公司经济技术研究院 | Peak regulation demand prediction method and terminal for power system |
CN117269751A (en) * | 2023-11-22 | 2023-12-22 | 国网江西省电力有限公司电力科学研究院 | GIS isolating switch switching position confirmation method |
CN118232318A (en) * | 2024-03-12 | 2024-06-21 | 山东大学 | Short-term wind power prediction method, system, medium and equipment in typhoon scene |
Citations (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN108921339A (en) * | 2018-06-22 | 2018-11-30 | 南京工程学院 | Genetic Support Vector Machine photovoltaic power interval prediction method based on quantile estimate |
CN112818601A (en) * | 2021-02-05 | 2021-05-18 | 河海大学 | Hydroelectric generating set health assessment method based on GA-BP neural network and error statistical analysis |
CN112949945A (en) * | 2021-04-15 | 2021-06-11 | 河海大学 | Wind power ultra-short-term prediction method for improving bidirectional long-short term memory network |
CN113063872A (en) * | 2021-03-26 | 2021-07-02 | 广西中医药大学 | Fingerprint spectrum and quality analysis method of ethyl acetate part of panax notoginseng ginger |
-
2022
- 2022-06-16 CN CN202210686617.8A patent/CN115034485A/en active Pending
Patent Citations (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN108921339A (en) * | 2018-06-22 | 2018-11-30 | 南京工程学院 | Genetic Support Vector Machine photovoltaic power interval prediction method based on quantile estimate |
CN112818601A (en) * | 2021-02-05 | 2021-05-18 | 河海大学 | Hydroelectric generating set health assessment method based on GA-BP neural network and error statistical analysis |
CN113063872A (en) * | 2021-03-26 | 2021-07-02 | 广西中医药大学 | Fingerprint spectrum and quality analysis method of ethyl acetate part of panax notoginseng ginger |
CN112949945A (en) * | 2021-04-15 | 2021-06-11 | 河海大学 | Wind power ultra-short-term prediction method for improving bidirectional long-short term memory network |
Cited By (8)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN115347571A (en) * | 2022-10-17 | 2022-11-15 | 国网江西省电力有限公司电力科学研究院 | Method and device for short-term prediction of photovoltaic power generation based on transfer learning |
CN115358495A (en) * | 2022-10-20 | 2022-11-18 | 中国华能集团清洁能源技术研究院有限公司 | A Calculation Method of Comprehensive Deviation Rate of Wind Power Prediction |
CN115358495B (en) * | 2022-10-20 | 2023-02-07 | 中国华能集团清洁能源技术研究院有限公司 | A Calculation Method of Comprehensive Deviation Rate of Wind Power Prediction |
CN116227694A (en) * | 2023-02-16 | 2023-06-06 | 国能信控互联技术有限公司 | Wind power prediction method and system based on multi-interval feature screening and machine learning |
CN116701869A (en) * | 2023-06-08 | 2023-09-05 | 国网福建省电力有限公司经济技术研究院 | Peak regulation demand prediction method and terminal for power system |
CN117269751A (en) * | 2023-11-22 | 2023-12-22 | 国网江西省电力有限公司电力科学研究院 | GIS isolating switch switching position confirmation method |
CN117269751B (en) * | 2023-11-22 | 2024-04-02 | 国网江西省电力有限公司电力科学研究院 | A method for confirming the opening and closing position of GIS isolation switch |
CN118232318A (en) * | 2024-03-12 | 2024-06-21 | 山东大学 | Short-term wind power prediction method, system, medium and equipment in typhoon scene |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
Zhang et al. | Short-term forecasting and uncertainty analysis of wind turbine power based on long short-term memory network and Gaussian mixture model | |
Chen et al. | Short-term wind speed predicting framework based on EEMD-GA-LSTM method under large scaled wind history | |
CN115034485A (en) | A data space-based wind power interval prediction method and device | |
CN113141008B (en) | Data-driven power distribution network distributed new energy consumption capability assessment method | |
CN114912721A (en) | A method and system for predicting peak-shaving demand for energy storage | |
CN113988421B (en) | Intelligent prediction method of wind turbine power based on deep learning | |
CN112100911A (en) | Solar radiation prediction method based on deep BISLTM | |
CN117526316B (en) | Load prediction method based on GCN-CBAM-BiGRU combined model | |
CN115618922A (en) | Photovoltaic power prediction method and device, photovoltaic power generation system and storage medium | |
Dumas et al. | Deep learning-based multi-output quantile forecasting of PV generation | |
CN117408394B (en) | Carbon emission factor prediction method and device for electric power system and electronic equipment | |
CN116581755B (en) | Power prediction method, device, equipment and storage medium | |
CN118300089A (en) | Wind power prediction method and system for wind power plant based on space-time correlation | |
Cao et al. | Short-term forecasting and uncertainty analysis of photovoltaic power based on the FCM-WOA-BILSTM model | |
Li et al. | Short-term probabilistic load forecasting method based on uncertainty estimation and deep learning model considering meteorological factors | |
Liao et al. | Scenario prediction for power loads using a pixel convolutional neural network and an optimization strategy | |
Wibawa et al. | Long Short-Term Memory to Predict Unique Visitors of an Electronic Journal | |
CN104182910A (en) | Correlation-associated wind power output scene construction method | |
Du et al. | Integrating Weather Conditions to Forecast the Electricity Price in Belgium Market: A Novel Mixed-Frequency Machine Learning Algorithm | |
CN111080000A (en) | Ultra-short-term bus load forecasting method based on PSR-DBN | |
CN110956304A (en) | A short-term forecasting method of distributed photovoltaic power generation based on GA-RBM | |
Lang et al. | A novel two‐stage interval prediction method based on minimal gated memory network for clustered wind power forecasting | |
Sun et al. | Ultra-short-term wind power interval prediction based on fluctuating process partitioning and quantile regression forest | |
Tamal et al. | Forecasting of solar photovoltaic output energy using LSTM machine learning algorithm | |
CN118228876A (en) | Photovoltaic power ultra-short-term multi-step prediction method, device and medium based on time series neural hierarchical interpolation model |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
PB01 | Publication | ||
PB01 | Publication | ||
SE01 | Entry into force of request for substantive examination | ||
SE01 | Entry into force of request for substantive examination |