Method and device for analyzing carbon emission reduction of domestic electricity consumption of residents

By integrating the learner and the CART decision tree model, combined with the living characteristics of residents, the problem of insufficient data integration and dynamic factors in the calculation of electricity carbon emission reductions is solved, the accuracy and comparability of the analysis are improved, and the low-carbon behavior changes of residents are promoted. .

CN118627732APending Publication Date: 2024-09-10CHINA ELECTRIC POWER RESEARCH INSTITUTE CO LTD
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202410696698.9
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2024-05-31
Publication Date
2024-09-10

AI Technical Summary

Technical Problem

The existing technology has problems in the calculation of carbon emission reductions for residential electricity consumption, such as imperfect data integration and sharing mechanisms and insufficient consideration of dynamic changing factors, which affects the accuracy and comparability of accounting results.

Method used

Use a pre-built integrated learner to predict electricity consumption using residents' living characteristics (such as average temperature, family size, per capita income, energy consumption per unit of GDP), train individual learners through CART decision trees, calculate weight coefficients, and determine carbon emissions volume and emission reductions.

Benefits of technology

It improves the accuracy and comparability of carbon emission reduction analysis for residents’ electricity consumption, provides a real-time feedback mechanism, encourages residents to adopt low-carbon behaviors, and promotes continuous energy conservation and emission reduction.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN118627732A
    Figure CN118627732A
Patent Text Reader

Abstract

The invention relates to the technical field of low-carbon electricity utilization, and particularly provides a carbon emission reduction analysis method and device for resident living electricity utilization, and the method comprises the steps: taking resident living characteristics as the input of a pre-constructed integrated learning device, and obtaining a resident living electricity consumption prediction value outputted by the pre-constructed integrated learning device; determining a carbon emission prediction value of the resident life based on the resident life electricity consumption prediction value, and taking the carbon emission prediction value as a reference emission of the resident life electricity consumption; and determining the carbon emission reduction amount of the resident living electricity consumption based on the reference emission amount of the resident living electricity consumption and the actual emission amount generated by the resident living electricity consumption. According to the technical scheme provided by the invention, residents can be promoted to deeply know own power consumption behaviors, the residents can immediately see own energy-saving and emission-reducing achievements through a real-time feedback mechanism, and the power of continuously adopting low-carbon behaviors is increased.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present invention relates to the technical field of low-carbon electricity consumption, and in particular to a method and device for analyzing carbon emission reduction of residential electricity consumption. Background Art

[0002] Under the current urgent background of global climate change, reducing carbon emissions has become a common goal of the international community. The 2020 Emissions Gap Report points out that current household greenhouse gas emissions account for about 2 / 3 of the global total. Therefore, reducing carbon emissions from residents' daily consumption and accelerating the transformation of work and lifestyle have become important aspects of reducing carbon emissions.

[0003] In order to promote the comprehensive development and application of carbon emission reduction technology, it is particularly important to accurately grasp the carbon emission reduction of residential electricity consumption. Traditionally, the carbon emission reduction of residential electricity consumption is mainly calculated using regional electricity carbon emission factors, through data cleaning, outlier processing and missing value filling and other technologies. However, the existing technology has problems such as imperfect data integration and sharing mechanism and insufficient consideration of dynamic change factors. These problems affect the accuracy and comparability of the accounting results. Summary of the invention

[0004] In order to overcome the above-mentioned defects, the present invention proposes a method and device for analyzing carbon emission reduction of residential electricity consumption.

[0005] In a first aspect, a method for analyzing carbon emission reduction of residential electricity consumption is provided, the method comprising:

[0006] Taking the residents' life characteristics as the input of the pre-built integrated learner, and obtaining the predicted value of residents' life electricity consumption output by the pre-built integrated learner;

[0007] Determine a predicted value of carbon emissions from residents' daily life based on the predicted value of residents' daily electricity consumption, and use it as a benchmark emission value for residents' daily electricity consumption;

[0008] The carbon emission reduction of residential electricity consumption is determined based on the baseline emission of residential electricity consumption and the actual emission generated by residential electricity consumption.

[0009] Preferably, the residents' living characteristics include at least one of the following: average temperature, household size, per capita income, and energy consumption per unit of GDP.

[0010] Preferably, the mathematical model of the pre-built ensemble learner is as follows:

[0011]

[0012] In the above formula, E yis the predicted value of residential electricity consumption, T is the number of pre-trained individual learners, α t is the weight coefficient corresponding to the tth individual learner, Me is the median function, h t The predicted value of residents’ electricity consumption is output by the t-th individual learner after taking residents’ living characteristics as input.

[0013] Furthermore, the training process of the individual learner includes:

[0014] Use historical residents’ living characteristics and historical residents’ electricity consumption to construct training data;

[0015] The training data is used to train the CART decision tree to obtain an individual learner.

[0016] Furthermore, the process of obtaining the weight coefficient corresponding to the t-th individual learner includes:

[0017] Step a. Initialize t = 1, and initialize the weight of the first individual learner for each sample data to Among them, M is the total number of sample data;

[0018] Step b. Calculate the maximum error between the actual residential electricity consumption of each sample in the training data and the prediction result of the tth individual learner;

[0019] Step c. Calculate the relative error value of the tth individual learner for each sample in the training data;

[0020] Step d. Calculate the regression error rate of the tth individual learner on the training data;

[0021] Step e. Calculate the weight coefficient corresponding to the tth individual learner;

[0022] Step f. Determine whether t is equal to T. If so, output the weight coefficient corresponding to each individual learner. Otherwise, update the weight of each sample data of the t+1th individual learner, set t=t+1, and return to step b.

[0023] Furthermore, the maximum error between the actual residential electricity consumption of each sample in the training data and the prediction result of the tth individual learner is as follows:

[0024] F t =max|y i -h t (x i )|,i=1,2,...,M

[0025] In the above formula, F tis the maximum error between the actual residential electricity consumption of each sample in the training data and the prediction result of the tth individual learner, y i is the actual residential electricity consumption of the i-th sample in the training data, h t (x i ) is the predicted value of residents’ living electricity consumption output by the t-th individual learner after taking the residents’ living characteristics of the i-th sample in the training data as the input.

[0026] Furthermore, the relative error value of the t-th individual learner for each sample in the training data is as follows:

[0027]

[0028] In the above formula, e ti is the relative error value of the t-th individual learner for the i-th sample in the training data.

[0029] Furthermore, the regression error rate of the t-th individual learner on the training data is as follows:

[0030]

[0031] In the above formula, ε t is the regression error rate of the tth individual learner on the training data, w ti is the weight of the t-th individual learner for the i-th sample data.

[0032] Furthermore, the weight coefficient corresponding to the t-th individual learner is as follows:

[0033]

[0034] In the above formula, α t is the weight coefficient corresponding to the tth individual learner.

[0035] Furthermore, the weight of each sample data of the t+1th individual learner is updated as follows:

[0036]

[0037] In the above formula, w t+1,i is the updated weight of the t+1th individual learner for each sample data, Z t is the normalization factor corresponding to the tth individual learner.

[0038] Furthermore, the normalization factor corresponding to the t-th individual learner is as follows:

[0039]

[0040] Furthermore, the predicted carbon emissions of residents' lives are as follows:

[0041] B y =E y ×EF grid,y

[0042] In the above formula, B y is the predicted value of carbon emissions from residents’ lives, EF grid,y is the CO2 emission factor for regional power grid electricity generation.

[0043] Furthermore, the carbon emission reduction of residential electricity is as follows:

[0044] RE y =B y -PE y

[0045] In the above formula, RE y Carbon emission reduction for residential electricity consumption, PE y The actual emissions generated by residential electricity consumption.

[0046] In a second aspect, a device for analyzing carbon emission reduction of residential electricity consumption is provided, wherein the device for analyzing carbon emission reduction of residential electricity consumption comprises:

[0047] An analysis module, used for taking the residents' life characteristics as input of a pre-built integrated learner, and obtaining the predicted value of residents' life electricity consumption output by the pre-built integrated learner;

[0048] A first determination module is used to determine a predicted value of carbon emissions from residents' lives based on the predicted value of residents' electricity consumption, and use it as a benchmark emission value for residents' electricity consumption;

[0049] The second determination module is used to determine the carbon emission reduction of residential electricity consumption based on the baseline emission of residential electricity consumption and the actual emission generated by residential electricity consumption.

[0050] In a third aspect, a computer device is provided, comprising: one or more processors;

