CN115099448A - A Short-Term Load Forecasting Method Based on VMD-Prophet - Google Patents

A Short-Term Load Forecasting Method Based on VMD-Prophet Download PDF

Info

Publication number
CN115099448A
CN115099448A CN202210392592.0A CN202210392592A CN115099448A CN 115099448 A CN115099448 A CN 115099448A CN 202210392592 A CN202210392592 A CN 202210392592A CN 115099448 A CN115099448 A CN 115099448A
Authority
CN
China
Prior art keywords
prediction
vmd
prophet
load
short
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Pending
Application number
CN202210392592.0A
Other languages
Chinese (zh)
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.)
Harbin University of Science and Technology
Original Assignee
Harbin University of Science and Technology
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 Harbin University of Science and Technology filed Critical Harbin University of Science and Technology
Priority to CN202210392592.0A priority Critical patent/CN115099448A/en
Publication of CN115099448A publication Critical patent/CN115099448A/en
Pending legal-status Critical Current

Links

Images

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06QINFORMATION AND COMMUNICATION TECHNOLOGY [ICT] SPECIALLY ADAPTED FOR ADMINISTRATIVE, COMMERCIAL, FINANCIAL, MANAGERIAL OR SUPERVISORY PURPOSES; SYSTEMS OR METHODS SPECIALLY ADAPTED FOR ADMINISTRATIVE, COMMERCIAL, FINANCIAL, MANAGERIAL OR SUPERVISORY PURPOSES, NOT OTHERWISE PROVIDED FOR
    • G06Q10/00Administration; Management
    • G06Q10/04Forecasting or optimisation specially adapted for administrative or management purposes, e.g. linear programming or "cutting stock problem"
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06QINFORMATION AND COMMUNICATION TECHNOLOGY [ICT] SPECIALLY ADAPTED FOR ADMINISTRATIVE, COMMERCIAL, FINANCIAL, MANAGERIAL OR SUPERVISORY PURPOSES; SYSTEMS OR METHODS SPECIALLY ADAPTED FOR ADMINISTRATIVE, COMMERCIAL, FINANCIAL, MANAGERIAL OR SUPERVISORY PURPOSES, NOT OTHERWISE PROVIDED FOR
    • G06Q50/00Information and communication technology [ICT] specially adapted for implementation of business processes of specific business sectors, e.g. utilities or tourism
    • G06Q50/06Energy or water supply

Landscapes

  • Business, Economics & Management (AREA)
  • Engineering & Computer Science (AREA)
  • Economics (AREA)
  • Human Resources & Organizations (AREA)
  • Strategic Management (AREA)
  • Theoretical Computer Science (AREA)
  • Physics & Mathematics (AREA)
  • Health & Medical Sciences (AREA)
  • Marketing (AREA)
  • General Physics & Mathematics (AREA)
  • General Business, Economics & Management (AREA)
  • Tourism & Hospitality (AREA)
  • Public Health (AREA)
  • General Health & Medical Sciences (AREA)
  • Primary Health Care (AREA)
  • Water Supply & Treatment (AREA)
  • Development Economics (AREA)
  • Game Theory and Decision Science (AREA)
  • Entrepreneurship & Innovation (AREA)
  • Operations Research (AREA)
  • Quality & Reliability (AREA)
  • Management, Administration, Business Operations System, And Electronic Commerce (AREA)

Abstract

本发明公开了一种基于VMD‑Prophet的短期负荷预测方法,可用于提高短期电力负荷预测的精度。该方法包括:在Prophet预测模型的基础上,引入VMD分解,利用已准备好的数据集,分为训练集和测试集,训练集用于模型的训练,测试集用于评估最终模型的精度;将分解好的子序列分别输入Prophet预测模型中进行预测,之后进行各子序列预测结果的累加,得到最终的预测结果;然后采用平均绝对值百分误差和均方根误差两项指标对预测结果进行评价;最后对未来一天的负荷进行预测,并采用相同的评价指标,实验结果表明,其他用于负荷预测的LSTM、SARIMA以及未对输入信号进行VMD分解的Prophet模型的预测结果均不如VMD‑Prophet预测模型,证明了本发明在短期负荷预测方面的优势,可以提高短期负荷预测的精度。The invention discloses a short-term load prediction method based on VMD-Prophet, which can be used to improve the accuracy of short-term power load prediction. The method includes: on the basis of the Prophet prediction model, introducing VMD decomposition, using the prepared data set, and dividing it into a training set and a test set, the training set is used for model training, and the test set is used to evaluate the accuracy of the final model; Input the decomposed subsequences into the Prophet prediction model for prediction, and then accumulate the prediction results of each subsequence to obtain the final prediction result; then use the two indicators of mean absolute value percent error and root mean square error to predict the results. Finally, the load of the next day is predicted, and the same evaluation index is used. The experimental results show that the prediction results of other LSTM, SARIMA and Prophet models that do not decompose the input signal by VMD are not as good as VMD‑ The Prophet prediction model proves the advantages of the present invention in short-term load prediction, and can improve the accuracy of short-term load prediction.

