A carbon flow distribution acquisition method and device, a terminal device and a computer program product

By establishing expressions for voltage and power distribution in the AC power grid, carbon flow distribution data can be directly calculated, solving the problem that network losses and the effects of electromagnetic exchange power are not taken into account in existing methods, and achieving more accurate carbon flow distribution tracking and optimization.

CN119813159BActive Publication Date: 2026-05-22SHENZHEN UNIV
View PDF 1 Cites 0 Cited by

Patent Information

Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
SHENZHEN UNIV
Filing Date
2024-12-02
Publication Date
2026-05-22

AI Technical Summary

Technical Problem

Existing methods for determining carbon flow distribution struggle to account for the impact of network loss power and the electromagnetic exchange power between capacitive and inductive components in the power grid, resulting in inaccurate carbon flow distribution data.

Method used

By establishing the voltage-sharing expressions for the equivalent current source-driven voltage at each node in the AC power grid and the power-sharing expressions for the transmission of each branch, the total carbon flow transmitted by each branch and the total carbon flow carried by the load are calculated based on these expressions, thus directly obtaining carbon flow distribution data and avoiding the power flow tracking process.

Benefits of technology

This improves the accuracy of carbon flow distribution data acquisition, enabling more precise tracking of carbon flow distribution, optimizing carbon emission management in power systems, and promoting sustainable development.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN119813159B_ABST
    Figure CN119813159B_ABST
Patent Text Reader

Abstract

The application is suitable for the technical field of electric power engineering, and provides a carbon flow distribution obtaining method and device, terminal equipment and computer program product, wherein the method comprises the following steps: establishing a partial voltage expression of each node in an alternating current power network and a partial power expression of each branch transmission by means of the parameters and the power flow solution of the alternating current power network; establishing a total carbon flow expression of each branch transmission driven by equivalent current sources of all nodes according to the partial power expression of each branch transmission; establishing a total carbon flow expression of each load carried by equivalent current sources of all nodes according to the partial voltage expression of each node; and obtaining and outputting distribution data of corresponding total carbon flow based on the total carbon flow expression of each branch transmission and the total carbon flow expression of each load. The application can effectively improve the accuracy of carbon flow distribution data obtaining in the alternating current power network.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] This application belongs to the field of power engineering technology, and in particular relates to a method, apparatus, terminal equipment and computer program product for obtaining carbon flow distribution. Background Technology

[0002] Carbon flow distribution in an AC power grid is the flow of carbon dioxide emitted by all power generation sources per unit time, transmitted along various branches and carried by various loads, along with the transmission and use of electrical energy. It is the basis for reducing the greenhouse effect and improving the global environment.

[0003] Currently, when determining the carbon flow distribution based on the power transmitted from each power source through each branch of the power grid and the power absorbed by each load from each power source, power flow tracing is usually based on the artificial assumption of "node power sharing (also known as proportional allocation)". However, this method has certain limitations. For example, this method requires that there is no power loss in each branch of the power grid. This makes it difficult to account for the impact of network power loss and also fails to account for the impact of electromagnetic exchange power between capacitive and inductive components in the power grid. Therefore, it is urgent to develop a new method to overcome the limitations of the existing method. Summary of the Invention

[0004] In view of this, embodiments of this application provide a carbon flow distribution acquisition method, apparatus, terminal equipment, and computer program product to solve the problems of existing carbon flow distribution determination methods, which have difficulty in taking into account the influence of network loss power and the influence of electro-magnetic exchange power between capacitive and inductive elements in the power grid.

[0005] A first aspect of this application provides a method for obtaining carbon flow distribution, applied to an AC power grid, the method comprising:

[0006] Based on the acquired AC power grid parameters and power flow solutions, the voltage distribution expressions for each node and the power distribution expressions for each branch are established in the AC power grid, which are driven by the equivalent current sources of the power sources of each node.

[0007] Based on the power distribution expressions of each branch, establish an expression for the total carbon flow rate of each branch driven by the equivalent current source of the power supply of all nodes.

[0008] Based on the voltage distribution expressions of each node, establish an expression for the total carbon flow carried by each load driven by the equivalent current source of the power supply of all nodes.

[0009] Based on the expressions for the total carbon flow transmitted by each branch and the expressions for the total carbon flow carried by each load, the distribution data of the total carbon flow transmitted by each branch and the distribution data of the total carbon flow carried by each load are obtained and output.

[0010] In one embodiment, establishing the voltage-sharing expressions for each node and the power-sharing expressions for each branch, driven by the equivalent current sources of the power sources at each node in the AC power network, based on the acquired AC power network parameters and power flow solutions, includes:

[0011] Based on the current injected by the equivalent current source of the power supply at each node, establish a set of node voltage equations;

[0012] Based on the set of node voltage equations, establish the total voltage expression for each node;

[0013] Based on the total voltage expression of each node, establish the partial voltage expression of each node and the partial current expression of each branch.

[0014] Based on the total voltage expression of each node and the current expression of each branch, the power expression transmitted by each branch is established.

[0015] In one embodiment, the set of node voltage equations is:

[0016]

[0017] Where Y represents the node admittance matrix of the power grid including the load, V1 represents the total voltage of node 1; V2 represents the total voltage of node 2, V n Let I represent the total voltage at node n, I1 represent the current injected by the equivalent current source of the power source at node 1, and I2 represent the current injected by the equivalent current source of the power source at node 2. n This represents the current injected by the equivalent current source of the power source at node n, where n represents the total number of nodes in the power grid.

[0018] The expression for the total voltage of all nodes is:

[0019]

[0020] Among them, V i I represents the total voltage at node i; k Z represents the current injected by the equivalent current source of the power source at node k. ik This represents the element in the i-th row and k-th column of the inverse matrix of the nodal admittance matrix Y;

[0021] The voltage distribution expressions for each node are as follows:

[0022] V i,k =Z ik I k i,k = 1,2,…,n;

