Shared energy storage scheduling optimization method and device, medium and product
By using the multi-objective particle swarm algorithm with adaptive weights and hybrid diversity strategies in the shared energy storage system, the operating cost and grid voltage of the shared energy storage system are optimized, and the slow iterative convergence speed and local optimal solution in power system dispatching are solved. problems and improve the operating efficiency and stability of the system.
Patent Information
- Application Number
- CN202410772356.0
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2024-06-14
- Publication Date
- 2024-09-10
- Estimated Expiration
- Not applicable · inactive patent
AI Technical Summary
In the existing dispatch planning of shared energy storage power systems, the iterative convergence speed of the algorithm is slow and it is easy to fall into the problem of local optimal solutions.
A multi-objective particle swarm algorithm based on adaptive weights and hybrid diversity strategies is used to construct a dual-objective function to optimize the operating cost of the shared energy storage system and the overall variance of the distribution network voltage amplitude. The Maximin strategy and the crowding distance strategy are used to guide the algorithm search. Increase the global search scope and avoid local optimal solutions.
It effectively solves the slow algorithm iteration convergence speed and local optimal solution problems caused by complex power system dispatching, and improves the operating efficiency of the shared energy storage system and the stability of the power grid.
Smart Images

Figure CN118627680A
Abstract
Description
Technical Field
[0001] The present invention relates to the technical field of power system energy dispatching, and in particular to a shared energy storage dispatching optimization method, device, medium and product. Background Art
[0002] Shared energy storage, as a new business model, combines the sharing economy with energy storage. It achieves sharing by separating the ownership and usage rights of energy storage, provides flexible regulation resources for the consumption of new energy, and realizes the decoupling of power generation and consumption in time and space.
[0003] Considering that the capacity configuration and operation optimization of energy storage equipment are coupled, a two-stage multi-objective optimization configuration scheme for shared energy storage alliance game is proposed under the energy cell-organization framework, and the Shapley method is used to fairly distribute the alliance cooperation cost. First, a multi-objective total energy storage configuration model is established, and the Pareto frontier of the overall energy storage planning of the alliance is obtained based on the NSGA2 algorithm. Then, based on the principle of minimum interaction power between cells, the energy storage capacity and power configuration inside each cell are calculated respectively. By comparing the benefits of alliance cooperation with the sub-cooperation benefits divided by the participant group, the stability of the energy cell alliance is judged, and the costs and benefits of each energy cell are distributed according to the Shapley method. This method establishes an alliance game model suitable for the cell organization structure and solves the problem of benefit distribution within the alliance. However, compared with independent operation, the formation of an alliance will increase the expenditure of a part of the grid-connected taxes and fees. At the same time, the operating costs under the alliance model will be reduced due to the energy complementarity between participants. Each participant needs to judge whether joining the alliance can bring more benefits to himself, which increases the complexity of the algorithm.
[0004] Shared energy storage is one of the solutions for achieving economic consumption of renewable energy. Under a moderate investment scale, efforts should be made to match the capacity and power of energy storage power stations with the consumption target. In order to solve the problem of optimal configuration of shared energy storage in multiple microgrids and fair sharing of its cost, a multi-objective optimal configuration of shared energy storage in multiple microgrids and a fair sharing method of its cost based on the improved Shapley value method are proposed. The method consists of two stages: in stage 1, a multi-objective optimal configuration model for shared energy storage in multiple microgrids is proposed, and an optimization model is established with the goal of minimizing the cost of shared energy storage and minimizing the variance of net loads in multiple microgrids. The non-dominated sorting genetic algorithm and fuzzy membership function are used to obtain the optimal charging and discharging power of shared energy storage and the corresponding optimal configuration capacity and its cost; in stage 2, an improved Shapley value method based on line power loss is proposed, and this method is used to share the cost savings generated by the shared energy storage configuration among multiple microgrids.
[0005] As the number and installed capacity of new energy stations participating in shared energy storage increase, the objective function, influencing factors, constraints and parameters of the above method become more complex and diverse, and the optimal configuration and operation of distributed shared energy storage are difficult to achieve, exposing a series of problems such as low solution accuracy, slow convergence speed, and easy to fall into local optimal solutions.
[0006] The existing shared energy storage power system scheduling planning needs to consider the costs and benefits of users, shared energy storage stations and operators, as well as factors such as grid operating load and power quality. There are too many parameters involved and complex constraints. Existing optimization methods are prone to shortcomings such as slow iterative convergence and easy to fall into local optimal solutions. Summary of the invention
[0007] The purpose of the present invention is to provide a shared energy storage scheduling optimization method, device, medium and product, which can solve the problem of slow algorithm iteration convergence speed and easy falling into local optimal solution caused by complex power system scheduling.
[0008] To achieve the above object, the present invention provides the following solutions:
[0009] A shared energy storage scheduling optimization method comprises: considering the cost of energy storage participating in the interaction between supply and demand of power grid and the voltage fluctuation of the whole power grid, constructing a dual objective function; using a multi-objective particle swarm algorithm based on adaptive weight and hybrid diversity strategy to optimize and solve the constructed dual objective function, so as to obtain the optimal energy storage capacity and power configuration of the shared energy storage that minimizes the operation cost of the shared energy storage system and minimizes the overall variance of the voltage amplitude of the distribution network, as well as the lowest operation cost of the shared energy storage system and the smallest overall variance of the voltage amplitude of the distribution network; wherein the hybrid diversity strategy is a hybrid diversity strategy based on Maximin and supplemented by congestion distance.
[0010] Optionally, the dual objective function includes: a first objective function with the lowest operating cost of the shared energy storage system as the optimization target and a second objective function with the lowest overall variance of the distribution network voltage amplitude as the optimization target.
[0011] Optionally, the first objective function is:
[0012]
[0013] In the formula, C ES is the operating cost of the shared energy storage system, C B is the basic cost, C buy The cost of charging energy storage; C pd The profit obtained by energy storage participating in the interaction between power grid supply and demand, C sub Direct subsidies for energy storage to participate in grid supply and demand interactions;
[0014] The energy storage operation constraints include: energy storage device charging and discharging power constraints, energy storage device discharge power load constraints, energy storage device charge state constraints, energy storage charge state continuity constraints, energy storage power climbing constraints and user response penalty coefficients;
[0015] The energy storage device charging and discharging power constraints are:
[0016]
[0017]
[0018] Where P char (t) and P dischar (t) are the charging power and discharging power of the shared energy storage at time t, and are the maximum power of charging and discharging of the energy storage with sequence number i, and n is the number of energy storages;
[0019] The energy storage device discharge power load constraint is:
[0020] P dischar (t)≤P loss (t);
[0021] Where P loss (t) is the total user load at time t;
[0022] The state of charge constraint of the energy storage device is:
[0023]
[0024] In the formula, B soc (t) is the state of charge of the shared energy storage at time t, and are the upper and lower limits of the state of charge of the energy storage device, respectively. i,soc is the energy storage capacity with serial number i;
[0025] The energy storage charge state continuity constraint is:
[0026]
[0027] In the formula, B soc (t-1) is the energy storage charge state at time t-1, Δt is the duration of each charging and discharging period, η esc and η esd are the charging efficiency and discharging efficiency of the energy storage device, P char (t-1) and P dischar (t-1) are the charging power and discharging power of the shared energy storage at time t-1 respectively;
[0028] The energy storage power ramp constraint is:
[0029]
[0030]
[0031]
[0032]
[0033] Where V c,down and V c,up are the maximum uphill and downhill climbing rates of energy storage charging, V d,down and V d,up They are the maximum uphill and downhill climbing rates of energy storage discharge respectively;
[0034] The user response penalty coefficient is:
[0035]
[0036]
[0037]
[0038] In the formula, is the discharge power after penalty correction, P u is the user response penalty coefficient, r b is the reference electricity price, r i is the actual electricity price, g i is the actual cost of power quality problems, g mean is the average cost of power quality issues, η r and η g Price sensitivity and cost sensitivity of power quality issues assessed for operators respectively; is the network loss at time t, C loss is the network loss cost per unit power, N V is the number of voltage sags, C V It is the cost of a single voltage sag.
[0039] Optionally, the second objective function is:
[0040]
[0041] Where D all is the overall variance of the distribution network voltage amplitude, V t,i is the voltage amplitude of the node where the energy storage with sequence number i is located at time t; is the average value of the voltage amplitude of the distribution network at time t, B is the number of nodes in the distribution network, and T is the total time;
[0042] The power flow constraints of the distribution network include: node power flow constraints, node voltage constraints, network power balance constraints and line transmission power constraints;
[0043] The node power flow constraint is:
[0044]
[0045] Where P i (t), Q i (t) are the active power and reactive power of the energy storage node with sequence number i at time t, U i (t) is the voltage of the node where the energy storage with sequence number i is located at time t, U j (t) is the voltage of the node where the energy storage with sequence number j is located at time t, G ij is the conductance between the node where the energy storage with sequence number i is located and the node where the energy storage with sequence number j is located, B ij is the susceptance between the node where the energy storage with sequence number i is located and the node where the energy storage with sequence number j is located; δ ij (t) is the phase angle between the energy storage node with sequence number i and the energy storage node with sequence number j at time t;
[0046] The node voltage constraint is:
[0047] U min ≤U i ≤U max ;
[0048] Where U i is the voltage amplitude of the node where the energy storage with sequence number i is located, U min is the minimum value of the node voltage amplitude allowed, U max is the maximum value of the node voltage amplitude allowed;
[0049] The network power balance constraint is:
[0050] P all =P load +P loss -P B ;
[0051] Where P all The total active power injected into the grid, P load is the active load of the system, P loss is the power lost in the network, P B is the total active power of the shared energy storage device;
[0052] The line transmission power constraint is:
[0053] |P l |≤Pmax ;
[0054] In the formula, |P l | is the transmission power of the lth branch, P max The maximum transmission power allowed by the line.
[0055] Optionally, a multi-objective particle swarm algorithm based on adaptive weight and hybrid diversity strategy is used to optimize and solve the constructed dual-objective function, so as to obtain the optimal energy storage capacity and power configuration of the shared energy storage that minimizes the operation cost of the shared energy storage system and minimizes the overall variance of the distribution network voltage amplitude, as well as the lowest shared energy storage system operation cost and the smallest overall variance of the distribution network voltage amplitude, specifically including:
[0056] Initialize the position, velocity, inertia weight and maximum number of iterations of each particle to form an initial population, and set the non-dominated solution set to an empty set;
[0057] Preset the size of the non-dominated solution set and set the number of iterations k equal to zero;
[0058] A hybrid diversity strategy with Maximin strategy as the main strategy and crowding distance strategy as the auxiliary strategy is used to calculate the fitness and dominance relationship of each particle in the initial population;
[0059] Based on the initialized position of each particle, update the optimal position of each particle and the global optimal particle position;
[0060] Updating the inertia weight; the inertia weight is an adaptive weight that changes adaptively with iteration;
[0061] According to the initial position and speed of each particle, the optimal position of each particle and the global optimal particle position are updated, as well as the updated inertia weight, the speed and position of the particle are updated to generate a new generation of population;
[0062] Save the non-dominated solutions in the new generation population into the non-dominated solution set;
[0063] Perform a truncation operation on the non-dominated solution set so that the size of the truncated non-dominated solution set is equal to the size of the preset non-dominated solution set;
[0064] Determine whether an iteration termination condition is reached; the iteration termination condition is a maximum number of iterations or convergence;
[0065] If the iteration termination condition is not met, the value of the iteration number k is increased by 1, and the initial population is updated to the new generation population, and the step "using the mixed diversity strategy with Maximin strategy as the main strategy and crowding distance strategy as the auxiliary strategy to calculate the fitness and dominance relationship of each particle in the initial race" is returned;
[0066] If the iteration termination condition is met, the truncated non-dominated solution set is output to obtain the optimal energy storage capacity and power configuration of the shared energy storage that minimizes the operating cost of the shared energy storage system and the overall variance of the distribution network voltage amplitude, as well as the lowest shared energy storage system operating cost and the smallest overall variance of the distribution network voltage amplitude.
[0067] Optionally, the updating formula of the adaptive weight is:
[0068]
[0069] In the formula, is the inertia weight of the g-th particle at the k+1th iteration, ω min ,ω max are the minimum and maximum values of the inertia weight, respectively. represents the objective function fitness value of the g-th particle at the k-th iteration, represents the minimum target fitness value of the kth iteration, is the average objective function fitness value of all particles in the kth iteration.
[0070] Optionally, a hybrid diversity strategy based on the Maximin strategy and supplemented by the crowding distance strategy is used to calculate the fitness and dominance relationship of each particle in the initial population, specifically including:
[0071] The Maximin fitness function is used to calculate the fitness of each particle in the initial population;
[0072] Sort the fitness of each particle in the initial population from small to large;
[0073] If there are cases where the fitness is the same, the crowding distance is used to sort the fitnesses to determine the dominance relationship.
[0074] A computer device comprises: a memory, a processor, and a computer program stored in the memory and executable on the processor, wherein the processor executes the computer program to implement any of the above-mentioned shared energy storage scheduling optimization methods.
[0075] A computer-readable storage medium stores a computer program, which, when executed by a processor, implements any of the above-mentioned shared energy storage scheduling optimization methods.
[0076] A computer program product comprises a computer program, which, when executed by a processor, implements any of the above-mentioned shared energy storage scheduling optimization methods.
[0077] According to the specific embodiments provided by the present invention, the present invention discloses the following technical effects:
[0078] The embodiment of the present invention adopts adaptive inertia weight, adaptively changes the search range of each particle in each iteration, globally increases the search range, can better explore the potential global optimal point, and thus reduce the possibility of falling into the local optimal solution to a certain extent; the hybrid diversity strategy with Maximin as the main and crowding distance as the auxiliary guides the algorithm to reasonably find the Pareto optimal solution, effectively solving the problem of slow algorithm iteration convergence speed and easy to fall into the local optimal solution caused by the complex scheduling of the power system. BRIEF DESCRIPTION OF THE DRAWINGS
[0079] In order to more clearly illustrate the embodiments of the present invention or the technical solutions in the prior art, the drawings required for use in the embodiments will be briefly introduced below. Obviously, the drawings described below are only some embodiments of the present invention. For ordinary technicians in this field, other drawings can be obtained based on these drawings without paying creative work.
[0080] Figure 1 A schematic flow chart of a shared energy storage scheduling optimization method provided in Example 1 of the present invention.
[0081] Figure 2 A schematic diagram of the process flow of a multi-objective particle swarm algorithm based on local search and hybrid diversity strategy provided in Example 1 of the present invention.
[0082] Figure 3 A schematic diagram of an IEEE 33-node distribution network provided in Example 1 of the present invention.
[0083] Figure 4 A schematic diagram of the original load of user terminal 1 provided in Example 1 of the present invention.
[0084] Figure 5 This is a schematic diagram of the original load of the user terminal 2 provided in Example 1 of the present invention.
[0085] Figure 6 This is a schematic diagram of the original load of the user terminal 3 provided in Example 1 of the present invention.
[0086] Figure 7 This is a schematic diagram of the original load of the user terminal 4 provided in Example 1 of the present invention.
[0087] Figure 8 This is a diagram of the internal structure of a computer device. DETAILED DESCRIPTION
[0088] 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.
[0089] In order to make the above-mentioned objects, features and advantages of the present invention more obvious and easy to understand, the present invention is further described in detail below with reference to the accompanying drawings and specific embodiments.
[0090] Example 1
[0091] like Figure 1 As shown, a shared energy storage scheduling optimization method in this embodiment includes the following steps.
[0092] Step 1: Considering the cost of energy storage participating in the interaction between grid supply and demand and the voltage fluctuation of the entire grid, a dual objective function is constructed.
[0093] Taking into account the cost of energy storage participating in the interaction between grid supply and demand and the voltage fluctuation of the entire grid, a dual objective function is constructed. The dual objective function includes: a first objective function with the lowest operating cost of the shared energy storage system as the optimization goal and a second objective function with the lowest overall variance of the distribution network voltage amplitude as the optimization goal.
[0094] (1) Shared energy storage system operation cost objective function
[0095]
[0096] In the formula, C ES is the operating cost of the shared energy storage system, C B is the basic cost, including investment, operation and maintenance costs, etc.; C buy The cost of charging energy storage; C pd Profits gained from energy storage participating in the interaction between power grid supply and demand; C sub Direct subsidies for energy storage to participate in the interaction between grid supply and demand.
[0097] The goal of the energy storage operator is to coordinate and uniformly regulate n isolated energy storages.
[0098] 1) Energy storage device charging and discharging power constraints
[0099]
[0100] Among them, P char (t) and P dischar (t) are the charging and discharging power of the shared energy storage at time t; and are the maximum power of charging and discharging of the energy storage with serial number i, and n is the number of energy storages.
[0101] 2) Discharge power load constraints of energy storage devices
[0102] P dischar (t)≤P loss (t) (3)
[0103] Among them, P loss (t) is the total user load at time t.
[0104] 3) Energy storage device charge state constraints
[0105]
[0106] Among them, B soc (t) is the state of charge of the shared energy storage at time t; and are the upper and lower limits of the state of charge of the energy storage device; B i,soc is the energy storage capacity with serial number i.
[0107] 4) Energy storage charge state continuity constraints
[0108]
[0109] Among them, B soc (t-1) is the energy storage charge state at time t-1; Δt is the duration of each charging and discharging period; η esc and η esd are the charging and discharging efficiency of the energy storage device, P char (t-1) and P dischar (t-1) are the charging power and discharging power of the shared energy storage at time t-1 respectively.
[0110] 5) Energy storage power ramp constraints
[0111]
[0112]
[0113]
[0114]
[0115] Where V c,down and V c,up Maximum uphill and downhill climbing rate for energy storage charging; V d,down and V d,up It is the maximum uphill and downhill climbing rate of energy storage discharge.
[0116] 6) User response penalty coefficient
[0117] The enthusiasm of users to participate in demand response can be evaluated by the operator based on the increase in electricity prices and the cost of power quality problems. That is, the greater the increase in electricity prices and the more obvious the change in the cost of power quality problems, the smaller the user response penalty coefficient is, which is used to correct the discharge power. Therefore, the user response penalty coefficient P is established. u satisfy:
[0118]
[0119]
[0120] In the formula, is the discharge power after penalty correction, r b is the reference electricity price, r i is the actual electricity price, g i is the actual cost of power quality problems, g mean is the average cost of power quality issues, η r and η g They are the price sensitivity and cost sensitivity of power quality issues evaluated by operators. is the network loss at time t, C loss is the network loss cost per unit power, N V is the number of voltage sags, C V It is the cost of a single voltage sag.
[0121] (2) Distribution network power flow voltage fluctuation objective function
[0122]
[0123] Where D all is the overall variance of the distribution network voltage amplitude, V t,i is the voltage amplitude of node i at time t; V t mean is the average value of the voltage amplitude of the distribution network at time t; B is the number of nodes in the distribution network, and T is the total time.
[0124] 1) Power flow calculation
[0125] Through power flow calculation, it can be predicted whether the voltage of all buses in the network will remain within the allowable range and whether various components will be overloaded and endanger the safety of the system as the power supply and load change and the network structure change. The power flow is calculated by forward and backward method, which knows the starting voltage and end load of the distribution network, and takes the feeder as the basic calculation unit.
[0126] 2) Voltage stability objective function
[0127] When considering the distribution network operation optimization index, the present invention combines the power flow calculation method, selects the forward-backward method to calculate the distribution network power flow, and takes the overall variance of the voltage amplitude of 24 hours and 33 nodes as the optimization index, thereby achieving the goal of ensuring the stability of the power grid. all The specific calculation method is as follows:
[0128]
[0129] Where V t,i is the voltage amplitude of node i at time t; is the average value of the voltage amplitude of the distribution network at time t; B is the number of nodes in the distribution network.
[0130] 3) Cost of power quality issues
[0131] In order to reflect the effectiveness of the present invention in improving the power quality of the distribution network, the cost of power quality problems is constructed, including network loss cost and temporary drop cost:
[0132]
[0133] Where g is the cost of power quality problems, is the network loss at time t, C loss is the network loss cost per unit power, N V is the number of voltage sags, C V It is the cost of a single voltage sag.
[0134] 4) Distribution network flow constraints
[0135] Assume that the distribution network contains B nodes and L lines, where the node set β = {1, 2, ..., B} and the line set A = {1, 2, ..., L}.
[0136] 4.1) Node power flow constraints
[0137]
[0138] Where P i (t), Q i (t) are the active power and reactive power of the distribution network node i at time t; B is the number of distribution network nodes; U i (t), U j (t) are the voltages of nodes i and j at time t; G ij , B ij The conductance and susceptance between nodes i and j respectively; δ ij is the phase angle between nodes i and j.
[0139] 4.2) Node voltage constraints
[0140] U min ≤U i ≤U max (16)
[0141] Where U i represents the voltage amplitude of the ith node, U min is the minimum value of the node voltage amplitude allowed, U max is the maximum value of the node voltage amplitude allowed.
[0142] 4.3) Network power balance constraints
[0143] P all =P load +P loss -P B (17)
[0144] Where P all is the total active power injected into the grid, P load is the active load of the system, P loss The power lost in the network, P B is the total active power of the shared energy storage device.
[0145] 4.4) Line transmission power constraints
[0146] |P l |≤P max (18)
[0147] In the formula, |P l | is the transmission power of the lth branch, P max It is the maximum transmission power allowed by the line.
[0148] Step 2: A multi-objective particle swarm algorithm based on adaptive weights and hybrid diversity strategy is used to optimize and solve the constructed dual-objective function, and the optimal energy storage capacity and power configuration of the shared energy storage that minimizes the operating cost of the shared energy storage system and the overall variance of the distribution network voltage amplitude are obtained, as well as the lowest shared energy storage system operating cost and the minimum overall variance of the distribution network voltage amplitude; wherein the hybrid diversity strategy is a hybrid diversity strategy based on Maximin and supplemented by congestion distance.
[0149] The process of multi-objective particle swarm algorithm based on local search and hybrid diversity strategy is as follows Figure 2 As shown. A multi-objective particle swarm algorithm based on adaptive weight and hybrid diversity strategy is used to optimize and solve the constructed model. The specific process is as follows:
[0150] 1) First, initialize the position, velocity, inertia weight, acceleration factor, maximum number of iterations and other parameters of N particles, generate the initial group as the initial race and store it in P0, and set the initial non-dominated solution set And given the size of the non-dominated solution set Let the number of iterations k=0.
[0151] 2) Then, a hybrid diversity strategy with Maximin strategy as the main strategy and crowding distance strategy as the auxiliary strategy is used to calculate P k The fitness and dominance relationship of each particle in . The specific method is: use the Maximin fitness function to calculate P k The fitness of each particle in is then sorted from small to large according to the Maximin fitness value. If there are several solutions with the same Maximin fitness value, these solutions are sorted using the crowding distance to determine the dominance relationship.
[0152] 3) Update the optimal position p of each particle i and the global optimal particle position p g .
[0153] 4) Update the inertia weight. Compared with the fixed inertia weight, the inertia weight changes adaptively with the iteration, so that the population can strengthen the search near the individual optimal solution in the early stage of iteration, improve the global search ability, and effectively prevent the algorithm from falling into the local optimal solution. The formula for the adaptive inertia weight is shown in formula (19).
[0154]
[0155] Where D = 2 is the dimension of the solution space; is the inertia weight of the g-th particle at the k+1th iteration; ω min ,ω max They refer to the minimum and maximum values of ω respectively; x max 、x min are the maximum and minimum values of the particle position variable respectively; represents the objective function fitness value of the g-th particle at the k-th iteration; represents the minimum target fitness value of the kth iteration; is the average objective function fitness value of all particles in the kth iteration.
[0156] 5) Update the speed and position of particles to generate a new generation of group A k+1 The particle velocity and position update formula is shown in formula (20).
[0157]
[0158] In the formula, k is the number of iterations, is the inertia weight of the kth iteration of the ith particle, c1 and c2 are acceleration factors, r1 and r2 are random numbers between [0,1] that follow a uniform distribution, and p i is the optimal position of the ith particle, pg is the global optimal particle position.
[0159] 6) Update the Archive set. Evolve to obtain a new generation of population P k+1 After that, put P k+1 The non-dominated solutions in are saved in the Archive set.
[0160] 7) Perform truncation operations on the Archive set. When the number of particles in the Archive set exceeds the specified size, it is necessary to randomly delete the redundant individuals to maintain a stable Archive set size.
[0161] 8) Determine whether the maximum number of iterations has been reached or converged. If the conditions are met, go to step 9); if the conditions are not met, k = k + 1 and go to step 2).
[0162] 9) Output the non-dominated solution set and obtain the optimal solution C ES and D all .
[0163] The present invention adopts adaptive inertia weights to adaptively change the search range of each particle in each iteration, which globally increases the search range and can better explore potential global optimal points, thereby reducing the possibility of falling into local optimal solutions to a certain extent; the hybrid diversity strategy formulates more comprehensive rules to determine the dominant relationship between particles and better determine non-dominated solutions.
[0164] The following simulation verifies the effectiveness of the method of the present invention.
[0165] (1) Simulation example system and model parameters
[0166] The present invention uses a test network as an example to verify the effectiveness of the proposed method through simulation analysis. Its topology is as follows: Figure 3 shown.
[0167] like Figure 3 As shown, nodes 8, 17, 23, and 27 are selected as the four user terminals 1-4 of shared energy storage; the specific parameters of the shared energy storage device include: the maximum charging and discharging power is 2000kW, the capacity is 16000kWh, and the charging and discharging efficiency is 0.85; the unit power investment cost of the energy storage equipment is 2000 yuan / kWh, the unit capacity investment cost is 2000 yuan / kWh, and the unit power operation and maintenance cost is 50 yuan / kWh.
[0168] The typical daily load of the four users is as follows: Figures 4 to 7 As shown in Table 1, the user-side load sampling interval is 1 hour, and the time-of-use electricity price on a certain day is shown in Table 1.
[0169] Table 1 Time-of-use electricity price for users on a certain day
[0170]
[0171] (2) Results Analysis
[0172] The comparison of indicators before and after optimization on the grid side and shared energy storage side is shown in Table 2.
[0173] Table 2 Comparison of indicators on the grid side and shared energy storage side before and after optimization
[0174]
[0175] It can be seen from the above table that the optimized energy storage cost and the overall variance of the distribution network voltage have been significantly reduced, and the grid operation is more stable.
[0176] The method of the present invention is used for energy dispatch optimization of shared energy storage power system. Its main contribution is to introduce the idea of adaptive inertia weight into the multi-objective particle swarm algorithm, and propose a hybrid diversity strategy with Maximin as the main and crowding distance as the auxiliary, so as to guide the algorithm to reasonably find the Pareto optimal solution, and effectively solve the problem that the algorithm is easy to fall into the local optimal solution due to the complexity of power system dispatch.
[0177] Example 2
[0178] A computer device includes: a memory, a processor, and a computer program stored in the memory and executable on the processor, wherein the processor executes the computer program to implement the shared energy storage scheduling optimization method in Example 1.
[0179] Example 3
[0180] A computer-readable storage medium stores a computer program, which, when executed by a processor, implements the shared energy storage scheduling optimization method in Example 1.
[0181] Example 4
[0182] A computer program product includes a computer program, which implements the shared energy storage scheduling optimization method in Example 1 when executed by a processor.
[0183] Example 5
[0184] A computer device whose internal structure diagram can be shown as Figure 8As shown. The computer device includes a processor, a memory, an input / output interface (Input / Output, referred to as I / O) and a communication interface. Among them, the processor, the memory and the input / output interface are connected through a system bus, and the communication interface is connected to the system bus through the input / output interface. Among them, the processor of the computer device is used to provide computing and control capabilities. The memory of the computer device includes a non-volatile storage medium and an internal memory. The non-volatile storage medium stores an operating system, a computer program and a database. The internal memory provides an environment for the operation of the operating system and the computer program in the non-volatile storage medium. The database of the computer device is used to store pending transactions. The input / output interface of the computer device is used to exchange information between the processor and an external device. The communication interface of the computer device is used to communicate with an external terminal through a network connection. When the computer program is executed by the processor, the shared energy storage scheduling optimization method in Example 1 is implemented.
[0185] It should be noted that the object information (including but not limited to object device information, object personal information, etc.) and data (including but not limited to data used for analysis, stored data, displayed data, etc.) involved in the present invention are all information and data authorized by the object or fully authorized by all parties.
[0186] Those skilled in the art can understand that all or part of the processes in the above-mentioned embodiments can be completed by instructing the relevant hardware through a computer program, and the computer program can be stored in a non-volatile computer-readable storage medium. When the computer program is executed, it can include the processes of the embodiments of the above-mentioned methods. Among them, any reference to the memory, database or other medium used in the embodiments provided by the present invention can include at least one of non-volatile and volatile memory. Non-volatile memory can include read-only memory (ROM), magnetic tape, floppy disk, flash memory, optical memory, high-density embedded non-volatile memory, resistive random access memory (ReRAM), magnetoresistive random access memory (MRAM), ferroelectric random access memory (FRAM), phase change memory (PCM), graphene memory, etc. Volatile memory can include random access memory (RAM) or external cache memory, etc. As an illustration and not limitation, RAM can be in various forms, such as static random access memory (SRAM) or dynamic random access memory (DRAM). The database involved in each embodiment provided by the present invention may include at least one of a relational database and a non-relational database. Non-relational databases may include distributed databases based on blockchains, etc., but are not limited thereto. The processor involved in each embodiment provided by the present invention may be a general-purpose processor, a central processing unit, a graphics processor, a digital signal processor, a programmable logic device, etc., but are not limited thereto.
[0187] The technical features of the above embodiments may be arbitrarily combined. To make the description concise, not all possible combinations of the technical features in the above embodiments are described. However, as long as there is no contradiction in the combination of these technical features, they should be considered to be within the scope of this specification.
[0188] The principles and implementation methods of the present invention are described in this article using specific examples. The description of the above embodiments is only used to help understand the method and core idea of the present invention. At the same time, for those skilled in the art, according to the idea of the present invention, there will be changes in the specific implementation methods and application scope. In summary, the content of this specification should not be understood as limiting the present invention.
Claims
1. A shared energy storage scheduling optimization method, characterized in that: include: Considering the cost of energy storage participating in the interaction between grid supply and demand and the voltage fluctuation of the entire grid, a dual objective function is constructed. A multi-objective particle swarm algorithm based on adaptive weights and hybrid diversity strategy is used to optimize and solve the constructed dual objective function, and the optimal energy storage capacity and power configuration of the shared energy storage that minimizes the operating cost of the shared energy storage system and the overall variance of the distribution network voltage amplitude, as well as the lowest shared energy storage system operating cost and the smallest overall variance of the distribution network voltage amplitude are obtained; wherein the hybrid diversity strategy is a hybrid diversity strategy based on Maximin and supplemented by congestion distance.
2. The shared energy storage scheduling optimization method according to claim 1, characterized in that: The dual objective function includes: a first objective function with the lowest operating cost of the shared energy storage system as the optimization target and a second objective function with the lowest overall variance of the distribution network voltage amplitude as the optimization target.
3. The shared energy storage scheduling optimization method according to claim 2 is characterized in that: The first objective function is: In the formula, C ES is the operating cost of the shared energy storage system, C B is the basic cost, C buy The cost of charging energy storage; C pd The profit obtained by energy storage participating in the interaction between power grid supply and demand, C sub Direct subsidies for energy storage to participate in grid supply and demand interactions; The energy storage operation constraints include: energy storage device charging and discharging power constraints, energy storage device discharge power load constraints, energy storage device charge state constraints, energy storage charge state continuity constraints, energy storage power climbing constraints and user response penalty coefficients; The energy storage device charging and discharging power constraints are: Where P char (t) and P dischar (t) are the charging power and discharging power of the shared energy storage at time t, and are the maximum power of charging and discharging of the energy storage with sequence number i, and n is the number of energy storages; The energy storage device discharge power load constraint is: P dischar (t)≤P loss (t); Where P loss (t) is the total user load at time t; The state of charge constraint of the energy storage device is: In the formula, B soc (t) is the state of charge of the shared energy storage at time t, and are the upper and lower limits of the state of charge of the energy storage device, respectively. i,soc is the energy storage capacity with serial number i; The energy storage charge state continuity constraint is: In the formula, B soc (t-1) is the energy storage charge state at time t-1, Δt is the duration of each charging and discharging period, η esc and η esd are the charging efficiency and discharging efficiency of the energy storage device, P char (t-1) and P dischar (t-1) are the charging power and discharging power of the shared energy storage at time t-1 respectively; The energy storage power climbing constraint is: Where V c,down and V c,up are the maximum uphill and downhill climbing rates of energy storage charging, V d,down and V d,up They are the maximum uphill and downhill climbing rates of energy storage discharge respectively; The user response penalty coefficient is: In the formula, is the discharge power after penalty correction, P u is the user response penalty coefficient, r b is the reference electricity price, r i is the actual electricity price, g i is the actual cost of power quality problems, g mean is the average cost of power quality issues, η r and η g Price sensitivity and cost sensitivity of power quality issues assessed for operators respectively; is the network loss at time t, C loss is the network loss cost per unit power, N V is the number of voltage sags, C V It is the cost of a single voltage sag.
4. The shared energy storage scheduling optimization method according to claim 2 is characterized in that: The second objective function is: Where D all is the overall variance of the distribution network voltage amplitude, V t,i is the voltage amplitude of the node where the energy storage with sequence number i is located at time t; is the average value of the voltage amplitude of the distribution network at time t, B is the number of nodes in the distribution network, and T is the total time; The power flow constraints of the distribution network include: node power flow constraints, node voltage constraints, network power balance constraints and line transmission power constraints; The node power flow constraint is: Where P i (t), Q i (t) are the active power and reactive power of the energy storage node with sequence number i at time t, U i (t) is the voltage of the node where the energy storage with sequence number i is located at time t, U j (t) is the voltage of the node where the energy storage with sequence number j is located at time t, G ij is the conductance between the node where the energy storage with sequence number i is located and the node where the energy storage with sequence number j is located, B ij is the susceptance between the node where the energy storage with sequence number i is located and the node where the energy storage with sequence number j is located; δ ij (t) is the phase angle between the energy storage node with sequence number i and the energy storage node with sequence number j at time t; The node voltage constraint is: IN min ≤U i ≤U max ; Where U i is the voltage amplitude of the node where the energy storage with sequence number i is located, U min is the minimum value of the node voltage amplitude allowed, U max is the maximum value of the node voltage amplitude allowed; The network power balance constraint is: P all =P load +P loss -P B ; Where P all The total active power injected into the grid, P load is the active load of the system, P loss is the power lost in the network, P B is the total active power of the shared energy storage device; The line transmission power constraint is: |P l |≤P max ; In the formula, |P l | is the transmission power of the lth branch, P max The maximum transmission power allowed by the line.
5. The shared energy storage scheduling optimization method according to claim 1, characterized in that: The constructed dual objective function is optimized and solved by a multi-objective particle swarm algorithm based on adaptive weight and hybrid diversity strategy, and the optimal energy storage capacity and power configuration of the shared energy storage with the lowest operating cost of the shared energy storage system and the smallest overall variance of the distribution network voltage amplitude are obtained, as well as the lowest operating cost of the shared energy storage system and the smallest overall variance of the distribution network voltage amplitude, including: Initialize the position, velocity, inertia weight and maximum number of iterations of each particle to form an initial population, and set the non-dominated solution set to an empty set; Preset the size of the non-dominated solution set and set the number of iterations k equal to zero; A hybrid diversity strategy with Maximin strategy as the main strategy and crowding distance strategy as the auxiliary strategy is used to calculate the fitness and dominance relationship of each particle in the initial population; Based on the initialized position of each particle, update the optimal position of each particle and the global optimal particle position; Updating the inertia weight; the inertia weight is an adaptive weight that changes adaptively with iteration; According to the initial position and speed of each particle, the optimal position of each particle and the global optimal particle position are updated, as well as the updated inertia weight, the speed and position of the particle are updated to generate a new generation of population; Save the non-dominated solutions in the new generation population into the non-dominated solution set; Perform a truncation operation on the non-dominated solution set so that the size of the truncated non-dominated solution set is equal to the size of the preset non-dominated solution set; Determine whether an iteration termination condition is reached; the iteration termination condition is a maximum number of iterations or convergence; If the iteration termination condition is not met, the value of the iteration number k is increased by 1, and the initial population is updated to the new generation population, and the step "using the mixed diversity strategy with Maximin strategy as the main strategy and crowding distance strategy as the auxiliary strategy to calculate the fitness and dominance relationship of each particle in the initial race" is returned; If the iteration termination condition is met, the truncated non-dominated solution set is output to obtain the optimal energy storage capacity and power configuration of the shared energy storage that minimizes the operating cost of the shared energy storage system and the overall variance of the distribution network voltage amplitude, as well as the lowest shared energy storage system operating cost and the smallest overall variance of the distribution network voltage amplitude.
6. The shared energy storage scheduling optimization method according to claim 5, characterized in that: The updating formula of the adaptive weight is: In the formula, is the inertia weight of the g-th particle at the k+1th iteration, ω min ,ω max are the minimum and maximum values of the inertia weight, respectively. represents the objective function fitness value of the g-th particle at the k-th iteration, represents the minimum target fitness value of the kth iteration, is the average objective function fitness value of all particles in the kth iteration.
7. The shared energy storage scheduling optimization method according to claim 5, characterized in that: The hybrid diversity strategy with Maximin strategy as the main strategy and crowding distance strategy as the auxiliary strategy is used to calculate the fitness and dominance relationship of each particle in the initial population, including: The Maximin fitness function is used to calculate the fitness of each particle in the initial population; Sort the fitness of each particle in the initial population from small to large; If there are cases where the fitness is the same, the crowding distance is used to sort the fitnesses to determine the dominance relationship.
8. A computer device comprising: A memory, a processor, and a computer program stored in the memory and executable on the processor, wherein the processor executes the computer program to implement the shared energy storage scheduling optimization method according to any one of claims 1 to 7.
9. A computer-readable storage medium having a computer program stored thereon, characterized in that: When the computer program is executed by a processor, the shared energy storage scheduling optimization method described in any one of claims 1 to 7 is implemented.
10. A computer program product, comprising a computer program, characterized in that When the computer program is executed by a processor, the shared energy storage scheduling optimization method described in any one of claims 1 to 7 is implemented.
Citation Information
Patent Citations
Active power distribution network energy storage optimization configuration method based on multi-target particle swarm optimization
CN116488206A
Cited By
Power grid energy storage scheduling method and system based on deep learning and energy management
CN118822229A
Power grid energy storage dispatching method and system based on deep learning and energy management
CN118822229B
Energy storage system charging and discharging time period adjusting and optimizing method, medium and system
CN119341048A
Multi-dimensional balance scheduling shared energy storage optimization method, medium and program product
CN119419796A
Power grid side shared energy storage configuration method and system considering partition reserve
CN120013101A