Description

一种基于VMD-Prophet的短期负荷预测方法A Short-Term Load Forecasting Method Based on VMD-Prophet

技术领域:Technical field:

本发明涉及电力负荷预测领域,提出一种基于VMD-Prophet的短期负荷预测方法,适用于进行短期负荷预测以及提高预测的效果。The invention relates to the field of power load forecasting, and proposes a short-term load forecasting method based on VMD-Prophet, which is suitable for short-term load forecasting and improving forecasting effect.

背景技术:Background technique:

在我国经济高速发展的背景下,电力负荷的预测已成为一项重要而艰巨的任务。高精度的短期负荷预测对于电力系统的调度管理部门制定高效经济的发电计划、合理安排机组出力、保证电力系统的安全性和稳定性、提高经济效益以及减少不必要的能源消耗有着重要的意义。与此同时,随着智能电网的发展,高精度的负荷预测越来越成为迫切的需求。Under the background of my country's rapid economic development, the prediction of power load has become an important and arduous task. High-precision short-term load forecasting is of great significance for the dispatching management department of the power system to formulate efficient and economical power generation plans, reasonably arrange unit output, ensure the safety and stability of the power system, improve economic benefits, and reduce unnecessary energy consumption. At the same time, with the development of smart grid, high-precision load forecasting has become an increasingly urgent need.

VMD-Prophet预测模型,将输入的原始负荷序列分解为规律性更好的子序列,而且相对于经验模态分解和小波分解,VMD能够更好的还原原始信号,具有更好的噪声鲁棒性。时间序列预测框架Prophet,与传统的时间序列预测方法相比,其具有较好的灵活性,轻松适应多个季节的季节性,并通过分析对趋势做出不同的假设。测量值不必呈等间距分布,也不需要插值缺失值,拟合速度较快。将二者结合起来应用于短期负荷预测中,能有效提高负荷预测的精度。The VMD-Prophet prediction model decomposes the input original load sequence into subsequences with better regularity. Compared with empirical mode decomposition and wavelet decomposition, VMD can restore the original signal better and has better noise robustness . Compared with traditional time series forecasting methods, Prophet, a time series forecasting framework, has better flexibility, easily adapts to the seasonality of multiple seasons, and makes different assumptions about trends through analysis. The measured values do not have to be equally spaced, and there is no need to interpolate missing values, and the fitting speed is faster. Combining the two in short-term load forecasting can effectively improve the accuracy of load forecasting.

发明内容:Invention content:

为了解决上述问题,本发明提出了一种基于VMD-Prophet的短期负荷预测方法。In order to solve the above problems, the present invention proposes a short-term load prediction method based on VMD-Prophet.

一种基于VMD-Prophet的短期负荷预测方法,其特征在于,包括如下步骤:A short-term load forecasting method based on VMD-Prophet, characterized in that it comprises the following steps:

S1:在将原始负荷序列带入Prophet模型进行预测之前,对其进行变分模态分解(VMD),得到规律性更好的子序列;S1: Before bringing the original load sequence into the Prophet model for prediction, perform Variational Mode Decomposition (VMD) on it to obtain subsequences with better regularity;

S2:使用VMD分解可以将波动的信号分解为K个不同频段的本征模态函数的子信号,具体过程如下:S2: Using VMD decomposition, the fluctuating signal can be decomposed into sub-signals of eigenmode functions of K different frequency bands. The specific process is as follows:

使用VMD进行K阶分解时,可以将其看作如下约束变分问题,如式(1)所示:When using VMD for K-order decomposition, it can be regarded as the following constrained variational problem, as shown in equation (1):

Figure RE-GDA0003764070730000011
Figure RE-GDA0003764070730000011

式中f(t)是未分解主信号,{uk}={u1,…,uk}和{ωk}={ω1,…,ωk}分别代表K阶模态的集合及中心频率。δ(t)是狄拉克分布,*表示卷积,

Figure RE-GDA0003764070730000012
为模态函数uk对应中心频率ωk的指数项,j为虚数。where f(t) is the undecomposed main signal, {u k }={u 1 ,...,u k } and {ω k }={ω 1 ,...,ω k } represent the set of K-order modes and Center frequency. δ(t) is the Dirac distribution, * means convolution,
Figure RE-GDA0003764070730000012
is the exponential term of the modal function uk corresponding to the center frequency ω k , and j is an imaginary number.

