Power distribution network energy storage double-layer optimization configuration method, system, equipment and medium

By establishing a two-layer optimized configuration model of the energy storage system in the distribution network, combining the photovoltaic power output and the investment cost of the energy storage system, the access location and capacity of the energy storage system are optimized to solve the problem of low photovoltaic access level and abandoned light. solve the problem of high efficiency and achieve more efficient photovoltaic access and distribution network stability.

CN118589549APending Publication Date: 2024-09-03POWER RES INST OF STATE GRID SHAANXI ELECTRIC POWER CO LTD +1
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202410648228.5
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2024-05-23
Publication Date
2024-09-03

AI Technical Summary

Technical Problem

The existing technology has problems such as reverse flow and overvoltage when the photovoltaic system is connected to the distribution network, which threatens the stability of the power system. Moreover, the optimized configuration of the energy storage system fails to effectively combine the photovoltaic light abandonment rate, resulting in low photovoltaic access levels. lower.

Method used

A dual-layer optimal configuration method for energy storage in distribution network is proposed. By establishing an upper-layer site selection and capacity model and a lower-layer operation optimization model, combined with the investment and construction cost of the energy storage system and photovoltaic power output, the particle swarm coding algorithm and CPLEX solver are used. , determine the access location and capacity of the energy storage system, and optimize the operation of the energy storage system to reduce the photovoltaic light abandonment rate through repeated iterative optimization strategies.

Benefits of technology

It effectively improves the level of distributed photovoltaic access, solves the randomness and intermittent problems of photovoltaic systems, reduces the photovoltaic light abandonment rate, and improves the stability and economic benefits of the distribution network.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN118589549A
    Figure CN118589549A
Patent Text Reader

Abstract

The invention belongs to the technical field of power distribution network planning, and discloses a power distribution network energy storage double-layer optimization configuration method, system and device and a medium. The method comprises the following steps: establishing an upper-layer locating and sizing model of the energy storage system of the power distribution network by considering the investment and construction cost of an energy storage system device and the operation cost of the power distribution network under the condition of optimal scheduling; combining the output result of the upper-layer locating and sizing model with the output of the energy storage system in the charging period and the photovoltaic power output, and establishing a lower-layer operation optimization model of the energy storage system of the power distribution network; and solving the upper-layer addressing and sizing model to obtain the access position and access capacity of the energy storage system, inputting the lower-layer operation optimization model for solving, feeding back a lower-layer optimization result obtained by solving to the upper-layer addressing and sizing model, and determining an energy storage optimal configuration and operation strategy in the feasible region through repeated iteration solving. According to the invention, the photovoltaic access level can be improved, and the problems of randomness and intermittency of distributed photovoltaic are solved.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present invention belongs to the technical field of distribution network planning, and in particular relates to a distribution network energy storage double-layer optimization configuration method, system, equipment and medium. Background Art

[0002] With the accelerated advancement of the energy revolution, in the context of coal-to-electricity conversion and whole-county photovoltaic transformation, a large number of photovoltaic systems are connected to the end of the distribution network, which will cause reverse flow, overvoltage and other phenomena. Under extreme conditions, it will also cause serious accidents such as voltage exceeding the limit and photovoltaic batch disconnection from the grid, which will seriously threaten the stable operation of the power system.

[0003] In view of the above situation, domestic and foreign scholars have conducted a lot of research on the optimization model of photovoltaics and the solution algorithm of the optimization model. The existing analytical algorithm is essentially a special case of the modeling optimization method under several ideal conditions, and its application scope is limited; in addition, the modeling optimization method of distributed power planning in the distribution network is difficult to model in actual engineering, and the solution is complex or even impossible to solve; therefore, a new method of connecting the energy storage system to the distribution network is proposed. Explanatory, the energy storage system is an effective and adaptable resource that allows charging / discharging states and adjustable power size changes. Especially when photovoltaics are connected to the distribution network at a high level, the energy storage system can increase the access and usage of photovoltaics.

[0004] At present, most of the research on the optimal configuration of energy storage systems aims to establish an optimal configuration model for energy storage systems by combining the voltage quality of the distribution network with the economic cost. However, it does not consider the combination of the photovoltaic abandonment rate and the configuration of the energy storage system, resulting in a low level of photovoltaic access. Summary of the invention

[0005] The purpose of the present invention is to provide a method, system, device and medium for optimizing the configuration of energy storage in a distribution network to solve one or more of the above-mentioned technical problems. The technical solution provided by the present invention can improve the level of photovoltaic access and solve the randomness and intermittency problems of distributed photovoltaics.

[0006] In order to achieve the above object, the present invention adopts the following technical solutions:

[0007] In a first aspect, the present invention provides a method for optimizing the configuration of a distribution network energy storage double layer, comprising the following steps:

[0008] By considering the investment and construction cost of energy storage system devices and the operating cost of the distribution network under optimal dispatching, an upper-level site selection and capacity determination model for the distribution network energy storage system is established.

[0009] The output results of the upper-level site selection and sizing model are combined with the output of the energy storage system during the charging period and the photovoltaic power output to establish a lower-level operation optimization model for the distribution network energy storage system.

