+

CN110266002A - Method and apparatus for forecasting electrical load - Google Patents

Method and apparatus for forecasting electrical load Download PDF

Info

Publication number
CN110266002A
CN110266002A CN201910539280.6A CN201910539280A CN110266002A CN 110266002 A CN110266002 A CN 110266002A CN 201910539280 A CN201910539280 A CN 201910539280A CN 110266002 A CN110266002 A CN 110266002A
Authority
CN
China
Prior art keywords
data
enterprise
predicted
history
power load
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Pending
Application number
CN201910539280.6A
Other languages
Chinese (zh)
Inventor
孟泉
王蔚
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Beijing Baidu Netcom Science and Technology Co Ltd
Original Assignee
Beijing Baidu Netcom Science and Technology 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 Beijing Baidu Netcom Science and Technology Co Ltd filed Critical Beijing Baidu Netcom Science and Technology Co Ltd
Priority to CN201910539280.6A priority Critical patent/CN110266002A/en
Publication of CN110266002A publication Critical patent/CN110266002A/en
Pending legal-status Critical Current

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
    • 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

Landscapes

  • Engineering & Computer Science (AREA)
  • Power Engineering (AREA)
  • Management, Administration, Business Operations System, And Electronic Commerce (AREA)

Abstract

本申请实施例公开了用于预测电力负荷的方法和装置。该方法的一具体实施方式包括:获取待预测企业的历史电力负荷数据、历史环境数据和未来环境数据;利用预先训练的编码器对待预测企业的历史电力负荷数据和历史环境数据进行编码,得到待预测企业的历史电力负荷特征;利用预先训练的解码器对待预测企业的历史电力负荷特征和未来环境数据进行解码,得到待预测企业的未来电力负荷预测数据。该实施方式涉及云计算领域,提供了一种基于编码器和解码器结合的电力负荷预测方法。使用编码器学习企业的历史电力负荷特征,使用解码器预测企业的未来电力负荷数据,提高了电力负荷的预测准确度。

The embodiment of the present application discloses a method and a device for predicting electric load. A specific implementation of the method includes: obtaining the historical power load data, historical environmental data and future environmental data of the enterprise to be predicted; using a pre-trained encoder to encode the historical power load data and historical environmental data of the enterprise to be predicted to obtain the Predict the historical power load characteristics of the enterprise; use the pre-trained decoder to decode the historical power load characteristics and future environmental data of the enterprise to be predicted, and obtain the future power load forecast data of the enterprise to be predicted. This embodiment relates to the field of cloud computing, and provides a power load forecasting method based on the combination of an encoder and a decoder. The encoder is used to learn the historical power load characteristics of the enterprise, and the decoder is used to predict the future power load data of the enterprise, which improves the prediction accuracy of the power load.

Description

用于预测电力负荷的方法和装置Method and apparatus for forecasting electrical load

技术领域technical field

本申请实施例涉及计算机技术领域,具体涉及用于预测电力负荷的方法和装置。The embodiments of the present application relate to the field of computer technology, and in particular to a method and device for predicting electric load.

背景技术Background technique

随着国内电力改革的进行,越来越多的企业进入了电力市场。据统计,目前国内已经有超过两万家售电企业。由于电的特殊性,国家要求售电企业需要提前预估他们将要使用的电量,并进行申报。如果最终使用的真实电量与申报的电量之间的偏差超过一定范围,会对售电企业进行高额的偏差罚款。因此,电力负荷预测对于售电企业特别重要,关系着售电企业的存亡。With the progress of domestic power reform, more and more enterprises have entered the power market. According to statistics, there are currently more than 20,000 electricity sales companies in China. Due to the particularity of electricity, the state requires electricity sales companies to estimate in advance the amount of electricity they will use and make a declaration. If the deviation between the actual electricity used in the end and the declared electricity exceeds a certain range, high deviation fines will be imposed on electricity sales companies. Therefore, power load forecasting is particularly important for electricity sales enterprises, which is related to the survival of electricity sales enterprises.

目前,常用的电力负荷预测方法包括相似日方法、时间序列方法等等。其中,相似日方法是通过选择相似的历史日数据,然后从中获得加权平均值来预测电力负荷。时间序列方法是根据企业历史电力负荷数据,建立一个电力负荷随时间变化的数据模型,在该模型的基础上进行未来电力负荷的预测。At present, commonly used power load forecasting methods include similar day method, time series method and so on. Among them, the similar day method is to predict the power load by selecting similar historical day data and then obtaining a weighted average from it. The time series method is to establish a data model of the power load changing with time based on the historical power load data of the enterprise, and predict the future power load on the basis of the model.

发明内容Contents of the invention

本申请实施例提出了用于预测电力负荷的方法和装置。Embodiments of the present application propose a method and device for predicting electric load.

第一方面,本申请实施例提供了一种用于预测电力负荷的方法,包括:获取待预测企业的历史电力负荷数据、历史环境数据和未来环境数据;利用预先训练的编码器对待预测企业的历史电力负荷数据和历史环境数据进行编码,得到待预测企业的历史电力负荷特征;利用预先训练的解码器对待预测企业的历史电力负荷特征和未来环境数据进行解码,得到待预测企业的未来电力负荷预测数据。In the first aspect, the embodiment of the present application provides a method for predicting power load, including: obtaining the historical power load data, historical environment data and future environment data of the enterprise to be predicted; Encode the historical power load data and historical environmental data to obtain the historical power load characteristics of the enterprise to be predicted; use the pre-trained decoder to decode the historical power load characteristics and future environmental data of the enterprise to be predicted to obtain the future power load of the enterprise to be predicted forecast data.

在一些实施例中,编码器是卷积神经网络,解码器是长短期记忆网络。In some embodiments, the encoder is a convolutional neural network and the decoder is a long short-term memory network.

在一些实施例中,利用预先训练的编码器对待预测企业的历史电力负荷数据和历史环境数据进行编码,得到待预测企业的历史电力负荷特征,包括:基于待预测企业的历史电力负荷数据和历史环境数据,生成待测企业的历史二维数据,其中,历史二维数据包括时间维度和空间维度,时间维度包括历史时间点,空间维度包括每个历史时间点的电力负荷数据和环境数据;基于历史二维数据,生成待预测企业的历史图像;将待预测企业的历史图像输入至卷积神经网络,得到待预测企业的历史电力负荷特征。In some embodiments, a pre-trained encoder is used to encode the historical power load data and historical environmental data of the enterprise to be predicted to obtain the historical power load characteristics of the enterprise to be predicted, including: based on the historical power load data and historical data of the enterprise to be predicted Environmental data, generating historical two-dimensional data of the enterprise to be tested, wherein the historical two-dimensional data includes time and space dimensions, the time dimension includes historical time points, and the spatial dimension includes power load data and environmental data at each historical time point; based on Historical two-dimensional data to generate the historical image of the enterprise to be predicted; input the historical image of the enterprise to be predicted to the convolutional neural network to obtain the historical power load characteristics of the enterprise to be predicted.

在一些实施例中,卷积神经网络包括输入网络、残差神经网络和输出网络,输入网络涉及的操作包括以下至少一项:卷积、批标准化和激活函数变换,残差神经网络涉及的操作包括以下至少一项:卷积、随机失活、激活函数变换、批标准化和最大池化,输出网络涉及的操作包括以下至少一项:批标准化和平均池化。In some embodiments, the convolutional neural network includes an input network, a residual neural network, and an output network, and the operations involved in the input network include at least one of the following: convolution, batch normalization, and activation function transformation, and the operations involved in the residual neural network Including at least one of the following: convolution, random deactivation, activation function transformation, batch normalization and maximum pooling, and the operations involved in the output network include at least one of the following: batch normalization and average pooling.

在一些实施例中,残差神经网络通过直连将输入网络的输出经过最大池化后与残差神经网络的输出合并。In some embodiments, the residual neural network merges the output of the input network with the output of the residual neural network after the maximum pooling through direct connection.

在一些实施例中,长短期记忆网络包括多个长短期记忆单元,每个长短期记忆单元包括输入门、遗忘门和输出门。In some embodiments, the LSTM network includes a plurality of LSTM units, and each LSTM unit includes an input gate, a forget gate, and an output gate.

在一些实施例中,编码器和解码器通过如下步骤训练得到:获取训练样本集合,其中,每个训练样本包括以下三部分:第一预设长度的样本电力负荷数据和样本环境数据、第二预设长度的样本环境数据和第二预设长度的样本电力负荷数据;对于训练样本集合中的训练样本,将该训练样本中的第一预设长度的样本电力负荷数据和样本环境数据作为编码器的输入,将编码器的输出和该训练样本中的第二预设长度的样本环境数据作为解码器的输入,将该训练样本中的第二预设长度的样本电力负荷数据作为解码器的输出,训练出编码器和解码器。In some embodiments, the encoder and the decoder are trained through the following steps: obtaining a set of training samples, wherein each training sample includes the following three parts: the first preset length of sample power load data and sample environment data, the second The sample environment data of the preset length and the sample power load data of the second preset length; for the training samples in the training sample set, the sample power load data and the sample environment data of the first preset length in the training samples are coded as The input of the encoder, the output of the encoder and the sample environment data of the second preset length in the training sample are used as the input of the decoder, and the sample power load data of the second preset length in the training sample is used as the decoder. Output, train the encoder and decoder.

