+

CN115564123A - Interval forecasting of short-term power load based on multi-objective and Bayesian optimization - Google Patents

Interval forecasting of short-term power load based on multi-objective and Bayesian optimization Download PDF

Info

Publication number
CN115564123A
CN115564123A CN202211267198.0A CN202211267198A CN115564123A CN 115564123 A CN115564123 A CN 115564123A CN 202211267198 A CN202211267198 A CN 202211267198A CN 115564123 A CN115564123 A CN 115564123A
Authority
CN
China
Prior art keywords
prediction
interval
model
power load
quantile
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
CN202211267198.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.)
Chongqing University of Post and Telecommunications
Original Assignee
Chongqing University of Post and Telecommunications
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 Chongqing University of Post and Telecommunications filed Critical Chongqing University of Post and Telecommunications
Priority to CN202211267198.0A priority Critical patent/CN115564123A/en
Publication of CN115564123A publication Critical patent/CN115564123A/en
Pending legal-status Critical Current

Links

Images

Classifications

    • GPHYSICS
    • G06COMPUTING OR CALCULATING; COUNTING
    • G06QINFORMATION AND COMMUNICATION TECHNOLOGY [ICT] SPECIALLY ADAPTED FOR ADMINISTRATIVE, COMMERCIAL, FINANCIAL, MANAGERIAL OR SUPERVISORY PURPOSES; SYSTEMS OR METHODS SPECIALLY ADAPTED FOR ADMINISTRATIVE, COMMERCIAL, FINANCIAL, MANAGERIAL OR SUPERVISORY PURPOSES, NOT OTHERWISE PROVIDED FOR
    • G06Q10/00Administration; Management
    • G06Q10/04Forecasting or optimisation specially adapted for administrative or management purposes, e.g. linear programming or "cutting stock problem"
    • GPHYSICS
    • G06COMPUTING OR CALCULATING; COUNTING
    • G06NCOMPUTING ARRANGEMENTS BASED ON SPECIFIC COMPUTATIONAL MODELS
    • G06N3/00Computing arrangements based on biological models
    • G06N3/02Neural networks
    • G06N3/04Architecture, e.g. interconnection topology
    • GPHYSICS
    • G06COMPUTING OR CALCULATING; COUNTING
    • G06NCOMPUTING ARRANGEMENTS BASED ON SPECIFIC COMPUTATIONAL MODELS
    • G06N3/00Computing arrangements based on biological models
    • G06N3/02Neural networks
    • G06N3/08Learning methods
    • GPHYSICS
    • G06COMPUTING OR CALCULATING; COUNTING
    • G06QINFORMATION AND COMMUNICATION TECHNOLOGY [ICT] SPECIALLY ADAPTED FOR ADMINISTRATIVE, COMMERCIAL, FINANCIAL, MANAGERIAL OR SUPERVISORY PURPOSES; SYSTEMS OR METHODS SPECIALLY ADAPTED FOR ADMINISTRATIVE, COMMERCIAL, FINANCIAL, MANAGERIAL OR SUPERVISORY PURPOSES, NOT OTHERWISE PROVIDED FOR
    • G06Q10/00Administration; Management
    • G06Q10/06Resources, workflows, human or project management; Enterprise or organisation planning; Enterprise or organisation modelling
    • G06Q10/063Operations research, analysis or management
    • G06Q10/0639Performance analysis of employees; Performance analysis of enterprise or organisation operations
    • GPHYSICS
    • G06COMPUTING OR CALCULATING; COUNTING
    • G06QINFORMATION AND COMMUNICATION TECHNOLOGY [ICT] SPECIALLY ADAPTED FOR ADMINISTRATIVE, COMMERCIAL, FINANCIAL, MANAGERIAL OR SUPERVISORY PURPOSES; SYSTEMS OR METHODS SPECIALLY ADAPTED FOR ADMINISTRATIVE, COMMERCIAL, FINANCIAL, MANAGERIAL OR SUPERVISORY PURPOSES, NOT OTHERWISE PROVIDED FOR
    • G06Q50/00Information and communication technology [ICT] specially adapted for implementation of business processes of specific business sectors, e.g. utilities or tourism
    • G06Q50/06Energy or water supply
    • HELECTRICITY
    • H02GENERATION; CONVERSION OR DISTRIBUTION OF ELECTRIC POWER
    • H02JCIRCUIT ARRANGEMENTS OR SYSTEMS FOR SUPPLYING OR DISTRIBUTING ELECTRIC POWER; SYSTEMS FOR STORING ELECTRIC ENERGY
    • H02J3/00Circuit arrangements for AC mains or AC distribution networks
    • H02J3/003Load forecast, e.g. methods or systems for forecasting future load demand
    • HELECTRICITY
    • H02GENERATION; CONVERSION OR DISTRIBUTION OF ELECTRIC POWER
    • H02JCIRCUIT ARRANGEMENTS OR SYSTEMS FOR SUPPLYING OR DISTRIBUTING ELECTRIC POWER; SYSTEMS FOR STORING ELECTRIC ENERGY
    • H02J2203/00Indexing scheme relating to details of circuit arrangements for AC mains or AC distribution networks
    • H02J2203/20Simulating, e g planning, reliability check, modelling or computer assisted design [CAD]

