A configuration method, device, terminal equipment and storage medium for shared energy storage

By calculating the electrical connection strength and supply and demand balance, generating trading areas and establishing trading models, and determining shared energy storage configuration parameters, the problem of location selection of shared energy storage systems in the peer-to-peer trading market is solved, and optimized energy storage transactions under power flow constraints are realized.

CN118313962BActive Publication Date: 2024-08-27GUANGDONG POWER GRID CO LTD
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202410741294.7
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2024-06-11
Publication Date
2024-08-27
Estimated Expiration
2044-06-11

AI Technical Summary

Technical Problem

The existing technology does not consider the location problem of shared energy storage systems, resulting in the results of shared trading of electric energy and energy storage resources in the peer-to-peer trading market that may violate power flow constraints and cannot be executed.

Method used

By obtaining the inter-node line parameters of the distribution network to be configured and historical user photovoltaic output and electricity consumption data, we calculate the electrical connection strength and supply and demand balance, generate a transaction area, establish a transaction model for users and operators, and solve the model to obtain the optimal Optimize electricity consumption and electricity purchase and sale prices, determine shared energy storage configuration parameters, and determine the location of the distribution network based on these parameters.

Benefits of technology

It effectively solves the problem of location selection of shared energy storage systems, ensures that transaction results comply with power flow constraints, improves the execution and efficiency of energy storage transactions, and takes into account the relationship between electricity sales operators and producers and sellers.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN118313962B
    Figure CN118313962B
Patent Text Reader

Abstract

The present invention discloses a configuration method, device, terminal equipment and storage medium for shared energy storage, obtains the line parameters between nodes of the distribution network to be configured and the historical user photovoltaic output and power consumption data, calculates the electrical connection strength and supply-demand balance of the distribution network to be configured; generates several trading areas of the distribution network to be configured according to the preset module function method, electrical connection strength and supply-demand balance; establishes a trading model of users and operators corresponding to each trading area according to each trading area; solves the trading model, obtains the optimal power consumption of users corresponding to each trading area and the optimal purchase and sale price of operators, and determines the shared energy storage configuration parameters corresponding to each trading area, and then determines the site selection of the distribution network to be configured based on the shared energy storage configuration parameters. The present invention analyzes and generates the address of shared energy storage by considering the relationship between power sales operators and producers and sellers in the process of point-to-point transactions.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present invention relates to the technical field of electronic digital data processing, and in particular to a configuration method, device, terminal equipment and storage medium for shared energy storage. Background Art

[0002] With the continuous penetration of distributed photovoltaic, energy storage and other resources, users have gradually transformed from traditional single consumers to producers and sellers with both power generation and power consumption capabilities. How to reasonably trade electricity between producers and sellers, invest in and operate energy storage systems to store or release energy to meet energy demand, is becoming an urgent problem to be solved. Peer-to-peer transactions and shared energy storage are the multilateral trading market operation models that have emerged in recent years to solve the above problems.

[0003] At present, with regard to the shared trading of electricity and energy storage resources in the peer-to-peer trading market, existing research has not taken into account the site selection problem of the shared energy storage system, which may result in the charging and discharging behavior of the energy storage transaction results being unable to be executed due to violation of power flow constraints.

[0004] Therefore, there is an urgent need for a shared energy storage configuration strategy to solve the problem of shared energy storage system site selection that is not considered in the peer-to-peer trading market. Summary of the invention

[0005] The embodiments of the present invention provide a configuration method, apparatus, terminal device and storage medium for shared energy storage, so as to solve the problem of site selection of shared energy storage system not being considered in the point-to-point trading market.

[0006] In order to solve the above problem, an embodiment of the present invention provides a method for configuring shared energy storage, including:

[0007] Obtaining inter-node line parameters of the distribution network to be configured and historical user photovoltaic output and power consumption data, and calculating the electrical connection strength and supply-demand balance of the distribution network to be configured;

[0008] Generating a plurality of trading areas of the distribution network to be configured according to a preset modular function degree method, the electrical connection strength and the supply-demand balance degree;

[0009] According to each of the transaction areas, a transaction model between the user and the operator corresponding to each of the transaction areas is established;

[0010] Solving the transaction model to obtain the optimal electricity consumption of users and the optimal electricity purchase and sale price of operators corresponding to each transaction area;

[0011] According to the user's optimal electricity consumption and the operator's optimal electricity purchase and sale price, the shared energy storage configuration parameters corresponding to each of the trading areas are determined, and then based on the shared energy storage configuration parameters, the site selection of the distribution network to be configured is determined; wherein the shared energy storage configuration parameters include: shared energy storage optimal capacity and shared energy storage power configuration.

[0012] As an improvement of the above solution, the inter-node line parameters include: electrical connection equivalent impedance and equivalent transmission capacity; the calculation of the electrical connection strength and supply-demand balance of the distribution network to be configured includes:

[0013] Substituting the electrical connection equivalent impedance and the equivalent transmission capacity into an electrical connection strength calculation formula, the electrical connection strength of the distribution network to be configured is calculated;

[0014] The historical user photovoltaic output and power consumption data are substituted into the supply and demand balance rate calculation formula to calculate the supply and demand balance of the distribution network to be configured.

[0015] As an improvement of the above solution, the generating of several trading areas of the distribution network to be configured according to the preset module function degree method, the electrical connection strength and the supply and demand balance degree includes:

[0016] Substituting the electrical connection strength and the supply-demand balance into the Newman modularity function expression corresponding to the modularity function method, and calculating the partition of each node when the comprehensive modularity is maximized;

[0017] Aggregate the nodes in the same partition to obtain several transaction areas;