在一些实施例中,获取训练样本集合,包括:获取样本企业的历史电力负荷数据和历史环境数据;使用滑动窗对样本企业的历史电力负荷数据和历史环境数据进行分割,生成训练样本集合,其中,滑动窗的长度等于第一预设长度与第二预设长度之和,每个训练样本包括以下三部分:前第一预设长度的历史电力负荷数据和历史环境数据、后第二预设长度的历史环境数据和后第二预设长度的历史电力负荷数据。In some embodiments, obtaining a training sample set includes: obtaining historical power load data and historical environmental data of a sample enterprise; using a sliding window to segment the historical electric load data and historical environmental data of a sample enterprise to generate a training sample set, wherein , the length of the sliding window is equal to the sum of the first preset length and the second preset length, and each training sample includes the following three parts: the historical power load data and historical environmental data of the first preset length before, and the second preset length after The historical environmental data of a length and the historical power load data of a second preset length.

第二方面,本申请实施例提供了一种用于预测电力负荷的装置,包括:获取单元,被配置成获取待预测企业的历史电力负荷数据、历史环境数据和未来环境数据;编码单元,被配置成利用预先训练的编码器对待预测企业的历史电力负荷数据和历史环境数据进行编码,得到待预测企业的历史电力负荷特征;解码单元,被配置成利用预先训练的解码器对待预测企业的历史电力负荷特征和未来环境数据进行解码,得到待预测企业的未来电力负荷预测数据。In the second aspect, the embodiment of the present application provides a device for forecasting power load, including: an acquisition unit configured to acquire historical power load data, historical environment data and future environment data of the enterprise to be predicted; an encoding unit configured to It is configured to use a pre-trained encoder to encode the historical power load data and historical environmental data of the enterprise to be predicted to obtain the historical power load characteristics of the enterprise to be predicted; the decoding unit is configured to use a pre-trained decoder to predict the history of the enterprise The power load characteristics and future environmental data are decoded to obtain the future power load forecast data of the enterprise to be forecasted.

在一些实施例中,编码器是卷积神经网络,解码器是长短期记忆网络。In some embodiments, the encoder is a convolutional neural network and the decoder is a long short-term memory network.

在一些实施例中,编码单元进一步被配置成:基于待预测企业的历史电力负荷数据和历史环境数据,生成待测企业的历史二维数据,其中,历史二维数据包括时间维度和空间维度,时间维度包括历史时间点,空间维度包括每个历史时间点的电力负荷数据和环境数据;基于历史二维数据,生成待预测企业的历史图像;将待预测企业的历史图像输入至卷积神经网络,得到待预测企业的历史电力负荷特征。In some embodiments, the encoding unit is further configured to: generate historical two-dimensional data of the enterprise to be measured based on historical power load data and historical environment data of the enterprise to be predicted, wherein the historical two-dimensional data includes a time dimension and a spatial dimension, The time dimension includes historical time points, and the spatial dimension includes power load data and environmental data at each historical time point; based on historical two-dimensional data, the historical image of the enterprise to be predicted is generated; the historical image of the enterprise to be predicted is input to the convolutional neural network , to get the historical power load characteristics of the enterprise to be predicted.

在一些实施例中,卷积神经网络包括输入网络、残差神经网络和输出网络,输入网络涉及的操作包括以下至少一项:卷积、批标准化和激活函数变换,残差神经网络涉及的操作包括以下至少一项:卷积、随机失活、激活函数变换、批标准化和最大池化,输出网络涉及的操作包括以下至少一项:批标准化和平均池化。In some embodiments, the convolutional neural network includes an input network, a residual neural network, and an output network, and the operations involved in the input network include at least one of the following: convolution, batch normalization, and activation function transformation, and the operations involved in the residual neural network Including at least one of the following: convolution, random deactivation, activation function transformation, batch normalization and maximum pooling, and the operations involved in the output network include at least one of the following: batch normalization and average pooling.

在一些实施例中,残差神经网络通过直连将输入网络的输出经过最大池化后与残差神经网络的输出合并。In some embodiments, the residual neural network merges the output of the input network with the output of the residual neural network after the maximum pooling through direct connection.

在一些实施例中,长短期记忆网络包括多个长短期记忆单元,每个长短期记忆单元包括输入门、遗忘门和输出门。In some embodiments, the LSTM network includes a plurality of LSTM units, and each LSTM unit includes an input gate, a forget gate, and an output gate.

在一些实施例中,编码器和解码器通过如下步骤训练得到:获取训练样本集合,其中,每个训练样本包括以下三部分:第一预设长度的样本电力负荷数据和样本环境数据、第二预设长度的样本环境数据和第二预设长度的样本电力负荷数据;对于训练样本集合中的训练样本,将该训练样本中的第一预设长度的样本电力负荷数据和样本环境数据作为编码器的输入,将编码器的输出和该训练样本中的第二预设长度的样本环境数据作为解码器的输入,将该训练样本中的第二预设长度的样本电力负荷数据作为解码器的输出,训练出编码器和解码器。In some embodiments, the encoder and the decoder are trained through the following steps: obtaining a set of training samples, wherein each training sample includes the following three parts: the first preset length of sample power load data and sample environment data, the second The sample environment data of the preset length and the sample power load data of the second preset length; for the training samples in the training sample set, the sample power load data and the sample environment data of the first preset length in the training samples are coded as The input of the encoder, the output of the encoder and the sample environment data of the second preset length in the training sample are used as the input of the decoder, and the sample power load data of the second preset length in the training sample is used as the decoder. Output, train the encoder and decoder.

在一些实施例中,获取训练样本集合,包括:获取样本企业的历史电力负荷数据和历史环境数据;使用滑动窗对样本企业的历史电力负荷数据和历史环境数据进行分割,生成训练样本集合,其中,滑动窗的长度等于第一预设长度与第二预设长度之和,每个训练样本包括以下三部分:前第一预设长度的历史电力负荷数据和历史环境数据、后第二预设长度的历史环境数据和后第二预设长度的历史电力负荷数据。In some embodiments, obtaining a training sample set includes: obtaining historical power load data and historical environmental data of a sample enterprise; using a sliding window to segment the historical electric load data and historical environmental data of a sample enterprise to generate a training sample set, wherein , the length of the sliding window is equal to the sum of the first preset length and the second preset length, and each training sample includes the following three parts: the historical power load data and historical environmental data of the first preset length before, and the second preset length after The historical environmental data of a length and the historical power load data of a second preset length.

第三方面,本申请实施例提供了一种电子设备,该电子设备包括:一个或多个处理器;存储装置,其上存储有一个或多个程序;当一个或多个程序被一个或多个处理器执行,使得一个或多个处理器实现如第一方面中任一实现方式描述的方法。In the third aspect, the embodiment of the present application provides an electronic device, the electronic device includes: one or more processors; a storage device, on which one or more programs are stored; when one or more programs are used by one or more processors, so that one or more processors implement the method described in any implementation manner in the first aspect.

第四方面,本申请实施例提供了一种计算机可读介质,其上存储有计算机程序,该计算机程序被处理器执行时实现如第一方面中任一实现方式描述的方法。In a fourth aspect, an embodiment of the present application provides a computer-readable medium, on which a computer program is stored, and when the computer program is executed by a processor, the method described in any implementation manner in the first aspect is implemented.

本申请实施例提供的用于预测电力负荷的方法和装置,首先获取待预测企业的历史电力负荷数据、历史环境数据和未来环境数据;然后利用预先训练的编码器对待预测企业的历史电力负荷数据和历史环境数据进行编码,以得到待预测企业的历史电力负荷特征;最后利用预先训练的解码器对待预测企业的历史电力负荷特征和未来环境数据进行解码,以得到待预测企业的未来电力负荷预测数据。提供了一种基于编码器和解码器结合的电力负荷预测方法。使用编码器学习企业的历史电力负荷特征,使用解码器预测企业的未来电力负荷数据,提高了电力负荷的预测准确度。The method and device for predicting power load provided by the embodiments of the present application firstly obtain the historical power load data, historical environment data and future environment data of the enterprise to be predicted; then use the pre-trained encoder to obtain the historical power load data of the enterprise to be predicted Coding with historical environmental data to obtain the historical power load characteristics of the enterprise to be predicted; finally, use the pre-trained decoder to decode the historical power load characteristics and future environmental data of the enterprise to be predicted to obtain the future power load forecast of the enterprise to be predicted data. A power load forecasting method based on the combination of encoder and decoder is provided. The encoder is used to learn the historical power load characteristics of the enterprise, and the decoder is used to predict the future power load data of the enterprise, which improves the prediction accuracy of the power load.

附图说明Description of drawings

通过阅读参照以下附图所作的对非限制性实施例所作的详细描述,本申请的其它特征、目的和优点将会变得更明显:Other characteristics, objects and advantages of the present application will become more apparent by reading the detailed description of non-limiting embodiments made with reference to the following drawings:

图1是本申请可以应用于其中的示例性系统架构;FIG. 1 is an exemplary system architecture to which the present application can be applied;

图2是根据本申请的用于预测电力负荷的方法的一个实施例的流程图;FIG. 2 is a flowchart of one embodiment of a method for forecasting electrical loads according to the present application;

图3是编码器和解码器的结构示意图;Fig. 3 is a schematic structural diagram of an encoder and a decoder;

图4是根据本申请的用于训练编码器和解码器的方法的一个实施例的流程图;FIG. 4 is a flow chart of one embodiment of a method for training an encoder and a decoder according to the present application;

图5是根据本申请的用于预测电力负荷的装置的一个实施例的结构示意图;FIG. 5 is a schematic structural diagram of an embodiment of a device for predicting electric load according to the present application;

图6是适于用来实现本申请实施例的电子设备的计算机系统的结构示意图。FIG. 6 is a schematic structural diagram of a computer system suitable for implementing the electronic device of the embodiment of the present application.

具体实施方式Detailed ways