引入增广拉格朗日函数,求解上述的约束变分问题的最优解,如式(2)所示:The augmented Lagrangian function is introduced to solve the optimal solution of the above-mentioned constrained variational problem, as shown in equation (2):

Figure RE-GDA0003764070730000021
Figure RE-GDA0003764070730000021

式中:α为二次惩罚因子,用于降低高斯噪声的干扰;λ为拉格朗日乘子。使用乘子交替方向法来求解上述约束变分问题的最优解及增广拉格朗日函数。In the formula: α is the quadratic penalty factor, which is used to reduce the interference of Gaussian noise; λ is the Lagrange multiplier. The optimal solution and augmented Lagrangian function of the above constrained variational problem are solved using the alternate direction method of multipliers.

最终VMD的更新过程如下,如式(3)-式(5)所示:The final update process of VMD is as follows, as shown in equations (3)-(5):

Figure RE-GDA0003764070730000022
Figure RE-GDA0003764070730000022

Figure RE-GDA0003764070730000023
Figure RE-GDA0003764070730000023

Figure RE-GDA0003764070730000024
Figure RE-GDA0003764070730000024

式中

Figure RE-GDA0003764070730000025
分别为f(t)、
Figure RE-GDA0003764070730000026
和λn(t)的傅里叶变换;τ为更新参数;n为迭代参数。in the formula
Figure RE-GDA0003764070730000025
are f(t),
Figure RE-GDA0003764070730000026
and λ n (t) Fourier transform; τ is the update parameter; n is the iteration parameter.

对于给定的判别精度ε>0,若满足如下关系,如式(6)所示,则VMD收敛,停止更新。For a given discrimination accuracy ε>0, if the following relationship is satisfied, as shown in equation (6), the VMD converges and the update is stopped.

Figure RE-GDA0003764070730000027
Figure RE-GDA0003764070730000027

S3:将分解后的负荷子序列,分别带入Prophet预测模型中进行预测,最后将各个子序列的预测结果进行累加,得到最终的预测结果;S3: Bring the decomposed load subsequences into the Prophet prediction model for prediction, and finally accumulate the prediction results of each subsequence to obtain the final prediction result;

S4:采用平均绝对值百分误差(MAPE)和均方根误差(RMSE)两项指标对预测结果进行评价,具体如下式(7)式(8)所示:S4: The prediction results are evaluated using the mean absolute percentage error (MAPE) and the root mean square error (RMSE), as shown in the following formula (7) and formula (8):

Figure RE-GDA0003764070730000028
Figure RE-GDA0003764070730000028

Figure RE-GDA0003764070730000031
Figure RE-GDA0003764070730000031

式中:xpredicted为负荷预测结果,xreal为负荷真实值。In the formula: x predicted is the load prediction result, and x real is the real load value.

S5:VMD算法参数分别设置为:初始中心频率ω=0,收敛判据e=10-7,二次惩罚因子及分解阶数经过反复实验最终设为α=2000,K=3。S5: VMD algorithm parameters are respectively set as: initial center frequency ω=0, convergence criterion e=10 -7 , quadratic penalty factor and decomposition order are finally set to α=2000, K=3 after repeated experiments.

S6:基于Anaconda平台,编程语言为Python,创建Python版本为3.7的虚拟环境,在Spyder 中完成VMD-Prophet预测模型的搭建;S6: Based on the Anaconda platform, the programming language is Python, create a virtual environment with Python version 3.7, and complete the construction of the VMD-Prophet prediction model in Spyder;

S7:在Spyder中通过Python编程来实现VMD-Prophet预测模型对于各个负荷子序列的预测;S7: Implement the prediction of each load subsequence by the VMD-Prophet prediction model through Python programming in Spyder;

S8:在Spyder中测试VMD-Prophet预测模型对于负荷预测的效果。S8: Test the effect of the VMD-Prophet forecasting model on load forecasting in Spyder.

进一步地,S2中所述的VMD算法将原始负荷序列分解为规律性更好的子序列,同时将预测过程中存在的一些影响预测结果的趋势分量或噪声分量单独提取出来,减小趋势分量或噪声分量对短期电力负荷整体预测的影响。Further, the VMD algorithm described in S2 decomposes the original load sequence into subsequences with better regularity, and at the same time extracts some trend components or noise components that affect the prediction results existing in the prediction process separately, reducing the trend component or the noise component. The influence of noise components on the overall forecast of short-term power load.