[0018] Among them, the Newman modularity function expression is specifically:

[0019]

[0020] In the formula, is the electrical connection strength, The balance between supply and demand, is the comprehensive weight value of node ij; Indicates that the ij nodes are connected, otherwise it is 0; is the comprehensive modularity, The larger the value, the higher the electrical connection strength, the closer the supply and demand balance is to 1, and the better the division effect; M is the node set; represents the clustering result, Indicates that the ij nodes are in the same partition, otherwise it is 0.

[0021] As an improvement of the above scheme, the transaction model includes: an operator point-to-point transaction model, a producer-seller point-to-point transaction model and a master-slave game model; the solving of the transaction model to obtain the optimal power consumption of the user corresponding to each of the transaction areas and the optimal purchase and sale price of the operator includes: when the power selling price of the power grid is equal to the power selling price set by the operator, and the power purchasing price of the power grid is equal to the power purchasing price set by the operator, and the first-order derivative of the producer-seller with respect to the actual power consumption of the producer-seller is 0, calculating the initial benefit coefficient; wherein the first-order derivative of the producer-seller with respect to the actual power consumption of the producer-seller is 0, and the following conditions are satisfied: ; In the formula, is the total revenue of producers and sellers in region n during operation, is the actual electricity consumption of the producer and seller; the initial benefit coefficient meets the following conditions:

[0022]

[0023] In the formula, is the initial benefit coefficient, is the electricity price sold by the power grid, is the purchase price of electricity from the grid, is the actual electricity consumption of producers and sellers, The actual output value of the new energy equipment owned by the producer and seller. Settle prices for carbon trading;

[0024] Substitute the initial benefit coefficient into the producer-seller point-to-point transaction model to calculate the optimal power consumption of the user; wherein the producer-seller point-to-point transaction model is specifically:

[0025]

[0026] In the formula, is the electricity price set by the operator in area n and time t, is the electricity purchase price set by the operator in area n and time t, Optimal power consumption for users;

[0027] Substitute the user's optimal electricity consumption into the operator's point-to-point transaction model. and Find the first-order derivative and set it to 0 to obtain the optimal purchase and sale price of electricity for the operator; wherein the operator point-to-point transaction model is specifically:

[0028]

[0029] In the formula, is the number of producers and sellers in an operating area. is the number of producers and sellers who are consumers in an operating area, is the total revenue of the operator's operation scheduling process, It is the income from the transaction between operators and producers and sellers. is the cost of trading electricity with the power grid within the region, , is the optimal electricity purchase and sale price for operators, among which, Provide operators with the best purchasing electricity price, Provide operators with the best electricity price.

[0030] As an improvement of the above solution, the shared energy storage configuration parameters corresponding to each of the trading areas are determined according to the optimal power consumption of the user and the optimal purchase and sale price of the operator, including:

[0031] Determine the unbalanced electricity volume corresponding to each of the trading areas according to the optimal electricity consumption of the user and the optimal electricity purchase and sale price of the operator;

[0032] The shared energy storage configuration parameters corresponding to each of the trading areas are calculated based on the configuration parameter calculation formula, model constraints and the unbalanced electricity quantity.

[0033] As an improvement of the above solution, the determining the site selection of the distribution network to be configured based on the shared energy storage configuration parameters includes:

[0034] According to the optimal capacity of the shared energy storage and the power configuration of the shared energy storage, a preset mixed integer programming model is substituted to output the site selection of the distribution network to be configured; wherein the mixed integer programming model is specifically: a model obtained by using a heuristic algorithm under the condition of considering power flow constraints, taking site selection as a decision variable, and taking minimum network loss as an objective function.

[0035] Accordingly, an embodiment of the present invention further provides a configuration device for shared energy storage, comprising: a data acquisition module, a region division module, a model establishment module, a model operation module and a result generation module;

[0036] The data acquisition module is used to obtain the inter-node line parameters of the distribution network to be configured and the historical user photovoltaic output and power consumption data, and calculate the electrical connection strength and supply-demand balance of the distribution network to be configured;

[0037] The area division module is used to generate a plurality of trading areas of the distribution network to be configured according to a preset module function degree method, the electrical connection strength and the supply-demand balance degree;

[0038] The model building module is used to build a transaction model of users and operators corresponding to each transaction area according to each transaction area;

[0039] The model operation module is used to solve the transaction model to obtain the optimal power consumption of users and the optimal purchase and sale price of electricity of operators corresponding to each transaction area;

[0040] The result generation module is used to determine the shared energy storage configuration parameters corresponding to each of the trading areas according to the user's optimal electricity consumption and the operator's optimal purchase and sale electricity price, and then determine the site selection of the distribution network to be configured based on the shared energy storage configuration parameters; wherein the shared energy storage configuration parameters include: shared energy storage optimal capacity and shared energy storage power configuration.

[0041] Correspondingly, an embodiment of the present invention further provides a computer terminal device, comprising a processor, a memory, and a computer program stored in the memory and configured to be executed by the processor, wherein when the processor executes the computer program, a method for configuring shared energy storage as described in the present invention is implemented.

[0042] Correspondingly, an embodiment of the present invention further provides a computer-readable storage medium, which includes a stored computer program, wherein when the computer program is running, the device where the computer-readable storage medium is located is controlled to execute a shared energy storage configuration method as described in the present invention.

[0043] As can be seen from the above, the present invention has the following beneficial effects:

[0044] The present invention provides a configuration method for shared energy storage, which obtains line parameters between nodes of a distribution network to be configured and historical photovoltaic output and power consumption data of users, calculates the electrical connection strength and supply-demand balance of the distribution network to be configured; generates several trading areas of the distribution network to be configured according to a preset module function method, the electrical connection strength and the supply-demand balance; establishes a trading model of users and operators corresponding to each trading area according to each trading area; solves the trading model to obtain the optimal power consumption of users and the optimal purchase and sale price of electricity of operators corresponding to each trading area; determines the shared energy storage configuration parameters corresponding to each trading area according to the optimal power consumption of users and the optimal purchase and sale price of electricity of operators, and then determines the site selection of the distribution network to be configured based on the shared energy storage configuration parameters; wherein the shared energy storage configuration parameters include: the optimal capacity of shared energy storage and the power configuration of shared energy storage. The present invention analyzes and generates the address of shared energy storage by considering the relationship between power sales operators and producers and sellers in the process of point-to-point transactions. BRIEF DESCRIPTION OF THE DRAWINGS

[0045] Figure 1 It is a flow chart of a method for configuring shared energy storage provided by an embodiment of the present invention;

[0046] Figure 2 It is a structural schematic diagram of a configuration device for shared energy storage provided by an embodiment of the present invention;

[0047] Figure 3 It is a 24-hour node voltage amplitude diagram provided by an embodiment of the present invention;

[0048] Figure 4 It is the zoning and energy storage site selection optimization result provided by an embodiment of the present invention;

[0049] Figure 5 A map of electricity prices for various regions provided by an embodiment of the present invention;

[0050] Figure 6 It is a 33-node power and electricity balance diagram provided by an embodiment of the present invention;

[0051] Figure 7 It is a schematic diagram of the structure of a terminal device provided by an embodiment of the present invention. DETAILED DESCRIPTION

[0052] 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.

[0053] Embodiment 1

[0054] See also Figure 1 , Figure 1 is a flow chart of a method for configuring a shared energy storage system according to an embodiment of the present invention. Figure 1 As shown, this embodiment includes steps 101 to 105, and each step is specifically as follows:

[0055] Step 101: Obtain inter-node line parameters of the distribution network to be configured and historical user photovoltaic output and power consumption data, and calculate the electrical connection strength and supply-demand balance of the distribution network to be configured.

[0056] In this embodiment, the inter-node line parameters include: electrical connection equivalent impedance and equivalent transmission capacity; the calculation of the electrical connection strength and supply-demand balance of the distribution network to be configured includes:

[0057] Substituting the electrical connection equivalent impedance and the equivalent transmission capacity into an electrical connection strength calculation formula, the electrical connection strength of the distribution network to be configured is calculated;

[0058] The historical user photovoltaic output and power consumption data are substituted into the supply and demand balance rate calculation formula to calculate the supply and demand balance of the distribution network to be configured.

[0059] In a specific embodiment, the coefficient calculated according to the electrical connection equivalent impedance and equivalent transmission capacity between two nodes is the electrical connection strength, and the electrical connection strength is used as a structural indicator. The electrical connection strength calculation formula is expressed as:

[0060]

[0061] in, is the electrical connection strength between nodes ij, and are the system equivalent impedance and its mean value between nodes ij respectively; and are the system equivalent transmission capacity and its mean between nodes ij respectively; , and are the impedance value and transmission capacity value between nodes ij respectively; , is the weight coefficient, and the sum is always 1.

[0062] In a specific embodiment, the ratio of the total photovoltaic output to the electricity consumption of the producers and sellers of two adjacent nodes in the same area is the supply-demand balance rate, and the supply-demand balance rate is used as a benefit indicator. The expression of the supply-demand balance rate is:

[0063]

[0064] in, is the power self-sufficiency rate when the node ij is in the same partition; , and , are the photovoltaic output and power consumption of nodes i and j respectively; is the balance between supply and demand between nodes ij, whether supply exceeds demand or demand exceeds supply, The closer it is to 1, The closer it is to 1, the better the balance between supply and demand.

[0065] Step 102: Generate a number of trading areas of the distribution network to be configured according to a preset module function method, the electrical connection strength and the supply-demand balance.

[0066] In this embodiment, the generating of several trading areas of the distribution network to be configured according to the preset module function degree method, the electrical connection strength and the supply-demand balance degree includes:

[0067] Substituting the electrical connection strength and the supply-demand balance into the Newman modularity function expression corresponding to the modularity function method, and calculating the partition of each node when the comprehensive modularity is maximized;

[0068] Aggregate the nodes in the same partition to obtain several transaction areas;

[0069] Among them, the Newman modularity function expression is specifically:

[0070]

[0071] In the formula, is the electrical connection strength, The balance between supply and demand, is the comprehensive weight value of node ij; Indicates that the ij nodes are connected, otherwise it is 0; is the comprehensive modularity, The larger the value, the higher the electrical connection strength, the closer the supply and demand balance is to 1, and the better the division effect; M is the node set; represents the clustering result, Indicates that the ij nodes are in the same partition, otherwise it is 0.

[0072] Step 103: According to each of the transaction areas, a transaction model between the user and the operator corresponding to each of the transaction areas is established.

[0073] In this embodiment, the operator needs to formulate differentiated time-of-use electricity prices for each region to attract producers and sellers to participate in the demand response of power sharing. The established operator point-to-point transaction model is as follows:

[0074]

[0075] in, , are the purchase and sale prices of electricity from the power grid; , are the electricity purchase and sale prices set by the operator in region n respectively;

[0076] The operator's operation and dispatching process takes the maximum total revenue as the objective function, and its objective function is as follows:

[0077]

[0078]

[0079] in, The total revenue of the operator's operation scheduling process; It is the income from the transaction between the operator and the producer and seller; , are the electricity purchase and sales of producers and sellers in region n during period t, respectively; is the regional carbon trading price; The cost of trading electricity with the grid within the region; is the actual electricity consumption of producers and sellers; It is the actual output value of the new energy equipment owned by the producer and seller.