下面结合附图和实施例对本申请作进一步的详细说明。可以理解的是,此处所描述的具体实施例仅仅用于解释相关发明,而非对该发明的限定。另外还需要说明的是,为了便于描述,附图中仅示出了与有关发明相关的部分。The application will be further described in detail below in conjunction with the accompanying drawings and embodiments. It should be understood that the specific embodiments described here are only used to explain related inventions, rather than to limit the invention. It should also be noted that, for the convenience of description, only the parts related to the related invention are shown in the drawings.

需要说明的是,在不冲突的情况下,本申请中的实施例及实施例中的特征可以相互组合。下面将参考附图并结合实施例来详细说明本申请。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. The present application will be described in detail below with reference to the accompanying drawings and embodiments.

图1示出了可以应用本申请的用于预测电力负荷的方法或用于预测电力负荷的装置的实施例的示例性系统架构100。FIG. 1 shows an exemplary system architecture 100 to which embodiments of the method for forecasting electric load or the apparatus for predicting electric load of the present application can be applied.

如图1所示,系统架构100中可以包括终端设备101、网络102和服务器103。网络102用以在终端设备101和服务器103之间提供通信链路的介质。网络102可以包括各种连接类型,例如有线、无线通信链路或者光纤电缆等等。As shown in FIG. 1 , a system architecture 100 may include a terminal device 101 , a network 102 and a server 103 . The network 102 is used as a medium for providing a communication link between the terminal device 101 and the server 103 . Network 102 may include various connection types, such as wires, wireless communication links, or fiber optic cables, among others.

用户可以使用终端设备101通过网络102与服务器103交互,以接收或发送消息等。终端设备101上可以安装有各种客户端软件,例如信息预测类应用等。The user can use the terminal device 101 to interact with the server 103 through the network 102 to receive or send messages and the like. Various client software, such as information prediction applications, can be installed on the terminal device 101 .

终端设备101可以是硬件,也可以是软件。当终端设备101为硬件时,可以是具有显示屏并且支持信息预测的各种电子设备。包括但不限于智能手机、平板电脑、膝上型便携计算机和台式计算机等等。当终端设备101为软件时,可以安装在上述电子设备中。其可以实现成多个软件或软件模块,也可以实现成单个软件或软件模块。在此不做具体限定。The terminal device 101 may be hardware or software. When the terminal device 101 is hardware, it may be various electronic devices that have a display screen and support information prediction. This includes, but is not limited to, smartphones, tablets, laptops, and desktops, among others. When the terminal device 101 is software, it can be installed in the above-mentioned electronic device. It can be implemented as a plurality of software or software modules, or as a single software or software module. No specific limitation is made here.

服务器103可以是提供各种服务的服务器。例如信息预测服务器。信息预测服务器可以对获取到的待预测企业的历史电力负荷数据、历史环境数据和未来环境数据等数据进行分析等处理,生成处理结果(例如待预测企业的未来电力负荷预测数据),并将处理结果推送给终端设备101。The server 103 may be a server that provides various services. For example, information prediction server. The information forecast server can analyze and process the acquired historical power load data, historical environmental data and future environmental data of the enterprise to be predicted, generate processing results (such as the future power load forecast data of the enterprise to be predicted), and process The result is pushed to the terminal device 101.

需要说明的是,服务器103可以是硬件,也可以是软件。当服务器103为硬件时,可以实现成多个服务器组成的分布式服务器集群,也可以实现成单个服务器。当服务器103为软件时,可以实现成多个软件或软件模块(例如用来提供分布式服务),也可以实现成单个软件或软件模块。在此不做具体限定。It should be noted that the server 103 may be hardware or software. When the server 103 is hardware, it can be implemented as a distributed server cluster composed of multiple servers, or as a single server. When the server 103 is software, it may be implemented as multiple software or software modules (for example, for providing distributed services), or as a single software or software module. No specific limitation is made here.

需要说明的是,本申请实施例所提供的用于预测电力负荷的方法一般由服务器103执行,相应地,用于预测电力负荷的装置一般设置于服务器103中。It should be noted that the method for predicting electric load provided by the embodiment of the present application is generally executed by the server 103 , and correspondingly, the device for predicting electric load is generally disposed in the server 103 .

应该理解,图1中的终端设备、网络和服务器的数目仅仅是示意性的。根据实现需要,可以具有任意数目的终端设备、网络和服务器。It should be understood that the numbers of terminal devices, networks and servers in Fig. 1 are only illustrative. According to the implementation needs, there can be any number of terminal devices, networks and servers.

继续参考图2,其示出了根据本申请的用于预测电力负荷的方法的一个实施例的流程200。该用于预测电力负荷的方法,包括以下步骤:Continuing to refer to FIG. 2 , which shows a flow 200 of an embodiment of a method for forecasting electric load according to the present application. The method for forecasting electric load includes the following steps:

步骤201,获取待预测企业的历史电力负荷数据、历史环境数据和未来环境数据。Step 201, acquiring historical power load data, historical environmental data and future environmental data of the enterprise to be predicted.

在本实施例中,用于预测电力负荷的方法的执行主体(例如图1所示的服务器103)可以通过有线连接方式或者无线连接方式获取待预测企业的历史电力负荷数据、历史环境数据和未来环境数据。In this embodiment, the execution subject of the method for forecasting electric load (for example, the server 103 shown in FIG. 1 ) can obtain the historical electric load data, historical environmental data and future environmental data.

这里,待预测企业可以是任意售电企业。历史电力负荷数据可以是待预测企业在历史时间段内(例如前两年内)的真实电力负荷数据。历史环境数据可以是待预测企业在历史时间段内的真实环境数据。未来环境数据可以是待预测企业在未来时间段内(例如未来一个月内)的预测环境数据。电力负荷数据可以是待预测企业的所有用电设备在某一时间段内向电力系统取用的电功率的总和。环境数据可以是待预测企业在某一时间段内的外部环境数据,包括但不限于待预测企业的生产情况、待预测企业所处的区域的地理信息,待预测企业所处的区域在某一时间段内的气温,以及该时间段内的节假日等。Here, the enterprise to be predicted can be any electricity sales enterprise. The historical power load data may be real power load data of the enterprise to be predicted within a historical time period (for example, within the previous two years). The historical environmental data may be real environmental data of the enterprise to be predicted in a historical time period. The future environmental data may be predicted environmental data of the enterprise to be predicted within a future time period (for example, within one month in the future). The power load data may be the sum of the electric power drawn from the power system by all electric equipment of the enterprise to be predicted within a certain period of time. The environmental data can be the external environmental data of the enterprise to be predicted in a certain period of time, including but not limited to the production situation of the enterprise to be predicted, the geographic information of the area where the enterprise to be predicted is located, and the area where the enterprise to be predicted is located in a certain period of time. The temperature in the time period, and the holidays in the time period, etc.

步骤202,利用预先训练的编码器对待预测企业的历史电力负荷数据和历史环境数据进行编码,得到待预测企业的历史电力负荷特征。Step 202, using a pre-trained encoder to encode the historical power load data and historical environment data of the enterprise to be predicted to obtain the historical power load characteristics of the enterprise to be predicted.

在本实施例中,上述执行主体可以利用预先训练的编码器(Encoder)对待预测企业的历史电力负荷数据和历史环境数据进行编码,以得到待预测企业的历史电力负荷特征。In this embodiment, the execution subject can use a pre-trained encoder (Encoder) to encode the historical power load data and historical environment data of the enterprise to be predicted, so as to obtain the historical power load characteristics of the enterprise to be predicted.

这里,编码器可以用于学习企业的历史电力负荷特征,表征企业的历史电力负荷数据和历史环境数据与企业的历史电力负荷特征之间的对应关系。Here, the encoder can be used to learn the historical power load characteristics of the enterprise, and characterize the correspondence between the historical power load data and the historical environmental data of the enterprise and the historical power load characteristics of the enterprise.

这里,历史电力负荷特征可以表示企业的历史电力负荷规律,也就是历史电力负荷数据与历史环境数据的相关性(包括但不限于企业在过去一段时间内的电力负荷趋势、企业的历史电力负荷与节假日的相关性、企业的历史电力负荷与气温的相关性等等)。Here, the historical power load feature can represent the historical power load law of the enterprise, that is, the correlation between the historical power load data and the historical environmental data (including but not limited to the power load trend of the enterprise in the past period of time, the historical power load of the enterprise and the historical environmental data). The correlation of holidays, the correlation between the historical power load of the enterprise and the temperature, etc.).

在本实施例中,编码器可以通过多种方式训练得到。In this embodiment, the encoder can be trained in various ways.

在本实施例的一些可选的实现方式中,上述执行主体可以预先收集大量企业的历史电力负荷数据和历史环境数据,并人工分析出这些企业的历史电力负荷特征。随后,将这些企业的历史电力负荷数据、历史环境数据和历史电力负荷特征对应存储,以生成对应关系表,作为编码器。这样,上述执行主体可以首先计算待预测企业的历史电力负荷数据和历史环境数据与对应关系表中的各个企业的历史电力负荷数据和历史环境数据之间的相似度;然后基于所计算出的相似度,从对应关系表中确定出待预测企业的历史电力负荷特征。例如,上述执行主体可以从对应关系表中选取出与待预测企业的历史电力负荷数据和历史环境数据相似度最高的企业的历史电力负荷特征,作为待预测企业的历史电力负荷特征。In some optional implementations of this embodiment, the above-mentioned executive body may pre-collect historical power load data and historical environment data of a large number of enterprises, and manually analyze the historical power load characteristics of these enterprises. Subsequently, the historical power load data, historical environmental data and historical power load characteristics of these enterprises are correspondingly stored to generate a correspondence table as an encoder. In this way, the above-mentioned executive body can first calculate the similarity between the historical power load data and historical environment data of the enterprise to be predicted and the historical power load data and historical environment data of each enterprise in the correspondence table; then based on the calculated similarity degree, and determine the historical power load characteristics of the enterprise to be predicted from the corresponding relationship table. For example, the executive body may select the historical power load characteristics of the enterprise with the highest similarity with the historical power load data and historical environmental data of the enterprise to be predicted from the correspondence table as the historical power load characteristics of the enterprise to be predicted.

