Load prediction method and apparatus, electronic device, and storage medium

By performing modal decomposition of historical load sequences and using pre-built neural network models, combined with the attention mechanism, the low accuracy problem caused by the influence of multi-dimensional factors in traditional load forecasting methods is solved, and the load data of the load forecast period is realized. Accurate predictions.

WO2024198147A1PCT designated stage expired Publication Date: 2024-10-03GUANGZHOU POWER SUPPLY BUREAU GUANGDONG POWER GRID CO LTD

Patent Information

Application Number
PCT/CN2023/105828
Authority / Receiving Office
WO · WO
Patent Type
Applications
Current Assignee / Owner
Priority Date
2023-03-24
Filing Date
2023-07-05
Publication Date
2024-10-03

AI Technical Summary

Technical Problem

Traditional load forecasting methods need to consider multi-dimensional load influencing factors, resulting in low accuracy of forecast results.

Method used

By obtaining the historical load sequence, determining the corresponding modal components to be determined, using the pre-built load prediction model, combined with the bidirectional gated recurrent neural network layer and the attention mechanism, to perform load prediction, and then obtain a more accurate load prediction. result.

Benefits of technology

Without the need to consider other load influencing factors, accurate prediction of load data during the load prediction period is achieved through historical load data and meteorological data, improving the accuracy of load prediction.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN2023105828_03102024_PF_FP_ABST
    Figure CN2023105828_03102024_PF_FP_ABST
Patent Text Reader

Abstract

Disclosed in the present application are a load prediction method and apparatus, an electronic device, and a storage medium. The method comprises: acquiring a historical load sequence, and determining at least one mode component to be determined, said mode component corresponding to the historical load sequence; calling a load prediction model corresponding to each said mode component, so as to determine, on the basis of each load prediction model, a predicted sequence to be determined, said predicted sequence corresponding to said mode component; and on the basis of at least one said predicted sequence, determining a target load predicted sequence corresponding to a load prediction time period.
Need to check novelty before this filing date? Find Prior Art

Description

Load forecasting method, device, electronic device and storage medium

[0001] This application claims priority to the Chinese patent application filed with the China Patent Office on March 24, 2023, with application number 202310305393.6, the entire contents of which are incorporated by reference into this application. Technical Field

[0002] The present application relates to the technical field of power load forecasting, and in particular to a load forecasting method, device, electronic device, and storage medium. Background Art

[0003] Load forecasting plays a key role in the stable operation of the power system. Based on the load forecast results, the power system can be more reasonably assisted in power generation planning, electricity scheduling and market transactions.

[0004] Traditional load forecasting methods include regression analysis, time series analysis, and gray modeling. However, these methods often produce low accuracy when used for load forecasting. Machine learning methods, such as neural networks, support vector machines, and fuzzy theory, can also be used. However, these methods require considering multiple factors influencing loads, making the forecasting process more complex and time-consuming.

[0005] In order to solve the above problems, the load forecasting method needs to be improved.

[0006] Summary of the Invention

[0007] The present application provides a load forecasting method, device, electronic device and storage medium to solve the problem that traditional load forecasting methods need to consider multi-dimensional load influencing factors or the load forecasting results have low accuracy.

[0008] In a first aspect, an embodiment of the present application provides a load forecasting method, comprising:

[0009] Acquire a historical load sequence, and determine at least one to-be-determined modal component corresponding to the historical load sequence; wherein the historical load sequence includes load data corresponding to a plurality of historical moments;

[0010] Retrieving a load forecasting model corresponding to each to-be-determined modal component to determine a to-be-determined forecast sequence of the corresponding to-be-determined modal component based on each load forecasting model; wherein the load forecasting model is a pre-built model;

[0011] Based on at least one to-be-determined prediction sequence, a target load prediction sequence corresponding to a load prediction period is determined; wherein the load prediction period is determined according to a load prediction requirement.

[0012] In a second aspect, an embodiment of the present application further provides a load forecasting device, comprising:

[0013] A modal component determination module is configured to obtain a historical load sequence and determine at least one to-be-determined modal component corresponding to the historical load sequence; wherein the historical load sequence includes load data corresponding to a plurality of historical moments;

[0014] A prediction sequence determination module is used to retrieve a load prediction model corresponding to each modal component to be determined, and determine a prediction sequence to be determined for the corresponding modal component to be determined based on each load prediction model; wherein the load prediction model is a pre-built model;

[0015] The load sequence determination module is used to determine a target load forecast sequence corresponding to a load forecast period based on at least one forecast sequence to be determined; wherein the load forecast period is determined according to load forecast requirements.

[0016] In a third aspect, an embodiment of the present application further provides an electronic device, including:

[0017] at least one processor; and

[0018] a memory communicatively connected to the at least one processor; wherein,

[0019] The memory stores a computer program that can be executed by the at least one processor, and the computer program is executed by the at least one processor so that the at least one processor can execute the load forecasting method described in any embodiment of the present application.

[0020] In a fourth aspect, an embodiment of the present application further provides a computer-readable storage medium, wherein the computer-readable storage medium stores computer instructions, and the computer instructions are used to enable a processor to implement the load forecasting method described in any embodiment of the present application when executed.

[0021] The technical solution of the embodiment of the present application obtains a historical load sequence and determines at least one undetermined modal component corresponding to the historical load sequence. At least one set of Gaussian white noise is added to the historical load sequence to obtain a corresponding sequence to be used. Modal decomposition is performed on each sequence to be used to obtain a modal component to be determined corresponding to each sequence to be used. Furthermore, a load forecasting model corresponding to each modal component to be determined is retrieved to determine a prediction sequence to be determined for the corresponding modal component to be determined based on each load forecasting model. A target mapping table is used to determine the model call parameters corresponding to each modal component to be determined. Based on these parameters, the load forecasting model corresponding to each modal component to be determined is retrieved to perform load forecasting on the corresponding modal component to be determined based on each load forecasting model, thereby obtaining at least one prediction sequence to be determined. Furthermore, based on the at least one prediction sequence to be determined, a target load forecasting sequence corresponding to a load forecast period is determined. The prediction sequences to be used are obtained by superimposing the prediction sequences to be determined. The target load forecasting sequence corresponding to the load forecast period is obtained based on the ratio of the number of prediction sequences to be used to the number of sequences to be used. It solves the problem that traditional load forecasting methods need to consider multi-dimensional load influencing factors or the load forecast results have low accuracy. It achieves the effect of accurately predicting the load forecast data of the load forecast period through historical load data, time data of the load forecast period and meteorological data without considering other load influencing factors. BRIEF DESCRIPTION OF THE DRAWINGS

