[go: up one dir, main page]

CN111191815B - Ultra-short-term output prediction method and system for wind power cluster - Google Patents

Ultra-short-term output prediction method and system for wind power cluster Download PDF

Info

Publication number
CN111191815B
CN111191815B CN201911168558.XA CN201911168558A CN111191815B CN 111191815 B CN111191815 B CN 111191815B CN 201911168558 A CN201911168558 A CN 201911168558A CN 111191815 B CN111191815 B CN 111191815B
Authority
CN
China
Prior art keywords
sub
power
cluster
historical time
region
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Active
Application number
CN201911168558.XA
Other languages
Chinese (zh)
Other versions
CN111191815A (en
Inventor
梅生伟
刘宸宇
张雪敏
黄少伟
杨滢璇
刘锋
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Tsinghua University
China Electric Power Research Institute Co Ltd CEPRI
Electric Power Research Institute of State Grid Liaoning Electric Power Co Ltd
State Grid Corp of China SGCC
Original Assignee
Tsinghua University
China Electric Power Research Institute Co Ltd CEPRI
Electric Power Research Institute of State Grid Liaoning Electric Power Co Ltd
State Grid Corp of China SGCC
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Tsinghua University, China Electric Power Research Institute Co Ltd CEPRI, Electric Power Research Institute of State Grid Liaoning Electric Power Co Ltd, State Grid Corp of China SGCC filed Critical Tsinghua University
Priority to CN201911168558.XA priority Critical patent/CN111191815B/en
Publication of CN111191815A publication Critical patent/CN111191815A/en
Application granted granted Critical
Publication of CN111191815B publication Critical patent/CN111191815B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • GPHYSICS
    • G06COMPUTING OR CALCULATING; COUNTING
    • G06QINFORMATION 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/00Administration; Management
    • G06Q10/04Forecasting or optimisation specially adapted for administrative or management purposes, e.g. linear programming or "cutting stock problem"
    • GPHYSICS
    • G06COMPUTING OR CALCULATING; COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F16/00Information retrieval; Database structures therefor; File system structures therefor
    • G06F16/20Information retrieval; Database structures therefor; File system structures therefor of structured data, e.g. relational data
    • G06F16/29Geographical information databases
    • GPHYSICS
    • G06COMPUTING OR CALCULATING; COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F17/00Digital computing or data processing equipment or methods, specially adapted for specific functions
    • G06F17/10Complex mathematical operations
    • G06F17/18Complex mathematical operations for evaluating statistical data, e.g. average values, frequency distributions, probability functions, regression analysis
    • GPHYSICS
    • G06COMPUTING OR CALCULATING; COUNTING
    • G06NCOMPUTING ARRANGEMENTS BASED ON SPECIFIC COMPUTATIONAL MODELS
    • G06N20/00Machine learning
    • G06N20/10Machine learning using kernel methods, e.g. support vector machines [SVM]
    • GPHYSICS
    • G06COMPUTING OR CALCULATING; COUNTING
    • G06QINFORMATION 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/00Information and communication technology [ICT] specially adapted for implementation of business processes of specific business sectors, e.g. utilities or tourism
    • G06Q50/06Energy or water supply
    • YGENERAL 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
    • Y04INFORMATION OR COMMUNICATION TECHNOLOGIES HAVING AN IMPACT ON OTHER TECHNOLOGY AREAS
    • Y04SSYSTEMS 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/00Systems supporting electrical power generation, transmission or distribution
    • Y04S10/50Systems 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)
  • Theoretical Computer Science (AREA)
  • Physics & Mathematics (AREA)
  • General Physics & Mathematics (AREA)
  • Business, Economics & Management (AREA)
  • Data Mining & Analysis (AREA)
  • Economics (AREA)
  • General Engineering & Computer Science (AREA)
  • Databases & Information Systems (AREA)
  • Human Resources & Organizations (AREA)
  • Strategic Management (AREA)
  • Mathematical Physics (AREA)
  • Software Systems (AREA)
  • Operations Research (AREA)
  • Marketing (AREA)
  • Pure & Applied Mathematics (AREA)
  • Health & Medical Sciences (AREA)
  • Mathematical Optimization (AREA)
  • General Business, Economics & Management (AREA)
  • Tourism & Hospitality (AREA)
  • Computational Mathematics (AREA)
  • Mathematical Analysis (AREA)
  • Medical Informatics (AREA)
  • Bioinformatics & Cheminformatics (AREA)
  • General Health & Medical Sciences (AREA)
  • Water Supply & Treatment (AREA)
  • Public Health (AREA)
  • Development Economics (AREA)
  • Game Theory and Decision Science (AREA)
  • Entrepreneurship & Innovation (AREA)
  • Computing Systems (AREA)
  • Quality & Reliability (AREA)
  • Life Sciences & Earth Sciences (AREA)
  • Primary Health Care (AREA)
  • Bioinformatics & Computational Biology (AREA)
  • Evolutionary Computation (AREA)
  • Evolutionary Biology (AREA)
  • Computer Vision & Pattern Recognition (AREA)
  • Artificial Intelligence (AREA)
  • Probability & Statistics with Applications (AREA)

Abstract

本发明实施例提供一种用于风电集群的超短期出力预测方法及系统,该方法包括:对待预测风电集群的风电场进行子区域划分,得到待预测风电集群的子区域划分组合;获取子区域划分组合中每个子区域在第一预设历史时间段的功率真实值,第二预设历史时间段的功率真实值;根据第二预设历史时间段的功率真实值,对第一预设历史时间段的各子区域功率进行预测,得到第一预设历史时间段的各划分组合形式下的集群功率预测值;获取第一预设历史时间段的功率真实值和各划分组合形式下集群功率预测值之间的误差,将最小误差对应的子区域划分组合作为最优子区域划分组合,以得到风电集群超短期出力预测。本发明实施例提高风电集群超短期出力预测准确性。

Figure 201911168558

Embodiments of the present invention provide an ultra-short-term output forecasting method and system for a wind power cluster. The method includes: dividing a wind farm of a wind power cluster to be predicted into sub-regions to obtain a combination of sub-region divisions of the wind power cluster to be predicted; obtaining the sub-regions Divide and combine the real power value of each sub-region in the first preset historical time period and the power real value of the second preset historical time period; according to the power real value of the second preset historical time period, the first preset historical Predict the power of each sub-region in the time period, and obtain the cluster power prediction value under each division and combination of the first preset historical period; obtain the real power value of the first preset historical period and the cluster power under each division and combination. For the error between the predicted values, the sub-regional division and combination corresponding to the smallest error are used as the optimal sub-regional division and combination to obtain the ultra-short-term output forecast of the wind power cluster. The embodiments of the present invention improve the accuracy of ultra-short-term output prediction of wind power clusters.

Figure 201911168558

Description

一种用于风电集群的超短期出力预测方法及系统An ultra-short-term output forecasting method and system for wind power clusters

技术领域technical field

本发明涉及风电数据处理技术领域,尤其涉及一种用于风电集群的超短期出力预测方法及系统。The invention relates to the technical field of wind power data processing, in particular to a method and system for forecasting ultra-short-term output for wind power clusters.

背景技术Background technique

现有的风电集群超短期预测方法主要为“累加法”,其来源于对单个风电场的功率预测,主要方法是通过对风电集群内部每一个风电场建立预测模型,在实时预测中将各个风电场的预测结果进行加和,即得到风电集群的预测结果。The existing ultra-short-term forecasting method for wind power clusters is mainly the "accumulation method", which is derived from the power prediction of a single wind farm. The forecast results of the wind farms are summed to obtain the forecast results of the wind power cluster.

“累加法”是一种非常直观的预测方法,其计算原理和风电场预测完全一致,但是存在两方面的缺陷。首先,风电场较风电集群有较强的波动性,基于“累加法”的风电集群预测精度容易受限于风电场预测精度,特别是部分风电场因天气过程突变存在波动性较强的出力数据,其预测质量的降低将大大影响整体集群的预测质量。其次,“累加法”将风电集群内各个风电场独立开,分别进行预测,并未考虑到集群内风电场出力的相关性和区域性风电出力的平滑性,抛弃了风电集群内原有丰富的数据信息。The "accumulation method" is a very intuitive prediction method, and its calculation principle is exactly the same as that of wind farm prediction, but there are two defects. First of all, wind farms are more volatile than wind power clusters, and the prediction accuracy of wind power clusters based on the "accumulation method" is easily limited by the prediction accuracy of wind farms, especially some wind farms have output data with strong volatility due to sudden changes in weather processes. , the reduction of its prediction quality will greatly affect the prediction quality of the overall cluster. Secondly, the "accumulation method" separates each wind farm in the wind power cluster and makes predictions separately, without considering the correlation of the output of the wind farms in the cluster and the smoothness of the regional wind power output, and abandoning the original rich data in the wind power cluster information.

因此,现在亟需一种用于风电集群的超短期出力预测方法及系统来解决上述问题。Therefore, there is an urgent need for an ultra-short-term output forecasting method and system for wind power clusters to solve the above problems.

发明内容SUMMARY OF THE INVENTION

针对现有技术存在的问题,本发明实施例提供一种用于风电集群的超短期出力预测方法及系统。Aiming at the problems existing in the prior art, embodiments of the present invention provide a method and system for predicting ultra-short-term output for a wind power cluster.

第一方面,本发明实施例提供了一种用于风电集群的超短期出力预测方法,包括:In a first aspect, an embodiment of the present invention provides an ultra-short-term output forecasting method for a wind power cluster, including:

对待预测风电集群的风电场进行子区域划分,得到所述待预测风电集群的所有子区域划分组合;Sub-regional division is performed on the wind farm of the to-be-predicted wind power cluster, and all sub-region division combinations of the to-be-predicted wind power cluster are obtained;

获取所有子区域划分组合中每个子区域在第一预设历史时间段的功率真实值,以及在第二预设历史时间段的功率真实值,所述第一预设历史时间段为当前时刻最近的历史时间段,所述第二预设历史时间段为所述第一预设历史时间段最近的历史时间段;Obtain the real power value of each sub-region in the first preset historical time period and the power real value of the second preset historical time period in all sub-region division combinations, and the first preset historical time period is the latest at the current moment. The historical period of time, the second preset historical period is the most recent historical period of the first preset historical period;

根据所述第二预设历史时间段的功率真实值,对所述第一预设历史时间段的各个子区域功率进行预测,得到所述第一预设历史时间段的各种划分组合形式下的集群功率预测值;According to the actual power value of the second preset historical time period, the power of each sub-region of the first preset historical time period is predicted to obtain the different division and combination forms of the first preset historical time period. The predicted value of cluster power;

获取所述第一预设历史时间段的功率真实值和各种划分组合形式下集群功率预测值之间的误差,将最小误差对应的子区域划分组合作为最优子区域划分组合,以根据所述最优子区域划分组合得到所述待预测风电集群的超短期出力预测值。Obtain the error between the actual power value of the first preset historical time period and the predicted value of the cluster power under various division and combination forms, and use the sub-region division and combination corresponding to the minimum error as the optimal sub-region division and combination, so that according to the The optimal sub-area division and combination are used to obtain the ultra-short-term output forecast value of the wind power cluster to be predicted.

进一步地,在所述根据所述第二预设历史时间段的功率真实值,对所述第一预设历史时间段的各个子区域功率进行预测,得到所述第一预设历史时间段的各种划分组合形式下的集群功率预测值之前,所述方法还包括:Further, according to the actual power value of the second preset historical time period, predict the power of each sub-region of the first preset historical time period, and obtain the power of the first preset historical time period. Before the cluster power prediction value under various division and combination forms, the method further includes:

获取训练数据集,所述训练数据集包括风电集群各个子区域的样本功率数据;obtaining a training data set, the training data set including sample power data of each sub-region of the wind power cluster;

