Graph calculation-based power grid carbon index calculation method, system and architecture

Through the graph-based calculation method, the power carbon index of each node and branch of the power grid is calculated, which solves the problem that the existing technology is difficult to adapt to the dynamic changes of the power grid carbon index, and realizes the accurate grasp and visual display of the power grid carbon emissions.

CN119651529APending Publication Date: 2025-03-18CHINA ELECTRIC POWER RESEARCH INSTITUTE CO LTD +3
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202311203467.1
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2023-09-18
Publication Date
2025-03-18

AI Technical Summary

Technical Problem

The existing carbon emission calculation and measurement methods are difficult to adapt to the dynamic spatiotemporal changes of the grid carbon index, especially when calculating the power carbon index of each node and branch of the grid.

Method used

The graph-based calculation method is used to calculate the power carbon index of each node and branch of the power grid through the power grid topology diagram and active current results, combined with the breadth priority search strategy.

Benefits of technology

It has achieved accurate grasp of the carbon emissions of the power grid, supported the formulation of energy-saving and emission reduction strategies, and provided a visual display of the carbon index of the power grid.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN119651529A_ABST
    Figure CN119651529A_ABST
Patent Text Reader

Abstract

The invention provides a graph calculation-based power grid carbon index calculation method, system and architecture. The graph calculation-based power grid carbon index calculation method comprises the following steps of: calculating an active power flow result of each branch of a power grid according to a Newton-Raphson method based on a power grid topological graph; calculating carbon indexes of a power supply node and a power supply output branch based on the active power flow result; and calculating the carbon index of a non-power node connected with each power node by adopting a breadth-first search strategy of graph calculation on the basis of the connection relationship between each node and each branch in the power grid topological graph in combination with an active power flow result. The method for calculating the carbon indexes of the nodes and the branches of the power grid on the basis of graph calculation is adopted, the carbon emission condition can be accurately mastered, and then an energy conservation and emission reduction strategy can be made in an auxiliary mode.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present invention relates to the field of power carbon index analysis, and in particular to a method, system and architecture for calculating a power grid carbon index based on graph calculation. Background Art

[0002] At present, ICPP (United Nations Climate Change Committee) has initially established a set of carbon emission measurement methods and carried out carbon emission accounting work on an annual basis. This approach is generally suitable for long-term carbon emission statistical analysis. Carbon emissions are usually measured in tons of carbon dioxide (tCO2). The method of calculating carbon emissions mainly involves the following two aspects:

[0003] 1. Carbon emission factor: Carbon emission factor refers to the unit carbon emissions emitted by each industry or activity. Taking different energy sources and fuel types as an example, the unit carbon emissions they emit are also different.

[0004] 2. Activity data: The collected activity data, such as fuel consumption and electricity usage per unit time, can be used to calculate carbon emissions by multiplying the collected data with the corresponding carbon emission factor.

[0005] However, for the calculation of the power grid carbon index, the carbon emissions caused by power flow require the calculation of the power carbon index of each node and branch in the corresponding power grid, and the power grid carbon index has the characteristics of dynamic temporal and spatial changes. Therefore, the existing carbon emission accounting and measurement methods are no longer applicable. Summary of the invention

[0006] The carbon emissions caused by power flow need to calculate the power carbon index of each node and branch in the corresponding power grid, and the power grid carbon index has the characteristics of dynamic temporal and spatial changes, and the existing carbon emission accounting and measurement methods are no longer applicable. The present invention proposes a power grid carbon index calculation method based on graph calculation, including:

[0007] Based on the grid topology and the parameters of each component, the active power flow results of each branch of the grid are calculated according to the Newton-Raphson method;

[0008] Calculating the power carbon index of the power supply node and the power supply output branch based on the active power flow result and the carbon emission coefficient of the power supply;

[0009] Based on the connection relationship between nodes and branches in the power grid topology diagram and the active power flow results, the breadth-first search strategy of graph computing is used to calculate the power carbon index of non-power nodes connected to each power node.

[0010] Optionally, the calculating the power carbon index of the power supply node and the power supply output branch based on the active power flow result and the carbon emission coefficient of the power supply includes:

[0011] The carbon emission coefficient of the power source is used as the node carbon potential of the power source node;