[0022] FIG1 is a flow chart of a load forecasting method provided according to Embodiment 1 of the present application;

[0023] FIG2 is a schematic diagram of a BiGRU neural network layer provided according to Example 1 of the present application;

[0024] FIG3 is a flow chart of a load forecasting method provided according to the second embodiment of the present application;

[0025] FIG4 is a schematic structural diagram of a load forecasting device provided according to Example 3 of the present application;

[0026] FIG5 is a schematic diagram of the structure of an electronic device for implementing the load forecasting method according to an embodiment of the present application. DETAILED DESCRIPTION

[0027] The technical solutions in the embodiments of the present application will be described below in conjunction with the drawings in the embodiments of the present application. The described embodiments are only part of the embodiments of the present application.

[0028] It should be noted that the terms "first," "second," and the like in the specification and claims of this application and the accompanying drawings are used to distinguish similar objects and are not necessarily used to describe a specific order or precedence. It should be understood that the sequences used in this manner are interchangeable where appropriate, such that the embodiments of the present application described herein can be implemented in sequences other than those illustrated or described herein.

[0029] Before elaborating on this technical solution in detail, a brief introduction to the application scenarios of this technical solution is first given to enable a clearer understanding of this technical solution. With the proposal of the "dual carbon" construction goal and the rapid development of distributed power sources and new loads, the uncertainty and volatility on both the source and load sides of the power system have further increased. Based on this, higher requirements are placed on the accuracy of load forecasting. In this technical solution, in order to more accurately forecast the load of the power system, the historical load data is decomposed to obtain the intrinsic mode components at different frequencies, and then the frequency distribution and time series characteristics of the load series are obtained. Furthermore, based on the pre-trained neural network model, the correlation between time series is accurately obtained, and the attention mechanism is combined to increase the accuracy of the prediction, thereby achieving a more accurate load forecast for the power system.

[0030] Example 1

[0031] Figure 1 is a flowchart of a load forecasting method provided in Example 1 of the present application. This embodiment can be applied to forecasting the load data of the target area within the load forecasting period based on the historical load forecast data of the target area collected by the power system, the time data of the load forecasting period, and the meteorological data of the target area obtained during the load forecasting period, so as to assist the power system staff in planning the power generation plan, power dispatch and power market transactions in the target area based on the forecast results. The method can be executed by a load forecasting device, which can be implemented in the form of hardware and / or software, and the load forecasting device can be configured in a computing device that can execute the load forecasting method.

[0032] As shown in FIG1 , the method includes:

[0033] S110 : Acquire a historical load sequence, and determine at least one to-be-determined modal component corresponding to the historical load sequence.

[0034] When performing load forecasting for a target area requiring load forecasting, it is necessary to obtain a historical load sequence within the target area, wherein the historical load sequence includes load data corresponding to multiple historical moments. The modal component to be determined can be understood as a characteristic component obtained after modal decomposition of the historical load sequence. In the present technical solution, at least one modal component to be determined refers to a modal component at different frequencies corresponding to the modal decomposition of the historical load sequence. For example, complementary ensemble empirical mode decomposition (CEEMD) can be used when decomposing the historical load sequence.

[0035] For example, if a load forecast for the next cycle of a target area is needed, the historical load forecast for the previous cycle is analyzed and processed to obtain the correlation between the historical load data in the historical load sequence within the previous cycle. Based on this correlation, the load forecast for the next cycle is predicted. The cycle referred to here can be customized, for example, it can be set to 1 day, 2 days, or a week.

[0036] Specifically, historical load sequences in the target area are collected and modal decomposition is performed on the historical load sequences. At least one group of Gaussian noise is added to the historical load sequences, and modal decomposition is performed on the historical load sequences processed with each group of Gaussian noise on this basis to obtain the modal component to be determined at at least one frequency.

[0037] S120 , calling a load prediction model corresponding to each modal component to be determined, and determining a prediction sequence to be determined for the corresponding modal component to be determined based on each load prediction model.

[0038] In the present technical solution, the load forecasting model is a pre-built model, and the load forecasting model includes a bidirectional gated recurrent neural network layer (BiGRU) and an attention mechanism layer (attention). It should be noted that in actual applications, since the frequencies corresponding to the components to be determined are different, different load forecasting models need to be adopted when processing each modal component to be determined. The so-called prediction sequence to be determined can be understood as the load forecast data at the corresponding frequency predicted based on the modal component to be determined. Further, taking one of the modal components to be determined as an example, after determining the load forecasting model corresponding to the modal component to be determined, the corresponding modal component to be determined is analyzed based on the load forecasting model to determine the prediction sequence to be determined of the historical load sequence at the frequency corresponding to the modal component to be determined.

[0039] To more clearly explain this technical solution, we'll first briefly introduce the load forecasting model used in this solution. In practical applications, the load forecasting model first extracts features from the underlying information of the undetermined modal component using a bidirectional gated recurrent neural network layer. Then, an attention mechanism layer assigns weights to the underlying information. Finally, the weighted features are analyzed in a softmax function layer to obtain the corresponding predicted sequence for the undetermined modal component.

[0040] In practical applications, the load forecasting model corresponding to each modal component to be determined is retrieved, including: for each modal component to be determined, based on the target mapping table, determining at least one model call parameter corresponding to the current modal component to be determined; based on the at least one model call parameter, retrieving the current load forecasting model corresponding to the current modal component to be determined; obtaining at least one associated data corresponding to the load forecasting period; processing the at least one associated data based on the current load forecasting model to obtain a prediction sequence to be determined corresponding to the current modal component to be determined.