[0080] In a specific embodiment, the maximum electricity benefit and the minimum electricity cost are taken as the objective function, the actual electricity consumption is taken as the decision variable, and the upper and lower limits of electricity consumption are set to establish a point-to-point transaction model between producers and sellers, specifically:

[0081] The goal of the region n producer and marketer in the process of operation is to maximize profits:

[0082]

[0083]

[0084] in, is the total revenue of producers and sellers in region n during operation; The benefits obtained by producers and marketers from using electricity, such as the greater the amount of electricity a factory uses, the more goods it produces and the greater the profits it earns; is the benefit coefficient of each producer and marketer. The higher its value, the more actively the producer and marketer consumes electricity to obtain greater benefits. is the electricity purchase cost of producer and seller a;

[0085] During the energy adjustment process, producers and sellers should also meet the upper and lower limits of electricity consumption adjustment:

[0086]

[0087] in, Adjusting the lower limit for electricity consumption; Adjust the upper limit for electricity usage.

[0088] In the upper-level point-to-point transaction optimization, the objective function of both the producer and the operator is to maximize the profit. The present invention establishes a master-slave game model to analyze the decision-making game process between the operator and the producer and the operator. The operator, as the leader, has the priority decision-making power. With formula (X) as the payment function, is the decision set; the producer and seller act as followers, and take formula (X) as the payment function, is the decision set; the decision sets of both parties are non-empty, closed, bounded convex sets in the decision space, and the payment functions are continuous quasi-concave functions;

[0089] The following proves that there is a unique optimal power consumption in the decision space of producers and sellers. Ask about electricity consumption The first-order derivative of is:

[0090]

[0091] when , When the internal electricity price of all regions is the same as the grid electricity price, the actual electricity consumption of producers and sellers is the same as the planned electricity consumption. Equal, let , get the initial benefit coefficient :

[0092]

[0093] right Ask about electricity consumption The second-order derivative of is:

[0094]

[0095] According to the above results, >0, ,therefore About concave function, there is a unique optimal power consumption of the user in the decision space of the producer and seller ;

[0096] The following proves that there is a unique optimal internal purchase and sale price in the operator's decision space, For example, about , The Jacobian matrix of the gradients gives the Hessian matrix H of the total returns of the operators:

[0097]

[0098] In the formula, all variables are positive, so the Hessian matrix is ​​a negative definite matrix, then about , concave function; In summary, the master-slave game model between producers and operators has a unique equilibrium solution.

[0099] Step 104: Solve the transaction model to obtain the optimal power consumption of the user and the optimal purchase and sale price of electricity for the operator corresponding to each transaction area.

[0100] In this embodiment, the transaction model includes: an operator point-to-point transaction model, a producer-seller point-to-point transaction model, and a master-slave game model; solving the transaction model to obtain the optimal power consumption of the user and the optimal purchase and sale price of the operator corresponding to each transaction area includes:

[0101] When the electricity price sold by the power grid is equal to the electricity price set by the operator, the electricity price purchased by the power grid is equal to the electricity price purchased by the operator, and the first-order derivative of the actual electricity consumption of the prosumer is 0, the initial benefit coefficient is calculated; wherein the first-order derivative of the actual electricity consumption of the prosumer is 0, and the following conditions are met: ; In the formula, is the total revenue of producers and sellers in region n during operation, is the actual electricity consumption of the producer and seller; the initial benefit coefficient meets the following conditions:

[0102]

[0103] In the formula, is the initial benefit coefficient, is the electricity price sold by the power grid, is the purchase price of electricity from the grid, is the actual electricity consumption of producers and sellers, The actual output value of the new energy equipment owned by the producer and seller. Settle prices for carbon trading;

[0104] Substitute the initial benefit coefficient into the producer-seller point-to-point transaction model to calculate the optimal power consumption of the user; wherein the producer-seller point-to-point transaction model is specifically:

[0105]

[0106] In the formula, is the electricity price set by the operator in area n and time t, is the electricity purchase price set by the operator in area n and time t, Optimal power consumption for users;

[0107] Substitute the user's optimal electricity consumption into the operator's point-to-point transaction model. and Find the first-order derivative and set it to 0 to obtain the optimal purchase and sale price of electricity for the operator; wherein the operator point-to-point transaction model is specifically:

[0108]

[0109] In the formula, is the number of producers and sellers in an operating area. is the number of producers and sellers who are consumers in an operating area, is the total revenue of the operator's operation scheduling process, It is the income from the transaction between operators and producers and sellers. is the cost of trading electricity with the power grid within the region, , is the optimal electricity purchase and sale price for operators, among which, Provide operators with the best purchasing electricity price, Provide operators with the best electricity price.

[0110] Step 105: Determine the shared energy storage configuration parameters corresponding to each of the trading areas based on the user's optimal electricity consumption and the operator's optimal electricity purchase and sale price, and then determine the site selection of the distribution network to be configured based on the shared energy storage configuration parameters; wherein the shared energy storage configuration parameters include: shared energy storage optimal capacity and shared energy storage power configuration.

[0111] In this embodiment, the shared energy storage configuration parameters corresponding to each of the transaction areas are determined according to the optimal power consumption of the user and the optimal purchase and sale power price of the operator, including:

[0112] Determine the unbalanced electricity volume corresponding to each of the trading areas according to the optimal electricity consumption of the user and the optimal electricity purchase and sale price of the operator;