在本实施例的一些可选的实现方式中,编码器可以是利用机器学习方法和训练样本对现有的机器学习模型进行有监督训练而得到的。通常,编码器可以是卷积神经网络(Convolutional Neural Network,CNN)。卷积神经网络在图像领域取得了重大进展,在图像分类问题上的表现已经超过人类。因此,上述执行主体可以将待预测企业的历史电力负荷数据和历史环境数据当做图像来被卷积神经网络处理。In some optional implementation manners of this embodiment, the encoder may be obtained by performing supervised training on an existing machine learning model by using a machine learning method and training samples. Typically, the encoder can be a Convolutional Neural Network (CNN). Convolutional neural networks have made significant progress in the field of images and have outperformed humans in image classification problems. Therefore, the above execution subject can treat the historical power load data and historical environmental data of the enterprise to be predicted as an image and be processed by the convolutional neural network.

在本实施例的一些可选的实现方式中,上述执行主体可以首先基于待预测企业的历史电力负荷数据和历史环境数据,生成待测企业的历史二维数据;然后基于历史二维数据,生成待预测企业的历史图像;最后将待预测企业的历史图像输入至卷积神经网络,得到待预测企业的历史电力负荷特征。其中,历史二维数据可以包括时间维度和空间维度。时间维度可以包括历史时间点。空间维度可以包括每个历史时间点的电力负荷数据和环境数据。这样,卷积神经网络学习企业的历史电力负荷特征时,可以兼顾时间和空间,也就是输入数据的水平和垂直维度。In some optional implementations of this embodiment, the executive body may first generate historical two-dimensional data of the enterprise to be tested based on the historical power load data and historical environmental data of the enterprise to be predicted; then based on the historical two-dimensional data, generate The historical image of the enterprise to be predicted; finally, the historical image of the enterprise to be predicted is input to the convolutional neural network to obtain the historical power load characteristics of the enterprise to be predicted. Wherein, the historical two-dimensional data may include a time dimension and a space dimension. The time dimension can include historical points in time. The spatial dimension may include power load data and environmental data at each historical point in time. In this way, when the convolutional neural network learns the historical power load characteristics of the enterprise, it can take into account both time and space, that is, the horizontal and vertical dimensions of the input data.

步骤203,利用预先训练的解码器对待预测企业的历史电力负荷特征和未来环境数据进行解码,得到待预测企业的未来电力负荷预测数据。Step 203, using a pre-trained decoder to decode the historical power load characteristics and future environmental data of the enterprise to be predicted, to obtain the future power load forecast data of the enterprise to be predicted.

在本实施例中,上述执行主体可以利用预先训练的解码器(Decoder)对待预测企业的历史电力负荷特征和未来环境数据进行解码,以得到待预测企业的未来电力负荷预测数据。In this embodiment, the execution subject can use a pre-trained decoder (Decoder) to decode the historical power load characteristics and future environmental data of the enterprise to be predicted, so as to obtain the future power load forecast data of the enterprise to be predicted.

这里,解码器可以用于预测企业的未来电力负荷数据,表征企业的历史电力负荷特征和未来环境数据与企业的未来电力负荷预测数据之间的对应关系。Here, the decoder can be used to predict the future power load data of the enterprise, and characterize the correspondence between the historical power load characteristics of the enterprise and the future environmental data and the future power load forecast data of the enterprise.

在本实施例中,解码器可以通过多种方式训练得到。In this embodiment, the decoder can be trained in various ways.

在本实施例的一些可选的实现方式中,上述执行主体可以预先收集大量企业的历史电力负荷特征、历史环境数据和历史电力负荷数据,并对应存储生成对应关系表,作为解码器。这样,上述执行主体可以首先计算待预测企业的历史电力负荷特征和未来环境数据与对应关系表中的各个企业的历史电力负荷特征和历史环境数据之间的相似度;然后基于所计算出的相似度,从对应关系表中确定出待预测企业的未来电力负荷预测数据。例如,上述执行主体可以从对应关系表中选取出与待预测企业的历史电力负荷特征和未来环境数据相似度最高的企业的历史电力负荷数据,作为待预测企业的未来电力负荷预测数据。In some optional implementations of this embodiment, the execution subject may pre-collect historical power load characteristics, historical environment data, and historical power load data of a large number of enterprises, and store correspondingly to generate a correspondence table as a decoder. In this way, the above-mentioned executive body can first calculate the similarity between the historical power load characteristics and future environmental data of the enterprise to be predicted and the historical power load characteristics and historical environmental data of each enterprise in the correspondence table; then based on the calculated similarity degree, and determine the future power load forecast data of the enterprise to be forecasted from the correspondence table. For example, the executive body may select the historical power load data of the enterprise with the highest similarity with the historical power load characteristics and future environmental data of the enterprise to be predicted from the correspondence table as the future power load forecast data of the enterprise to be predicted.

在本实施例的一些可选的实现方式中,解码器可以是利用机器学习方法和训练样本对现有的机器学习模型进行有监督训练而得到的。在序列解码问题上,循环神经网络(Recurrent Neural Network,RNN)取得了较好的成绩,尤其是长短期记忆网络(LongShort-Term Memory,LSTM)。因此,解码器可以是长短期记忆网络。In some optional implementation manners of this embodiment, the decoder may be obtained by performing supervised training on an existing machine learning model by using a machine learning method and training samples. On the problem of sequence decoding, Recurrent Neural Network (RNN) has achieved good results, especially Long Short-Term Memory (LSTM). Therefore, the decoder can be a long short-term memory network.

在本实施例中,上述执行主体可以采用编码器-解码器模式来预测电力负荷数据。为了便于理解,图3示出了编码器和解码器的结构示意图。In this embodiment, the above execution subject may use an encoder-decoder mode to predict power load data. For ease of understanding, FIG. 3 shows a schematic structural diagram of an encoder and a decoder.

图3的左半部分示出了编码器的结构示意图。这里,卷积神经网络可以包括输入网络、残差神经网络(Resnet)和输出网络。通常,卷积神经网络中的残差神经网络的数目可以是多个,图3仅示意性的示出了一个残差神经网络。The left half of Fig. 3 shows a schematic structural diagram of the encoder. Here, the convolutional neural network may include an input network, a residual neural network (Resnet), and an output network. Generally, there may be multiple residual neural networks in the convolutional neural network, and FIG. 3 only schematically shows one residual neural network.

这里,输入网络涉及的操作可以包括但不限于以下至少一项:卷积(Convolution)、批标准化(BatchNorm)和激活函数变换(ReLU)等等。批标准化可以使网络在训练时稳定。输入网络的输入可以是多个历史时间点的历史电力负荷数据和历史环境数据。图3示意性的示出了w个历史时间点的历史电力负荷数据和历史环境数据。Here, the operations involved in the input network may include but not limited to at least one of the following: convolution (Convolution), batch normalization (BatchNorm), activation function transformation (ReLU), and the like. Batch normalization can make the network stable while training. The input to the network may be historical power load data and historical environmental data at multiple historical time points. Fig. 3 schematically shows historical power load data and historical environment data at w historical time points.

这里,残差神经网络涉及的操作可以包括但不限于以下至少一项:卷积、随机失活(Dropout)、激活函数变换、批标准化和最大池化(Max pool)等等。残差神经网络中的卷积层的数目通常是两个。随机失活可以防止过拟合。残差神经网络可以通过直连(shortcut)将输入网络的输出经过最大池化后与残差神经网络的输出合并。通过残差神经网络的结构,编码器的网络深度可以大大增加,使得编码器可以学习到更多特征。Here, the operations involved in the residual neural network may include, but are not limited to, at least one of the following: convolution, random inactivation (Dropout), activation function transformation, batch normalization, and maximum pooling (Max pool) and the like. The number of convolutional layers in a residual neural network is usually two. Dropout prevents overfitting. The residual neural network can merge the output of the input network with the output of the residual neural network after a direct connection (shortcut). Through the structure of the residual neural network, the network depth of the encoder can be greatly increased, so that the encoder can learn more features.

这里,输出网络涉及的操作可以包括但不限于以下至少一项:批标准化和平均池化(Average pool)等等。输出网络的输出可以是一维向量,该一维向量可以用于表示企业的历史电力负荷特征。Here, the operations involved in the output network may include but not limited to at least one of the following: batch normalization, average pooling (Average pool) and so on. The output of the output network can be a one-dimensional vector, which can be used to represent the historical power load characteristics of the enterprise.

图3的右半部分示出了解码器的结构示意图。这里,长短期记忆网络可以包括多个长短期记忆单元。每个长短期记忆单元可以包括输入门、遗忘门和输出门。The right half of Fig. 3 shows a schematic structural diagram of the decoder. Here, the LSTM network may include multiple LSTM units. Each LSTM unit may include an input gate, a forget gate and an output gate.

这里,解码器的输入可以是编码器的输出和多个未来时间点的未来环境数据。图3示意性的示出了p个未来时间点的未来环境数据。解码器的输出可以是多个未来时间点的未来电力负荷数据。图3示意性的示出了p个未来时间点的未来电力负荷数据。Here, the input of the decoder may be the output of the encoder and future environment data at multiple future time points. Fig. 3 schematically shows future environmental data at p future time points. The output of the decoder may be future electrical load data for multiple future points in time. Fig. 3 schematically shows future power load data at p future time points.

