Green electricity source tracing method and device for energy storage, equipment and medium
By constructing a power operation scenario model and generating correlation matrix, the green electricity content of the energy storage module is calculated, and the green electricity traceability problem of energy storage modules in the power system in the existing technology is solved, and accurate tracking and analysis of the energy storage power is achieved. .
Patent Information
- Application Number
- CN202411037235.8
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2024-07-31
- Publication Date
- 2024-11-08
AI Technical Summary
The existing green power traceability technology has failed to effectively solve the traceability problem of energy storage modules in the power system, and cannot accurately calculate the content of green power during the energy storage charging and discharging process.
By obtaining power system data, a power operation scenario model is constructed, a node energy storage power distribution matrix, branch flow distribution matrix and node unit injection power distribution matrix are generated, and the load of each node in the target area and the content from green power supply in the branch are calculated. .
The green power source of energy storage modules in the power system is realized, the green proportion of energy storage power is analyzed on the time scale, and the source and destination of green power during the charging and discharging of energy storage is tracked on the spatial scale, which improves the power system. green power traceability technology system.
Smart Images

Figure CN118920473A_ABST
Abstract
Description
Technical Field
[0001] The present invention belongs to the field of new energy power technology and relates to a green electricity source tracing method, device, equipment and medium for energy storage. Background Art
[0002] Green electricity traceability refers to the tracking and verification of the entire process of green electricity (mainly from renewable energy such as wind power, solar energy, and hydropower) from production to consumption to ensure the authenticity and credibility of its green attributes. The existing technical means of green electricity traceability mainly include: a series of international standards on green electricity traceability such as the "Green Electricity Consumption Information Traceability Reference Architecture Based on Blockchain" issued by authoritative organizations such as the International Telecommunication Union (ITU). This standard uses blockchain technology to achieve key data integration for the entire process of green electricity production, transmission, trading, and consumption, providing solid technical support for green electricity traceability; the International Green Certificate System (I-REC), whose standard certificate uses 1MWh of power generation of a single power generation facility as the basic unit, records the production and consumption process of electricity in a digital way, and ensures the traceability of green electricity attributes.
[0003] Energy storage has been included in the category of new power systems that integrate source, grid, load and storage because of its ability to smooth out the volatility of renewable energy generation and improve the flexibility and stability of the power grid. Power storage can store excess energy and release it in the future to provide the energy required by the system. Due to its special operating mode, it cannot be simply treated as a power source or load. In the existing green electricity tracing algorithms, there is no measurement method for energy storage modules to participate in tracing. Summary of the invention
[0004] The purpose of the present invention is to overcome the deficiencies in the prior art and to provide a green electricity tracing method, device, equipment and medium for energy storage, which can calculate the green electricity content under energy storage charging and discharging operating conditions.
[0005] To achieve the above object, the present invention is implemented by adopting the following technical solutions:
[0006] In a first aspect, the present invention provides a green electricity source tracing method for energy storage, comprising:
[0007] Obtain power system data within the target area;
[0008] Based on the power system data, construct a power operation scenario model;
[0009] Generate a node energy storage power distribution matrix according to the power operation scenario model;
[0010] Generate a branch power flow distribution matrix, a node unit injection power distribution matrix, and a node load power distribution matrix according to the power operation scenario model and the node energy storage power distribution matrix;
[0011] Through the branch flow distribution matrix, node unit injection power distribution matrix and node load power distribution matrix, the load active power of each node in the target area and the content of green power in the branch active power between each node are obtained, thereby realizing green power tracing in the target area.
[0012] Furthermore, the power system data includes: real-time operation topology status data of the power grid , real-time operation data of substation load and real-time operation data of power generator sets ;
[0013] The load operation data of the substation includes: active power data of the main transformers at the high, medium and low voltage sides of the substation , and the active power data of the outgoing lines connected to the high, medium and low voltage busbars of the substation ;
[0014] Active power data of main transformers on high, medium and low voltage sides of the substation The expressions include:
[0015] P t Tf = [ P t T 1 f , P t T 2 f ,..., P t T k 1 f ,..., P t T m T f ] ,
[0016] P t T k 1 f = [ P t T k 1 f 1 , P t T k 1 f 2 ,..., P t T k 1 f k 2 ,..., P t T k 1 f n T k 1 ] ,
[0017] P t T k 1 f k 2 = [ P t , v 1 T k 1 f k 2 , P t , v 2 T k 1 f k 2 , P t , v 3 T k 1 f k 2 ] T ,
[0018] in, Indicates the substation number. , Indicates the number of substations; Indicates the main change; Indicates the number The number of the main transformer under the substation, ; Indicates the number The substation number is The main change; Indicates the voltage level, express Time, numbered The substation number is The main transformer corresponds to Active power of main transformer on voltage level side;
[0019] The active power data of the outgoing lines connected to the high, medium and low voltage busbars of the substation The expressions include:
[0020] P t Tl = [ P t T 1 l , P t T 2 l ,..., P t T k 1 l ,..., P t T m T l ] ,
[0021] P t T k 1 l = [ P t , v 1 T k 1 l , P t , v 2 T k 1 l , P t , v 3 T k 1 l ] ,
[0022] P t , v m T k 1 l = [ P t , v m T k 1 l 1 , P t , v m T k 1 l 2 ,..., P t , v m T k 1 l r ,..., P t , v m T k 1 l n L k 1 , v j ] T ,
[0023] in, Indicates the voltage level, ; Indicates the number The line, , Indicates the number Under the substation Total number of lines at each voltage level; express time, and number Substation The voltage level busbars are connected to the number The active power of the line is determined by the direction of the active power flow. The power value flowing from the bus to the line is set to be positive, and vice versa.
[0024] The power generator set operation data The expressions include:
[0025] P t TG = [ P t T 1 G , P t T 2 G ,..., P t T k 1 G ,..., P t T m T G ] ,
[0026] P t T k 1 G = [ P t , v 1 T k 1 G , P t , v 2 T k 1 G , P t , v 3 T k 1 G ] ,
[0027] P t , v m T k 1 G = [ P t , v m T k 1 G 1 , green , P t , v m T k 1 G 2 , red ,..., P t , v m T k 1 G z , green ,..., P t , v m T k 1 G n G k 1 , v m , red ] T ,
[0028] in, Indicates the generator set, Indicates the number Generator sets, , express Number of generator sets at each voltage level, express Number of generator sets at each voltage level, express Time, numbered Under the substation The voltage level is numbered as Green active power of the generator sets; In Indicates the generator set For green power, It means that the corresponding generator set is not a green power source;
[0029] The power operation scenario model is: .
[0030] Furthermore, the node energy storage power distribution matrix for The matrix is expressed as:
[0031] ,
[0032] in, Indicates access node Energy storage nodes The active power, Indicates the The maximum value of the number of energy storage nodes connected to each node, , ;
[0033] If the energy storage node Access Node and from the node The absorbed active power flow is , represents the energy storage node For nodes In charging state, If the energy storage node Access Node And to the node The injected active power flow is , represents the energy storage node For nodes In the discharge state, If the energy storage node In the non-charge and discharge operation state, .
[0034] Furthermore, according to the power operation scenario model and the node energy storage power distribution matrix, a branch power flow distribution matrix, a node unit injection power distribution matrix and a node load power distribution matrix are generated, including:
[0035] The branch power flow distribution matrix for The square matrix is expressed as:
[0036] ,
[0037] in, Representation Node With Node The active power transmitted between Indicates the number of nodes in the target area; if the node With Node ( ) are connected by a branch, and the node To Node The forward active power flow is ,but , ; If this branch from the node To Node The reverse active power flow is ,but , ; If there is no flow or node in the branch With Node If not connected, ;and All diagonal elements of are 0;
[0038] The node unit injection power distribution matrix Divided into green power node unit injection power distribution matrix And the power distribution matrix of non-green power node units injected , and Both The diagonal matrices of order are expressed as:
[0039] ,
[0040] ,
[0041] in, Representation Node The green power generator injects active power. If the node There are green power generators and the total active load injected by them is ,but ,otherwise ; Representation Node If the non-green power generator injects active power into the node There are non-green power generators and the total active load injected by them is ,but ,otherwise ;
[0042] The node load power distribution matrix for The diagonal matrix of order is expressed as:
[0043] ,
[0044] in, Representation Node The load active power of the node There is load and the total active load is ,but ,otherwise ;
[0045] If the energy storage node Access Node and from the node The absorbed active power flow is , represents the energy storage node For nodes In charging state, Take the absolute value and add it as load Midpoint The total active power of the load middle;
[0046] If the energy storage node Access Node And to the node The injected active power flow is , represents the energy storage node For nodes In the discharge state, As power supply is added to Midpoint The active power injected by the unit middle.
[0047] Further, in Time, access node Energy storage nodes Green power included The calculation formula is:
[0048] If the energy storage node In charging state, then:
[0049] W ES kj t , green = W ES kj t 1 , green + ∑ t = 0 [( t 2 − t 1 ) / D t ] − 1 | P ES kj t 1 + t D t | or ES kj green , t 1 + t D t D t ,
[0050] in, Represents a unit time interval, Represents energy storage node distance The time when charging was last started. Represents energy storage node distance The time from the last time charging ended, , [ ] Indicates rounding; express Energy storage node at all times The amount of green power included; express Moment value; or ES kj green , t 1 + t D t ∈ [ 0 , 1 ] , Represents energy storage node exist The ratio of the green power active power drawn from each node unit to its total charging power at any time;
[0051] As load added to Midpoint Active power of load In Chinese, that is:
[0052] ,
[0053] in, Represents energy storage node With Node Connected; Indicates the number Outgoing line With Node connected, and its active power does not belong to the output of the generator set;
[0054] If the energy storage node In the discharge state, then:
[0055] W ES kj t , green = W ES kj t 1 , green − ∑ t = 0 [( t 2 − t 1 ) / D t ] − 1 | P ES kj t 1 + t D t | or ES kj green , t 1 + t D t D t ,
[0056] in, Represents a unit time interval, Represents energy storage node distance The most recent discharge time from time, Represents energy storage node distance The most recent discharge end time from time, , [ ] Indicates rounding; express Energy storage node at all times The amount of green power included; express Moment value; Represents energy storage node exist The ratio of the green power active power released at the moment to its total discharge power; when the energy storage is in the discharge state, in the same discharge time period, The value of remains unchanged, that is equal Moment value, The calculation formula is:
[0057] ,
[0058] in, Represents energy storage node exist The total power of the power supply at the moment;
[0059] As power supply is added to Midpoint The active power injected by the unit Including:
[0060] The middle part is added as green power Midpoint Active power injected by green generators In Chinese, that is:
[0061] ,
[0062] in, Indicates the number Generators With Node Connected; Represents energy storage node With Node Connected;
[0063] The other part is added as non-green power Midpoint Active power injected by non-green generators In Chinese, that is:
[0064] ,
[0065] in, Indicates the number Generators With Node Connected; Represents energy storage node With Node are connected.
[0066] Furthermore, the load active power of each node in the target area and the content of green power in the branch active power between each node are obtained through the branch power flow distribution matrix, the node unit injection power distribution matrix and the node load power distribution matrix, including:
[0067] Constructing a power flow distribution matrix based on the branch power flow distribution matrix, the node unit injection power distribution matrix and the node load power distribution matrix;
[0068] Green electricity and non-green electricity are allocated according to the active power of the generator sets in the target area and the power flow distribution matrix, and the green electricity and non-green electricity power allocated to each node load and the green electricity and non-green electricity power allocated to each branch are obtained;
[0069] The green power content of each node load and branch in the target area is obtained through the allocation results of green power and non-green power in each node load and the allocation results of green power and non-green power in each branch.
[0070] Furthermore, the green power and non-green power power allocated to each node load by the generator set is obtained, including:
[0071] Following the principle of proportional distribution, nodes Active power of load is the sum of the contributions of all generators in the target area, expressed as:
[0072] ,
[0073] in, For only A column vector with 1 as its component and all other components as 0. For Node The power flowing through is the column vector consisting of the power flowing through each node; is the power flow distribution matrix, is a column vector whose components are all 1;
[0074] node The load from the node The active power component drawn by the generator in It is expressed as:
[0075] ,
[0076] in, For only A column vector with 1 as its component and all other components as 0;
[0077] node The load from the node The green active power component drawn by the generator in and non-green active power components It is expressed as:
[0078] ,
[0079] ;
[0080] Obtain the green power and non-green power allocated to each branch by the generator set, including:
[0081] Following the principle of proportional distribution, nodes Flow to Node Active power of the branch By Node The active power generated by the generator sets in the upstream nodes is composed of It is expressed as:
[0082] ,
[0083] in, For Node The active power flowing through For only A column vector with 1 as its component and all other components as 0;
[0084] node Flow to Node Active power of the branch Slave Node The active power component drawn by the generator in It is expressed as:
[0085] ,
[0086] node Flow to Node Active power of the branch Slave Node The green active power component drawn by the generator in and non-green active power components It is expressed as:
[0087] ,
[0088] ;
[0089] Through the allocation results of green power and non-green power in each node load and each branch, the green power content of each node load and branch in the target area is obtained, including:
[0090] node The content of green power in the load active power It is expressed as:
[0091] ,
[0092] The content of green power in the active power of loads of all nodes in the target area It is expressed as:
[0093] or P L green = [ or P L 11 green , or P L 22 green ,..., or P L NN green ] T ,
[0094] in, To contain A column vector of components, is the number of nodes in the target area; Flow to Node The content of green power in the branch active power It is expressed as:
[0095] ,
[0096] The content of green power in the active power of all branches in the target area It is expressed as:
[0097] ,
[0098] in, for Order square array, All elements on the diagonal are 0. The same values of non-zero elements in each row indicate that the proportion of green power drawn from the branch active power flowing from the same node is the same.
[0099] In a second aspect, the present invention further provides a green electricity source tracing device for energy storage, the device comprising:
[0100] A power data acquisition module, used to acquire power system data in a target area;
[0101] A power operation scenario model building module, used to build a power operation scenario model based on the power system data;
[0102] An energy storage distribution module, used to generate a node energy storage power distribution matrix according to the power operation scenario model;
[0103] A distribution matrix generation module is used to generate a branch power flow distribution matrix, a node unit injection power distribution matrix and a node load power distribution matrix according to the power operation scenario model and the node energy storage power distribution matrix;
[0104] The green electricity tracing module is used to obtain the content of green power in the load active power of each node in the target area and the branch active power between each node through the branch flow distribution matrix, the node unit injection power distribution matrix and the node load power distribution matrix, so as to realize the green electricity tracing of the target area.
[0105] In a third aspect, the present invention further provides a computer device, comprising:
[0106] Memory for storing computer programs;
[0107] A processor is used to execute the computer program to implement the steps of the above-mentioned green electricity tracing method for energy storage.
[0108] In a fourth aspect, the present invention further provides a computer-readable storage medium having a computer program stored thereon, the program being executed by a processor to implement the steps of the above-mentioned green electricity tracing method for energy storage.
[0109] Compared with the prior art, the present invention has the following beneficial effects:
[0110] The green electricity tracing method for energy storage provided by the present invention can analyze the real-time proportion of green electricity in the power of all energy storage modules in the target area on a time scale through the real-time distribution of power flow in the power grid, and track the source of green electricity consumed in the energy storage charging process and the destination of green electricity released in the discharge process on a spatial scale, thereby improving and expanding the system architecture and application scenarios of green electricity tracing technology in the power system. BRIEF DESCRIPTION OF THE DRAWINGS
[0111] Figure 1 A schematic diagram of a flow chart of a green electricity source tracing method for energy storage provided in an embodiment of the present invention;
[0112] Figure 2 A schematic diagram of the structure of an energy storage node in a green electricity source tracing method for energy storage provided by an embodiment of the present invention when the energy storage node is in a charging state;
[0113] Figure 3 A schematic diagram of the structure of an energy storage node in a green electricity source tracing method for energy storage provided by an embodiment of the present invention when the energy storage node is in a discharging state;
[0114] Figure 4 A schematic diagram of the structure of a green electricity source tracing device for energy storage provided by an embodiment of the present invention;
[0115] Figure 5 An internal structure diagram of a computer device provided in an embodiment of the present invention. DETAILED DESCRIPTION
[0116] The technical solution of the present invention is described in detail below through the accompanying drawings and specific embodiments. The same reference numerals in the accompanying drawings indicate the same or similar components or parts. It should be understood by those skilled in the art that these drawings are not necessarily drawn to scale. The embodiments of the present application and the specific features in the embodiments are detailed descriptions of the technical solution of the present application, rather than limitations on the technical solution of the present application. In the absence of conflict, the embodiments of the present application and the technical features in the embodiments can be combined with each other.
[0117] The term "and / or" in this article is only a description of the association relationship of the associated objects, indicating that there can be three relationships. For example, A and / or B can mean: A exists alone, A and B exist at the same time, and B exists alone. In addition, the character " / " in this article generally indicates that the associated objects before and after are in an "or" relationship.
[0118] Embodiment 1:
[0119] like Figure 1 to Figure 3 As shown, an embodiment of the present invention provides a green electricity tracing method for energy storage. Figure 1 The flowchart is a schematic diagram of the green electricity source tracing method for energy storage. This flowchart only shows the logical sequence of the method described in this embodiment. Under the premise of no conflict, in other possible embodiments of the present invention, different Figure 1 The steps shown or described are accomplished in the order shown.
[0120] The green electricity tracing method for energy storage provided in this embodiment can be applied to a terminal, and can be executed by a green electricity tracing device for energy storage, which can be implemented by software and / or hardware, and can be integrated in a terminal.
[0121] See also Figure 1 The method of the embodiment of the present invention specifically includes the following steps 1 to 5. Among them:
[0122] Step 1: Obtain power system data in the target area.
[0123] According to the designated target area, the grid operation topology status results within the area are obtained, including: substations of various voltage levels contained in the area, power sources of various voltage levels and whether they are green power sources, the operation status of main transformers inside substations of various voltage levels in the target area, the communication status between substations of various voltage levels, power sources connected to substations of various voltage levels and user status, etc.
[0124] Specifically, the power system data in the embodiment of the present invention includes: real-time operation topology status data of the power grid; , load operation data of substations and operation data of power generator sets .
[0125] Among them, the real-time operation topology status data of the power grid Depend on The data of nodes, branches, loads, power supply conditions, etc. included in the power system in the target area at any time are constructed. , and All are based on Real-time grid operation topology status data at all times Constructed.
[0126] The load operation data of the substation includes: the active power data of the main transformers on the high, medium and low voltage sides of the substation , and the active power data of the outgoing lines connected to the high, medium and low voltage busbars of the substation .
[0127] Those skilled in the art will appreciate that the high, medium and low voltage side data of the substation described above are merely illustrative and not restrictive. In other embodiments, the active power data of the main transformers on the high voltage side and the low voltage side, as well as the active power data of the outgoing lines connected to the high voltage side and the low voltage side busbars of the substation, may be collected according to the actual situation of the substation.
[0128] Active power data of main transformers on high, medium and low voltage sides of the substation The expressions include:
[0129] P t Tf = [ P t T 1 f , P t T 2 f ,..., P t T k 1 f ,..., P t T m T f ] ,
[0130] P t T k 1 f = [ P t T k 1 f 1 , P t T k 1 f 2 ,..., P t T k 1 f k 2 ,..., P t T k 1 f n T k 1 ] ,
[0131] P t T k 1 f k 2 = [ P t , v 1 T k 1 f k 2 , P t , v 2 T k 1 f k 2 , P t , v 3 T k 1 f k 2 ] T ,
[0132] in, Indicates the substation number. , Indicates the number of substations; Indicates the main change; Indicates the number The number of the main transformer under the substation, ; Indicates the number The substation number is The main change; Indicates voltage levels, including high voltage, medium voltage and low voltage; express Time, numbered The substation number is The main transformer corresponds to Active power of main transformer on voltage level side; The positive or negative value is determined by the flow direction of active power. The power value flowing into the main transformer winding is set to be positive, otherwise it is negative.
[0133] The active power data of the outgoing lines connected to the high, medium and low voltage busbars of the substation The expressions include:
[0134] P t Tl = [ P t T 1 l , P t T 2 l ,..., P t T k 1 l ,..., P t T m T l ] ,
[0135] P t T k 1 l = [ P t , v 1 T k 1 l , P t , v 2 T k 1 l , P t , v 3 T k 1 l ] ,
[0136] P t , v m T k 1 l = [ P t , v m T k 1 l 1 , P t , v m T k 1 l 2 ,..., P t , v m T k 1 l r ,..., P t , v m T k 1 l n L k 1 , v j ] T ,
[0137] in, Indicates the voltage level, ; Indicates the number The line, , Indicates the number Under the substation Total number of lines at each voltage level; express time, and number Substation The voltage level busbars are connected to the number The positive or negative sign of the line active power is determined by the flow direction of the active power. The power value in the direction from the bus to the line is set to be positive, and vice versa.
[0138] The power generator set operation data The expressions include:
[0139] P t TG = [ P t T 1 G , P t T 2 G ,..., P t T k 1 G ,..., P t T m T G ] ,
[0140] P t T k 1 G = [ P t , v 1 T k 1 G , P t , v 2 T k 1 G , P t , v 3 T k 1 G ] ,
[0141] P t , v m T k 1 G = [ P t , v m T k 1 G 1 , green , P t , v m T k 1 G 2 , red ,..., P t , v m T k 1 G z , green ,..., P t , v m T k 1 G n G k 1 , v m , red ] T ,
[0142] in, Indicates the generator set, Indicates the number Generator sets, , express Number of generator sets at each voltage level, express Time, numbered Under the substation The voltage level is numbered as Green active power of the generator sets; In Indicates the generator set For green power, It means that the corresponding generator set is not a green power source.
[0143] Step 2: Based on the power system data, construct a power operation scenario model.
[0144] Combined with the power system data obtained in step 1, the real-time power operation scenario of the target area is generated to facilitate the subsequent calculation steps. Each operation scenario corresponds to a topological state structure and a load and power unit operation scenario.
[0145] The power operation scenario model is: .
[0146] Step 3: Generate a node energy storage power distribution matrix based on the power operation scenario model.
[0147] Define the node energy storage power distribution matrix It is used to describe the active power, charging and discharging status, and connection relationship with system nodes of all energy storage projects in the target area. Node energy storage power distribution matrix for The matrix is expressed as:
[0148] ,
[0149] in, Indicates access node Energy storage nodes The active power, Indicates the The maximum number of energy storage nodes connected to each node is: , ;
[0150] If the energy storage node Access Node and from the node The absorbed active power flow is , represents the energy storage node For nodes In charging state, If the energy storage node Access Node And to the node The injected active power flow is , represents the energy storage node For nodes In the discharge state, If the energy storage node In the non-charge and discharge operation state, .
[0151] The number of energy storage nodes connected to each node is less than or equal to , so the node energy storage power distribution matrix The remaining elements are all filled with 0.
[0152] Step 4: Generate a branch power flow distribution matrix, a node unit injection power distribution matrix and a node load power distribution matrix according to the power operation scenario model and the node energy storage power distribution matrix.
[0153] Branch flow distribution matrix Able to describe the active power flow distribution of the power system in the target area, It contains both the topological structure information of the power network and the distribution information of the steady-state active power flow of the system. Its elements are specifically defined as follows:
[0154] ,
[0155] ,
[0156] in, for Order square array, Representation Node With Node The active power transmitted between Indicates the number of nodes in the target area; if the node With Node ( ) are connected by a branch, and the node To Node The forward active power flow is ,but , ; If this branch from the node To Node The reverse active power flow is ,but , ; If there is no flow or node in the branch With Node If not connected, ;and All diagonal elements of are 0.
[0157] Said The value of the power running scenario model In , and After analysis and calculation, we get:
[0158] Inside the same substation: The active value of the branch current connected between busbar nodes of the same voltage level is position The corresponding outgoing line data connecting the two node buses Determined; The active value of the branch flow connected between busbar nodes of different voltage levels is determined by middle Corresponding active power value on the main transformer voltage side Decide;
[0159] Between different substations: The active value of the branch flow connected between busbar nodes is middle The corresponding outgoing line data connecting the two node buses Decide.
[0160] Node unit injection power distribution matrix It can describe the injected active power of all generators in the target area and their connection relationship with the system nodes. for The elements of a diagonal matrix are defined as follows:
[0161] ,
[0162] in, Representation Node The power generator injects active power, if the node There is a power generator set and the total active load injected by it is ,but ,otherwise .
[0163] The present invention injects node units into the power distribution matrix Divided into green power node unit injection power distribution matrix And the power distribution matrix of non-green power node units injected , and Both The diagonal matrices of order are expressed as:
[0164] ,
[0165] ,
[0166] in, Representation Node The green power generator injects active power. If the node There are green power generators and the total active load injected by them is ,but ,otherwise ; Representation Node If the non-green power generator injects active power into the node There are non-green power generators and the total active load injected by them is ,but ,otherwise .
[0167] Said and The value of the power running scenario model In and After analysis and calculation, we get:
[0168] Depend on Midpoint The active power of all the generator sets with green power flowing in is summed up to get:
[0169] ,
[0170] Depend on Midpoint The active power of all the generator sets with green power flowing in is summed up to get:
[0171] .
[0172] Node load power distribution matrix It can describe the active load of all power loads and their connection with the power system in the target area. for The diagonal matrix of order is defined as:
[0173] ,
[0174] in, Representation Node The load active power of the node There is load and the total active load is ,but ,otherwise .
[0175] Said The value of the power running scenario model middle , After analysis and calculation, we found that Corresponding Node Except for the power outgoing line and busbar node branch connection, the active load data of the other outgoing lines that have been put into operation are calculated and obtained:
[0176] .
[0177] like Figure 2 As shown, if the energy storage node Access Node and from the node The absorbed active power flow is , represents the energy storage node For nodes In charging state, Take the absolute value and add it as load Midpoint The total active power of the load middle.
[0178] like Figure 3 As shown, if the energy storage node Access Node And to the node The injected active power flow is , represents the energy storage node For nodes In the discharge state, As power supply is added to Midpoint The active power injected by the unit middle.
[0179] Specifically, in Time, access node Energy storage nodes Green power included The calculation formula is:
[0180] If the energy storage node In charging state, then:
[0181] W ES kj t , green = W ES kj t 1 , green + ∑ t = 0 [( t 2 − t 1 ) / D t ] − 1 | P ES kj t 1 + t D t | or ES kj green , t 1 + t D t D t ,
[0182] in, Indicates the unit time interval, generally 5 minutes, about 0.083 hours; Represents energy storage node distance The time when charging was last started. Represents energy storage node distance The time from the last time charging ended, , [( t 2 − t 1 ) D t ] − 1 In [ ] Indicates rounding; express Energy storage node at all times The amount of green power included; express Moment value; or ES kj green , t 1 + t D t ∈ [ 0 , 1 ] , Represents energy storage node exist The ratio of the green power active power drawn from each node unit in the system to its total charging power at any time. The calculation method of is the same as the calculation method of the green power ratio in the node load in step 502.
[0183] As load added to Midpoint Active power of load In Chinese, that is:
[0184] ,
[0185] in, Represents energy storage node With Node Connected; Indicates the number Outgoing line With Node connected, and its active power does not belong to the output of the generator set;
[0186] If the energy storage node In the discharge state, then:
[0187] W ES kj t , green = W ES kj t 1 , green − ∑ t = 0 [( t 2 − t 1 ) / D t ] − 1 | P ES kj t 1 + t D t | or ES kj green , t 1 + t D t D t ,
[0188] in, Represents a unit time interval, Represents energy storage node distance The most recent discharge time from time, Represents energy storage node distance The most recent discharge end time from time, , [( t 2 − t 1 ) D t ] − 1 In [ ] Indicates rounding; express Energy storage node at all times The amount of green power included; express Moment value; Represents energy storage node exist The ratio of the green power active power released at the moment to its total discharge power; when the energy storage is in the discharge state, in the same discharge time period, The value of remains unchanged, that is equal Moment value, The calculation method is:
[0189] ,
[0190] in, Represents energy storage node exist The total power of the power supply at the moment;
[0191] As power supply is added to Midpoint The active power injected by the unit Including:
[0192] The middle part is added as green power Midpoint Active power injected by green generators In Chinese, that is:
[0193] ,
[0194] in, Indicates the number Generators With Node Connected; Represents energy storage node With Node are connected.
[0195] The other part is added as non-green power Midpoint Active power injected by non-green generators In Chinese, that is:
[0196] ,
[0197] in, Indicates the number Generators With Node Connected; Represents energy storage node With Node are connected.
[0198] Step 5: Through the branch flow distribution matrix, node unit injection power distribution matrix and node load power distribution matrix, the load active power of each node in the target area and the content of green power in the branch active power between each node are obtained to achieve green power tracing in the target area.
[0199] Step 5 specifically includes the following steps 501 to 503. Among them:
[0200] Step 501: construct a power flow distribution matrix based on the branch power flow distribution matrix, the node unit injection power distribution matrix and the node load power distribution matrix.
[0201] According to the node power conservation condition, the power flowing through the node The power is equal to the total power flowing into the node Power, Node The power flowing through can be expressed as:
[0202] ,
[0203] in, For flow through nodes The power of the node Power injection power The power flowing into all upstream nodes connected to it The sum of For Node The upstream node set of Direct connection and active power flows to the node The set of all nodes.
[0204] From the above formula, we can see that if the node With Node ( ) are connected by a branch, and the node To Node The forward active power flow is ,but , On the contrary, if the branch from node To Node The reverse active power flow is ,but , ; If there is no flow or node in the branch To Node If not connected, , so further, the above formula can be transformed into (ignoring isolated nodes):
[0205] ,
[0206] in, For Node Upstream node The active power flowing through, the matrix representation of the above formula is:
[0207] ,
[0208] in, Inject active power distribution matrix into the generated node units, is a column vector whose components are all 1. The results can be further expressed as follows:
[0209] P G e = [ P G 11 , P G 22 ,..., P G NN ] T ,
[0210] is the column vector of power flowing through each node, , which can be specifically expressed as:
[0211] P = [ P 1 , P 2 ,..., P N ] T = [ P G 11 + ∑ j = 1 N P B j 1 ,..., P G NN + ∑ j = 1 N P B jN ] T .
[0212] Power flow distribution matrix , with its Line Taking row elements as an example, the calculation method can be specifically expressed as:
[0213] .
[0214] Power flow distribution matrix Established the active power distribution matrix injected by node units The power flowing through the node According to the fact that the power flowing through a node is equal to the total outflow power of the node (the sum of the load power and the power flowing to the downstream related nodes), the green active power and non-green active power in the generated power can be allocated to the load of each node and the power of each branch (without considering the active network loss).
[0215] Step 502: Allocate green electricity and non-green electricity according to the active power of the generator sets in the target area and the power flow distribution matrix to obtain the green electricity and non-green electricity power allocated to each node load by the generator sets, as well as the green electricity and non-green electricity power allocated to each branch.
[0216] Among them, the green power and non-green power power allocated to each node load by the generator set are obtained, including:
[0217] Following the principle of proportional distribution, nodes Active power of load is the sum of the contributions of all generators in the target area, expressed as:
[0218] ,
[0219] in, For only A column vector with 1 as its component and all other components as 0. For Node The power flowing through is the column vector consisting of the power flowing through each node; is the power flow distribution matrix, is a column vector whose components are all 1.
[0220] node Load in Slave Node The active power component drawn by the generator in It is expressed as:
[0221] ,
[0222] in, For only A column vector with all components being 1 and the rest being 0.
[0223] node The load from the node The green active power component drawn by the generator in and non-green active power components It is expressed as:
[0224] ,
[0225] .
[0226] Obtain the green power and non-green power allocated to each branch by the generator set, including:
[0227] Following the principle of proportional distribution, nodes Flow to Node Active power of the branch By Node The active power generated by the generator sets in the upstream nodes is composed of It is expressed as:
[0228] ,
[0229] in, For Node The active power flowing through For only A column vector with all components being 1 and the rest being 0.
[0230] node Flow to Node Active power of the branch Slave Node The active power component drawn by the generator in It is expressed as:
[0231] ,
[0232] node Flow to Node Active power of the branch Slave Node The green active power component drawn by the generator in and non-green active power components It is expressed as:
[0233] ,
[0234] .
[0235] Step 503: Obtain the green power content of each node load and branch in the target area through the allocation results of green power and non-green power in each node load and the allocation results of green power and non-green power in each branch.
[0236] node The content of green power in the load active power It is expressed as:
[0237] ,
[0238] The content of green power in the active power of loads of all nodes in the target area It is expressed as:
[0239] or P L green = [ or P L 11 green , or P L 22 green ,..., or P L NN green ] T ,
[0240] in, To contain A column vector of components, is the number of nodes in the target area. Flow to Node The content of green power in the branch active power It is expressed as:
[0241] ,
[0242] The content of green power in the active power of all branches in the target area It is expressed as:
[0243] ,
[0244] in, for Order square array, All elements on the diagonal are 0. The same values of non-zero elements in each row indicate that the proportion of green power drawn from the branch active power flowing from the same node is the same.
[0245] Embodiment 2:
[0246] Based on the same inventive concept as Example 1, the embodiment of the present invention also provides a green electricity tracing device for energy storage for implementing the above-mentioned green electricity tracing method for energy storage. The implementation scheme for solving the problem provided by the device is similar to the implementation scheme recorded in the above-mentioned method, so the specific limitations in the embodiment of the green electricity tracing device for energy storage provided below can be referred to the limitations of the green electricity tracing method for energy storage above, and will not be repeated here.
[0247] like Figure 4 As shown, an embodiment of the present invention provides a green electricity source tracing device for energy storage, including:
[0248] A power data acquisition module, used to acquire power system data in a target area;
[0249] A power operation scenario model building module, used to build a power operation scenario model based on the power system data;
[0250] An energy storage distribution module, used to generate a node energy storage power distribution matrix according to the power operation scenario model;
[0251] A distribution matrix generation module is used to generate a branch power flow distribution matrix, a node unit injection power distribution matrix and a node load power distribution matrix according to the power operation scenario model and the node energy storage power distribution matrix;
[0252] The green electricity tracing module is used to obtain the content of green power in the load active power of each node in the target area and the branch active power between each node through the branch flow distribution matrix, the node unit injection power distribution matrix and the node load power distribution matrix, so as to realize the green electricity tracing of the target area.
[0253] Embodiment 3:
[0254] The embodiment of the present invention further provides a computer device, which may be a server, and its internal structure diagram may be as shown in FIG. Figure 5 As shown. The computer device includes a processor, a memory, an input / output interface (Input / Output, referred to as I / O) and a communication interface. Among them, the processor, the memory and the input / output interface are connected through a system bus, and the communication interface is connected to the system bus through the input / output interface. Among them, the processor of the computer device is used to provide computing and control capabilities. The memory of the computer device includes a non-volatile storage medium and an internal memory. The non-volatile storage medium stores an operating system, a computer program and a database. The internal memory provides an environment for the operation of the operating system and computer programs in the non-volatile storage medium. The input / output interface of the computer device is used to exchange information between the processor and an external device. The communication interface of the computer device is used to communicate with an external terminal through a network connection. When the computer program is executed by the processor, the green electricity tracing method for energy storage in the aforementioned embodiment is implemented.
[0255] Those skilled in the art will understand that Figure 5 The structure shown in the figure is only a block diagram of a part of the structure related to the solution of the present application, and does not constitute a limitation on the computer device to which the solution of the present application is applied. The specific computer device may include more or fewer components than those shown in the figure, or combine certain components, or have a different arrangement of components.
[0256] Embodiment 4:
[0257] The embodiment of the present invention further provides a computer-readable storage medium, on which a computer program is stored, and when the program is executed by a processor, the steps of the following method are implemented:
[0258] Obtain power system data within the target area;
[0259] Based on the power system data, construct a power operation scenario model;
[0260] Generate a node energy storage power distribution matrix according to the power operation scenario model;
[0261] Generate a branch power flow distribution matrix, a node unit injection power distribution matrix, and a node load power distribution matrix according to the power operation scenario model and the node energy storage power distribution matrix;
[0262] Through the branch flow distribution matrix, node unit injection power distribution matrix and node load power distribution matrix, the load active power of each node in the target area and the content of green power in the branch active power between each node are obtained, thereby realizing green power tracing in the target area.
[0263] It should be understood by those skilled in the art that the embodiments of the present invention may be provided as methods, systems, or computer program products, and therefore, the present invention may take the form of a complete hardware embodiment, a complete software embodiment, or an embodiment combining software and hardware. Moreover, the present invention may take the form of a computer program product implemented on one or more computer-usable storage media (including but not limited to disk storage, CD-ROM, optical storage, etc.) containing computer-usable program codes.
[0264] The present invention is described with reference to flowcharts and / or block diagrams of methods, devices (systems), and computer program products according to embodiments of the present invention. It should be understood that each process and / or block in the flowchart and / or block diagram, as well as the combination of processes and / or blocks in the flowchart and / or block diagram, can be implemented by computer program instructions. These computer program instructions can be provided to a processor of a general-purpose computer, a special-purpose computer, an embedded processor, or other programmable data processing device to produce a machine, so that the instructions executed by the processor of the computer or other programmable data processing device generate instructions for implementing the processes in the flowchart and / or block diagram. Figure one A process or multiple processes and / or boxes Figure one A device that provides the functions specified in a block or multiple blocks.
[0265] These computer program instructions may also be stored in a computer-readable memory capable of directing a computer or other programmable data processing device to operate in a specific manner, so that the instructions stored in the computer-readable memory produce an article of manufacture comprising an instruction device, which implements the process Figure one A process or multiple processes and / or boxes Figure one A function specified in one or more boxes.
[0266] These computer program instructions can also be loaded onto a computer or other programmable data processing device so that a series of operating steps are executed on the computer or other programmable device to produce a computer-implemented process, thereby providing instructions for implementing the process. Figure one A process or multiple processes and / or boxes Figure one The steps for the functions specified in one or more boxes.
[0267] The embodiments of the present invention are described above in conjunction with the accompanying drawings, but the present invention is not limited to the above-mentioned specific implementation methods. The above-mentioned specific implementation methods are merely illustrative and not restrictive. Under the enlightenment of the present invention, ordinary technicians in this field can also make many forms without departing from the scope of protection of the purpose of the present invention and the claims, which all fall within the protection of the present invention.
Claims
1. A green electricity tracing method for energy storage, It is characterized in that include: Obtain power system data within the target area; Based on the power system data, construct a power operation scenario model; Generate a node energy storage power distribution matrix according to the power operation scenario model; Generate a branch power flow distribution matrix, a node unit injection power distribution matrix, and a node load power distribution matrix according to the power operation scenario model and the node energy storage power distribution matrix; Through the branch flow distribution matrix, node unit injection power distribution matrix and node load power distribution matrix, the load active power of each node in the target area and the content of green power in the branch active power between each node are obtained, thereby realizing green power tracing in the target area.
2. The green electricity tracing method according to claim 1, It is characterized in that The power system data includes: real-time operation topology status data of the power grid , real-time operation data of substation load and real-time operation data of power generator sets ; The load operation data of the substation includes: active power data of the main transformers at the high, medium and low voltage sides of the substation , and the active power data of the outgoing lines connected to the high, medium and low voltage busbars of the substation ; Active power data of main transformers on high, medium and low voltage sides of the substation The expressions include: , , , in, Indicates the substation number. , Indicates the number of substations; Indicates the main change; Indicates the number The number of the main transformer under the substation, ; Indicates the number The substation number is The main change; Indicates the voltage level, express Time, numbered The substation number is The main transformer corresponds to Active power of main transformer on voltage level side; The positive or negative value is determined by the flow direction of active power. The power value flowing into the main transformer winding is set to be positive, otherwise it is negative. The active power data of the outgoing lines connected to the high, medium and low voltage busbars of the substation The expressions include: , , , in, Indicates the voltage level, ; Indicates the number The line, , Indicates the number Under the substation Total number of lines at each voltage level; express time, and number Substation The number of the voltage level busbar connected is The active power of the line is determined by the direction of the active power flow. The power value flowing from the bus to the line is set to be positive, and vice versa. The power generator set operation data The expressions include: , , , in, Indicates the generator set, Indicates the number Generator sets, , express Number of generator sets at each voltage level, express Time, numbered Under the substation The voltage level is numbered as Green active power of the generator sets; In Indicates the generator set For green power, It means that the corresponding generator set is not a green power source; The power operation scenario model is: .
3. The green electricity tracing method according to claim 2, It is characterized in that The node energy storage power distribution matrix for The matrix is expressed as: , in, Indicates access node Energy storage nodes The active power, Indicates the The maximum value of the number of energy storage nodes connected to each node, , ; If the energy storage node Access Node and from the node The absorbed active power flow is , represents the energy storage node For nodes In charging state, If the energy storage node Access Node And to the node The injected active power flow is , represents the energy storage node For nodes In the discharge state, If the energy storage node In the non-charge and discharge operation state, .
4. The green electricity tracing method according to claim 3, It is characterized in that According to the power operation scenario model and the node energy storage power distribution matrix, a branch power flow distribution matrix, a node unit injection power distribution matrix and a node load power distribution matrix are generated, including: The branch power flow distribution matrix for The square matrix is expressed as: , in, Representation Node With Node The active power transmitted between Indicates the number of nodes in the target area; if the node With Node ( ) are connected by a branch, and the node To Node The forward active power flow is ,but , ; If this branch from the node To Node The reverse active power flow is ,but , ; If there is no flow or node in the branch With Node If not connected, ;and All diagonal elements of are 0; The node unit injection power distribution matrix Divided into green power node unit injection power distribution matrix And the power distribution matrix of non-green power node units injected , and Both The diagonal matrices of order are expressed as: , , in, Representation Node The green power generator injects active power. If the node There are green power generators and the total active load injected by them is ,but ,otherwise ; Representation Node If the non-green power generator injects active power into the node There are non-green power generators and the total active load injected by them is ,but ,otherwise ; The node load power distribution matrix for The diagonal matrix of order is expressed as: , in, Representation Node The load active power of the node There is load and the total active load is ,but ,otherwise ; If the energy storage node Access Node and from the node The absorbed active power flow is , represents the energy storage node For nodes In charging state, Take the absolute value and add it as load Midpoint Active power of load middle; If the energy storage node Access Node And to the node The injected active power flow is , represents the energy storage node For nodes In the discharge state, As power supply is added to Midpoint The active power injected by the unit middle.
5. The green electricity source tracing method according to claim 4, It is characterized in that exist Time, access node Energy storage nodes Green power included The calculation formula is: If the energy storage node In charging state, then: , in, Represents a unit time interval, Represents energy storage node distance The time when charging was last started. Represents energy storage node distance The time from the last time charging ended, , Indicates rounding; express Energy storage node at all times The amount of green power included; express Moment value; , Represents energy storage node exist The ratio of the green power active power drawn from each node unit to its total charging power at any time; As load added to Midpoint Active power of load In Chinese, that is: , in, Represents energy storage node With Node Connected; Indicates the number Outgoing line With Node connected, and its active power does not belong to the output of the generator set; If the energy storage node In the discharge state, then: , in, Represents a unit time interval, Represents energy storage node distance The most recent discharge time from time, Represents energy storage node distance The most recent discharge end time from time, , Indicates rounding; express Energy storage node at all times The amount of green power included; express Moment value; Represents energy storage node exist The ratio of the green power active power released at the moment to its total discharge power; when the energy storage is in the discharge state, in the same discharge time period, The value of remains unchanged, that is equal Moment value, The calculation formula is: , in, Represents energy storage node exist The total power of the power supply at the moment; As power supply is added to Midpoint The active power injected by the unit Including: The middle part is added as green power Midpoint Active power injected by green generators In Chinese, that is: , in, Indicates the number Generators With Node Connected; Represents energy storage node With Node Connected; The other part is added as non-green power Midpoint Active power injected by non-green generators In Chinese, that is: , in, Indicates the number Generators With Node Connected; Represents energy storage node With Node are connected.
6. The green electricity source tracing method according to claim 4, It is characterized in that Through the branch power flow distribution matrix, the node unit injection power distribution matrix and the node load power distribution matrix, the load active power of each node in the target area and the content of green power in the branch active power between each node are obtained, including: Constructing a power flow distribution matrix based on the branch power flow distribution matrix, the node unit injection power distribution matrix and the node load power distribution matrix; Green electricity and non-green electricity are allocated according to the active power of the generator sets in the target area and the power flow distribution matrix, and the green electricity and non-green electricity power allocated to each node load and the green electricity and non-green electricity power allocated to each branch are obtained; The green power content of each node load and branch in the target area is obtained through the allocation results of green power and non-green power in each node load and the allocation results of green power and non-green power in each branch.
7. The green electricity source tracing method according to claim 6, It is characterized in that Obtain the green power and non-green power of the generator set allocated to each node load, including: Following the principle of proportional distribution, nodes Active power of load is the sum of the contributions of all generators in the target area, expressed as: , in, For only A column vector with 1 as its component and all other components as 0. For Node The power flowing through is the column vector consisting of the power flowing through each node; is the power flow distribution matrix, is a column vector whose components are all 1; node The load from the node The active power component drawn by the generator in It is expressed as: , in, For only A column vector with 1 as its component and all other components as 0; node The load from the node The green active power component drawn by the generator in and non-green active power components It is expressed as: , ; Obtain the green power and non-green power allocated to each branch by the generator set, including: Following the principle of proportional distribution, nodes Flow to Node Active power of the branch By Node The active power generated by the generator sets in the upstream nodes is composed of It is expressed as: , in, For Node The active power flowing through For only A column vector with 1 as its component and all other components as 0; node Flow to Node Active power of the branch Slave Node The active power component drawn by the generator in It is expressed as: , node Flow to Node Active power of the branch Slave Node The green active power component drawn by the generator in and non-green active power components It is expressed as: , ; Through the allocation results of green power and non-green power in each node load and each branch, the green power content of each node load and branch in the target area is obtained, including: node The content of green power in the load active power It is expressed as: , The content of green power in the active power of loads of all nodes in the target area It is expressed as: , in, To contain A column vector of components, is the number of nodes in the target area; Flow to Node The content of green power in the branch active power It is expressed as: , The content of green power in the active power of all branches in the target area It is expressed as: , in, for Order square array, All elements on the diagonal are 0. The same values of non-zero elements in each row indicate that the proportion of green power drawn from the branch active power flowing from the same node is the same.
8. A green electricity source tracing device for energy storage, It is characterized in that include: A power data acquisition module, used to acquire power system data in a target area; A power operation scenario model building module, used to build a power operation scenario model based on the power system data; An energy storage distribution module, used to generate a node energy storage power distribution matrix according to the power operation scenario model; A distribution matrix generation module is used to generate a branch power flow distribution matrix, a node unit injection power distribution matrix and a node load power distribution matrix according to the power operation scenario model and the node energy storage power distribution matrix; The green electricity tracing module is used to obtain the content of green power in the load active power of each node in the target area and the branch active power between each node through the branch flow distribution matrix, the node unit injection power distribution matrix and the node load power distribution matrix, so as to realize the green electricity tracing of the target area.
9. A computer device, It is characterized in that include: Memory for storing computer programs; A processor is used to execute the computer program to implement the steps of the green electricity tracing method for energy storage as described in any one of claims 1 to 7.
10. A computer-readable storage medium having a computer program stored thereon, It is characterized in that When the program is executed by a processor, the steps of the green electricity tracing method for energy storage described in any one of claims 1 to 7 are implemented.
Citation Information
Cited By
Distributed power generation multi-user green electricity source tracing method and system based on absorption decomposition
CN121440560A
Distributed power generation multi-user green electricity tracing method and system based on consumption decomposition
CN121440560B
