Community shared energy storage cooperation configuration optimization method and device, terminal and medium

By building a power interaction model between community users, shared energy storage power stations and distribution networks, and establishing a dual-layer optimization model of dual objective functions, the problem of energy storage loss accelerated with time is solved, and the economical configuration and maximum shared energy storage are realized Optimal operation reduces the energy cost and peak-to-valley gap, and improves the rationality of configuration and grid stability.

CN119029991AActive Publication Date: 2024-11-26NANJING SUYI IND +1

Patent Information

Application Number
CN202411489876.7
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2024-10-24
Publication Date
2024-11-26
Estimated Expiration
2044-10-24

AI Technical Summary

Technical Problem

The existing shared energy storage configuration technology ignores the energy storage loss model and does not consider the characteristics of energy storage loss accelerating with time, resulting in the configuration results deviating from reality, making it difficult to achieve a reasonable community shared energy storage planning.

Method used

A community shared energy storage cooperative configuration optimization method is proposed. By constructing a power interaction model between community users, shared energy storage power stations and distribution networks, a dual-objective function that calculates the dynamic power loss cost of energy storage, and a double-layer optimization is formulated. The model is used and the genetic algorithm is combined with mixed integer linear programming to obtain the optimal configuration solution.

Benefits of technology

On the basis of refined modeling of energy storage losses, reduce user energy consumption costs, take into account the economic configuration and optimal operation of shared energy storage, improve the rationality and actual value of the configuration, achieve supply and demand balance, and reduce the peak and valley gap. Improve the safe and stable operation of the power grid.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN119029991A_ABST
    Figure CN119029991A_ABST
Patent Text Reader

Abstract

The invention discloses a community shared energy storage cooperation configuration optimization method and device, a terminal and a medium. The method comprises the following steps: constructing a power interaction model among community users, a shared energy storage power station and a power distribution network; based on the power interaction model, establishing a community shared energy storage configuration dual-objective function considering the energy storage dynamic power loss cost, and obtaining a dual-layer optimization model; respectively formulating constraint conditions for shared energy storage configuration and optimal operation in the double-layer optimization model; and solving the double-layer optimization model in combination with the constraint condition to obtain an optimal configuration scheme of community shared energy storage. According to the method, the problem that energy storage capacity loss modeling is neglected in the current shared energy storage configuration problem is solved, the dynamic characteristic of energy storage power loss as time goes on is further considered, the obtained community shared energy storage configuration scheme better conforms to the real situation, economical configuration and optimal operation of shared energy storage can be effectively considered, and the method is suitable for popularization and application. And supply-demand balance is realized.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present invention relates to the technical field of shared energy storage planning, and in particular to a method, device, terminal and medium for optimizing cooperative configuration of community shared energy storage. Background Art

[0002] With the gradual development of the economy and society, electricity consumption has shown an upward trend year by year; at the same time, with the development of distributed renewable energy, the user side has changed from traditional consumers to prosumers, and the uncertainty of source and load has further widened. In recent years, user-side energy storage has become one of the key projects worthy of attention in recent years; as a buffer between power distribution and power consumption, user-side energy storage can effectively adjust the supply and demand relationship; and energy storage is beneficial to reducing the peak-to-valley gap for the distribution network and reducing energy costs for users; however, the high primary cost investment of electrochemical energy storage restricts the energy storage configuration of single users. Therefore, how to improve the efficiency of energy storage utilization and share the investment cost of shared energy storage configuration has become a hot research topic. However, the existing shared energy storage configuration technology ignores the effective modeling of its loss model, and the existing modeling does not take into account the characteristics that energy storage loss will accelerate over time, which will cause the shared energy storage configuration results to deviate from reality and is not conducive to the reasonable planning of community shared energy storage. Therefore, the current configuration of shared energy storage configuration schemes needs to be optimized. Summary of the invention

[0003] In order to address the deficiencies in the prior art, the present invention is aimed at community shared energy storage configuration with distributed power source access, and proposes a community shared energy storage cooperative configuration optimization method, device, terminal and medium taking into account the time characteristics of energy storage loss. It can reduce the user's energy cost on the basis of refined modeling of the cost of energy storage loss, take into account the economic configuration and optimal operation of shared energy storage, and achieve supply and demand balance.

[0004] The present invention adopts the following technical solution.

[0005] In a first aspect, the present invention provides a method for optimizing cooperative configuration of community shared energy storage, the method comprising: Construct a power interaction model between community users, shared energy storage power stations and distribution networks; Based on the power interaction model, a dual-objective function for community shared energy storage configuration taking into account the dynamic power loss cost of energy storage is established to obtain a two-layer optimization model; Formulate constraints for shared energy storage configuration and optimal operation in the two-layer optimization model respectively; The two-layer optimization model is solved in combination with the constraints to obtain the optimal configuration plan for community shared energy storage.

