CN112865093B - Combined prediction method for short-time power load - Google Patents

Combined prediction method for short-time power load Download PDF

Info

Publication number
CN112865093B
CN112865093B CN202110226784.XA CN202110226784A CN112865093B CN 112865093 B CN112865093 B CN 112865093B CN 202110226784 A CN202110226784 A CN 202110226784A CN 112865093 B CN112865093 B CN 112865093B
Authority
CN
China
Prior art keywords
load
season
time
day
model
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
CN202110226784.XA
Other languages
Chinese (zh)
Other versions
CN112865093A (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.)
Tongji University
Original Assignee
Tongji University
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Tongji University filed Critical Tongji University
Priority to CN202110226784.XA priority Critical patent/CN112865093B/en
Publication of CN112865093A publication Critical patent/CN112865093A/en
Application granted granted Critical
Publication of CN112865093B publication Critical patent/CN112865093B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Classifications

    • 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]
    • 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
    • Y02TECHNOLOGIES OR APPLICATIONS FOR MITIGATION OR ADAPTATION AGAINST CLIMATE CHANGE
    • Y02ATECHNOLOGIES FOR ADAPTATION TO CLIMATE CHANGE
    • Y02A30/00Adapting or protecting infrastructure or their operation
    • 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)
  • Power Engineering (AREA)
  • Management, Administration, Business Operations System, And Electronic Commerce (AREA)

Abstract

The invention relates to a short-time power load prediction method, which is characterized in that according to the correlation between meteorological factors and power loads, total power loads are split into basic loads and meteorological sensitive loads, the basic loads are subjected to load prediction by adopting an autoregressive time sequence method, the meteorological sensitive loads are subjected to load prediction by adopting a support vector machine algorithm, and the two predicted loads are overlapped to realize the prediction of the total power loads. Compared with the traditional short-time power load prediction method, the method has the advantages that the power load is split into the base load and the weather-sensitive load, the prediction model is respectively built aiming at different load types, the accuracy of the power load prediction model is improved, and the annual applicability of the prediction method is improved.

Description

一种短时电力负荷组合式预测方法A short-term power load combined forecasting method

技术领域Technical field

本发明涉及电力负荷预测技术领域,尤其是涉及一种短时电力负荷组合式预测方法。The present invention relates to the technical field of power load forecasting, and in particular to a short-term power load combined forecasting method.

背景技术Background technique

电力是关系国计民生的基础能源,安全可靠的电力系统是国民经济增长和社会发展的重要保障。电力系统不同于一般的工业型产业,其产出电能是无法进行大规模存储的,这也就要求电能的生产和消耗达到实时平衡,即保持时刻的按需供应。负荷预测的实质是对电力系统中用户的需求进行预测,精准的负荷预测则与电力系统各个层面息息相关,在电力系统正常运行中起着举足轻重的作用。对需求侧电力负荷的预测是发电企业、输配电部门、调度中心等各部门在电力规划,制定发电计划,安排发电机组维修计划,规划跨区域电力交易等的基准,是确保供电安全性、可靠性和经济性的基础。Electricity is the basic energy related to the national economy and people's livelihood. A safe and reliable power system is an important guarantee for national economic growth and social development. The electric power system is different from general industrial industries in that the electric energy produced cannot be stored on a large scale. This also requires the production and consumption of electric energy to achieve a real-time balance, that is, to maintain on-demand supply at all times. The essence of load forecasting is to predict the needs of users in the power system. Accurate load forecasting is closely related to all levels of the power system and plays a decisive role in the normal operation of the power system. The forecast of demand-side power load is the benchmark for power generation companies, power transmission and distribution departments, dispatch centers and other departments in power planning, formulating power generation plans, arranging generator unit maintenance plans, planning cross-regional power transactions, etc. It is an important step to ensure the security of power supply and The basis of reliability and economy.

电力负荷预测根据对未来预测时间的长短,分为以下四类:1.超短期负荷预测,即对未来1小时以内的负荷进行预测,主要用于电力市场紧急调度和需求侧响应调节;2.短期负荷预测,其预测目标为未来一天到几天的电力负荷,主要服务于优化供电侧发电计划,高效的安排发电机组运行,便于电力输配侧合理安排调度计划,同时为短期的电价波动提供依据;3.中期负荷预测,是指预测未来一个月到一年的电力负荷,便于供电侧安排更长周期的发电计划,方便安排机组维护等计划;4.长期负荷预测,指提前3至5年的负荷预测,主要用于电力系统的长期规划,便于规划供电容量扩充,电网建设等项目。Electric power load forecasting is divided into the following four categories according to the length of the future prediction time: 1. Ultra-short-term load forecasting, which is to predict the load within one hour in the future, is mainly used for emergency dispatch and demand-side response adjustment in the power market; 2. Short-term load forecasting, whose forecast target is the power load from one to several days in the future, mainly serves to optimize the power generation plan on the power supply side, efficiently arrange the operation of generating units, facilitate the reasonable arrangement of dispatch plans on the power transmission and distribution side, and at the same time provide information for short-term power price fluctuations. Basis; 3. Medium-term load forecasting refers to predicting the power load from one month to one year in the future, which facilitates the power supply side to arrange longer-period power generation plans and unit maintenance and other plans; 4. Long-term load forecasting refers to 3 to 5 years in advance. The annual load forecast is mainly used for long-term planning of the power system to facilitate planning of power supply capacity expansion, power grid construction and other projects.

