Multi-factor driven electricity consumption information mining method and device and electronic equipment

By employing a multi-factor driven electricity consumption intelligence mining method, the problem of insufficient identification of electricity consumption behavior drivers in urban energy management has been solved, enabling refined monitoring and management of electricity consumption in the city as a whole and in specific industries, and providing refined intelligence support.

CN123158595APending Publication Date: 2026-11-24STATE GRID ZHEJIANG ELECTRIC POWER CO LTD JIAXING POWER SUPPLY CO
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202611657413.6
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2026-10-26
Publication Date
2026-11-24

AI Technical Summary

Technical Problem

Existing methods struggle to systematically identify the driving effects, lag times, and nonlinear transmission paths of different external factors on electricity consumption across various industries in urban energy management, resulting in a lack of refined intelligence support for urban sector-specific electricity consumption monitoring and demand-side management.

Method used

By employing a multi-factor driven electricity consumption intelligence mining method, we obtain overall urban and sub-sector electricity consumption data. Combined with external influencing factors such as economy, society, and meteorology, we perform unified time processing and quality control, screen candidate driving factors, decompose them into multiple time scales, establish sparse regression models and nonlinear relationship models, identify significant mediating transmission paths, and generate electricity consumption intelligence and transmission path networks.

Benefits of technology

It enables refined monitoring and management of electricity consumption behavior in the city as a whole and in specific industries, provides refined intelligence support, and offers effective data support for electricity consumption monitoring, industry operation analysis, and energy allocation in different industries.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN123158595A_ABST
    Figure CN123158595A_ABST
Patent Text Reader

Abstract

This invention discloses a multi-factor driven electricity consumption intelligence mining method, apparatus, and electronic equipment, comprising: screening candidate driving factors from multiple external influencing factors based on the correlation between the electricity load sequence of the industry to be analyzed and the electricity consumption intelligence index sequences of various external influencing factors; performing multi-time-scale decomposition on the electricity load sequence to obtain multiple modal components with different center frequencies; constructing sparse regression models for each modal component based on the current time-time characteristics and multiple lag time-time characteristics for the electricity consumption intelligence index sequences of the candidate driving factors to identify effective driving factors at each time scale; constructing independent variables and candidate mediating variables according to the categories of effective driving factors, and establishing nonlinear relationship models for each modal component to identify significant mediating transmission paths; and generating electricity consumption intelligence and transmission path networks for the industry to be analyzed at different time scales. This invention can improve the interpretability of electricity intelligence analysis.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] This invention relates to the field of power data analysis technology, specifically to a multi-factor driven method, apparatus, and electronic device for mining electricity consumption information. Background Technology

[0002] In urban energy management and power system operation, overall urban electricity load data is typically collected and combined with external factors such as economic, meteorological, and social factors for load analysis and forecasting. However, existing methods mostly focus on overall load forecasting or trend analysis, with less emphasis on the electricity consumption behavior of specific sub-sectors within the city. This makes it difficult to systematically identify the driving effects of different external factors on electricity consumption in various sectors, their lag times, and nonlinear transmission paths. Furthermore, existing analyses usually examine the relationship between load and external factors only from a single time scale, failing to distinguish the differences in driving factors under long-term trends, medium-term cycles, and short-term fluctuations. This results in a lack of refined intelligence support for urban sector-specific electricity consumption monitoring, sector operation assessment, and demand-side management, affecting the level of precision in energy allocation and management. Summary of the Invention

[0003] This invention provides a multi-factor driven method, apparatus, electronic device, storage medium, and program product for mining electricity consumption information, in order to solve the problem of poor interpretability in electricity consumption information analysis.

[0004] In a first aspect, the present invention provides a multi-factor driven method for mining electricity consumption information, the method comprising: The electricity load data and external influencing factor data of the industry to be analyzed are extracted at preset time intervals to obtain the electricity load sequence and the electricity intelligence index sequence of each external influencing factor. Based on the correlation between the electricity load sequence and the electricity consumption information index sequence, candidate driving factors are selected from multiple external influencing factors. The electrical load sequence is decomposed into multiple time scales to obtain multiple modal components with different center frequencies; For the electricity consumption intelligence index sequence of the candidate driving factors, a sparse regression model with regularization constraints is established with the current time feature and multiple lag time features as independent variables and the modal components corresponding to each time scale as dependent variables, to identify the effective driving factors and their direction of action, contribution rate and dominant lag time at each time scale. Based on the categories of effective driving factors, candidate mediator variables with mechanistic constraints and their corresponding independent variable sets are constructed. Nonlinear relationship models are established for the independent variables, candidate mediator variables and modal components of the corresponding time scales. The strength of direct action, the strength of indirect transmission and the proportion of mediating transmission are calculated, and significant mediating transmission paths are identified. Based on the effective driving factors, their contribution rates and dominant lag times, and significant mediating transmission paths, electricity consumption intelligence and transmission path networks of the industry to be analyzed at different time scales are generated.

[0005] In one optional implementation, the electricity load data and external influencing factor data of the industry to be analyzed are extracted at preset time intervals to obtain an electricity load sequence and an electricity consumption intelligence index sequence for each external influencing factor, including: Acquire electricity load data and external influencing factor data; wherein, the external influencing factor data includes economic indicators, meteorological indicators, and date attributes; The electricity load data and the external influencing factor data are mapped to a unified time scale according to a preset time interval, a unified timestamp is generated, and sorted and matched according to the unified timestamp; The matched numerical data are standardized and preprocessed, and the categorical data are numerically encoded to obtain the electricity load sequence and the electricity consumption intelligence index sequence of various external influencing factors.

[0006] In one optional implementation, candidate driving factors are selected from multiple external influencing factors based on the correlation between the electricity load sequence and the electricity consumption information index sequence, including: Based on the electricity load sequence and the electricity information index sequence, calculate the Pearson correlation coefficient between each external influencing factor and the target load; Based on the electricity load sequence and the electricity intelligence index sequence, calculate the grey correlation degree between each external influencing factor and the target load; If the absolute value of the Pearson correlation coefficient of the corresponding external influencing factor is greater than or equal to the preset correlation coefficient, or the grey correlation degree is greater than or equal to the preset correlation degree threshold, the external influencing factor is determined as a candidate driving factor.

[0007] In one optional implementation, the electrical load sequence is decomposed into multiple time-scale components to obtain multiple modal components with different center frequencies, including: By constructing a variational problem and decomposing the original load sequence into K eigenmode functions with finite bandwidth; The number of modal components, penalty factor, convergence tolerance, initialization method, and whether to retain the DC component are set. The alternating direction multiplier method is used to iteratively solve for each modal component and its center frequency. The modal components are sorted from low to high according to their corresponding center frequencies; among them, the modal components with lower center frequencies represent long-term change trends, the modal components with intermediate center frequencies represent medium-term periodic changes, and the modal components with higher center frequencies represent short-term fluctuations.

[0008] In one optional implementation, for the electricity consumption intelligence index sequence of the candidate driving factors, a sparse regression model with regularization constraints is established, using the current time-time characteristics and multiple lag time-time characteristics as independent variables, and the modal components corresponding to each time scale as dependent variables, to identify the effective driving factors and their direction of action, contribution rate, and dominant lag time at each time scale, including: For each candidate driving factor, the factor value corresponding to one or more sampling intervals before the target time is found based on the timestamp, forming the hysteresis characteristics of the candidate driving factor at each order; The current time characteristics and lag characteristics of each candidate driving factor at the target time are used as independent variables, and the modal components of each time scale at the target time are used as dependent variables to construct a sparse regression model for each time scale. Based on the sparse regression model, identify the effective driving factors, their direction of action, contribution rate, and dominant lag time at each time scale.

[0009] In one optional implementation, based on the sparse regression model, the effective driving factors at each time scale, their direction of action, contribution rate, and dominant lag time are identified, including: The current-time features and lag-time features with non-zero regression coefficients are identified as the effective driving factors at the corresponding time scale. The direction of action of each effective driving factor is determined by the sign of the regression coefficient; For each effective driving factor, the contribution rate of the effective driving factor is obtained by dividing the sum of the absolute values ​​of the regression coefficients of the current time feature and the lag features corresponding to the effective driving factor by the sum of the absolute values ​​of the regression coefficients of all features. For each effective driving factor, the lag order of the feature corresponding to the maximum absolute value of the contribution rate is determined as the dominant lag order, and the dominant lag time is determined according to the sampling time interval corresponding to the dominant lag order.

[0010] In one optional implementation, a set of candidate mediator variables with mechanistic constraints and their corresponding independent variables is constructed based on the categories of effective driving factors. A nonlinear relationship model is established for the independent variables, candidate mediator variables, and modal components at corresponding time scales. The strength of direct action, the strength of indirect transmission, and the proportion of mediating transmission are calculated to identify significant mediating transmission paths, including: For each time scale, based on the effective driving factors corresponding to the time scale, a set of candidate mediator variables with mechanistic constraints and their corresponding independent variables are constructed; wherein, the independent variables in the set of independent variables are of the same category as the candidate mediator variables; the mediator variables and the independent variables belong to the current time characteristics and lag time characteristics of the effective driving factors; For each mediating variable, based on the set of independent variables of the mediating variable, a mediation transmission function is established between the mediating variable and the independent variables in the set of independent variables; Construct a nonlinear relationship model between the current-time characteristics and lag characteristics of the mediating transmission function and the effective driving factors, and the corresponding modal components; Based on the mediation transmission function and the nonlinear relationship model, the intensity of direct action, the intensity of indirect transmission, and the proportion of mediation are calculated to identify significant mediation transmission paths.

[0011] In one optional implementation, a nonlinear relationship model is constructed between the current-time characteristics and lag characteristics of the mediation transmission function and the effective driving factors, and the corresponding modal components, including: according to Construct a nonlinear relationship model; among which, For the first Modal components corresponding to each time scale The direct action function of the effective driving factors on the modal components, Let be the function of the mediator variable on the modal components. , It is a non-linear relationship function between the independent variable and the mediating variable. , This represents random error.

[0012] In one optional implementation, the direct action intensity, indirect conduction intensity, and proportion of mediated conduction are calculated based on the mediation function and the nonlinear relationship model, including: For each independent variable, the magnitude of the first effect of the independent variable on the mediator variable is calculated based on the partial dependence result of the mediation transmission function. Based on the partial dependence results of the corresponding terms of the mediator variables in the nonlinear relationship model, calculate the magnitude of the second effect of the mediator variables on the modal components; Multiplying the first effect amplitude by the second effect amplitude yields the indirect conduction strength; Based on the partial dependency results of the corresponding terms of the independent variables in the nonlinear relationship model, the direct effect magnitude of the independent variables on the modal components is calculated to obtain the direct effect strength. The proportion of mediated transmission of the independent variable is obtained by dividing the absolute value of the indirect transmission intensity by the sum of the absolute values ​​of the indirect transmission intensity and the direct action intensity.

[0013] In one alternative implementation, identifying significant mediating pathways includes: Obtain the first p-value between the independent variable and the mediator variable, and the second p-value between the mediator variable and the modal component, respectively; If the first p-value is less than the first significance level and the second p-value is less than the second significance level, the corresponding independent variable-mediation variable-modal component path is determined as a significant mediation transmission path.

[0014] In an optional implementation, after determining the corresponding independent variable-mediation variable-modal component path as a significant mediating transmission path, the method further includes: When there are two mutually inverse significant mediation transmission paths formed by the exchange of independent and mediating variables under the same time scale and the same target modal component, the two mutually inverse significant mediation transmission paths are ranked according to a preset ranking strategy to obtain the comprehensive priority of each significant mediation transmission path; wherein, the preset ranking strategy is to rank them according to the priority order of indirect transmission strength and mediating transmission ratio. The most significant mediating transmission path with the highest overall priority is identified as the target significant transmission path. Accordingly, the step of generating electricity consumption intelligence and transmission path networks for the industry to be analyzed at different time scales based on the effective driving factors, their contribution rates and lag times, and significant mediating transmission paths includes: Based on the effective driving factors, their contribution rates and lag times, and the significant transmission path of the target, electricity consumption intelligence and transmission path network of the industry to be analyzed at different time scales are generated.