通过所述训练数据集,对支持向量机模型进行训练,得到用于各个子区域出力预测的拟合模型函数,以根据所述第二预设历史时间段的功率真实值,通过所述拟合模型函数对所述第一预设历史时间段的各个子区域功率进行预测,得到所述第一预设历史时间段的各种划分组合形式下的集群功率预测值。Through the training data set, the support vector machine model is trained to obtain a fitting model function for output prediction of each sub-region, so as to obtain the fitting model function according to the actual power value of the second preset historical time period, through the fitting The model function predicts the power of each sub-region in the first preset historical time period, and obtains the cluster power prediction value under various division and combination forms of the first preset historical time period.

进一步地,所述获取训练数据集,具体包括:Further, the acquisition of the training data set specifically includes:

通过滑动时间窗,对样本功率数据进行划分,得到样本功率数据基于滑动时间窗的样本功率输出特征数据;Divide the sample power data through the sliding time window, and obtain the sample power output characteristic data of the sample power data based on the sliding time window;

根据样本功率数据和样本功率数据对应的样本功率输出特征数据,构建训练数据集。According to the sample power data and the sample power output characteristic data corresponding to the sample power data, a training data set is constructed.

进一步地,在所述获取所述第一预设历史时间段的功率真实值和各种划分组合形式下集群功率预测值之间的误差,将最小误差对应的子区域划分组合作为最优子区域划分组合之后,所述方法还包括:Further, in the obtaining of the error between the actual power value of the first preset historical time period and the predicted value of the cluster power under various division and combination forms, the sub-region division and combination corresponding to the minimum error are used as the optimal sub-region. After dividing and combining, the method further includes:

获取所述第一预设历史时间段中每个历史时刻点对应预测时间尺度的最优子区域划分组合;Obtain the optimal sub-region division combination of the prediction time scale corresponding to each historical time point in the first preset historical time period;

根据第一历史时刻点下的各个子区域的功率真实值和拟合模型函数,获取每个历史时刻点对应的未来时刻各个子区域的功率预测值;According to the actual power value of each sub-region under the first historical time point and the fitted model function, obtain the power prediction value of each sub-region corresponding to each historical time point in the future time;

根据未来时刻各个子区域功率预测值,将每个历史时刻点对应预测时间尺度的最优子区域划分组合作为当前预测时刻的划分组合方式,以用于获取所述待预测风电集群的超短期出力预测值。According to the power prediction value of each sub-region at the future time, the optimal sub-region division and combination corresponding to the prediction time scale at each historical time point is used as the division and combination method at the current prediction time, so as to obtain the ultra-short-term output of the wind power cluster to be predicted. Predictive value.

进一步地,所述第一预设历史时间段中历史时刻点的数量不大于16个,每个历史时刻点的时间间隔为15分钟。Further, the number of historical moment points in the first preset historical time period is not more than 16, and the time interval of each historical moment point is 15 minutes.

进一步地,所述对待预测风电集群的风电场进行子区域划分,得到所述待预测风电集群的所有子区域划分组合,包括:Further, the wind farms of the to-be-predicted wind power cluster are divided into sub-regions, and all sub-region division combinations of the to-be-predicted wind power cluster are obtained, including:

基于贝尔数公式,对所述待预测风电集群的风电场进行子区域划分,得到,得到所有的子区域划分组合。Based on the Bell number formula, the wind farms of the wind power cluster to be predicted are divided into sub-regions, and all sub-region division combinations are obtained.

第二方面,本发明实施例提供了一种用于风电集群的超短期出力预测系统,包括:In a second aspect, an embodiment of the present invention provides an ultra-short-term output forecasting system for a wind power cluster, including:

风电集群子区域划分模块,用于对待预测风电集群的风电场进行子区域划分,得到所述待预测风电集群的所有子区域划分组合;The wind power cluster sub-region division module is used for sub-region division of the wind farms of the wind power cluster to be predicted, to obtain all the sub-region division combinations of the to-be-predicted wind power cluster;

获取模块,用于获取所有子区域划分组合中每个子区域在第一预设历史时间段的功率真实值,以及在第二预设历史时间段的功率真实值,所述第一预设历史时间段为当前时刻最近的历史时间段,所述第二预设历史时间段为所述第一预设历史时间段最近的历史时间段;The acquisition module is used to acquire the real power value of each sub-region in the first preset historical time period and the real power value of the second preset historical time period of each sub-region in all sub-region division combinations. The first preset historical time period The segment is the most recent historical time segment at the current moment, and the second preset historical time segment is the most recent historical time segment of the first preset historical time segment;

功率预测模块,用于根据所述第二预设历史时间段的功率真实值,对所述第一预设历史时间段的各个子区域功率进行预测,得到所述第一预设历史时间段的各种划分组合形式下的集群功率预测值;A power prediction module, configured to predict the power of each sub-region of the first preset historical time period according to the actual power value of the second preset historical time period, and obtain the Cluster power prediction value under various division and combination forms;

超短期出力预测模块,用于获取所述第一预设历史时间段的功率真实值和各种划分组合形式下集群功率预测值之间的误差,将最小误差对应的子区域划分组合作为最优子区域划分组合,以根据所述最优子区域划分组合得到所述待预测风电集群的超短期出力预测值。The ultra-short-term output prediction module is used to obtain the error between the real power value of the first preset historical time period and the cluster power prediction value under various division and combination forms, and the sub-region division and combination corresponding to the minimum error is regarded as the optimal Sub-area division and combination, so as to obtain the ultra-short-term output predicted value of the wind power cluster to be predicted according to the optimal sub-area division and combination.

进一步地,所述系统还包括:Further, the system also includes:

训练数据集构建模块,用于获取训练数据集,所述训练数据集包括风电集群各个子区域的样本功率数据;a training data set building module for obtaining a training data set, the training data set including sample power data of each sub-region of the wind power cluster;

拟合模型训练模块,用于通过所述训练数据集,对支持向量机模型进行训练,得到用于各个子区域预测的拟合模型函数,以根据所述第二预设历史时间段的功率真实值,通过所述拟合模型函数对所述第一预设历史时间段的各个子区域功率进行预测,得到所述第一预设历史时间段的各种划分组合形式下的集群功率预测值。The fitting model training module is used to train the support vector machine model through the training data set, so as to obtain the fitting model function for prediction of each sub-region, so that the power of the second preset historical time period can be real value, predict the power of each sub-region in the first preset historical time period by using the fitting model function, and obtain the cluster power prediction value under various division and combination forms of the first preset historical time period.

第三方面,本发明实施例提供一种电子设备,包括存储器、处理器及存储在存储器上并可在处理器上运行的计算机程序,所述处理器执行所述程序时实现如第一方面所提供的方法的步骤。In a third aspect, an embodiment of the present invention provides an electronic device, including a memory, a processor, and a computer program stored in the memory and running on the processor, the processor implementing the program as described in the first aspect when the processor executes the program Steps of the provided method.

第四方面,本发明实施例提供一种非暂态计算机可读存储介质,其上存储有计算机程序,该计算机程序被处理器执行时实现如第一方面所提供的方法的步骤。In a fourth aspect, an embodiment of the present invention provides a non-transitory computer-readable storage medium on which a computer program is stored, and when the computer program is executed by a processor, implements the steps of the method provided in the first aspect.

本发明实施例提供的一种用于风电集群的超短期出力预测方法及系统,基于多个风电场组成的子区域进行预测建模,充分考虑到风电场之间的相互关系与风电集群内部区域性出力的特征性质,对风电集群超短期出力进行预测,提高了出力预测的准确性。An ultra-short-term output forecasting method and system for a wind power cluster provided by an embodiment of the present invention performs prediction modeling based on sub-regions composed of multiple wind farms, and fully considers the relationship between the wind farms and the internal area of the wind power cluster. Based on the characteristic nature of the wind power output, the ultra-short-term output of the wind power cluster is predicted, which improves the accuracy of the output forecast.

附图说明Description of drawings

为了更清楚地说明本发明实施例或现有技术中的技术方案,下面将对实施例或现有技术描述中所需要使用的附图作一简单地介绍,显而易见地,下面描述中的附图是本发明的一些实施例,对于本领域普通技术人员来讲,在不付出创造性劳动的前提下,还可以根据这些附图获得其他的附图。In order to more clearly illustrate the embodiments of the present invention or the technical solutions in the prior art, the following briefly introduces the accompanying drawings that need to be used in the description of the embodiments or the prior art. Obviously, the accompanying drawings in the following description These are some embodiments of the present invention. For those of ordinary skill in the art, other drawings can also be obtained according to these drawings without creative efforts.

图1为本发明实施例提供的用于风电集群的超短期出力预测方法的流程示意图;FIG. 1 is a schematic flowchart of an ultra-short-term output forecasting method for a wind power cluster according to an embodiment of the present invention;

图2为本发明实施例提供的最优划分的时序示意图;FIG. 2 is a schematic diagram of a sequence of optimal division provided by an embodiment of the present invention;

图3为本发明实施例提供的超短期预测下持续划分的时序示意图;3 is a schematic time sequence diagram of continuous division under ultra-short-term prediction provided by an embodiment of the present invention;

图4为本发明实施例提供的用于风电集群的超短期出力预测系统的结构示意图;4 is a schematic structural diagram of an ultra-short-term output prediction system for wind power clusters provided by an embodiment of the present invention;

图5为本发明实施例提供的电子设备结构示意图。FIG. 5 is a schematic structural diagram of an electronic device according to an embodiment of the present invention.

具体实施方式Detailed ways

为使本发明实施例的目的、技术方案和优点更加清楚,下面将结合本发明实施例中的附图,对本发明实施例中的技术方案进行清楚、完整地描述,显然,所描述的实施例是本发明一部分实施例,而不是全部的实施例。基于本发明中的实施例,本领域普通技术人员在没有作出创造性劳动前提下所获得的所有其他实施例,都属于本发明保护的范围。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.

在风电出力预测领域中,通过三种基本的分类方向对风电出力进行预测,分别为预测方法、预测对象和预测时间范围。针对预测方法的角度,风电预测可分为物理模型预测和统计模型预测,其中,物理模型预测是利用流体力学的思想,通过一定区域内边界上的风速,气压和温度等信息,根据偏微分方程组迭代得到区域内风电机组处的相关天气信息,从而得到未来风电出力;统计模型预测则利用预测对象过去的历史数据进行学习,采用基础回归模型或者人工智能算法进行模型训练,在实时预测中输入当前时刻前一段时间的历史出力数据,通过数据驱动的方式得到未来预测结果。物理模型预测由于受地形和数据精度的影响,不易得到准确结果,相比之下,统计模型预测往往在短时间尺度上有着更高的精度和更快的计算速度。In the field of wind power output forecasting, wind power output is forecasted through three basic classification directions, namely forecasting method, forecasting object and forecasting time range. From the perspective of forecasting methods, wind power forecasting can be divided into physical model forecasting and statistical model forecasting. Among them, physical model forecasting is based on the idea of fluid mechanics, through the wind speed, air pressure and temperature on the boundary of a certain area, according to partial differential equations Iteratively obtains the relevant weather information of the wind turbines in the area, thereby obtaining the future wind power output; the statistical model prediction uses the past historical data of the prediction object to learn, and uses the basic regression model or artificial intelligence algorithm for model training, and input in the real-time prediction. The historical output data for a period of time before the current moment can be used to obtain future forecast results in a data-driven manner. Physical model prediction is not easy to obtain accurate results due to the influence of terrain and data accuracy. In contrast, statistical model prediction often has higher accuracy and faster computing speed on short time scales.

