Multi-power-grid carbon-emission distributed collaborative privacy computing method and system

By constructing a power and carbon emission information matrix, calculating power carbon flow information and iteratively correcting carbon emission factors, the problem of inaccurate carbon emission calculations and data leakage in multiple power grids is solved, and accurate carbon emission factor calculations and data confidentiality are achieved.

WO2024193368A1PCT designated stage expired Publication Date: 2024-09-26BIG DATA CENT OF STATE GRID CORP OF CHINA

Patent Information

Application Number
PCT/CN2024/080721
Authority / Receiving Office
WO · WO
Patent Type
Applications
Current Assignee / Owner
Priority Date
2023-03-17
Filing Date
2024-03-08
Publication Date
2024-09-26

AI Technical Summary

Technical Problem

When the existing technology calculates carbon emissions from multiple power grids, due to data confidentiality and differences in power grid scope between regions, the calculation of carbon emission factors is inaccurate, unable to accurately reflect differences in power structure in sub-regions, and the risk of data leakage is high.

Method used

By obtaining the transferred electricity between regions, the power generation and energy generation in sub-regions, we construct the electricity exchange matrix, power generation information matrix and carbon emission information matrix, calculate the electricity carbon flow information and construct the carbon emission balance equation, and iteratively correct the electricity carbon Ranking factor matrix to ensure data confidentiality.

Benefits of technology

It achieves accurate calculation of electricity carbon emission factors in each sub-region, ensures data confidentiality, improves the accuracy of calculation results and the feasibility of multi-party collaboration.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN2024080721_26092024_PF_FP
    Figure CN2024080721_26092024_PF_FP
Patent Text Reader

Abstract

The present invention provides a multi-power-grid carbon-emission distributed collaborative privacy computing method and system. The method comprises: constructing power exchange matrices among regions, and a power generation information matrix, a power exchange matrix and a power generation carbon emission information matrix of each region; calculating a corresponding electricity-related carbon emission flow information matrix according to the power generation information matrix and power exchange matrix of each region; and constructing an electricity-related carbon emission balance equation, and calculating an electricity-related carbon emission factor matrix of each region, the electricity-related carbon emission factor matrix being composed of electricity-related carbon emission factors of sub-regions. According to the present invention, the electricity-related carbon emission balance equation is constructed according to transferred power among the regions and the electricity-related carbon emission flow information and power generation carbon emission information corresponding to each region by means of a matrix relationship, so that the electricity-related carbon emission factors of each sub-region governed by each region are calculated, thereby guaranteeing the data privacy of each region while accurately calculating the electricity-related carbon emission factors of each sub-region.
Need to check novelty before this filing date? Find Prior Art

Description

Multi-grid carbon emission distributed collaborative privacy computing method and system Technical Field

[0001] The present invention belongs to the field of power grid carbon emission accounting, and specifically relates to a multi-grid carbon emission distributed collaborative privacy calculation method and system. Background Art

[0002] Electricity carbon emission intensity, also known as electricity carbon emission factor, refers to the amount of carbon dioxide emissions per unit of electricity consumption. That is, electricity carbon emission intensity is calculated by dividing carbon emissions by total electricity consumption. This indicator can be used to analyze the relationship between electricity consumption and carbon emissions in a region. The level of the carbon intensity indicator can also quantitatively measure the level of clean energy development in a country or region's electricity use. It is of great significance for the monitoring, analysis, and prediction of regional green development. The use of regional electricity carbon emission factors allows enterprises in a region to calculate the indirect carbon emissions caused by their own electricity use. The specific calculation method is to multiply the regional electricity carbon emission factor used by the enterprise by the amount of electricity used in the region. This method conforms to the "location-based method" proposed by the Greenhouse Gas Protocol (GHG Protocol). After calculating its own electricity carbon emissions, enterprises can purchase green certificates based on demand to adopt other carbon reduction measures to reduce their own carbon emissions.

[0003] Currently, power supply in each country is typically provided through the collaborative efforts of multiple regions. Each region is responsible for power supply to multiple subregions, with one or more power grids deployed in each subregion. Currently, data between regions is kept confidential, with only public data publicly available. Therefore, calculating carbon emissions across national subregions requires cross-regional data fusion, which can easily lead to the leakage of important inter-regional dispatch data. Furthermore, the scope of the power grids deployed by regions in each subregion varies slightly from subregion to subregion. Using the average carbon emission factor across each grid would result in an overly broad carbon emission factor. The calculated results would not accurately reflect the differences in power carbon emission factors across subregions, resulting from the varying power structure of each subregion. This, in turn, would lead to inaccurate calculations of indirect CO2 emissions across each subregion.

