A method and device for dynamically calculating carbon emission factors of a multi-node system
By constructing a node link matrix and a system operation simulation model, the carbon emission factor of the multi-node system is calculated, which solves the problem that traditional carbon emission calculation methods cannot assess the carbon emissions of users' electricity consumption, and improves the calculation accuracy and low-carbon regulation effect.
Patent Information
- Application Number
- CN202410658445.2
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2024-05-27
- Publication Date
- 2024-08-27
- Estimated Expiration
- 2044-05-27
AI Technical Summary
Traditional carbon emission calculation methods cannot evaluate the carbon emissions corresponding to users' electricity consumption, and are difficult to calculate node carbon emissions corresponding to different new energy penetration rates. They also have many parameters and complex structures, which limits the need for rapid calculation of node unit output regulation.
By obtaining the connection relationship between each node of the system, constructing the node link matrix, establishing a system operation simulation model that considers system costs, optimizing the model to obtain the optimal operating state, calculating the node active flux matrix and carbon potential, and combining the unit carbon emissions Factor matrix to calculate the carbon emissions of electricity consumption at each node.
It improves the accuracy of the carbon emission factor of the multi-node system, improves the effect of low-carbon control of each node's unit start-up combination, simplifies the power flow calculation parameter requirements, and improves the entire process of dynamically calculating the system carbon factor.
Smart Images