针对预测对象的角度,风电预测可以分为风电集群预测,风电场预测和风电机组预测,其对应的风电装机容量逐渐减小。由于风电出力受到空间分布的影响,在装机容量较大时,出力的波动性会因为空间天气系统的多样性而降低,达到“平滑效应”。因此,风电集群的出力往往具有较低的波动水平,其预测精度较后两者往往较高。From the perspective of the forecast object, wind power forecast can be divided into wind power cluster forecast, wind farm forecast and wind turbine forecast, and the corresponding wind power installed capacity gradually decreases. Since the wind power output is affected by the spatial distribution, when the installed capacity is large, the output volatility will be reduced due to the diversity of the space weather system, achieving a "smoothing effect". Therefore, the output of wind power clusters tends to have a lower level of fluctuation, and its prediction accuracy tends to be higher than the latter two.

针对预测时间范围的角度,风电预测可以分为超短期预测,短期预测和中长期预测。根据现有风电预测标准规定,超短期预测指未来0-4小时预测,预测间隔为15min,即一次预测输出16步预测结果;短期预测为未来0-72小时预测;中长期预测为更长时间的预测。由于天气系统为混沌系统,随着预测时间范围的增大,预测精度相应降低。因此,基于超短期的风电预测具有较高的预测精度,其主要目的是为实时调度系统提供风电出力依据。From the perspective of forecasting time range, wind power forecasting can be divided into ultra-short-term forecasting, short-term forecasting and mid- and long-term forecasting. According to the existing wind power forecasting standards, the ultra-short-term forecast refers to the forecast for 0-4 hours in the future, and the forecast interval is 15 minutes, that is, a forecast outputs 16-step forecast results; Prediction. Since the weather system is a chaotic system, with the increase of the prediction time range, the prediction accuracy decreases accordingly. Therefore, wind power prediction based on ultra-short term has high prediction accuracy, and its main purpose is to provide wind power output basis for real-time dispatching system.

支持向量机回归是一种∈-不敏感损失的回归方式。与传统回归方法中计算回归值与实际值的误差不同,当支持向量机规定误差绝对值小于∈时,认为误差为零,对其进行忽略,相比传统回归方法,支持向量机回归极大提高解的稀疏性,从而降低计算难度,提升计算速度,并可以保证模型的泛化能力。本发明实施例采用的支持向量机对应的目标函数为:Support vector machine regression is an ∈-insensitive loss regression method. Different from calculating the error between the regression value and the actual value in the traditional regression method, when the absolute value of the error specified by the support vector machine is less than ∈, the error is considered to be zero, and it is ignored. Compared with the traditional regression method, the support vector machine regression is greatly improved. The sparsity of the solution can reduce the computational difficulty, improve the computational speed, and ensure the generalization ability of the model. The objective function corresponding to the support vector machine adopted in the embodiment of the present invention is:

Figure BDA0002288090500000061
Figure BDA0002288090500000061

s.t.|yi-(wTxi+b)|≤ε+ξist|y i -(w T x i +b)|≤ε+ξ i ;

ξi≥0ξ i ≥ 0

其中,

Figure BDA0002288090500000062
表示误差项,该误差项只考虑绝对值大于∈的情况;
Figure BDA0002288090500000063
表示正则化项,用于保证预测模型的泛化能力;C表示目标函数两项之间的取舍关系,w,b表示待求解目标函数的权重参数;∈表示误差带的大小,为待优化参数;xi,yi表示样本特征。本发明实施例基于支持向量机回归构建的预测模型,对风电集群中各种组合下的风电集群子区域历史功率进行预测,分析判断得到不同历史时刻的最优子区域划分组合,从而根据这些最优子区域划分组合对风电集群进行超短期出力预测。in,
Figure BDA0002288090500000062
represents the error term, which only considers the case where the absolute value is greater than ∈;
Figure BDA0002288090500000063
Represents the regularization term, which is used to ensure the generalization ability of the prediction model; C represents the trade-off relationship between the two terms of the objective function, w, b represent the weight parameters of the objective function to be solved; ∈ represents the size of the error band, which is the parameter to be optimized ; x i , y i represent sample features. The embodiment of the present invention predicts the historical power of the sub-regions of the wind power cluster under various combinations in the wind power cluster based on the prediction model constructed by the support vector machine regression, and analyzes and judges to obtain the optimal sub-region division and combination at different historical moments, so as to obtain the optimal sub-region division and combination at different historical times, so as to obtain the optimal sub-region division and combination at different historical times. The sub-regional division and combination are used to forecast ultra-short-term output of wind power clusters.

图1为本发明实施例提供的用于风电集群的超短期出力预测方法的流程示意图,如图1所示,本发明实施例提供了一种用于风电集群的超短期出力预测方法,包括:FIG. 1 is a schematic flowchart of an ultra-short-term output prediction method for wind power clusters provided by an embodiment of the present invention. As shown in FIG. 1 , an embodiment of the present invention provides an ultra-short-term output prediction method for wind power clusters, including:

步骤101,对待预测风电集群的风电场进行子区域划分,得到所述待预测风电集群的所有子区域划分组合;Step 101 , sub-region division is performed on the wind farm of the wind power cluster to be predicted, and all sub-region division combinations of the to-be-predicted wind power cluster are obtained;

在本发明实施例中,风电场受到地形以及区域天气系统的影响,其组成的风电集群中,存在着以子区域风电出力为特征主体的区域性特征。由于较大区域中的天气系统具有一定惯性,此类子区域中的总风电出力往往有着较为规律的出力周期特征,对区域整体的风电出力建模预测精度往往优于区域内个体预测之和的精度。考虑到实际风电集群构建和数据通信的限制,本发明实施例以风电场为基本单位,子区域表示为多个风电场组合的形式,风电集群表示为多个子区域组合的形式,使得风电场、子区域和风电集群构成三级主体,并组成风电集群的多种划分方式。具体地,在本发明实施例中,定义子区域ci是由风电场jip构成,表示为:In the embodiment of the present invention, the wind farm is affected by the terrain and the regional weather system, and in the wind power cluster formed by the wind farm, there is a regional feature characterized by the sub-regional wind power output as the main body. Since the weather system in a larger area has a certain inertia, the total wind power output in such sub-regions often has relatively regular output cycle characteristics. precision. Considering the limitations of actual wind power cluster construction and data communication, the embodiment of the present invention takes a wind farm as a basic unit, a sub-area is expressed as a combination of multiple wind farms, and a wind power cluster is expressed as a combination of multiple sub-areas, so that the wind farm, Sub-regions and wind power clusters constitute a three-level main body, and constitute various division methods of wind power clusters. Specifically, in the embodiment of the present invention, it is defined that the sub-region ci is formed by the wind farm j ip , and is expressed as:

ci={ji1,ji2,...,jim},jip∈N;c i ={j i1 ,j i2 ,...,j im },j ip ∈N;

其中,ci表示第i个子区域,jip表示第i个子区域中一共m个风电场的第p个风电场,0<p<m;N为风电集群,表示风电集群中有N个风电场。则子区域的风电出力为该子区域内部所有风电场出力之和,表示为:Among them, c i represents the ith sub-region, j ip represents the p-th wind farm in the ith sub-region with a total of m wind farms, 0<p<m; N is the wind power cluster, indicating that there are N wind farms in the wind power cluster . Then the wind power output of a sub-region is the sum of the outputs of all wind farms in the sub-region, which is expressed as:

Figure BDA0002288090500000071
Figure BDA0002288090500000071

其中,

Figure BDA0002288090500000072
表示子区域ci在t时刻的风电出力。在本发明实施例中,风电集群的子区域属于风电集群的一个非空子集,对于有N个风电场的风电集群,其可能组成的子区域个数为2N-1个。in,
Figure BDA0002288090500000072
represents the wind power output of sub-region c i at time t. In the embodiment of the present invention, the sub-regions of the wind power cluster belong to a non-empty subset of the wind power cluster. For a wind power cluster with N wind farms, the number of possible sub-regions is 2 N −1.

进一步地,在本发明实施例中,对风电集群的子区域划分进行定义。风电集群是由子区域构成的,而风电集群的划分即为子区域的不同组合,在一种划分组合中,风电集群中这些子区域是互不重叠的,即每个子区域中不包含相同的风电场,所有子区域的风电场包含了该风电集群N的所有风电场,表示为:Further, in the embodiment of the present invention, the sub-region division of the wind power cluster is defined. The wind power cluster is composed of sub-regions, and the division of the wind power cluster is the different combinations of the sub-regions. In a combination of divisions, these sub-regions in the wind power cluster do not overlap each other, that is, each sub-region does not contain the same wind power. The wind farms in all sub-regions include all wind farms in the wind power cluster N, which are expressed as:

Figure BDA0002288090500000073
Figure BDA0002288090500000073

Figure BDA0002288090500000074
Figure BDA0002288090500000074

Figure BDA0002288090500000075
Figure BDA0002288090500000075

其中,CS表示第s种子区域划分,csi表示风电集群第s种子区域划分中第i个子区域,则风电集群的风电出力为该风电集群内部所有子区域出力之和,表示为:Among them, C S represents the division of the s-th seed area, and c si represents the i-th sub-area in the division of the s-th seed area of the wind power cluster, then the wind power output of the wind power cluster is the sum of the outputs of all sub-areas within the wind power cluster, expressed as:

Figure BDA0002288090500000081
Figure BDA0002288090500000081

其中,Pt表示风电集群在t时刻的风电出力。具体地,在本发明实施例中,基于贝尔数公式,对所述待预测风电集群的风电场进行子区域划分,得到所有的子区域划分组合。由于风电集群划分的所有个数为一个贝尔数,呈现阶数发散,对于包含N个风电场的风电集群,其贝尔数公式表示为BN,例如,某地区的风电集群中有3个风电场,该风电集群的划分形式可参考图1所示,Among them, P t represents the wind power output of the wind power cluster at time t. Specifically, in the embodiment of the present invention, based on the Bell number formula, the wind farms of the to-be-predicted wind power cluster are divided into sub-regions, and all sub-region division combinations are obtained. Since all the numbers of wind power clusters are divided into a Bell number, showing order divergence, for a wind power cluster including N wind farms, the Bell number formula is expressed as B N . For example, there are 3 wind farms in a wind power cluster in a certain area. , the division form of the wind power cluster can be referred to as shown in Figure 1.

表1Table 1

集群划分编号Cluster partition number 集群划分形式Cluster division form 11 {[1],[2],[3]}{[1],[2],[3]} 22 {[1,2],[3]}{[1,2],[3]} 33 {[1],[2,3]}{[1],[2,3]} 44 {[1,3],[2]}{[1,3],[2]} 55 {[1,2,3]}{[1,2,3]}

通过表1的集群划分方式可以看出,该风电集群中子区域的划分有多种方式,每一种划分都可以将子区域的处理预测值进行加和,得到整体的风电集群预测值。由于不同子区域的选择代表着利用不同的集群相关特性,只有选择最为恰当的集群划分方式才可能提高精度。因此,本发明实施例将风电出力预测问题转化为选择合适的集群划分方式。在本发明实施例中,基于风电集群划分的预测算法,通过对风电集群中子区域出力构建预测模型fci,然后再将子区域的风电出力预测值进行加和,从而得到风电集群的出力预测,具体公式为:From the cluster division methods in Table 1, it can be seen that there are multiple ways to divide the sub-regions in the wind power cluster. Each division can add the processing predicted values of the sub-regions to obtain the overall predicted value of the wind power cluster. Since the selection of different sub-regions represents the utilization of different cluster-related characteristics, only selecting the most appropriate clustering method can improve the accuracy. Therefore, the embodiment of the present invention transforms the problem of wind power output prediction into selecting an appropriate cluster division method. In the embodiment of the present invention, based on the prediction algorithm of the division of wind power clusters, a prediction model fci is constructed for the output of sub-regions in the wind power cluster, and then the predicted wind power output values of the sub-regions are added to obtain the output prediction of the wind power cluster. , the specific formula is:

Figure BDA0002288090500000082
Figure BDA0002288090500000082

Figure BDA0002288090500000083
Figure BDA0002288090500000083

其中,

Figure BDA0002288090500000084
表示t0时刻第i个子区域在未来第k时刻的风电出力预测值,表示t0时刻风电集群在未来第k时刻的风电集群预测值,k表示预测时间范围。in,
Figure BDA0002288090500000084
Represents the predicted value of wind power output of the i-th sub-region at time k in the future at time t 0 , and represents the predicted value of the wind power cluster at time k in the future for the wind power cluster at time t 0 , and k represents the prediction time range.

本发明实施例充分考虑了风电集群的子区域出力特性,基于子区域的划分体现出规律的周期性,即区域特性,通过子区域更大的空间范围,达到平滑处理效果,相比单个风电场预测,降低了出力的波动性,提高了预测的精度。The embodiment of the present invention fully considers the output characteristics of the sub-regions of the wind power cluster, and the division based on the sub-regions reflects the regular periodicity, that is, the regional characteristics, and the smooth processing effect is achieved through the larger spatial range of the sub-regions. Compared with a single wind farm Prediction reduces the volatility of output and improves the accuracy of prediction.

步骤102,获取所有子区域划分组合中每个子区域在第一预设历史时间段的功率真实值,以及在第二预设历史时间段的功率真实值,所述第一预设历史时间段为当前时刻最近的历史时间段,所述第二预设历史时间段为所述第一预设历史时间段最近的历史时间段;Step 102: Obtain the real power value of each sub-region in the first preset historical time period and the power real value of the second preset historical time period in all sub-region division combinations, and the first preset historical time period is: The most recent historical time period at the current moment, the second preset historical time period is the most recent historical time period of the first preset historical time period;

步骤103,根据所述第二预设历史时间段的功率真实值,对所述第一预设历史时间段的各个子区域功率进行预测,得到所述第一预设历史时间段的各种划分组合形式下的集群功率预测值;Step 103: Predict the power of each sub-region of the first preset historical time period according to the real power value of the second preset historical time period, and obtain various divisions of the first preset historical time period Predicted value of cluster power in combined form;

步骤104,获取所述第一预设历史时间段的功率真实值和各种划分组合形式下的集群功率预测值之间的误差,将最小误差对应的子区域划分组合作为最优子区域划分组合,以根据所述最优子区域划分组合得到所述待预测风电集群的超短期出力预测值。Step 104: Obtain the error between the actual power value of the first preset historical time period and the cluster power prediction value under various division and combination forms, and use the sub-region division and combination corresponding to the minimum error as the optimal sub-region division and combination. , so as to obtain the ultra-short-term output predicted value of the wind power cluster to be predicted according to the optimal sub-region division and combination.

本发明实施例提供的一种用于风电集群的超短期出力预测方法,基于多个风电场组成的子区域进行预测建模,充分考虑到风电场之间的相互关系与风电集群内部区域性出力的特征性质,对风电集群超短期出力进行预测,提高了出力预测的准确性。An ultra-short-term output prediction method for a wind power cluster provided by an embodiment of the present invention performs prediction modeling based on sub-regions composed of multiple wind farms, and fully considers the relationship between wind farms and the regional output within the wind power cluster. The characteristic properties of the wind power cluster can be used to predict the ultra-short-term output of the wind power cluster, which improves the accuracy of the output prediction.

在上述实施例的基础上,在所述根据所述第二预设历史时间段的功率真实值,对所述第一预设历史时间段的各个子区域功率进行预测,得到所述第一预设历史时间段的各种划分组合形式下的集群功率预测值之前,所述方法还包括:On the basis of the above-mentioned embodiment, according to the actual power value of the second preset historical time period, the power of each sub-region in the first preset historical time period is predicted to obtain the first predicted power. Before setting the cluster power prediction value under various division and combination forms of the historical time period, the method further includes:

获取训练数据集,所述训练数据集包括风电集群各个子区域的样本功率数据;obtaining a training data set, the training data set including sample power data of each sub-region of the wind power cluster;

通过所述训练数据集,对支持向量机模型进行训练,得到用于各个子区域出力预测的拟合模型函数,以根据所述第二预设历史时间段的功率真实值,通过所述拟合模型函数对所述第一预设历史时间段的各个子区域功率进行预测,得到所述第一预设历史时间段的各种划分组合形式下的集群功率预测值。Through the training data set, the support vector machine model is trained to obtain a fitting model function for output prediction of each sub-region, so as to obtain the fitting model function according to the actual power value of the second preset historical time period, through the fitting The model function predicts the power of each sub-region in the first preset historical time period, and obtains the cluster power prediction value under various division and combination forms of the first preset historical time period.

在上述实施例的基础上,所述获取训练数据集,具体包括:On the basis of the foregoing embodiment, the obtaining of the training data set specifically includes:

通过滑动时间窗,对样本功率数据进行划分,得到样本功率数据基于滑动时间窗的样本功率输出特征数据;Divide the sample power data through the sliding time window, and obtain the sample power output characteristic data of the sample power data based on the sliding time window;

根据样本功率数据和样本功率数据对应的样本功率输出特征数据,构建训练数据集。According to the sample power data and the sample power output characteristic data corresponding to the sample power data, a training data set is constructed.

在本发明实施例中,首先通过构建样本数据集,对支持向量机模型进行训练,具体步骤为:In the embodiment of the present invention, firstly, by constructing a sample data set, the support vector machine model is trained, and the specific steps are:

步骤S10,获取风电集群中各个风电场的样本功率历史数据,并计算不同划分形式下子区域ci的样本功率数据

Figure BDA0002288090500000101
其中,
Figure BDA0002288090500000102
表示模型训练时期的
Figure BDA0002288090500000103
时刻;Step S10: Obtain the sample power historical data of each wind farm in the wind power cluster, and calculate the sample power data of the sub-regions c i under different division forms
Figure BDA0002288090500000101
in,
Figure BDA0002288090500000102
represents the model training epoch
Figure BDA0002288090500000103
time;

步骤S11,设置滑动时间窗的长度为L,通过滑动时间窗对训练集在

Figure BDA0002288090500000104
时刻的子区域ci的样本功率数据
Figure BDA0002288090500000105
滚动向后划分样本数据集,得到
Figure BDA0002288090500000106
时刻的样本
Figure BDA0002288090500000107
其中,
Figure BDA0002288090500000108
表示输入到滑动时间窗的特征数据,
Figure BDA0002288090500000109
表示滑动时间窗输出的样本功率特征数据;Step S11, set the length of the sliding time window to L, and set the length of the sliding time window to
Figure BDA0002288090500000104
The sample power data of the sub-region c i at the moment
Figure BDA0002288090500000105
Rolling backwards to divide the sample dataset, we get
Figure BDA0002288090500000106
sample of moments
Figure BDA0002288090500000107
in,
Figure BDA0002288090500000108
represents the feature data input to the sliding time window,
Figure BDA0002288090500000109
Represents the sample power characteristic data output by the sliding time window;

步骤S12,通过对样本功率历史数据按照时间和子区域的所有划分可能进行遍历,得到时刻

Figure BDA00022880905000001010
在1到T0之间所有子区域的样本,其中子区域ci的所有数据集表示为
Figure BDA00022880905000001011
Step S12, by traversing the sample power historical data according to time and all possible divisions of sub-regions, to obtain the time
Figure BDA00022880905000001010
The samples of all subregions between 1 and T0 , where all datasets of subregion ci are denoted as
Figure BDA00022880905000001011

步骤S13,将所有可能的子区域样本数据分别输入到支持向量机模型进行训练,从而得到训练好的模型,即得到用于子区域出力预测的拟合模型函数;其中对于子区域ci的样本数据集

Figure BDA00022880905000001012
得到的拟合模型函数为
Figure BDA00022880905000001013
In step S13 , all possible sub-region sample data are respectively input into the support vector machine model for training, so as to obtain a trained model, that is, a fitting model function for the sub-region output prediction is obtained; data set
Figure BDA00022880905000001012
The resulting fitted model function is
Figure BDA00022880905000001013

在本发明实施例中,通过使用滑动时间窗构造历史功率特征数据的数据集,滑动时间窗的长度即代表着输入模型的特征个数,模型输出16个点,代表着超短期预测超前0-4h对应的16步。通过该拟合模型函数,对子区域t时刻前L个出力数据作为模型的输入,得到t时刻下未来16步的预测结果。并将集群划分内各个子区域的对应预测时间范围的预测结果相加,得到风电集群超短期的预测结果。In the embodiment of the present invention, a data set of historical power feature data is constructed by using a sliding time window. The length of the sliding time window represents the number of features of the input model, and the model outputs 16 points, representing that the ultra-short-term prediction is ahead of 0- 4h corresponds to 16 steps. Through the fitting model function, the L output data before the sub-region time t are used as the input of the model, and the prediction results of the next 16 steps at the time t are obtained. The forecast results of the corresponding forecast time ranges of each sub-region in the cluster division are added to obtain the ultra-short-term forecast results of the wind power cluster.

在上述实施例的基础上,在所述获取所述第一预设历史时间段的功率真实值和各种划分组合形式下集群功率预测值之间的误差,将最小误差对应的子区域划分组合作为最优子区域划分组合之后,所述方法还包括:On the basis of the above-mentioned embodiment, according to the error between the obtained actual power value of the first preset historical time period and the predicted value of cluster power under various division and combination forms, the sub-regions corresponding to the minimum errors are divided and combined. After the optimal sub-region division and combination, the method further includes:

获取所述第一预设历史时间段中每个历史时刻点对应预测时间尺度的最优子区域划分组合;Obtain the optimal sub-region division combination of the prediction time scale corresponding to each historical time point in the first preset historical time period;

根据所述第一预设历史时间段各个子区域的功率真实值和拟合模型函数,获取每个历史时刻点对应的未来时刻各个子区域的功率预测值;According to the actual power value of each sub-region in the first preset historical time period and the fitted model function, the power prediction value of each sub-region in the future corresponding to each historical time point is obtained;

根据未来时刻各个子区域功率预测值,将每个历史时刻点对应预测时间尺度的最优子区域划分组合作为当前预测时刻的划分组合方式,以用于获取所述待预测风电集群的超短期出力预测值。According to the power prediction value of each sub-region at the future time, the optimal sub-region division and combination corresponding to the prediction time scale at each historical time point is used as the division and combination method at the current prediction time, so as to obtain the ultra-short-term output of the wind power cluster to be predicted. Predictive value.

在本发明实施例中,由于风电集群内的风电场关联性较为复杂,一般难以通过外部条件直接获取最优集群划分方式。本发明实施例采用持续性划分的方式,在已知实际集群出力的基础上,计算前一时刻的最优集群划分方式,并将此最优划分作为当前时刻的最优划分。由于此方法将前一时刻的结果作为当前的预测,与持续性方法相似,故称之为持续性划分。该方法依据天气系统往往保持着一定的惯性,时刻较近的两个时刻点对应的集群内部的风电场关联性质较为接近的特性,使得对应的最优划分基本一致。In the embodiment of the present invention, since the correlation of wind farms in a wind power cluster is relatively complex, it is generally difficult to directly obtain an optimal cluster division method through external conditions. The embodiment of the present invention adopts a continuous division method, and on the basis of known actual cluster output, calculates the optimal cluster division method at the previous moment, and uses this optimal division as the optimal division at the current moment. Since this method uses the result of the previous moment as the current prediction, which is similar to the continuous method, it is called continuous division. According to this method, the weather system often maintains a certain inertia, and the correlation properties of the wind farms in the cluster corresponding to the two closer time points are relatively close, so that the corresponding optimal divisions are basically the same.