[0041] It is understandable that different modal components to be determined need to be processed using different load prediction models. In order to determine the current load prediction model corresponding to the current modal component to be determined, the current load prediction model corresponding to the current modal component to be determined can be searched in the target mapping table.

[0042] The target mapping table includes at least one modal component and at least one model call parameter corresponding to each modal component. In other words, the target mapping table is used to record the model call parameters corresponding to different modal components, so as to determine the load forecasting model corresponding to the modal component to be determined based on the model call parameters. The model call parameters refer to the frequencies corresponding to each modal component to be determined.

[0043] In the present technical solution, at least one associated data includes time data to be predicted and meteorological data to be predicted, wherein the time data to be predicted refers to the time information for which load forecasting is required. For example, if the current date is March 1 and the load data of the target area on March 2 needs to be predicted, then the time data to be predicted is March 2. It is understandable that the time data to be predicted is usually customized according to actual needs. The meteorological data to be predicted refers to the meteorological data corresponding to the time period for which load forecasting is required. For example, if the temperature on March 2 is predicted to be 10℃-18℃, then the temperature data in the meteorological data to be predicted is 10℃-18℃. The meteorological data to be predicted can be obtained through the meteorological platform.

[0044] Specifically, taking one of the undetermined modal components as the current undetermined modal component as an example, at least one model call parameter corresponding to the current undetermined modal component, such as a frequency parameter, is searched from the target mapping table. Based on the at least one model call parameter, a current load forecasting model corresponding to the current undetermined modal component is determined. Simultaneously, the undetermined time data and the undetermined meteorological data within the load forecast period are obtained. Furthermore, the current undetermined modal component, the undetermined time data, and the undetermined meteorological data are input into the current load forecasting model to obtain a undetermined prediction sequence corresponding to the current undetermined modal component.

[0045] Specifically, before predicting the historical load sequence based on the load forecasting model, it is necessary to pre-build the load forecasting model. It can be understood that the BiGRU network layer consists of two GRU network layers in opposite directions. Its overall structure is divided into input layer, output layer and hidden layer. The hidden layer contains the forward layer and the reverse layer. The special structure of BiGRU also determines that its output is jointly determined by the states of the two directions of GRU. The structure of the BiGRU network layer is shown in Figure 2.

[0046] Among them, the data processing method of the GRU neural network unit is

[0047] Among them, x t is the input variable at time t, h t-1 Output result of the hidden layer of the previous unit, is x t and h t-1 The composite result of h t is the output result of the hidden layer of this unit, W Z , W r ,W,U Z , U r , U is the trainable parameter matrix, l is the identity matrix, represents a composite relationship, and σ represents the sigmoid activation function.

[0048] Among them, the input variables refer to the load, time, weather (temperature, humidity, wind speed) and other data corresponding to the moment, so x t It is a multidimensional sequence, which consists of historical load series, historical time series, historical temperature series, historical humidity series and historical wind speed series.

[0049] By combining the GRU unit outputs of the forward layer and the reverse layer and Performing weighted summation, the output of BiGRU at time t is:

[0050] in, is the output weight of the forward layer, is the output weight of the reverse layer, b t is the offset.

[0051] Furthermore, the attention mechanism layer is used to handle the correlation between the input sequence and the output result. The principle is to assign sufficient weight values ​​to key information through probability distribution, thereby improving the accuracy of the BiGRU network model's prediction. The specific implementation process is as follows:

[0052] First, a fully connected layer is established to output the state of the BiGRU network h t Converted into the corresponding weight e t : e t =w t tanh(W t h t +b t )

[0053] Where, e t Represents the state output vector h t The weight, w t and W t Refers to the weight coefficient matrix, b t is the offset, h t represents the hidden layer state output vector of the BiGRU network at time t, tanh is the hyperbolic tangent function, h(W t h t +b t ) represents the state output vector h t The conversion function.

[0054] Secondly, the attention weight coefficient a is generated through the softmax function t , the corresponding formula is as follows:

[0055] Among them, a t Represents the state output vector h t The attention weight coefficient, e t Represents the state output vector h t The weight, e j Represents the state output vector h at any time j The weight of (j ranges from 1 to n, where n is the number of state output vectors).

[0056] Finally, the feature vector corresponding to the BiGRU output sequence is obtained: v = ∑a t h t

[0057] Among them, v represents the feature vector, a t Represents the state output vector h tThe attention weight coefficient, h t Represents the hidden layer state output vector of the BiGRU network at time t.

[0058] S130. Determine a target load forecast sequence corresponding to a load forecast period based on at least one forecast sequence to be determined.

[0059] Based on the above analysis, it can be seen that by adding at least one set of Gaussian noise to the historical load sequence and performing modal decomposition on the historical load sequence after adding noise, the modal components to be determined at different frequencies can be obtained. Furthermore, by calling the load forecasting model corresponding to each modal component to be determined and performing load forecasting on the corresponding modal component to be determined, at least one prediction sequence to be determined can be obtained. Optionally, on this basis, based on at least one prediction sequence to be determined, a target load forecasting sequence corresponding to the load forecasting period is determined, including: superimposing at least one prediction sequence to be determined to obtain a corresponding prediction sequence to be used; and obtaining a target load forecasting sequence corresponding to the load forecasting period based on the ratio of at least one prediction sequence to be used to the number of sequences of the sequence to be used.

[0060] The target load forecast sequence refers to the load information forecast for the load forecast period based on the historical load sequence. Based on the target load forecast sequence, power system personnel can plan power generation, power dispatch, and power market transactions for the target area during the load forecast period. It is understood that the target load forecast sequence includes at least one load forecast data item.

