CN109376937B - Self-adaptive scheduling end-of-term water level prediction method based on ensemble empirical mode decomposition - Google Patents
Self-adaptive scheduling end-of-term water level prediction method based on ensemble empirical mode decomposition Download PDFInfo
- Publication number
- CN109376937B CN109376937B CN201811291046.8A CN201811291046A CN109376937B CN 109376937 B CN109376937 B CN 109376937B CN 201811291046 A CN201811291046 A CN 201811291046A CN 109376937 B CN109376937 B CN 109376937B
- Authority
- CN
- China
- Prior art keywords
- water level
- period
- model
- forecasting
- forecast
- Prior art date
- Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
- Expired - Fee Related
Links
- XLYOFNOQVPJJNP-UHFFFAOYSA-N water Substances O XLYOFNOQVPJJNP-UHFFFAOYSA-N 0.000 title claims abstract description 110
- 238000000034 method Methods 0.000 title claims abstract description 39
- 238000000354 decomposition reaction Methods 0.000 title claims abstract description 28
- 230000003044 adaptive effect Effects 0.000 claims abstract description 21
- 238000005096 rolling process Methods 0.000 claims abstract description 8
- 230000000694 effects Effects 0.000 claims description 25
- 238000012549 training Methods 0.000 claims description 13
- 230000001419 dependent effect Effects 0.000 claims description 12
- 238000011156 evaluation Methods 0.000 claims description 8
- 238000013528 artificial neural network Methods 0.000 claims description 6
- 238000012360 testing method Methods 0.000 claims description 5
- 238000010219 correlation analysis Methods 0.000 claims description 4
- 230000001537 neural effect Effects 0.000 claims description 4
- 238000007781 pre-processing Methods 0.000 claims description 4
- 238000012795 verification Methods 0.000 claims description 4
- 238000013277 forecasting method Methods 0.000 abstract description 5
- 230000006641 stabilisation Effects 0.000 abstract 1
- 238000011105 stabilization Methods 0.000 abstract 1
- 238000012937 correction Methods 0.000 description 3
- 238000005457 optimization Methods 0.000 description 3
- 230000008569 process Effects 0.000 description 3
- 230000009286 beneficial effect Effects 0.000 description 2
- 230000008901 benefit Effects 0.000 description 2
- 238000010586 diagram Methods 0.000 description 2
- 238000009412 basement excavation Methods 0.000 description 1
- 235000000332 black box Nutrition 0.000 description 1
- 238000004364 calculation method Methods 0.000 description 1
- 230000008859 change Effects 0.000 description 1
- 238000012417 linear regression Methods 0.000 description 1
- 230000007246 mechanism Effects 0.000 description 1
- 238000012986 modification Methods 0.000 description 1
- 230000004048 modification Effects 0.000 description 1
- 238000012502 risk assessment Methods 0.000 description 1
- 238000012706 support-vector machine Methods 0.000 description 1
- 238000010200 validation analysis Methods 0.000 description 1
Images
Classifications
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06Q—INFORMATION AND COMMUNICATION TECHNOLOGY [ICT] SPECIALLY ADAPTED FOR ADMINISTRATIVE, COMMERCIAL, FINANCIAL, MANAGERIAL OR SUPERVISORY PURPOSES; SYSTEMS OR METHODS SPECIALLY ADAPTED FOR ADMINISTRATIVE, COMMERCIAL, FINANCIAL, MANAGERIAL OR SUPERVISORY PURPOSES, NOT OTHERWISE PROVIDED FOR
- G06Q10/00—Administration; Management
- G06Q10/04—Forecasting or optimisation specially adapted for administrative or management purposes, e.g. linear programming or "cutting stock problem"
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06N—COMPUTING ARRANGEMENTS BASED ON SPECIFIC COMPUTATIONAL MODELS
- G06N3/00—Computing arrangements based on biological models
- G06N3/02—Neural networks
- G06N3/04—Architecture, e.g. interconnection topology
- G06N3/045—Combinations of networks
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06N—COMPUTING ARRANGEMENTS BASED ON SPECIFIC COMPUTATIONAL MODELS
- G06N3/00—Computing arrangements based on biological models
- G06N3/02—Neural networks
- G06N3/08—Learning methods
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06Q—INFORMATION AND COMMUNICATION TECHNOLOGY [ICT] SPECIALLY ADAPTED FOR ADMINISTRATIVE, COMMERCIAL, FINANCIAL, MANAGERIAL OR SUPERVISORY PURPOSES; SYSTEMS OR METHODS SPECIALLY ADAPTED FOR ADMINISTRATIVE, COMMERCIAL, FINANCIAL, MANAGERIAL OR SUPERVISORY PURPOSES, NOT OTHERWISE PROVIDED FOR
- G06Q10/00—Administration; Management
- G06Q10/06—Resources, workflows, human or project management; Enterprise or organisation planning; Enterprise or organisation modelling
- G06Q10/063—Operations research, analysis or management
- G06Q10/0639—Performance analysis of employees; Performance analysis of enterprise or organisation operations
- G06Q10/06393—Score-carding, benchmarking or key performance indicator [KPI] analysis
Landscapes
- Engineering & Computer Science (AREA)
- Business, Economics & Management (AREA)
- Human Resources & Organizations (AREA)
- Theoretical Computer Science (AREA)
- Physics & Mathematics (AREA)
- General Physics & Mathematics (AREA)
- Strategic Management (AREA)
- Economics (AREA)
- Entrepreneurship & Innovation (AREA)
- Development Economics (AREA)
- Software Systems (AREA)
- Educational Administration (AREA)
- Computing Systems (AREA)
- General Engineering & Computer Science (AREA)
- General Health & Medical Sciences (AREA)
- Mathematical Physics (AREA)
- Evolutionary Computation (AREA)
- Data Mining & Analysis (AREA)
- Computational Linguistics (AREA)
- Biophysics (AREA)
- Biomedical Technology (AREA)
- Molecular Biology (AREA)
- Artificial Intelligence (AREA)
- Life Sciences & Earth Sciences (AREA)
- Game Theory and Decision Science (AREA)
- Health & Medical Sciences (AREA)
- Marketing (AREA)
- Operations Research (AREA)
- Quality & Reliability (AREA)
- Tourism & Hospitality (AREA)
- General Business, Economics & Management (AREA)
- Management, Administration, Business Operations System, And Electronic Commerce (AREA)
Abstract
Description
技术领域technical field
本发明涉及水库运行调度及水利信息化技术领域,尤其涉及一种基于自适应集合经验模态分解的调度期末水位预测方法。The invention relates to the technical field of reservoir operation scheduling and water conservancy informatization, in particular to a method for predicting the water level at the end of the scheduling period based on adaptive ensemble empirical mode decomposition.
背景技术Background technique
调度期末水位是水库调度的重要组成部分,调度期末水位预测对水库调度的余留效益、风险评估等都有重要的意义。水库调度期末水位具有趋势性、周期性和随机性,呈非稳态序列,同时该水位受气候变量、来水量多少、下垫面情况、调度决策者的调度方式等多因素影响,隐藏多种确定性的和不确定性的多层信息,故要准确的预报该水位,需要对多种影响因素进行深入挖掘。The water level at the end of the operation period is an important part of the reservoir operation, and the prediction of the water level at the end of the operation period is of great significance to the residual benefit and risk assessment of the reservoir operation. The water level at the end of the reservoir operation period has trend, periodicity and randomness, showing an unsteady sequence. At the same time, the water level is affected by many factors such as climate variables, the amount of water inflow, the conditions of the underlying surface, and the dispatching method of the dispatching decision maker. Deterministic and uncertain multi-layer information, so to accurately predict the water level, it is necessary to conduct in-depth excavation of various influencing factors.
当前,对调度期末水位预测方法较少,主要是通过预报径流量,调度规则推求调度期末的水位,或者通过不同的智能优化算法如人工神经网络、支持向量机、线性回归等进行自回归模型预测水位。然而这些智能优化算法是一个黑箱模型,对水位的非稳态识别比较困难,另外,由于这些智能优化算法忽略了水位过程中的水文物理机理,所以,对水位进行自相关分析,会导致预报过拟合,出现失真现象。At present, there are few methods for predicting the water level at the end of the dispatch period, mainly through forecasting runoff and dispatching rules to estimate the water level at the end of the dispatch period, or through different intelligent optimization algorithms such as artificial neural network, support vector machine, linear regression, etc. for autoregressive model prediction. water level. However, these intelligent optimization algorithms are a black-box model, and it is difficult to identify the unsteady state of the water level. In addition, because these intelligent optimization algorithms ignore the hydrological physical mechanism in the water level process, the autocorrelation analysis of the water level will lead to over-prediction. Fitting, there is a distortion phenomenon.
发明内容SUMMARY OF THE INVENTION
本发明的目的在于提供一种基于自适应集合经验模态分解的调度期末水位预测方法,从而解决现有技术中存在的前述问题。The purpose of the present invention is to provide a method for predicting the water level at the end of the dispatch period based on the adaptive ensemble empirical mode decomposition, so as to solve the aforementioned problems existing in the prior art.
为了实现上述目的,本发明采用的技术方案如下:In order to achieve the above object, the technical scheme adopted in the present invention is as follows:
一种基于集合经验模态分解的自适应调度期末水位预测方法,包括如下步骤:An adaptive scheduling end-of-period water level prediction method based on ensemble empirical mode decomposition, comprising the following steps:
S1,数据预处理:提取一列长度为L连续多调度周期的调度期末水位序列为自变量LS,利用调度初期的初水位L0、t时刻水位Lt和t时刻余留期间的来水量W组成因变量集合X=[L0,Lt,W];S1, data preprocessing: extract a sequence of water levels at the end of the scheduling period with a length of L continuous multi-scheduling periods as the independent variable L S , use the initial water level L 0 at the early stage of scheduling, the water level L t at time t and the inflow water volume W during the remaining period at time t Form the set of dependent variables X=[L 0 , L t , W];
S2,自变量稳态化分解:将自变量LS序列,采用集合经验模态分解的方法分解,生成多组稳态本征模态函数IMF(n)和一组残余序列Res,共同组成自变量组合Y=[IMF(n),Res];S2, the steady-state decomposition of the independent variable: the independent variable L S sequence is decomposed by the method of ensemble empirical mode decomposition to generate multiple sets of steady-state eigenmode functions IMF(n) and a set of residual sequences Res, which together form the self- Variable combination Y=[IMF(n), Res];
S3,确定预报因子:利用因变量集合X=[L0,Lt,W]与自变量组合Y的相关关系确定预报决策因子,按照如下步骤进行实施:S3, determine the prediction factor: use the correlation between the dependent variable set X=[L 0 , L t , W] and the independent variable combination Y to determine the prediction decision factor, and implement it according to the following steps:
S301,构建备选预报因子集合:将因变量集合X=[L0,Lt,W]中的三个影响因子序列L0、Lt和W,分别以单独,两两、共同的方式组合,共构成七组备选的预报因子集合,分别为F1=[L0]、F2=[Lt]、F3=[W]、F4=[L0,Lt]、F5=[L0,W]、F6=[Lt,W]、F7=[L0,Lt,W];S301, construct a set of candidate predictors: combine the three influencing factor sequences L 0 , L t and W in the dependent variable set X=[L 0 , L t , W] in separate, pairwise, and common ways, respectively , constitute seven groups of candidate predictor sets, respectively F 1 =[L 0 ], F 2 =[L t ], F 3 =[W], F 4 =[L 0 ,L t ], F 5 =[L 0 ,W], F 6 =[L t ,W], F 7 =[L 0 ,L t ,W];
S302,分别对七组备选的预报因子集合与自变量组合Y=[IMF(n),Res]中每组数据进行相关性分析,得到相关因子;S302, performing correlation analysis on each group of data in the seven groups of candidate predictor sets and the independent variable combination Y=[IMF(n), Res] respectively, to obtain the correlation factors;
S303,根据S302得到的相关因子,选取与Y=[IMF(n),Res]中每组序列相关性最大的备选预报因子作为每组自变量的最终预报因子F,完成预报因子的识别工作;S303, according to the correlation factor obtained in S302, select the candidate predictor with the largest correlation with each group of sequences in Y=[IMF(n), Res] as the final predictor F of each group of independent variables, and complete the identification of the predictors ;
S4,根据每组自变量的最终预报因子构建自适应调度期末水位预报模型;S4, construct an adaptive scheduling end-of-period water level forecast model according to the final forecast factor of each group of independent variables;
S5,根据所述预报模型对调度期末水位进行预报,得到自适应调度期末水位预报结果。S5 , predicting the water level at the end of the dispatching period according to the forecasting model, and obtaining a prediction result of the water level at the end of the self-adaptive dispatching period.
优选地,S303中,通过T检验,选取与Y=[IMF(n),Res]中每组序列相关性最大的备选预报因子作为每组自变量的最终预报因子F。Preferably, in S303, the candidate predictor with the greatest correlation with each group of sequences in Y=[IMF(n), Res] is selected as the final predictor F of each group of independent variables through T test.
优选地,S4包括如下步骤:Preferably, S4 includes the following steps:
S401,建立训练样本集:将预报根据样本数据量的大小确定模型训练期长度M和验证期的长度(L-M),由于模型为滚动预报,故预见期的步长为1个时间步长;S401, establishing a training sample set: the forecast determines the model training period length M and the verification period length (L-M) according to the size of the sample data. Since the model is a rolling forecast, the step size of the forecast period is 1 time step;
S402,建立三层BP人工神经Y=[IMF(n),Res]预测模型:将调度期末期水位序列自变量LS,基于经验模态方法分解出的IMF(n),Res稳态序列,分别与各自的预报因子F建立n+1个预报模型,根据这些预报模型分别对调度期末期水位序列自变量LS进行预报,得到每组的预报值,分别为IMFf(n)、Resf;S402, establish a three-layer BP artificial neural Y=[IMF(n), Res] prediction model: the independent variable L S of the water level sequence at the end of the dispatch period is decomposed based on the IMF(n), Res steady state sequence based on the empirical modal method, Establish n+1 forecasting models with their respective forecasting factors F, respectively forecast the independent variable L S of the water level sequence at the end of the dispatch period according to these forecasting models, and obtain the forecast values of each group, which are IMF f (n), Res f ;
S403,根据预报出来的每层预报值,按照如下公式计算M+1时刻预测的调度周期末的水库水位L(M+1)f:S403, according to the predicted value of each layer, calculate the reservoir water level L (M+1)f at the end of the dispatching period predicted at the time M+1 according to the following formula:
其中,IMFf(j)为第j层本征模态函数分量的预测值,Resf为预测的残余量;Among them, IMF f (j) is the predicted value of the j-th layer eigenmode function component, and Res f is the predicted residual;
S404,将预报出来L(M+1)f添加到训练样本中,跳至S401,进行下一轮的水位预报,直到完成L时刻的预测,得到L时刻预测的调度周期末的水库水位LLf;S404, add the predicted L (M+1)f to the training sample, skip to S401, and perform the next round of water level forecasting until the forecasting at time L is completed, and the reservoir water level L Lf at the end of the scheduling period predicted at time L is obtained ;
S405,对比预报出的L(M+1)f...LLf与(M+1)到L时刻的调度期末水库水位LS,对其预报效果进行评价;S405, compare the predicted L (M+1)f ...L Lf with the reservoir water level L S at the end of the dispatch period from (M+1) to L time, and evaluate the forecast effect;
S406,若评价效果符合设定的阈值,则自适应模型建立完成,该模型用于对未来时段调度期末水库水位进行预报,否则,重新调整BP神经网络的模型参数,重新建模直至模型完成建立。S406, if the evaluation effect meets the set threshold, the establishment of the adaptive model is completed, and the model is used to predict the water level of the reservoir at the end of the scheduling period in the future period; otherwise, the model parameters of the BP neural network are re-adjusted, and the model is re-modeled until the model is established. .
优选地,S405中,所述对其预报效果进行评价,评价指标包括纳什效率系数、相对误差和合格率;Preferably, in S405, the forecast effect is evaluated, and the evaluation indicators include Nash efficiency coefficient, relative error and pass rate;
所述纳什效率系数Nash按照如下公式进行计算:The Nash efficiency coefficient Nash is calculated according to the following formula:
其中,Lf为预测的调度期末水位,为实际调度期末水位的均值,Nash越接近1,预报越精准;Among them, L f is the predicted water level at the end of the dispatch period, is the mean value of the water level at the end of the actual dispatch period, the closer Nash is to 1, the more accurate the forecast;
所述相对误差MARE按照如下公式进行计算:The relative error MARE is calculated according to the following formula:
其中,N为的序列长度,MARE越接近0,说明实测与预报值越接近,预报效果越精准,常认为MARE<20%时,预报效果较好;Among them, N is The closer the MARE is to 0, the closer the measured and predicted values are, and the more accurate the prediction effect is. It is often believed that when MARE < 20%, the prediction effect is better;
所述合格率QR按照如下公式进行计算:The pass rate QR is calculated according to the following formula:
其中,n为合格预报次数;m为预报总次数,当QR>80%时,认为预报效果较好。Among them, n is the number of qualified forecasts; m is the total number of forecasts. When QR>80%, the forecast effect is considered to be better.
本发明的有益效果是:本发明实施例提供的基于自适应集合经验模态分解的调度期末水位预测方法,充分考虑了调度期末水位序列的非稳态性,通过使用集合经验模态分解的方法将调度期末水位转化为多组稳态序列,实现了水文序列稳态化,为常规的预报方法提供了最基础的数据条件。另外,利用本发明提供的自适应预报模型进行预报时,是一种滚动预报作业,使得模型实现了实时校正,保证了模型的适应性,为精准预报保证了模型基础。所以,采用本发明提供的方法,建立的预测模型用于调度期末水位预测时,具有较高的精准性。The beneficial effects of the present invention are as follows: the method for predicting the water level at the end of the dispatch period based on the self-adaptive ensemble empirical mode decomposition provided by the embodiment of the present invention fully considers the non-steady state of the water level sequence at the end of the dispatch period, by using the method of ensemble empirical modal decomposition The water level at the end of the dispatch period is converted into multiple sets of steady-state sequences, which realizes the steady state of the hydrological sequence and provides the most basic data conditions for conventional forecasting methods. In addition, when the adaptive forecasting model provided by the present invention is used for forecasting, it is a rolling forecasting operation, which enables the model to realize real-time correction, ensures the adaptability of the model, and ensures the model foundation for accurate forecasting. Therefore, by using the method provided by the present invention, the established prediction model has high accuracy when used for predicting the water level at the end of the dispatching period.
附图说明Description of drawings
图1为本发明提供的基于自适应集合经验模态分解的调度期末水位预测方法流程示意图;1 is a schematic flowchart of a method for predicting water level at the end of a dispatch period based on adaptive set empirical modal decomposition provided by the present invention;
图2为本发明采用的集合经验模态分解方法流程示意图;Fig. 2 is the schematic flow chart of the collective empirical mode decomposition method adopted by the present invention;
图3为基于集合经验模态分解方法对水位序列进行分解后的序列示意图;3 is a schematic diagram of a sequence after the water level sequence is decomposed based on the ensemble empirical mode decomposition method;
图4为自适应调度期末水位预测效果示意图。Fig. 4 is a schematic diagram of the prediction effect of the water level at the end of the adaptive scheduling period.
具体实施方式Detailed ways
为了使本发明的目的、技术方案及优点更加清楚明白,以下结合附图,对本发明进行进一步详细说明。应当理解,此处所描述的具体实施方式仅仅用以解释本发明,并不用于限定本发明。In order to make the objectives, technical solutions and advantages of the present invention clearer, the present invention will be further described in detail below with reference to the accompanying drawings. It should be understood that the specific embodiments described herein are only used to explain the present invention, but not to limit the present invention.
为了解决水位为非稳态序列限制常规预报方法的预报,来水不确定性无法量化的问题。本发明提供了一种自适应集合经验模态分解的调度期末水位预测方法,有效地将调度期末水位稳态化,挖掘了响应其水位的影响因素,显性化和量化了来水不确定性对水库调度期末水位的影响,同时自适应的预报模型,使预报模型保持不断地更新,适应调度期末的水位变化过程,保持模型的稳定性。In order to solve the problem that the uncertainty of incoming water cannot be quantified in order to solve the problem that the water level is an unsteady sequence that limits conventional forecasting methods. The invention provides a method for predicting the water level at the end of the dispatching period with self-adaptive ensemble empirical mode decomposition, which effectively stabilizes the water level at the end of the dispatching period, excavates the influencing factors that respond to the water level, and explicitly and quantifies the uncertainty of the incoming water. The impact on the water level at the end of the reservoir dispatching period, and the self-adaptive forecasting model, keeps the forecasting model continuously updated, adapts to the water level change process at the end of the dispatching period, and maintains the stability of the model.
如图1所示,本发明实施例提供了一种基于集合经验模态分解的自适应调度期末水位预测方法,包括如下步骤:As shown in FIG. 1 , an embodiment of the present invention provides an adaptive scheduling end-of-period water level prediction method based on ensemble empirical mode decomposition, including the following steps:
S1,数据预处理:提取一列长度为L连续多调度周期的调度期末水位序列为自变量LS,利用调度初期的初水位L0、t时刻水位Lt和t时刻余留期间的来水量W组成因变量集合X=[L0,Lt,W];S1, data preprocessing: extract a sequence of water levels at the end of the scheduling period with a length of L continuous multi-scheduling periods as the independent variable L S , use the initial water level L 0 at the early stage of scheduling, the water level L t at time t and the inflow water volume W during the remaining period at time t Form the set of dependent variables X=[L 0 , L t , W];
S2,自变量稳态化分解:将自变量LS序列,采用集合经验模态分解的方法分解,生成多组稳态本征模态函数IMF(n)和一组残余序列Res,共同组成自变量组合Y=[IMF(n),Res];S2, the steady-state decomposition of the independent variable: the independent variable L S sequence is decomposed by the method of ensemble empirical mode decomposition to generate multiple sets of steady-state eigenmode functions IMF(n) and a set of residual sequences Res, which together form the self- Variable combination Y=[IMF(n), Res];
S3,确定预报因子:利用因变量集合X=[L0,Lt,W]与自变量组合Y的相关关系确定预报决策因子,按照如下步骤进行实施:S3, determine the prediction factor: use the correlation between the dependent variable set X=[L 0 , L t , W] and the independent variable combination Y to determine the prediction decision factor, and implement it according to the following steps:
S301,构建备选预报因子集合:将因变量集合X=[L0,Lt,W]中的三个影响因子序列L0、Lt和W,分别以单独,两两、共同的方式组合,共构成七组备选的预报因子集合,分别为F1=[L0]、F2=[Lt]、F3=[W]、F4=[L0,Lt]、F5=[L0,W]、F6=[Lt,W]、F7=[L0,Lt,W];S301, construct a set of candidate predictors: combine the three influencing factor sequences L 0 , L t and W in the dependent variable set X=[L 0 , L t , W] in separate, pairwise, and common ways, respectively , constitute seven groups of candidate predictor sets, respectively F 1 =[L 0 ], F 2 =[L t ], F 3 =[W], F 4 =[L 0 ,L t ], F 5 =[L 0 ,W], F 6 =[L t ,W], F 7 =[L 0 ,L t ,W];
S302,分别对七组备选的预报因子集合与自变量组合Y=[IMF(n),Res]中每组数据进行相关性分析,得到相关因子;S302, performing correlation analysis on each group of data in the seven groups of candidate predictor sets and the independent variable combination Y=[IMF(n), Res] respectively, to obtain the correlation factors;
S303,根据S302得到的相关因子,选取与Y=[IMF(n),Res]中每组序列相关性最大的备选预报因子作为每组自变量的最终预报因子F,完成预报因子的识别工作;S303, according to the correlation factor obtained in S302, select the candidate predictor with the largest correlation with each group of sequences in Y=[IMF(n), Res] as the final predictor F of each group of independent variables, and complete the identification of the predictors ;
S4,根据每组自变量的最终预报因子构建自适应调度期末水位预报模型,并对构建的模型进行评价,如果预报结果符合设定的阈值,则将构建的模型作为最终预报模型,否则,重新调整BP神经网络的模型参数,重新建模直至模型完成建立;S4, construct an adaptive scheduling end-of-period water level forecast model according to the final predictor of each set of independent variables, and evaluate the constructed model. If the forecast result meets the set threshold, the constructed model will be used as the final forecast model, otherwise, re-run Adjust the model parameters of the BP neural network, and re-model until the model is established;
S5,根据所述最终预报模型对调度期末水位进行预报,得到调度期末水位预报结果。S5: Predict the water level at the end of the dispatch period according to the final forecast model, and obtain a forecast result of the water level at the end of the dispatch period.
上述方法中,充分考虑了调度期末水位序列的非稳态性,使用集合经验模态分解的方法将调度期末水位转化为多组稳态序列,实现了水文序列稳态化,为常规的预报方法提供了最基础的数据条件。In the above method, the unsteady nature of the water level sequence at the end of the dispatch period is fully considered, and the method of ensemble empirical mode decomposition is used to convert the water level at the end of the dispatch period into multiple sets of steady-state sequences, realizing the steady state of the hydrological sequence, which is a conventional forecasting method. Provides the most basic data conditions.
本发明中,S303中,通过T检验,选取与Y=[IMF(n),Res]中每组序列相关性最大的备选预报因子作为每组自变量的最终预报因子F。In the present invention, in S303, through the T test, the candidate predictor with the greatest correlation with each group of sequences in Y=[IMF(n), Res] is selected as the final predictor F of each group of independent variables.
本发明的一个优选实施例中,S4可以包括如下步骤:In a preferred embodiment of the present invention, S4 may include the following steps:
S401,建立训练样本集:将预报根据样本数据量的大小确定模型训练期长度M和验证期的长度(L-M),由于模型为滚动预报,故预见期的步长为1个时间步长;S401, establishing a training sample set: the forecast determines the model training period length M and the verification period length (L-M) according to the size of the sample data. Since the model is a rolling forecast, the step size of the forecast period is 1 time step;
S402,建立三层BP人工神经Y=[IMF(n),Res]预测模型:将调度期末期水位序列自变量LS,基于经验模态方法分解出的IMF(n),Res稳态序列,分别与各自的预报因子F建立n+1个预报模型,根据这些预报模型分别对调度期末期水位序列自变量LS进行预报,得到每组的预报值,分别为IMFf(n)、Resf;S402, establish a three-layer BP artificial neural Y=[IMF(n), Res] prediction model: the independent variable L S of the water level sequence at the end of the dispatch period is decomposed based on the IMF(n), Res steady state sequence based on the empirical modal method, Establish n+1 forecasting models with their respective forecasting factors F, respectively forecast the independent variable L S of the water level sequence at the end of the dispatch period according to these forecasting models, and obtain the forecast values of each group, which are IMF f (n), Res f ;
S403,根据预报出来的每层预报值,按照如下公式计算M+1时刻预测的调度周期末的水库水位L(M+1)f:S403, according to the predicted value of each layer, calculate the reservoir water level L (M+1)f at the end of the dispatching period predicted at the time M+1 according to the following formula:
其中,IMFf(j)为第j层本征模态函数分量的预测值,Resf为预测的残余量;Among them, IMF f (j) is the predicted value of the j-th layer eigenmode function component, and Res f is the predicted residual;
S404,将预报出来L(M+1)f添加到训练样本中,跳至S401,进行下一轮的水位预报,直到完成L时刻的预测,得到L时刻预测的调度周期末的水库水位LLf;S404, add the predicted L (M+1)f to the training sample, skip to S401, and perform the next round of water level forecasting until the forecasting at time L is completed, and the reservoir water level L Lf at the end of the scheduling period predicted at time L is obtained ;
S405,对比预报出的L(M+1)f...LLf与(M+1)到L时刻的调度期末水库水位LS,对其预报效果进行评价;S405, compare the predicted L (M+1)f ...L Lf with the reservoir water level L S at the end of the dispatch period from (M+1) to L time, and evaluate the forecast effect;
S406,若评价效果符合设定的阈值,则自适应模型建立完成,该模型用于对未来时段调度期末水库水位进行预报,否则,重新调整BP神经网络的模型参数,重新建模直至模型完成建立。S406, if the evaluation effect meets the set threshold, the establishment of the adaptive model is completed, and the model is used to predict the water level of the reservoir at the end of the scheduling period in the future period; otherwise, the model parameters of the BP neural network are re-adjusted, and the model is re-modeled until the model is established. .
可见,本发明中,通过一种滚动预报作业的方式建立自适应预报模型,可以使得模型实现实时校正,保证了模型的适应性,为该模型用于未来时段调度期末水库水位精准预报保证了基础。It can be seen that, in the present invention, an adaptive forecasting model is established by means of a rolling forecasting operation, which can make the model realize real-time correction, ensure the adaptability of the model, and ensure the basis for the model to be used for accurate forecasting of the reservoir water level at the end of the scheduling period in the future period. .
其中,S405中,所述对其预报效果进行评价,评价指标包括纳什效率系数、相对误差和合格率;Wherein, in S405, the forecast effect is evaluated, and the evaluation indicators include Nash efficiency coefficient, relative error and pass rate;
所述纳什效率系数Nash按照如下公式进行计算:The Nash efficiency coefficient Nash is calculated according to the following formula:
其中,Lf为预测的调度期末水位,为实际调度期末水位的均值,Nash越接近1,预报越精准;Among them, L f is the predicted water level at the end of the dispatch period, is the mean value of the water level at the end of the actual dispatch period, the closer Nash is to 1, the more accurate the forecast;
所述相对误差MARE按照如下公式进行计算:The relative error MARE is calculated according to the following formula:
其中,N为的序列长度,MARE越接近0,说明实测与预报值越接近,预报效果越精准,常认为MARE<20%时,预报效果较好;Among them, N is The closer the MARE is to 0, the closer the measured and predicted values are, and the more accurate the prediction effect is. It is often believed that when MARE < 20%, the prediction effect is better;
所述合格率QR按照如下公式进行计算:The pass rate QR is calculated according to the following formula:
其中,n为合格预报次数;m为预报总次数,当QR>80%时,认为预报效果较好。Among them, n is the number of qualified forecasts; m is the total number of forecasts. When QR>80%, the forecast effect is considered to be better.
具体实施例specific embodiment
本发明中,选取黄河上游龙羊峡水库的调度期末水位预测过程作为实施例,对本发明内容的效果进行验证,具体采用如下步骤进行实施:In the present invention, the water level prediction process at the end of the dispatch period of the Longyangxia Reservoir in the upper reaches of the Yellow River is selected as an example to verify the effect of the content of the present invention, and the following steps are specifically used to implement:
步骤1,数据预处理。
选用黄河上游龙羊峡水库2010年1月1日~2016年12月31日,调度周期为月的调度期末期水位序列为自变量LS,同期调度周期的调度期初水位L0,实时水位序列Lt和t时刻余留期来水量W组成一系列的因变量集合X=[L0,Lt,W];Selecting the Longyangxia Reservoir in the upper reaches of the Yellow River from January 1, 2010 to December 31, 2016, the water level sequence at the end of the dispatch period with a dispatch period of months is the independent variable L S , the water level at the beginning of the dispatch period in the same dispatch period is L 0 , and the real-time water level sequence The inflow volume W of the remaining period at time L t and t constitutes a series of dependent variable sets X=[L 0 , L t , W];
步骤2,自变量稳态化分解。
确定基于自适应集合经验模态分解方法的基本参数:噪声方差(Nstd=0.2)、噪声组数(NE=100)、迭代次数(MaxIter=500),将自变量LS序列,采用集合经验模态分解的方法分解(可参见图2),生成n层稳态本征模态函数IMF(1),IMF(2),...,IMF(n)和1层残余序列Res,每组序列均为离散函数,为不同频率的线性或非线性的序列,共同组成自变量组合Y=[IMF(1),IMF(2),...,IMF(n),Res],具体的关系式如下:Determine the basic parameters based on the adaptive ensemble empirical mode decomposition method: noise variance (Nstd=0.2), noise group number (NE=100), number of iterations ( MaxIter =500). The state decomposition method is decomposed (see Figure 2) to generate n-layer steady-state eigenmode functions IMF(1), IMF(2), ..., IMF(n) and 1-layer residual sequence Res, each group of sequences All are discrete functions, which are linear or nonlinear sequences of different frequencies, which together form the independent variable combination Y=[IMF(1),IMF(2),...,IMF(n),Res], the specific relational formula as follows:
其中,n为本征模态函数的分量数,IMF(j)为第j层的本征模态序列。Among them, n is the number of components of the eigenmode function, and IMF(j) is the eigenmode sequence of the jth layer.
在本发明的实施例中,分解黄河上游龙羊峡水库2010年1月1日~2016年12月31日逐日LS,其中,分解后,生成11层从高频到低频的稳态序列,第1层的本征模态序列IMF(1)的结果如图3所示,从图3可以看出,分解的序列为高频的稳态序列作为预报模型的输入。In the embodiment of the present invention, the daily L S of the Longyangxia Reservoir in the upper reaches of the Yellow River is decomposed from January 1, 2010 to December 31, 2016, wherein, after the decomposition, a steady-state sequence of 11 layers from high frequency to low frequency is generated, The result of the eigenmode sequence IMF(1) of the first layer is shown in Fig. 3. It can be seen from Fig. 3 that the decomposed sequence is a high-frequency steady-state sequence as the input of the prediction model.
步骤3,确定预报因子。通过因变量集合X=[L0,Lt,W]与自变量Y的相关关系确定预报决策因子,包括以下子步骤:
(3-1)构建备选预报因子集合。将因变量集合X=[L0,Lt,W]中的三个影响因子序列L0、Lt和W,分别以单独,两两、共同的方式组合,共构成7组备选的预报因子集合,分别为F1=[L0]、F2=[Lt]、F3=[W]、F4=[L0,Lt]、F5=[L0,W]、F6=[Lt,W]、F7=[L0,Lt,W]。(3-1) Construct a set of candidate predictors. The three influencing factor sequences L 0 , L t and W in the dependent variable set X=[L 0 , L t , W] are combined individually, in pairs, and together to form a total of 7 groups of alternative forecasts Set of factors, respectively F 1 =[L 0 ], F 2 =[L t ], F 3 =[W], F 4 =[L 0 ,L t ], F 5 =[L 0 ,W],F 6 =[L t ,W], F 7 =[L 0 ,L t ,W].
(3-2)分别分析7组备选的预报因子集合与自变量组合Y=[IMF(n),Res]中每组数据进行相关性分析,按照下式计算相关系数;(3-2) Analyze the 7 groups of candidate predictor sets and each group of data in the independent variable combination Y=[IMF(n), Res] respectively, carry out correlation analysis, and calculate the correlation coefficient according to the following formula;
其中,Cov(X,Y)为X与Y的协方差,Var[X]为X的方差,Var[Y]为Y的方差。Among them, Cov(X, Y) is the covariance of X and Y, Var[X] is the variance of X, and Var[Y] is the variance of Y.
(3-3)设定α=0.025的显著水平,对序列和气象因子的相关系数进行T检验,计算如下式,通过假设检验的因子被认为显著相关。选取与Y=[IMF(n),Res]中每组序列相关性最大的备选预报因子作为每组自变量的最终的预报因子F,完成预报因子的识别工作;(3-3) Set a significant level of α=0.025, carry out T test on the correlation coefficient between the sequence and meteorological factors, and calculate as follows, the factors that pass the hypothesis test are considered to be significantly related. Select the candidate predictor with the greatest correlation with each group of series in Y=[IMF(n), Res] as the final predictor F of each group of independent variables, and complete the identification of the predictor;
其中,n为资料样本数,r为皮尔逊相关系数相关系数。Among them, n is the number of data samples, and r is the correlation coefficient of the Pearson correlation coefficient.
步骤4,构建自适应调度期末水位预报模型,按照如下步骤进行实施:Step 4: Build an adaptive scheduling end-of-period water level forecast model, and implement it according to the following steps:
(4-1)建立训练样本集。将预报根据样本数据量的大小确定模型训练期长度M和验证期的长度(L-M)。由于模型为滚动预报,故预见期的步长为1个时间步长,在本发明实施例中,训练期可以为2010年1月1日~2014年12月31日,验证期可以为2015年1月1日~2016年12月31日。(4-1) Establish a training sample set. The prediction will determine the model training period length M and the validation period length (L-M) according to the size of the sample data. Since the model is a rolling forecast, the step of the forecast period is one time step. In the embodiment of the present invention, the training period may be from January 1, 2010 to December 31, 2014, and the verification period may be 2015. January 1st to December 31st, 2016.
(4-2)建立三层BP人工神经Y=[IMF(n),Res]预测模型。包含输入层、隐含层和输出层。设置BP人工神经网络参数。(4-2) Establish a three-layer BP artificial neural Y=[IMF(n), Res] prediction model. Contains input layer, hidden layer and output layer. Set the BP artificial neural network parameters.
将调度期末期水位序列自变量LS,基于经验模态方法分解出的IMF(n),Res稳态序列,分别与各自的预报因子F建立n+1个预报模型,根据这些预报模型分别对调度期末期水位序列自变量LS进行预报,得到每组的预报值,分别为IMFf(n)、Resf。The independent variable L S of the water level sequence at the end of the dispatch period, based on the IMF(n), Res steady-state sequence decomposed by the empirical modal method, establish n+1 forecast models with their respective forecast factors F respectively. The independent variable L S of the water level sequence at the end of the dispatch period is forecasted, and the forecast values of each group are obtained, which are IMF f (n) and Res f respectively.
(4-3)根据预报出来的每层预报值计算M+1时刻预测的调度周期末的水库水位L(M+1)f,计算式如下:(4-3) Calculate the reservoir water level L (M+1)f at the end of the dispatching period predicted at the time of M+1 according to the forecast value of each layer. The calculation formula is as follows:
其中IMFf(j)为第j层本征模态函数分量的预测值,Resf为预测的残余量。where IMF f (j) is the predicted value of the j-th layer eigenmode function component, and Res f is the predicted residual.
(4-4)将预报出来L(M+1)f添加到训练样本中,跳至步骤(4-1),进行下一轮的水位预报,直到完成L时刻的预测,得到L时刻预测的调度周期末的水库水位LLf。(4-4) Add the predicted L (M+1)f to the training sample, skip to step (4-1), and carry out the next round of water level prediction until the prediction at time L is completed, and the predicted value at time L is obtained. Reservoir water level L Lf at the end of the dispatch period.
(4-5)对比预报出的L(M+1)f...LLf与(M+1)到L时刻的调度期末水库水位LS,对其预报效果进行评价,评价指标有如下三个:(4-5) Compare the predicted L (M+1)f ...L Lf with the reservoir water level L S at the end of the dispatch period from (M+1) to L time, and evaluate the forecast effect. The evaluation indicators are as follows: indivual:
纳什效率系数:Nash efficiency coefficient:
其中,Lf为预测的调度期末水位,为实际调度期末水位的均值。Nash越接近1,预报越精准。Among them, L f is the predicted water level at the end of the dispatch period, is the mean value of the water level at the end of the actual dispatch period. The closer Nash is to 1, the more accurate the forecast.
相对误差:Relative error:
其中,N为的序列长度。MARE越接近0,说明实测与预报值越接近,预报效果越精准,常认为MARE<20%时,效果较好。Among them, N is sequence length. The closer MARE is to 0, the closer the measured and predicted values are, and the more accurate the prediction effect is. It is often believed that when MARE is less than 20%, the effect is better.
合格率:Pass rate:
其中,n为合格预报次数;m为预报总次数。当QR>80%时,可认为预报效果较好。Among them, n is the number of qualified forecasts; m is the total number of forecasts. When QR>80%, it can be considered that the prediction effect is better.
在本发明实施例中,模型的预报结果如图4所示,评价结果如下表所示:In the embodiment of the present invention, the prediction result of the model is shown in Figure 4, and the evaluation result is shown in the following table:
(4-6)由图4和上表可以看出,调度期末水位预报效果好,则自适应模型建立完成,即可采用该模型对未来的时段调度期末水库水位进行预报。(4-6) As can be seen from Figure 4 and the above table, if the forecast effect of the water level at the end of the dispatch period is good, the adaptive model is established, and the model can be used to forecast the water level of the reservoir at the end of the dispatch period in the future.
通过采用本发明公开的上述技术方案,得到了如下有益的效果:本发明实施例提供的基于自适应集合经验模态分解的调度期末水位预测方法,充分考虑了调度期末水位序列的非稳态性,使用集合经验模态分解的方法将调度期末水位转化为多组稳态序列,实现了水文序列稳态化,为常规的预报方法提供了最基础的数据条件。另外,利用本发明提供的自适应预报模型进行预报时,是一种滚动预报作业,使得模型实现了实时校正,保证了模型的适应性,为精准预报保证了模型基础。所以,采用本发明提供的方法,建立的预测模型用于调度期末水位预测时,具有较高的精准性。By adopting the above technical solutions disclosed in the present invention, the following beneficial effects are obtained: The method for predicting the water level at the end of the dispatch period based on the adaptive set empirical mode decomposition provided by the embodiment of the present invention fully considers the non-steady state of the water level sequence at the end of the dispatch period. , using the method of ensemble empirical mode decomposition to convert the water level at the end of the dispatch period into multiple sets of steady-state sequences, realizing the steady state of the hydrological sequence and providing the most basic data conditions for conventional forecasting methods. In addition, when the adaptive forecasting model provided by the present invention is used for forecasting, it is a rolling forecasting operation, which enables the model to realize real-time correction, ensures the adaptability of the model, and ensures the model foundation for accurate forecasting. Therefore, by using the method provided by the present invention, the established prediction model has high accuracy when used for predicting the water level at the end of the dispatching period.
以上所述仅是本发明的优选实施方式,应当指出,对于本技术领域的普通技术人员来说,在不脱离本发明原理的前提下,还可以做出若干改进和润饰,这些改进和润饰也应视本发明的保护范围。The above are only the preferred embodiments of the present invention. It should be pointed out that for those skilled in the art, without departing from the principles of the present invention, several improvements and modifications can be made. It should be regarded as the protection scope of the present invention.
Claims (2)
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201811291046.8A CN109376937B (en) | 2018-10-31 | 2018-10-31 | Self-adaptive scheduling end-of-term water level prediction method based on ensemble empirical mode decomposition |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201811291046.8A CN109376937B (en) | 2018-10-31 | 2018-10-31 | Self-adaptive scheduling end-of-term water level prediction method based on ensemble empirical mode decomposition |
Publications (2)
Publication Number | Publication Date |
---|---|
CN109376937A CN109376937A (en) | 2019-02-22 |
CN109376937B true CN109376937B (en) | 2020-06-09 |
Family
ID=65391394
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201811291046.8A Expired - Fee Related CN109376937B (en) | 2018-10-31 | 2018-10-31 | Self-adaptive scheduling end-of-term water level prediction method based on ensemble empirical mode decomposition |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN109376937B (en) |
Families Citing this family (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN110186533B (en) * | 2019-05-30 | 2020-07-17 | 河海大学 | High-precision river mouth short-term tide level forecasting method |
CN111309065B (en) * | 2020-02-12 | 2023-08-01 | 广东韶钢松山股份有限公司 | Pressure model building method, pressure adjusting method and device |
CN113609657B (en) * | 2021-07-19 | 2024-01-23 | 湖北省水利水电规划勘测设计院 | Method for determining lake stage scheduling water level based on urban flood model |
Family Cites Families (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN107577986B (en) * | 2017-07-31 | 2021-07-06 | 来邦科技股份公司 | Respiration and heartbeat component extraction method, electronic equipment and storage medium |
-
2018
- 2018-10-31 CN CN201811291046.8A patent/CN109376937B/en not_active Expired - Fee Related
Also Published As
Publication number | Publication date |
---|---|
CN109376937A (en) | 2019-02-22 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN109472403B (en) | An ensemble empirical mode decomposition and teleconnection method for medium and long-term runoff forecasting | |
CN102568205B (en) | Traffic parameter short-time prediction method based on empirical mode decomposition and classification combination prediction in abnormal state | |
CN108416695A (en) | Power load probability density prediction method, system and medium based on deep learning | |
Guo et al. | A research on a comprehensive adaptive grey prediction model CAGM (1, N) | |
CN109376937B (en) | Self-adaptive scheduling end-of-term water level prediction method based on ensemble empirical mode decomposition | |
CN111695290A (en) | Short-term runoff intelligent forecasting hybrid model method suitable for variable environment | |
CN112990500B (en) | Transformer area line loss analysis method and system based on improved weighted gray correlation analysis | |
CN109408989B (en) | A Calculation Method for Designing Flood Hydrographs | |
CN111898831A (en) | Real-time flood probability forecasting practical method | |
CN105893669A (en) | Global simulation performance predication method based on data digging | |
CN107358294A (en) | A kind of water demand prediction method based on Elman neutral nets | |
CN116307215A (en) | Load prediction method, device, equipment and storage medium of power system | |
CN107886160A (en) | A kind of BP neural network section water demand prediction method | |
Kizilöz | Prediction model for the leakage rate in a water distribution system | |
CN107944617A (en) | A kind of doubtful stealing theme influence factor weight optimization method that logic-based returns | |
CN105552902A (en) | Super-short-term forecasting method for load of terminal of power distribution network based on real-time measurement of feeder end | |
CN105139079A (en) | Tax revenue prediction method and device based on hybrid model | |
CN101004593A (en) | Dynamic cost control method for industrial process of procedure based on AR(p)model | |
CN111062539A (en) | Total electric quantity prediction method based on secondary electric quantity characteristic clustering analysis | |
CN114970813A (en) | Dissolved oxygen concentration data restoration and prediction method | |
CN112905436B (en) | Quality evaluation prediction method for complex software | |
CN114330102A (en) | Rapid flood forecasting method and device based on rainfall similarity and intelligent adaptation of model parameters | |
CN118629160A (en) | A landslide early warning method based on adaptive local regression | |
CN111582588B (en) | A building energy consumption prediction method based on triple convolution fusion GRU | |
CN113159395A (en) | Deep learning-based sewage treatment plant water inflow prediction method and system |
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 | ||
CF01 | Termination of patent right due to non-payment of annual fee | ||
CF01 | Termination of patent right due to non-payment of annual fee |
Granted publication date: 20200609 |