Landscapes

  • Engineering & Computer Science (AREA)
  • Business, Economics & Management (AREA)
  • Theoretical Computer Science (AREA)
  • Physics & Mathematics (AREA)
  • Human Resources & Organizations (AREA)
  • Economics (AREA)
  • Strategic Management (AREA)
  • General Physics & Mathematics (AREA)
  • Health & Medical Sciences (AREA)
  • Entrepreneurship & Innovation (AREA)
  • Marketing (AREA)
  • General Health & Medical Sciences (AREA)
  • Tourism & Hospitality (AREA)
  • Development Economics (AREA)
  • General Business, Economics & Management (AREA)
  • Data Mining & Analysis (AREA)
  • General Engineering & Computer Science (AREA)
  • Quality & Reliability (AREA)
  • Software Systems (AREA)
  • Mathematical Physics (AREA)
  • Operations Research (AREA)
  • Educational Administration (AREA)
  • Life Sciences & Earth Sciences (AREA)
  • Artificial Intelligence (AREA)
  • Biomedical Technology (AREA)
  • Biophysics (AREA)
  • Computational Linguistics (AREA)
  • Game Theory and Decision Science (AREA)
  • Evolutionary Computation (AREA)
  • Molecular Biology (AREA)
  • Computing Systems (AREA)
  • Primary Health Care (AREA)
  • Water Supply & Treatment (AREA)
  • Public Health (AREA)
  • Power Engineering (AREA)
  • Management, Administration, Business Operations System, And Electronic Commerce (AREA)

Abstract

The method is used for solving the problem that a power supply system after new energy grid connection has high intermittence and volatility, and uncertain information in load data cannot be provided through traditional point prediction. Therefore, the invention provides a short-term power load interval prediction method based on multi-Objective and Bayesian Optimization (MOBO), and belongs to the field of power load prediction. The method comprises the steps of firstly, establishing a quantile regression model based on deep learning, and objectively verifying the processing capacity of each neural network on nonlinear and time sequence information in a load; secondly, analyzing the prediction effects of the single model and the mixed model through validity check, and selecting a model with a reliable prediction interval; and finally, introducing a multi-objective and Bayesian optimization theory to the selected model to construct a deep learning interval prediction model based on the MOBO. The experimental results show that: the proposed model enables a more accurate description of the fluctuation range of the power load.

Description

基于多目标和贝叶斯优化的短期电力负荷区间预测Interval forecasting of short-term power load based on multi-objective and Bayesian optimization

技术领域technical field

本发明属于短期电力负荷预测领域,涉及一种基于多目标和贝叶斯优化(Multiple Objective and Bayesian Optimization,MOBO)的短期电力负荷区间预测方法。The invention belongs to the field of short-term electric load forecasting, and relates to a short-term electric load interval forecasting method based on multiple objective and Bayesian Optimization (MOBO).

背景技术Background technique

在我国,电力行业的碳排放量占全国碳排放量的1/3以上,为推进双碳目标的达成,《中华人民共和国国民经济和社会发展第十四个五年规划和2035年远景目标纲要》明确规定:构建现代能源体系,持续加强新能源电力消纳和跨区输送能力建设,有序推进风电、光伏发电的集中式开发,积极推进多能互补的清洁能源基地建设。在此国家重大战略背景下,利用和开发可再生能源进行发电成为脱碳计划的重要途径,例如风力、光伏和水力等,新能源发电系统随之大规模接入电网,但由于该发电方式易受气候变换和地理位置影响,导致获得的电能具有较大的差异性和间歇性,这将给电力公司的生产和调度带来重大不确定性,从而影响到电网中电力平衡的维持。因此,准确的电力负荷预测对于捕捉不确定性发挥了至关重要的作用,为电网调度人员定制发电计划和发电厂报价提供重要的依据。In my country, the carbon emissions of the power industry account for more than 1/3 of the country's carbon emissions. "Clearly stipulates: build a modern energy system, continue to strengthen the construction of new energy power consumption and cross-regional transmission capacity, orderly promote the centralized development of wind power and photovoltaic power generation, and actively promote the construction of clean energy bases that complement each other. Under the background of this major national strategy, the use and development of renewable energy for power generation has become an important way for decarbonization plans, such as wind power, photovoltaic power and hydropower, etc., and new energy power generation systems will be connected to the grid on a large scale. Affected by climate change and geographical location, the obtained electric energy has great differences and intermittences, which will bring great uncertainty to the production and dispatch of power companies, thus affecting the maintenance of power balance in the grid. Therefore, accurate power load forecasting plays a crucial role in capturing uncertainty, and provides an important basis for grid dispatchers to customize power generation plans and power plant quotations.

目前,电力负荷预测的研究主要围绕点预测开展,这些预测方法主要分为统计学方法(回归分析法、时间序列法和灰色预测法等)和人工智能技术(支持向量机、人工神经网络法和专家系统法)。然而,点预测无法对预测结果的可能波动范围进行预测评估,难以满足新能源并网后对负荷预测更能捕捉随机性信息的高要求;区间预测却能够从本质上解决这个问题,即旨在不同的置信水平下,将数据中的不确定性约束在可控的范围内。目前,国内外对区间预测有一定的研究,负荷的区间预测方法主要包括高斯过程回归、分位数回归、下限和上限估计法以及灰色区间预测等。其中,基于分位数回归的概率预测方法具有灵活、高效的特点,可以与简单的线性模型或机器学习相结合。At present, the research on power load forecasting is mainly carried out around point forecasting. These forecasting methods are mainly divided into statistical methods (regression analysis method, time series method and gray prediction method, etc.) and artificial intelligence technology (support vector machine, artificial neural network method and expert system approach). However, point forecasting cannot predict and evaluate the possible fluctuation range of forecast results, and it is difficult to meet the high requirements for load forecasting to better capture random information after new energy is connected to the grid; interval forecasting can essentially solve this problem, that is, to Under different confidence levels, the uncertainty in the data is constrained within a controllable range. At present, there are certain studies on interval forecasting at home and abroad. The interval forecasting methods of load mainly include Gaussian process regression, quantile regression, lower limit and upper limit estimation methods, and gray interval forecasting. Among them, the probability prediction method based on quantile regression is flexible and efficient, and can be combined with simple linear models or machine learning.