[0051] The processor is used to store one or more programs;

[0052] When the one or more programs are executed by the one or more processors, the method for analyzing carbon emission reduction of residential electricity consumption is implemented.

[0053] In a fourth aspect, a computer-readable storage medium is provided, on which a computer program is stored, and when the computer program is executed, the carbon emission reduction analysis method of residential electricity consumption is implemented.

[0054] The above one or more technical solutions of the present invention have at least one or more of the following beneficial effects:

[0055] The present invention provides a method and device for analyzing carbon emission reduction of residential electricity consumption, including: taking residential life characteristics as input of a pre-built integrated learner to obtain a predicted value of residential electricity consumption output by the pre-built integrated learner; determining a predicted value of carbon emissions from residential life based on the predicted value of residential electricity consumption, and using it as a benchmark emission for residential electricity consumption; determining carbon emission reduction from residential electricity consumption based on the benchmark emission for residential electricity consumption and the actual emission generated by residential electricity consumption. The technical solution provided by the present invention can promote residents' in-depth understanding of their own electricity consumption behavior. Through a real-time feedback mechanism, residents can immediately see the results of their own energy conservation and emission reduction, increasing their motivation to continue to adopt low-carbon behaviors. BRIEF DESCRIPTION OF THE DRAWINGS

[0056] Figure 1 It is a flow chart of the main steps of the method for analyzing carbon emission reduction of residential electricity consumption according to an embodiment of the present invention. DETAILED DESCRIPTION

[0057] The specific implementation modes of the present invention will be further described in detail below in conjunction with the accompanying drawings.

[0058] In order to make the purpose, technical solution and advantages of the embodiments of the present invention clearer, the technical solution in the embodiments of the present invention will be clearly and completely described below in conjunction with the drawings in the embodiments of the present invention. Obviously, the described embodiments are part of the embodiments of the present invention, not all of the embodiments. Based on the embodiments of the present invention, all other embodiments obtained by ordinary technicians in this field without creative work are within the scope of protection of the present invention.

[0059] Example 1

[0060] See attached Figure 1 , Figure 1 FIG. 1 is a flow chart showing the main steps of a method for analyzing carbon emission reduction of residential electricity consumption according to an embodiment of the present invention. Figure 1 As shown, the method for analyzing carbon emission reduction of residential electricity consumption in the embodiment of the present invention mainly includes the following steps:

[0061] Step S101: taking the residents' life characteristics as the input of a pre-built integrated learner, and obtaining the predicted value of residents' life electricity consumption output by the pre-built integrated learner;

[0062] Step S102: determining a predicted value of carbon emissions from residents' daily life based on the predicted value of residents' daily life electricity consumption, and using it as a benchmark emission value for residents' daily life electricity consumption;

[0063] Step S103: determining the carbon emission reduction of residential electricity consumption based on the baseline emission of residential electricity consumption and the actual emission generated by residential electricity consumption.

[0064] The residents' living characteristics include at least one of the following: average temperature, family size, per capita income, and energy consumption per unit of GDP.

[0065] In this embodiment, based on the characteristics of the same residential user's energy consumption in the past 2-3 years related to factors such as climate environment, family population, economic level, and technical level, a residential user electricity consumption prediction model is constructed to accurately predict the residential user's electricity consumption in the target period, which is used as a baseline for electricity consumption.

[0066] The ensemble learning method based on the Boosting strategy, namely the adaptive boosting (AdaBoost) ensemble learning algorithm, is selected to construct the electricity consumption prediction model. By training a series of individual learners, serially training multiple individual learners, and weighted combining the prediction results, a stronger final learner is created to solve the problem of a single prediction algorithm being sensitive to samples and reduce prediction bias. The mathematical model of the pre-built ensemble learner is as follows:

[0067]

[0068] In the above formula, E y is the predicted value of residential electricity consumption, T is the number of pre-trained individual learners, α t is the weight coefficient corresponding to the tth individual learner, Me is the median function, h t The predicted value of residents’ electricity consumption is output by the t-th individual learner after taking residents’ living characteristics as input.

[0069] In one embodiment, the prediction of residential electricity consumption is a multivariate nonlinear regression problem of the correlation between electricity consumption and various influencing factors. The CART decision tree algorithm suitable for regression prediction is used to recursively divide the data set according to certain features to form a binary tree, and the optimal split point of each node is calculated by the square error minimization criterion, so that the output of the leaf node of the divided data set is as close as possible to the value of the training sample. The training process of the individual learner includes:

[0070] Use historical residents’ living characteristics and historical residents’ electricity consumption to construct training data;

[0071] The training data is used to train the CART decision tree to obtain an individual learner.

[0072] In one embodiment, the process of obtaining the weight coefficient corresponding to the t-th individual learner includes:

[0073] Step a. Initialize t = 1, and initialize the weight of the first individual learner for each sample data to Among them, M is the total number of sample data;

[0074] Step b. Calculate the maximum error between the actual residential electricity consumption of each sample in the training data and the prediction result of the tth individual learner;

[0075] Step c. Calculate the relative error value of the tth individual learner for each sample in the training data;

[0076] Step d. Calculate the regression error rate of the tth individual learner on the training data;

[0077] Step e. Calculate the weight coefficient corresponding to the tth individual learner;

[0078] Step f. Determine whether t is equal to T. If so, output the weight coefficient corresponding to each individual learner. Otherwise, update the weight of each sample data of the t+1th individual learner, set t=t+1, and return to step b.

[0079] In one embodiment, the maximum error between the actual residential electricity consumption of each sample in the training data and the prediction result of the tth individual learner is as follows:

[0080] F t =max|y i -h t (x i )|,i=1,2,...,M

[0081] In the above formula, F t is the maximum error between the actual residential electricity consumption of each sample in the training data and the prediction result of the tth individual learner, y i is the actual residential electricity consumption of the i-th sample in the training data, h t (x i ) is the predicted value of residents’ living electricity consumption output by the t-th individual learner after taking the residents’ living characteristics of the i-th sample in the training data as the input.

[0082] In one embodiment, the relative error value of the t-th individual learner for each sample in the training data is as follows:

[0083]

[0084] In the above formula, e ti is the relative error value of the t-th individual learner for the i-th sample in the training data.

[0085] In one embodiment, the regression error rate of the t-th individual learner on the training data is as follows:

[0086]

[0087] In the above formula, ε t is the regression error rate of the tth individual learner on the training data, w ti is the weight of the t-th individual learner for the i-th sample data.

[0088] In one embodiment, the weight coefficient corresponding to the t-th individual learner is as follows:

[0089]

[0090] In the above formula, α t is the weight coefficient corresponding to the tth individual learner.

[0091] In one embodiment, the weight of each sample data of the t+1th individual learner is updated as follows:

[0092]

[0093] In the above formula, w t+1,i is the updated weight of the t+1th individual learner for each sample data, Z t is the normalization factor corresponding to the tth individual learner.

[0094] In one embodiment, the normalization factor corresponding to the t-th individual learner is as follows:

[0095]

[0096] In one embodiment, the predicted carbon emissions of residents' lives are as follows:

[0097] B y =E y ×EF grid,y

[0098] In the above formula, B y is the predicted value of carbon emissions from residents’ lives, EF grid,y is the CO2 emission factor for regional power grid electricity generation.

[0099] In one embodiment, the carbon emission reduction of residential electricity is as follows:

[0100] RE y =B y -PE y

[0101] In the above formula, RE yCarbon emission reduction for residential electricity consumption, PE y The actual emissions generated by residential electricity consumption.

[0102] Based on the results of emission reduction analysis, the carbon credit platform operator provides residents with emission reduction incentives to encourage them to take more energy-saving and emission reduction actions. These incentives include but are not limited to carbon credit rewards and discounts on energy-saving products. The incentive unit is also responsible for the management of incentives, tracking and evaluating residents' participation, proposing emission reduction strategies, and providing feedback on incentive effects.

[0103] Example 2

[0104] Based on the same inventive concept, the present invention also provides a device for analyzing carbon emission reduction of residential electricity consumption, and the device for analyzing carbon emission reduction of residential electricity consumption comprises:

[0105] An analysis module, used for taking the residents' life characteristics as input of a pre-built integrated learner, and obtaining the predicted value of residents' life electricity consumption output by the pre-built integrated learner;

[0106] A first determination module is used to determine a predicted value of carbon emissions from residents' lives based on the predicted value of residents' electricity consumption, and use it as a benchmark emission value for residents' electricity consumption;