以前的短时电力负荷预测模型主要采用数据驱动的预测模型,忽略了电力负荷本身构成与变化特性等物理含义。数据驱动模型的建立依赖于数据样本的好坏,而在实际情况中,数据样本量往往有限,这也就造成了既有模型算法泛化性较低的情况。同时,已有的短时电力负荷预测模型对电力负荷影响因素的考虑不全面,只考虑了气温对电力负荷的影响。因此,有必要开发一套从电力负荷构成的物理特性角度出发,综合考虑多种天气因素对电力负荷产生影响的短时电力负荷预测模型,以提高算法的泛化性和预测精度。Previous short-term power load forecasting models mainly used data-driven forecasting models, ignoring the physical implications such as the composition and changing characteristics of the power load itself. The establishment of data-driven models depends on the quality of data samples. In actual situations, the number of data samples is often limited, which results in low generalization of existing model algorithms. At the same time, existing short-term power load forecasting models do not comprehensively consider the influencing factors of power load, and only consider the impact of temperature on power load. Therefore, it is necessary to develop a short-term power load forecasting model based on the physical characteristics of power load composition and comprehensively considering the impact of various weather factors on power load to improve the generalization and prediction accuracy of the algorithm.

发明内容Contents of the invention

本发明要解决的技术问题是,克服现有技术存在的不足,提出短时电力负荷组合式预测方法。The technical problem to be solved by the present invention is to overcome the shortcomings of the existing technology and propose a short-term power load combined prediction method.

为解决技术问题,本发明的解决方案是:In order to solve the technical problem, the solution of the present invention is:

一种短时电力负荷组合式预测方法,具体流程如图1所示包含步骤:A short-term power load combined forecasting method. The specific process is shown in Figure 1 and includes the following steps:

步骤1,当日季节属性判定;Step 1, determine the seasonal attributes of the day;

步骤2,负载预测;Step 2, load prediction;

步骤2中,所述负载预测步骤,具体包括:In step 2, the load prediction step specifically includes:

步骤2.1,基础负荷预测;Step 2.1, base load forecast;

步骤2.2,气象敏感型负荷预测。Step 2.2, weather-sensitive load forecasting.

步骤1中,所述当日季节属性判定,采用当日季节属性判定模型用于对未来一天的当日季节进行判断,具体流程如图2所示,通过未来一天的逐时季节属性的众数加权平均来确定预测日的季节属性SDIn step 1, the day's seasonal attribute determination uses the day's season attribute determination model to determine the day's season in the future day. The specific process is shown in Figure 2, which is determined by the mode weighted average of the hourly seasonal attributes in the future day. Determine the seasonal attributes S D of the forecast day:

其中,ST为某时刻的季节属性;p为不同时段的季节属性加权系数;n为未来一天不同时刻的季节属性众数个数;i表示季节属性众数所对应的各个时刻。Among them, S T is the seasonal attribute at a certain time; p is the weighted coefficient of the seasonal attribute at different time periods; n is the number of seasonal attribute modes at different times in the future day; i represents each moment corresponding to the seasonal attribute mode.

所述时刻的季节属性是通过逐时季节属性判定方法计算得到,逐时季节属性判定采用决策树模型,输入参数为前三小时滑动平均有效温度(mET,℃)、前三小时滑动平均空气焓值(mEnth,kJ/kg)、前三小时滑动平均含湿量(md,g/kg) 和前三小时滑动平均露点温度(mTs,℃)。通过判定规则得到某一时刻的季节划分ST,季节划分定义为离散属性,对应的物理意义如以下公式所示:The seasonal attributes of the moment are calculated through the hourly seasonal attribute determination method. The hourly seasonal attribute determination adopts a decision tree model. The input parameters are the sliding average effective temperature (mET, ℃) in the first three hours and the sliding average air enthalpy in the first three hours. value (mEnth, kJ/kg), the sliding average moisture content in the first three hours (md, g/kg) and the sliding average dew point temperature in the first three hours (mTs, ℃). The seasonal division S T at a certain moment is obtained through the decision rule. The seasonal division is defined as a discrete attribute, and the corresponding physical meaning is as shown in the following formula:

所述季节划分,其判定规则如图3所示,根节点根据权衡各个属性的信息增益度,以有效温度作为根节点属性,当前时刻滑动平均有效温度小于9.8℃时,数据归向左分支,向下划分供热季和过渡季。根据人体热舒适性相关研究,当有效温度作小于9℃时,人体会产生冷感觉。二级节点考察空气焓值,左侧分支当焓值小于43kJ/kg时到达叶子节点,可判定当前时刻需要制热,为供热季。反之,通过第三级节点含湿量大于还是小于10g/kg得出唯一属性类别,从而划分出供热季和过渡季。根节点数据有效温度大于9.8℃,数据向右侧分支流动,从而最终划分出制冷季和过渡季。右侧二级节点信息增益度最大的也是焓值,当焓值小于20.8kJ/kg可判断为过渡季。反之继续向下到第三季节点,当有效温度大于22℃时判断为制冷季。当有效温度小于22℃时通过含湿量是否大于15g/kg将第四层节点的数据子集分为过渡季和制冷季。The determination rules for the seasonal division are as shown in Figure 3. The root node uses the effective temperature as the root node attribute according to the information gain of each attribute. When the sliding average effective temperature at the current moment is less than 9.8°C, the data returns to the left branch, towards the left branch. It is divided into heating season and transition season. According to research on human thermal comfort, when the effective temperature is less than 9°C, the human body will feel cold. The second-level node examines the air enthalpy value. When the left branch reaches the leaf node when the enthalpy value is less than 43kJ/kg, it can be determined that heating is required at the current moment and it is the heating season. On the contrary, the unique attribute category is obtained based on whether the moisture content of the third-level node is greater than or less than 10g/kg, thereby dividing the heating season and the transition season. The effective temperature of the root node data is greater than 9.8°C, and the data flows to the right branch, thus finally dividing the cooling season and the transition season. The largest information gain of the secondary node on the right is also the enthalpy value. When the enthalpy value is less than 20.8kJ/kg, it can be judged as a transition season. On the contrary, it continues downward to the third season point. When the effective temperature is greater than 22°C, it is judged to be the cooling season. When the effective temperature is less than 22°C, the data subset of the fourth layer node is divided into transition season and cooling season based on whether the moisture content is greater than 15g/kg.

所述逐时季节属性判定决策树模型中,为降低决策树的过拟合现象,在模型训练时采用n折交叉验证。将训练样本随机分割成n个子集,其中n-1个子集用来训练,另外一个单独的样本用作验证模型的数据,交叉重复n次,综合n次结果优化模型。In the time-by-hour seasonal attribute determination decision tree model, in order to reduce the over-fitting phenomenon of the decision tree, n-fold cross-validation is used during model training. The training samples are randomly divided into n subsets, of which n-1 subsets are used for training, and a separate sample is used as data to verify the model. The cross-repetition is repeated n times, and the results of n times are integrated to optimize the model.

不同时段的季节属性加权系数是根据人在不同时段开空调的可能性确定的,根据日峰谷变化,将一天分为夜间低谷时段(0:00-7:00),日间高峰时段(8:00-18:00)以及晚间高峰时段(19:00-23:00)。不同时段的季节属性加权系数为:The weighted coefficients of seasonal attributes in different periods are determined based on the possibility of people turning on the air conditioner at different periods. According to the daily peak and valley changes, the day is divided into the nighttime low period (0:00-7:00) and the daytime peak period (8:00-7:00). :00-18:00) and evening peak hours (19:00-23:00). The weighting coefficients of seasonal attributes in different periods are:

步骤2.1中,所述基础负荷为受生活作息影响较大,而与气象变化相关性较小的负荷,根据日类型不同分为工作日基础负荷和节假日基础负荷。采用过渡季对应日类型的历史数据的各时刻加权平均的日负荷作为电力负荷的基础负荷部分。采用所述季节属性判定模型,日基础负荷QF_D计算公式为:In step 2.1, the basic load is a load that is greatly affected by daily life schedules and has little correlation with meteorological changes. It is divided into working day basic load and holiday basic load according to different types of days. The weighted average daily load at each time of the historical data corresponding to the day type in the transition season is used as the basic load part of the power load. Using the seasonal attribute determination model, the daily basic load Q F_D calculation formula is:

其中,认为日季节属性SD=0时为过渡季,过渡季的日平均负荷即为该日基础负荷;当0<|SD|<0.5时为不完全过渡季,日基础负荷为该日各时刻的基础负荷的平均值,上述某日各时刻的基础负荷QF_Ti为:Among them, it is considered that when the daily seasonal attribute S D = 0, it is the transition season, and the daily average load in the transition season is the daily basic load; when 0 < | S D | < 0.5, it is the incomplete transition season, and the daily basic load is the daily basic load. The average value of the base load at each time, the base load Q F_Ti at each time on the above-mentioned day is:

其中,Ti表示某个时刻;STi为某个时刻对应的季节属性值;n为Ti时刻前的若干个用于计算的时刻;为Ti-m时刻的基础负荷。Among them, T i represents a certain moment; S Ti is the seasonal attribute value corresponding to a certain moment; n is several moments used for calculation before Ti moment; is the basic load at time T im .

