Short-term power load prediction method based on multi-source data

By preprocessing multi-source data and building a short-term power load forecasting model, using CNN and BiLSTM modules for feature extraction and prediction, and optimizing model parameters through transfer learning, the problem of large prediction errors in existing short-term power load forecasting methods is solved. , improving the prediction accuracy and accuracy.

CN118554429APending Publication Date: 2024-08-27ZHOUKOU NORMAL UNIV
View PDF 0 Cites 3 Cited by

Patent Information

Application Number
CN202410608397.6
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2024-05-16
Publication Date
2024-08-27

AI Technical Summary

Technical Problem

Existing short-term power load forecasting methods have the problem of large forecast errors. This is mainly because the forecast model simplifies the load changes of the power system, the data may have errors, and the original data obtained is unreal, which affects the forecast results.

Method used

A short-term power load forecasting method based on multi-source data is adopted. By preprocessing the load data and meteorological data, a short-term power load forecasting source model and a target model are constructed. The CNN feature extraction module and the BiLSTM sequence prediction module are used for feature extraction and prediction. And through transfer learning, model parameters are optimized and the model is fine-tuned to improve prediction accuracy.

Benefits of technology

Effectively correcting noise data improves the accuracy of short-term power load prediction, improves the decline in prediction accuracy caused by differences in data similarity, extracts more feature information, and improves prediction accuracy.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN118554429A
    Figure CN118554429A
Patent Text Reader

Abstract

The invention relates to a short-term power load prediction method based on multi-source data, and the method comprises the steps: collecting the multi-source data in different regions, carrying out the preprocessing of the multi-source data, and enabling the multi-source data to comprise load data and meteorological data; taking the preprocessed multi-source data as a training set to train a short-term power load prediction source model, and constructing the short-term power load prediction source model; collecting target multi-source data in the target area and preprocessing the target multi-source data; and carrying out transfer learning based on the short-term power load prediction source model to construct a short-term power load prediction target model, inputting the preprocessed target multi-source data into the short-term power load prediction target model, and obtaining a short-term power load prediction result in the target area. According to the method, the noise data is effectively corrected, and the appropriate prediction model is constructed, so that the accuracy of short-term power load prediction is improved.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present invention relates to the technical field of power load forecasting, and in particular to a short-term power load forecasting method based on multi-source data. Background Art

[0002] Power load forecasting is to explore the inherent connection between power demand and economic and social development, as well as the law of change, through the analysis and research of historical data, so as to make advance estimates and predictions on future power demand. Power load forecasting can be divided into medium- and long-term load forecasting and short-term load forecasting. Medium- and long-term load forecasting mainly focuses on the trend of future power demand, including uncertainty analysis of power demand, and how to combine time series trend extrapolation and correlation analysis. Short-term load forecasting pays more attention to daily changes in power demand.

[0003] Short-term load forecasting is the basis of power system operation and analysis, and is of great significance for unit combination, economic dispatch, safety verification, etc. Improving the accuracy of short-term load forecasting is an important means to ensure the scientific nature of power system optimization decision-making. Short-term load forecasting is a traditional research problem in the field of power systems. At present, there are two prediction methods: one is to generally use emerging theories, especially artificial intelligence methods, to predict loads; the other is to overcome the curve of the original theory, integrate some methods, and establish a combined prediction model.

[0004] However, the existing short-term load forecasting methods still have the problem of large prediction errors. The main reasons include: most prediction models only include certain main factors, which simplify the power load situation for the complex load changes in the power system and there is a gap with the actual short-term load; the original data obtained may be erroneous and untrue; the choice of prediction method will also affect the results of short-term load forecasting.

[0005] Therefore, in response to the above problems, a short-term power load forecasting method based on multi-source data is needed to improve the accuracy of short-term load forecasting and provide a decision-making basis for the planning and operation of the power system and the market strategy of power sales companies. Summary of the invention

[0006] The purpose of the present invention is to provide a short-term power load forecasting method based on multi-source data, with the aim of effectively correcting noise data and constructing a suitable forecasting model, thereby improving the accuracy of short-term power load forecasting.

