Regional electricity consumption prediction method, system, computer equipment and storage medium
Predicting regional electricity consumption through a neural network model, combined with historical and neighboring area data, solves the problem of insufficient prediction accuracy caused by manual calculations in the existing technology, and achieves higher prediction accuracy and flexibility.
Patent Information
- Application Number
- CN202311618594.8
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2023-11-30
- Publication Date
- 2024-10-18
- Estimated Expiration
- 2043-11-30
AI Technical Summary
Existing regional electricity consumption forecasting methods rely on manual calculations, which are computationally intensive and error-prone, resulting in insufficient forecast accuracy.
Multiple neural network models are used to predict residential electricity consumption, commercial electricity consumption and industrial electricity consumption. It is trained through electricity consumption-related parameters and historical electricity consumption data, and is estimated by combining historical and neighboring area data. The backpropagation algorithm adjusts model parameters to improve prediction accuracy.
It reduces labor costs and work intensity, reduces prediction errors, improves prediction accuracy, and provides flexible prediction solutions with or without obtaining current electricity-related parameters.
Smart Images

Figure CN117436935B_ABST
Abstract
Description
Technical Field
[0001] The present application relates to the field of electric power technology, and specifically to a method, system, computer equipment and storage medium for predicting regional electricity consumption. Background Art
[0002] The study of power market characteristics is one of the essential supporting technologies in power system research, planning and operation and maintenance, and is also an important direction of long-term research in the field of power systems. Accurately grasping the load characteristics, the changing laws of market demand and future development trends plays a vital role in the safe and stable operation of the power grid.
[0003] Among them, electricity consumption forecasting is an important part of the study of electricity market characteristics. The accuracy of electricity consumption forecasting is related to the smooth progress of various tasks in the power system. Accurate and reliable electricity consumption forecasting has important theoretical and practical significance for grid planning, dispatching and operation, power marketing, demand-side management and other tasks.
[0004] Therefore, it is particularly important to be able to accurately and reliably predict electricity consumption. However, the existing regional electricity consumption prediction method uses manual prediction, which not only requires a large amount of calculation, but is also prone to errors in the calculation process, resulting in insufficient prediction accuracy. Summary of the invention
[0005] In order to overcome the above-mentioned defects of the prior art, the present application provides a method, system, computer device and storage medium for predicting regional electricity consumption.
[0006] The specific technical solutions are as follows:
[0007] Regional electricity consumption forecasting method, including:
[0008] Determine the area to be predicted and the adjacent areas whose sizes differ from the area within a preset range;
[0009] If the current electricity consumption related parameters of the area are obtained, the current electricity consumption related parameters of the area are respectively input into the trained multiple neural network models to obtain the current residential electricity consumption, commercial electricity consumption and industrial electricity consumption of the area respectively;
[0010] If the current electricity consumption related parameters of the area cannot be obtained, the current electricity consumption related parameters of the area are obtained based on the historical electricity consumption related parameters of the area and / or the historical electricity consumption related parameters of the neighboring areas, and the current electricity consumption related parameters of the area are respectively input into a plurality of trained neural network models to obtain the current residential electricity consumption, commercial electricity consumption and industrial electricity consumption of the area respectively; the neural network model is trained by electricity consumption related parameters and historical electricity consumption data of more than two periods closest to the current one, and the historical electricity consumption data is historical electricity consumption data with a periodic form;
[0011] The residential electricity consumption, commercial electricity consumption and industrial electricity consumption are summed up to obtain the electricity consumption of the area.
[0012] In one embodiment, the “obtaining current power consumption related parameters of the region based on historical power consumption related parameters of the region and / or historical power consumption related parameters of neighboring regions” includes:
[0013] Obtaining historical power consumption related parameters of the area or the adjacent area within a certain period of time from the present, determining a change trend of each parameter based on the historical power consumption related parameters, and estimating the current power consumption related parameters of the area according to the change trend and the historical power consumption related parameters of the area or the adjacent area most recently from the present; or
[0014] Obtain historical electricity consumption related parameters of the area and the neighboring areas within a certain period of time from the present, determine the change trend of each parameter based on the historical electricity consumption related parameters, and estimate the current electricity consumption related parameters of the area according to the change trend, the historical electricity consumption related parameters closest to the area and the neighboring areas, and the preset weights of the area and the neighboring areas.
[0015] In one embodiment, the electricity consumption related parameters include any combination of one or more of the following: time, temperature, population, industrial scale, and economic scale.
[0016] In one embodiment, the historical power consumption data includes historical residential power consumption, historical commercial power consumption, and historical industrial power consumption;
[0017] The neural network model includes a first model, a second model and a third model;
[0018] The first model is obtained by: inputting the historical residential electricity consumption and historical electricity consumption related parameters into different types of initial neural network models for training, summarizing the trained neural network models, and selecting the neural network model with the best training effect as the first model;
[0019] The second model is obtained by: inputting the historical commercial electricity consumption and historical electricity consumption related parameters into different types of initial neural network models for training, summarizing the trained neural network models, and selecting the neural network model with the best training effect as the second model;
[0020] The third model is obtained in the following manner: the historical industrial electricity consumption and historical electricity consumption related parameters are respectively input into different types of initial neural network models for training, the trained neural network models are summarized, and the neural network model with the best training effect is selected as the third model.
[0021] In one embodiment, it further includes:
[0022] Get the original historical power consumption data;
[0023] Cleaning the original historical power consumption data to remove power consumption data that meets preset abnormal characteristics, and obtaining historical power consumption data;
[0024] The neural network model is trained by using historical power consumption data and power consumption related parameters after data cleaning.
[0025] In one embodiment, it further includes:
[0026] Obtaining actual electricity consumption data and estimated electricity consumption in the area;
[0027] If the difference between the actual power consumption data and the estimated power consumption is greater than a preset value, adjusting the network parameters of the neural network model based on a back propagation algorithm to update the neural network model;
[0028] The “inputting the current power consumption related parameters of the area into the trained multiple neural network models respectively” includes:
[0029] The current electricity consumption related parameters of the area are respectively input into the latest trained multiple neural network models.
[0030] In one embodiment, the difference in geographical scale, population scale and economic scale between the neighboring area and the area to be predicted is within a preset range.
[0031] In one embodiment, it further includes:
[0032] Regularly obtain multiple preset parameters and historical electricity consumption data in the same area at the same time;
[0033] Generating a plurality of data groups by permutation and combination based on a plurality of preset parameters, wherein different data groups include different preset parameters;
[0034] For each of the data groups, training a neural network model based on preset parameters in the data group and historical electricity consumption data;
[0035] The data group corresponding to the neural network model with the best training effect is determined, and the preset parameters in the determined data group are used as electricity consumption related parameters.
[0036] In one embodiment, if it is determined that there are multiple neural network models with the best training effect, the data group with the least preset parameters corresponding to the neural network model with the best training effect is used as the target data group, and the preset parameters in the target data group are used as electricity-related parameters.
[0037] Regional electricity consumption forecasting system, including:
[0038] A determination module, used to determine the area to be predicted and adjacent areas whose size is different from that of the area within a preset range;
[0039] A first estimation module is used to input the current power consumption related parameters of the area into the trained multiple neural network models respectively when the current power consumption related parameters of the area are obtained, so as to obtain the current residential power consumption, commercial power consumption and industrial power consumption of the area respectively;
[0040] A second estimation module is used for obtaining the current electricity consumption related parameters of the area based on the historical electricity consumption related parameters of the area and / or the historical electricity consumption related parameters of the neighboring areas when the current electricity consumption related parameters of the area cannot be obtained, and inputting the current electricity consumption related parameters of the area into a plurality of trained neural network models respectively to obtain the current residential electricity consumption, commercial electricity consumption and industrial electricity consumption of the area respectively; the neural network model is trained by the electricity consumption related parameters and the historical electricity consumption data of the two or more periods closest to the current one, and the historical electricity consumption data is the historical electricity consumption data with a periodic form;
[0041] The aggregation module is used to aggregate residential electricity consumption, commercial electricity consumption and industrial electricity consumption to obtain the electricity consumption of the area.
[0042] A computer device includes a memory and a processor, wherein the memory stores a computer program, and wherein the processor implements the steps of the regional electricity consumption prediction method when executing the computer program.
[0043] A computer-readable storage medium stores a computer program, which implements the steps of the regional electricity consumption prediction method when executed by a processor.
[0044] This application has at least the following beneficial effects:
[0045] The present application provides a regional electricity consumption prediction method, system, computer equipment and storage medium, wherein the regional electricity consumption prediction method includes: determining a region to be predicted and adjacent regions whose size differs from the regional size within a preset range; if the current electricity consumption related parameters of the region are obtained, the current electricity consumption related parameters of the region are respectively input into a plurality of trained neural network models to obtain the current residential electricity consumption, commercial electricity consumption and industrial electricity consumption of the region; if the current electricity consumption related parameters of the region cannot be obtained, the current electricity consumption related parameters of the region are obtained based on the historical electricity consumption related parameters of the region and / or the historical electricity consumption related parameters of the adjacent regions, and the current electricity consumption related parameters of the region are respectively input into a plurality of trained neural network models to obtain the current residential electricity consumption, commercial electricity consumption and industrial electricity consumption of the region; the neural network model is trained by electricity consumption related parameters and historical electricity consumption data of more than two periods closest to the current one, and the historical electricity consumption data is historical electricity consumption data with a periodic form; and the residential electricity consumption, commercial electricity consumption and industrial electricity consumption are obtained by summarizing the residential electricity consumption, commercial electricity consumption and industrial electricity consumption.
[0046] This application uses machine learning to predict regional electricity consumption, overcoming the shortcomings of traditional prediction methods that rely on manual calculations, reducing labor costs, reducing work intensity, and reducing calculation errors in the prediction process, reducing prediction errors, and improving prediction accuracy.
[0047] In addition, the present application uses multiple neural network models to predict residential electricity consumption, commercial electricity consumption and industrial electricity consumption, so that the final summary of regional electricity consumption is highly accurate.
[0048] In addition, the application of this application is wide-ranging and can be applied both when the current electricity consumption-related parameters of the region are available and when the current electricity consumption-related parameters of the region are not available. Appropriate methods can be selected for estimation based on actual conditions, and the application is highly flexible. BRIEF DESCRIPTION OF THE DRAWINGS
[0049] In order to more clearly illustrate the technical solutions in the embodiments of the present application, the drawings required for use in the description of the embodiments will be briefly introduced below. Obviously, the drawings described below are only some embodiments of the present application. For ordinary technicians in this field, other drawings can be obtained based on these drawings without creative work.
[0050] Figure 1 A first flow chart of the regional electricity consumption prediction method provided in Example 1;
[0051] Figure 2 A second flow chart of the regional electricity consumption prediction method provided in Example 1;
[0052] Figure 3A flow chart of the regional electricity consumption prediction method provided in Example 2;
[0053] Figure 4 This is a module diagram of the regional electricity consumption prediction system provided in Example 3.
[0054] Reference numerals:
[0055] 1-determination module; 2-first estimation module; 3-second estimation module; 4-summary module. DETAILED DESCRIPTION
[0056] The following will be combined with the drawings in the embodiments of the present application to clearly and completely describe the technical solutions in the embodiments of the present application. Obviously, the described embodiments are only part of the embodiments of the present application, not all of the embodiments. Based on the embodiments in the present application, all other embodiments obtained by ordinary technicians in this field without creative work are within the scope of protection of this application.
[0057] Example 1
[0058] like Figure 1 As shown, this embodiment provides a method for predicting regional electricity consumption, including:
[0059] Determine the area to be predicted and the adjacent areas whose size is within a preset range from the area;
[0060] If the current electricity consumption related parameters of the region are obtained, the current electricity consumption related parameters of the region are respectively input into the trained multiple neural network models to obtain the current residential electricity consumption, commercial electricity consumption and industrial electricity consumption of the region respectively;
[0061] If the current electricity consumption related parameters of the region cannot be obtained, the current electricity consumption related parameters of the region are obtained based on the historical electricity consumption related parameters of the region and / or the historical electricity consumption related parameters of the neighboring regions, and the current electricity consumption related parameters of the region are respectively input into the trained multiple neural network models to obtain the current residential electricity consumption, commercial electricity consumption and industrial electricity consumption of the region respectively; the neural network model is trained by the historical electricity consumption data and the electricity consumption related parameters;
[0062] The residential, commercial and industrial electricity consumption are summed up to get the regional electricity consumption;
[0063] The neural network model is trained by using electricity-related parameters and historical power consumption data of more than two cycles closest to the current one, and the historical power consumption data is historical power consumption data with a periodic form.
[0064] Specifically, the period may be one year or two years, but is not limited thereto.
[0065] Specifically, different types of historical electricity consumption data (residential electricity consumption, commercial electricity consumption, and industrial electricity consumption) may correspond to different periods.
[0066] Specifically, the cycle can be determined based on specific changes in actual historical power consumption data.
[0067] Specifically, in one embodiment, the difference in geographical scale, population scale and economic scale between the neighboring area and the area to be predicted is within a preset range.
[0068] Specifically, in one embodiment, the electricity consumption related parameters include any combination of one or more of the following: time, temperature, population size, industrial scale, and economic scale.
[0069] This embodiment uses machine learning to predict regional electricity consumption, which overcomes the disadvantages of traditional prediction methods that rely on manual calculations, reduces labor costs, reduces work intensity, and reduces calculation errors in the prediction process, thereby reducing prediction errors and improving prediction accuracy.
[0070] Secondly, this embodiment uses multiple neural network models to predict residential electricity consumption, commercial electricity consumption and industrial electricity consumption, so that the final summary of regional electricity consumption is highly accurate.
[0071] Furthermore, the present embodiment has a wide range of applications, and is applicable both when the current power consumption related parameters of the region are available and when the current power consumption related parameters of the region are not available. A suitable method can be selected for estimation based on actual conditions, and the flexibility is high.
[0072] In addition, the neural network model used in this embodiment is trained based on electricity consumption related parameters and historical electricity consumption data of more than two periods. This embodiment provides a data reference that is closer to the current data based on the historical electricity consumption data of the two periods closest to the current one and the corresponding electricity consumption related parameters, thereby making the trained neural network model more accurate, thereby improving the accuracy of the prediction.
[0073] like Figure 1 As shown, in one embodiment, the regional electricity consumption prediction method further includes:
[0074] Regularly obtain multiple preset parameters and historical electricity consumption data in the same area at the same time;
[0075] Generating multiple data groups by permutation and combination based on multiple preset parameters, wherein different data groups include different preset parameters;
[0076] For each data group, a neural network model is trained based on preset parameters in the data group and historical electricity consumption data;
[0077] The data group corresponding to the neural network model with the best training effect is determined, and the preset parameters in the determined data group are used as electricity consumption related parameters.
[0078] Specifically, "generating multiple data groups by arranging and combining multiple preset parameters" means randomly selecting m (m≤n) elements from n preset parameters to generate data groups. "Different data groups include different preset parameters" means that the preset parameters in different data groups are not exactly the same. For example, multiple preset parameters include A, B, C, D, E and F, one data group includes A, B and C, another includes A, B, C and D, another includes A, B, C, D and E, and the fourth includes A, B, C, D, E and F.
[0079] This embodiment trains different neural network models for different data groups and selects the neural network model with the best training effect to determine the preset parameters in the data group corresponding to the neural network model. This embodiment makes the preset parameters in the neural network model finally obtained have the highest or higher correlation with electricity consumption, thereby improving the prediction accuracy of the neural network model.
[0080] In one embodiment, if it is determined that there are multiple neural network models with the best training effect, the data group with the least preset parameters corresponding to the neural network model with the best training effect is used as the target data group, and the preset parameters in the target data group are used as the power consumption related parameters. This embodiment selects the data group with the least number of preset parameters as the target data group among the neural network models with the same training effect, which reduces the computational intensity of the neural network model and improves the computational efficiency of the neural network model.
[0081] like Figure 1 As shown, in one embodiment, the historical electricity consumption data includes historical residential electricity consumption, historical commercial electricity consumption, and historical industrial electricity consumption;
[0082] The neural network model includes a first model, a second model and a third model;
[0083] The first model is obtained by: inputting historical residential electricity consumption and historical electricity consumption related parameters into different types of initial neural network models for training, summarizing the trained neural network models, and selecting the neural network model with the best training effect as the first model;
[0084] The second model is obtained by: inputting historical commercial electricity consumption and historical electricity consumption related parameters into different types of initial neural network models for training, summarizing the trained neural network models, and selecting the neural network model with the best training effect as the second model;
[0085] The third model is obtained in the following way: inputting historical industrial electricity consumption and historical electricity consumption related parameters into different types of initial neural network models for training, summarizing the trained neural network models, and selecting the neural network model with the best training effect as the third model.
[0086] Specifically, the neural network model includes a wavelet neural network model (WNN), a BP neural network model (Back-Propagation Network), a long short-term memory neural network model (LSTM), etc., but is not limited thereto.
[0087] In one embodiment, the first model, the second model and the third model are of different types. In another embodiment, one of the first model, the second model and the third model is of a different type than the other two.
[0088] This embodiment provides different neural network models based on different types of electricity consumption to make the predicted values close to the actual values. Specifically, this embodiment provides three neural network models, wherein the first model corresponds to residential electricity consumption, the second model corresponds to commercial electricity consumption, and the third model corresponds to industrial electricity consumption. The residential electricity consumption is predicted by the first model, the commercial electricity consumption is predicted by the second model, and the residential electricity consumption is predicted by the third model, thereby reducing the difference between the predicted value and the actual value and improving the accuracy of the prediction.
[0089] Secondly, based on the different electricity consumption trends of residential, commercial and industrial electricity consumption, this embodiment selects the neural network model with the highest adaptability after training as the prediction model, thereby improving the accuracy of the prediction.
[0090] like Figure 2 As shown, in one embodiment, “obtaining the current power consumption related parameters of the region based on the historical power consumption related parameters of the region and / or the historical power consumption related parameters of the neighboring regions” includes:
[0091] Obtain the historical power consumption related parameters of the region within a certain period of time from the present; determine the change trend of each parameter based on the historical power consumption related parameters; estimate the current power consumption related parameters of the region based on the change trend and the historical power consumption related parameters of the region closest to the present; or
[0092] Obtain the historical electricity consumption related parameters of the neighboring area within a certain period of time from the current time; determine the change trend of each parameter based on the historical electricity consumption related parameters; estimate the current electricity consumption related parameters of the area based on the change trend and the historical electricity consumption related parameters of the neighboring area closest to the current time.
[0093] Since regional electricity consumption is closely related to factors such as date, current temperature in the region, population size, industrial scale, economic scale, etc., specifically, commercial electricity consumption on holidays will be higher than commercial electricity consumption on weekdays, and residential electricity consumption when temperatures are high and low will be higher than when temperatures are suitable, and so on.
[0094] This embodiment determines the current electricity consumption related parameters of the region by obtaining the recent change trends of various parameters in the region or the adjacent regions, and makes the obtained current electricity consumption related parameters of the region consistent with the actual situation as much as possible, so that the error between the obtained current electricity consumption related parameters of the region and the actual situation is small, and then the error between the predicted result and the actual value is small, thereby improving the prediction accuracy.
[0095] like Figure 1 As shown, in one embodiment, the regional electricity consumption prediction method further includes:
[0096] Get the original historical power consumption data;
[0097] Clean the original historical power consumption data to remove the power consumption data that meets the preset abnormal characteristics and obtain the historical power consumption data;
[0098] The neural network model is trained by using historical power consumption data and power consumption related parameters after data cleaning.
[0099] This embodiment eliminates power consumption data that meets preset abnormal characteristics, thereby improving the accuracy of the neural network model's prediction, reducing the training data of the neural network model, and reducing the training intensity of the neural network model.
[0100] like Figure 1 As shown, in one embodiment, the regional electricity consumption prediction method further includes:
[0101] Get the actual power consumption data and estimated power consumption of the area;
[0102] If the difference between the actual power consumption data and the estimated power consumption is greater than a preset value, the network parameters of the neural network model are adjusted based on the back propagation algorithm to update the neural network model;
[0103] “Input the current power consumption parameters of the region into multiple trained neural network models”, including:
[0104] The current electricity consumption related parameters of the region are input into the latest trained multiple neural network models.
[0105] This embodiment uses the difference between the actual power consumption data and the estimated power consumption to update the network parameters of the neural network model, so as to continuously correct the neural network model and improve the accuracy of the neural network model's estimation.
[0106] Example 2
[0107] like Figure 3 As shown, in one embodiment, “obtaining the current power consumption related parameters of the region based on the historical power consumption related parameters of the region and / or the historical power consumption related parameters of the neighboring regions” includes:
[0108] Obtain historical electricity consumption parameters of the region and neighboring regions within a certain period of time from the current time;
[0109] Determine the change trend of each parameter based on historical electricity consumption related parameters;
[0110] The current electricity consumption related parameters of the region are estimated based on the change trend, the current most recent historical electricity consumption related parameters of the distance region and the adjacent regions, and the preset weights of the region and the adjacent regions.
[0111] This embodiment uses the historical electricity consumption related parameters of the region and the historical electricity consumption related parameters of the neighboring regions as references to estimate the current electricity consumption related parameters of the region. At the same time, the preset weights of the region and the neighboring regions are set based on the differences between the historical electricity consumption related parameters of the region and the historical electricity consumption related parameters of the neighboring regions, so as to make the current electricity consumption related parameters of the region obtained consistent with the actual situation as much as possible, so that the error between the current electricity consumption related parameters of the region obtained and the actual situation is small, and then the error between the predicted result and the actual value is small, thereby improving the prediction accuracy.
[0112] This embodiment provides a method for predicting regional power consumption, which also includes:
[0113] Obtaining the actual current power consumption related parameters and the estimated current power consumption related parameters of the area;
[0114] If the difference between the actual current power usage related parameter and the estimated current power usage related parameter is greater than the preset value, the preset weights of both the region and the adjacent region are adjusted to update the preset weights.
[0115] This embodiment adjusts the preset weights of both the region and the adjacent region according to the actual current electricity consumption related parameters and the estimated current electricity consumption related parameters to correct the estimation method of the current electricity consumption related parameters, so that the subsequently predicted current electricity consumption related parameters are closer to the actual current electricity consumption related parameters, thereby improving the accuracy of the estimation of the current electricity consumption related parameters.
[0116] The other contents of this embodiment are the same as those of Embodiment 1 and will not be described again here.
[0117] Example 3
[0118] like Figure 4 As shown, this embodiment provides a regional electricity consumption prediction system, including:
[0119] Determination module 1, used to determine the area to be predicted and the adjacent areas whose size is different from the area within a preset range;
[0120] The first estimation module 2 is used to input the current power consumption related parameters of the region into the trained multiple neural network models respectively when the current power consumption related parameters of the region are obtained, so as to obtain the current residential power consumption, commercial power consumption and industrial power consumption of the region respectively;
[0121] The second estimation module 3 is used to obtain the current power consumption related parameters of the region based on the historical power consumption related parameters of the region and / or the historical power consumption related parameters of the neighboring regions when the current power consumption related parameters of the region cannot be obtained, and input the current power consumption related parameters of the region into a plurality of trained neural network models respectively, to obtain the current residential power consumption, commercial power consumption and industrial power consumption of the region respectively; the neural network model is trained by the power consumption related parameters and the historical power consumption data of the two or more periods closest to the current one, and the historical power consumption data is the historical power consumption data with a periodic form;
[0122] The aggregation module 4 is used to aggregate the residential electricity consumption, commercial electricity consumption and industrial electricity consumption to obtain the regional electricity consumption.
[0123] The first estimation module 2 and the second estimation module 3 provided in this embodiment use machine learning to predict regional electricity consumption, which overcomes the disadvantages of traditional prediction methods that rely on manual calculations, reduces labor costs, and reduces the occurrence of calculation errors in the prediction process, reduces prediction errors, and improves prediction accuracy.
[0124] Furthermore, the first estimation module 2 and the second estimation module 3 provided in this embodiment both use multiple neural network models to predict residential electricity consumption, commercial electricity consumption and industrial electricity consumption, so that the final summary of regional electricity consumption is highly accurate.
[0125] In addition, this embodiment can select the first estimation module 2 for estimation when the current electricity consumption related parameters of the area are obtained, and can also select the second estimation module 3 for estimation when the current electricity consumption related parameters of the area cannot be obtained. It has a wide range of applications and can select a suitable method for estimation based on actual conditions, with high flexibility.
[0126] Example 4
[0127] This embodiment provides a computer device, including a memory and a processor, wherein the memory stores a computer program, and when the processor executes the computer program, the steps of the regional electricity consumption prediction method described in Embodiment 1 or Embodiment 2 are implemented.
[0128] Example 5
[0129] This embodiment provides a computer-readable storage medium on which a computer program is stored. When the computer program is executed by a processor, the steps of the regional electricity consumption prediction method described in Embodiment 1 or Embodiment 2 are implemented.
[0130] It should be understood by those skilled in the art that the above modules or steps of the present application can be implemented by a general-purpose computing device, they can be concentrated on a single computing device, or distributed on a network composed of multiple computing devices, optionally, they can be implemented by a program code executable by a computer device, so that they can be stored in a storage device and executed by the computing device, or they can be made into individual integrated circuit modules, or multiple modules or steps therein can be made into a single integrated circuit module for implementation. Thus, the present application is not limited to any specific combination of hardware and software.
[0131] Note that the above are only preferred embodiments of the present application and the technical principles used. Those skilled in the art will understand that the present application is not limited to the specific embodiments herein, and that various obvious changes, readjustments and substitutions can be made by those skilled in the art without departing from the scope of protection of the present application. Therefore, although the present application is described in more detail through the above embodiments, the present application is not limited to the above embodiments, and may include more other equivalent embodiments without departing from the concept of the present application, and the scope of the present application is determined by the scope of the appended claims.
[0132] The above description is only a preferred embodiment of the present application and is not intended to limit the present application. Any modifications, equivalent substitutions, improvements, etc. made within the spirit and principles of the present application should be included in the protection scope of the present application.
Claims
1. A method for predicting regional electricity consumption, characterized in that: include: Determine the area to be predicted and the adjacent areas whose sizes differ from the area within a preset range; If the current electricity consumption related parameters of the area are obtained, the current electricity consumption related parameters of the area are respectively input into the trained multiple neural network models to obtain the current residential electricity consumption, commercial electricity consumption and industrial electricity consumption of the area respectively; the electricity consumption related parameters include any combination of one or more of the following: time, temperature, population size, industrial scale, economic scale; If the current electricity consumption related parameters of the area cannot be obtained, the current electricity consumption related parameters of the area are obtained based on the historical electricity consumption related parameters of the area and / or the historical electricity consumption related parameters of the neighboring areas, and the current electricity consumption related parameters of the area are respectively input into a plurality of trained neural network models to obtain the current residential electricity consumption, commercial electricity consumption and industrial electricity consumption of the area respectively; the neural network model is trained by electricity consumption related parameters and historical electricity consumption data of more than two periods closest to the current one, and the historical electricity consumption data is historical electricity consumption data with a periodic form, and different types of historical electricity consumption data correspond to different periods; Aggregating residential electricity consumption, commercial electricity consumption and industrial electricity consumption to obtain the electricity consumption of the region; It also includes: regularly acquiring multiple preset parameters and historical electricity consumption data in the same area at the same time; generating multiple data groups by arranging and combining the multiple preset parameters, and different data groups include different preset parameters; for each data group, training a neural network model based on the preset parameters in the data group and the historical electricity consumption data; determining the data group corresponding to the neural network model with the best training effect, and using the preset parameters in the determined data group as electricity-related parameters; The method also includes: obtaining original historical power consumption data; cleaning the original historical power consumption data to remove power consumption data that meets preset abnormal characteristics, and obtaining historical power consumption data; the neural network model is obtained by training the historical power consumption data after data cleaning and power consumption related parameters; It also includes: obtaining actual power consumption data and estimated power consumption of the area; if the difference between the actual power consumption data and the estimated power consumption is greater than a preset value, adjusting the network parameters of the neural network model based on the back propagation algorithm to update the neural network model; the "inputting the current power consumption related parameters of the area into the multiple trained neural network models" includes: inputting the current power consumption related parameters of the area into the multiple latest trained neural network models; Among them, the "obtaining current electricity consumption related parameters of the area based on the historical electricity consumption related parameters of the area and / or the historical electricity consumption related parameters of the neighboring areas" includes: obtaining historical electricity consumption related parameters of the area or the neighboring areas within a certain period of time from the present, determining the change trend of each parameter based on the historical electricity consumption related parameters, and estimating the current electricity consumption related parameters of the area according to the change trend and the historical electricity consumption related parameters of the area or the neighboring areas closest to the present; or obtaining historical electricity consumption related parameters of the area and the neighboring areas within a certain period of time from the present, determining the change trend of each parameter based on the historical electricity consumption related parameters, and estimating the current electricity consumption related parameters of the area according to the change trend, the historical electricity consumption related parameters closest to the present of the area and the neighboring areas, and the preset weights of the area and the neighboring areas.
2. The method for predicting regional electricity consumption according to claim 1, characterized in that: The historical electricity consumption data includes historical residential electricity consumption, historical commercial electricity consumption and historical industrial electricity consumption; The neural network model includes a first model, a second model and a third model; The first model is obtained by: inputting the historical residential electricity consumption and historical electricity consumption related parameters into different types of initial neural network models for training, summarizing the trained neural network models, and selecting the neural network model with the best training effect as the first model; The second model is obtained by: inputting the historical commercial electricity consumption and historical electricity consumption related parameters into different types of initial neural network models for training, summarizing the trained neural network models, and selecting the neural network model with the best training effect as the second model; The third model is obtained in the following manner: the historical industrial electricity consumption and historical electricity consumption related parameters are respectively input into different types of initial neural network models for training, the trained neural network models are summarized, and the neural network model with the best training effect is selected as the third model.
3. The method for predicting regional electricity consumption according to claim 1, characterized in that: If it is determined that there are multiple neural network models with the best training effect, the data group with the least preset parameters corresponding to the neural network model with the best training effect is used as the target data group, and the preset parameters in the target data group are used as electricity-related parameters.
4. Regional electricity consumption forecasting system, characterized in that: include: A determination module, used to determine the area to be predicted and adjacent areas whose size is different from that of the area within a preset range; A first estimation module is used to input the current power consumption related parameters of the area into the trained multiple neural network models respectively when the current power consumption related parameters of the area are obtained, so as to obtain the current residential power consumption, commercial power consumption and industrial power consumption of the area respectively; The second estimation module is used for obtaining the current electricity consumption related parameters of the area based on the historical electricity consumption related parameters of the area and / or the historical electricity consumption related parameters of the neighboring areas when the current electricity consumption related parameters of the area cannot be obtained, and inputting the current electricity consumption related parameters of the area into the trained multiple neural network models respectively to obtain the current residential electricity consumption, commercial electricity consumption and industrial electricity consumption of the area respectively; the neural network model is trained by the electricity consumption related parameters and the historical electricity consumption data of more than two periods closest to the current one, the historical electricity consumption data is the historical electricity consumption data with a periodic form, and different types of historical electricity consumption data correspond to different periods; wherein, the "based on the historical electricity consumption related parameters of the area and / or the historical electricity consumption related parameters of the neighboring areas "obtaining current power consumption related parameters of the area by using historical power consumption related parameters", including: obtaining historical power consumption related parameters of the area or the adjacent area within a certain period of time from the present, determining the change trend of each parameter based on the historical power consumption related parameters, and estimating the current power consumption related parameters of the area according to the change trend and the historical power consumption related parameters of the area or the adjacent area closest to the present; or obtaining historical power consumption related parameters of the area and the adjacent area within a certain period of time from the present, determining the change trend of each parameter based on the historical power consumption related parameters, and estimating the current power consumption related parameters of the area according to the change trend, the historical power consumption related parameters closest to the present of the area and the adjacent area, and the preset weights of the area and the adjacent area; A summarizing module, used for summarizing residential electricity consumption, commercial electricity consumption and industrial electricity consumption to obtain the electricity consumption of the area; The electricity consumption related parameters include any combination of one or more of the following: time, temperature, population, industrial scale, and economic scale; The power consumption related parameters are obtained by: regularly acquiring multiple preset parameters and historical power consumption data in the same area at the same time; generating multiple data groups by arranging and combining the multiple preset parameters, and different data groups include different preset parameters; for each data group, training a neural network model based on the preset parameters in the data group and the historical power consumption data; determining the data group corresponding to the neural network model with the best training effect, and using the preset parameters in the determined data group as the power consumption related parameters; The neural network model is obtained by: obtaining original historical power consumption data; cleaning the original historical power consumption data to remove power consumption data that meets preset abnormal characteristics, and obtaining historical power consumption data; the neural network model is obtained by training the historical power consumption data after data cleaning and power consumption related parameters; Wherein, the neural network model is also obtained in the following manner: obtaining actual electricity consumption data and estimated electricity consumption of the area; if the difference between the actual electricity consumption data and the estimated electricity consumption is greater than a preset value, adjusting the network parameters of the neural network model based on the back propagation algorithm to update the neural network model; the "inputting the current electricity consumption related parameters of the area into the multiple trained neural network models respectively" includes: inputting the current electricity consumption related parameters of the area into the multiple latest trained neural network models respectively.
5. A computer device comprising a memory and a processor, wherein the memory stores a computer program, characterized in that: When the processor executes the computer program, the steps of the method according to any one of claims 1 to 3 are implemented.
6. A computer-readable storage medium having a computer program stored thereon, characterized in that: When the computer program is executed by a processor, the steps of the method according to any one of claims 1 to 3 are implemented.
Citation Information
Patent Citations
Long-term power consumption load prediction method and device and computer implementation system
CN112308270A
Electric load prediction method and device, electronic equipment and storage medium
CN115034519A