[0015] Secondly, the present invention provides a multi-factor driven electricity consumption information mining device, the device comprising: The intelligence extraction module is used to extract intelligence from the electricity load data and external influencing factor data of the industry to be analyzed at preset time intervals, so as to obtain the electricity load sequence and the electricity intelligence index sequence of each external influencing factor. The factor screening module is used to screen candidate driving factors from multiple external influencing factors based on the correlation between the electricity load sequence and the electricity intelligence index sequence. The load decomposition module is used to decompose the electrical load sequence into multiple time scales to obtain multiple modal components with different center frequencies. The feature regression module is used to establish a sparse regression model with regularization constraints for the electricity consumption intelligence index sequence of the candidate driving factors, with the current time feature and multiple lag time features as independent variables and the modal components corresponding to each time scale as dependent variables, to identify the effective driving factors and their direction of action, contribution rate and dominant lag time at each time scale. The path identification module is used to construct candidate mediator variables with mechanistic constraints and their corresponding independent variable sets based on the categories of effective driving factors. It establishes a nonlinear relationship model for the independent variables, candidate mediator variables and modal components of the corresponding time scale, calculates the intensity of direct action, indirect transmission intensity and mediating transmission ratio, and identifies significant mediating transmission paths. The intelligence generation module is used to generate electricity consumption intelligence and transmission path network of the industry to be analyzed at different time scales based on the effective driving factors, their contribution rates and dominant lag times, and significant mediating transmission paths.

[0016] Thirdly, the present invention provides an electronic device, including a memory and a processor, wherein the memory stores a computer program, and the processor executes the computer program to implement the multi-factor driven electricity consumption information mining method described in the first aspect or any corresponding embodiment.

[0017] Fourthly, the present invention provides a computer-readable storage medium storing a computer program that, when executed by a processor, implements the multi-factor driven electricity consumption information mining method described in the first aspect or any corresponding embodiment thereof.

[0018] Fifthly, the present invention provides a computer program product, including a computer program that, when executed by a processor, implements the multi-factor driven electricity consumption information mining method described in the first aspect or any corresponding embodiment thereof.

[0019] This invention provides a multi-factor driven method for mining electricity consumption intelligence. It acquires overall urban and sub-sector electricity consumption data, as well as data on external influencing factors such as economic, social, and meteorological factors. The method performs unified time processing and quality control on multi-source data to extract electricity consumption intelligence indicators. Based on this, it jointly uses correlation coefficients and grey relational analysis to screen candidate driving factors. It decomposes the overall urban and sub-sector loads into multiple time scales, using long-term trend components, medium-term cycle components, and short-term fluctuation components as analysis targets. For candidate driving factors, it constructs current-time features and lag-time features based on real timestamps, establishes a sparse regression model with regularization constraints, and identifies effective driving factors at each time scale, along with their direction of action, contribution rate, and dominant lag time. Furthermore, it constructs a set of candidate mediating variables with mechanistic constraints based on the categories of effective driving factors, establishes a nonlinear relationship model, calculates the direct effect intensity, indirect transmission intensity, and mediating transmission ratio, and identifies significant mediating transmission paths. Finally, it forms a network of electricity consumption intelligence and transmission paths for the overall urban and sub-sectors at different time scales, providing refined intelligence support for urban sectoral electricity consumption monitoring, industry operation analysis, demand-side management, and energy allocation. Attached Figure Description

[0020] To more clearly illustrate the specific embodiments of the present invention or the technical solutions in the prior art, the drawings used in the description of the specific embodiments or the prior art will be briefly introduced below. Obviously, the drawings described below are some embodiments of the present invention. For those skilled in the art, other drawings can be obtained from these drawings without creative effort.

[0021] Figure 1 This is a flowchart illustrating a multi-factor driven electricity consumption information mining method provided in an embodiment of the present invention.

[0022] Figure 2 This is a schematic diagram of a nonlinear conduction path network provided in an embodiment of the present invention.

[0023] Figure 3 This is a flowchart of multi-timescale load decomposition and driving factor analysis provided in an embodiment of the present invention.

[0024] Figure 4(a) is a schematic diagram of the industrial load data change curve provided in an embodiment of the present invention.

[0025] Figure 4(b) is a schematic diagram of industrial load data after logarithmic transformation according to an embodiment of the present invention.

[0026] Figure 5 This is an industrial load VMD decomposition diagram provided in an embodiment of the present invention.

[0027] Figure 6(a) is a bar chart of the contribution rate of long-term driving factors of industrial load provided in an embodiment of the present invention.

[0028] Figure 6(b) is a bar chart of the contribution rate of medium-scale driving factors of industrial load provided in an embodiment of the present invention.

[0029] Figure 6(c) is a bar chart of the contribution rate of short-term driving factors of industrial load provided in an embodiment of the present invention.

[0030] Figure 7 This is a three-scale nonlinear transmission path integrated network diagram provided in an embodiment of the present invention.

[0031] Figure 8(a) is a diagram of a long-term trend scale transmission network provided in an embodiment of the present invention.

[0032] Figure 8(b) is a diagram of the medium-term trend scale transmission network provided in an embodiment of the present invention.

[0033] Figure 8(c) is a short-term trend scale transmission network diagram provided in an embodiment of the present invention.

[0034] Figure 9This is a structural block diagram of a multi-factor driven electricity consumption information mining device provided in an embodiment of the present invention.

[0035] Figure 10 This is a schematic diagram of the hardware structure of an electronic device provided in an embodiment of the present invention. Detailed Implementation

[0036] To make the objectives, technical solutions, and advantages of the embodiments of the present invention clearer, the technical solutions of the embodiments of the present invention will be clearly and completely described below with reference to the accompanying drawings. Obviously, the described embodiments are only some embodiments of the present invention, not all embodiments. Based on the embodiments of the present invention, all other embodiments obtained by those skilled in the art without creative effort are within the scope of protection of the present invention.

[0037] It is understood that before using the technical solutions disclosed in the various embodiments of the present invention, users should be informed of the types, scope of use, and usage scenarios of the personal information involved in the present invention and their authorization should be obtained in accordance with relevant laws and regulations through appropriate means.

[0038] In urban energy management and power system operation analysis, it is typically necessary to obtain overall urban electricity load data and conduct correlation analysis and load forecasting in conjunction with external influencing factors such as economic, meteorological, and social factors. For example, by calculating the correlation coefficient between external factors and overall load, the main factors affecting load can be screened out, and then regression models or time series models can be established to predict or determine the trend of overall urban electricity load.

[0039] However, the overall urban electricity load is the sum of the electricity loads of multiple sub-sectors. Different sectors exhibit significant differences in production methods, electrical equipment, work schedules, and seasonal responses. Their electricity consumption behavior is influenced by economic, meteorological, and social factors to varying degrees, in different directions, and with different lag times. If only the overall urban load is used as the object of analysis, these sectoral differences will be averaged out or even masked, making it difficult to accurately reflect the driving characteristics of electricity consumption in each sub-sector. This results in a lack of refined intelligence support for urban sectoral electricity consumption monitoring, sectoral operation analysis, and demand-side management.

[0040] Furthermore, the load series itself contains variations across different time scales. For example, the long-term trend component may be primarily influenced by slowly changing factors such as economic output and industrial restructuring; the medium-term cyclical component may be mainly affected by cyclical factors such as working days, holidays, and seasons; and the short-term fluctuation component may be primarily influenced by short-term weather changes and intraday production rhythms. Current methods, when decomposing the load, often only use the decomposition results for forecast reconstruction, without considering the different time-scale components as separate analytical targets. Therefore, they cannot distinguish the differences in the roles of economic, social, and meteorological factors at different time scales.

[0041] Furthermore, the effects of external factors on electricity load are not always direct and linear. For example, temperature may indirectly affect electricity load by influencing meteorological variables such as humidity and cloud cover; weekday characteristics may indirectly affect industry electricity consumption by influencing production rhythms; and economic indicators may indirectly transmit effects by influencing economic activity variables such as industrial added value. If only direct correlations are analyzed without considering the intermediate transmission processes, important indirect effects may be overlooked, and it will be difficult to explain the complex nonlinear relationships between variables.

[0042] In related technologies, a single correlation index is often used to screen driving factors, which may easily overlook factors that are not linearly correlated with the load but have similar trends; or regression models are only built on a single time scale, which cannot quantify the contribution rate and lag time of each factor on long-term, medium-term and short-term scales; or there is a lack of mechanistic constraints, and mediation analysis is performed on arbitrary combinations of variables, resulting in the identified transmission paths lacking practical explanatory significance.

[0043] Based on this, the present invention provides a multi-factor driven electricity consumption intelligence mining method. By acquiring overall urban and sub-sector electricity consumption data, as well as data on external influencing factors such as economic, social, and meteorological factors, the method performs unified time processing and quality control on multi-source data to extract electricity consumption intelligence indicators. On this basis, correlation coefficients and grey relational analysis are jointly used to screen candidate driving factors. The overall urban and sub-sector loads are decomposed into multiple time scales, with long-term trend components, medium-term cycle components, and short-term fluctuation components serving as analysis targets. For candidate driving factors, current-time features and lag-time features based on real timestamps are constructed, and a sparse regression model with regularization constraints is established to identify effective driving factors at each time scale, along with their direction of action, contribution rate, and dominant lag time. Furthermore, based on the categories of effective driving factors, a set of candidate mediating variables with mechanistic constraints is constructed, and a nonlinear relationship model is established to calculate the direct effect intensity, indirect transmission intensity, and mediating transmission ratio, identifying significant mediating transmission paths. Finally, an electricity consumption intelligence and transmission path network for the overall urban and sub-sectors at different time scales is formed, providing refined intelligence support for urban sector electricity consumption monitoring, industry operation analysis, demand-side management, and energy allocation.

[0044] Please see Figure 1 This invention provides a multi-factor driven method for mining electricity consumption intelligence. This method can be applied to scenarios such as urban energy management, industry electricity consumption analysis, and electricity demand-side management. It is used to extract electricity consumption characteristics of the industry to be analyzed from multi-source data, identify the driving effects of external factors such as economic, social, and meteorological factors on electricity load, and form an interpretable electricity consumption intelligence and transmission path network. The method may include steps S110 to S160.

[0045] Step S110: Extract information from the electricity load data and external influencing factor data of the industry to be analyzed at preset time intervals to obtain the electricity load sequence and the electricity intelligence index sequence of each external influencing factor.

[0046] In this embodiment, the industry to be analyzed can be the overall electricity consumption of the city, a specific sub-sector within the city, or a primary, secondary, tertiary, or other pre-defined sub-sector level constructed based on industry classification precision. The electricity load data of the industry to be analyzed is used to characterize the industry's power consumption at each sampling time. This data can be obtained through an industry-level electricity consumption statistics system, or by aggregating the loads of electricity consumers belonging to the same industry category based on the attribution relationship between the electricity consumer and the industry category.

[0047] External influencing factor data should include at least economic indicators, meteorological indicators, and date attributes. Economic indicators may include regional GDP, total import and export volume, industrial added value, and industrial and commercial electricity prices; meteorological indicators may include temperature, dew point temperature, relative humidity, precipitation, cloud cover, wind speed, wind direction, air pressure, solar radiation, and surface albedo; date attributes may include weekday attributes, weekend attributes, holiday attributes, weekday attributes, and seasonal attributes. External influencing factor data is used to reflect external conditions that may cause changes in electricity load from different dimensions.

[0048] Intelligence extraction based on preset time intervals refers to unifying the electricity load data and external influencing factor data of the industry to be analyzed to the same time scale, and then extracting an indicator sequence that reflects the electricity consumption status and external influencing factor status for that time scale. Specifically, the preset time interval can be set to hours, 15 minutes, 30 minutes, days, or other time intervals. When the date and time fields are stored separately, the date and time fields can be combined to generate a unified timestamp for the corresponding records, and the electricity load data and external influencing factor data can be sorted and matched according to the unified timestamp.

[0049] After standardizing the time scale, the matched data can be preprocessed using standardization methods. For example, this includes standardizing the storage format of dates, times, and timestamps; detecting and handling duplicate timestamps; counting the number of valid sampling points within each statistical period, identifying missing times and time breaks; converting load data and continuous external influencing factors into numerical data; marking infinite values, unresolvable values, and outliers exceeding a preset reasonable range as null values; performing one-heat coding, label coding, or other numerical processing on discrete variables such as weather conditions; and normalizing or standardizing continuous external influencing factors of different dimensions to convert them to a uniform numerical range. For load data, when load values ​​have a significant right-skewed distribution or contain a small number of extreme values, a logarithmic transformation can be performed under the condition that the load values ​​are non-negative to reduce the impact of extreme values ​​on subsequent parameter estimation and factor selection results.