[0010] The upper-level site selection and sizing model is solved to obtain the access location and access capacity of the energy storage system, and the obtained access location and access capacity are input into the lower-level operation optimization model for solution. The obtained lower-level optimization results are fed back to the upper-level site selection and sizing model, and the optimal configuration and operation strategy of energy storage in the feasible domain are determined through repeated iterative solutions.

[0011] A further improvement of the present invention is that in the upper-layer site selection and capacity determination model,

[0012] The objective function is expressed as, minf1 = min(C BESS , C Loss , C DG , C PB , C B );

[0013] In the formula, C BESS , C Loss , C DG , C PB , C B They represent the investment and construction costs of the energy storage system, the loss costs of the distribution network, the reactive power costs provided by the distributed power sources, the energy storage charging and discharging costs, and the electricity purchasing costs respectively;

[0014] The constraints include capacity constraints, installation location constraints, node power balance constraints, node voltage constraints and branch active power constraints.

[0015] A further improvement of the present invention is that

[0016]

[0017] In the formula, m is the number of energy storage installations; C p is the unit power cost of energy storage; P BESS Configure power for energy storage; C E E is the unit capacity cost of energy storage; BESS is the configured capacity; r is the discount rate; n is the life of the energy storage system;

[0018]

[0019] Where, T is the number of days the energy storage system operates in a year; P Loss (i) is the power loss of the power grid at the sampling time; Δt is the system sampling time interval; R(i) is the time-of-use electricity price;

[0020]

[0021] Where P ds (i) The reactive power provided by the distributed generation at the sampling time;

[0022]

[0023] Where P ch (i) is the charging power of the energy storage battery at the sampling time; P dis (i) is the discharge power;

[0024]

[0025] In the formula, C buy is the electricity purchase cost when no energy storage is connected; C ess The portion of the main grid electricity purchase fee that energy storage participates in regulation; C ebuy is the peak-valley unit electricity price; P load,t represents the total system load when the energy storage is not connected at time t; P ess,k,t is the active power generated by the kth energy storage system at time t.

[0026] A further improvement of the present invention is that

[0027]

[0028] The capacity constraint is expressed as,

[0029] In the formula, E es max Indicates the maximum rated capacity of the node; represents the average capacity of the node; P es is the active power emitted by the node;

[0030] The installation position constraint is expressed as, x es ∈X cap ;

[0031] In the formula, x es is the node of the energy storage system, X cap Represents the set of nodes that can be equipped with energy storage;

[0032]

[0033] The node power balance constraint is expressed as,

[0034] Where P it , Q it are respectively the injected active power and reactive power of grid node i at time t; U it , U jt are the voltages of nodes i and j at time t; it , δ jt are the phase angles of nodes i and j at time t; G ij , B ij are the real and imaginary parts of the i-th row and j-th column of the node admittance matrix respectively; N is the total number of nodes;

[0035] The node voltage constraint is expressed as, U i,min ≤U i,t ≤U i,max ;

[0036] Where U i,min , U i,max are the lowest voltage and the highest voltage allowed by node i respectively; U i,t is the actual voltage of node i at time t;

[0037] The branch active power constraint is expressed as, -P l,max ≤P l,t ≤P l,max ;

[0038] Where P l,max is the maximum active power of branch l; P l,t is the actual active power of branch l at time t.

[0039] A further improvement of the present invention is that in the lower layer operation optimization model,

[0040] The objective function is expressed as, min f2 = min(K PV,loss );

[0041] In the formula, K PV,loss is the photovoltaic abandonment rate; P use Indicates the actual photovoltaic power generation used during the sampling interval; P ture represents the theoretical photovoltaic power generation within the sampling interval; T is the number of days the energy storage system operates in a year; Δt is the system sampling time interval;

[0042] The constraints include photovoltaic output constraints, energy storage charge state continuity constraints, energy storage charge state constraints, energy storage system power constraints and energy storage system charging and discharging power constraints.

[0043] A further improvement of the present invention is that

[0044] The photovoltaic output constraint is expressed as, P r,min ≤P G,r,t ≤P r,max ;

[0045] Where P r,min , P r,max are the minimum output and maximum output of the rth distributed generation respectively; P G,r,t is the actual output of the rth power source at time t;

[0046] The continuity constraint of energy storage state of charge is expressed as:

[0047] In the formula, S oc,x,0 and S oc,x,t are the charge states of the energy storage system x at the initial time and time t respectively; P ch,x and P dis,x are the charging and discharging power of the energy storage system x respectively; η c,x and η d,x are the charging and discharging efficiencies of the energy storage system x, respectively; E BESS,x is the rated capacity of the energy storage system x; ΔT is the system scheduling time interval; h is the number of charge and discharge times of the energy storage; l is the time interval from the initial moment to the moment t;

[0048] The energy storage state of charge constraint is expressed as, S oc,min ≤S oc (i)≤S oc,max ;

[0049] In the formula, S oc,min and S oc,max are the minimum and maximum charge states of the energy storage system x, respectively; S oc (i) is the state of charge of the energy storage system at time i;