[0012] The carbon emission coefficient of the power source is taken as the branch carbon flow density of the power source output branch;

[0013] The carbon emission coefficient of the power source is multiplied by the power generation power of the power source as the branch carbon flow rate of the power source output branch;

[0014] The power carbon index includes: the node carbon potential of the power node, the branch carbon flow rate of the power output branch, and the branch carbon flow density of the power output branch;

[0015] The active power flow result includes: active power.

[0016] Optionally, the method of calculating the power carbon index of the non-power supply nodes connected to each power supply node by using a breadth-first search strategy of graph calculation based on the connection relationship between each node and branch in the power grid topology diagram and the active power flow result includes:

[0017] Starting from each power node in the power grid topology diagram, according to the connection relationship between each node and branch in the power grid topology diagram, the breadth-first search strategy of graph calculation is adopted to calculate the node carbon potential of the non-power node connected to each power node one by one;

[0018] Calculating the branch carbon flow density and branch carbon flow rate of each non-power node output branch based on the node carbon potential of the non-power node;

[0019] The electric power carbon index of the non-power node includes: the node carbon potential of the non-power node, the branch carbon flow rate of the output branch of the non-power node and the branch carbon flow density of the output branch of the non-power node.

[0020] Optionally, the node carbon potential of the non-power node is calculated as follows:

[0021] Node carbon potential of non-power node = branch carbon flow density of all input branches of non-power node*sum of branch active power / sum of branch active power of all input branches of non-power node.

[0022] Optionally, the calculating the branch carbon flow density and the branch carbon flow rate of each non-power node output branch based on the node carbon potential of the non-power node includes:

[0023] The node carbon potential of the non-power node is equal to the branch carbon flow density of the output branch of the non-power node;

[0024] The carbon flow density of the non-power node output branch multiplied by the active power of the non-power node branch is equal to the branch carbon flow rate of the non-power node output branch.

[0025] On the other hand, the present application also provides a grid carbon index calculation system based on graph calculation, comprising:

[0026] The power flow calculation module is used to calculate the active power flow results of each branch of the power grid according to the Newton-Raphson method based on the power grid topology diagram and the parameters of each component;

[0027] A first carbon index calculation module, used to calculate the power carbon index of the power supply node and the power supply output branch based on the active power flow result and the carbon emission coefficient of the power supply;

[0028] The second carbon index calculation module is used to calculate the power carbon index of non-power nodes connected to each power node based on the connection relationship between each node and branch in the power grid topology diagram and the active power flow results, using the breadth-first search strategy of graph calculation.

[0029] Optionally, the first carbon index calculation module is specifically used to:

[0030] The carbon emission coefficient of the power source is used as the node carbon potential of the power source node;

[0031] The carbon emission coefficient of the power source is taken as the branch carbon flow density of the power source output branch;

[0032] The carbon emission coefficient of the power source is multiplied by the power generation power of the power source as the branch carbon flow rate of the power source output branch;

[0033] The power carbon index includes: the node carbon potential of the power node, the branch carbon flow rate of the power output branch, and the branch carbon flow density of the power output branch;

[0034] The active power flow result includes: active power.

[0035] Optionally, the second carbon index calculation module is specifically used to:

[0036] Starting from each power node in the power grid topology diagram, according to the connection relationship between each node and branch in the power grid topology diagram, the breadth-first search strategy of graph calculation is adopted to calculate the node carbon potential of the non-power node connected to each power node one by one;

[0037] Calculating the branch carbon flow density and branch carbon flow rate of each non-power node output branch based on the node carbon potential of the non-power node;

[0038] The electric power carbon index of the non-power node includes: the node carbon potential of the non-power node, the branch carbon flow rate of the output branch of the non-power node and the branch carbon flow density of the output branch of the non-power node.

[0039] On the other hand, the present application also provides a grid carbon index calculation visualization system architecture, including:

[0040] A display framework is used to select a flying line carbon flow diagram display based on a geographic map or a tidal line carbon flow diagram display based on an SVG map based on different voltage levels of power grids;

[0041] A calculation framework for calculating the grid carbon index using graph calculation based on the grid topology and the parameters of each component;