通常,长短期记忆网络在算法中加入了一个判断信息有用与否的“处理器”,这个“处理器”作用的结构就是长短期记忆单元,也被称为cell。一个cell当中被放置了三扇门,分别叫做输入门、遗忘门和输出门。一个信息进入长短期记忆网络当中,可以根据规则来判断是否有用。只有符合算法认证的信息才会留下,不符的信息则通过遗忘门被遗忘。Usually, the long-term short-term memory network adds a "processor" to the algorithm to judge whether information is useful or not. The structure of this "processor" is the long-term short-term memory unit, also known as a cell. Three gates are placed in a cell, which are called input gate, forget gate and output gate. When a piece of information enters the long-term short-term memory network, it can be judged according to the rules whether it is useful or not. Only the information that conforms to the algorithm authentication will be left, and the information that does not match will be forgotten through the forget gate.

本申请实施例提供的用于预测电力负荷的方法,首先获取待预测企业的历史电力负荷数据、历史环境数据和未来环境数据;然后利用预先训练的编码器对待预测企业的历史电力负荷数据和历史环境数据进行编码,以得到待预测企业的历史电力负荷特征;最后利用预先训练的解码器对待预测企业的历史电力负荷特征和未来环境数据进行解码,以得到待预测企业的未来电力负荷预测数据。提供了一种基于编码器和解码器结合的电力负荷预测方法。使用编码器学习企业的历史电力负荷特征,使用解码器预测企业的未来电力负荷数据,提高了电力负荷的预测准确度。The method for predicting power load provided by the embodiment of the present application first obtains the historical power load data, historical environmental data and future environmental data of the enterprise to be predicted; then uses the pre-trained encoder to obtain the historical power load data and historical The environmental data is encoded to obtain the historical power load characteristics of the enterprise to be predicted; finally, the pre-trained decoder is used to decode the historical power load characteristics and future environmental data of the enterprise to be predicted to obtain the future power load forecast data of the enterprise to be predicted. A power load forecasting method based on the combination of encoder and decoder is provided. The encoder is used to learn the historical power load characteristics of the enterprise, and the decoder is used to predict the future power load data of the enterprise, which improves the prediction accuracy of the power load.

继续参考图4,其示出了根据本申请的用于训练编码器和解码器的方法的一个实施例的流程400。该用于训练编码器和解码器的方法,包括以下步骤:Continuing to refer to FIG. 4 , which shows a flow 400 of an embodiment of a method for training an encoder and a decoder according to the present application. The method for training an encoder and a decoder comprises the following steps:

步骤401,获取训练样本集合。Step 401, acquire a training sample set.

在本实施例中,用于训练编码器和解码器的方法的执行主体(例如图1所示的服务器103)可以获取训练样本集合。In this embodiment, the execution subject of the method for training the encoder and the decoder (for example, the server 103 shown in FIG. 1 ) can obtain the training sample set.

其中,每个训练样本可以包括以下三部分:第一预设长度的样本电力负荷数据和样本环境数据、第二预设长度的样本环境数据和第二预设长度的样本电力负荷数据。Wherein, each training sample may include the following three parts: sample power load data and sample environment data of a first preset length, sample environment data of a second preset length, and sample power load data of a second preset length.

在本实施例的一些可选的实现方式中,训练样本集合可以通过如下步骤得到:In some optional implementations of this embodiment, the training sample set can be obtained through the following steps:

首先,获取样本企业的历史电力负荷数据和历史环境数据。First, obtain the historical power load data and historical environmental data of the sample enterprises.

然后,使用滑动窗对样本企业的历史电力负荷数据和历史环境数据进行分割,生成训练样本集合。Then, use the sliding window to segment the historical power load data and historical environmental data of the sample enterprises to generate a training sample set.

其中,滑动窗的长度可以等于第一预设长度与第二预设长度之和。每个训练样本可以包括以下三部分:前第一预设长度的历史电力负荷数据和历史环境数据、后第二预设长度的历史环境数据和后第二预设长度的历史电力负荷数据。Wherein, the length of the sliding window may be equal to the sum of the first preset length and the second preset length. Each training sample may include the following three parts: historical power load data and historical environment data of a first preset length before, historical environment data of a second preset length later, and historical power load data of a second preset length later.

步骤402,对于训练样本集合中的训练样本,将该训练样本中的第一预设长度的样本电力负荷数据和样本环境数据作为编码器的输入,将编码器的输出和该训练样本中的第二预设长度的样本环境数据作为解码器的输入,将该训练样本中的第二预设长度的样本电力负荷数据作为解码器的输出,训练出编码器和解码器。Step 402, for a training sample in the training sample set, use the sample power load data and sample environment data of the first preset length in the training sample as the input of the encoder, and use the output of the encoder and the first preset length of the sample environment data in the training sample The sample environment data of two preset lengths is used as the input of the decoder, and the sample power load data of the second preset length in the training samples is used as the output of the decoder to train the encoder and the decoder.

在本实施例中,对于训练样本集合中的训练样本,上述执行主体可以将该训练样本中的第一预设长度的样本电力负荷数据和样本环境数据作为编码器的输入,将编码器的输出和该训练样本中的第二预设长度的样本环境数据作为解码器的输入,将该训练样本中的第二预设长度的样本电力负荷数据作为解码器的输出,训练出编码器和解码器。In this embodiment, for the training samples in the training sample set, the execution subject can use the sample power load data and sample environment data of the first preset length in the training samples as the input of the encoder, and the output of the encoder And the sample environment data of the second preset length in the training sample is used as the input of the decoder, the sample power load data of the second preset length in the training sample is used as the output of the decoder, and the encoder and the decoder are trained .

具体地,上述执行主体可以通过如下步骤基于训练样本集合训练编码器和解码器:Specifically, the above execution subject can train the encoder and decoder based on the training sample set through the following steps:

首先,初始化编码器和解码器。First, initialize the encoder and decoder.

这里,上述执行主体可以通过将编码器和解码器的各层设置初始网络参数来初始化编码器和解码器。Here, the above execution subject can initialize the encoder and decoder by setting initial network parameters for each layer of the encoder and decoder.

之后,对于训练样本集合中的训练样本,将该训练样本中的第一预设长度的样本电力负荷数据和样本环境数据输入至编码器,得到该训练样本对应的样本电力负荷特征。Afterwards, for a training sample in the training sample set, the sample power load data and the sample environment data of the first preset length in the training sample are input to the encoder to obtain the sample power load feature corresponding to the training sample.

然后,将该训练样本对应的样本电力负荷特征和该训练样本中的第二预设长度的样本环境数据输入至解码器,得到该训练样本对应的第二预设长度的样本电力负荷预测数据。Then, the sample power load feature corresponding to the training sample and the sample environment data of the second preset length in the training sample are input to the decoder to obtain the sample power load prediction data of the second preset length corresponding to the training sample.

最后,基于该训练样本对应的第二预设长度的样本电力负荷预测数据和该训练样本中的第二预设长度的样本电力负荷数据调整编码器和解码器的各层的网络参数。Finally, network parameters of each layer of the encoder and decoder are adjusted based on the sample power load prediction data of the second preset length corresponding to the training sample and the sample power load data of the second preset length in the training sample.

通常,上述执行主体可以基于该训练样本对应的第二预设长度的样本电力负荷预测数据和该训练样本中的第二预设长度的样本电力负荷数据,计算编码器和解码器的预测准确度。当预测准确度满足预设阈值时,编码器和解码器训练完成;当预测准确度不满足预设阈值时,调整编码器和解码器的各层的网络参数,并利用训练样本集合继续对编码器和解码进行训练,如此循环往复,直至预测准确度满足预设阈值,编码器和解码器训练完成为止。Usually, the above execution subject can calculate the prediction accuracy of the encoder and the decoder based on the sample power load prediction data of the second preset length corresponding to the training sample and the sample power load data of the second preset length in the training sample . When the prediction accuracy meets the preset threshold, the encoder and decoder training is completed; when the prediction accuracy does not meet the preset threshold, adjust the network parameters of each layer of the encoder and decoder, and use the training sample set to continue encoding The encoder and decoder are trained, and the cycle repeats until the prediction accuracy meets the preset threshold, and the encoder and decoder training is completed.

进一步参考图5,作为对上述各图所示方法的实现,本申请提供了一种用于预测电力负荷的装置的一个实施例,该装置实施例与图2所示的方法实施例相对应,该装置具体可以应用于各种电子设备中。Further referring to FIG. 5 , as an implementation of the methods shown in the above-mentioned figures, the present application provides an embodiment of a device for predicting electric load, which corresponds to the method embodiment shown in FIG. 2 , The device can be specifically applied to various electronic devices.

如图5所示,本实施例的用于预测电力负荷的装置500可以包括:获取单元501、编码单元502和解码单元503。其中,获取单元501,被配置成获取待预测企业的历史电力负荷数据、历史环境数据和未来环境数据;编码单元502,被配置成利用预先训练的编码器对待预测企业的历史电力负荷数据和历史环境数据进行编码,得到待预测企业的历史电力负荷特征;解码单元503,被配置成利用预先训练的解码器对待预测企业的历史电力负荷特征和未来环境数据进行解码,得到待预测企业的未来电力负荷预测数据。As shown in FIG. 5 , the apparatus 500 for predicting electric load in this embodiment may include: an acquiring unit 501 , an encoding unit 502 and a decoding unit 503 . Among them, the acquisition unit 501 is configured to acquire the historical power load data, historical environmental data and future environmental data of the enterprise to be predicted; the encoding unit 502 is configured to use a pre-trained encoder to obtain the historical power load data and historical The environmental data is encoded to obtain the historical power load characteristics of the enterprise to be predicted; the decoding unit 503 is configured to use a pre-trained decoder to decode the historical power load characteristics and future environmental data of the enterprise to be predicted to obtain the future power of the enterprise to be predicted load forecast data.