另外,超参数的设置和组合对机器学习模型的预测性能产生重大影响,如模型的准确性、稳定性和泛化能力。故如何优化超参数成为机器学习中最重要的组成部分之一,且对抑制欠拟合以及过度拟合的出现有着关键作用。不同于缺乏理论支持的人工搜索、易陷入局部最优的网格搜索和受到维数限制的随机搜索等超参数优化方法,贝叶斯优化(Bayesian Optimization,BO)算法充分利用已有的评估信息来预测下一个最佳的超参数组合,这极大地减少了训练超参数组合所需的时间,成为最受欢迎的超参数调优策略之一。此外,大部分区间预测的研究倾向于选择单目标函数作为超参数训练的损失函数,例如经验选择方法、均方根误差以及Pinball损失函数等,这无法兼顾预测区间覆盖更多真实值、区间平均宽度更小和区间精锐度更高等多个目标。一个目标的改进往往以牺牲其他目标为代价,例如提高区间覆盖率的同时会使区间平均宽度变大,而缩小区间平均宽度也会导致区间的覆盖率降低。目前,少有研究将预测区间的构建视为具有多个目标的多目标问题。因此,引入多目标和贝叶斯优化理论对建立可靠的预测区间有着重要意义。In addition, the setting and combination of hyperparameters have a significant impact on the predictive performance of machine learning models, such as model accuracy, stability, and generalization ability. Therefore, how to optimize hyperparameters has become one of the most important components in machine learning, and plays a key role in suppressing underfitting and overfitting. Different from hyperparameter optimization methods such as manual search that lacks theoretical support, grid search that is easy to fall into local optimum, and random search that is limited by dimensionality, the Bayesian Optimization (BO) algorithm makes full use of the existing evaluation information To predict the next best hyperparameter combination, which greatly reduces the time required to train hyperparameter combinations, becoming one of the most popular hyperparameter tuning strategies. In addition, most research on interval prediction tends to choose a single objective function as the loss function of hyperparameter training, such as empirical selection methods, root mean square error, and Pinball loss functions, etc., which cannot take into account that the prediction interval covers more real values and the interval average Multiple goals such as smaller width and higher interval precision. The improvement of one goal is often at the expense of other goals. For example, increasing the interval coverage will increase the average width of the interval, and reducing the average width of the interval will also lead to a decrease in the coverage of the interval. Currently, few studies consider the construction of prediction intervals as a multi-objective problem with multiple objectives. Therefore, the introduction of multi-objective and Bayesian optimization theory is of great significance for establishing reliable prediction intervals.

发明内容Contents of the invention

有鉴于此,本发明的目的在于提供一种基于MOBO的深度学习区间预测模型。利用贝叶斯优化算法在超参数训练过程中收敛速度快、扩展性强的优点,来寻找一组使多目标损失函数达到理想效果的帕累托最优解,最终使构建的预测区间能有效地捕捉负荷数据中的不确定性信息以及高效地描述未来负荷的波动范围。In view of this, the object of the present invention is to provide a deep learning interval prediction model based on MOBO. Using the advantages of Bayesian optimization algorithm in the process of hyperparameter training, the convergence speed is fast and the scalability is strong, to find a set of Pareto optimal solutions that make the multi-objective loss function achieve the desired effect, and finally make the constructed prediction interval effective It can accurately capture the uncertainty information in the load data and describe the fluctuation range of future load efficiently.

为达到上述目的,本发明提供如下技术方案:To achieve the above object, the present invention provides the following technical solutions:

一种基于MOBO的短期电力负荷区间预测方法,具体包括以下步骤:A short-term power load interval forecasting method based on MOBO, specifically comprising the following steps:

S1:数据预测处理阶段。对采集的原始电力负荷数据集进行预处理,再按8:2的比例分为训练集和测试集,包括用于超参数调整和区间预测;S1: Data prediction processing stage. Preprocess the collected raw power load data set, and then divide it into a training set and a test set according to the ratio of 8:2, including for hyperparameter adjustment and interval prediction;

S2:模型构建阶段。建立基于深度学习的分位数回归模型,包括CNNQR、RBFQR、LSTMQR、GRUQR、CNN-LSTMQR和CNN-GRUQR等模型;S2: Model building stage. Establish quantile regression models based on deep learning, including models such as CNNQR, RBFQR, LSTMQR, GRUQR, CNN-LSTMQR and CNN-GRUQR;

S3:预测区间构造阶段。将预处理后的数据集输入预测模型,根据置信区间构造理论,输出未来负荷在不同分位点处的预测区间;S3: Prediction interval construction stage. Input the preprocessed data set into the prediction model, and output the prediction interval of the future load at different quantile points according to the confidence interval construction theory;

S4:模型筛选阶段。首先通过预测区间覆盖率,初步排除含有无效预测区间的模型,然后通过温克勒系数和预测区间平均宽度,对初步筛选后的预测模型进一步评估其可靠性和精锐程度,选取含有可靠预测区间的模型;S4: Model screening stage. Firstly, the models with invalid prediction intervals are preliminarily excluded through the coverage of the prediction intervals, and then the reliability and sophistication of the preliminarily screened prediction models are further evaluated through the Winkler coefficient and the average width of the prediction intervals, and the models with reliable prediction intervals are selected. Model;

