Method and device for determining carbon emission intensity, equipment, medium and program product

By constructing the power carbon flow matrix and the power generation carbon quantity matrix, and using a layered parallel processing method, the problem of low carbon emission intensity determination efficiency in large-scale power systems is solved, and more efficient carbon emission intensity calculation is achieved.

CN119762097AActive Publication Date: 2025-04-04SHANGHAI ENVISION INNOVATION INTELLIGENT TECH CO LTD +1
View PDF 5 Cites 0 Cited by

Patent Information

Application Number
CN202510253493.8
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2025-03-05
Publication Date
2025-04-04
Estimated Expiration
2045-03-05

AI Technical Summary

Technical Problem

In large-scale power systems, the method of polling the power nodes in sequence leads to a low efficiency in determining the carbon emission intensity, especially when there are a large number of power nodes.

Method used

By obtaining the power flow data in the power system, a power carbon flow matrix and a power generation carbon quantity matrix are constructed, and a layered parallel processing method is used to calculate the carbon emission intensity of each power node.

Benefits of technology

This method shortens the calculation time by integrating the carbon emissions of each power node in the power system and improves the determination efficiency of carbon emission intensity.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN119762097A_ABST
    Figure CN119762097A_ABST
Patent Text Reader

Abstract

The invention discloses a carbon emission intensity determination method and device, equipment, a medium and a program product, and relates to the field of power systems. The method comprises the following steps: acquiring power flow data of at least two power nodes in a power system; constructing a power carbon flow matrix based on the power flow data; constructing a power generation carbon quantity matrix; and performing hierarchical parallel processing on the power carbon flow matrix and the power generation carbon quantity matrix to obtain carbon emission intensities corresponding to the at least two power nodes respectively. On the basis of constructing the electric power carbon flow matrix and the power generation carbon quantity matrix, the electric power carbon flow matrix and the power generation carbon quantity matrix can be processed in parallel in a layered manner, and the task of calculating the carbon emission intensity of each electric power node is decomposed into multiple levels, so that matrix data of different parts are processed, the calculation time is shortened, and the calculation efficiency is improved. And the determination efficiency of the carbon emission intensity of the power node is improved.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] Embodiments of the present application relate to the field of power systems, and in particular, to a method, device, equipment, medium and program product for determining carbon emission intensity. Background Art

[0002] In the power system, the carbon emission intensity of power nodes is used to measure the carbon emissions (carbon dioxide emissions) generated when the power nodes process a unit of electricity. By calculating the carbon emission intensity of each power node, the carbon dioxide emissions of the entire power system can be accurately assessed, laying a solid foundation for carbon footprint tracking.

[0003] In the related art, the power system includes power nodes with known carbon emission intensity and power nodes with unknown carbon emission intensity. The power nodes in the power system are polled in sequence. If the carbon emission intensity of the currently polled power node is unknown, the carbon emission intensity of the power node or the intensity parameter containing unknown parameters is determined according to the connection relationship of the power node in the power system. When the polling is completed, a recursive process is completed. After several recursive processes, the carbon emission intensity of all power nodes in the power system can be calculated.

[0004] However, when the power system is large and the number of power nodes is large, the polling calculation will take a lot of time and the efficiency of determining carbon emission intensity is low. Summary of the invention

[0005] The embodiments of the present application provide a method, device, equipment, medium and program product for determining carbon emission intensity, and the technical solution is as follows.

[0006] In one aspect, a method for determining carbon emission intensity is provided, the method comprising: Acquire power flow data of at least two power nodes in the power system, where there is a power transmission relationship between the at least two power nodes, and the power flow data is used to characterize the amount of electric energy flow in the power transmission relationship; A power carbon flow matrix is ​​constructed based on the power flow data, wherein the power carbon flow matrix includes main diagonal elements and non-main diagonal elements, wherein the main diagonal elements corresponding to the nth power node are used to characterize the carbon emissions corresponding to the electric energy consumed by the nth power node, and the non-main diagonal elements corresponding to the nth power node are used to characterize the carbon emissions corresponding to the electric energy contributed by the input node to the nth power node, wherein the input node refers to the electric node among the at least two electric nodes that outputs electric energy to the nth power node, and n is a positive integer; Constructing a power generation carbon amount matrix, wherein the power generation carbon amount matrix includes power generation carbon amount data corresponding to the at least two power nodes respectively, wherein the power generation carbon amount data of the nth power node is used to characterize the carbon emissions corresponding to the power generation equipment connected to the nth power node; The electric power carbon flow matrix and the power generation carbon amount matrix are processed in parallel in layers to obtain the carbon emission intensities corresponding to the at least two electric power nodes respectively.

[0007] In another aspect, a device for determining carbon emission intensity is provided, the device comprising: An acquisition module, used for acquiring power flow data of at least two power nodes in the power system, where there is a power transmission relationship between the at least two power nodes, and the power flow data is used for characterizing the amount of electric energy flow in the power transmission relationship; A construction module, used for constructing an electric carbon flow matrix based on the electric power flow data, wherein the electric carbon flow matrix includes main diagonal elements and non-main diagonal elements, wherein the main diagonal elements corresponding to the nth electric node are used to characterize the carbon emissions corresponding to the electric energy consumed by the nth electric node, and the non-main diagonal elements corresponding to the nth electric node are used to characterize the carbon emissions corresponding to the electric energy contributed by the input node to the nth electric node, wherein the input node refers to the electric node among the at least two electric nodes that outputs electric energy to the nth electric node, and n is a positive integer; The construction module is used to construct a power generation carbon amount matrix, wherein the power generation carbon amount matrix includes power generation carbon amount data corresponding to the at least two power nodes respectively, wherein the power generation carbon amount data of the nth power node is used to characterize the carbon emissions corresponding to the power generation equipment connected to the nth power node; The processing module is used to process the power carbon flow matrix and the power generation carbon amount matrix in hierarchical parallel manner to obtain the carbon emission intensities corresponding to the at least two power nodes respectively.

[0008] On the other hand, a computer device is provided, which includes a processor and a memory, wherein the memory stores at least one instruction, at least one program, a code set or an instruction set, and the at least one instruction, the at least one program, the code set or the instruction set is loaded and executed by the processor to implement any of the above-mentioned methods for determining carbon emission intensity.

[0009] On the other hand, a computer-readable storage medium is provided, in which at least one instruction, at least one program, a code set or an instruction set is stored, and the at least one instruction, the at least one program, the code set or the instruction set is loaded and executed by a processor to implement any of the above-mentioned methods for determining carbon emission intensity.

[0010] On the other hand, a computer program product or a computer program is provided, the computer program product or the computer program comprising computer instructions, the computer instructions being stored in a computer-readable storage medium. A processor of a computer device reads the computer instructions from the computer-readable storage medium, and the processor executes the computer instructions, so that the computer device performs any of the above-mentioned methods for determining carbon emission intensity.

[0011] The beneficial effects brought about by the technical solution provided in the embodiments of the present application include at least the following.

[0012] The power carbon flow matrix is ​​constructed through the power flow data of the power nodes, and the power flow is associated with the carbon emissions. The main diagonal elements are used to reflect the carbon emissions corresponding to the power consumed by each power node, and the non-main diagonal elements reflect the carbon emissions corresponding to the power input to each power node, thereby integrating the carbon emissions of each power node in the power system during the power transmission and consumption process; the power generation carbon quantity matrix is ​​constructed through the carbon emissions corresponding to the power generation equipment connected to the power node, thereby integrating the carbon emissions of each power node in the power system during the power production process. On the basis of constructing the power carbon flow matrix and the power generation carbon quantity matrix, the power carbon flow matrix and the power generation carbon quantity matrix can be processed in parallel in layers, and the task of calculating the carbon emission intensity of each power node can be decomposed into multiple levels to process different parts of the matrix data, thereby shortening the calculation time and improving the efficiency of determining the carbon emission intensity of the power node. BRIEF DESCRIPTION OF THE DRAWINGS

[0013] In order to more clearly illustrate the technical solutions in the embodiments of the present application, the drawings required for use in the description of the embodiments will be briefly introduced below. Obviously, the drawings described below are only some embodiments of the present application. For ordinary technicians in this field, other drawings can be obtained based on these drawings without creative work.

[0014] Figure 1 is a structural block diagram of a computer system provided by an exemplary embodiment of the present application; Figure 2 is a flow chart of a method for determining carbon emission intensity provided by an exemplary embodiment of the present application; Figure 3 is a schematic diagram showing the carbon balance relationship of a node provided by an exemplary embodiment of the present application; Figure 4 is a schematic diagram of a carbon flow topology provided by an exemplary embodiment of the present application; Figure 5 is a flow chart of a method for determining carbon emission intensity provided by another exemplary embodiment of the present application; Figure 6is an overall flow chart of a method for determining carbon emission intensity provided by an exemplary embodiment of the present application; Figure 7 is a flow chart of data extraction and model building provided by an exemplary embodiment of the present application; Figure 8 It is a flowchart of carbon emission intensity calculation of power nodes based on graph hierarchical parallelism provided by an exemplary embodiment of the present application; Fig. 9 is a structural block diagram of a device for determining carbon emission intensity provided by an exemplary embodiment of the present application; Fig.10 It is a structural block diagram of a computer device provided by an exemplary embodiment of the present application. DETAILED DESCRIPTION

[0015] In order to make the purpose, technical solution and advantages of the present application clearer, the implementation mode of the present application will be further described in detail below in conjunction with the accompanying drawings. Obviously, the described embodiments are part of the embodiments of the present application, rather than all the embodiments. Based on the embodiments in the present application, all other embodiments obtained by ordinary technicians in this field without creative work are within the scope of protection of the present application.

[0016] In this application, the terms "first", "second", etc. are used to distinguish identical or similar items with substantially the same effects and functions. It should be understood that there is no logical or temporal dependency between "first" and "second", nor is there any limitation on quantity and execution order.

[0017] It should be noted that this application can display a prompt interface, pop-up window or output voice prompt information before collecting relevant data of the user and during the process of collecting relevant data of the user. The prompt interface, pop-up window or voice prompt information is used to prompt the user that its relevant data is currently being collected, so that this application only starts to execute the relevant steps of obtaining relevant data of the user after obtaining the confirmation operation issued by the user on the prompt interface or pop-up window, otherwise (that is, when the confirmation operation issued by the user on the prompt interface or pop-up window is not obtained), the relevant steps of obtaining relevant data of the user are terminated, that is, the relevant data of the user is not obtained. In other words, all user data collected by this application are collected with the consent and authorization of the user, and the collection, use and processing of relevant user data need to comply with relevant laws, regulations and standards.

[0018] In the power system, the carbon emission intensity of the power node is used to measure the carbon emissions (carbon dioxide emissions) generated when the power node processes a unit of electricity. By calculating the carbon emission intensity of each power node, the carbon dioxide emissions of the entire power system can be accurately assessed, laying a solid foundation for tracking carbon footprints. In the related art, the power system includes power nodes with known carbon emission intensity and power nodes with unknown carbon emission intensity. The power nodes in the power system are polled in turn. If the carbon emission intensity of the currently polled power node is unknown, the carbon emission intensity of the power node or the intensity parameter containing unknown parameters is determined according to the connection relationship of the power node in the power system. When the polling is completed, a recursive process is completed. After several recursive processes, the carbon emission intensity of all power nodes in the power system can be calculated. However, when the power system is large in scale and the number of power nodes is large, the polling calculation will take a lot of time, and the efficiency of determining the carbon emission intensity is low.