[0023] Among them, Vi,k This represents the voltage division of node i, which is driven by the equivalent current source of node k.

[0024] The expressions for the current distribution in each branch are as follows:

[0025] I ij,k =y ij (V i,k -V jk ), i,j,k=1,2,…,n;

[0026] Among them, I ij,k y represents the branch current ij driven by the equivalent current source at node k. ij V represents the admittance of branch ij. j,k This represents the voltage division of node j, which is driven by the equivalent current source of node k.

[0027] The power division expressions for each branch transmission are as follows:

[0028] P ij,k =Re[V i (I ij,k ) * ],i,j,k=1,2,…,n;

[0029] Among them, P ij,k Represents the power transmitted by branch ij driven by the equivalent current source at node k, Re represents the operator for taking the real part of the complex number, and * represents the operator for taking the conjugate value of the complex number.

[0030] In one embodiment, establishing an expression for the total carbon flow transmitted by each branch, driven by the equivalent current source of the power supply of all nodes, based on the power-sharing expression of each branch, includes:

[0031] Based on the power fraction expression of each branch transmission and the carbon emission intensity of the power supply of each node, establish the carbon fraction flow expression of each branch transmission driven by the equivalent current source of the power supply of each node.

[0032] Based on the carbon flow rate expressions for each branch, an expression for the total carbon flow rate for each branch is established.

[0033] In one embodiment, the carbon fractionation flow rate of each branch is expressed as follows:

[0034] f ij,k =P ij,k E k i,j,k = 1,2,…,n;

[0035] Among them, f ij,kP represents the carbon fraction flow transmitted in branch ij driven by the equivalent current source at node k. ij,k E represents the power component transmitted by branch ij, which is driven by the equivalent current source at node k. k is the carbon emission intensity of the power source at node k, and n represents the total number of nodes in the power grid;

[0036] The expression for the total carbon flow transmitted through each branch is:

[0037]

[0038] Among them, f ij This represents the total carbon flow transmitted through branch ij.

[0039] In one embodiment, establishing the expression for the total carbon flow carried by each load driven by the equivalent current source of the power supply of all nodes, based on the voltage distribution expression of each node, includes:

[0040] Based on the voltage distribution expressions of each node and the equivalent admittance of each load, establish the power distribution expressions absorbed by each load.

[0041] Based on the expressions for the power components absorbed by each load and the carbon emission intensity of the power source at each node, an expression for the total carbon flow carried by each load is established.

[0042] In one embodiment, the power fraction absorbed by each load is expressed as follows:

[0043] D i0,k =Re[V i (y i0 V i,k ) * ], i, k = 1, 2, ..., n;

[0044] Among them, D i0,k Re represents the partial power absorbed by the load of node i, which is driven by the equivalent current source of node k. Re represents the operator for taking the real part of the complex number, and * represents the operator for taking the conjugate value of the complex number. V i V represents the total voltage at node i. i,k y represents the voltage division of node i driven by the equivalent current source at node k. i0 This represents the equivalent admittance of the load at node i, and n represents the total number of nodes in the power grid.

[0045] The expression for the total carbon flow carried by each load is:

[0046]

[0047] Among them, f i0 D represents the total carbon flux carried by the load of node i.i0,k E represents the partial power absorbed by the load of node i, which is driven by the equivalent current source of node k. k This represents the carbon emission intensity of the power source at node k.

[0048] A second aspect of this application provides a carbon flow distribution acquisition device, applied to an AC power grid, the device comprising:

[0049] The first construction module is used to establish, based on the acquired parameters and power flow solutions of the AC power network, the voltage-sharing expressions of each node and the power-sharing expressions of each branch driven by the equivalent current source of the power source of each node in the AC power network.

[0050] The second construction module is used to establish, based on the power distribution expression of each branch, the total carbon flow expression of each branch driven by the equivalent current source of the power supply of all nodes.

[0051] The third construction module is used to establish an expression for the total carbon flow carried by each load driven by the equivalent current source of the power supply of all nodes, based on the voltage expression of each node.

[0052] The result output module is used to obtain and output the distribution data of the total carbon flow transmitted by each branch and the distribution data of the total carbon flow carried by each load, based on the expression of the total carbon flow transmitted by each branch and the expression of the total carbon flow carried by each load.

[0053] A third aspect of this application provides a terminal device including a memory, a processor, and a computer program stored in the memory and executable on the processor. When the processor executes the computer program, it implements the steps of the carbon flow distribution acquisition method as described in the first aspect of this application.

[0054] A fourth aspect of this application provides a computer program product, the computer program product including a computer program, which, when executed by a processor, implements the steps of the carbon flow distribution acquisition method as described in the first aspect of this application.

[0055] A fifth aspect of this application provides a computer-readable storage medium storing a computer program that, when executed by a processor, implements the steps of the carbon flow distribution acquisition method as described in the first aspect of this application.

[0056] The carbon flow distribution acquisition method provided in the first aspect of this application is applied to an AC power grid. Based on the acquired AC power grid parameters and power flow solutions, it establishes expressions for the voltage distribution of each node driven by the equivalent current source of each node's power supply and the power distribution of each branch in the AC power grid. Based on the power distribution expressions of each branch, it establishes an expression for the total carbon flow transmitted by each branch driven by the equivalent current source of all nodes' power supply. Based on the voltage distribution expressions of each node, it establishes an expression for the total carbon flow carried by each load driven by the equivalent current source of all nodes' power supply. Based on the expressions for the total carbon flow transmitted by each branch and the expressions for the total carbon flow carried by each load, it obtains and outputs the distribution data of the total carbon flow transmitted by each branch and the distribution data of the total carbon flow carried by each load. This method effectively solves the problems of existing carbon flow distribution determination methods, such as difficulty in incorporating the influence of network loss power and inability to incorporate the influence of electro-magnetic exchange power between capacitive and inductive components in the power grid, thus improving the accuracy of carbon flow distribution data acquisition in AC power grids.