[0061] In practical applications, to obtain a target load forecast sequence corresponding to a load forecast period, the corresponding load forecast data in at least one to-be-determined forecast sequence are superimposed, and a to-be-used forecast sequence is formed based on the superimposed load forecast data. Furthermore, the average value of each load forecast data in the to-be-used forecast sequence is calculated, and the load sequence formed by the calculated average load forecast data is used as the target load forecast sequence for the load forecast period.

[0062] The technical solution of the embodiment of the present application obtains a historical load sequence and determines at least one undetermined modal component corresponding to the historical load sequence. At least one set of Gaussian white noise is added to the historical load sequence to obtain a corresponding sequence to be used. Modal decomposition is performed on each sequence to be used to obtain a modal component to be determined corresponding to each sequence to be used. Furthermore, a load forecasting model corresponding to each modal component to be determined is retrieved to determine a prediction sequence to be determined for the corresponding modal component to be determined based on each load forecasting model. A target mapping table is used to determine the model call parameters corresponding to each modal component to be determined. Based on these parameters, the load forecasting model corresponding to each modal component to be determined is retrieved to perform load forecasting on the corresponding modal component to be determined based on each load forecasting model, thereby obtaining at least one prediction sequence to be determined. Furthermore, based on the at least one prediction sequence to be determined, a target load forecasting sequence corresponding to a load forecast period is determined. The prediction sequences to be used are obtained by superimposing the prediction sequences to be determined. The target load forecasting sequence corresponding to the load forecast period is obtained based on the ratio of the number of prediction sequences to be used to the number of sequences to be used. It solves the problem that traditional load forecasting methods need to consider multi-dimensional load influencing factors or the load forecast results have low accuracy. It achieves the effect of accurately predicting the load forecast data of the load forecast period through historical load data, time data of the load forecast period and meteorological data without considering other load influencing factors.

[0063] Example 2

[0064] FIG3 is a flow chart of a load forecasting method provided in the second embodiment of the present application. Optionally, the at least one modal component to be determined corresponding to the historical load sequence is refined.

[0065] As shown in FIG3 , the method includes:

[0066] S210: Obtain a historical load sequence, perform normalization processing on the historical load sequence, and obtain a sequence to be processed.

[0067] The historical load sequence includes at least one historical load data, each historical load data is normalized, and the normalized historical load data constitutes a sequence to be processed. In other words, the sequence to be processed includes the normalized data of each historical load data in the historical load sequence.

[0068] In order to facilitate the prediction of the load data of the target area in the load prediction period, when processing the historical load sequence, at least one historical load data in the historical load sequence may be normalized.

[0069] Specifically, when normalizing the historical load data, the following formula can be used:

[0070] Where P represents the historical load data to be normalized, P min Indicates the minimum historical load data in the historical load sequence, P max Indicates the maximum historical load data in the historical load sequence, P i Represents the normalized data after normalizing P.

[0071] S220 , interpolating the missing load data in the sequence to be processed to determine the interpolated sequence to be processed as the target processing sequence.

[0072] Specifically, at least one historical load data in the historical load sequence is normalized, and a target sequence can be obtained based on the normalized data. Furthermore, if there is missing load data in the target sequence, an interpolation algorithm can be used to interpolate the target sequence to obtain a target sequence.

[0073] It should be noted that when performing interpolation processing based on an interpolation algorithm, interpolation processing can be performed on missing historical load sequences before normalization, or it can be performed on missing load data in the sequence to be processed after the sequence to be processed is obtained. Among them, the interpolation algorithm used in this technical solution can be a cubic spline interpolation algorithm, a nearest neighbor interpolation algorithm, a bilinear interpolation algorithm, a bicubic interpolation algorithm, etc.

[0074] S230: Decompose the target processing sequence to obtain at least one modal component to be determined.

[0075] Specifically, this technical solution uses the CEEMD decomposition method to decompose the target processing sequence. This method is based on the traditional empirical mode decomposition (EMD). Specifically, paired Gaussian white noise is added to the target processing sequence, and modal decomposition is performed on the noisy sequence to obtain at least one modal component to be determined.

[0076] In practical applications, the target processing sequence is decomposed to obtain at least one modal component to be determined, including: performing Gaussian white noise processing on the target processing sequence to obtain a corresponding sequence to be used; for each sequence to be used, determining an upper envelope and a lower envelope corresponding to the current sequence to be used; and determining a current modal component to be determined corresponding to the current sequence to be used based on the current sequence to be used, the upper envelope, and the lower envelope.

[0077] The Gaussian white noise includes positive sequence noise or negative sequence noise. The sequence to be used can be understood as the load sequence obtained by adding white noise to the target processing sequence.

[0078] Specifically, paired Gaussian white noise is added to the target processing sequence, that is, positive sequence noise and negative sequence noise are added to the target processing sequence to avoid problems such as modal aliasing and residual auxiliary noise that are prone to occur when the target processing sequence is directly decomposed, so that the modal components to be determined after decomposition can better reflect the distribution characteristics of the target processing sequence on the time scale.

[0079] In practical applications, by adding paired Gaussian white noise ω(t) to the target processing sequence x(t), we can obtain:

[0080] Where x(t) represents the target processing sequence, represents the positive load sequence after adding Gaussian white noise, represents the negative load sequence after adding Gaussian white noise, represents the positive sequence noise in Gaussian white noise, Represents negative sequence noise in Gaussian white noise.

[0081] It is not difficult to see that after adding a pair of Gaussian white noise to the target processing sequence, two load sequences can be obtained.

[0082] Furthermore, taking the addition of one pair of Gaussian white noise as an example, the two obtained load sequences (i.e., sequences to be used) are subjected to EMD decomposition respectively, and the jth modal component to be determined of the i-th sequence is recorded as IMF ij On this basis, taking one of the currently used sequences as an example, the upper envelope and the lower envelope corresponding to the currently used sequence are determined, so as to obtain the currently determined modal component based on the currently used sequence and the corresponding upper envelope and lower envelope.

[0083] Optionally, determining the upper envelope and lower envelope corresponding to the current sequence to be used includes: determining at least one set of extreme value data in the current sequence to be used; and performing interpolation processing on the at least one set of extreme value data to obtain the upper envelope and lower envelope corresponding to the current sequence to be used.