具体地,在众多集群划分方式中,将第一预设历史时间段预测误差最小的一组划分方式作为当前集群最优划分。在风电超短期集群预测中,最优划分存在着两个尺度上的寻优,即样本寻优和预测时间范围寻优。样本寻优是指在每个时刻,对于每个时间点下的样本,都应进行一次最优划分的计算,且相邻两个时间点处的最优划分可能不同;预测时间范围寻优是指在超短期16步的预测中,每一步的预测都对应着一个最优划分,相同时间点不同预测时间范围对应的划分可能不同。因此,在一个时间点下,要进行16次划分的寻优,将

Figure BDA0002288090500000111
定义为风电集群在t时刻时,超前预测k个时间范围的最优划分。图2为本发明实施例提供的最优划分的时序示意图,可参考图2所示,通过将第一预设历史时间段预测得到的最优子区域划分作为本时刻的子区域划分,从用于后续的风电集群出力预测。Specifically, among many cluster division methods, a group of division methods with the smallest prediction error in the first preset historical time period is used as the current optimal cluster division. In the ultra-short-term cluster forecasting of wind power, there are two scales of optimization for optimal division, namely, sample optimization and prediction time range optimization. Sample optimization means that at each moment, for the samples at each time point, an optimal division calculation should be performed, and the optimal division at two adjacent time points may be different; the prediction time range optimization is It means that in the ultra-short-term 16-step forecast, each step of the forecast corresponds to an optimal division, and the division corresponding to different forecast time ranges at the same time point may be different. Therefore, at one point in time, 16 divisions are to be optimized, and the
Figure BDA0002288090500000111
It is defined as the optimal division of the k time horizons predicted in advance for the wind power cluster at time t. FIG. 2 is a schematic time sequence diagram of an optimal division provided by an embodiment of the present invention. Referring to FIG. 2 , the optimal sub-area division predicted by the first preset historical time period is used as the sub-area division at this moment. In the follow-up wind power cluster output forecast.

进一步地,由于上述实施例提供的最优划分方式是一种后验计算的概念,即只有在知道预测时刻真实的集群出力之后,才能计算误差以得到对应时刻的最优划分。为了满足实际应用需求,本发明实施例提供了一种持续性划分预测方法,在当前时刻下,计算距离当前时刻t最近的历史时刻t-k处超前k步预测的子区域最优划分

Figure BDA0002288090500000121
并将该子区域最优划分
Figure BDA0002288090500000122
作为当前时刻预测t在超前k步预测中所采用的集群划分
Figure BDA0002288090500000123
需要说明的是,在本发明实施例中,对于不同的预测时间范围k,所谓的最近历史时刻并不相同,因为预测时间范围越长,需要更长时间后的真实集群出力才能判断,因此k越大,对应的历史时刻距离当前时刻越远,但是选取历史时刻子区域最优划分与当前集群划分的超前时刻k相同。图3为本发明实施例提供的超短期预测下持续划分的时序示意图,可参考图3所示,每一行代表不同的预测时间范围。在每一行中,绿色代表已知对应时间范围下最优划分的历史时刻,对于超前k步的预测,其历史时刻截止到t-k处,即持续性方法就是将最近的已知对应时间范围下最优划分作为当前时刻对应预测时间范围的集群划分。Further, because the optimal division method provided by the above embodiment is a concept of a posteriori calculation, that is, only after knowing the real cluster output at the predicted time, the error can be calculated to obtain the optimal division at the corresponding time. In order to meet practical application requirements, the embodiment of the present invention provides a continuous division prediction method.
Figure BDA0002288090500000121
and divide the subregion optimally
Figure BDA0002288090500000122
As the cluster division used in the prediction of t at the current moment in the prediction of k steps ahead
Figure BDA0002288090500000123
It should be noted that, in this embodiment of the present invention, for different prediction time ranges k, the so-called recent historical moments are not the same, because the longer the prediction time range, the longer the actual cluster output is needed to judge, so k The larger the value is, the farther the corresponding historical time is from the current time, but the optimal sub-region division of the historical time is selected to be the same as the advance time k of the current cluster division. FIG. 3 is a schematic time sequence diagram of continuous division under ultra-short-term prediction provided by an embodiment of the present invention. Referring to FIG. 3 , each row represents a different prediction time range. In each row, green represents the historical time of the optimal division in the known corresponding time range. For predictions ahead of k steps, the historical time is up to t-k, that is, the persistence method is to use the latest known corresponding time range. The lower optimal division is used as the cluster division of the prediction time range corresponding to the current moment.

在上述实施例的基础上,所述第一预设历史时间段中历史时刻点的数量不大于16个,每个历史时刻点的时间间隔为15分钟。On the basis of the above embodiment, the number of historical time points in the first preset historical time period is not more than 16, and the time interval of each historical time point is 15 minutes.

在本发明实施例中,可根据风电集群的实际出力预测需求,对超前预测的长度进行预设,因此,通过对当前时刻最近的历史时间的历史时刻点的数量进行设置,从而根据第一预设历史时间段功率真实值和功率预测值之间的最小误差对应的子区域划分作为最优子区域划分组合,以用于进行风电集群的超短期出力预测。例如,只需要对风电集群当前时刻未来1小时的出力进行预测,则只需要根据当前时刻最近历史时间的4个历史时刻点进行超短期出力预测,从而得到当前时刻未来1小时的出力预测值。In the embodiment of the present invention, the length of the advance forecast can be preset according to the actual output forecast demand of the wind power cluster. The sub-area division corresponding to the minimum error between the actual power value and the predicted power value in the historical time period is set as the optimal sub-area division combination for ultra-short-term output prediction of wind power clusters. For example, it is only necessary to predict the output of the wind power cluster one hour in the future at the current moment, and then it is only necessary to perform ultra-short-term output forecasting according to the four historical time points of the most recent historical time at the current moment, so as to obtain the predicted output value of the current moment one hour in the future.

在本发明实施例另一实施例中,首先基于风电集群中所有可能的子区域历史出力建立预测模型,这一部分可在离线时刻进行计算获取;在系统在线运行中,采用最优划分算法,计算当前时刻下最近历史时刻的最优划分;最终,采用持续性划分的预测方法,将最近历史时刻最优划分作为当前时刻预测所采用的划分,并计算其中各个子区域的预测功率,再将最优划分内子区域功率进行加和得到集群功率的预测值。具体步骤如下:In another embodiment of the embodiment of the present invention, a prediction model is first established based on the historical output of all possible sub-regions in the wind power cluster, and this part can be calculated and obtained at the off-line time; in the online operation of the system, the optimal division algorithm is used to calculate The optimal division of the recent historical moment at the current moment; finally, the prediction method of continuous division is adopted, and the optimal division of the most recent historical moment is used as the division adopted for the prediction of the current moment, and the prediction power of each sub-region is calculated, and then the most The sub-region powers in the optimal division are summed to obtain the predicted value of the cluster power. Specific steps are as follows:

步骤S20,获取风电集群中各个风电场的样本功率历史数据,并计算不同划分形式下子区域ci的样本功率数据

Figure BDA0002288090500000131
其中,
Figure BDA0002288090500000132
表示模型训练时期的
Figure BDA0002288090500000133
时刻;Step S20: Obtain the sample power historical data of each wind farm in the wind power cluster, and calculate the sample power data of the sub-regions c i under different division forms
Figure BDA0002288090500000131
in,
Figure BDA0002288090500000132
represents the model training epoch
Figure BDA0002288090500000133
time;

步骤S21,设置滑动时间窗的长度为L,通过滑动时间窗对训练集在

Figure BDA0002288090500000134
时刻的子区域ci的样本功率数据
Figure BDA0002288090500000135
滚动向后划分样本数据集,得到
Figure BDA0002288090500000136
时刻的样本
Figure BDA0002288090500000137
其中,
Figure BDA0002288090500000138
表示输入到滑动时间窗的特征数据,
Figure BDA0002288090500000139
表示滑动时间窗输出的样本功率特征数据;Step S21, the length of the sliding time window is set to L, and the training set is
Figure BDA0002288090500000134
The sample power data of the sub-region c i at the moment
Figure BDA0002288090500000135
Rolling backwards to divide the sample dataset, we get
Figure BDA0002288090500000136
sample of moments
Figure BDA0002288090500000137
in,
Figure BDA0002288090500000138
represents the feature data input to the sliding time window,
Figure BDA0002288090500000139
Represents the sample power characteristic data output by the sliding time window;

步骤S22,通过对样本功率历史数据按照时间和子区域的所有划分可能进行遍历,得到时刻

Figure BDA00022880905000001310
在1到T0之间所有子区域的样本,其中子区域ci的所有数据集表示为
Figure BDA00022880905000001311
Step S22, by traversing the sample power historical data according to time and all possible divisions of sub-regions, to obtain the time
Figure BDA00022880905000001310
The samples of all subregions between 1 and T0 , where all datasets of subregion ci are denoted as
Figure BDA00022880905000001311

步骤S23,将所有可能的子区域样本数据分别输入到支持向量机模型进行训练,从而得到训练好的模型,即得到用于子区域出力预测的拟合模型函数;其中对于子区域ci的样本数据集

Figure BDA00022880905000001312
得到的拟合模型函数为
Figure BDA00022880905000001313
Step S23, input all possible sub-region sample data into the support vector machine model for training, so as to obtain a trained model, that is, obtain a fitting model function for sub-region output prediction; wherein for the sample of sub-region c i data set
Figure BDA00022880905000001312
The resulting fitted model function is
Figure BDA00022880905000001313

步骤S24,将风电集群当前时刻T的最近16个历史时刻点(即第一预设历史时间段内的历史时刻点)中每个子区域前一滑动时间窗(即第二预设历史时间段)的历史功率数据

Figure BDA00022880905000001314
输入到拟合模型函数中,并进行初始化,将超前预测范围设置为k’,第一预设历史时间段内的历史时刻点t’=T-k’,子区域编号i设置为1;In step S24, the previous sliding time window (that is, the second preset historical time period) of each sub-region in the last 16 historical time points of the current time T of the wind power cluster (that is, the historical time points within the first preset historical time period) historical power data of
Figure BDA00022880905000001314
Input into the fitting model function, and initialize, set the advance prediction range to k', the historical time point t'=T-k' in the first preset historical time period, and the sub-region number i is set to 1;

步骤S25,通过拟合模型函数,通过第二预设历史时间段的历史功率数据,获取第一预设历史时间段内所有子区域的16个时刻点的功率预测值

Figure BDA0002288090500000141
Step S25, by fitting the model function, and obtaining the power prediction values of 16 time points of all sub-regions in the first preset historical time period through the historical power data of the second preset historical time period
Figure BDA0002288090500000141

步骤S26,获取风电集群在s种子区域划分CS下每种划分中的子区域功率预测值之和,

Figure BDA0002288090500000142
在获取划分组合下的子区域功率预测值之和之后,进行步骤S27;Step S26, obtaining the sum of the predicted power values of the sub-regions in each division of the wind power cluster under the s-seed region division C S ,
Figure BDA0002288090500000142
After obtaining the sum of the sub-region power prediction values under the division and combination, go to step S27;

步骤S27,通过如下公式获取误差最小的划分,即最优子区域划分组合,公式为:In step S27, the division with the smallest error, that is, the optimal sub-region division combination, is obtained by the following formula, and the formula is:

Figure BDA0002288090500000143
Figure BDA0002288090500000143

步骤S28,将第一预设历史时间段中每个历史时刻点的最优子区域划分组合,作为当前时刻下对应未来k’时刻的预测划分,即

Figure BDA0002288090500000144
Step S28, dividing and combining the optimal sub-regions of each historical time point in the first preset historical time period as the predicted division corresponding to the future k' time at the current time, that is,
Figure BDA0002288090500000144

步骤S29,根据第一预设历史时间段中每个历史时刻点的最优子区域划分组合,与对应子区域在当前时刻T前一滑动时间窗的历史功率数据