[0050] The power constraint of the energy storage system is expressed as, P BESS,i,t =x i (P dis,i,t -P ch,i,t );

[0051] Where P BESS,i,t is the actual charging and discharging power of the energy storage at node i at time t; i is a state variable of 0 or 1, 1 means that the i-th node of the grid is connected to the energy storage, and 0 means that the i-th node of the grid is connected to the energy storage; P dis,i,t P is the discharge power of energy storage node i at time t; ch,i,t The charging power of energy storage node i at time t;

[0052] The charging and discharging power constraints of the energy storage system are expressed as:

[0053] Where P BESS is the rated power of the energy storage connected to the i-th node; P dis,i,t P is the discharge power of energy storage node i at time t; ch,i,t The charging power of node i at time t.

[0054] A further improvement of the present invention is that the access location and access capacity of the energy storage system are obtained by solving the upper-level site selection and sizing model, the access location and access capacity are input into the lower-level operation optimization model for solution, and the lower-level optimization result obtained by the solution is fed back to the upper-level site selection and sizing model, and the optimal configuration and operation strategy of energy storage in the feasible domain are determined by repeated iterative solution.

[0055] The particle swarm coding algorithm is used to solve the upper-level site selection and capacity determination model;

[0056] The mathematical program solver CPLEX is used to solve the underlying operation optimization model.

[0057] A second aspect of the present invention provides a distribution network energy storage dual-layer optimization configuration system, comprising:

[0058] The first model building module is used to establish an upper-level site selection and capacity determination model for the distribution network energy storage system by considering the investment and construction cost of the energy storage system device and the operating cost of the distribution network under the optimized scheduling;

[0059] The second model building module is used to combine the output results of the upper-level site selection and capacity determination model with the output of the energy storage system during the charging period and the photovoltaic power output to establish a lower-level operation optimization model for the distribution network energy storage system;

[0060] The solution module is used to solve the upper-level site selection and sizing model to obtain the access location and access capacity of the energy storage system, input the obtained access location and access capacity into the lower-level operation optimization model for solution, and feed the obtained lower-level optimization results back to the upper-level site selection and sizing model, and determine the optimal configuration and operation strategy of energy storage in the feasible domain through repeated iterative solutions.

[0061] According to a third aspect of the present invention, there is provided an electronic device comprising a memory, a processor and a computer program stored in the memory and executable on the processor, wherein when the processor executes the program, the method for optimizing the configuration of energy storage in a distribution network as described in any one of the first aspects of the present invention is implemented.

[0062] According to a fourth aspect of the present invention, there is provided a non-transitory computer-readable storage medium having a computer program stored thereon, wherein when the computer program is executed by a processor, the method for optimizing the configuration of energy storage in a distribution network in a dual-layer manner as described in any one of the first aspects of the present invention is implemented.

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

[0064] The present invention provides a two-layer optimization configuration method for energy storage in the distribution network, and proposes a two-layer optimization mathematical model for the energy storage system, which can effectively improve the access level of distributed photovoltaics. Specifically, by considering the investment and construction cost of the energy storage system device and the operating cost of the distribution network under optimized scheduling, an upper-layer site selection and capacity determination model for the energy storage system of the distribution network is established, and the access location and access capacity of the initialization energy storage system location are determined, and the obtained results are used as input parameters for the lower-layer operation optimization analysis; the lower-layer operation optimization model combines the output of the energy storage system during the charging period and the photovoltaic power output, and carries out corresponding operation optimization analysis to minimize the amount of abandoned light in distributed photovoltaics, which can effectively improve the access level of distributed photovoltaics and solve the problems caused by the randomness and intermittency of distributed photovoltaics.

[0065] In the present invention, by considering the investment and construction cost of the energy storage system device and the distribution network operation cost under the optimized scheduling, an upper-level site selection and sizing model of the distribution network energy storage system is established; the upper-level optimization target is the access location, power and capacity of the energy storage system. The above technical parameters have both discrete integer variables and continuous variables, which are suitable for optimization and solution using a particle swarm algorithm. The upper-level site selection and sizing model is used to determine the access location and access capacity of the initialized energy storage system, and the obtained results are used as input parameters for the lower-level optimization operation analysis. Combined with the output of the energy storage system during the charging period and the photovoltaic power output, a lower-level operation optimization model is formed. The lower layer uses the CPLEX (mathematical program solver) solution tool combined with the flow calculation to optimize the operation strategy of the energy storage system to minimize the photovoltaic abandonment rate. BRIEF DESCRIPTION OF THE DRAWINGS

[0066] In order to more clearly illustrate the technical solutions in the present invention or the prior art, the drawings required for use in the embodiments or the description of the prior art will be briefly introduced below; obviously, the drawings described below are some embodiments of the present invention, and for ordinary technicians in this field, other drawings can be obtained based on these drawings without paying any creative work.

[0067] Figure 1 It is a flow chart of a method for optimizing the configuration of a double-layer energy storage system in a distribution network according to an embodiment of the present invention.

[0068] Figure 2 It is a schematic diagram of the network topology structure of the IEEE 33-node power distribution system in an embodiment of the present invention.

