[go: up one dir, main page]

CN110543929B - Wind speed interval prediction method and system based on Lorenz system - Google Patents

Wind speed interval prediction method and system based on Lorenz system Download PDF

Info

Publication number
CN110543929B
CN110543929B CN201910805484.XA CN201910805484A CN110543929B CN 110543929 B CN110543929 B CN 110543929B CN 201910805484 A CN201910805484 A CN 201910805484A CN 110543929 B CN110543929 B CN 110543929B
Authority
CN
China
Prior art keywords
wind speed
prediction
interval
sequence
lds
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
CN201910805484.XA
Other languages
Chinese (zh)
Other versions
CN110543929A (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.)
North China Electric Power University
Original Assignee
North China Electric Power University
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 North China Electric Power University filed Critical North China Electric Power University
Priority to CN201910805484.XA priority Critical patent/CN110543929B/en
Publication of CN110543929A publication Critical patent/CN110543929A/en
Application granted granted Critical
Publication of CN110543929B publication Critical patent/CN110543929B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Classifications

    • GPHYSICS
    • G01MEASURING; TESTING
    • G01PMEASURING LINEAR OR ANGULAR SPEED, ACCELERATION, DECELERATION, OR SHOCK; INDICATING PRESENCE, ABSENCE, OR DIRECTION, OF MOVEMENT
    • G01P5/00Measuring speed of fluids, e.g. of air stream; Measuring speed of bodies relative to fluids, e.g. of ship, of aircraft
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06NCOMPUTING ARRANGEMENTS BASED ON SPECIFIC COMPUTATIONAL MODELS
    • G06N3/00Computing arrangements based on biological models
    • G06N3/004Artificial life, i.e. computing arrangements simulating life
    • G06N3/006Artificial life, i.e. computing arrangements simulating life based on simulated virtual individual or collective life forms, e.g. social simulations or particle swarm optimisation [PSO]
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06NCOMPUTING ARRANGEMENTS BASED ON SPECIFIC COMPUTATIONAL MODELS
    • G06N3/00Computing arrangements based on biological models
    • G06N3/02Neural networks
    • G06N3/04Architecture, e.g. interconnection topology
    • G06N3/044Recurrent networks, e.g. Hopfield networks
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06NCOMPUTING ARRANGEMENTS BASED ON SPECIFIC COMPUTATIONAL MODELS
    • G06N3/00Computing arrangements based on biological models
    • G06N3/02Neural networks
    • G06N3/04Architecture, e.g. interconnection topology
    • G06N3/045Combinations of networks
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06NCOMPUTING ARRANGEMENTS BASED ON SPECIFIC COMPUTATIONAL MODELS
    • G06N3/00Computing arrangements based on biological models
    • G06N3/02Neural networks
    • G06N3/08Learning methods

Landscapes

  • Engineering & Computer Science (AREA)
  • Physics & Mathematics (AREA)
  • Theoretical Computer Science (AREA)
  • General Physics & Mathematics (AREA)
  • General Health & Medical Sciences (AREA)
  • Molecular Biology (AREA)
  • Biophysics (AREA)
  • Computational Linguistics (AREA)
  • Data Mining & Analysis (AREA)
  • Evolutionary Computation (AREA)
  • Artificial Intelligence (AREA)
  • Biomedical Technology (AREA)
  • Computing Systems (AREA)
  • General Engineering & Computer Science (AREA)
  • Life Sciences & Earth Sciences (AREA)
  • Mathematical Physics (AREA)
  • Software Systems (AREA)
  • Health & Medical Sciences (AREA)
  • Aviation & Aerospace Engineering (AREA)
  • Management, Administration, Business Operations System, And Electronic Commerce (AREA)

Abstract

本发明公开一种基于Lorenz系统的风速区间预测方法及系统。该预测方法包括:获取原始风速序列;对所述风速序列进行变分模态分解(VMD),获取去噪序列和噪声余项;建立长短时神经网络预测模型(LSTM),对所述去噪序列进行初步预测,获取初步预测结果;通过定义风速爬坡事件(WSR)和风速爬坡率,对初步预测结果进行修正,获取修正的风速预测结果;通过Lorenz方程描述大气动力系统对风速的影响,并得到Lorenz扰动序列(LDS);通过B样条插值法对LDS进行拟合,并对拟合结果固定置信区间,获取风速扰动区间的上限和下限;将修正的风速预测结果和风速扰动区间进行求和,获取风速的区间预测结果;本发明的风速区间预测方法或系统显著提高了预测模型的精度和可靠性,可获得高精度预测结果。

The invention discloses a wind speed interval prediction method and system based on the Lorenz system. The prediction method includes: obtaining the original wind speed sequence; performing variational mode decomposition (VMD) on the wind speed sequence to obtain the denoised sequence and noise remainder; establishing a long-short-term neural network prediction model (LSTM), and denoising the Preliminary predictions are made in sequence to obtain preliminary prediction results; by defining wind speed ramp events (WSR) and wind speed ramp rates, the preliminary prediction results are revised to obtain revised wind speed prediction results; the influence of the atmospheric dynamic system on wind speed is described by the Lorenz equation , and obtain the Lorenz disturbance sequence (LDS); fit the LDS through B-spline interpolation method, and fix the confidence interval of the fitting result to obtain the upper and lower limits of the wind speed disturbance interval; combine the corrected wind speed prediction results and the wind speed disturbance interval The sum is performed to obtain the interval prediction result of wind speed; the wind speed interval prediction method or system of the present invention significantly improves the accuracy and reliability of the prediction model, and can obtain high-precision prediction results.

Description

一种基于Lorenz系统的风速区间预测方法及系统A wind speed interval prediction method and system based on Lorenz system

技术领域Technical field

本发明涉及风速预测领域,特别是涉及一种基于Lorenz系统的风速区间预测方法及系统。The invention relates to the field of wind speed prediction, and in particular to a wind speed interval prediction method and system based on the Lorenz system.

背景技术Background technique

近年来,全球能源形势日趋严峻,能源需求不断增大。作为一种清洁可再生能源,风能在世界各地的新能源应用方面备受关注,风力发电并网技术已成为国际研究的热点。国际能源署(IEA)报告称,预计2019年风力发电量将增加3.25亿千瓦。然而,风的波动往往会导致风电一体化后电力系统的不稳定。因此,有效的风速预测可以促进风电行业的智能化发展,准确的风速预测是风电大规模开发利用的重要前提。In recent years, the global energy situation has become increasingly severe and energy demand has continued to increase. As a clean and renewable energy, wind energy has attracted much attention in new energy applications around the world, and wind power grid connection technology has become a hot spot in international research. The International Energy Agency (IEA) reports that wind power generation is expected to increase by 325 million kilowatts in 2019. However, wind fluctuations often lead to instability in the power system after wind power integration. Therefore, effective wind speed prediction can promote the intelligent development of the wind power industry, and accurate wind speed prediction is an important prerequisite for large-scale development and utilization of wind power.

发明内容Contents of the invention

本发明的目的是提供一种基于Lorenz系统的风速区间预测方法及系统,用以获得高精度预测结果的同时提高预测模型的可靠性。The purpose of the present invention is to provide a wind speed interval prediction method and system based on the Lorenz system to obtain high-precision prediction results while improving the reliability of the prediction model.

为实现上述目的,本发明提供了如下方案:In order to achieve the above objects, the present invention provides the following solutions:

一种基于Lorenz系统的风速区间预测方法,所述方法包括:A wind speed interval prediction method based on Lorenz system, the method includes:

获取原始风速序列;对所述风速序列进行变分模态分解(VMD),获取去噪序列和噪声余项;Obtain the original wind speed sequence; perform variational mode decomposition (VMD) on the wind speed sequence to obtain the denoised sequence and noise remainder;

建立长短时神经网络预测模型(LSTM),对所述去噪序列进行初步预测,获取初步预测结果;Establish a long-short-term neural network prediction model (LSTM) to make preliminary predictions on the denoised sequence and obtain preliminary prediction results;

通过定义风速爬坡事件(WSR)和风速爬坡率,对初步预测结果进行修正,获取修正的风速预测结果;By defining the wind speed ramp event (WSR) and wind speed ramp rate, the preliminary forecast results are revised to obtain the revised wind speed forecast results;

通过Lorenz方程描述大气动力系统对风速的影响,并得到Lorenz扰动序列(LDS);The Lorenz equation is used to describe the impact of the atmospheric dynamic system on wind speed, and the Lorenz disturbance sequence (LDS) is obtained;

通过B样条插值法对LDS进行拟合,并对拟合结果固定置信区间,获取风速扰动区间的上限和下限;Fit the LDS through the B-spline interpolation method, and fix the confidence interval for the fitting result to obtain the upper and lower limits of the wind speed disturbance interval;

将修正的风速预测结果和风速扰动区间进行求和,获取风速的区间预测结果。The corrected wind speed prediction results and wind speed disturbance intervals are summed to obtain the wind speed interval prediction results.

可选的,所述获取去噪序列和噪声余项,具体包括:Optionally, obtaining the denoised sequence and noise remainder specifically includes:

获取原始风速数据;Get raw wind speed data;

设定分解个数;在确定的分解个数下通过迭代计算包含所有模态的集合和他们的中心频率;获取风速信号的本征模态函数分量和噪声余项;Set the number of decompositions; iteratively calculate the set containing all modes and their center frequencies under the determined number of decompositions; obtain the intrinsic mode function components and noise remainder of the wind speed signal;

将风速信号的本征模态函数分量进行重构,获取去噪的风速序列。Reconstruct the intrinsic mode function components of the wind speed signal to obtain the denoised wind speed sequence.

可选的,所述建立长短时神经网络预测模型,对所述去噪序列进行初步预测,获取初步预测结果,具体过程包括:Optionally, establishing a long-term and short-term neural network prediction model, making preliminary predictions on the denoised sequence, and obtaining preliminary prediction results. The specific process includes:

将去噪的风速序列根据9∶1的比例划分为训练集和测试集;Divide the denoised wind speed sequence into a training set and a test set according to the ratio of 9:1;

设定长短时神经网络的网络结构,包括输入层神经元个数,隐含层神经元个数和输出层神经元个数;Set the network structure of the long-term and short-term neural network, including the number of input layer neurons, the number of hidden layer neurons and the number of output layer neurons;

通过将训练集输入长短时神经网络进行训练;Training is performed by inputting the training set into the long-short-term neural network;

将测试集输入训练好的长短时神经网络,获取风速的初步预测结果。Input the test set into the trained long-short-term neural network to obtain preliminary prediction results of wind speed.

可选的,对所述定义风速爬坡事件和风速爬坡率,对初步预测结果进行修正,获取修正的风速预测结果,具体包括:Optionally, modify the preliminary prediction results for the defined wind speed ramp event and wind speed ramp rate to obtain the revised wind speed prediction results, which specifically includes:

计算风速梯度;根据风速梯度引入风速爬坡的定义;Calculate the wind speed gradient; introduce the definition of wind speed ramp according to the wind speed gradient;

当梯度的绝对值大于阈值1,且当前时刻的正梯度增大超过正梯度阈值2或负梯度减小超过负梯度阈值3时,用当前时刻的误差修正下一时刻的风速预测值;When the absolute value of the gradient is greater than threshold 1, and the positive gradient at the current moment increases beyond the positive gradient threshold 2 or the negative gradient decreases beyond the negative gradient threshold 3, use the error at the current moment to correct the wind speed prediction value at the next moment;

对于阈值1,阈值2和阈值3,将其转化为一个多目标优化问题,以最小化均方根误差为目标,用粒子群算法(PSO)求解该优化问题。For threshold 1, threshold 2 and threshold 3, it is converted into a multi-objective optimization problem, with the goal of minimizing the root mean square error, and the particle swarm algorithm (PSO) is used to solve the optimization problem.

可选的,所述通过Lorenz方程描述大气动力系统对风速的影响,并得到LDS,具体包括:Optionally, describe the influence of the atmospheric dynamic system on wind speed through the Lorenz equation, and obtain the LDS, which specifically includes:

给定初始条件(0,1,1),求解Lorenz方程,获取三维LDS;Given the initial conditions (0, 1, 1), solve the Lorenz equation and obtain the three-dimensional LDS;

根据切比雪夫距离,将三维的LDS转化为一维的扰动序列。According to the Chebyshev distance, the three-dimensional LDS is converted into a one-dimensional perturbation sequence.

可选的,所述通过B样条插值法对LDS进行拟合,并对拟合结果固定置信区间,获取风速扰动区间的上限和下限,具体包括:Optionally, the LDS is fitted through the B-spline interpolation method, and the confidence interval is fixed for the fitting result to obtain the upper and lower limits of the wind speed disturbance interval, which specifically includes:

通过B样条差值对LDS的分布进行拟合,获取B样条差值拟合函数;Fit the distribution of LDS through B-spline difference and obtain the B-spline difference fitting function;

分别固定置信区间为90%和98%,计算拟合函数的上下分位数点;Fix the confidence intervals at 90% and 98% respectively, and calculate the upper and lower quantile points of the fitting function;

将上分位点设定为区间预测的上限,将下分位点设定为区间预测的下限。The upper quantile is set as the upper limit of the interval prediction, and the lower quantile is set as the lower limit of the interval prediction.

可选的,所述将修正的风速预测结果和风速扰动区间进行求和,获取风速的区间预测结果,具体包括:Optionally, the modified wind speed prediction result and the wind speed disturbance interval are summed to obtain the wind speed interval prediction result, which specifically includes:

通过将90%置信区间下的上下分位点加减到修正的风速预测结果上,得到90%置信区间下的风速区间预测结果;By adding and subtracting the upper and lower quantiles under the 90% confidence interval to the corrected wind speed prediction result, the wind speed interval prediction result under the 90% confidence interval is obtained;

通过将98%置信区间下的上下分位点加减到修正的风速预测结果上,得到98%置信区间下的风速区间预测结果。By adding and subtracting the upper and lower quantiles under the 98% confidence interval to the corrected wind speed prediction result, the wind speed interval prediction result under the 98% confidence interval is obtained.

本发明还提供了一种基于Lorenz系统的风速区间预测系统,所述预测系统包括:The invention also provides a wind speed interval prediction system based on the Lorenz system. The prediction system includes:

风速数据获取和去噪模块,用于获取原始风速序列;对所述风速序列进行变分模态分解,获取去噪序列和噪声余项;The wind speed data acquisition and denoising module is used to obtain the original wind speed sequence; perform variational mode decomposition on the wind speed sequence to obtain the denoised sequence and noise remainder;

风速数据初步预测模块,用于建立长短时神经网络预测模型,对所述去噪序列进行初步预测,获取初步预测结果;The wind speed data preliminary prediction module is used to establish a long- and short-term neural network prediction model, perform preliminary predictions on the denoised sequence, and obtain preliminary prediction results;

基于风速爬坡的初步预测结果修正模块,用于通过定义风速爬坡事件和风速爬坡率,对初步预测结果进行修正,获取修正的风速预测结果;The preliminary prediction result correction module based on wind speed climbing is used to modify the preliminary prediction results by defining wind speed climbing events and wind speed climbing rates, and obtain revised wind speed prediction results;

获取LDS模块,用于通过Lorenz方程描述大气动力系统对风速的影响,并得到LDS;Obtain the LDS module, which is used to describe the impact of the atmospheric dynamic system on wind speed through the Lorenz equation, and obtain the LDS;

获取扰动上下限模块,用于通过B样条插值法对LDS进行拟合,并对拟合结果固定置信区间,获取风速扰动区间的上限和下限;Obtain the upper and lower limits of the disturbance module, which is used to fit the LDS through the B-spline interpolation method, fix the confidence interval for the fitting results, and obtain the upper and lower limits of the wind speed disturbance interval;

预测模块,用于将修正的风速预测结果和风速扰动区间进行求和,获取风速的区间预测结果。The prediction module is used to sum the corrected wind speed prediction results and wind speed disturbance intervals to obtain the wind speed interval prediction results.

可选的,所述风速数据获取和去噪模块具体包括:Optionally, the wind speed data acquisition and denoising module specifically includes:

获取本征模态分量单元,用于获取原始风速数据;设定分解个数;在确定的分解个数下通过迭代计算包含所有模态的集合和他们的中心频率;获取风速信号的本征模态函数分量和噪声余项;Obtain the eigenmodal component unit, which is used to obtain the original wind speed data; set the number of decompositions; iteratively calculate the set containing all modes and their center frequencies under the determined number of decompositions; obtain the eigenmodes of the wind speed signal State function components and noise remainders;

获取去噪风速序列单元,用于将风速信号的本征模态函数分量进行重构,获取去噪的风速序列。Obtain the denoised wind speed sequence unit, which is used to reconstruct the intrinsic mode function components of the wind speed signal and obtain the denoised wind speed sequence.

可选的,所述风速数据初步预测模块,具体包括:Optionally, the preliminary wind speed data prediction module specifically includes:

划分划分分风速序列单元,用于将去噪的风速序列根据9∶1的比例划分为训练集和测试集;Divide and divide the wind speed sequence unit, which is used to divide the denoised wind speed sequence into a training set and a test set according to a ratio of 9:1;

设定长短时神经网络的网络结构单元,用于包括输入层神经元个数,隐含层神经元个数和输出层神经元个数;Set the network structural unit of the long-term and short-term neural network, which is used to include the number of input layer neurons, the number of hidden layer neurons and the number of output layer neurons;

训练模型单元,用于通过将训练集输入长短时神经网络进行训练;The training model unit is used for training by inputting the training set into the long and short-term neural network;

预测单元,用于将测试集输入训练好的长短时神经网络,获取风速的初步预测结果。The prediction unit is used to input the test set into the trained long and short-term neural network to obtain preliminary prediction results of wind speed.

可选的,所述基于风速爬坡的初步预测结果修正模块,具体包括:Optionally, the preliminary prediction result correction module based on wind speed climbing specifically includes:

定义风速爬坡单元,用于计算风速梯度;根据风速梯度引入风速爬坡的定义;Define the wind speed ramping unit, which is used to calculate the wind speed gradient; introduce the definition of wind speed ramping based on the wind speed gradient;

定义修正方法单元,用于当梯度的绝对值大于阈值A,且当前时刻的正梯度增大超过正梯度阈值B或负梯度减小超过负梯度阈值C时,用当前时刻的误差修正下一时刻的风速预测值;Define the correction method unit, which is used to correct the next moment with the error of the current moment when the absolute value of the gradient is greater than the threshold A and the positive gradient at the current moment increases beyond the positive gradient threshold B or the negative gradient decreases beyond the negative gradient threshold C. wind speed prediction value;

求解阈值单元,用于对于阈值A,B和C,将其转化为一个多目标优化问题,以最小化均方根误差为目标,用PSO求解该优化问题。Solving the threshold unit is used to convert the thresholds A, B and C into a multi-objective optimization problem, with the goal of minimizing the root mean square error, and use PSO to solve the optimization problem.

可选的,所述获取LDS模块具体包括:Optionally, the obtaining LDS module specifically includes:

获取三维LDS单元,用于给定初始条件(0,1,1),求解Lorenz方程,获取三维LDS;Obtain the three-dimensional LDS unit, which is used to give the initial conditions (0, 1, 1), solve the Lorenz equation, and obtain the three-dimensional LDS;

获取一维LDS单元,用于根据切比雪夫距离,将三维的LDS转化为一维的LDS。Obtain the one-dimensional LDS unit, which is used to convert the three-dimensional LDS into a one-dimensional LDS based on the Chebyshev distance.

可选的,所述获取扰动上下限模块具体包括:Optionally, the module for obtaining the upper and lower limits of disturbance specifically includes:

拟合单元,用于通过B样条差值对LDS的分布进行拟合,获取B样条差值拟合函数;The fitting unit is used to fit the distribution of LDS through B-spline difference and obtain the B-spline difference fitting function;

分位点计算单元,用于分别固定置信区间为90%和98%,计算拟合函数的上下分位数点;Quantile point calculation unit, used to fix the confidence intervals at 90% and 98% respectively, and calculate the upper and lower quantile points of the fitting function;

确定区间预测上下限单元,用于将上分位点设定为区间预测的上限,将下分位点设定为区间预测的下限。The unit for determining the upper and lower limits of the interval prediction is used to set the upper quantile point as the upper limit of the interval prediction and the lower quantile point as the lower limit of the interval prediction.

可选的,所述预测模块具体包括:Optionally, the prediction module specifically includes:

90%置信区间下区间预测结果单元,用于通过将90%置信区间下的上下分位点加减到修正的风速预测结果上,得到90%置信区间下的风速区间预测结果;The interval prediction result unit under the 90% confidence interval is used to obtain the wind speed interval prediction result under the 90% confidence interval by adding and subtracting the upper and lower quantiles under the 90% confidence interval to the corrected wind speed prediction result;

98%置信区间下区间预测结果单元,用于通过将98%置信区间下的上下分位点加减到修正的风速预测结果上,得到98%置信区间下的风速区间预测结果。The 98% confidence interval lower interval prediction result unit is used to obtain the wind speed interval prediction result under the 98% confidence interval by adding and subtracting the upper and lower quantiles under the 98% confidence interval to the corrected wind speed prediction result.

与现有技术相比,本发明具有以下技术效果:Compared with the existing technology, the present invention has the following technical effects:

本发明的风速预测方法及系统为基于Lorenz系统的风速区间预测过程。首先,采用信号分解技术VMD来进行降噪过程,其次,用长短时神经网络对降噪处理后的数据进行预测,然后,引入风速梯度,对初步预测结果进行修正,得到修正的风速预测结果,在此基础上,再引入洛伦兹扰动理论描述大气动力系统,求解Lorenz方程得到LDS,采用B样条插值拟合LDS的分布,通过固定拟合函数的不同置信区间,得到区间预测的上限和下限。本发明考虑大气动力系统对风速的影响作用,提出的风速区间预测方法有效提高了短期风速预测模型的精度和预测结果的可靠性。The wind speed prediction method and system of the present invention are wind speed interval prediction processes based on the Lorenz system. First, the signal decomposition technology VMD is used to perform the noise reduction process. Secondly, the long-short-term neural network is used to predict the noise-reduced data. Then, the wind speed gradient is introduced to correct the preliminary prediction results and obtain the revised wind speed prediction results. On this basis, the Lorenz perturbation theory is introduced to describe the atmospheric dynamic system, the Lorenz equation is solved to obtain the LDS, and B-spline interpolation is used to fit the distribution of the LDS. By fixing different confidence intervals of the fitting function, the upper limit and sum of the interval predictions are obtained. lower limit. This invention considers the influence of the atmospheric dynamic system on wind speed, and proposes a wind speed interval prediction method that effectively improves the accuracy of the short-term wind speed prediction model and the reliability of the prediction results.

附图说明Description of the drawings

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

图1为本发明实施例1基于Lorenz系统的风速区间预测方法的流程图;Figure 1 is a flow chart of the wind speed interval prediction method based on the Lorenz system in Embodiment 1 of the present invention;

图2为本发明实施例2提供的预测方法的流程图;Figure 2 is a flow chart of the prediction method provided by Embodiment 2 of the present invention;

图3为本发明实施例3提供的预测系统的结构框图;Figure 3 is a structural block diagram of a prediction system provided by Embodiment 3 of the present invention;

图4为本发明在数据集1上的6个单一模型的预测结果示意图;Figure 4 is a schematic diagram of the prediction results of six single models of the present invention on data set 1;

图5为本发明在数据集2上的6个单一模型的预测结果示意图;Figure 5 is a schematic diagram of the prediction results of six single models of the present invention on data set 2;

图6为本发明在数据集1上的修正后预测结果示意图;Figure 6 is a schematic diagram of the modified prediction results of the present invention on data set 1;

图7为本发明在数据集2上的修正后预测结果示意图;Figure 7 is a schematic diagram of the modified prediction results of the present invention on data set 2;

图8为本发明在数据集1上当置信区间为90%时的区间预测结果示意图;Figure 8 is a schematic diagram of the interval prediction results of the present invention on data set 1 when the confidence interval is 90%;

图9为本发明在数据集1上当置信区间为98%时的区间预测结果示意图;Figure 9 is a schematic diagram of the interval prediction results of the present invention on data set 1 when the confidence interval is 98%;

图10为本发明在数据集2上当置信区间为90%时的区间预测结果示意图;Figure 10 is a schematic diagram of the interval prediction results of the present invention on data set 2 when the confidence interval is 90%;

图11为本发明在数据集2上当置信区间为98%时的区间预测结果示意图。Figure 11 is a schematic diagram of the interval prediction results of the present invention on data set 2 when the confidence interval is 98%.

具体实施方式Detailed ways

下面将结合本发明实施例中的附图,对本发明实施例中的技术方案进行清楚、完整地描述,显然,所描述的实施例仅仅是本发明一部分实施例,而不是全部的实施例。基于本发明中的实施例,本领域普通技术人员在没有做出创造性劳动前提下所获得的所有其他实施例,都属于本发明保护的范围。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 are only some of the embodiments of the present invention, rather than all the embodiments. Based on the embodiments of the present invention, all other embodiments obtained by those of ordinary skill in the art without creative efforts fall within the scope of protection of the present invention.

为使本发明的上述目的、特征和优点能够更加明显易懂,下面结合附图和具体实施方式对本发明作进一步详细的说明。In order to make the above objects, features and advantages of the present invention more obvious and understandable, the present invention will be described in further detail below with reference to the accompanying drawings and specific embodiments.

图1为本发明风速区间预测方法的流程示意图。如图1所示,基于Lorenz系统的风速区间预测方法包括以下步骤:Figure 1 is a schematic flow chart of the wind speed interval prediction method of the present invention. As shown in Figure 1, the wind speed interval prediction method based on the Lorenz system includes the following steps:

步骤11:获取原始风速序列,对所述风速序列进行变分模态分解,获取去噪序列和噪声余项。Step 11: Obtain the original wind speed sequence, perform variational mode decomposition on the wind speed sequence, and obtain the denoised sequence and noise remainder.

目前,VMD可以滤除具有频率特性的序列,留下一个杂乱的噪声部分。在本发明中,利用信号处理方法变分模态分解法对风速进行分解再重构,进行去噪,得到去噪序列和噪声余项。具体步骤如下:Currently, VMD can filter out sequences with frequency characteristics, leaving a cluttered noise part. In the present invention, the signal processing method variational mode decomposition method is used to decompose and reconstruct the wind speed, and perform denoising to obtain the denoising sequence and the noise remainder. Specific steps are as follows:

步骤111:所述去噪序列构造当前模态数下的约束变分模型:首先,对于每一个模态分量(AK(t)和/>分别表示uk(t)的瞬时幅值和瞬时相位,/>是非减函数,t为采样时间),通过Hilbert变换得到其解析信号;之后,对各解析信号预估中心频率,将各解析信号的频谱变换到基频带上;最后,利用频移信号的高斯平滑指标估计各模态分量的带宽,构造如式(1)所示的约束变分模型。Step 111: The denoising sequence constructs a constrained variational model under the current modal number: first, for each modal component (A K (t) and/> Represent the instantaneous amplitude and instantaneous phase of u k (t) respectively,/> is a non-decreasing function, t is the sampling time), and its analytical signal is obtained through Hilbert transform; then, the center frequency of each analytical signal is estimated, and the spectrum of each analytical signal is transformed to the base frequency band; finally, Gaussian smoothing of the frequency-shifted signal is used The index estimates the bandwidth of each modal component and constructs a constrained variational model as shown in Equation (1).

式中,为分量信号uk(t)的中心频率,/>表示对函数求t的偏导数,j2=-1,x(t)为去噪序列。In the formula, is the center frequency of the component signal u k (t),/> It means finding the partial derivative of t for the function, j 2 =-1, and x(t) is the denoising sequence.

步骤112:引入二次惩罚因子α和Lagrange乘法算子λ(t),将约束性问题变为非约束性问题,扩展的Lagrange表达式如下:Step 112: Introduce the quadratic penalty factor α and the Lagrange multiplication operator λ(t) to change the constrained problem into a non-constrained problem. The extended Lagrange expression is as follows:

步骤113:经过傅里叶等距变换等过程得到式(3),实现信号的自适应分解。Step 113: Obtain equation (3) through Fourier isometric transform and other processes to achieve adaptive decomposition of the signal.

其中,分别是/>λ(t),x(t)的傅里叶变换。中心频率由以下公式更新:in, They are/> λ(t), Fourier transform of x(t). The center frequency is updated by the following formula:

步骤114:迭代更新,直至收敛满足以下条件:Step 114: Iteratively update until convergence meets the following conditions:

步骤12:建立长短时神经网络预测模型,对所述去噪序列进行初步预测,获取初步预测结果。Step 12: Establish a long-term and short-term neural network prediction model, conduct preliminary predictions on the denoised sequence, and obtain preliminary prediction results.

随着深度学习技术的不断发展,时间序列的概念被应用在循环神经网络(RNN)的结构设计中。因此,RNN具有良好的时间序列分析能力。而长短时神经网络作为一种改进的RNN,继承RNN对时序数据的分析能力,弥补了RNN在长期记忆方面的不足。由于长短时神经网络模型可以有效地保持较长时间的记忆,在风速预测领域也取得一定成果。With the continuous development of deep learning technology, the concept of time series is applied in the structural design of recurrent neural network (RNN). Therefore, RNN has good time series analysis capabilities. As an improved RNN, the long-short-term neural network inherits RNN's ability to analyze time series data and makes up for RNN's shortcomings in long-term memory. Since the long-short-term neural network model can effectively maintain a long-term memory, it has also achieved certain results in the field of wind speed prediction.

步骤121:将去噪的风速序列按照9∶1分为训练集和测试集,前90%的数据作为训练集,后10%的数据作为测试集;Step 121: Divide the denoised wind speed sequence into a training set and a test set according to 9:1, with the first 90% of the data as the training set and the last 10% of the data as the test set;

步骤122:确定长短时神经网络的结构,输入层神经元个数为3,隐含层神经元个数为5,输出层神经元个数为1;Step 122: Determine the structure of the long-term and short-term neural network. The number of input layer neurons is 3, the number of hidden layer neurons is 5, and the number of output layer neurons is 1;

步骤123:将训练集和测试集的数据分别按照公式(6)来构造输入矩阵,Step 123: Use the data of the training set and the test set to construct the input matrix according to formula (6),

v1,v2,v3...表示第1,2,3...个风速值;v 1 , v 2 , v 3 ... represent the 1st, 2nd, 3rd... wind speed values;

步骤124:将构造好的训练集输入矩阵按行输入到长短时神经网络中,对长短时神经网络进行训练,再将构造好的测试集输入矩阵按行输入到训练好的长短时神经网络中,获取风速初步预测结果。Step 124: Input the constructed training set input matrix into the long and short-term neural network by rows, train the long and short-term neural network, and then input the constructed test set input matrix into the trained long and short-term neural network by rows. , to obtain preliminary prediction results of wind speed.

步骤13:通过定义风速爬坡事件和风速爬坡率,对初步预测结果进行修正,获取修正的风速预测结果,具体包括:Step 13: Modify the preliminary forecast results by defining wind speed ramp events and wind speed ramp rates to obtain revised wind speed forecast results, including:

步骤131:根据公式7定义风速爬坡事件,Step 131: Define the wind speed ramp event according to Equation 7,

|v(t0t)-v(t0)|/Δt>vval (7)|v(t 0t )-v(t 0 )|/Δ t >v val (7)

v(t0)为t0时刻的风速值,Δt是时间间隔,vval是风速爬坡的阈值;v(t 0 ) is the wind speed value at time t 0 , Δ t is the time interval, and v val is the threshold value of wind speed ramp;

步骤132:根据公式8定义风速梯度,Step 132: Define the wind speed gradient according to Equation 8,

k(i)=(v(i)-v(i-1))/imterval (8)k(i)=(v(i)-v(i-1))/imterval (8)

v(i)是第i个风速值,interval是时间间隔;v(i) is the i-th wind speed value, interval is the time interval;

步骤133:判断第i或i-1个风速值是否大于风速爬坡阈值WRRval,即判断公式9或公式10是否成立,Step 133: Determine whether the i-th or i-1 wind speed value is greater than the wind speed climbing threshold WRR val , that is, determine whether Formula 9 or Formula 10 is true.