S5:基于MOBO的超参数优化阶段。兼顾矛盾的多个区间预测指标,建立多目标函数作为贝叶斯优化算法进行超参数寻优的损失函数,然后输出最佳的超参数组合。S5: MOBO-based hyperparameter optimization stage. Taking into account multiple contradictory interval prediction indicators, a multi-objective function is established as the loss function of the Bayesian optimization algorithm for hyperparameter optimization, and then the best hyperparameter combination is output.

S6:预测和评估阶段。将优化的超参数输入所选模型,预测未来电力负荷的波动范围,并通过点预测和区间预测评估指标来对比所提模型与其他模型的优劣。S6: Prediction and evaluation stage. Input the optimized hyperparameters into the selected model to predict the fluctuation range of the future power load, and compare the pros and cons of the proposed model with other models through point prediction and interval prediction evaluation indicators.

进一步,步骤S1中,采用滑动窗口法和归一化法对原始电力负荷数据集进行预处理,将时间序列数据转换为矩阵数据Xt,作为预测模型的输入。Further, in step S1, the sliding window method and the normalization method are used to preprocess the original power load data set, and the time series data is converted into matrix data X t as the input of the forecasting model.

进一步,步骤S2中,基于深度学习的分位数回归模型的权值wτ和偏置bτ的初始化是在分位点τ处完成,并且根据分位数回归理论,最小化损失函数

Figure BDA0003893870650000021
来更新,表达如下:Further, in step S2, the weight w τ and bias b τ of the quantile regression model based on deep learning are initialized at the quantile point τ, and according to the quantile regression theory, the loss function is minimized
Figure BDA0003893870650000021
To update, the expression is as follows:

Figure BDA0003893870650000031
Figure BDA0003893870650000031

Figure BDA0003893870650000032
Figure BDA0003893870650000032

将更新后的矩阵权重wτ *和偏置bτ *,作为预测模型的参数输入,并设其隐含层的神经元数量为M,则t时刻,输入Xt得到隐含层的输出向量H1,H2,...,HM,将其作为全连接层的输入,则得到分位点τ处的输出值:The updated matrix weight w τ * and bias b τ * are input as the parameters of the prediction model, and the number of neurons in the hidden layer is set to M, then at time t, input X t to get the output vector of the hidden layer H 1 ,H 2 ,...,H M , take it as the input of the fully connected layer, and then get the output value at the quantile point τ:

Figure BDA0003893870650000033
Figure BDA0003893870650000033

进一步,步骤S3中,公式3得到的不同分位点τ处的分位数

Figure BDA0003893870650000034
服从(u(Xt),s2(Xt))的高斯分布,u(Xt)是测试样本t的平均分位数,σ2(Xt)则为分位数方差。在给定置信水平100(1-α)%下,预测区间
Figure BDA0003893870650000035
的定义如下:Further, in step S3, the quantiles at different quantile points τ obtained by formula 3
Figure BDA0003893870650000034
Obey the Gaussian distribution of (u(X t ), s 2 (X t )), u(X t ) is the average quantile of the test sample t, and σ 2 (X t ) is the quantile variance. At a given confidence level of 100(1-α)%, the prediction interval
Figure BDA0003893870650000035
is defined as follows:

Figure BDA0003893870650000036
Figure BDA0003893870650000036

Figure BDA0003893870650000037
Figure BDA0003893870650000037

Figure BDA0003893870650000038
Figure BDA0003893870650000038

式中:

Figure BDA0003893870650000039
Figure BDA00038938706500000310
分别为预测区间的下、上限,z1-α/2是标准高斯分布的临界值,取决于置信水平100(1-α)%。In the formula:
Figure BDA0003893870650000039
and
Figure BDA00038938706500000310
are the lower and upper bounds of the prediction interval respectively, and z 1-α/2 is the critical value of the standard Gaussian distribution, which depends on the confidence level 100(1-α)%.

进一步,步骤S5中,建立的基于多目标和贝叶斯优化的短期电力负荷区间预测模型,通过兼顾多个矛盾的预测区间指标,包括MAPE、RMSE、PICP、PINAW以及WS,建立多目标函数作为贝叶斯优化超参数的损失函数,即Further, in step S5, the short-term power load interval forecasting model based on multi-objective and Bayesian optimization is established, and a multi-objective function is established as The loss function for Bayesian optimization hyperparameters, namely

m*=arg min F(m) (7)m * = arg min F(m) (7)

其中,函数F(m)可以等价地表示为:Among them, the function F(m) can be equivalently expressed as:

F(m)=fmape(m)+frmse(m)-fpicp(m)+fpinaw(m)+fws(m) (8)F(m)=f mape (m)+f rmse (m)-f picp (m)+f pinaw (m)+f ws (m) (8)

式中,m*=[m1,m2,m3,m4]是最小化多目标函数得到的Pareto最优解,即带来最大收益的超参数组合,依次为最大训练轮次、初始学习率、学习率衰减周期以及学习率衰减率。In the formula, m * =[m 1 ,m 2 ,m 3 ,m 4 ] is the Pareto optimal solution obtained by minimizing the multi-objective function, that is, the combination of hyperparameters that brings the greatest benefit, followed by the largest training rounds, the initial Learning rate, learning rate decay period, and learning rate decay rate.

本发明的有益效果在于:The beneficial effects of the present invention are:

(1)本发明通过真实的电力负荷数据集验证各神经网络对非线性和时间序列数据的处理能力,并通过消融实验选择性能最优的预测模型。(1) The present invention verifies the processing ability of each neural network on nonlinear and time series data through real power load data sets, and selects the prediction model with the best performance through ablation experiments.