[0107] The second determination module is used to determine the carbon emission reduction of residential electricity consumption based on the baseline emission of residential electricity consumption and the actual emission generated by residential electricity consumption.

[0108] Preferably, the residents' living characteristics include at least one of the following: average temperature, household size, per capita income, and energy consumption per unit of GDP.

[0109] Preferably, the mathematical model of the pre-built ensemble learner is as follows:

[0110]

[0111] In the above formula, E y is the predicted value of residential electricity consumption, T is the number of pre-trained individual learners, α t is the weight coefficient corresponding to the tth individual learner, Me is the median function, h t The predicted value of residents’ electricity consumption is output by the t-th individual learner after taking residents’ living characteristics as input.

[0112] Furthermore, the training process of the individual learner includes:

[0113] Use historical residents’ living characteristics and historical residents’ electricity consumption to construct training data;

[0114] The training data is used to train the CART decision tree to obtain an individual learner.

[0115] Furthermore, the process of obtaining the weight coefficient corresponding to the t-th individual learner includes:

[0116] Step a. Initialize t = 1, and initialize the weight of the first individual learner for each sample data to Among them, M is the total number of sample data;

[0117] Step b. Calculate the maximum error between the actual residential electricity consumption of each sample in the training data and the prediction result of the tth individual learner;

[0118] Step c. Calculate the relative error value of the tth individual learner for each sample in the training data;

[0119] Step d. Calculate the regression error rate of the tth individual learner on the training data;

[0120] Step e. Calculate the weight coefficient corresponding to the tth individual learner;

[0121] Step f. Determine whether t is equal to T. If so, output the weight coefficient corresponding to each individual learner. Otherwise, update the weight of each sample data of the t+1th individual learner, set t=t+1, and return to step b.

[0122] Furthermore, the maximum error between the actual residential electricity consumption of each sample in the training data and the prediction result of the tth individual learner is as follows:

[0123] F t =max|y i -h t (x i )|,i=1,2,...,M

[0124] In the above formula, F t is the maximum error between the actual residential electricity consumption of each sample in the training data and the prediction result of the tth individual learner, y i is the actual residential electricity consumption of the i-th sample in the training data, h t (x i ) is the predicted value of residents’ living electricity consumption output by the t-th individual learner after taking the residents’ living characteristics of the i-th sample in the training data as the input.

[0125] Furthermore, the relative error value of the t-th individual learner for each sample in the training data is as follows:

[0126]

[0127] In the above formula, e ti is the relative error value of the t-th individual learner for the i-th sample in the training data.

[0128] Furthermore, the regression error rate of the t-th individual learner on the training data is as follows:

[0129]

[0130] In the above formula, ε t is the regression error rate of the tth individual learner on the training data, w ti is the weight of the t-th individual learner for the i-th sample data.

[0131] Furthermore, the weight coefficient corresponding to the t-th individual learner is as follows:

[0132]

[0133] In the above formula, α t is the weight coefficient corresponding to the tth individual learner.

[0134] Furthermore, the weight of each sample data of the t+1th individual learner is updated as follows:

[0135]

[0136] In the above formula, w t+1,i is the updated weight of the t+1th individual learner for each sample data, Z t is the normalization factor corresponding to the tth individual learner.

[0137] Furthermore, the normalization factor corresponding to the t-th individual learner is as follows:

[0138]

[0139] Furthermore, the predicted carbon emissions of residents' lives are as follows:

[0140] B y =E y ×EF grid,y

[0141] In the above formula, B y is the predicted carbon emission of residents’ life, EF grid,y is the CO2 emission factor for regional power grid electricity generation.

[0142] Furthermore, the carbon emission reduction of residential electricity is as follows:

[0143] RE y =B y -PEy

[0144] In the above formula, RE y Carbon emission reduction for residential electricity consumption, PE y The actual emissions generated by residential electricity consumption.

[0145] Example 3

[0146] Based on the same inventive concept, the present invention also provides a computer device, which includes a processor and a memory, the memory is used to store a computer program, the computer program includes program instructions, and the processor is used to execute the program instructions stored in the computer storage medium. The processor may be a central processing unit (CPU), or other general-purpose processors, digital signal processors (DSP), application-specific integrated circuits (ASIC), field-programmable gate arrays (FPGA) or other programmable logic devices, discrete gates or transistor logic devices, discrete hardware components, etc. It is the computing core and control core of the terminal, which is suitable for implementing one or more instructions, and is specifically suitable for loading and executing one or more instructions in the computer storage medium to implement the corresponding method flow or corresponding function, so as to implement the steps of the carbon emission reduction analysis method of residential electricity consumption in the above embodiment.