[0069] Figure 3 1 is a schematic diagram of a curve showing a typical daily output and a time-of-use electricity price of a photovoltaic power generation system in an embodiment of the present invention.

[0070] Figure 4 It is a schematic diagram of a curve showing a change in the total cost of a distributed energy storage system with the number of iterations in an embodiment of the present invention.

[0071] Figure 5 It is a schematic diagram of the state of charge curve of the energy storage at node 5 in an embodiment of the present invention.

[0072] Figure 6 It is a schematic diagram of an optimized scheduling operation curve in an embodiment of the present invention.

[0073] Figure 7 It is a schematic diagram of a double-layer optimized configuration system for energy storage in a distribution network in an embodiment of the present invention. DETAILED DESCRIPTION

[0074] In order to make the purpose, technical solution and advantages of the present invention clearer, the technical solution of the present invention will be clearly and completely described below in conjunction with the drawings in the present invention. Obviously, the described embodiments are part of the embodiments of the present invention, rather than all of the embodiments. Based on the embodiments in 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. In addition, the terms "including" and "having" and any variations thereof are intended to cover non-exclusive inclusions. For example, a process, method, system, product or device that includes a series of steps or units is not necessarily limited to those steps or units clearly listed, but may include other steps or units that are not clearly listed or inherent to these processes, methods, products or devices.

[0075] See also Figure 1 In an embodiment of the present invention, a method for optimizing the configuration of a two-layer energy storage system in a distribution network is provided, comprising the following steps:

[0076] Step 1: Establish an upper-level site selection and capacity determination model for the distribution network energy storage system by considering the investment and construction cost of the energy storage system device and the operating cost of the distribution network under optimal scheduling;

[0077] Step 2: Combine the output of the upper-level site selection and capacity determination model with the output of the energy storage system during the charging period and the photovoltaic power output to establish a lower-level operation optimization model for the distribution network energy storage system;

[0078] Step 3: Solve the upper-level site selection and sizing model to determine the access location and access capacity of the energy storage system and input them into the lower-level operation optimization model for solution. Obtain the lower-level optimization results and feed them back to the upper-level site selection and sizing model. Determine the optimal configuration and operation strategy of energy storage in the feasible domain through repeated iterative solutions.

[0079] In the specific exemplary scheme, when solving the upper-level site selection and capacity determination model, the particle swarm coding algorithm is used for solution; and the lower-level operation optimization model is solved by CPLEX (mathematical program solver).

[0080] In an embodiment of the present invention, a two-layer optimization configuration method for energy storage in a distribution network that considers improving the access level of photovoltaic power generation is disclosed, and a two-layer optimization mathematical model for an energy storage system is proposed. Among them, an upper-layer site selection and capacity determination model for the energy storage system of the distribution network is established by considering the investment and construction cost of the energy storage system device and the operating cost of the distribution network under optimized scheduling to determine the access location and access capacity of the initialization energy storage system location, and the obtained results are used as input parameters for the lower-layer operation optimization analysis. The lower-layer operation optimization model combines the output of the energy storage system during the charging period and the photovoltaic power output, and carries out corresponding operation optimization analysis to minimize the amount of abandoned light in distributed photovoltaics, effectively improving the access level of distributed photovoltaics.

[0081] In the embodiment of the present invention, in step 1, the objective function is to minimize the investment and construction cost of the energy storage system device and the total cost of system operation under optimal scheduling, which is expressed as:

[0082] minf1=min(C BESS , C Loss , C DG , C PB , C B );

[0083] In the formula, C BESS , C Loss , C DG , C PB , C B They represent the investment and construction costs of the energy storage system, the loss costs of the distribution network, the reactive power costs provided by the distributed power sources, the energy storage charging and discharging costs, and the electricity purchasing costs respectively;

[0084] in,

[0085] The investment and construction cost of the energy storage system C BESS It is expressed as,

[0086]

[0087] Where P BESS Configure power for energy storage; E BESS is the configuration capacity; C p is the unit power cost of energy storage; C E is the unit capacity cost of energy storage; r is the discount rate; n is the life of the energy storage system; m is the number of energy storage installations.

[0088] Loss cost of distribution network C Loss It is expressed as,

[0089]

[0090] Where P Loss(i) is the power loss of the power grid at the sampling time; Δt is the system sampling time interval; R(i) is the time-of-use electricity price; T is the number of days the energy storage system operates in a year.

[0091] Reactive power cost provided by distributed generation C DG It is expressed as,

[0092]

[0093] Where P ds (i) is the reactive power provided by the distributed generation at the sampling time; Δt is the system sampling time interval; T is the number of days the energy storage system operates in a year; R(i) is the time-of-use electricity price.

[0094] Energy storage charging and discharging cost C PB It is expressed as,

[0095]

[0096] Where P ch (i) is the charging power of the energy storage battery at the sampling time; P dis (i) is the discharge power; Δt is the system sampling time interval; T is the number of days the energy storage system operates in a year; R(i) is the time-of-use electricity price.

[0097] Electricity purchase cost C B It is expressed as,