[0007] To achieve the above object, the present invention provides the following solutions:

[0008] A short-term power load forecasting method based on multi-source data, comprising:

[0009] Collecting multi-source data in different areas and preprocessing the multi-source data, wherein the multi-source data includes load data and meteorological data;

[0010] Using the preprocessed multi-source data as a training set to train a short-term power load forecasting source model, thereby constructing the short-term power load forecasting source model;

[0011] Collect target multi-source data in the target area and perform preprocessing;

[0012] Transfer learning is performed based on the short-term power load forecasting source model to build a short-term power load forecasting target model, and the pre-processed target multi-source data is input into the short-term power load forecasting target model to obtain the short-term power load forecasting result in the target area.

[0013] Optionally, preprocessing the multi-source data includes:

[0014] Acquire abnormal data in the load data, and divide the abnormal data into missing data and burr data;

[0015] Preprocessing the missing data and burr data respectively by using a wavelet transform modulus maximum denoising method and a wavelet threshold denoising method;

[0016] The meteorological data is preprocessed using a denoising model.

[0017] Optionally, the method of preprocessing the meteorological data using a denoising model is:

[0018] x(n)=f(n)+σ*z(n)

[0019] Where n is sample n, x(n) is real data, f(n) is noisy data, z(n) is noise, and σ is the standard deviation of noise.

[0020] Optionally, collect multi-source data in different areas including:

[0021] Determine a reference series reflecting the system behavior characteristics and a comparison series affecting the system behavior, wherein the reference series is load data and the comparison series is any two meteorological data;

[0022] By using the mean value processing, each type of meteorological data in the comparison series is dimensionless;

[0023] The three correlation indicators, namely support, confidence and lift, are calculated to obtain the meteorological data that has a preset correlation with the load among any two meteorological data.

[0024] Optionally, the short-term power load forecasting source model includes: a CNN feature extraction module and a BiLSTM sequence prediction module, the CNN feature extraction module is used to perform feature extraction on the load data and the meteorological data to obtain extracted features, and the BiLSTM sequence prediction module is used to perform bidirectional mining on the extracted features to obtain a power load forecast output value.

[0025] Optionally, constructing a short-term power load forecasting target model by performing transfer learning based on the short-term power load forecasting source model includes: migrating model parameters of the short-term power load forecasting source model to the short-term power load forecasting target model, freezing parameters of some network layers in the short-term power load forecasting target model, training the short-term power load forecasting target model using historical target multi-source data, and fine-tuning parameters of unfrozen layers in the model.

[0026] Optionally, fine-tuning the model includes:

[0027] When the similarity between the multi-source data and the historical target multi-source data is greater than a threshold, freezing the weight parameters of all layers except the fully connected layer and the regression output layer in the short-term power load forecasting target model, and then training the short-term power load forecasting target model to fine-tune the weight parameters of the fully connected layer and the regression output layer that are not frozen;

[0028] When the similarity between the multi-source data and the historical target domain data is less than a threshold, the CNN layer in the short-term power load forecasting target model is frozen, and then the short-term power load forecasting target model is trained to fine-tune the weight parameters of the unfrozen BiLSTM layer.

[0029] Optionally, the similarity measurement between the multi-source data and the historical target multi-source data is measured using the Euler distance method.

[0030] The beneficial effects of the present invention are as follows: the present invention preprocesses different data in multi-source data through different preprocessing methods, effectively corrects the noise data, and thus improves the accuracy of short-term power load forecasting; the present invention uses the Euler distance method to measure the similarity between different data sets, and divides the fine-tuning model stage strategy of model parameter transfer learning into two cases according to the similarity difference, thereby effectively improving the problem of decreased load forecasting accuracy caused by large similarity differences; the short-term power load forecasting model of the present invention can effectively extract more feature information from the data to improve the accuracy of the short-term power load forecasting method. BRIEF DESCRIPTION OF THE DRAWINGS