[0147] Example 4

[0148] Based on the same inventive concept, the present invention also provides a storage medium, specifically a computer-readable storage medium (Memory), which is a memory device in a computer device for storing programs and data. It can be understood that the computer-readable storage medium here can include both built-in storage media in the computer device and, of course, extended storage media supported by the computer device. The computer-readable storage medium provides a storage space, which stores the operating system of the terminal. In addition, one or more instructions suitable for being loaded and executed by the processor are also stored in the storage space, and these instructions can be one or more computer programs (including program codes). It should be noted that the computer-readable storage medium here can be a high-speed RAM memory or a non-volatile memory, such as at least one disk memory. The processor can load and execute one or more instructions stored in the computer-readable storage medium to implement the steps of a method for analyzing carbon emission reductions of residential electricity consumption in the above embodiment.

[0149] Those skilled in the art will appreciate that embodiments of the present invention may be provided as methods, systems, or computer program products. Therefore, the present invention may take the form of a complete hardware embodiment, a complete software embodiment, or an embodiment combining software and hardware. Moreover, the present invention may take the form of a computer program product implemented on one or more computer-usable storage media (including but not limited to disk storage, CD-ROM, optical storage, etc.) containing computer-usable program code.

[0150] The present invention is described with reference to flowcharts and / or block diagrams of methods, devices (systems), and computer program products according to embodiments of the present invention. It should be understood that each process and / or block in the flowchart and / or block diagram, as well as the combination of processes and / or blocks in the flowchart and / or block diagram, can be implemented by computer program instructions. These computer program instructions can be provided to a processor of a general-purpose computer, a special-purpose computer, an embedded processor, or other programmable data processing device to produce a machine, so that the instructions executed by the processor of the computer or other programmable data processing device generate instructions for implementing the processes in the flowchart and / or block diagram. Figure 1 A process or multiple processes and / or boxes Figure 1 A device that provides the functions specified in a block or multiple blocks.

[0151] These computer program instructions may also be stored in a computer-readable memory capable of directing a computer or other programmable data processing device to operate in a specific manner, so that the instructions stored in the computer-readable memory produce an article of manufacture comprising an instruction device, which implements the process Figure 1 A process or multiple processes and / or boxes Figure 1 A function specified in one or more boxes.

[0152] These computer program instructions can also be loaded onto a computer or other programmable data processing device so that a series of operating steps are executed on the computer or other programmable device to produce a computer-implemented process, thereby providing instructions for implementing the process. Figure 1 A process or multiple processes and / or boxes Figure 1 A step that specifies a function in one or more boxes.

[0153] Finally, it should be noted that the above embodiments are only used to illustrate the technical solutions of the present invention rather than to limit it. Although the present invention has been described in detail with reference to the above embodiments, ordinary technicians in the relevant field should understand that the specific implementation methods of the present invention can still be modified or replaced by equivalents. Any modification or equivalent replacement that does not depart from the spirit and scope of the present invention should be covered within the scope of protection of the claims of the present invention.

Claims

1. A method for analyzing carbon emission reduction of residential electricity consumption, characterized in that: The method comprises: Taking the residents' life characteristics as the input of the pre-built integrated learner, and obtaining the predicted value of residents' life electricity consumption output by the pre-built integrated learner; Determine a predicted value of carbon emissions from residents' daily life based on the predicted value of residents' daily electricity consumption, and use it as a benchmark emission value for residents' daily electricity consumption; The carbon emission reduction of residential electricity consumption is determined based on the baseline emission of residential electricity consumption and the actual emission generated by residential electricity consumption.

2. The method according to claim 1, characterized in that The residents' living characteristics include at least one of the following: average temperature, family size, per capita income, and energy consumption per unit of GDP.

3. The method according to claim 1, characterized in that The mathematical model of the pre-built ensemble learner is as follows: In the above formula, E y is the predicted value of residential electricity consumption, T is the number of pre-trained individual learners, α t is the weight coefficient corresponding to the tth individual learner, Me is the median function, h t The predicted value of residents’ electricity consumption is output by the t-th individual learner after taking residents’ living characteristics as input.