[0006] Optionally, the power interaction model includes setting the community users, the shared energy storage power station and the distribution network into the following four interaction types: The first type of interaction involves electricity sharing between users in different communities; The second type of interaction includes power interaction between shared energy storage power stations and community users, in which community users with rooftop photovoltaics store their surplus electricity in shared energy storage power stations and give priority to using the electricity stored in shared energy storage power stations when photovoltaic supply is insufficient; The third type of interaction includes power interaction between community users and the distribution network, in which, when the power of the shared energy storage power station reaches the rated capacity, the community users with rooftop photovoltaics input the excess power into the distribution network, and when the photovoltaic supply is insufficient and the power of the shared energy storage power station is insufficient, the distribution network provides power to the community users; The fourth type of interaction includes power interaction between shared energy storage power stations and distribution networks, in which the shared energy storage power stations obtain electricity from the distribution network for charging when electricity prices are low, and discharge electricity to the distribution network during peak times, thereby reducing the peak electricity purchased by the community.

[0007] Optionally, the expression of the energy storage dynamic power loss cost is as follows: , , In the formula, Indicates that the shared energy storage power station is Year scenario Daily power loss cost under ; and They are Year scenario Down Energy storage charging power and discharging power in each time period; Indicates The power loss cost factor for the year, is the initial power loss factor, is the attenuation acceleration factor.

[0008] Optionally, the upper objective function in the two-layer optimization model aims at optimizing the economic efficiency of the shared energy storage power station over its entire life cycle, and its expression is as follows: , , , , , In the formula, represents the total annual cost of the shared energy storage power station; represents the investment and maintenance costs of shared energy storage power stations; represents the annual operating cost of the shared energy storage power station; represents the capacity of the shared energy storage power station, is the unit capacity investment cost of the shared energy storage power station; is the unit capacity maintenance cost of the shared energy storage power station; It is the calculation parameter used to calculate the annual shared energy storage power station investment cost; represents the annual interest rate; Indicates the battery life of the shared energy storage power station; Indicates expected values ​​under various scenarios; Indicates user In the Year scenario Daily operating costs under Indicates the total number of community users; Indicates that the shared energy storage power station is Year scenario Daily power loss cost under ; and Respectively The electricity purchase price and electricity sales price during the time period; and The users are In the Year scenario Down The power purchased and sold during the period.

[0009] Optionally, the lower objective function in the two-layer optimization model aims to minimize the user energy cost and the energy storage loss cost, and its expression is as follows: , In the formula, represents the annual operating cost of the shared energy storage power station; Indicates the battery life of the shared energy storage power station; Indicates expected values ​​under various scenarios; Indicates user In the Year scenario Daily operating costs under Indicates the total number of community users; Indicates that the shared energy storage power station is Year scenario The daily power loss cost under .

[0010] Optionally, the constraint conditions for shared energy storage configuration in the two-layer optimization model include shared energy storage investment cost constraints: , In the formula, represents the unit capacity investment cost of the shared energy storage power station; represents the capacity of the shared energy storage power station; represents the unit capacity maintenance cost of the shared energy storage power station; Represents the maximum installation cost of a shared energy storage power station.

[0011] Optionally, the constraints for optimal operation in the two-layer optimization model include shared energy storage state of charge constraints, shared energy storage charging and discharging power constraints, and shared energy storage power balance constraints.

[0012] Optionally, a genetic algorithm combined with a mixed integer linear programming solver is used to solve the two-layer optimization model.

[0013] Optionally, the step of solving the two-layer optimization model includes: Step 1: Generate an initial population based on the initial parameters of the two-layer optimization model, where each particle in the population represents a rated capacity scheme of a shared energy storage power station; Step 2: Call the mixed integer linear programming solver to solve the lower model, and return the energy storage charging and discharging operation strategy obtained by the solution to the upper model; Step 3: Based on the energy storage charging and discharging operation strategy obtained in step 2, calculate the fitness value of the upper model, that is, the minimum annual total cost of the shared energy storage power station; Step 4: According to the fitness index calculated in step 3, select the population for crossover mutation to form a new population; Step 5: Based on the updated population, repeat steps 2-4 until the set termination condition is met, and output the optimal configuration strategy of the shared energy storage power station.

[0014] In a second aspect, the present invention provides a community shared energy storage cooperative configuration optimization device, which runs the steps of any method described in the first aspect of the present invention, and the device includes: Construct a power interaction model module to build a power interaction model between community users, shared energy storage power stations and distribution networks; Establishing a two-layer optimization model module, which is used to establish a community shared energy storage configuration dual-objective function taking into account the dynamic power loss cost of energy storage based on the power interaction model, and obtain a two-layer optimization model; A constraint formulation module, used to formulate constraint conditions for shared energy storage configuration and optimal operation in the two-layer optimization model respectively; The optimization configuration solving module is used to solve the two-layer optimization model in combination with the constraint conditions to obtain the optimal configuration plan for community shared energy storage.