[0113] The shared energy storage configuration parameters corresponding to each of the trading areas are calculated based on the configuration parameter calculation formula, model constraints and the unbalanced electricity quantity.

[0114] In a specific embodiment, the capacity and power of the energy storage system are calculated according to the partition point-to-point transaction results:

[0115]

[0116]

[0117] in, To cover the transaction costs with the grid; The daily investment cost of the energy storage system; is the cost of carbon trading within the region; To share the benefits of energy storage systems; To exchange electricity with the power grid; , is the discharge power and charging power of the energy storage system in region n during period t is the price per unit energy storage capacity; is the price per unit energy storage power; The maximum capacity allocated to the operator’s shared energy storage system; The maximum power configured for the operator’s shared energy storage system; is the annualized investment rate; is the number of days in a year; Settle prices for carbon trading; is the intra-regional carbon trading volume; is the carbon emission per unit of grid electricity; The carbon emission quota benchmark value per unit of grid electricity; is the discount rate; The operating life of the equipment; is the capacity status of the energy storage system in region n during period t;

[0118] During the operation of energy storage, operators need to ensure that the power balance constraints are met within the jurisdiction, avoid the constraints of purchasing and selling electricity from the grid at the same time, the charging and discharging power range of the energy storage system, avoid simultaneous charging and discharging, the battery capacity range, the continuous change of capacity state, and the same initial capacity and ending capacity state, so as to establish specific models and constraints:

[0119]

[0120] in, , , is the energy storage state of region n at the beginning and end of period t; , It is the energy storage charging and discharging efficiency; , The upper and lower limits of energy storage in region n; The maximum power of energy storage charging and discharging; , A Boolean variable indicating the energy storage charging and discharging status;

[0121] At the same time, the big M method is used to linearize it, where M is a sufficiently large constant. Finally, the point-to-point transaction optimization and profit model is transformed into a linear programming model.

[0122] In this embodiment, determining the site selection of the distribution network to be configured based on the shared energy storage configuration parameters includes:

[0123] According to the optimal capacity of the shared energy storage and the power configuration of the shared energy storage, a preset mixed integer programming model is substituted to output the site selection of the distribution network to be configured; wherein the mixed integer programming model is specifically: a model obtained by using a heuristic algorithm under the condition of considering power flow constraints, taking site selection as a decision variable, and taking minimum network loss as an objective function.

[0124] In a specific embodiment, according to the energy storage capacity, the node is used as a decision variable to perform power flow calculation and find the best installation node; the traditional BMF-OPF power flow calculation model is a nonlinear programming model, in which , , for three consecutive nodes i, j, and k, the model is as follows:

[0125]

[0126]

[0127] in, , Inject active and reactive power into nodes; , are the active power flowing out and into the node respectively; , is the reactive power of the same kind; is the node voltage; is the branch current; , , , are the upper and lower limits of the square of branch current and node voltage; , is the branch resistance and reactance.

[0128] In a specific embodiment, the model of the present invention assumes that the electricity obtained by the system from the upper power grid comes from coal-fired power plants, and the free allocation of carbon emission quotas is implemented, with a free carbon emission quota of 1.15kg / kWh, and the actual carbon emission quota per unit of electricity consumption is 0.798kg / kWh. Set the tiered carbon trading cycle to one day, the price to 250 yuan / ton, the interval length to 2 tons, and the price growth rate to 25%. Finally, in order to illustrate the effectiveness of the model in this paper, the following four scenarios are set for comparative demonstration based on the IEEE33 standard node.

[0129] Table 1 Scheme settings

[0130]

[0131] Table 2 Producer and marketer benefits

[0132]

[0133] The revenues of producers and sellers under the four schemes are shown in Table 2. The electricity prices for each region in Scheme 4 are as follows: Figure 5 As shown. By comparing Schemes 1 and 2, it can be seen that, under the condition of considering the power flow constraints, although the producers and sellers in Scheme 2 configure energy storage in the form of cooperative game, since part of the photovoltaic surplus cannot be safely transmitted to the energy storage system through the line, the benefits of energy storage will decrease, resulting in a decrease in total benefits. In Schemes 3 and 4, producers and sellers participate in point-to-point transactions led by operators and adjust their own electricity consumption according to real-time electricity prices. With a slight increase in electricity purchase costs, the electricity efficiency is better improved, resulting in an increase in total benefits.

[0134] Table 3 Operator Revenue

[0135]

[0136] The benefits of the operator (distribution network) under the four schemes are shown in Table 3.

[0137] In Schemes 1 and 2, producers and sellers do not participate in the point-to-point transactions led by operators, but trade directly with the distribution network according to the grid electricity price, and the distribution network needs to bear the network loss cost. In Scheme 1, when producers and sellers allocate energy storage by themselves, they do not consider the flow constraints, so they will configure energy storage to meet their own electricity consumption and transmit all the excess electricity to the grid, causing the voltage of some nodes to exceed the limit. In Scheme 2, producers and sellers cooperate to configure energy storage at node X. Due to the flow safety constraints, the surplus photovoltaic power of some producers and sellers cannot be safely connected to the grid or transmitted to the energy storage system, resulting in a large amount of abandoned light waste, and also increasing the cost of purchasing electricity, network loss costs, and carbon emission costs.