(2)本发明引入多目标和贝叶斯优化理论,对预测模型的超参数、偏置和权值进行调优,实验结果证明本发明能以更高的效率找到适合目标任务的参数,同时,弥补了将预测区间的构建视为单目标问题,导致极高的预测区间覆盖率伴随着较宽的区间宽度等现象。(2) The present invention introduces multi-objective and Bayesian optimization theory, and tunes the hyperparameters, biases and weights of the prediction model. The experimental results prove that the present invention can find parameters suitable for the target task with higher efficiency, and at the same time , which makes up for the phenomenon that the construction of the prediction interval is regarded as a single-objective problem, resulting in extremely high coverage of the prediction interval accompanied by a wide interval width.

本发明的其他优点、目标和特征在某种程度上将在随后的说明书中进行阐述,并且在某种程度上,基于对下文的考察研究对本领域技术人员而言将是显而易见的,或者可以从本发明的实践中得到教导。本发明的目标和其他优点可以通过下面的说明书来实现和获得。Other advantages, objects and features of the present invention will be set forth in the following description to some extent, and to some extent, will be obvious to those skilled in the art based on the investigation and research below, or can be obtained from It is taught in the practice of the present invention. The objects and other advantages of the invention may be realized and attained by the following specification.

附图说明Description of drawings

为了使本发明的目的、技术方案和优点更加清楚,下面将结合附图对本发明作优选的详细描述,其中:In order to make the purpose of the present invention, technical solutions and advantages clearer, the present invention will be described in detail below in conjunction with the accompanying drawings, wherein:

图1为本发明基于多目标和贝叶斯优化的短期电力负荷区间预测的流程图;Fig. 1 is the flow chart of the present invention based on multi-objective and Bayesian optimized short-term power load interval prediction;

图2和3为基于多目标和贝叶斯优化的短期电力负荷区间预测结果;Figures 2 and 3 are the results of short-term power load interval forecasting based on multi-objective and Bayesian optimization;

具体实施方式detailed description

以下通过特定的具体实例说明本发明的实施方式,本领域技术人员可由本说明书所揭露的内容轻易地了解本发明的其他优点与功效。本发明还可以通过另外不同的具体实施方式加以实施或应用,本说明书中的各项细节也可以基于不同观点与应用,在没有背离本发明的精神下进行各种修饰或改变。需要说明的是,以下实施例中所提供的图示仅以示意方式说明本发明的基本构想,在不冲突的情况下,以下实施例及实施例中的特征可以相互组合。Embodiments of the present invention are described below through specific examples, and those skilled in the art can easily understand other advantages and effects of the present invention from the content disclosed in this specification. The present invention can also be implemented or applied through other different specific implementation modes, and various modifications or changes can be made to the details in this specification based on different viewpoints and applications without departing from the spirit of the present invention. It should be noted that the diagrams provided in the following embodiments are only schematically illustrating the basic concept of the present invention, and the following embodiments and the features in the embodiments can be combined with each other in the case of no conflict.

请参阅图1,本发明提供了一种基于多目标和贝叶斯优化的短期电力负荷区间测方法,能有效捕捉负荷数据中的随机性和不确定信息,为电网工作人员生产和调度提供指导性的决策信息,使电力系统能经济安全地运行。首先,对采集的原始电力负荷数据集进行预处理,再按8:2的比例分为训练集和测试集;然后,建立基于深度学习的分位数回归预测模型,通过置信区间构造理论,得到未来负荷在不同分位点的预测值;最后,通过点预测和区间预测评估指标,筛选出预测性能最佳的模型;再引入多目标和贝叶斯优化理论对所选模型的超参数进行调整,利用测试集来对比所提模型的优劣,具体包括以下步骤:Please refer to Figure 1, the present invention provides a short-term power load interval measurement method based on multi-objective and Bayesian optimization, which can effectively capture random and uncertain information in load data, and provide guidance for power grid staff in production and scheduling The information for decision-making can make the power system run economically and safely. First, preprocess the collected original power load data set, and then divide it into a training set and a test set according to the ratio of 8:2; then, establish a quantile regression prediction model based on deep learning, and use the confidence interval construction theory to obtain The predicted value of future load at different quantile points; finally, the model with the best prediction performance is screened out through point prediction and interval prediction evaluation indicators; then multi-objective and Bayesian optimization theory is introduced to adjust the hyperparameters of the selected model , using the test set to compare the pros and cons of the proposed model, which specifically includes the following steps:

步骤1:数据预测处理阶段。对采集的原始电力负荷数据集进行滑动窗口和归一化处理,再按8:2的比例分为训练集和测试集,包括用于超参数调整和区间预测;Step 1: Data prediction processing stage. Carry out sliding window and normalization processing on the collected original power load data set, and then divide it into training set and test set according to the ratio of 8:2, including for hyperparameter adjustment and interval prediction;

步骤2:模型构建阶段。为了选取合理的预测模型,采用网络结构相近的CNN、RBF、LSTM、GRU、CNN-LSTM以及CNN-GRU进行对比研究,并与分位数回归理论相结合。建立基于深度学习的分位数回归模型;Step 2: Model building phase. In order to select a reasonable prediction model, CNN, RBF, LSTM, GRU, CNN-LSTM and CNN-GRU with similar network structures are used for comparative research, and combined with quantile regression theory. Establish a quantile regression model based on deep learning;

步骤3:预测区间构造阶段。将实验数据集输入上述预测模型,并根据置信区间构造理论,得到未来负荷在不同分位点处的预测区间;Step 3: Prediction interval construction stage. Input the experimental data set into the above prediction model, and construct the theory according to the confidence interval to obtain the prediction interval of the future load at different quantile points;