[0004] Summary of the Invention

[0005] In order to overcome the above-mentioned deficiencies of the prior art, the present invention proposes a multi-grid carbon emission distributed collaborative privacy computing method and system.

[0006] The technical solutions provided by the present invention are as follows:

[0007] The present invention provides a multi-grid carbon emission distributed collaborative privacy computing method, comprising:

[0008] Obtain the amount of electricity transferred between regions, the power generation of the sub-regions under the jurisdiction of each region, the amount of electricity transferred between sub-regions, and the energy generation of the sub-regions, and accordingly construct the electricity exchange matrix between regions, the power generation information matrix of each region, the electricity exchange matrix, and the power generation carbon emission information matrix;

[0009] Calculate the corresponding power carbon flow information matrix based on the power generation information matrix and power exchange matrix of each region;

[0010] Based on the electricity carbon flow information matrix of each region, the power generation carbon emission information matrix and the electricity exchange matrix between regions, the electricity carbon emission balance equation is constructed to calculate the electricity carbon emission factor matrix of each region. The regional electricity carbon emission factor matrix is ​​composed of the electricity carbon emission factors of the sub-regions under the jurisdiction of the region.

[0011] Preferably, the electricity carbon emission balance equation is expressed by the following calculation formula:

[0012] Among them, M τ is the electricity carbon flow information matrix of the τth region; P τL is the power exchange matrix between the τth region and the Lth region; P Lτ is the power exchange matrix between the Lth region and the τth region; λ τ is the electricity carbon emission factor matrix of the τth region; C τ is the power generation carbon emission information matrix of the τth region.

[0013] Preferably, the electricity carbon emission factor matrix is ​​calculated using the following formula:

[0014] in,

[0015] Among them, λ τ is the electricity carbon emission factor matrix of the τth region; C τ is the power generation carbon emission information matrix of the τth region; μ is the electricity carbon emission factor matrix of the μth region; P μτ is the power exchange matrix from the μth region to the τth region; M τ is the electricity carbon flow information matrix of the τth region; D μτ is the interaction power flow matrix between the sub-regions from the μth region to the τth region; is the iterative initial value of the electricity carbon emission factor matrix of the τth region.

[0016] Preferably, the power generation information matrix of the region is expressed by the following calculation formula:

[0017] Where E is the power generation information matrix of the region; E i is the power generation of the ith sub-region under the jurisdiction of the region, and N is the number of sub-regions under the jurisdiction of the region;

[0018] The power exchange matrix of the region is expressed by the following formula:

[0019] Where P is the regional power exchange matrix; P i,j is the amount of electricity transferred from sub-region i to sub-region j, and N is the number of sub-regions governed by the region;

[0020] The power generation carbon emission information matrix of the region is expressed by the following formula:

[0021] Where C is the regional power generation carbon emission information matrix; E i,m represents the power generation of the mth energy in the i sub-region; ε m Represents the carbon emission factor of power generation corresponding to the mth energy generation.

[0022] Preferably, the regional power carbon flow information matrix is ​​calculated by the following formula: M = E - P + diag (P [1])

[0023] Where M is the regional power carbon flow information matrix; E is the regional power generation information matrix; P is the regional power exchange matrix; [1] is a vector of all 1s; P[1] is the vector obtained by multiplying P and [1]; diag(P[1]) places the vector on the diagonal of the matrix, and the off-diagonal elements are 0.

[0024] Preferably, after calculating the electricity carbon emission factor matrix of each region, the method further includes:

[0025] According to the preset iteration termination threshold, the Jacobi block iteration method is used to iteratively correct the electricity carbon emission factor matrix between each region until the iteration meets the iteration termination threshold, and the iteratively corrected electricity carbon emission factor matrix of each region is obtained.

[0026] Based on the same inventive concept, the present invention also proposes a multi-grid carbon emission distributed collaborative privacy computing system, including:

[0027] The matrix construction module is used to obtain the amount of electricity transferred between regions, the power generation of the sub-regions under the jurisdiction of each region, the amount of electricity transferred between sub-regions, and the energy generation of the sub-regions, and accordingly construct the electricity exchange matrix between regions, the power generation information matrix of each region, the electricity exchange matrix, and the power generation carbon emission information matrix;

[0028] The matrix calculation module is used to calculate the corresponding power carbon flow information matrix based on the power generation information matrix and power exchange matrix of each region;

[0029] The electricity carbon emission factor calculation module is used to construct the electricity carbon emission balance equation based on the electricity carbon flow information matrix of each region, the power generation carbon emission information matrix and the electricity exchange matrix between each region, and calculate the electricity carbon emission factor matrix of each region. The regional electricity carbon emission factor matrix is ​​composed of the electricity carbon emission factors of the sub-regions under the jurisdiction of the region.