Figure CN118316034B
Abstract
Description
Technical Field
[0001] The present invention relates to the technical field of power systems, and in particular to a method and device for dynamically calculating carbon emission factors of a multi-node system. Background Art
[0002] At present, traditional carbon emission calculations are mainly based on the carbon emission factor and power generation of the system's power generation source. It is unable to evaluate the carbon emissions corresponding to user electricity consumption, and it is difficult to calculate the node carbon emissions corresponding to different new energy penetration rates. The traditional carbon emission flow based on power flow calculation is mainly calculated for the overall output of the node power source. It is unable to optimize the output of multiple similar power sources connected to the same node separately. In addition, it has many parameters, complex structure, and large amount of calculation, which limits the rapid calculation requirements for the output regulation of each node unit in the actual production process. Summary of the invention
[0003] The present invention provides a method and device for dynamically calculating the carbon emission factor of a multi-node system, improves the whole process of dynamically calculating the carbon factor of the system, improves the accuracy of dynamically calculating the carbon emission factor of the multi-node system, and enhances the effect of low-carbon regulation of the startup combination of each node unit.
[0004] In order to solve the above technical problems, the present invention provides a method for dynamically calculating carbon emission factors of a multi-node system, comprising:
[0005] Acquire the connection relationship between each node of the system, and form a node link matrix according to the connection relationship; wherein the link matrix includes a branch flow link matrix, a unit link matrix, a load link matrix and a new energy link matrix;
[0006] Constructing a plurality of constraints according to the node link matrix;
[0007] Based on the plurality of constraint conditions, a system operation simulation model considering the system cost is established, and the optimal operation state of the system is obtained by optimizing the system operation simulation model;
[0008] Based on the data corresponding to the optimal operating state of the system, the node active flux matrix of the system is calculated;
[0009] Obtain the unit carbon emission factor matrix of the system, combine it with the node active flux matrix, and calculate the carbon potential of each node of the system;
[0010] According to the carbon potential of each node in the system, the carbon emissions corresponding to the load electricity consumption of each node in the system are calculated.
[0011] Furthermore, the several constraints are constructed according to the node link matrix, specifically:
[0012] Based on the node link matrix, a branch power flow distribution matrix, a unit injection distribution matrix, a load distribution matrix, a demand side response distribution matrix, a load power shortage distribution matrix and a new energy power abandonment distribution matrix are constructed;
[0013] The power balance constraint is constructed based on the branch power flow distribution matrix, the unit injection distribution matrix, the load distribution matrix, the demand side response distribution matrix, the load power shortage distribution matrix and the new energy power abandonment distribution matrix. The specific formula is:
[0014]
[0015] In the formula, is the inflow power from node n to node i; is the power generation of generator set k connected to node i; is the response power of the demand side response m connected to node i; is the power shortage of load m connected to node i; is the power consumption of load m connected to node i; is the outflow power from node i to node n; N is the number of nodes in the system; K is the number of power supply nodes in the system; M is the number of load nodes in the system; L is the number of new energy nodes where power is abandoned in the system;
[0016] Construct power generation technology constraints, the specific formula is:
[0017]
[0018]
[0019]
[0020]
[0021]
[0022]
[0023]
[0024] In the formula, It is a collection of conventional units; A collection of renewable energy units; and are the minimum and maximum technical output levels of the unit respectively; The start and stop status of the unit; is the capacity of conventional units; is the power generation capacity of the conventional unit at time t; It is the maximum upward climbing capability of the unit; It is the maximum downward climbing capability of the unit; and They are the start-up action and shutdown action of the unit at time t respectively; The minimum continuous startup time of the unit; The minimum continuous downtime of the unit; Predict energy factors for renewable energy units;
[0025] Construct energy storage system constraints, the specific formula is:
[0026]
[0027]
[0028]
[0029]
[0030] In the formula, is the energy state of energy storage; is the time interval; is the charging power of the energy storage; Charging efficiency for energy storage; is the discharge power of energy storage; is the discharge efficiency of energy storage; The remaining power of the energy storage; is the minimum value of energy storage discharge power; is the maximum value of the energy storage discharge power; is the initial energy of the energy storage in the cycle; is the final state energy of the energy storage in the cycle;
[0031] Construct the system power generation adequacy constraint, the specific formula is:
[0032]
[0033] In the formula, is the credible capacity factor of the generator; is the credible capacity factor of energy storage; is the capacity of conventional units; The remaining power of the energy storage; is the system power generation adequacy coefficient; is the power demand of important load z at time t; Z is the set of important loads;
[0034] Construct system reliability constraints. The specific formula is:
[0035]
[0036] In the formula, is the remaining power of energy storage s at time t; The charging and discharging efficiency of energy storage; is the important load of node i; It is the power supply guarantee factor for important loads.
[0037] Furthermore, the branch flow distribution matrix, unit injection distribution matrix, load distribution matrix, demand side response distribution matrix, load power shortage distribution matrix and new energy power abandonment distribution matrix are constructed based on the node link matrix, specifically:
[0038] Obtain a branch power flow pre-distribution matrix, and use the branch power flow link matrix to correct the branch power flow pre-distribution matrix in the form of point multiplication to obtain a branch power flow distribution matrix;
[0039] Acquire a unit injection pre-distribution matrix, and use the unit link matrix to correct the unit injection pre-distribution matrix in the form of dot product to obtain a unit injection distribution matrix;
[0040] Obtain the load data of the system and form a load distribution matrix in which only one element in each row is not 0;
[0041] Obtaining a demand side response pre-distribution matrix, and using the load link matrix to modify the demand side response pre-distribution matrix in the form of point multiplication to obtain a demand side response distribution matrix;
[0042] Obtaining a load power shortage pre-distribution matrix, and using the load link matrix to correct the load power shortage pre-distribution matrix in the form of point multiplication to obtain a load power shortage distribution matrix;
[0043] A new energy power abandonment pre-distribution matrix is obtained, and the new energy power abandonment pre-distribution matrix is corrected by using the new energy link matrix in the form of point multiplication to obtain a new energy power abandonment distribution matrix.
[0044] Furthermore, the system operation simulation model considering system cost is specifically:
[0045] The objective function of the system operation simulation model is composed of system operation and maintenance costs, carbon emission costs and power shortage costs. The specific formula is:
[0046]
[0047] In the formula, System operation and maintenance costs; for the cost of carbon emissions; Cost of power shortage;
[0048] The specific formula for the system operation and maintenance cost is:
[0049]
[0050] In the formula, System operation and maintenance costs; Fixed operation and maintenance costs; is the power generation cost of the unit; The start-up and shutdown cost of the unit; The operating costs of demand-side response; The operating cost of energy storage; , , and They are the operation and maintenance costs corresponding to the unit capacity of conventional units, the unit capacity of demand-side response, the unit power of energy storage, and the unit capacity of energy storage; is the capacity of conventional units; is the demand-side response capacity; The remaining power of the energy storage; is the discharge power of energy storage; is the operating time of the corresponding subject; T is the carbon emission cycle of the system; , and is the power generation cost coefficient of conventional units; is the power generation capacity of the conventional unit at time t; The start and stop status of the unit; and They are the start-up action and shutdown action of the unit at time t respectively; and They are the start-up action and shutdown action of the unit at time t respectively; is the unit power operation and maintenance cost of the demand-side response at time t; O represents the set of demand-side response entities; is the adjustment power of the demand side response at time t; is the unit power cost of energy storage at time t; E represents the collection of energy storage; is the discharge power of the energy storage at time t; The charging and discharging efficiency of energy storage;
[0051] The specific formula of the carbon emission cost is:
[0052]
[0053] In the formula, for the cost of carbon emissions; is the penalty cost corresponding to unit carbon emissions; is the operating time of unit g; is the carbon emission factor of unit g; is the power generation capacity of the conventional unit at time t;
[0054] The specific formula of the power shortage cost is:
[0055]
[0056] In the formula, Cost of power shortage; is the penalty cost corresponding to the unit power shortage; is the power outage duration of load m connected to node i; is the power shortage of load m connected through node i at time t; M is the number of load nodes in the system; T is the carbon emission cycle of the system; N is the number of nodes in the system.
[0057] Furthermore, the data corresponding to the optimal operating state of the system is used to calculate the node active flux matrix of the system, specifically:
[0058] Obtaining a first branch power flow distribution matrix, a first unit injection distribution matrix, and a first load distribution matrix corresponding to an optimal operating state of the system;
[0059] The active flux matrix of the system is set as a diagonal matrix, and the diagonal elements of the node active flux matrix are calculated according to the first branch power flow distribution matrix and the first unit injection distribution matrix;
[0060] The calculation formula of the diagonal elements of the node active flux matrix is:
[0061]
[0062] In the formula, is the sum of active power flowing into node i at each moment; is the flow from node n to node i; is the kth unit connected to node i.
[0063] Further, after obtaining the first branch power flow distribution matrix corresponding to the optimal operating state of the system, the method further includes:
[0064] The elements of the power flow distribution matrix of the first branch are screened to retain only the power of the branch with power outflow.
[0065] Furthermore, the unit carbon emission factor matrix of the acquisition system is specifically:
[0066] Determine the value of the power generation carbon emission factor of each unit according to the unit type of each unit in the system;
[0067] Combine the values of the power generation carbon emission factors of each unit to form a unit carbon emission factor matrix for the system;
[0068] The specific formula of the carbon emission factor matrix of the unit is:
[0069]
[0070] In the formula, is the unit carbon emission factor matrix; , and are the carbon emission factors of power generation of each unit in the system.
[0071] Furthermore, the carbon emission factor matrix of the unit of the system is obtained, and the carbon potential of each node of the system is calculated in combination with the node active flux matrix, which is specifically:
[0072] Calculating the carbon potential of each node in the system according to the first branch power flow distribution matrix, the first unit injection distribution matrix, the node active flux matrix and the unit carbon emission factor matrix;
[0073] The calculation formula of the carbon potential of each node in the system is:
[0074]
[0075] In the formula, is the carbon potential of node i; is the flow from node n to node i; is the average carbon potential of node n; is the kth unit connected to node i; is the carbon emission factor corresponding to the kth unit connected to node i; is the sum of active power flowing into node i at each moment;
[0076] According to the carbon potential of each node in the system, a node carbon potential matrix of the system is formed;
[0077] The specific formula of the node carbon potential matrix is:
[0078]
[0079] In the formula, is the node carbon potential matrix of the system; is the carbon potential of node i.
[0080] Furthermore, the carbon emissions corresponding to the load electricity consumption of each node in the system are calculated according to the carbon potential of each node in the system, specifically:
[0081] Calculate a node carbon emission matrix of the system according to the first load distribution matrix and the node carbon potential matrix;
[0082] The carbon emissions corresponding to the electricity consumption of each node load in the system are obtained based on the node carbon emission matrix of the system;
[0083] The specific formula of the node carbon emission matrix is:
[0084]
[0085] In the formula, is the node carbon emission matrix; is the first load distribution matrix; is the node carbon potential matrix.
[0086] The present invention provides a method for dynamically calculating the carbon emission factor of a multi-node system, obtaining the connection relationship between each node of the system, and forming a node link matrix according to the connection relationship; constructing a number of constraints according to the node link matrix; establishing a system operation simulation model that takes into account the system cost based on the several constraints, and obtaining the optimal operating state of the system by optimizing the system operation simulation model; calculating the node active flux matrix of the system based on the data corresponding to the optimal operating state of the system; obtaining the system's unit carbon emission factor matrix, and combining the node active flux matrix to calculate the carbon potential of each node of the system; and calculating the carbon emissions corresponding to the load electricity consumption of each node of the system according to the carbon potential of each node of the system. On the basis of the traditional carbon emission factor calculation, the present invention further considers the output combination of each node unit, introduces a node link matrix to characterize the system link topology, comprehensively considers multiple elements such as system power shortage, demand response, and energy storage, simplifies the parameter requirements of the flow calculation, improves the calculation granularity of the time series production simulation, improves the full process of the dynamic calculation of the system carbon factor, improves the accuracy of the dynamic calculation of the carbon emission factor of the multi-node system, and improves the effect of the low-carbon regulation of the startup combination of each node unit.
[0087] Accordingly, the present invention provides a carbon emission factor dynamic calculation device for a multi-node system, comprising: a link matrix construction module, a constraint condition construction module, a model building module, an active flux calculation module, a carbon potential calculation module and a carbon emission calculation module;
[0088] The link matrix building module is used to obtain the connection relationship between each node of the system, and form a node link matrix according to the connection relationship; wherein the link matrix includes a branch flow link matrix, a unit link matrix, a load link matrix and a new energy link matrix;
[0089] The constraint condition construction module is used to construct a plurality of constraint conditions according to the node link matrix;
[0090] The model building module is used to build a system operation simulation model taking into account system cost based on a number of the constraint conditions, and obtain the optimal operation state of the system by optimizing the system operation simulation model;
[0091] The active flux calculation module is used to calculate the node active flux matrix of the system based on the data corresponding to the optimal operating state of the system;
[0092] The carbon potential calculation module is used to obtain the unit carbon emission factor matrix of the system, and calculate the carbon potential of each node of the system in combination with the node active flux matrix;
[0093] The carbon emission calculation module is used to calculate the carbon emission corresponding to the load electricity consumption of each node in the system according to the carbon potential of each node in the system.
[0094] The present invention provides a device for dynamically calculating carbon emission factors of a multi-node system. Based on the organic combination of modules, the connection relationship between each node of the system is obtained, and a node link matrix is formed according to the connection relationship; a number of constraints are constructed according to the node link matrix; based on the number of constraints, a system operation simulation model considering the system cost is established, and the optimal operation state of the system is obtained by optimizing the system operation simulation model; based on the data corresponding to the optimal operation state of the system, the node active flux matrix of the system is calculated; the unit carbon emission factor matrix of the system is obtained, and the carbon potential of each node of the system is calculated in combination with the node active flux matrix; according to the carbon potential of each node of the system, the carbon emission corresponding to the load electricity consumption of each node of the system is calculated. On the basis of the traditional carbon emission factor calculation, the present invention further considers the output combination of each node unit, introduces a node link matrix to characterize the system link topology relationship, comprehensively considers multiple elements such as system power shortage, demand response, energy storage, etc., simplifies the parameter requirements of the flow calculation, improves the calculation granularity of the time series production simulation, improves the full process of the dynamic calculation of the system carbon factor, improves the accuracy of the dynamic calculation of the carbon emission factor of the multi-node system, and improves the effect of low-carbon regulation of the startup combination of each node unit. BRIEF DESCRIPTION OF THE DRAWINGS
[0095] Figure 1 A schematic flow chart of an embodiment of a method for dynamically calculating carbon emission factors of a multi-node system provided by the present invention;
[0096] Figure 2 A schematic structural diagram of an embodiment of a device for dynamically calculating carbon emission factors of a multi-node system provided by the present invention. DETAILED DESCRIPTION
[0097] The following will be combined with the drawings in the embodiments of the present invention to clearly and completely describe the technical solutions in the embodiments of the present invention. Obviously, the described embodiments are only part of the embodiments of the present invention, not all of the embodiments. Based on the embodiments of the present invention, all other embodiments obtained by ordinary technicians in this field without creative work are within the scope of protection of the present invention.
[0098] The flowcharts shown in the accompanying drawings are only examples and do not necessarily include all the contents and operations / steps, nor must they be executed in the order described. For example, some operations / steps may also be decomposed, combined or partially merged, so the actual execution order may change according to actual conditions.
[0099] Some embodiments of the present invention are described in detail below in conjunction with the accompanying drawings. In the absence of conflict, the following embodiments and features in the embodiments can be combined with each other.
[0100] In the embodiment of the present invention, a system has N nodes, including K power supply nodes (including coal power, gas power, wind power, photovoltaic power, energy storage and other general power sources), M load nodes, and L new energy nodes with abandoned power (mainly including wind power and photovoltaic power) as an example, see Figure 1 , is a flow chart of an embodiment of a method for dynamically calculating carbon emission factors of a multi-node system provided by the present invention, the method includes steps 101 to 106, each of which is specifically as follows:
[0101] Step 101: Acquire the connection relationship between each node of the system, and form a node link matrix according to the connection relationship; wherein the link matrix includes a branch flow link matrix, a unit link matrix, a load link matrix and a new energy link matrix.
[0102] In an embodiment of the present invention, by acquiring the connection relationship between the nodes of the system, a node link matrix that can characterize the system link topology relationship is formed. Introducing the node link matrix when establishing a multi-node system operation simulation model can improve the optimization effect of the model.
[0103] Step 102: construct a number of constraint conditions according to the node link matrix.
[0104] Furthermore, in an embodiment of the present invention, several constraint conditions are constructed according to the node link matrix, specifically:
[0105] Based on the node link matrix, a branch power flow distribution matrix, a unit injection distribution matrix, a load distribution matrix, a demand side response distribution matrix, a load power shortage distribution matrix and a new energy power abandonment distribution matrix are constructed;
[0106] The power balance constraint is constructed based on the branch power flow distribution matrix, the unit injection distribution matrix, the load distribution matrix, the demand side response distribution matrix, the load power shortage distribution matrix and the new energy power abandonment distribution matrix. The specific formula is:
[0107]
[0108] In the formula, is the inflow power from node n to node i; is the power generation of generator set k connected to node i; is the response power of the demand side response m connected to node i; is the power shortage of load m connected to node i; is the power consumption of load m connected to node i; is the outflow power from node i to node n; N is the number of nodes in the system; K is the number of power supply nodes in the system; M is the number of load nodes in the system; L is the number of new energy nodes where power is abandoned in the system;
[0109] Construct power generation technology constraints, the specific formula is:
[0110]
[0111]
[0112]
[0113]
[0114]
[0115]
[0116]
[0117] In the formula, It is a collection of conventional units, including coal-fired and gas-fired units; It is a collection of renewable energy units, including wind power and photovoltaic power generation units; and are the minimum and maximum technical output levels of the unit respectively; The start and stop status of the unit; is the capacity of conventional units; is the power generation capacity of the conventional unit at time t; It is the maximum upward climbing capability of the unit; The maximum downward climbing capacity of the unit, which does not include the minimum output level that needs to be achieved when the unit switches from shutdown to startup; and They are the start-up action and shutdown action of the unit at time t respectively; The minimum continuous startup time of the unit; The minimum continuous downtime of the unit; Predict the energy factor of the renewable energy unit; the above formula contains the upper and lower limit constraints of the output of the conventional unit; the climbing constraint of the unit, when the unit changes from the start-up state to the shutdown state, the downward climbing constraint is the effective constraint. Conversely, the upward climbing constraint is the effective constraint; the unit's operating state and operating state conversion flag are both 0-1 variables, and the unit is limited to only one operating state at any time; the minimum start-up duration of the unit is limited; the minimum shutdown duration of the unit is limited; the maximum and minimum output of the renewable energy unit are limited.
[0118] Power generation technical constraints mainly include new energy unit output constraints, conventional unit output technical constraints, etc. The operation constraints of renewable energy units (such as wind power, photovoltaic power generation, etc.) mainly depend on resource availability, and the maximum dispatchable capacity is expressed by the product of the maximum capacity factor and the installed capacity.
[0119] Construct energy storage system constraints, the specific formula is:
[0120]
[0121]
[0122]
[0123]
[0124] In the formula, is the energy state of energy storage; is the time interval; is the charging power of the energy storage; Charging efficiency for energy storage; is the discharge power of energy storage; is the discharge efficiency of energy storage; The remaining power of the energy storage; is the minimum value of energy storage discharge power; is the maximum value of the energy storage discharge power; is the initial energy of the energy storage in the cycle; is the final state energy of the energy storage within the cycle; the above formulas respectively include the energy evolution process of the energy storage; the charging and discharging power constraints of the energy storage; the upper and lower limit constraints of the energy storage capacity; and the energy of the initial and final states are equal within the optimization cycle [1,T].
[0125] The charging and discharging process of the energy storage system needs to consider physical constraints such as energy storage charging and discharging efficiency, power constraints and rated capacity constraints. That is, the energy storage charging and discharging power cannot be greater than the rated installed capacity of the energy storage, and the energy balance of the energy storage must be met.
[0126] Construct the system power generation adequacy constraint, the specific formula is:
[0127]
[0128] In the formula, is the credible capacity factor of the generator; is the reliable capacity factor of energy storage, where the reliable capacity of energy storage is related to the rated discharge duration. Energy storage can be used to replace traditional peak-shaving units, and its capacity reliability is related to the maximum discharge duration of energy storage; is the capacity of conventional units; The remaining power of the energy storage; The system power generation adequacy coefficient takes into account the possible failure or maintenance of the generator sets in the system. The actual planned power generation capacity should exceed the system peak load by a certain percentage. is the power demand of important load z at time t; Z is the set of important loads.
[0129] The adequacy of the power system refers to the performance of its power generation, transmission and supply capacity to meet user needs after considering factors such as the shutdown of some equipment or insufficient output, and it represents the steady-state performance of the system. In the planning of traditional power sources, a certain proportion higher than the annual load peak is usually used as its planning target. However, the volatility and randomness of new energy output make it not as controllable as traditional thermal power units, and its power generation adequacy is quite different from that of conventional thermal power units. Traditional power system planning usually ignores or simplifies the capacity value of new energy, resulting in insufficient or excessive investment in scenarios with a high proportion of new energy. Therefore, Capacity Credit (in %) represents the proportion of the capacity of wind and photovoltaic units that can be regarded as conventional units under the premise of equal reliability, so that uncontrollable, volatile and random power generation technologies can be compared with conventional units at the same level.
[0130] Construct system reliability constraints. The specific formula is:
[0131]
[0132] In the formula, is the remaining power of energy storage s at time t; The charging and discharging efficiency of energy storage; is the important load of node i; It is the power supply guarantee factor for important loads, that is, the proportion of important loads that the energy storage residual current of the node should cover at any time.
[0133] The present invention describes the system power supply reliability through the load capacity loss rate, ensuring that emergency power support can be provided for important loads through internal distributed energy storage in emergency scenarios such as local microgrid island operation.
[0134] Further, in an embodiment of the present invention, a branch flow distribution matrix, a unit injection distribution matrix, a load distribution matrix, a demand side response distribution matrix, a load power shortage distribution matrix and a new energy power abandonment distribution matrix are constructed based on the node link matrix, specifically:
[0135] Obtain a branch power flow pre-distribution matrix, and use the branch power flow link matrix to correct the branch power flow pre-distribution matrix in the form of point multiplication to obtain a branch power flow distribution matrix;
[0136] Acquire a unit injection pre-distribution matrix, and use the unit link matrix to correct the unit injection pre-distribution matrix in the form of dot product to obtain a unit injection distribution matrix;
[0137] Obtain the load data of the system and form a load distribution matrix in which only one element in each row is not 0;
[0138] Obtaining a demand side response pre-distribution matrix, and using the load link matrix to modify the demand side response pre-distribution matrix in the form of point multiplication to obtain a demand side response distribution matrix;
[0139] Obtaining a load power shortage pre-distribution matrix, and using the load link matrix to correct the load power shortage pre-distribution matrix in the form of point multiplication to obtain a load power shortage distribution matrix;
[0140] A new energy power abandonment pre-distribution matrix is obtained, and the new energy power abandonment pre-distribution matrix is corrected by using the new energy link matrix in the form of point multiplication to obtain a new energy power abandonment distribution matrix.
[0141] In an embodiment of the present invention, considering that each node needs to satisfy the power balance constraints at any time, the power balance calculation applied to each node in a multi-node system can be further expanded. For a multi-node system, a branch flow distribution matrix, a unit injection distribution matrix, a load distribution matrix, a demand-side response distribution matrix, a load power shortage distribution matrix and a new energy power abandonment distribution matrix can be established.
[0142] (1) Branch flow distribution matrix
[0143] The branch power flow distribution matrix is an N-order square matrix, using Since the power flow between non-adjacent nodes is 0, but the optimization result cannot take into account the connection relationship between nodes, power flow may occur between non-adjacent nodes. Therefore, it is necessary to define the link matrix and the optimized branch power flow pre-distribution matrix to perform point multiplication to eliminate the power flow between non-adjacent nodes and only retain the power flow between adjacent nodes to participate in the model optimization solution. The branch power flow link matrix is an N-order square matrix, which is represented by It means that if there is a branch connecting node i and node j (i, j = 1, 2, ..., N), then =1, =-1. Then the branch flow distribution matrix = branch flow link matrix multiplied by the branch flow pre-distribution matrix, the mathematical expression is as follows:
[0144]
[0145] In the formula, is the N×N dimensional branch power flow pre-distribution matrix obtained by system optimization, is the branch power distribution matrix. If there is a branch connecting node i and node j (i, j = 1, 2, ..., N), and the positive active power flow from node i to node j through this branch is p, then =p, =-p; if the active power flow p flowing through the branch is a reverse flow, then =-p, =p; in other cases = = 0, in particular, for all diagonal elements, =0(i,j=1,2,…,N).
[0146] (2) Unit injection distribution matrix
[0147] The unit injection distribution matrix is a K×N matrix, If the kth (k=1,2,…K)th generator set is connected to node j, and the active power flow injected into node j from the kth node containing the generator is p, then =p, otherwise =0. Since the optimized unit injection pre-distribution matrix may obtain output values at nodes where generator unit k is not connected, the unit link matrix is needed to correct the unit injection pre-distribution matrix. It means that if generator set k is connected to node j (j=1, 2, ..., N), then =1. The calculation formula of the unit injection distribution matrix is:
[0148]
[0149] Since one unit can only be injected into one node, there are the following constraints for any row of the unit injection distribution matrix, namely: Only one element is not 0, that is, the element of the column corresponding to the access point of unit i is not 0, and the elements of the other N-1 columns are all 0. Its mathematical expression is:
[0150]
[0151] In the formula, represents the element in the kth row and jth column of the unit link matrix. If the generator unit k is connected to the node j (j=1, 2, ..., N), then =1, otherwise it is 0.
[0152] (3) Load distribution matrix
[0153] The load distribution matrix is an M×N matrix, If node j is the mth (m=1,2,…M) node with load, and the active load is p, then =p, otherwise = 0. Since the load data is the input boundary condition, there is no need to constrain it with a link matrix. Since one load can only be injected into one node, the following constraints exist for any row of the load distribution matrix, namely: Only one element is not 0, that is, the element of load i access point is not 0, and the elements of the other N-1 columns are all 0.
[0154] (4) Demand-side response distribution matrix
[0155] The demand side response distribution matrix is an M×N matrix, If node j is the mth (m=1,2,…M) node with demand-side response, and the demand-side response adjustment power is p, then =p, otherwise = 0. Since the optimized demand side response pre-distribution matrix may obtain output values at nodes that are not connected to the demand side response m, the load link matrix is needed to correct the demand side response pre-distribution matrix. It means that if the demand side responds to m accessing node j (j=1, 2, ..., N), then =1, the calculation formula of the demand side response distribution matrix is:
[0156]
[0157] Since one demand-side response can only access one node, there are the following constraints for any row of the demand-side response distribution matrix, namely: Only one element is not 0, that is, the element of the column corresponding to the load access point m with demand-side response is not 0, and the elements of the other N-1 columns are all 0. Its mathematical expression is:
[0158]
[0159] In the formula, represents the access relationship between the demand side response m and the node j (j=1, 2, ..., N). If the demand side response m accesses the node j (j=1, 2, ..., N), then =1, otherwise it is 0.
[0160] (5) Load power shortage distribution matrix
[0161] The load power shortage distribution matrix is an M×N matrix, If node j is the mth (m=1,2,…M) node with power shortage, and the power shortage is p, then =p, otherwise =0. Since the optimized load power shortage pre-distribution matrix may obtain power shortage values at nodes that are not connected to load m, it is necessary to correct the load power shortage pre-distribution matrix through the load link matrix. The calculation formula of the load power shortage distribution matrix is: .
[0162] (6) New energy curtailment distribution matrix
[0163] The distribution matrix of new energy curtailment is an L×N matrix, If node j is the lth (l=1,2,…L) node with renewable energy curtailment, and the curtailment power is p, then =p, otherwise = 0. Since the optimized new energy curtailment pre-distribution matrix may obtain curtailment values at nodes that are not connected to new energy, a new energy link matrix is needed to correct the new energy curtailment pre-distribution matrix. It means that if new energy source l is connected to node j (j=1, 2, ..., N), then =1. The calculation formula of the new energy curtailment distribution matrix is:
[0164]
[0165] Since a new energy station can only abandon power at the node it is connected to, there are the following constraints for any row of the new energy abandonment distribution matrix, namely: Only one element is not 0, that is, the element of the column corresponding to the new energy access point l is not 0, and the elements of the other N-1 columns are all 0. Its mathematical expression is:
[0166]
[0167] In the formula, represents the access relationship between the new energy source l with power abandonment and node j (j=1, 2, ..., N). If the new energy source l with power abandonment is connected to node j (j=1, 2, ..., N), then =1. Otherwise, it is 0.
[0168] In an embodiment of the present invention, when establishing a system operation simulation model, power balance constraints based on the branch flow distribution matrix, the unit injection distribution matrix, the demand side response distribution matrix, the load power shortage distribution matrix, the new energy power abandonment distribution matrix and the load distribution matrix are respectively constructed; a power generation technology constraint matrix considering upper and lower output constraints, climbing constraints, operating status, minimum startup duration, minimum shutdown duration, and maximum and minimum output of renewable energy units; energy storage system constraints considering energy storage charging and discharging efficiency, power constraints and rated capacity; unit injection distribution matrix considering the node link matrix, and establishing a system power generation adequacy constraint matrix considering capacity credibility; and system power supply reliability constraints based on load capacity loss rate.
[0169] Step 103: Based on the plurality of constraint conditions, a system operation simulation model taking into account the system cost is established, and the optimal operation state of the system is obtained by optimizing the system operation simulation model.
[0170] Furthermore, in the embodiment of the present invention, the system operation simulation model considering the system cost is specifically:
[0171] The objective function of the system operation simulation model is composed of system operation and maintenance costs, carbon emission costs and power shortage costs. The specific formula is:
[0172]
[0173] In the formula, System operation and maintenance costs; for the cost of carbon emissions; Cost of power shortage;
[0174] The specific formula for the system operation and maintenance cost is:
[0175]
[0176] In the formula, System operation and maintenance costs; Fixed operation and maintenance costs; is the power generation cost of the unit; The start-up and shutdown cost of the unit; The operating costs of demand-side response; The operating cost of energy storage; , , and They are the operation and maintenance costs corresponding to the unit capacity of conventional units, the unit capacity of demand-side response, the unit power of energy storage, and the unit capacity of energy storage; is the capacity of conventional units; is the demand-side response capacity; The remaining power of the energy storage; is the discharge power of energy storage; is the operating time of the corresponding entity; T is the carbon emission cycle of the system, which can be selected as 1 month or 1 year; , and is the power generation cost coefficient of conventional units; is the power generation capacity of the conventional unit at time t; The start and stop status of the unit; and They are the start-up action and shutdown action of the unit at time t respectively; and are the start-up and shutdown actions of the unit at time t, =1 means the unit starts at time t, =1 means the unit is shut down at time t, =0 or =0 means that the state of the unit has not changed at time t; is the unit power operation and maintenance cost of the demand-side response at time t, which is mainly reflected in the unit power opportunity cost loss caused by the inability to participate in other ancillary service markets after participating in the power market balance; O represents the set of demand-side response entities; is the adjustment power of the demand side response at time t; is the unit power cost of energy storage at time t, which is mainly reflected in the unit power cost caused by the loss of charging and discharging efficiency at the time of energy storage discharge, and can be represented by the average electricity price at the time of energy storage charging; E represents the collection of energy storage; is the discharge power of the energy storage at time t; The charging and discharging efficiency of energy storage;
[0177] The carbon emission cost is mainly related to the power generation capacity of conventional units such as coal-fired power and gas-fired power in the system. The specific formula is:
[0178]
[0179] In the formula, for the cost of carbon emissions; The penalty cost corresponding to unit carbon emissions can be represented by the carbon trading price; is the operating time of unit g; is the carbon emission factor of unit g; is the power generation capacity of the conventional unit at time t;
[0180] The power shortage cost is mainly related to the power outage loss caused by the system's inability to guarantee the basic power demand of users due to emergencies. The specific formula is:
[0181]
[0182] In the formula, Cost of power shortage; is the penalty cost corresponding to the unit power shortage; is the power outage duration of load m connected to node i; is the power shortage of load m connected through node i at time t; M is the number of load nodes in the system; T is the carbon emission cycle of the system, which can be selected as 1 month or 1 year; N is the number of nodes in the system.
[0183] Step 104: Based on the data corresponding to the optimal operating state of the system, the node active flux matrix of the system is calculated.
[0184] Further, in the embodiment of the present invention, based on the data corresponding to the optimal operating state of the system, the node active flux matrix of the system is calculated, specifically:
[0185] Obtaining a first branch power flow distribution matrix, a first unit injection distribution matrix, and a first load distribution matrix corresponding to an optimal operating state of the system;
[0186] The active flux matrix of the system is set as a diagonal matrix, and the diagonal elements of the node active flux matrix are calculated according to the first branch power flow distribution matrix and the first unit injection distribution matrix;
[0187] The calculation formula of the diagonal elements of the node active flux matrix is:
[0188]
[0189] In the formula, is the sum of active power flowing into node i at each moment; is the flow from node n to node i; is the kth unit connected to node i.
[0190] Furthermore, in an embodiment of the present invention, after obtaining the first branch power flow distribution matrix corresponding to the optimal operating state of the system, the method further includes:
[0191] The elements of the power flow distribution matrix of the first branch are screened to retain only the power of the branch with power outflow.
[0192] In the embodiment of the present invention, after obtaining the optimal operating state of the system by optimizing the system operation simulation model, the output of each type of unit of the system at each moment can be obtained, and the corresponding branch flow distribution matrix, unit injection distribution matrix, load distribution matrix, demand side response distribution matrix, load power shortage distribution matrix, and new energy power abandonment distribution matrix under the optimal operating state can be obtained. In order to calculate the carbon flow and carbon potential introduced by each branch, the corresponding branch flow distribution matrix under the optimal operating state is screened for elements, and only the power of the power outflow branch is retained, that is, when the flow from node i to node j is p, =p, =0.
[0193] In the embodiment of the present invention, in order to measure the carbon potential of each node at each time, it is necessary to evaluate the source of electric energy flowing into each node at each time and the corresponding carbon emission factor, and establish a node active flux matrix to represent the sum of active power flowing into the node at each time. The node active flux matrix is an N-order square matrix, with It means that the node active flux matrix is a diagonal matrix, and its diagonal elements are calculated according to the branch power flow distribution matrix and the unit injection distribution matrix under the optimal operating state. .
[0194] Step 105: Obtain the unit carbon emission factor matrix of the system, combine it with the node active flux matrix, and calculate the carbon potential of each node in the system.
[0195] Furthermore, in the embodiment of the present invention, the carbon emission factor matrix of the system units is obtained, specifically:
[0196] Determine the value of the power generation carbon emission factor of each unit according to the unit type of each unit in the system;
[0197] Combine the values of the power generation carbon emission factors of each unit to form a unit carbon emission factor matrix for the system;
[0198] The specific formula of the carbon emission factor matrix of the unit is:
[0199]
[0200] In the formula, is the unit carbon emission factor matrix; , and are the carbon emission factors of power generation of each unit in the system.
[0201] In the embodiment of the present invention, the carbon emission factor of the kth (k=1, 2, ..., K) unit is recorded as , then the unit carbon emission factor matrix can be expressed as Among them, the carbon emission factors of each typical type of unit are shown in the following table:
[0202]
[0203] Furthermore, in the embodiment of the present invention, the carbon emission factor matrix of the system units is obtained, and the carbon potential of each node of the system is calculated in combination with the node active flux matrix, specifically:
[0204] Calculating the carbon potential of each node in the system according to the first branch power flow distribution matrix, the first unit injection distribution matrix, the node active flux matrix and the unit carbon emission factor matrix;
[0205] The calculation formula of the carbon potential of each node in the system is:
[0206]
[0207] In the formula, is the carbon potential of node i; is the flow from node n to node i; is the average carbon potential of node n; is the kth unit connected to node i; is the carbon emission factor corresponding to the kth unit connected to node i; is the sum of active power flowing into node i at each moment;
[0208] According to the carbon potential of each node in the system, a node carbon potential matrix of the system is formed;
[0209] The specific formula of the node carbon potential matrix is:
[0210]
[0211] In the formula, is the node carbon potential matrix of the system; is the carbon potential of node i.
[0212] In the embodiment of the present invention, the node carbon potential is defined as the average carbon emission obtained by all carbon emissions flowing into the node being amortized to the total power flowing into the node. The node carbon potential matrix is an N×1-order matrix. It indicates that the elements of the node carbon potential matrix represent the carbon potential of each node in the system, which is calculated according to the first branch power flow distribution matrix, the first unit injection distribution matrix, the node active flux matrix and the unit carbon emission factor matrix.
[0213] Step 106: Calculate the carbon emissions corresponding to the load electricity consumption of each node in the system according to the carbon potential of each node in the system.
[0214] Furthermore, in the embodiment of the present invention, the carbon emissions corresponding to the load electricity consumption of each node in the system are calculated according to the carbon potential of each node in the system, specifically:
[0215] Calculate a node carbon emission matrix of the system according to the first load distribution matrix and the node carbon potential matrix;
[0216] The carbon emissions corresponding to the electricity consumption of each node load in the system are obtained based on the node carbon emission matrix of the system;
[0217] The specific formula of the node carbon emission matrix is:
[0218]
[0219] In the formula, is the node carbon emission matrix; is the first load distribution matrix; is the node carbon potential matrix.
[0220] In the embodiment of the present invention, the node carbon emission matrix is used to characterize the carbon emission corresponding to the node load electricity consumption. The node carbon emission matrix is an M×1-order matrix. It indicates that it is calculated according to the corresponding load distribution matrix and the node carbon potential matrix under the optimal operating state.
[0221] Accordingly, see Figure 2 , is a structural schematic diagram of an embodiment of a carbon emission factor dynamic calculation device for a multi-node system provided by the present invention, the device includes a link matrix construction module 201, a constraint condition construction module 202, a model establishment module 203, an active flux calculation module 204, a carbon potential calculation module 205 and a carbon emission calculation module 206;
[0222] The link matrix building module 201 is used to obtain the connection relationship between each node of the system, and form a node link matrix according to the connection relationship; wherein the link matrix includes a branch flow link matrix, a unit link matrix, a load link matrix and a new energy link matrix;
[0223] The constraint condition construction module 202 is used to construct a plurality of constraint conditions according to the node link matrix;
[0224] The model building module 203 is used to build a system operation simulation model taking into account system cost based on a number of the constraint conditions, and obtain the optimal operation state of the system by optimizing the system operation simulation model;
[0225] The active flux calculation module 204 is used to calculate the node active flux matrix of the system based on the data corresponding to the optimal operating state of the system;
[0226] The carbon potential calculation module 205 is used to obtain the carbon emission factor matrix of the system units, and calculate the carbon potential of each node of the system in combination with the node active flux matrix;
[0227] The carbon emission calculation module 206 is used to calculate the carbon emission corresponding to the load electricity consumption of each node in the system according to the carbon potential of each node in the system.
[0228] In summary, the present invention provides a method and device for dynamically calculating the carbon emission factor of a multi-node system, obtaining the connection relationship between each node of the system, forming a node link matrix according to the connection relationship; constructing a number of constraints according to the node link matrix; establishing a system operation simulation model considering the system cost based on the several constraints, and obtaining the optimal operating state of the system by optimizing the system operation simulation model; calculating the node active flux matrix of the system based on the data corresponding to the optimal operating state of the system; obtaining the unit carbon emission factor matrix of the system, combining the node active flux matrix, and calculating the carbon potential of each node of the system; according to the carbon potential of each node of the system, calculating the carbon emissions corresponding to the load electricity consumption of each node of the system. On the basis of the traditional carbon emission factor calculation, the present invention further considers the output combination of each node unit, introduces a node link matrix to characterize the system link topology relationship, comprehensively considers multiple elements such as system power shortage, demand response, energy storage, etc., simplifies the parameter requirements of the flow calculation, improves the calculation granularity of the time series production simulation, improves the full process of the dynamic calculation of the system carbon factor, improves the accuracy of the dynamic calculation of the carbon emission factor of the multi-node system, and improves the effect of the low-carbon regulation of the startup combination of each node unit.
[0229] The specific embodiments described above further illustrate the purpose, technical solutions and beneficial effects of the present invention. It should be understood that the above description is only a specific embodiment of the present invention and is not intended to limit the scope of protection of the present invention. It is particularly pointed out that for those skilled in the art, any modification, equivalent replacement, improvement, etc. made within the spirit and principle of the present invention should be included in the scope of protection of the present invention.
Claims
1. A dynamic calculation method for carbon emission factors of a multi-node system, It is characterized in that include: Acquire the connection relationship between each node of the system, and form a node link matrix according to the connection relationship; wherein the node link matrix includes a branch flow link matrix, a unit link matrix, a load link matrix and a new energy link matrix; Constructing a plurality of constraints according to the node link matrix; Based on the plurality of constraint conditions, a system operation simulation model considering the system cost is established, and the optimal operation state of the system is obtained by optimizing the system operation simulation model; Based on the data corresponding to the optimal operating state of the system, the node active flux matrix of the system is calculated; Obtain the unit carbon emission factor matrix of the system, combine it with the node active flux matrix, and calculate the carbon potential of each node of the system; According to the carbon potential of each node in the system, calculate the carbon emissions corresponding to the load electricity consumption of each node in the system; Among them, the several constraints are constructed according to the node link matrix, specifically: Based on the node link matrix, a branch power flow distribution matrix, a unit injection distribution matrix, a load distribution matrix, a demand side response distribution matrix, a load power shortage distribution matrix and a new energy power abandonment distribution matrix are constructed; The power balance constraint is constructed based on the branch power flow distribution matrix, the unit injection distribution matrix, the load distribution matrix, the demand side response distribution matrix, the load power shortage distribution matrix and the new energy power abandonment distribution matrix. The specific formula is: In the formula, is the inflow power from node n to node i; is the power generation of generator set k connected to node i; is the response power of the demand side response m connected to node i; is the power shortage of load m connected to node i; is the power consumption of load m connected to node i; is the outflow power from node i to node n; N is the number of nodes in the system; K is the number of power supply nodes in the system; M is the number of load nodes in the system; L is the number of new energy nodes where power is abandoned in the system; Construct power generation technology constraints, the specific formula is: In the formula, It is a collection of conventional units; A collection of renewable energy units; and are the minimum and maximum technical output levels of the unit respectively; The start and stop status of the unit; is the capacity of conventional units; is the power generation capacity of the conventional unit at time t; The maximum upward climbing capacity of the unit; It is the maximum downward climbing capability of the unit; and They are the start-up action and shutdown action of the unit at time t respectively; The minimum continuous startup time of the unit; The minimum continuous downtime of the unit; Predict energy factors for renewable energy units; Construct energy storage system constraints, the specific formula is: In the formula, is the energy state of energy storage; is the time interval; is the charging power of the energy storage; Charging efficiency for energy storage; is the discharge power of energy storage; is the discharge efficiency of energy storage; The remaining power of the energy storage; is the minimum value of energy storage discharge power; is the maximum value of the energy storage discharge power; is the initial energy of the energy storage in the cycle; is the final state energy of the energy storage in the cycle; Construct the system power generation adequacy constraint, the specific formula is: In the formula, is the credible capacity factor of the generator; is the credible capacity factor of energy storage; is the capacity of conventional units; The remaining power of the energy storage; is the system power generation adequacy coefficient; is the power demand of important load z at time t; Z is the set of important loads; Construct system reliability constraints. The specific formula is: In the formula, is the remaining power of energy storage s at time t; The charging and discharging efficiency of energy storage; is the important load of node i; It is the power supply guarantee factor for important loads.
2. According to the method for dynamically calculating carbon emission factors of a multi-node system in accordance with claim 1, It is characterized in that The construction of the branch power flow distribution matrix, the unit injection distribution matrix, the load distribution matrix, the demand side response distribution matrix, the load power shortage distribution matrix and the new energy power abandonment distribution matrix based on the node link matrix is specifically as follows: Obtain a branch power flow pre-distribution matrix, and use the branch power flow link matrix to correct the branch power flow pre-distribution matrix in the form of point multiplication to obtain a branch power flow distribution matrix; Acquire a unit injection pre-distribution matrix, and use the unit link matrix to correct the unit injection pre-distribution matrix in the form of dot product to obtain a unit injection distribution matrix; Obtain the load data of the system and form a load distribution matrix in which only one element in each row is not 0; Obtaining a demand side response pre-distribution matrix, and using the load link matrix to modify the demand side response pre-distribution matrix in the form of point multiplication to obtain a demand side response distribution matrix; Obtaining a load power shortage pre-distribution matrix, and using the load link matrix to correct the load power shortage pre-distribution matrix in the form of point multiplication to obtain a load power shortage distribution matrix; A new energy power abandonment pre-distribution matrix is obtained, and the new energy power abandonment pre-distribution matrix is corrected by using the new energy link matrix in the form of point multiplication to obtain a new energy power abandonment distribution matrix.
3. According to the method for dynamically calculating carbon emission factors of a multi-node system in claim 1, It is characterized in that The system operation simulation model considering system cost is specifically as follows: The objective function of the system operation simulation model is composed of system operation and maintenance costs, carbon emission costs and power shortage costs. The specific formula is: In the formula, System operation and maintenance costs; for the cost of carbon emissions; Cost of power shortage; The specific formula for the system operation and maintenance cost is: In the formula, System operation and maintenance costs; Fixed operation and maintenance costs; is the power generation cost of the unit; The start-up and shutdown cost of the unit; The operating costs of demand-side response; The operating cost of energy storage; , , and They are the operation and maintenance costs corresponding to the unit capacity of conventional units, the unit capacity of demand-side response, the unit power of energy storage, and the unit capacity of energy storage; is the capacity of conventional units; is the demand-side response capacity; The remaining power of the energy storage; is the discharge power of energy storage; is the operating time of the corresponding subject; T is the carbon emission cycle of the system; , and is the power generation cost coefficient of conventional units; is the power generation capacity of the conventional unit at time t; The start and stop status of the unit; and They are the start-up action and shutdown action of the unit at time t respectively; and They are the start-up action and shutdown action of the unit at time t respectively; is the unit power operation and maintenance cost of the demand-side response at time t; O represents the set of demand-side response entities; is the adjustment power of the demand side response at time t; is the unit power cost of energy storage at time t; E represents the collection of energy storage; is the discharge power of the energy storage at time t; The charging and discharging efficiency of energy storage; The specific formula of the carbon emission cost is: In the formula, for the cost of carbon emissions; is the penalty cost corresponding to unit carbon emissions; is the operating time of unit g; is the carbon emission factor of unit g; is the power generation capacity of the conventional unit at time t; The specific formula of the power shortage cost is: In the formula, Cost of power shortage; is the penalty cost corresponding to the unit power shortage; is the power outage duration of load m connected to node i; is the power shortage of load m connected through node i at time t; M is the number of load nodes in the system; T is the carbon emission cycle of the system; N is the number of nodes in the system.
4. The method for dynamically calculating carbon emission factors of a multi-node system according to claim 3, It is characterized in that The data corresponding to the optimal operating state of the system is used to calculate the node active flux matrix of the system, which is specifically: Obtaining a first branch power flow distribution matrix, a first unit injection distribution matrix, and a first load distribution matrix corresponding to an optimal operating state of the system; The active flux matrix of the system is set as a diagonal matrix, and the diagonal elements of the node active flux matrix are calculated according to the first branch power flow distribution matrix and the first unit injection distribution matrix; The calculation formula of the diagonal elements of the node active flux matrix is: In the formula, is the sum of active power flowing into node i at each moment; is the flow from node n to node i; is the kth unit connected to node i.
5. The method for dynamically calculating carbon emission factors of a multi-node system according to claim 4, It is characterized in that After obtaining the first branch power flow distribution matrix corresponding to the optimal operating state of the system, the method further includes: The elements of the power flow distribution matrix of the first branch are screened to retain only the power of the branch with power outflow.
6. The method for dynamically calculating carbon emission factors of a multi-node system according to claim 4, It is characterized in that The unit carbon emission factor matrix of the acquisition system is specifically: Determine the value of the power generation carbon emission factor of each unit according to the unit type of each unit in the system; Combine the values of the power generation carbon emission factors of each unit to form a unit carbon emission factor matrix for the system; The specific formula of the carbon emission factor matrix of the unit is: In the formula, is the unit carbon emission factor matrix; , and are the carbon emission factors of power generation of each unit in the system.
7. The method for dynamically calculating carbon emission factors of a multi-node system according to claim 6, It is characterized in that The unit carbon emission factor matrix of the system is obtained, and the carbon potential of each node of the system is calculated in combination with the node active flux matrix, which is specifically: Calculating the carbon potential of each node in the system according to the first branch power flow distribution matrix, the first unit injection distribution matrix, the node active flux matrix and the unit carbon emission factor matrix; The calculation formula of the carbon potential of each node in the system is: In the formula, is the carbon potential of node i; is the flow from node n to node i; is the average carbon potential of node n; is the kth unit connected to node i; is the carbon emission factor corresponding to the kth unit connected to node i; is the sum of active power flowing into node i at each moment; According to the carbon potential of each node in the system, a node carbon potential matrix of the system is formed; The specific formula of the node carbon potential matrix is: In the formula, is the node carbon potential matrix of the system; is the carbon potential of node i.
8. The method for dynamically calculating carbon emission factors of a multi-node system according to claim 7, It is characterized in that According to the carbon potential of each node in the system, the carbon emissions corresponding to the load electricity consumption of each node in the system are calculated, specifically: Calculate a node carbon emission matrix of the system according to the first load distribution matrix and the node carbon potential matrix; The carbon emissions corresponding to the electricity consumption of each node load in the system are obtained based on the node carbon emission matrix of the system; The specific formula of the node carbon emission matrix is: In the formula, is the node carbon emission matrix; is the first load distribution matrix; is the node carbon potential matrix.
9. A dynamic calculation device for carbon emission factors of a multi-node system, It is characterized in that include: Link matrix building module, constraint condition building module, model building module, active flux calculation module, carbon potential calculation module and carbon emission calculation module; The link matrix building module is used to obtain the connection relationship between each node of the system, and form a node link matrix according to the connection relationship; wherein the node link matrix includes a branch flow link matrix, a unit link matrix, a load link matrix and a new energy link matrix; The constraint condition construction module is used to construct a plurality of constraint conditions according to the node link matrix; The model building module is used to build a system operation simulation model taking into account system cost based on a number of the constraint conditions, and obtain the optimal operation state of the system by optimizing the system operation simulation model; The active flux calculation module is used to calculate the node active flux matrix of the system based on the data corresponding to the optimal operating state of the system; The carbon potential calculation module is used to obtain the system's unit carbon emission factor matrix, and combine the node active flux matrix to calculate the carbon potential of each node in the system; The carbon emission calculation module is used to calculate the carbon emission corresponding to the load electricity consumption of each node in the system according to the carbon potential of each node in the system; Among them, the several constraints are constructed according to the node link matrix, specifically: Based on the node link matrix, a branch power flow distribution matrix, a unit injection distribution matrix, a load distribution matrix, a demand side response distribution matrix, a load power shortage distribution matrix and a new energy power abandonment distribution matrix are constructed; The power balance constraint is constructed based on the branch power flow distribution matrix, the unit injection distribution matrix, the load distribution matrix, the demand side response distribution matrix, the load power shortage distribution matrix and the new energy power abandonment distribution matrix. The specific formula is: In the formula, is the inflow power from node n to node i; is the power generation of generator set k connected to node i; is the response power of the demand side response m connected to node i; is the power shortage of load m connected to node i; is the power consumption of load m connected to node i; is the outflow power from node i to node n; N is the number of nodes in the system; K is the number of power supply nodes in the system; M is the number of load nodes in the system; L is the number of new energy nodes where power is abandoned in the system; Construct power generation technology constraints, the specific formula is: In the formula, It is a collection of conventional units; A collection of renewable energy units; and are the minimum and maximum technical output levels of the unit respectively; The start and stop status of the unit; is the capacity of conventional units; is the power generation capacity of the conventional unit at time t; The maximum upward climbing capacity of the unit; It is the maximum downward climbing capability of the unit; and They are the start-up action and shutdown action of the unit at time t respectively; The minimum continuous startup time of the unit; The minimum continuous downtime of the unit; Predict energy factors for renewable energy units; Construct energy storage system constraints, the specific formula is: In the formula, is the energy state of energy storage; is the time interval; is the charging power of the energy storage; Charging efficiency for energy storage; is the discharge power of energy storage; is the discharge efficiency of energy storage; The remaining power of the energy storage; is the minimum value of energy storage discharge power; is the maximum value of the energy storage discharge power; is the initial energy of the energy storage in the cycle; is the final state energy of the energy storage in the cycle; Construct the system power generation adequacy constraint, the specific formula is: In the formula, is the credible capacity factor of the generator; is the credible capacity factor of energy storage; is the capacity of conventional units; The remaining power of the energy storage; is the system power generation adequacy coefficient; is the power demand of important load z at time t; Z is the set of important loads; Construct system reliability constraints. The specific formula is: In the formula, is the remaining power of energy storage s at time t; The charging and discharging efficiency of energy storage; is the important load of node i; It is the power supply guarantee factor for important loads.
