Whole-network electrical load classification proportion analysis method and device and computer equipment
Through the whole network electricity load classification proportion analysis method, combined with the fusion analysis of time series and non-time series data and the machine learning model, the limitations of traditional methods in processing time series and non-time series influencing factors and regionalized data are solved, and efficient , accurate load characteristic analysis and decision support.
Patent Information
- Application Number
- CN202410609396.3
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2024-05-16
- Publication Date
- 2024-08-23
AI Technical Summary
Traditional power load analysis methods have limitations in processing time series and non-time series influencing factors, regionalized data and customized models. They also lack sufficient attention to non-time series influencing factors, making it difficult to accurately capture complex power consumption characteristics and spatial distribution differences. This leads to insufficient generalization, accuracy and robustness of the model.
Adopt the whole network electricity load classification proportion analysis method, use time series data and non-time series data as sample sets to train the machine learning base model, and use the fusion strategy to fuse the output results of the machine learning base model, including data preprocessing and feature extraction and model training, combining supervised and unsupervised learning, real-time data feedback and transfer learning to improve model adaptability.
It achieves accurate prediction and comprehensive analysis of time series and non-time series data, improves the adaptability and computing performance of the model, enhances decision support, comprehensively captures load characteristics, and solves the problems of traditional models in processing time series and non-time series influencing factors, and regionalized data. and limitations when customizing models.
Smart Images