进一步地,S3所述Prophet预测模型具有较好的灵活性,能轻松适应多个季节的季节性,并通过分析对趋势做出不同的假设;此外测量值不必呈等间距分布,也不需要插值缺失值,并且拟合速度较快。Further, the Prophet prediction model described in S3 has good flexibility, can easily adapt to the seasonality of multiple seasons, and make different assumptions about the trend through analysis; in addition, the measured values do not need to be equally spaced, and no interpolation is required. Missing values, and the fitting speed is faster.

进一步地,S4中所述的评价指标,以平均绝对值百分误差和均方根误差对预测结果进行评价,对预测结果进行量化。Further, for the evaluation index described in S4, the prediction result is evaluated by the mean absolute value percentage error and the root mean square error, and the prediction result is quantified.

进一步地,S6中所述的VMD-Prophet负荷预测模型,可以在Anaconda平台创建的虚拟环境中,通过Python编程在Spyder中来实现,直接进行负荷序列的分解和预测。Further, the VMD-Prophet load prediction model described in S6 can be implemented in Spyder through Python programming in the virtual environment created by the Anaconda platform, and directly decompose and predict the load sequence.

如上所述,本发明提供的一种基于VMD-Prophet的短期负荷预测方法,具有如下效果:As mentioned above, a short-term load forecasting method based on VMD-Prophet provided by the present invention has the following effects:

1、首先将准备好的数据分为训练集和测试集,训练集用于模型的训练,测试集用于评估最终模型的精度,然后在Prophet预测模型的基础上,引入VMD分解,将原始负荷序列分解为规律性更好的子序列,同时减小趋势分量或噪声分量对短期电力负荷整体预测的影响,将分解好的子序列分别输入Prophet预测模型中进行预测;1. First divide the prepared data into a training set and a test set. The training set is used for model training, and the test set is used to evaluate the accuracy of the final model. Then, based on the Prophet prediction model, VMD decomposition is introduced to decompose the original load. The sequence is decomposed into subsequences with better regularity, and the influence of trend component or noise component on the overall short-term power load forecast is reduced, and the decomposed subsequences are respectively input into the Prophet prediction model for prediction;

2、与其他用于负荷预测的模型LSTM、SARIMA以及未对输入信号进行VMD分解的Prophet进行比较,证明VMD-Prophet模型的预测效果最好。2. Compared with other models used for load forecasting, LSTM, SARIMA, and Prophet without VMD decomposition of the input signal, it is proved that the VMD-Prophet model has the best prediction effect.

下面结合附图和具体实施方式对本发明作详细说明。The present invention will be described in detail below with reference to the accompanying drawings and specific embodiments.

附图说明:Description of drawings:

图1是本发明一种基于VMD-Prophet的短期负荷预测方法的预测流程图;Fig. 1 is the prediction flow chart of a kind of short-term load prediction method based on VMD-Prophet of the present invention;

图2是本发明一种基于VMD-Prophet的短期负荷预测方法的负荷VMD分解结果图;Fig. 2 is the load VMD decomposition result diagram of a kind of short-term load forecasting method based on VMD-Prophet of the present invention;

图3是本发明一种基于VMD-Prophet的短期负荷预测方法的原数据、LSTM、SARIMA、Prophet以及VMD-Prophet的各个模型预测曲线对比图。FIG. 3 is a comparison diagram of the original data of a short-term load forecasting method based on VMD-Prophet of the present invention, and each model prediction curve of LSTM, SARIMA, Prophet and VMD-Prophet.

图4是本发明一种基于VMD-Prophet的短期负荷预测方法与各模型对未来一天负荷预测的精度结果。FIG. 4 is a short-term load forecasting method based on VMD-Prophet of the present invention and the accuracy results of each model for load forecasting for a future day.

具体实施方式:Detailed ways:

参照图1-图4。本发明一种基于VMD-Prophet的短期负荷预测方法具体步骤如下:Refer to Figures 1-4. The specific steps of a VMD-Prophet-based short-term load forecasting method of the present invention are as follows:

1.一种基于VMD-Prophet的短期负荷预测方法,其特征在于,包括如下步骤:1. a short-term load forecasting method based on VMD-Prophet, is characterized in that, comprises the steps:

S1:在将原始负荷序列带入Prophet模型进行预测之前,对其进行变分模态分解(VMD),得到规律性更好的子序列;S1: Before bringing the original load sequence into the Prophet model for prediction, perform Variational Mode Decomposition (VMD) on it to obtain subsequences with better regularity;