[0030] Preferably, the electricity carbon emission balance equation in the electricity carbon emission factor calculation module is expressed by the following calculation formula:

[0031] Among them, M τ is the electricity carbon flow information matrix of the τth region; P τL is the power exchange matrix between the τth region and the Lth region; P Lτ is the power exchange matrix between the Lth region and the τth region; λ τ is the electricity carbon emission factor matrix of the τth region; C τ is the power generation carbon emission information matrix of the τth region.

[0032] Preferably, the electricity carbon emission factor matrix in the electricity carbon emission factor calculation module is calculated using the following formula:

[0033] in,

[0034] Among them, λ τ is the electricity carbon emission factor matrix of the τth region; C τ is the power generation carbon emission information matrix of the τth region; μ is the electricity carbon emission factor matrix of the μth region; P μτ is the power exchange matrix from the μth region to the τth region; M τ is the electricity carbon flow information matrix of the τth region; D μτ is the interaction power flow matrix between the sub-regions from the μth region to the τth region; is the iterative initial value of the electricity carbon emission factor matrix of the τth region.

[0035] Preferably, the power generation information matrix of the region in the matrix building module is expressed by the following calculation formula:

[0036] Where E is the power generation information matrix of the region; E iis the power generation of the ith sub-region under the jurisdiction of the region, and N is the number of sub-regions under the jurisdiction of the region;

[0037] The power exchange matrix of the region in the matrix building module is expressed by the following calculation formula:

[0038] Where P is the regional power exchange matrix; P i,j is the amount of electricity transferred from sub-region i to sub-region j, and N is the number of sub-regions governed by the region;

[0039] The regional power generation carbon emission information matrix in the matrix construction module is expressed by the following calculation formula:

[0040] Where C is the regional power generation carbon emission information matrix; E i,m represents the power generation of the mth energy in the i sub-region; ε m Represents the carbon emission factor of power generation corresponding to the mth energy generation.

[0041] Preferably, the regional power carbon flow information matrix in the matrix calculation module is calculated by the following formula: M = E - P + diag (P [1])

[0042] Where M is the regional power carbon flow information matrix; E is the regional power generation information matrix; P is the regional power exchange matrix; [1] is a vector of all 1s; P[1] is the vector obtained by multiplying P and [1]; diag(P[1]) places the vector on the diagonal of the matrix, and the off-diagonal elements are 0.

[0043] Preferably, after calculating the electricity carbon emission factor matrix of each region, the electricity carbon emission factor calculation module further includes:

[0044] The iterative correction module uses the Jacobi block iteration method to iteratively correct the electricity carbon emission factor matrix between each region according to the preset iteration termination threshold until the iteration meets the iteration termination threshold, thereby obtaining the iteratively corrected electricity carbon emission factor matrix of each region.

[0045] Based on the same inventive concept, the present invention further proposes a computer device, comprising: one or more processors; a memory for storing one or more programs;

[0046] When the one or more programs are executed by the one or more processors, the above-mentioned multi-grid carbon emission distributed collaborative privacy computing method is implemented.

[0047] Based on the same inventive concept, the present invention further proposes a computer-readable storage medium on which a computer program is stored. When the computer program is executed, it implements the above-mentioned multi-grid carbon emission distributed collaborative privacy computing method.

[0048] Compared with the closest prior art, the present invention has the following beneficial effects:

[0049] The present invention provides a distributed collaborative privacy calculation method and system for carbon emissions in multiple power grids. The method obtains the amount of electricity transferred between regions, the power generation of the sub-regions under the jurisdiction of each region, the amount of electricity transferred between sub-regions, and the energy power generation of the sub-regions, and constructs an electricity exchange matrix between regions, a power generation information matrix for each region, an electricity exchange matrix, and a power generation carbon emission information matrix for each region. The method then calculates a corresponding power carbon flow information matrix based on the power generation information matrix and the electricity exchange matrix for each region. The method then constructs a power carbon emission balance equation based on the power carbon flow information matrix, the power generation carbon emission information matrix, and the power exchange matrix between regions, and calculates a power carbon emission factor matrix for each region. The power carbon emission factor matrix for each region is composed of the power carbon emission factors of the sub-regions under the jurisdiction of the region. The method calculates the power carbon emission factor of each sub-region under the jurisdiction of each region by constructing a power carbon emission balance equation based on the amount of electricity transferred between regions, the power carbon flow information corresponding to each region, and the power generation carbon emission information through a matrix relationship. This method ensures data confidentiality for each region while accurately calculating the power carbon emission factor for each sub-region. BRIEF DESCRIPTION OF THE DRAWINGS