[0057] It is understood that the beneficial effects of the second to fifth aspects mentioned above can be found in the relevant descriptions in the first aspect mentioned above, and will not be repeated here. Attached Figure Description

[0058] To more clearly illustrate the technical solutions in the embodiments of this application, the drawings used in the description of the embodiments or the prior art will be briefly introduced below. Obviously, the drawings described below are only some embodiments of this application. For those skilled in the art, other drawings can be obtained based on these drawings without creative effort.

[0059] Figure 1 This is a schematic diagram of the first process of the carbon flow distribution acquisition method provided in the embodiments of this application;

[0060] Figure 2 This is a schematic diagram of the structure of an AC power grid provided in an embodiment of this application;

[0061] Figure 3 This is a schematic diagram of the second process of the carbon flow distribution acquisition method provided in the embodiments of this application;

[0062] Figure 4 This is a schematic diagram of the third process of the carbon flow distribution acquisition method provided in the embodiments of this application;

[0063] Figure 5 This is a schematic diagram of the fourth process of the carbon flow distribution acquisition method provided in the embodiments of this application;

[0064] Figure 6 This is a schematic diagram of the carbon flow distribution acquisition device provided in the embodiments of this application;

[0065] Figure 7 This is a schematic diagram of the structure of the terminal device provided in the embodiments of this application. Detailed Implementation

[0066] In the following description, specific details such as particular system architectures and techniques are set forth for illustrative purposes and not for limitation, in order to provide a thorough understanding of the embodiments of this application. However, those skilled in the art will understand that this application may also be implemented in other embodiments without these specific details. In other instances, detailed descriptions of well-known systems, apparatuses, circuits, and methods have been omitted so as not to obscure the description of this application with unnecessary detail.

[0067] It should also be understood that the term “and / or” as used in this application specification and the appended claims means any combination of one or more of the associated listed items and all possible combinations, and includes such combinations.

[0068] Furthermore, in the description of this application and the appended claims, the terms "first," "second," "third," etc., are used only to distinguish descriptions and should not be construed as indicating or implying relative importance.

[0069] References to "one embodiment" or "some embodiments" as described in this specification mean that one or more embodiments of this application include a specific feature, structure, or characteristic described in connection with that embodiment. Therefore, the phrases "in one embodiment," "in some embodiments," "in other embodiments," "in still other embodiments," etc., appearing in different parts of this specification do not necessarily refer to the same embodiment, but rather mean "one or more, but not all, embodiments," unless otherwise specifically emphasized. The terms "comprising," "including," "having," and variations thereof mean "including but not limited to," unless otherwise specifically emphasized. "A plurality of" means "two" or "more than two."

[0070] Carbon flow distribution in an AC power grid is the flow of carbon dioxide emitted by all power generation sources per unit time, transmitted along various branches and carried by various loads, along with the transmission and use of electrical energy. It is the basis for reducing the greenhouse effect and improving the global environment.

[0071] Currently, when determining the carbon flow distribution based on the power transmitted from each power source through each branch of the power grid and the power absorbed by each load from each power source, power flow tracing is usually based on the artificial assumption of "node power sharing (also known as proportional allocation)". However, this method has certain limitations. For example, this method requires that there is no power loss in each branch of the power grid. This makes it difficult to account for the impact of network power loss and also fails to account for the impact of electromagnetic exchange power between capacitive and inductive components in the power grid. Therefore, it is urgent to develop a new method to overcome the limitations of the existing method.

[0072] This application provides a method for obtaining carbon flow distribution, applied to an AC power grid. Based on the acquired AC power grid parameters and power flow solutions, it establishes expressions for the voltage distribution of each node driven by the equivalent current source of each node's power supply and the power distribution of each branch. Based on the power distribution expressions of each branch, it establishes an expression for the total carbon flow transmitted through each branch driven by the equivalent current source of all nodes' power supply. Based on the voltage distribution expressions of each node, it establishes an expression for the total carbon flow carried by each load driven by the equivalent current source of all nodes' power supply. Based on the expressions for the total carbon flow transmitted through each branch and the total carbon flow carried by each load, it obtains and outputs the distribution data of the total carbon flow transmitted through each branch and the total carbon flow carried by each load. This method effectively solves the problems of existing carbon flow distribution determination methods, such as difficulty in incorporating the influence of network loss power and the inability to incorporate the influence of electro-magnetic exchange power between capacitive and inductive components in the power grid, thus improving the accuracy of carbon flow distribution data acquisition in AC power grids.

[0073] Example 1

[0074] like Figure 1 As shown, the carbon flow distribution acquisition method provided in this application embodiment is applied to an AC power grid and includes the following steps S1 to S4:

[0075] Step S1: Based on the acquired AC power grid parameters and power flow solutions, establish the voltage distribution expressions for each node and the power distribution expressions for each branch in the AC power grid, which are driven by the equivalent current sources of the power sources of each node. Proceed to step S2.

[0076] In applications, the structure of an AC power grid is as follows: Figure 2 As shown, the meaning of each parameter is explained in the relevant content below. The obtained AC power grid parameters and power flow solutions include, but are not limited to, the node admittance matrix, the total number of nodes, the carbon emission intensity of the power source at each node, and the load absorption power at each node.

[0077] In applications, when obtaining parameters and power flow solutions for AC power grids, it is also possible to first obtain the node number, the starting node, ending node, branch type, node parameters (including but not limited to the rated power, maximum / minimum active power, maximum / minimum reactive power, voltage range, active load, reactive load, etc. of the node power source), branch parameters (including but not limited to the resistance, reactance, susceptance, etc. of the transmission line), initial node voltage, initial branch current, and other parameters.