步骤4:先计算预测区间覆盖率,初步排除预测性能不达标的模型,再进一步分析所选模型的预测区间平均宽度和温克勒系数,然后选取含有可靠预测区间的模型;Step 4: First calculate the coverage of the prediction interval, preliminarily exclude the models whose prediction performance is not up to standard, then further analyze the average width of the prediction interval and Winkler coefficient of the selected model, and then select the model with a reliable prediction interval;

步骤5:基于MOBO的超参数优化阶段。兼顾MAPE、RMSE、PICP、PIANW以及WS等指标,建立多目标函数作为贝叶斯优化算法进行超参数寻优的损失函数,然后输出最佳的超参数组合;Step 5: MOBO-based hyperparameter optimization stage. Taking into account indicators such as MAPE, RMSE, PICP, PIANW, and WS, establish a multi-objective function as the loss function of the Bayesian optimization algorithm for hyperparameter optimization, and then output the best hyperparameter combination;

步骤6:预测阶段。将优化的超参数输入所选模型,并预测未来电力负荷的波动范围,通过MAPE、RMSE、PICP、PINAW以及WS指标来评估本发明的预测模型与其他模型的优劣。Step 6: Prediction stage. Input the optimized hyperparameters into the selected model, and predict the fluctuation range of the future power load, and evaluate the advantages and disadvantages of the prediction model of the present invention and other models through MAPE, RMSE, PICP, PINAW and WS indicators.

表1本发明的预测模型和其他模型的PICP指标对比结果The prediction model of the present invention and the PICP index comparison result of other models of table 1

Figure BDA0003893870650000051
Figure BDA0003893870650000051

由表1可知,在四个置信水平下,1)LSTMQR、GRUQR、CNN-LSTMQR、CNN-GRUQR、MOBO-GRUQR和MOBO-LSTMQR六个模型中的PICP值大于给定的置信水平,因此,上述模型能有效量化电力负荷带来的不确定性信息。2)相比之下,RBFQR和CNNQR模型的PICP值在四个置信水平均低于给定的置信水平。因此,在进一步实验中,排除RBFQR和CNNQR模型。It can be seen from Table 1 that under the four confidence levels, 1) the PICP values in the six models of LSTMQR, GRUQR, CNN-LSTMQR, CNN-GRUQR, MOBO-GRUQR and MOBO-LSTMQR are greater than the given confidence level. Therefore, the above The model can effectively quantify the uncertainty information brought by the power load. 2) In contrast, the PICP values of the RBFQR and CNNQR models are all lower than the given confidence level at four confidence levels. Therefore, in further experiments, RBFQR and CNNQR models are excluded.

表2所提模型和其他模型的PINAW和WS指标对比结果Table 2 Comparison results of PINAW and WS indicators between the proposed model and other models

Figure BDA0003893870650000052
Figure BDA0003893870650000052

Figure BDA0003893870650000061
Figure BDA0003893870650000061

经过初步筛选,通过PINAW和WS指标进一步评估所选模型,这两个指标可以对预测区间的可靠性和精锐程度进行评价,结果如表2所示,可得到以下结论:相比于两个混合模型CNN-LSTMQR和CNN-GRUQR的区间预测效果,另外两个单项模型LSTMQR和GRUQR更好,其PINAW和WS指标在四个置信水平下均更低。因此,将对GRUQR和LSTMQR采用贝叶斯和多目标优化,输出未来负荷的预测区间,结果如图2和图3所示。After preliminary screening, the selected model is further evaluated by PINAW and WS indicators. These two indicators can evaluate the reliability and sophistication of the prediction interval. The results are shown in Table 2. The following conclusions can be drawn: Compared with the two mixed The interval prediction effect of the models CNN-LSTMQR and CNN-GRUQR, the other two individual models LSTMQR and GRUQR are better, and their PINAW and WS indicators are lower at the four confidence levels. Therefore, Bayesian and multi-objective optimization will be applied to GRUQR and LSTMQR to output the prediction interval of future load, and the results are shown in Figure 2 and Figure 3.

最后说明的是,以上实施例仅用以说明本发明的技术方案而非限制,尽管参照较佳实施例对本发明进行了详细说明,本领域的普通技术人员应当理解,可以对本发明的技术方案进行修改或者等同替换,而不脱离本技术方案的宗旨和范围,其均应涵盖在本发明的权利要求范围当中。Finally, it is noted that the above embodiments are only used to illustrate the technical solutions of the present invention without limitation. Although the present invention has been described in detail with reference to the preferred embodiments, those of ordinary skill in the art should understand that the technical solutions of the present invention can be carried out Modifications or equivalent replacements, without departing from the spirit and scope of the technical solution, should be included in the scope of the claims of the present invention.

Claims (5)