[0019] Based on this, the embodiment of the present application provides a method for determining carbon emission intensity. After obtaining the power flow data of each power node in the power system, a power carbon flow matrix is ​​constructed based on the power flow data; then, a power generation carbon amount matrix is ​​constructed according to the carbon emissions corresponding to the power generation equipment connected to the power node; finally, the power carbon flow matrix and the power generation carbon amount matrix are processed in parallel in layers to obtain the carbon emission intensity corresponding to at least two power nodes. The task of calculating the carbon emission intensity of each power node is decomposed into multiple levels to process different parts of the matrix data, thereby shortening the calculation time and improving the efficiency of determining the carbon emission intensity of the power node.

[0020] Next, a computer system for implementing the method for determining carbon emission intensity provided in an embodiment of the present application is introduced.

[0021] Figure 1 1 is a block diagram of a computer system provided by an exemplary embodiment of the present application. The computer system can be implemented as a system architecture of a method for determining carbon emission intensity. The computer system includes: a power system 110 and a computer device 120, wherein the power system 110 and the computer device 120 are connected via a wireless network or a wired network.

[0022] The power system 110 includes at least two power nodes, and the types of power nodes include but are not limited to power station nodes, transmission station nodes and load station nodes. The power station node is the energy source of the power system, and its main function is to convert various forms of energy into electrical energy; the transmission station node is also called a substation node, which is mainly used to change the voltage level to achieve efficient transmission of electrical energy; the load station node is the consumer end of the power system electrical energy.

[0023] The computer device 120 can be implemented as at least one of a server and a terminal. The terminal can be an electronic device such as a mobile phone, a tablet computer, a vehicle-mounted terminal (vehicle computer), a PC (Personal Computer), etc. The server can be an independent physical server, or a server cluster or distributed system composed of multiple physical servers, or a cloud server that provides basic cloud computing services, or a node in a blockchain system. The computer device 120 is mainly used to determine the carbon emission intensity of each power node in the power system, that is, to execute the method for determining the carbon emission intensity provided in the embodiment of the present application. It should be noted that the method for determining the carbon emission intensity can be executed by the terminal, or by the server, or by the terminal and the server interacting and cooperating to execute the method for determining the carbon emission intensity, and this application does not limit this. The following is an explanation of the method for determining the carbon emission intensity executed by the computer device 120.

[0024] Illustratively, there is a power transmission relationship between at least two power nodes in the power system 110; the computer device 120 can obtain power flow data from the power system, and the power flow data is used to characterize the power flow amount in the power transmission relationship, reflecting the real-time flow state and distribution of power in the power system. The power flow data includes but is not limited to voltage-related data, current-related data, power-related data, etc. of the power nodes.

[0025] After the computer device 120 obtains the power flow data: first, a power carbon flow matrix is ​​constructed according to the power flow data. If the power system 110 includes M power nodes, M is an integer greater than 1, then an M×M matrix is ​​constructed, wherein the main diagonal element (n, n) corresponding to the nth power node represents the carbon emissions corresponding to the consumed electric energy of the nth power node, n is a positive integer and n≤M, and the non-main diagonal element corresponding to the nth power node is used to represent the carbon emissions corresponding to the contributed electric energy of the input node to the nth power node. Then, a power generation carbon amount matrix is ​​constructed, and the power generation carbon amount matrix is ​​an M×1 matrix, wherein the nth matrix element refers to the power generation carbon amount data of the nth power node, that is, the carbon emissions corresponding to the power generation equipment connected to the nth power node. Finally, the power carbon flow matrix and the power generation carbon amount matrix are processed hierarchically and in parallel to obtain the carbon emission intensity corresponding to at least two power nodes.

[0026] In some embodiments, the above-mentioned computer device 120 is also used to display the carbon emission intensity of each power saving in the power system 110. Schematically, a carbon flow topology diagram is displayed on the computer device 120, wherein the carbon flow topology diagram represents the flow path of carbon between at least two regional nodes and the carbon emission intensities corresponding to the at least two regional nodes respectively; wherein each regional node corresponds to at least one power node among the at least two power nodes, and the carbon emission intensity corresponding to the kth regional node is determined by at least one power node corresponding to the kth regional node, and k is a positive integer.

[0027] Next, the process of the method for determining carbon emission intensity provided in an embodiment of the present application is introduced.

[0028] Combined with the above introduction, Figure 2 is a flow chart of a method for determining carbon emission intensity provided in an embodiment of the present application, and the method is applied to Figure 1 Taking the computer device shown as an example, the method includes the following steps 210 to 240.

[0029] Step 210: Acquire power flow data of at least two power nodes in the power system.

[0030] The power system is an electric energy production and consumption system consisting of power generation, transmission, transformation and consumption. In the power system, there is a power transmission relationship between at least two power nodes, which are connected to each other through transmission lines to achieve the transmission of electric energy.

[0031] Optionally, at least two power nodes include at least one of a power station node, a transmission station node, and a load station node. A power station node refers to the starting point of a power system, which is used to convert various energy sources into electrical energy. Power station nodes include but are not limited to: thermal power stations, hydroelectric power stations, wind power stations, etc. Transmission station nodes are also called substation nodes, which are used to change the voltage and distribute electrical energy. Load station nodes refer to load equipment access points in a power system, that is, electrical energy consumption terminals. Load equipment includes but is not limited to: large motors, machine tools and other equipment for industrial users, electric lights, televisions, refrigerators, air conditioners and other electrical appliances for residential users, and lighting, elevators, air conditioners and other equipment for commercial users.

[0032] Power flow data is used to characterize the amount of power flow in power transmission relationships.

[0033] Illustratively, the power flow data may be used to reflect the power flow of each power node in the power system. Optionally, the power flow data includes power data, wherein the power data includes at least one of the input active power of the power node, the output active power of the power node, and the load active power of the power node.

[0034] For the input active power of the power node, the input active power refers to the active power input from the input node to the power node. Schematically, if the power node 1 and the power node 2 are connected through the transmission line a, and the electric energy is transmitted from the power node 1 to the power node 2, then the input active power of the power node 2 includes the active power transmitted from the power node 1 to the power node 2 through the transmission line a. For the output active power of the power node, the output active power refers to the active power transmitted from the power node to the output node. If the power node 2 and the power node 3 are connected through the transmission line b, and the electric energy is transmitted from the power node 2 to the power node 3, then the output active power of the power node 2 includes the active power output from the power node 2 to the power node 3 through the transmission line b. Regarding the load active power of the power node, the load active power refers to the active power consumed by the electrical equipment connected to the power node. Schematically, the power node 2 includes electrical equipment, such as: plant equipment, control equipment, etc. in the power station node, transformers, reactors, capacitors and other equipment in the transmission station node, load equipment in the load station node, and the active power consumed by the electrical equipment is also the load active power of the power node 2.

[0035] Step 220, constructing a power carbon flow matrix based on the power flow data.

[0036] The electricity carbon flow matrix includes main diagonal elements and non-main diagonal elements.

[0037] Taking at least two power nodes represented as M power nodes as an example, where M is an integer greater than 1, an M×M power carbon flow matrix is ​​constructed based on the power flow data of the M power nodes.

[0038] In the M×M power carbon flow matrix, the main diagonal element corresponding to the nth power node is represented as (n, n), which is used to represent the carbon emissions corresponding to the consumed power of the nth power node. n is a positive integer and n≤M.

[0039] Optionally, the carbon emissions corresponding to the consumed power of the nth power node are determined by the output node power and load power of the nth power node, where the output node power refers to the power output from the nth power node to the output node, and the load power refers to the power consumed by the power equipment connected to the nth power node. Schematically, if the output active power transmitted by the nth power node to the jth node is P n,j , the load active power of the nth power node is P Ln , the carbon emission intensity of the nth power node is regarded as an unknown parameter and is set as NCI n , then the carbon emissions corresponding to the power consumption of the nth power node is (P n,j +P Ln )×t×NCI n, t is the working time of the power system, j is a positive integer, j represents the output node, that is, the power node that receives the output power of the nth power node. If t is regarded as a unit time, that is, t=1, then the carbon emissions corresponding to the power consumption of the nth power node are (P n,j +P Ln )×NCI n .

[0040] Then, in the power carbon flow matrix, the main diagonal element (n, n) can be assigned (P n,j +P Ln )×NCI n , where (P n,j +P Ln ) is a known quantity, NCI n Is an unknown quantity.

[0041] In the M×M power carbon flow matrix, the non-main diagonal element corresponding to the nth power node is represented as (n, i), which is used to characterize the carbon emissions corresponding to the electric energy contributed by the input node to the nth power node. i is a positive integer and i≤M, i is not equal to n. The input node refers to the power node that outputs electric energy to the nth power node among at least two power nodes.

[0042] Optionally, the carbon emissions corresponding to the electric energy contributed by the input node to the nth power node are determined by the input electric energy, where the input electric energy refers to the electric energy output by the input node to the nth power node. For the i-th power node, if there is no electric connection relationship between the i-th power node and the n-th power node, or there is an electric connection relationship between the i-th power node and the n-th power node and electric energy flows from the n-th power node to the i-th power node, indicating that the carbon emissions corresponding to the electric energy contributed by the i-th input node to the n-th power node is 0, then the non-main diagonal element (n, i) can be assigned 0 or a minimum value.

[0043] If there is an electric connection relationship between the ith power node and the nth power node and electric energy flows from the ith power node to the nth power node through the input line, the input active power P received by the nth power node from the ith power node is obtained. i,n , the carbon emission intensity of the i-th power node is regarded as an unknown parameter and is set as NCI i , then the carbon emissions corresponding to the electric energy contributed by the i-th power node to the n-th power node is P i,n ×t×NCI i , if t is regarded as a unit time, that is, t=1, then the carbon emissions corresponding to the electric energy contributed by the i-th power node to the n-th power node are P i,n ×NCI i .

[0044] Then, in the power carbon flow matrix, the non-main diagonal elements (n, i) can be assigned the value P i,n ×NCI i , where P i is a known quantity, NCI i Is an unknown quantity.

[0045] Step 230, constructing a power generation carbon matrix.

[0046] The power generation carbon amount matrix includes power generation carbon amount data corresponding to at least two power nodes.

[0047] Optionally, an M×1 power generation carbon amount matrix is ​​constructed based on the power generation carbon amount data corresponding to the M power nodes.

[0048] The carbon emission data of the nth power node is used to characterize the carbon emission corresponding to the power generation equipment connected to the nth power node. Schematically, when the power node is connected to a power generation equipment, the carbon emission corresponding to the power generation equipment connected to the power node is obtained. n In the power generation carbon matrix, the nth element (that is, the matrix element corresponding to the nth power generation node) is assigned the value GCF n ; When the power node is not connected to power generation equipment, in the power generation carbon matrix, the nth element (that is, the matrix element corresponding to the nth power generation node) is assigned a value of 0 or a minimum value.

[0049] Optionally, obtain the carbon emission factors and power generation corresponding to the power generation equipment respectively connected to at least two power nodes; determine the power generation carbon quantity data respectively corresponding to the at least two power nodes based on the carbon emission factors and power generation; and construct a power generation carbon quantity matrix based on the power generation carbon quantity data respectively corresponding to the at least two power nodes.

[0050] Schematically, the power generation power of the power generation equipment connected to the nth power node is recorded as P Gn , within time t, the power generation is P Gn ×t, the carbon emission factor of the power generation equipment connected to the nth power node is recorded as e Gn , the carbon emission factor is a preset value, which is related to the fuel used by the power generation equipment. For example, the carbon emission factor of the power generation equipment for thermal power generation is 875, then the carbon emission of the power generation equipment is P Gn ×t×e Gn , P Gn ×t×e Gn As the carbon data of the nth power node, GCF n , if t is regarded as a unit time, that is, t=1, then GCF n It can be expressed as (P Gn ×e Gn ).

[0051] In some embodiments, if there are multiple power generation devices connected to the nth power node, the sum of the carbon emissions of the multiple power generation devices is calculated as the power generation carbon data of the nth power node.