[0050] FIG1 is a flow chart of a multi-grid carbon emission distributed collaborative privacy computing method provided by the present invention;

[0051] FIG2 is a schematic diagram of terminal communication connections in various areas of the present invention;

[0052] FIG3 is a schematic diagram of a calculation flow of a multi-grid carbon emission distributed collaborative privacy calculation method provided by the present invention;

[0053] FIG4 is a schematic diagram of software modules in the present invention taking two areas AB as an example;

[0054] Figure 5 is a connection diagram of a multi-grid carbon emission distributed collaborative privacy computing system provided by the present invention. DETAILED DESCRIPTION

[0055] The specific embodiments of the present invention will be further described in detail below with reference to the accompanying drawings.

[0056] Example 1:

[0057] The present invention provides a multi-grid carbon emission distributed collaborative privacy calculation method, as shown in FIG1 , comprising the following steps:

[0058] Step 1: Obtain the amount of electricity transferred between regions, the power generation of the sub-regions under the jurisdiction of each region, the amount of electricity transferred between sub-regions, and the energy generation of the sub-regions. Based on this, construct the electricity exchange matrix between regions, the power generation information matrix of each region, the electricity exchange matrix, and the power generation carbon emission information matrix;

[0059] Step 2: Calculate the corresponding power carbon flow information matrix based on the power generation information matrix and power exchange matrix of each region;

[0060] Step 3: Construct the electricity carbon emission balance equation based on the electricity carbon flow information matrix of each region, the power generation carbon emission information matrix, and the electricity exchange matrix between regions, and calculate the electricity carbon emission factor matrix of each region. The regional electricity carbon emission factor matrix is ​​composed of the electricity carbon emission factors of the sub-regions under the jurisdiction of the region.

[0061] The method provided by this invention transforms the inter-regional dispatch information under the jurisdiction of multiple regions, combines it with the electricity consumption information received from each region, and transmits the transformed information to each region to calculate the carbon emission factor of the power grid in the entire region's jurisdiction. This method is relatively fast and can ensure the protection of inter-provincial dispatch information and inter-provincial power generation information.

[0062] In step 1 of the present invention, the power generation information matrix of the region is expressed by the following calculation formula:

[0063] Where E is the power generation information matrix of the region; E i is the power generation of the ith sub-region under the jurisdiction of the region, and N is the number of sub-regions under the jurisdiction of the region;

[0064] The power exchange matrix of the region is expressed by the following formula:

[0065] Where P is the regional power exchange matrix; P i,j is the amount of electricity transferred from sub-region i to sub-region j, and N is the number of sub-regions governed by the region;

[0066] The power generation carbon emission information matrix of the region is expressed by the following formula:

[0067] Where C is the regional power generation carbon emission information matrix; E i,m represents the power generation of the mth energy in the i sub-region; ε m Represents the carbon emission factor of power generation corresponding to the mth energy generation.

[0068] Based on the above, in step 2, the regional power carbon flow information matrix is ​​calculated using the following formula: M = E - P + diag (P [1])

[0069] Among them, M is the regional power carbon flow information matrix; E is the regional power generation information matrix; P is the regional power exchange matrix; [1] is a vector of all 1s; P[1] is the vector obtained by multiplying P and [1]; diag(P[1]) is a matrix with vector P[1] placed on the diagonal of the matrix and the off-diagonal elements are 0.

[0070] At this point, as the basis for step 3, the electricity carbon emission balance equations are constructed: Mλ=C

[0071] Solve the equation: λ=M -1 C

[0072] Where λ is the regional electricity carbon emission factor matrix.

[0073] Therefore, the inter-provincial power dispatch information of each sub-region under the jurisdiction of each region is centrally calculated, and it is impossible to protect the important data of each region from being leaked. Step 3 of the present invention divides the above-mentioned power carbon emission balance equation group into matrix blocks.

[0074] Therefore, in step 3, the electricity carbon emission balance equation is expressed by the following calculation formula:

[0075] Where L represents the number of regions; M τ is the electricity carbon flow information matrix of the τth region; P τL is the power exchange matrix between the τth region and the Lth region; P Lτ is the power exchange matrix between the Lth region and the τth region; λ τ is the electricity carbon emission factor matrix of the τth region; C τ is the power generation carbon emission information matrix of the τth region.

[0076] The electricity carbon emission factor matrix is ​​calculated using the following formula:

[0077] in,