[0098] C B =C buy -C ess ;

[0099]

[0100]

[0101] In the formula, C buy is the electricity purchase cost when no energy storage is connected; C ess The portion of the main grid electricity purchase fee that energy storage participates in regulation; C ebuy is the peak-valley unit electricity price; P load,t represents the total system load when the energy storage is not connected at time t; P ess,k,t is the active power generated by the kth energy storage system at time t; Δt is the system sampling time interval; T is the number of days the energy storage system operates in a year.

[0102] In the embodiment of the present invention, the constraints of the upper-level site selection and capacity determination model include:

[0103] The capacity constraint of the energy storage system is expressed as,

[0104]

[0105]

[0106] In the formula, E es max Indicates the maximum rated capacity of the node; represents the average capacity of the node; P es The active power generated by the node.

[0107] The installation position constraint is expressed as,

[0108] x es ∈X cap ;

[0109] In the formula, x es is the node of the energy storage system, X cap Represents the set of nodes where energy storage can be installed.

[0110] The node power balance constraint is expressed as,

[0111]

[0112]

[0113] Where P it , Q it are respectively the injected active power and reactive power of grid node i at time t; U it , U jt are the voltages of nodes i and j at time t; it , δ jt are the phase angles of nodes i and j at time t; G ij , B ij are the real and imaginary parts of the i-th row and j-th column of the node admittance matrix respectively; N is the total number of nodes.

[0114] The node voltage constraint is expressed as,

[0115] U i,min ≤U i,t ≤U i,max ;

[0116] Where U i,min , U i,max and U i,t are the minimum and maximum voltages allowed for node i and the actual voltage of node i at time t respectively.

[0117] The branch active power constraint is expressed as:

[0118] -P l,max ≤P l,t ≤P l,max ;

[0119] Where Pl,max is the maximum active power of branch l; P l,t is the actual active power of branch l at time t.

[0120] In the embodiment of the present invention, the objective function of the lower-level operation optimization model is to minimize the photovoltaic abandonment rate, which is expressed as:

[0121] minf2=min(K PV,loss );

[0122]

[0123] In the formula, K PV,loss is the photovoltaic abandonment rate; P use Indicates the actual photovoltaic power generation used during the sampling interval; P ture It represents the theoretical photovoltaic power generation within the sampling interval.

[0124] In the embodiment of the present invention, the constraint conditions of the lower layer operation optimization model include:

[0125] The photovoltaic output constraint is expressed as,

[0126] P r,min ≤P G,r,t ≤P r,max ;

[0127] Where P r,min , P r,max and P G,r,t They are the minimum and maximum outputs of the rth distributed generation and the actual output of the rth generation at time t.

[0128] The continuity constraint of energy storage state of charge is expressed as:

[0129]

[0130] In the formula, S oc,x,0 and S oc,x,t are the charge states of the energy storage system x at the initial time and time t respectively; P ch,x and P dis,x are the charging and discharging power of the energy storage system x respectively; η c,x and η d,x are the charging and discharging efficiencies of the energy storage system x, respectively; E BESS,x is the rated capacity of the energy storage system x; ΔT is the system scheduling time interval; h is the number of charge and discharge times of the energy storage, and l is the time interval from the initial moment to moment t.

[0131] The energy storage state of charge constraint is expressed as,

[0132] S oc,min ≤S oc(i)≤S oc,max ;

[0133] In the formula, S oc,min and S oc,max are the minimum and maximum state of charge of the energy storage system x, respectively.

[0134] The power constraint of the energy storage system is expressed as:

[0135] P BESS,i,t =x i (P dis,i,t -P ch,i,t );

[0136] Where P BESS,i,t is the actual charging and discharging power of the energy storage at node i at time t; i is a 0-1 state variable, 1 means that the i-th node of the grid is connected to the energy storage, and 0 means that the i-th node of the grid is connected to the energy storage; P dis,i,t P is the discharge power of energy storage node i at time t; ch,i,t The charging power of node i at time t.

[0137] The charging and discharging power constraints of the energy storage system are expressed as:

[0138] -P BESS ≤P dis,i,t ≤P BESS

[0139] -P BESS ≤P ch,i,t ≤P BESS ;

[0140] Where P BESS is the rated power of the energy storage connected to the i-th node; P dis,i,t P is the discharge power of energy storage node i at time t; ch,i,t The charging power of node i at time t.

[0141] In summary, in the technical solution provided by the embodiment of the present invention, by considering the investment and construction cost of the energy storage system device and the distribution network operation cost under the optimized scheduling, an upper-level site selection and sizing model of the distribution network energy storage system is established. The upper-level optimization target is the access location, power and capacity of the energy storage system. The above technical parameters have both discrete integer variables and continuous variables, which are suitable for optimization and solution using the particle swarm algorithm. The upper-level site selection and sizing model is used to determine the access location and access capacity of the initialized energy storage system, and the obtained results are used as input parameters for the lower-level optimization operation analysis. Combined with the output of the energy storage system during the charging period and the photovoltaic power output, a lower-level operation optimization model is formed. The lower layer uses the CPLEX (mathematical program solver) solution tool combined with the flow calculation to optimize the operation strategy of the energy storage system to minimize the photovoltaic abandonment rate; then, the lower-level optimization results are fed back to the upper-level optimization model, and the optimal configuration and operation strategy of the energy storage in the feasible domain are determined by repeated iterative comparison. In the above manner, the present invention considers the two-layer optimization configuration method of the distribution network energy storage that improves the photovoltaic access level, which can minimize the amount of abandoned light of distributed photovoltaics and effectively improve the access level of distributed photovoltaics.