Figure BDA0002288090500000145
计算对应子区域当前时刻T的未来k’时刻的功率预测值,即
Figure BDA0002288090500000146
Step S29, according to the optimal sub-region division and combination of each historical time point in the first preset historical time period, and the historical power data of the corresponding sub-region in a sliding time window before the current time T
Figure BDA0002288090500000145
Calculate the power prediction value of the current time T in the corresponding sub-region at the future k' time, that is
Figure BDA0002288090500000146

步骤S30,根据子区域当前时刻T的未来k’时刻的功率预测值,计算风电集群在未来k’时刻的功率预测值之和,公式为:Step S30: Calculate the sum of the predicted power values of the wind power cluster at time k' in the future according to the predicted power value at time k' in the future at the current time T of the sub-region, and the formula is:

Figure BDA0002288090500000147
Figure BDA0002288090500000147

步骤S31,得到风电集群当前时刻T在未来0-4小时的出力预测

Figure BDA0002288090500000148
Step S31, obtain the output forecast of the current time T of the wind power cluster in the next 0-4 hours
Figure BDA0002288090500000148

在本发明一实施例中,通过对某地区的风电集群数据进行预测,从而将本发明实施例提供的风电集群超短期出力预测方法和现有的方法进行对比说明。具体地,采用某地区春季和夏季两个时间点,各算例时间点选择1000个点作为训练样本,500个点作为测试样本。滑动时间窗的长度L取7,依据能现有风电标注规定,设置误差均方根误差作为评价指标。由于超短期预测为0-4h的多时间范围的滚动预测,这里给出了第k个时间范围预测误差均方根ERMSE,k forward与16个时间范围综合预测误差均方根ERMSE,k all,具体的定义如下式所示:In an embodiment of the present invention, by predicting the wind power cluster data in a certain region, the method for predicting the ultra-short-term output of a wind power cluster provided by the embodiment of the present invention is compared and explained with the existing method. Specifically, two time points in spring and summer in a certain region are used, and 1000 points are selected as training samples and 500 points as test samples for each calculation example. The length L of the sliding time window is taken as 7, and the root mean square error of the error is set as the evaluation index according to the existing wind power labeling regulations. Since the ultra-short-term forecast is a rolling forecast of multiple time horizons from 0 to 4h, here are given the kth time horizon forecast error root mean square E RMSE,k forward and the 16 time horizon comprehensive forecast error root mean square E RMSE,k all , the specific definition is as follows:

Figure BDA0002288090500000151
Figure BDA0002288090500000151

Figure BDA0002288090500000152
Figure BDA0002288090500000152

针对春季的风电集群进行说明,可参考表2所示,本发明实施例提供的预测方法在各个时间范围和综合范围下的预测误差均小于现有的累加法,提高了预测精度。For the description of the wind power cluster in spring, reference can be made to Table 2. The prediction error of the prediction method provided by the embodiment of the present invention is smaller than that of the existing accumulation method in each time range and comprehensive range, and the prediction accuracy is improved.

表2Table 2

现有累加法Existing accumulation method 本发明提供的方法The method provided by the present invention E<sub>RMSE,1h</sub><sub>forward</sub>/%E<sub>RMSE, 1h</sub><sub>forward</sub>/% 8.988.98 7.927.92 E<sub>RMSE,2h</sub><sub>forward</sub>/%E<sub>RMSE, 2h</sub><sub>forward</sub>/% 11.7811.78 10.1710.17 E<sub>RMSE,3h</sub><sub>forward</sub>/%E<sub>RMSE, 3h</sub><sub>forward</sub>/% 13.5213.52 11.8111.81 E<sub>RMSE,4h</sub><sub>forward</sub>/%E<sub>RMSE, 4h</sub><sub>forward</sub>/% 14.7314.73 12.8512.85 E<sub>RMSE,4h</sub><sub>all</sub>/%E<sub>RMSE, 4h</sub><sub>all</sub>/% 11.6811.68 10.2010.20

针对夏季风电集群进行说明,可参考表3所示,本发明实施例提供的预测方法在各个时间范围和综合范围下的预测误差均小于现有的累加法,提高了预测精度。由于在春夏两季的预测精度都有所提升,说明了本发明实施例提供方法的泛化性,能够较为适用于多个事件场景。For the description of the summer wind power cluster, reference can be made to Table 3. The prediction errors of the prediction method provided by the embodiment of the present invention in each time range and comprehensive range are smaller than the existing accumulation method, and the prediction accuracy is improved. Since the prediction accuracy is improved in spring and summer, the generalization of the method provided by the embodiment of the present invention is illustrated, and it can be more suitable for multiple event scenarios.

表3table 3

现有累加法Existing accumulation method 本发明提供的方法The method provided by the present invention E<sub>RMSE,1h</sub><sub>forward</sub>/%E<sub>RMSE, 1h</sub><sub>forward</sub>/% 12.5612.56 10.6210.62 E<sub>RMSE,2h</sub><sub>forward</sub>/%E<sub>RMSE, 2h</sub><sub>forward</sub>/% 13.7613.76 12.4812.48 E<sub>RMSE,3h</sub><sub>forward</sub>/%E<sub>RMSE, 3h</sub><sub>forward</sub>/% 14.2414.24 12.6012.60 E<sub>RMSE,4h</sub><sub>forward</sub>/%E<sub>RMSE, 4h</sub><sub>forward</sub>/% 15.0315.03 13.0513.05 E<sub>RMSE,4h</sub><sub>all</sub>/%E<sub>RMSE, 4h</sub><sub>all</sub>/% 13.5713.57 11.8611.86

图4为本发明实施例提供的用于风电集群的超短期出力预测系统的结构示意图,如图4所示,本发明实施例提供了一种用于风电集群的超短期出力预测系统,包括风电集群子区域划分模块401、获取模块402、功率预测模块403和超短期出力预测模块404,其中,风电集群子区域划分模块401用于对待预测风电集群的风电场进行子区域划分,得到所述待预测风电集群的所有子区域划分组合;获取模块402用于获取所有子区域划分组合中每个子区域在第一预设历史时间段的功率真实值,以及在第二预设历史时间段的功率真实值,所述第一预设历史时间段为当前时刻最近的历史时间段,所述第二预设历史时间段为所述第一预设历史时间段最近的历史时间段;功率预测模块403用于根据所述第二预设历史时间段的功率真实值,对所述第一预设历史时间段的各个子区域功率进行预测,得到所述第一预设历史时间段的各种划分组合形式下的集群功率预测值;超短期出力预测模块404用于获取所述第一预设历史时间段的功率真实值和各种划分组合形式下集群功率预测值之间的误差,将最小误差对应的子区域划分组合作为最优子区域划分组合,以根据所述最优子区域划分组合得到所述待预测风电集群的超短期出力预测值。FIG. 4 is a schematic structural diagram of an ultra-short-term output prediction system for wind power clusters provided by an embodiment of the present invention. As shown in FIG. 4 , an embodiment of the present invention provides an ultra-short-term output prediction system for wind power clusters, including wind power Cluster sub-area division module 401, acquisition module 402, power prediction module 403 and ultra-short-term output prediction module 404, wherein, the wind power cluster sub-area division module 401 is used for sub-area division of the wind farms of the wind power cluster to be predicted to obtain the to-be-predicted wind farms. Predicting all sub-area divisions and combinations of the wind power cluster; the acquiring module 402 is configured to acquire the real power value of each sub-area in the first preset historical time period and the power real value in the second preset historical time period for each sub-area in all sub-area division combinations value, the first preset historical time period is the most recent historical time period at the current moment, and the second preset historical time period is the most recent historical time period of the first preset historical time period; the power prediction module 403 uses According to the actual power value of the second preset historical time period, the power of each sub-region of the first preset historical time period is predicted, and various division and combination forms of the first preset historical time period are obtained. The cluster power prediction value under the ultra-short-term output prediction module 404 is used to obtain the error between the real power value of the first preset historical time period and the cluster power prediction value under various division and combination forms, and the minimum error corresponding to The sub-area division and combination are used as the optimal sub-area division and combination, so as to obtain the ultra-short-term output predicted value of the wind power cluster to be predicted according to the optimal sub-area division and combination.

本发明实施例提供的一种用于风电集群的超短期出力预测系统,基于多个风电场组成的子区域进行预测建模,充分考虑到风电场之间的相互关系与风电集群内部区域性出力的特征性质,对风电集群超短期出力进行预测,提高了出力预测的准确性。An ultra-short-term output prediction system for a wind power cluster provided by an embodiment of the present invention performs prediction modeling based on sub-regions composed of multiple wind farms, and fully considers the relationship between wind farms and the regional output within the wind power cluster. The characteristic properties of the wind power cluster can be used to predict the ultra-short-term output of the wind power cluster, which improves the accuracy of the output prediction.

在上述实施例的基础上,所述系统还包括:On the basis of the above embodiment, the system further includes:

训练数据集构建模块,用于获取训练数据集,所述训练数据集包括风电集群各个子区域的样本功率数据;a training data set building module for obtaining a training data set, the training data set including sample power data of each sub-region of the wind power cluster;

拟合模型训练模块,用于通过所述训练数据集,对支持向量机模型进行训练,得到用于各个子区域出力预测的拟合模型函数,以根据所述第二预设历史时间段的功率真实值,通过所述拟合模型函数对所述第一预设历史时间段的各个子区域功率进行预测,得到所述第一预设历史时间段各种划分形式下的集群功率预测值。The fitting model training module is used to train the support vector machine model through the training data set, and obtain the fitting model function used for output prediction of each sub-region, so as to obtain the fitting model function according to the power of the second preset historical time period. The actual value is used to predict the power of each sub-region in the first preset historical time period by using the fitting model function, and the cluster power prediction value under various division forms of the first preset historical time period is obtained.

本发明实施例提供的系统是用于执行上述各方法实施例的,具体流程和详细内容请参照上述实施例,此处不再赘述。The system provided by the embodiments of the present invention is used to execute the above method embodiments. For specific processes and details, please refer to the above embodiments, which will not be repeated here.

图5为本发明实施例提供的电子设备结构示意图,参照图5,该电子设备可以包括:处理器(processor)501、通信接口(Communications Interface)502、存储器(memory)503和通信总线504,其中,处理器501,通信接口502,存储器503通过通信总线504完成相互间的通信。处理器501可以调用存储器503中的逻辑指令,以执行如下方法:对待预测风电集群的风电场进行子区域划分,得到所述待预测风电集群的所有子区域划分组合;获取所有子区域划分组合中每个子区域在第一预设历史时间段的功率真实值,以及在第二预设历史时间段的功率真实值,所述第一预设历史时间段为当前时刻最近的历史时间段,所述第二预设历史时间段为所述第一预设历史时间段最近的历史时间段;根据所述第二预设历史时间段的功率真实值,对所述第一预设历史时间段的各个子区域功率进行预测,得到所述第一预设历史时间段的各种划分组合形式下的集群功率预测值;获取所述第一预设历史时间段的功率真实值和各种划分组合形式下集群功率预测值之间的误差,将最小误差对应的子区域划分组合作为最优子区域划分组合,以根据所述最优子区域划分组合得到所述待预测风电集群的超短期出力预测值。FIG. 5 is a schematic structural diagram of an electronic device provided by an embodiment of the present invention. Referring to FIG. 5 , the electronic device may include: a processor (processor) 501, a communication interface (Communications Interface) 502, a memory (memory) 503, and a communication bus 504, wherein , the processor 501 , the communication interface 502 , and the memory 503 communicate with each other through the communication bus 504 . The processor 501 can call the logic instructions in the memory 503 to perform the following method: perform sub-region division on the wind farm of the wind power cluster to be predicted, and obtain all sub-region division combinations of the to-be-predicted wind power cluster; The real power value of each sub-region in the first preset historical time period, and the real power value in the second preset historical time period, the first preset historical time period is the most recent historical time period at the current moment, and the The second preset historical time period is the most recent historical time period of the first preset historical time period; according to the actual power value of the second preset historical time period, each Predict the power of the sub-region to obtain the cluster power prediction value under various division and combination forms of the first preset historical time period; obtain the real power value of the first preset historical time period and various division and combination forms For the error between the cluster power prediction values, the sub-area division and combination corresponding to the smallest error are taken as the optimal sub-area division and combination, so as to obtain the ultra-short-term output predicted value of the wind power cluster to be predicted according to the optimal sub-area division and combination.