S2:使用VMD分解可以将波动的信号分解为K个不同频段的本征模态函数的子信号,具体过程如下:S2: Using VMD decomposition, the fluctuating signal can be decomposed into sub-signals of eigenmode functions of K different frequency bands. The specific process is as follows:

使用VMD进行K阶分解时,可以将其看作如下约束变分问题,如式(1)所示:When using VMD for K-order decomposition, it can be regarded as the following constrained variational problem, as shown in equation (1):

Figure RE-GDA0003764070730000041
Figure RE-GDA0003764070730000041

式中f(t)是未分解主信号,{uk}={u1,…,uk}和{ωk}={ω1,…,ωk}分别代表K阶模态的集合及中心频率。δ(t)是狄拉克分布,*表示卷积,

Figure RE-GDA0003764070730000042
为模态函数uk对应中心频率ωk的指数项,j为虚数。where f(t) is the undecomposed main signal, {u k }={u 1 ,...,u k } and {ω k }={ω 1 ,...,ω k } represent the set of K-order modes and Center frequency. δ(t) is the Dirac distribution, * means convolution,
Figure RE-GDA0003764070730000042
is the exponential term of the modal function uk corresponding to the center frequency ω k , and j is an imaginary number.

引入增广拉格朗日函数,求解上述的约束变分问题的最优解,如式(2)所示:The augmented Lagrangian function is introduced to solve the optimal solution of the above-mentioned constrained variational problem, as shown in equation (2):

Figure RE-GDA0003764070730000043
Figure RE-GDA0003764070730000043

式中:α为二次惩罚因子,用于降低高斯噪声的干扰;λ为拉格朗日乘子。使用乘子交替方向法来求解上述约束变分问题的最优解及增广拉格朗日函数。In the formula: α is the quadratic penalty factor, which is used to reduce the interference of Gaussian noise; λ is the Lagrange multiplier. The optimal solution and augmented Lagrangian function of the above constrained variational problem are solved using the alternate direction method of multipliers.

最终VMD的更新过程如下,如式(3)-式(5)所示:The final update process of VMD is as follows, as shown in equations (3)-(5):

Figure RE-GDA0003764070730000051
Figure RE-GDA0003764070730000051

Figure RE-GDA0003764070730000052
Figure RE-GDA0003764070730000052

Figure RE-GDA0003764070730000053
Figure RE-GDA0003764070730000053

式中

Figure RE-GDA0003764070730000054
分别为f(t)、
Figure RE-GDA0003764070730000055
和λn(t)的傅里叶变换;τ为更新参数;n为迭代参数。in the formula
Figure RE-GDA0003764070730000054
are f(t),
Figure RE-GDA0003764070730000055
and λ n (t) Fourier transform; τ is the update parameter; n is the iteration parameter.

对于给定的判别精度ε>0,若满足如下关系,如式(6)所示,则VMD收敛,停止更新。For a given discrimination accuracy ε>0, if the following relationship is satisfied, as shown in equation (6), the VMD converges and the update is stopped.

Figure RE-GDA0003764070730000056
Figure RE-GDA0003764070730000056

S3:将分解后的负荷子序列,分别带入Prophet预测模型中进行预测,最后将各个子序列的预测结果进行累加,得到最终的预测结果;S3: Bring the decomposed load subsequences into the Prophet prediction model for prediction, and finally accumulate the prediction results of each subsequence to obtain the final prediction result;

S4:采用平均绝对值百分误差(MAPE)和均方根误差(RMSE)两项指标对预测结果进行评价,具体如下式(7)式(8)所示:S4: The prediction results are evaluated using the mean absolute percentage error (MAPE) and the root mean square error (RMSE), as shown in the following formula (7) and formula (8):

Figure RE-GDA0003764070730000057
Figure RE-GDA0003764070730000057

Figure RE-GDA0003764070730000058
Figure RE-GDA0003764070730000058

式中:xpredicted为负荷预测结果,xreal为负荷真实值。In the formula: x predicted is the load prediction result, and x real is the real load value.

S5:VMD算法参数分别设置为:初始中心频率ω=0,收敛判据e=10-7,二次惩罚因子及分解阶数经过反复实验最终设为α=2000,K=3。S5: VMD algorithm parameters are respectively set as: initial center frequency ω=0, convergence criterion e=10 -7 , quadratic penalty factor and decomposition order are finally set to α=2000, K=3 after repeated experiments.

S6:基于Anaconda平台,编程语言为Python,创建Python版本为3.7的虚拟环境,在Spyder 中完成VMD-Prophet预测模型的搭建;S6: Based on the Anaconda platform, the programming language is Python, create a virtual environment with Python version 3.7, and complete the construction of the VMD-Prophet prediction model in Spyder;