|k(i-1)|>WRRval (9)|k(i-1)|>WRR val (9)

|k(i)|>WRRval (10)|k(i)|>WRR val (10)

若成立,风速爬坡修正转化为一个多目标优化问题,当正向爬坡增加到一定程度超过正向阈值WRRup,即公式11,If established, the wind speed climb correction is transformed into a multi-objective optimization problem. When the forward slope increases to a certain extent and exceeds the forward threshold WRR up , that is, Formula 11,

或负向爬坡减小到一定程度超过负向阈值WRRdown,即公式12,Or the negative climb is reduced to a certain extent and exceeds the negative threshold WRR down , that is, Formula 12,

按照公式13对下一时刻的风速预测值进行修正,Correct the wind speed prediction value at the next moment according to Equation 13,

代表风速爬坡修正前的风速预测值,/>代表风速爬坡修正后的风速预测值; Represents the wind speed prediction value before wind speed ramp correction,/> Represents the wind speed prediction value after wind speed ramp correction;

步骤134:若公式9和公式10均不成立,不对该时刻的风速预测值进行修正,即修正前后保持不变。Step 134: If neither Formula 9 nor Formula 10 holds true, the wind speed prediction value at this time will not be revised, that is, it will remain unchanged before and after the correction.

步骤135:对于三个阈值的确定,用粒子群算法(PSO);Step 135: For the determination of the three thresholds, use the particle swarm algorithm (PSO);

PSO最早是由Eberhart和Kennedy于1995年提出,它的基本概念源于对鸟群觅食行为的研究。用一种粒子来模拟上述的鸟类个体,每个粒子可视为N维搜索空间中的一个搜索个体,粒子的当前位置即为对应优化问题的一个候选解,粒子的飞行过程即为该个体的搜索过程.粒子的飞行速度可根据粒子历史最优位置和种群历史最优位置进行动态调整.粒子仅具有两个属性:速度和位置,速度代表移动的快慢,位置代表移动的方向。每个粒子单独搜寻的最优解叫做个体极值,粒子群中最优的个体极值作为当前全局最优解。不断迭代,更新速度和位置。最终得到满足终止条件的最优解。PSO was first proposed by Eberhart and Kennedy in 1995. Its basic concept originated from the study of bird foraging behavior. Use a particle to simulate the above-mentioned individual bird. Each particle can be regarded as a search individual in the N-dimensional search space. The current position of the particle is a candidate solution to the corresponding optimization problem, and the flight process of the particle is the individual. The search process. The flight speed of particles can be dynamically adjusted according to the historical optimal position of the particle and the historical optimal position of the population. The particle has only two attributes: speed and position. Speed represents the speed of movement, and position represents the direction of movement. The optimal solution that each particle searches for individually is called the individual extreme value, and the best individual extreme value in the particle swarm is regarded as the current global optimal solution. Continuously iterate, updating speed and position. Finally, the optimal solution that satisfies the termination condition is obtained.

步骤1351:初始化,首先设置最大迭代次数为5次,目标函数的自变量个数为3个WRRup,WRRdown,和WRRval,粒子的最大速度为1.5,学习因子为1,位置信息为整个搜索空间,我们在速度区间和搜索空间上随机初始化速度和位置,设置粒子群规模为10,每个粒子随机初始化一个飞翔速度。Step 1351: Initialization, first set the maximum number of iterations to 5, the number of independent variables of the objective function to 3 WRR up , WRR down , and WRR val , the maximum speed of the particles to 1.5, the learning factor to 1, and the position information to the entire In the search space, we randomly initialize the speed and position in the speed interval and search space, set the particle swarm size to 10, and randomly initialize a flying speed for each particle.

步骤1352:求解个体极值与全局最优解,定义目标函数为预测风速与真实风速之间的均方根误差,个体极值为每个粒子找到的最优解(pbest),从这些最优解找到一个全局值(gbest),叫做本次全局最优解。与历史全局最优比较,进行更新。Step 1352: Solve the individual extreme value and the global optimal solution. Define the objective function as the root mean square error between the predicted wind speed and the real wind speed. The individual extreme value is the optimal solution (pbest) found for each particle. From these optimal The solution finds a global value (gbest), which is called the global optimal solution. Compare with the historical global optimal and update.

步骤1353:根据公式14和15更新速度和位置,Step 1353: Update velocity and position according to Equations 14 and 15,

vi=vi+c1×rand()×(pbesti-xi)+c2×rand()×(gbesti-xi) (14)v i =v i +c 1 ×rand()×(pbest i -x i )+c 2 ×rand()×(gbest i -x i ) (14)

xi=vi+xi (15)x i =v i +x i (15)

i=1,2,...N,N是粒子的总个数,vi是粒子的速度,rand()是介于(0,1)之间的随机数,xi是粒子当前的位置,c1,c2是学习因子;i=1, 2,...N, N is the total number of particles, vi is the speed of the particle, rand() is a random number between (0, 1), x i is the current position of the particle , c 1 , c 2 are learning factors;

步骤1354:终止条件为达到设定迭代次数或代数之间的差值满足最小界限1e10-8;Step 1354: The termination condition is that the set number of iterations or the difference between the algebras meets the minimum limit 1e10-8;

步骤14:通过Lorenz方程描述大气动力系统对风速的影响,并得到LDS。Step 14: Use the Lorenz equation to describe the impact of the atmospheric dynamic system on the wind speed and obtain the LDS.

1963年,气象学家爱德华洛伦茨从确定的方程(后来被称为洛伦兹方程)中计算出了非周期现象。洛伦兹系统是数值实验中发现的最早的混沌运动耗散系统。它的状态方程(洛伦兹方程)是天气预报的简化模型。具体步骤如下:In 1963, meteorologist Edward Lorenz calculated aperiodic phenomena from a deterministic equation (later known as the Lorenz equation). The Lorentz system is the earliest chaotic motion dissipative system discovered in numerical experiments. Its equation of state (Lorentz equation) is a simplified model of weather forecasting. Specific steps are as follows:

步骤141:建立Lorenz方程如公式14,设定参数σ=10,b=8/3,r=28,初始值为(0,1,1),获取三维LDS;Step 141: Establish the Lorenz equation as shown in Equation 14, set the parameters σ = 10, b = 8/3, r = 28, the initial value is (0, 1, 1), and obtain the three-dimensional LDS;

步骤142:根据切比雪夫距离公式,将三维的LDS进行降维处理,转化为一维的LDS;Step 142: According to the Chebyshev distance formula, perform dimensionality reduction processing on the three-dimensional LDS and convert it into a one-dimensional LDS;

d(Cn-C0)=max(|xn-x0|,|yn-y0|,|zn-z0|) (17)d(C n -C 0 )=max(|x n -x 0 |, |y n -y 0 |, |z n -z 0 |) (17)

步骤15:通过B样条插值法对LDS进行拟合,并对拟合结果固定置信区间,获取风速扰动区间的上限和下限。Step 15: Fit the LDS through B-spline interpolation method, fix the confidence interval for the fitting result, and obtain the upper and lower limits of the wind speed disturbance interval.

步骤151:对LDS绘制频率直方图,设定频率直方图的区间个数为25;Step 151: Draw a frequency histogram for LDS, and set the number of intervals in the frequency histogram to 25;

步骤152:用B样条插值法对频率直方图进行拟合,获取拟合函数;Step 152: Use B-spline interpolation method to fit the frequency histogram and obtain the fitting function;

步骤153:设定置信区间,根据拟合函数得到置信上限和置信下限,置信上限取正值,置信下限取负值,获取风速扰动区间的上限和下限;Step 153: Set the confidence interval, and obtain the upper and lower confidence limits based on the fitting function. The upper confidence limit takes a positive value and the lower confidence limit takes a negative value to obtain the upper and lower limits of the wind speed disturbance interval;

步骤16:将修正的风速预测结果和风速扰动区间进行求和,获取风速的区间预测结果。Step 16: Sum the corrected wind speed prediction results and wind speed disturbance intervals to obtain the wind speed interval prediction results.

步骤161:将修正的风速预测结果加上扰动区间上限,获取风速区间预测的上限;Step 161: Add the revised wind speed prediction result to the upper limit of the disturbance interval to obtain the upper limit of the wind speed interval prediction;

步骤162:将修正的风速预测结果减去扰动区间下限,获取风速区间预测的下限Step 162: Subtract the lower limit of the disturbance interval from the revised wind speed prediction result to obtain the lower limit of the wind speed interval prediction.

为了验证本发明方法对实际风电场的风速数据具有很好的预测性能,采用西班牙加利西亚的Sotavento风电场的风速进行数据仿真实验,图2为本实施例提供的预测方法的流程图。如图2所示,所述具体过程包括:In order to verify that the method of the present invention has good prediction performance for wind speed data of actual wind farms, the wind speed of the Sotavento wind farm in Galicia, Spain, was used to conduct data simulation experiments. Figure 2 is a flow chart of the prediction method provided in this embodiment. As shown in Figure 2, the specific process includes:

步骤21:获取原始风速序列Step 21: Obtain the original wind speed sequence

为更好的验证本发明提出方法的预测能力,本实施例选取西班牙加利西亚一座海滨风电场的2个数据集建立了预测模型。数据集1的时间为2018年9月1日00:00至2018年9月7日22:40。第二个数据集的时间为2019年3月9日08:00至2019年3月16日06:30。它们代表了不同季节的风速,时间间隔为10分钟,数据集1中有1000个风速,数据集2中有996个风速。由于数据集2中有四个分散的空缺,我们使用公式(18)所示的线性插值来完成它们。In order to better verify the prediction ability of the method proposed in the present invention, this embodiment selects two data sets from a seaside wind farm in Galicia, Spain to establish a prediction model. The time of data set 1 is from 00:00 on September 1, 2018 to 22:40 on September 7, 2018. The time of the second data set is from 08:00 on March 9, 2019 to 06:30 on March 16, 2019. They represent wind speeds in different seasons with time intervals of 10 minutes, with 1000 wind speeds in Dataset 1 and 996 wind speeds in Dataset 2. Since there are four scattered vacancies in Dataset 2, we use linear interpolation as shown in Equation (18) to complete them.

xt表示第t个时刻,yt表示该时刻对应的风速值,x表示介于xt和xt+i之间的任意时刻,y是其对应的未知的风速值。x t represents the t-th moment, y t represents the wind speed value corresponding to that moment, x represents any moment between x t and x t+i , and y is its corresponding unknown wind speed value.

对于每个数据集,前900个数据(整个数据的90%)用作训练集,后100个数据用作测试集。也就是说,预测时段是16小时30分钟。For each data set, the first 900 data (90% of the entire data) are used as the training set, and the last 100 data are used as the test set. In other words, the forecast period is 16 hours and 30 minutes.

步骤22:定义误差指标Step 22: Define error metrics