4. The method according to claim 3, characterized in that The training process of the individual learner includes: Use historical residents’ living characteristics and historical residents’ electricity consumption to construct training data; The training data is used to train the CART decision tree to obtain an individual learner.

5. The method according to claim 3, characterized in that The process of obtaining the weight coefficient corresponding to the t-th individual learner includes: Step a. Initialize t = 1, and initialize the weight of the first individual learner for each sample data to Among them, M is the total number of sample data; Step b. Calculate the maximum error between the actual residential electricity consumption of each sample in the training data and the prediction result of the tth individual learner; Step c. Calculate the relative error value of the tth individual learner for each sample in the training data; Step d. Calculate the regression error rate of the tth individual learner on the training data; Step e. Calculate the weight coefficient corresponding to the tth individual learner; Step f. Determine whether t is equal to T. If so, output the weight coefficient corresponding to each individual learner. Otherwise, update the weight of each sample data of the t+1th individual learner, set t=t+1, and return to step b.

6. The method according to claim 5, characterized in that The maximum error between the actual residential electricity consumption of each sample in the training data and the prediction result of the tth individual learner is as follows: F t =max|y i -h t (x i )|,i=1,2,...,M In the above formula, F t is the maximum error between the actual residential electricity consumption of each sample in the training data and the prediction result of the tth individual learner, y i is the actual residential electricity consumption of the i-th sample in the training data, h t (x i ) is the predicted value of residents’ living electricity consumption output by the t-th individual learner after taking the residents’ living characteristics of the i-th sample in the training data as the input.

7. The method according to claim 6, characterized in that The relative error value of the t-th individual learner for each sample in the training data is as follows: In the above formula, e ti is the relative error value of the t-th individual learner for the i-th sample in the training data.

8. The method according to claim 7, characterized in that The regression error rate of the t-th individual learner on the training data is as follows: In the above formula, ε t is the regression error rate of the tth individual learner on the training data, w ti is the weight of the t-th individual learner for the i-th sample data.

9. The method according to claim 8, characterized in that The weight coefficient corresponding to the t-th individual learner is as follows: In the above formula, α t is the weight coefficient corresponding to the tth individual learner.

10. The method according to claim 9, characterized in that Update the weight of each sample data of the t+1th individual learner according to the following formula: In the above formula, w t+1,i is the updated weight of the t+1th individual learner for each sample data, Z t is the normalization factor corresponding to the tth individual learner.

11. The method according to claim 10, characterized in that The normalization factor corresponding to the t-th individual learner is as follows:

12. The method according to claim 3, characterized in that The predicted carbon emissions from residents' lives are as follows: B y =E y ×EF grid,y In the above formula, B y is the predicted value of carbon emissions from residents’ lives, EF grid,y is the CO2 emission factor for regional power grid electricity generation.

13. The method according to claim 12, characterized in that The carbon emission reduction of residential electricity consumption is as follows: RE y =B y -ON y In the above formula, RE y Carbon emission reduction for residential electricity consumption, PE y The actual emissions generated by residential electricity consumption.

14. A device for analyzing carbon emission reduction of residential electricity consumption based on any one of claims 1 to 13, characterized in that: The device comprises: An analysis module, used for taking the residents' life characteristics as input of a pre-built integrated learner, and obtaining the predicted value of residents' life electricity consumption output by the pre-built integrated learner; A first determination module is used to determine a predicted value of carbon emissions from residents' lives based on the predicted value of residents' electricity consumption, and use it as a benchmark emission value for residents' electricity consumption; The second determination module is used to determine the carbon emission reduction of residential electricity consumption based on the baseline emission of residential electricity consumption and the actual emission generated by residential electricity consumption.

15. A computer device, characterized in that: include: one or more processors; The processor is configured to execute one or more programs; When the one or more programs are executed by the one or more processors, the carbon emission reduction analysis method for residential electricity consumption as described in any one of claims 1 to 13 is implemented.

16. A computer-readable storage medium, characterized in that: A computer program is stored thereon, and when the computer program is executed, the carbon emission reduction analysis method for residential electricity consumption as described in any one of claims 1 to 13 is implemented.