CN110601193A - A power load forecasting system and method based on environmental variable perception and lag - Google Patents
A power load forecasting system and method based on environmental variable perception and lag Download PDFInfo
- Publication number
- CN110601193A CN110601193A CN201910951985.9A CN201910951985A CN110601193A CN 110601193 A CN110601193 A CN 110601193A CN 201910951985 A CN201910951985 A CN 201910951985A CN 110601193 A CN110601193 A CN 110601193A
- Authority
- CN
- China
- Prior art keywords
- module
- power
- res
- power load
- region
- 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.)
- Granted
Links
- 230000007613 environmental effect Effects 0.000 title claims abstract description 43
- 238000000034 method Methods 0.000 title claims abstract description 30
- 230000008447 perception Effects 0.000 title claims abstract description 16
- 238000004364 calculation method Methods 0.000 claims abstract description 48
- 238000004146 energy storage Methods 0.000 claims abstract description 21
- 238000004891 communication Methods 0.000 claims abstract description 14
- 238000012549 training Methods 0.000 claims description 19
- 238000013528 artificial neural network Methods 0.000 claims description 18
- 238000012360 testing method Methods 0.000 claims description 15
- 239000011159 matrix material Substances 0.000 claims description 9
- 238000012795 verification Methods 0.000 claims description 9
- 230000008569 process Effects 0.000 claims description 7
- 238000012544 monitoring process Methods 0.000 claims description 4
- 239000002699 waste material Substances 0.000 abstract description 4
- 238000013277 forecasting method Methods 0.000 description 5
- 238000001556 precipitation Methods 0.000 description 5
- 238000010586 diagram Methods 0.000 description 4
- 230000007547 defect Effects 0.000 description 2
- 238000005516 engineering process Methods 0.000 description 2
- 238000012986 modification Methods 0.000 description 2
- 230000004048 modification Effects 0.000 description 2
- 238000011160 research Methods 0.000 description 2
- 230000009286 beneficial effect Effects 0.000 description 1
- 230000005540 biological transmission Effects 0.000 description 1
- 230000015572 biosynthetic process Effects 0.000 description 1
- 230000007812 deficiency Effects 0.000 description 1
- 230000008034 disappearance Effects 0.000 description 1
- 238000007599 discharging Methods 0.000 description 1
- 230000000694 effects Effects 0.000 description 1
- 230000005611 electricity Effects 0.000 description 1
- 230000006870 function Effects 0.000 description 1
- 230000006872 improvement Effects 0.000 description 1
Classifications
-
- H—ELECTRICITY
- H02—GENERATION; CONVERSION OR DISTRIBUTION OF ELECTRIC POWER
- H02J—CIRCUIT ARRANGEMENTS OR SYSTEMS FOR SUPPLYING OR DISTRIBUTING ELECTRIC POWER; SYSTEMS FOR STORING ELECTRIC ENERGY
- H02J3/00—Circuit arrangements for AC mains or AC distribution networks
-
- Y—GENERAL 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
- Y04—INFORMATION OR COMMUNICATION TECHNOLOGIES HAVING AN IMPACT ON OTHER TECHNOLOGY AREAS
- Y04S—SYSTEMS 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/00—Systems supporting electrical power generation, transmission or distribution
- Y04S10/50—Systems 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)
- Supply And Distribution Of Alternating Current (AREA)
- Management, Administration, Business Operations System, And Electronic Commerce (AREA)
Abstract
一种基于环境变量感知及滞后的电力负荷预测系统及方法,包括传感器模块、存储模块、变量滞后模块、Res‑LSTM预测模块、误差冗余计算模块、电能存储计算模块和电力调度计算模块;传感器模块设置多个;传感器模块与存储模块通讯连接;存储模块与变量滞后模块通讯连接;变量滞后模块与Res‑LSTM预测模块通讯连接,Res‑LSTM预测模块与误差冗余计算模块通讯连接,误差冗余计算模块与电力调度计算模块、电能存储计算模块均为通讯连接。本发明在对各区域的电力负荷作预分配之后,未来会对实际的电力负荷作比较,从而为电力调度和电能存储作参考依据,减少电能浪费。
A power load forecasting system and method based on environmental variable perception and hysteresis, including a sensor module, a storage module, a variable hysteresis module, a Res-LSTM prediction module, an error redundancy calculation module, an electric energy storage calculation module, and a power dispatching calculation module; the sensor There are multiple modules; the sensor module is connected to the storage module by communication; the storage module is connected to the variable lag module by communication; the variable lag module is connected to the Res-LSTM prediction module, and the Res-LSTM prediction module is connected to the error redundancy calculation module. The remaining calculation module is connected with the power dispatching calculation module and the electric energy storage calculation module through communication. After pre-distributing the power loads in each area, the present invention will compare the actual power loads in the future, so as to serve as a reference for power dispatching and power storage, and reduce power waste.
Description
技术领域technical field
本发明涉及电力物联网技术领域,尤其涉及一种基于环境变量感知及滞后的电力负荷预测系统及方法。The present invention relates to the technical field of electric power internet of things, in particular to an electric load forecasting system and method based on environmental variable perception and hysteresis.
背景技术Background technique
电力负荷是指安装在国家机关、企业、居民等用户处的各种用电设备所消耗的电力电量的数值。电力负荷预测是指以电力负荷为研究对象,对未来的用电功率或用电量的时间分布和空间分布进行预测的过程。电力负荷预测是电网中电力调度的决策依据,是电力系统规划的重要组成部分,是电力系统经济运行的基础,对整个电网的规划与平稳运行及其重要。The power load refers to the value of the power consumed by various electrical equipment installed in state agencies, enterprises, residents and other users. Power load forecasting refers to the process of predicting the future power consumption or the time and space distribution of power consumption with the power load as the research object. Power load forecasting is the decision-making basis for power dispatching in the power grid, an important part of power system planning, and the basis for the economic operation of the power system. It is extremely important for the planning and smooth operation of the entire power grid.
目前,电网中对电力负荷在实用性方面主要以监测为主,对电力负荷的预测主要是依据电力负荷的历史数据,对未来短期的电力需求进行粗略估算。At present, the power load in the power grid is mainly monitored in terms of practicability, and the forecast of power load is mainly based on the historical data of power load to roughly estimate the future short-term power demand.
现有技术对电力负荷的预测主要依据电力负荷的历史数据,其存在的缺陷或不足主要如下:In the prior art, the prediction of power load is mainly based on the historical data of power load, and its defects or deficiencies are mainly as follows:
1、预测偏差大:实际电力负荷很大程度上受气象(温湿度和降水等)、节假日及特殊条件、大工业用户突发事件、经济运行状况、国家政策法规等多种复杂因素的影响,因此传统的纯粹基于电力负荷历史数据的预测方法偏差较大。1. Large prediction deviation: the actual power load is largely affected by various complex factors such as weather (temperature, humidity, precipitation, etc.), holidays and special conditions, emergencies of large industrial users, economic operation conditions, and national policies and regulations. Therefore, the traditional forecasting method purely based on the historical data of power load has a large deviation.
2、预测区域小:现有电力负荷预测模型通常不考虑环境因素,因此一般只能对空间上小范围的区域进行电力负荷的预测,一旦涉及环境因素差别较大的多个区域,现有的基于历史负荷数据的预测方法往往不再可靠。2. The prediction area is small: the existing power load forecasting model usually does not consider environmental factors, so it can only predict the power load in a small area in space. Once it involves multiple areas with large differences in environmental factors, the existing Forecasting methods based on historical load data are often no longer reliable.
为解决上述问题,本申请中提出一种基于环境变量感知及滞后的电力负荷预测系统及方法。In order to solve the above problems, this application proposes a power load forecasting system and method based on environmental variable perception and hysteresis.
发明内容Contents of the invention
(一)发明目的(1) Purpose of the invention
为解决背景技术中存在的现有技术对电力负荷的预测偏差大,预测区域小的技术问题,本发明提出一种基于环境变量感知及滞后的电力负荷预测系统及方法,本发明预测精度高、预测区域多、预分配冗余同时调度可参考,减少电能浪费。In order to solve the technical problems of the prior art in the background technology that the prediction deviation of electric power load is large and the prediction area is small, the present invention proposes a power load prediction system and method based on environmental variable perception and hysteresis. The present invention has high prediction accuracy, Multiple prediction areas, pre-allocated redundancy and simultaneous scheduling can be referred to to reduce power waste.
(二)技术方案(2) Technical solution
为解决上述问题,本发明提供了一种基于环境变量感知及滞后的电力负荷预测系统,包括传感器模块、存储模块、变量滞后模块、Res-LSTM预测模块、误差冗余计算模块、电能存储计算模块和电力调度计算模块;In order to solve the above problems, the present invention provides a power load forecasting system based on environmental variable perception and hysteresis, including a sensor module, a storage module, a variable hysteresis module, a Res-LSTM prediction module, an error redundancy calculation module, and an electric energy storage calculation module and power dispatching calculation module;
传感器模块设置多个;传感器模块与存储模块通讯连接;存储模块与变量滞后模块通讯连接;变量滞后模块与Res-LSTM预测模块通讯连接,Res-LSTM预测模块与误差冗余计算模块通讯连接,误差冗余计算模块与电力调度计算模块、电能存储计算模块均为通讯连接。There are multiple sensor modules; the sensor module is connected to the storage module by communication; the storage module is connected to the variable lag module by communication; the variable lag module is connected to the Res-LSTM prediction module, and the Res-LSTM prediction module is connected to the error redundancy calculation module. The redundant calculation module is connected with the power dispatching calculation module and the electric energy storage calculation module through communication.
优选的,传感器模块包含雨量传感器、温度传感器和湿度传感器,传感器模块分布在区域1,区域2,…,区域N;雨量传感器用于测量区域降雨量;同时将降雨量信息转换为数字信号并进行传输;温度传感器监测区域当前温度,转换成可用输出信号并进行传输;湿度传感器能够测量区域当前湿度,转换成可用输出信号并进行传输。Preferably, the sensor module includes a rain sensor, a temperature sensor and a humidity sensor, and the sensor modules are distributed in area 1, area 2, ..., area N; the rain sensor is used to measure regional rainfall; meanwhile, the rainfall information is converted into a digital signal and carried out Transmission; the temperature sensor monitors the current temperature in the area, converts it into an available output signal and transmits it; the humidity sensor can measure the current humidity in the area, converts it into an available output signal and transmits it.
优选的,各区域内均设置至少一个存储模块;用于存储传感器模块上传的降雨量、温度、湿度的历史信息与当前信息。Preferably, at least one storage module is set in each area; it is used to store the historical information and current information of rainfall, temperature and humidity uploaded by the sensor module.
优选的,变量滞后模块的输入为各区域传感器模块的感知数据和电力负荷历史数据,输出为用于Res-LSTM预测模块训练或预测的数据集。Preferably, the input of the variable hysteresis module is the sensing data of each regional sensor module and the historical data of electric load, and the output is a data set used for training or prediction of the Res-LSTM prediction module.
优选的,Res-LSTM预测模块用于将变量滞后模块形成的关于各区域环境变量和电力负荷的历史数据进行训练,确定模型的各参数,使之能够根据后续输入的环境变量和历史电力负荷对未来的电力负荷进行预测。Preferably, the Res-LSTM prediction module is used to train the historical data about the environmental variables and power loads in each area formed by the variable lag module, and determine the parameters of the model so that it can be based on the subsequent input of environmental variables and historical power loads. Future electricity loads are forecasted.
优选的,电力调度计算模块计算未来各区域实际的电力负荷值。Preferably, the power dispatch calculation module calculates the actual power load values of each region in the future.
优选的,电能存储计算模块根据各区域实际的电力负荷与各区域预分配功率,计算得到电能存储功率。Preferably, the electric energy storage calculation module calculates the electric energy storage power according to the actual electric load of each area and the pre-allocated power of each area.
优选的,误差冗余计算模块根据各区域预测的电力负荷,结合该区域历史电力负荷的方差,为每个区域计算一个预分配功率。Preferably, the error redundancy calculation module calculates a pre-allocated power for each area based on the predicted power load of each area and the variance of the historical power load of the area.
一种基于环境变量感知及滞后的电力负荷预测的方法,包括以下具体步骤:A method for electric load forecasting based on environmental variable perception and lag, comprising the following specific steps:
S10,在各区域设置的传感器模块周期性的监测降雨量、温度、湿度等信息,在收集到信息之后,将其上传并存储至各区域的存储模块;S10, the sensor modules installed in each area periodically monitor information such as rainfall, temperature, humidity, etc., and after collecting the information, upload and store it to the storage module in each area;
S20,收集各区域的电力负荷历史数据,通过设置合理的时间间隔,将其与S10中的传感器数据利用环境变量滞后模块进行匹配,成为环境信息-电力负荷数据集;S20, collect the historical data of electric load in each region, and match it with the sensor data in S10 by using the environmental variable hysteresis module by setting a reasonable time interval to become an environmental information-electrical load data set;
S30,将S20中生成的环境信息-电力负荷数据集按照一定比例划分成训练集、验证集和测试集,利用训练集对Res-LSTM模型进行训练,利用验证集确定Res-LSTM中的超参数,利用测试集对该模型的准确度进行测试。S30, divide the environmental information-electric load data set generated in S20 into a training set, a verification set and a test set according to a certain ratio, use the training set to train the Res-LSTM model, and use the verification set to determine the hyperparameters in the Res-LSTM , using the test set to test the accuracy of the model.
S40,将S10中当前的降雨量、温度、湿度等环境监测数据以及S20中的电力负荷历史数据输入S30中训练好的Res-LSTM模型中,得到各区域预测的电力负荷值;S40, inputting the current environmental monitoring data such as rainfall, temperature, and humidity in S10 and the historical power load data in S20 into the trained Res-LSTM model in S30, to obtain the predicted power load values in each region;
S50,将S40中各区域预测得到的电力负荷值,结合各区域各自的电力负荷历史数据的方差,通过误差冗余计算模块,得到各区域的预分配功率;S50, combine the power load value predicted by each region in S40 with the variance of the respective historical data of the power load in each region, and obtain the pre-allocated power of each region through the error redundancy calculation module;
S60,将S50中各区域的预分配功率和各区域电力负荷调度模块计算得到的实际电力负荷输入电能存储计算模块,得到电能存储计算值,为实际的电力调度过程提供操作依据。S60, input the pre-allocated power of each region in S50 and the actual power load calculated by the power load dispatching module of each region into the power storage calculation module to obtain the calculated value of power storage, and provide an operation basis for the actual power dispatching process.
优选的,步骤S30中对Res-LSTM模型的训练、验证及测试过程如下:Preferably, the process of training, verifying and testing the Res-LSTM model in step S30 is as follows:
S31,初始化Res-LSTM模型中的各参数,包括各神经网络单元中的矩阵Uf,Uu,Uc,Uo和矩阵Gf,Gu,Go以及矩阵Wf,Wu,Wc,Wo;S31, initialize the parameters in the Res-LSTM model, including the matrix U f , U u , U c , U o and the matrix G f , G u , G o and the matrix W f , Wu u , W in each neural network unit c , W o ;
S32,输入S20中制定的数据集的训练集,利用主流的BPTT算法对Res-LSTM模型中的参数进行反复迭代,直到算法收敛或者误差低于预设的阈值;S32, inputting the training set of the data set formulated in S20, using the mainstream BPTT algorithm to repeatedly iterate the parameters in the Res-LSTM model until the algorithm converges or the error is lower than the preset threshold;
S33,输入S20中制定的数据集的验证集,利用网格搜索或随机搜索等方法,对神经网络单元数等超参数进行验证,选择泛化误差最小的超参数组合;S33, inputting the verification set of the data set formulated in S20, using methods such as grid search or random search, to verify the hyperparameters such as the number of neural network units, and selecting the hyperparameter combination with the smallest generalization error;
S34,对训练好的Res-LSTM进行测试,若误差高于预设的阈值,则重新对模型进行训练和验证,直至模型精度符合要求为止。S34. Test the trained Res-LSTM. If the error is higher than the preset threshold, retrain and verify the model until the model accuracy meets the requirements.
本发明的上述技术方案具有如下有益的技术效果:1、预测精度高:本发明由于考虑了包含温度、湿度和降水量在内环境因素,结合了区域的电力负荷的历史数据,即同时考虑到了区域电力负荷的历史规律普遍性与当前状况特殊性,因此相比于现有的电力负荷预测方法而言预测精度更高。The above-mentioned technical scheme of the present invention has the following beneficial technical effects: 1. High prediction accuracy: the present invention combines the historical data of the power load in the region due to consideration of environmental factors including temperature, humidity and precipitation, that is, simultaneously takes into account Compared with the existing power load forecasting methods, the prediction accuracy is higher due to the universality of the historical law and the particularity of the current situation of the regional power load.
2、预测区域多:本发明将多个区域的温度、湿度和降水量等环境数据以及各区域的电力负荷的历史数据,同时输入了Res-LSTM模型进行预测,该预测在一定程度上对各区域的电力负荷的关联性进行了考虑,同时实现多个区域的电力负荷的预测。2. There are many prediction areas: the present invention inputs the environmental data such as temperature, humidity and precipitation in multiple areas and the historical data of electric power load in each area into the Res-LSTM model for prediction. The relevance of regional power loads is considered, and the prediction of power loads in multiple regions is realized at the same time.
3、预分配冗余:本发明在对各区域的电力负荷进行预测之后,并非简单地将预测的电力负荷给电力系统进行电力调度作参考,而是参考了该区域历史电力负荷预测的方差,使得对一些负荷变动大的地区的电力预分配有很好的弹性。3. Pre-allocation redundancy: After the present invention predicts the power load of each region, it does not simply use the predicted power load to the power system for power dispatching as a reference, but refers to the variance of the historical power load prediction of the region, It makes the power pre-distribution in some areas with large load fluctuations very flexible.
4、调度可参考:本发明在对各区域的电力负荷作预分配之后,未来会对实际的电力负荷作比较,从而为电力调度和电能存储作参考依据,减少电能浪费。4. Scheduling can be used as a reference: After the present invention pre-allocates the power loads in each area, it will compare the actual power loads in the future, so as to serve as a reference for power dispatching and power storage, and reduce power waste.
附图说明Description of drawings
图1为本发明提出的基于环境变量感知及滞后的电力负荷预测系统及方法的电力物联网负荷预测系统的结构框图。FIG. 1 is a structural block diagram of an electric power Internet of Things load forecasting system based on environmental variable perception and hysteresis electric load forecasting system and method proposed by the present invention.
图2为本发明提出的基于环境变量感知及滞后的电力负荷预测系统及方法中变量滞后模块的结构框图。Fig. 2 is a structural block diagram of the variable hysteresis module in the environmental variable perception and hysteresis based power load forecasting system and method proposed by the present invention.
图3为本发明提出的基于环境变量感知及滞后的电力负荷预测系统及方法中Res-LSTM预测模块。Fig. 3 is a Res-LSTM forecasting module in the electric load forecasting system and method based on environmental variable perception and hysteresis proposed by the present invention.
图4为本发明提出的基于环境变量感知及滞后的电力负荷预测系统及方法中误差冗余计算模块的结构框图。FIG. 4 is a structural block diagram of an error redundancy calculation module in the environmental variable perception and lag-based power load forecasting system and method proposed by the present invention.
图5为本发明提出的基于环境变量感知及滞后的电力负荷预测系统及方法中电能存储计算模块的结构框图。Fig. 5 is a structural block diagram of the electric energy storage calculation module in the electric load forecasting system and method based on environmental variable perception and hysteresis proposed by the present invention.
具体实施方式Detailed ways
为使本发明的目的、技术方案和优点更加清楚明了,下面结合具体实施方式并参照附图,对本发明进一步详细说明。应该理解,这些描述只是示例性的,而并非要限制本发明的范围。此外,在以下说明中,省略了对公知结构和技术的描述,以避免不必要地混淆本发明的概念。In order to make the object, technical solution and advantages of the present invention clearer, the present invention will be further described in detail below in combination with specific embodiments and with reference to the accompanying drawings. It should be understood that these descriptions are exemplary only, and are not intended to limit the scope of the present invention. Also, in the following description, descriptions of well-known structures and techniques are omitted to avoid unnecessarily obscuring the concept of the present invention.
如图1-5所示,本发明提出的一种基于环境变量感知及滞后的电力负荷预测系统,包括传感器模块、存储模块、变量滞后模块、Res-LSTM预测模块、误差冗余计算模块、电能存储计算模块和电力调度计算模块;As shown in Figures 1-5, the present invention proposes a power load forecasting system based on environmental variable perception and hysteresis, including a sensor module, a storage module, a variable hysteresis module, a Res-LSTM prediction module, an error redundancy calculation module, and an electric energy Storage computing module and power scheduling computing module;
传感器模块设置多个;传感器模块与存储模块通讯连接;存储模块与变量滞后模块通讯连接;变量滞后模块与Res-LSTM预测模块通讯连接,Res-LSTM预测模块与误差冗余计算模块通讯连接,误差冗余计算模块与电力调度计算模块、电能存储计算模块均为通讯连接。There are multiple sensor modules; the sensor module is connected to the storage module by communication; the storage module is connected to the variable lag module by communication; the variable lag module is connected to the Res-LSTM prediction module, and the Res-LSTM prediction module is connected to the error redundancy calculation module. The redundant calculation module is connected with the power dispatching calculation module and the electric energy storage calculation module through communication.
在一个可选的实施例中,传感器模块包含雨量传感器、温度传感器和湿度传感器,传感器模块分布在区域1,区域2,…,区域N;雨量传感器用于测量区域降雨量;同时将降雨量信息转换为数字信号并进行传输;温度传感器监测区域当前温度,转换成可用输出信号并进行传输;湿度传感器能够测量区域当前湿度,转换成可用输出信号并进行传输。In an optional embodiment, the sensor module includes a rain sensor, a temperature sensor and a humidity sensor, and the sensor modules are distributed in area 1, area 2, ..., area N; the rain sensor is used to measure regional rainfall; simultaneously the rainfall information It is converted into a digital signal and transmitted; the temperature sensor monitors the current temperature of the area, converts it into an available output signal and transmits it; the humidity sensor can measure the current humidity of the area, converts it into an available output signal and transmits it.
在一个可选的实施例中,各区域内均设置至少一个存储模块;用于存储传感器模块上传的降雨量、温度、湿度的历史信息与当前信息。In an optional embodiment, at least one storage module is set in each area; it is used to store the historical information and current information of rainfall, temperature and humidity uploaded by the sensor module.
在一个可选的实施例中,变量滞后模块的输入为各区域传感器模块的感知数据和电力负荷历史数据,输出为用于Res-LSTM预测模块训练或预测的数据集。如图2所示,变量滞后模块的主要作用是将各区域的环境历史数据和历史电力负荷按照所需的预测跨度进行移位,便于形成数据集对后面的负荷预测模型进行训练。原先环境变量数据与电力负荷数据的对应关系为:In an optional embodiment, the input of the variable hysteresis module is the sensing data of each regional sensor module and the historical power load data, and the output is a data set used for training or prediction of the Res-LSTM prediction module. As shown in Figure 2, the main function of the variable lag module is to shift the environmental historical data and historical power load of each region according to the required forecast span, so as to facilitate the formation of data sets for the subsequent load forecasting model training. The corresponding relationship between the original environmental variable data and the electric load data is:
其中,表示某区域时间t的降雨量,表示某区域时间t的温度,表示某区域时间t的湿度,y(t)表示某区域时间t的负荷数据。in, Indicates the rainfall in a certain area at time t, Indicates the temperature in a certain area at time t, Indicates the humidity in a certain area at time t, and y (t) indicates the load data in a certain area at time t.
假设预测滞后量为Δ,即需要根据当前的环境数据与历史负荷数据,预测Δ时间段之后的未来电力负荷,则经过变量滞后模块处理之后,环境变量数据与电力负荷数据的对应关系为:Assuming that the forecast lag is Δ, that is, it is necessary to predict the future power load after the Δ time period based on the current environmental data and historical load data. After the variable lag module is processed, the corresponding relationship between the environmental variable data and the power load data is:
在一个可选的实施例中,Res-LSTM预测模块用于将变量滞后模块形成的关于各区域环境变量和电力负荷的历史数据进行训练,确定模型的各参数,使之能够根据后续输入的环境变量和历史电力负荷对未来的电力负荷进行预测;如图3所示,与传统的LSTM模型相比,Res-LSTM模型的网络结构增加了Res残差操作,这主要是为了使得对电力负荷的预测间隔的选取更为灵活,避免出现在模型训练中出现因神经网络层数过多而产生梯度消失问题,Res-LSTM模型中按照环境变量与历史电力负荷数据的时间间隔,设置了多个神经网络单元,每个神经网络单元均以环境变量为输入,预测的电力负荷为输出,记为A(1),A(2),...,A(t),以神经网络单元A(t)为例,其环境变量输入x(t)与电力负荷预测值y(t)的输入输出关系为:In an optional embodiment, the Res-LSTM prediction module is used to train the historical data about the environmental variables and power loads in each area formed by the variable lag module, and determine the parameters of the model so that it can be based on the subsequent input environment variables and historical power load to predict the future power load; as shown in Figure 3, compared with the traditional LSTM model, the network structure of the Res-LSTM model adds a Res residual operation, which is mainly to make the power load The selection of prediction intervals is more flexible, avoiding the problem of gradient disappearance due to too many neural network layers in model training. In the Res-LSTM model, multiple neural networks are set according to the time interval between environmental variables and historical power load data. Network unit, each neural network unit takes environmental variables as input and predicted power load as output, denoted as A (1) , A (2) ,...,A (t) , and neural network unit A (t ) as an example, the input-output relationship between the environmental variable input x (t) and the power load forecast value y( t ) is:
经典的LSTM模型在神经网络单元A(t-1)的联接输出和直接作为神经网络单元A(t)的联接输入c(t-1)和a(t-1),其中Res残差操作是将神经网络单元A(t-2)的联接输出c(t-2)和a(t-2),和神经网络单元A(t-1)的联接输出和一起,也作为神经网络单元A(t)的联接输入c(t-1)和a(t-1),上述操作的具体方式为:The connection output of the classic LSTM model in the neural network unit A (t-1) and Directly as the connection input c (t-1) and a (t-1) of the neural network unit A ( t), where the Res residual operation is to output the connection output c (t -2) of the neural network unit A (t-2) ) and a (t-2) , and the connection output of the neural network unit A (t-1) and Together, it is also used as the connection input c (t-1) and a (t-1) of the neural network unit A (t) . The specific method of the above operation is:
以及,有:and, there are:
同理,对于神经网络单元A(t-1)的联接输出c(t-1)和a(t-1),和神经网络单元A(t)的联接输出和一起,也作为神经网络单元A(t+1)的联接输入c(t)和a(t),该操作的具体方式为:Similarly, for the connection output c (t-1) and a (t-1) of the neural network unit A ( t-1), and the connection output of the neural network unit A (t) and Together, it is also used as the connection input c (t) and a (t) of the neural network unit A (t+1) . The specific method of this operation is:
以及,有:and, there are:
对于Res-LSTM预测模块中与传统LSTM模型相同的部分,此处不再赘述。For the parts of the Res-LSTM prediction module that are the same as those of the traditional LSTM model, details will not be repeated here.
在一个可选的实施例中,误差冗余计算模块根据各区域预测的电力负荷,结合该区域历史电力负荷的方差,为每个区域计算一个预分配功率。如图4所示,假设区域n时间t的预测负荷为该区域负荷历史数据的方差为var区域n,冗余比例为θ,则区域n在时间t的预分配功率为:In an optional embodiment, the error redundancy calculation module calculates a pre-allocated power for each area according to the predicted power load of each area and in combination with the variance of the historical power load of the area. As shown in Figure 4, assume that the predicted load of region n at time t is The variance of historical load data in this area is var area n , and the redundancy ratio is θ, then the pre-allocated power of area n at time t for:
在一个可选的实施例中,电力调度计算模块计算未来各区域实际的电力负荷值,区域n在时间t的实际负荷记为 In an optional embodiment, the power dispatch calculation module calculates the actual power load value of each area in the future, and the actual load of area n at time t is recorded as
在一个可选的实施例中,电能存储计算模块根据各区域实际的电力负荷与各区域预分配功率,计算得到电能存储功率。如图5所示,首先根据电力调度计算模块计算得到各区域在时间t的实际电力负荷计算各区域在时间t的实际电力负荷之和Load(t),可表示为:In an optional embodiment, the electric energy storage calculation module calculates the electric energy storage power according to the actual electric load of each area and the pre-allocated power of each area. As shown in Figure 5, firstly, the actual power load of each area at time t is calculated according to the power dispatch calculation module Calculate the sum Load (t) of the actual power load of each area at time t, which can be expressed as:
同时,根据误差冗余计算模块得到的各区域在时间t的预分配功率得到所有区域在时刻t的预分配功率之和P(t),可表示为:At the same time, according to the pre-allocated power of each area at time t obtained by the error redundancy calculation module The sum P (t) of the pre-allocated power of all areas at time t is obtained, which can be expressed as:
然后电能存储计算模块可以得到电能存储值的计算结果,可表示为:Then the electric energy storage calculation module can obtain the calculation result of the electric energy storage value, which can be expressed as:
Ch(t)=P(t)-Load(t) (11)Ch (t) = P (t) -Load (t) (11)
其中,若Ch(t)>0表明储能设备应当出于充电状态,反之,Ch(t)<0表明储能设备应当出于放电状态。Wherein, if Ch (t) >0, it indicates that the energy storage device should be in a charging state; otherwise, if Ch (t) <0, it indicates that the energy storage device should be in a discharging state.
一种基于环境变量感知及滞后的电力负荷预测的方法,包括以下具体步骤:A method for electric load forecasting based on environmental variable perception and lag, comprising the following specific steps:
S10,在各区域设置的传感器模块周期性的监测降雨量、温度、湿度等信息,在收集到信息之后,将其上传并存储至各区域的存储模块;S10, the sensor modules installed in each area periodically monitor information such as rainfall, temperature, humidity, etc., and after collecting the information, upload and store it to the storage module in each area;
S20,收集各区域的电力负荷历史数据,通过设置合理的时间间隔,将其与S10中的传感器数据利用环境变量滞后模块进行匹配,成为环境信息-电力负荷数据集;S20, collect the historical data of electric load in each region, and match it with the sensor data in S10 by using the environmental variable hysteresis module by setting a reasonable time interval to become an environmental information-electrical load data set;
S30,将S20中生成的环境信息-电力负荷数据集按照一定比例划分成训练集、验证集和测试集,利用训练集对Res-LSTM模型进行训练,利用验证集确定Res-LSTM中的超参数,利用测试集对该模型的准确度进行测试。S30, divide the environmental information-electric load data set generated in S20 into a training set, a verification set and a test set according to a certain ratio, use the training set to train the Res-LSTM model, and use the verification set to determine the hyperparameters in the Res-LSTM , using the test set to test the accuracy of the model.
S40,将S10中当前的降雨量、温度、湿度等环境监测数据以及S20中的电力负荷历史数据输入S30中训练好的Res-LSTM模型中,得到各区域预测的电力负荷值;S40, inputting the current environmental monitoring data such as rainfall, temperature, and humidity in S10 and the historical power load data in S20 into the trained Res-LSTM model in S30, to obtain the predicted power load values in each region;
S50,将S40中各区域预测得到的电力负荷值,结合各区域各自的电力负荷历史数据的方差,通过误差冗余计算模块,得到各区域的预分配功率;S50, combine the power load value predicted by each region in S40 with the variance of the respective historical data of the power load in each region, and obtain the pre-allocated power of each region through the error redundancy calculation module;
S60,将S50中各区域的预分配功率和各区域电力负荷调度模块计算得到的实际电力负荷输入电能存储计算模块,得到电能存储计算值,为实际的电力调度过程提供操作依据。S60, input the pre-allocated power of each region in S50 and the actual power load calculated by the power load dispatching module of each region into the power storage calculation module to obtain the calculated value of power storage, and provide an operation basis for the actual power dispatching process.
在一个可选的实施例中,步骤S30中对Res-LSTM模型的训练、验证及测试过程如下:In an optional embodiment, the process of training, verifying and testing the Res-LSTM model in step S30 is as follows:
S31,初始化Res-LSTM模型中的各参数,包括各神经网络单元中的矩阵Uf,Uu,Uc,Uo和矩阵Gf,Gu,Go以及矩阵Wf,Wu,Wc,Wo;S31, initialize the parameters in the Res-LSTM model, including the matrix U f , U u , U c , U o and the matrix G f , G u , G o and the matrix W f , Wu u , W in each neural network unit c , W o ;
S32,输入S20中制定的数据集的训练集,利用主流的BPTT算法对Res-LSTM模型中的参数进行反复迭代,直到算法收敛或者误差低于预设的阈值;S32, inputting the training set of the data set formulated in S20, using the mainstream BPTT algorithm to repeatedly iterate the parameters in the Res-LSTM model until the algorithm converges or the error is lower than the preset threshold;
S33,输入S20中制定的数据集的验证集,利用网格搜索或随机搜索等方法,对神经网络单元数等超参数进行验证,选择泛化误差最小的超参数组合;S33, inputting the verification set of the data set formulated in S20, using methods such as grid search or random search, to verify the hyperparameters such as the number of neural network units, and selecting the hyperparameter combination with the smallest generalization error;
S34,对训练好的Res-LSTM进行测试,若误差高于预设的阈值,则重新对模型进行训练和验证,直至模型精度符合要求为止。S34. Test the trained Res-LSTM. If the error is higher than the preset threshold, retrain and verify the model until the model accuracy meets the requirements.
本发明由于考虑了包含温度、湿度和降水量在内环境因素,结合了区域的电力负荷的历史数据,即同时考虑到了区域电力负荷的历史规律普遍性与当前状况特殊性,因此相比于现有的电力负荷预测方法而言预测精度更高。The present invention considers the environmental factors including temperature, humidity and precipitation, and combines the historical data of the regional power load, that is, simultaneously considers the universality of the historical law of the regional power load and the particularity of the current situation, so compared with the present Some power load forecasting methods have higher forecasting accuracy.
本发明将多个区域的温度、湿度和降水量等环境数据以及各区域的电力负荷的历史数据,同时输入了Res-LSTM模型进行预测,该预测在一定程度上对各区域的电力负荷的关联性进行了考虑,同时实现多个区域的电力负荷的预测。In the present invention, environmental data such as temperature, humidity and precipitation in multiple regions and historical data of electric load in each region are simultaneously input into the Res-LSTM model for prediction. Responsibility is considered, and the forecasting of power loads in multiple regions is realized at the same time.
本发明在对各区域的电力负荷进行预测之后,并非简单地将预测的电力负荷给电力系统进行电力调度作参考,而是参考了该区域历史电力负荷预测的方差,使得对一些负荷变动大的地区的电力预分配有很好的弹性。After the present invention predicts the power load in each region, it does not simply use the predicted power load to the power system for power dispatching as a reference, but refers to the variance of the historical power load forecast in the region, so that some loads with large fluctuations Regional power pre-distribution has good flexibility.
本发明在对各区域的电力负荷作预分配之后,未来会对实际的电力负荷作比较,从而为电力调度和电能存储作参考依据,减少电能浪费。After pre-distributing the power loads in each area, the present invention will compare the actual power loads in the future, so as to serve as a reference for power dispatching and power storage, and reduce power waste.
现有电力负荷监测或预测技术由于“预测偏差大”和“预测区域小”的两类缺陷的存在,因此本发明在以下两种实际应用场景下具有一定程度的不可替代性:Due to the existence of two types of defects of "large prediction deviation" and "small prediction area" in the existing electric load monitoring or forecasting technology, the present invention has a certain degree of irreplaceability in the following two practical application scenarios:
1、电力负荷变动:即在实际应用中,若某些地区由于气候因素或经济运行因素,各季度之间或各年份之间电力负荷的变动较大,则现有的负荷预测方法难以考虑到本阶段电力负荷相对于历史同期电力负荷的特殊性,本发明可在此场景下发挥一定程度的不可替代的作用。1. Power load changes: In practical applications, if the power load changes greatly between seasons or years in some areas due to climate factors or economic operation factors, it is difficult for the existing load forecasting methods to take this into account. Due to the particularity of stage power loads relative to historical power loads in the same period, the present invention can play an irreplaceable role to a certain extent in this scenario.
2、电力调度变动:即在实际应用中,若部分区域由于某些未知因素,出现实际负荷与预分配功率之间差别较大的情况,此时现有方法由于单纯对本区域的电力负荷进行考虑和研究,无法兼顾各区域的电力调度的关联性,此时本发明在此场景下具有一定的不可替代性。2. Changes in power dispatching: that is, in practical applications, if there is a large difference between the actual load and the pre-allocated power in some areas due to some unknown factors, at this time, the existing method simply considers the power load in this area And research, it is impossible to take into account the relevance of power dispatching in each area. At this time, the present invention has a certain irreplaceability in this scenario.
应当理解的是,本发明的上述具体实施方式仅仅用于示例性说明或解释本发明的原理,而不构成对本发明的限制。因此,在不偏离本发明的精神和范围的情况下所做的任何修改、等同替换、改进等,均应包含在本发明的保护范围之内。此外,本发明所附权利要求旨在涵盖落入所附权利要求范围和边界、或者这种范围和边界的等同形式内的全部变化和修改例。It should be understood that the above specific embodiments of the present invention are only used to illustrate or explain the principles of the present invention, and not to limit the present invention. Therefore, any modification, equivalent replacement, improvement, etc. made without departing from the spirit and scope of the present invention shall fall within the protection scope of the present invention. Furthermore, it is intended that the appended claims of the present invention cover all changes and modifications that come within the scope and metespan of the appended claims, or equivalents of such scope and metesight.
Claims (10)
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201910951985.9A CN110601193B (en) | 2019-10-09 | 2019-10-09 | Power load prediction system and method based on environment variable perception and hysteresis |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201910951985.9A CN110601193B (en) | 2019-10-09 | 2019-10-09 | Power load prediction system and method based on environment variable perception and hysteresis |
Publications (2)
Publication Number | Publication Date |
---|---|
CN110601193A true CN110601193A (en) | 2019-12-20 |
CN110601193B CN110601193B (en) | 2021-02-05 |
Family
ID=68865855
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201910951985.9A Active CN110601193B (en) | 2019-10-09 | 2019-10-09 | Power load prediction system and method based on environment variable perception and hysteresis |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN110601193B (en) |
Cited By (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN113033898A (en) * | 2021-03-26 | 2021-06-25 | 国核电力规划设计研究院有限公司 | Electrical load prediction method and system based on K-means clustering and BI-LSTM neural network |
CN113224852A (en) * | 2021-05-28 | 2021-08-06 | 广东电网有限责任公司广州供电局 | Power communication management method and system based on AI auxiliary decision |
Citations (6)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN102968111A (en) * | 2012-12-14 | 2013-03-13 | 新奥科技发展有限公司 | Method and system for controlling distributive energy system |
CN105226659A (en) * | 2015-10-27 | 2016-01-06 | 国家电网公司 | A kind of multizone supports the micro-grid system of independent operating each other |
CN105243454A (en) * | 2015-11-06 | 2016-01-13 | 广州威沃电子有限公司 | Big data-based electrical load prediction system |
CN107562784A (en) * | 2017-07-25 | 2018-01-09 | 同济大学 | Short text classification method based on ResLCNN models |
CN107704966A (en) * | 2017-10-17 | 2018-02-16 | 华南理工大学 | A kind of Energy Load forecasting system and method based on weather big data |
CN109800898A (en) * | 2017-11-17 | 2019-05-24 | 中国电力科学研究院有限公司 | A kind of intelligence short-term load forecasting method and system |
-
2019
- 2019-10-09 CN CN201910951985.9A patent/CN110601193B/en active Active
Patent Citations (6)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN102968111A (en) * | 2012-12-14 | 2013-03-13 | 新奥科技发展有限公司 | Method and system for controlling distributive energy system |
CN105226659A (en) * | 2015-10-27 | 2016-01-06 | 国家电网公司 | A kind of multizone supports the micro-grid system of independent operating each other |
CN105243454A (en) * | 2015-11-06 | 2016-01-13 | 广州威沃电子有限公司 | Big data-based electrical load prediction system |
CN107562784A (en) * | 2017-07-25 | 2018-01-09 | 同济大学 | Short text classification method based on ResLCNN models |
CN107704966A (en) * | 2017-10-17 | 2018-02-16 | 华南理工大学 | A kind of Energy Load forecasting system and method based on weather big data |
CN109800898A (en) * | 2017-11-17 | 2019-05-24 | 中国电力科学研究院有限公司 | A kind of intelligence short-term load forecasting method and system |
Cited By (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN113033898A (en) * | 2021-03-26 | 2021-06-25 | 国核电力规划设计研究院有限公司 | Electrical load prediction method and system based on K-means clustering and BI-LSTM neural network |
CN113224852A (en) * | 2021-05-28 | 2021-08-06 | 广东电网有限责任公司广州供电局 | Power communication management method and system based on AI auxiliary decision |
Also Published As
Publication number | Publication date |
---|---|
CN110601193B (en) | 2021-02-05 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
Dong et al. | Wind power day-ahead prediction with cluster analysis of NWP | |
Zheng et al. | Short-term wind power forecasting using a double-stage hierarchical ANFIS approach for energy management in microgrids | |
CN110766212A (en) | Ultra-short-term photovoltaic power prediction method for historical data missing electric field | |
Wang et al. | Optimal dispatch based on prediction of distributed electric heating storages in combined electricity and heat networks | |
CN117595231B (en) | Intelligent power grid distribution management system and method thereof | |
CN104376389A (en) | Master-slave type micro-grid power load prediction system and master-slave type micro-grid power load prediction method based on load balancing | |
CN110363334B (en) | Grid line loss prediction method for photovoltaic grid-connected based on gray neural network model | |
CN110263984A (en) | Ultra-short term net load prediction technique based on phase space reconfiguration and deep neural network | |
CN115983448B (en) | A multi-energy load forecasting method based on spatio-temporal graph neural network | |
CN111612244B (en) | QRA-LSTM-based method for predicting nonparametric probability of photovoltaic power before day | |
Tziolis et al. | Direct short-term net load forecasting in renewable integrated microgrids using machine learning: A comparative assessment | |
Alam et al. | A new subtractive clustering based ANFIS system for residential load forecasting | |
CN110601193B (en) | Power load prediction system and method based on environment variable perception and hysteresis | |
CN109492756A (en) | Multi-element conductor galloping early warning method and related device based on deep learning | |
CN107590537A (en) | Granular prediction method for constructing probability prediction interval | |
CN105958474B (en) | Dynamic capacity increasing method and system for power transmission line for power grid regulation and control system | |
Motepe et al. | South African distribution networks load forecasting using ANFIS | |
He et al. | Forecasting power grid states for regional energy markets with deep neural networks | |
CN119009969A (en) | Photovoltaic load prediction method and system based on multi-source data deep learning | |
CN110045237A (en) | Transformer state parametric data prediction technique and system based on drosophila algorithm optimization | |
CN114204546B (en) | Unit combination optimization method considering new energy consumption | |
CN119518876A (en) | A new energy transmission section regulation control system based on energy storage | |
CN119253589A (en) | A method, medium and system for determining regional power supply stability | |
Ávila et al. | Fuzzy demand forecasting in a predictive control strategy for a renewable-energy based microgrid | |
He | Adaptive explainable continual learning framework for regression problems with focus on power forecasts |
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 |