[0031] In order to more clearly illustrate the embodiments of the present invention or the technical solutions in the prior art, the drawings required for use in the embodiments will be briefly introduced below. Obviously, the drawings described below are only some embodiments of the present invention. For ordinary technicians in this field, other drawings can be obtained based on these drawings without paying creative labor.

[0032] Figure 1 The present invention is a flowchart of a method for short-term power load forecasting based on multi-source data according to an embodiment of the present invention. DETAILED DESCRIPTION

[0033] The following will be combined with the drawings in the embodiments of the present invention to clearly and completely describe the technical solutions in the embodiments of the present invention. Obviously, the described embodiments are only part of the embodiments of the present invention, not all of the embodiments. Based on the embodiments of the present invention, all other embodiments obtained by ordinary technicians in this field without creative work are within the scope of protection of the present invention.

[0034] In order to make the above-mentioned objects, features and advantages of the present invention more obvious and easy to understand, the present invention is further described in detail below with reference to the accompanying drawings and specific embodiments.

[0035] like Figure 1 As shown, the present invention discloses a short-term power load forecasting method based on multi-source data, comprising:

[0036] Collecting multi-source data in different areas and preprocessing the multi-source data, wherein the multi-source data includes load data and meteorological data;

[0037] Specifically, using wavelet analysis to process a signal is actually equivalent to performing low-pass and high-pass filtering on the signal at the same time. Its low-frequency coefficients mainly reflect signal information, while its high-frequency coefficients mainly reflect the details of noise and signal. Noise is removed based on the different characteristics of the signal and noise at each scale of the wavelet transform. The basic idea is to first perform a multi-scale wavelet transform on the noisy signal, then extract the wavelet coefficients of the signal as much as possible at each scale and remove the wavelet coefficients belonging to the noise, thereby enhancing the signal. Generally, there are three methods for using wavelets for denoising: (1) Wavelet transform modulus maximum denoising. (2) Wavelet threshold denoising. (3) Using wavelet transform to decompose the noisy signal layer by layer. Because the noise signal mainly appears in the high-frequency signal, the high-frequency signal of the last layer or two layers is removed, and the high-frequency signals of the other layers and the low-frequency signal of the last layer are added to reconstruct the signal to obtain the denoised signal. This method is relatively rough in denoising and is prone to removing useful signals.

[0038] Preprocessing the multi-source data includes: obtaining abnormal data in the load data, dividing the abnormal data into missing data and burr data; preprocessing the missing data and burr data respectively using a wavelet transform modulus maximum denoising method and a wavelet threshold denoising method; and preprocessing the meteorological data using a denoising model.

[0039] The steps of the wavelet transform modulus maximum denoising method are as follows: (1) the relationship between the wavelet transform modulus maximum (or zero crossing point) and the signal mutation; (2) the relationship between the Lipschitz exponent and the wavelet transform modulus maximum.

[0040] The algorithm steps of wavelet modulus maximum denoising are as follows: (1) Perform discrete binary wavelet transform on the noisy signal. (2) Find the modulus maximum points corresponding to the wavelet coefficients at each scale. (3) Find the Lipschitz index corresponding to each modulus maximum point.

[0041] Using the preprocessed multi-source data as a training set to train a short-term power load forecasting source model, thereby constructing the short-term power load forecasting source model;

[0042] Collect target multi-source data in the target area and perform preprocessing;

[0043] The method of preprocessing the meteorological data using the denoising model is: x(n)=f(n)+σ*z(n)

[0044] Where n is sample n, x(n) is real data, f(n) is noisy data, z(n) is noise, and σ is the standard deviation of noise.

[0045] Collecting multi-source data in different areas includes: determining the reference series that reflects the system behavior characteristics and the comparison series that affects the system behavior, where the reference series is the load data and the comparison series is any two meteorological data; using averaging processing to make each type of meteorological data in the comparison series dimensionless; calculating three indicators of correlation, namely support, confidence and lift, to obtain the meteorological data that has a preset correlation with the load among any two meteorological data.

[0046] Transfer learning is performed based on the short-term power load forecasting source model to build a short-term power load forecasting target model, and the pre-processed target multi-source data is input into the short-term power load forecasting target model to obtain the short-term power load forecasting result in the target area.