[0050] Based on this, for each electricity consumer, an electricity load sequence is formed by arranging them according to a unified timestamp. External influencing factor data also forms a corresponding electricity consumption intelligence indicator sequence, that is, the sequence of indicator values ​​for each external influencing factor within its corresponding statistical period. The electricity load sequence and the electricity consumption intelligence indicator sequences for each external influencing factor together constitute the data foundation for subsequent analysis.

[0051] Step S120: Based on the correlation between the electricity load sequence and the electricity information index sequence, candidate driving factors are selected from multiple external influencing factors.

[0052] In this embodiment, the correlation degree is used to quantify the strength and consistency of the relationship and changing trend between external influencing factors and the target load, and to screen out factors with potential driving effects on electricity load from a large number of external influencing factors. Specifically, the Pearson correlation coefficient and grey relational degree between each external influencing factor and the target load can be calculated separately. The Pearson correlation coefficient is used to characterize the direction and strength of the linear relationship between the external influencing factor and the target load; the grey relational degree is used to characterize the similarity between the sequence of external influencing factors and the sequence of target load in terms of changing trend and sequence shape.

[0053] When the absolute value of the Pearson correlation coefficient of a certain external influencing factor reaches a preset correlation coefficient threshold, or its grey relational degree reaches a preset grey relational degree threshold, the external influencing factor is identified as a candidate driving factor. In this way, factors with a strong linear correlation with the target load can be retained, as well as factors with a lower degree of linear correlation but whose changing trend is relatively consistent with the target load, reducing the possibility of missing candidate driving factors due to using only a single correlation index.

[0054] Step S130: Perform multi-timescale decomposition on the electrical load sequence to obtain multiple modal components with different center frequencies.

[0055] In this embodiment, the multi-timescale decomposition can be achieved by using variational mode decomposition to decompose the original electricity load sequence into multiple eigenmode functions with different center frequencies. Specifically, parameters such as the number of mode components, penalty factor, convergence tolerance, initialization method, and whether to retain the DC component can be set. Each mode component and its corresponding center frequency are obtained through iterative solution. The mode components are sorted from low to high center frequency, where the mode components with lower center frequencies represent the long-term trend of load variation, the mode components with intermediate center frequencies represent the medium-term periodic variation of load, and the mode components with higher center frequencies represent the short-term fluctuations of load.

[0056] In a specific embodiment, the number of modal components can be set to 3, resulting in a long-term trend component, a medium-term cycle component, and a short-term fluctuation component. It should be noted that the decomposed modal components are not only used for reconstructing predicted values, but also serve as target variables for subsequent driving factor analysis, thereby identifying the differences in the effects of economic, social, and meteorological factors at different time scales.

[0057] Step S140: For the electricity consumption intelligence index sequence of candidate driving factors, with the current time feature and multiple lag time features as independent variables, and the modal components corresponding to each time scale as dependent variables, establish a sparse regression model with regularization constraints to identify the effective driving factors and their direction of action, contribution rate and dominant lag time at each time scale.

[0058] In this embodiment, the sparse regression model refers to constructing current-time features and multiple lag-time features for each candidate driving factor, and establishing sparse regression relationships between these features and each modal component to identify effective driving factors at each time scale, as well as their direction of action, contribution rate, and dominant lag time. Specifically, for each candidate driving factor, the factor value corresponding to one or more sampling intervals before the target time is found based on the real timestamp, forming the lag features of each order of the factor.

[0059] It is understandable that the corresponding lag feature is only established when the corresponding historical timestamp actually exists; for records that cross time breaks or lack corresponding historical moments, the corresponding lag feature is set to missing, and the lag relationship is not forcibly generated by moving the row position normally.

[0060] The current-time features and lag features of candidate driving factors are combined to form a lag feature matrix. A sparse regression model with regularization constraints is established, using the long-term trend component, medium-term cycle component, and short-term fluctuation component as dependent variables. This sparse regression model aims to reduce prediction error and limit the number of non-zero coefficients, for example, by using a sparse linear regression model with an L1 regularization term. Regularization parameters are determined through cross-validation, and regularization constraints are used to compress weak or redundant feature coefficients to zero.

[0061] For each load time scale, current and lagged factor terms with non-zero regression coefficients are retained and identified as effective driving factors at that time scale. The direction of action of each effective driving factor is determined by the sign of the regression coefficient; the contribution rate of the factor at that time scale is determined by the ratio between the sum of the absolute values ​​of the regression coefficients of the current term and all lagged terms of the factor and the sum of the absolute values ​​of the regression coefficients of all effective driving factors; the dominant lag order is determined by the characteristic term with the largest absolute value of the regression coefficient among the current term and all lagged terms of the factor, and the dominant lag time is determined by combining the sampling interval. Thus, the long-term, medium-term, and short-term contribution rates, directions of action, dominant lag orders, and dominant lag times of each external influencing factor on the overall urban load and the load of each sub-sector can be obtained.

[0062] Step S150: Construct candidate mediator variables with mechanistic constraints and their corresponding independent variable sets based on the categories of effective driving factors. Establish nonlinear relationship models for independent variables, candidate mediator variables and modal components of corresponding time scales. Calculate the intensity of direct action, indirect transmission intensity and mediating transmission ratio, and identify significant mediating transmission paths.

[0063] In this embodiment, establishing a nonlinear relationship model for the independent variable, candidate mediator variables, and modal components at the corresponding time scales means limiting the range of mediator variables participating in the mediation analysis based on the categories and possible effects of effective driving factors, thereby avoiding arbitrary combinations of variables that lead to transmission paths lacking mechanistic significance.

[0064] Specifically, when the independent variable is an economic factor, candidate mediators can be selected from economic activity variables; when the independent variable is a social time factor such as a workday, weekend, or holiday, candidate mediators can be selected from production rhythm or date behavior variables; when the independent variable is a basic meteorological factor such as temperature, precipitation, or wind speed, candidate mediators can be selected from meteorological process variables such as humidity, dew point temperature, cloud cover, air pressure, and solar radiation; and when the weather state code variable is used as the independent variable, candidate mediators can be selected from meteorological process variables.

[0065] Based on this, a nonlinear relationship model is established for the independent variable, candidate mediator variable, and modal components at the corresponding time scale. This model can include a nonlinear relationship function between the independent variable and the mediator variable, as well as the effect functions of the independent variable and the mediator variable on the modal components. The nonlinear relationship function can be fitted using a smoothing function from a generalized additive model. Based on the fitting results, the direct effect strength, indirect transmission strength, and mediator transmission proportion are calculated. The indirect transmission strength is determined jointly by the effect strength of the independent variable on the mediator variable and the effect strength of the mediator variable on the target load component; the direct effect strength represents the direct effect of the independent variable on the modal component; and the mediator transmission proportion represents the proportion of the indirect transmission strength in the total transmission strength. When the relationship between the independent variable and the mediator variable reaches a preset significance level, and the relationship between the mediator variable and the target load component reaches a preset significance level, the corresponding independent variable-mediator variable-modal component path is determined as a significant mediator transmission path.

[0066] Step S160: Based on the effective driving factors and their contribution rates and dominant lag times, as well as significant mediating transmission paths, generate electricity consumption intelligence and transmission path networks for the industry to be analyzed at different time scales.

[0067] like Figure 2 As shown, generating electricity consumption intelligence and transmission path networks for the industry under analysis at different time scales refers to organizing the aforementioned analysis results into structured electricity consumption intelligence records and constructing a directed network reflecting transmission relationships. Each electricity consumption intelligence record includes at least the electricity user identifier, industry category and industry level, analysis time range, electricity consumption indicators, load time scale, main driving factors and their direction of action, contribution degree of each scale and main lag time, mediating variables, and transmission information such as direct transmission strength, indirect transmission strength, total transmission strength, proportion of mediating transmission, and significance of transmission paths.

[0068] A directed network is constructed based on significant transmission paths. Economic, social, and meteorological driving factors are set as driving nodes, economic activity variables, production rhythm variables, and meteorological process variables are set as intermediate nodes, and the overall urban load component or sub-sector load component is set as target nodes. First-type directed edges are established between driving nodes and intermediate nodes, and second-type directed edges are established between intermediate nodes and target nodes. Direct-effect edges can also be established between driving nodes and target nodes. The weight, width, or other display attributes of the edges can be set according to the intensity of direct effects, indirect transmission intensity, total transmission intensity, or the proportion of intermediate transmission. The final output includes overall urban electricity consumption intelligence, sub-sector electricity consumption intelligence, industry electricity consumption characteristic profiles, ranking of driving factors for each industry at different time scales, the main lagged effects of each driving factor, details of nonlinear transmission paths, and the transmission path network.

[0069] Therefore, this method can extract electricity consumption intelligence of the industry to be analyzed at different time scales from multi-source data, identify the direct, indirect effects and main transmission processes of economic, social and meteorological factors on electricity load, and provide refined intelligence support for urban industry-specific electricity consumption monitoring, industry operation analysis, demand-side management and energy allocation.

[0070] In some embodiments, step S110 may further include steps S111 to S113.

[0071] Step S111: Obtain electricity load data and external influencing factor data; wherein, the external influencing factor data includes economic indicators, meteorological indicators and date attributes.

[0072] Step S112: Map the electricity load data and external influencing factor data to a unified time scale according to a preset time interval, generate a unified timestamp, and sort and match them according to the unified timestamp.

[0073] Step S113: Perform standardization preprocessing on the matched data to obtain the electricity load sequence and the electricity information index sequence of each external influencing factor.

[0074] In this embodiment, electricity load data and external influencing factor data can be collected from different data sources.

[0075] In this embodiment, electricity load data and external influencing factor data are mapped to a unified time scale according to preset time intervals to generate unified timestamps. These unified timestamps are then sorted and matched to align data from different sources and with different sampling frequencies in the time dimension, ensuring that all variables correspond to the same moment in subsequent correlation analysis and modeling. Specifically, the preset time interval can be set to hours, 15 minutes, 30 minutes, days, or other time intervals depending on data conditions and analysis requirements. When the date and time fields are stored separately in the original data, they can be combined to generate a unified timestamp for the corresponding record. For data whose original sampling interval is inconsistent with the preset time interval, resampling, aggregation, or interpolation can be used to map it to a unified time scale. For data that cannot be mapped using a reasonable method, its original time can be retained and marked to avoid introducing human error. After generating unified timestamps, the electricity load data and external influencing factor data are sorted according to the unified timestamps, and the load data under the same timestamp is matched with various external influencing factor data to form a time-aligned multidimensional data table.

[0076] The matched data undergoes standardization preprocessing to eliminate the influence of data format, units, and anomalies on subsequent analysis, resulting in an electricity load sequence and electricity consumption intelligence index sequences for various external influencing factors. Standardization preprocessing may include: standardizing the storage format of dates, times, and timestamps; detecting and processing duplicate timestamps; counting the number of valid sampling points within each statistical period, identifying missing times and time breakpoints; converting load data and continuous external influencing factors into numerical data; marking infinite values, unresolvable values, and outliers exceeding a preset reasonable range as null values; performing one-hot encoding, label encoding, or other numerical processing on discrete variables such as weather conditions; normalizing or standardizing continuous external influencing factors with different units to convert them to a uniform numerical range; and performing logarithmic transformation, standardization, or other processing to reduce the impact of extreme values ​​on the load data based on its distribution characteristics.

[0077] When normalizing continuous external influencing factors, the factor can be transformed to a preset numerical range based on its maximum and minimum values ​​within the analysis period. For load data, when the load values ​​have a significant right-skewed distribution or contain a small number of extreme values, a logarithmic transformation can be performed under the condition that the load values ​​are non-negative to reduce the impact of extreme values ​​on subsequent parameter estimation and factor selection results.