S7:在Spyder中通过Python编程来实现VMD-Prophet预测模型对于各个负荷子序列的预测;S7: Implement the prediction of each load subsequence by the VMD-Prophet prediction model through Python programming in Spyder;

S8:在Spyder中测试VMD-Prophet预测模型对于负荷预测的效果。S8: Test the effect of the VMD-Prophet forecasting model on load forecasting in Spyder.

2.根据权利要求1所述的一种基于VMD-Prophet的短期负荷预测方法,其特征在于:VMD 算法将原始负荷序列分解为规律性更好的子序列,同时将预测过程中存在的一些影响预测结果的趋势分量或噪声分量单独提取出来,减小趋势分量或噪声分量对短期电力负荷整体预测的影响。2. a kind of short-term load forecasting method based on VMD-Prophet according to claim 1, is characterized in that: VMD algorithm decomposes original load sequence into the subsequence with better regularity, simultaneously some influences that exist in the forecasting process The trend component or noise component of the forecast result is extracted separately to reduce the influence of the trend component or noise component on the overall forecast of short-term power load.

3.根据权利要求1所述的一种基于VMD-Prophet的短期负荷预测方法,其特征在于:Prophet预测模型具有较好的灵活性,能轻松适应多个季节的季节性,并通过分析对趋势做出不同的假设;此外测量值不必呈等间距分布,也不需要插值缺失值,并且拟合速度较快。3. a kind of short-term load forecasting method based on VMD-Prophet according to claim 1, is characterized in that: Prophet forecasting model has better flexibility, can easily adapt to the seasonality of multiple seasons, and by analyzing the trend Different assumptions are made; in addition, the measurements do not have to be equally spaced, there is no need to interpolate missing values, and the fit is faster.

4.根据权利要求1所述的一种基于VMD-Prophet的短期负荷预测方法,其特征在于:以平均绝对值百分误差和均方根误差对预测结果进行评价,可以较好展示出预测效果。4. a kind of short-term load forecasting method based on VMD-Prophet according to claim 1, it is characterized in that: with mean absolute value percent error and root mean square error to evaluate the forecast result, can better show forecast effect .

5.根据权利要求1所述的一种基于VMD-Prophet的短期负荷预测方法,其特征在于: VMD-Prophet负荷预测模型,可以在Anaconda平台创建的虚拟环境中,通过Python编程在 Spyder中来实现,直接进行负荷序列的分解和预测,其预测流程如图1所示。5. a kind of short-term load forecasting method based on VMD-Prophet according to claim 1, is characterized in that: VMD-Prophet load forecasting model, can in the virtual environment that Anaconda platform creates, realizes in Spyder through Python programming , directly decompose and forecast the load sequence, and its forecasting process is shown in Figure 1.

所述的VMD-Prophet模型的预测过程能够在Anaconda平台所创建的虚拟环境中通过 Python编程来实现,能直接用于负荷的预测,提高负荷预测的精度。The prediction process of the VMD-Prophet model can be implemented through Python programming in the virtual environment created by the Anaconda platform, and can be directly used for load prediction to improve the accuracy of load prediction.

所述的VMD-Prophet模型在Prophet预测模型的基础上,引入VMD分解,分解结果如图 2所示,将分解好的子序列分别输入Prophet预测模型中进行预测,之后进行预测结果的累加;然后采用平均绝对值百分误差和均方根误差两项指标对预测结果进行评价。The VMD-Prophet model introduces VMD decomposition on the basis of the Prophet prediction model. The decomposition result is shown in Figure 2. The decomposed subsequences are respectively input into the Prophet prediction model for prediction, and then the prediction results are accumulated; then The prediction results were evaluated using two indicators, the mean absolute percentage error and the root mean square error.

利用已准备好的数据集,分为训练集和测试集,训练集用于模型的训练,测试集用于评估最终模型的精度;分别与其他用于负荷预测的模型LSTM、SARIMA、以及未对输入信号进行VMD分解的Prophet进行比较,原数据与各模型预测值的对比曲线如图3所示,各模型预测精度结果如图4所示。Using the prepared data set, it is divided into training set and test set, the training set is used for model training, and the test set is used to evaluate the accuracy of the final model; The input signal is compared with the Prophet decomposed by VMD. The comparison curve between the original data and the predicted value of each model is shown in Figure 3, and the results of the prediction accuracy of each model are shown in Figure 4.

Claims (5)