[0142] See also Figures 2 to 6 In the specific embodiment of the present invention, the simulation example adopts the IEEE33 node power distribution system, and the system topology is as follows Figure 2 As shown in the figure, the voltage level of this example is 12.66kV, the fundamental power is 10MW, the total active load power is 3.715MW, the total reactive load power is 2.3Mvar, the branch power is 6MW, and the voltage of the first node is set to 1.0pu. Node 16 of the IEEE33-node distribution system is connected to a photovoltaic power generation system with a maximum output of 1MW, and nodes 4 and 14 are connected to conventional generators with an installed capacity of 5MW. Now consider selecting a location from nodes 1 to 33 to configure energy storage.

[0143] Figure 3 The typical daily output and time-of-use electricity price curve of the photovoltaic power generation system connected to node 16; the sampling time interval is 1h. The time-of-use electricity meter in a certain area of ​​China is selected, and its peak and valley electricity price execution period and specific price are shown in Table 1.

[0144] Table 1. Peak and valley electricity price implementation period and specific prices

[0145] Segment time Price / (Yuan / kW·h) 00:00—08:00 0.25 08:00—11:00 0.75 11:00—18:00 0.50 18:00—22:00 0.75 22:00—24:00 0.25

[0146] The energy storage battery selects a lithium-ion battery with good comprehensive performance. It supports deep charging and discharging. At a discharge depth of 80%, the cycle life can reach more than 3000 times. The simulation related parameters are shown in Table 2.

[0147] Table 2. Simulation related parameters

[0148] Parameter name Numeric <![CDATA[C P / (Yuan / kW)]]> 0.30 <h2 style=";text-align:left;direction:ltr"><![CDATA[C <h2 style=";text-align:left;direction:ltr"> E <h2 style=";text-align:left;direction:ltr"> / (kWh)]]><h2 style=";text-align:left;direction:ltr"> 0.40 r / % 3 <![CDATA[S oc,min ]]> 0.2 <![CDATA[S oc,max ]]> 0.8

[0149] According to the solution process of the two-layer optimization model, the optimal energy storage configuration solution is obtained by running the program when the upper-layer particle swarm algorithm has a maximum number of iterations of 50 times: node 5 is connected to 3MWh battery energy storage, and the photovoltaic penetration rate is 92.625%.

[0150] Figure 4 This is the curve of the total cost of the distributed energy storage system changing with the number of iterations. It can be seen that the target converges when the number of iterations reaches 10, and the minimum cost of the system is 6.668 million yuan / year. Figure 5 The state of charge curve of the energy storage at node 5 when the system takes the minimum cost is given. Figure 6 The optimized scheduling operation curve is given.

[0151] Without considering abandoned solar power, the system's annual comprehensive cost is 6.937 million yuan / year, the best energy storage access node is No. 4, and the best energy storage capacity is 3.4MWh.

[0152] In summary, the two-layer optimization configuration strategy of the distribution network energy storage system of the embodiment of the present invention achieves the optimal cost of investment and construction of the energy storage system device and the relevant optimal economic indicators under the optimized scheduling operation under the scenario of photovoltaic access system, and minimizes the abandonment rate, effectively improving the photovoltaic access level.

[0153] The following are device embodiments of the present invention, which can be used to implement the method embodiments of the present invention. For details not disclosed in the device embodiments, please refer to the method embodiments of the present invention.

[0154] See also Figure 7 In an embodiment of the present invention, a distribution network energy storage double-layer optimization configuration system is provided, comprising:

[0155] The first model building module is used to establish an upper-level site selection and capacity determination model for the distribution network energy storage system by considering the investment and construction cost of the energy storage system device and the operating cost of the distribution network under the optimized scheduling;

[0156] The second model building module is used to combine the output results of the upper-level site selection and capacity determination model with the output of the energy storage system during the charging period and the photovoltaic power output to establish a lower-level operation optimization model for the distribution network energy storage system;

[0157] The solution module is used to solve the upper-level site selection and sizing model to obtain the access location and access capacity of the energy storage system, input the obtained access location and access capacity into the lower-level operation optimization model for solution, and feed the obtained lower-level optimization results back to the upper-level site selection and sizing model, and determine the optimal configuration and operation strategy of energy storage in the feasible domain through repeated iterative solutions.