[0138] In Schemes 3 and 4, producers and sellers participate in point-to-point transactions led by operators, and the operators bear the network loss costs. In Scheme 3, operators can calculate internal electricity prices based on the purchase and sale of electricity in each region and guide producers and sellers to adjust their electricity consumption. When there is a surplus of electricity within the region, producers and sellers are encouraged to increase their electricity consumption, which not only increases their profits but also promotes the consumption of new energy; when there is a deficit of electricity within the region, producers and sellers are encouraged to reduce their electricity consumption and reduce the cost of purchasing electricity and carbon emissions. Compared with Scheme 2, the amount of abandoned light has been reduced by 53.2%, and the cost of purchasing electricity and the cost of carbon emissions have been reduced by 23.1% and 15.4% respectively; however, due to the constraints of power flow safety, there is still a large amount of photovoltaic surplus that cannot be transmitted to the grid or stored. In Scheme 4, the operator optimizes the site selection and capacity of shared energy storage based on the transaction results, and consumes the photovoltaic surplus within the operating range to the greatest extent under the condition of meeting the power flow constraints. Compared with Option 3, the energy storage benefits are increased by 43.5%, and the electricity purchase cost and carbon emission cost are further reduced by 34.3% and 20.5%, nearly doubling the total benefits.

[0139] Table 4 Energy storage system configuration results

[0140]

[0141] The voltage fluctuation and energy storage configuration results of the four schemes are shown in Table 4 and Figure 3 The power balance of 33 nodes is shown in Figure 6 shown.

[0142] In Scheme 1, the producers and sellers only configure energy storage to meet their own energy needs, and put the excess electricity online, but the voltage between 8 and 16 o'clock will seriously exceed the upper limit. In Scheme 2, although the producers and sellers can take into account the energy needs of other producers and sellers in the cooperative configuration of energy storage, due to network constraints, it is difficult to configure sufficient capacity to meet the storage needs. The node voltage at the end of the line at night is easy to exceed the lower limit. At the same time, compared with Scheme 1, the annual income brought by energy storage has also dropped by 310,000 yuan. In Scheme 3, the operator coordinates the transaction of shared electricity, and the producers and sellers adjust their energy consumption under the guidance of the operator. Therefore, under the condition of meeting network constraints, more electricity can be stored to meet the nighttime energy demand, making the overall voltage fluctuation level relatively gentle. The scale of energy storage has been greatly improved compared with Scheme 2, and the income has increased by 1.32 million yuan. In Scheme 4, the operator optimizes the location and charging and discharging power of energy storage according to the operation of the system network, stores the photovoltaic surplus in the system to the greatest extent, and maintains the stability of the node voltage. Therefore, the energy storage capacity and power scale are the largest, and the annual income is the highest, which is 4.77 million yuan.

[0143] Table 5 Calculation time

[0144]

[0145] The comparison of the energy storage site selection method proposed in this paper with the traditional solver, heuristic algorithm solution results, and calculation time is shown in Table 5. The optimization results of the power sales area division and shared energy storage site selection in Scheme 4 are shown in Figure 4 shown.

[0146] See also Figure 2 , Figure 2 It is a structural schematic diagram of a configuration device for shared energy storage provided by an embodiment of the present invention, comprising: a data acquisition module 201, a region division module 202, a model establishment module 203, a model operation module 204 and a result generation module 205;

[0147] The data acquisition module is used to obtain the inter-node line parameters of the distribution network to be configured and the historical user photovoltaic output and power consumption data, and calculate the electrical connection strength and supply-demand balance of the distribution network to be configured;

[0148] The area division module is used to generate a plurality of trading areas of the distribution network to be configured according to a preset module function degree method, the electrical connection strength and the supply-demand balance degree;

[0149] The model building module is used to build a transaction model of users and operators corresponding to each transaction area according to each transaction area;

[0150] The model operation module is used to solve the transaction model to obtain the optimal power consumption of users and the optimal purchase and sale price of electricity of operators corresponding to each transaction area;

[0151] The result generation module is used to determine the shared energy storage configuration parameters corresponding to each of the trading areas according to the user's optimal electricity consumption and the operator's optimal purchase and sale electricity price, and then determine the site selection of the distribution network to be configured based on the shared energy storage configuration parameters; wherein the shared energy storage configuration parameters include: shared energy storage optimal capacity and shared energy storage power configuration.

[0152] It can be understood that the above-mentioned system item embodiments correspond to the method item embodiments of the present invention, and can implement the shared energy storage configuration method provided by any one of the above-mentioned method item embodiments of the present invention.

[0153] This embodiment calculates the electrical connection strength and supply-demand balance of the distribution network to be configured by acquiring the line parameters between nodes of the distribution network to be configured and the historical user photovoltaic output and power consumption data; generates several trading areas of the distribution network to be configured according to the preset module function method, the electrical connection strength and the supply-demand balance; establishes a trading model of users and operators corresponding to each trading area according to each trading area; solves the trading model to obtain the optimal power consumption of users and the optimal purchase and sale price of electricity of operators corresponding to each trading area; determines the shared energy storage configuration parameters corresponding to each trading area according to the optimal power consumption of users and the optimal purchase and sale price of electricity of operators, and then determines the site selection of the distribution network to be configured based on the shared energy storage configuration parameters; wherein the shared energy storage configuration parameters include: the optimal capacity of shared energy storage and the power configuration of shared energy storage. The present invention analyzes and generates the address of shared energy storage by considering the relationship between power sales operators and producers and sellers in the process of point-to-point transactions.

[0154] Embodiment 2

[0155] See also Figure 7 , Figure 7 It is a schematic diagram of the structure of a terminal device provided in one embodiment of the present invention.

[0156] A terminal device of this embodiment includes: a processor 701, a memory 702, and a computer program stored in the memory 702 and executable on the processor 701. When the processor 701 executes the computer program, the steps of the above-mentioned configuration method of each shared energy storage in the embodiment are implemented, for example Figure 1 Alternatively, when the processor executes the computer program, the functions of each module in the above-mentioned device embodiments are implemented, for example: Figure 2 The configuration shown is for shared energy storage of all modules.