[0015] Optionally, the expression for the dynamic power loss cost of energy storage in the two-layer optimization model module is as follows: , , In the formula, Indicates that the shared energy storage power station is Year scenario Daily power loss cost under ; and They are Year scenario Down Energy storage charging power and discharging power in each time period; Indicates The power loss cost factor for the year, is the initial power loss factor, is the attenuation acceleration factor.

[0016] Optionally, the module for establishing a two-layer optimization model includes a first establishing unit for establishing an upper-layer objective function with the economic optimization of the entire life cycle of the shared energy storage power station as the goal, and the expression thereof is as follows: , , , , , In the formula, represents the total annual cost of the shared energy storage power station; represents the investment and maintenance costs of shared energy storage power stations; represents the annual operating cost of the shared energy storage power station; represents the capacity of the shared energy storage power station, is the unit capacity investment cost of the shared energy storage power station; is the unit capacity maintenance cost of the shared energy storage power station; It is the calculation parameter used to calculate the annual shared energy storage power station investment cost; represents the annual interest rate; Indicates the battery life of the shared energy storage power station; Indicates expected values ​​under various scenarios; Indicates user In the Year scenario Daily operating costs under Indicates the total number of community users; Indicates that the shared energy storage power station is Year scenario Daily power loss cost under ; and Respectively The electricity purchase price and electricity sales price during the time period; and The users are In the Year scenario Down The power purchased and sold during the period.

[0017] Optionally, the module for establishing a two-layer optimization model includes a second establishing unit for establishing a lower layer objective function with the goal of minimizing the user energy cost and the energy storage loss cost, and the expression thereof is as follows: , In the formula, represents the annual operating cost of the shared energy storage power station; Indicates the battery life of the shared energy storage power station; Express expected values ​​under various scenarios; Indicates user In the Year scenario Daily operating costs under Indicates the total number of community users; Indicates that the shared energy storage power station is Year scenario The daily power loss cost under .

[0018] In a third aspect, the present invention provides a terminal, including a processor and a storage medium; The storage medium is used to store instructions; The processor is used to operate according to the instructions to execute the steps of any one of the methods described in the first aspect of the present invention.

[0019] In a fourth aspect, the present invention provides a computer-readable storage medium having a computer program stored thereon, which, when executed by a processor, implements the steps of any one of the methods described in the first aspect of the present invention.

[0020] The beneficial effects of the present invention are as follows: 1. In view of the problem that the current energy storage configuration model does not take into account the time characteristics of power loss, the present invention proposes a community shared energy storage cooperative configuration optimization method that takes into account the dynamic power loss cost of energy storage; considering the characteristic that the power loss of a shared energy storage power station accelerates over time, the present invention further improves the modeling of energy storage loss, so that the final optimized configuration plan is closer to the actual situation, improves the rationality of the configuration of community shared energy storage, and the result is more practical.

[0021] 2. The community shared energy storage cooperative configuration two-layer optimization model proposed in the present invention can reduce the user's energy cost on the basis of refined modeling of energy storage loss costs, taking into account the economic configuration of shared energy storage and the optimal operation of shared energy storage-users to achieve supply and demand balance; for shared energy storage, it improves the operating efficiency of shared energy storage power stations; for users, in addition to effectively reducing the group's energy cost, it can also effectively reduce the energy cost of individual users; for the distribution network, it can reduce the user's peak-to-valley difference and maintain the safe and stable operation of the power grid. BRIEF DESCRIPTION OF THE DRAWINGS

[0022] Figure 1 This is a flow chart of the community shared energy storage cooperation configuration optimization method in the present invention; Figure 2 This is a structural principle block diagram of the community shared energy storage cooperative configuration optimization device in the present invention. DETAILED DESCRIPTION

[0023] 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 embodiments of the present invention. The embodiments described in the present invention are only part of the embodiments of the present invention, not all of the embodiments. Based on the spirit of the present invention, other embodiments obtained by ordinary technicians in this field without creative work are all within the scope of protection of the present invention.

[0024] Embodiment 1: Reference Figure 1 The embodiment of the present invention provides a method for optimizing the cooperative configuration of shared energy storage in a district, which specifically includes the following steps: Step S1: construct a power interaction model between community users, shared energy storage power stations and distribution networks; In this embodiment, the power interaction model includes setting the community users, the shared energy storage power station and the distribution network into the following four types of interactions: 1) Power sharing among users in different communities: Community users can obtain power from other users and also transfer excess power to other users; 2) Electricity interaction between shared energy storage power stations and community users, where community users with rooftop photovoltaics store their surplus electricity in shared energy storage power stations and give priority to using electricity stored in shared energy storage power stations when photovoltaic supply is insufficient; 3) Power interaction between community users and the distribution network, where when the power of the shared energy storage power station reaches the rated capacity, community users with rooftop photovoltaics will input the excess power into the distribution network, and when the photovoltaic supply is insufficient and the power of the shared energy storage power station is insufficient, the distribution network will provide power to the community users; 4) Electricity interaction between shared energy storage power stations and distribution networks, where shared energy storage power stations obtain electricity from the distribution network for charging when electricity prices are low, and discharge electricity to the distribution network during peak hours, thereby reducing peak electricity purchases by the community.