[0078] Then, using power flow solving methods such as the Newton-Raphson Method, FastDecoupled Load Flow (FDLF), and Gauss-Seidel Method, the parameters such as the voltage of each node, the power of each branch, and the current of each branch are solved. Finally, the solved data can be used to establish the voltage distribution expressions for each node and the power distribution expressions for each branch in the AC power grid driven by the equivalent current sources of the power sources of each node.

[0079] In one embodiment, such as Figure 3 As shown, step S1 specifically includes the following steps S11 to S14:

[0080] Step S11: Based on the current injected by the equivalent current source of the power supply of each node, establish a set of node voltage equations, and proceed to step S12.

[0081] In applications, based on the obtained AC power grid parameters and power flow solutions, and the current injected by the equivalent current sources of the power sources at each node, a set of node voltage equations can be established according to Kirchhoff's Current Law (KCL), which states that at any given time, the sum of the currents flowing into a node is equal to the sum of the currents flowing out of that node.

[0082] In one embodiment, the set of node voltage equations is:

[0083]

[0084] Where Y represents the nodal admittance matrix of the power grid including load, which is a known parameter of the AC power grid; V1 represents the total voltage of node 1; V2 represents the total voltage of node 2; V n Let In represent the total voltage at node n, and I1 represent the current injected by the equivalent current source of the power source at node 1. I1 is equal to the conjugate of the quotient of the power injected by the power source at node 1 in the corresponding power flow solution and the voltage at node 1 in the corresponding power flow solution. I2 represents the current injected by the equivalent current source of the power source at node 2. I2 is equal to the conjugate of the quotient of the power injected by the power source at node 2 in the corresponding power flow solution and the voltage at node 2 in the corresponding power flow solution.n The current injected by the equivalent current source of the power source at node n is equal to the conjugate of the quotient of the power injected by the power source at node n in the corresponding power flow solution and the voltage at node n in the corresponding power flow solution. When a node has no power source, the current injected by the equivalent current source of the power source at that node is zero. n represents the total number of nodes in the power grid and is a known parameter of the AC power grid.

[0085] Step S12: Based on the set of node voltage equations, establish the total voltage expression for each node, and proceed to step S13.

[0086] In application, after obtaining the nodal voltage equations through step S11, the total voltage expression for each node can be established using the solution method for linear algebraic equations.

[0087] In one embodiment, the total voltage expression for all nodes is:

[0088]

[0089] Among them, V i I represents the total voltage at node i. k Z represents the equivalent current injected by the power source at node k, which is equal to the conjugate of the quotient of the power injected by the power source at node k in the corresponding power flow solution and the voltage at node k in the corresponding power flow solution. ik This represents the element in the i-th row and k-th column of the inverse matrix of the nodal admittance matrix Y.

[0090] Step S13: Based on the total voltage expression of each node, establish the partial voltage expression of each node and the partial current expression of each branch, and proceed to step S14.

[0091] In the application, after obtaining the total voltage expression of each node through step S12, the voltage-part expressions of each node driven by the equivalent current source of the power supply of each node and the current-part expressions of each branch driven by the equivalent current source of the power supply of each node can be established according to the superposition theorem (that is, in a linear circuit, if there are multiple independent sources (voltage source and current source), then the voltage or current of any branch can be regarded as the algebraic sum of the voltage or current generated on the same branch when each independent source acts alone) and Ohm's law (that is, in a linear resistive circuit, the current through the resistor is proportional to the voltage across the resistor, and the proportionality constant is the resistance).

[0092] In one embodiment, the voltage distribution expression for each node is:

[0093] V i,k =Z ik I k i,k = 1,2,…,n;

[0094] Among them, V i,k This represents the voltage division of node i, which is driven by the equivalent current source of node k.

[0095] The expressions for the current distribution in each branch are as follows:

[0096] I ij,k =y ij (V i,k -V jk ), i,j,k=1,2,…,n;

[0097] Among them, I ij,k y represents the branch current ij driven by the equivalent current source at node k; ij V represents the admittance of branch ij. j,k This represents the voltage division of node j, which is driven by the equivalent current source of node k.

[0098] Step S14: Based on the total voltage expression of each node and the current expression of each branch, establish the power expression of each branch.

[0099] In the application, after obtaining the total voltage expression of each node through step S12 and the partial current expression of each branch driven by the equivalent current source of the power supply of each node through step S13, the partial power expression of each branch driven by the equivalent current source of the power supply of each node is established.

[0100] In one embodiment, the power division expression for each branch transmission is:

[0101] P ij,k =Re[V i (I ij,k ) * ],i,j,k=1,2,…,n;

[0102] Among them, P ij,k Represents the power transmitted by branch ij driven by the equivalent current source at node k, Re represents the operator for taking the real part of the complex number, and * represents the operator for taking the conjugate value of the complex number.

[0103] Step S2: Based on the power distribution expression of each branch, establish the total carbon flow expression of each branch driven by the equivalent current source of the power supply of all nodes, and proceed to step S3.

[0104] In application, based on the power fraction expression of each branch driven by the equivalent current source of each node's power source obtained in step S1 and the known carbon emission intensity of each node's power source, an expression for the total carbon flow transmitted by each branch driven by the equivalent current source of all nodes' power sources can be established. Then, the distribution data of the total carbon flow transmitted by each branch can be calculated through the expression for the total carbon flow transmitted by each branch. This is helpful for staff to understand the carbon emission situation of the AC power grid, assess the carbon footprint of the AC power grid, and provide a basis for setting emission reduction targets.

[0105] In one embodiment, such as Figure 4 As shown, step S2 specifically includes the following steps S21 to S22:

[0106] Step S21: Based on the power distribution expression of each branch and the carbon emission intensity of the power supply of each node, establish the carbon flow expression of each branch driven by the equivalent current source of the power supply of each node.

[0107] Step S22: Based on the carbon flow rate expressions of each branch, establish the total carbon flow rate expression of each branch.