[0157] In addition, an embodiment of the present invention further provides a computer-readable storage medium, which includes a stored computer program, wherein when the computer program is running, the device where the computer-readable storage medium is located is controlled to execute the shared energy storage configuration method described in any of the above embodiments.

[0158] Those skilled in the art will understand that the schematic diagram is merely an example of a terminal device and does not constitute a limitation on the terminal device. The terminal device may include more or fewer components than shown in the diagram, or a combination of certain components, or different components. For example, the terminal device may also include input and output devices, network access devices, buses, etc.

[0159] The processor 701 may be a central processing unit (CPU), or other general-purpose processors, digital signal processors (DSP), application-specific integrated circuits (ASIC), field-programmable gate arrays (FPGA) or other programmable logic devices, discrete gate or transistor logic devices, discrete hardware components, etc. A general-purpose processor may be a microprocessor or any conventional processor, etc. The processor 701 is the control center of the terminal device, and uses various interfaces and lines to connect various parts of the entire terminal device.

[0160] The memory 702 can be used to store the computer program and / or module. The processor 701 implements various functions of the terminal device by running or executing the computer program and / or module stored in the memory and calling the data stored in the memory 702. The memory 702 can mainly include a program storage area and a data storage area, wherein the program storage area can store an operating system, an application required for at least one function (such as a sound playback function, an image playback function, etc.); the data storage area can store data created according to the use of the mobile phone (such as audio data, a phone book, etc.). In addition, the memory can include a high-speed random access memory, and can also include a non-volatile memory, such as a hard disk, a memory, a plug-in hard disk, a smart memory card (Smart Media Card, SMC), a secure digital (Secure Digital, SD) card, a flash card (Flash Card), at least one disk storage device, a flash memory device, or other volatile solid-state storage devices.

[0161] Wherein, if the module / unit integrated in the terminal device is implemented in the form of a software functional unit and sold or used as an independent product, it can be stored in a computer-readable storage medium. Based on such an understanding, the present invention implements all or part of the processes in the above-mentioned embodiment method, and can also be completed by instructing the relevant hardware through a computer program. The computer program can be stored in a computer-readable storage medium, and the computer program can implement the steps of the above-mentioned various method embodiments when executed by the processor. Wherein, the computer program includes computer program code, and the computer program code can be in source code form, object code form, executable file or some intermediate form, etc. The computer-readable medium can include: any entity or device capable of carrying the computer program code, recording medium, U disk, mobile hard disk, disk, optical disk, computer memory, read-only memory (ROM, Read-Only Memory), random access memory (RAM, Random Access Memory), electric carrier signal, telecommunication signal and software distribution medium, etc.

[0162] It should be noted that the device embodiments described above are merely schematic, wherein the units described as separate components may or may not be physically separated, and the components displayed as units may or may not be physical units, that is, they may be located in one place, or they may be distributed on multiple network units. Some or all of the modules may be selected according to actual needs to achieve the purpose of the scheme of this embodiment. In addition, in the accompanying drawings of the device embodiments provided by the present invention, the connection relationship between the modules indicates that there is a communication connection between them, which may be specifically implemented as one or more communication buses or signal lines. A person of ordinary skill in the art may understand and implement it without paying any creative effort.

[0163] The above is a preferred embodiment of the present invention. It should be pointed out that a person skilled in the art can make several improvements and modifications without departing from the principle of the present invention. These improvements and modifications are also considered to be within the scope of protection of the present invention.

Claims

1. A method for configuring shared energy storage, It is characterized in that include: Obtaining inter-node line parameters of the distribution network to be configured and historical user photovoltaic output and power consumption data, and calculating the electrical connection strength and supply-demand balance of the distribution network to be configured; According to the preset modularity method, the electrical connection strength and the supply-demand balance, several trading areas of the distribution network to be configured are generated; wherein, according to the preset modularity method, the electrical connection strength and the supply-demand balance, several trading areas of the distribution network to be configured are generated, including: substituting the electrical connection strength and the supply-demand balance into the Newman modularity function expression corresponding to the modularity method, calculating the partition of each node when the comprehensive modularity is maximum; aggregating the nodes divided into the same partition to obtain several trading areas; wherein, the Newman modularity function expression is specifically: In the formula, is the electrical connection strength, The balance between supply and demand, is the comprehensive weight value of node ij; Indicates that the ij nodes are connected, otherwise it is 0; is the comprehensive modularity, The larger the value, the higher the electrical connection strength, the closer the supply and demand balance is to 1, and the better the division effect; M is the node set; represents the clustering result, Indicates that the ij nodes are divided into the same partition, otherwise it is 0; According to each of the transaction areas, a transaction model between the user and the operator corresponding to each of the transaction areas is established; Solving the transaction model to obtain the optimal electricity consumption of users and the optimal electricity purchase and sale price of operators corresponding to each transaction area; According to the user's optimal electricity consumption and the operator's optimal electricity purchase and sale price, the shared energy storage configuration parameters corresponding to each of the trading areas are determined, and then based on the shared energy storage configuration parameters, the site selection of the distribution network to be configured is determined; wherein the shared energy storage configuration parameters include: shared energy storage optimal capacity and shared energy storage power configuration.

2. The method for configuring shared energy storage according to claim 1, It is characterized in that The inter-node line parameters include: electrical connection equivalent impedance and equivalent transmission capacity; the calculation of the electrical connection strength and supply-demand balance of the distribution network to be configured includes: Substituting the electrical connection equivalent impedance and the equivalent transmission capacity into an electrical connection strength calculation formula, the electrical connection strength of the distribution network to be configured is calculated; The historical user photovoltaic output and power consumption data are substituted into the supply and demand balance rate calculation formula to calculate the supply and demand balance of the distribution network to be configured.