[0078] Among them, λ τ is the electricity carbon emission factor matrix of the τth region; C τ is the power generation carbon emission information matrix of the τth region; μ is the electricity carbon emission factor matrix of the μth region; P μτ is the power exchange matrix from the μth region to the τth region; M τis the electricity carbon flow information matrix of the τth region; D μτ is the interaction power flow matrix between the sub-regions from the μth region to the τth region; is the iterative initial value of the electricity carbon emission factor matrix of the τth region.

[0079] At the same time, after calculating the electricity carbon emission factor matrix of each region, it also includes:

[0080] According to the preset iteration termination threshold, the Jacobi block iteration method is used to iteratively correct the electricity carbon emission factor matrix between each region until the iteration meets the iteration termination threshold, and the iteratively corrected electricity carbon emission factor matrix of each region is obtained.

[0081] Please refer to Figure 3. During iteration, the following methods are used:

[0082] (1) Set the iteration initial value k = 0 and the iteration termination threshold T = 0.0001. is the first iteration value;

[0083] (2) Each area sends data to other areas through interconnected terminals

[0084] (3) Each region receives data from other regions And perform iterative calculation

[0085] (4) All regions judge their own

[0086] If it is true, the iteration is terminated. If it is not true, make k=k+1 and jump to (2) until the iteration is terminated.

[0087] This example takes regions A, B, and C as examples to construct a balance equation for electricity carbon emissions:

[0088] Among them, M a is the electricity carbon flow information matrix of region A, M b is the electricity carbon flow information matrix of region B, M c is the electricity carbon flow information matrix of region C, P ba is the power exchange matrix between area B and area A, P ca is the power exchange matrix between area C and area A, P ab is the power exchange matrix between area A and area B, P cb is the power exchange matrix between area C and area B, P ac is the power exchange matrix between area A and area C, λ ais the electricity carbon emission factor matrix of region A, λ b is the electricity carbon emission factor matrix of region B, λ c is the electricity carbon emission factor matrix of region C, a is the carbon emission information matrix of power generation in region A, C b is the carbon emission information matrix of power generation in region B, C c is the power generation carbon emission information matrix of region C.

[0089] According to the above formula, we can get M a λ a +P ba λ b +P ca λ c =C a M b λ b +P ab λ a +P cb λ c =C b M c λ c +P ac λ a +P bc λ b =C c

[0090] Then there is

[0091] That is

[0092] Similarly, there are

[0093] Afterwards, the Jacobi block iteration method is used for iterative correction.

[0094] When iterating or correcting data, the terminals in each region are connected in a fully connected manner, as shown in Figure 2.

[0095] This method uses a distributed layout, with each regional power grid company establishing a terminal and communicating using TCP / IP. A three-retransmission mechanism is used: if no response is received within 20 seconds of a command being sent, the command is resent. If more than three retransmissions occur, the link is considered disconnected or the other party is offline. The collaborative communication process, from initiation to completion, follows these steps:

[0096] 1) The server of each terminal broadcasts "ready". If one channel does not receive feedback, it is considered not ready;

[0097] 2) After 20 seconds, all terminals confirm that their servers are ready and enter the "collaborative computing" state, setting the number of iterations k = 0.

[0098] 3) The server of each terminal calculates and sends k τ The server of the other terminal sends a response to the other terminal. If no feedback is received after three communications, the server of the terminal stops iterating and the state is converted to "interrupted state";

[0099] 4) Each terminal's server receives other k μ , calculate, assuming the number of local iterations is k τ , if the received k μ ≠k τ , the terminal server changes state to "interrupt state"; if k μ =k τ , is the server k of this terminal τ Add 1, that is k τ =k τ +1, and perform an iterative calculation;

[0100] 5) The server of each terminal sends a message to confirm that it is in the "collaborative computing" state. If any terminal is in the "interrupted state", the server of all terminals changes its state to "ready" and restarts step 1); if all terminals are in the "collaborative computing" state, jump to 3) to execute.

[0101] As shown in Figure 3, it is a schematic diagram of the calculation process of the present invention taking two areas AB as an example, wherein area A corresponds to the "area 1 company terminal" and area B corresponds to the "area 2 company terminal". The corresponding software module schematic diagram is shown in Figure 4. In Figure 4, multi-terminal deployment is adopted and data transmission is carried out through the Internet. This method adopts distributed deployment.

[0102] The software example includes modules including:

[0103] Data processing module: responsible for collecting, storing and managing inter-provincial power exchange data, power generation data and carbon emission data of the terminals of the power grid management company in area A or the power grid management company in area B.

[0104] Model calculation module: responsible for running the model for calculation according to the above steps.

[0105] Communication management module: responsible for ensuring the synchronization of communications between the two parties and the smooth flow of links, and providing reliability assurance when a link fails.

[0106] Visualization module: includes map display, large screen display and other functions to display the settlement results.

