Electricity consumption forecasting system based on big data
Through big data analysis and neural network models, combined with factors such as seasonality, holidays, economic growth rate, and population size, a time window data set is constructed to solve the inaccuracy problem of existing power consumption forecasting methods and achieve more accurate power consumption forecasting. Consumption forecasting and efficient energy management.
Patent Information
- Application Number
- CN202410689438.9
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2024-05-30
- Publication Date
- 2024-09-10
- Estimated Expiration
- Not applicable · inactive patent
AI Technical Summary
Existing electricity consumption forecasting methods cannot accurately predict the impact of different seasons and population sizes on electricity consumption, resulting in inaccurate prediction results and affecting the reasonable connection between electricity supply and demand.
An electricity consumption forecasting system based on big data is adopted, including a data acquisition and processing module, a feature engineering module and a consumption forecasting module. By acquiring and processing historical electricity consumption data, it extracts seasonality, holidays, economic growth rate, population size and industrial structure, etc. Characteristics of factors, construct time window data sets, and use neural network models for prediction.
It achieves more accurate power consumption forecasts, supports efficient energy management, promotes sustainable development, improves customer satisfaction and forecast accuracy, and can dynamically adjust in response to changes in power consumption.
Smart Images

Figure CN118246972B
Abstract
Description
Technical Field
[0001] The present invention relates to the technical field of power supply, and in particular to a power consumption prediction system based on big data. Background Art
[0002] With the development of the economy and society and technological progress, electricity consumption has become a barometer of economic development. Economic growth and people's lives are inseparable from the input of electricity. Electricity, as a special commodity, is difficult to store and has the characteristics of being generated and used immediately. Therefore, it is necessary to ensure the reasonable connection and balance of electricity supply and demand to meet the needs of economic and social development.
[0003] The existing electricity consumption forecast is mainly obtained through user consumption information, and electricity consumption is predicted based on the power load situation. This method is inaccurate and cannot be used to predict and analyze according to different seasons, different population sizes, and the number of new electricity users. This method will affect the final prediction results. Summary of the invention
[0004] The present invention aims at solving the technical problems existing in the prior art and provides an electricity consumption prediction system based on big data.
[0005] The technical solution of the present invention to solve the above technical problems is as follows: a power consumption prediction system based on big data, comprising: a data acquisition and processing module, a feature engineering module, a seasonal regulation module and a consumption prediction module;
[0006] Data acquisition and processing module: obtain historical electricity consumption data and location information in the area and pre-process the collected data;
[0007] Feature engineering module: obtains the data transmitted by the data acquisition and processing module, and extracts the impact of features on power consumption from the data;
[0008] Seasonal Control Module: Analyzes feature-engineered data to identify and adjust seasonal patterns in the data through seasonal decomposition;
[0009] Consumption forecasting module: The data adjusted by the seasonal control module is combined with historical electricity data, seasonal factors, holiday impacts, economic growth rate impacts, population size impacts, and industrial structure impact data to construct a time window data set for training and forecasting.
[0010] In a preferred embodiment, the data acquisition and processing module divides the area where electricity consumption forecasting is required into several sub-areas, extracts historical electricity consumption data in the sub-areas, the data should contain timestamps, including total consumption, production consumption electricity consumption and life consumption electricity consumption, and records the location information of the sub-areas, sorts the collected historical electricity consumption data in chronological order, organizes the data on production consumption electricity consumption and life consumption electricity consumption, obtains the total population and urban population of the sub-areas, matches the population data with the electricity consumption data by timestamps, obtains economic indicator data such as GDP, industrial added value and per capita income in the sub-areas, matches the above data by timestamps, obtains characteristic data on historical electricity data in the sub-areas and the impact of seasonal factors, holidays, economic growth rate, population size and industrial structure, cleans and preprocesses the collected data, and uses timestamps to deduplicate the data to ensure that each data point is calculated only once.
[0011] In a preferred embodiment, the feature engineering module extracts the influence of features on electricity consumption from the original data, including the influence of seasonal factors, holidays, economic growth rate, population size and industrial structure, and specifically includes the following steps:
[0012] Seasonal impact The seasonal cycle is captured by calculating a sinusoidal transformation to simulate the cyclical pattern of electricity consumption, as follows:
[0013] ,
[0014] Let T represent the length of the cycle in a year, and t represent the time point of observation. Indicates the time point when observation starts. The fluctuation sequence is generated by the calculation results. The fluctuation sequence is between -1 and 1, which respectively represent the seasonal fluctuation of electricity consumption;
[0015] Holiday impact is quantified by creating a variable to mark holidays and calculating the average impact on electricity consumption. A sequence is created. When a day is a holiday, the sequence is represented as 1, otherwise it is 0. The average electricity consumption of historical holidays and the average electricity consumption of non-holidays are calculated. The specific calculation formula for the average electricity consumption of historical holidays is as follows:
[0016] ,
[0017] in, Indicates the number of holidays, Indicates the total number of days, including holidays and non-holidays. represents the electricity consumption on the i-th day, The specific calculation formula for the average electricity consumption on historical holidays and non-holidays is as follows:
[0018] ,
[0019] in, Represents a variable, which is 1 if the i-th day is a holiday, otherwise it is 0. Indicates the historical average non-holiday electricity consumption;
[0020] The impact of economic growth rate is obtained by the percentage of economic growth from the historical year to the current year. The economic growth is obtained by the percentage. The specific calculation formula is as follows:
[0021] ,
[0022] in, represents the total output value of the current year, represents the gross domestic product of the historical year, It represents the ratio of economic growth from the historical year to the current year. The increase in economic growth rate represents the increase in production and consumption activities, and the electricity consumption also increases accordingly. A linear relationship is established between the growth rate of electricity consumption and the economic growth rate. The specific calculation formula is as follows:
[0023] ,
[0024] in, represents the power elasticity coefficient, represents the intercept;
[0025] The impact of population size is captured by calculating per capita electricity consumption to capture changes in electricity consumption. The specific calculation formula for per capita electricity consumption is as follows:
[0026] ,
[0027] in, represents the per capita electricity consumption, represents the population, Indicates total power consumption;
[0028] The impact of industrial structure can be used to analyze the proportion of different industries in total electricity consumption by calculating the percentage of electricity consumption of each industry in total electricity consumption, and understand the economic structure characteristics of the electricity consumption forecast area. The specific calculation formula is as follows:
[0029] ,
[0030] in, represents the proportion of industrial electricity consumption, which represents the percentage of electricity consumption of a specific industry in the total electricity consumption. i represents the industry category, and consumption represents the electricity consumption of the industry. Represents total electricity consumption. This ratio can be used to analyze the share of different industries in total electricity consumption, thereby understanding the electricity consumption characteristics of the economic structure;
[0031] In a preferred embodiment, the seasonal control module eliminates the influence of seasonal factors in the data. Seasonal control enables direct comparison of data and seasonal decomposition is used to identify and adjust seasonal patterns in the data. The specific steps are as follows:
[0032] Calculate the seasonal average value, and calculate the average electricity consumption of each season in multiple years in the original data. The specific calculation formula is as follows:
[0033] ,
[0034] in, represents the average value of the tth season, represents the electricity consumption of the i-th observation, n represents the number of observations in this season, and then the average value of the entire time series is calculated. The specific calculation formula is as follows:
[0035] ,
[0036] Where N represents the total number of observations. For each season, the ratio of seasonal average electricity consumption to overall average electricity consumption is calculated. The specific calculation formula is as follows:
[0037] ,
[0038] Among them, the seasonal ratio It represents the relative power consumption intensity in the tth season. The seasonal ratio is used to adjust the power consumption in each season. The specific calculation formula is as follows:
[0039] ,
[0040] in, Represents the seasonal ratio of the season in which the i-th data point is located. Through the above steps, the seasonal factors are removed from the original data, making the remaining data more representative of non-seasonal changes.
[0041] In a preferred embodiment, the consumption prediction module combines historical power data with seasonal factors, holiday effects, economic growth rate effects, population size effects, and industrial structure effects to construct a time window data set for training and prediction. Each time window contains a period of historical data and corresponding eigenvalues. The specific calculation formula is as follows:
[0042] ,
[0043] Among them, C represents the historical power data, Indicates holiday impact, Indicates the impact of economic growth rate, represents the effect of population size, represents the impact of industrial structure, n represents the time step of historical data, and a neural network model is constructed, including an input layer, a hidden layer, and an output layer. The number of nodes in the input layer matches the time window size plus the number of all features. The specific calculation formula is expressed as:
[0044] ,
[0045] in, represents the weighted input of the l-th layer of the neural network, represents the weight matrix of the l-th layer neural network, represents the output value of the l-th layer neural network, represents the bias of the lth layer of the neural network, f represents the activation function, and the model is trained through forward propagation and back propagation to update the weights and biases. The specific calculation formula is as follows:
[0046] ,
[0047] in, Represents the output predicted by the model, m represents the number of samples in the data set, and the training parameters are optimized by the gradient descent algorithm. The specific calculation formula is as follows:
[0048] ,
[0049] in, represents the learning rate, W represents the weight, B represents the bias, Represents the standard deviation of the data point, MSE represents the mean square error, and the trained model is used for prediction. The new practice window data containing all features is input into the model, and the prediction result is obtained through forward propagation. The specific calculation formula is as follows:
[0050] ,
[0051] Where Dt represents the time window dataset.
[0052] The beneficial effects of the present invention are as follows: the present invention utilizes historical data combined with multi-source data such as economic and demographic data to conduct cross-domain comprehensive analysis, which can more comprehensively understand and predict electricity consumption, accurately predict and efficiently manage energy to support energy conservation and emission reduction goals, and promote sustainable development. By analyzing consumer electricity consumption data, power companies can better understand customer needs, improve customer satisfaction, and enhance customer loyalty. The comprehensive analysis model can achieve dynamic adjustment to respond to actual changes in electricity consumption, thereby improving the accuracy of the prediction. BRIEF DESCRIPTION OF THE DRAWINGS
[0053] Figure 1 is a flow chart of the present invention;
[0054] Figure 2 It is a system block diagram of the present invention. DETAILED DESCRIPTION
[0055] 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 those skilled in the art without creative work are within the scope of protection of this application.
[0056] In the description of this application, the terms "first" and "second" are used for descriptive purposes only and should not be understood as indicating or implying relative importance or implicitly indicating the number of technical features indicated. Thus, a feature defined as "first" or "second" may explicitly or implicitly include one or more of the features. In the description of this application, "plurality" means two or more, unless otherwise clearly and specifically defined.
[0057] In the description of the present application, the term "for example" is used to mean "used as an example, illustration or description". Any embodiment described as "for example" in the present application is not necessarily to be construed as being more preferred or advantageous than other embodiments. The following description is given to enable any technician in the field to implement and use the present invention. In the following description, details are listed for the purpose of explanation. It should be understood that a person of ordinary skill in the art can recognize that the present invention can be implemented without using these specific details. In other examples, well-known structures and processes will not be elaborated in detail to avoid unnecessary details to obscure the description of the present invention. Therefore, the present invention is not intended to be limited to the embodiments shown, but is consistent with the widest scope consistent with the principles and features disclosed in the present application.
[0058] like Figure 1-2 ,This embodiment provides ,a power consumption prediction system based on big data, specifically including: a data acquisition and processing module : ,acquires historical power consumption data and location information in a region and pre-processes the collected data;
[0059] Feature engineering module: obtains the data transmitted by the data acquisition and processing module, and extracts the impact of features on power consumption from the data;
[0060] Seasonal Control Module: Analyzes feature-engineered data to identify and adjust seasonal patterns in the data through seasonal decomposition;
[0061] Consumption forecasting module: The data adjusted by the seasonal control module is combined with historical electricity data, seasonal factors, holiday impacts, economic growth rate impacts, population size impacts, and industrial structure impact data to construct a time window data set for training and forecasting.
[0062] In this embodiment, what needs to be specifically explained is the data acquisition and processing module. The data acquisition and processing module divides the area where electricity consumption forecasting is required into several sub-areas, extracts historical electricity consumption data in the sub-areas, and the data should contain timestamps, including total consumption, production consumption electricity consumption and life consumption electricity consumption, and records the location information of the sub-areas, sorts the collected historical electricity consumption data in chronological order, organizes the data of production consumption electricity consumption and life consumption electricity consumption, obtains the total population and urban population of the sub-area, matches the population data with the electricity consumption data by timestamps, obtains economic indicator data such as GDP, industrial added value and per capita income in the sub-area, matches the above data by timestamps, obtains the historical electricity data in the sub-area and the characteristic data of seasonal factors, holidays, economic growth rate, population size and industrial structure, cleans and preprocesses the collected data, and uses timestamps to deduplicate the data to ensure that each data point is calculated only once.
[0063] It should be specifically explained that the division of sub-regions in the present invention is based on factors such as geographical location, administrative area or power grid structure, and the area where electricity consumption forecasting is required is divided into several sub-regions. Data preprocessing includes outlier processing, missing value filling, and data standardization. For outliers, deletion and replacement with average and median are used for processing. For missing values, forward filling, backward filling, and the average, median and mode of adjacent data points are used for filling. Data standardization adopts mean standardization as well as maximum and minimum standardization for processing, which will not be elaborated here.
[0064] In this embodiment, it is necessary to specifically explain the feature engineering module, which extracts the influence of features on electricity consumption from the original data, including the influence of seasonal factors, holidays, economic growth rate, population size and industrial structure, and specifically includes the following steps:
[0065] Seasonal impact The seasonal cycle is captured by calculating a sinusoidal transformation to simulate the cyclical pattern of electricity consumption, as follows:
[0066] ,
[0067] Let T represent the length of the cycle in a year, and t represent the time point of observation. Indicates the time point when observation starts. The fluctuation sequence is generated by the calculation results. The fluctuation sequence is between -1 and 1, which respectively represent the seasonal fluctuation of electricity consumption;
[0068] Holiday impact is quantified by creating a variable to mark holidays and calculating the average impact on electricity consumption. A sequence is created. When a day is a holiday, the sequence is represented as 1, otherwise it is 0. The average electricity consumption of historical holidays and the average electricity consumption of non-holidays are calculated. The specific calculation formula for the average electricity consumption of historical holidays is as follows:
[0069] ,
[0070] in, Indicates the number of holidays, Indicates the total number of days, including holidays and non-holidays. represents the electricity consumption on the i-th day, The specific calculation formula for the average electricity consumption on historical holidays and non-holidays is as follows:
[0071] ,
[0072] in, Represents a variable, which is 1 if the i-th day is a holiday, otherwise it is 0. Indicates the historical average non-holiday electricity consumption;
[0073] The impact of economic growth rate is obtained by the percentage of economic growth from historical years to the current year, and the economic growth is obtained by the percentage. The specific calculation formula is as follows:
[0074] ,
[0075] in, represents the total output value of the current year, represents the gross domestic product of the historical year, It represents the ratio of economic growth from the historical year to the current year. The increase in economic growth rate represents the increase in production and consumption activities, and the electricity consumption also increases accordingly. A linear relationship is established between the growth rate of electricity consumption and the economic growth rate. The specific calculation formula is as follows:
[0076] ,
[0077] in, represents the power elasticity coefficient, represents the intercept;
[0078] The impact of population size is captured by calculating per capita electricity consumption to capture changes in electricity consumption. The specific calculation formula for per capita electricity consumption is as follows:
[0079] ,
[0080] in, represents the per capita electricity consumption, represents the population, Indicates total power consumption;
[0081] The impact of industrial structure can be used to analyze the proportion of different industries in total electricity consumption by calculating the percentage of electricity consumption of each industry in total electricity consumption, and understand the economic structure characteristics of the electricity consumption forecast area. The specific calculation formula is as follows:
[0082] ,
[0083] in, represents the proportion of industrial electricity consumption, which represents the percentage of electricity consumption of a specific industry in the total electricity consumption. i represents the industry category, and consumption represents the electricity consumption of the industry. Represents total electricity consumption. This ratio can be used to analyze the share of different industries in total electricity consumption, thereby understanding the electricity consumption characteristics of the economic structure;
[0084] In this embodiment, it is necessary to explain the seasonal control module, which eliminates the influence of seasonal factors in the data. The seasonal control module enables direct comparison of the data, and identifies and adjusts the seasonal pattern in the data through seasonal decomposition. The specific steps are as follows:
[0085] Calculate the seasonal average value, and calculate the average electricity consumption of each season in multiple years in the original data. The specific calculation formula is as follows:
[0086] ,
[0087] in, represents the average value of the tth season, represents the electricity consumption of the i-th observation, n represents the number of observations in this season, and then the average value of the entire time series is calculated. The specific calculation formula is as follows:
[0088] ,
[0089] Where N represents the total number of observations. For each season, the ratio of seasonal average electricity consumption to overall average electricity consumption is calculated. The specific calculation formula is as follows:
[0090] ,
[0091] Among them, the seasonal ratio It represents the relative power consumption intensity in the tth season. The seasonal ratio is used to adjust the power consumption in each season. The specific calculation formula is as follows:
[0092] ,
[0093] in, Represents the seasonal ratio of the season in which the i-th data point is located. Through the above steps, the seasonal factors are removed from the original data, making the remaining data more representative of non-seasonal changes.
[0094] It should be noted that the seasonal ratio reflects the relative relationship between the electricity consumption in a specific season and the average electricity consumption in the entire time series. It is obtained by dividing the average electricity consumption in a specific season by the overall average electricity consumption. This ratio shows the magnitude of seasonal fluctuations. A ratio greater than 1 means that the electricity consumption in that season is higher than the average level, and a ratio less than 1 means that it is lower than the average level.
[0095] In this embodiment, the consumption prediction module needs to be explained. The consumption prediction module combines historical power data with seasonal factors, holiday effects, economic growth rate effects, population size effects, and industrial structure effects to construct a time window data set for training and prediction. Each time window contains a period of historical data and corresponding eigenvalues. The specific calculation formula is as follows:
[0096] ,
[0097] Among them, C represents the historical power data, Indicates holiday impact, Indicates the impact of economic growth rate, represents the effect of population size, represents the impact of industrial structure, n represents the time step of historical data, and a neural network model is constructed, including an input layer, a hidden layer, and an output layer. The number of nodes in the input layer matches the time window size plus the number of all features. The specific calculation formula is expressed as:
[0098] ,
[0099] in, represents the weighted input of the l-th layer of the neural network, represents the weight matrix of the l-th layer neural network, represents the output value of the l-th layer neural network, represents the bias of the lth layer of the neural network, f represents the activation function, and the model is trained through forward propagation and back propagation to update the weights and biases. The specific calculation formula is as follows:
[0100] ,
[0101] in, Represents the output predicted by the model, m represents the number of samples in the data set, and the training parameters are optimized by the gradient descent algorithm. The specific calculation formula is as follows:
[0102] ,
[0103] in, represents the learning rate, W represents the weight, B represents the bias, Represents the standard deviation of the data point, MSE represents the mean square error, and the trained model is used for prediction. The new practice window data containing all features is input into the model, and the prediction result is obtained through forward propagation. The specific calculation formula is as follows:
[0104] ,
[0105] Where Dt represents the time window dataset.
[0106] It should be noted that in the above embodiments, the description of each embodiment has its own emphasis, and for parts that are not described in detail in a certain embodiment, reference can be made to the relevant descriptions of other embodiments.
[0107] It will be appreciated by those skilled in the art that embodiments of the present invention may be provided as methods, systems, or computer program products. Therefore, the present invention may take the form of a complete hardware embodiment, a complete software embodiment, or an embodiment combining software and hardware. Furthermore, the present invention may take the form of a computer program product implemented on one or more computer-usable storage media (including but not limited to disk storage, CD-ROM, optical storage, etc.) containing computer-usable program code.
[0108] The present invention is described with reference to flowcharts and / or block diagrams of methods, devices (systems), and computer program products according to embodiments of the present invention. It should be understood that each process and / or block in the flowchart and / or block diagram, as well as the combination of processes and / or blocks in the flowchart and / or block diagram, can be implemented by computer program instructions. These computer program instructions can be provided to a processor of a general-purpose computer, a special-purpose computer, an embedded computer, or other programmable data processing device to produce a machine, so that the instructions executed by the processor of the computer or other programmable data processing device generate instructions for implementing the processes in the flowchart and / or block diagram. Figure 1 A process or multiple processes and / or boxes Figure 1 A device that provides the functions specified in a block or multiple blocks.
[0109] These computer program instructions may also be stored in a computer-readable memory capable of directing a computer or other programmable data processing device to operate in a specific manner, so that the instructions stored in the computer-readable memory produce an article of manufacture comprising an instruction device, which implements the process Figure 1 A process or multiple processes and / or boxes Figure 1 A function specified in one or more boxes.
[0110] These computer program instructions can also be loaded onto a computer or other programmable data processing device so that a series of operating steps are executed on the computer or other programmable device to produce a computer-implemented process, thereby providing instructions for implementing the process in the computer or other programmable device. Figure 1 A process or multiple processes and / or boxes Figure 1 The steps for the functions specified in one or more boxes.
[0111] Although the preferred embodiments of the present invention have been described, those skilled in the art may make other changes and modifications to these embodiments once they have learned the basic creative concept. Therefore, the appended claims are intended to be interpreted as including the preferred embodiments and all changes and modifications that fall within the scope of the present invention.
[0112] Obviously, those skilled in the art can make various changes and modifications to the present invention without departing from the spirit and scope of the present invention. Thus, if these modifications and variations of the present invention fall within the scope of the claims of the present invention and their equivalents, the present invention is also intended to include these modifications and variations.
Claims
1. Power consumption prediction system based on big data, It is characterized in that include: Data acquisition and processing module: obtain historical electricity consumption data and location information in the area and pre-process the collected data; Feature engineering module: obtains the data transmitted by the data acquisition and processing module, and extracts the impact of features on power consumption from the data; Seasonal Control Module: Analyzes feature-engineered data to identify and adjust seasonal patterns in the data through seasonal decomposition; Consumption forecasting module: The data adjusted by the seasonal control module is combined with historical power data, seasonal factors, holiday impact, economic growth rate impact, population size impact and industrial structure impact data to construct a time window data set for training and forecasting. Each time window contains a period of historical data and corresponding feature values. The specific calculation formula is as follows: Among them, C represents the historical power data, Indicates holiday impact, Indicates the impact of economic growth rate, represents the effect of population size, represents the impact of industrial structure, n represents the time step of historical data, and a neural network model is constructed, including an input layer, a hidden layer, and an output layer. The number of nodes in the input layer matches the time window size plus the number of all features. The specific calculation formula is expressed as: in, represents the weighted input of the l-th layer of the neural network, represents the weight matrix of the l-th layer neural network, represents the output value of the l-th layer neural network, represents the bias of the lth layer of the neural network, f represents the activation function, and the model is trained through forward propagation and back propagation to update the weights and biases. The specific calculation formula is as follows: in, Represents the output predicted by the model, m represents the number of samples in the data set, and the training parameters are optimized by the gradient descent algorithm. The specific calculation formula is as follows: in, represents the learning rate, W represents the weight, B represents the bias, Represents the standard deviation of the data point, MSE represents the mean square error, and the trained model is used for prediction. The new time window data containing all features is input into the model, and the prediction result is obtained through forward propagation. The specific calculation formula is as follows: Where Dt represents the time window dataset; The feature engineering module extracts the influence of features on electricity consumption from the original data, including seasonal factors, holidays, economic growth rate, population size and industrial structure. The seasonal influence simulates the cyclical pattern of electricity consumption by calculating the sine transform to capture the seasonal cycle. The specific calculation formula is as follows: Let T represent the length of the cycle in a year, and t represent the time point of observation. Indicates the time point when observation starts. The fluctuation sequence is generated by the calculation results. The fluctuation sequence is between -1 and 1, which respectively represent the seasonal fluctuation of electricity consumption; The holiday impact is quantified by creating a variable to mark the holiday, and calculating its average impact on electricity consumption. A sequence is created. When a certain day is a holiday, the sequence is represented as 1, otherwise it is 0. The average electricity consumption of historical holidays and the average electricity consumption of non-holidays are calculated. The specific calculation formula for the average electricity consumption of historical holidays is as follows: in, Indicates the number of holidays, Indicates the total number of days, including holidays and non-holidays. represents the electricity consumption on the i-th day, The specific calculation formula for the average electricity consumption on historical holidays and non-holidays is as follows: in, Represents a variable, which is 1 if the i-th day is a holiday, otherwise it is 0. Indicates the historical average non-holiday electricity consumption.
2. The power consumption prediction system based on big data according to claim 1, It is characterized in that The data acquisition and processing module divides the area where electricity consumption forecasting is required into several sub-areas, extracts historical electricity consumption data in the sub-areas, the data should contain timestamps, including total consumption, production consumption electricity consumption and life consumption electricity consumption, and records the location information of the sub-areas, sorts the collected historical electricity consumption data in chronological order, organizes the data of production consumption electricity consumption and life consumption electricity consumption, obtains the total population and urban population of the sub-areas, matches the population data with the electricity consumption data by timestamps, obtains economic indicator data such as GDP, industrial added value and per capita income in the sub-areas, matches the above data by timestamps, obtains characteristic data of historical electricity data and seasonal factors, holidays, economic growth rate, population size and industrial structure in the sub-areas, cleans and pre-processes the collected data, and uses timestamps to deduplicate the data to ensure that each data point is calculated only once.
3. The power consumption prediction system based on big data according to claim 1, It is characterized in that The impact of economic growth rate is obtained by the percentage of economic growth from historical years to the current year, and the economic growth is obtained by the percentage. The specific calculation formula is as follows: in, represents the total output value of the current year, The gross domestic product of the historical years is shown in It represents the ratio of economic growth from the historical year to the current year. The increase in economic growth rate represents the increase in production and consumption activities, and the electricity consumption also increases accordingly. A linear relationship is established between the growth rate of electricity consumption and the economic growth rate. The specific calculation formula is as follows: in, represents the power elasticity coefficient, represents the intercept.
4. The power consumption prediction system based on big data according to claim 1, It is characterized in that The population size effect is captured by calculating the per capita electricity consumption. The specific calculation formula for per capita electricity consumption is as follows: in, represents the per capita electricity consumption, represents the population, Indicates the total power consumption.
5. The power consumption prediction system based on big data according to claim 1, It is characterized in that The impact of the industrial structure is calculated by calculating the percentage of electricity consumption of each industry in the total electricity consumption. The specific calculation formula is as follows: in, represents the proportion of industrial electricity consumption, which represents the percentage of electricity consumption of a specific industry in the total electricity consumption. i represents the industry category, and consumption represents the electricity consumption of the industry. This ratio can be used to analyze the proportion of different industries in the total electricity consumption, so as to understand the electricity consumption characteristics of the economic structure.
6. The power consumption prediction system based on big data according to claim 1, It is characterized in that The seasonal control module identifies and adjusts the seasonal patterns in the data through seasonal decomposition. The specific steps are as follows: Calculate the seasonal average value, and calculate the average electricity consumption of each season in multiple years in the original data. The specific calculation formula is as follows: in, represents the average value of the tth season, represents the electricity consumption of the i-th observation, n represents the number of observations in this season, and then the average value of the entire time series is calculated. The specific calculation formula is as follows: Where N represents the total number of observations. For each season, the ratio of seasonal average electricity consumption to overall average electricity consumption is calculated. The specific calculation formula is as follows: Among them, the seasonal ratio It represents the relative power consumption intensity in the tth season. The seasonal ratio is used to adjust the power consumption in each season. The specific calculation formula is as follows: in, Represents the seasonal ratio of the season in which the i-th data point belongs.