[0084] Among them, extreme value data includes local maximum value data and local minimum value data.

[0085] Specifically, the local maximum and the local minimum in the current sequence to be used are determined, and a cubic spline interpolation function is used to perform interpolation processing in the current sequence to be used to form an upper envelope and a lower envelope corresponding to the current sequence to be used.

[0086] On this basis, based on the current sequence to be used, the upper envelope and the lower envelope, the current modal component to be determined corresponding to the current sequence to be used is determined, including: determining the mean sequence corresponding to the upper envelope and the corresponding lower envelope at the same time; determining the current component sequence to be used corresponding to the current sequence to be used based on the difference between the current sequence to be used and the mean sequence; obtaining the current residual component sequence corresponding to the current sequence to be used based on the difference between the current sequence to be used and the current component sequence; and determining the current modal component to be determined corresponding to the current sequence to be used based on the current component sequence to be used and the current residual component sequence.

[0087] In this technical solution, the so-called mean sequence refers to the sequence consisting of the average values ​​of the upper and lower envelopes corresponding to the current sequence to be used at the same time. The current component sequence to be used can be understood as the sequence component determined based on the difference between the current sequence to be used and the mean sequence. The current residual component sequence can be understood as the mean sequence consisting of the difference between the current sequence to be used and the current component sequence to be used.

[0088] Specifically, the current sequence to be used includes at least one normalized historical load data, and each historical load data corresponds to a historical moment. Therefore, when determining the mean sequence corresponding to the sequence to be used, it is necessary to subtract the normalized data corresponding to the upper envelope and the lower envelope corresponding to the same moment, and construct the mean sequence based on at least one difference result.

[0089] Specifically, the mean sequence corresponding to the sequence to be used can be determined based on the following formula: m(t) = [e max (t)+e min (t)] / 2

[0090] Among them, m(t) represents the mean sequence, e max represents the upper envelope, e min (t) represents the lower envelope.

[0091] It can be understood that when the mean processing is performed based on the upper envelope and the lower envelope, the mean processing is performed on the data at the same moment.

[0092] Furthermore, the component sequence to be used is determined based on the following formula: h1(t)=y(t)-m(t)

[0093] Among them, h1(t) represents the component sequence to be used currently, y(t) represents the sequence to be used currently, and m(t) represents the mean sequence.

[0094] On this basis, we must first determine whether the current component sequence h1(t) to be used satisfies the modal constraint conditions, that is, the IMF constraint conditions. If so, h1(t) will be recorded as the first modal component to be determined; if not, h1(t) will be used as the new current sequence to be used, and the residual component sequence corresponding to the new current sequence to be used will be re-determined until it satisfies the IMF constraint conditions and the corresponding modal component to be determined is obtained.

[0095] Among them, IMF constraints include:

[0096] (1) The difference between the number of extreme points and the number of zero-crossing points of the component sequence to be used is ≤ 1;

[0097] (2) At any time, the average value of the upper envelope corresponding to the local maximum value of the component sequence to be used and the average value of the lower envelope corresponding to the local minimum value is 0.

[0098] Furthermore, after obtaining the modal component to be determined, the current residual component sequence is obtained based on the difference between the current sequence to be used and the current component sequence to be used, which can be determined by the following formula: r(t) = y(t) - IMF1

[0099] Wherein, r(t) represents the current residual component sequence, IMF1 represents the current component sequence to be used, and y(t) represents the current sequence to be used.

[0100] It should be noted that after obtaining the current residual component sequence, the current residual component sequence is used as a new current sequence to be used, and the corresponding current residual component sequence is repeatedly obtained until the current residual component sequence meets the standard deviation condition, and the EMD decomposition is completed.

[0101] Finally, the current sequence to be used can be expressed after EMD decomposition:

[0102] Among them, y(t) represents the current sequence to be used, IMF i (i=1, 2, …, m) are the modal components to be determined corresponding to different frequencies, and r(t) represents the current residual component.

[0103] Similarly, after all the sequences to be used are decomposed by EMD, the corresponding modal components to be determined are obtained, and the mean of at least one modal component to be determined is used as the CEEMD decomposition result. Specifically, the CEEMD decomposition results are as follows:

[0104] Among them, the IMF j Represents the modal component to be determined at the jth frequency, IMF ijrepresents the modal component to be determined at the jth frequency of the i-th sequence to be used, and n represents the number of pairs of sequences to be used (in this case, n=1, that is, there is only one pair of sequences to be used).

[0105] Among them, r represents the residual component sequence, r i represents the residual component of the i-th sequence to be used, and n represents the number of sequences to be used (in this case, n=1, that is, there is only one sequence to be used).

[0106] S240: Retrieve the load prediction model corresponding to each modal component to be determined, and determine the prediction sequence to be determined of the corresponding modal component to be determined based on each load prediction model.

[0107] S250. Determine a target load forecast sequence corresponding to a load forecast period based on at least one forecast sequence to be determined.

[0108] The technical solution of the embodiment of the present application obtains a historical load sequence and determines at least one undetermined modal component corresponding to the historical load sequence. At least one set of Gaussian white noise is added to the historical load sequence to obtain a corresponding sequence to be used. Modal decomposition is performed on each sequence to be used to obtain a modal component to be determined corresponding to each sequence to be used. Furthermore, a load forecasting model corresponding to each modal component to be determined is retrieved to determine a prediction sequence to be determined for the corresponding modal component to be determined based on each load forecasting model. A target mapping table is used to determine the model call parameters corresponding to each modal component to be determined. Based on these parameters, the load forecasting model corresponding to each modal component to be determined is retrieved to perform load forecasting on the corresponding modal component to be determined based on each load forecasting model, thereby obtaining at least one prediction sequence to be determined. Furthermore, based on the at least one prediction sequence to be determined, a target load forecasting sequence corresponding to a load forecast period is determined. The prediction sequences to be used are obtained by superimposing the prediction sequences to be determined. The target load forecasting sequence corresponding to the load forecast period is obtained based on the ratio of the number of prediction sequences to be used to the number of sequences to be used. It solves the problem that traditional load forecasting methods need to consider multi-dimensional load influencing factors or the load forecast results have low accuracy. It achieves the effect of accurately predicting the load forecast data of the load forecast period through historical load data, time data of the load forecast period and meteorological data without considering other load influencing factors.