3. The method for configuring shared energy storage according to claim 2, It is characterized in that The transaction model includes: an operator point-to-point transaction model and a producer-seller point-to-point transaction model; solving the transaction model to obtain the optimal power consumption of users and the optimal purchase and sale price of electricity of operators corresponding to each transaction area includes: When the electricity price sold by the power grid is equal to the electricity price set by the operator, the electricity price purchased by the power grid is equal to the electricity price purchased by the operator, and the first-order derivative of the actual electricity consumption of the prosumer is 0, the initial benefit coefficient is calculated; wherein the first-order derivative of the actual electricity consumption of the prosumer is 0, and the following conditions are met: ; In the formula, is the total revenue of producers and sellers in region n during operation, is the actual electricity consumption of the producer and seller; the initial benefit coefficient meets the following conditions: In the formula, is the initial benefit coefficient, is the electricity price sold by the power grid, is the purchase price of electricity from the grid, is the actual electricity consumption of producers and sellers, The actual output value of the new energy equipment owned by the producer and seller. Settle prices for carbon trading; Substitute the initial benefit coefficient into the producer-seller point-to-point transaction model to calculate the optimal power consumption of the user; wherein the producer-seller point-to-point transaction model is specifically: In the formula, is the electricity price set by the operator in area n and time t, is the electricity purchase price set by the operator in area n and time t, Optimal power consumption for users; Substitute the user's optimal electricity consumption into the operator's point-to-point transaction model. and Find the first-order derivative and set it to 0. After solving, the optimal purchase and sale price of electricity of the operator can be obtained. Among them, the operator's point-to-point transaction model is specifically as follows: In the formula, , are the electricity purchase and sales of producers and sellers in region n during period t, is the number of producers and sellers in the operating area, is the number of producers and sellers who are consumers in the operating area, is the total revenue of the operator's operation scheduling process, It is the income from the transaction between operators and producers and sellers. is the cost of trading electricity with the power grid within the region, , is the optimal electricity purchase and sale price for operators, among which, Provide operators with the best purchasing electricity price, Provide operators with the best electricity price.

4. The method for configuring shared energy storage according to claim 3, It is characterized in that Determining the shared energy storage configuration parameters corresponding to each of the transaction areas according to the optimal power consumption of the user and the optimal purchase and sale power price of the operator includes: Determine the unbalanced electricity volume corresponding to each of the trading areas according to the optimal electricity consumption of the user and the optimal electricity purchase and sale price of the operator; The shared energy storage configuration parameters corresponding to each of the trading areas are calculated based on the configuration parameter calculation formula, model constraints and the unbalanced electricity quantity.

5. The method for configuring shared energy storage according to claim 4, It is characterized in that The determining, based on the shared energy storage configuration parameters, the site selection of the distribution network to be configured, comprises: According to the optimal capacity of the shared energy storage and the power configuration of the shared energy storage, a preset mixed integer programming model is substituted to output the site selection of the distribution network to be configured; wherein the mixed integer programming model is specifically: a model obtained by using a heuristic algorithm under the condition of considering power flow constraints, taking site selection as a decision variable, and taking minimum network loss as an objective function.

6. A configuration device for shared energy storage, It is characterized in that include: Data acquisition module, area division module, model building module, model operation module and result generation module; The data acquisition module is used to obtain the inter-node line parameters of the distribution network to be configured and the historical user photovoltaic output and power consumption data, and calculate the electrical connection strength and supply-demand balance of the distribution network to be configured; The area division module is used to generate several trading areas of the distribution network to be configured according to a preset modular function method, the electrical connection strength and the supply and demand balance; wherein, the generation of several trading areas of the distribution network to be configured according to the preset modular function method, the electrical connection strength and the supply and demand balance includes: substituting the electrical connection strength and the supply and demand balance into the Newman modularity function expression corresponding to the modularity method, and calculating the partition of each node when the comprehensive modularity is maximum; aggregating the nodes divided into the same partition to obtain several trading areas; wherein, the Newman modularity function expression is specifically: In the formula, is the electrical connection strength, The balance between supply and demand, is the comprehensive weight value of node ij; Indicates that the ij nodes are connected, otherwise it is 0; is the comprehensive modularity, The larger the value, the higher the electrical connection strength, the closer the supply and demand balance is to 1, and the better the division effect; M is the node set; represents the clustering result, Indicates that the ij nodes are divided into the same partition, otherwise it is 0; The model building module is used to build a transaction model of users and operators corresponding to each transaction area according to each transaction area; The model operation module is used to solve the transaction model to obtain the optimal power consumption of users and the optimal purchase and sale price of electricity of operators corresponding to each transaction area; The result generation module is used to determine the shared energy storage configuration parameters corresponding to each of the trading areas according to the user's optimal electricity consumption and the operator's optimal purchase and sale electricity price, and then determine the site selection of the distribution network to be configured based on the shared energy storage configuration parameters; wherein the shared energy storage configuration parameters include: shared energy storage optimal capacity and shared energy storage power configuration.

7. A computer terminal device, It is characterized in that It comprises a processor, a memory, and a computer program stored in the memory and configured to be executed by the processor, and when the processor executes the computer program, it implements a method for configuring shared energy storage as described in any one of claims 1 to 5.

8. A computer-readable storage medium, It is characterized in that The computer-readable storage medium includes a stored computer program, wherein when the computer program is executed, the device where the computer-readable storage medium is located is controlled to execute a shared energy storage configuration method as described in any one of claims 1 to 5.