[0078] It should be noted that for load records with missing values ​​in the original data, their missing status can be retained instead of directly filling the missing values ​​with zeros, to avoid artificially altering the original load change characteristics. For analysis steps that require continuous time series as input, the timestamp differences between adjacent records can be compared. When the time interval between adjacent records is equal to the preset sampling interval, they are divided into the same continuous valid time period; when the time interval between adjacent records is greater than the preset sampling interval, the corresponding position is determined as a time breakpoint, and time series analysis is only performed on continuous valid time periods whose length reaches a preset threshold, to avoid incorrectly connecting time-discontinuous load segments due to directly deleting missing records.

[0079] Through the above acquisition, time alignment, and standardized preprocessing, a time-consistent, format-unified, and numerically standardized electricity load sequence and electricity intelligence indicator sequence of various external influencing factors can be formed. This provides a reliable data foundation for subsequent candidate driving factor screening, multi-timescale decomposition, and sparse regression modeling, thereby improving the accuracy and interpretability of electricity intelligence mining results.

[0080] In some embodiments, step S120 may further include steps S121 to S123.

[0081] Step S121: Based on the electricity load sequence and the electricity information index sequence, calculate the Pearson correlation coefficient between each external influencing factor and the target load.

[0082] Step S122: Based on the electricity load sequence and the electricity information index sequence, calculate the grey relational degree between each external influencing factor and the target load.

[0083] Step S123: If the absolute value of the Pearson correlation coefficient of the corresponding external influencing factor is greater than or equal to the preset correlation coefficient, or the grey relational degree is greater than or equal to the preset relational degree threshold, the external influencing factor is determined as a candidate driving factor.

[0084] In this embodiment, the Pearson correlation coefficient is used to characterize the direction and strength of the linear relationship between external influencing factors and the target load. Specifically, based on the electricity load sequence and the electricity consumption information index sequence, the Pearson correlation coefficient between each external influencing factor and the target load can be calculated according to the following formula:

[0085] In the formula, The Pearson correlation coefficient is... The number of sample data points. and The two variables are respectively in the first... The observations at each sampling time point, and These are the sample means of the two variables, respectively. The Pearson correlation coefficient typically ranges from -1 to 1. The closer its absolute value is to 1, the stronger the linear relationship between the two variables; its sign indicates the direction of the linear relationship.

[0086] Grey relational degree is used to characterize the similarity between the sequence of external influencing factors and the sequence of target load in terms of change trend and sequence shape. Specifically, before calculating the grey relational degree, the external influencing factors and the target load can be dimensionless to eliminate the influence of dimensions. Then, the absolute difference between the two sequences at each sampling time is calculated, and the grey relational coefficient is calculated based on the maximum and minimum values ​​of all differences and the preset resolution coefficient. The grey relational coefficient can be calculated using the following formula:

[0087] In the formula, For the first The external influencing factors and the target load in the first The grey relational coefficient at each sampling time. and ρ represents the dimensionless values ​​of the reference sequence and the comparison sequence at the k-th sampling time, respectively, and ρ is the resolution coefficient (preferably set to 0.5). For the two levels of minimum difference (i.e., all) (minimum value in) The maximum difference between the two levels (i.e., all) (the maximum value in the range).

[0088] Then, the arithmetic mean of the grey relational coefficients at each sampling time is calculated to obtain the grey relational degree between the corresponding external influencing factor and the target load. The calculation formula is as follows:

[0089] In the formula, For the first Grey relational degree between external influencing factors and target load This represents the total number of sampling times.

[0090] In joint determination, when the absolute value of the Pearson correlation coefficient of an external influencing factor is greater than or equal to a preset correlation coefficient threshold, or when its grey relational degree is greater than or equal to a preset relational degree threshold, the external influencing factor is identified as a candidate driving factor. The preset correlation coefficient threshold is used to define the minimum acceptable level of linear correlation, and the preset relational degree threshold is used to define the minimum acceptable level of trend similarity. In a preferred embodiment, both the preset correlation coefficient threshold and the preset relational degree threshold can be set to 0.6; both thresholds can also be adjusted according to the data sample size, industry characteristics, analysis cycle, and application purpose.

[0091] By retaining external influencing factors that meet at least one threshold, we can retain factors with strong linear correlation as well as factors with strong consistency in changing trends. This reduces the possibility of missing candidate factors due to relying on a single indicator and provides a more reliable set of candidate driving factors for subsequent multi-timescale decomposition and sparse regression modeling.

[0092] In some embodiments, such as Figure 3 As shown, step S130 may further include steps S131 to S133.

[0093] Step S131: Construct a variational problem and decompose the electrical load sequence into K eigenmode functions with finite bandwidth.

[0094] Step S132: Set the number of modal components, penalty factor, convergence tolerance, initialization method, and whether to retain the DC component. Use the alternating direction multiplier method to iteratively solve for each modal component and its center frequency.

[0095] Step S133: Sort each modal component from low to high according to its corresponding center frequency; wherein, the modal component with a lower center frequency represents the long-term trend, the modal component with a middle center frequency represents the medium-term periodic change, and the modal component with a higher center frequency represents the short-term fluctuation.

[0096] In this embodiment, the variational problem can be expressed as:

[0097] In the formula, and Let each of the following represent the set of eigenmode functions of each order obtained from the decomposition and its corresponding set of center frequencies. The set number of modal components, Let be the Dirac impulse function. The imaginary unit is used; the constraint is... Numerical solutions are allowed reconstruction errors not exceeding a preset tolerance. The goal of this variational problem is to find a decomposition scheme that minimizes the sum of the estimated bandwidths of each mode function, thereby ensuring good separation of the decomposed mode components in the frequency domain. After VMD decomposition, the original mode components are... Sort the results according to their center frequencies from low to high, and then... Each load time scale component is denoted as ,in, This represents the sorting index. In this example, K=3. , and These represent the long-term trend component, the medium-term cycle component, and the short-term fluctuation component, respectively, and are used as the target variables for the subsequent sparse regression model and nonlinear relationship model.

[0098] When solving the above variational problem, a quadratic penalty factor is introduced. and Lagrange multipliers An augmented Lagrange function is constructed, and the Alternating Directional Multiplier Method (ADMM) is used for iterative solution. The modal components, center frequency, and Lagrange multipliers are updated alternately until a preset convergence tolerance is met. Before solving, parameters such as the number of modal components, penalty factor, convergence tolerance, initialization method, and whether to retain the DC component need to be set. The number of modal components determines the number of decomposition levels; the penalty factor balances the weighting relationship between the bandwidth constraints and reconstruction errors of the modal components; the convergence tolerance controls the iteration termination condition; the initialization method can be uniform initialization of the center frequency or other initialization methods; whether to retain the DC component determines whether to separate the DC component in the load sequence. In a preferred embodiment, the number of modal components... Set to 3, penalty factor Set to 2000, convergence tolerance to 1e-7, initialization method is uniform initialization of center frequency, no DC component is retained.

[0099] After the solution is obtained, the modal components are sorted from low to high according to their corresponding center frequencies. The modal components with lower center frequencies represent the long-term trend of load variation, reflecting the slow evolution of load over a longer period; the modal components with intermediate center frequencies represent the medium-term periodic changes of load, reflecting the periodic fluctuations of load over a medium time scale; and the modal components with higher center frequencies represent the short-term fluctuations of load, reflecting the rapid changes of load over a shorter time scale. When the number of modal components... When set to 3, the three sorted modal components can be identified as the long-term trend component, the medium-term cycle component, and the short-term fluctuation component, respectively, and used as the target variables for subsequent driving factor analysis.

[0100] Therefore, by using variational mode decomposition, the electricity load sequence is decomposed into multiple modal components with clear time scale meanings, which provides a basis for subsequent identification of the differences in the effects of economic, social and meteorological factors on long-term, medium-term and short-term scales.

[0101] In some embodiments, please continue reading Figure 3 Step S140 may further include steps S141 to S143.

[0102] Step S141: For each candidate driving factor, find the factor value corresponding to one or more sampling intervals before the target time based on the timestamp to form the lag characteristics of each order of the candidate driving factor.

[0103] Step S142: Use the current time features and lag features of each candidate driving factor at the target time as independent variables, and the modal components of each time scale at the target time as dependent variables to construct a sparse regression model for each time scale.

[0104] Step S143: Based on the sparse regression model, identify the effective driving factors at each time scale, their direction of action, contribution rate, and dominant lag time.

[0105] In this embodiment, the hysteresis feature is used to characterize the potential delay effect of historical values ​​of external influencing factors prior to the current moment on the current load component, thereby capturing the time required for changes in external conditions to be transmitted to the electrical load. Specifically, for the target time... , No. The first candidate driver factor The lag characteristic can be found by looking at the time before the target time. The factor values ​​corresponding to the historical timestamps of each sampling interval are determined. For example, with a sampling interval of 1 hour, the first-order lag feature corresponds to the factor value 1 hour before the target time, the second-order lag feature corresponds to the factor value 2 hours before the target time, and so on.

[0106] It's important to note that the generation of lag features strictly depends on matching actual historical timestamps. A lag feature is only established if the corresponding historical timestamp actually exists. For records that span time breaks or lack corresponding historical moments, the corresponding lag feature is set to missing, and the generation of lag relationships is not forced using ordinary row position shifting. This avoids incorrectly mapping discontinuous records due to data table row shifts, ensuring that lag features accurately reflect the time delay relationships between variables.

[0107] Current-moment features characterize the immediate interaction between candidate driving factors and the target load component at the same time. Lag features characterize the lagged effects of candidate driving factors on the target load component at multiple time delays. Independent sparse regression models are constructed for the long-term trend component, the medium-term cyclical component, and the short-term fluctuation component, respectively, to obtain the effective driving factors and lag structures at different time scales. When there are time discontinuities in the load series, only samples with effective independent and dependent variable values ​​can be used for regression modeling to ensure the reliability of the model estimation.

[0108] The model results of the sparse regression model can be expressed as:

[0109] In the formula, For the first Each load time scale component ( =1, 2, and 3 correspond to the long-term trend component, the medium-term cycle component, and the short-term fluctuation component, respectively. For the first The first candidate driver factor Rank features ( Indicates the current time value. =1, 2, ... represent the lag values ​​of each order). These are the regression coefficients for the corresponding features. Let ε be the intercept term, and ε be the random error.

[0110] The objective function of this sparse regression model is:

[0111] In the formula, the first term The second term is used to measure the model prediction error. The L1 regularization term is used to balance reducing prediction error with limiting the number of non-zero coefficients in the model. The regularization parameter α that minimizes the cross-validation error is determined through cross-validation, and L1 regularization is used to compress the feature coefficients that are weak or have obvious redundancy to zero.

[0112] In a preferred embodiment, 5-fold cross-validation is used to select the regularization parameter α, the maximum number of iterations is set to 10000, the number of candidate αs is 100, the optimization tolerance is 1e-4, and the random seed is fixed to ensure that the results are reproducible; sparse regression models are established with long-term trend components, medium-term cycle components and short-term fluctuation components as target variables respectively, and sparse regression coefficients at each load time scale are obtained.

[0113] Regularization constraints are used to sparsify the model coefficients, compressing the regression coefficients of some features to zero. The driving factors corresponding to features with non-zero regression coefficients are the effective driving factors at that time scale. The direction of action is determined by the sign of the regression coefficient, reflecting whether the driving factor positively promotes or negatively inhibits the target load component. The contribution rate quantifies the relative importance of the effective driving factor to the target load component at that time scale. The dominant lag time reflects the time delay at which the driving factor has the most significant effect on the target load component.

[0114] Through the above process, we can obtain the effective driving factor sets and their characteristics at long-term, medium-term and short-term time scales, providing a quantitative basis for the subsequent construction of nonlinear transmission relationship models and the generation of segmented electricity consumption intelligence.

[0115] In some embodiments, step S143 may further include steps S1431 to S1434.

[0116] Step S1431: Identify the current time features and lag time features with non-zero regression coefficients as the effective driving factors at the corresponding time scale.

[0117] Step S1432: Determine the direction of action of each effective driving factor based on the sign of the regression coefficient.

[0118] Step S1433: For each effective driving factor, divide the sum of the absolute values ​​of the regression coefficients of the current time feature and each lag feature corresponding to the effective driving factor by the sum of the absolute values ​​of the regression coefficients of all features to obtain the contribution rate of the effective driving factor.

[0119] Step S1434: For each effective driving factor, determine the lag order of the feature corresponding to the maximum absolute value of the contribution rate as the dominant lag order, and determine the dominant lag time according to the sampling time interval corresponding to the dominant lag order.

[0120] In this embodiment, the sparse regression model sparsifies the model coefficients through regularization constraints, compressing the regression coefficients of some features to zero. Features with non-zero regression coefficients indicate that the feature has a non-negligible explanatory role for the target modal component, and therefore, the driving factors corresponding to such features are identified as effective driving factors at this time scale. Conversely, features with zero regression coefficients indicate that the feature has a weak effect on the target modal component or is redundant with other features, and are not included in the set of effective driving factors at this time scale.

[0121] The sign of the regression coefficient determines the direction of action of each effective driving factor. The direction of action reflects whether the effective driving factor positively promotes or negatively inhibits the target modal component. Specifically, when the regression coefficient corresponding to an effective driving factor is positive, it means that as the value of the factor increases, the target modal component tends to increase; when the regression coefficient is negative, it means that as the value of the factor increases, the target modal component tends to decrease.

[0122] For each effective driving factor, the sum of the absolute values ​​of the regression coefficients of its corresponding current-time feature and all lag features is divided by the sum of the absolute values ​​of the regression coefficients of all features to obtain the contribution rate of that effective driving factor at that time scale. The contribution rate quantifies the relative importance of the effective driving factor to the target modal component, reflecting the explanatory weight of that factor among all effective driving factors. Specifically, let the _i_ be the _i_, _j ... The regression coefficients of the current-time features and lag features corresponding to the effective driving factors are as follows: , ,…, Then the first Contribution rate of each effective driving factor It can be represented as:

[0123] In the formula, the denominator is the sum of the absolute values ​​of the regression coefficients of all characteristic terms of all effective driving factors, and the numerator is the sum of the absolute values ​​of the regression coefficients of all characteristic terms of the effective driving factor. The larger the contribution rate, the stronger the influence of the effective driving factor on the target modal component at that time scale.

[0124] For each effective driving factor, the order corresponding to the maximum absolute value of the contribution rate of its current-time feature and each lag feature is determined as the dominant lag order. The dominant lag time is then determined based on the sampling time interval corresponding to the dominant lag order. The dominant lag order reflects the lag position where the effective driving factor has the most significant effect on the target modal component; the dominant lag time is used to convert this lag position into an actual time length for intuitive expression in electricity consumption data. Specifically, when the dominant lag order is... The sampling time interval is At that time, the dominant lag time It can be represented as:

[0125] When the dominant lag order is 0, it indicates that the effective driving factor mainly acts on the target modal component through its current value, and its dominant lag time is 0; when the dominant lag order is... When, it indicates that the effective driving factor is mainly driven by the time prior to the target time. The historical values ​​of each sampling interval are applied to the target modal components.

[0126] Through the above process, complete information on the role of effective driving factors at each time scale can be extracted from the sparse regression model, including which factors are effective, their direction of action, their respective contribution rates, and their main lag times, providing a quantitative basis for subsequent nonlinear transmission relationship analysis and electricity consumption intelligence generation.

[0127] In some embodiments, step S150 may further include steps S151 to S154.

[0128] Step S151: For each time scale, construct a set of candidate mediator variables with mechanistic constraints and their corresponding independent variables based on the effective driving factors corresponding to the time scale; wherein, the independent variables in the independent variable set are of the same category as the candidate mediator variables; the mediator variables and independent variables belong to the current time characteristics and lag time characteristics of the effective driving factors.

[0129] Step S152: For each mediating variable, based on the set of independent variables of the mediating variable, establish the mediation transmission function between the mediating variable and the independent variables in the set of independent variables.

[0130] Step S153: Construct the current-time characteristics and lag characteristics of each order corresponding to the mediating transmission function and effective driving factors, and the nonlinear relationship model with the corresponding modal components.

[0131] Step S154: Based on the mediation transmission function and nonlinear relationship model, calculate the intensity of direct action, the intensity of indirect transmission, and the proportion of mediation transmission to identify significant mediation transmission paths.

[0132] In this embodiment, the mechanistic constraint is used to limit the interaction between the mediating variable and the independent variable to a real physical or socio-economic significance, thus avoiding the generation of transmission paths lacking interpretable meaning due to mediation analysis of arbitrary variable combinations. Specifically, when the mediating variable is an economic factor, the independent variable can be selected from variables related to economic activities; when the mediating variable is a social time factor such as weekdays, weekends, or holidays, the independent variable can be selected from variables related to production rhythms or date-related behaviors; when the mediating variable is a basic meteorological factor such as temperature, precipitation, or wind speed, the independent variable can be selected from meteorological process variables such as humidity, dew point temperature, cloud cover, air pressure, and solar radiation; and when the weather state coding variable is used as the mediating variable, the independent variable can be selected from meteorological process variables.

[0133] In this system, the independent variables and mediator variables in the independent variable set are of the same category to ensure a reasonable transmission premise between the independent and mediator variables. The mediator variables and independent variables belong to the current-time characteristics and lag-time characteristics of effective driving factors, which allows the nonlinear transmission analysis to be based on effective driving factors already identified at the same time scale. This ensures that while the independent variables have a direct effect on the modal components, they may also have an indirect effect through the mediator variables.

[0134] The mediation transmission function characterizes how each effective driving factor in the set of independent variables affects the value changes of the mediating variable, and is the basis for subsequent calculations of the strength of indirect transmission. Specifically, the mediation transmission function can be expressed as follows: Where M is the mediating variable and X is the set of independent variables. It is a non-linear relationship function between the independent variable and the mediating variable. This represents random error. This functional relationship can be fitted using a smoothing function in a generalized additive model to capture any potential nonlinear interactions between the independent and mediating variables.

[0135] Nonlinear relationship models are used to simultaneously characterize the direct effects of effective driving factors on modal components, as well as the indirect effects of effective driving factors on modal components through mediating variables. They are the core models for identifying nonlinear transmission paths.

[0136] The direct effect intensity is used to characterize the overall response magnitude of the independent variable directly acting on the modal component; the indirect transmission intensity is used to characterize the overall response magnitude of the independent variable indirectly acting on the modal component through the mediating variable; the proportion of mediating transmission is used to characterize the proportion of indirect transmission intensity in the total transmission intensity, reflecting the relative importance of the mediating transmission path.

[0137] When the relationship between the independent variable and the mediating variable reaches a preset significance level, and the relationship between the mediating variable and the modal component also reaches a preset significance level, the corresponding independent variable-mediating variable-modal component path can be identified as a significant mediating transmission path. Therefore, based on mechanistic constraints, statistically significant indirect transmission paths can be quantitatively identified, providing a reliable basis for ultimately generating electricity consumption intelligence and transmission path networks.

[0138] In some embodiments, in step S153, the nonlinear relationship model between the current-time characteristics and hysteresis characteristics of the mediating transmission function and the effective driving factors, and the corresponding modal components can be constructed using the following structure:

[0139] In the formula, For the first Modal components corresponding to each time scale, such as long-term trend components, medium-term cycle components, or short-term fluctuation components. This represents the set of variables consisting of the current-moment characteristics and the lagged characteristics corresponding to the effective driving factors; Indicates the mediating variable; This represents the direct effect function of effective driving factors on modal components, reflecting the portion of effective driving factors that act directly on modal components without going through mediating variables; This represents the effect function of the mediating variable on the modal components, used to reflect the portion of the effective driving factors that indirectly affect the modal components through the mediating variable; This represents random error.

[0140] In the above model structure, , and All of these can be fitted using the smoothing function in the generalized additive model. This allows for the capture of potential nonlinear relationships between independent and mediating variables, as well as between independent and mediating variables and modal components, without pre-defining a specific linear form, thereby improving the model's ability to fit actual power conduction processes.

[0141] By substituting the mediation transmission function into the nonlinear relationship model, the modal components can be represented as the superposition of the direct effects of the effective driving factors and their indirect effects through mediating variables. Specifically, the independent variables... Both through Directly affects modal components And through Influence of mediating variables Then through Indirectly affects modal components This structure allows for the explicit separation of direct and indirect effects in the model, providing a clear functional basis for subsequent calculations of the intensity of direct effects, the intensity of indirect conduction, and the proportion of mediated conduction.

[0142] It should be noted that when fitting the above nonlinear relationship model, it can be based on the effective driving factors identified at the same time scale, as well as their current and lag characteristics, to ensure that the independent variables in the model are consistent with the driving factors identified in the previous sparse regression analysis. For samples with time discontinuities or missing data, the model can be fitted using only samples with valid values ​​to avoid affecting the accuracy of function estimation due to missing data.

[0143] Therefore, by constructing the above nonlinear relationship model, we can simultaneously characterize the direct action path of effective driving factors on modal components and the indirect transmission path through mediating variables, providing a model basis for subsequent quantification of the transmission strength of each path and identification of significant mediating transmission paths.

[0144] In some embodiments, in step S154, the direct action intensity, indirect conduction intensity, and proportion of intermediate conduction are calculated based on the mediating conduction function and the nonlinear relationship model, and may further include steps S1541 to S1545.

[0145] Step S1541: For each independent variable, calculate the magnitude of the first effect of the independent variable on the mediator variable based on the partial dependence result of the mediation transmission function.

[0146] Step S1542: Calculate the magnitude of the second effect of the mediator variable on the modal component based on the partial dependence results of the corresponding terms of the mediator variable in the nonlinear relationship model.

[0147] Step S1543: Multiply the amplitude of the first effect by the amplitude of the second effect to obtain the indirect conduction intensity.

[0148] Step S1544: Based on the partial dependence results of the corresponding terms of the independent variables in the nonlinear relationship model, calculate the direct effect magnitude of the independent variables on the modal components to obtain the direct effect strength.

[0149] Step S1545: Divide the absolute value of the indirect conduction intensity by the sum of the absolute values ​​of the indirect conduction intensity and the direct action intensity to obtain the proportion of the mediating conduction of the independent variable.

[0150] In this embodiment, the first effect magnitude A is used to characterize the overall model response magnitude of the mediator variable M corresponding to the change in independent variable X, and serves as the quantitative basis for the front-end stage in the indirect transmission path. Specifically, after fitting the nonlinear relationship between independent variable X and mediator variable M using a smoothing function in a generalized additive model, the corresponding partial dependence value sequence is calculated within the effective sample value range of independent variable X, and the first effect magnitude is determined by the difference between the maximum and minimum values ​​of this partial dependence value sequence. The calculation formula is as follows: .

[0151] The second effect magnitude B is used to characterize the modal component Y corresponding to the change in the mediator variable M. k The overall model response magnitude serves as the quantitative basis for the downstream stage in the indirect transmission path. Specifically, in a nonlinear relationship model that simultaneously includes smoothing terms corresponding to both the independent variable X and the mediator variable M, the corresponding partial dependency value sequence is calculated within the effective sample range of the mediator variable M, and the magnitude of the second effect is determined by the difference between the maximum and minimum values ​​of this partial dependency value sequence. The calculation formula is as follows: .

[0152] Indirect transmission strength I is used to characterize the interaction between the independent variable X and the modal component Y through the mediator variable M. k The overall magnitude of the indirect transmission relationship formed. This calculation method divides the indirect transmission path into the independent variable X to the mediator variable M and the mediator variable M to the modal component Y. k Two consecutive stages are considered, and with all variables standardized, the indirect transmission strength index is constructed by multiplying the overall response amplitudes of the two stages. The indirect transmission strength I is expressed as: .

[0153] The direct effect strength D is used to characterize the modal component Y corresponding to the change in independent variable X in a nonlinear relationship model that simultaneously incorporates independent variable X and mediating variable M. k The overall model response magnitude. Specifically, within the effective sample range of the independent variable X, the partial dependency value sequence of its corresponding smoothing term is calculated, and the direct effect strength is determined by the difference between the maximum and minimum values ​​of this partial dependency value sequence. The calculation formula is as follows: .

[0154] Intermediary transmission ratio This is used to characterize the proportion of indirect transmission in total transmission, reflecting the relative importance of the mediation path in the total effect of the independent variable on the modal component. The proportion of mediation transmission is expressed as: When the absolute value of indirect transmission intensity accounts for a higher proportion of total transmission, the proportion of mediating transmission is larger, indicating that the effect of this independent variable is mainly transmitted through mediating variables; when the absolute value of direct transmission intensity dominates, the proportion of mediating transmission is smaller, indicating that this independent variable mainly acts directly on modal components.

[0155] In some embodiments, in step S154, identifying significant mediating pathways may further include steps S1546 to S1547.

[0156] Step S1546: Obtain the first p-value between the independent variable and the mediator variable, and the second p-value between the mediator variable and the modal component.

[0157] Step S1547: If the first p-value is less than the first significance level and the second p-value is less than the second significance level, the corresponding independent variable-mediation variable-modal component path is determined as a significant mediating transmission path.

[0158] In this embodiment, the first p-value is used to test whether the relationship between the independent variable and the mediating variable is significant, and the second p-value is used to test whether the relationship between the mediating variable and the modal components is significant. The smaller the p-value, the stronger the evidence against the null hypothesis under the corresponding statistical model.

[0159] Specifically, based on the fitting results of the mediation transfer function and the nonlinear relationship model, the p-values ​​of the corresponding terms of the independent variable and the corresponding terms of the mediation variable are directly obtained. The first p-value corresponds to the transition from the independent variable to the mediation variable, and the second p-value corresponds to the transition from the mediation variable to the modal component.

[0160] After obtaining the first p-value and the second p-value, they are compared with their corresponding significance levels. When the first p-value is less than the first significance level and the second p-value is less than the second significance level, the corresponding path is determined as a significant mediating transmission path. In an optional implementation, both the first significance level and the second significance level are set to 0.05.

[0161] By using the above significance assessment, paths with statistical significance in both stages can be selected from multiple candidate transmission paths. This avoids including paths with insignificant relationships in the transmission network based solely on strength indicators, thereby improving the reliability and interpretability of the identification results. For multiple candidate paths corresponding to different independent or mediating variables at the same time scale, significance assessments can be performed separately, and only paths that meet the significance criteria can be retained as the basis for subsequent transmission path network construction.

[0162] In some embodiments, after step S1547, the multi-factor driven electricity consumption information mining method may further include steps S1551 and S1552.

[0163] Step S1551: When two mutually inverse significant mediation pathways exist at the same time scale and for the same target modal component, forming by the exchange of independent and mediating variables, the two mutually inverse significant mediation pathways are ranked according to a preset ranking strategy to obtain the comprehensive priority of each significant mediation pathway. The preset ranking strategy is to rank them according to the priority order of indirect transmission strength and the proportion of mediating transmission.

[0164] Step S1552: Identify the significant mediating pathways with higher overall priority as the target significant pathways.

[0165] In this embodiment, a reciprocally significant mediating transmission path refers to the X→M→ path formed after exchanging the roles of the independent and mediating variables of the same pair of variables at the same time scale and under the same target modal component. With M→X→ Two paths. The term "mutually inverse" describes a swap of variable roles, not an opposite sign of the effects. To avoid the same variable pair entering the network repeatedly with different roles, one of the two paths is retained based on overall priority.

[0166] The overall priority is used to determine the retention order when there are reciprocally significant mediating pathways. Specifically, the pathways are first sorted in descending order of the absolute value of indirect transmission strength; if they are the same, they are sorted in descending order of the absolute value of the proportion of mediating transmission.

[0167] In some embodiments, if the p-values ​​are the same again, a third p-value between the independent variable and the modal component is obtained. The p-values ​​are first sorted in descending order of significance intensity, and then in ascending order of the composite p-value. The significance intensity is determined by cumulatively summing the p-values ​​from the independent variable to the mediator variable, from the independent variable to the modal component, and from the mediator variable to the modal component: each p-value less than 0.001, 0.01, or 0.05 is scored as 3, 2, or 1 point respectively; the composite p-value is the average of the p-values ​​from the three stages. The path ranked first is considered the target significance transmission path.

[0168] The target significant transmission path is used to replace the reciprocal candidate paths formed by the same pair of variables, and is used as the indirect transmission relationship that is ultimately retained under the target modal component at this time scale and enters the transmission path network.

[0169] Accordingly, step S160 can be updated to: based on the effective driving factors and their contribution rates and dominant lag times, as well as the significant transmission path of the target, generate electricity consumption intelligence and transmission path network of the industry to be analyzed at different time scales.

[0170] In other words, when there are conflicting reciprocal paths, the reciprocal paths in the original set of salient mediator paths are replaced with the selected salient target transmission paths, and then a directed network is constructed. Directed edges are established between the driving node and the mediator node, and between the mediator node and the target node, respectively. The weights or display attributes of the edges are set according to their corresponding strengths or proportions.

[0171] The final output includes: (1) overall electricity consumption information of the city; (2) electricity consumption information of subdivided industries; (3) electricity consumption characteristic profile of industries; (4) ranking of driving factors of industries to be analyzed by time scale; (5) the main lag effect results of each driving factor; (6) details of nonlinear transmission paths; (7) transmission path network of industries to be analyzed.

[0172] Through the above processing, while ensuring the statistical significance of the transmission path, the interference of contradictory directional paths on the network structure can be further eliminated, making the final generated transmission path network clearer and more stable, thereby improving the readability and application value of electricity consumption intelligence in actual industry monitoring and energy management.

[0173] This invention provides a scenario example of the application of a multi-factor driven electricity consumption intelligence mining method. Taking the electricity load of the industrial sector in a certain city as a research case, the research object is the electricity load of the industrial sector in that city; the research sample includes four typical time periods: October 14-20, 2024; December 23-29, 2024; April 14-20, 2025; and July 21-27, 2025.

[0174] The city's industrial electricity load is the target variable. Multi-source heterogeneous data are collected from various sources, including economic (GDP, total import and export volume, industrial and commercial electricity price), social (holidays, weekdays / weekends), and meteorological (temperature, dew point temperature, relative humidity, wind speed, wind direction, surface downward solar radiation, forecast surface albedo, precipitation, air pressure, cloud cover, and weather condition text). The data sources are shown in the table below.

[0175]

[0176] Then, the multi-source data is preprocessed and aligned to the time scale. First, the attribute variables are processed, including: ① Missing value completion: Linear interpolation is used to complete a small number of missing values ​​in economic data. For example, the electricity price data for July is missing. The electricity price in June was 0.4226 yuan / kWh, and the electricity price in August was 0.4108 yuan / kWh. Therefore, the electricity price in July is completed by interpolation to 0.4167 yuan / kWh.

[0177] ② Time scale alignment: Unified to hourly level. Minute-level meteorological data is taken as hourly average; GDP and total import and export volume are allocated equally according to the number of days in the month; electricity prices and holidays, weekdays / weekends, etc., are replaced with daily data instead of hourly data, and a unified time index is established.

[0178] ③ Numerical Standardization: To eliminate dimensional differences and avoid large numerical variables (such as solar radiation in the millions or atmospheric pressure in the thousands) dominating the model, all numerical variables were standardized using Min-Max. After standardization, all variable values ​​fall within the range [0,1]. Taking the sample of 00:00 on 2024-10-14 as an example, the values ​​of each variable before and after standardization are shown in the table below.

[0179]

[0180] ④ Weather text encoding: The weather condition text (sunny, cloudy, overcast, local precipitation, moderate to heavy rain, etc., a total of 18 categories) is one-hot encoded and converted into 0 / 1 feature columns, which are used as the input of text-based intelligence features.

[0181] Then, the industrial load data is preprocessed, including: ① summing the minute-level loads of each of the three-level industries to obtain the minute-level sequence of the total industrial load; ② summarizing by hour to obtain the hourly load sequence; ③ distribution test and logarithmic transformation: as shown in Figure 4(a), the industrial load sequence shows obvious right skewness and a long tail with a sharp peak (extremely high values ​​appear in a few periods in the early stage). As shown in Figure 4(b), after logarithmic transformation, the distribution is approximately normal. The transformation formula is to take the natural logarithm of the load. Taking 2024-10-14 00:00 as an example: ln(276,491,111)=19.4377.

[0182] Next, the total daily electricity consumption, daily maximum / minimum / average load, intraday standard deviation, peak-to-valley difference, and volatility are aggregated and calculated by calendar day for use in daily correlation analysis. The actual daily indicators as of October 14, 2024 are shown in the table below.

[0183]

[0184] Finally, we obtained an hourly modeling table (672×51, including columns of original and standardized values), a daily core indicator table (28 days), and a weather code lookup table. The attribute variables and target variables were standardized in terms of time scale (hourly) and numerical range ([0,1]) for use in association analysis and modeling.

[0185] Then, using the total industrial load series as the reference series and each attribute variable as the comparison series, a combination of Pearson correlation coefficient and grey relational analysis was employed to identify the degree of correlation between each driving factor and the industrial load. The Pearson correlation coefficient measures linear correlation; grey relational analysis characterizes trend consistency under small sample conditions. First, each series is dimensionless, then the grey relational coefficient at each data point is calculated, and the average of the correlation coefficients at each time point is used to obtain the grey relational degree. The judgment threshold is the Pearson correlation coefficient. Strong linear correlation; grey relational degree To have a certain degree of trend consistency, The trend shows strong consistency.

[0186] The Pearson correlation coefficients and grey relational degrees of total industrial load with each factor are shown in the table below.

[0187]

[0188] Based on grey relational analysis and Pearson classification, 13 variables that passed any threshold test were retained as candidate driving factors: GDP, air pressure, industrial and commercial electricity price, forecasted surface albedo, total import and export volume, wind speed, wind direction, dew point temperature, temperature, surface-to-surface solar radiation, weekday / weekend, cloud cover, and relative humidity. The remaining influencing factors were determined to be weakly correlated and will not be considered in subsequent analyses.

[0189] Analysis Conclusions: Under the current sample and threshold settings, GDP, electricity price, and air pressure show strong statistical correlations with industrial load. Specifically, the Pearson correlation coefficient for GDP is 0.895, for electricity price it is 0.885, and for air pressure it is 0.626. While some meteorological factors show low linear correlations, their grey relational coefficients reach the screening threshold. These results are used for candidate factor screening and do not equate to causal conclusions. Further analysis using a split-scale model will be conducted to determine their relative contributions within the model.

[0190] The study sample consists of four non-contiguous typical time periods: October 14–20, 2024; December 23–29, 2024; April 14–20, 2025; and July 21–27, 2025, each lasting 168 hours. First, continuous time periods were identified based on actual timestamps; that is, a new continuous segment was defined when the interval between adjacent samples exceeded 1.1 hours. Then, VMD decomposition was performed on each continuous segment. Finally, the low-frequency, mid-frequency, and high-frequency components of each segment were concatenated in chronological order. In this paper, long-term, mid-term, and short-term are all scales relative to the 168-hour analysis window.

[0191] Four consecutive segments were identified, each with 168 samples. VMD decomposition was successfully performed on all segments, as shown in the table below. Figure 5 As shown.

[0192]

[0193] From the center frequency, we can know that: Figure 5 As shown in section (b), the lowest center frequency of IMF1 (on the order of 1e-05) corresponds to the long-term trend component. Figure 5 As shown in section (c), IMF2 (approximately 0.04) corresponds to the medium-term cycle component. (As...) Figure 5 As shown in section (d), IMF3 (approximately 0.29–0.37) corresponds to the short-term volatility component. An example of the decomposition results (first row sample) is shown in the table below.

[0194]

[0195] Considering the lag effect of external driving factors on industrial load, feature values ​​corresponding to t-1h, t-2h, t-3h, t-24h, and t-48h are matched based on the real timestamps; if the lag time does not exist, it is recorded as missing and removed during model training.

[0196] Using the 13 candidate variables retained from the above steps as input, and combining current period and multi-lag characteristics (13 variables × 6 periods = 78 features), LassoCV regressions were performed on the long-term, medium-term, and short-term load components respectively. The Lasso model indices are shown in the table below. RMSE and MAE are in-sample metrics.

[0197]

[0198] Then, the absolute values ​​of the Lasso coefficients are normalized, and the contribution rate of each driving feature to the basic variables is calculated, mainly as the proportion of the absolute value of the feature coefficient to the sum of the absolute values ​​of all non-zero coefficients at that scale. The contributions of the basic variables at the three scales are summarized in the table below and Figures 6(a) to 6(c).

[0199]

[0200] The feature-level contribution details are shown in the table below.

[0201]

[0202] Fractal scale analysis conclusions: (1) Long-term scale (low-frequency trend): Under the current sample and model settings, the normalized percentage of the absolute values ​​of the coefficients of industrial and commercial agency electricity prices and their lagged terms is 40.91% (of which the current period accounts for 28.75%, lag1 6.03%, lag2 3.73%, and lag3 2.40%), which is the highest percentage among the selected variables at this scale; total import and export volume accounts for 21.50%, GDP accounts for 13.26%, and economic variables account for approximately 75.7% in total; weekday attribute accounts for 8.21%; among meteorological variables, air pressure accounts for the highest percentage at 4.38%. The above percentages reflect the relative contribution of coefficients within the model and do not directly represent causal effects or out-of-sample explanation rates.

[0203] (2) Medium-term scale (periodic fluctuations): The relative contribution of meteorological variables within the model has increased. Forecast surface albedo contributed the most at 16.34% (mainly lag3 12.64%), followed by temperature at 15.76% (current period 8.48%, lag48 6.60%), dew point temperature at 13.98%, surface downward solar radiation at 7.03%, relative humidity at 6.61%, air pressure at 5.27%, wind speed at 3.84%, wind direction at 3.54%, and cloud cover at 1.67%, with meteorological variables contributing approximately 74% cumulatively. Economic variables such as electricity prices and imports / exports contributed approximately 19% cumulatively, mainly with daily lags (lag24). Conclusion: Medium-term fluctuations are mainly driven by periodic weather changes and have significant daily lag memory. In the current model, the medium-term components and meteorological variables and their daily lag terms show high relative coefficient contributions.

[0204] (3) Short-term scale (high-frequency fluctuations): Among the variables selected in the current short-term scale model, surface-to-surface solar radiation and its lag characteristics have a high relative contribution within the model. The total proportion of the normalized absolute values ​​of surface-to-surface solar radiation and its coefficients lag1, lag2, lag3, lag24, and lag48 is 92.03% (lag1 has the highest proportion at 25.60%, current period at 23.10%, lag3 at 19.89%, and lag2 at 14.61%), which is relatively high in the normalized results of the non-zero coefficients of the current model (the main lag orders are 1 to 3, corresponding to 1 to 3 hours); the combined contribution of electricity price, humidity, and wind speed is less than 8%. The results indicate that, under the current data and model settings, the current period and short-term lag characteristics of solar radiation can be used as key features for identifying short-term load influencing factors.

[0205] Considering the potential nonlinear, threshold, and stage-based relationships between industrial load and various factors, this paper draws on the path analysis concept of structural equation modeling to construct a multi-scale nonlinear chain correlation analysis based on a generalized additive model (GAM). Let X be the candidate driving variable, M be the candidate mediating variable, and... For the VMD decomposition of the first Load components. For the independent variable X, the candidate mediator variable M, and the load component Yk corresponding to the time scale, nonlinear relationship models are established respectively.

[0206] Variables with a contribution rate greater than 0 are used as driving variables; candidate mediator variables are set according to their physical / economic meanings and the path types are limited—meteorological variables are only allowed to influence the load through meteorological mediators, economic variables only through economic mediators, and social variables only through social mediators, excluding combinations such as "GDP → dew point temperature → load" that have no practical interpretive meaning. The constraint rules are shown in the table below.

[0207]

[0208] Result 1: Nonlinear Response of GAM. GAM was fitted to the Lasso non-zero contribution fundamental variables to identify the intensity and significance of its nonlinear response at each scale. Some results are shown in the table below.

[0209]

[0210] Result 2: Nonlinear transmission path of GAM. Under mechanistic constraints, the X→M→Y path was constructed and the magnitude of direct action, indirect transmission intensity, and proportion of intermediate transmission were estimated. Significant chain-like paths were screened. Some results are shown in the table below.

[0211]

[0212] Result 3: Construction and Statistics of Significant Path Networks. All significant paths were constructed into a "driver-mediator-load" transmission network, and the scaled network statistics are shown in the table below.

[0213]

[0214] The ranking of core intermediary nodes is shown in the table below.

[0215]

[0216] Depend on Figure 7 It can be seen that the transmission network has a clear hierarchical structure: the driving variables on the left act on the load components on the right through the meteorological mediator variables in the middle layer. Both the long-term and medium-term scale networks contain 17 nodes and 44 edges (63 significant paths in the long-term and 69 in the medium-term), while the short-term network has only 2. Meteorological variables such as surface-to-surface solar radiation, relative humidity, predicted surface albedo, temperature, and dew point temperature are important transmission bridges for load changes, ranking highly in terms of mediator centrality. The subscale network diagrams are shown in Figures 8(a) to 8(c).

[0217] As shown in Figure 8(a), long-term chain-like paths are mainly mediated by meteorological variables such as surface albedo. For example, the mediation rate of temperature → albedo → long-term component is 89.35%. As shown in Figure 8(b), medium-term paths include dew point temperature → temperature → medium-term component (55.41%) and air pressure → dew point temperature → medium-term component (62.91%), reflecting the chain-like relationships between temperature and humidity variables. As shown in Figure 8(c), short-term paths include two significant chain-like paths: wind speed → solar radiation → short-term component (76.14%) and relative humidity → solar radiation → short-term component (76.12%).

[0218] Based on the above stages, the electricity consumption information for the city's industrial load is summarized in the table below.

[0219]

[0220] Key takeaways: ① Calculate the relative contribution of the selected variables within the model at different time scales: long-term scale, electricity price variables account for 40.91%; medium-term scale, meteorological variables account for approximately 74%; short-term scale, solar radiation (both current and lagged terms) accounts for 92.03%. ② Analyze the direction of action, main lag order, and corresponding lag time of each factor. For example, solar radiation mainly exhibits a short-term lag effect of 1-3 hours, while the daily lag term lag24 of electricity prices has a relatively high proportion of relative coefficients at the medium-term scale. ③ Further distinguish the proportions of direct effects, indirect effects, and mediated transmission. At the long-term scale, indirect transmission with albedo as the pivot is mainly observed, while at the medium-term scale, temperature and humidity variables show a chain-like relationship. ④ From the model evaluation results, the long-term model training set... =0.997; Interim model training set =0.83; Short-term model training set The value of 0.08 indicates that the existing candidate factors and models have a low explanatory power for short-term load fluctuations, and further analysis is needed by combining more high-frequency factors and residual tests.

[0221] Please see Figure 9 This embodiment provides a multi-factor driven electricity consumption information mining device 200, including: The intelligence extraction module 210 is used to extract intelligence from the electricity load data and external influencing factor data of the industry to be analyzed at preset time intervals, so as to obtain the electricity load sequence and the electricity intelligence index sequence of each external influencing factor.

[0222] The factor screening module 220 is used to screen candidate driving factors from multiple external influencing factors based on the correlation between the electricity load sequence and the electricity information index sequence.

[0223] The load decomposition module 230 is used to decompose the electrical load sequence into multiple time scales to obtain multiple modal components with different center frequencies.

[0224] The feature regression module 240 is used to establish a sparse regression model with regularization constraints for the electricity consumption intelligence index sequence of the candidate driving factors, with the current time feature and multiple lag time features as independent variables and the modal components corresponding to each time scale as dependent variables, to identify the effective driving factors and their direction of action, contribution rate and dominant lag time at each time scale.

[0225] The path identification module 250 is used to construct candidate mediator variables with mechanistic constraints and their corresponding independent variable sets based on the categories of effective driving factors, establish a nonlinear relationship model for the independent variables, candidate mediator variables and modal components of the corresponding time scale, calculate the intensity of direct action, the intensity of indirect transmission and the proportion of mediating transmission, and identify significant mediating transmission paths.

[0226] The intelligence generation module 260 is used to generate electricity consumption intelligence and transmission path network of the industry to be analyzed at different time scales based on the effective driving factors, their contribution rates and dominant lag times, and significant mediating transmission paths.

[0227] The specific functions and effects of the multi-factor driven electricity consumption information mining device 200 can be explained by referring to other embodiments in this specification, and will not be repeated here. Each module in the multi-factor driven electricity consumption information mining device 200 can be implemented entirely or partially through software, hardware, or a combination thereof. Each module can be embedded in or independent of the processor in a computer device in hardware form, or stored in the memory of a computer device in software form, so that the processor can call and execute the operations corresponding to each module.

[0228] Please see Figure 10 One embodiment of the present invention can provide an electronic device, the electronic device comprising: A memory, and one or more processors communicatively connected to the memory; The memory stores instructions that can be executed by the one or more processors, which, when executed by the one or more processors, enable the one or more processors to implement the multi-factor driven electricity consumption information mining method described in any of the above embodiments.

[0229] One embodiment of the present invention also provides a computer-readable storage medium storing a computer program that, when executed by a processor, implements the multi-factor driven electricity consumption information mining method described in any of the above embodiments.

[0230] One embodiment of the present invention also provides a computer program product comprising a computer program, which, when executed by a computer, causes the computer to perform the multi-factor driven electricity consumption information mining method described in any of the above embodiments.

[0231] It is understood that the specific examples in this document are only intended to help those skilled in the art better understand the embodiments described herein, and are not intended to limit the scope of the invention.

[0232] It is understood that in the various embodiments described in this specification, the sequence number of each process does not imply the order of execution. The execution order of each process should be determined by its function and internal logic, and should not constitute any limitation on the implementation process of the embodiments described in this specification.

[0233] It is understood that the various implementation methods described in this specification can be implemented individually or in combination, and the implementation methods in this specification are not limited in this respect.

[0234] Unless otherwise stated, all technical and scientific terms used in the embodiments of this specification have the same meaning as commonly understood by one of ordinary skill in the art. The terminology used in this specification is for the purpose of describing particular embodiments only and is not intended to limit the scope of this specification. The term "and / or" as used in this specification includes any and all combinations of one or more of the associated listed items. The singular forms "a," "the," and "the" as used in the embodiments of this specification and the appended claims are also intended to include the plural forms unless the context clearly indicates otherwise.

[0235] It is understood that the processor in this invention can be an integrated circuit chip with signal processing capabilities. In implementation, each step of the above method implementation can be completed by the integrated logic circuitry in the processor's hardware or by software instructions. The processor can be a general-purpose processor, a digital signal processor (DSP), an application-specific integrated circuit (ASIC), a field-programmable gate array (FPGA), or other programmable logic devices, discrete gate or transistor logic devices, or discrete hardware components. It can implement or execute the methods, steps, and logic block diagrams disclosed in the embodiments of this specification. The general-purpose processor can be a microprocessor or any conventional processor. The steps of the methods disclosed in the embodiments of this specification can be directly implemented by a hardware decoding processor, or by a combination of hardware and software modules in the decoding processor. The software modules can reside in random access memory, flash memory, read-only memory, programmable read-only memory, electrically erasable programmable memory, registers, or other mature storage media in the art. This storage medium is located in memory; the processor reads information from the memory and, in conjunction with its hardware, completes the steps of the above method.

[0236] It is understood that the memory in this invention can be volatile memory or non-volatile memory, or may include both. Specifically, the non-volatile memory can be read-only memory (ROM), programmable read-only memory (PROM), erasable programmable read-only memory (EPROM), electrically erasable programmable read-only memory (EEPROM), or flash memory. The volatile memory can be random access memory (RAM). It should be noted that the memory in the systems and methods described herein is intended to include, but is not limited to, these and any other suitable types of memory.

[0237] The data involved in the embodiments of the present invention (including but not limited to data used for analysis, data stored, data displayed, etc.) are all information and data authorized by the user or fully authorized by all parties, and corresponding operation entry points are provided for the user to choose to authorize or refuse.

[0238] Those skilled in the art will recognize that the units and algorithm steps of the various examples described in conjunction with the embodiments disclosed herein can be implemented in electronic hardware, or a combination of computer software and electronic hardware. Whether these functions are implemented in hardware or software depends on the specific application and design constraints of the technical solution. Those skilled in the art can use different methods to implement the described functions for each specific application, but such implementation should not be considered beyond the scope of this specification.

[0239] Those skilled in the art will clearly understand that, for the sake of convenience and brevity, the specific working processes of the systems, devices, and units described above can be referred to the corresponding processes in the aforementioned method implementations, and will not be repeated here.

[0240] In the several embodiments provided in this specification, it should be understood that the disclosed systems, apparatuses, and methods can be implemented in other ways. For example, the apparatus embodiments described above are merely illustrative; for instance, the division of units is only a logical functional division, and in actual implementation, there may be other division methods. For example, multiple units or components may be combined or integrated into another system, or some features may be ignored or not executed. Furthermore, the mutual coupling or direct coupling or communication connection shown or discussed may be through some interfaces; the indirect coupling or communication connection between devices or units may be electrical, mechanical, or other forms.

[0241] The units described as separate components may or may not be physically separate. The components shown as units may or may not be physical units; that is, they may be located in one place or distributed across multiple network units. Some or all of the units can be selected to achieve the purpose of this embodiment, depending on actual needs.

[0242] 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.

[0243] If the aforementioned functions are implemented as software functional units and sold or used as independent products, they can be stored in a computer-readable storage medium. Based on this understanding, the technical solutions of this specification, in essence, or the parts that contribute to the prior art, or parts of the technical solutions, can be embodied in the form of software products. These computer software products are stored in a storage medium and include several instructions to cause a computer device (which may be a personal computer, server, or network device, etc.) to execute all or part of the steps of the methods described in the various embodiments of this specification. The aforementioned storage medium includes various media capable of storing program code, such as USB flash drives, portable hard drives, read-only memory (ROM), random access memory (RAM), magnetic disks, or optical disks.

[0244] The above description is merely a specific embodiment of this specification, but the scope of protection of this invention is not limited thereto. Any variations or substitutions that can be easily conceived by those skilled in the art within the technical scope disclosed in this specification should be included within the scope of protection of this specification. Therefore, the scope of protection of this invention should be determined by the scope of the claims.

Claims

1. A multi-factor driven method for mining electricity consumption information, characterized in that, The method includes: The electricity load data and external influencing factor data of the industry to be analyzed are extracted at preset time intervals to obtain the electricity load sequence and the electricity intelligence index sequence of each external influencing factor. Based on the correlation between the electricity load sequence and the electricity consumption information index sequence, candidate driving factors are selected from multiple external influencing factors. The electrical load sequence is decomposed into multiple time scales to obtain multiple modal components with different center frequencies; For the electricity consumption intelligence index sequence of the candidate driving factors, a sparse regression model with regularization constraints is established with the current time feature and multiple lag time features as independent variables and the modal components corresponding to each time scale as dependent variables, to identify the effective driving factors and their direction of action, contribution rate and dominant lag time at each time scale. Based on the categories of effective driving factors, candidate mediator variables with mechanistic constraints and their corresponding independent variable sets are constructed. Nonlinear relationship models are established for the independent variables, candidate mediator variables and modal components of the corresponding time scales. The strength of direct action, the strength of indirect transmission and the proportion of mediating transmission are calculated, and significant mediating transmission paths are identified. Based on the effective driving factors, their contribution rates, dominant lag times, and significant mediating transmission paths, electricity consumption intelligence and transmission path networks for the industry under analysis at different time scales are generated.

2. The method according to claim 1, characterized in that, The electricity load data and external influencing factor data of the industry to be analyzed are extracted at preset time intervals to obtain the electricity load sequence and the electricity intelligence index sequence of each external influencing factor, including: Acquire electricity load data and external influencing factor data; wherein, the external influencing factor data includes economic indicators, meteorological indicators, and date attributes; The electricity load data and the external influencing factor data are mapped to a unified time scale according to a preset time interval, a unified timestamp is generated, and sorted and matched according to the unified timestamp; The matched data are standardized and preprocessed to obtain the electricity load sequence and the electricity information index sequence of each external influencing factor.

3. The method according to claim 1, characterized in that, Based on the correlation between the electricity load sequence and the electricity consumption information index sequence, candidate driving factors are selected from multiple external influencing factors, including: Based on the electricity load sequence and the electricity information index sequence, calculate the Pearson correlation coefficient between each external influencing factor and the target load; Based on the electricity load sequence and the electricity intelligence index sequence, calculate the grey correlation degree between each external influencing factor and the target load; If the absolute value of the Pearson correlation coefficient of the corresponding external influencing factor is greater than or equal to the preset correlation coefficient, or the grey correlation degree is greater than or equal to the preset correlation degree threshold, the external influencing factor is determined as a candidate driving factor.

4. The method according to claim 1, characterized in that, The electrical load sequence is decomposed into multiple time-scale components to obtain multiple modal components with different center frequencies, including: By constructing a variational problem and decomposing the electrical load sequence into K eigenmode functions with finite bandwidth; The number of modal components, penalty factor, convergence tolerance, initialization method, and whether to retain the DC component are set. The alternating direction multiplier method is used to iteratively solve for each modal component and its center frequency. The modal components are sorted from low to high according to their corresponding center frequencies; among them, the modal components with lower center frequencies represent long-term change trends, the modal components with intermediate center frequencies represent medium-term periodic changes, and the modal components with higher center frequencies represent short-term fluctuations.

5. The method according to claim 1, characterized in that, For the electricity consumption intelligence index sequence of the candidate driving factors, using the current time-time characteristics and multiple lag time-time characteristics as independent variables, and the modal components corresponding to each time scale as dependent variables, a sparse regression model with regularization constraints is established to identify the effective driving factors, their direction of action, contribution rate, and dominant lag time at each time scale, including: For each candidate driving factor, the factor value corresponding to one or more sampling intervals before the target time is found based on the timestamp, forming the hysteresis characteristics of the candidate driving factor at each order; The current time characteristics and lag characteristics of each candidate driving factor at the target time are used as independent variables, and the modal components of each time scale at the target time are used as dependent variables to construct a sparse regression model for each time scale. Based on the sparse regression model, identify the effective driving factors, their direction of action, contribution rate, and dominant lag time at each time scale.

6. The method according to claim 5, characterized in that, Based on the sparse regression model, the effective driving factors at each time scale, their direction of action, contribution rate, and dominant lag time are identified, including: The current-time features and lag-time features with non-zero regression coefficients are identified as the effective driving factors at the corresponding time scale. The direction of action of each effective driving factor is determined by the sign of the regression coefficient; For each effective driving factor, the contribution rate of the effective driving factor is obtained by dividing the sum of the absolute values ​​of the regression coefficients of the current time feature and the lag features corresponding to the effective driving factor by the sum of the absolute values ​​of the regression coefficients of all features. For each effective driving factor, the lag order of the feature corresponding to the maximum absolute value of the contribution rate is determined as the dominant lag order, and the dominant lag time is determined according to the sampling time interval corresponding to the dominant lag order.

7. The method according to claim 1, characterized in that, Based on the categories of effective driving factors, candidate mediator variables with mechanistic constraints and their corresponding independent variable sets are constructed. Nonlinear relationship models are established for the independent variables, candidate mediator variables, and modal components at corresponding time scales. The strength of direct effects, indirect transmission strength, and the proportion of mediation transmission are calculated to identify significant mediation transmission paths, including: For each time scale, based on the effective driving factors corresponding to the time scale, a set of candidate mediator variables with mechanistic constraints and their corresponding independent variables are constructed; wherein, the independent variables in the set of independent variables are of the same category as the candidate mediator variables; the mediator variables and the independent variables belong to the current time characteristics and lag time characteristics of the effective driving factors; For each mediating variable, based on the set of independent variables of the mediating variable, a mediation transmission function is established between the mediating variable and the independent variables in the set of independent variables; Construct a nonlinear relationship model between the current-time characteristics and lag characteristics of the mediating transmission function and the effective driving factors, and the corresponding modal components; Based on the mediation transmission function and the nonlinear relationship model, the intensity of direct action, the intensity of indirect transmission, and the proportion of mediation are calculated to identify significant mediation transmission paths.

8. The method according to claim 7, characterized in that, Constructing a nonlinear relationship model between the current-time characteristics and lag characteristics of the mediating transmission function and the effective driving factors, and the corresponding modal components, includes: according to Construct a nonlinear relationship model; among which, For the first Modal components at each time scale The direct action function of the effective driving factors on the modal components, Let be the function of the mediator variable on the modal components. , It is a non-linear relationship function between the independent variable and the mediating variable. , This represents random error.

9. The method according to claim 8, characterized in that, Based on the mediating transmission function and the nonlinear relationship model, the direct action intensity, indirect transmission intensity, and proportion of mediating transmission are calculated, including: For each independent variable, the magnitude of the first effect of the independent variable on the mediator variable is calculated based on the partial dependence result of the mediation transmission function. Based on the partial dependence results of the corresponding terms of the mediator variables in the nonlinear relationship model, calculate the magnitude of the second effect of the mediator variables on the modal components; Multiplying the first effect amplitude by the second effect amplitude yields the indirect conduction strength; Based on the partial dependency results of the corresponding terms of the independent variables in the nonlinear relationship model, the direct effect magnitude of the independent variables on the modal components is calculated to obtain the direct effect strength. The proportion of mediated transmission of the independent variable is obtained by dividing the absolute value of the indirect transmission intensity by the sum of the absolute values ​​of the indirect transmission intensity and the direct action intensity.

10. The method according to claim 9, characterized in that, Identify significant mediating transmission paths, including: Obtain the first p-value between the independent variable and the mediator variable, and the second p-value between the mediator variable and the modal component, respectively; If the first p-value is less than the first significance level and the second p-value is less than the second significance level, the corresponding independent variable-mediation variable-modal component path is determined as a significant mediation transmission path.

11. The method according to claim 10, characterized in that, After identifying the corresponding independent variable-mediation variable-modal component path as a significant mediation transmission path, the method further includes: When there are two mutually inverse significant mediation transmission paths formed by the exchange of independent and mediating variables under the same time scale and the same target modal component, the two mutually inverse significant mediation transmission paths are ranked according to a preset ranking strategy to obtain the comprehensive priority of each significant mediation transmission path; wherein, the preset ranking strategy is to rank them according to the priority order of indirect transmission strength and mediating transmission ratio. The most significant mediating transmission path with the highest overall priority is identified as the target significant transmission path. Accordingly, the step of generating electricity consumption intelligence and transmission path networks for the industry to be analyzed at different time scales based on the effective driving factors, their contribution rates and lag times, and significant mediating transmission paths includes: Based on the effective driving factors, their contribution rates and lag times, and the significant transmission path of the target, electricity consumption intelligence and transmission path network of the industry to be analyzed at different time scales are generated.

12. A multi-factor driven electricity consumption information mining device, characterized in that, The device includes: The intelligence extraction module is used to extract intelligence from the electricity load data and external influencing factor data of the industry to be analyzed at preset time intervals, so as to obtain the electricity load sequence and the electricity intelligence index sequence of each external influencing factor. The factor screening module is used to screen candidate driving factors from multiple external influencing factors based on the correlation between the electricity load sequence and the electricity intelligence index sequence. The load decomposition module is used to decompose the electrical load sequence into multiple time scales to obtain multiple modal components with different center frequencies. The feature regression module is used to establish a sparse regression model with regularization constraints for the electricity consumption intelligence index sequence of the candidate driving factors, with the current time feature and multiple lag time features as independent variables and the modal components corresponding to each time scale as dependent variables, to identify the effective driving factors and their direction of action, contribution rate and dominant lag time at each time scale. The path identification module is used to construct candidate mediator variables with mechanistic constraints and their corresponding independent variable sets based on the categories of effective driving factors. It establishes a nonlinear relationship model for the independent variables, candidate mediator variables and modal components of the corresponding time scale, calculates the intensity of direct action, indirect transmission intensity and mediating transmission ratio, and identifies significant mediating transmission paths. The intelligence generation module is used to generate electricity consumption intelligence and transmission path network of the industry to be analyzed at different time scales based on the effective driving factors, their contribution rates and dominant lag times, and significant mediating transmission paths.

13. An electronic device, characterized in that, include: A memory and a processor, wherein the memory stores a computer program, and the processor executes the computer program to implement the multi-factor driven electricity consumption information mining method according to any one of claims 1 to 11.

14. A computer-readable storage medium, characterized in that, The computer-readable storage medium stores a computer program for causing a computer to execute the multi-factor driven electricity consumption intelligence mining method according to any one of claims 1 to 11.