对于确定性预测,本文选取最常用的均方误差(MSE)、平均绝对误差(MAE)、均方根误差(RMSE)和平均绝对百分比误差(MAPE)进行评价。他们的计算公式如下所示。For deterministic prediction, this article selects the most commonly used mean square error (MSE), mean absolute error (MAE), root mean square error (RMSE) and mean absolute percentage error (MAPE) for evaluation. Their calculation formula is shown below.

yt表示t时刻真实风速,表示t时刻预测风速。y t represents the true wind speed at time t, Indicates the predicted wind speed at time t.

对于区间预测,应同时考虑区间覆盖率(包含实际风速的区间数之比)和平均区间直径两个方面。因此,定义公式(23)和公式(24)分别描述区间覆盖率和平均区间直径。For interval prediction, both interval coverage (ratio of the number of intervals containing actual wind speed) and average interval diameter should be considered. Therefore, formula (23) and formula (24) are defined to describe the interval coverage and average interval diameter respectively.

Nt表示第t个区间是否覆盖了第t个真实风速值,如果Nt=1,表示第t个真实风速被覆盖了,如果Nt=0,表示第t个真实风速没有被覆盖,Rcover表示区间覆盖率,daverage表示平均区间直径。显然,覆盖率越高,平均直径越小,区间预测的效果越好,这说明预测区间较小时预测精度仍然较高。N t indicates whether the t-th interval covers the t-th true wind speed value. If N t =1, it means that the t-th true wind speed is covered. If N t =0, it means that the t-th true wind speed is not covered. R cover represents the interval coverage, and d average represents the average interval diameter. Obviously, the higher the coverage rate, the smaller the average diameter, and the better the interval prediction effect, which shows that the prediction accuracy is still high when the prediction interval is small.

步骤23:确定性预测结果与讨论Step 23: Deterministic prediction results and discussion

步骤231:首先,比较了自回归滑动平均模型(ARMA)、支持向量机(SVM)、梯度提升决策树(GBDT)、极端梯度提升树(XGBoost)、后向传播神经网络(BP)和LSTM共6种单风速预测模型的预测结果,并计算了两个数据集上的误差,如表1和表2所示。Step 231: First, compare the autoregressive moving average model (ARMA), support vector machine (SVM), gradient boosting decision tree (GBDT), extreme gradient boosting tree (XGBoost), backpropagation neural network (BP) and LSTM. The prediction results of six single wind speed prediction models and the errors on the two data sets were calculated, as shown in Tables 1 and 2.

步骤232:确定各个模型的参数。根据最小信息准则(AIC)确定ARMA的自相关系数参数p和偏自相关系数参数q。选择最常用的径向基函数作为SVM的核心函数。分别通过最小化MAE得到GBDT和XGBOOST的学习率和训练集数,两个模型的提升树数均设置为100。BP的结构为三层,节点数为3-30-1,LSTM也设置为三层,节点数为3-5-1。本文在LSTM中设置的隐藏层节点数小于BP,因为太多的节点会增加计算时间,尤其是对于LSTM(在我们的编程环境中,当使用六个节点时,会消耗一分钟以上的时间),这将大大增加整个模型的计算时间),而且,即使LSTM的隐藏层节点较少,其预测性能仍优于BP。Step 232: Determine the parameters of each model. The autocorrelation coefficient parameter p and partial autocorrelation coefficient parameter q of ARMA are determined according to the minimum information criterion (AIC). The most commonly used radial basis function is selected as the core function of SVM. The learning rate and number of training sets of GBDT and XGBOOST were obtained by minimizing MAE respectively, and the number of boosting trees for both models was set to 100. The structure of BP is three layers, and the number of nodes is 3-30-1. LSTM is also set to three layers, and the number of nodes is 3-5-1. This article sets the number of hidden layer nodes in LSTM to be smaller than BP, because too many nodes will increase the calculation time, especially for LSTM (in our programming environment, when using six nodes, it will consume more than one minute) , which will greatly increase the calculation time of the entire model), and even if LSTM has fewer hidden layer nodes, its prediction performance is still better than BP.

表1 数据集1上的单一模型预测误差Table 1 Single model prediction error on data set 1

表2 数据集2上的单一模型预测误差Table 2 Single model prediction error on data set 2

步骤233:表格计算结果分析。从表1和表2可以看出,LSTM神经网络的所有误差指标在任何数据集上都是最小的。从表1可以看出,GBDT的误差最大。与GBDT相比,LSTM的MSE降低了69.83%,MAE降低了46.78%,RMSE降低了45.08%,MAPE降低了53.85%。换句话说,在常用的单一预测模型中,LSTM具有最高的预测精度。由表2可知,支持向量机的误差最大。与SVM相比,LSTM的MSE降低了84.63%,MAE降低了61.09%,RMSE降低了60.79%,MAPE降低了67.47%。也就是说,与基准预测模型相比,LSTM具有最高的预测精度。Step 233: Analysis of table calculation results. As can be seen from Table 1 and Table 2, all error indicators of the LSTM neural network are the smallest on any data set. As can be seen from Table 1, GBDT has the largest error. Compared with GBDT, the MSE of LSTM is reduced by 69.83%, MAE is reduced by 46.78%, RMSE is reduced by 45.08%, and MAPE is reduced by 53.85%. In other words, LSTM has the highest prediction accuracy among commonly used single prediction models. It can be seen from Table 2 that the support vector machine has the largest error. Compared with SVM, the MSE of LSTM is reduced by 84.63%, MAE is reduced by 61.09%, RMSE is reduced by 60.79%, and MAPE is reduced by 67.47%. That is, LSTM has the highest prediction accuracy compared to the baseline prediction model.

步骤234:六个模型在两个数据集上的预测结果分别如图4和图5所示。从图4和图5可以清楚地看出,LSTM的预测结果存在明显的一步滞后,因此我们对数据进行去噪,并根据WSR对预测结果进行修改,从而改进了LSTM。两个数据集的预测误差分别见表3和表4。Step 234: The prediction results of the six models on the two data sets are shown in Figure 4 and Figure 5 respectively. As can be clearly seen from Figures 4 and 5, there is an obvious one-step lag in the prediction results of LSTM, so we denoised the data and modified the prediction results based on WSR, thus improving the LSTM. The prediction errors of the two data sets are shown in Table 3 and Table 4 respectively.

表3 在数据集1上的修正后的预测误差对比Table 3 Comparison of corrected prediction errors on data set 1

表4 在数据集1上的修正后的预测误差对比Table 4 Comparison of corrected prediction errors on data set 1

在表4和表5中,对于不同的分解层数(lev)(两个表中lev为从2到5),我们对WD-LSTM实现的最小误差下加了下划线。对于不同的IMF个数(表4中的范围为4到8,表5中的范围为3到7),我们将VMD-LSTM所达到的最小误差进行了加粗。从这两个表可以看出,当WD分解层数为2时,WD-LSTM的误差达到最小。而且,在WSR校正之前,大多数的VMD-LSTM误差都小于WD-LSTM的最小误差。这充分证明了VMD的去噪效果比WD的去噪效果好得多。在这两个数据集上,通过WSR对预测结果进行修正后,各模型的误差都显著减小。减小比率在5%到30%之间。数据集1上的最小误差由VMD-LSTM-PSOR(IMF=6)获得,数据集2上的最小误差由VMD-LSTM-PSOR(IMF=4)获得。In Tables 4 and 5, we underline the minimum error achieved by WD-LSTM for different number of decomposition levels (lev) (lev is from 2 to 5 in both tables). For different numbers of IMFs (the range is 4 to 8 in Table 4 and the range is 3 to 7 in Table 5), we bold the minimum error achieved by VMD-LSTM. It can be seen from these two tables that when the number of WD decomposition layers is 2, the error of WD-LSTM reaches the minimum. Moreover, before WSR correction, most of the VMD-LSTM errors are smaller than the minimum error of WD-LSTM. This fully proves that the denoising effect of VMD is much better than that of WD. On these two data sets, after correcting the prediction results through WSR, the errors of each model were significantly reduced. The reduction ratio is between 5% and 30%. The minimum error on data set 1 is obtained by VMD-LSTM-PSOR (IMF=6), and the minimum error on data set 2 is obtained by VMD-LSTM-PSOR (IMF=4).

步骤235:修正后预测结果分析。图6和图7分别是数据集1当IMF=6和数据集2当IMF=4的LSTM、VMD-LSTM和VMD-LSTM-PSOR的预测结果。从这两幅图可以看出,代表LSTM预测结果的实线存在明显的一步滞后。经VMD预处理后,风速序列的波动减弱,风速曲线趋于平稳。最后,利用带粒子群优化的WSR对预测结果进行修正,使风场与实际风速曲线较为接近,代表VMD-LSTM-PSOR预测结果的线最接近表示实际风速的线。Step 235: Analysis of revised prediction results. Figures 6 and 7 are the prediction results of LSTM, VMD-LSTM and VMD-LSTM-PSOR for data set 1 when IMF=6 and data set 2 when IMF=4 respectively. As can be seen from these two figures, the solid line representing the LSTM prediction results has an obvious one-step lag. After VMD preprocessing, the fluctuations of the wind speed sequence are weakened and the wind speed curve becomes stable. Finally, WSR with particle swarm optimization is used to correct the prediction results so that the wind field is closer to the actual wind speed curve. The line representing the VMD-LSTM-PSOR prediction results is closest to the line representing the actual wind speed.

步骤24:区间预测结果与讨论Step 24: Interval prediction results and discussion

步骤241:分别用KDE和B样条插值拟合LDS。基于确定性预测结果,根据不同的置信区间,得到了风速的区间预测。覆盖率、平均直径和未覆盖点如表5所示。Step 241: Fit LDS using KDE and B-spline interpolation respectively. Based on the deterministic prediction results, interval predictions of wind speed were obtained according to different confidence intervals. The coverage, average diameter and uncovered points are shown in Table 5.

表5 区间预测结果分析Table 5 Analysis of interval prediction results