此外,上述的存储器503中的逻辑指令可以通过软件功能单元的形式实现并作为独立的产品销售或使用时,可以存储在一个计算机可读取存储介质中。基于这样的理解,本发明的技术方案本质上或者说对现有技术做出贡献的部分或者该技术方案的部分可以以软件产品的形式体现出来,该计算机软件产品存储在一个存储介质中,包括若干指令用以使得一台计算机设备(可以是个人计算机,服务器,或者网络设备等)执行本发明各个实施例所述方法的全部或部分步骤。而前述的存储介质包括:U盘、移动硬盘、只读存储器(ROM,Read-Only Memory)、随机存取存储器(RAM,Random Access Memory)、磁碟或者光盘等各种可以存储程序代码的介质。In addition, the above-mentioned logic instructions in the memory 503 can be implemented in the form of software functional units and can be stored in a computer-readable storage medium when sold or used as an independent product. Based on this understanding, the technical solution of the present invention can be embodied in the form of a software product in essence, or the part that contributes to the prior art or the part of the technical solution. The computer software product is stored in a storage medium, including Several instructions are used to cause a computer device (which may be a personal computer, a server, or a network device, etc.) to execute all or part of the steps of the methods described in the various embodiments of the present invention. The aforementioned storage medium includes: U disk, mobile hard disk, Read-Only Memory (ROM, Read-Only Memory), Random Access Memory (RAM, Random Access Memory), magnetic disk or optical disk and other media that can store program codes .

另一方面,本发明实施例还提供一种非暂态计算机可读存储介质,其上存储有计算机程序,该计算机程序被处理器执行时实现以执行上述各实施例提供的用于风电集群的超短期出力预测方法,例如包括:对待预测风电集群的风电场进行子区域划分,得到所述待预测风电集群的所有子区域划分组合;获取所有子区域划分组合中每个子区域在第一预设历史时间段的功率真实值,以及在第二预设历史时间段的功率真实值,所述第一预设历史时间段为当前时刻最近的历史时间段,所述第二预设历史时间段为所述第一预设历史时间段最近的历史时间段;根据所述第二预设历史时间段的功率真实值,对所述第一预设历史时间段的各个子区域功率进行预测,得到所述第一预设历史时间段的各种划分组合形式下的集群功率预测值;获取所述第一预设历史时间段的功率真实值和各种划分组合形式下集群功率预测值之间的误差,将最小误差对应的子区域划分组合作为最优子区域划分组合,以根据所述最优子区域划分组合得到所述待预测风电集群的超短期出力预测值。On the other hand, an embodiment of the present invention further provides a non-transitory computer-readable storage medium on which a computer program is stored, and the computer program is implemented when executed by a processor to execute the wind power cluster provided by the above embodiments. The ultra-short-term output forecasting method, for example, includes: dividing the wind farms of the wind power cluster to be predicted into sub-regions to obtain all sub-region division combinations of the to-be-predicted wind power cluster; The real power value of the historical time period, and the real power value of the second preset historical time period, the first preset historical time period is the most recent historical time period at the current moment, and the second preset historical time period is The most recent historical time period of the first preset historical time period; according to the real value of the power of the second preset historical time period, predict the power of each sub-region of the first preset historical time period, and obtain the obtaining the cluster power prediction value under various division and combination forms of the first preset historical time period; obtaining the error between the power real value of the first preset historical time period and the cluster power prediction value under various division and combination forms , taking the sub-area division and combination corresponding to the minimum error as the optimal sub-area division and combination, so as to obtain the ultra-short-term output predicted value of the wind power cluster to be predicted according to the optimal sub-area division and combination.

以上所描述的装置实施例仅仅是示意性的,其中所述作为分离部件说明的单元可以是或者也可以不是物理上分开的,作为单元显示的部件可以是或者也可以不是物理单元,即可以位于一个地方,或者也可以分布到多个网络单元上。可以根据实际的需要选择其中的部分或者全部模块来实现本实施例方案的目的。本领域普通技术人员在不付出创造性的劳动的情况下,即可以理解并实施。The device embodiments described above are only illustrative, wherein the units described as separate components may or may not be physically separated, and the components shown as units may or may not be physical units, that is, they may be located in One place, or it can be distributed over multiple network elements. Some or all of the modules may be selected according to actual needs to achieve the purpose of the solution in this embodiment. Those of ordinary skill in the art can understand and implement it without creative effort.

通过以上的实施方式的描述,本领域的技术人员可以清楚地了解到各实施方式可借助软件加必需的通用硬件平台的方式来实现,当然也可以通过硬件。基于这样的理解,上述技术方案本质上或者说对现有技术做出贡献的部分可以以软件产品的形式体现出来,该计算机软件产品可以存储在计算机可读存储介质中,如ROM/RAM、磁碟、光盘等,包括若干指令用以使得一台计算机设备(可以是个人计算机,服务器,或者网络设备等)执行各个实施例或者实施例的某些部分所述的方法。From the description of the above embodiments, those skilled in the art can clearly understand that each embodiment can be implemented by means of software plus a necessary general hardware platform, and certainly can also be implemented by hardware. Based on this understanding, the above-mentioned technical solutions can be embodied in the form of software products in essence or the parts that make contributions to the prior art, and the computer software products can be stored in computer-readable storage media, such as ROM/RAM, magnetic A disc, an optical disc, etc., includes several instructions for causing a computer device (which may be a personal computer, a server, or a network device, etc.) to perform the methods described in various embodiments or some parts of the embodiments.

最后应说明的是:以上实施例仅用以说明本发明的技术方案,而非对其限制;尽管参照前述实施例对本发明进行了详细的说明,本领域的普通技术人员应当理解:其依然可以对前述各实施例所记载的技术方案进行修改,或者对其中部分技术特征进行等同替换;而这些修改或者替换,并不使相应技术方案的本质脱离本发明各实施例技术方案的精神和范围。Finally, it should be noted that the above embodiments are only used to illustrate the technical solutions of the present invention, but not to limit them; although the present invention has been described in detail with reference to the foregoing embodiments, those of ordinary skill in the art should understand that it can still be The technical solutions described in the foregoing embodiments are modified, or some technical features thereof are equivalently replaced; and these modifications or replacements do not make the essence of the corresponding technical solutions deviate from the spirit and scope of the technical solutions of the embodiments of the present invention.

Claims (8)