[0109] Example 3

[0110] FIG4 is a schematic diagram of the structure of a load prediction device provided in Example 3 of the present application. As shown in FIG4 , the device includes: a modal component determination module 310 , a prediction sequence determination module 320 , and a load sequence determination module 330 .

[0111] The modal component determination module 310 is configured to obtain a historical load sequence and determine at least one to-be-determined modal component corresponding to the historical load sequence; wherein the historical load sequence includes load data corresponding to multiple historical moments;

[0112] The prediction sequence determination module 320 is configured to retrieve a load prediction model corresponding to each modal component to be determined, and determine a prediction sequence to be determined for the corresponding modal component to be determined based on each load prediction model; wherein the load prediction model is a pre-built model;

[0113] The load sequence determination module 330 is configured to determine a target load forecast sequence corresponding to a load forecast period based on at least one forecast sequence to be determined; wherein the load forecast period is determined according to load forecast requirements.

[0114] The technical solution of the embodiment of the present application obtains a historical load sequence and determines at least one undetermined modal component corresponding to the historical load sequence. At least one set of Gaussian white noise is added to the historical load sequence to obtain a corresponding sequence to be used. Modal decomposition is performed on each sequence to be used to obtain a modal component to be determined corresponding to each sequence to be used. Furthermore, a load forecasting model corresponding to each modal component to be determined is retrieved to determine a prediction sequence to be determined for the corresponding modal component to be determined based on each load forecasting model. A target mapping table is used to determine the model call parameters corresponding to each modal component to be determined. Based on these parameters, the load forecasting model corresponding to each modal component to be determined is retrieved to perform load forecasting on the corresponding modal component to be determined based on each load forecasting model, thereby obtaining at least one prediction sequence to be determined. Furthermore, based on the at least one prediction sequence to be determined, a target load forecasting sequence corresponding to a load forecast period is determined. The prediction sequences to be used are obtained by superimposing the prediction sequences to be determined. The target load forecasting sequence corresponding to the load forecast period is obtained based on the ratio of the number of prediction sequences to be used to the number of sequences to be used. It solves the problem that traditional load forecasting methods need to consider multi-dimensional load influencing factors or the load forecast results have low accuracy. It achieves the effect of accurately predicting the load forecast data of the load forecast period through historical load data, time data of the load forecast period and meteorological data without considering other load influencing factors.

[0115] Optionally, the modal component determination module includes: a to-be-processed sequence determination submodule, configured to normalize the historical load sequence to obtain a to-be-processed sequence;

[0116] A target processing sequence determination submodule is used to perform interpolation processing on the missing load data in the sequence to be processed, so as to determine the interpolated sequence to be processed as the target processing sequence;

[0117] The modal component determination submodule is used to decompose the target processing sequence to obtain at least one modal component to be determined.

[0118] Optionally, the modal component determination submodule includes: a to-be-used sequence determination unit, configured to perform Gaussian white noise processing on the target processing sequence to obtain a corresponding to-be-used sequence; wherein the Gaussian white noise includes positive sequence noise or negative sequence noise;

[0119] An envelope determination unit, configured to determine, for each sequence to be used, an upper envelope and a lower envelope corresponding to the current sequence to be used;

[0120] The modal component determining unit is configured to determine a modal component to be determined corresponding to the current sequence to be used based on the current sequence to be used, the upper envelope, and the lower envelope.

[0121] Optionally, the envelope determination unit includes: an extreme value data determination subunit, configured to determine at least one set of extreme value data in the sequence currently to be used; wherein the extreme value data includes local maximum value data and local minimum value data;

[0122] The envelope determination subunit is used to perform interpolation processing on at least one set of extreme value data to obtain an upper envelope and a lower envelope corresponding to the sequence to be currently used.

[0123] Optionally, the modal component determination unit includes: a mean sequence determination subunit, configured to determine the mean sequence corresponding to the upper envelope and the corresponding lower envelope at the same moment;

[0124] a component-to-be-used determining subunit, configured to determine a current component sequence to be used corresponding to the current sequence to be used based on a difference between the current sequence to be used and the mean sequence;

[0125] a residual component determination subunit, configured to obtain a current residual component sequence corresponding to the current to-be-used sequence based on a difference between the current to-be-used sequence and the current to-be-used component sequence;

[0126] The modal component determination subunit is configured to determine, based on the current to-be-used component sequence and the current residual component sequence, a current to-be-determined modal component corresponding to the current to-be-used sequence.

[0127] Optionally, the prediction sequence determination module includes: a parameter determination submodule, configured to determine, for each modal component to be determined, at least one model call parameter corresponding to the current modal component to be determined based on a target mapping table; wherein the target mapping table includes at least one modal component and at least one model call parameter to be matched corresponding to each modal component;

[0128] A model determination submodule, configured to retrieve a current load forecasting model corresponding to a modal component to be determined based on at least one model calling parameter;

[0129] A data acquisition submodule is configured to acquire at least one associated data corresponding to a load forecast period; wherein the at least one associated data includes time data to be predicted and meteorological data to be predicted;

[0130] The sequence prediction submodule is used to process at least one associated data based on the current load prediction model to obtain a to-be-determined prediction sequence corresponding to the current to-be-determined modal component.

[0131] Optionally, the load sequence determination module includes: a prediction sequence determination submodule, configured to perform superposition processing on at least one prediction sequence to be determined to obtain a corresponding prediction sequence to be used;

[0132] The load sequence determination submodule is configured to obtain a target load forecast sequence corresponding to a load forecast period based on a ratio of at least one forecast sequence to be used to the number of sequences to be used.