[0107] In an embodiment of the present application, the data processing module, the model calculation module, and the communication management module can each be one or more processors, controllers, or chips with a communication interface capable of implementing a communication protocol, and may also include a memory and related interfaces, a system transmission bus, etc., if necessary; the processor, controller, or chip executes program-related code to implement the corresponding functions. Alternatively, an alternative solution is that the data processing module, the model calculation module, and the communication management module share an integrated chip or a shared processor, controller, memory, or other device. The shared processor, controller, or chip executes program-related code to implement the corresponding functions.

[0108] In this invention, taking my country as an example, different power grid companies are responsible for power operations in different regions: State Grid Corporation of China, China Southern Power Grid Company, and Inner Mongolia Electric Power (Group) Co., Ltd. (Mengxi Power Grid). They respectively manage power operations in various provinces in my country. The sub-regions of this invention can be based on provinces as the standard to calculate the carbon emission factor of electricity in each province.

[0109] The method provided by the present invention can hide the scheduling information of multiple areas, realize multi-party collaborative computing while ensuring the accuracy of the computing results, and solve the difficulties in managing the data of both parties.

[0110] Example 2:

[0111] Based on the same inventive concept, the present invention provides a multi-grid carbon emission distributed collaborative privacy computing system, as shown in Figure 5, including: a matrix construction module, a matrix calculation module and a power carbon emission factor calculation module.

[0112] The matrix construction module is used to obtain the amount of electricity transferred between regions, the power generation of the sub-regions under the jurisdiction of each region, the amount of electricity transferred between sub-regions, and the energy generation of the sub-regions, and accordingly construct the electricity exchange matrix between regions, the power generation information matrix of each region, the electricity exchange matrix, and the power generation carbon emission information matrix;

[0113] The matrix calculation module is used to calculate the corresponding power carbon flow information matrix based on the power generation information matrix and power exchange matrix of each region;

[0114] The electricity carbon emission factor calculation module is used to construct the electricity carbon emission balance equation based on the electricity carbon flow information matrix of each region, the power generation carbon emission information matrix and the electricity exchange matrix between each region, and calculate the electricity carbon emission factor matrix of each region. The regional electricity carbon emission factor matrix is ​​composed of the electricity carbon emission factors of the sub-regions under the jurisdiction of the region.

[0115] The electricity carbon emission balance equation in the electricity carbon emission factor calculation module is expressed by the following formula:

[0116] Where M τ is the electricity carbon flow information matrix of the τth region; P τL is the power exchange matrix between the τth region and the Lth region; λ τ is the electricity carbon emission factor matrix of the τth region; C τ is the power generation carbon emission information matrix of the τth region.

[0117] The power carbon emission factor matrix in the power carbon emission factor calculation module is calculated using the following formula:

[0118] Where,

[0119] Where λ τ is the electricity carbon emission factor matrix of the τth region; C τ is the power generation carbon emission information matrix of the τth region; μ is the electricity carbon emission factor matrix of the μth region; P μτ is the power exchange matrix from the μth region to the τth region; M τ is the electricity carbon flow information matrix of the τth region; D μτ is the interaction power flow matrix between the sub-regions from the μth region to the τth region; is the iterative initial value of the electricity carbon emission factor matrix of the τth region.

[0120] The power generation information matrix of the region in the matrix construction module is expressed by the following calculation formula:

[0121] Where, E is the regional power generation information matrix; E i is the power generation of the ith sub-region under the jurisdiction of the region, and N is the number of sub-regions under the jurisdiction of the region;

[0122] The power exchange matrix of the region in the matrix building module is expressed by the following calculation formula:

[0123] Where, P is the regional power exchange matrix; P i,j is the amount of electricity transferred from sub-region i to sub-region j, and N is the number of sub-regions governed by the region;

[0124] The regional power generation carbon emission information matrix in the matrix construction module is expressed by the following calculation formula:

[0125] Where C is the regional power generation carbon emission information matrix; E i,m represents the power generation of the mth energy in the i sub-region; ε m Represents the carbon emission factor of power generation corresponding to the mth energy generation.

[0126] The regional power carbon flow information matrix in the matrix calculation module is calculated by the following formula: M = E - P + diag (P [1])

[0127] Where M is the regional power carbon flow information matrix; E is the regional power generation information matrix; P is the regional power exchange matrix; [1] is a vector of all 1s; P[1] is the vector obtained by multiplying P and [1]; diag(P[1]) places the vector on the diagonal of the matrix, and the off-diagonal elements are 0.

[0128] In the present invention, after calculating the electricity carbon emission factor matrix of each region, the electricity carbon emission factor calculation module further includes:

[0129] The iterative correction module uses the Jacobi block iteration method to iteratively correct the electricity carbon emission factor matrix between each region according to the preset iteration termination threshold until the iteration meets the iteration termination threshold, thereby obtaining the iteratively corrected electricity carbon emission factor matrix of each region.

[0130] In an embodiment of the present application, the matrix construction module, the matrix calculation module, the power carbon emission factor calculation module, and the iterative correction module can each be one or more processors, controllers, or chips with a communication interface capable of implementing a communication protocol, and may also include a memory and related interfaces, a system transmission bus, etc., if necessary; the processor, controller, or chip executes program-related code to implement the corresponding functions. Alternatively, an alternative solution is that the matrix construction module, the matrix calculation module, the power carbon emission factor calculation module, and the iterative correction module share an integrated chip or a shared processor, controller, memory, or other device. The shared processor, controller, or chip executes program-related code to implement the corresponding functions.

[0131] Example 3:

[0132] Based on the same inventive concept, the present invention also provides a computer device, which includes a processor and a memory, wherein 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 may be other general-purpose processors, digital signal processors (DSP), application-specific integrated circuits (ASIC), field-programmable gate arrays (FPGA) or other programmable logic devices, discrete gate or transistor logic devices, discrete hardware components, etc. It is the computing core and control core of the computer device, which is suitable for implementing one or more instructions, 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 a multi-grid carbon emission distributed collaborative privacy computing method in the above embodiment.

[0133] Example 4:

[0134] 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 computer device. In addition, one or more instructions suitable for being loaded and executed by the processor are also stored in the storage space. 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 multi-grid carbon emission distributed collaborative privacy computing method in the above embodiment.

[0135] It will be understood by those skilled in the art that embodiments of the present invention may be provided as methods, systems, or computer program products. Thus, the present invention may take the form of an entirely hardware embodiment, an entirely software embodiment, or an embodiment combining software and hardware. Furthermore, the present invention may take the form of a computer program product implemented on one or more computer-usable storage media (including but not limited to magnetic disk storage, CD-ROM, optical storage, etc.) containing computer-usable program code.

[0136] The present invention is described with reference to the flowcharts and / or block diagrams of the methods, devices (systems), and computer program products according to embodiments of the present invention. It should be understood that each process and / or box in the flowchart and / or block diagram, as well as the combination of processes and / or boxes 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 produce a device for implementing the functions specified in one or more processes in the flowchart and / or one or more boxes in the block diagram.

[0137] These computer program instructions may also be stored in a computer-readable memory that can direct 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 a product including an instruction device that implements the functions specified in one or more processes in the flowchart and / or one or more boxes in the block diagram.

[0138] 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, so that the instructions executed on the computer or other programmable device provide steps for implementing the functions specified in one or more processes in the flowchart and / or one or more boxes in the block diagram.

[0139] Finally, it should be noted that the above embodiments are only used to illustrate the technical solutions of the present invention and are not intended to limit its scope of protection. Although the present invention has been described in detail with reference to the above embodiments, ordinary technicians in the field should understand that after reading the present invention, those skilled in the art may still make various changes, modifications or equivalent substitutions to the specific implementation methods of the application, but these changes, modifications or equivalent substitutions are all within the scope of protection of the pending claims.

Claims

1. A multi-grid carbon emission distributed collaborative privacy computing method, characterized in that: include: Obtain the amount of electricity transferred between regions, the power generation of the sub-regions under the jurisdiction of each region, the amount of electricity transferred between sub-regions, and the energy power generation of the sub-regions, and accordingly construct the electricity exchange matrix between regions, the power generation information matrix of each region, the electricity exchange matrix, and the power generation carbon emission information matrix; Calculate the corresponding power carbon flow information matrix based on the power generation information matrix and power exchange matrix of each region; According to the electricity carbon flow information matrix of each region, the power generation carbon emission information matrix and the electricity exchange matrix between regions, the electricity carbon emission balance equation is constructed to calculate the electricity carbon emission factor matrix of each region. The regional electricity carbon emission factor matrix is ​​composed of the electricity carbon emission factors of the sub-regions under the jurisdiction of the region.

2. The method according to claim 1, characterized in that The electricity carbon emission balance equation is expressed by the following calculation formula: Among them, M τ is the power carbon flow information matrix of the τth region; P τL is the power exchange matrix between the τth area and the Lth area; P Lτ is the power exchange matrix between the Lth area and the τth area; λ τ is the electricity carbon emission factor matrix of the τth region; C τ is the power generation carbon emission information matrix of the τth region.