[0158] In one embodiment of the present invention, a computer device is provided, the computer device comprising a processor and a memory, the memory being used to store a computer program, the computer program comprising program instructions, and the processor being used to execute the program instructions stored in the computer storage medium. The processor may be a central processing unit (CPU), or may be other general-purpose processors, digital signal processors (DSP), application-specific integrated circuits (ASIC), field-programmable gate arrays (FPGA) or other programmable logic devices, discrete gates or transistor logic devices, discrete hardware components, etc. It is the computing core and control core of the terminal, which is suitable for implementing one or more instructions, and is specifically suitable for loading and executing one or more instructions in a computer storage medium to implement the corresponding method flow or corresponding function; the processor described in the embodiment of the present invention can be used to perform the operation of the double-layer optimization configuration method for distribution network energy storage.

[0159] In one embodiment of the present invention, a storage medium is provided, specifically a computer-readable storage medium (Memory), which is a memory device in a computer device for storing programs and data. It is understandable that the computer-readable storage medium here can include both built-in storage media in a computer device and, of course, an extended storage medium supported by the computer device. The computer-readable storage medium provides a storage space, which stores the operating system of the terminal. In addition, one or more instructions suitable for being loaded and executed by a processor are also stored in the storage space, and these instructions can be one or more computer programs (including program codes). It should be noted that the computer-readable storage medium here can be a high-speed RAM memory or a non-volatile memory, such as at least one disk memory. The processor can load and execute one or more instructions stored in the computer-readable storage medium to implement the corresponding steps of the double-layer optimization configuration method for distribution network energy storage in the above embodiment.

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

[0161] The present application is described with reference to the flowcharts and / or block diagrams of the methods, devices (systems), and computer program products according to the embodiments of the present application. It should be understood that each process and / or box in the flowchart and / or block diagram, as well as the combination of the processes and / or boxes 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 generate a machine, so that the instructions executed by the processor of the computer or other programmable data processing device generate instructions for implementing the processes in the flowchart and / or block diagram. Figure 1 A process or multiple processes and / or boxes Figure 1 A device that provides the functions specified in a block or multiple blocks.

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

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

[0164] Finally, it should be noted that the above embodiments are only used to illustrate the technical solutions of the present invention rather than to limit it. Although the present invention has been described in detail with reference to the above embodiments, ordinary technicians in the relevant field should understand that the specific implementation methods of the present invention can still be modified or replaced by equivalents. Any modification or equivalent replacement that does not depart from the spirit and scope of the present invention should be covered within the scope of protection of the claims of the present invention.

Claims

1. A method for optimizing the configuration of energy storage in a distribution network, characterized in that: The following steps are involved: By considering the investment and construction cost of energy storage system devices and the operating cost of the distribution network under optimal dispatching, an upper-level site selection and capacity determination model for the distribution network energy storage system is established. The output results of the upper-level site selection and sizing model are combined with the output of the energy storage system during the charging period and the photovoltaic power output to establish a lower-level operation optimization model for the distribution network energy storage system. The upper-level site selection and sizing model is solved to obtain the access location and access capacity of the energy storage system, and the obtained access location and access capacity are input into the lower-level operation optimization model for solution. The obtained lower-level optimization results are fed back to the upper-level site selection and sizing model, and the optimal configuration and operation strategy of energy storage in the feasible domain are determined through repeated iterative solutions.

2. A method for optimizing the configuration of energy storage in a distribution network according to claim 1, characterized in that: In the upper-level site selection and capacity determination model, The objective function is expressed as, minf1 = min(C BESS , C Loss , C DG , C PB , C B ); In the formula, C BESS , C Loss , C DG , C PB , C B They represent the investment and construction costs of the energy storage system, the loss costs of the distribution network, the reactive power costs provided by the distributed power sources, the energy storage charging and discharging costs, and the electricity purchasing costs respectively; The constraints include capacity constraints, installation location constraints, node power balance constraints, node voltage constraints and branch active power constraints.

3. A method for optimizing the configuration of energy storage in a distribution network according to claim 2, characterized in that: In the formula, m is the number of energy storage installations; C p is the unit power cost of energy storage; P BESS Configure power for energy storage; C E is the unit capacity cost of energy storage; E BESS is the configured capacity; r is the discount rate; n is the life of the energy storage system; Where, T is the number of days the energy storage system operates in a year; P Loss (i) is the power loss of the power grid at the sampling time; Δt is the system sampling time interval; R(i) is the time-of-use electricity price; Where P ds (i) The reactive power provided by the distributed generation at the sampling time; Where P ch (i) is the charging power of the energy storage battery at the sampling time; P dis (i) is the discharge power; In the formula, C buy is the electricity purchase cost when no energy storage is connected; C ess The portion of the main grid electricity purchase fee that energy storage participates in regulation; C ebuy is the peak-valley unit electricity price; P load,t represents the total system load when the energy storage is not connected at time t; P ess,k,t is the active power generated by the kth energy storage system at time t.