步骤242:区间预测结果分析。表5分别计算了90%置信区间和98%置信区间下不同拟合方法得到的区间预测结果。对于数据集1,一方面,对于90%置信区间,KDE和B样条插值的平均直径几乎相同(分别为1.5009m/s和1.5075m/s),但B样条的覆盖率比KDE高2%。B样条区间预测覆盖第2和第74个点,但KDE没有。对于98%的置信区间,情况类似。平均直径几乎相同,但B样条的覆盖率比KDE高3%。B样条区间预测包括三个点,即点第19、81和95个点,但KDE没有。结果表明,当置信区间相同,平均直径基本相同时,KDE对LDS的拟合效果不如B样条插值的拟合效果好,B样条插值的置信区间可以覆盖更多真实的风速点。另一方面,对于相同的拟合方法,置信区间越大,平均直径越大,这与统计学原理相一致,但不能导致更高的覆盖率。因为更高的置信区间意味着区间预测可能有更高的上限和更高的下限,覆盖范围也会改变(对于KDE拟合的LDS,90%的置信区间下覆盖了第19、81和85个点而98%的置信区间没有,相反地,98%的置信区间覆盖了点84而90%的置信区间下没有。这种情况与B样条插值拟合LDS相似)。这意味着,在不使用高置信区间的情况下,对LDS的拟合可以获得更高的覆盖率和更好的区间预测结果。Step 242: Analysis of interval prediction results. Table 5 calculates the interval prediction results obtained by different fitting methods under 90% confidence interval and 98% confidence interval respectively. For Dataset 1, on the one hand, the mean diameters of KDE and B-spline interpolation are almost the same for the 90% confidence interval (1.5009m/s and 1.5075m/s respectively), but the coverage of B-splines is 2 higher than that of KDE %. B-spline interval prediction covers the 2nd and 74th points, but KDE does not. The situation is similar for the 98% confidence interval. The average diameter is almost the same, but the coverage of B-spline is 3% higher than KDE. B-spline interval prediction includes three points, namely points 19, 81 and 95, but KDE does not. The results show that when the confidence intervals are the same and the average diameters are basically the same, the fitting effect of KDE on LDS is not as good as that of B-spline interpolation. The confidence interval of B-spline interpolation can cover more real wind speed points. On the other hand, for the same fitting method, the larger the confidence interval, the larger the average diameter, which is consistent with statistical principles but cannot lead to higher coverage. Because a higher confidence interval means that the interval prediction may have a higher upper limit and a higher lower limit, the coverage will also change (for the KDE-fitted LDS, the 19th, 81st, and 85th are covered at the 90% confidence interval point and the 98% confidence interval does not. Conversely, the 98% confidence interval covers point 84 but the 90% confidence interval does not. This situation is similar to B-spline interpolation fitting LDS). This means that fitting LDS can achieve higher coverage and better interval prediction results without using high confidence intervals.

步骤243:我们在两个数据集上绘制了区间预测的结果,分别如图8,图9,图10,图11所示。图8和图10绘制了90%置信区间下的区间预测结果,图9和图11绘制了98%置信区间下的区间预测结果。区间预测的结果覆盖了大部分实际风速点,表明基于LDS的风速区间预测是有效的,用B样条插值拟合LDS得到的预测结果优于KDE拟合的LDS,后者是一种更加有效的方法,和表5所示的一致。Step 243: We plotted the results of interval prediction on the two data sets, as shown in Figure 8, Figure 9, Figure 10, and Figure 11 respectively. Figures 8 and 10 plot the interval prediction results with a 90% confidence interval, and Figures 9 and 11 plot the interval prediction results with a 98% confidence interval. The interval prediction results cover most of the actual wind speed points, indicating that the wind speed interval prediction based on LDS is effective. The prediction results obtained by fitting LDS with B-spline interpolation are better than the LDS fitted by KDE. The latter is a more effective method. The method is consistent with that shown in Table 5.

图3为本发明风速预测系统的结构示意图。如图3所示,所述预测系统包括:Figure 3 is a schematic structural diagram of the wind speed prediction system of the present invention. As shown in Figure 3, the prediction system includes:

风速数据获取和去噪模块31,用于获取原始风速序列;对所述风速序列进行变分模态分解,获取去噪序列和噪声余项。The wind speed data acquisition and denoising module 31 is used to obtain the original wind speed sequence; perform variational mode decomposition on the wind speed sequence to obtain the denoised sequence and noise remainder.

所述风速数据获取和去噪模块31具体包括:The wind speed data acquisition and denoising module 31 specifically includes:

获取原始风速数据;Get raw wind speed data;

设定分解个数;在确定的分解个数下通过迭代计算包含所有模态的集合和他们的中心频率;获取风速信号的本征模态函数分量和噪声余项;Set the number of decompositions; iteratively calculate the set containing all modes and their center frequencies under the determined number of decompositions; obtain the intrinsic mode function components and noise remainder of the wind speed signal;

将风速信号的本征模态函数分量进行重构,获取去噪的风速序列。Reconstruct the intrinsic mode function components of the wind speed signal to obtain the denoised wind speed sequence.

风速数据初步预测模块32,用于建立长短时神经网络预测模型,对所述去噪序列进行初步预测,获取初步预测结果。The wind speed data preliminary prediction module 32 is used to establish a long- and short-term neural network prediction model, perform preliminary predictions on the denoised sequence, and obtain preliminary prediction results.

所述风速数据初步预测模块32,具体包括:The wind speed data preliminary prediction module 32 specifically includes:

将去噪的风速序列根据9∶1的比例划分为训练集和测试集;Divide the denoised wind speed sequence into a training set and a test set according to the ratio of 9:1;

设定长短时神经网络的网络结构,包括输入层神经元个数,隐含层神经元个数和输出层神经元个数;Set the network structure of the long-term and short-term neural network, including the number of input layer neurons, the number of hidden layer neurons and the number of output layer neurons;

通过将训练集输入长短时神经网络进行训练;Training is performed by inputting the training set into the long-short-term neural network;

将测试集输入训练好的长短时神经网络,获取风速的初步预测结果。Input the test set into the trained long-short-term neural network to obtain preliminary prediction results of wind speed.

基于风速爬坡的初步预测结果修正模块33,用于通过定义风速爬坡事件和风速爬坡率,对初步预测结果进行修正,获取修正的风速预测结果;The preliminary prediction result correction module 33 based on wind speed ramping is used to correct the preliminary prediction results by defining wind speed ramping events and wind speed ramping rates, and obtain revised wind speed prediction results;

所述基于风速爬坡的初步预测结果修正模块33,具体包括:The preliminary prediction result correction module 33 based on wind speed climbing specifically includes:

计算风速梯度;根据风速梯度引入风速爬坡的定义;Calculate the wind speed gradient; introduce the definition of wind speed ramp according to the wind speed gradient;

当梯度的绝对值大于阈值A,且当前时刻的正梯度增大超过正梯度阈值B或负梯度减小超过负梯度阈值C时,用当前时刻的误差修正下一时刻的风速预测值;When the absolute value of the gradient is greater than the threshold A, and the positive gradient at the current moment increases beyond the positive gradient threshold B or the negative gradient decreases beyond the negative gradient threshold C, the error at the current moment is used to correct the wind speed prediction value at the next moment;

对于阈值A,B和C,将其转化为一个多目标优化问题,以最小化均方根误差为目标,用PSO求解该优化问题。For the thresholds A, B and C, it is converted into a multi-objective optimization problem, with the goal of minimizing the root mean square error, and PSO is used to solve the optimization problem.

获取LDS模块34,用于通过Lorenz方程描述大气动力系统对风速的影响,并得到LDS。Obtain the LDS module 34, which is used to describe the influence of the atmospheric dynamic system on the wind speed through the Lorenz equation and obtain the LDS.

获取LDS模块34,具体包括:Obtain LDS module 34, including:

给定初始条件(0,1,1),求解Lorenz方程,获取三维LDS;Given the initial conditions (0, 1, 1), solve the Lorenz equation and obtain the three-dimensional LDS;

根据切比雪夫距离,将三维的LDS转化为一维的扰动序列。According to the Chebyshev distance, the three-dimensional LDS is converted into a one-dimensional perturbation sequence.

获取扰动上下限模块35,用于通过B样条插值法对LDS进行拟合,并对拟合结果固定置信区间,获取风速扰动区间的上限和下限。The module 35 for obtaining the upper and lower limits of the disturbance is used to fit the LDS through the B-spline interpolation method, fix the confidence interval for the fitting result, and obtain the upper and lower limits of the wind speed disturbance interval.

所述获取扰动上下限模块35,具体包括:The module 35 for obtaining the upper and lower limits of disturbance specifically includes:

通过B样条差值对LDS的分布进行拟合,获取B样条差值拟合函数;Fit the distribution of LDS through B-spline difference and obtain the B-spline difference fitting function;

分别固定置信区间为90%和98%,计算拟合函数的上下分位数点;Fix the confidence intervals at 90% and 98% respectively, and calculate the upper and lower quantile points of the fitting function;

将上分位点设定为区间预测的上限,将下分位点设定为区间预测的下限。The upper quantile is set as the upper limit of the interval prediction, and the lower quantile is set as the lower limit of the interval prediction.

预测模块36,用于将修正的风速预测结果和风速扰动区间进行求和,获取风速的区间预测结果。The prediction module 36 is used to sum the revised wind speed prediction result and the wind speed disturbance interval to obtain the interval prediction result of wind speed.

所述预测模块36,具体包括:The prediction module 36 specifically includes:

通过将90%置信区间下的上下分位点加减到修正的风速预测结果上,得到90%置信区间下的风速区间预测结果;By adding and subtracting the upper and lower quantiles under the 90% confidence interval to the corrected wind speed prediction result, the wind speed interval prediction result under the 90% confidence interval is obtained;

通过将98%置信区间下的上下分位点加减到修正的风速预测结果上,得到98%置信区间下的风速区间预测结果。By adding and subtracting the upper and lower quantiles under the 98% confidence interval to the corrected wind speed prediction result, the wind speed interval prediction result under the 98% confidence interval is obtained.

本说明书中各个实施例采用递进的方式描述,每个实施例重点说明的都是与其他实施例的不同之处,各个实施例之间相同相似部分互相参见即可。对于实施例公开的系统而言,由于其与实施例公开的方法相对应,所以描述的比较简单,相关之处参见方法部分说明即可。Each embodiment in this specification is described in a progressive manner. Each embodiment focuses on its differences from other embodiments. The same and similar parts between the various embodiments can be referred to each other. As for the system disclosed in the embodiment, since it corresponds to the method disclosed in the embodiment, the description is relatively simple. For relevant details, please refer to the description in the method section.

本文中应用了具体个例对本发明的原理及实施方式进行了阐述,以上实施例的说明只是用于帮助理解本发明的方法及其核心思想;同时,对于本领域的一般技术人员,依据本发明的思想,在具体实施方式及应用范围上均会有改变之处。综上所述,本说明书内容不应理解为对本发明的限制。This article uses specific examples to illustrate the principles and implementation methods of the present invention. The description of the above embodiments is only used to help understand the method and the core idea of the present invention; at the same time, for those of ordinary skill in the art, according to the present invention There will be changes in the specific implementation methods and application scope of the ideas. In summary, the contents of this description should not be construed as limitations of the present invention.

Claims (10)