1.一种基于多目标和贝叶斯优化(Multiple Objective and BayesianOptimization,MOBO)的短期电力负荷区间预测方法,其特征在于,该方法包括以下步骤:1. A short-term power load interval forecasting method based on multiple objectives and Bayesian Optimization (Multiple Objective and BayesianOptimization, MOBO), is characterized in that, the method may further comprise the steps: S1:数据预测处理阶段。对采集的原始电力负荷数据集进行预处理,再按比例分为训练集和测试集,包括用于超参数调整和区间预测;S1: Data prediction processing stage. Preprocess the collected raw power load data set, and then divide it into training set and test set in proportion, including for hyperparameter adjustment and interval prediction; S2:模型构建阶段。为了增强实验的可靠性和对比性,建立基于深度学习的分位数回归模型,包括单项模型和混合模型;S2: Model building stage. In order to enhance the reliability and contrast of the experiment, a quantile regression model based on deep learning was established, including a single model and a mixed model; S3:预测区间造阶段。将预处理后的训练集输入预测模型,并根据置信区间构造理论,输出未来负荷在不同分位点处的预测区间;S3: Prediction interval creation stage. Input the preprocessed training set into the prediction model, and output the prediction interval of the future load at different quantile points according to the confidence interval construction theory; S4:模型筛选阶段。通过评估指标,对模型的区间预测关于可靠性和精锐程度进行评价,选取含有效预测区间的模型;S4: Model screening stage. Through the evaluation index, evaluate the reliability and sophistication of the interval prediction of the model, and select the model with an effective prediction interval; S5:基于MOBO的超参数优化阶段。兼顾矛盾的多个预测区间指标,建立多目标函数作为贝叶斯优化算法进行超参数寻优的损失函数,然后输出是预测效果达到最佳的超参数组合;S5: MOBO-based hyperparameter optimization stage. Taking into account multiple contradictory prediction interval indicators, establish a multi-objective function as the loss function of the Bayesian optimization algorithm for hyperparameter optimization, and then output the hyperparameter combination with the best prediction effect; S6:预测和评估阶段。将优化的超参数输入所选模型,预测未来电力负荷的波动范围,并通过点预测和区间预测评估指标来对比所提模型与其他模型的优劣。S6: Prediction and evaluation stage. Input the optimized hyperparameters into the selected model to predict the fluctuation range of the future power load, and compare the pros and cons of the proposed model with other models through point prediction and interval prediction evaluation indicators. 2.根据权利要求1所述的一种短期电力负荷区间预测方法,其特征在于:步骤S1中,采用滑动窗口法和归一化法对原始电力负荷数据集进行预处理,将时间序列数据转换为矩阵数据Xt,作为预测模型的输入。2. A short-term power load interval forecasting method according to claim 1, characterized in that: in step S1, the original power load data set is preprocessed by using the sliding window method and the normalization method, and the time series data is converted into is the matrix data X t , which is used as the input of the prediction model. 3.根据权利要求1所述的一种短期电力负荷区间预测方法,其特征在于:步骤S2中,基于深度学习的分位数回归模型的权值wτ和偏置bτ的初始化是在分位点τ处完成,并且根据分位数回归理论,最小化损失函数
Figure FDA0003893870640000011
来更新,表达如下:
3. A kind of short-term power load interval prediction method according to claim 1, characterized in that: in step S2, the weight w τ and the bias b τ of the quantile regression model based on deep learning are initialized in the fractional The position τ is completed, and according to the quantile regression theory, the loss function is minimized
Figure FDA0003893870640000011
To update, the expression is as follows:
Figure FDA0003893870640000012
Figure FDA0003893870640000012
Figure FDA0003893870640000013
Figure FDA0003893870640000013
将更新后的矩阵权重wτ *和偏置bτ *,作为预测模型的参数输入,并设其隐含层的神经元数量为M,则t时刻,输入Xt得到隐含层的输出向量H1,H2,...,HM,将其作为全连接层的输入,则得到分位点τ处的输出值:The updated matrix weight w τ * and bias b τ * are input as the parameters of the prediction model, and the number of neurons in the hidden layer is set to M, then at time t, input X t to get the output vector of the hidden layer H 1 ,H 2 ,...,H M , take it as the input of the fully connected layer, and then get the output value at the quantile point τ:
Figure FDA0003893870640000014
Figure FDA0003893870640000014
4.根据权利要求1所述的一种短期电力负荷区间预测方法,其特征在于:步骤S3中,公式3得到的不同分位点τ处的分位数Qyt(τ|Xt)服从(u(Xt),σ2(Xt))的高斯分布,u(Xt)是测试样本t的平均分位数,σ2(Xt)则为分位数方差。在给定置信水平100(1-α)%下,预测区间
Figure FDA0003893870640000026
的定义如下:
4. A kind of short-term power load interval prediction method according to claim 1, characterized in that: in step S3, the quantile Q yt (τ|X t ) at different quantile points τ obtained by formula 3 obeys ( Gaussian distribution of u(X t ), σ 2 (X t )), u(X t ) is the mean quantile of the test sample t, and σ 2 (X t ) is the quantile variance. At a given confidence level of 100(1-α)%, the prediction interval
Figure FDA0003893870640000026
is defined as follows:
Figure FDA0003893870640000021
Figure FDA0003893870640000021
Figure FDA0003893870640000022
Figure FDA0003893870640000022
Figure FDA0003893870640000023
Figure FDA0003893870640000023
式中:
Figure FDA0003893870640000024
Figure FDA0003893870640000025
分别为预测区间的下、上限,z1-α/2是标准高斯分布的临界值,取决于置信水平100(1-α)%。
In the formula:
Figure FDA0003893870640000024
and
Figure FDA0003893870640000025
are the lower and upper bounds of the prediction interval respectively, and z 1-α/2 is the critical value of the standard Gaussian distribution, which depends on the confidence level 100(1-α)%.
5.根据权利要求1所述的一种短期电力负荷区间预测方法,其特征在于:步骤S5中,建立的基于MOBO的短期电力负荷区间预测模型,通过兼顾多个矛盾的预测区间指标,包括MAPE、RMSE、PICP、PINAW以及WS等,建立多目标函数作为贝叶斯优化超参数的损失函数,即5. A method for short-term electric load interval forecasting according to claim 1, characterized in that: in step S5, the established short-term electric load interval forecasting model based on MOBO, by taking into account a plurality of contradictory forecast interval indicators, including MAPE , RMSE, PICP, PINAW, and WS, etc., establish a multi-objective function as the loss function of the Bayesian optimization hyperparameter, namely m*=argmin F(m) (7)m * = argmin F(m) (7) 其中,函数F(m)可以等价地表示为:Among them, the function F(m) can be equivalently expressed as: F(m)=fmape(m)+frmse(m)-fpicp(m)+fpinaw(m)+fws(m) (8)F(m)=f mape (m)+f rmse (m)-f picp (m)+f pinaw (m)+f ws (m) (8) 式中,m*=[m1,m2,m3,m4]是最小化多目标函数得到的Pareto最优解,即带来最大收益的超参数组合,依次为最大训练轮次、初始学习率、学习率衰减周期以及学习率衰减率;然后,将优化后的m*作为基于多目标和贝叶斯优化的短期电力负荷区间预测模型的输入,根据步骤3更新所提模型的偏置和权值,输出关于未来负荷在不同分位点的预测区间。In the formula, m * =[m 1 ,m 2 ,m 3 ,m 4 ] is the Pareto optimal solution obtained by minimizing the multi-objective function, that is, the combination of hyperparameters that brings the greatest benefit, followed by the largest training rounds, the initial Learning rate, learning rate decay period, and learning rate decay rate; then, the optimized m * is used as the input of the short-term power load interval forecasting model based on multi-objective and Bayesian optimization, and the bias of the proposed model is updated according to step 3 and weights, output prediction intervals about future loads at different quantile points.
CN202211267198.0A 2022-10-17 2022-10-17 Interval forecasting of short-term power load based on multi-objective and Bayesian optimization Pending CN115564123A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202211267198.0A CN115564123A (en) 2022-10-17 2022-10-17 Interval forecasting of short-term power load based on multi-objective and Bayesian optimization

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202211267198.0A CN115564123A (en) 2022-10-17 2022-10-17 Interval forecasting of short-term power load based on multi-objective and Bayesian optimization