3. The method according to claim 2, characterized in that The electricity carbon emission factor matrix is ​​calculated by the following formula: in, Among them, λ τ is the electricity carbon emission factor matrix of the τth region; C τ is the carbon emission information matrix of power generation in the τth region; μ is the electricity carbon emission factor matrix of the μth region; P μτ is the power exchange matrix from the μth region to the τth region; M τ is the power carbon flow information matrix of the τth region; D μτ is the interaction power flow matrix between sub-regions from the μth region to the τth region; It is the iterative initial value of the electricity carbon emission factor matrix of the τth region.

4. The method according to claim 1, characterized in that The power generation information matrix of the region is expressed by the following calculation formula: Where E is the power generation information matrix of the region; E i is the power generation of the ith sub-region under the jurisdiction of the region, and N is the number of sub-regions under the jurisdiction of the region; The power exchange matrix of the region is expressed by the following calculation formula: Where P is the power exchange matrix of the region; P i,j is the amount of electricity transferred from sub-region i to sub-region j, and N is the number of sub-regions governed by the region; The power generation carbon emission information matrix of the region is expressed by the following calculation formula: Where C is the regional power generation carbon emission information matrix; E i,m represents the power generation of the mth energy source in the i sub-region; ε m Represents the carbon emission factor of power generation corresponding to the mth energy generation.

5. The method according to claim 4, characterized in that The regional power carbon flow information matrix is ​​calculated by the following formula: M = E-P + diag (P[1]) Where M is the regional power carbon flow information matrix; E is the regional power generation information matrix; P is the regional power exchange matrix; [1] is a vector of all 1s; P[1] is the vector obtained by multiplying P and [1]; diag(P[1]) places the vector on the diagonal of the matrix, and the off-diagonal elements are 0.

6. The method according to claim 1, characterized in that After calculating the electricity carbon emission factor matrix of each region, it also includes: According to the preset iteration termination threshold, the Jacobi block iteration method is used to iteratively correct the electricity carbon emission factor matrix between each region until the iteration meets the iteration termination threshold, thereby obtaining the iteratively corrected electricity carbon emission factor matrix of each region.

7. A multi-grid carbon emission distributed collaborative privacy computing system, characterized in that: include: The matrix construction module is used to obtain the transferred electricity between various regions, the power generation of the sub-regions under the jurisdiction of each region, the transferred electricity between sub-regions, and the energy power generation of the sub-regions, and accordingly construct the electricity exchange matrix between various regions, the power generation information matrix of each region, the electricity exchange matrix, and the power generation carbon emission information matrix; A matrix calculation module is used to calculate the corresponding power carbon flow information matrix based on the power generation information matrix and the power exchange matrix of each region; The power carbon emission factor calculation module is used to construct the power carbon emission balance equation based on the power carbon flow information matrix of each region, the power generation carbon emission information matrix and the electricity exchange matrix between each region, and calculate the power carbon emission factor matrix of each region. The power carbon emission factor matrix of a region is composed of the power carbon emission factors of the sub-regions under the jurisdiction of the region.

8. The system according to claim 7, characterized in that After calculating the power carbon emission factor matrix of each region, the power carbon emission factor calculation module further includes: The iterative correction module uses the Jacobi block iteration method to iteratively correct the electricity carbon emission factor matrix between each region according to a preset iteration termination threshold until the iteration meets the iteration termination threshold, thereby obtaining the electricity carbon emission factor matrix of each region after iterative correction.

9. A computer device, characterized in that: include: one or more processors; A memory for storing one or more programs; When the one or more programs are executed by the one or more processors, a multi-grid carbon emission distributed collaborative privacy computing method as described in any one of claims 1 to 6 is implemented.

10. A computer-readable storage medium, characterized in that: A computer program is stored thereon, and when the computer program is executed, it implements a multi-grid carbon emission distributed collaborative privacy computing method as described in any one of claims 1 to 6.

Citation Information

Patent Citations

  • Regional electric power carbon emission accounting method

    CN114819626A

  • Electric power carbon emission factor confirmation model construction method and device and computer equipment

    CN115481898A

  • Regional electric power carbon emission factor determination method and device, equipment and medium

    CN115693650A

  • Regional power grid power supply comprehensive carbon emission factor calculation method and system and medium

    CN115758072A

  • Multi-power-grid carbon emission distributed collaborative privacy calculation method and system

    CN116451001A

Cited By

  • Visual carbon map generation method and system for park, and storage medium

    CN119540399A

  • Intelligent electric meter with carbon metering function

    CN120009609A

  • Secure multi-party computing system and method for energy-carbon multi-source data in private computing park

    CN121786852A

  • Distributed carbon emission flow analysis method and device considering privacy protection

    CN122634653A