步骤2.1中,所述基础负荷预测,采用基础负荷预测模型通过时间序列法对基础负荷进行预测,输入数据为前述方法计算所得的与预测日相邻的相同类型日的基础负荷。针对平稳时序数据,主要的预测模型有MA(q),AR(p)和ARMA(p, q);对于非平稳的时序数据,则通过差分去除数据的趋势变化或季节性变化,对得出的新的平稳的时序样本建立ARMA预测模型,主要的预测模型有ARIMA。在确定模型阶数时,采用赤池信息准则(AIC,Akaikeinformation criterion)对p, q进行估计,得出最小AIC下的p,q为模型参数。In step 2.1, the base load prediction uses a base load prediction model to predict the base load through the time series method, and the input data is the base load calculated by the aforementioned method for the same type of days adjacent to the prediction day. For stationary time series data, the main prediction models are MA(q), AR(p) and ARMA(p, q); for non-stationary time series data, the trend change or seasonal change of the data is removed by difference, and the A new stationary time series sample is used to establish an ARMA prediction model. The main prediction model is ARIMA. When determining the model order, the Akaike information criterion (AIC) is used to estimate p and q, and p and q under the minimum AIC are obtained as model parameters.

所述的气象敏感型负荷指在相同的日类型分组内,判断当日季节属性,若为供热季或制冷季,即用当日负荷减去基础负荷部分,多出部分为气象敏感型负荷。气象敏感型负荷采用支持向量机模型(SVR)进行预测,模型参数优化采用网格搜索法,本模型中优化的参数有惩罚因子C和核函数参数γ,公式如下:The weather-sensitive load refers to the seasonal attribute of the day within the same day type grouping. If it is the heating season or the cooling season, the base load is subtracted from the day's load, and the excess is the weather-sensitive load. Meteorologically sensitive loads are predicted using the support vector machine model (SVR), and the grid search method is used for model parameter optimization. The optimized parameters in this model include the penalty factor C and the kernel function parameter γ. The formula is as follows:

其中,σ为核宽度。Among them, σ is the kernel width.

步骤2.2中,所述气象敏感型负荷预测,采用气象敏感型负荷预测模型的输入参数随预测日的当日季节类型不同而变化,当日季节类型为供热季时(SD=1),输入模型的变量如以下公式所示:In step 2.2, the meteorological-sensitive load prediction uses the input parameters of the meteorological-sensitive load prediction model that change with the seasonal type of the day on the prediction day. When the seasonal type of the day is the heating season (SD=1), the input parameters of the model are The variables are shown in the following formula:

SD=1: S D =1:

其中,Ti为预测时刻;mET为预测时刻前四点滑动平均有效温度;为 Ti-j时刻的气象敏感型负荷。输入空间为六维。Among them, T i is the prediction time; mET is the moving average effective temperature of the four points before the prediction time; is the weather-sensitive load at time T ij . The input space is six dimensions.

当日季节类型为供冷季时(SD=-1),输入模型的变量如以下公式所示:When the daily season type is the cooling season (S D =-1), the variables entered into the model are as follows:

其中,mT为预测时刻前四点滑动平均温度;为预测时刻前四点滑动平均相对湿度;mν为预测时刻前四点滑动平均风速。输入空间为八维。Among them, mT is the moving average temperature of the four points before the prediction time; is the moving average relative humidity at the four points before the prediction time; mν is the moving average wind speed at the four points before the prediction time. The input space is eight-dimensional.

所述的短时电力负荷组合式预测方法,可实现对未来一天逐15分钟的电力负荷预测,其每个时刻的预测总负荷为:The short-term power load combined forecasting method can achieve 15-minute power load forecast for the next day, and the total predicted load at each moment is:

QAll_T=QF_T+QW_T Q All_T = Q F_T + Q W_T

其中,QAll_T为未来一天某时刻电力负荷的预测值;QF_T为未来一天某时刻电力负荷的基础负荷预测值;QW_T为未来一天某时刻电力负荷的气象敏感型负荷预测值。Among them, Q All_T is the forecast value of the power load at a certain time in the future day; Q F_T is the basic load forecast value of the electric power load at a certain time in the future day; Q W_T is the weather-sensitive load forecast value of the electric power load at a certain time in the future day.

附图说明Description of drawings

图1为短时电力负荷组合式预测方法流程图。Figure 1 is a flow chart of the short-term power load combined forecasting method.

图2为当日季节属性判定方法流程图。Figure 2 is a flow chart of the method for determining the seasonal attributes of the day.

图3为某时刻的季节划分判定规则。Figure 3 shows the season division determination rules at a certain moment.

图4模型混淆矩阵。Figure 4 Model confusion matrix.

图5为实施例数据预测值和目标值的时序对比图。Figure 5 is a time series comparison diagram of the data prediction value and the target value in the embodiment.

图6为SVR模型参数惩罚因子C和核函数分布宽度γ的寻优结果图。Figure 6 shows the optimization results of the SVR model parameter penalty factor C and kernel function distribution width γ.

图7展示了训练集上模型的拟合程度和偏差情况。Figure 7 shows the fitting degree and deviation of the model on the training set.

图8展示了测试集上模型的拟合程度和偏差情况。Figure 8 shows the fitting degree and deviation of the model on the test set.

具体实施方式Detailed ways