[0052] Step 240 , hierarchically and parallelly process the power carbon flow matrix and the power generation carbon quantity matrix to obtain the carbon emission intensities corresponding to at least two power nodes.

[0053] In some embodiments, the power carbon flow matrix and the power generation carbon amount matrix are processed in hierarchical parallelism to determine the node carbon balance relationship corresponding to at least two nodes respectively; based on the node carbon balance relationship corresponding to at least two nodes respectively, the carbon emission intensity corresponding to at least two power nodes respectively is determined.

[0054] The node carbon balance relationship corresponding to the nth power node represents that the carbon emissions corresponding to the electric energy consumed by the nth power node, the carbon emissions corresponding to the electric energy contributed by the input node to the nth power node, and the carbon data of power generation of the nth power node are balanced.

[0055] In schematic form, assuming that the nth power node has P input nodes, P is a positive integer, i≤P, and the nth power node has Q output nodes, Q is a positive integer, j≤Q, a node carbon balance relationship can be constructed in the power carbon flow matrix and the power generation carbon amount matrix, and the node carbon balance relationship corresponding to the nth power node can be expressed as the following formula 1.

[0056] Formula 1:

[0057] in, It can represent the electric energy output from the nth power node to the jth power node, is the carbon emission intensity of the nth power node, represents the carbon emissions corresponding to the total electric energy output from the nth power node to all Q output nodes, It can represent the electric energy consumed by the electric equipment connected to the nth power node. Indicates the carbon emissions corresponding to the electric energy consumed by the electric equipment connected to the nth power node. It represents the carbon emissions corresponding to the electricity consumed by the nth power node.

[0058] It can represent the contribution of electric energy from the i-th power node to the n-th power node, It refers to the total contribution of all P input nodes to the nth power node. is the carbon emission intensity of the i-th power node, It refers to the carbon emissions corresponding to the total contributed electric energy of all P input nodes to the nth power node.

[0059] It represents the carbon emissions corresponding to the power generation equipment connected to the nth power node.

[0060] Indicatively, Figure 3 As shown, the above formula 1 represents the carbon emissions corresponding to the electric energy consumed by the nth power node 301 = the carbon emissions corresponding to the total contributed electric energy of all P input nodes to the nth power node 301 + the carbon emissions corresponding to the power generation equipment connected to the nth power node 301, wherein the carbon emissions corresponding to the electric energy consumed by the nth power node 301 = the carbon emissions corresponding to the total output electric energy output from the nth power node 301 to Q output nodes + the carbon emissions corresponding to the electric energy consumed by the electrical equipment on the nth power node 301.

[0061] It should be noted that in the above formula 1, , ,and and is a known quantity, and is an unknown quantity, that is, the carbon emission intensity of at least two power nodes needs to be determined.

[0062] In some embodiments, the above step 240 also includes the following steps.

[0063] Step 1: Layer at least two power nodes according to power grid topology data corresponding to the at least two power nodes to obtain C sublayers, where C is an integer greater than 1.

[0064] The power grid topology data includes information such as the location of power nodes, the connection relationship between nodes, and the power transmission path. The power node location is used to indicate the actual geographical location of the power node in the physical space, such as longitude and latitude information, etc. The connection relationship between nodes indicates the connection relationship between at least two power nodes, and the power transmission path indicates the flow path of power between at least two power nodes.

[0065] In some embodiments, according to the grid topology data corresponding to the at least two power nodes, the at least two power nodes are layered based on the transmission order of electric energy in the at least two power nodes to obtain C sublayers.

[0066] Schematically, after electric energy is generated from a power station node, it passes through a transmission station node and finally reaches a load station node. The flow of this electric energy in the power system can be called an electric energy flow. Each power node is interconnected through transmission lines. The power injection or output of one power node will affect the power and other data of other power nodes. This mutual influence relationship forms a coupling relationship between power nodes.

[0067] According to the transmission order of electric energy, at least two power nodes can be divided into different sub-layers. For example, the power station node at the initial stage of electric energy transmission is divided into the first sub-layer. Then, the booster substation node (a type of transmission station node) next to the power station and responsible for the first boost operation is classified as the second sub-layer. Then, along the electric energy transmission line, each node on the high-voltage transmission line (such as the hub substation node in the middle, which also belongs to a type of transmission station node) is divided into the third sub-layer. By analogy, as the electric energy continues to approach the load station node and the voltage level gradually decreases, the nodes in different voltage conversion and transmission stages are divided into different sub-layers in turn until the electric energy finally reaches the load station node. The load station node can be used as the last sub-layer.

[0068] Among them, within each sublayer, the coupling relationship between nodes is relatively strong. For example, in the sublayer containing power station nodes, the coupling relationship between the power station nodes is strong because they are commonly connected to a substation node, or there is power support between each other. The coupling relationship between different sublayers is relatively weak. For example, although there is a power transfer relationship between the sublayer containing power station nodes and the sublayer containing load station nodes, the connection between them is indirectly realized through the sublayer containing transmission station nodes, and the coupling relationship is weak. Through layering, there is no need to consider the complex relationship between all power nodes at the same time, but each sublayer can be processed separately, thereby simplifying the calculation process and improving calculation efficiency.

[0069] Optionally, at least two power nodes are layered according to power grid topology data corresponding to the at least two power nodes to obtain a first sublayer, a second sublayer and a third sublayer.

[0070] Among them, the first sublayer includes power station nodes among at least two power nodes, the second sublayer includes transmission station nodes among at least two power nodes, and the third sublayer includes load station nodes among at least two power nodes.

[0071] It should be noted that the number of the above-mentioned first sublayers can be one or more, the number of the second sublayers can be one or more, and the number of the third sublayers can be one or more. The following mainly takes one first sublayer, one second sublayer and one third sublayer, and the power station node included in the first sublayer is a net power station node as an example for explanation. The net power station node is the initial point of power generation. In other words, no other power node transmits power to the net power station node.

[0072] Step 2: Based on the carbon emission intensity of the power nodes contained in the rth sublayer, determine the carbon emission intensity of the power nodes contained in the r+1th sublayer according to the sub-power carbon flow matrix corresponding to the r+1th sublayer in the power carbon flow matrix and the sub-power generation carbon quantity matrix corresponding to the r+1th sublayer in the power generation carbon quantity matrix, where r is a positive integer and r≤C.

[0073] Among them, the rth sublayer is the upper power supply layer of the r+1th sublayer. Schematically, all paths that input power to the power nodes in the r+1th sublayer start from the power nodes in the rth sublayer, and there is no situation where nodes in other sublayers directly supply power to nodes in the r+1th sublayer. If the carbon flow is used to describe this relationship, for any power node in the r+1th sublayer, the carbon emissions corresponding to its input power can be expressed as the carbon emissions corresponding to the total contribution power from each power node in the rth sublayer.

[0074] Schematically, the matrix elements corresponding to the power nodes contained in the r+1th sublayer of the power carbon flow matrix are extracted to form a sub-power carbon flow matrix, and the matrix elements corresponding to the power nodes contained in the r+1th sublayer of the power generation carbon quantity matrix are extracted to form a sub-power generation carbon quantity matrix; based on the sub-power carbon flow matrix and the sub-power generation carbon quantity matrix, the node carbon balance relationship of the power nodes contained in the r+1th sublayer is determined; based on the node carbon balance relationship of the power nodes contained in the r+1th sublayer, the carbon emission intensity of the power nodes contained in the r+1th sublayer is determined.

[0075] An example is given in which the C sublayers include a first sublayer, a second sublayer, and a third sublayer.

[0076] (1) For the first sublayer.

[0077] According to the sub-power carbon flow matrix corresponding to the first sublayer in the power carbon flow matrix and the sub-power generation carbon quantity matrix corresponding to the first sublayer in the power generation carbon quantity matrix, the first carbon emission intensity of the power station node contained in the first sublayer is determined.

[0078] Schematically, the matrix elements corresponding to the power station nodes contained in the first sub-layer of the power carbon flow matrix are extracted to form a first sub-power carbon flow matrix, and the matrix elements corresponding to the power station nodes contained in the first sub-layer of the power generation carbon quantity matrix are extracted to form a first sub-power generation carbon quantity matrix; based on the first sub-power carbon flow matrix and the first sub-power generation carbon quantity matrix, the node carbon balance relationship of the power station nodes contained in the first sub-layer is determined; based on the node carbon balance relationship of the power station nodes contained in the first sub-layer, the first carbon emission intensity of the power station nodes contained in the first sub-layer is determined.

[0079] Optionally, the power station nodes included in the first sublayer are net power station nodes. For the net power station nodes, there is no corresponding input node, that is, the above formula 1 can be rewritten as the following formula.

[0080]

[0081] This formula describes the node carbon balance relationship of the power station nodes contained in the first sublayer. From the above introduction, we can see that and are all known quantities, so we can directly solve , that is, the first carbon emission intensity of the power station node in the first sublayer is obtained.

[0082] (2) For the second sublayer.

[0083] Based on the first carbon emission intensity of the power station node in the first sublayer, the second carbon emission intensity of the transmission station node included in the second sublayer is determined according to the sub-power carbon flow matrix corresponding to the second sublayer in the power carbon flow matrix and the sub-power generation carbon quantity matrix corresponding to the second sublayer in the power generation carbon quantity matrix.

[0084] Schematically, the matrix elements corresponding to the transmission station nodes included in the second sub-layer of the power carbon flow matrix are extracted to form a second sub-power carbon flow matrix, and the matrix elements corresponding to the transmission station nodes included in the second sub-layer of the power generation carbon amount matrix are extracted to form a second sub-power generation carbon amount matrix; based on the second sub-power carbon flow matrix and the second sub-power generation carbon amount matrix, the node carbon balance relationship of the transmission station nodes included in the second sub-layer is determined; based on the node carbon balance relationship of the transmission station nodes included in the second sub-layer, the second carbon emission intensity of the transmission station nodes included in the second sub-layer is determined.

[0085] Optionally, for any transmission station node in the second sublayer, the carbon emissions corresponding to its input electric energy can be expressed as the carbon emissions corresponding to the total contributed electric energy from each power station node in the first sublayer.

[0086] Illustratively, the node carbon balance relationship of the transmission station nodes included in the second sublayer can be directly expressed as the above formula 1, that is, the following formula 1.

[0087] Formula 1:

[0088] In this formula 1, It refers to the carbon emissions corresponding to the electric energy contributed by the power station node to the transmission station node, where is the first carbon emission intensity corresponding to the power station node, is a known quantity, is also a known quantity, then is a known quantity, and , Based on the known quantity, we can directly solve it using formula 1. , that is, the second carbon emission intensity of the transmission station node in the second sublayer is obtained.

[0089] (3) For the third sublayer.

[0090] Based on the second carbon emission intensity of the transmission station node in the second sublayer, the third carbon emission intensity of the power station nodes contained in the third sublayer is determined according to the corresponding sub-power carbon flow matrix in the power carbon flow matrix of the third sublayer and the corresponding sub-power generation carbon quantity matrix in the power generation carbon quantity matrix of the third sublayer.

[0091] Schematically, the matrix elements corresponding to the load station nodes contained in the third sub-layer of the power carbon flow matrix are extracted to form a third sub-power carbon flow matrix, and the matrix elements corresponding to the load station nodes contained in the third sub-layer of the power generation carbon quantity matrix are extracted to form a third sub-power generation carbon quantity matrix; based on the third sub-power carbon flow matrix and the third sub-power generation carbon quantity matrix, the node carbon balance relationship of the load station nodes contained in the third sub-layer is determined; based on the node carbon balance relationship of the load station nodes contained in the third sub-layer, the third carbon emission intensity of the load station nodes contained in the third sub-layer is determined.