[0042] The storage structure is used to store the connection relationship and belonging relationship between nodes, branches, and power grid carbon indexes.

[0043] Optionally, the computing framework is specifically used for:

[0044] Based on the grid topology and the parameters of each component, the active power flow results of each branch of the grid are calculated according to the Newton-Raphson method;

[0045] Calculating the power carbon index of the power supply node and the power supply output branch based on the active power flow result;

[0046] Based on the connection relationship between nodes and branches in the power grid topology diagram and the active power flow results, the breadth-first search strategy of graph computing is used to calculate the power carbon index of non-power nodes connected to each power node.

[0047] Optionally, the storage structure is specifically used for:

[0048] The node carbon potential and the node, the branch carbon flow rate and the branch carbon flow density and the branch,are stored as belonging relationships;

[0049] storing the topological connection relationship between the node and the branch as a connection relationship;

[0050] The electricity carbon index includes: node carbon potential, branch carbon flow rate and branch carbon flow density.

[0051] Optionally, the display framework is specifically used for:

[0052] When the voltage level is 35kv or above, the flying line carbon flow diagram based on the geographic map is used for display;

[0053] When the voltage level of the power grid is 10kv and below, the tidal line carbon flow diagram based on the SVG diagram is used for display.

[0054] In another aspect, the present application further provides a computing device, comprising: one or more processors;

[0055] a processor for executing one or more programs;

[0056] When the one or more programs are executed by the one or more processors, a method for calculating a power grid carbon index based on graph calculation as described above is implemented.

[0057] On the other hand, the present application also provides a computer-readable storage medium having a computer program stored thereon, and when the computer program is executed, it implements a method for calculating a power grid carbon index based on graph calculation as described above.

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

[0059] The present invention provides a method for calculating the carbon index of a power grid based on graph calculation, including: calculating the active power flow results of each branch of the power grid according to the Newton-Raphson method based on the power grid topology diagram; calculating the power carbon index of the power supply node and the power output branch based on the active power flow results; based on the connection relationship between each node and branch in the power grid topology diagram combined with the active power flow results, using the breadth-first search strategy of graph calculation to calculate the power carbon index of the non-power supply node connected to each power supply node. The present invention adopts a method for calculating the carbon index of power grid nodes and branches based on graph calculation, which can accurately grasp the carbon emission situation, and then assist in formulating energy-saving and emission reduction strategies.

[0060] The present invention provides a visualization system architecture for calculating the carbon index of a power grid, which visualizes the carbon index of the power grid and solves the problem of visualizing the electric power carbon index of power grid nodes and branches. BRIEF DESCRIPTION OF THE DRAWINGS

[0061] Figure 1 A flow chart of a method for calculating a power grid carbon index based on graph calculation according to the present invention;

[0062] Figure 2 The overall flow chart of the calculation of the grid carbon index based on graph calculation of the present invention;

[0063] Figure 3 This is a diagram of the grid carbon index calculation visualization system architecture of the present invention. DETAILED DESCRIPTION

[0064] The present invention proposes a method, system and architecture for calculating the carbon index of a power grid based on graph computing. According to the power carbon index calculation model of power grid nodes and branches, a method for calculating the carbon index of power grid nodes and branches based on graph computing and a system architecture for visualizing the carbon index calculation of power grid are proposed, which solves the problem of calculating and visualizing the power carbon index for power grid nodes and branches.

[0065] Embodiment 1:

[0066] A method for calculating the carbon index of a power grid based on graph computing, such as Figure 1 As shown, including:

[0067] S1: Calculate the active power flow results of each branch of the power grid according to the Newton-Raphson method based on the power grid topology diagram and the parameters of each component;

[0068] S2: Calculate the power carbon index of the power supply node and the power supply output branch based on the active power flow result and the carbon emission coefficient of the power supply;

[0069] S3: Based on the connection relationship between each node and branch in the power grid topology diagram and the active power flow results, the breadth-first search strategy of graph calculation is used to calculate the power carbon index of the non-power nodes connected to each power node.

[0070] The present invention relates to the power grid carbon index. The following is a detailed introduction to the power grid carbon index:

[0071] The grid carbon index refers to the carbon index related to the power flow in the grid, corresponding to the nodes and branches of the grid flow. The grid carbon index includes the node power carbon index and the branch power carbon index. The node power carbon index is mainly expressed by the node carbon potential, and the branch power carbon index is mainly expressed by the carbon flow rate and carbon flow density, which are defined as follows:

[0072] Step 1: Calculate the branch carbon flow rate.

[0073] The branch carbon flow rate refers to the carbon flow rate of the branch in a unit time, and the unit time is usually 1 hour. At the instantaneous moment, the branch carbon flow rate can be expressed as:

[0074] c j =η i P i→j (1)

[0075] In the formula, c j represents the carbon flow rate of branch j, in kg / h; η i is the node carbon potential of the active power flowing into node i from branch j, in kg / kWh, P i→j is the active power flowing from node i into branch j, in kW.

[0076] Step 2: Calculate the branch carbon flow density.

[0077] The branch carbon flow density refers to the carbon emission intensity corresponding to the unit active power flowing through the branch, which is numerically equal to the ratio of the branch carbon flow rate to the active power flowing into the branch, that is:

[0078]

[0079] In the formula, ρ j It is the branch carbon flow density of branch j, in kg / kWh.

[0080] Step 3: Calculate the nodal carbon potential.

[0081] The node carbon potential refers to the carbon emission intensity corresponding to the unit active power flowing into the node, which is numerically equal to the ratio of the sum of the carbon flow rates of each branch flowing into the node to the sum of the active power, that is:

[0082]

[0083] In the formula, c j→i represents the carbon flow rate from branch j to node i, in kg / h, i.e., the carbon flow per unit time; P j→i It represents the active power flowing into node i from branch j, in kW. represents the set of inflow branches of node i, η i It is the node carbon potential of node i, in kg / kWh.

[0084] Step 4: Calculate the relationship between the node carbon potential and the carbon flow density of its outflow branch.

[0085] According to the above definition, the node carbon potential and the branch carbon flow density have the same dimension, both kg / kWh. Moreover, from formulas (1) and (2), it can be seen that for the outflow branch of a node, its carbon flow density is completely determined by the carbon potential of the node. For different outflow branches of the node, their carbon flow densities are equal and are all the carbon potential of the node, that is, the following relationship exists:

[0086]

[0087] In the formula, Represents the set of outgoing branches of node i.

[0088] Step 5: Calculate the relationship between the node carbon potential and the carbon flow density flowing into the branch.

[0089] From formulas (2) and (3), it can be seen that the node carbon potential is numerically equal to the weighted average of the carbon flow density of all branches flowing into the node with respect to the active power flow. The two can be converted by the following formula:

[0090]

[0091] Under the relationship between the carbon potential of a node and the carbon flow density of its outflow branch, and the relationship between the carbon potential of a node and the carbon flow density of its inflow branch, the present invention proposes a method for calculating the carbon index of a power grid based on graph calculation, which specifically includes the following steps:

[0092] It can be seen from formulas (1) to (3) that the node carbon potential and the branch carbon flow rate and branch carbon flow density have a cross-coupling relationship, forming a power carbon flow diagram associated with the nodes and branches. However, it should be noted that according to the definition of node carbon potential, for a power source node, its node carbon potential is the carbon emission coefficient of the power source, and the carbon emission coefficient of the power source is determined by its power generation principle and the carbon emission coefficient of energy resources, and is a fixed value. Therefore, in the calculation of the carbon index of the power grid, we can start from the power source node, according to the power grid topology diagram, combined with the power grid active power flow diagram and the node carbon potential of the power source node, according to formulas (4) to (5), the power carbon index of the branches and nodes associated with it is obtained in turn, that is, the power carbon flow diagram is obtained. The overall process of calculating the power grid carbon index based on graph calculation is as follows: Figure 2 As shown, the specific steps are as follows.

[0093] In S1, the active power flow results of each branch of the power grid are calculated according to the Newton-Raphson method based on the power grid topology diagram and the parameters of each component, including:

[0094] Calculate the active power flow of the power grid, that is, for a given power network and power grid component parameters, calculate the active power flow results of each branch of the power network according to the Newton-Raphson method.

[0095] The calculation of the power carbon index of the power supply node and the power supply output branch based on the active power flow result and the carbon emission coefficient of the power supply in S2 includes:

[0096] The carbon emission coefficient of the power source is used as the node carbon potential of the power source node;

[0097] The carbon emission coefficient of the power source is taken as the branch carbon flow density of the power source output branch;

[0098] The carbon emission coefficient of the power source is multiplied by the power generation power of the power source as the branch carbon flow rate of the power source output branch;

[0099] The power carbon index includes: the node carbon potential of the power node, the branch carbon flow rate of the power output branch, and the branch carbon flow density of the power output branch;

[0100] The active power flow result includes: active power.

[0101] The following is a detailed introduction to calculating the electricity carbon index of power supply nodes and power supply output branches.

[0102] Traverse the set of all power nodes in the power grid topology diagram, including thermal power, hydropower, wind power, photovoltaic power generation, biomass power generation, etc., and calculate the power carbon index of each power node and its output branch in turn. The calculation of each index is as follows:

[0103] 1. The node carbon potential of the power node = the carbon emission coefficient of the power source;

[0104] 2. The branch carbon flow density of the power supply output branch = the carbon emission coefficient of the power supply;

[0105] 3. The branch carbon flow rate of the power supply output branch = the carbon emission coefficient of the power supply * the power generation power of the power supply;

[0106] In S3, based on the connection relationship between each node and branch in the power grid topology diagram and the active power flow results, the breadth-first search strategy of graph calculation is used to calculate the power carbon index of the non-power nodes connected to each power node, including:

[0107] Starting from each power node in the power grid topology diagram, according to the connection relationship between each node and branch in the power grid topology diagram, the breadth-first search strategy of graph calculation is adopted to calculate the node carbon potential of the non-power node connected to each power node one by one;

[0108] Calculating the branch carbon flow density and branch carbon flow rate of each non-power node output branch based on the node carbon potential of the non-power node;

[0109] The electric power carbon index of the non-power node includes: the node carbon potential of the non-power node, the branch carbon flow rate of the output branch of the non-power node and the branch carbon flow density of the output branch of the non-power node.

[0110] The following is a further introduction to the calculation of the electricity carbon index of non-power nodes and non-power output branches in the power grid.

[0111] Starting from each power node in the power node set, according to the connection relationship between each node and branch in the power grid topology diagram, the breadth-first search strategy of graph calculation is adopted to calculate the node carbon index of the non-power node connected to each power node one by one, and then calculate the branch carbon flow density and branch carbon flow rate of each non-power output branch. The specific calculation formula is as follows:

[0112] 1. Node carbon potential of non-power node = branch carbon flow density of all input branches of the node * sum of branch active power / sum of branch active power of all input branches of the node;

[0113] 2. The branch carbon flow density of the non-power node output branch = the node carbon potential of the node;

[0114] 3. The branch carbon flow rate of the non-power node output branch = the branch carbon flow density of the branch * the active power of the branch.

[0115] Embodiment 2:

[0116] Based on the same inventive concept, the present invention also provides a grid carbon index calculation system based on graph calculation, comprising:

[0117] The power flow calculation module is used to calculate the active power flow results of each branch of the power grid according to the Newton-Raphson method based on the power grid topology diagram and the parameters of each component;

[0118] A first carbon index calculation module, used to calculate the power carbon index of the power supply node and the power supply output branch based on the active power flow result and the carbon emission coefficient of the power supply;

[0119] The second carbon index calculation module is used to calculate the power carbon index of non-power nodes connected to each power node based on the connection relationship between each node and branch in the power grid topology diagram and the active power flow results, using the breadth-first search strategy of graph calculation.

[0120] Furthermore, the first carbon index calculation module is specifically used for:

[0121] The carbon emission coefficient of the power source is used as the node carbon potential of the power source node;

[0122] The carbon emission coefficient of the power source is taken as the branch carbon flow density of the power source output branch;

[0123] The carbon emission coefficient of the power source is multiplied by the power generation power of the power source as the branch carbon flow rate of the power source output branch;

[0124] The power carbon index includes: the node carbon potential of the power node, the branch carbon flow rate of the power output branch, and the branch carbon flow density of the power output branch;

[0125] The active power flow result includes: active power.