[0108] In application, when establishing the expression for the total carbon flow transmitted through each branch, it is necessary to first establish the expression for the partial carbon flow transmitted through each branch driven by the equivalent current source of the power supply of each node and the carbon emission intensity of the power supply of each node, based on the expression for the partial carbon flow transmitted through each branch driven by the equivalent current source of the power supply of each node; then, based on the established expression for the partial carbon flow transmitted through each branch driven by the equivalent current source of the power supply of each node, the expression for the total carbon flow transmitted through each branch driven by the equivalent current source of the power supply of all nodes is established.

[0109] In one embodiment, the carbon fractionation flow rate of each branch is expressed as follows:

[0110] f ij,k =P ij,k E k i,j,k = 1,2,…,n;

[0111] Among them, f ij,k P represents the carbon fraction flow transmitted in branch ij driven by the equivalent current source at node k. ij,k E represents the power component transmitted by branch ij, which is driven by the equivalent current source at node k. k is the carbon emission intensity of the power source at node k, is the carbon emission per unit of electricity generated, is a known parameter of the AC power grid, and n represents the total number of nodes in the power grid.

[0112] The expression for the total carbon flow transmitted through each branch is:

[0113]

[0114] Among them, f ij f represents the total carbon flux transmitted by branch ij. ij,k This represents the carbon fraction flow transmitted by branch ij, which is driven by the equivalent current source at node k.

[0115] Step S3: Based on the voltage distribution expressions of each node, establish the total carbon flow expression of each load driven by the equivalent current source of the power supply of all nodes, and proceed to step S4.

[0116] In application, based on the voltage distribution expressions of each node driven by the equivalent current source of each node's power source obtained in step S1, as well as the known carbon emission intensity of each node's power source and the equivalent admittance of each load, an expression for the total carbon flow carried by each load driven by the equivalent current source of all nodes' power sources can be established. Then, the distribution data of the total carbon flow carried by each load can be calculated through the expression for the total carbon flow carried by each load. This is beneficial for staff to optimize the power grid dispatch strategy, prioritize the dispatch of low-carbon power sources, and reduce the use of high-carbon emission power sources.

[0117] In one embodiment, such as Figure 5 As shown, step S3 includes the following steps S31 to S32:

[0118] Based on the voltage distribution expressions of each node and the equivalent admittance of each load, establish the power distribution expressions absorbed by each load.

[0119] Based on the expressions for the power components absorbed by each load and the carbon emission intensity of the power source at each node, an expression for the total carbon flow carried by each load is established.

[0120] In application, when establishing the expression for the total carbon flow carried by each load, it is necessary to first establish the expression for the partial power absorbed by each load driven by the equivalent current source of the power source of each node, based on the expression for the partial voltage of each node driven by the equivalent current source of the power source of each node and the equivalent admittance of each load; then, based on the expression for the partial power absorbed by each load driven by the equivalent current source of the power source of each node and the carbon emission intensity of the power source of each node, establish the expression for the total carbon flow carried by each load driven by the equivalent current source of the power source of all nodes.

[0121] In one embodiment, the power fraction absorbed by each load is expressed as follows:

[0122] D i0,k =Re[V i (y i0 V i,k) * ], i, k = 1, 2, ..., n;

[0123] Among them, D i0,k Re represents the partial power absorbed by the load of node i, which is driven by the equivalent current source of node k. Re represents the operator for taking the real part of the complex number, and * represents the operator for taking the conjugate value of the complex number. V i V represents the total voltage at node i. i,k y represents the partial voltage of node i driven by the equivalent current source of node k. o0 Let y represent the equivalent admittance of the load at node i. It is equal to the quotient of the conjugate complex number of the load absorbed by node i and the square of the voltage magnitude of node i in the corresponding power flow solution. The load absorbed by node i is a known parameter of the AC power grid. When node i has no load, y i0 The value is zero, where n represents the total number of nodes in the power grid;

[0124] The expression for the total carbon flow carried by each load is:

[0125]

[0126] Among them, f i0 D represents the total carbon flux carried by the load of node i. i0,k E represents the partial power absorbed by the load of node i, which is driven by the equivalent current source of node k. k The carbon emission intensity of the power source at node k is the amount of carbon emissions generated per unit of electricity produced, and is a known parameter of the AC power grid.

[0127] Step S4: Based on the total carbon flow expression of each branch and the total carbon flow expression of each load, obtain the distribution data of the total carbon flow of each branch and the distribution data of the total carbon flow of each load, and output them.

[0128] In application, based on the expression for the total carbon flow transmitted by each branch driven by the equivalent current source of the power supply of all nodes, the distribution data of the total carbon flow transmitted by each branch can be calculated; based on the expression for the total carbon flow carried by each load driven by the equivalent current source of the power supply of all nodes, the distribution data of the total carbon flow carried by each load can be calculated. As needed, the distribution data of the total carbon flow transmitted by each branch and the distribution data of the total carbon flow carried by each load can be output to the user terminal for the user to view and analyze.

[0129] In the application, the user end can be a mobile phone, tablet, wearable device, augmented reality (AR) / virtual reality (VR) device, laptop, ultra-mobile personal computer (UMPC), netbook, personal digital assistant (PDA) and other devices.

[0130] The carbon flow distribution acquisition method provided in this application embodiment is based on the equivalent current source of each node's power supply. Because it establishes the voltage distribution expression of each node, the current distribution expression of each branch, and the power distribution expression transmitted by each branch, driven by the equivalent current source of each node's power supply, it directly realizes the acquisition of the power distribution transmitted from each power source in each branch of the power grid and the power distribution absorbed from each power source by each load. This avoids power flow tracking and solves the problems of existing carbon flow distribution acquisition methods in AC power grids, which not only have difficulty in taking into account the influence of network loss power, but also cannot take into account the influence of electro-magnetic exchange power between capacitive and inductive components in the power grid.

[0131] Based on the carbon flow distribution acquisition method provided in the embodiments of this application, more accurate and comprehensive carbon flow distribution tracking can be achieved, thereby optimizing the carbon emission management of the power system and promoting sustainable development.

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