[0092] Optionally, for any load station node in the third sublayer, the carbon emissions corresponding to its input electric energy can be expressed as the carbon emissions corresponding to the total contributed electric energy from each load station node in the second sublayer.

[0093] Schematically, the node carbon balance relationship of the load station nodes included in the third sublayer can be directly expressed as the above formula 1, that is, the following formula 1.

[0094] Formula 1:

[0095] In this formula 1, It refers to the carbon emissions corresponding to the electric energy contributed by the transmission station node to the load station node, where is the second carbon emission intensity corresponding to the transmission station node, is a known quantity, is also a known quantity, then is a known quantity, and , Based on the known quantity, we can directly solve it using formula 1. , that is, the third carbon emission intensity of the load station node in the third sublayer is obtained.

[0096] In some embodiments, the load station node in the third sublayer is the transmission end point of the power system electric energy, that is, the load station node does not need to transmit electric energy to other power nodes, then the above formula 1 can be rewritten as the following formula.

[0097]

[0098] The second carbon emission intensity of the transmission station node in the second sublayer is calculated according to the above formula.

[0099] Step 3: After the traversal of C sub-layers is completed, the carbon emission intensity corresponding to at least two power nodes is obtained.

[0100] Optionally, the first carbon emission intensity of the power station nodes included in the first sublayer, the second carbon emission intensity of the transmission station nodes included in the second sublayer, and the third carbon emission intensity of the power station nodes included in the third sublayer are determined as the corresponding carbon emission intensities of at least two power nodes respectively.

[0101] In some embodiments, the carbon emission intensities corresponding to the at least two power nodes may be displayed on the computer device.

[0102] Optionally, a carbon flow topology diagram is displayed based on the carbon emission intensities respectively corresponding to at least two power nodes, and the carbon flow topology diagram represents a flow path of carbon between at least two regional nodes and the carbon emission intensities respectively corresponding to the at least two regional nodes.

[0103] Among them, each regional node corresponds to at least one power node among at least two power nodes, the carbon emission intensity corresponding to the kth regional node is determined by the carbon emission intensity of at least one power node corresponding to the kth regional node, and k is a positive integer.

[0104] Optionally, if the k-th regional node corresponds to a power node, the power node is directly regarded as the k-th regional node, and the carbon emission intensity corresponding to the power node is regarded as the carbon emission intensity corresponding to the k-th regional node.

[0105] Optionally, if the k-th regional node corresponds to multiple power nodes, the carbon emission intensity of the multiple power nodes corresponding to the k-th regional node is weighted averaged to obtain the carbon emission intensity corresponding to the k-th regional node. The weight corresponding to at least one power node is determined by at least one of the following influencing factors.

[0106] (1) Geographical location of power nodes.

[0107] Indicatively, the impact of power nodes on regional carbon emissions often varies depending on their geographical location. For example, power nodes located in densely populated areas have a greater impact on the surrounding environment and people due to the carbon emissions they generate, so they can be given a relatively high weight when considering the overall carbon emissions in the region. On the contrary, power nodes located in remote areas and sparsely populated areas have relatively little impact on the surrounding environment, and their weights can be appropriately reduced. In addition, from the perspective of energy transmission and allocation, power nodes that are closer to energy consumption centers have relatively less loss during power transmission, and play a more critical role in ensuring the stability of regional power supply, so they can also be given higher weights accordingly; while nodes that are farther away, although they also participate in power supply, have relatively weaker influence, and their weights are adjusted accordingly.

[0108] (2) Connectivity of power nodes.

[0109] The connectivity of a power node refers to the number of connecting lines between a power node and other power nodes. The connectivity of a power node reflects its importance in the power system and the degree of mutual influence with other nodes. A power node with high connectivity means that it has an energy transmission relationship with more other nodes, and its carbon emissions have a wider range and deeper impact on other nodes in the region and the entire regional power grid. For example, a transmission station node as a hub connects many power station nodes and load station nodes. Its carbon emissions will indirectly affect multiple regions through the transmission of electricity, so it should be given a higher weight; while relatively isolated power nodes with fewer connections have relatively limited influence, and their weights can be appropriately reduced.

[0110] It should be noted that the above examples of determining the carbon emission intensity of regional nodes are only illustrative and are not limited here.

