CN110570023B - Short-term commercial power load prediction method based on SARIMA-GRNN-SVM - Google Patents

Short-term commercial power load prediction method based on SARIMA-GRNN-SVM Download PDF

Info

Publication number
CN110570023B
CN110570023B CN201910758297.0A CN201910758297A CN110570023B CN 110570023 B CN110570023 B CN 110570023B CN 201910758297 A CN201910758297 A CN 201910758297A CN 110570023 B CN110570023 B CN 110570023B
Authority
CN
China
Prior art keywords
model
commercial power
prediction
power load
svm
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Active
Application number
CN201910758297.0A
Other languages
Chinese (zh)
Other versions
CN110570023A (en
Inventor
李娟�
葛磊蛟
张章
迟福建
徐晶
张梁
张雪菲
王世举
李桂鑫
夏冬
崔荣靖
王哲
孙阔
羡一鸣
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Tianjin University
State Grid Corp of China SGCC
State Grid Tianjin Electric Power Co Ltd
Original Assignee
Tianjin University
State Grid Corp of China SGCC
State Grid Tianjin Electric Power Co Ltd
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 Tianjin University, State Grid Corp of China SGCC, State Grid Tianjin Electric Power Co Ltd filed Critical Tianjin University
Priority to CN201910758297.0A priority Critical patent/CN110570023B/en
Publication of CN110570023A publication Critical patent/CN110570023A/en
Application granted granted Critical
Publication of CN110570023B publication Critical patent/CN110570023B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F17/00Digital computing or data processing equipment or methods, specially adapted for specific functions
    • G06F17/10Complex mathematical operations
    • G06F17/18Complex mathematical operations for evaluating statistical data, e.g. average values, frequency distributions, probability functions, regression analysis
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F18/00Pattern recognition
    • G06F18/20Analysing
    • G06F18/24Classification techniques
    • G06F18/241Classification techniques relating to the classification model, e.g. parametric or non-parametric approaches
    • G06F18/2411Classification techniques relating to the classification model, e.g. parametric or non-parametric approaches based on the proximity to a decision surface, e.g. support vector machines
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06NCOMPUTING ARRANGEMENTS BASED ON SPECIFIC COMPUTATIONAL MODELS
    • G06N3/00Computing arrangements based on biological models
    • G06N3/02Neural networks
    • G06N3/04Architecture, e.g. interconnection topology
    • G06N3/045Combinations of networks
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06NCOMPUTING ARRANGEMENTS BASED ON SPECIFIC COMPUTATIONAL MODELS
    • G06N3/00Computing arrangements based on biological models
    • G06N3/02Neural networks
    • G06N3/08Learning methods
    • 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
    • YGENERAL TAGGING OF NEW TECHNOLOGICAL DEVELOPMENTS; GENERAL TAGGING OF CROSS-SECTIONAL TECHNOLOGIES SPANNING OVER SEVERAL SECTIONS OF THE IPC; TECHNICAL SUBJECTS COVERED BY FORMER USPC CROSS-REFERENCE ART COLLECTIONS [XRACs] AND DIGESTS
    • Y04INFORMATION OR COMMUNICATION TECHNOLOGIES HAVING AN IMPACT ON OTHER TECHNOLOGY AREAS
    • Y04SSYSTEMS INTEGRATING TECHNOLOGIES RELATED TO POWER NETWORK OPERATION, COMMUNICATION OR INFORMATION TECHNOLOGIES FOR IMPROVING THE ELECTRICAL POWER GENERATION, TRANSMISSION, DISTRIBUTION, MANAGEMENT OR USAGE, i.e. SMART GRIDS
    • Y04S10/00Systems supporting electrical power generation, transmission or distribution
    • Y04S10/50Systems or methods supporting the power network operation or management, involving a certain degree of interaction with the load-side end user applications

Landscapes

  • Engineering & Computer Science (AREA)
  • Physics & Mathematics (AREA)
  • Theoretical Computer Science (AREA)
  • General Physics & Mathematics (AREA)
  • Data Mining & Analysis (AREA)
  • Business, Economics & Management (AREA)
  • Mathematical Physics (AREA)
  • General Engineering & Computer Science (AREA)
  • Life Sciences & Earth Sciences (AREA)
  • Economics (AREA)
  • Health & Medical Sciences (AREA)
  • General Health & Medical Sciences (AREA)
  • Evolutionary Computation (AREA)
  • Strategic Management (AREA)
  • Human Resources & Organizations (AREA)
  • Artificial Intelligence (AREA)
  • Software Systems (AREA)
  • Tourism & Hospitality (AREA)
  • Mathematical Optimization (AREA)
  • Biomedical Technology (AREA)
  • Biophysics (AREA)
  • Computational Linguistics (AREA)
  • Pure & Applied Mathematics (AREA)
  • Operations Research (AREA)
  • Marketing (AREA)
  • Molecular Biology (AREA)
  • Computing Systems (AREA)
  • General Business, Economics & Management (AREA)
  • Mathematical Analysis (AREA)
  • Computational Mathematics (AREA)
  • Evolutionary Biology (AREA)
  • Bioinformatics & Computational Biology (AREA)
  • Bioinformatics & Cheminformatics (AREA)
  • Entrepreneurship & Innovation (AREA)
  • Water Supply & Treatment (AREA)
  • Computer Vision & Pattern Recognition (AREA)
  • Public Health (AREA)
  • Development Economics (AREA)
  • Game Theory and Decision Science (AREA)
  • Primary Health Care (AREA)

Abstract

The invention relates to a short-term commercial power load prediction method based on SARIMA-GRNN-SVM, which comprises the following steps: obtaining influence factors of commercial power load fluctuation through analysis of a load curve; constructing a single prediction model for the commercial power load time sequence prediction and the multi-factor regression prediction; constructing an SVM model, carrying out parameter optimization and training on the SVM model by utilizing a training sample, and carrying out parameter optimization on the SVM model by a grid search and cross verification method; and inputting the predicted value of the predicted day obtained by the SARIMA model and the GRNN model into the trained SVM model to obtain the predicted value of the commercial power load of the predicted day. The method solves the problem that the single prediction model cannot comprehensively consider the periodic change of the commercial load and influence factors to cause the prediction result to be easy to generate larger errors, and improves the prediction accuracy and the robustness.

Description

一种基于SARIMA-GRNN-SVM的短期商业电力负荷预测方法A Short-Term Commercial Power Load Forecasting Method Based on SARIMA-GRNN-SVM

技术领域technical field

本发明属于电动车零部件技术领域,尤其涉及一种基于SARIMA-GRNN-SVM的短期商业电力负荷预测方法。The invention belongs to the technical field of electric vehicle components, in particular to a short-term commercial power load forecasting method based on SARIMA-GRNN-SVM.

背景技术Background technique

短期电力负荷预测是供电企业制定发电与调度计划、保证电力系统平稳可靠运行的基础。在电力现货市场快速发展的背景下,短期电力负荷预测能够使供电企业及时掌握用电情况,制定合理的电力价格,灵活调整售电策略,提高电力现货市场的交易效率和经济收益。Short-term power load forecasting is the basis for power supply enterprises to formulate power generation and dispatch plans and ensure the stable and reliable operation of the power system. In the context of the rapid development of the power spot market, short-term power load forecasting can enable power supply companies to grasp the power consumption situation in a timely manner, formulate reasonable power prices, flexibly adjust power sales strategies, and improve transaction efficiency and economic benefits in the power spot market.

近年来,由于我国产业结构的调整与居民生活水平的提升,商业电力负荷具有明显上升趋势。相较于工业负荷与居民负荷,商业电力负荷具有更强的可控性,峰谷差也更加明显,适合参与电力现货市场的交易。可见,商业电力负荷的短期预测对电网安全经济运行与电力现货市场的顺利开展具有重要意义。现阶段关于商业电力负荷预测的研究较少,大多针对中长期商业电力负荷的预测,也未考虑如天气、温度等因素对商业电力负荷的影响,难以满足电力现货市场对短期商业电力负荷预测的要求。In recent years, due to the adjustment of my country's industrial structure and the improvement of residents' living standards, the commercial power load has a clear upward trend. Compared with industrial loads and residential loads, commercial power loads are more controllable, and the difference between peaks and valleys is more obvious, making them suitable for trading in the power spot market. It can be seen that the short-term forecast of commercial power load is of great significance to the safe and economic operation of the power grid and the smooth development of the power spot market. At this stage, there are few studies on commercial power load forecasting, most of which focus on mid- and long-term commercial power load forecasting, and do not consider the impact of factors such as weather and temperature on commercial power loads, making it difficult to meet the needs of the power spot market for short-term commercial power load forecasting. Require.

因此,基于这些问题,提供一种克服单一预测模型无法综合考虑商业负荷的周期性变化与影响因素导致预测结果易发生较大误差的问题的基于SARIMA-GRNN-SVM的短期商业电力负荷预测方法,具有重要的现实意义。Therefore, based on these problems, a short-term commercial power load forecasting method based on SARIMA-GRNN-SVM is provided to overcome the problem that a single forecasting model cannot comprehensively consider the periodic changes and influencing factors of commercial loads, resulting in large errors in forecasting results. has important practical significance.

发明内容Contents of the invention

本发明的目的在于克服现有技术的不足,提供一种克服单一预测模型无法综合考虑商业负荷的周期性变化与影响因素导致预测结果易发生较大误差的问题的基于SARIMA-GRNN-SVM的短期商业电力负荷预测方法。The purpose of the present invention is to overcome the deficiencies of the prior art, and to provide a SARIMA-GRNN-SVM-based short-term forecasting model that overcomes the problem that a single forecasting model cannot comprehensively consider the periodic changes and influencing factors of commercial loads, resulting in large errors in forecasting results. Commercial Electric Load Forecasting Methods.

本发明解决其技术问题是采取以下技术方案实现的:The present invention solves its technical problem and realizes by taking the following technical solutions:

一种基于SARIMA-GRNN-SVM的短期商业电力负荷预测方法,包括如下步骤:A short-term commercial power load forecasting method based on SARIMA-GRNN-SVM, comprising the following steps:

S1、采集近期当地商业电力负荷数据,并绘制该段时间内的平均负荷曲线或者/和该段时间内某段时间的负荷曲线,通过对负荷曲线的分析得出商业电力负荷波动的影响因素;S1. Collect recent local commercial power load data, and draw the average load curve or/and the load curve of a certain period of time during this period, and obtain the influencing factors of commercial power load fluctuations through the analysis of the load curve;

S2、对商业电力负荷时间序列预测与多因素回归预测构建单一预测模型;S2. Construct a single forecasting model for commercial power load time series forecasting and multi-factor regression forecasting;

S201、建立SARIMA模型,实现对商业电力负荷时间序列的预测;S201. Establish a SARIMA model to realize the prediction of commercial power load time series;

建立SARIMA模型,公式如下式所示:To establish the SARIMA model, the formula is as follows:

Figure GDA0004042034750000021
Figure GDA0004042034750000021

其中:in:

Figure GDA0004042034750000022
Figure GDA0004042034750000022

θ(B)=1-θ1B-…-θqBq θ(B)=1-θ 1 B-…-θ q B q

Φ(Bs)=1-Φ1BS-…-ΦPBS Φ(B s )=1-Φ 1 B S -…-Φ P B S

Θ(Bs)=1-Θ1BS-…-ΘQBS Θ(B s )=1-Θ 1 B S -…-Θ Q B S

Figure GDA0004042034750000023
Figure GDA0004042034750000023

式中,x(t)为商业电力负荷时间序列,

Figure GDA0004042034750000024
为差分后的平稳时间序列;B表示滞后算子,
Figure GDA0004042034750000025
表示差分算子;
Figure GDA0004042034750000026
为季节自回归模型,
Figure GDA0004042034750000027
为p阶自回归多项式,
Figure GDA0004042034750000028
为非季节自回归参数;Φ(Bs)表示季节自回归多项式,Φ1,Φ2,…ΦP为P阶季节自回归参数;Θ(BS)θ(B)表示季节移动平均模型,其中θ(B)表示q阶移动平均多项式,θ1,θ2,…θq为非季节移动平均参数,Θ(BS)表示季节移动平均多项式,Θ1,Θ2,…ΘQ为Q阶季节移动平均参数,ε(t)为高斯噪音;In the formula, x(t) is the commercial power load time series,
Figure GDA0004042034750000024
is the stationary time series after difference; B represents the lag operator,
Figure GDA0004042034750000025
Represents the difference operator;
Figure GDA0004042034750000026
is a seasonal autoregressive model,
Figure GDA0004042034750000027
is an autoregressive polynomial of order p,
Figure GDA0004042034750000028
is a non-seasonal autoregressive parameter; Φ(B s ) represents a seasonal autoregressive polynomial, Φ 1 , Φ 2 , ... Φ P is a P-order seasonal autoregressive parameter; Θ(B S )θ(B) represents a seasonal moving average model, Where θ(B) represents the q-order moving average polynomial, θ 1 , θ 2 , ... θ q are non-seasonal moving average parameters, Θ(B S ) represents the seasonal moving average polynomial, Θ 1 , Θ 2 , ... Θ Q is Q order seasonal moving average parameter, ε(t) is Gaussian noise;

建立SARIMA模型,以预测日前一段连续时间的历史负荷及时间序列作为输入,采用Augmented Dickey-Fuller检验使原始时间序列平稳化并确定差分阶数,通过自相关系数和偏自相关系数图来判定可能的模型参数,利用赤池信息量准则和贝叶斯信息准则筛选,输出预测日的预测值;Establish the SARIMA model, take the historical load and time series of a continuous period of time before the forecast date as input, use the Augmented Dickey-Fuller test to stabilize the original time series and determine the order of difference, and use the autocorrelation coefficient and partial autocorrelation coefficient graph to determine the possible The model parameters of Akaike's information criterion and Bayesian information criterion are used to filter and output the forecast value of the forecast day;

S202、采用GRNN模型对商业电力负荷进行多因素回归预测S202. Using the GRNN model to perform multi-factor regression prediction on commercial power loads

构建GRNN模型,以预测日前一段连续时间的步骤S1中确定的商业电力负荷波动的影响因素及前一同日期类型日同时刻负荷作为输入,利用循环交叉验证的训练方法,从而使得输出的预测值最优;The GRNN model is constructed, and the influencing factors of commercial power load fluctuations determined in step S1 of a continuous period of time before the forecast date and the load at the same time of the same date type as the input are used as input, and the training method of circular cross-validation is used to make the predicted value of the output the most excellent;

S3、构建SVM模型,并利用训练样本对SVM模型进行参数优化与训练,通过网格搜索与交叉验证法进行SVM模型的参数优化;其中,针对工作日预测,选择前三个工作日的单一预测模型预测值与负荷实际值作为训练样本;针对休息日预测,选择预测日前两天与上一同日期类型日的单一预测模型预测值与负荷实际值为训练样本;其中,单一预测模型预测值采用利用步骤S201、S202中SARIMA模型、GRNN模型得出的预测值;S3. Construct the SVM model, and use the training samples to optimize and train the parameters of the SVM model, and optimize the parameters of the SVM model through the grid search and cross-validation methods; among them, for the forecast of the working day, select the single forecast of the first three working days The model prediction value and actual load value are used as training samples; for the rest day prediction, the single prediction model prediction value and load actual value of the two days before the prediction day and the previous day are selected as training samples; the single prediction model prediction value is used The predicted value obtained by SARIMA model and GRNN model in steps S201 and S202;

S4、将步骤S201、S202中SARIMA模型、GRNN模型得出的预测日的预测值输入到步骤S3中训练后的SVM模型中,即得到预测日的商业电力负荷预测值。S4. Input the predicted value of the predicted day obtained by the SARIMA model and GRNN model in steps S201 and S202 into the trained SVM model in step S3, and obtain the predicted value of the commercial power load on the predicted day.

进一步的,所述步骤S3中在对SVM模型训练之前,用拉依达准则对训练样本中的预测日进行判断,若判断预测日预测结果为异常值,则将该预测日剔除,训练样本向前顺延一日。Further, in the step S3, before training the SVM model, the Raida criterion is used to judge the forecast date in the training sample. If the forecast result of the forecast date is judged to be an abnormal value, the forecast date is eliminated, and the training sample is sent to The previous day was postponed.

进一步的,所述步骤S1中采集的当地商业电力负荷数据最少为近期一年的。Further, the local commercial power load data collected in the step S1 is at least one year old.

进一步的,所述步骤S202中的GRNN模型由输入层、模式层、加和层和输出层构成;输入层各神经元将输入的数据直接传输至模式层,模式层通过径向传递函数将样本传输至加和层,加和层通过两种算法求和并将数据传输至输出层,输出层采用线性函数对结果进行输出。Further, the GRNN model in the step S202 is composed of an input layer, a pattern layer, a summation layer and an output layer; each neuron in the input layer directly transmits the input data to the pattern layer, and the pattern layer transfers the samples through the radial transfer function It is transmitted to the summation layer, and the summation layer sums the two algorithms and transmits the data to the output layer, and the output layer uses a linear function to output the result.

进一步的,所述模式层的径向传递函数为:Further, the radial transfer function of the mode layer is:

Figure GDA0004042034750000041
Figure GDA0004042034750000041

式中,X为网络输入变量;Xi为第i个神经元对应的学习样本;σ代表光滑因子,其中,利用循环交叉验证的训练方法寻找最优σ。In the formula, X is the input variable of the network; Xi is the learning sample corresponding to the i-th neuron; σ represents the smooth factor, and the optimal σ is found by using the training method of circular cross-validation.

进一步的,所述加和层利用以下两种求和方式:一类是计算模式层各神经元输出的加权和;另一类是计算模式层各神经元的输出之和;两类公式分别为:Further, the summation layer utilizes the following two summation methods: one is the weighted sum of the output of each neuron in the calculation mode layer; the other is the sum of the outputs of each neuron in the calculation mode layer; the two types of formulas are respectively :

Figure GDA0004042034750000042
Figure GDA0004042034750000042

Figure GDA0004042034750000043
Figure GDA0004042034750000043

式中,j=1,2,…,m;hij为第i个训练样本的因变量中第j个元素。In the formula, j=1,2,...,m; h ij is the jth element in the dependent variable of the i-th training sample.

本发明的优点和积极效果是:Advantage and positive effect of the present invention are:

本发明中采用的SARIMA模型可以描述由季节性变化显现出周期性特征时间的序列,并且处理时间序列问题时可同时考虑数据间的相关关系和随机因素的干扰,预测精度较高;GRNN模型是径向基网络的一种改进算法,计算精度高,所需时间短;本发明中采用的SVM模型利用训练样本数据在高维空间中构建最优超平面,具有较强的泛化能力,所需样本少;本发明克服了单一预测模型无法综合考虑商业负荷的周期性变化与影响因素导致预测结果易发生较大误差的问题,提升了预测精确度与鲁棒性。The SARIMA model adopted in the present invention can describe the sequence showing periodic characteristic time by seasonal variation, and when dealing with the time series problem, the correlation relationship between data and the interference of random factors can be considered at the same time, and the prediction accuracy is high; the GRNN model is An improved algorithm of radial basis network has high calculation accuracy and short time required; the SVM model adopted in the present invention utilizes training sample data to construct an optimal hyperplane in a high-dimensional space, and has strong generalization ability. Fewer samples are required; the present invention overcomes the problem that a single forecasting model cannot comprehensively consider the periodic changes and influencing factors of commercial loads, resulting in large errors in the forecasting results, and improves the forecasting accuracy and robustness.

附图说明Description of drawings

以下将结合附图和实施例来对本发明的技术方案作进一步的详细描述,但是应当知道,这些附图仅是为解释目的而设计的,因此不作为本发明范围的限定。此外,除非特别指出,这些附图仅意在概念性地说明此处描述的结构构造,而不必要依比例进行绘制。The technical solutions of the present invention will be described in further detail below in conjunction with the drawings and embodiments, but it should be known that these drawings are only designed for the purpose of explanation, and therefore are not intended to limit the scope of the present invention. Furthermore, unless otherwise indicated, the drawings are only intended to conceptually illustrate the architectural configurations described herein and are not necessarily drawn to scale.

图1是本发明实施例1提供的某购物休闲中心2017年平均日负荷曲线;Fig. 1 is the 2017 average daily load curve of a shopping and leisure center provided by Embodiment 1 of the present invention;

图2(a)是本发明实施例1提供的某购物休闲中心2017年1月的营业时间整点时刻平均负荷曲线;Fig. 2 (a) is the average load curve of a certain shopping and leisure center in January 2017 during the hour of business hours provided by Embodiment 1 of the present invention;

图2(b)是本发明实施例1提供的某购物休闲中心2017年4月的营业时间整点时刻平均负荷曲线;Fig. 2 (b) is the hourly average load curve of a certain shopping and leisure center in April 2017 during the business hours provided by Embodiment 1 of the present invention;

图2(c)是本发明实施例1提供的某购物休闲中心2017年7月的营业时间整点时刻平均负荷曲线;Fig. 2 (c) is the average load curve of a shopping and leisure center in July 2017 during the whole hour of business hours provided by Embodiment 1 of the present invention;

图2(d)是本发明实施例1提供的某购物休闲中心2017年10月的营业时间整点时刻平均负荷曲线;Fig. 2 (d) is the average load curve of a shopping and leisure center in October 2017 during the whole hour of business hours provided by Embodiment 1 of the present invention;

图3是本发明实施例1提供的预测日营业时间负荷实际值及单项模型预测值;Fig. 3 is the forecasted daily business hours load actual value and single item model forecast value that the embodiment 1 of the present invention provides;

图4是本发明实施例1提供的预测日营业时间负荷实际值及SVM模型预测值;Fig. 4 is the actual load actual value and the SVM model prediction value of forecast day business hours provided by embodiment 1 of the present invention;

具体实施方式Detailed ways

需要说明的是,在不冲突的情况下,本申请中的实施例及实施例中的特征可以相互组合。It should be noted that, in the case of no conflict, the embodiments in the present application and the features in the embodiments can be combined with each other.

实施例1Example 1

图1是本发明实施例1提供的某购物休闲中心2017年平均日负荷曲线;图2(a)是本发明实施例1提供的某购物休闲中心2017年1月的营业时间整点时刻平均负荷曲线;图2(b)是本发明实施例1提供的某购物休闲中心2017年4月的营业时间整点时刻平均负荷曲线;图2(c)是本发明实施例1提供的某购物休闲中心2017年7月的营业时间整点时刻平均负荷曲线;图2(d)是本发明实施例1提供的某购物休闲中心2017年10月的营业时间整点时刻平均负荷曲线;图3是本发明实施例1提供的预测日营业时间负荷实际值及单项模型预测值;图4是本发明实施例1提供的预测日营业时间负荷实际值及SVM模型预测值;Fig. 1 is the 2017 average daily load curve of a certain shopping and leisure center provided by Embodiment 1 of the present invention; Fig. 2 (a) is the hourly average load of a certain shopping and leisure center provided by Embodiment 1 of the present invention in January 2017 on the whole point of business hours Curve; Fig. 2 (b) is the hourly average load curve of a certain shopping and leisure center in April 2017 during the business hours provided by Embodiment 1 of the present invention; Fig. 2 (c) is a certain shopping and leisure center provided by Embodiment 1 of the present invention The hourly average load curve of the business hours in July, 2017; Fig. 2 (d) is the average load curve of a certain shopping and leisure center in October 2017 during the hourly hours of business hours provided by Embodiment 1 of the present invention; Fig. 3 is the average load curve of the hour of the present invention The actual value of the forecasted business hours load and the single item model forecast value provided in Embodiment 1; FIG. 4 is the actual value of the forecasted business hours load and the SVM model forecast value provided by Embodiment 1 of the present invention;

根据图1、2(a)、2(b)、2(c)、2(d)所示:通过对负荷曲线的分析得出商业电力负荷波动的影响因素为:天气、最高温度、最低温度、日期类型;According to Figures 1, 2(a), 2(b), 2(c), and 2(d): through the analysis of the load curve, the influencing factors of commercial power load fluctuations are: weather, maximum temperature, and minimum temperature , date type;

对某大型休闲购物中心2017年7月5日至7月10日营业时间进行商业电力负荷预测。分别以各预测日前28天营业时间的商业电力负荷实际值和预测日前14天的天气、最高温度、最低温度、日期类型和前一同日期类型日同时刻负荷作为输入,建立SARIMA和GRNN单一预测模型,预测结果如图3所示。Commercial power load forecasting for a large leisure shopping center from July 5, 2017 to July 10, 2017. The actual value of commercial power load during the business hours of 28 days before each forecast date and the weather, maximum temperature, minimum temperature, date type, and load at the same time of the same date type as input for the 14 days before each forecast date were used as input to establish a SARIMA and GRNN single forecast model , and the predicted results are shown in Figure 3.

由图3可以看出,各单一预测模型的预测值与商业电力负荷的实际值大体一致,但单一预测模型预测结果的准确性波动较大,可见其鲁棒性较差。It can be seen from Figure 3 that the predicted values of each single forecasting model are roughly consistent with the actual value of the commercial power load, but the accuracy of the single forecasting model's prediction results fluctuates greatly, which shows that its robustness is poor.

利用本发明所述方法对SVM进行参数寻优与训练:通过网格搜索与交叉验证法进行SVM模型的参数优化;其中,针对工作日预测,选择前三个工作日的单一预测模型预测值与负荷实际值作为训练样本;针对休息日预测,选择预测日前两天与上一同日期类型日的单一预测模型预测值与负荷实际值为训练样本;其中,单一预测模型预测值采用利用SARIMA模型、GRNN模型得出的预测值;Utilize the method described in the present invention to carry out parameter optimization and training to SVM: carry out the parameter optimization of SVM model through grid search and cross-validation method; The actual load value is used as a training sample; for the rest day prediction, the single prediction model prediction value and the actual load value of the two days before the prediction day are selected as the same date type day as the training sample; among them, the single prediction model prediction value adopts SARIMA model, GRNN the predicted value from the model;

对SVM进行参数寻优与训练后,将2017年7月5日至7月10日单一预测模型预测结果输入SVM中,得到组合预测模型预测值,如图4所示。After optimizing and training the parameters of the SVM, input the prediction results of the single prediction model from July 5 to July 10, 2017 into the SVM to obtain the prediction value of the combined prediction model, as shown in Figure 4.

由图4可得,本发明提出的组合预测模型较好的拟合了商业电力负荷的变化趋势,预测结果与实际值相近,只在7月6日预测值与实际值相差较大,经过拉依达准则检测后,异常值为5个,因此在后续预测中不再采用7月6日的数据。具体的,以训练样本中的三个预测日的各时刻误差e1,e2,…,e36为判断基准,计算其平均值E与标准偏差σ;分别计算被判断日不同时刻误差v1,v2,…v12与判断基准平均值E的差Vn(n=1,2,…12);若|Vn|>3σ,则认为该时刻的预测值为异常值;若预测日异常值超过5个,则后续预测将不再采用该日数据。It can be seen from Fig. 4 that the combined forecasting model proposed by the present invention fits the changing trend of the commercial power load well, and the forecasted result is close to the actual value, except that the forecasted value differs greatly from the actual value on July 6. After drawing After the IDA criterion was detected, there were 5 outliers, so the data on July 6 will no longer be used in subsequent forecasts. Specifically, taking the errors e 1 , e 2 , ..., e 36 at each time of the three forecast days in the training sample as the judgment standard, calculate the average E and standard deviation σ; calculate the error v 1 at different times of the judged day , v 2 ,...v 12 and the difference V n (n=1,2,...12) of the judgment standard average value E; if |V n |>3σ, it is considered that the forecast value at this moment is an abnormal value; if the forecast date If there are more than 5 outliers, the data of that day will no longer be used for subsequent forecasts.

为衡量预测模型的准确性与鲁棒性,本实施例采用平均绝对百分比误差(MAPE)和均方根误差(RMSE)为误差标准,分别如下式所示:In order to measure the accuracy and robustness of the prediction model, the present embodiment adopts mean absolute percentage error (MAPE) and root mean square error (RMSE) as error standards, respectively as shown in the following formula:

Figure GDA0004042034750000081
Figure GDA0004042034750000081

Figure GDA0004042034750000082
Figure GDA0004042034750000082

式中,n为预测时刻的个数。In the formula, n is the number of prediction time.

利用以上公式获得2017年7月5日至7月10日单一模型和组合模型的平均绝对百分比误差Em和均方根误差Er,如表1所示:Using the above formula to obtain the average absolute percentage error Em and root mean square error Er of the single model and combined model from July 5 to July 10, 2017, as shown in Table 1:

表1组合预测模型与单一预测模型误差对比Table 1 Comparison of errors between combined forecasting model and single forecasting model

Figure GDA0004042034750000083
Figure GDA0004042034750000083

由表1可知,本实施例所提组合预测模型的MAPE与RMSE均小于单一预测模型,表明该组合预测模型综合了单一预测模型的优点,提取了更加全面的信息,预测精确度和鲁棒性好于单一预测模型。It can be seen from Table 1 that the MAPE and RMSE of the combined forecasting model proposed in this example are both smaller than the single forecasting model, indicating that the combined forecasting model combines the advantages of the single forecasting model, extracts more comprehensive information, forecasting accuracy and robustness better than a single predictive model.

实施例2Example 2

对另一商业综合体2017年1月13日至1月19日营业时间进行商业电力负荷预测。组合模型与单一模型误差对比如表2所示。Commercial power load forecasting is carried out for another commercial complex during the business hours from January 13 to January 19, 2017. The error comparison between the combined model and the single model is shown in Table 2.

表2组合预测模型与单一预测模型误差对比Table 2 Comparison of errors between combined forecasting model and single forecasting model

Figure GDA0004042034750000091
Figure GDA0004042034750000091

由表2可以看出,由于冬季取暖负荷小于夏季降温负荷,因此冬季商业电力负荷的波动性小于夏季负荷,单一预测模型与组合预测模型的预测精度均好于夏季预测。并且同样可得本实施例所提组合预测模型的MAPE与RMSE均小于各单一预测模型,预测精度与鲁棒性均好于单一预测模型,能够满足商业电力负荷短期预测精度与周期要求。It can be seen from Table 2 that because the heating load in winter is smaller than the cooling load in summer, the fluctuation of commercial power load in winter is smaller than that in summer, and the prediction accuracy of single forecasting model and combined forecasting model are better than summer forecasting. And it can also be obtained that the MAPE and RMSE of the combined forecasting model proposed in this embodiment are smaller than each single forecasting model, and the forecasting accuracy and robustness are better than the single forecasting model, which can meet the short-term forecasting accuracy and cycle requirements of commercial power loads.

以上实施例对本发明进行了详细说明,但所述内容仅为本发明的较佳实施例,不能被认为用于限定本发明的实施范围。凡依本发明申请范围所作的均等变化与改进等,均应仍归属于本发明的专利涵盖范围之内。The above embodiments have described the present invention in detail, but the content described is only a preferred embodiment of the present invention, and cannot be considered as limiting the implementation scope of the present invention. All equivalent changes and improvements made according to the application scope of the present invention shall still belong to the scope covered by the patent of the present invention.

Claims (5)

1.一种基于SARIMA-GRNN-SVM的短期商业电力负荷预测方法,其特征在于:包括如下步骤:1. A short-term commercial power load forecasting method based on SARIMA-GRNN-SVM, characterized in that: comprise the steps: S1、采集近期当地商业电力负荷数据,并绘制该段时间内的平均负荷曲线或者/和该段时间内某段时间的负荷曲线,通过对负荷曲线的分析得出商业电力负荷波动的影响因素;S1. Collect recent local commercial power load data, and draw the average load curve or/and the load curve of a certain period of time during this period, and obtain the influencing factors of commercial power load fluctuations through the analysis of the load curve; S2、对商业电力负荷时间序列预测与多因素回归预测构建单一预测模型;S2. Construct a single forecasting model for commercial power load time series forecasting and multi-factor regression forecasting; S201、建立季节自回归差分移动平均SARIMA模型,实现对商业电力负荷时间序列的预测;S201. Establish a seasonal autoregressive differential moving average SARIMA model to realize the prediction of commercial power load time series; 建立SARIMA模型,公式如下式所示:To establish the SARIMA model, the formula is as follows:
Figure FDA0003880249350000011
Figure FDA0003880249350000011
其中:in:
Figure FDA0003880249350000012
Figure FDA0003880249350000012
θ(B)=1-θ1B-…-θqBq θ(B)=1-θ 1 B-…-θ q B q Φ(Bs)=1-Φ1BS-…-ΦPBS Φ(B s )=1-Φ 1 B S -…-Φ P B S Θ(Bs)=1-Θ1BS-…-ΘQBS Θ(B s )=1-Θ 1 B S -…-Θ Q B S
Figure FDA0003880249350000013
Figure FDA0003880249350000013
式中,x(t)为商业电力负荷时间序列,
Figure FDA0003880249350000014
为差分后的平稳时间序列;B表示滞后算子,
Figure FDA0003880249350000015
表示差分算子;
Figure FDA0003880249350000016
为季节自回归模型,
Figure FDA0003880249350000017
为p阶自回归多项式,
Figure FDA0003880249350000018
为非季节自回归参数;Φ(Bs)表示季节自回归多项式,Φ1,Φ2,…ΦP为P阶季节自回归参数;Θ(BS)θ(B)表示季节移动平均模型,其中θ(B)表示q阶移动平均多项式,θ1,θ2,…θq为非季节移动平均参数,Θ(BS)表示季节移动平均多项式,Θ1,Θ2,…ΘQ为Q阶季节移动平均参数,ε(t)为高斯噪音;
In the formula, x(t) is the commercial power load time series,
Figure FDA0003880249350000014
is the stationary time series after difference; B represents the lag operator,
Figure FDA0003880249350000015
Represents the difference operator;
Figure FDA0003880249350000016
is a seasonal autoregressive model,
Figure FDA0003880249350000017
is an autoregressive polynomial of order p,
Figure FDA0003880249350000018
is a non-seasonal autoregressive parameter; Φ(B s ) represents a seasonal autoregressive polynomial, Φ 1 , Φ 2 , ... Φ P is a P-order seasonal autoregressive parameter; Θ(B S )θ(B) represents a seasonal moving average model, Where θ(B) represents the q-order moving average polynomial, θ 1 , θ 2 , ... θ q are non-seasonal moving average parameters, Θ(B S ) represents the seasonal moving average polynomial, Θ 1 , Θ 2 , ... Θ Q is Q order seasonal moving average parameter, ε(t) is Gaussian noise;
建立SARIMA模型,以预测日前一段连续时间的历史负荷及时间序列作为输入,采用Augmented Dickey-Fuller检验使原始时间序列平稳化并确定差分阶数,通过自相关系数和偏自相关系数图来判定可能的模型参数,利用赤池信息量准则和贝叶斯信息准则筛选,输出预测日的预测值;Establish the SARIMA model, take the historical load and time series of a continuous period of time before the forecast date as input, use the Augmented Dickey-Fuller test to stabilize the original time series and determine the order of difference, and use the autocorrelation coefficient and partial autocorrelation coefficient graph to determine the possible The model parameters of Akaike's information criterion and Bayesian information criterion are used to filter and output the forecast value of the forecast day; S202、采用广义回归神经网络GRNN模型对商业电力负荷进行多因素回归预测S202. Using the generalized regression neural network GRNN model to perform multi-factor regression prediction on commercial power loads 构建GRNN模型,以预测日前一段连续时间的步骤S1中确定的商业电力负荷波动的影响因素及前一同日期类型日同时刻负荷作为输入,利用循环交叉验证的训练方法,从而使得输出的预测值最优;The GRNN model is constructed, and the influencing factors of commercial power load fluctuations determined in step S1 of a continuous period of time before the forecast date and the load at the same time of the same date type as the input are used as input, and the training method of circular cross-validation is used to make the predicted value of the output the most excellent; 所述GRNN模型由输入层、模式层、加和层和输出层构成;输入层各神经元将输入的数据直接传输至模式层,模式层通过径向传递函数将样本传输至加和层,加和层通过两种算法求和并将数据传输至输出层,输出层采用线性函数对结果进行输出;The GRNN model is composed of an input layer, a pattern layer, a summation layer and an output layer; each neuron in the input layer directly transmits the input data to the pattern layer, and the pattern layer transmits samples to the summation layer through a radial transfer function, adding The sum layer sums the two algorithms and transmits the data to the output layer, and the output layer uses a linear function to output the result; S3、构建SVM模型,并利用训练样本对SVM模型进行参数优化与训练,通过网格搜索与交叉验证法进行SVM模型的参数优化;其中,针对工作日预测,选择前三个工作日的单一预测模型预测值与负荷实际值作为训练样本;针对休息日预测,选择预测日前两天与上一同日期类型日的单一预测模型预测值与负荷实际值为训练样本;其中,单一预测模型预测值采用利用步骤S201、S202中SARIMA模型、GRNN模型得出的预测值;S3. Construct the SVM model, and use the training samples to optimize and train the parameters of the SVM model, and optimize the parameters of the SVM model through the grid search and cross-validation methods; among them, for the forecast of the working day, select the single forecast of the first three working days The model prediction value and actual load value are used as training samples; for the rest day prediction, the single prediction model prediction value and load actual value of the two days before the prediction day and the previous day are selected as training samples; the single prediction model prediction value is used The predicted value obtained by SARIMA model and GRNN model in steps S201 and S202; S4、将步骤S201、S202中SARIMA模型、GRNN模型得出的预测日的预测值输入到步骤S3中训练后的SVM模型中,即得到预测日的商业电力负荷预测值。S4. Input the predicted value of the predicted day obtained by the SARIMA model and GRNN model in steps S201 and S202 into the trained SVM model in step S3, and obtain the predicted value of the commercial power load on the predicted day.
2.根据权利要求1所述的一种基于SARIMA-GRNN-SVM的短期商业电力负荷预测方法,其特征在于:所述步骤S3中在对SVM模型训练之前,用拉依达准则对训练样本中的预测日进行判断,若判断预测日预测结果为异常值,则将该预测日剔除,训练样本向前顺延一日。2. A kind of short-term commercial power load forecasting method based on SARIMA-GRNN-SVM according to claim 1, characterized in that: in the step S3, before training the SVM model, use the Raida criterion for training samples If it is judged that the prediction result of the prediction day is an abnormal value, the prediction day will be eliminated, and the training sample will be postponed by one day. 3.根据权利要求1所述的一种基于SARIMA-GRNN-SVM的短期商业电力负荷预测方法,其特征在于:所述步骤S1中采集的当地商业电力负荷数据最少为近期一年的。3. A short-term commercial power load forecasting method based on SARIMA-GRNN-SVM according to claim 1, characterized in that: the local commercial power load data collected in the step S1 is at least one year old. 4.根据权利要求1所述的一种基于SARIMA-GRNN-SVM的短期商业电力负荷预测方法,其特征在于:所述模式层的径向传递函数为:4. a kind of short-term commercial power load forecasting method based on SARIMA-GRNN-SVM according to claim 1, is characterized in that: the radial transfer function of described model layer is:
Figure FDA0003880249350000031
Figure FDA0003880249350000031
式中,X为网络输入变量;Xi为第i个神经元对应的学习样本;σ代表光滑因子,其中,利用循环交叉验证的训练方法寻找最优σ。In the formula, X is the input variable of the network; Xi is the learning sample corresponding to the i-th neuron; σ represents the smooth factor, and the optimal σ is found by using the training method of circular cross-validation.
5.根据权利要求4所述的一种基于SARIMA-GRNN-SVM的短期商业电力负荷预测方法,其特征在于:所述加和层利用以下两种求和方式:一类是计算模式层各神经元输出的加权和;另一类是计算模式层各神经元的输出之和;两类公式分别为:5. A kind of short-term commercial power load forecasting method based on SARIMA-GRNN-SVM according to claim 4, characterized in that: the summation layer utilizes the following two summation methods: one is that each neuron of the calculation model layer The weighted sum of unit output; the other is the sum of the output of each neuron in the calculation mode layer; the two types of formulas are:
Figure FDA0003880249350000032
Figure FDA0003880249350000032
Figure FDA0003880249350000033
Figure FDA0003880249350000033
式中,j=1,2,…,m;hij为第i个训练样本的因变量中第j个元素。In the formula, j=1,2,...,m; h ij is the jth element in the dependent variable of the i-th training sample.
CN201910758297.0A 2019-08-16 2019-08-16 Short-term commercial power load prediction method based on SARIMA-GRNN-SVM Active CN110570023B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201910758297.0A CN110570023B (en) 2019-08-16 2019-08-16 Short-term commercial power load prediction method based on SARIMA-GRNN-SVM

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201910758297.0A CN110570023B (en) 2019-08-16 2019-08-16 Short-term commercial power load prediction method based on SARIMA-GRNN-SVM

Publications (2)

Publication Number Publication Date
CN110570023A CN110570023A (en) 2019-12-13
CN110570023B true CN110570023B (en) 2023-05-16

Family

ID=68775658

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201910758297.0A Active CN110570023B (en) 2019-08-16 2019-08-16 Short-term commercial power load prediction method based on SARIMA-GRNN-SVM

Country Status (1)

Country Link
CN (1) CN110570023B (en)

Families Citing this family (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN111382906B (en) * 2020-03-06 2024-02-27 南京工程学院 Power load prediction method, system, equipment and computer readable storage medium
CN111815051B (en) * 2020-07-06 2022-09-23 安徽建筑大学 GRNN photovoltaic power generation prediction method considering weather influence factors
CN112116144B (en) * 2020-09-15 2021-04-13 山东科技大学 Regional power distribution network short-term load prediction method
CN112465250B (en) * 2020-12-08 2024-08-20 深圳供电局有限公司 Power load prediction method, device, computer equipment and storage medium
CN117272121B (en) * 2023-11-21 2024-03-12 江苏米特物联网科技有限公司 Hotel load influence factor quantitative analysis method based on Deep SHAP
CN119167038A (en) * 2024-11-19 2024-12-20 山东建筑大学 Load prediction method, device, medium and equipment for air conditioning system

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2015172560A1 (en) * 2014-05-16 2015-11-19 华南理工大学 Central air conditioner cooling load prediction method based on bp neural network
CN106779129A (en) * 2015-11-19 2017-05-31 华北电力大学(保定) A kind of Short-Term Load Forecasting Method for considering meteorologic factor
CN108229754A (en) * 2018-01-31 2018-06-29 杭州电子科技大学 Short-term load forecasting method based on similar day segmentation and LM-BP networks
CN109657844A (en) * 2018-11-28 2019-04-19 国电南瑞科技股份有限公司 Power Short-Term Load Forecasting method and apparatus

Family Cites Families (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20030182250A1 (en) * 2002-03-19 2003-09-25 Mohammad Shihidehpour Technique for forecasting market pricing of electricity

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2015172560A1 (en) * 2014-05-16 2015-11-19 华南理工大学 Central air conditioner cooling load prediction method based on bp neural network
CN106779129A (en) * 2015-11-19 2017-05-31 华北电力大学(保定) A kind of Short-Term Load Forecasting Method for considering meteorologic factor
CN108229754A (en) * 2018-01-31 2018-06-29 杭州电子科技大学 Short-term load forecasting method based on similar day segmentation and LM-BP networks
CN109657844A (en) * 2018-11-28 2019-04-19 国电南瑞科技股份有限公司 Power Short-Term Load Forecasting method and apparatus

Also Published As

Publication number Publication date
CN110570023A (en) 2019-12-13

Similar Documents

Publication Publication Date Title
CN110570023B (en) Short-term commercial power load prediction method based on SARIMA-GRNN-SVM
Tang et al. Short‐term power load forecasting based on multi‐layer bidirectional recurrent neural network
Li et al. Development of an ANN-based building energy model for information-poor buildings using transfer learning
Guo et al. A deep learning model for short-term power load and probability density forecasting
Deihimi et al. Application of echo state networks in short-term electric load forecasting
CN110619420B (en) A Short-Term Residential Load Forecasting Method Based on Attention-GRU
CN111260136A (en) Building short-term load prediction method based on ARIMA-LSTM combined model
CN111626518A (en) Urban daily water demand online prediction method based on deep learning neural network
CN105631558A (en) BP neural network photovoltaic power generation system power prediction method based on similar day
CN110458374A (en) A kind of business electrical maximum demand prediction technique based on ARIMA and SVM
CN105678404A (en) Micro-grid load prediction system and method based on electricity purchased on-line and dynamic correlation factor
CN112149890A (en) Comprehensive energy load prediction method and system based on user energy label
CN116307076A (en) Industrial park energy efficiency management and control method based on Internet of things
Liu et al. A multi-task learning model for building electrical load prediction
Tian et al. An adaptive ensemble predictive strategy for multiple scale electrical energy usages forecasting
CN111445078A (en) Multivariate load forecasting method of integrated energy system based on long short-term memory neural network
Xie et al. A multi-information fusion model for short term load forecasting of an architectural complex considering spatio-temporal characteristics
Yang et al. A long short term memory based deep learning method for industrial load forecasting
Zhou et al. A Hybrid Method for Ultrashort‐Term Wind Power Prediction considering Meteorological Features and Seasonal Information
Fatema et al. Analysing and forecasting electricity demand and price using deep learning model during the COVID-19 pandemic
CN116385205A (en) Industrial park multi-element load prediction model based on data driving
Zhang et al. Day-ahead electricity price forecasting using artificial intelligence
Codal et al. Big data in smart energy systems: A critical review
Chen et al. Prediction method of intelligent building electricity consumption based on deep learning
Bhandarkar et al. Electricity billing and consumption prediction using machine learning

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