在本实施例中,用于预测电力负荷的装置500中:获取单元501、编码单元502和解码单元503的具体处理及其所带来的技术效果可分别参考图2对应实施例中的步骤201、步骤202和步骤203的相关说明,在此不再赘述。In this embodiment, in the device 500 for predicting power load: the specific processing of the acquisition unit 501, the encoding unit 502, and the decoding unit 503 and the technical effects brought about by them can refer to step 201 in the corresponding embodiment in FIG. 2 , step 202 and step 203 related descriptions will not be repeated here.

在本实施例的一些可选的实现方式中,编码器是卷积神经网络,解码器是长短期记忆网络。In some optional implementation manners of this embodiment, the encoder is a convolutional neural network, and the decoder is a long short-term memory network.

在本实施例的一些可选的实现方式中,编码单元502进一步被配置成:基于待预测企业的历史电力负荷数据和历史环境数据,生成待测企业的历史二维数据,其中,历史二维数据包括时间维度和空间维度,时间维度包括历史时间点,空间维度包括每个历史时间点的电力负荷数据和环境数据;基于历史二维数据,生成待预测企业的历史图像;将待预测企业的历史图像输入至卷积神经网络,得到待预测企业的历史电力负荷特征。In some optional implementations of this embodiment, the encoding unit 502 is further configured to: generate historical two-dimensional data of the enterprise to be tested based on the historical power load data and historical environment data of the enterprise to be predicted, wherein the historical two-dimensional The data includes time dimension and space dimension, the time dimension includes historical time points, and the spatial dimension includes power load data and environmental data at each historical time point; based on historical two-dimensional data, the historical image of the enterprise to be predicted is generated; the enterprise to be predicted The historical image is input to the convolutional neural network to obtain the historical power load characteristics of the enterprise to be predicted.

在本实施例的一些可选的实现方式中,卷积神经网络包括输入网络、残差神经网络和输出网络,输入网络涉及的操作包括以下至少一项:卷积、批标准化和激活函数变换,残差神经网络涉及的操作包括以下至少一项:卷积、随机失活、激活函数变换、批标准化和最大池化,输出网络涉及的操作包括以下至少一项:批标准化和平均池化。In some optional implementations of this embodiment, the convolutional neural network includes an input network, a residual neural network, and an output network, and the operations involved in the input network include at least one of the following: convolution, batch normalization, and activation function transformation, The operations involved in the residual neural network include at least one of the following: convolution, random deactivation, activation function transformation, batch normalization and maximum pooling, and the operations involved in the output network include at least one of the following: batch normalization and average pooling.

在本实施例的一些可选的实现方式中,残差神经网络通过直连将输入网络的输出经过最大池化后与残差神经网络的输出合并。In some optional implementation manners of this embodiment, the residual neural network merges the output of the input network with the output of the residual neural network after the maximum pooling through direct connection.

在本实施例的一些可选的实现方式中,长短期记忆网络包括多个长短期记忆单元,每个长短期记忆单元包括输入门、遗忘门和输出门。In some optional implementation manners of this embodiment, the long-short-term memory network includes multiple long-short-term memory units, and each long-short-term memory unit includes an input gate, a forget gate, and an output gate.

在本实施例的一些可选的实现方式中,编码器和解码器通过如下步骤训练得到:获取训练样本集合,其中,每个训练样本包括以下三部分:第一预设长度的样本电力负荷数据和样本环境数据、第二预设长度的样本环境数据和第二预设长度的样本电力负荷数据;对于训练样本集合中的训练样本,将该训练样本中的第一预设长度的样本电力负荷数据和样本环境数据作为编码器的输入,将编码器的输出和该训练样本中的第二预设长度的样本环境数据作为解码器的输入,将该训练样本中的第二预设长度的样本电力负荷数据作为解码器的输出,训练出编码器和解码器。In some optional implementations of this embodiment, the encoder and the decoder are trained through the following steps: obtaining a training sample set, wherein each training sample includes the following three parts: sample power load data of a first preset length And the sample environment data, the sample environment data of the second preset length and the sample power load data of the second preset length; for the training samples in the training sample set, the sample power load of the first preset length in the training samples The data and the sample environment data are used as the input of the encoder, the output of the encoder and the sample environment data of the second preset length in the training sample are used as the input of the decoder, and the sample of the second preset length in the training sample The power load data is used as the output of the decoder to train the encoder and decoder.

在本实施例的一些可选的实现方式中,获取训练样本集合,包括:获取样本企业的历史电力负荷数据和历史环境数据;使用滑动窗对样本企业的历史电力负荷数据和历史环境数据进行分割,生成训练样本集合,其中,滑动窗的长度等于第一预设长度与第二预设长度之和,每个训练样本包括以下三部分:前第一预设长度的历史电力负荷数据和历史环境数据、后第二预设长度的历史环境数据和后第二预设长度的历史电力负荷数据。In some optional implementations of this embodiment, obtaining the training sample set includes: obtaining historical power load data and historical environmental data of the sample enterprise; using a sliding window to segment the historical electric load data and historical environmental data of the sample enterprise , to generate a training sample set, wherein the length of the sliding window is equal to the sum of the first preset length and the second preset length, and each training sample includes the following three parts: the historical power load data of the first preset length and the historical environment data, the historical environmental data of the second preset length, and the historical power load data of the second preset length.

下面参考图6,其示出了适于用来实现本申请实施例的电子设备(例如图1所示的服务器103)的计算机系统600的结构示意图。图6示出的电子设备仅仅是一个示例,不应对本申请实施例的功能和使用范围带来任何限制。Referring now to FIG. 6 , it shows a schematic structural diagram of a computer system 600 suitable for implementing the electronic device (such as the server 103 shown in FIG. 1 ) of the embodiment of the present application. The electronic device shown in FIG. 6 is only an example, and should not limit the functions and scope of use of this embodiment of the present application.

如图6所示,计算机系统600包括中央处理单元(CPU)601,其可以根据存储在只读存储器(ROM)602中的程序或者从存储部分608加载到随机访问存储器(RAM)603中的程序而执行各种适当的动作和处理。在RAM 603中,还存储有系统600操作所需的各种程序和数据。CPU 601、ROM 602以及RAM 603通过总线604彼此相连。输入/输出(I/O)接口605也连接至总线604。As shown in FIG. 6 , a computer system 600 includes a central processing unit (CPU) 601 that can be programmed according to a program stored in a read-only memory (ROM) 602 or a program loaded from a storage section 608 into a random-access memory (RAM) 603 Instead, various appropriate actions and processes are performed. In the RAM 603, various programs and data necessary for the operation of the system 600 are also stored. The CPU 601 , ROM 602 , and RAM 603 are connected to each other through a bus 604 . An input/output (I/O) interface 605 is also connected to the bus 604 .

以下部件连接至I/O接口605:包括键盘、鼠标等的输入部分606;包括诸如阴极射线管(CRT)、液晶显示器(LCD)等以及扬声器等的输出部分607;包括硬盘等的存储部分608;以及包括诸如LAN卡、调制解调器等的网络接口卡的通信部分609。通信部分609经由诸如因特网的网络执行通信处理。驱动器610也根据需要连接至I/O接口605。可拆卸介质611,诸如磁盘、光盘、磁光盘、半导体存储器等等,根据需要安装在驱动器610上,以便于从其上读出的计算机程序根据需要被安装入存储部分608。The following components are connected to the I/O interface 605: an input section 606 including a keyboard, a mouse, etc.; an output section 607 including a cathode ray tube (CRT), a liquid crystal display (LCD), etc., and a speaker; a storage section 608 including a hard disk, etc. and a communication section 609 including a network interface card such as a LAN card, a modem, or the like. The communication section 609 performs communication processing via a network such as the Internet. A drive 610 is also connected to the I/O interface 605 as needed. A removable medium 611 such as a magnetic disk, optical disk, magneto-optical disk, semiconductor memory, etc. is mounted on the drive 610 as necessary so that a computer program read therefrom is installed into the storage section 608 as necessary.

特别地,根据本公开的实施例,上文参考流程图描述的过程可以被实现为计算机软件程序。例如,本公开的实施例包括一种计算机程序产品,其包括承载在计算机可读介质上的计算机程序,该计算机程序包含用于执行流程图所示的方法的程序代码。在这样的实施例中,该计算机程序可以通过通信部分609从网络上被下载和安装,和/或从可拆卸介质611被安装。在该计算机程序被中央处理单元(CPU)601执行时,执行本申请的方法中限定的上述功能。In particular, according to an embodiment of the present disclosure, the processes described above with reference to the flowcharts can be implemented as computer software programs. For example, embodiments of the present disclosure include a computer program product, which includes a computer program carried on a computer-readable medium, where the computer program includes program codes for executing the methods shown in the flowcharts. In such an embodiment, the computer program may be downloaded and installed from a network via communication portion 609 and/or installed from removable media 611 . When the computer program is executed by the central processing unit (CPU) 601, the above-mentioned functions defined in the method of the present application are performed.