[0111] For illustration, please refer to Figure 4 , which shows a schematic diagram of a carbon flow topology, such as Figure 4 As shown, the circle 401 in the carbon flow topology diagram 400 represents a regional node (or power node), and the position of the circle 401 in the carbon flow topology diagram 400 represents the actual geographical location of the regional node. The circle 401 corresponds to color information ( Figure 4 (not shown in the figure), the color of the circle 401 indicates the carbon emission intensity of the regional node, for example, red indicates high carbon emission intensity, yellow indicates medium carbon emission intensity, and green indicates low carbon emission intensity. Alternatively, the circle 401 corresponds to size information, and the size of the circle 401 indicates the carbon emission intensity of the regional node, and the larger the circle 401, the higher the carbon emission intensity.

[0112] The line 402 in the carbon flow topology diagram 400 represents a transmission line between at least two regional nodes (or power nodes), and the arrow of the line 402 represents the flow direction of carbon between at least two regional nodes, that is, the line 402 represents the flow path of carbon between at least two regional nodes.

[0113] In summary, the method for determining carbon emission intensity provided in the embodiment of the present application constructs an electric carbon flow matrix through the electric power flow data of the electric nodes, associates the electric power flow with the carbon emission, uses the main diagonal elements to reflect the carbon emission corresponding to the electric energy consumed by each electric node, and the non-main diagonal elements reflect the carbon emission corresponding to the electric energy input to each electric node, thereby integrating the carbon emission of each electric node in the electric power system during the transmission and consumption of electric energy; constructs a power generation carbon amount matrix through the carbon emissions corresponding to the power generation equipment connected to the power node, thereby integrating the carbon emission of each electric node in the power system during the production of electric energy. On the basis of constructing the electric carbon flow matrix and the power generation carbon amount matrix, the electric carbon flow matrix and the power generation carbon amount matrix can be processed in parallel in layers, and the task of calculating the carbon emission intensity of each electric node can be decomposed into multiple levels to process different parts of the matrix data, thereby shortening the calculation time and improving the efficiency of determining the carbon emission intensity of the electric node.

[0114] In some embodiments, when constructing the power carbon flow matrix, it is also necessary to consider the carbon emissions associated with line losses. For example, please refer to Figure 5 , the above Figure 2 The illustrated embodiment may also be implemented as the following steps 510 to 540 .

[0115] Step 510: Acquire power flow data of at least two power nodes in the power system.

[0116] There is a power transmission relationship between at least two power nodes, and the power flow data is used to characterize the amount of electric energy flow in the power transmission relationship.

[0117] In some embodiments, power flow data of at least two power nodes in the power system within the target time period is obtained; based on the power flow data of the power system within the target time period, the carbon emission intensities corresponding to the at least two power nodes within the target time period are determined.

[0118] Step 521 : determining the carbon emission corresponding to the electric energy contributed by the input node to the nth power node based on the electric power flow data.

[0119] The input node refers to a power node that outputs electric energy to the nth power node among the at least two power nodes, where n is a positive integer.

[0120] Among them, the carbon emissions corresponding to the contributed electric energy are determined by the input electric energy and the input line loss electric energy; the input electric energy refers to the electric energy output from the input node to the nth power node, and the input line loss electric energy is used to characterize the loss generated when the electric energy is transmitted from the input line to the nth power node. The input line is used to connect the input node and the nth power node.

[0121] Optionally, based on the power flow data, the first electric energy output by the input node to the nth power node is obtained as the input electric energy, and the second electric energy received by the nth power node through the input line is obtained; the difference between the first electric energy and the second electric energy is calculated as the input line loss electric energy; and the carbon emissions corresponding to the input electric energy and the carbon emissions corresponding to the input line loss electric energy are determined according to the carbon emissions corresponding to the input electric energy and the carbon emissions corresponding to the input line loss electric energy.

[0122] (1) Carbon emissions corresponding to input electricity.

[0123] Get the input active power P received by the nth power node from the ith power node i,n , then the first electric energy outputted by the i-th power node to the n-th power node is P i,n ×t, the carbon emission intensity of the i-th power node is regarded as an unknown parameter and is set as NCI i , considering t as a unit time, that is, t=1, then the carbon emission corresponding to the first electric energy output from the i-th power node to the n-th power node is P i,n ×NCI i , that is, the carbon emissions corresponding to the input electricity.

[0124] (2) Carbon emissions corresponding to input line loss electricity.

[0125] Get the active power received by the nth power node through the input line as P n,i , the second electric energy received by the nth power node through the input line is P n,i ×t.

[0126] Taking into account the line loss during transmission of electric energy, the second electric energy is less than the first electric energy. That is to say, the first electric energy is the total amount of electric energy initially transmitted from the i-th power node to the n-th power node. When the first electric energy is transmitted to the n-th power node along the input line, it becomes the second electric energy when it reaches the n-th power node due to line loss.

[0127] After obtaining the first electric energy and the second electric energy, the difference between the first electric energy and the second electric energy |P n,i- P i,n |×t, where “||” is the absolute value symbol, that is, calculate P n,i- P i,n The absolute value of the difference between |P n,i-P i,n |×t is the input line loss energy, and the carbon emission intensity of the i-th power node is regarded as an unknown parameter, which is set as NCI i , considering t as a unit time, that is, t=1, then the carbon emissions corresponding to the input line loss energy when the i-th power node outputs power to the n-th power node is |P n,i- P i,n |×NCI i , which is the carbon emissions corresponding to the input line loss electricity.

[0128] After obtaining the carbon emissions corresponding to the input electric energy and the carbon emissions corresponding to the input line loss electric energy, the sum of the carbon emissions corresponding to the input electric energy and the carbon emissions corresponding to the input line loss electric energy is calculated as the carbon emissions corresponding to the contribution electric energy of the input node to the nth power node.

[0129] Step 522: Determine non-main diagonal elements corresponding to at least two power nodes according to the contributed electric energies corresponding to at least two power nodes.

[0130] Taking at least two power nodes represented as M power nodes as an example, the non-main diagonal elements refer to the non-main diagonal elements in the M×M power carbon flow matrix. In the M×M power carbon flow matrix, the non-main diagonal elements corresponding to the nth power node are used to characterize the carbon emissions corresponding to the contributed electric energy of the input node to the nth power node.

[0131] For the i-th power node, if there is no power connection relationship between the i-th power node and the n-th power node, or there is a power connection relationship between the i-th power node and the n-th power node and electric energy flows from the n-th power node to the i-th power node, it means that the carbon emissions corresponding to the electric energy contributed by the i-th input node to the n-th power node is 0, then the non-main diagonal elements (n, i) can be assigned to 0 or a minimum value.

[0132] If there is an electric connection relationship between the ith power node and the nth power node and the electric energy flows from the ith power node to the nth power node through the input line, the non-main diagonal element (n, i) can be assigned the carbon emissions corresponding to the electric energy contributed by the ith input node to the nth power node, that is, (P i,n +|P n,i- P i,n |)×NCI i .

[0133] Step 523: determining the carbon emission corresponding to the power consumption of the nth power node based on the power flow data.

[0134] The carbon emissions corresponding to the consumed electricity are determined by the output electricity and the output line loss electricity; the output line loss electricity is used to characterize the loss generated when the electricity is transmitted from the nth power node to the output line.

[0135] In some embodiments, the output electric energy includes at least one of output node electric energy and load electric energy. The output node electric energy refers to the electric energy output from the nth power node to the output node. The output node refers to the power node among at least two power nodes that receives the electric energy transmitted by the nth power node. The output node is connected to the nth power node through an output line. The load electric energy refers to the electric energy consumed by the electrical equipment connected to the nth power node.

[0136] Taking the output electric energy including output node electric energy and load electric energy as an example, the method for calculating the carbon emissions corresponding to the consumed electric energy includes: based on the power flow data, obtaining the third electric energy output by the nth power node to the output node to obtain the output node electric energy, obtaining the fourth electric energy consumed by the electrical equipment connected to the nth power node as the load electric energy, and obtaining the fifth electric energy received by the output node through the output line; calculating the difference between the third electric energy and the fifth electric energy to obtain the output line loss electric energy; determining the consumed electric energy of the nth power node according to the carbon emissions corresponding to the output node electric energy, the carbon emissions corresponding to the load electric energy and the carbon emissions corresponding to the output line loss electric energy.

[0137] (1) Carbon emissions corresponding to the output node electricity.

[0138] Indicatively, the output active power transmitted from the nth power node to the jth power node is obtained as P n,j , the third electric energy transmitted from the nth power node to the jth node is P n,j ×t, the carbon emission intensity of the nth power node is regarded as an unknown parameter and is set as NCI n , j is a positive integer, j represents the output node, that is, the power node that receives the output power of the nth power node. If t is regarded as a unit time, that is, t=1, then the carbon emissions corresponding to the third power transmitted from the nth power node to the jth node are P n,j ×NCI n .

[0139] If the nth power node outputs power to Q power nodes, Q is a positive integer, j≤Q, then the output node power can be expressed as , then the carbon emissions corresponding to the output node electricity are .

[0140] (2) Carbon emissions corresponding to load electricity.

[0141] Schematically, the load active power of the nth power node is P Ln, the fourth electric energy consumed by the electric device connected to the nth power node is P Ln ×t, if t is regarded as a unit time, that is, t=1, then the carbon emissions corresponding to the fourth electric energy consumed by the electrical equipment connected to the nth power node is P Ln ×NCI n , that is, the carbon emissions corresponding to the load electricity.

[0142] (3) Carbon emissions corresponding to output line loss electricity.

[0143] Schematically, the active power received by the jth power node through the output line is obtained as P j,n , the fifth electric energy received by the jth power node through the output line is P j,n ×t.

[0144] Taking into account the line loss during transmission of electric energy, the fifth electric energy is smaller than the third electric energy, that is, the third electric energy is the total amount of electric energy initially transmitted from the nth power node to the jth power node. When the third electric energy is transmitted to the jth power node along the output line, it becomes the fifth electric energy when it reaches the jth power node due to line loss.

[0145] After obtaining the third electric energy and the fifth electric energy, the difference between the third electric energy and the fifth electric energy |P n,j- P j,n |×t, if the nth power node outputs power to Q power nodes, Q is a positive integer, j≤Q, and t is regarded as a unit time, that is, t=1, then the output line loss power can be expressed as , then the carbon emissions corresponding to the output line loss electric energy are .

[0146] Step 524: determining main diagonal elements corresponding to at least two power nodes respectively according to the carbon emissions corresponding to the power consumption corresponding to the at least two power nodes respectively.

[0147] In the M×M electricity carbon flow matrix, the main diagonal elements corresponding to the nth power node are used to represent the carbon emissions corresponding to the consumed electricity of the nth power node.

[0148] Schematically, the main diagonal element (n, n) can be assigned the carbon emission corresponding to the power consumption of the nth power node, that is, .

[0149] Step 525: construct an electric power carbon flow matrix based on the non-main diagonal elements and main diagonal elements corresponding to at least two electric power nodes.

[0150] After determining the non-main diagonal elements and main diagonal elements corresponding to the M power nodes, an M×M power carbon flow matrix is ​​constructed according to the non-main diagonal elements and main diagonal elements corresponding to the M power nodes.

[0151] Step 530, constructing a power generation carbon matrix.

[0152] The power generation carbon amount matrix includes power generation carbon amount data corresponding to at least two power nodes.

[0153] The power generation carbon data of the nth power node is used to characterize the carbon emissions corresponding to the power generation equipment connected to the nth power node.

[0154] Optionally, an M×1 power generation carbon amount matrix is ​​constructed based on the power generation carbon amount data corresponding to the M power nodes.

[0155] Schematically, the power generation power of the power generation equipment connected to the nth power node is recorded as P Gn , within time t, the power generation is P Gn ×t, the carbon emission factor of the power generation equipment connected to the nth power node is recorded as e Gn , the carbon emission factor is a preset value, which is related to the fuel used by the power generation equipment. For example, the carbon emission factor of the power generation equipment of thermal power generation is 875, then the carbon emission of the power generation equipment is P Gn ×t×e Gn , P Gn ×t×e Gn As the carbon data of the nth power node, GCF n , if t is regarded as a unit time, that is, t=1, then GCF n It can be expressed as (P Gn ×e Gn ).

[0156] Step 540 , hierarchically and parallelly process the power carbon flow matrix and the power generation carbon quantity matrix to obtain the carbon emission intensities corresponding to at least two power nodes.

[0157] In some embodiments, the power carbon flow matrix and the power generation carbon amount matrix are processed in hierarchical parallelism to determine the node carbon balance relationship corresponding to at least two nodes respectively; based on the node carbon balance relationship corresponding to at least two nodes respectively, the carbon emission intensity corresponding to at least two power nodes respectively is determined.

[0158] The node carbon balance relationship corresponding to the nth power node represents that the carbon emissions corresponding to the electric energy consumed by the nth power node, the carbon emissions corresponding to the electric energy contributed by the input node to the nth power node, and the carbon data of power generation of the nth power node are balanced.

[0159] In schematic form, assuming that the nth power node has P input nodes, P is a positive integer, i≤P, and the nth power node has Q output nodes, Q is a positive integer, j≤Q, a node carbon balance relationship can be constructed in the power carbon flow matrix and the power generation carbon amount matrix, and the node carbon balance relationship corresponding to the nth power node can be expressed as the following formula 2.

[0160] Formula 2:

[0161] in, It can represent the electric energy output from the nth power node to the jth power node, is the carbon emission intensity of the nth power node, represents the carbon emissions corresponding to the total electric energy output from the nth power node to all Q output nodes; It can represent the electric energy consumed by the electric equipment connected to the nth power node. Indicates the carbon emissions corresponding to the electric energy consumed by the electric equipment connected to the nth power node. represents the power received by the jth power node from the nth power node, represents the output loss energy corresponding to the jth power node, Represents the carbon emissions corresponding to the total output loss of all Q output nodes. Indicates the carbon emissions corresponding to the electricity consumed by the nth power node.

[0162] It can represent the contribution of electric energy from the i-th power node to the n-th power node, represents the power received by the nth power node from the ith power node, represents the input loss energy corresponding to the i-th power node, is the carbon emission intensity of the i-th power node, It refers to the carbon emissions corresponding to the total contributed electric energy of all P input nodes to the nth power node.

[0163] It represents the carbon emissions corresponding to the power generation equipment connected to the nth power node.

[0164] The implementation principle of Formula 2 provided in this application is explained below.

[0165] In the embodiment of the present application, in the power system, the following four types of carbon flows are defined.

[0166] (1) Generator Carbon Flow (GCF): It is defined as the carbon flow output from the power station node along with the branch active power flow (generally the step-up transformer) to the grid node (e.g., the transmission station node). The carbon flow GCF is equal to the sum of the carbon emissions generated by all power generation equipment connected to the power station node.

[0167] (2) Branch Carbon Flow (BCF): It is defined as the carbon flow generated by the branch active power flow in the power system. Similar to the active power flow, the carbon flow on the branch is a mixture of the carbon flow input by the power node and is distributed according to the principle of proportional sharing. Among them, the active power flow refers to the active power passing through the branch per unit time in the power system, which can indicate the electric energy transmitted by the branch per unit time. The branch refers to the transmission line between power nodes.

[0168] In order to establish the correlation between branch carbon flow and active power flow on the branch, the ratio of the carbon flow of any branch in the power system to its active power flow is defined as the branch carbon emission intensity (Branch Carbon Flow Intensity), represented by the symbol BCI. The ratio of the total carbon flow flowing into the power node to the total active power flow corresponding to the total carbon amount is defined as the carbon emission intensity (NCI) of the power node.

[0169] For the nth power node, there are inflow branches (i.e., input lines) and outflow branches (i.e., outflow lines). The set of branches flowing into the nth power node is: , the set of branches flowing out of the nth power node (hereinafter referred to as node n) is , then the active power flow from the ath inflow branch (hereinafter referred to as branch a) into the nth power node is recorded as , the active power flow from the bth outflow branch (hereinafter referred to as branch b) out of the nth power node is recorded as , a , b .

[0170] Due to the non-selectivity of electric energy (proportional sharing principle), the outflow flow in any outflow branch has the component of each inflow flow. Suppose branch b contains the component of branch a: ,According to the proportional sharing principle, the proportion of the flow contribution of branch a to branch b is the same as the proportion of the flow contribution of branch a in the set of inflow branches, which conforms to the following formula 3.

[0171] Formula 3:

[0172] in, is the active power flow component of branch a contained in the active power flow of branch b, is the active power flow of branch b, is the active power flow in branch a, It is the sum of the active power flows into the set of branches.

[0173] If the carbon emission intensity of the active power flow from branch a to node n is , then the carbon flow of active power flow in branch b is the set of inflow branches ( ) is the sum of the carbon flow contributions of all branches in branch b to branch b, please refer to the following formula 4.

[0174] Formula 4:

[0175] in, is the branch carbon flow corresponding to branch b, is the branch carbon emission intensity corresponding to branch a, It is the active power flow component of branch a contained in the active power flow of branch b.

[0176] The carbon emission intensity of branch b can be determined according to the above formula 4. Please refer to the following formula 5.

[0177] Formula 5:

[0178] in, is the branch carbon emission intensity corresponding to branch b, is the branch carbon flow corresponding to branch b, is the active power flow of branch b, is the branch carbon emission intensity corresponding to branch a, It is the active power flow component of branch a contained in the active power flow of branch b.

[0179] According to the above formula 3, we can convert to get formula 5 , please refer to the following formula 6.

[0180] Formula 6:

[0181] Substituting formula 6 into formula 5, we can eliminate ,available It is expressed as the following formula 7.

[0182] Formula 7:

[0183] in, is the carbon emission intensity of node n, which is the sum of all carbon flows flowing into node n divided by the sum of all active flows flowing into the node.

[0184] It can be seen from the above formula 7 that the carbon emission intensity of the branch corresponding to the power flow out of node n is equal to the carbon emission intensity of node n.

[0185] Therefore, in the above formulas 1 and 2, ,in represents the active power flow from node n (nth power node) to the jth power node. The carbon emission intensity of node n can be used The branch carbon emission intensity corresponding to the flow out of node n is replaced, so the carbon emission intensity of the output branch carbon flow can be expressed as .against , among which for represents the active power flow from node i (i-th power node), the carbon emission intensity of node i can be used The carbon emission intensity of the branch corresponding to the flow out of node i is replaced, so the carbon emission intensity of the input branch carbon flow can be expressed as .

[0186] In the above formulas 1 and 2, ,in It can be regarded as the active power flow from node n to the power equipment, and the carbon emission intensity of node n can be used The branch carbon emission intensity corresponding to the power flow out of node n is replaced, so the carbon emission intensity of the branch carbon flow input to the electrical equipment can be expressed as .

[0187] (3) Branch Carbon Loss (BCL): It is defined as the carbon flow generated by line loss. Branch carbon loss depends on two factors: the line loss rate on the branch and the carbon flow BCF on the branch. It reflects the carbon emissions borne by the grid loss.

[0188] The branch carbon loss can be regarded as a load on the branch. Therefore, the carbon emission intensity of the branch carbon flow is the same as the carbon emission intensity of the branch carbon loss.

[0189] In the above formula 2, is the branch carbon loss on the output branch (output line) flowing from the nth power node to the jth power node. The carbon emission intensity of this branch carbon loss is equal to the carbon emission intensity of the output branch carbon flow, that is, equal to the carbon emission intensity of the nth power node. , thus the carbon emission corresponding to the carbon loss of the output branch is .

[0190] In the above formula 2, is the branch carbon loss on the input branch (input line) flowing from the i-th power node to the n-th power node. The carbon emission intensity of this branch carbon loss is equal to the carbon emission intensity of the input branch carbon flow, that is, equal to the carbon emission intensity of the i-th power node. , thus the carbon emission corresponding to the carbon loss of the input branch is .

[0191] (4) Load Carbon Flow (LCF): It is defined as the carbon flow generated by the active power flow output from the grid node (e.g., transmission station node) to the load station node, which is equal to the sum of all branch carbon flows input to the load station node.

[0192] In the power system corresponding to this application, based on the above four types of carbon flows, the following carbon flow balance relationship is established: the sum of the carbon flows output by the generator nodes = the sum of the carbon flows input by the load station nodes. Based on this carbon flow balance relationship, the node carbon balance relationship in Formula 1 provided in this application can be analyzed, that is, for a certain node n (the nth power node), the carbon emissions corresponding to the carbon flow part of the input node n = the carbon emissions corresponding to the carbon flow part of the output node n, where the carbon emissions corresponding to the carbon flow part of the input node n is " ", the carbon emission corresponding to the carbon flow output by node n is " ”.

[0193] Taking line losses into consideration, based on the above four types of carbon flows, the following carbon flow balance relationship holds true: the sum of the output carbon flows of the generator nodes + the total carbon losses of the output branches in the power system = the sum of the input carbon flows of the load station nodes + the total carbon losses of the input branches in the power system.

[0194] Based on the carbon flow balance relationship, the node carbon balance relationship in Formula 2 provided in this application can be analyzed, that is, for a certain node n (the nth power node), the carbon emissions corresponding to the carbon flow part of the input node n + the carbon emissions corresponding to the carbon loss on the input branch of the input node n = the carbon emissions corresponding to the carbon flow part of the output of node n + the carbon emissions corresponding to the carbon loss on the output branch of node n, where the carbon emissions corresponding to the carbon flow part of the input node n is " ”, the carbon emission corresponding to the carbon loss on the input branch of input node n is “ "; the carbon emission corresponding to the carbon flow output by node n is " ”, the carbon emission corresponding to the carbon loss on the output branch of node n is “ ”.

[0195] Optionally, at least two power nodes are layered according to the power grid topology data corresponding to the at least two power nodes to obtain C sublayers, where C is an integer greater than 1; based on the carbon emission intensity of the power nodes included in the rth sublayer, the carbon emission intensity of the power nodes included in the r+1th sublayer is determined according to the sub-power carbon flow matrix corresponding to the r+1th sublayer in the power carbon flow matrix and the sub-power generation carbon quantity matrix corresponding to the r+1th sublayer in the power generation carbon quantity matrix; r is a positive integer and r≤C; after the traversal of the C sublayers is completed, the carbon emission intensities corresponding to the at least two power nodes are obtained.

[0196] Schematically, the matrix elements corresponding to the power nodes contained in the r+1th sublayer of the power carbon flow matrix are extracted to form a sub-power carbon flow matrix, and the matrix elements corresponding to the power nodes contained in the r+1th sublayer of the power generation carbon quantity matrix are extracted to form a sub-power generation carbon quantity matrix; based on the sub-power carbon flow matrix and the sub-power generation carbon quantity matrix, the node carbon balance relationship of the power nodes contained in the r+1th sublayer is determined; based on the node carbon balance relationship of the power nodes contained in the r+1th sublayer, the carbon emission intensity of the power nodes contained in the r+1th sublayer is determined.

[0197] The method for determining the carbon emission intensities respectively corresponding to at least two power nodes based on the hierarchical parallel method has been described in detail in step 240 and will not be repeated here.

[0198] For illustration, please refer to Figure 6 , which shows an overall flow chart of a method for determining carbon emission intensity, the process includes the following steps 610 to 640.

[0199] Step 610: data extraction and model building.

[0200] For illustration, please refer to Figure 7 , which shows a flowchart of data extraction and model building, such as Figure 7 As shown, the power grid dispatching system 701 is a system for real-time monitoring and control of the operating status of each power node in the power system. The power grid dispatching system 701 can obtain various key data during the operation of the power system, including but not limited to the following.

[0201] (1) Grid topology data / CIME model data.

[0202] CIME (Common Information Model for Energy Management) model data is similar to grid topology data, both of which are used to describe the structure of the power system. Grid topology data mainly focuses on the connection relationship between various power nodes in the power system, such as which nodes are directly connected and through which lines. CIME model data also contains the topology information of the power system. In addition to topology information, CIME model data also contains detailed attribute information of various devices in the power grid. For example, for a generator node, CIME model data will record many parameters such as its rated power, power factor, voltage level, fuel type, control method, etc.

[0203] (2) Power flow data.

[0204] Power flow data is a collection of key information that describes the operating status of the power system. It covers the flow of electric energy in various power nodes and branches in the power system, including power, voltage, current and other aspects.

[0205] (3) Telesignaling and telemetry data.

[0206] Telesignaling data mainly refers to the data obtained by remote signal collection of the equipment status of power nodes (such as the closed or open status of switches); telemetry data refers to the data obtained by remote measurement of electrical quantities (such as voltage, current, etc.) at power nodes.

[0207] After the power grid dispatching system 701 acquires the power grid topology data / CIME model data, it can construct a node connection model of the physical equipment of the power system according to the power grid topology data / CIME model data to form a node switch model (Node-BreakerModel).

[0208] Schematically, the power system physical device node connection model is a model that abstracts and digitally represents the power nodes and their connection relationships in the power system. Based on the power system physical device node connection model, a node switch model is further constructed. The node switch model is used to describe the relationship between the power nodes and switch devices of the power system, showing the location of each power node in the power system and how they are connected to each other through the switch devices.

[0209] According to the generated node switch model, the bus-branch model (Bus-BranchModel) of the power system is converted.

[0210] Schematically, in the node switch model, we first need to identify the power node representing the bus node. The bus node is an important node for collecting and distributing electric energy in the power system, and usually connects multiple devices (such as generators, transformers, transmission lines, etc.). According to the connection relationship in the node switch model, the connection branches between the bus nodes are determined. Different bus nodes are connected through corresponding connection branches to form the topological structure of the bus branch model.

[0211] Step 620, estimating and calculating the power system power flow state based on the graph calculation.

[0212] After the bus branch model is constructed, based on the topological structure of the bus branch model and the original power flow data obtained, the power system power flow state estimation calculation based on graph calculation is performed to obtain the power flow data of each bus node in the bus branch model. Among them, the calculation method includes the following method.

[0213] (1) Radial network structure and forward iteration method (MapReduce).

[0214] In the bus branch model, if some areas present a radial topology, such as the distribution network from the substation to the user end, its structural characteristics are suitable for forward-backward substitution for power flow calculation. The bus node is a point connected to each load node (sub-node) through a transmission line (edge). In the framework based on graph computing, the MapReduce algorithm is used to decompose the voltage and power information of the bus node according to the radial structure (Map operation), transmit it to each load node along the line, and calculate the sub-node voltage; then, by aggregating (Reduce operation) the load information of each load node, reversely calculate the power of each line (edge), and iterate until convergence.

[0215] (2) Ring network structure and Gauss-Decker iteration (PageRank).

[0216] For the ring network part in the bus branch model, such as the high-voltage transmission ring network, its ring topology determines that the power flow calculation method based on Gauss-Decker iteration can be used. In the graph calculation model, the bus in the ring network is used as a node, and the transmission line is used as an edge with admittance weight. The iterative calculation of the voltage of each bus node depends on the voltage of the adjacent bus nodes and the admittance of the connecting edge. Through large-scale synchronous parallel calculation, according to the topological connection relationship of the ring network in the bus branch model and the branch admittance parameters, the voltage of each bus node is quickly iterated and calculated, thereby achieving an accurate estimation of the power flow state of the ring network.

[0217] It should be noted that in the model, in the actual bus branch model, there are often radial network structures and ring network structures at the same time, forming a hybrid network. At this time, according to the topological structure characteristics of different regions, the above corresponding calculation methods are applied respectively, and coordination and data exchange are carried out at the regional boundaries. For example, at the bus node at the junction of the region, it is necessary to consider the impact of the radial network and the ring network calculation process on its voltage and power at the same time, and ensure the accuracy and consistency of the entire hybrid network flow calculation through reasonable data transmission and integration.

[0218] Step 630, calculating the carbon emission intensity of the power nodes based on the graph hierarchical parallelism.

[0219] For illustration, please refer to Figure 8 , which shows a flowchart of carbon emission intensity calculation of power nodes based on graph hierarchical parallelism, such as Figure 8 The calculation method shown includes the following steps.

[0220] Step 631: Select the bus node of the bus branch model as the power node to construct the power carbon flow matrix.

[0221] Step 632: Construct a power generation carbon matrix.

[0222] Indicatively, through step 620, the power flow data corresponding to each bus node in the bus node can be obtained, and a method for constructing a power carbon flow matrix and a power generation carbon amount matrix can be constructed according to the power flow data. The specific construction method can be referred to Figure 2 or Figure 5 The method of constructing the electricity carbon flow matrix and the power generation carbon amount matrix will not be described here.

[0223] Step 633: Solve the matrix using a graph hierarchical parallel method to obtain the carbon emission intensity of each bus node.

[0224] The method of solving the matrix using the graph hierarchical parallel method to obtain the carbon emission intensity of each bus node can be referred to step 240, which will not be described in detail here.

[0225] Step 640, application of carbon emission intensity of power nodes.

[0226] The carbon emission intensity application of the power node includes at least one of the following applications.

[0227] (1) Draw a carbon flow topology map.

[0228] Schematically, the calculated carbon emission intensity can be used to draw the following Figure 4 Carbon flow topology shown.

[0229] (2) Grid operation optimization and dispatching.

[0230] According to the carbon emission intensity of power nodes, loads should be reasonably allocated and transferred. For regional nodes or time periods with low carbon emission intensity, load demand can be appropriately increased to encourage users to use electricity during these periods, such as promoting electric vehicles to charge during low-peak hours at night (when they may rely more on low-carbon emission power generation methods), so as to achieve efficient use of power resources and optimal control of carbon emissions.

[0231] The above examples of the application of carbon emission intensity are only for illustrative purposes and will not be elaborated here.

[0232] For illustration, please refer to Fig. 9 , which shows a structural block diagram of a device for determining carbon emission intensity, such as Fig. 9 As shown, the device includes the following modules.

[0233] An acquisition module 910 is used to acquire power flow data of at least two power nodes in a power system, where there is a power transmission relationship between the at least two power nodes, and the power flow data is used to characterize the amount of electric energy flow in the power transmission relationship; A construction module 920 is used to construct an electric power carbon flow matrix based on the electric power flow data, wherein the electric power carbon flow matrix includes main diagonal elements and non-main diagonal elements, wherein the main diagonal elements corresponding to the nth electric power node are used to characterize the carbon emissions corresponding to the electric energy consumed by the nth electric power node, and the non-main diagonal elements corresponding to the nth electric power node are used to characterize the carbon emissions corresponding to the electric energy contributed by the input node to the nth electric power node, wherein the input node refers to the electric power node that outputs electric energy to the nth electric power node among the at least two electric power nodes, and n is a positive integer; The construction module 920 is used to construct a power generation carbon amount matrix, wherein the power generation carbon amount matrix includes power generation carbon amount data corresponding to the at least two power nodes respectively, wherein the power generation carbon amount data of the nth power node is used to represent the carbon emissions corresponding to the power generation equipment connected to the nth power node; The processing module 930 is used to process the power carbon flow matrix and the power generation carbon amount matrix in hierarchical parallel manner to obtain the carbon emission intensities corresponding to the at least two power nodes respectively.

[0234] In some embodiments, the processing module 930 is used to: hierarchically and in parallel, the electric power carbon flow matrix and the power generation carbon amount matrix are processed to determine the node carbon balance relationship corresponding to the at least two nodes respectively, wherein the node carbon balance relationship corresponding to the nth electric power node represents that the carbon emissions corresponding to the electric energy consumed by the nth electric power node and the carbon emissions corresponding to the electric energy contributed by the input node to the nth electric power node and the power generation carbon amount data of the nth electric power node are balanced; Based on the node carbon balance relationship respectively corresponding to the at least two nodes, the carbon emission intensities respectively corresponding to the at least two power nodes are determined.

[0235] In some embodiments, the processing module 930 is used to: Layering the at least two power nodes according to the power grid topology data corresponding to the at least two power nodes to obtain C sublayers, where C is an integer greater than 1; Based on the carbon emission intensity of the power nodes included in the rth sublayer, the carbon emission intensity of the power nodes included in the r+1th sublayer is determined according to the sub-power carbon flow matrix corresponding to the r+1th sublayer in the power carbon flow matrix and the sub-power generation carbon amount matrix corresponding to the r+1th sublayer in the power generation carbon amount matrix; r is a positive integer and r≤C; After the traversal of the C sub-layers is completed, the carbon emission intensities corresponding to the at least two power nodes are obtained.

[0236] In some embodiments, the processing module 930 is used to: According to the power grid topology data corresponding to the at least two power nodes, the at least two power nodes are layered to obtain a first sublayer, a second sublayer and a third sublayer, wherein the first sublayer includes power station nodes among the at least two power nodes, the second sublayer includes transmission station nodes among the at least two power nodes, and the third sublayer includes load station nodes among the at least two power nodes; Determine a first carbon emission intensity of a power plant node included in the first sublayer according to a sub-power carbon flow matrix corresponding to the first sublayer in the power carbon flow matrix and a sub-power generation carbon amount matrix corresponding to the first sublayer in the power generation carbon amount matrix; Based on the first carbon emission intensity of the power station node in the first sublayer, determine the second carbon emission intensity of the transmission station node included in the second sublayer according to the sub-power carbon flow matrix corresponding to the second sublayer in the power carbon flow matrix and the sub-power generation carbon amount matrix corresponding to the second sublayer in the power generation carbon amount matrix; Based on the second carbon emission intensity of the transmission station node in the second sublayer, the third carbon emission intensity of the power station node contained in the third sublayer is determined according to the sub-power carbon flow matrix corresponding to the third sublayer in the power carbon flow matrix and the sub-power generation carbon quantity matrix corresponding to the third sublayer in the power generation carbon quantity matrix.

[0237] In some embodiments, the building block 920 is used to: Determine the carbon emissions corresponding to the electric energy contributed by the input node to the nth power node based on the electric power flow data, wherein the carbon emissions corresponding to the electric energy contributed by the nth power node is determined by the input electric energy and the input line loss electric energy; the input electric energy refers to the electric energy output by the input node to the nth power node, and the input line loss electric energy is used to characterize the loss generated when the electric energy is transmitted from the input line to the nth power node, and the input line is used to connect the input node and the nth power node; Determine the non-main diagonal elements corresponding to the at least two power nodes respectively according to the carbon emissions corresponding to the contributed electric energies respectively corresponding to the at least two power nodes; Determine the carbon emissions corresponding to the consumed electric energy of the nth electric node based on the electric power flow data, wherein the carbon emissions corresponding to the consumed electric energy are determined by the output electric energy and the output line loss electric energy; the output line loss electric energy is used to characterize the loss generated when the electric energy is transmitted from the nth electric node to the output line; Determine the main diagonal elements corresponding to the at least two power nodes respectively according to the carbon emissions corresponding to the consumed electric energy respectively corresponding to the at least two power nodes; The electric power carbon flow matrix is ​​constructed based on the non-main diagonal elements and the main diagonal elements respectively corresponding to the at least two electric power nodes.

[0238] In some embodiments, the building block 920 is used to: Based on the power flow data, obtaining the first electric energy output by the input node to the nth power node as the input electric energy, and obtaining the second electric energy received by the nth power node through the input line; calculating a difference between the first electric energy and the second electric energy as the input line loss electric energy; The carbon emissions corresponding to the contributed electric energy of the input node to the nth power node are determined according to the carbon emissions corresponding to the input electric energy and the carbon emissions corresponding to the input line loss electric energy.

[0239] In some embodiments, the output electric energy includes at least one of output node electric energy and load electric energy, the output node electric energy refers to the electric energy output by the nth power node to the output node, the output node refers to the power node among the at least two power nodes that receives the electric energy transmitted by the nth power node, and the output node is connected to the nth power node through the output line; the load electric energy refers to the electric energy consumed by the electrical equipment connected to the nth power node.

[0240] In some embodiments, the output electric energy includes the output node electric energy and the load electric energy; the building module 920 is used to: Based on the power flow data, obtaining the third electric energy output by the nth power node to the output node to obtain the output node electric energy, obtaining the fourth electric energy consumed by the electric device connected to the nth power node as the load electric energy, and obtaining the fifth electric energy received by the output node through the output line; Calculating the difference between the third electric energy and the fifth electric energy to obtain the output line loss electric energy; The carbon emissions corresponding to the consumed electric energy of the nth power node are determined according to the carbon emissions corresponding to the output node electric energy, the carbon emissions corresponding to the load electric energy and the output line loss electric energy.

[0241] In some embodiments, the building block 920 is used to: Obtaining carbon emission factors and power generation corresponding to power generation equipment respectively connected to the at least two power nodes; Determining power generation carbon quantity data corresponding to the at least two power nodes respectively according to the carbon emission factor and the power generation; The power generation carbon amount matrix is ​​constructed based on the power generation carbon amount data corresponding to the at least two power nodes respectively.

[0242] In some embodiments, the processing module 930 is used to: Displaying a carbon flow topology diagram based on the carbon emission intensities respectively corresponding to the at least two power nodes, wherein the carbon flow topology diagram represents a flow path of carbon between the at least two regional nodes and the carbon emission intensities respectively corresponding to the at least two regional nodes; Among them, each regional node corresponds to at least one power node among the at least two power nodes, the carbon emission intensity corresponding to the kth regional node is determined by the carbon emission intensity of at least one power node corresponding to the kth regional node, and k is a positive integer.

[0243] In summary, the device for determining carbon emission intensity provided by the embodiment of the present application constructs an electric carbon flow matrix through the electric power flow data of the electric power nodes, associates the electric power flow with the carbon emission, uses the main diagonal elements to reflect the carbon emission corresponding to the electric energy consumed by each electric node, and the non-main diagonal elements reflect the carbon emission corresponding to the electric energy input to each electric node, thereby integrating the carbon emission of each electric node in the electric power system during the transmission and consumption of electric energy; constructs a power generation carbon amount matrix through the carbon emission corresponding to the power generation equipment connected to the electric node, thereby integrating the carbon emission of each electric node in the electric power system during the production of electric energy. On the basis of constructing the electric carbon flow matrix and the power generation carbon amount matrix, the electric carbon flow matrix and the power generation carbon amount matrix can be processed in parallel in layers, and the task of calculating the carbon emission intensity of each electric node can be decomposed into multiple levels to process different parts of the matrix data, thereby shortening the calculation time and improving the efficiency of determining the carbon emission intensity of the electric node.

[0244] It should be noted that the specific limitations in the embodiments of the one or more carbon emission intensity determination devices provided above can refer to the limitations of the carbon emission intensity determination method above, and will not be repeated here. Each module of the above device can be implemented in whole or in part by software, hardware, and a combination thereof. Each module can be embedded in or independent of the processor of the computer device in the form of hardware, or can be stored in the memory of the computer device in the form of software, so that the processor can call and execute the corresponding operations of each module.

[0245] An embodiment of the present application also provides a computer device, which includes: a processor and a memory, wherein a computer program is stored in the memory; and the processor is used to execute the computer program in the memory to implement the method for determining the carbon emission intensity provided in the above-mentioned method embodiments.

[0246] For example, Fig.10 1 is a block diagram of a computer device 1000 provided by an exemplary embodiment of the present application. Generally, the computer device 1000 includes: a processor 1001 and a memory 1002 .

[0247] The processor 1001 may include one or more processing cores, such as a 4-core processor, an 8-core processor, etc. The processor 1001 may be implemented in at least one hardware form of digital signal processing (DSP), field-programmable gate array (FPGA), and programmable logic array (PLA). The processor 1001 may also include a main processor and a coprocessor. The main processor is a processor for processing data in the awake state, also known as a central processing unit (CPU); the coprocessor is a low-power processor for processing data in the standby state. In some embodiments, the processor 1001 may be integrated with a graphics processing unit (GPU), and the GPU is responsible for rendering and drawing the content to be displayed on the display screen. In some embodiments, the processor 1001 may also include an artificial intelligence (AI) processor, which is used to process computing operations related to machine learning.

[0248] The memory 1002 may include one or more computer-readable storage media, which may be non-transitory. The memory 1002 may also include a high-speed random access memory, and a non-volatile memory, such as one or more disk storage devices, flash memory storage devices. In some embodiments, the non-transitory computer-readable storage medium in the memory 1002 is used to store at least one instruction, which is used to be executed by the processor 1001 to implement the method for determining the carbon emission intensity provided in each method embodiment of the present application.

[0249] In some embodiments, the computer device 1000 may also optionally include: an input interface 1003 and an output interface 1004. The processor 1001, the memory 1002, and the input interface 1003 and the output interface 1004 may be connected via a bus or a signal line. Each peripheral device may be connected to the input interface 1003 and the output interface 1004 via a bus, a signal line or a circuit board. The input interface 1003 and the output interface 1004 may be used to connect at least one peripheral device related to input / output (I / O) to the processor 1001 and the memory 1002. In some embodiments, the processor 1001, the memory 1002, the input interface 1003, and the output interface 1004 are integrated on the same chip or circuit board; in some other embodiments, any one or two of the processor 1001, the memory 1002, the input interface 1003, and the output interface 1004 may be implemented on a separate chip or circuit board, which is not limited in the embodiments of the present application.

[0250] Those skilled in the art will understand that Fig.10 The structure shown in the figure does not constitute a limitation on the computer device 1000, and the computer device 1000 may include more or less components than those shown in the figure, or combine some components, or adopt a different component arrangement.

[0251] In an exemplary embodiment, the present application provides a chip, which includes a programmable logic circuit and / or program instructions. When the chip runs on a computer device, it is used to implement the method for determining the carbon emission intensity provided by the above-mentioned various method embodiments.

[0252] In an exemplary embodiment, the present application provides a computer-readable storage medium storing a computer program, which is loaded and executed by a processor to implement the method for determining carbon emission intensity provided by each of the above method embodiments.

[0253] In an exemplary embodiment, the present application provides a computer program product or a computer program, the computer program product or the computer program including computer instructions, the computer instructions being stored in a computer-readable storage medium. A processor of a computer device reads the computer instructions from the computer-readable storage medium, and the processor executes the computer instructions, so that the processor of the computer device loads and executes the method for determining carbon emission intensity provided in the above method embodiment.

[0254] The serial numbers of the above-mentioned embodiments of the present application are for description only and do not represent the advantages or disadvantages of the embodiments.

[0255] A person skilled in the art will understand that all or part of the steps to implement the above embodiments may be accomplished by hardware or by instructing related hardware through a program, and the program may be stored in a computer-readable storage medium, and the above-mentioned computer-readable storage medium may be a read-only memory, a disk or an optical disk, etc.

[0256] Those skilled in the art should be aware that in one or more of the above examples, the functions described in the embodiments of the present application can be implemented with hardware, software, firmware, or any combination thereof. When implemented using software, these functions can be stored in a computer-readable medium or transmitted as one or more instructions or codes on a computer-readable medium. Computer-readable media include computer storage media and communication media, wherein the communication media include any media that facilitates the transmission of a computer program from one place to another. The storage medium can be any available medium that a general or special-purpose computer can access.

[0257] The above description is only an optional embodiment of the present application and is not intended to limit the present application. Any modifications, equivalent substitutions, improvements, etc. made within the spirit and principles of the present application shall be included in the protection scope of the present application.

Claims

1. A method for determining carbon emission intensity, characterized in that: The method comprises: Acquire power flow data of at least two power nodes in the power system, where there is a power transmission relationship between the at least two power nodes, and the power flow data is used to characterize the amount of electric energy flow in the power transmission relationship; A power carbon flow matrix is ​​constructed based on the power flow data, wherein the power carbon flow matrix includes main diagonal elements and non-main diagonal elements, wherein the main diagonal elements corresponding to the nth power node are used to characterize the carbon emissions corresponding to the electric energy consumed by the nth power node, and the non-main diagonal elements corresponding to the nth power node are used to characterize the carbon emissions corresponding to the electric energy contributed by the input node to the nth power node, wherein the input node refers to the electric node among the at least two electric nodes that outputs electric energy to the nth power node, and n is a positive integer; Constructing a power generation carbon amount matrix, wherein the power generation carbon amount matrix includes power generation carbon amount data corresponding to the at least two power nodes respectively, wherein the power generation carbon amount data of the nth power node is used to characterize the carbon emissions corresponding to the power generation equipment connected to the nth power node; The electric power carbon flow matrix and the power generation carbon amount matrix are processed in parallel in layers to obtain the carbon emission intensities corresponding to the at least two electric power nodes respectively.

2. The method according to claim 1, characterized in that The hierarchical parallel processing of the power carbon flow matrix and the power generation carbon amount matrix to obtain the carbon emission intensities respectively corresponding to the at least two power nodes includes: hierarchically and in parallel, the electric power carbon flow matrix and the power generation carbon amount matrix are processed to determine the node carbon balance relationship corresponding to the at least two nodes respectively, wherein the node carbon balance relationship corresponding to the nth electric power node represents that the carbon emissions corresponding to the electric energy consumed by the nth electric power node and the carbon emissions corresponding to the electric energy contributed by the input node to the nth electric power node and the power generation carbon amount data of the nth electric power node are balanced; Based on the node carbon balance relationship respectively corresponding to the at least two nodes, the carbon emission intensities respectively corresponding to the at least two power nodes are determined.

3. The method according to claim 1, characterized in that The hierarchical parallel processing of the power carbon flow matrix and the power generation carbon amount matrix to obtain the carbon emission intensities respectively corresponding to the at least two power nodes includes: Layering the at least two power nodes according to the power grid topology data corresponding to the at least two power nodes to obtain C sublayers, where C is an integer greater than 1; Based on the carbon emission intensity of the power nodes included in the rth sublayer, the carbon emission intensity of the power nodes included in the r+1th sublayer is determined according to the sub-power carbon flow matrix corresponding to the r+1th sublayer in the power carbon flow matrix and the sub-power generation carbon amount matrix corresponding to the r+1th sublayer in the power generation carbon amount matrix; r is a positive integer and r≤C; After the traversal of the C sub-layers is completed, the carbon emission intensities corresponding to the at least two power nodes are obtained.

4. The method according to claim 3, characterized in that The step of stratifying the at least two power nodes according to the power grid topology data corresponding to the at least two power nodes to obtain C sub-layers includes: According to the power grid topology data corresponding to the at least two power nodes, the at least two power nodes are layered to obtain a first sublayer, a second sublayer and a third sublayer, wherein the first sublayer includes power station nodes among the at least two power nodes, the second sublayer includes transmission station nodes among the at least two power nodes, and the third sublayer includes load station nodes among the at least two power nodes; The carbon emission intensity of the power nodes included in the rth sublayer is determined based on the sub-power carbon flow matrix corresponding to the r+1th sublayer in the power carbon flow matrix and the sub-generation carbon amount matrix corresponding to the r+1th sublayer in the generation carbon amount matrix, including: Determine a first carbon emission intensity of a power plant node included in the first sublayer according to a sub-power carbon flow matrix corresponding to the first sublayer in the power carbon flow matrix and a sub-power generation carbon amount matrix corresponding to the first sublayer in the power generation carbon amount matrix; Based on the first carbon emission intensity of the power station node in the first sublayer, determine the second carbon emission intensity of the transmission station node included in the second sublayer according to the sub-power carbon flow matrix corresponding to the second sublayer in the power carbon flow matrix and the sub-power generation carbon amount matrix corresponding to the second sublayer in the power generation carbon amount matrix; Based on the second carbon emission intensity of the transmission station node in the second sublayer, the third carbon emission intensity of the power station node contained in the third sublayer is determined according to the sub-power carbon flow matrix corresponding to the third sublayer in the power carbon flow matrix and the sub-power generation carbon quantity matrix corresponding to the third sublayer in the power generation carbon quantity matrix.

5. The method according to any one of claims 1 to 4, characterized in that: The constructing of a power carbon flow matrix based on the power flow data includes: Determine the carbon emissions corresponding to the electric energy contributed by the input node to the nth power node based on the electric power flow data, wherein the carbon emissions corresponding to the electric energy contributed by the nth power node is determined by the input electric energy and the input line loss electric energy; the input electric energy refers to the electric energy output by the input node to the nth power node, and the input line loss electric energy is used to characterize the loss generated when the electric energy is transmitted from the input line to the nth power node, and the input line is used to connect the input node and the nth power node; Determine the non-main diagonal elements corresponding to the at least two power nodes respectively according to the carbon emissions corresponding to the contributed electric energies respectively corresponding to the at least two power nodes; Determine the carbon emissions corresponding to the consumed electric energy of the nth electric node based on the electric power flow data, wherein the carbon emissions corresponding to the consumed electric energy are determined by the output electric energy and the output line loss electric energy; the output line loss electric energy is used to characterize the loss generated when the electric energy is transmitted from the nth electric node to the output line; Determine the main diagonal elements corresponding to the at least two power nodes respectively according to the carbon emissions corresponding to the consumed electric energy respectively corresponding to the at least two power nodes; The electric power carbon flow matrix is ​​constructed based on the non-main diagonal elements and the main diagonal elements respectively corresponding to the at least two electric power nodes.

6. The method according to claim 5, characterized in that The determining, based on the power flow data, the carbon emissions corresponding to the consumed electric energy of the nth power node comprises: Based on the power flow data, obtaining the first electric energy output by the input node to the nth power node as the input electric energy, and obtaining the second electric energy received by the nth power node through the input line; calculating a difference between the first electric energy and the second electric energy as the input line loss electric energy; The carbon emissions corresponding to the contributed electric energy of the input node to the nth power node are determined according to the carbon emissions corresponding to the input electric energy and the carbon emissions corresponding to the input line loss electric energy.

7. The method according to claim 5, characterized in that The output electric energy includes at least one of output node electric energy and load electric energy, the output node electric energy refers to the electric energy output by the nth power node to the output node, the output node refers to the power node among the at least two power nodes that receives the electric energy transmitted by the nth power node, and the output node is connected to the nth power node through the output line; The load electric energy refers to the electric energy consumed by the electric equipment connected to the nth power node.

8. The method according to claim 7, characterized in that The output electric energy includes the output node electric energy and the load electric energy; The determining, based on the power flow data, the carbon emissions corresponding to the consumed electric energy of the nth power node comprises: Based on the power flow data, obtaining the third electric energy output by the nth power node to the output node to obtain the output node electric energy, obtaining the fourth electric energy consumed by the electric device connected to the nth power node as the load electric energy, and obtaining the fifth electric energy received by the output node through the output line; Calculating the difference between the third electric energy and the fifth electric energy to obtain the output line loss electric energy; The carbon emissions corresponding to the consumed electric energy of the nth power node are determined according to the carbon emissions corresponding to the output node electric energy, the carbon emissions corresponding to the load electric energy and the output line loss electric energy.

9. The method according to any one of claims 1 to 4, characterized in that: The construction of the power generation carbon matrix includes: Obtaining carbon emission factors and power generation corresponding to power generation equipment respectively connected to the at least two power nodes; Determining power generation carbon quantity data corresponding to the at least two power nodes respectively according to the carbon emission factor and the power generation; The power generation carbon amount matrix is ​​constructed based on the power generation carbon amount data corresponding to the at least two power nodes respectively.

10. The method according to any one of claims 1 to 4, characterized in that: After obtaining the carbon emission intensities respectively corresponding to the at least two power nodes, the method further includes: Displaying a carbon flow topology diagram based on the carbon emission intensities respectively corresponding to the at least two power nodes, wherein the carbon flow topology diagram represents a flow path of carbon between the at least two regional nodes and the carbon emission intensities respectively corresponding to the at least two regional nodes; Among them, each regional node corresponds to at least one power node among the at least two power nodes, the carbon emission intensity corresponding to the kth regional node is determined by the carbon emission intensity of at least one power node corresponding to the kth regional node, and k is a positive integer.

11. A device for determining carbon emission intensity, characterized in that: The device comprises: An acquisition module, used for acquiring power flow data of at least two power nodes in the power system, where there is a power transmission relationship between the at least two power nodes, and the power flow data is used for characterizing the amount of electric energy flow in the power transmission relationship; A construction module, used for constructing an electric carbon flow matrix based on the electric power flow data, wherein the electric carbon flow matrix includes main diagonal elements and non-main diagonal elements, wherein the main diagonal elements corresponding to the nth electric node are used to characterize the carbon emissions corresponding to the electric energy consumed by the nth electric node, and the non-main diagonal elements corresponding to the nth electric node are used to characterize the carbon emissions corresponding to the electric energy contributed by the input node to the nth electric node, wherein the input node refers to the electric node among the at least two electric nodes that outputs electric energy to the nth electric node, and n is a positive integer; The construction module is used to construct a power generation carbon amount matrix, wherein the power generation carbon amount matrix includes power generation carbon amount data corresponding to the at least two power nodes respectively, wherein the power generation carbon amount data of the nth power node is used to characterize the carbon emissions corresponding to the power generation equipment connected to the nth power node; The processing module is used to process the power carbon flow matrix and the power generation carbon amount matrix in hierarchical parallel manner to obtain the carbon emission intensities corresponding to the at least two power nodes respectively.

12. A computer device, characterized in that: The computer device includes a processor and a memory, wherein the memory stores at least one program, and the at least one program is loaded and executed by the processor to implement the method for determining carbon emission intensity as described in any one of claims 1 to 10.

13. A computer-readable storage medium, characterized in that: The storage medium stores at least one program, and the at least one program is loaded and executed by the processor to implement the method for determining carbon emission intensity as described in any one of claims 1 to 10.

14. A computer program product, characterized in that It comprises a computer program, which, when executed by a processor, implements the method for determining carbon emission intensity as claimed in any one of claims 1 to 10.

Citation Information

Patent Citations

  • Carbon strength display method and device, equipment, storage medium and program product

    CN115186028A

  • Distributed real-time carbon flow calculation method

    CN116205521A

  • Power load whole-process carbon emission calculation method and device

    CN117150172A

  • Power system carbon emission information matrix calculation method and equipment considering network loss

    CN117493749A

  • Electric power system whole-link carbon emission responsibility accounting method based on carbon emission flow

    CN118982134A