[0133] The load forecasting device provided in the embodiments of the present application can execute the load forecasting method provided in any embodiment of the present application, and has the corresponding functional modules and beneficial effects of the execution method.

[0134] Example 4

[0135] FIG5 shows a block diagram of an electronic device 10 of an embodiment of the present application. The electronic device is intended to represent various forms of digital computers, such as laptop computers, desktop computers, workstations, personal digital assistants, servers, blade servers, mainframe computers, and other suitable computers. The electronic device may also represent various forms of mobile devices, such as personal digital processing, cellular phones, smart phones, wearable devices (such as helmets, glasses, watches, etc.) and other similar computing devices. The components shown herein, their connections and relationships, and their functions are merely examples and are not intended to limit the implementation of the present application described and / or required herein.

[0136] As shown in FIG5 , electronic device 10 includes at least one processor 11 and a memory, such as a read-only memory (ROM) 12 and a random access memory (RAM) 13, communicatively connected to at least one processor 11. The memory stores a computer program executable by the at least one processor, and processor 11 can perform various appropriate actions and processes based on the computer program stored in the read-only memory (ROM) 12 or loaded from storage unit 18 into the random access memory (RAM) 13. Various programs and sequences required for the operation of electronic device 10 can also be stored in RAM 13. Processor 11, ROM 12, and RAM 13 are interconnected via bus 14. An input / output (I / O) interface 15 is also connected to bus 14.

[0137] Multiple components in the electronic device 10 are connected to the I / O interface 15, including an input unit 16, such as a keyboard, a mouse, etc.; an output unit 17, such as various types of displays, speakers, etc.; a storage unit 18, such as a magnetic disk, an optical disk, etc.; and a communication unit 19, such as a network card, a modem, a wireless communication transceiver, etc. The communication unit 19 allows the electronic device 10 to exchange information / sequences with other devices via a computer network such as the Internet and / or various telecommunication networks.

[0138] Processor 11 can be any general-purpose and / or specialized processing component with processing and computing capabilities. Some examples of processor 11 include, but are not limited to, a central processing unit (CPU), a graphics processing unit (GPU), various specialized artificial intelligence (AI) computing chips, various processors that run machine learning model algorithms, a digital signal processor (DSP), and any other suitable processor, controller, microcontroller, etc. Processor 11 executes the various methods and processes described above, such as the load forecasting method.

[0139] In some embodiments, the load forecasting method may be implemented as a computer program tangibly embodied in a computer-readable storage medium, such as storage unit 18. In some embodiments, part or all of the computer program may be loaded and / or installed on electronic device 10 via ROM 12 and / or communication unit 19. When the computer program is loaded into RAM 13 and executed by processor 11, one or more steps of the load forecasting method described above may be performed. Alternatively, in other embodiments, processor 11 may be configured to perform the load forecasting method in any other suitable manner (e.g., via firmware).

[0140] Various embodiments of the systems and techniques described above can be implemented in digital electronic circuit systems, integrated circuit systems, field programmable gate arrays (FPGAs), application specific integrated circuits (ASICs), application specific standard products (ASSPs), systems on a chip (SOCs), complex programmable logic devices (CPLDs), computer hardware, firmware, software, and / or combinations thereof. These various embodiments can include being implemented in one or more computer programs that are executable and / or interpreted on a programmable system that includes at least one programmable processor, which can be a special purpose or general purpose programmable processor that can receive sequences and instructions from a storage system, at least one input device, and at least one output device, and transmit sequences and instructions to the storage system, the at least one input device, and the at least one output device.

[0141] Computer programs for implementing the load forecasting methods of the present application can be written in any combination of one or more programming languages. These computer programs can be provided to a processor of a general-purpose computer, a special-purpose computer, or other programmable sequential processing device, so that when executed by the processor, the functions / operations specified in the flowcharts and / or block diagrams are implemented. The computer programs can be executed entirely on the machine, partially on the machine, as a stand-alone software package, partially on the machine and partially on a remote machine, or entirely on a remote machine or server.

[0142] In the context of the present application, a computer-readable storage medium can be a tangible medium that can contain or store a computer program for use by an instruction execution system, device or equipment or used in combination with an instruction execution system, device or equipment. A computer-readable storage medium can include, but is not limited to, electronic, magnetic, optical, electromagnetic, infrared or semiconductor systems, devices or equipment, or any suitable combination of the foregoing. Alternatively, a computer-readable storage medium can be a machine-readable signal medium. A more specific example of a machine-readable storage medium can include an electrical connection based on one or more lines, a portable computer disk, a hard disk, a random access memory (RAM), a read-only memory (ROM), an erasable programmable read-only memory (EPROM or flash memory), an optical fiber, a portable compact disk read-only memory (CD-ROM), an optical storage device, a magnetic storage device, or any suitable combination of the foregoing.

[0143] To provide interaction with a user, the systems and techniques described herein can be implemented on an electronic device having: a display device (e.g., a CRT (cathode ray tube) or LCD (liquid crystal display) monitor) for displaying information to the user; and a keyboard and pointing device (e.g., a mouse or trackball) through which the user can provide input to the electronic device. Other types of devices can also be used to provide interaction with the user; for example, the feedback provided to the user can be any form of sensory feedback (e.g., visual feedback, auditory feedback, or tactile feedback); and input from the user can be received in any form (including acoustic input, voice input, or tactile input).

[0144] The systems and techniques described herein can be implemented in a computing system that includes backend components (e.g., as a serial server), or a computing system that includes middleware components (e.g., an application server), or a computing system that includes frontend components (e.g., a user computer with a graphical user interface or web browser through which a user can interact with implementations of the systems and techniques described herein), or a computing system that includes any combination of such backend components, middleware components, or frontend components. The components of the system can be interconnected by digital serial communication (e.g., a communication network) in any form or medium. Examples of communication networks include: a local area network (LAN), a wide area network (WAN), a blockchain network, and the Internet.