图1为本发明短时电力负荷组合式预测方法流程图。Figure 1 is a flow chart of the short-term power load combined prediction method of the present invention.

下面结合附图和具体实施例进一步对本发明进行详细说明(以上海市2014 年每15分钟电力负荷为例进行训练和预测,数据来源于上海市经济和信息委员会数据平台),具体包括以下几个步骤:The present invention will be further described in detail below in conjunction with the accompanying drawings and specific embodiments (taking the power load every 15 minutes in Shanghai in 2014 as an example for training and prediction, the data comes from the Shanghai Municipal Economic and Information Commission data platform), specifically including the following: step:

步骤1:训练当日季节属性判定模型。基于建筑能耗的背景知识,上海确定的采暖季为一月,确定的制冷季为七月,过渡季会出现在四、十月份。因此将一月数据季节属性赋值为1,七月数据季节属性赋值为-1,根据人体舒舒适指标,当有效温度ET落在15-23℃时人体感觉较为舒适,因此可认为四、十月份处于该范围内的有效温度时段为过渡季。四、十月份有效温度不处于这个范围内的,暂认为季节属性无法判别。可通过后续决策树对训练数据的规则挖掘对该时段数据分类。Step 1: Train the seasonal attribute determination model for the day. Based on the background knowledge of building energy consumption, the heating season in Shanghai is determined to be January, the cooling season is determined to be July, and the transition season will appear in April and October. Therefore, the seasonal attribute of January data is assigned a value of 1, and the seasonal attribute of July data is assigned a value of -1. According to the human body comfort index, when the effective temperature ET falls between 15-23°C, the human body feels more comfortable, so it can be considered that April and October The effective temperature period within this range is the transition season. If the effective temperature in April and October is not within this range, it is temporarily considered that the seasonal attributes cannot be determined. The data of this period can be classified through subsequent decision tree rule mining of the training data.

输入训练数据为一月、七月逐时数据,以及四、十月份有效温度落在15-23℃的数据,决策树生成的季节判别规则如图3所示。通过训练,生成的决策树分类精准度为92.5%。模型混淆矩阵如图4所示,该模型整体对过渡季分类的误差较大为10%,其中过渡季和供热季的分类误差较大为7%,主要由于训练数据中过渡季天气参数和供热季天气参数重合较多,且决策树左边分支级数较少。但为了防止数据过拟合,且针对逐时的季节判断,该模型精度已达到要求。The input training data is hourly data in January and July, as well as data with effective temperatures falling between 15-23°C in April and October. The seasonal discrimination rules generated by the decision tree are shown in Figure 3. After training, the classification accuracy of the generated decision tree is 92.5%. The model confusion matrix is shown in Figure 4. The model's overall classification error for the transition season is 10%, among which the classification error for the transition season and heating season is 7%. This is mainly due to the transition season weather parameters and The weather parameters in the heating season overlap more, and the left branch of the decision tree has fewer levels. However, in order to prevent data overfitting and for hour-by-hour seasonal judgment, the accuracy of the model has met the requirements.

步骤2:训练基础负荷预测模型。以3月17日至3月21日连续五个工作日数据为例进行训练建模,并对3月24日负荷进行预测,分析模型预测性能,其中间隔日期为节假日。在对数据进行平稳性判断,模型识别和定阶后,确定模型的形式为ARIMA(5,2,3),通过最小二乘法所得的系数如表1所示:Step 2: Train the base load forecast model. Take the data of five consecutive working days from March 17 to March 21 as an example to conduct training modeling, and predict the load on March 24 to analyze the prediction performance of the model, where the interval dates are holidays. After judging the stationarity of the data, identifying the model and determining the order, the form of the model was determined to be ARIMA (5, 2, 3). The coefficients obtained by the least squares method are shown in Table 1:

表1工作日样本预测模型参数确定Table 1 Determination of working day sample prediction model parameters

在计算出预测模型具体形式后,对3月24日96点数据进行预测,并与该日实际基础负荷进行对比,以便评估预测模型性能。对于测试集的模型评估指标如表2所示,整体而言,采用时间序列法对过渡季基础负荷的预测精准度较高,相对误差小于2%,且模型的拟合度较高。表明该方法对于预测日间变化稳定的基础负荷性能较好。After calculating the specific form of the forecast model, the 96-point data on March 24 was forecast and compared with the actual base load on that day in order to evaluate the performance of the forecast model. The model evaluation indicators for the test set are shown in Table 2. Overall, the time series method is used to predict the base load in the transition season with high accuracy, the relative error is less than 2%, and the model has a high degree of fit. It shows that this method has better performance in predicting base load with stable diurnal variation.

表2工作日样本测试集预测模型评估表Table 2 Prediction model evaluation table for working day sample test set

图5所示为对3月24日96点数据预测值和目标值的时序对比图,下图所示预测值与目标值高度拟合,较好的预测出基础负荷的变化特性。Figure 5 shows the time series comparison chart of the predicted value and the target value of the 96-point data on March 24. The predicted value shown in the figure below is highly consistent with the target value, and can better predict the changing characteristics of the base load.