4. A method for optimizing the configuration of energy storage in a distribution network according to claim 2, characterized in that: The capacity constraint is expressed as, In the formula, E es max Indicates the maximum rated capacity of the node; represents the average capacity of the node; P es is the active power emitted by the node; The installation position constraint is expressed as, x es ∈X cap ; In the formula, x es is the node of the energy storage system, X cap Represents the set of nodes that can be equipped with energy storage; The node power balance constraint is expressed as, Where P it , Q it are respectively the injected active power and reactive power of grid node i at time t; U it , U jt are the voltages of nodes i and j at time t; it ,δ jt are the phase angles of nodes i and j at time t; G ij , B ij are the real and imaginary parts of the i-th row and j-th column of the node admittance matrix respectively; N is the total number of nodes; The node voltage constraint is expressed as, U i,min ≤U i,t ≤U i,max ; Where U i,min , U i,max are the lowest voltage and the highest voltage allowed by node i respectively; U i,t is the actual voltage of node i at time t; The branch active power constraint is expressed as, -P l,max ≤P l,t ≤P l,max ; Where P l,max is the maximum active power of branch l; P l,t is the actual active power of branch l at time t.

5. A method for optimizing the configuration of energy storage in a distribution network according to claim 1, characterized in that: In the lower layer operation optimization model, The objective function is expressed as, minf2 = min(K PV,loss ); In the formula, K PV,loss is the photovoltaic abandonment rate; P use Indicates the actual photovoltaic power generation used during the sampling interval; P ture represents the theoretical photovoltaic power generation within the sampling interval; T is the number of days the energy storage system operates in a year; Δt is the system sampling time interval; The constraints include photovoltaic output constraints, energy storage charge state continuity constraints, energy storage charge state constraints, energy storage system power constraints and energy storage system charging and discharging power constraints.

6. A method for optimizing the configuration of energy storage in a distribution network according to claim 5, characterized in that: The photovoltaic output constraint is expressed as, P r,min ≤P G,r,t ≤P r,max ; Where P r,min , P r,max are the minimum output and maximum output of the rth distributed generation respectively; P G,r,t is the actual output of the rth power source at time t; The continuity constraint of energy storage charge state is expressed as: In the formula, S oc,x,0 and S oc,x,t are the charge states of the energy storage system x at the initial time and time t respectively; P ch,x and P dis,x are the charging and discharging power of the energy storage system x, respectively; η c,x and η d,x are the charging and discharging efficiencies of the energy storage system x, respectively; E BESS,x is the rated capacity of the energy storage system x; ΔT is the system scheduling time interval; h is the number of charge and discharge times of the energy storage; l is the time interval from the initial moment to the moment t; The energy storage state of charge constraint is expressed as, S oc,min ≤S oc (i)≤S oc,max ; In the formula, S oc,min and S oc,max are the minimum and maximum charge states of the energy storage system x, respectively; S oc (i) is the charge state of the energy storage system at time i; The power constraint of the energy storage system is expressed as, P BESS,i,t =x i (P dis,i,t -P ch,i,t ); Where P BESS,i,t is the actual charging and discharging power of the energy storage at node i at time t; i is a state variable of 0 or 1, 1 means that the i-th node of the grid is connected to the energy storage, and 0 means that the i-th node of the grid is connected to the energy storage; P dis,i,t P is the discharge power of energy storage node i at time t; ch,i,t The charging power of node i at time t; The charging and discharging power constraints of the energy storage system are expressed as: Where P BESS is the rated power of the energy storage connected to the i-th node; P dis,i,t P is the discharge power of energy storage node i at time t; ch,i,t The charging power of node i at time t.

7. A method for optimizing the configuration of energy storage in a distribution network according to claim 1, characterized in that: The step of solving the upper-level site selection and capacity determination model to obtain the access location and access capacity of the energy storage system, inputting the obtained access location and access capacity into the lower-level operation optimization model for solution, and feeding the obtained lower-level optimization result back to the upper-level site selection and capacity determination model, and determining the optimal configuration and operation strategy of energy storage in the feasible domain through repeated iterative solutions, The particle swarm coding algorithm is used to solve the upper-level site selection and capacity determination model; The mathematical program solver CPLEX is used to solve the underlying operation optimization model.

8. A distribution network energy storage double-layer optimization configuration system, characterized in that: include: The first model building module is used to establish an upper-level site selection and capacity determination model for the distribution network energy storage system by considering the investment and construction cost of the energy storage system device and the operating cost of the distribution network under the optimized scheduling; The second model building module is used to combine the output results of the upper-level site selection and capacity determination model with the output of the energy storage system during the charging period and the photovoltaic power output to establish a lower-level operation optimization model for the distribution network energy storage system; The solution module is used to solve the upper-level site selection and sizing model to obtain the access location and access capacity of the energy storage system, input the obtained access location and access capacity into the lower-level operation optimization model for solution, and feed the obtained lower-level optimization results back to the upper-level site selection and sizing model, and determine the optimal configuration and operation strategy of energy storage in the feasible domain through repeated iterative solutions.

9. An electronic device comprising a memory, a processor, and a computer program stored in the memory and executable on the processor, wherein: When the processor executes the program, the distribution network energy storage double-layer optimization configuration method according to any one of claims 1 to 7 is implemented.

10. A non-transitory computer-readable storage medium having a computer program stored thereon, characterized in that: When the computer program is executed by a processor, the distribution network energy storage double-layer optimization configuration method according to any one of claims 1 to 7 is implemented.