1.一种基于风速特性的短期风速预测方法,其特征在于,所述预测方法包括:获取原始风速序列;对所述风速序列进行变分模态分解VMD,获取去噪序列和噪声余项;建立长短时神经网络预测模型LSTM,对所述去噪序列进行初步预测,获取初步预测结果;通过定义风速爬坡事件WSR和风速爬坡率,对初步预测结果进行修正,获取修正的风速预测结果;通过Lorenz方程描述大气动力系统对风速的影响,并得到Lorenz扰动序列LDS;通过B样条插值法对LDS进行拟合,并对拟合结果固定置信区间,获取风速扰动区间的上限和下限;将修正的风速预测结果和风速扰动区间进行求和,获取风速的区间预测结果;1. A short-term wind speed prediction method based on wind speed characteristics, characterized in that the prediction method includes: obtaining an original wind speed sequence; performing variational mode decomposition (VMD) on the wind speed sequence to obtain a denoised sequence and a noise remainder; Establish a long-short-term neural network prediction model LSTM to make preliminary predictions on the denoised sequence and obtain preliminary prediction results; by defining the wind speed climbing event WSR and wind speed climbing rate, the preliminary prediction results are corrected and the revised wind speed prediction results are obtained ; Describe the influence of the atmospheric dynamic system on wind speed through the Lorenz equation, and obtain the Lorenz disturbance sequence LDS; fit the LDS through the B-spline interpolation method, and fix the confidence interval of the fitting result to obtain the upper and lower limits of the wind speed disturbance interval; Sum the corrected wind speed prediction results and wind speed disturbance intervals to obtain the wind speed interval prediction results; 其中,所述获取去噪序列和噪声余项,具体包括:获取原始风速数据;设定分解个数;在确定的分解个数下通过迭代计算包含所有模态的集合和他们的中心频率;获取风速信号的本征模态函数分量和噪声余项;将风速信号的本征模态函数分量进行重构,获取去噪的风速序列;Wherein, obtaining the denoising sequence and noise remainder specifically includes: obtaining original wind speed data; setting the number of decompositions; iteratively calculating a set containing all modes and their center frequencies under the determined number of decompositions; obtaining The intrinsic mode function components and noise remainder of the wind speed signal; reconstruct the intrinsic mode function components of the wind speed signal to obtain the denoised wind speed sequence; 所述定义风速爬坡事件和风速爬坡率,对初步预测结果进行修正,获取修正的风速预测结果,具体包括:计算风速梯度;根据风速梯度引入风速爬坡的定义;当梯度的绝对值大于阈值1,且当前时刻的正梯度增大超过正梯度阈值2或负梯度减小超过负梯度阈值3时,用当前时刻的误差修正下一时刻的风速预测值;对于阈值1,阈值2和阈值3,将其转化为一个多目标优化问题,以最小化均方根误差为目标,用粒子群算法PSO求解该优化问题。The above-mentioned definition of wind speed climbing event and wind speed climbing rate is used to correct the preliminary prediction results and obtain the revised wind speed prediction results, which specifically includes: calculating the wind speed gradient; introducing the definition of wind speed climbing according to the wind speed gradient; when the absolute value of the gradient is greater than Threshold 1, and when the positive gradient at the current moment increases beyond the positive gradient threshold 2 or the negative gradient decreases beyond the negative gradient threshold 3, the error at the current moment is used to correct the wind speed prediction value at the next moment; for threshold 1, threshold 2 and threshold 3. Convert it into a multi-objective optimization problem, with the goal of minimizing the root mean square error, and use the particle swarm algorithm (PSO) to solve the optimization problem. 2.根据权利要求1所述的短期风速预测方法,其特征在于,所述建立长短时神经网络预测模型,对所述去噪序列进行初步预测,获取初步预测结果,具体过程包括:将去噪的风速序列根据9∶1的比例划分为训练集和测试集;设定长短时神经网络的网络结构,包括输入层神经元个数,隐含层神经元个数和输出层神经元个数;通过将训练集输入长短时神经网络进行训练;将测试集输入训练好的长短时神经网络,获取风速的初步预测结果。2. The short-term wind speed prediction method according to claim 1, characterized in that: establishing a long-term and short-term neural network prediction model, making preliminary predictions on the denoising sequence, and obtaining preliminary prediction results. The specific process includes: denoising The wind speed sequence is divided into a training set and a test set according to the ratio of 9:1; set the network structure of the long-term and short-term neural network, including the number of input layer neurons, the number of hidden layer neurons and the number of output layer neurons; The training set is input into the long and short-term neural network for training; the test set is input into the trained long and short-term neural network to obtain the preliminary prediction results of wind speed. 3.根据权利要求1所述的短期风速预测方法,其特征在于,通过Lorenz方程描述大气动力系统对风速的影响,并得到LDS,具体包括:给定初始条件(0,1,1),求解Lorenz方程,获取三维LDS;根据切比雪夫距离,将三维的LDS转化为一维的扰动序列。3. The short-term wind speed prediction method according to claim 1, characterized in that the influence of the atmospheric dynamic system on the wind speed is described through the Lorenz equation, and the LDS is obtained, which specifically includes: given the initial conditions (0, 1, 1), solving Lorenz equation, obtain three-dimensional LDS; according to the Chebyshev distance, the three-dimensional LDS is converted into a one-dimensional perturbation sequence. 4.根据权利要求1所述的短期风速预测方法,其特征在于,所述通过B样条插值法对LDS进行拟合,并对拟合结果固定置信区间,获取风速扰动区间的上限和下限,具体包括:通过B样条插值对LDS的分布进行拟合,获取B样条插值拟合函数;分别固定置信区间为90%和98%,计算拟合函数的上下分位数点;4. The short-term wind speed prediction method according to claim 1, characterized in that the LDS is fitted by B-spline interpolation method, and the confidence interval of the fitting result is fixed to obtain the upper limit and lower limit of the wind speed disturbance interval, Specifically, it includes: fitting the distribution of LDS through B-spline interpolation to obtain the B-spline interpolation fitting function; fixing the confidence intervals at 90% and 98% respectively, and calculating the upper and lower quantile points of the fitting function; 将上分位点设定为区间预测的上限,将下分位点设定为区间预测的下限。The upper quantile is set as the upper limit of the interval prediction, and the lower quantile is set as the lower limit of the interval prediction. 5.根据权利要求1所述的短期风速预测方法,其特征在于,所述将修正的风速预测结果和风速扰动区间进行求和,获取风速的区间预测结果,具体包括:通过将90%置信区间下的上下分位点加减到修正的风速预测结果上,得到90%置信区间下的风速区间预测结果;通过将98%置信区间下的上下分位点加减到修正的风速预测结果上,得到98%置信区间下的风速区间预测结果。5. The short-term wind speed prediction method according to claim 1, characterized in that the summing of the corrected wind speed prediction results and the wind speed disturbance interval to obtain the interval prediction result of the wind speed specifically includes: by adding a 90% confidence interval The upper and lower quantile points below are added and subtracted to the corrected wind speed prediction result to obtain the wind speed interval prediction result under the 90% confidence interval; by adding and subtracting the upper and lower quantile points under the 98% confidence interval to the corrected wind speed prediction result, The wind speed interval prediction results with 98% confidence interval are obtained. 6.一种短期风速预测系统,其特征在于,所述预测系统包括:风速数据获取和去噪模块,用于获取原始风速序列;对所述风速序列进行变分模态分解,获取去噪序列和噪声余项;风速数据初步预测模块,用于建立长短时神经网络预测模型,对所述去噪序列进行初步预测,获取初步预测结果;基于风速爬坡的初步预测结果修正模块,用于通过定义风速爬坡事件和风速爬坡率,对初步预测结果进行修正,获取修正的风速预测结果;获取LDS模块,用于通过Lorenz方程描述大气动力系统对风速的影响,并得到LDS;获取扰动上下限模块,用于通过B样条插值法对LDS进行拟合,并对拟合结果固定置信区间,获取风速扰动区间的上限和下限;预测模块,用于将修正的风速预测结果和风速扰动区间进行求和,获取风速的区间预测结果;6. A short-term wind speed prediction system, characterized in that the prediction system includes: a wind speed data acquisition and denoising module for obtaining the original wind speed sequence; performing variational mode decomposition on the wind speed sequence to obtain the denoising sequence and noise remainder; a wind speed data preliminary prediction module, used to establish a long and short-term neural network prediction model, perform preliminary predictions on the denoised sequence, and obtain preliminary prediction results; a preliminary prediction result correction module based on wind speed climbing, used to pass Define the wind speed ramp event and wind speed ramp rate, correct the preliminary prediction results, and obtain the revised wind speed prediction results; obtain the LDS module, which is used to describe the impact of the atmospheric dynamic system on the wind speed through the Lorenz equation, and obtain the LDS; obtain the disturbance upper The lower limit module is used to fit the LDS through the B-spline interpolation method, and fix the confidence interval of the fitting results to obtain the upper and lower limits of the wind speed disturbance interval; the prediction module is used to combine the revised wind speed prediction results and the wind speed disturbance interval Perform summation to obtain the interval prediction results of wind speed; 所述风速数据获取和去噪模块具体包括:获取本征模态分量单元,用于获取原始风速数据;设定分解个数;在确定的分解个数下通过迭代计算包含所有模态的集合和他们的中心频率;获取风速信号的本征模态函数分量和噪声余项;获取去噪风速序列单元,用于将风速信号的本征模态函数分量进行重构,获取去噪的风速序列;The wind speed data acquisition and denoising module specifically includes: obtaining the intrinsic modal component unit for obtaining the original wind speed data; setting the number of decompositions; and iteratively calculating the set sum containing all modes under the determined number of decompositions. Their center frequencies; obtain the eigenmodal function components and noise remainder of the wind speed signal; obtain the denoised wind speed sequence unit, which is used to reconstruct the eigenmodal function components of the wind speed signal and obtain the denoised wind speed sequence; 所述基于风速爬坡的初步预测结果修正模块,具体包括:定义风速爬坡单元,用于计算风速梯度;根据风速梯度引入风速爬坡的定义;定义修正方法单元,用于当梯度的绝对值大于阈值1,且当前时刻的正梯度增大超过正梯度阈值2或负梯度减小超过负梯度阈值3时,用当前时刻的误差修正下一时刻的风速预测值;求解阈值单元,用于对于阈值1,2和3,将其转化为一个多目标优化问题,以最小化均方根误差为目标,用PSO求解该优化问题。The preliminary prediction result correction module based on wind speed ramping specifically includes: defining a wind speed ramping unit for calculating the wind speed gradient; introducing the definition of wind speed ramping based on the wind speed gradient; defining a correction method unit for calculating the absolute value of the gradient is greater than the threshold 1, and the positive gradient at the current moment increases beyond the positive gradient threshold 2 or the negative gradient decreases beyond the negative gradient threshold 3, use the error at the current moment to correct the wind speed prediction value at the next moment; the threshold unit is used to solve Thresholds 1, 2 and 3, transform it into a multi-objective optimization problem, with the goal of minimizing the root mean square error, and use PSO to solve the optimization problem. 7.根据权利要求6所述的短期风速预测系统,其特征在于,所述风速数据初步预测模块,具体包括:划分划分分风速序列单元,用于将去噪的风速序列根据9∶1的比例划分为训练集和测试集;设定长短时神经网络的网络结构单元,用于包括输入层神经元个数,隐含层神经元个数和输出层神经元个数;训练模型单元,用于通过将训练集输入长短时神经网络进行训练;预测单元,用于将测试集输入训练好的长短时神经网络,获取风速的初步预测结果。7. The short-term wind speed prediction system according to claim 6, characterized in that the preliminary prediction module of wind speed data specifically includes: a dividing and dividing wind speed sequence unit for dividing the denoised wind speed sequence according to a ratio of 9:1. Divide it into a training set and a test set; set the network structural unit of the long-term and short-term neural network, which is used to include the number of input layer neurons, the number of hidden layer neurons and the number of output layer neurons; the training model unit is used to The training set is input into the long-term and short-term neural network for training; the prediction unit is used to input the test set into the trained long-term and short-term neural network to obtain preliminary prediction results of wind speed. 8.根据权利要求6所述的短期风速预测系统,其特征在于,所述获取LDS模块具体包括:获取三维LDS单元,用于给定初始条件(0,1,1),求解Lorenz方程,获取三维LDS;获取一维LDS单元,用于根据切比雪夫距离,将三维的LDS转化为一维的LDS。8. The short-term wind speed prediction system according to claim 6, characterized in that the obtaining LDS module specifically includes: obtaining a three-dimensional LDS unit for given initial conditions (0, 1, 1), solving the Lorenz equation, and obtaining Three-dimensional LDS; obtains one-dimensional LDS unit, which is used to convert three-dimensional LDS into one-dimensional LDS based on the Chebyshev distance. 9.根据权利要求6所述的短期风速预测系统,其特征在于,所述获取扰动上下限模块具体包括:拟合单元,用于通过B样条插值对LDS的分布进行拟合,获取B样条插值拟合函数;分位点计算单元,用于分别固定置信区间为90%和98%,计算拟合函数的上下分位数点;确定区间预测上下限单元,用于将上分位点设定为区间预测的上限,将下分位点设定为区间预测的下限。9. The short-term wind speed prediction system according to claim 6, characterized in that the module for obtaining the upper and lower limits of disturbance specifically includes: a fitting unit for fitting the distribution of LDS through B-spline interpolation and obtaining B samples. Bar interpolation fitting function; quantile point calculation unit, used to fix the confidence interval to 90% and 98% respectively, calculate the upper and lower quantile points of the fitting function; determine the upper and lower limit units of interval prediction, used to divide the upper quantile point Set as the upper limit of the interval prediction, and set the lower quantile as the lower limit of the interval prediction. 10.根据权利要求6所述的短期风速预测系统,其特征在于,所述预测模块具体包括:90%置信区间下区间预测结果单元,用于通过将90%置信区间下的上下分位点加减到修正的风速预测结果上,得到90%置信区间下的风速区间预测结果;98%置信区间下区间预测结果单元,用于通过将98%置信区间下的上下分位点加减到修正的风速预测结果上,得到98%置信区间下的风速区间预测结果。10. The short-term wind speed prediction system according to claim 6, wherein the prediction module specifically includes: a lower interval prediction result unit of the 90% confidence interval, which is used to add the upper and lower quantiles of the 90% confidence interval. Subtracted to the corrected wind speed prediction result, the wind speed interval prediction result under the 90% confidence interval is obtained; the interval prediction result unit under the 98% confidence interval is used to add and subtract the upper and lower quantiles under the 98% confidence interval to the corrected For the wind speed prediction results, the wind speed interval prediction results with a 98% confidence interval were obtained.
CN201910805484.XA 2019-08-29 2019-08-29 Wind speed interval prediction method and system based on Lorenz system Active CN110543929B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201910805484.XA CN110543929B (en) 2019-08-29 2019-08-29 Wind speed interval prediction method and system based on Lorenz system

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201910805484.XA CN110543929B (en) 2019-08-29 2019-08-29 Wind speed interval prediction method and system based on Lorenz system