[0025] Step S2: Based on the power interaction model, a dual-objective function of community shared energy storage configuration taking into account the dynamic power loss cost of energy storage is established to obtain a two-layer optimization model; Taking into account that energy storage attenuation is related to its charging and discharging behavior and accelerates over time, the present invention designs a dynamic power loss cost model for a shared energy storage power station: , , In the formula, Indicates that the shared energy storage power station is Year scenario Daily power loss cost under ; and They are Year scenario Down Energy storage charging power and discharging power in each time period; Indicates The power loss cost factor for the year, is the initial power loss factor, is the attenuation acceleration factor.

[0026] As an embodiment of the present invention, the upper model in the two-layer optimization model mainly considers the economic optimization of the shared energy storage power station over its entire life cycle, taking into account the investment cost and the operating cost (including the user's electricity cost and the operating cost of the shared energy storage power station); since the configuration layer involves long-term period planning, the time cost of funds needs to be considered; further, the expression of the upper objective function with the economic optimization of the shared energy storage power station over its entire life cycle as the goal is as follows: , , , , , In the formula, represents the total annual cost of the shared energy storage power station; represents the investment and maintenance costs of shared energy storage power stations; represents the annual operating cost of the shared energy storage power station, It consists of two parts: one is the energy cost of multiple users, and the other is the loss cost of energy storage; represents the capacity of the shared energy storage power station, is the unit capacity investment cost of the shared energy storage power station; is the unit capacity maintenance cost of the shared energy storage power station; It is the calculation parameter used to calculate the annual shared energy storage power station investment cost; represents the annual interest rate; Indicates the battery life of the shared energy storage power station; Indicates expected values ​​under various scenarios; Indicates user In the Year scenario Daily operating costs under Indicates the total number of community users; Indicates that the shared energy storage power station is Year scenario Daily power loss cost under ; and Respectively The electricity purchase price and electricity sales price during the time period; and The users are In the Year scenario Down The power purchased and sold during the period.

[0027] As an embodiment of the present invention, for a community user cooperative alliance group, the lower model in the two-layer optimization model considers the optimal operation strategy of the shared energy storage power station and the user after the configuration is known, that is, the user energy cost and the energy storage loss cost are minimized, and its objective function is expressed as: , In the formula, represents the annual operating cost of the shared energy storage power station; Indicates the battery life of the shared energy storage power station; Indicates expected values ​​under various scenarios; Indicates user In the Year scenario Daily operating costs under Indicates the total number of community users; Indicates that the shared energy storage power station is Year scenario The daily power loss cost under .

[0028] Step S3: respectively formulate the constraints for shared energy storage configuration and optimal operation in the two-layer optimization model; specifically, as follows: In the upper-level model, the shared energy storage configuration constraints include the shared energy storage investment cost constraints: , In the formula, represents the unit capacity investment cost of the shared energy storage power station; represents the capacity of the shared energy storage power station; represents the unit capacity maintenance cost of the shared energy storage power station; Represents the maximum installation cost of a shared energy storage power station.

[0029] In the lower-level model, the constraints on the operation of shared energy storage power stations, users and distribution networks are mainly considered. The constraints for optimal operation include: 1) Shared energy storage state of charge constraints: , , , In the formula, and Respectively represent Year scenario Down Time period and Energy storage capacity during the time period; and They represent the charging efficiency and discharging efficiency of the shared energy storage power station respectively; and They are Year scenario Down Energy storage charging power and discharging power in each time period; and Respectively represent Year scenario The energy storage capacity in the next 0 period and 24 period; Indicates the maximum discharge depth; represents the capacity of the shared energy storage power station; 2) Shared energy storage charging and discharging power constraints: , , , In the formula, Indicates the maximum charge and discharge rate of the shared energy storage power station; and are Boolean variables, representing the shared energy storage power station The charging and discharging states of the time period, When it is 1, it means the shared energy storage power station is in charging state. When it is 1, it indicates that the shared energy storage power station is in the discharging state; 3) Shared energy storage power balance constraints: , , , , In the formula, and Respectively represent Year scenario Down Time-sharing energy storage power stations and users The charging power and discharging power between Indicates the total number of community users; and They are Year scenario Down The power purchase and sales of the time-sharing energy storage power station; and They are the upper and lower limits allowed for the interaction between the shared energy storage power station and the distribution network; 4) User power balance constraints: , , , In the formula, Indicates Year scenario w Time users and users The interaction power between and The users are In the Year scenario Down The power purchased and sold during the time period; Indicates Year scenario Down Time users Power requirements; It is Year scenario Down Time users The predicted photovoltaic power, and They respectively represent the lower and upper limits of power interaction between the distribution network and the user.

[0030] Step S4: Solve the two-layer optimization model in combination with the constraint conditions to obtain the optimal configuration plan for community shared energy storage.