[0145] A computing system may include clients and servers. The clients and servers are typically remote from each other and typically interact via a communication network. This client-server relationship arises through computer programs running on the respective computers, creating a client-server relationship. The server may be a cloud server, also known as a cloud computing server or cloud host. This server is a hosting product within the cloud computing service ecosystem that addresses the management difficulties and limited scalability of traditional physical hosting and VPS services.

[0146] It should be understood that the various forms of the processes shown above can be used to reorder, add, or delete steps. For example, the steps described in this application can be performed in parallel, sequentially, or in a different order, as long as the desired results of the technical solution of this application can be achieved. This is not limited herein.

Claims

1. A load forecasting method, comprising: Acquire a historical load sequence, and determine at least one to-be-determined modal component corresponding to the historical load sequence; wherein the historical load sequence includes load data corresponding to a plurality of historical moments; Retrieving a load prediction model corresponding to each to-be-determined modal component, so as to determine a to-be-determined prediction sequence of the corresponding to-be-determined modal component based on each load prediction model; wherein the load prediction model is a pre-built model; Based on at least one prediction sequence to be determined, a target load prediction sequence corresponding to a load prediction period is determined; wherein the load prediction period is determined according to a load prediction requirement.

2. The method according to claim 1, wherein: The determining of at least one to-be-determined modal component corresponding to the historical load sequence comprises: Normalizing the historical load sequence to obtain a sequence to be processed; Performing interpolation processing on the missing load data in the sequence to be processed, so as to determine the interpolated sequence to be processed as the target processing sequence; The target processing sequence is decomposed to obtain at least one modal component to be determined.

3. The method according to claim 2, wherein: The step of decomposing the target processing sequence to obtain at least one modal component to be determined includes: Performing Gaussian white noise processing on the target processing sequence to obtain a corresponding sequence to be used; wherein the Gaussian white noise includes positive sequence noise or negative sequence noise; For each sequence to be used, determining an upper envelope and a lower envelope corresponding to the current sequence to be used; Based on the current sequence to be used, the upper envelope and the lower envelope, a current to-be-determined modal component corresponding to the current sequence to be used is determined.

4. The method according to claim 3, wherein: The determining of the upper envelope and the lower envelope corresponding to the sequence to be currently used comprises: Determine at least one set of extreme value data in the current sequence to be used; wherein the extreme value data includes local maximum value data and local minimum value data; Interpolation processing is performed on the at least one set of extreme value data to obtain an upper envelope and a lower envelope corresponding to the current sequence to be used.

5. The method according to claim 3, wherein: The determining, based on the current sequence to be used, the upper envelope and the lower envelope, a current to-be-determined modal component corresponding to the current sequence to be used, comprises: Determine the mean value sequence corresponding to the upper envelope and the corresponding lower envelope at the same time; Determining a current to-be-used component sequence corresponding to the current to-be-used sequence based on a difference between the current to-be-used sequence and the mean sequence; Based on the difference between the current sequence to be used and the current component sequence to be used, obtaining a current residual component sequence corresponding to the current sequence to be used; Based on the current to-be-used component sequence and the current residual component sequence, a current to-be-determined modal component corresponding to the current to-be-used sequence is determined.

6. The method according to claim 1, wherein: The step of retrieving the load prediction model corresponding to each modal component to be determined includes: For each modal component to be determined, based on the target mapping table, determining at least one model calling parameter corresponding to the current modal component to be determined; wherein the target mapping table includes at least one modal component and at least one model calling parameter to be matched corresponding to each modal component; Based on the at least one model calling parameter, calling a current load prediction model corresponding to the current modal component to be determined; Acquire at least one associated data corresponding to the load forecast period; wherein the at least one associated data includes time data to be predicted and meteorological data to be predicted; The at least one associated data is processed based on the current load prediction model to obtain a to-be-determined prediction sequence corresponding to the current to-be-determined modal component.

7. The method according to claim 1, wherein: The step of determining a target load forecast sequence corresponding to a load forecast period based on at least one forecast sequence to be determined comprises: Performing a superposition process on the at least one prediction sequence to be determined to obtain a corresponding prediction sequence to be used; Based on the ratio of at least one prediction sequence to be used to the number of sequences to be used, a target load prediction sequence corresponding to the load prediction period is obtained.

8. A load forecasting device, comprising: A modal component determination module, used to obtain a historical load sequence and determine at least one modal component to be determined corresponding to the historical load sequence; wherein the historical load sequence includes load data corresponding to multiple historical moments; A prediction sequence determination module, used to retrieve the load prediction model corresponding to each modal component to be determined, so as to determine the prediction sequence to be determined of the corresponding modal component to be determined based on each load prediction model; wherein the load prediction model is a pre-built model; The load sequence determination module is used to determine a target load forecast sequence corresponding to a load forecast period based on at least one forecast sequence to be determined; wherein the load forecast period is determined according to load forecast requirements.

9. An electronic device, comprising: at least one processor; as well as a memory communicatively connected to the at least one processor; wherein, The memory stores a computer program executable by the at least one processor, and the computer program is executed by the at least one processor so that the at least one processor can perform the load forecasting method according to any one of claims 1 to 7.

10. A computer-readable storage medium storing computer instructions, wherein the computer instructions are used to enable a processor to implement the load forecasting method according to any one of claims 1 to 7 when executed.

Citation Information

Patent Citations

  • Short-term load forecasting method, device, apparatus, and storage medium

    CN109063902A

  • VMD-BiGRU-based short-term load prediction method

    CN113902206A

  • Short-term power load prediction method and device, equipment and storage medium

    CN114239945A

  • Short-term power load prediction method and device

    CN114330925A

  • Load prediction method based on attention mechanism and CNN-BiGRU

    CN115374998A

Cited By

  • Power load prediction method, device, equipment, medium and program product

    CN119154288A

  • Energy storage scheduling method and system based on time sequence load prediction

    CN119853114A

  • Flow prediction method and system for power optical communication network, and storage medium

    CN120075658A

  • Rolling bearing residual life prediction method based on EDM and Self-Attention-BiGRU

    CN120296349A

  • Noise distribution visual monitoring method and system based on GIS

    CN120611006A