[0126] Furthermore, the second carbon index calculation module is specifically used for:

[0127] Starting from each power node in the power grid topology diagram, according to the connection relationship between each node and branch in the power grid topology diagram, the breadth-first search strategy of graph calculation is adopted to calculate the node carbon potential of the non-power node connected to each power node one by one;

[0128] Calculating the branch carbon flow density and branch carbon flow rate of each non-power node output branch based on the node carbon potential of the non-power node;

[0129] The electric power carbon index of the non-power node includes: the node carbon potential of the non-power node, the branch carbon flow rate of the output branch of the non-power node and the branch carbon flow density of the output branch of the non-power node.

[0130] Furthermore, the node carbon potential of the non-power node is calculated as follows:

[0131] Node carbon potential of non-power node = branch carbon flow density of all input branches of non-power node*sum of branch active power / sum of branch active power of all input branches of non-power node.

[0132] Furthermore, the specific steps of calculating the branch carbon flow density and branch carbon flow rate of each non-power node output branch based on the node carbon potential of the non-power node by the second carbon index calculation module include:

[0133] The node carbon potential of the non-power node is equal to the branch carbon flow density of the output branch of the non-power node;

[0134] The carbon flow density of the non-power node output branch multiplied by the active power of the non-power node branch is equal to the branch carbon flow rate of the non-power node output branch.

[0135] Embodiment 3:

[0136] This application also provides a grid carbon index calculation visualization system architecture, including:

[0137] Visualization framework, used to select the flying line carbon flow diagram display based on geographic map or the tidal line carbon flow diagram display based on SVG map according to different voltage level grids;

[0138] A calculation framework for calculating the grid carbon index using graph calculation based on the grid topology and the parameters of each component;

[0139] The storage structure is used to store the connection relationship and belonging relationship between nodes, branches, and power carbon indexes.

[0140] Furthermore, the computing framework is specifically used for:

[0141] Based on the grid topology and the parameters of each component, the active power flow results of each branch of the grid are calculated according to the Newton-Raphson method;

[0142] Calculating the power carbon index of the power supply node and the power supply output branch based on the active power flow result;

[0143] Based on the connection relationship between nodes and branches in the power grid topology diagram and the active power flow results, the breadth-first search strategy of graph computing is used to calculate the power carbon index of non-power nodes connected to each power node.

[0144] Furthermore, the storage structure is specifically used for:

[0145] The node carbon potential and the node, the branch carbon flow rate and the branch carbon flow density and the branch,are stored as belonging relationships;

[0146] storing the topological connection relationship between the node and the branch as a connection relationship;

[0147] The electricity carbon index includes: node carbon potential, branch carbon flow rate and branch carbon flow density.

[0148] Furthermore, the display framework is specifically used for:

[0149] When the voltage level is 35kv or above, the flying line carbon flow diagram based on the geographic map is used for display;

[0150] When the voltage level of the power grid is 10kv and below, the tidal line carbon flow diagram based on the SVG diagram is used for display.

[0151] Combine the following Figure 3 A detailed introduction to the architecture of the grid carbon index calculation and visualization system;

[0152] According to the aforementioned calculation method of the power carbon index of each node and branch of the power grid, taking into account the geographical distribution differences of power grids of different voltage levels and the user's habit and convenience requirements for human-computer interaction, a visualization system architecture for the calculation of the power grid carbon index is proposed, including the storage structure of the power grid carbon index based on the graph database, the calculation framework of the power grid carbon index based on the graph database, and the visualization framework of the power carbon index based on the flying line carbon flow diagram of the geographic map and the tidal line carbon flow diagram of the SVG map. Storage structure of the power grid carbon index based on the graph database.

[0153] According to the definition of the power grid carbon index mentioned above, the power grid carbon index mainly includes the node carbon potential of the node and the branch carbon flow rate and branch carbon flow density of the branch. Figure 3 As shown in the graph database, nodes, branches, node carbon potential, branch carbon flow rate, and branch carbon flow density are all "vertices", and the relationship between each "vertices" is "edges". In the power grid carbon index, "edges" include the following two categories:

[0154] 1. Connection relationship: The connection relationship here refers to the topological connection relationship between nodes and branches in the power grid.