步骤3:训练气象敏感型负荷预测模型,预测总电力负荷。以供暖季预测模型为例,为保证充足的训练样本数,选取1月7日-1月16日十天960项数据作为训练集,以1月17日和1月20日数据为测试集,相隔日期为剔除的节假日。图6所示为SVR模型参数惩罚因子C和核函数分布宽度γ的寻优结果图,通过网格搜索法以模型最小标准化的均方差(MSE)为目标,所得的C和γ即为该输入样本下的最优参数。针对上述训练样本最优方程参数C=2.828,γ=5.67。Step 3: Train the weather-sensitive load forecasting model to predict the total power load. Taking the heating season prediction model as an example, in order to ensure a sufficient number of training samples, 960 data items for ten days from January 7 to January 16 were selected as the training set, and the data on January 17 and January 20 were used as the test set. The separated dates are excluded holidays. Figure 6 shows the optimization results of the SVR model parameter penalty factor C and kernel function distribution width γ. The minimum standardized mean square error (MSE) of the model is targeted through the grid search method. The obtained C and γ are the inputs. optimal parameters under the sample. For the above training samples, the optimal equation parameters are C=2.828 and γ=5.67.

表格3给出气象敏感型负荷预测模型基于训练集和预测集的性能参数汇总。训练集进行模型拟合时采用5折交叉验证的方法,训练出的模型具有较好的性能,首先R2较高,具有较高的拟合程度。其次预测值和目标值的RMSE较小,说明残差分布较为集中,且MAE为170.8,平均相对误差为12%。相对而言,模型对于测试集的预测性能有所下降,但就平均相对误差的对比,结合输入参数维数较少且训练样本足够大,说明该模型具有较好的泛化性,排除了过拟合的情况。测试集中RMSE和MAE较大,主要由于气象敏感负荷的波动更为随机且周期变化性不强。但预测出的气象敏感负荷与基础负荷相加的数据,与总电力负荷序列比较得出MAPE显著降低,大大优化了对在整体预测集上的相对误差。Table 3 gives a summary of the performance parameters of the weather-sensitive load forecasting model based on the training set and prediction set. The 5-fold cross-validation method is used when fitting the model on the training set. The trained model has better performance. First of all, R2 is higher and has a higher degree of fitting. Secondly, the RMSE of the predicted value and the target value is small, indicating that the residual distribution is relatively concentrated, and the MAE is 170.8, and the average relative error is 12%. Relatively speaking, the prediction performance of the model on the test set has declined, but the comparison of the average relative error, combined with the small number of input parameter dimensions and the large enough training sample, shows that the model has good generalization and eliminates the problem of excessive fitting situation. The RMSE and MAE in the test set are larger, mainly because the fluctuations of meteorological sensitive loads are more random and the periodic variability is not strong. However, comparing the data of the predicted meteorological sensitive load and base load combined with the total power load sequence, the MAPE is significantly reduced, which greatly optimizes the relative error in the overall forecast set.

表格3气象敏感型负荷预测模型性能汇总Table 3 Performance summary of meteorologically sensitive load forecasting models

图7和图8分别展示了训练集和测试集上模型的拟合程度和偏差情况,总体而言模型可以较好的预测出电力负荷的变化走势。Figures 7 and 8 show the fitting degree and deviation of the model on the training set and test set respectively. Overall, the model can better predict the changing trend of the power load.

Claims (4)