[0031] It is further explained that since the community shared energy storage cooperative configuration model taking into account the dynamic power loss cost established in this embodiment is a two-layer optimization model, it can be seen from the parameters and variables involved that the upper model is a linear model and the lower model is a mixed integer linear programming model. Therefore, this embodiment uses an intelligent algorithm (such as a genetic algorithm, a particle swarm algorithm) nested linear programming algorithm for solving. Among them, the mixed integer linear programming solver can use CPLEX, Gurobi or CVX, which are all existing mature tools and will not be repeated here.

[0032] In a preferred but non-limiting embodiment, the steps of solving the two-level optimization model using a genetic algorithm combined with a mixed integer linear programming solver include: Step 1: Generate an initial population based on the initial parameters of the two-layer optimization model, where each particle in the population represents a rated capacity scheme of a shared energy storage power station; Step 2: Call the mixed integer linear programming solver to solve the lower model, and return the energy storage charging and discharging operation strategy obtained by the solution to the upper model; Step 3: Based on the energy storage charging and discharging operation strategy obtained in step 2, calculate the fitness value of the upper model, that is, the minimum annual total cost of the shared energy storage power station; Step 4: According to the fitness index calculated in step 3, select the population for crossover mutation to form a new population; Step 5: Based on the updated population, repeat steps 2-4 until the set termination condition is met, and output the optimal configuration strategy of the shared energy storage power station.

[0033] It is further explained that the present invention solves the problem of ignoring the modeling of energy storage capacity loss in the current shared energy storage configuration problem, and further takes into account the dynamic characteristics of energy storage capacity loss over time, so that the established shared energy storage configuration model is closer to the actual situation; configuring energy storage through this method can effectively reduce the energy consumption costs of community users and improve the economy of the system.