[0155] 2. Belonging relationship: The node carbon potential and the node, the branch carbon flow rate and the branch carbon flow density and the branch are all belonging relationships, that is, the node carbon potential belongs to the node, and the branch carbon flow rate and the branch carbon flow density belong to the branch.

[0156] That is, in the graph database storage structure of the power grid carbon index, there are five types of "vertices", including nodes, branches, node carbon potential, branch carbon flow rate, and branch carbon flow density, as well as two types of "edges", including connection relationships and belonging relationships.

[0157] Calculation framework of power grid carbon index based on graph database.

[0158] According to the power grid carbon index calculation method and the graph database storage structure of the power grid carbon index introduced in the above embodiment, a power grid carbon index calculation framework based on the graph database is proposed, including:

[0159] 1. Power grid flow calculation based on Newton-Raphson method;

[0160] 2. Carbon index of power nodes and power output branches based on real-time flow calculation;

[0161] 3. Carbon index calculation of non-power nodes and non-power output branches based on breadth-first search strategy.

[0162] The calculation method for calculating the grid carbon index in this part of the calculation framework is the same as that in Example 1, and will not be repeated here.

[0163] Compared with the prior art, the technical effect of the present invention is: a grid carbon index calculation visualization system architecture is proposed, and according to the power carbon index calculation model of grid nodes and branches, a graph-based power carbon index calculation method for grid nodes and branches and a grid carbon index calculation visualization system architecture are proposed, which can solve the power carbon index calculation and visualization problems of grid nodes and branches, support regional power grids and distributed energy users to accurately grasp carbon emissions, assist in the formulation of energy-saving and emission reduction strategies, and are conducive to the quantitative evaluation of carbon emission reduction and energy conservation and emission reduction of enterprises.

[0164] Embodiment 4:

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

[0166] Embodiment 5:

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

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

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

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

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

[0172] The above are merely embodiments of the present invention and are not intended to limit the present invention. Any modifications, equivalent substitutions, improvements, etc. made within the spirit and principles of the present invention are included in the scope of the claims of the present invention to be approved.

Claims

1. A method for calculating the carbon index of a power grid based on graph calculation, characterized in that: include: Based on the grid topology and the parameters of each component, the active power flow results of each branch of the grid are calculated according to the Newton-Raphson method; Calculating the power carbon index of the power supply node and the power supply output branch based on the active power flow result and the carbon emission coefficient of the power supply; Based on the connection relationship between nodes and branches in the power grid topology diagram and the active power flow results, the breadth-first search strategy of graph computing is used to calculate the power carbon index of non-power nodes connected to each power node.

2. The method according to claim 1, characterized in that The calculating of the power carbon index of the power supply node and the power supply output branch based on the active power flow result and the carbon emission coefficient of the power supply includes: The carbon emission coefficient of the power source is used as the node carbon potential of the power source node; The carbon emission coefficient of the power source is taken as the branch carbon flow density of the power source output branch; The carbon emission coefficient of the power source is multiplied by the power generation power of the power source as the branch carbon flow rate of the power source output branch; The power carbon index includes: the node carbon potential of the power node, the branch carbon flow rate of the power output branch, and the branch carbon flow density of the power output branch; The active power flow result includes: active power.

3. The method according to claim 1, characterized in that The method of calculating the power carbon index of the non-power nodes connected to each power node by using the breadth-first search strategy of graph calculation based on the connection relationship between each node and branch in the power grid topology diagram and the active power flow result includes: Starting from each power node in the power grid topology diagram, according to the connection relationship between each node and branch in the power grid topology diagram, the breadth-first search strategy of graph calculation is adopted to calculate the node carbon potential of the non-power node connected to each power node one by one; Calculating the branch carbon flow density and branch carbon flow rate of each non-power node output branch based on the node carbon potential of the non-power node; The electric power carbon index of the non-power node includes: the node carbon potential of the non-power node, the branch carbon flow rate of the output branch of the non-power node and the branch carbon flow density of the output branch of the non-power node.

4. The method according to claim 3, characterized in that The node carbon potential of the non-power node is calculated as follows: Node carbon potential of non-power node = branch carbon flow density of all input branches of non-power node*sum of branch active power / sum of branch active power of all input branches of non-power node.