1. A short-time power load combined prediction method is characterized in that the flow comprises the following steps:
step 1, judging the season attribute of the current day;
in step 1, the current day season attribute determination is performed by using a current day season attribute determination model for determining the current day season of the future day, and determining the season attribute S of the predicted day by a mode weighted average of the time-by-time season attributes of the future day D
Wherein S is T Is a seasonal attribute at a certain moment; p is the season attribute weighting coefficient of different time periods; n is the number of season attribute modes at different times of the future day; i represents each moment corresponding to the season attribute mode;
step 2, load prediction; in step 2, the load prediction step specifically includes:
step 2.1, predicting a base load;
in the step 2.1, the base load is a load which is greatly influenced by life work and rest and has smaller correlation with weather change, and is divided into a workday base load and a holiday base load according to different day types; adopting daily load of weighted average of each moment of historical data of corresponding daily type in transition season as a basic load part of the power load; adopting the seasonal attribute determination model, the daily base load Q F_D The calculation formula is as follows:
wherein, consider the day-season attribute S D When=0, the average daily load in the transition season is the base daily load; when 0 < |S D When the level is less than 0.5, the time of day base load is the average value of the base load at each time of the day, and the base load Q at each time of the day is the incomplete transition season F_Ti The method comprises the following steps:
wherein T is i Indicating a certain moment; s is S Ti The season attribute value corresponding to a certain moment; n is T i A plurality of moments before the moment for calculating;is T i-m A moment base load;
and 2.2, weather-sensitive load prediction.
2. The short-term power load combined prediction method according to claim 1, wherein in step 1,
the seasonal attribute at the moment is calculated by a time-by-time seasonal attribute judging method, a decision tree model is adopted for judging the time-by-time seasonal attribute, and input parameters are a first three-hour moving average effective temperature mET (DEG C), a first three-hour moving average air enthalpy value mEnth (kJ/kg), a first three-hour moving average moisture content md (g/kg) and a first three-hour moving average dew point temperature mTs (DEG C); obtaining seasonal division S at a certain moment through judging rules T Seasonal divisions are defined as discrete attributes, corresponding physical meanings are shown in the following formula:
according to the season division, the root node takes the effective temperature as the root node attribute according to the information gain degree of each attribute, when the current time sliding average effective temperature is less than 9.8 ℃, the data is led to the left branch, and the heat supply season and the transition season are divided downwards; according to the related study of the thermal comfort of the human body, when the effective temperature is less than 9 ℃, the human body can generate cold feeling; the second-level node examines the enthalpy value of the air, and when the enthalpy value is less than 43kJ/kg, the left branch reaches the leaf node, so that the heating is required at the current moment and the heating season is judged; on the contrary, the unique attribute category is obtained through whether the moisture content of the third-stage node is more than or less than 10g/kg, so that a heating season and a transition season are divided; the effective temperature of the root node data is more than 9.8 ℃, and the data branches to the right side to flow, so that a refrigerating season and a transition season are finally divided; the maximum gain of the right-side secondary node information is also an enthalpy value, and when the enthalpy value is smaller than 20.8kJ/kg, the transition season can be judged; otherwise, continuing to downwards reach the third-stage node, and judging that the cooling season is performed when the effective temperature is higher than 22 ℃; dividing the subset of data of the fourth level node into a transition season and a refrigeration season by whether the moisture content is greater than 15g/kg when the effective temperature is less than 22 ℃;
in the time-by-time seasonal attribute decision tree model, n-fold cross validation is adopted in model training in order to reduce the overfitting phenomenon of the decision tree; randomly dividing the training samples into n subsets, wherein n-1 subsets are used for training, another single sample is used as data of a verification model, the training samples are alternately repeated for n times, and the result optimization model is synthesized for n times;
the season attribute weighting coefficients of different time periods are determined according to the possibility that people turn on air conditioner in different time periods, and the time periods are divided into night valley time periods 0:00-7:00, daytime peak time periods 8:00-18:00 and evening peak time periods 19:00-23:00 according to daily peak-valley changes; the season attribute weighting coefficients of different time periods are:
3. the short-term power load combined prediction method according to claim 2, characterized in that,
in step 2.1, the base load is predicted by adopting a base load prediction model through a time sequence method, and input data is the base load of the same type of day adjacent to the predicted day calculated by the method; for stationary time series data, the prediction model is MA (q), AR (p) and ARMA (p, q); for non-stable time sequence data, establishing an ARMA prediction model for the obtained new stable time sequence sample through differential removal of trend change or seasonal change of the data; when determining the model order, estimating p and q by adopting a red pool information criterion AIC (Akaike information criterion) to obtain p and q under the minimum AIC as model parameters;
the weather-sensitive load refers to the weather-sensitive load, the weather-sensitive load is divided into groups of the same day type, the current day season attribute is judged, if the weather-sensitive load is a heating season or a cooling season, the current day load is used for subtracting the base load part, and the excess part is the weather-sensitive load; the meteorological sensitive load is predicted by adopting a support vector machine (SVR) model, the model parameter optimization adopts a grid search method, and the optimized parameters in the model comprise a punishment factor C and a kernel function parameter gamma, and the formula is as follows:
wherein σ is the kernel width.
4. The short-term power load combined prediction method according to claim 3, characterized in that,
in step 2.2, the input parameters of the weather-sensitive load prediction model are changed along with the different types of the seasons of the day of the prediction, and when the types of the seasons of the day are heat supply seasons, the variables of the input model are shown in the following formula:
wherein T is i Is the predicted time; mET is the effective temperature of four points of moving average before the predicted time;is T i-j Weather-sensitive load at time;
when the type of the day season is the cold season, the variables of the input model are as follows:
wherein mT is the four-point moving average temperature before the predicted time;the four points before the predicted moment are the moving average relative humidity; mν is the four-point sliding average wind speed before the predicted time;
the short-time power load combined prediction method can be used for predicting the power load 15 minutes a day in the future, and the predicted total load at each moment is as follows:
Q All_T =Q F_T +Q W_T
wherein Q is All_T A predicted value of the power load at a certain time of day in the future; q (Q) F_T A base load predicted value for the power load at a time of day in the future; q (Q) W_T And weather-sensitive load forecast values for the power load at a certain time of the future day.
CN202110226784.XA 2021-03-01 2021-03-01 Combined prediction method for short-time power load Active CN112865093B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202110226784.XA CN112865093B (en) 2021-03-01 2021-03-01 Combined prediction method for short-time power load

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202110226784.XA CN112865093B (en) 2021-03-01 2021-03-01 Combined prediction method for short-time power load