需要说明的是,本申请所述的计算机可读介质可以是计算机可读信号介质或者计算机可读存储介质或者是上述两者的任意组合。计算机可读存储介质例如可以是——但不限于——电、磁、光、电磁、红外线、或半导体的系统、装置或器件,或者任意以上的组合。计算机可读存储介质的更具体的例子可以包括但不限于:具有一个或多个导线的电连接、便携式计算机磁盘、硬盘、随机访问存储器(RAM)、只读存储器(ROM)、可擦式可编程只读存储器(EPROM或闪存)、光纤、便携式紧凑磁盘只读存储器(CD-ROM)、光存储器件、磁存储器件、或者上述的任意合适的组合。在本申请中,计算机可读存储介质可以是任何包含或存储程序的有形介质,该程序可以被指令执行系统、装置或者器件使用或者与其结合使用。而在本申请中,计算机可读的信号介质可以包括在基带中或者作为载波一部分传播的数据信号,其中承载了计算机可读的程序代码。这种传播的数据信号可以采用多种形式,包括但不限于电磁信号、光信号或上述的任意合适的组合。计算机可读的信号介质还可以是计算机可读存储介质以外的任何计算机可读介质,该计算机可读介质可以发送、传播或者传输用于由指令执行系统、装置或者器件使用或者与其结合使用的程序。计算机可读介质上包含的程序代码可以用任何适当的介质传输,包括但不限于:无线、电线、光缆、RF等等,或者上述的任意合适的组合。It should be noted that the computer-readable medium described in this application may be a computer-readable signal medium or a computer-readable storage medium or any combination of the two. A computer readable storage medium may be, for example, but not limited to, an electrical, magnetic, optical, electromagnetic, infrared, or semiconductor system, apparatus, or device, or any combination thereof. More specific examples of computer-readable storage media may include, but are not limited to, electrical connections with one or more wires, portable computer diskettes, hard disks, random access memory (RAM), read-only memory (ROM), erasable Programmable read-only memory (EPROM or flash memory), optical fiber, portable compact disk read-only memory (CD-ROM), optical storage device, magnetic storage device, or any suitable combination of the above. In the present application, a computer-readable storage medium may be any tangible medium that contains or stores a program that can be used by or in conjunction with an instruction execution system, apparatus, or device. In this application, however, a computer-readable signal medium may include a data signal propagated in baseband or as part of a carrier wave, in which computer-readable program codes are carried. Such propagated data signals may take many forms, including but not limited to electromagnetic signals, optical signals, or any suitable combination of the foregoing. A computer-readable signal medium may also be any computer-readable medium other than a computer-readable storage medium, which can send, propagate, or transmit a program for use by or in conjunction with an instruction execution system, apparatus, or device. . Program code embodied on a computer readable medium may be transmitted using any appropriate medium, including but not limited to wireless, wireline, optical fiber cable, RF, etc., or any suitable combination of the foregoing.

可以以一种或多种程序设计语言或其组合来编写用于执行本申请的操作的计算机程序代码,所述程序设计语言包括面向目标的程序设计语言—诸如Java、Smalltalk、C++,还包括常规的过程式程序设计语言—诸如”C”语言或类似的程序设计语言。程序代码可以完全地在用户计算机上执行、部分地在用户计算机上执行、作为一个独立的软件包执行、部分在用户计算机上部分在远程计算机上执行、或者完全在远程计算机或电子设备上执行。在涉及远程计算机的情形中,远程计算机可以通过任意种类的网络——包括局域网(LAN)或广域网(WAN)—连接到用户计算机,或者,可以连接到外部计算机(例如利用因特网服务提供商来通过因特网连接)。Computer program code for carrying out the operations of this application can be written in one or more programming languages, or combinations thereof, including object-oriented programming languages—such as Java, Smalltalk, C++, and conventional A procedural programming language—such as "C" or a similar programming language. The program code may execute entirely on the user's computer, partly on the user's computer, as a stand-alone software package, partly on the user's computer and partly on a remote computer or entirely on the remote computer or electronic device. In cases involving a remote computer, the remote computer can be connected to the user computer through any kind of network, including a local area network (LAN) or a wide area network (WAN), or it can be connected to an external computer (such as through an Internet service provider). Internet connection).

附图中的流程图和框图,图示了按照本申请各种实施例的系统、方法和计算机程序产品的可能实现的体系架构、功能和操作。在这点上,流程图或框图中的每个方框可以代表一个模块、程序段、或代码的一部分,该模块、程序段、或代码的一部分包含一个或多个用于实现规定的逻辑功能的可执行指令。也应当注意,在有些作为替换的实现中,方框中所标注的功能也可以以不同于附图中所标注的顺序发生。例如,两个接连地表示的方框实际上可以基本并行地执行,它们有时也可以按相反的顺序执行,这依所涉及的功能而定。也要注意的是,框图和/或流程图中的每个方框、以及框图和/或流程图中的方框的组合,可以用执行规定的功能或操作的专用的基于硬件的系统来实现,或者可以用专用硬件与计算机指令的组合来实现。The flowchart and block diagrams in the Figures illustrate the architecture, functionality, and operation of possible implementations of systems, methods and computer program products according to various embodiments of the present application. In this regard, each block in a flowchart or block diagram may represent a module, program segment, or portion of code that contains one or more logical functions for implementing specified executable instructions. It should also be noted that, in some alternative implementations, the functions noted in the block may occur out of the order noted in the figures. For example, two blocks shown in succession may, in fact, be executed substantially concurrently, or they may sometimes be executed in the reverse order, depending upon the functionality involved. It should also be noted that each block of the block diagrams and/or flowchart illustrations, and combinations of blocks in the block diagrams and/or flowchart illustrations, can be implemented by a dedicated hardware-based system that performs the specified functions or operations , or may be implemented by a combination of dedicated hardware and computer instructions.

描述于本申请实施例中所涉及到的单元可以通过软件的方式实现,也可以通过硬件的方式来实现。所描述的单元也可以设置在处理器中,例如,可以描述为:一种处理器包括获取单元、编码单元和解码单元。其中,这些单元的名称在种情况下并不构成对该单元本身的限定,例如,获取单元还可以被描述为“获取待预测企业的历史电力负荷数据、历史环境数据和未来环境数据的单元”。The units involved in the embodiments described in the present application may be implemented by means of software or by means of hardware. The described units may also be set in a processor, for example, it may be described as: a processor includes an acquisition unit, an encoding unit, and a decoding unit. Among them, the names of these units do not constitute a limitation of the unit itself in this case, for example, the acquisition unit can also be described as "the unit that acquires the historical power load data, historical environmental data and future environmental data of the enterprise to be predicted" .

作为另一方面,本申请还提供了一种计算机可读介质,该计算机可读介质可以是上述实施例中描述的电子设备中所包含的;也可以是单独存在,而未装配入该电子设备中。上述计算机可读介质承载有一个或者多个程序,当上述一个或者多个程序被该电子设备执行时,使得该电子设备:获取待预测企业的历史电力负荷数据、历史环境数据和未来环境数据;利用预先训练的编码器对待预测企业的历史电力负荷数据和历史环境数据进行编码,得到待预测企业的历史电力负荷特征;利用预先训练的解码器对待预测企业的历史电力负荷特征和未来环境数据进行解码,得到待预测企业的未来电力负荷预测数据。As another aspect, the present application also provides a computer-readable medium. The computer-readable medium may be included in the electronic device described in the above-mentioned embodiments; or it may exist independently without being assembled into the electronic device. middle. The above-mentioned computer-readable medium carries one or more programs, and when the above-mentioned one or more programs are executed by the electronic device, the electronic device: acquires historical power load data, historical environmental data, and future environmental data of the enterprise to be predicted; Use the pre-trained encoder to encode the historical power load data and historical environmental data of the enterprise to be predicted to obtain the historical power load characteristics of the enterprise to be predicted; use the pre-trained decoder to encode the historical power load characteristics and future environmental data of the enterprise to be predicted Decode to obtain the future power load forecast data of the enterprise to be forecasted.

以上描述仅为本申请的较佳实施例以及对所运用技术原理的说明。本领域技术人员应当理解,本申请中所涉及的发明范围,并不限于上述技术特征的特定组合而成的技术方案,同时也应涵盖在不脱离上述发明构思的情况下,由上述技术特征或其等同特征进行任意组合而形成的其它技术方案。例如上述特征与本申请中公开的(但不限于)具有类似功能的技术特征进行互相替换而形成的技术方案。The above description is only a preferred embodiment of the present application and an illustration of the applied technical principle. Those skilled in the art should understand that the scope of the invention involved in this application is not limited to the technical solution formed by the specific combination of the above-mentioned technical features, and should also cover the technical solutions formed by the above-mentioned technical features or without departing from the above-mentioned inventive concept. Other technical solutions formed by any combination of equivalent features. For example, a technical solution formed by replacing the above-mentioned features with technical features with similar functions disclosed in this application (but not limited to).

Claims (11)