[0133] Example 2

[0134] This application also provides a carbon flow distribution acquisition device, applied to an AC power grid, for executing the method steps described in the above-described carbon flow distribution acquisition method embodiments. This device can be a virtual appliance within a terminal device, run by the terminal device's processor, or it can be the terminal device itself.

[0135] like Figure 6 As shown, the carbon flow distribution acquisition device 100 provided in this application embodiment includes a first construction module 101, a second construction module 102, a third construction module 103, and a result output module 104.

[0136] The first construction module 101 is used to establish, based on the acquired parameters and power flow solutions of the AC power grid, the voltage distribution expressions of each node and the power distribution expressions of each branch driven by the equivalent current source of the power supply of each node in the AC power grid.

[0137] The second construction module 102 is used to establish, based on the power distribution expression of each branch, the total carbon flow expression of each branch driven by the equivalent current source of the power supply of all nodes.

[0138] The third construction module 103 is used to establish, based on the voltage distribution expression of each node, the total carbon flow expression carried by each load driven by the equivalent current source of the power supply of all nodes.

[0139] The result output module 104 is used to obtain and output the distribution data of the total carbon flow transmitted by each branch and the distribution data of the total carbon flow carried by each load based on the expression of the total carbon flow transmitted by each branch and the expression of the total carbon flow carried by each load.

[0140] In one embodiment, the first building module 101 is further configured to:

[0141] Based on the current injected by the equivalent current source of the power supply at each node, establish a set of node voltage equations;

[0142] Based on the set of node voltage equations, establish the total voltage expression for each node;

[0143] Based on the total voltage expression of each node, establish the partial voltage expression of each node and the partial current expression of each branch.

[0144] Based on the total voltage expression of each node and the current expression of each branch, the power expression transmitted by each branch is established.

[0145] In one embodiment, the set of node voltage equations is:

[0146]

[0147] Where Y represents the node admittance matrix of the power grid including the load, V1 represents the total voltage of node 1; V2 represents the total voltage of node 2, V n Let I represent the total voltage at node n, I1 represent the current injected by the equivalent current source of the power source at node 1, and I2 represent the current injected by the equivalent current source of the power source at node 2. n This represents the current injected by the equivalent current source of the power source at node n, where n represents the total number of nodes in the power grid.

[0148] The expression for the total voltage of all nodes is:

[0149]

[0150] Among them, V i I represents the total voltage at node i; k Z represents the current injected by the equivalent current source of the power source at node k. ik This represents the element in the i-th row and k-th column of the inverse matrix of the nodal admittance matrix Y;

[0151] The voltage distribution expressions for each node are as follows:

[0152] V i,k =Z ik I k i,k = 1,2,…,n;

[0153] Among them, V i,k This represents the voltage division of node i, which is driven by the equivalent current source of node k.

[0154] The expressions for the current distribution in each branch are as follows:

[0155] I ij,k =y ij (V i,k -V jk ), i,j,k=1,2,…,n;

[0156] Among them, I ij,k y represents the branch current ij driven by the equivalent current source at node k. ij V represents the admittance of branch ij. j,k This represents the voltage division of node j, which is driven by the equivalent current source of node k.

[0157] The power division expressions for each branch transmission are as follows:

[0158] P ij,k =Re[V i (I ij,k ) * ],i,j,k=1,2,…,n;

[0159] Among them, P ij,k Represents the power transmitted by branch ij driven by the equivalent current source at node k, Re represents the operator for taking the real part of the complex number, and * represents the operator for taking the conjugate value of the complex number.

[0160] In one embodiment, the second building module 102 is further configured to:

[0161] Based on the power fraction expression of each branch transmission and the carbon emission intensity of the power supply of each node, establish the carbon fraction flow expression of each branch transmission driven by the equivalent current source of the power supply of each node.

[0162] Based on the carbon flow rate expressions for each branch, an expression for the total carbon flow rate for each branch is established.

[0163] In one embodiment, the carbon fractionation flow rate of each branch is expressed as follows:

[0164] f ij,k =P ij,k E k i,j,k = 1,2,…,n;

[0165] Among them, f ij,k P represents the carbon fraction flow transmitted in branch ij driven by the equivalent current source at node k. ij,k E represents the power component transmitted by branch ij, which is driven by the equivalent current source at node k. k is the carbon emission intensity of the power source at node k, and n represents the total number of nodes in the power grid;

[0166] The expression for the total carbon flow transmitted through each branch is:

[0167]

[0168] Among them, f ij This represents the total carbon flow transmitted through branch ij.

[0169] In one embodiment, the third building module 103 is further configured to:

[0170] Based on the voltage distribution expressions of each node and the equivalent admittance of each load, establish the power distribution expressions absorbed by each load.

[0171] Based on the expressions for the power components absorbed by each load and the carbon emission intensity of the power source at each node, an expression for the total carbon flow carried by each load is established.

[0172] In one embodiment, the power fraction absorbed by each load is expressed as follows:

[0173] D i0,k =Re[V i (y i0 V i,k ) * ], i, k = 1, 2, ..., n;

[0174] Among them, D i0,kRe represents the partial power absorbed by the load of node i, which is driven by the equivalent current source of node k. Re represents the operator for taking the real part of the complex number, and * represents the operator for taking the conjugate value of the complex number. V i V represents the total voltage at node i. i,k y represents the voltage division of node i driven by the equivalent current source at node k. i0 This represents the equivalent admittance of the load at node i, and n represents the total number of nodes in the power grid.

[0175] The expression for the total carbon flow carried by each load is:

[0176]

[0177] Among them, f i0 D represents the total carbon flux carried by the load of node i. i0,k E represents the partial power absorbed by the load of node i, which is driven by the equivalent current source of node k. k This represents the carbon emission intensity of the power source at node k.