Publications (2)

Publication Number Publication Date
CN110543929A CN110543929A (en) 2019-12-06
CN110543929B true CN110543929B (en) 2023-11-14

Family

ID=68712231

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201910805484.XA Active CN110543929B (en) 2019-08-29 2019-08-29 Wind speed interval prediction method and system based on Lorenz system

Country Status (1)

Country Link
CN (1) CN110543929B (en)

Families Citing this family (13)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN111950759B (en) * 2020-05-18 2024-06-21 武汉科技大学 A short-term wind speed forecasting method based on two-level decomposition, LSTM and AT
CN112132360A (en) * 2020-09-29 2020-12-25 中交建冀交高速公路投资发展有限公司 Wind speed short-time confidence interval prediction method and system based on LSTM and GMM
CN112183866A (en) * 2020-09-29 2021-01-05 中南大学 Short-term wind speed exceeding probability prediction method and system
CN112765544B (en) * 2020-12-30 2023-09-15 国网湖南省电力有限公司 Method for correcting and forecasting strong wind power under influence of typhoon of power transmission line
CN112785052B (en) * 2021-01-14 2022-04-19 吉林大学 Wind speed and direction prediction method based on particle filter algorithm
CN113516320B (en) * 2021-09-14 2021-12-10 国能日新科技股份有限公司 Wind speed correction and predicted wind speed optimization method and device based on multi-objective genetic algorithm
CN114814963B (en) * 2022-03-03 2023-03-21 吉林大学 A method for suppressing very low frequency noise of electromagnetic data in time domain based on B-spline extraction
CN115345387B (en) * 2022-10-18 2023-01-24 哈尔滨工业大学(深圳)(哈尔滨工业大学深圳科技创新研究院) Wind field wind speed prediction method and device and storage medium
CN115688588B (en) * 2022-11-04 2023-06-27 自然资源部第一海洋研究所 Sea surface temperature daily variation amplitude prediction method based on improved XGB method
CN117217421B (en) * 2023-11-07 2024-09-10 东北大学 Visual analysis method and system for auxiliary decision making of thick plate production plan
CN117725368B (en) * 2024-02-07 2024-05-31 浙江公路水运工程咨询集团有限公司 Highway slope displacement prediction method
CN118568571B (en) * 2024-07-31 2024-10-22 国网安徽省电力有限公司经济技术研究院 Photovoltaic power prediction method and device based on QTCN and random LSTM
CN119848801B (en) * 2025-03-18 2025-05-27 国网福建省电力有限公司营销服务中心 A time-sharing electricity decomposition method based on sensitivity analysis

Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101699518A (en) * 2009-10-30 2010-04-28 华南理工大学 Method for beautifying handwritten Chinese character based on trajectory analysis
US7831419B2 (en) * 2005-01-24 2010-11-09 Smith International, Inc. PDC drill bit with cutter design optimized with dynamic centerline analysis having an angular separation in imbalance forces of 180 degrees for maximum time
CN104794546A (en) * 2015-04-29 2015-07-22 武汉大学 Wind power climbing forecasting method based on deep confidence network classifying method
CN108154260A (en) * 2017-12-15 2018-06-12 南京信息工程大学 A kind of short-term wind power forecast method
CN108520269A (en) * 2018-03-10 2018-09-11 华北电力大学(保定) Wind speed prediction method and wind speed prediction system
CN108846508A (en) * 2018-05-30 2018-11-20 华北电力大学(保定) A kind of wind speed forecasting method and system based on atmospheric perturbation

Patent Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US7831419B2 (en) * 2005-01-24 2010-11-09 Smith International, Inc. PDC drill bit with cutter design optimized with dynamic centerline analysis having an angular separation in imbalance forces of 180 degrees for maximum time
CN101699518A (en) * 2009-10-30 2010-04-28 华南理工大学 Method for beautifying handwritten Chinese character based on trajectory analysis
CN104794546A (en) * 2015-04-29 2015-07-22 武汉大学 Wind power climbing forecasting method based on deep confidence network classifying method
CN108154260A (en) * 2017-12-15 2018-06-12 南京信息工程大学 A kind of short-term wind power forecast method
CN108520269A (en) * 2018-03-10 2018-09-11 华北电力大学(保定) Wind speed prediction method and wind speed prediction system
CN108846508A (en) * 2018-05-30 2018-11-20 华北电力大学(保定) A kind of wind speed forecasting method and system based on atmospheric perturbation

Non-Patent Citations (1)

* Cited by examiner, † Cited by third party
Title
基于Lorenz扰动分布和VMD的神经网络风速预测研究;张亚刚 等;《华北电力大学学报》;20190731;第8-15页 *

Also Published As

Publication number Publication date
CN110543929A (en) 2019-12-06

Similar Documents

Publication Publication Date Title
CN110543929B (en) Wind speed interval prediction method and system based on Lorenz system
Zhang et al. Short-term forecasting and uncertainty analysis of wind turbine power based on long short-term memory network and Gaussian mixture model
CN110309603B (en) Short-term wind speed prediction method and system based on wind speed characteristics
CN110414045A (en) Short-term wind speed prediction method based on VMD-GRU
CN109146162B (en) A kind of probability wind speed forecasting method based on integrated Recognition with Recurrent Neural Network
CN103117546B (en) A kind of Ultrashort-term slide prediction method for wind power
CN111695601A (en) Photovoltaic power prediction method, device, equipment and readable storage medium
CN113988359A (en) Wind power prediction method and system based on asymmetric Laplace distribution
CN110766200A (en) Method for predicting generating power of wind turbine generator based on K-means mean clustering
CN110910004A (en) A method and system for extracting reservoir scheduling rules with multiple uncertainties
CN109255728B (en) Photovoltaic power generation power neural network prediction method based on optimal reconstruction of chaotic phase space
CN115049024B (en) Training method and device of wind speed prediction model, electronic equipment and storage medium
CN115275991A (en) Active power distribution network operation situation prediction method based on IEMD-TA-LSTM model
Li et al. Short-term prediction of the power of a new wind turbine based on IAO-LSTM
CN117592593A (en) Short-term power load prediction method based on improved quadratic modal decomposition and WOA optimization BILSTM-intent
CN110942170A (en) A method and system for short-term wind speed prediction based on information processing
CN111506868B (en) An ultra-short-term wind speed prediction method based on HHT weight optimization
CN115130743B (en) A wind turbine regulation rate prediction method and system based on variational inference
CN118586442A (en) New framework photovoltaic power prediction method and system, computer readable storage medium
CN106991285A (en) A kind of short-term wind speed multistep forecasting method and device
CN111476402A (en) Wind power generation capacity prediction method coupling meteorological information and EMD technology
CN110428100A (en) A kind of blower short-term power generation power prediction technique
CN115526376A (en) Generative Adversarial Network Ultra-short-term Wind Power Prediction Method Based on Multi-feature Fusion
Wang et al. Ultra-short-term wind power forecasting based on deep belief network
Sun et al. Short-term power load prediction based on VMD-SG-LSTM

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