1. a kind of method for predicting electric load, comprising:
Obtain history Power system load data, history environment data and the FUTURE ENVIRONMENT data of enterprise to be predicted;
It is carried out using history Power system load data and history environment data of the encoder trained in advance to the enterprise to be predicted Coding, obtains the history electric load feature of the enterprise to be predicted;
It is carried out using history electric load feature and FUTURE ENVIRONMENT data of the decoder trained in advance to the enterprise to be predicted Decoding, obtains the future electrical energy load prediction data of the enterprise to be predicted.
2. the decoder is length according to the method described in claim 1, wherein, the encoder is convolutional neural networks Phase memory network.
3. according to the method described in claim 2, wherein, utilization encoder trained in advance is to the enterprise to be predicted History Power system load data and history environment data are encoded, and the history electric load feature of the enterprise to be predicted is obtained, Include:
History Power system load data and history environment data based on the enterprise to be predicted generate the history of the enterprise to be measured 2-D data, wherein the history 2-D data includes time dimension and Spatial Dimension, and the time dimension includes historical time Point, the Spatial Dimension include the Power system load data and environmental data of each historical time point;
Based on the history 2-D data, the history image of the enterprise to be predicted is generated;
The history image of the enterprise to be predicted is input to the convolutional neural networks, obtains the history of the enterprise to be predicted Electric load feature.
4. according to the method described in claim 2, wherein, the convolutional neural networks include input network, residual error neural network With output network, the operation that the input network is related to includes at least one of the following: that convolution, batch standardization and activation primitive become It changes, the operation that the residual error neural network is related to includes at least one of the following: convolution, random inactivation, activation primitive transformation, batch mark Standardization and maximum pond, the operation that the output network is related to include at least one of the following: batch standardization and average pond.
5. according to the method described in claim 4, wherein, the residual error neural network is by direct-connected by the defeated of the input network Merge behind maximum pond with the output of the residual error neural network out.
6. according to the method described in claim 2, wherein, the shot and long term memory network includes multiple shot and long term memory units, Each shot and long term memory unit includes input gate, forgets door and out gate.
7. method described in one of -6 according to claim 1, wherein the encoder and the decoder are instructed as follows It gets:
Obtain training sample set, wherein each training sample includes following three parts: the sample power load of the first preset length The sample electric load number of lotus data and sample environment data, the sample environment data of the second preset length and the second preset length According to;
For the training sample in the training sample set, by the sample power load of the first preset length in the training sample The input of lotus data and sample environment data as the encoder, by the output of the encoder and the training sample Input of the sample environment data of two preset lengths as the decoder, by the sample of the second preset length in the training sample Output of this Power system load data as the decoder, trains the encoder and the decoder.
8. according to the method described in claim 7, wherein, the acquisition training sample set, comprising:
Obtain the history Power system load data and history environment data of sample companies;
It is split using history Power system load data and history environment data of the sliding window to the sample companies, generates training Sample set, wherein the length of the sliding window is equal to the sum of first preset length and second preset length, each Training sample includes following three parts: the history Power system load data and history environment data of preceding first preset length, rear second The history Power system load data of the history environment data of preset length and rear second preset length.
9. a kind of for predicting the device of electric load, comprising:
Acquiring unit is configured to obtain history Power system load data, history environment data and the FUTURE ENVIRONMENT of enterprise to be predicted Data;
Coding unit, be configured to using encoder trained in advance to the history Power system load data of the enterprise to be predicted and History environment data are encoded, and the history electric load feature of the enterprise to be predicted is obtained;
Decoding unit, be configured to using decoder trained in advance to the history electric load feature of the enterprise to be predicted and FUTURE ENVIRONMENT data are decoded, and obtain the future electrical energy load prediction data of the enterprise to be predicted.
10. a kind of electronic equipment, comprising:
One or more processors;
Storage device is stored thereon with one or more programs,
When one or more of programs are executed by one or more of processors, so that one or more of processors are real Now such as method described in any one of claims 1-8.
11. a kind of computer-readable medium, is stored thereon with computer program, wherein the computer program is held by processor Such as method described in any one of claims 1-8 is realized when row.
CN201910539280.6A 2019-06-20 2019-06-20 Method and apparatus for forecasting electrical load Pending CN110266002A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201910539280.6A CN110266002A (en) 2019-06-20 2019-06-20 Method and apparatus for forecasting electrical load

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201910539280.6A CN110266002A (en) 2019-06-20 2019-06-20 Method and apparatus for forecasting electrical load

Publications (1)

Publication Number Publication Date
CN110266002A true CN110266002A (en) 2019-09-20

Family

ID=67920022

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201910539280.6A Pending CN110266002A (en) 2019-06-20 2019-06-20 Method and apparatus for forecasting electrical load

Country Status (1)

Country Link
CN (1) CN110266002A (en)

Cited By (9)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN110390441A (en) * 2019-07-30 2019-10-29 北京百度网讯科技有限公司 Energy consumption prediction method and device
CN110969285A (en) * 2019-10-29 2020-04-07 京东方科技集团股份有限公司 Predictive model training method, prediction method, device, equipment and medium
CN111126700A (en) * 2019-12-25 2020-05-08 远景智能国际私人投资有限公司 Energy use prediction method, device, equipment and storage medium
CN111241688A (en) * 2020-01-15 2020-06-05 北京百度网讯科技有限公司 Method and device for monitoring composite production process
CN111507521A (en) * 2020-04-15 2020-08-07 北京智芯微电子科技有限公司 Power load forecasting method and forecasting device in Taiwan area
CN112001519A (en) * 2020-05-20 2020-11-27 国网浙江省电力有限公司 Power load prediction method based on deep neural network
CN113284001A (en) * 2021-04-08 2021-08-20 南方电网数字电网研究院有限公司 Power consumption prediction method and device, computer equipment and storage medium
WO2022021727A1 (en) * 2020-07-29 2022-02-03 国网甘肃省电力公司 Urban complex electricity consumption prediction method and apparatus, electronic device, and storage medium
CN117040029A (en) * 2023-10-08 2023-11-10 南方电网数字电网研究院有限公司 Power distribution network power dispatching method, device, computer equipment and storage medium

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN105631483A (en) * 2016-03-08 2016-06-01 国家电网公司 Method and device for predicting short-term power load
CN106651020A (en) * 2016-12-16 2017-05-10 燕山大学 Short-term power load prediction method based on big data reduction
CN107590567A (en) * 2017-09-13 2018-01-16 南京航空航天大学 Recurrent neural network short-term load prediction method based on information entropy clustering and attention mechanism
CN108921341A (en) * 2018-06-26 2018-11-30 国网山东省电力公司电力科学研究院 A short-term heat load forecasting method for thermal power plants based on gated self-encoding

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN105631483A (en) * 2016-03-08 2016-06-01 国家电网公司 Method and device for predicting short-term power load
CN106651020A (en) * 2016-12-16 2017-05-10 燕山大学 Short-term power load prediction method based on big data reduction
CN107590567A (en) * 2017-09-13 2018-01-16 南京航空航天大学 Recurrent neural network short-term load prediction method based on information entropy clustering and attention mechanism
CN108921341A (en) * 2018-06-26 2018-11-30 国网山东省电力公司电力科学研究院 A short-term heat load forecasting method for thermal power plants based on gated self-encoding

Cited By (14)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN110390441A (en) * 2019-07-30 2019-10-29 北京百度网讯科技有限公司 Energy consumption prediction method and device
CN110969285B (en) * 2019-10-29 2023-04-07 京东方科技集团股份有限公司 Prediction model training method, prediction device, prediction equipment and medium
CN110969285A (en) * 2019-10-29 2020-04-07 京东方科技集团股份有限公司 Predictive model training method, prediction method, device, equipment and medium
CN111126700A (en) * 2019-12-25 2020-05-08 远景智能国际私人投资有限公司 Energy use prediction method, device, equipment and storage medium
CN111126700B (en) * 2019-12-25 2023-09-15 远景智能国际私人投资有限公司 Energy consumption prediction method, device, equipment and storage medium
CN111241688B (en) * 2020-01-15 2023-08-25 北京百度网讯科技有限公司 Method and device for monitoring composite production process
CN111241688A (en) * 2020-01-15 2020-06-05 北京百度网讯科技有限公司 Method and device for monitoring composite production process
CN111507521A (en) * 2020-04-15 2020-08-07 北京智芯微电子科技有限公司 Power load forecasting method and forecasting device in Taiwan area
CN111507521B (en) * 2020-04-15 2023-12-01 北京智芯微电子科技有限公司 Electric power load forecasting method and forecasting device in Taiwan area
CN112001519A (en) * 2020-05-20 2020-11-27 国网浙江省电力有限公司 Power load prediction method based on deep neural network
WO2022021727A1 (en) * 2020-07-29 2022-02-03 国网甘肃省电力公司 Urban complex electricity consumption prediction method and apparatus, electronic device, and storage medium
CN113284001A (en) * 2021-04-08 2021-08-20 南方电网数字电网研究院有限公司 Power consumption prediction method and device, computer equipment and storage medium
CN117040029A (en) * 2023-10-08 2023-11-10 南方电网数字电网研究院有限公司 Power distribution network power dispatching method, device, computer equipment and storage medium
CN117040029B (en) * 2023-10-08 2024-03-26 南方电网数字电网研究院有限公司 Distribution network power dispatching method, device, computer equipment and storage medium

Similar Documents

Publication Publication Date Title
CN110266002A (en) Method and apparatus for forecasting electrical load
EP3834137B1 (en) Committed information rate variational autoencoders
CN110929869B (en) Sequence data processing method, device, equipment and storage medium
CN112418292B (en) Image quality evaluation method, device, computer equipment and storage medium
CN108520220B (en) Model generation method and device
CN112541124B (en) Methods, devices, equipment, media and program products for generating multi-task models
CN110149238B (en) Method and device for predicting flow
CN110390408B (en) Transaction object prediction method and device
CN108985446A (en) Method and device for warning
CN108880931A (en) Method and apparatus for output information
CN107577737A (en) Method and device for pushing information
CN115601485B (en) Data processing method of task processing model and virtual character animation generation method
CN112348660A (en) Method and device for generating risk warning information and electronic equipment
CN111340221A (en) Method and device for sampling neural network structure
CN115700548A (en) Method, apparatus and computer program product for user behavior prediction
CN113743969B (en) Method, apparatus, device and storage medium for sales data prediction
CN115601759A (en) End-to-end text recognition method, device, equipment and storage medium
CN115759748A (en) Risk detection model generation method and device and risk individual identification method and device
CN113760497B (en) Scheduling task configuration method and device
CN112149426B (en) Reading task processing method and related equipment
CN118658032A (en) Video generation model training method, device, electronic device and storage medium
CN111784377B (en) Method and device for generating information
US20240062043A1 (en) Zero-shot domain generalization with prior knowledge
CN114237962B (en) Alarm root cause judging method, model training method, device, equipment and medium
CN117391243A (en) Sequence prediction method, model processing method, device and computer equipment

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
RJ01 Rejection of invention patent application after publication

Application publication date: 20190920

RJ01 Rejection of invention patent application after publication
点击 这是indexloc提供的php浏览器服务,不要输入任何密码和下载