[0178] In applications, each unit in the above-mentioned device can be a software program module, or it can be implemented by different logic circuits integrated in the processor or by independent physical components connected to the processor, or it can be implemented by multiple distributed processors.

[0179] Example 3

[0180] like Figure 7 As shown, this application embodiment also provides a terminal device 200, including: at least one processor 201 ( Figure 7 The diagram shows only one processor), memory 202, and a computer program 203 stored in memory 202 that can run on at least one processor 201. When processor 201 executes computer program 203, it implements the steps in the various method embodiments described above.

[0181] In applications, terminal devices may include, but are not limited to, processors and memory. Figure 7 This is merely an example of a terminal device and does not constitute a limitation on the terminal device. It may include more or fewer components than shown in the figure, or a combination of certain components, or different components. For example, human-computer interaction devices, input / output devices, network access devices, etc. The network access device may include a communication module for communication between the terminal device and the user terminal.

[0182] In applications, the processor can be a Central Processing Unit (CPU), but it can also be other general-purpose processors, digital signal processors (DSPs), application-specific integrated circuits (ASICs), field-programmable gate arrays (FPGAs), or other programmable logic devices, discrete gate or transistor logic devices, discrete hardware components, etc. For example, the processor can be a timing controller (TCON). A general-purpose processor can be a microprocessor or any conventional processor.

[0183] In applications, the memory may be an internal storage unit of the terminal device in some embodiments, such as a hard drive or RAM. In other embodiments, the memory may be an external storage device of the terminal device, such as a plug-in hard drive, smart media card (SMC), secure digital card (SD), flash card, etc. The memory may also include both internal and external storage units of the terminal device. The memory is used to store the operating system, applications, boot loader, data, and other programs, such as program code for computer programs. The memory can also be used to temporarily store data that has been output or will be output.

[0184] It should be noted that the information interaction and execution process between the above-mentioned devices / modules are based on the same concept as the method embodiments of this application. For details on their specific functions and technical effects, please refer to the method embodiments section, and they will not be repeated here.

[0185] Those skilled in the art will understand that, for the sake of convenience and brevity, the above-described division of functional modules is merely an example. In practical applications, the functions described above can be assigned to different functional modules as needed, that is, the internal structure of the device can be divided into different functional modules to complete all or part of the functions described above. The functional modules in the embodiments can be integrated into one processing module, or each module can exist physically separately, or two or more modules can be integrated into one module. The integrated modules can be implemented in hardware or as software functional modules. Furthermore, the specific names of the functional modules are only for easy differentiation and are not intended to limit the scope of protection of this application. The specific working process of the modules in the above system can be referred to the corresponding process in the foregoing method embodiments, and will not be repeated here.

[0186] This application also provides a computer-readable storage medium storing a computer program, which, when executed by a processor, can implement the steps in the above-described method embodiments.

[0187] This application provides a computer program product that, when run on a terminal device, enables the terminal device to implement the steps described in the various method embodiments above.

[0188] If the integrated module is implemented as a software functional module and sold or used as an independent product, it can be stored in a computer-readable storage medium. Based on this understanding, all or part of the processes in the methods of the above embodiments can be implemented by a computer program instructing related hardware. The computer program can be stored in a computer-readable storage medium, and when executed by a processor, it can implement the steps of the various method embodiments described above. The computer program includes computer program code, which can be in the form of source code, object code, executable files, or certain intermediate forms. The computer-readable medium can include at least: any entity or device capable of carrying the computer program code to a terminal device, a recording medium, a computer memory, a read-only memory (ROM), a random access memory (RAM), an electrical carrier signal, a telecommunication signal, and a software distribution medium, such as a USB flash drive, a portable hard drive, a magnetic disk, or an optical disk.

[0189] In the above embodiments, the descriptions of each embodiment have different focuses. For parts that are not described in detail or recorded in a certain embodiment, please refer to the relevant descriptions of other embodiments.

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

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

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

[0193] The above-described embodiments are only used to illustrate the technical solutions of this application, and are not intended to limit them. Although this application has been described in detail with reference to the foregoing embodiments, those skilled in the art should understand that modifications can still be made to the technical solutions described in the foregoing embodiments, or equivalent substitutions can be made to some of the technical features. Such modifications or substitutions do not cause the essence of the corresponding technical solutions to deviate from the spirit and scope of the technical solutions of the embodiments of this application, and should all be included within the protection scope of this application.

Claims

1. A method for obtaining carbon flow distribution, characterized in that, Applied to AC power grids, the method includes: Based on the acquired AC power grid parameters and power flow solutions, the voltage distribution expressions for each node and the power distribution expressions for each branch are established in the AC power grid, which are driven by the equivalent current sources of the power sources of each node. Based on the power distribution expressions of each branch, establish an expression for the total carbon flow rate of each branch driven by the equivalent current source of the power supply of all nodes. Based on the voltage distribution expressions of each node, establish an expression for the total carbon flow carried by each load driven by the equivalent current source of the power supply of all nodes. Based on the total carbon flow expressions of each branch and the total carbon flow expressions of each load, the distribution data of the total carbon flow transmitted by each branch and the distribution data of the total carbon flow carried by each load are obtained and output. Based on the acquired parameters and power flow solutions of the AC power network, the following expressions are established for the voltage distribution of each node and the power distribution transmitted in each branch of the AC power network, driven by the equivalent current sources of the power sources at each node: Based on the current injected by the equivalent current source of the power supply at each node, establish a set of node voltage equations; Based on the set of node voltage equations, establish the total voltage expression for each node; Based on the total voltage expression of each node, establish the partial voltage expression of each node and the partial current expression of each branch. Based on the total voltage expression of each node and the current expression of each branch, establish the power expression of each branch. The set of nodal voltage equations is as follows: ; in, This represents the nodal admittance matrix of the power grid that includes load. This represents the total voltage at node 1; This represents the total voltage at node 2. Represents a node Total voltage, Represents a node The current injected by the equivalent current source of the power supply. This represents the current injected by the equivalent current source of the power supply at node 2. Represents a node The current injected by the equivalent current source of the power supply. This indicates the total number of nodes in the power grid; The expression for the total voltage of all nodes is: in, Represents a node Total voltage; Represents a node The current injected by the equivalent current source of the power supply. Represents the nodal admittance matrix The inverse matrix of the first Line number Column elements; The voltage distribution expressions for each node are as follows: ; in, Indicates the node The node driven by the equivalent current source The voltage of the component; The expressions for the current distribution in each branch are as follows: ; in, Indicates the node Branches driven by equivalent current sources The partial current, Indicates a branch Admittance, Indicates the node The node driven by the equivalent current source The voltage of the component; The power division expressions for each branch transmission are as follows: in, Indicates the node Branches driven by equivalent current sources Power division of transmission, The operator represents the real part of a complex number, and the * operator represents the conjugate of a complex number.

