A multi-dimensional decomposition and intelligent fusion power load forecasting method and related equipment
Through multi-dimensional decomposition and intelligent fusion of power load data, periodic, non-periodic and weather load components are extracted and predicted, combined with weighted fusion, to solve the problem of insufficient accuracy of traditional power load forecasting methods and achieve more efficient load forecasting.
Patent Information
- Application Number
- CN202410806962.X
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2024-06-21
- Publication Date
- 2024-08-30
- Estimated Expiration
- 2044-06-21
AI Technical Summary
Traditional power load forecasting methods have insufficient prediction accuracy when processing massive, high-dimensional and nonlinear data, and ignore real-time data and dynamic factors, making the prediction accuracy difficult to meet actual needs.
Using multi-dimensional decomposition and intelligent fusion methods, the historical power load data is decomposed in time series to extract periodic, non-periodic and weather load components, and the trained long short-term memory network and time domain convolution network are used for prediction, combined with weighted fusion , generate power load prediction results.
It effectively reduces the load prediction error, improves the prediction accuracy, and can more accurately reflect the load change trend.
Smart Images

Figure CN118395384B
Abstract
Description
Technical Field
[0001] The present invention relates to the technical field of electric load forecasting, and in particular to an electric load forecasting method and related equipment combining multi-dimensional decomposition and intelligent fusion. Background Art
[0002] As the core link of power system planning and operation, power load forecasting is of vital importance to ensure the safe and stable operation of the power system and improve the utilization efficiency of power resources. However, with the increasing complexity and diversification of modern power systems, traditional load forecasting methods have encountered many challenges in dealing with massive, high-dimensional and nonlinear load data, and their prediction accuracy can no longer meet actual needs. Therefore, there is an urgent need to research and develop more efficient and accurate load forecasting algorithms.
[0003] In recent years, machine learning and artificial intelligence technologies, especially support vector machines (SVM) and neural networks, have been increasingly used in the field of load forecasting, providing a new path to improve forecasting accuracy. Among them, the trained long short-term memory network (LSTM) has become the mainstream technology for load forecasting due to its excellent timing and nonlinear data fitting capabilities. However, the trained long short-term memory network still faces the problems of insufficient forecasting accuracy and poor generalization ability in practical applications. In addition, most existing methods only rely on historical data to predict future loads, ignoring the impact of real-time data and dynamic factors, thus limiting the further improvement of forecasting accuracy.
[0004] For example, the existing research on short-term power load forecasting based on LSTM-XGBoost has proposed an innovative solution to the problems of insufficient prediction accuracy and weak generalization ability faced by traditional LSTM networks in power load forecasting. The solution combines the LSTM network and the distributed gradient boosting library (XGBoost, eXtreme GradientBoosting) algorithm, takes the LSTM network as the base model, and generates multiple LSTM weak models through the training mechanism of XGBoost. These weak models are then integrated into a strong prediction model to improve the load forecasting accuracy. Specifically, XGBoost, as an efficient gradient boosting decision tree algorithm, can effectively process large-scale data sets and has excellent feature selection and model optimization capabilities. By combining the LSTM network and XGBoost, this technical solution not only fully utilizes the advantages of the LSTM network in processing time series and nonlinear data, but also further enhances the generalization ability and prediction accuracy of the model through the integrated learning mechanism of XGBoost.
[0005] In practical applications, the original load data often contains outliers and missing values. If these irregular data points are not properly preprocessed and used directly for model training, they will introduce noise and interfere with the model's learning process, making direct prediction difficult and possibly leading to a significant decrease in prediction accuracy. The existing technology is insufficient in dealing with this problem and does not use special algorithms or strategies to clean and repair these data defects. The original load data has multiple characteristics such as volatility and complexity, which include a variety of factors that affect load changes. The existing technology also does not properly decompose the load data and fails to extract components closely related to specific influencing factors (such as weather, seasonal changes, etc.), but directly predicts the entire data set. This method ignores the structured information inside the data, resulting in low prediction accuracy. The existing technology mainly relies on a single LSTM network for load prediction. Although LSTM performs well in processing time series data, the prediction ability of a single model is limited. Due to the lack of integration and complementarity with other models, the LSTM network is prone to fall into a local optimal solution, which limits the further improvement of prediction accuracy. In addition, the generalization ability of a single model is relatively weak, making it difficult to cope with load prediction tasks in different scenarios. Summary of the invention
[0006] The present invention provides a multi-dimensional decomposition and intelligent fusion power load forecasting method and related equipment, the purpose of which is to improve the load forecasting accuracy.
[0007] In order to achieve the above object, the present invention provides a method for predicting power load by multi-dimensional decomposition and intelligent fusion, comprising:
[0008] Step 1, collecting historical power load data and historical weather data of the target area;
[0009] Step 2, feature screening of historical weather data to obtain first feature data;
[0010] Step 3, performing time series decomposition on the historical power load data to obtain a periodic load component, a non-periodic load component, and a weather load component;
[0011] Step 4, inputting the non-periodic load components into the trained long short-term memory network and the trained time domain convolutional network in sequence for prediction, and obtaining a first non-periodic load component prediction result and a second non-periodic load component prediction result;
[0012] Step 5, weighted fusion of the first non-periodic load component prediction result and the second non-periodic load component prediction result to obtain a total prediction result of the non-periodic load component;
[0013] Step 6, after fusing the weather load component with the first characteristic data, input them into the trained long short-term memory network and the trained time domain convolution network in turn for prediction, to obtain the prediction result of the first weather load component and the prediction result of the second weather load component;
[0014] Step 7, weighted fusion of the first weather load component prediction result and the second weather load component prediction result to obtain a total weather load component prediction result;
[0015] Step 8, superimpose the total prediction results of the non-periodic load component and the total prediction results of the weather load component with the periodic load component to obtain the power load prediction results of the target area at a future time.
[0016] Furthermore, before step 3, it also includes:
[0017] The isolation forest algorithm is used to identify and remove abnormal data from historical power load data to obtain valid historical power load data;
[0018] The effective historical power load data is fitted using the autoregressive difference moving average algorithm, and the missing values are interpolated for the fitted effective historical power load data to obtain the interpolated historical power load data;
[0019] The historical power load data after interpolation processing is normalized to obtain normalized historical power load data.
[0020] Furthermore, the historical power load data is decomposed into time series to obtain periodic load components, non-periodic load components and weather load components, including:
[0021] Use time series prediction algorithm to identify the normalized historical power load data and obtain non-periodic load components and periodic load components;
[0022] The normalized historical power load data is subtracted from the non-periodic load component and the periodic load component to obtain the weather load component.
[0023] Furthermore, the total forecast result of the non-periodic load component The expression is:
[0024] ;
[0025] in, represents the weights assigned to the trained LSTM network, represents the prediction result of the first non-periodic load component, represents the weights assigned to the trained temporal convolutional network, represents the prediction result of the second non-periodic load component, represents the mean absolute error of the LSTM network after training, Represents the mean absolute error of the trained temporal convolutional network.
[0026] Furthermore, the cyclic load component Through Fourier series simulation, the expression is:
[0027]
[0028]
[0029]
[0030]
[0031] in, represents the daily load component, represents the weekly load component, represents the annual load component, , , Both represent the number of harmonics. represents the cosine coefficient of the daily load component, represents the sinusoidal coefficient of the daily load component, represents the basic period of the daily load component, Represents the cosine coefficient of the weekly load component, represents the sinusoidal coefficient of the weekly load component, represents the basic period of the weekly load component, Represents the cosine coefficient of the annual load component, represents the sinusoidal coefficient of the annual load component, Represents the basic period of the annual load component.
[0032] Furthermore, before fusing the weather load component with the first characteristic data, the method further includes:
[0033] The first characteristic data is normalized to obtain normalized first characteristic data, where the first characteristic data includes temperature, humidity and weather type.
[0034] Furthermore, the total forecast result of the weather load component The expression is:
[0035]
[0036] in, represents the weights assigned to the trained LSTM network, represents the forecast result of the first weather load component, represents the weights assigned to the trained temporal convolutional network, represents the forecast result of the second day's meteorological load component, represents the mean absolute error of the LSTM network after training, Represents the mean absolute error of the trained temporal convolutional network.
[0037] Furthermore, the expression of the power load forecast result of the target area at the future time is:
[0038]
[0039] in, It represents the power load forecast result of the target area at the future time. represents the periodic load component, represents the total prediction result of the non-periodic load component, Represents the total forecast result of weather load component.
[0040] The present invention also provides a computer-readable storage medium on which a computer program is stored. When the computer program is executed by a processor, a method for predicting electric load by multi-dimensional decomposition and intelligent fusion is implemented.
[0041] The present invention also provides a terminal device, including a memory, a processor, and a computer program stored in the memory and executable on the processor. When the processor executes the computer program, a method for predicting electric load by multi-dimensional decomposition and intelligent fusion is implemented.
[0042] The above scheme of the present invention has the following beneficial effects:
[0043] The present invention performs time series decomposition on the collected historical power load data of the target area and performs feature screening on the historical weather data to obtain a periodic load component, a non-periodic load component, a weather load component and a first feature data; the non-periodic load component is sequentially input into the trained long short-term memory network and the trained time domain convolutional network for prediction to obtain a first non-periodic load component prediction result and a second non-periodic load component prediction result, and weighted fusion is performed to obtain a total prediction result of the non-periodic load component; the weather load component is fused with the first feature data and sequentially input into the trained long short-term memory network and the trained time domain convolutional network for prediction to obtain a first weather load component prediction result and a second weather load component prediction result, and weighted fusion is performed to obtain a total prediction result of the weather load component; the non-periodic load component is sequentially input into the trained long short-term memory network and the trained time domain convolutional network for prediction to obtain a first weather load component prediction result and a second weather load component prediction result, and weighted fusion is performed to obtain a total prediction result of the weather load component; The total prediction results of the periodic load component and the total prediction results of the weather load component are superimposed on the periodic load component to obtain the power load prediction results of the target area at the future moment; compared with the prior art, the present invention performs a refined time series decomposition of the historical power load data, and screens out the first characteristic data in the historical weather data, and then uses the trained long short-term memory network and the trained time domain convolutional network to predict the weather load component and the non-periodic load component respectively, and the prediction results are weighted and superimposed with the periodic load component, so as to obtain the power load prediction results of the target area at the future moment; by decomposing and feature screening the historical power load data and historical weather data, and separately predicting and then integrating each load component, the load prediction error can be effectively reduced and the prediction accuracy can be improved.
[0044] Other beneficial effects of the present invention will be described in detail in the subsequent specific implementation section. BRIEF DESCRIPTION OF THE DRAWINGS
[0045] Figure 1 A schematic diagram of a flow chart of an embodiment of the present invention;
[0046] Figure 2 A schematic diagram of a load power curve according to an embodiment of the present invention;
[0047] Figure 3 It is a schematic diagram of the load power curve of a single LSTM model;
[0048] Figure 4 This is a schematic diagram of the load power curve of the LSTM-Xgboost strong prediction model;
[0049] Figure 5 Schematic diagram of the power curve of the LSTM-TCN-Boosting model. DETAILED DESCRIPTION
[0050] In order to make the technical problems, technical solutions and advantages to be solved by the present invention clearer, the following will be described in detail with reference to the accompanying drawings and specific embodiments. Obviously, the described embodiments are part of the embodiments of the present invention, rather than 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.
[0051] In the description of the present invention, it should be noted that the terms “first”, “second” and “third” are only used for descriptive purposes and cannot be understood as indicating or implying relative importance.
[0052] In the description of the present invention, it should be noted that, unless otherwise clearly specified and limited, the terms "installation", "connection" and "connection" should be understood in a broad sense, for example, it can be a locking connection, a detachable connection, or an integral connection; it can be a mechanical connection or an electrical connection; it can be a direct connection or an indirect connection through an intermediate medium, or it can be the internal communication of two components. For ordinary technicians in this field, the specific meanings of the above terms in the present invention can be understood according to specific circumstances.
[0053] In addition, the technical features involved in the different embodiments of the present invention described below can be combined with each other as long as they do not conflict with each other.
[0054] In view of the existing problems, the present invention provides a multi-dimensional decomposition and intelligent fusion power load forecasting method and related equipment.
[0055] like Figure 1 As shown, an embodiment of the present invention provides a method for predicting power load by multi-dimensional decomposition and intelligent fusion, comprising:
[0056] Step 1, collecting historical power load data and historical weather data of the target area;
[0057] Step 2, feature screening of historical weather data to obtain first feature data;
[0058] Step 3, performing time series decomposition on the historical power load data to obtain a periodic load component, a non-periodic load component, and a weather load component;
[0059] Step 4, inputting the non-periodic load components into the trained long short-term memory network and the trained time domain convolutional network in sequence for prediction, and obtaining a first non-periodic load component prediction result and a second non-periodic load component prediction result;
[0060] Step 5, weighted fusion of the first non-periodic load component prediction result and the second non-periodic load component prediction result to obtain a total prediction result of the non-periodic load component;
[0061] Step 6, after fusing the weather load component with the first characteristic data, input them into the trained long short-term memory network and the trained time domain convolution network in turn for prediction, to obtain the prediction result of the first weather load component and the prediction result of the second weather load component;
[0062] Step 7, weighted fusion of the first weather load component prediction result and the second weather load component prediction result to obtain a total weather load component prediction result;
[0063] Step 8, superimpose the total prediction results of the non-periodic load component and the total prediction results of the weather load component with the periodic load component to obtain the power load prediction results of the target area at a future time.
[0064] Specifically, step 1 includes:
[0065] Set the sampling interval of historical weather data to 1 hour;
[0066] The sampling interval of historical power load data is set to 15 minutes. The historical power load data includes power consumption, load power, etc.
[0067] The historical load power data and historical weather data of an industrial user in South China from September 17, 2023 to March 1, 2024 are collected. The historical weather data has characteristics such as temperature, humidity, wind speed and weather type.
[0068] Specifically, step 2 includes:
[0069] Since the historical weather data has some features that are closely related to load forecasting, the historical weather data is subjected to feature screening to obtain first feature data, such as temperature, humidity, and weather type.
[0070] Specifically, before step 3, it also includes:
[0071] The isolation forest algorithm is used to identify and remove abnormal data from historical power load data to obtain valid historical power load data;
[0072] The autoregressive difference moving average algorithm is used to fit the effective historical power load data, and the missing values are interpolated to obtain the historical power load data after interpolation.
[0073] The historical power load data after interpolation processing is normalized to obtain normalized historical power load data.
[0074] Since in practical applications, power load data often contains outliers, in an embodiment of the present invention, an isolation forest algorithm is used to identify and eliminate abnormal data in historical power load data, and the abnormal data is regarded as missing data. For the processing of missing data, the traditional method is to use linear interpolation, but the load power does not change linearly over time, so this processing is feasible only when a small amount of data is missing. Considering that load data has time series characteristics, an autoregressive integrated moving average algorithm ARIMA (Auto-regressive Integrated Moving Average Model) is used in an embodiment of the present invention to fit and interpolate the power load data after eliminating the abnormal data, so that valid historical power load data can be obtained. This method can cope with a large amount of missing data, is more suitable than linear interpolation, and can reduce subsequent load prediction errors.
[0075] It should be noted that the isolation forest algorithm and the autoregressive difference moving average algorithm are both conventional technical means for preprocessing data. The embodiments of the present invention do not involve improving the process of processing data. Therefore, the specific processes of data processing by these two algorithms belong to the prior art, and the embodiments of the present invention do not describe their processing processes one by one; however, the above two algorithms are integrated to realize the removal of impurities and interpolation of power load data, which can improve the accuracy of power load data prediction.
[0076] In the embodiment of the present invention, the historical power load data after interpolation processing is normalized to eliminate the dimensional difference between the data, and the expression is:
[0077]
[0078] in, represents the normalized historical power load data, represents the historical power load data after interpolation processing, Indicates the maximum value in the data. Indicates the minimum value in the data.
[0079] Specifically, step 3 includes:
[0080] The prophet time series prediction algorithm is used to identify the normalized historical power load data and obtain the non-periodic load component and the periodic load component.
[0081] The normalized historical power load data is subtracted from the non-periodic load component and the periodic load component to obtain the weather load component.
[0082] In the embodiment of the present invention, the periodic law of load data is closely related to time. There are differences in load at different time periods within a year, different days of a week, and different times of a day. The load data also has strong volatility. At some special times, uncertain factors such as newly added power load equipment, load equipment maintenance, natural disasters, holidays, etc. may cause the load to increase or decrease, and the load trend may suddenly change. Weather factors have an important impact on the change of power load. For example, under the conditions of high humidity on sunny days or low temperature on snowy days, the power load will be high if the equipment needs to be used to adjust the temperature. Therefore, the embodiment of the present invention decomposes the historical power load data into a periodic load component for characterizing the change law of load data, a non-periodic load component for characterizing the overall change trend of load data, and a weather load component for characterizing load fluctuations caused by weather. The expression is:
[0083]
[0084] in, Represents historical power load data, represents the periodic load component, represents the non-periodic load component, Represents the weather load component.
[0085] Specifically, for the prediction of non-periodic load components, time, equipment failure, weather disaster type, and holidays are used as non-periodic change characteristics. The combined data is used as the training of the long short-term memory network LSTM (Long Short-Term Memory) and the time domain convolutional network TCN (Temporal Convolutional Network). The prediction results of the two networks are weighted and combined by Boosting ensemble learning to further optimize the model, thereby obtaining the trained long short-term memory network and the trained time domain convolutional network; the non-periodic load components are respectively input into the trained long short-term memory network and the trained time domain convolutional network for prediction, and the prediction results of the first non-periodic load component and the second non-periodic load component are obtained. The mean absolute error MAE (Mean Absolute Error) is used as an indicator to assign weights to the prediction results of the first non-periodic load component and the second non-periodic load component, and a smaller weight is assigned to the model with a larger MAE, thereby obtaining the total prediction result of the non-periodic load component used to characterize the overall change trend of the load data. The expression is:
[0086]
[0087] in, represents the weights assigned to the trained LSTM network, represents the prediction result of the first non-periodic load component, represents the weights assigned to the trained temporal convolutional network, represents the prediction result of the second non-periodic load component, represents the mean absolute error of the LSTM network after training, Represents the mean absolute error of the trained temporal convolutional network.
[0088] Specifically, in order to better fit the periodicity of load data, the periodic load component is simulated by Fourier series. Decomposed into daily load component, weekly load component and annual load component, the expression is:
[0089]
[0090]
[0091]
[0092]
[0093] in, represents the daily load component, represents the weekly load component, represents the annual load component, , , Both represent the number of harmonics. represents the cosine coefficient of the daily load component, represents the sinusoidal coefficient of the daily load component, Indicates the basic cycle of the daily load component, that is, the length of the load data in 24 hours a day. Represents the cosine coefficient of the weekly load component, represents the sinusoidal coefficient of the weekly load component, represents the basic period of the weekly load component, Represents the cosine coefficient of the annual load component, represents the sinusoidal coefficient of the annual load component, Represents the basic period of the annual load component.
[0094] Furthermore, before fusing the weather load component with the first characteristic data, the method further includes:
[0095] The first characteristic data is normalized to obtain normalized first characteristic data, where the first characteristic data includes temperature, humidity and weather type.
[0096] Specifically, for the prediction of weather load components, time, temperature, humidity, and weather type are used as data features. The combined data is used as the training of the long short-term memory network and the time domain convolutional network. The prediction results of the two networks are weighted and combined by Boosting ensemble learning to further optimize the model, thereby obtaining the trained long short-term memory network and the trained time domain convolutional network.
[0097] The weather load components are respectively input into the trained long short-term memory network and the trained time domain convolutional network for prediction, and the prediction results of the first weather load component and the second weather load component which are closely related to the load data are obtained;
[0098] Using MAE as an indicator to assign weights to the first weather load component prediction results and the second weather load component prediction results, assigning smaller weights to models with larger MAEs, thereby obtaining the total weather load component prediction results that characterize the weather changes in the prediction results. The expression is:
[0099]
[0100] in, represents the weights assigned to the trained LSTM network, represents the forecast result of the first weather load component, represents the weights assigned to the trained temporal convolutional network, represents the forecast result of the second day's meteorological load component, represents the mean absolute error of the LSTM network after training, Represents the mean absolute error of the trained temporal convolutional network.
[0101] Specifically, step 8 includes:
[0102] The total forecast results of the non-periodic load component and the total forecast results of the weather load component are superimposed on the periodic load component to obtain the power load forecast results of the target area at the future time. The superposition expression is:
[0103]
[0104] in, It represents the power load forecast result of the target area at the future time. represents the periodic load component, represents the total prediction result of the non-periodic load component, Represents the total forecast result of weather load component.
[0105] In an embodiment of the present invention, the historical load power data of an industrial user in South China during the time period from 2023-9-17 to 2024-3-1 is taken as the historical power load data of the target area, and the historical weather data of the area is collected. The historical weather data includes temperature, humidity, wind speed, weather type, etc., wherein the weather types include sunny, cloudy, rainy, snowy, etc., and the weather types are labeled and encoded; the historical load power data is time-series decomposed and the historical weather data is feature-screened and input into the trained long short-term memory network and the trained time domain convolutional network for prediction to obtain the power load prediction result of the target area at future times. The power load prediction result can be that the power load of the industrial user is on an upward trend on weekdays, in bad weather, with high temperature and high humidity, or the load change trend of the power load of the industrial user is flat on holidays and when the temperature and humidity are suitable.
[0106] In order to verify the effectiveness of the embodiments of the present invention, a single LSTM model, a strong prediction model integrated with multiple LSTMs, an LSTM-TCN-Boosting model using linear interpolation to fill missing values, and a Prophet-LSTM-TCN-Boosting load forecasting model using the ARIMA algorithm to predict and interpolate missing values in the embodiment of the present invention were compared by writing Python programs on the same load data and historical weather data sets. The load power curves of the above models are shown in Figure 2. Figure 2 , Figure 3 , Figure 4 , Figure 5 As shown in the figure, the comparison experiment uses the mean absolute error MAE and the root mean square error RMSE (Root Mean Square Error) as indicators. The comparison results are shown in Table 1 below:
[0107] Table 1
[0108]
[0109] From the comparison of the indicators of each model in Table 1, it can be seen that the MAE and RMSE of the prediction model proposed in the embodiment of the present invention are the lowest; the method of using the ARIMA model to interpolate missing values is more adaptable to the situation where a large amount of actual load data is missing than using a linear model, ensuring data quality and playing an important role in improving prediction accuracy; the power load data is decomposed, each load component is analyzed separately, and the Boosting ensemble learning strategy is used to assign weights to the LSTM and TCN models based on the MAE of the model, which further improves the prediction accuracy of the overall model. Figure 2 Respectively Figure 3 , Figure 4 , Figure 5By comparison, it can be seen that the model provided by the embodiment of the present invention can accurately predict the future load change trend.
[0110] The embodiment of the present invention performs time series decomposition on the collected historical power load data of the target area and performs feature screening on the historical weather data to obtain a periodic load component, a non-periodic load component, a weather load component and a first feature data; the non-periodic load component is sequentially input into the trained long short-term memory network and the trained time domain convolutional network for prediction to obtain a first non-periodic load component prediction result and a second non-periodic load component prediction result, and weighted fusion is performed to obtain a total prediction result of the non-periodic load component; the weather load component is fused with the first feature data and sequentially input into the trained long short-term memory network and the trained time domain convolutional network for prediction to obtain a first weather load component prediction result and a second weather load component prediction result, and weighted fusion is performed to obtain a total prediction result of the weather load component; the non-periodic load component is sequentially input into the trained long short-term memory network and the trained time domain convolutional network for prediction to obtain a first weather load component prediction result and a second weather load component prediction result, and weighted fusion is performed to obtain a total prediction result of the weather load component; The total prediction results of the periodic load component and the total prediction results of the weather load component are superimposed with the periodic load component to obtain the power load prediction results of the target area at the future moment; compared with the prior art, the embodiment of the present invention performs a refined time series decomposition of the historical power load data, and screens out the first feature data in the historical weather data, and then uses the trained long short-term memory network and the trained time domain convolutional network to predict the weather load component and the non-periodic load component respectively, and the prediction results are weighted and superimposed with the periodic load component, so as to obtain the power load prediction results of the target area at the future moment; by decomposing and feature screening the historical power load data and the historical weather data, and separately predicting and then integrating each load component, the load prediction error can be effectively reduced and the prediction accuracy can be improved.
[0111] The present invention also provides a computer-readable storage medium on which a computer program is stored. When the computer program is executed by a processor, a method for predicting electric load by multi-dimensional decomposition and intelligent fusion is implemented.
[0112] If the integrated module is implemented in the form of a software functional unit and sold or used as an independent product, it can be stored in a computer-readable storage medium. Based on this understanding, the present invention implements all or part of the processes in the above method embodiment, which can be completed by instructing the relevant hardware through a computer program. The computer program can be stored in a computer-readable storage medium. When the computer program is executed by the processor, the steps of each of the above method embodiments can be implemented. Among them, the computer program includes computer program code, and the computer program code can be in source code form, object code form, executable file or some intermediate form. The computer-readable medium may at least include: any entity or device that can carry the computer program code to the construction device / terminal device, recording medium, computer memory, read-only memory (ROM, Read-Only Memory), random access memory (RAM, Random Access Memory), electrical carrier signal, telecommunication signal and software distribution medium. For example, a USB flash drive, a mobile hard disk, a disk or an optical disk.
[0113] The present invention also provides a terminal device, including a memory, a processor, and a computer program stored in the memory and executable on the processor. When the processor executes the computer program, a method for predicting electric load by multi-dimensional decomposition and intelligent fusion is implemented.
[0114] The terminal device may be a computing device such as a desktop computer, a notebook, a PDA, a server, a server cluster, a cloud server, etc. The terminal device may include, but is not limited to, a processor and a memory.
[0115] The processor may be a central processing unit (CPU), or other general-purpose processors, a digital signal processor (DSP), an application-specific integrated circuit (ASIC), a field-programmable gate array (FPGA), or other programmable logic devices, discrete gate or transistor logic devices, discrete hardware components, etc. A general-purpose processor may be a microprocessor or any conventional processor, etc.
[0116] In some embodiments, the memory may be an internal storage unit of the terminal device, such as a hard disk or memory of the terminal device. In other embodiments, the memory may also be an external storage device of the terminal device, such as a plug-in hard disk, a smart memory card (SMC, Smart Media Card), a secure digital (SD, Secure Digital) card, a flash card (Flash Card), etc. equipped on the terminal device. Further, the memory may also include both an internal storage unit of the terminal device and an external storage device. The memory is used to store an operating system, an application program, a boot loader (Boot Loader), data and other programs, such as the program code of the computer program, etc. The memory may also be used to temporarily store data that has been output or is to be output.
[0117] It should be noted that the information interaction, execution process, etc. between the above-mentioned devices / units are based on the same concept as the method embodiment of the embodiment of the present invention. Their specific functions and technical effects can be found in the method embodiment part and will not be repeated here.
[0118] The technicians in the relevant field can clearly understand that for the convenience and simplicity of description, only the division of the above-mentioned functional units and modules is used as an example for illustration. In practical applications, the above-mentioned function allocation can be completed by different functional units and modules as needed, that is, the internal structure of the device can be divided into different functional units or modules to complete all or part of the functions described above. The functional units and modules in the embodiment can be integrated into a processing unit, or each unit can exist physically separately, or two or more units can be integrated into one unit. The above-mentioned integrated unit can be implemented in the form of hardware or in the form of software functional units. In addition, the specific names of the functional units and modules are only for the convenience of distinguishing each other, and are not used to limit the protection scope of the embodiments of the present invention. The specific working process of the units and modules in the above-mentioned system can refer to the corresponding process in the aforementioned method embodiment, which will not be repeated here.
[0119] The above is a preferred embodiment of the present invention. It should be pointed out that for ordinary technicians in this technical field, several improvements and modifications can be made without departing from the principles of the present invention. These improvements and modifications should also be regarded as the scope of protection of the present invention.
Claims
1. A method for predicting power load by multi-dimensional decomposition and intelligent fusion, characterized in that: include: Step 1, collecting historical power load data and historical weather data of the target area; Step 2, performing feature screening on the historical weather data to obtain first feature data; Step 3, performing time series decomposition on the historical power load data to obtain a periodic load component, a non-periodic load component and a weather load component; Step 4, inputting the non-periodic load components into the trained long short-term memory network and the trained time domain convolutional network in sequence for prediction, to obtain a first non-periodic load component prediction result and a second non-periodic load component prediction result; Step 5, weighted fusion of the first non-periodic load component prediction result and the second non-periodic load component prediction result to obtain a total non-periodic load component prediction result; Step 6, after fusing the weather load component with the first characteristic data, sequentially inputting the trained long short-term memory network and the trained time domain convolutional network for prediction, to obtain a first weather load component prediction result and a second weather load component prediction result; Step 7, performing weighted fusion on the first weather load component prediction result and the second weather load component prediction result to obtain a total weather load component prediction result; Step 8, superimposing the total prediction result of the non-periodic load component, the total prediction result of the weather load component and the periodic load component to obtain the power load prediction result of the target area at a future time; The periodic load component Through Fourier series simulation, the expression is: in, represents the daily load component, represents the weekly load component, represents the annual load component, , , Both represent the number of harmonics. represents the cosine coefficient of the daily load component, represents the sinusoidal coefficient of the daily load component, represents the basic period of the daily load component, Represents the cosine coefficient of the weekly load component, Represents the sinusoidal coefficient of the weekly load component, represents the basic period of the weekly load component, Represents the cosine coefficient of the annual load component, represents the sinusoidal coefficient of the annual load component, Represents the basic period of the annual load component.
2. The method for predicting power load by multi-dimensional decomposition and intelligent fusion according to claim 1, characterized in that: Before step 3, the method further includes: Using an isolation forest algorithm to identify and remove abnormal data from the historical power load data to obtain valid historical power load data; Using an autoregressive difference moving average algorithm to fit the effective historical power load data, and interpolating missing values on the fitted effective power load data to obtain the interpolated historical power load data; The historical power load data after the interpolation processing is normalized to obtain normalized historical power load data.
3. The method for power load forecasting by multi-dimensional decomposition and intelligent fusion according to claim 2 is characterized in that: The historical power load data is decomposed in time series to obtain a periodic load component, a non-periodic load component and a weather load component, including: Using a time series prediction algorithm to perform load identification on the normalized historical power load data to obtain a non-periodic load component and a periodic load component; The normalized historical power load data is subtracted from the non-periodic load component and the periodic load component to obtain a weather load component.
4. The method for predicting power load by multi-dimensional decomposition and intelligent fusion according to claim 3 is characterized in that: The total prediction result of the non-periodic load component The expression is: in, represents the weights assigned to the trained LSTM network, represents the prediction result of the first non-periodic load component, represents the weights assigned to the trained temporal convolutional network, represents the prediction result of the second non-periodic load component, represents the mean absolute error of the LSTM network after training, Represents the mean absolute error of the trained temporal convolutional network.
5. The method for power load forecasting by multi-dimensional decomposition and intelligent fusion according to claim 4 is characterized in that: Before fusing the weather load component with the first characteristic data, the method further includes: The first characteristic data is normalized to obtain normalized first characteristic data, where the first characteristic data includes temperature, humidity and weather type.
6. The method for power load forecasting by multi-dimensional decomposition and intelligent fusion according to claim 5, characterized in that: The total forecast result of the weather load component The expression is: ; in, represents the weights assigned to the trained LSTM network, represents the forecast result of the first weather load component, represents the weights assigned to the trained temporal convolutional network, represents the forecast result of the second day's meteorological load component, represents the mean absolute error of the LSTM network after training, Represents the mean absolute error of the trained temporal convolutional network.
7. The method for power load forecasting by multi-dimensional decomposition and intelligent fusion according to claim 6, characterized in that: The expression of the power load forecast result of the target area at the future time is: ; in, It represents the power load forecast result of the target area at the future time. represents the periodic load component, represents the total prediction result of the non-periodic load component, Represents the total forecast result of weather load component.
8. A computer-readable storage medium having a computer program stored thereon, characterized in that: When the computer program is executed by a processor, the method for predicting electric load by multi-dimensional decomposition and intelligent fusion as described in any one of claims 1 to 7 is implemented.
9. A terminal device, comprising a memory, a processor, and a computer program stored in the memory and executable on the processor, characterized in that: When the processor executes the computer program, the method for predicting power load by multi-dimensional decomposition and intelligent fusion as described in any one of claims 1 to 7 is implemented.
Citation Information
Patent Citations
Power load prediction method based on multiple time sequences
CN110264001A
Electricity sales prediction method and system based on load characteristics and model fusion
CN112418545A