[0034] In order to verify the effectiveness of the community shared energy storage cooperative configuration optimization method provided by the present invention, a cooperative alliance consisting of 8 ordinary users and 12 prosumer type users including photovoltaics is taken as an example to perform the optimal economic configuration of shared energy storage; the life of the shared energy storage power station is set to 15 years; the rated capacity cost is 2000 yuan / kWh; the annual operation and maintenance cost is 100 yuan / kW; the charging and discharging efficiency is 95%; the peak time of the power grid (10:00-15:00, 18:00-21:00) and the normal time ((7:00-10:00, 15:00-18:00, The electricity prices during off-peak hours (21:00–24:00) and valley hours (24:00–7:00) are 1.1 yuan / kWh, 0.6 yuan / kWh, and 0.3 yuan / kWh, respectively; the electricity sales price is 0.35 yuan / kWh; during the life cycle, the attenuation acceleration coefficient of the power loss factor of the shared energy storage power station is 110%, and the corresponding configuration results are shown in Table 1.

[0035] Table 1 Comparison results before and after shared energy storage configuration project After configuring shared energy storage Before configuring shared energy storage Energy storage capacity / kWh 806.81 0 Annual energy storage construction and operation and maintenance costs / yuan 197100 0 Annual operating cost / yuan 660900 893000 Total annual cost / yuan 858000 893000 As can be seen from Table 1, by configuring shared energy storage, the total cost can be saved by 35,000 yuan per year, the economic benefit can be improved by 3.92%, the community can save 232,100 yuan per year, and the operating cost and economy can be improved by 25.6%. The results show that by investing in shared energy storage through the method of the present invention, the scale effect can be used to improve the economic benefit, greatly reduce the annual total cost, and realize the reasonable configuration of community shared energy storage, which is of great significance for improving the production of shared energy storage power stations.

[0036] The beneficial effects of the present invention are as follows: 1. In view of the problem that the current energy storage configuration model does not take into account the time characteristics of power loss, the present invention proposes a community shared energy storage cooperative configuration optimization method that takes into account the dynamic power loss cost of energy storage; considering the characteristic that the power loss of a shared energy storage power station accelerates over time, the present invention further improves the modeling of energy storage loss, so that the final optimized configuration scheme is closer to the actual situation, improves the rationality of the configuration of community shared energy storage, and the result is more practical.

[0037] 2. The community shared energy storage cooperative configuration two-layer optimization model proposed in the present invention can reduce the user's energy cost on the basis of refined modeling of energy storage loss costs, taking into account the economic configuration of shared energy storage and the optimal operation of shared energy storage-users to achieve supply and demand balance; for shared energy storage, it improves the operating efficiency of shared energy storage power stations; for users, in addition to effectively reducing the group's energy cost, it can also effectively reduce the energy cost of individual users; for the distribution network, it can reduce the user's peak-to-valley difference and maintain the safe and stable operation of the power grid.

[0038] Embodiment 2: like Figure 2 As shown, the present invention provides a community shared energy storage cooperative configuration optimization device, which is used to implement the steps of the method in the above embodiment 1, and the device specifically includes: Construct a power interaction model module to build a power interaction model between community users, shared energy storage power stations and distribution networks; Establishing a two-layer optimization model module, which is used to establish a community shared energy storage configuration dual-objective function taking into account the dynamic power loss cost of energy storage based on the power interaction model, and obtain a two-layer optimization model; A constraint formulation module, used to formulate constraint conditions for shared energy storage configuration and optimal operation in the two-layer optimization model respectively; The optimization configuration solving module is used to solve the two-layer optimization model in combination with the constraint conditions to obtain the optimal configuration plan for community shared energy storage.

[0039] As an embodiment of the present invention, the expression for the dynamic power loss cost of energy storage in the double-layer optimization model module is established as follows: , , In the formula, Indicates that the shared energy storage power station is Year scenario Daily power loss cost under ; and They are Year scenario Down Energy storage charging power and discharging power in each time period; Indicates The power loss cost factor for the year, is the initial power loss factor, is the attenuation acceleration factor.

[0040] In this embodiment, the module for establishing a two-layer optimization model includes a first establishing unit for establishing an upper-layer objective function with the goal of optimizing the economic efficiency of the shared energy storage power station over its entire life cycle, and its expression is as follows: , , , , , In the formula, represents the total annual cost of the shared energy storage power station; represents the investment and maintenance costs of shared energy storage power stations; represents the annual operating cost of the shared energy storage power station; represents the capacity of the shared energy storage power station, is the unit capacity investment cost of the shared energy storage power station; is the unit capacity maintenance cost of the shared energy storage power station; It is the calculation parameter used to calculate the annual shared energy storage power station investment cost; represents the annual interest rate; Indicates the battery life of the shared energy storage power station; Express expected values ​​under various scenarios; Indicates user In the Year scenario Daily operating costs under Indicates the total number of community users; Indicates that the shared energy storage power station is Year scenario Daily power loss cost under ; and Respectively The electricity purchase price and electricity sales price during the time period; and The users are In the Year scenario Down The power purchased and sold during the period.

[0041] Furthermore, the two-layer optimization model module includes a second establishment unit for establishing a lower layer objective function with the goal of minimizing the user energy cost and the energy storage loss cost, and its expression is as follows: , In the formula, represents the annual operating cost of the shared energy storage power station; Indicates the battery life of the shared energy storage power station; Express expected values ​​under various scenarios; Indicates user In the Year scenario Daily operating costs under Indicates the total number of community users; Indicates that the shared energy storage power station is Year scenario The daily power loss cost under .

[0042] The community shared energy storage cooperative configuration optimization device provided in the embodiment of the present invention and the community shared energy storage cooperative configuration optimization method provided in Example 1 are based on the same technical concept, and can produce the beneficial effects described in Example 1. For the contents not described in detail in this embodiment, please refer to Example 1.

[0043] Embodiment three: A terminal provided by an embodiment of the present invention includes a processor and a storage medium; The storage medium is used to store instructions; The processor is used to operate according to the instruction to execute the steps of the method according to any one of the first embodiments.

[0044] Embodiment 4: An embodiment of the present invention provides a computer-readable storage medium, on which a computer program is stored. When the program is executed by a processor, the steps of any method described in Embodiment 1 are implemented.

[0045] The present disclosure may be a system, a method and / or a computer program product. The computer program product may include a computer-readable storage medium carrying computer-readable program instructions for causing a processor to implement various aspects of the present disclosure.

[0046] A computer-readable storage medium may be a tangible device that can hold and store instructions used by an instruction execution device. A computer-readable storage medium may be, for example, but not limited to, an electrical storage device, a magnetic storage device, an optical storage device, an electromagnetic storage device, a semiconductor storage device, or any suitable combination of the above. More specific examples (a non-exhaustive list) of computer-readable storage media include: a portable computer disk, a hard disk, a random access memory (RAM), a read-only memory (ROM), an erasable programmable read-only memory (EPROM or flash memory), a static random access memory (SRAM), a portable compact disk read-only memory (CD-ROM), a digital versatile disk (DVD), a memory stick, a floppy disk, a mechanical encoding device, such as a punch card or a raised structure in a groove on which instructions are stored, and any suitable combination of the above. The computer-readable storage medium used herein is not to be interpreted as a transient signal itself, such as a radio wave or other freely propagating electromagnetic wave, an electromagnetic wave propagating through a waveguide or other transmission medium (e.g., a light pulse through a fiber optic cable), or an electrical signal transmitted through a wire.

[0047] The computer-readable program instructions described herein can be downloaded from a computer-readable storage medium to each computing / processing device, or downloaded to an external computer or external storage device via a network, such as the Internet, a local area network, a wide area network, and / or a wireless network. The network can include copper transmission cables, optical fiber transmissions, wireless transmissions, routers, firewalls, switches, gateway computers, and / or edge servers. The network adapter card or network interface in each computing / processing device receives the computer-readable program instructions from the network and forwards the computer-readable program instructions for storage in the computer-readable storage medium in each computing / processing device.

[0048] The computer program instructions for performing the operations of the present disclosure may be assembly instructions, instruction set architecture (ISA) instructions, machine instructions, machine-dependent instructions, microcode, firmware instructions, state setting data, or source code or object code written in any combination of one or more programming languages, including object-oriented programming languages, such as Smalltalk, C++, etc., and conventional procedural programming languages, such as "C" language or similar programming languages. The computer-readable program instructions may be executed entirely on the user's computer, partially on the user's computer, as a separate software package, partially on the user's computer, partially on a remote computer, or entirely on a remote computer or server. In the case of a remote computer, the remote computer may be connected to the user's computer through any type of network, including a local area network (LAN) or a wide area network (WAN), or may be connected to an external computer (e.g., using an Internet service provider to connect through the Internet). In some embodiments, by using the state information of the computer-readable program instructions to personalize an electronic circuit, such as a programmable logic circuit, a field programmable gate array (FPGA), or a programmable logic array (PLA), the electronic circuit may execute the computer-readable program instructions, thereby implementing various aspects of the present disclosure.

[0049] 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, and any modifications or equivalent replacements that do 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 community shared energy storage cooperative configuration optimization method, characterized in that: Methods include: Construct a power interaction model between community users, shared energy storage power stations and distribution networks; Based on the power interaction model, a dual-objective function for community shared energy storage configuration taking into account the dynamic power loss cost of energy storage is established to obtain a two-layer optimization model; Formulate constraints for shared energy storage configuration and optimal operation in the two-layer optimization model respectively; The two-layer optimization model is solved in combination with the constraints to obtain the optimal configuration plan for community shared energy storage.

2. The community shared energy storage cooperative configuration optimization method according to claim 1 is characterized in that: The power interaction model includes setting the community users, shared energy storage power stations and distribution networks into the following four types of interactions: The first type of interaction involves electricity sharing between users in different communities; The second type of interaction includes power interaction between shared energy storage power stations and community users, in which community users with rooftop photovoltaics store their surplus electricity in shared energy storage power stations and give priority to using the electricity stored in shared energy storage power stations when photovoltaic supply is insufficient; The third type of interaction includes power interaction between community users and the distribution network, in which, when the power of the shared energy storage power station reaches the rated capacity, the community users with rooftop photovoltaics input the excess power into the distribution network, and when the photovoltaic supply is insufficient and the power of the shared energy storage power station is insufficient, the distribution network provides power to the community users; The fourth type of interaction includes power interaction between shared energy storage power stations and distribution networks, in which the shared energy storage power stations obtain electricity from the distribution network for charging when electricity prices are low, and discharge electricity to the distribution network during peak times, thereby reducing the peak electricity purchased by the community.

3. The community shared energy storage cooperative configuration optimization method according to claim 1 is characterized in that: The expression of the energy storage dynamic power loss cost is as follows: , , In the formula, Indicates that the shared energy storage power station is Year scenario Daily power loss cost under ; and They are Year scenario Down Energy storage charging power and discharging power in each time period; Indicates The power loss cost factor for the year, is the initial power loss factor, is the attenuation acceleration factor.

4. The community shared energy storage cooperative configuration optimization method according to claim 3 is characterized in that: The upper objective function in the two-layer optimization model aims to optimize the economic performance of the shared energy storage power station over its entire life cycle, and its expression is as follows: , , , , , In the formula, represents the total annual cost of the shared energy storage power station; represents the investment and maintenance costs of shared energy storage power stations; represents the annual operating cost of the shared energy storage power station; represents the capacity of the shared energy storage power station, is the unit capacity investment cost of the shared energy storage power station; is the unit capacity maintenance cost of the shared energy storage power station; It is the calculation parameter used to calculate the annual shared energy storage power station investment cost; represents the annual interest rate; Indicates the battery life of the shared energy storage power station; Express expected values ​​under various scenarios; Indicates user In the Year scenario Daily operating costs under Indicates the total number of community users; Indicates that the shared energy storage power station is Year scenario Daily power loss cost under ; and Respectively The electricity purchase price and electricity sales price during the time period; and The users are In the Year scenario Down The power purchased and sold during the period.

5. The community shared energy storage cooperative configuration optimization method according to claim 3 or 4, characterized in that: The lower objective function in the two-layer optimization model aims to minimize the user energy cost and energy storage loss cost, and its expression is as follows: , In the formula, represents the annual operating cost of the shared energy storage power station; Indicates the battery life of the shared energy storage power station; Express expected values ​​under various scenarios; Indicates user In the Year scenario Daily operating costs under Indicates the total number of community users; Indicates that the shared energy storage power station is Year scenario The daily power loss cost under .

6. The community shared energy storage cooperative configuration optimization method according to claim 1, characterized in that: The constraints for shared energy storage configuration in the two-layer optimization model include shared energy storage investment cost constraints: , In the formula, represents the unit capacity investment cost of the shared energy storage power station; represents the capacity of the shared energy storage power station; represents the unit capacity maintenance cost of the shared energy storage power station; Represents the maximum installation cost of a shared energy storage power station.

7. The community shared energy storage cooperative configuration optimization method according to claim 1, characterized in that: The optimal operation constraint conditions in the two-layer optimization model include shared energy storage charge state constraint, shared energy storage power balance constraint and user power balance constraint.

8. The community shared energy storage cooperative configuration optimization method according to claim 1, characterized in that: The two-level optimization model is solved by using a genetic algorithm combined with a mixed integer linear programming solver.

9. The community shared energy storage cooperative configuration optimization method according to claim 8, characterized in that: The steps of solving the two-layer optimization model include: Step 1: Generate an initial population based on the initial parameters of the two-layer optimization model, where each particle in the population represents a rated capacity scheme of a shared energy storage power station; Step 2: Call the mixed integer linear programming solver to solve the lower model, and return the energy storage charging and discharging operation strategy obtained by the solution to the upper model; Step 3: Based on the energy storage charging and discharging operation strategy obtained in step 2, calculate the fitness value of the upper model, that is, the minimum annual total cost of the shared energy storage power station; Step 4: According to the fitness index calculated in step 3, select the population for crossover mutation to form a new population; Step 5: Based on the updated population, repeat steps 2-4 until the set termination condition is met, and output the optimal configuration strategy of the shared energy storage power station.

10. A community shared energy storage cooperative configuration optimization device, running the community shared energy storage cooperative configuration optimization method according to any one of claims 1 to 9, characterized in that: The device includes: Construct a power interaction model module to build a power interaction model between community users, shared energy storage power stations and distribution networks; Establishing a two-layer optimization model module, which is used to establish a community shared energy storage configuration dual-objective function taking into account the dynamic power loss cost of energy storage based on the power interaction model, and obtain a two-layer optimization model; A constraint formulation module, used to formulate the constraint conditions for shared energy storage configuration and optimal operation in the two-layer optimization model respectively; The optimization configuration solving module is used to solve the two-layer optimization model in combination with the constraint conditions to obtain the optimal configuration plan for community shared energy storage.

11. The community shared energy storage cooperative configuration optimization device according to claim 10, characterized in that: The expression for the dynamic power loss cost of energy storage in the two-layer optimization model module is as follows: , , In the formula, Indicates that the shared energy storage power station is Year scenario Daily power loss cost under ; and They are Year scenario Down Energy storage charging power and discharging power in each time period; Indicates The power loss cost factor for the year, is the initial power loss factor, is the attenuation acceleration factor.

12. The community shared energy storage cooperative configuration optimization device according to claim 11, characterized in that: The module for establishing a two-layer optimization model includes a first establishing unit, which is used to establish an upper-layer objective function with the goal of optimizing the economic efficiency of the shared energy storage power station over its entire life cycle, and its expression is as follows: , , , , , In the formula, represents the total annual cost of the shared energy storage power station; represents the investment and maintenance costs of shared energy storage power stations; represents the annual operating cost of the shared energy storage power station; represents the capacity of the shared energy storage power station, is the unit capacity investment cost of the shared energy storage power station; is the unit capacity maintenance cost of the shared energy storage power station; It is the calculation parameter used to calculate the annual shared energy storage power station investment cost; represents the annual interest rate; Indicates the battery life of the shared energy storage power station; Express expected values ​​under various scenarios; Indicates user In the Year scenario Daily operating costs under Indicates the total number of community users; Indicates that the shared energy storage power station is Year scenario Daily power loss cost under ; and Respectively The electricity purchase price and electricity sales price during the time period; and The users are In the Year scenario Down The power purchased and sold during the period.

13. The community shared energy storage cooperative configuration optimization device according to claim 11, characterized in that: The module for establishing a two-layer optimization model includes a second establishment unit, which is used to establish a lower-layer objective function with the goal of minimizing the user's energy consumption cost and the energy storage loss cost, and its expression is as follows: , In the formula, represents the annual operating cost of the shared energy storage power station; Indicates the battery life of the shared energy storage power station; Express expected values ​​under various scenarios; Indicates user In the Year scenario Daily operating costs under Indicates the total number of community users; Indicates that the shared energy storage power station is Year scenario The daily power loss cost under .

14. A terminal comprising a processor and a storage medium; characterized in that: The storage medium is used to store instructions; The processor is configured to operate according to the instructions to execute the steps of the method according to any one of claims 1-9.

15. A computer-readable storage medium having a computer program stored thereon, characterized in that: When the program is executed by a processor, the steps of the method according to any one of claims 1 to 9 are implemented.

Citation Information

Patent Citations

  • Scheduling method for characteristic relation of energy storage participating in electricity market transaction

    CN115759623A

  • Construction method of shared energy storage virtual power plant double-layer optimization model

    CN118071062A

Cited By

  • Power distribution network and user oriented energy storage cooperation configuration optimization method and storage medium

    CN121906560A