[0047] Specifically, the short-term power load forecasting source model includes: a CNN feature extraction module and a BiLSTM sequence prediction module. The CNN feature extraction module is used to perform feature extraction on the load data and the meteorological data to obtain extracted features. The BiLSTM sequence prediction module is used to perform bidirectional mining on the extracted features to obtain a power load forecast output value.

[0048] The CNN feature extraction module includes input layer, one-dimensional convolution layer, batch normalization layer, Relu activation layer and maximum pooling layer, and the BiLSTM sequence prediction module includes Flatten layer, BiLSTM layer, Relu activation layer, fully connected layer and regression output layer.

[0049] The calculation formula of the convolution layer and pooling layer in the CNN model structure is:

[0050]

[0051] Z=max(C")+B2

[0052] in, Represents the convolution operation, X is the convolution kernel parameter, B1 and B2 are the bias parameters;

[0053] In the CNN feature extraction module, the load data and meteorological data are input into the image input layer of the CNN feature extraction module to obtain image features. After multiple convolution and pooling operations are performed on the image features, the dimensions are compressed through the Flatten layer of the CNN feature extraction module to obtain the extracted features as the input of the BiLSTM sequence prediction module.

[0054] The BiLSTM model consists of two LSTM structures, which process input data in forward and reverse order respectively. Finally, the outputs of the two LSTM structures are concatenated as the output of the BiLSTM model.

[0055] The LSTM structure includes a forget gate, an input gate, and an output gate. The forget gate passes the information from the previous hidden state and the current input information to the sigmoid function at the same time. The output value of the sigmoid function is between 0 and 1. The output value determines which information should be discarded or retained. The closer the output value is to 0, the more it should be discarded, and the closer it is to 1, the more it should be retained.

[0056] The input gate passes the information of the previous hidden state and the current input to the sigmoid function, and determines the importance of the information based on the size of the output value of the sigmoid function. At the same time, the information of the previous hidden state and the current input is passed to the tanh function to create a new candidate value vector. Finally, the output values ​​of the two functions are multiplied to determine the information that needs to be retained in the candidate value vector;

[0057] The output gate passes the information of the previous hidden state and the current input to the sigmoid function, and passes the newly obtained state information to the tanh function. Finally, the output values ​​of the two functions are multiplied to determine the information carried by the hidden state, and the hidden state is used as the output of the current cell. The new cell state and the new hidden state are passed to the next time step.

[0058] In the BiLSTM sequence prediction module, the time series features of meteorological features and power load features are bidirectionally explored to obtain the power load prediction output value. Obtaining the power load prediction output value includes inputting the extracted features into the forward LSTM and reverse LSTM of the BiLSTM sequence prediction module for power load prediction; fusing the power load prediction results of the forward LSTM and reverse LSTM to obtain the power load prediction output value.

[0059] Constructing a short-term power load forecasting target model through transfer learning based on the short-term power load forecasting source model includes: migrating the model parameters of the short-term power load forecasting source model to the short-term power load forecasting target model, freezing the parameters of some network layers in the short-term power load forecasting target model, training the short-term power load forecasting target model using historical target multi-source data, and fine-tuning the parameters of the unfrozen layers in the model.

[0060] The fine-tuning model includes: when the similarity between the multi-source data and the historical target multi-source data is greater than a threshold, freezing the weight parameters of all layers except the fully connected layer and the regression output layer in the short-term power load forecasting target model, and then training the short-term power load forecasting target model to fine-tune the weight parameters of the unfrozen fully connected layer and the regression output layer; when the similarity between the multi-source data and the historical target domain data is less than a threshold, freezing the CNN layer in the short-term power load forecasting target model, and then training the short-term power load forecasting target model to fine-tune the weight parameters of the unfrozen BiLSTM layer.

[0061] The similarity measurement between the multi-source data and the historical target multi-source data is measured using the Euler distance method.

[0062] The embodiments described above are only descriptions of the preferred embodiments of the present invention and are not intended to limit the scope of the present invention. Without departing from the design spirit of the present invention, various modifications and improvements made to the technical solutions of the present invention by ordinary technicians in this field should all fall within the protection scope determined by the claims of the present invention.

Claims

1. A short-term power load forecasting method based on multi-source data, characterized in that: include: Collecting multi-source data in different areas and preprocessing the multi-source data, wherein the multi-source data includes load data and meteorological data; Using the preprocessed multi-source data as a training set to train a short-term power load forecasting source model, thereby constructing the short-term power load forecasting source model; Collect target multi-source data in the target area and perform preprocessing; Transfer learning is performed based on the short-term power load forecasting source model to build a short-term power load forecasting target model, and the pre-processed target multi-source data is input into the short-term power load forecasting target model to obtain the short-term power load forecasting result in the target area.

2. The short-term power load forecasting method based on multi-source data according to claim 1 is characterized in that: Preprocessing the multi-source data includes: Acquire abnormal data in the load data, and divide the abnormal data into missing data and burr data; Preprocessing the missing data and burr data respectively by using a wavelet transform modulus maximum denoising method and a wavelet threshold denoising method; The meteorological data is preprocessed using a denoising model.

3. The short-term power load forecasting method based on multi-source data according to claim 2 is characterized in that: The method for preprocessing the meteorological data using the denoising model is: x(n)=f(n)+σ*z(n) Where n is sample n, x(n) is real data, f(n) is noisy data, z(n) is noise, and σ is the standard deviation of noise.

4. The short-term power load forecasting method based on multi-source data according to claim 1 is characterized in that: Collecting multi-source data in different areas includes: Determine a reference series reflecting the system behavior characteristics and a comparison series affecting the system behavior, wherein the reference series is load data and the comparison series is any two meteorological data; By using the mean value processing, each type of meteorological data in the comparison series is dimensionless; The three correlation indicators, namely support, confidence and lift, are calculated to obtain the meteorological data that has a preset correlation with the load among any two meteorological data.

5. The short-term power load forecasting method based on multi-source data according to claim 1 is characterized in that: The short-term power load forecasting source model includes: a CNN feature extraction module and a BiLSTM sequence prediction module. The CNN feature extraction module is used to perform feature extraction on the load data and the meteorological data to obtain extracted features, and the BiLSTM sequence prediction module is used to perform bidirectional mining on the extracted features to obtain a power load forecasting output value.

6. The short-term power load forecasting method based on multi-source data according to claim 1 is characterized in that: Constructing a short-term power load forecasting target model through transfer learning based on the short-term power load forecasting source model includes: migrating the model parameters of the short-term power load forecasting source model to the short-term power load forecasting target model, freezing the parameters of some network layers in the short-term power load forecasting target model, training the short-term power load forecasting target model using historical target multi-source data, and fine-tuning the parameters of the unfrozen layers in the model.

7. The short-term power load forecasting method based on multi-source data according to claim 6 is characterized in that: Fine-tuning the model involves: When the similarity between the multi-source data and the historical target multi-source data is greater than a threshold, freezing the weight parameters of all layers except the fully connected layer and the regression output layer in the short-term power load forecasting target model, and then training the short-term power load forecasting target model to fine-tune the weight parameters of the fully connected layer and the regression output layer that are not frozen; When the similarity between the multi-source data and the historical target domain data is less than a threshold, the CNN layer in the short-term power load forecasting target model is frozen, and then the short-term power load forecasting target model is trained to fine-tune the weight parameters of the unfrozen BiLSTM layer.

8. The short-term power load forecasting method based on multi-source data according to claim 7 is characterized in that: The similarity measurement between the multi-source data and the historical target multi-source data is measured using the Euler distance method.

Citation Information

Cited By

  • Method, device and equipment for predicting mooring line tension in time-varying marine environment and medium

    CN119494259A

  • Method, device and equipment for predicting mooring force under time-varying marine environment and medium

    CN119494259B

  • Short-term power load dynamic prediction method based on multi-modal Bayesian optimization

    CN121031866A