1.一种用于风电集群的超短期出力预测方法,其特征在于,包括:1. An ultra-short-term output forecasting method for wind power clusters, characterized in that, comprising: 对待预测风电集群的风电场进行子区域划分,得到所述待预测风电集群的所有子区域划分组合;Sub-regional division is performed on the wind farm of the wind power cluster to be predicted, and all sub-region division combinations of the to-be-predicted wind power cluster are obtained; 获取所有子区域划分组合中每个子区域在第一预设历史时间段的功率真实值,以及在第二预设历史时间段的功率真实值,所述第一预设历史时间段为当前时刻最近的历史时间段,所述第二预设历史时间段为所述第一预设历史时间段最近的历史时间段;Obtain the real power value of each sub-region in the first preset historical time period and the power real value of the second preset historical time period in all sub-region division combinations, and the first preset historical time period is the latest at the current moment. The historical period of time, the second preset historical period is the most recent historical period of the first preset historical period; 根据所述第二预设历史时间段的功率真实值,对所述第一预设历史时间段的各个子区域功率进行预测,得到所述第一预设历史时间段的各种划分组合形式下的集群功率预测值;According to the actual power value of the second preset historical time period, the power of each sub-region of the first preset historical time period is predicted to obtain the different division and combination forms of the first preset historical time period. The predicted value of cluster power; 获取所述第一预设历史时间段的功率真实值和各种划分组合形式下集群功率预测值之间的误差,将最小误差对应的子区域划分组合作为最优子区域划分组合,以根据所述最优子区域划分组合得到所述待预测风电集群的超短期出力预测值;Obtain the error between the actual power value of the first preset historical time period and the predicted value of the cluster power under various division and combination forms, and use the sub-region division and combination corresponding to the minimum error as the optimal sub-region division and combination, so that according to the The optimal sub-regional division and combination are used to obtain the ultra-short-term output forecast value of the wind power cluster to be predicted; 在所述获取所述第一预设历史时间段的功率真实值和各种划分组合形式下集群功率预测值之间的误差,将最小误差对应的子区域划分组合作为最优子区域划分组合之后,所述方法还包括:After obtaining the error between the actual power value of the first preset historical time period and the predicted value of cluster power under various division and combination forms, the sub-region division and combination corresponding to the minimum error are taken as the optimal sub-region division and combination , the method also includes: 获取所述第一预设历史时间段中每个历史时刻点对应预测时间尺度的最优子区域划分组合;Obtain the optimal sub-region division combination of the prediction time scale corresponding to each historical time point in the first preset historical time period; 根据所述第一预设历史时间段各个子区域的功率真实值和拟合模型函数,获取每个历史时刻点对应的未来时刻各个子区域的功率预测值;According to the actual power value of each sub-region in the first preset historical time period and the fitted model function, the power prediction value of each sub-region in the future corresponding to each historical time point is obtained; 根据未来时刻各个子区域功率预测值,将每个历史时刻点对应预测时间尺度的最优子区域划分组合作为当前预测时刻的划分组合方式,以用于获取所述待预测风电集群的超短期出力预测值;According to the power prediction value of each sub-region at the future time, the optimal sub-region division and combination corresponding to the prediction time scale at each historical time point is used as the division and combination method at the current prediction time, so as to obtain the ultra-short-term output of the wind power cluster to be predicted. Predictive value; 所述对待预测风电集群的风电场进行子区域划分,得到所述待预测风电集群的所有子区域划分组合,包括:The wind farm of the to-be-predicted wind power cluster is divided into sub-regions, and all sub-region division combinations of the to-be-predicted wind power cluster are obtained, including: 基于贝尔数公式,对所述待预测风电集群的风电场进行子区域划分,得到所有的子区域划分组合。Based on the Bell number formula, sub-regions are divided for the wind farms of the wind power cluster to be predicted, and all sub-region division combinations are obtained. 2.根据权利要求1所述的用于风电集群的超短期出力预测方法,其特征在于,在所述根据所述第二预设历史时间段的功率真实值,对所述第一预设历史时间段的各个子区域功率进行预测,得到所述第一预设历史时间段的各种划分组合形式下的集群功率预测值之前,所述方法还包括:2 . The ultra-short-term output forecasting method for wind power clusters according to claim 1 , wherein, in the actual power value according to the second preset history time period, the first preset history The power of each sub-region in the time period is predicted, and before the cluster power prediction value under various division and combination forms of the first preset historical time period is obtained, the method further includes: 获取训练数据集,所述训练数据集包括风电集群各个子区域的样本功率数据;obtaining a training data set, the training data set including sample power data of each sub-region of the wind power cluster; 通过所述训练数据集,对支持向量机模型进行训练,得到用于各个子区域出力预测的拟合模型函数,以根据所述第二预设历史时间段的功率真实值,通过所述拟合模型函数对所述第一预设历史时间段的各个子区域功率进行预测,得到所述第一预设历史时间段的各种划分组合形式下的集群功率预测值。Through the training data set, the support vector machine model is trained to obtain a fitting model function for output prediction of each sub-region, so as to obtain the fitting model function according to the actual power value of the second preset historical time period, through the fitting The model function predicts the power of each sub-region in the first preset historical time period, and obtains the cluster power prediction value under various division and combination forms of the first preset historical time period. 3.根据权利要求2所述的用于风电集群的超短期出力预测方法,其特征在于,所述获取训练数据集,具体包括:3. The ultra-short-term output forecasting method for wind power clusters according to claim 2, wherein the acquiring a training data set specifically comprises: 通过滑动时间窗,对样本功率数据进行划分,得到样本功率数据基于滑动时间窗的样本功率输出特征数据;Divide the sample power data through the sliding time window, and obtain the sample power output characteristic data of the sample power data based on the sliding time window; 根据样本功率数据和样本功率数据对应的样本功率输出特征数据,构建训练数据集。According to the sample power data and the sample power output characteristic data corresponding to the sample power data, a training data set is constructed. 4.根据权利要求1所述的用于风电集群的超短期出力预测方法,其特征在于,所述第一预设历史时间段中历史时刻点的数量不大于16个,每个历史时刻点的时间间隔为15分钟。4. The ultra-short-term output prediction method for wind power clusters according to claim 1, wherein the number of historical time points in the first preset historical time period is not more than 16, and the number of historical time points in each historical time point is not more than 16. The time interval is 15 minutes. 5.一种用于风电集群的超短期出力预测系统,其特征在于,包括:5. An ultra-short-term output forecasting system for wind power clusters, comprising: 风电集群子区域划分模块,用于对待预测风电集群的风电场进行子区域划分,得到所述待预测风电集群的所有子区域划分组合;The wind power cluster sub-region division module is used for sub-region division of the wind farms of the wind power cluster to be predicted, to obtain all the sub-region division combinations of the to-be-predicted wind power cluster; 获取模块,用于获取所有子区域划分组合中每个子区域在第一预设历史时间段的功率真实值,以及在第二预设历史时间段的功率真实值,所述第一预设历史时间段为当前时刻最近的历史时间段,所述第二预设历史时间段为所述第一预设历史时间段最近的历史时间段;The acquisition module is used to acquire the real power value of each sub-region in the first preset historical time period and the real power value of the second preset historical time period of each sub-region in all sub-region division combinations. The first preset historical time period The segment is the most recent historical time segment at the current moment, and the second preset historical time segment is the most recent historical time segment of the first preset historical time segment; 功率预测模块,用于根据所述第二预设历史时间段的功率真实值,对所述第一预设历史时间段的各个子区域功率进行预测,得到所述第一预设历史时间段的各种划分组合形式下的集群功率预测值;A power prediction module, configured to predict the power of each sub-region of the first preset historical time period according to the actual power value of the second preset historical time period, and obtain the Cluster power prediction value under various division and combination forms; 超短期出力预测模块,用于获取所述第一预设历史时间段的功率真实值和各种划分组合形式下集群功率预测值之间的误差,将最小误差对应的子区域划分组合作为最优子区域划分组合,以根据所述最优子区域划分组合得到所述待预测风电集群的超短期出力预测值;The ultra-short-term output prediction module is used to obtain the error between the real power value of the first preset historical time period and the cluster power prediction value under various division and combination forms, and the sub-region division and combination corresponding to the minimum error is regarded as the optimal Sub-region division and combination, to obtain the ultra-short-term output predicted value of the wind power cluster to be predicted according to the optimal sub-region division and combination; 所述系统还用于:The system is also used to: 获取所述第一预设历史时间段中每个历史时刻点对应预测时间尺度的最优子区域划分组合;Obtain the optimal sub-region division combination of the prediction time scale corresponding to each historical time point in the first preset historical time period; 根据所述第一预设历史时间段各个子区域的功率真实值和拟合模型函数,获取每个历史时刻点对应的未来时刻各个子区域的功率预测值;According to the actual power value of each sub-region in the first preset historical time period and the fitted model function, the power prediction value of each sub-region in the future corresponding to each historical time point is obtained; 根据未来时刻各个子区域功率预测值,将每个历史时刻点对应预测时间尺度的最优子区域划分组合作为当前预测时刻的划分组合方式,以用于获取所述待预测风电集群的超短期出力预测值;According to the power prediction value of each sub-region at the future time, the optimal sub-region division and combination corresponding to the prediction time scale at each historical time point is used as the division and combination method at the current prediction time, so as to obtain the ultra-short-term output of the wind power cluster to be predicted. Predictive value; 所述风电集群子区域划分模块具体用于:The wind power cluster sub-area division module is specifically used for: 基于贝尔数公式,对所述待预测风电集群的风电场进行子区域划分,得到所有的子区域划分组合。Based on the Bell number formula, sub-regions are divided for the wind farms of the wind power cluster to be predicted, and all sub-region division combinations are obtained. 6.根据权利要求5所述的用于风电集群的超短期出力预测系统,其特征在于,所述系统还包括:6. The ultra-short-term output forecasting system for wind power clusters according to claim 5, wherein the system further comprises: 训练数据集构建模块,用于获取训练数据集,所述训练数据集包括风电集群各个子区域的样本功率数据;a training data set building module for obtaining a training data set, the training data set including sample power data of each sub-region of the wind power cluster; 拟合模型训练模块,用于通过所述训练数据集,对支持向量机模型进行训练,得到用于各个子区域出力预测的拟合模型函数,以根据所述第二预设历史时间段的功率真实值,通过所述拟合模型函数对所述第一预设历史时间段的各个子区域功率进行预测,得到所述第一预设历史时间段的各种划分组合形式下的集群功率预测值。The fitting model training module is used to train the support vector machine model through the training data set, and obtain the fitting model function used for output prediction of each sub-region, so as to obtain the fitting model function according to the power of the second preset historical time period. true value, predict the power of each sub-region in the first preset historical time period through the fitting model function, and obtain the cluster power predicted value under various division and combination forms of the first preset historical time period . 7.一种电子设备,包括存储器、处理器及存储在存储器上并可在处理器上运行的计算机程序,其特征在于,所述处理器执行所述程序时实现如权利要求1至4任一项所述用于风电集群的超短期出力预测方法的步骤。7. An electronic device comprising a memory, a processor and a computer program stored on the memory and running on the processor, wherein the processor implements any one of claims 1 to 4 when the processor executes the program The steps of the ultra-short-term output forecasting method for wind power clusters described in item 1. 8.一种非暂态计算机可读存储介质,其上存储有计算机程序,其特征在于,该计算机程序被处理器执行时实现如权利要求1至4任一项所述用于风电集群的超短期出力预测方法的步骤。8. A non-transitory computer-readable storage medium on which a computer program is stored, characterized in that, when the computer program is executed by a processor, the supercomputer for a wind power cluster according to any one of claims 1 to 4 is implemented. The steps of the short-term output forecasting method.
CN201911168558.XA 2019-11-25 2019-11-25 Ultra-short-term output prediction method and system for wind power cluster Active CN111191815B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201911168558.XA CN111191815B (en) 2019-11-25 2019-11-25 Ultra-short-term output prediction method and system for wind power cluster

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201911168558.XA CN111191815B (en) 2019-11-25 2019-11-25 Ultra-short-term output prediction method and system for wind power cluster

Publications (2)

Publication Number Publication Date
CN111191815A CN111191815A (en) 2020-05-22
CN111191815B true CN111191815B (en) 2022-08-16

Family

ID=70710955

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201911168558.XA Active CN111191815B (en) 2019-11-25 2019-11-25 Ultra-short-term output prediction method and system for wind power cluster

Country Status (1)

Country Link
CN (1) CN111191815B (en)

Families Citing this family (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN114819374B (en) * 2022-05-10 2024-08-06 南京南瑞水利水电科技有限公司 Regional new energy ultra-short term power prediction method and system
CN115898765B (en) * 2022-12-05 2025-09-26 中国电信股份有限公司 Fan control method, device, electronic device and storage medium

Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN106875033A (en) * 2016-12-26 2017-06-20 华中科技大学 A kind of wind-powered electricity generation cluster power forecasting method based on dynamic self-adapting
CN108734359A (en) * 2018-06-08 2018-11-02 上海电机学院 A kind of wind power prediction data preprocessing method
CN108876039A (en) * 2018-06-21 2018-11-23 浙江工业大学 A kind of prediction technique of power quality containing distributed power distribution network based on support vector machines

Family Cites Families (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US10671039B2 (en) * 2017-05-03 2020-06-02 Uptake Technologies, Inc. Computer system and method for predicting an abnormal event at a wind turbine in a cluster

Patent Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN106875033A (en) * 2016-12-26 2017-06-20 华中科技大学 A kind of wind-powered electricity generation cluster power forecasting method based on dynamic self-adapting
CN108734359A (en) * 2018-06-08 2018-11-02 上海电机学院 A kind of wind power prediction data preprocessing method
CN108876039A (en) * 2018-06-21 2018-11-23 浙江工业大学 A kind of prediction technique of power quality containing distributed power distribution network based on support vector machines

Non-Patent Citations (2)

* Cited by examiner, † Cited by third party
Title
"Local-pattern-aware forecast of regional wind power: Adaptive partition and long-short-term matching";Chenyu Liu et al.;《Energy Conversion and Management》;20210128;全文 *
基于集群划分的短期风电功率预测方法;王勃等;《高电压技术》;20180416(第04期);全文 *

Also Published As

Publication number Publication date
CN111191815A (en) 2020-05-22

Similar Documents

Publication Publication Date Title
US12340305B2 (en) Training method for air quality prediction model, prediction method and apparatus, device, program, and medium
CN107346464B (en) Service index prediction method and device
CN113988359A (en) Wind power prediction method and system based on asymmetric Laplace distribution
CN109902801A (en) A kind of flood DATA PROCESSING IN ENSEMBLE PREDICTION SYSTEM method based on variation reasoning Bayesian neural network
CN110543929A (en) A Wind Speed Interval Prediction Method and System Based on Lorenz System
WO2018214629A1 (en) Electricity sales projection method, device, and computer storage medium
CN111695290A (en) Short-term runoff intelligent forecasting hybrid model method suitable for variable environment
CN110942194A (en) Wind power prediction error interval evaluation method based on TCN
JP2013074695A (en) Device, method and program for predicting photovoltaic generation
CN115526376A (en) Generative Adversarial Network Ultra-short-term Wind Power Prediction Method Based on Multi-feature Fusion
CN107886160B (en) BP neural network interval water demand prediction method
CN119228070B (en) A decision-making method for reservoir group operation considering multi-source uncertainty propagation and evolution tracking
CN115374995A (en) Distributed photovoltaic and small wind power station power prediction method
CN114091782B (en) Medium-long term power load prediction method
CN115545294A (en) ISSA-HKELM-based short-term load prediction method
CN112307672A (en) Short-term wind power prediction method based on BP neural network optimization based on cuckoo algorithm
CN104112062A (en) Method for obtaining wind resource distribution based on interpolation method
CN116523142A (en) Photovoltaic cluster interval prediction method considering space-time characteristic clustering
CN111191815B (en) Ultra-short-term output prediction method and system for wind power cluster
CN115034159A (en) Power prediction method, device, storage medium and system for offshore wind farm
CN113300884B (en) A step-by-step network traffic prediction method based on GWO-SVR
CN118351679A (en) A short-term traffic flow prediction method and system based on PSO-STGCN graph convolutional network
CN114862007A (en) A short-cycle gas production prediction method and system for carbonate gas wells
CN119134282B (en) A photovoltaic power generation prediction method and system based on convolutional neural network
CN105205560B (en) Photovoltaic power supply power prediction method based on positive and negative error variable weights

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
GR01 Patent grant
GR01 Patent grant