2. The method for obtaining carbon flow distribution as described in claim 1, characterized in that, The step of establishing an expression for the total carbon flow transmitted through each branch, driven by the equivalent current source of the power supply of all nodes, based on the power-sharing expression of each branch, includes: Based on the power fraction expression of each branch transmission and the carbon emission intensity of the power supply of each node, establish the carbon fraction flow expression of each branch transmission driven by the equivalent current source of the power supply of each node. Based on the carbon flow rate expressions for each branch, an expression for the total carbon flow rate for each branch is established.

3. The method for obtaining carbon flow distribution as described in claim 2, characterized in that, The expression for the carbon fractionation flow rate transmitted by each branch is as follows: ; in, Indicates the node Branches driven by equivalent current sources Transmitted carbon fractionation flow rate Indicates the node Branches driven by equivalent current sources Power division of transmission, It is a node The carbon emission intensity of the power source, This indicates the total number of nodes in the power grid; The expression for the total carbon flow transmitted through each branch is: in, Indicates a branch Total carbon flow transmitted.

4. The method for obtaining carbon flow distribution as described in any one of claims 1 to 3, characterized in that, The step of establishing an expression for the total carbon flow carried by each load, driven by the equivalent current source of the power supply of all nodes, based on the voltage distribution expressions of each node includes: Based on the voltage distribution expressions of each node and the equivalent admittance of each load, establish the power distribution expressions absorbed by each load. Based on the expressions for the power components absorbed by each load and the carbon emission intensity of the power source at each node, an expression for the total carbon flow carried by each load is established.

5. The method for obtaining carbon flow distribution as described in claim 4, characterized in that, The expressions for the power components absorbed by each load are as follows: ; in, Indicates the node The node driven by the equivalent current source The load absorbs the partial power. The operator represents the real part of a complex number, and the asterisk (*) represents the conjugate of a complex number. Represents a node Total voltage, Indicates the node The node driven by the equivalent current source The voltage of the division, Represents a node The equivalent admittance of the load, This indicates the total number of nodes in the power grid; The expression for the total carbon flow carried by each load is: in, Represents a node The total carbon flow carried by the load, Indicates the node The node driven by the equivalent current source The load absorbs the partial power. Represents a node The carbon emission intensity of the power source.

6. A carbon flow distribution acquisition device, characterized in that, The device, applied to an AC power grid, includes: The first construction module is used to establish, based on the acquired parameters and power flow solutions of the AC power network, the voltage-sharing expressions for each node driven by the equivalent current sources of the power sources at each node, and the power-sharing expressions for each branch; to establish a set of node voltage equations based on the current injected by the equivalent current sources of the power sources at each node; to establish the total voltage expression for each node based on the set of node voltage equations; to establish the voltage-sharing expressions for each node and the current-sharing expressions for each branch based on the total voltage expression for each node; and to establish the power-sharing expressions for each branch based on the total voltage expression for each node and the current-sharing expressions for each branch; the set of node voltage equations is as follows: ; in, This represents the nodal admittance matrix of the power grid that includes load. This represents the total voltage at node 1; This represents the total voltage at node 2. Represents a node Total voltage, Represents a node The current injected by the equivalent current source of the power supply. This represents the current injected by the equivalent current source of the power supply at node 2. Represents a node The current injected by the equivalent current source of the power supply. This indicates the total number of nodes in the power grid; The expression for the total voltage of all nodes is: in, Represents a node Total voltage; Represents a node The current injected by the equivalent current source of the power supply. Represents the nodal admittance matrix The inverse matrix of the first Line number Column elements; The voltage distribution expressions for each node are as follows: ; in, Indicates the node The node driven by the equivalent current source The voltage of the component; The expressions for the current distribution in each branch are as follows: ; in, Indicates the node Branches driven by equivalent current sources The partial current, Indicates a branch Admittance, Indicates the node The node driven by the equivalent current source The voltage of the component; The power division expressions for each branch transmission are as follows: in, Indicates the node Branches driven by equivalent current sources Power division of transmission, The operator represents the real part of a complex number, and the * operator represents the conjugate of a complex number. The second construction module is used to establish, based on the power distribution expression of each branch, the total carbon flow expression of each branch driven by the equivalent current source of the power supply of all nodes. The third construction module is used to establish an expression for the total carbon flow carried by each load driven by the equivalent current source of the power supply of all nodes, based on the voltage expression of each node. The result output module is used to obtain and output the distribution data of the total carbon flow transmitted by each branch and the distribution data of the total carbon flow carried by each load, based on the expression of the total carbon flow transmitted by each branch and the expression of the total carbon flow carried by each load.

7. A terminal device, comprising a memory, a processor, and a computer program stored in the memory and executable on the processor, characterized in that, When the processor executes the computer program, it implements the steps of the carbon flow distribution acquisition method as described in any one of claims 1 to 5.

8. A computer program product, characterized in that, The computer program product includes a computer program that, when executed by a processor, implements the steps of the carbon flow distribution acquisition method as described in any one of claims 1 to 5.