1. A short-term load prediction method based on VMD-Prophet is characterized by comprising the following steps:
s1: before the original load sequence is brought into a Prophet model for prediction, performing Variational Modal Decomposition (VMD) on the original load sequence to obtain a subsequence with better regularity;
s2: the VMD decomposition is used to decompose the fluctuating signal into K eigenmode function sub-signals of different frequency bands, and the specific process is as follows:
when the VMD is used for K-order decomposition, the problem can be regarded as the following constraint variation problem, as shown in formula (1):
Figure FDA0003596155150000011
wherein f (t) is the undecomposed main signal, { u k }={u 1 ,…,u k And { omega } and k }={ω 1 ,…,ω k represents the set of K-order modes and the center frequency, respectively. δ (t) is a dirac distribution, representing a convolution,
Figure FDA0003596155150000015
as a function of mode u k Corresponding to center frequency omega k J is an imaginary number.
Introducing an augmented Lagrange function, and solving an optimal solution of the constraint variation problem, wherein the optimal solution is shown as a formula (2):
Figure FDA0003596155150000012
in the formula: alpha is a secondary penalty factor used for reducing the interference of Gaussian noise; λ is the lagrange multiplier. And solving the optimal solution of the constraint variation problem and the augmented Lagrangian function by using a multiplier alternating direction method.
The final VMD update process is as follows, as shown in equations (3) to (5):
Figure FDA0003596155150000013
Figure FDA0003596155150000014
Figure FDA0003596155150000021
in the formula
Figure FDA0003596155150000022
Respectively f (t),
Figure FDA0003596155150000023
And λ n (t) Fourier transform; tau is an updating parameter; and n is an iteration parameter.
If the predetermined discrimination accuracy ε > 0 satisfies the following relationship, as shown in equation (6), the VMD converges and the update is stopped.
Figure FDA0003596155150000024
S3: respectively bringing the decomposed load subsequences into a Prophet prediction model for prediction, and finally accumulating the prediction results of each subsequence to obtain a final prediction result;
s4: and (3) evaluating the prediction result by using two indexes of a mean absolute value percent error (MAPE) and a Root Mean Square Error (RMSE), wherein the indexes are specifically shown in the following formula (7) and formula (8):
Figure FDA0003596155150000025
Figure FDA0003596155150000026
in the formula: x is the number of predicted As a result of load prediction, x real The load is the real value.
S5: the VMD algorithm parameters are respectively set as: initial center frequency ω is 0 and convergence criterion e is 10 -7 After repeated experiments, the secondary penalty factor and the resolution order are finally set to be alpha equal to 2000 and K equal to 3.
S6: based on an Anaconda platform, the programming language is Python, a virtual environment with a Python version of 3.7 is created, and the building of a VMD-Prophet prediction model is completed in a Spyder;
s7: the prediction of the VMD-Prophet prediction model for each load subsequence is realized in Spyder through Python programming;
s8: the effect of the VMD-Prophet predictive model on load prediction was tested in Spyder.
2. The VMD-Prophet-based short-term load prediction method according to claim 1, wherein: the VMD algorithm decomposes the original load sequence into subsequences with better regularity, and simultaneously extracts trend components or noise components which influence the prediction result and exist in the prediction process independently, so that the influence of the trend components or the noise components on the short-term power load overall prediction is reduced.
3. The VMD-Prophet-based short-term load prediction method according to claim 1, wherein: the Prophet prediction model has better flexibility, can easily adapt to the seasonality of a plurality of seasons, and makes different assumptions on the trend through analysis; in addition, the measured values do not need to be distributed at equal intervals, interpolation missing values are not needed, and the fitting speed is high.
4. The VMD-Prophet-based short-term load prediction method according to claim 1, wherein: the prediction result is evaluated by the average absolute value percentage error and the root mean square error, so that the prediction effect can be better shown.
5. The VMD-Prophet-based short-term load prediction method according to claim 1, wherein: the VMD-Prophet load prediction model can be realized in a virtual environment created by an Anaconda platform through Python programming in a Spyder, and the decomposition and prediction of a load sequence are directly carried out.
CN202210392592.0A 2022-04-14 2022-04-14 A Short-Term Load Forecasting Method Based on VMD-Prophet Pending CN115099448A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202210392592.0A CN115099448A (en) 2022-04-14 2022-04-14 A Short-Term Load Forecasting Method Based on VMD-Prophet

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202210392592.0A CN115099448A (en) 2022-04-14 2022-04-14 A Short-Term Load Forecasting Method Based on VMD-Prophet

Publications (1)

Publication Number Publication Date
CN115099448A true CN115099448A (en) 2022-09-23

Family

ID=83287123

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202210392592.0A Pending CN115099448A (en) 2022-04-14 2022-04-14 A Short-Term Load Forecasting Method Based on VMD-Prophet

Country Status (1)

Country Link
CN (1) CN115099448A (en)

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN117829352A (en) * 2023-12-19 2024-04-05 浙江大学 A method and system for predicting industrial energy consumption based on clustering algorithm and machine learning
CN119128444A (en) * 2024-11-09 2024-12-13 兰州理工大学 A hybrid deep learning model time series prediction method for complex and high-noise signals

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN110648017A (en) * 2019-08-30 2020-01-03 广东工业大学 A Short-Term Shock Load Prediction Method Based on Two-layer Decomposition Technology
CN111553465A (en) * 2020-04-27 2020-08-18 西安建筑科技大学 Public building cold load prediction method based on VMD-GRU network
CN111754024A (en) * 2020-05-22 2020-10-09 国电南瑞科技股份有限公司 A method and device for forecasting time series in power industry based on regression analysis
CN111784043A (en) * 2020-06-29 2020-10-16 南京工程学院 An accurate prediction method of electricity sales in distribution station area based on modal GRU learning network
CN112115648A (en) * 2020-09-23 2020-12-22 贵州电网有限责任公司 Transformer top layer oil temperature prediction method based on improved deep learning method

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN110648017A (en) * 2019-08-30 2020-01-03 广东工业大学 A Short-Term Shock Load Prediction Method Based on Two-layer Decomposition Technology
CN111553465A (en) * 2020-04-27 2020-08-18 西安建筑科技大学 Public building cold load prediction method based on VMD-GRU network
CN111754024A (en) * 2020-05-22 2020-10-09 国电南瑞科技股份有限公司 A method and device for forecasting time series in power industry based on regression analysis
CN111784043A (en) * 2020-06-29 2020-10-16 南京工程学院 An accurate prediction method of electricity sales in distribution station area based on modal GRU learning network
CN112115648A (en) * 2020-09-23 2020-12-22 贵州电网有限责任公司 Transformer top layer oil temperature prediction method based on improved deep learning method

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN117829352A (en) * 2023-12-19 2024-04-05 浙江大学 A method and system for predicting industrial energy consumption based on clustering algorithm and machine learning
CN119128444A (en) * 2024-11-09 2024-12-13 兰州理工大学 A hybrid deep learning model time series prediction method for complex and high-noise signals

Similar Documents

Publication Publication Date Title
Li et al. Short-term load-forecasting method based on wavelet decomposition with second-order gray neural network model combined with ADF test
CN111582551B (en) Wind power plant short-term wind speed prediction method and system and electronic equipment
CN103117546B (en) A kind of Ultrashort-term slide prediction method for wind power
CN111553465B (en) A cooling load forecasting method for public buildings based on VMD-GRU network
CN111783953A (en) A 7-day prediction method of 24-point power load value based on optimized LSTM network
CN112990556A (en) User power consumption prediction method based on Prophet-LSTM model
CN112884236B (en) A short-term load forecasting method and system based on VDM decomposition and LSTM improvement
CN112381279B (en) Wind power prediction method based on VMD and BLS combined model
CN115099448A (en) A Short-Term Load Forecasting Method Based on VMD-Prophet
CN105976077A (en) Power transmission and transformation project cost dynamic control target calculating system and calculating method
CN106503851A (en) A kind of improved Short-Term Load Forecasting Method based on wavelet analysises
CN114692998B (en) Comprehensive energy theft detection method based on probability density regression prediction
CN106127303A (en) A kind of short-term load forecasting method towards multi-source data
CN104966161A (en) Electric energy quality recording data calculating analysis method based on Gaussian mixture model
CN113935513A (en) CEEMDAN-based short-term power load prediction method
CN118779809B (en) A method and system for detecting abnormal power users in a power grid
CN112990603A (en) Air conditioner cold load prediction method and system considering data characteristics after frequency domain decomposition
Xu et al. Interval prediction method for wind power based on VMD-ELM/ARIMA-ADKDE
CN117200208B (en) User-level short-term load forecasting method and system based on multi-scale component feature learning
CN117410959A (en) EEMD-GWO-LSTM network and MC error correction-based power grid load ultra-short-term prediction method
CN105956787A (en) Electric power system power grid development stage division and prediction method
Cheng et al. Multi-step electric vehicles charging loads forecasting: An autoformer variant with feature extraction, frequency enhancement, and error correction blocks
CN117743829A (en) Short-term power load quantity prediction method based on deep learning
CN113344245A (en) Hybrid deep learning short-term prediction model, method, storage medium, and computing device
CN109614384A (en) Short-term load forecasting method of power system under Hadoop framework

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