Publications (1)

Publication Number Publication Date
CN115564123A true CN115564123A (en) 2023-01-03

Family

ID=84746700

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202211267198.0A Pending CN115564123A (en) 2022-10-17 2022-10-17 Interval forecasting of short-term power load based on multi-objective and Bayesian optimization

Country Status (1)

Country Link
CN (1) CN115564123A (en)

Cited By (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN116341681A (en) * 2023-03-31 2023-06-27 国网江苏省电力有限公司扬州供电分公司 A low-voltage photovoltaic user generation load model training and forecasting method
CN118676911A (en) * 2024-06-19 2024-09-20 山东大学 Load probability prediction method and device for self-adaptive dynamic combination
CN118915102A (en) * 2024-08-22 2024-11-08 河南地矿职业学院 Satellite clock error forecasting method and system
CN119151263A (en) * 2024-11-19 2024-12-17 杭州鸿晟电力设计咨询有限公司 Multi-energy load prediction and power distribution network planning method based on data driving

Cited By (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN116341681A (en) * 2023-03-31 2023-06-27 国网江苏省电力有限公司扬州供电分公司 A low-voltage photovoltaic user generation load model training and forecasting method
CN118676911A (en) * 2024-06-19 2024-09-20 山东大学 Load probability prediction method and device for self-adaptive dynamic combination
CN118915102A (en) * 2024-08-22 2024-11-08 河南地矿职业学院 Satellite clock error forecasting method and system
CN119151263A (en) * 2024-11-19 2024-12-17 杭州鸿晟电力设计咨询有限公司 Multi-energy load prediction and power distribution network planning method based on data driving

Similar Documents

Publication Publication Date Title
CN115564123A (en) Interval forecasting of short-term power load based on multi-objective and Bayesian optimization
CN118889419B (en) Power distribution network load prediction and electric quantity balance optimization method and system based on big data
CN108846517A (en) A kind of probability short-term electric load prediction integrated approach of quantile
CN112186743A (en) Dynamic power system economic dispatching method based on deep reinforcement learning
CN110474339B (en) Power grid reactive power control method based on deep power generation load prediction
CN105701572B (en) A short-term photovoltaic output prediction method based on improved Gaussian process regression
CN109002948A (en) The short-term photovoltaic power generation power prediction method of micro-capacitance sensor based on CDA-BP
CN110837915B (en) Low-voltage load point prediction and probability prediction method for power system based on hybrid integrated deep learning
CN115965132A (en) Power prediction method for distributed photovoltaic digital twin system based on GA-BP neural network
Feng et al. Predictability dynamics of multifactor-influenced installed capacity: a perspective of country clustering
CN107609774A (en) A Photovoltaic Power Prediction Method Optimizing Wavelet Neural Network Based on Thinking Evolutionary Algorithm
CN113346504B (en) Active distribution network voltage control method based on data knowledge drive
Xie et al. Short-term power load forecasting model based on fuzzy neural network using improved decision tree
CN115481788A (en) Load prediction method and system for phase change energy storage system
CN117893043A (en) Hydropower station load distribution method based on DDPG algorithm and deep learning model
CN115395502A (en) Photovoltaic power station power prediction method and system
CN115764870A (en) Multivariable photovoltaic power generation power prediction method and device based on automatic machine learning
CN119692204B (en) A pump station regulation method, device and electronic equipment based on digital twin
CN116826710A (en) Recommended method, device and storage medium for peak shaving strategy based on load forecasting
CN108694475B (en) Short-time-scale photovoltaic cell power generation capacity prediction method based on hybrid model
CN113420492B (en) A frequency response modeling method for wind-solar-thermal coupling system based on GAN and GRU neural network
CN114330649A (en) Voltage regulation method and system based on evolutionary learning and deep reinforcement learning
Miao et al. Short-term Load Forecasting Based on Echo State Network and LightGBM
CN119227894A (en) A photovoltaic power generation prediction optimization method and system
CN109711612A (en) Wind power generation power prediction method and device for optimizing echo state network

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
点击 这是indexloc提供的php浏览器服务,不要输入任何密码和下载