Publications (2)

Publication Number Publication Date
CN112865093A CN112865093A (en) 2021-05-28
CN112865093B true CN112865093B (en) 2024-02-23

Family

ID=75990672

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202110226784.XA Active CN112865093B (en) 2021-03-01 2021-03-01 Combined prediction method for short-time power load

Country Status (1)

Country Link
CN (1) CN112865093B (en)

Families Citing this family (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN113850432A (en) * 2021-09-24 2021-12-28 广东电网有限责任公司 Prediction method, system, equipment and medium of power load data
CN113989069A (en) * 2021-10-29 2022-01-28 国网上海市电力公司 A load decomposition method based on building electricity load characteristics
CN115860797B (en) * 2022-12-08 2023-07-18 国网江苏省电力有限公司南通供电分公司 A Power Demand Forecasting Method Adapting to the Situation of New Power Price Reform
CN116817415B (en) * 2023-08-28 2024-01-12 国网浙江省电力有限公司宁波供电公司 An air conditioning load management and adjustment method, computing device and storage medium

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2016073155A (en) * 2014-10-01 2016-05-09 中国電力株式会社 Demand prediction device, demand prediction method, and program
CN109242189A (en) * 2018-09-12 2019-01-18 国网安徽省电力有限公司合肥供电公司 A kind of Short-Term Load Forecasting of Electric Power System based on meteorologic factor
CN109670670A (en) * 2018-11-13 2019-04-23 上海电器科学研究所(集团)有限公司 A kind of electric load method for splitting dividing season attribute
CN110135617A (en) * 2019-03-31 2019-08-16 中南林业科技大学 An improved short-term load forecasting method based on load characteristics under the influence of meteorological factors

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2016073155A (en) * 2014-10-01 2016-05-09 中国電力株式会社 Demand prediction device, demand prediction method, and program
CN109242189A (en) * 2018-09-12 2019-01-18 国网安徽省电力有限公司合肥供电公司 A kind of Short-Term Load Forecasting of Electric Power System based on meteorologic factor
CN109670670A (en) * 2018-11-13 2019-04-23 上海电器科学研究所(集团)有限公司 A kind of electric load method for splitting dividing season attribute
CN110135617A (en) * 2019-03-31 2019-08-16 中南林业科技大学 An improved short-term load forecasting method based on load characteristics under the influence of meteorological factors

Non-Patent Citations (1)

* Cited by examiner, † Cited by third party
Title
考虑多因素气象的电网短期负荷预测建模研究;覃芳璐;《中国优秀硕士学位论文全文数据库 工程科技Ⅱ辑》(第01期);第C042-787页 *

Also Published As

Publication number Publication date
CN112865093A (en) 2021-05-28

Similar Documents

Publication Publication Date Title
CN112865093B (en) Combined prediction method for short-time power load
Luo et al. Feature extraction and genetic algorithm enhanced adaptive deep neural network for energy consumption prediction in buildings
CN111932402B (en) Short-term power load bidirectional combination prediction method based on similar day and LSTM
Yan et al. A simplified prediction model for energy use of air conditioner in residential buildings based on monitoring data from the cloud platform
CN113554466B (en) Short-term electricity consumption prediction model construction method, prediction method and device
Aras et al. Forecasting residential natural gas demand
CN102426674B (en) Power system load prediction method based on Markov chain
CN112232575B (en) Comprehensive energy system regulation and control method and device based on multi-element load prediction
Selvi et al. Investigation of performance of electric load power forecasting in multiple time horizons with new architecture realized in multivariate linear regression and feed-forward neural network techniques
CN102509173B (en) A kind of based on markovian power system load Accurate Prediction method
CN105678404A (en) Micro-grid load prediction system and method based on electricity purchased on-line and dynamic correlation factor
CN109670670A (en) A kind of electric load method for splitting dividing season attribute
CN112149890A (en) Comprehensive energy load prediction method and system based on user energy label
Kwon et al. Weekly peak load forecasting for 104 weeks using deep learning algorithm
CN117291299A (en) Moon electricity quantity prediction method considering various influence factors
Hu et al. Adaptive corrected parameters algorithm applied in cooling load prediction based on black-box model: A case study for subway station
CN115796915A (en) Electricity price prediction method and system for electricity trading market
Ma et al. Residential high-power load prediction based on optimized LSTM network
Kareem et al. Removing seasonal effect on city based daily electricity load forecasting with linear regression
Nguyen et al. A machine learning-based approach for the prediction of electricity consumption
Zhou et al. LSTM based quantile regression method for holiday load forecasting
Jiao et al. LSTM-RBF Short-Term Load Forecasting Method Based on Gaussian Similar Days
Xu et al. Short-Term Load Forecasting Based on MI and BI-LSTM
Fan et al. Short-term multi-region load forecasting based on weather and load diversity analysis
Das et al. Day Ahead Load Forecasting of Educational Institutions Using Multiple Linear Regression and Artificial Neural 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
GR01 Patent grant
GR01 Patent grant