5. The method according to claim 3, characterized in that The calculating the branch carbon flow density and the branch carbon flow rate of each non-power node output branch based on the node carbon potential of the non-power node includes: The node carbon potential of the non-power node is equal to the branch carbon flow density of the output branch of the non-power node; The carbon flow density of the non-power node output branch multiplied by the active power of the non-power node branch is equal to the branch carbon flow rate of the non-power node output branch.

6. A grid carbon index calculation system based on graph calculation, characterized in that: include: The power flow calculation module is used to calculate the active power flow results of each branch of the power grid according to the Newton-Raphson method based on the power grid topology diagram and the parameters of each component; A first carbon index calculation module, used to calculate the power carbon index of the power supply node and the power supply output branch based on the active power flow result and the carbon emission coefficient of the power supply; The second carbon index calculation module is used to calculate the power carbon index of non-power nodes connected to each power node based on the connection relationship between each node and branch in the power grid topology diagram and the active power flow results, using the breadth-first search strategy of graph calculation.

7. The system according to claim 6, characterized in that The first carbon index calculation module is specifically used for: The carbon emission coefficient of the power source is used as the node carbon potential of the power source node; The carbon emission coefficient of the power source is taken as the branch carbon flow density of the power source output branch; The carbon emission coefficient of the power source is multiplied by the power generation power of the power source as the branch carbon flow rate of the power source output branch; The power carbon index includes: the node carbon potential of the power node, the branch carbon flow rate of the power output branch, and the branch carbon flow density of the power output branch; The active power flow result includes: active power.

8. The system according to claim 6, characterized in that The second carbon index calculation module is specifically used for: Starting from each power node in the power grid topology diagram, according to the connection relationship between each node and branch in the power grid topology diagram, the breadth-first search strategy of graph calculation is adopted to calculate the node carbon potential of the non-power node connected to each power node one by one; Calculating the branch carbon flow density and branch carbon flow rate of each non-power node output branch based on the node carbon potential of the non-power node; The electric power carbon index of the non-power node includes: the node carbon potential of the non-power node, the branch carbon flow rate of the output branch of the non-power node and the branch carbon flow density of the output branch of the non-power node.

9. A grid carbon index calculation and visualization system architecture, characterized in that: include: Visualization framework, used to select the flying line carbon flow diagram display based on geographic map or the tidal line carbon flow diagram display based on SVG map according to different voltage level grids; A calculation framework for calculating the carbon index of power grid electricity using graph calculation based on the grid topology and parameters of each component; The storage structure is used to store the connection relationship and belonging relationship between nodes, branches, and power carbon indexes.

10. The system architecture according to claim 9, characterized in that: The computing framework is specifically used for: Based on the grid topology and the parameters of each component, the active power flow results of each branch of the grid are calculated according to the Newton-Raphson method; Calculating the power carbon index of the power supply node and the power supply output branch based on the active power flow result; Based on the connection relationship between nodes and branches in the power grid topology diagram and the active power flow results, the breadth-first search strategy of graph computing is used to calculate the power carbon index of non-power nodes connected to each power node.

11. The system architecture according to claim 9, characterized in that: The storage structure is specifically used for: The node carbon potential and the node, the branch carbon flow rate and the branch carbon flow density and the branch,are stored as belonging relationships; storing the topological connection relationship between the node and the branch as a connection relationship; The electricity carbon index includes: node carbon potential, branch carbon flow rate and branch carbon flow density.

12. The system architecture according to claim 9, characterized in that: The display framework is specifically used for: When the voltage level is 35kv or above, the flying line carbon flow diagram based on the geographic map is used for display; When the voltage level of the power grid is 10kv and below, the tidal line carbon flow diagram based on the SVG diagram is used for display.

13. A computer device, characterized in that: include: one or more processors; The processor is used to store one or more programs; When the one or more programs are executed by the one or more processors, a method for calculating a power grid carbon index based on graph calculation as described in any one of claims 1 to 5 is implemented.

14. A computer-readable storage medium, characterized in that: A computer program is stored thereon, and when the computer program is executed, a method for calculating a power grid carbon index based on graph calculation as described in any one of claims 1 to 5 is implemented.