Figure CN118535950A
Abstract
Description
Technical Field
[0001] The present invention relates to an electric power analysis method, and more specifically to an analysis method, device, computer equipment and storage medium for classification proportion of electric load in the entire network. Background Art
[0002] As the infrastructure of modern industry and daily life, electricity plays a vital supporting role in economic development and urbanization. With the rapid economic growth and continuous progress of the power industry, the global demand for electricity has increased rapidly. As the key carrier for transmitting electric energy, the power grid plays a core role in ensuring the stability, efficiency and economy of electric energy supply. In order to optimize grid dispatching, improve forecasting accuracy and conduct detailed electric energy structure analysis, the classification and proportion analysis of power load is particularly critical.
[0003] However, traditional power load analysis is mostly based on empirical equations or statistical methods, such as regression analysis and simple time series analysis. These methods are effective when the data is stable and the fluctuations are not large. However, in the context of regionalization and data diversification, they are usually unable to accurately capture the complexity and heterogeneity of load characteristics within the region, or they fail to take into account variable factors such as weather, holidays, and residents' consumption behavior, resulting in unsatisfactory generalization, accuracy, and robustness of the model. Although the introduction of machine learning technology has brought new development opportunities to the above-mentioned fields, these technologies allow models to automatically learn and identify complex patterns in large data sets and effectively handle nonlinear relationships in data. Although the application of machine learning technology in load analysis is gradually Although the number of electricity loads has increased, there are still many challenges, especially the integration of time series and non-time series data processing, and the customization of personalized models according to the characteristics of electricity consumption data in various regions. These problems have not been effectively solved; at present, not only time series data variables have a significant impact on electricity load, but non-time series data variables, such as the economic development level of the region, the living habits of residents and other factors, should not be ignored. The existing electricity load classification and proportion analysis mostly focus on time series data, but often lack the necessary attention and analysis for these non-time series influencing factors. For the classification and proportion analysis of electricity load in the whole network, the challenge lies not only in technical issues, but also in how to deal with and analyze diverse factors such as spatial distribution differences, user behavior patterns, and economic activity cycles.
[0004] Moreover, the development of smart grids has further increased the demand for accurate power load analysis and management. Although existing load classification technologies, such as statistical analysis and cluster analysis, provide macro-level load analysis solutions to a certain extent, they have low computational efficiency and poor accuracy when processing large amounts of data, and it is difficult to meet the needs of rapidly changing load characteristics.
[0005] Therefore, it is necessary to design a new method to achieve accurate prediction, integrated time series and non-time series data, high adaptability and flexibility, efficient computing performance, enhanced decision support and comprehensive load characteristics analysis to address the limitations of traditional models in dealing with time series and non-time series influencing factors, regionalized data and customized models, and the lack of sufficient attention to non-time series influencing factors. Summary of the invention
[0006] The purpose of the present invention is to overcome the defects of the prior art and provide a method, device, computer equipment and storage medium for analyzing the classification proportion of electricity load in the entire network.
[0007] To achieve the above purpose, the present invention adopts the following technical solution: a method for analyzing the classification proportion of power load in the entire network, including:
[0008] Obtain electricity load data;
[0009] Inputting the power load data into the identification model to perform load classification to obtain a classification result;
[0010] Calculate the load proportion based on the classification results;
[0011] The training process of the recognition model includes: training a machine learning base model by using time series data and non-time series data as sample sets, and fusing the results output by the machine learning base model using a fusion strategy.
[0012] A further technical solution is: the time series data and non-time series data are used as sample sets to train the machine learning base model, and the results output by the machine learning base model are fused using a fusion strategy, including:
[0013] Acquire time series data and non-time series data to obtain initial data;
[0014] Processing the initial data to obtain a processing result;
[0015] Performing feature extraction on the processing result to obtain an extraction result;
[0016] The extraction result is input into a machine learning base model for load classification to obtain a load classification result; the machine learning base model is trained in a supervised and unsupervised manner when performing classification;
[0017] The load classification results are fused using a fusion strategy to obtain a final classification result;
[0018] A recognition model is determined according to the final classification result.
[0019] A further technical solution is: the time series data includes one or more combinations of power load data and meteorological condition data; the non-time series data includes one or more combinations of user behavior patterns and regional economic indicators.
[0020] A further technical solution is: the processing of the initial data to obtain a processing result includes:
[0021] Removing outliers from the initial data to obtain a cleaning result;
[0022] The cleaning results are normalized to obtain processing results.
[0023] A further technical solution is: extracting features from the processing results to obtain extraction results, including:
[0024] Extracting time series features from the time series data in the processing result to obtain time series features;
[0025] Extracting non-time series features from the non-time series data in the processing result to obtain non-time series features;
[0026] The importance of the time series features and the non-time series features is evaluated to determine the features that meet the requirements and form an extraction result.
[0027] A further technical solution is: the fusion strategy includes one or more combinations of automated weighted average, voting mechanism, and stack integration method.
[0028] A further technical solution is: the calculation of the load proportion according to the classification result includes:
[0029] Calculating the load of each category corresponding to the classification result, and summing them up to obtain a total load;
[0030] The load share is calculated based on the load amount of each category and the total load amount.
[0031] Its further technical solution is: the recognition model improves the adaptability and generalization ability of the model through real-time data feedback, transfer learning application and model performance monitoring. Real-time data feedback is the key task of the online learning mechanism. By continuously collecting electricity load data and integrating it into the training data set, the model gradually adjusts parameters through fine-tuning algorithms to adapt to new data characteristics; the knowledge of the trained model will be used to accelerate the model training in the new area. Through transfer learning, the load characteristics learned by the source model in one or more areas are combined with the new target data.
[0032] The present invention also provides a network-wide power load classification and proportion analysis device, comprising:
[0033] A data acquisition unit, used for acquiring power load data;
[0034] A classification unit, used for inputting the power load data into the recognition model to classify the load to obtain a classification result;
[0035] A proportion calculation unit, used to calculate the load proportion according to the classification result;
[0036] The training process of the recognition model includes: training a machine learning base model by using time series data and non-time series data as sample sets, and fusing the results output by the machine learning base model using a fusion strategy.
[0037] The present invention further provides a computer device, which includes a memory and a processor. The memory stores a computer program, and the processor implements the above method when executing the computer program.
[0038] The present invention also provides a storage medium, wherein the storage medium stores a computer program, and the computer program implements the above method when executed by a processor.
[0039] The beneficial effects of the present invention compared with the prior art are as follows: the present invention obtains power load data, classifies the load using an identification model, and calculates the load proportion for each category. For the identification model, the machine learning base model is trained by using time series data and non-time series data as sample sets, and the results output by the machine learning base model are fused using a fusion strategy to achieve accurate prediction, comprehensive time series and non-time series data, high adaptability and flexibility, efficient computing performance, enhanced decision support and comprehensive load characteristics analysis, so as to solve the limitations of traditional models in processing time series and non-time series influencing factors, regionalized data and customized models, and the shortcomings of lack of sufficient attention to non-time series influencing factors.
[0040] The present invention is further described below in conjunction with the accompanying drawings and specific embodiments. BRIEF DESCRIPTION OF THE DRAWINGS
[0041] In order to more clearly illustrate the technical solutions of the embodiments of the present invention, the accompanying drawings required for use in the description of the embodiments will be briefly introduced below. Obviously, the accompanying drawings described below are some embodiments of the present invention. For ordinary technicians in this field, other accompanying drawings can be obtained based on these accompanying drawings without paying any creative work.
[0042] Figure 1 A schematic diagram of an application scenario of the method for analyzing the proportion of electricity load classified in the entire network provided by an embodiment of the present invention;
[0043] Figure 2 A schematic diagram of a flow chart of a method for analyzing the classification ratio of power load in the entire network provided by an embodiment of the present invention;
[0044] Figure 3 A schematic block diagram of a device for analyzing the classification ratio of power load in the entire network provided by an embodiment of the present invention;
[0045] Figure 4 A schematic block diagram of a computer device provided for an embodiment of the present invention;
[0046] Figure 5 A schematic diagram of a residual unit of a TCN provided in an embodiment of the present invention. DETAILED DESCRIPTION
[0047] The following will be combined with the drawings in the embodiments of the present invention to clearly and completely describe the technical solutions in the embodiments of the present invention. Obviously, the described embodiments are part of the embodiments of the present invention, not all of the embodiments. Based on the embodiments of the present invention, all other embodiments obtained by ordinary technicians in this field without creative work are within the scope of protection of the present invention.
[0048] It should be understood that when used in this specification and the appended claims, the terms "include" and "comprises" indicate the presence of described features, integers, steps, operations, elements and / or components, but do not exclude the presence or addition of one or more other features, integers, steps, operations, elements, components and / or combinations thereof.
[0049] It should also be understood that the terms used in this specification of the present invention are only for the purpose of describing specific embodiments and are not intended to limit the present invention. As used in the specification of the present invention and the appended claims, unless the context clearly indicates otherwise, the singular forms "a", "an" and "the" are intended to include plural forms.
[0050] It should be further understood that the term "and / or" used in the present description and the appended claims refers to any and all possible combinations of one or more of the associated listed items, and includes these combinations.
[0051] See also Figure 1 and Figure 2 , Figure 1 A schematic diagram of an application scenario of the method for analyzing the classification proportion of electricity load in the entire network provided in an embodiment of the present invention. Figure 2A schematic flow chart of a method for analyzing the proportion of electricity load classified in the entire network provided in an embodiment of the present invention. The method for analyzing the proportion of electricity load classified in the entire network is applied to a server. The server interacts with the terminal and the power facilities for data exchange. The server integrates time series and non-time series data, trains a corresponding model, and provides accurate prediction and analysis for the electricity consumption characteristics of different regions. By applying advanced data processing methods, combined with machine learning and deep learning technologies, the model aims to overcome the problems existing in the prior art, improve the accuracy and adaptability of power grid load forecasting, and ultimately achieve in-depth analysis of various types of loads, providing a more powerful analysis tool for the economic operation and stable control of the power system.
[0052] Figure 2 FIG. 1 is a flow chart of a method for analyzing the classification ratio of power load in the entire network provided by an embodiment of the present invention. Figure 2 As shown, the method includes the following steps S110 to S130.
[0053] S110: Obtain power load data.
[0054] In this embodiment, the power load data includes electrical signals such as voltage, current, active power, reactive power, etc. These data can be collected by power facilities such as power metering equipment and smart meters.
[0055] S120: Input the power load data into the identification model to classify the load to obtain a classification result.
[0056] In this embodiment, the classification result refers to the load type corresponding to the power load data.
[0057] Specifically, the collected power load data is input into the identification model for processing and analysis, and features that can reflect the load characteristics are extracted, such as current waveform, steady-state harmonics, active power, VI trajectory, etc. These features can be used to distinguish different types of loads, as well as to identify and classify loads for further classification.
[0058] The training process of the recognition model includes: training a machine learning base model by using time series data and non-time series data as sample sets, and fusing the results output by the machine learning base model using a fusion strategy.
[0059] In one embodiment, the above-mentioned method of training a machine learning base model by using time series data and non-time series data as a sample set, and fusing the results output by the machine learning base model using a fusion strategy, includes steps S121 to S126.
[0060] S121. Acquire time series data and non-time series data to obtain initial data.
[0061] In this embodiment, the initial data includes time series data and non-time series data; advanced data processing technology is used to effectively integrate time series data such as load change data over time, climate change data, etc. and non-time series data such as user behavior patterns, regional economic levels, etc., to ensure comprehensive classification of electricity load and further improve the accuracy of electricity load analysis.
[0062] Specifically, time series data is data arranged in chronological order, which is used to represent the measured values of variables or related variables at different time points. This type of data usually has a clear timestamp and can be continuous or discrete. For the power system, power load data is one of the key time series data; it is necessary to obtain power load data in real time or quasi-real time, including existing demand, historical maximum load and average load data, and ensure the integrity and consistency of the data. At the same time, it is also necessary to collect meteorological condition data, including information such as temperature, humidity, wind speed and solar irradiance. These data come from meteorological observation stations or weather forecast service interfaces, and need to be synchronized with the timestamps matching the load data, and maintain a consistent collection granularity.
[0063] The power load data mentioned above refers to the total amount of electric energy consumed by the electrical equipment in the power system at a certain moment or time period. Real-time or quasi-real-time power load data is obtained by connecting to the power grid monitoring system interface. Power load data includes but is not limited to: current demand, historical maximum load, and average load data. These data should be recorded at appropriate time intervals (such as every 15 minutes or every hour) to maintain the time sequence of the data. When collecting data, the focus is to ensure the integrity and consistency of the data and eliminate inconsistencies or omissions caused by transmission errors or sensor failures.
[0064] Meteorological conditions data collection is the process of obtaining and recording atmospheric environmental parameters, such as temperature, air pressure, humidity, wind speed and direction, rainfall, cloud conditions, visibility, etc. The following is a detailed description of meteorological conditions data collection: Measurement equipment: Various meteorological instruments are used to collect data, such as thermometers, hygrometers, barometers, anemometers, rain gauges, radiometers, etc. Automated systems: Modern meteorological observation stations usually use automated weather station systems that can monitor and record a variety of meteorological parameters in real time. Such systems include sensors, data collectors, communication modules, and power supply equipment. Remote sensing technology: In addition to ground observations, satellite remote sensing technology can also be used to obtain large-area meteorological information from a space perspective, such as cloud distribution, surface temperature, etc.
[0065] In this embodiment, the data mainly includes the collection of meteorological conditions such as temperature, humidity, wind speed and solar irradiance, which are usually obtained through the weather forecast service interface or the local climate monitoring station. This data should be synchronized with the timestamp matching the load data to maintain its time sequence, and the data collection granularity should be consistent with the load data (such as every 15 minutes or every hour).
[0066] Non-time series data refers to data without a clear time sequence. It can be cross-sectional data collected once, or panel data accumulated over time but not dependent on time sequence. For energy systems, user behavior pattern data and regional economic indicator data are important non-time series data. User behavior pattern data include information such as user's electricity usage habits, equipment characteristics, electricity price sensitivity, energy-saving behavior, and acceptance of new technologies. These data can be obtained through user questionnaires, smart meter statistics, and electricity information management systems. Regional economic indicator data reflects the economic development status of a region, such as GDP growth rate, industrial structure analysis, consumption capacity assessment, population and urbanization process, etc. These data are usually obtained through public databases, government economic statistics departments, or economic research institutions.
[0067] User behavior patterns refer to a series of identifiable behaviors and habits exhibited by electricity consumers when using electricity services. Electricity user behavior pattern data provides micro-level information about electricity demand.
[0068] Understanding users' daily electricity habits (when to turn on appliances, how long to use them, etc.) can help analyze load distribution in different time periods; different electrical equipment has different power characteristics and operating modes, which helps to accurately calculate the contribution of various equipment to the total load; by analyzing users' responses to changes in electricity prices, it is possible to predict load changes that may occur under a specific pricing strategy; understanding users' energy-saving awareness and energy-saving measures can help evaluate the effectiveness of energy-saving policies and the room for future energy efficiency improvements; with the development of smart grid technology, users may adopt new ways of electricity consumption (such as energy storage systems, electric vehicle charging, etc.), which will affect future electricity demand; based on users' demand for different types of electricity services (such as green energy options, remote control, etc.); understand users' participation in electricity demand response programs (DRP); collecting users' feedback can identify problems and room for improvement in electricity services, thereby improving service quality and reducing potential load fluctuation risks; users' behavior patterns may vary significantly in different seasons and holidays; special events such as sports events and large-scale activities may cause a large number of people to gather or migrate in the area, thereby generating additional electricity demand.
[0069] Regional economic indicators are various statistical indicators used to measure the economic development status of a region. These indicators can evaluate the performance of a region's economic growth, industrial structure, trade level and social development from multiple perspectives, and provide macroeconomic background information on electricity demand. The following are some of the main functions: the development speed of the regional economy directly affects the growth of electricity demand. For example, the GDP growth rate can be used as an important indicator to measure the overall level of economic activity; different industries have different demand and time distribution for electricity. By analyzing the output value share of different sectors such as industry, commerce, and residents in the region, it can help understand the characteristics of electricity demand in various industries; per capita income level and other consumption indicators can reflect the purchasing power and living standards of consumers in a region, which in turn affects the popularity and intensity of high-energy-consuming equipment such as home appliances, air conditioning and refrigeration; population size, urbanization process, and urban-rural differences will all have an impact on electricity demand. For example, the advancement of urbanization may lead to the concentration of residential areas, thereby increasing electricity demand during peak hours; regions with high foreign trade activity may have more stable electricity demand, and considering the working hours and production cycles of export processing enterprises will also have an impact on electricity load.
[0070] Regional economic indicator data are collected through public databases, government economic statistics departments or economic research institutions. The collected economic indicators include per capita GDP, industrial output value, resident consumption level, etc. These data usually exist in the form of annual reports and need to be reformatted to suit the input requirements of the model.
[0071] In summary, the time series data includes one or more combinations of power load data and meteorological condition data; the non-time series data includes one or more combinations of user behavior patterns and regional economic indicators. The collection of time series data and non-time series data is crucial for energy system management, and the preprocessing of data will lay the foundation for subsequent data analysis and modeling.
[0072] S122: Process the initial data to obtain a processing result.
[0073] In this embodiment, the processing result is data formed after the initial data is cleaned and formatted.
[0074] In one embodiment, the above-mentioned step S122 may include steps S1221 - S1222 .
[0075] S1221. Remove outliers from the initial data to obtain a cleaning result.
[0076] In this embodiment, the cleaning result refers to the data obtained after removing outliers from the initial data.
[0077] Specifically, outlier removal is an important step in data preprocessing, which aims to identify and remove data points that are statistically significantly different from other observations. These outliers may be caused by measurement errors, entry errors, or system failures. In order to remove outliers, a variety of methods can be used:
[0078] First, you can use the 3σ criterion (Ledda criterion). According to this criterion, if the value of a data point deviates from the mean by more than three standard deviations, it is considered an outlier. This method is based on the assumption that most of the data in a normal distribution are concentrated around the mean.
[0079] Secondly, the interquartile range (IQR) method can be used. This method calculates the first quartile (Q1) and the third quartile (Q3) of a set of data, and then uses IQR = Q3-Q1 to determine the intrinsic dispersion of the data set. Any data point less than Q1-1.5IQR or greater than Q3+1.5IQR is considered an outlier.
[0080] Another commonly used method is the box plot, where outliers are usually defined as points outside the box, exceeding the value of 1.5 times the IQR of the upper and lower quartiles.
[0081] In addition, the method of elimination after standardization can also be used. First, the data is standardized, all the data are converted to the same scale, and then the data points that may be outliers are determined based on the converted values.
[0082] In addition, clustering-based analysis is also an effective method. The data is divided into different groups through clustering algorithms, and then single points or small clusters far away from other clusters are found, which may be outliers.
[0083] Finally, density-based detection is also a common method. Using methods such as kernel density estimation to evaluate the local density around each data point, data points in low-density areas may be outliers.
[0084] In summary, removing outliers is a crucial step in data preprocessing. These methods can effectively identify and remove outliers and improve data quality, thus laying the foundation for subsequent data analysis and modeling.
[0085] S1222. Normalize the cleaning results to obtain processing results.
[0086] In this embodiment, data normalization is an important data preprocessing step, which is used to convert data of different scales, ranges or units into a unified standard, ensure the comparability of various features in model training and analysis, and help improve algorithm performance. Commonly used data normalization methods include maximum and minimum value normalization and data standardization.
[0087] By scaling the original data to the range of [0,1], the maximum and minimum normalization eliminates the dimensionality of the data, which helps to prevent certain features from having too much impact on model training and accelerates model convergence. However, the maximum and minimum normalization is easily affected by outliers, which may cause the data to not be properly normalized. The conversion formula is as follows: Among them, X norm is the normalized data, X is the original data, and X min and X max are the minimum and maximum values of the original data respectively.
[0088] Data standardization converts the original data into a standard normal distribution with a mean of 0 and a standard deviation of 1, which also eliminates the dimension effect and reduces the impact of outliers on model training. However, data standardization may cause information loss and is not suitable for sparse data. The conversion formula is: Among them, X std is the standardized data, X is the original data, μ is the mean of the original data, and σ is the standard deviation of the original data.
[0089] In addition, there are methods such as decimal scaling and logarithmic function transformation, which can also be used for data normalization. According to the characteristics of the data, choose the appropriate method for preprocessing. In the process of data preprocessing, it is also necessary to pay attention to reshaping or chunking the data to adapt to the input requirements of the machine learning model and ensure that the data format is consistent with the input specifications of the model training phase, which is crucial for the performance of the subsequent model.
[0090] S123: Perform feature extraction on the processing result to obtain an extraction result.
[0091] In this embodiment, the extraction result refers to the features that meet the requirements determined by the time series features and the non-time series features.
[0092] In one embodiment, the above-mentioned step S123 may include steps S1231 - S1233 .
[0093] S1231. Extract time series features from the time series data in the processing result to obtain time series features.
[0094] In this embodiment, the time series feature refers to a feature or attribute that has a certain regularity or trend over time. In time series data, the time series feature reflects the change of data over time, including periodicity, trend, seasonality and other features.
[0095] Specifically, two main methods are adopted to extract time series features: temporal convolutional network and factor extraction method based on empirical correlation.
[0096] First of all, the temporal convolutional network is a new deep learning architecture specially designed to process time series data. Compared with the traditional recurrent neural network (RNN), TCN (Temporal Convolutional Network) is more efficient and accurate in processing long sequence data. It avoids the leakage of future information through causal convolution. It consists of a group of residual units. Each residual unit is a small neural network. The residual connection accelerates the feedback and convergence of the deep network and avoids the "degeneration phenomenon". The residual connection forces the model to be the sum of the input and output to ensure the continuity of information transmission. The residual unit of TCN is as follows: Figure 5 As shown, the residual connection adds the input x of the residual unit to the output f(x), and the network is forced to be modeled as f(x) = h(x)-x;
[0097] The residual unit contains two convolution units and nonlinear mapping. The first is a one-dimensional dilated causal convolution, which expands the receptive field by adjusting the dilation coefficient so that the network can remember historical information long enough and avoid leaking future information. Then the weight normalization and ReLU activation function processing are performed, and finally the Dropout operation is used to prevent overfitting. Nonlinear mapping is used to process data of different dimensions. The implementation of TCN includes steps such as stacking, dilated convolution, residual connection, and weighted jump connection to capture the complex characteristics of time series. Among them, the operation formula of the one-dimensional dilated causal convolution is: Among them, x is the input sequence; f is the filter; d is the expansion coefficient; k is the convolution kernel size; s-di ensures that convolution operations can only be performed on past inputs.
[0098] The implementation of TCN includes the following steps:
[0099] Construct multiple layers of causal convolutional layers to capture the complex characteristics of time series at different time scales;
[0100] Using dilated convolution to increase the receptive field, thereby covering a longer time span while keeping the computational complexity unchanged;
[0101] The residual connection strategy is used to promote the deepening of the model while avoiding the gradient vanishing problem during training;
[0102] In order to more accurately capture the local features in the time series, weighted jump connections are introduced to refine the time series features.
[0103] The time series features extracted by TCN can accurately reflect the patterns and trends of power load fluctuations over time and are a powerful tool for interpreting dynamic load characteristics.
[0104] Secondly, the factor extraction method based on empirical correlation combines the knowledge of industry experts and historical data analysis. This method integrates domain knowledge to determine candidate factors, identifies influential time series factors through historical data analysis and expert feedback loops, and finally uses dimensionality reduction technology to refine the factor set. This method focuses on mining key time series factors to ensure the interpretability and practicality of the feature set.
[0105] The main execution process of this method is:
[0106] Integrate domain knowledge in power demand forecasting to determine a preliminary set of candidate factors;
[0107] Analyze the correlation between historical load and related time series data to identify the most influential time series factors;
[0108] Through expert feedback loops, the factor set is continuously revised and improved to ensure that the extracted factors show reliable correlation with actual load fluctuations;
[0109] Principal component analysis (PCA) or other dimensionality reduction techniques are used to eliminate redundant and irrelevant features and further refine the factor set.
[0110] The extraction method based on empirical correlation focuses on mining key timing factors using historical experience and expert knowledge to ensure the interpretability and practicality of the feature set.
[0111] In summary, time series feature extraction is a complex and critical task. TCN and factor extraction methods based on empirical correlation have their own advantages, and together they provide strong support for understanding and predicting regional power load.
[0112] S1232. Extract non-time series features from the non-time series data in the processing result to obtain non-time series features.
[0113] In this embodiment, non-time series features refer to features or attributes that do not change over time but have a certain regularity or trend. Different from time series data, non-time series features can be static data features that do not change over time.
[0114] Specifically, non-time series feature extraction refers to the process of extracting variables or attributes that can describe the intrinsic characteristics of data from non-time series data. In the power load forecasting model, user behavior pattern feature extraction is crucial. First, through data mining techniques such as association rule learning or sequence pattern mining, the user's electricity consumption behavior pattern is analyzed and quantified into a feature vector; secondly, the regional economic indicators are converted into understandable features using time series analysis methods such as ARIMA; then, the extracted features are integrated with the time series features to ensure that the model fully understands and predicts the load share; finally, data standardization is performed to ensure that non-time series data from different sources and scales will not cause deviations in the training effect of the model, and Z-score standardization or minimum-maximum normalization operations are performed.
[0115] User behavior pattern feature extraction includes data collection, data preprocessing, feature engineering, user grouping and behavior pattern modeling. First, collect historical data on user electricity consumption and other influencing factors, where historical electricity consumption data includes but is not limited to total electricity consumption, peak power, valley power, etc.; influencing factors include meteorological data (temperature, humidity, wind speed, etc.), holiday information, changes in electricity price policies, etc.; then clean the data and convert the format. Specifically, clean the data to remove outliers, missing values or unreasonable data points; convert the data format, such as converting timestamps to readable formats such as date and time; then extract useful features, create derived features, and perform dimensionality reduction and feature extraction on time series data; specifically, extract useful original features, such as daily electricity consumption peaks, valleys, averages, etc.; create new derived features, for example For example, statistical indicators based on time windows (hours, days, weeks); applying technical means (such as wavelet transform, Fourier transform, etc.) to reduce the dimension and extract features of time series data; then grouping users according to similar behavior patterns and establishing a user behavior model. Specifically, grouping users according to similar electricity consumption behavior patterns to form different user groups; using clustering algorithms (such as K-means, DBSCAN, etc.) for automatic grouping, or manual division based on business knowledge; performing pattern recognition on the electricity consumption behavior of each user group or the entire user group to discover rules and trends; establishing a user behavior model, machine learning methods (such as decision trees, support vector machines, neural networks, etc.) can be used to fit the model.
[0116] The steps for extracting economic development trends include data collection, data preprocessing, feature engineering, and trend identification and modeling. First, collect data related to economic activities, such as GDP, population growth, employment rate, industry output value, etc.; it may also include influencing factors such as energy prices, policy and regulatory changes, and technological innovation; then clean the data and convert the format. Specifically, clean the data to remove outliers, missing values, or unreasonable data points; convert the data format, such as converting timestamps to readable formats such as date and time; then extract useful features, create derived features, and perform dimensionality reduction and feature extraction on the data. Specifically, extract useful original features, such as the annual GDP growth rate, the output value ratio of each industry, etc.; create new derived features, such as statistics based on time windows (quarterly, annual) Indicators; Apply technical means (such as wavelet transform, Fourier transform, etc.) to reduce the dimension and extract features of time series data; Finally, analyze historical economic data, establish an economic trend model, and integrate it with other influencing factors to improve prediction accuracy; Specifically, analyze historical economic data to identify major development trends and cyclical patterns; Establish an economic trend model, and use mathematical models (such as ARIMA, seasonal ARIMA), machine learning methods (such as linear regression, decision trees, neural networks, etc.) to fit the model, and combine the characteristics of economic development trends with other influencing factors (such as population growth, energy prices, etc.) to improve prediction accuracy. These steps orderly construct a complete non-time series feature extraction and modeling process.
[0117] S1233. Evaluate the importance of the time series features and the non-time series features to determine features that meet the requirements and form extraction results.
[0118] In this embodiment, feature importance assessment is a key step to ensure that the model focuses on the most influential features. A variety of methods are used to assess feature importance. First, correlation analysis, such as the Pearson correlation coefficient, is used to measure the strength of the linear relationship between each feature and the target variable; in addition, information theory methods, such as mutual information evaluation, are applied to accurately identify features that have a substantial impact on the prediction target; through a careful feature evaluation process, the model can effectively filter out noise features and focus on the most predictive feature subsets, laying the foundation for building a high-performance personalized prediction model.
[0119] In the correlation analysis stage, a variety of common methods are used, including Pearson correlation coefficient, Spearman rank correlation coefficient, Kendall rank correlation coefficient, chi-square test, distance / similarity measure, principal component analysis, mutual information, conditional entropy, etc. These methods can help quantify the relationship between features and better understand their impact on the target variable.
[0120] In addition, in the information gain evaluation stage, the concept of information gain is introduced, which is derived from entropy and conditional entropy in information theory. Information gain selects the best feature and improves model performance by measuring the contribution of the feature to the classification result. The calculation formula of information gain IG(X, A) = H(X)-H(X|A) clearly shows the contribution of feature A to the classification result, and the optimal feature can be selected according to the size of information gain.
[0121] In summary, through correlation analysis and information gain evaluation, we can comprehensively evaluate the importance of features, optimize the feature selection process of the model, and thus build an efficient personalized prediction model. This method not only helps to improve model performance, but also enables the model to predict the target variable more accurately.
[0122] S124, inputting the extraction result into a machine learning base model for load classification to obtain a load classification result; the machine learning base model adopts supervised and unsupervised training when performing classification.
[0123] In this embodiment, the load classification result refers to the type of load.
[0124] Specifically, firstly, an appropriate machine learning base model is selected to extract and fuse features. Three different machine learning base models are used: support vector machine (SVM), decision tree, and random forest. Support vector machine is a generalized linear classifier that performs binary classification of data by maximizing the margin hyperplane. Decision tree is a decision analysis method used to assess project risks and judge feasibility. Random forest is an ensemble learning method that improves model performance by building multiple decision trees and taking the average or majority vote. In the process of machine learning model selection, cross-validation and parameter optimization are performed to ensure the best performance in the comprehensive prediction task of specific electricity consumption data. Cross-validation can include K-fold cross-validation, leave-one-out cross-validation, and random partition cross-validation; parameter optimization includes grid search, random search, and Bayesian optimization; in practical applications, cross-validation and parameter optimization are usually used in combination, and the best parameter settings are selected through cross-validation to improve the generalization ability and performance of the model.
[0125] In addition, after the machine learning base models are determined, these models will be synthesized. In terms of synthesizing deep learning models, different types of deep learning models are used to extract patterns in time series and non-time series data. These include recurrent neural networks (RNNs), long short-term memory networks (LSTMs), and convolutional neural networks (CNNs). RNNs have short-term memory capabilities and are suitable for processing time series data. LSTMs have the characteristic of selectively memorizing historical information and are suitable for processing sequence predictions with long-term dependencies. CNN is a feedforward neural network that extracts features through convolution calculations and deep structures, and shows significant advantages in processing local features of time series.
[0126] The selection and application of these models are aimed at handling complex, nonlinear data relationships to improve the accuracy and efficiency of the models in electricity consumption data prediction tasks.
[0127] When the machine learning model is classified, supervised learning or unsupervised learning methods are used to learn and classify features. In supervised load pattern recognition, commonly used methods include support vector machines, neural networks, etc., which require labeled training data sets. Unsupervised methods such as K-means clustering and time series analysis do not require labeled data, and directly analyze the characteristics of the load data itself for pattern recognition.
[0128] S125. The load classification results are fused using a fusion strategy to obtain a final classification result.
[0129] In this embodiment, the fusion strategy includes one or more combinations of automated weighted average, voting mechanism, and stack integration method.
[0130] The analysis results processed by the machine-based model need to be integrated through a fusion strategy to obtain the final personalized model. In this process, several fusion strategies are adopted:
[0131] The first is the automated weighted average, which assigns a weight to each data point to determine its importance in calculating the average. Then, the value of each data point is multiplied by the corresponding weight, and the sum is divided by the sum of all weight values to obtain the automated weighted average. This can balance the performance of the base model and the deep learning model on the validation set, optimize the weight parameters, and achieve a balance between detail capture and abstraction capabilities.
[0132] Another fusion strategy is the voting mechanism, which includes hard voting and soft voting. In hard voting, each model independently classifies the test sample and selects the category with the most votes as the final prediction result; while in soft voting, the model provides the probability distribution of the test sample belonging to each category, and the prediction result is finally determined by automatic weighted average.
[0133] In the automated weighted averaging process, different models are mainly assigned different weights to determine the importance of the results of different models in the final prediction.
[0134] There is also a stacked ensemble approach, which trains multiple base models and passes their predictions to the advanced model to generate the final prediction output. This staged approach to the problem can improve the overall prediction performance, including training base models, cross-validation and prediction, combining base model predictions, training advanced models, and evaluation and testing.
[0135] In order to achieve the adaptive capability in model fusion, the second-layer model, namely the meta-model, is designed to learn how to best combine the prediction results of the base model and the deep learning model, and an adaptive weighting strategy is used to continuously adjust the combined weights of each model according to the actual prediction results.
[0136] Specifically, in order to achieve the adaptive capability in the model fusion process, an adaptive weighting strategy will be adopted to continuously adjust the combined weights of each machine learning model and deep learning model according to the actual prediction results. This process requires real-time or regular model performance evaluation, and online learning can be used to adjust the weight of each model input in real time. The final output of the machine learning base model training and fusion part is the total load data of each point in a total of 96 points every 15 minutes every day after the weighted integration of multiple models, the probability distribution of the proportion of different regions, and the probability distribution of the proportion of different categories. These outputs will provide accurate inputs for the fourth part, that is, for different load modes and the contribution of each mode to the total load, which can be used for further load analysis.
[0137] Through the above steps, the recognition model combines the specific understanding of data by the machine learning base model with the powerful feature abstraction ability of the deep learning model, and realizes the optimization of the classification and proportion analysis of the power load of the entire network in different regions. This recognition model not only improves the accuracy of the prediction, but also has a high degree of scalability and adaptability, providing an efficient and reliable decision-making tool for power load management.
[0138] Combining the above steps, this personalized fusion model combines the advantages of machine learning models and deep learning models, improves prediction accuracy, and has scalability and adaptability, providing an efficient and reliable decision-making tool for power load management.
[0139] S126. Determine a recognition model according to the final classification result.
[0140] In this embodiment, in the final classification result verification, it is very important to ensure the accuracy and reliability of the model. The following are the general steps for final classification result verification:
[0141] First, choose an evaluation metric that is appropriate for the problem, such as mean squared error (MSE), mean absolute error (MAE), and root mean square error (RMSE).
[0142] Secondly, the dataset is divided into training set (70%), validation set (15%) and test set (15%). The training set is used to train the model, the validation set is used to adjust the hyperparameters, and the test set is used to evaluate the model performance.
[0143] Next, perform model training and prediction, optimize model performance, and record prediction results.
[0144] Then, calculate the evaluation metrics, compare the model predictions with the actual values, and analyze the results of the evaluation metrics to understand the predictive performance of the model.
[0145] Subsequently, the models are compared and the model with the best performance on the test set is selected as the final model, that is, the recognition model.
[0146] Next is model interpretability analysis, which analyzes the feature importance or weights of the model to better understand and explain the prediction results.
[0147] Finally, organize the model performance evaluation results into a report and compare them with other relevant data.
[0148] When comparing historical data, the system will compare and analyze the calculated results with historical records to verify the accuracy of load classification and proportion analysis.
[0149] Expert system proofreading is the final step to ensure that the analysis results are consistent with the expert system output and maintain a high degree of reliability and accuracy.
[0150] In order to maintain the high adaptability of the model to time changes and changes in electricity consumption behavior, an online learning mechanism is adopted to process data in real time, adapt the model, and make real-time evaluation and adjustments.
[0151] Through real-time data feedback, transfer learning applications and model performance monitoring, the model's adaptability and generalization capabilities are improved to ensure that the model continues to operate efficiently.
[0152] In summary, the accuracy and practicality of the electricity load classification and proportion analysis model are improved to a new level, enabling it to play a greater role in the power industry. It can not only provide accurate predictions after initial training, but also maintain its accuracy and practicality during continuous operation, adaptively learn new data patterns, and ensure that it is always in the best state in the continuous evolution of the power market and smart grid.
[0153] In addition, in terms of the adaptability and optimization of the identification model, the method of this embodiment adopts an online learning implementation mechanism to ensure that the classification and proportion analysis model always maintains the optimal performance for the regional network power load. Online learning technology can help process power load data in real time, automatically update model parameters, and improve prediction accuracy; at the same time, it enables the model to adapt to changes in different time periods and seasons, and evaluate and adjust the prediction effect in real time.
[0154] Among them, real-time data feedback is the key task of the online learning mechanism. By continuously collecting power load data and integrating it into the training data set, the model can gradually adjust parameters through fine-tuning algorithms to adapt to new data characteristics. The online batch processing method can efficiently process large-scale data in the cloud, improve data processing efficiency, and is flexible, economical and scalable.
[0155] In addition, transfer learning technology is also applied to enhance the ability of the recognition model to adapt to various power load patterns. Through transfer learning, the knowledge of the trained model can accelerate the training of the new regional model and improve the model adaptability and generalization ability. In this embodiment, transfer learning technology will be applied. In this technology, the knowledge of the trained model (source model) will be used to accelerate the model training of the new area (target area). Through transfer learning, the load characteristics learned by the source model in one or more areas can be combined with the new target data to learn new characteristics faster, reduce the need for labeled data, and improve the model adaptability and generalization ability.
[0156] To ensure that the model continues to run efficiently, the model performance monitoring module is designed to eliminate poor generalization, parameter changes over time, and ensure the stability of predictions. Accuracy tracking evaluates the model's prediction accuracy by measuring the difference between the prediction and the actual value, such as mean square error and mean absolute error; the delay analysis module is used to monitor the model's low-latency performance to ensure that real-time requirements are met.
[0157] In general, the model of this embodiment not only provides accurate predictions after initial training, but also maintains accuracy and practicality during continuous operation, adaptively learns new data patterns, always maintains the optimal state, and adapts to the development needs of the power market and smart grid.
[0158] The use of online learning and transfer learning can enable continuous and seamless optimization of the model.
[0159] S130. Calculate the load proportion according to the classification result.
[0160] In this embodiment, the load proportion refers to the proportion of each type of load.
[0161] In one embodiment, the above-mentioned step S130 may include steps S131 - S132 .
[0162] S131, calculating the load of each category corresponding to the classification result, and summing them up to obtain a total load;
[0163] S132. Calculate the load proportion according to the load of each category and the total load.
[0164] In this embodiment, the load proportion calculation is a method for determining the proportion of different types of loads in the overall load. The load proportion can be calculated by the following steps:
[0165] First, it is necessary to collect data on various types of loads, such as residential loads, industrial loads, commercial loads, etc. Then, the power consumption of each category is counted and summed up to get the total load. Next, for each type of load, its power consumption is divided by the total power consumption, and then multiplied by 100% to get its percentage of the total load.
[0166] Specifically, the load share includes regional load share and category load share.
[0167] Regional load share refers to the proportion of electricity consumption in a certain area or region in the total load. By analyzing the probability distribution of regional share, the regional load share at each time point can be calculated. This is achieved by integrating the distribution density of each region and converting it into a specific share value. The calculation of regional load share helps to understand the electricity demand and distribution of different regions, and provides an important basis for load scheduling and optimization.
[0168] The category load share calculation method is similar to the regional share algorithm. It evaluates the relative load share of industrial, commercial and residential categories in the entire network, and uses the category probability distribution data in the integrated model output to weigh the importance of each category in the total load. These share values are crucial to understanding the load consumption patterns of different user types and implementing differentiated pricing strategies and load management.
[0169] The method of this embodiment designs a visual interface development on the terminal, which aims to build a dynamic and responsive interface through modern Web technology, and provides rich charts and interactive elements, such as load forecast curves, actual load curves, error analysis, trend analysis, and sensitivity analysis, so that users can intuitively understand the data and make decisions. Users can customize the data range and element filtering and operate through interactive controls.
[0170] In addition, this embodiment realizes real-time data monitoring, uses the WebSocket protocol and server-side push technology to display the current real-time load status of the power grid, and provides early warning signals based on the output of the prediction model to ensure that decision makers can take necessary measures in a timely manner.
[0171] The decision-making recommendation system combines intelligent algorithms to generate recommendations based on data analysis results. Through load forecasting and resource scheduling recommendations, the system can accurately predict future load change trends and propose optimal resource allocation and scheduling strategies to achieve the goals of optimal cost and highest efficiency.
[0172] In order to continuously optimize the method of this embodiment, user feedback collection is crucial. Through user satisfaction surveys and usage data statistics, user feedback is collected and user behavior data is analyzed to continuously optimize system design and meet the needs of users and grid operations.
[0173] In general, the method of this embodiment provides decision makers with accurate and real-time data visualization and decision recommendations, supports the operation and maintenance of the power grid through an integrated model analysis framework, and realizes dynamic optimization of the system through user feedback to adapt to changing needs.
[0174] Traditional models have limitations in processing time-series and non-time-series influencing factors, regionalized data, and customized models, and lack attention to non-time-series influencing factors. The method of this embodiment solves the problems existing in the existing technology in the classification and proportion analysis of the power load of the whole network, aiming to adapt to the diversified and time-varying load characteristics, improve prediction accuracy, optimize resource allocation, and promote the development of smart grids and related services. The method of this embodiment has the following benefits:
[0175] Personalized model training and fusion: Ability to customize personalized fusion models for different regions and electricity consumption data characteristics to better capture factors that affect electricity load.
[0176] Integrated time series and non-time series data: Effectively integrate time series and non-time series data to improve the accuracy of power load analysis.
[0177] Accurate load analysis: Improved sophistication and accuracy through in-depth analysis and machine learning model training.
[0178] Adaptability and flexibility: Ability to self-learn and adapt to new load patterns, maintaining or improving forecasting capabilities.
[0179] Efficient computing performance: Leverages deep learning to process large data sets, suitable for real-time or near real-time power load analysis and forecasting.
[0180] Enhanced decision support: Provides high accuracy and adaptability to help grid operators, electricity market participants and policymakers make more informed decisions.
[0181] Comprehensive load characteristics analysis: In-depth insights into load usage patterns and characteristics of different regions and user groups provide new ideas for demand-side management and energy efficiency improvement.
[0182] The method of this embodiment will promote the progress in the field of energy data science, promote the transformation of smart grid technology and energy management decision-making, and contribute to the sustainable development of the power grid.
[0183] The above-mentioned analysis method of the classification proportion of electricity load in the whole network obtains electricity load data, classifies the load using an identification model, and calculates the load proportion for each category. For the identification model, the machine learning base model is trained by using time series data and non-time series data as sample sets, and the results output by the machine learning base model are fused using a fusion strategy to achieve accurate prediction, comprehensive time series and non-time series data, high adaptability and flexibility, efficient computing performance, enhanced decision support and comprehensive load characteristics analysis, so as to solve the limitations of traditional models in dealing with time series and non-time series influencing factors, regionalized data and customized models, and the shortcomings of lack of sufficient attention to non-time series influencing factors.
[0184] Figure 3 is a schematic block diagram of a network-wide power load classification proportion analysis device 300 provided in an embodiment of the present invention. Figure 3 As shown, corresponding to the above-mentioned whole-network power load classification proportion analysis method, the present invention also provides a whole-network power load classification proportion analysis device 300. The whole-network power load classification proportion analysis device 300 includes a unit for executing the above-mentioned whole-network power load classification proportion analysis method, and the device can be configured in a server. Specifically, please refer to Figure 3 The network-wide power load classification and proportion analysis device 300 includes a data acquisition unit 301, a classification unit 302 and a proportion calculation unit 303.
[0185] The data acquisition unit 301 is used to acquire power load data; the classification unit 302 is used to input the power load data into the recognition model for load classification to obtain a classification result; the proportion calculation unit 303 is used to calculate the load proportion according to the classification result; wherein the training process of the recognition model includes: training the machine learning base model by using time series data and non-time series data as sample sets, and fusing the results output by the machine learning base model using a fusion strategy.
[0186] In one embodiment, a recognition model training unit is further included, and the recognition model training unit includes:
[0187] An initial data acquisition subunit is used to acquire time series data and non-time series data to obtain initial data; a processing subunit is used to process the initial data to obtain a processing result; an extraction subunit is used to perform feature extraction on the processing result to obtain an extraction result; a classification processing subunit is used to input the extraction result into a machine learning base model for load classification to obtain a load classification result; the machine learning base model is trained using supervised and unsupervised methods when performing classification; a fusion subunit is used to fuse the load classification results using a fusion strategy to obtain a final classification result; a determination subunit is used to determine the recognition model based on the final classification result.
[0188] In one embodiment, the processing subunit includes:
[0189] The cleaning module is used to remove outliers from the initial data to obtain a cleaning result; the normalization module is used to normalize the cleaning result to obtain a processing result.
[0190] In one embodiment, the extraction subunit includes:
[0191] The first extraction module is used to extract time series features from the time series data in the processing results to obtain time series features; the second extraction module is used to extract non-time series features from the non-time series data in the processing results to obtain non-time series features; the evaluation module is used to evaluate the importance of the time series features and the non-time series features to determine the features that meet the requirements and form the extraction results.
[0192] In one embodiment, the proportion calculation unit 303 includes a summary subunit and a load proportion calculation subunit.
[0193] The summary subunit is used to calculate the load of each category corresponding to the classification result and summarize it to obtain the total load; the load proportion calculation subunit is used to calculate the load proportion according to the load of each category and the total load.
[0194] It should be noted that technical personnel in the relevant field can clearly understand that the specific implementation process of the above-mentioned network-wide electricity load classification proportion analysis device 300 and each unit can refer to the corresponding description in the aforementioned method embodiment, and for the convenience and conciseness of the description, it will not be repeated here.
[0195] The above-mentioned network-wide power load classification proportion analysis device 300 can be implemented in the form of a computer program, which can be used in the following ways: Figure 4 Runs on the computer device shown.
[0196] See also Figure 4 , Figure 4 5 is a schematic block diagram of a computer device provided in an embodiment of the present application. The computer device 500 may be a server, wherein the server may be an independent server or a server cluster composed of multiple servers.
[0197] See also Figure 4 The computer device 500 includes a processor 502 , a memory and a network interface 505 connected via a system bus 501 , wherein the memory may include a non-volatile storage medium 503 and an internal memory 504 .
[0198] The non-volatile storage medium 503 can store an operating system 5031 and a computer program 5032. The computer program 5032 includes program instructions, and when the program instructions are executed, the processor 502 can execute a method for analyzing the classification proportion of power load in the entire network.
[0199] The processor 502 is used to provide computing and control capabilities to support the operation of the entire computer device 500 .
[0200] The internal memory 504 provides an environment for the operation of the computer program 5032 in the non-volatile storage medium 503. When the computer program 5032 is executed by the processor 502, the processor 502 can execute a method for analyzing the classification proportion of electricity load in the entire network.
[0201] The network interface 505 is used to communicate with other devices over the network. Figure 4 The structure shown in the figure is merely a block diagram of a portion of the structure related to the solution of the present application, and does not constitute a limitation on the computer device 500 to which the solution of the present application is applied. The specific computer device 500 may include more or fewer components than those shown in the figure, or combine certain components, or have a different arrangement of components.
[0202] The processor 502 is used to run the computer program 5032 stored in the memory to implement the following steps:
[0203] Obtaining power load data; inputting the power load data into an identification model to classify the load to obtain a classification result; and calculating the load proportion according to the classification result;
[0204] The training process of the recognition model includes: training a machine learning base model by using time series data and non-time series data as sample sets, and fusing the results output by the machine learning base model using a fusion strategy.
[0205] In one embodiment, when the processor 502 implements the step of training the machine learning base model by using time series data and non-time series data as sample sets and fusing the results output by the machine learning base model using a fusion strategy, the processor 502 specifically implements the following steps:
[0206] Acquire time series data and non-time series data to obtain initial data; process the initial data to obtain processing results; perform feature extraction on the processing results to obtain extraction results; input the extraction results into a machine learning base model for load classification to obtain load classification results; the machine learning base model is trained using supervised and unsupervised methods when performing classification; the load classification results are fused using a fusion strategy to obtain a final classification result; and an identification model is determined based on the final classification result.
[0207] The time series data includes one or more combinations of power load data and meteorological condition data; the non-time series data includes one or more combinations of user behavior patterns and regional economic indicators.
[0208] The fusion strategy includes one or more combinations of automated weighted average, voting mechanism, and stack integration method.
[0209] In one embodiment, when the processor 502 implements the step of processing the initial data to obtain a processing result, the processor 502 specifically implements the following steps:
[0210] Outliers are removed from the initial data to obtain a cleaning result; and data normalization is performed on the cleaning result to obtain a processing result.
[0211] In one embodiment, when the processor 502 implements the step of extracting features from the processing result to obtain the extraction result, the processor 502 specifically implements the following steps:
[0212] Extracting time series features from the time series data in the processing result to obtain time series features; extracting non-time series features from the non-time series data in the processing result to obtain non-time series features; performing importance evaluation on the time series features and the non-time series features to determine features that meet the requirements and form an extraction result.
[0213] In one embodiment, when the processor 502 implements the step of calculating the load proportion according to the classification result, the processor 502 specifically implements the following steps:
[0214] The load of each category corresponding to the classification result is calculated and summarized to obtain the total load; the load proportion is calculated according to the load of each category and the total load.
[0215] It should be understood that in the embodiment of the present application, the processor 502 may be a central processing unit (CPU), and the processor 502 may also be other general-purpose processors, digital signal processors (DSP), application-specific integrated circuits (ASIC), field-programmable gate arrays (FPGA) or other programmable logic devices, discrete gate or transistor logic devices, discrete hardware components, etc. Among them, the general-purpose processor may be a microprocessor or the processor may also be any conventional processor, etc.
[0216] It can be understood by those skilled in the art that all or part of the processes in the method for implementing the above embodiment can be completed by instructing the relevant hardware through a computer program. The computer program includes program instructions, and the computer program can be stored in a storage medium, which is a computer-readable storage medium. The program instructions are executed by at least one processor in the computer system to implement the process steps of the embodiment of the above method.
[0217] Therefore, the present invention also provides a storage medium. The storage medium may be a computer-readable storage medium. The storage medium stores a computer program, wherein when the computer program is executed by a processor, the processor executes the following steps:
[0218] Acquire time series data and non-time series data to obtain initial data; process the initial data to obtain processing results; perform feature extraction on the processing results to obtain extraction results; input the extraction results into a machine learning base model for load classification to obtain load classification results; the machine learning base model is trained using supervised and unsupervised methods when performing classification; the load classification results are fused using a fusion strategy to obtain a final classification result; and an identification model is determined based on the final classification result.
[0219] The time series data includes one or more combinations of power load data and meteorological condition data; the non-time series data includes one or more combinations of user behavior patterns and regional economic indicators.
[0220] The fusion strategy includes one or more combinations of automated weighted average, voting mechanism, and stack integration method.
[0221] In one embodiment, when the processor executes the computer program to implement the step of training the machine learning base model by using time series data and non-time series data as a sample set, and fusing the results output by the machine learning base model using a fusion strategy, the following steps are specifically implemented:
[0222] Acquire time series data and non-time series data to obtain initial data; process the initial data to obtain processing results; perform feature extraction on the processing results to obtain extraction results; input the extraction results into a machine learning base model for load classification to obtain load classification results; the machine learning base model is trained using supervised and unsupervised methods when performing classification; the load classification results are fused using a fusion strategy to obtain a final classification result; and an identification model is determined based on the final classification result.
[0223] The time series data includes one or more combinations of power load data and meteorological condition data; the non-time series data includes one or more combinations of user behavior patterns and regional economic indicators.
[0224] In one embodiment, when the processor executes the computer program to implement the step of processing the initial data to obtain a processing result, the processor specifically implements the following steps:
[0225] Outliers are removed from the initial data to obtain a cleaning result; and data normalization is performed on the cleaning result to obtain a processing result.
[0226] In one embodiment, when the processor executes the computer program to implement the step of extracting features from the processing result to obtain an extraction result, the processor specifically implements the following steps:
[0227] Extracting time series features from the time series data in the processing result to obtain time series features; extracting non-time series features from the non-time series data in the processing result to obtain non-time series features; performing importance evaluation on the time series features and the non-time series features to determine features that meet the requirements and form an extraction result.
[0228] In one embodiment, when the processor executes the computer program to implement the step of calculating the load proportion according to the classification result, the processor specifically implements the following steps:
[0229] The load of each category corresponding to the classification result is calculated and summarized to obtain the total load; the load proportion is calculated according to the load of each category and the total load.
[0230] The storage medium may be a USB flash drive, a mobile hard disk, a read-only memory (ROM), a magnetic disk, or an optical disk, etc., which are computer-readable storage media that can store program codes.
[0231] Those of ordinary skill in the art will appreciate that the units and algorithm steps of each example described in conjunction with the embodiments disclosed herein can be implemented in electronic hardware, computer software, or a combination of the two. In order to clearly illustrate the interchangeability of hardware and software, the composition and steps of each example have been generally described in terms of function in the above description. Whether these functions are performed in hardware or software depends on the specific application and design constraints of the technical solution. Professional and technical personnel can use different methods to implement the described functions for each specific application, but such implementation should not be considered to be beyond the scope of the present invention.
[0232] In the several embodiments provided by the present invention, it should be understood that the disclosed devices and methods can be implemented in other ways. For example, the device embodiments described above are only schematic. For example, the division of each unit is only a logical function division, and there may be other division methods in actual implementation. For example, multiple units or components can be combined or integrated into another system, or some features can be ignored or not executed.
[0233] The steps in the method of the embodiment of the present invention can be adjusted in order, combined and deleted according to actual needs. The units in the device of the embodiment of the present invention can be combined, divided and deleted according to actual needs. In addition, the functional units in the various embodiments of the present invention can be integrated into one processing unit, or each unit can exist physically separately, or two or more units can be integrated into one unit.
[0234] If the integrated unit is implemented in the form of a software functional unit and sold or used as an independent product, it can be stored in a storage medium. Based on this understanding, the technical solution of the present invention is essentially or the part that contributes to the prior art, or all or part of the technical solution can be embodied in the form of a software product, and the computer software product is stored in a storage medium, including a number of instructions for a computer device (which can be a personal computer, terminal, or network device, etc.) to perform all or part of the steps of the method described in each embodiment of the present invention.
[0235] The above is only a specific embodiment of the present invention, but the protection scope of the present invention is not limited thereto. Any technician familiar with the technical field can easily think of various equivalent modifications or replacements within the technical scope disclosed by the present invention, and these modifications or replacements should be included in the protection scope of the present invention. Therefore, the protection scope of the present invention shall be based on the protection scope of the claims.
Claims
1. A method for analyzing the proportion of electricity load classified in the entire network, characterized in that: include: Obtain electricity load data; Inputting the power load data into the identification model to perform load classification to obtain a classification result; Calculate the load proportion based on the classification results; The training process of the recognition model includes: training a machine learning base model by using time series data and non-time series data as sample sets, and fusing the results output by the machine learning base model using a fusion strategy; The time series data includes one or more combinations of power load data and meteorological condition data; the non-time series data includes one or more combinations of user behavior patterns and regional economic indicators.
2. The method for analyzing the proportion of electricity load classified in the entire network according to claim 1 is characterized in that: The method uses time series data and non-time series data as sample sets to train the machine learning base model, and fuses the results output by the machine learning base model using a fusion strategy, including: Acquire time series data and non-time series data to obtain initial data; Processing the initial data to obtain a processing result; Performing feature extraction on the processing result to obtain an extraction result; The extraction result is input into a machine learning base model for load classification to obtain a load classification result; the machine learning base model is trained in a supervised and unsupervised manner when performing classification; The load classification results are fused using a fusion strategy to obtain a final classification result; A recognition model is determined according to the final classification result.
3. The method for analyzing the proportion of electricity load classified in the entire network according to claim 2 is characterized in that: The processing of the initial data to obtain a processing result includes: Removing outliers from the initial data to obtain a cleaning result; The cleaning results are normalized to obtain processing results.
4. The method for analyzing the proportion of electricity load classified in the entire network according to claim 2 is characterized in that: The performing feature extraction on the processing result to obtain an extraction result includes: Extracting time series features from the time series data in the processing result to obtain time series features; Extracting non-time series features from the non-time series data in the processing result to obtain non-time series features; The importance of the time series features and the non-time series features is evaluated to determine the features that meet the requirements and form an extraction result.
5. The method for analyzing the proportion of electricity load classified in the whole network according to claim 1 is characterized in that: The fusion strategy includes one or more combinations of automated weighted average, voting mechanism, and stack integration method.
6. The method for analyzing the proportion of electricity load classified in the entire network according to claim 1 is characterized in that: The calculation of the load proportion according to the classification result includes: Calculating the load of each category corresponding to the classification result, and summing them up to obtain a total load; The load share is calculated based on the load amount of each category and the total load amount.
7. The method for analyzing the proportion of electricity load classified in the whole network according to claim 1 is characterized in that: The recognition model improves the adaptability and generalization ability of the model through real-time data feedback, transfer learning application and model performance monitoring. Real-time data feedback is a key task of the online learning mechanism. By continuously collecting power load data and integrating it into the training data set, the model gradually adjusts parameters through fine-tuning algorithms to adapt to new data characteristics; the knowledge of the trained model will be used to accelerate the model training in new areas. Through transfer learning, the load characteristics learned by the source model in one or more areas are combined with the new target data.
8. A device for analyzing the proportion of electricity load classified in the entire network, characterized in that: include: A data acquisition unit, used for acquiring power load data; A classification unit, used for inputting the power load data into the recognition model to classify the load to obtain a classification result; A proportion calculation unit, used to calculate the load proportion according to the classification result; The training process of the recognition model includes: training a machine learning base model by using time series data and non-time series data as sample sets, and fusing the results output by the machine learning base model using a fusion strategy; The time series data includes one or more combinations of power load data and meteorological condition data; the non-time series data includes one or more combinations of user behavior patterns and regional economic indicators.
9. A computer device, characterized in that: The computer device comprises a memory and a processor, wherein a computer program is stored in the memory, and when the processor executes the computer program, the method according to any one of claims 1 to 7 is implemented.
10. A storage medium, characterized in that: The storage medium stores a computer program, and when the computer program is executed by a processor, the method according to any one of claims 1 to 7 is implemented.
Citation Information
Cited By
Abnormal recognition method and device, computer equipment and storage medium
CN119558986A
Model training method, electric load prediction method, equipment and storage medium
CN120354380A
