Distribution network energy storage planning method and device based on battery service status
By obtaining the number of cycles of the battery and dividing the discharge depth interval, the energy storage life constraints are determined, and the distribution network energy storage information model is constructed, which solves the problem of inaccurate energy storage planning in traditional technology and achieves accurate storage of the distribution network. It can plan and improve the balancing ability of the power system.
Patent Information
- Application Number
- CN202311511836.3
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2023-11-13
- Publication Date
- 2024-09-06
- Estimated Expiration
- 2043-11-13
AI Technical Summary
The traditional technology is not accurate enough in the energy storage planning of the distribution network, and fails to effectively consider the impact of frequent charging and discharging of batteries on the lifespan, resulting in the failure of energy storage planning and causing certain losses.
By obtaining the number of cycles of the battery at different discharge depths, dividing the discharge depth value interval, determining the energy storage life constraints, building a distribution network energy storage information determination model, generating an accurate energy storage planning strategy, taking into account the battery life, and optimizing energy storage planning.
It achieves accurate distribution network energy storage planning while considering battery life, improves the accuracy of energy storage planning, reduces the loss of energy storage equipment, and improves the power balancing capability of the system.
Smart Images

Figure CN117559495B
Abstract
Description
Technical Field
[0001] The present application relates to the field of computer technology, and in particular to a method, device, computer equipment, storage medium and computer program product for energy storage planning for a distribution network based on the service status of batteries. Background Art
[0002] With the continuous construction of new power systems, the proportion of new energy access to distribution networks is also increasing. Since energy storage can be charged and discharged on a large scale, it can effectively meet the new system balance requirements brought about by the large-scale access of new energy and the upgrading of user energy consumption methods, and support the long-term balance of power supply and demand in new power systems. Therefore, energy storage has played an important role in all aspects of power generation, transmission, distribution, and use.
[0003] At present, after energy storage is connected to the distribution network, frequent charging and discharging will affect the life of the battery. If the impact of frequent charging and discharging on the life of the battery is not considered, it will lead to unreasonable energy storage planning for the distribution network, thus causing certain losses.
[0004] Therefore, there is a problem of inaccurate energy storage planning for distribution networks in traditional technologies. Summary of the invention
[0005] Based on this, it is necessary to provide a distribution network energy storage planning method, device, computer equipment, computer-readable storage medium and computer program product based on the service status of batteries, which can improve the accuracy of energy storage planning for distribution networks in order to address the above technical problems.
[0006] A distribution network energy storage planning method based on battery service conditions, comprising:
[0007] Obtain the number of cycles corresponding to different discharge depths of batteries in the distribution network;
[0008] According to the number of cycles of the battery at different discharge depths, the number of cycles of the battery corresponding to each discharge depth value interval is determined; each discharge depth value interval is obtained by dividing the discharge depth value of the battery into intervals;
[0009] Determine the energy storage life constraint conditions for the battery according to the number of cycles corresponding to each discharge depth value interval of the battery;
[0010] Based on the energy storage life constraint condition, a distribution network energy storage information determination model for the distribution network is constructed; the distribution network energy storage information determination model is used to output the distribution network energy storage information; the distribution network energy storage information is used to generate a distribution network energy storage planning strategy under the current state.
[0011] In one embodiment, obtaining the number of cycles corresponding to different discharge depths of a battery in a distribution network includes:
[0012] Acquire historical state of charge data of the battery; the historical state of charge data includes the state of charge data of the battery at different historical moments;
[0013] The rain flow counting method is used to map the historical state of charge data to obtain the cycle numbers of the battery at different discharge depths.
[0014] In one embodiment, determining the number of cycles of the battery corresponding to each discharge depth value interval according to the number of cycles of the battery at different discharge depths includes:
[0015] According to the number of cycles of the battery at different discharge depths, a power function curve corresponding to the battery is determined; the power function curve represents the numerical relationship between the discharge depth and the number of cycles of the battery;
[0016] The power function curve is processed piecewise linearly to obtain the number of cycles of the battery corresponding to each discharge depth value interval.
[0017] In one embodiment, the energy storage life constraint condition for the battery is determined according to the number of cycles corresponding to each discharge depth value interval of the battery, including:
[0018] Obtain the number of cycles corresponding to the target value of the battery discharge depth;
[0019] The energy storage life constraint condition for the battery is determined according to the number of cycles corresponding to each discharge depth value interval of the battery and the number of cycles corresponding to the battery when the discharge depth is a target value.
[0020] In one embodiment, based on the energy storage life constraint condition, a distribution network energy storage information determination model for the distribution network is constructed, including:
[0021] Obtaining initial distribution network energy storage information determination model for the distribution network;
[0022] According to the energy storage life constraint condition, the constraint condition of the initial distribution network energy storage information determination model is adjusted to obtain the adjusted constraint condition;
[0023] According to the adjusted constraint conditions, the initial distribution network energy storage information determination model is updated to obtain the distribution network energy storage information determination model.
[0024] In one embodiment, the adjusted constraint condition includes at least one constraint condition, and the initial distribution network energy storage information determination model is updated according to the adjusted constraint condition to obtain the distribution network energy storage information determination model, including:
[0025] Linearize the constraints that do not meet the preset requirements among the adjusted constraints to obtain processed constraints;
[0026] Based on the constraints that meet the preset requirements and the processed constraints in the adjusted constraints, the initial distribution network energy storage information determination model is updated to obtain the distribution network energy storage information determination model.
[0027] A distribution network energy storage planning device based on battery service conditions, comprising:
[0028] An acquisition module is used to obtain the number of cycles corresponding to different discharge depths of the battery in the distribution network; the number of cycles represents the life of the battery corresponding to the corresponding discharge depth;
[0029] A determination module, used to determine the number of cycles of the battery corresponding to each discharge depth value interval according to the number of cycles of the battery at different discharge depths; each discharge depth value interval is obtained by dividing the discharge depth value of the battery into intervals;
[0030] A constraint module, used to determine the energy storage life constraint conditions for the battery according to the number of cycles corresponding to each discharge depth value interval of the battery;
[0031] A construction module is used to construct a distribution network energy storage information determination model for the distribution network based on energy storage life constraints; the distribution network energy storage information determination model is used to output distribution network energy storage information; and the distribution network energy storage information is used to generate a distribution network energy storage planning strategy.
[0032] A computer device includes a memory and a processor, wherein the memory stores a computer program, and the processor implements the steps of the above method when executing the computer program.
[0033] A computer-readable storage medium stores a computer program, which implements the steps of the above method when executed by a processor.
[0034] A computer program product comprises a computer program, and when the computer program is executed by a processor, the steps of the above method are implemented.
[0035] The above-mentioned distribution network energy storage planning method, device, computer equipment, storage medium and computer program product based on the service status of batteries obtains the number of cycles corresponding to different discharge depths of batteries in the distribution network; determines the number of cycles corresponding to each discharge depth value interval of the battery according to the number of cycles of the battery at different discharge depths; each discharge depth value interval is obtained by dividing the discharge depth value of the battery into intervals; determines the energy storage life constraint condition for the battery according to the number of cycles corresponding to each discharge depth value interval of the battery; constructs a distribution network energy storage information determination model for the distribution network based on the energy storage life constraint condition; the distribution network energy storage information determination model is used to output the distribution network energy storage information; the distribution network energy storage information is used to generate the distribution network energy storage planning strategy in the current state; in this way, the distribution network energy storage information can be determined while considering the service life of the batteries in the distribution network, so that the energy storage planning of the distribution network can be accurately carried out. BRIEF DESCRIPTION OF THE DRAWINGS
[0036] Figure 1 An application environment diagram of a distribution network energy storage planning method based on battery service conditions in one embodiment;
[0037] Figure 2 A schematic diagram of a flow chart of a distribution network energy storage planning method based on battery service conditions in one embodiment;
[0038] Figure 3 is a schematic diagram of a rain flow counting method in one embodiment;
[0039] Figure 4 A schematic flow chart of a method for energy storage planning for a distribution network based on battery service conditions in another embodiment;
[0040] Figure 5 It is a structural block diagram of a distribution network energy storage planning device based on battery service conditions in one embodiment;
[0041] Figure 6 FIG. 4 is a diagram showing the internal structure of a computer device in one embodiment. DETAILED DESCRIPTION
[0042] In order to make the purpose, technical solution and advantages of the present application more clearly understood, the present application is further described in detail below in conjunction with the accompanying drawings and embodiments. It should be understood that the specific embodiments described herein are only used to explain the present application and are not used to limit the present application.
[0043] It should be noted that the terms "first", "second", etc. in the specification and claims of the present disclosure and the above-mentioned drawings are used to distinguish similar objects, and are not necessarily used to describe a specific order or sequence. It should be understood that the data used in this way can be interchangeable where appropriate, so that the embodiments of the present disclosure described herein can be implemented in an order other than those illustrated or described herein. The embodiments described in the following exemplary embodiments do not represent all embodiments consistent with the present disclosure. Instead, they are merely examples of devices and methods consistent with some aspects of the present disclosure.
[0044] The distribution network energy storage planning method based on the battery service status provided in the embodiment of the present application can be applied to Figure 1 In the application environment shown. Among them, the terminal 102 communicates with the server 104 through the network. The data storage system can store the data that the server 104 needs to process. The data storage system can be integrated on the server 104, or it can be placed on the cloud or other network servers. The server 104 obtains the number of cycles corresponding to different discharge depths of the battery in the distribution network; the server 104 determines the number of cycles corresponding to each discharge depth numerical interval of the battery according to the number of cycles of the battery at different discharge depths; each of the discharge depth numerical intervals is obtained by dividing the discharge depth value of the battery into intervals; the server 104 determines the energy storage life constraint for the battery according to the number of cycles corresponding to each of the discharge depth numerical intervals; the server 104 constructs a distribution network energy storage information determination model for the distribution network based on the energy storage life constraint; the distribution network energy storage information determination model is used to output the distribution network energy storage information; the distribution network energy storage information is used to generate the distribution network energy storage planning strategy. The server 104 sends the distribution network energy storage planning strategy to the terminal. The terminal 102 may be, but is not limited to, various personal computers, laptops, smart phones, tablet computers, IoT devices, and portable wearable devices. The IoT devices may be smart speakers, smart TVs, smart air conditioners, smart car-mounted devices, etc. The portable wearable devices may be smart watches, smart bracelets, head-mounted devices, etc. The server 104 may be implemented as an independent server or a server cluster consisting of multiple servers.
[0045] In one embodiment, Figure 2 As shown in the figure, a distribution network energy storage planning method based on battery service status is provided. Figure 1 Taking the server 104 in the example as an example, the following steps are included:
[0046] Step S202, obtaining the number of cycles corresponding to different discharge depths of the batteries in the distribution network.
[0047] The depth of discharge can be the percentage of the used battery capacity of the battery to the total capacity. In practical applications, the depth of discharge (DOD) of energy storage refers to the ratio of the electrical energy absorbed or released to the total capacity during a charge and discharge cycle.
[0048] The number of cycles may be the number of battery cycles corresponding to the battery, that is, a complete charge and discharge cycle corresponding to the battery.
[0049] In a specific implementation, the server obtains the number of cycles corresponding to different discharge depths of the batteries in the distribution network.
[0050] Step S204, determining the number of cycles of the battery corresponding to each discharge depth value interval according to the number of cycles of the battery at different discharge depths; each discharge depth value interval is obtained by dividing the discharge depth value of the battery into intervals.
[0051] The discharge depth value interval may be a value interval obtained by dividing the discharge depth values. For example, when the discharge values are all within the value interval [a, b], the value interval [a, b] is divided into four discharge depth value intervals [a, c] [c, d] [d, e] [e, b], where a <c<d<e<b。
[0052] In a specific implementation, the server determines the number of cycles of the battery corresponding to each discharge depth value interval according to the number of cycles of the battery at different discharge depths.
[0053] Step S206, determining the energy storage life constraint condition for the battery according to the number of cycles corresponding to each discharge depth value interval of the battery.
[0054] The energy storage life constraint condition may be a constraint condition corresponding to limiting the number of cycles of the battery based on the service life of the battery.
[0055] In a specific implementation, the server determines the energy storage life constraint condition for the battery according to the number of cycles corresponding to each discharge depth value interval of the battery.
[0056] Step S208, based on the energy storage life constraint condition, construct a distribution network energy storage information determination model for the distribution network; the distribution network energy storage information determination model is used to output the distribution network energy storage information according to the discharge depth of the battery in the current state; the distribution network energy storage information is used to determine the distribution network energy storage planning strategy in the current state.
[0057] The distribution network energy storage information determination model may be a model for determining the distribution network energy storage information. The distribution network energy storage information may be information for indicating how the distribution network performs energy storage planning.
[0058] Among them, the distribution network energy storage planning strategy can be the energy storage planning strategy corresponding to the distribution network.
[0059] In a specific implementation, the server constructs a distribution network energy storage information determination model for the distribution network based on the energy storage life constraint condition. The distribution network energy storage information determination model can determine the distribution network energy storage information while considering the battery energy storage life, thereby guiding the energy storage planning of the distribution network.
[0060] In the above-mentioned distribution network energy storage planning method based on the service condition of batteries, the number of cycles corresponding to different discharge depths of batteries in the distribution network is obtained; the number of cycles corresponding to each discharge depth value interval of the battery is determined according to the number of cycles of the battery at different discharge depths; each discharge depth value interval is obtained by dividing the discharge depth value of the battery into intervals; according to the number of cycles corresponding to each discharge depth value interval of the battery, the energy storage life constraint condition for the battery is determined; based on the energy storage life constraint condition, a distribution network energy storage information determination model for the distribution network is constructed; the distribution network energy storage information determination model is used to output the distribution network energy storage information; the distribution network energy storage information is used to generate the distribution network energy storage planning strategy in the current state; in this way, the distribution network energy storage information can be determined while considering the service life of the batteries in the distribution network, so that the energy storage planning of the distribution network can be accurately carried out.
[0061] In another embodiment, obtaining the number of cycles corresponding to different discharge depths of a battery in a distribution network includes: obtaining historical state of charge data of the battery; the historical state of charge data includes the state of charge data of the battery at different historical moments; and mapping the historical state of charge data using a rain flow counting method to obtain the number of cycles corresponding to different discharge depths of the battery.
[0062] The state of charge data may be the remaining capacity of the battery, which indicates the percentage of the remaining capacity to the total available capacity after the battery has been used or left unused for a period of time. The state of charge (SOC) refers to the available state of the remaining charge in the battery.
[0063] In a specific implementation, the server obtains the state of charge data of the battery at different historical moments, and then uses the rain flow counting method to calculate the state of charge data of the battery at different historical moments to obtain the number of cycles corresponding to different discharge depths of the battery.
[0064] In practical applications, the server needs to obtain the peak and valley data of the original SOC-t curve of the battery, and then use the rain flow counting method to calculate the peak and valley data of the original SOC-t curve, so as to obtain the number of cycles corresponding to different depths of discharge of the battery. Among them, the specific steps of using the rain flow counting method to calculate the peak and valley data of the original SOC-t curve are as follows:
[0065] Step 1: Keep the peak and valley data of the original SOC-t curve, connect the peak and valley data to form a new SOC-t curve, and then rotate the curve 90 degrees clockwise. The rain flow starts to drip from the starting point and the inner edge of each peak.
[0066] Step 2: The rain flow drips vertically at the peak (i.e. the eaves) until there is a more positive maximum value (or more negative minimum value) on the opposite side than the maximum value (or minimum value) at the beginning.
[0067] Step 3: When the rain flow meets the rain flowing down from the roof above, it stops flowing and forms a cycle.
[0068] Step 4: Mark each cycle according to the starting and ending points of the raindrop flow, take out all the cycles one by one, and record their peak and valley values.
[0069] Step 5: Record the horizontal length of each rain flow and use it as the discharge depth of this cycle.
[0070] In order to facilitate the understanding of those skilled in the art, Figure 3 A schematic diagram of the rain flow counting method is provided as an example. The rain flow counting method can be used to obtain the full cycle period "2-3-2'", "7-8-7'", "5-6-5'" and the half cycle period "1-4" and "4-9". The calculation formula for energy storage DOD is:
[0071]
[0072] in, is the discharge depth of the battery energy storage from time t-1 to time t, SOC t is the state of charge of the energy storage at time t.
[0073] The technical solution of this embodiment is to obtain the historical state of charge data of the battery; the historical state of charge data includes the state of charge data of the battery at different historical moments; the historical state of charge data is mapped by using the rain flow counting method to obtain the number of cycles of the battery corresponding to different discharge depths; in this way, the numerical relationship between the discharge depth of the battery and the number of cycles can be accurately determined.
[0074] In another embodiment, the number of cycles of the battery corresponding to each discharge depth numerical interval is determined according to the number of cycles of the battery at different discharge depths, including: determining a power function curve corresponding to the battery according to the number of cycles of the battery at different discharge depths; the power function curve represents the numerical relationship between the discharge depth and the number of cycles of the battery; and performing piecewise linearization processing on the power function curve to obtain the number of cycles of the battery corresponding to each discharge depth numerical interval.
[0075] The power function curve may be a power function curve obtained by performing power function fitting according to the number of cycles of the battery at different discharge depths.
[0076] In a specific implementation, the server determines the power function curve corresponding to the battery according to the number of cycles of the battery at different discharge depths, and then performs piecewise linearization on the power function curve to obtain the number of cycles corresponding to each discharge depth value interval.
[0077] In practical applications, after the rain flow counting method is used to calculate the historical state of charge data to obtain the number of cycles corresponding to different discharge depths of the battery, it is necessary to determine the power function curve corresponding to the battery according to the number of cycles of the battery at different discharge depths.
[0078] For example, according to the number of cycles of the battery at different discharge depths, the specific method for determining the power function curve corresponding to the battery is: determine the numerical relationship between the discharge depth (energy storage DOD) and the number of cycles according to the rain flow counting method, and use the power function fitting curve:
[0079] N m =N0(d m ) -k
[0080] Where: N m The depth of charge and discharge for energy storage is d m N0 is the number of cycles when the charge and discharge reaches the end of life, N0 is the number of cycles when the energy storage is charged and discharged at 100% discharge depth, and k is the constant obtained by fitting.
[0081] In practical applications, after determining the power function curve corresponding to the battery according to the number of cycles of the battery at different discharge depths, it is necessary to perform piecewise linearization on the power function curve to obtain the number of cycles corresponding to each discharge depth value interval of the battery.
[0082] For example, the specific method of performing piecewise linearization processing on the power function curve to obtain the number of cycles corresponding to each discharge depth value interval of the battery is: replace the above N m =N0(d m ) -kThe power function curve is piecewise linearized to obtain multiple segments (i.e., multiple discharge depth value intervals), and the maximum mean value of the number of cycles corresponding to each segment (each discharge depth value interval) is used as the number of cycles of the segment (the discharge depth value interval).
[0083] In practical applications, after performing piecewise linearization processing on the power function curve to obtain the number of cycles corresponding to each discharge depth numerical interval of the battery, it is also necessary to calculate the ratio of the number of cycles corresponding to each segment (i.e., each discharge depth numerical interval) to the number of times at 100% charge and discharge depth, and then determine the energy storage life constraint conditions corresponding to each segment based on the ratio of the number of cycles corresponding to each segment to the number of times at 100% charge and discharge depth, that is, determine the energy storage life constraint conditions for the battery life in this application.
[0084] The calculation formula for the ratio of the number of cycles corresponding to each segment (i.e., each discharge depth value interval) to the number of cycles at 100% charge and discharge depth is:
[0085]
[0086] Among them, r i is the ratio of the number of cycles corresponding to the i-th segment to the number of cycles corresponding to 100% discharge depth, n i is the maximum number of cycles of the ith segment.
[0087] Among them, in the process of determining the energy storage life constraint conditions for the battery life, since the discharge depth of each segment (each discharge depth numerical interval) is inconsistent, it is necessary to first determine the segment (each discharge depth numerical interval) in which the battery is located at that moment, and then determine the energy storage life constraint conditions for the battery life according to the number of cycles corresponding to each discharge segment.
[0088] Specifically, the specific formula for determining the discharge segment of the battery is:
[0089]
[0090]
[0091]
[0092]
[0093] in, is the discharge depth of energy storage at the i-th segment at time t; is the state of charge of the energy storage at time t; and are the upper and lower limits of the discharge depth of the dth segment respectively; is the number of cycles converted to 100% discharge depth at time t; I is the number of segments. When , it means that the discharge depth of the energy storage at time t is in the i-th segment; when When is equal to 0.
[0094] Furthermore, the specific method for determining the energy storage life constraint condition for the battery life (i.e., the constraint condition of the energy storage life constraint model for the battery life) according to the number of cycles corresponding to each discharge segment is: limiting the equivalent full cycle number of energy storage within a certain range:
[0095]
[0096] Among them, T float It is the design life of energy storage.
[0097] This embodiment calculates the power function relationship curve between the discharge depth and the number of cycles based on the rain flow counting method, and linearizes the power function relationship curve piecewise, making the energy storage of each charge and discharge depth equivalent to 100% charge and discharge depth, thereby solving the problem that the energy storage life model established by the traditional rain flow counting method is complex and the solution accuracy is not high.
[0098] The technical solution of this embodiment is to determine the power function curve corresponding to the battery according to the number of cycles of the battery at different discharge depths; the power function curve represents the numerical relationship between the discharge depth of the battery and the number of cycles; the power function curve is piecewise linearized to obtain the number of cycles of the battery corresponding to each discharge depth numerical interval; in this way, a function curve for representing the numerical relationship between the discharge depth of the battery and the number of cycles can be obtained, which is conducive to constructing a loss model for the battery to accurately determine the energy storage life of the battery.
[0099] In another embodiment, the energy storage life constraint condition for the battery is determined according to the number of cycles corresponding to each discharge depth value interval of the battery, including: obtaining the number of cycles corresponding to the battery when the discharge depth is a target value; determining the energy storage life constraint condition for the battery according to the number of cycles corresponding to each discharge depth value interval of the battery and the number of cycles corresponding to the battery when the discharge depth is the target value.
[0100] The target value may be 100%, and the number of cycles corresponding to the target value of the discharge depth of the battery may refer to the number of cycles corresponding to the discharge depth of the battery being 100%.
[0101] In a specific implementation, the server obtains the number of cycles corresponding to the target value of the discharge depth of the battery, and then determines the energy storage life constraint conditions for the battery according to the number of cycles corresponding to each discharge depth value interval and the number of cycles corresponding to the target value of the discharge depth of the battery.
[0102] The technical solution of this embodiment obtains the number of cycles corresponding to the target value of the discharge depth of the battery; determines the energy storage life constraint conditions for the battery according to the number of cycles corresponding to each discharge depth value interval of the battery and the number of cycles corresponding to the target value of the discharge depth of the battery; in this way, the energy storage life constraint conditions for the battery can be obtained, which is conducive to building a more accurate distribution network energy storage information model, so as to obtain a more accurate energy storage planning strategy.
[0103] In another embodiment, based on the energy storage life constraint condition, a distribution network energy storage information determination model for the distribution network is constructed, including: obtaining an initial distribution network energy storage information determination model for the distribution network; adjusting the constraint condition of the initial distribution network energy storage information determination model according to the energy storage life constraint condition of the battery to obtain the adjusted constraint condition; updating the initial distribution network energy storage information determination model according to the adjusted constraint condition to obtain the distribution network energy storage information determination model.
[0104] The initial distribution network energy storage information determination model may be a model for determining the distribution network energy storage information without considering the service life of the battery.
[0105] The constraint conditions of the initial distribution network energy storage information determination model may be the constraint conditions corresponding to the initial distribution network energy storage information determination model, wherein the constraint conditions do not include energy storage life constraint conditions.
[0106] Among them, the adjusted constraints include energy storage life constraints.
[0107] In the specific implementation, the server obtains the initial distribution network energy storage information determination model for the distribution network, and then adjusts the constraints of the initial distribution network energy storage information determination model according to the energy storage life constraints to obtain the adjusted constraints, and then the server updates the initial distribution network energy storage information determination model according to the adjusted constraints to obtain the distribution network energy storage information determination model.
[0108] For example, the initial distribution network energy storage information determination model is established with the objective function of minimizing the annual cost as the goal:
[0109] C=min(C0+C1+C2+C3)
[0110]
[0111]
[0112]
[0113]
[0114] Among them, C0 is the initial investment cost, C1 is the energy storage replacement cost, C2 is the operation and maintenance cost, C3 is the power purchase cost of the distribution network, and C ESS is the investment cost per unit capacity of energy storage, are the initial investment capacity and later installation capacity of energy storage, C OP is the maintenance cost of energy storage or power generation per unit, M, T, and I are the number of scenarios, the number of time periods, and the number of installed energy storage nodes, respectively. The amount of electricity stored or generated for energy storage, is the electricity purchase cost of the substation, The amount of electricity purchased by the substation from the upper-level power grid.
[0115] The constraints of the initial distribution network energy storage information determination model include:
[0116] (1) ESS installation capacity constraints:
[0117]
[0118] (2) ESS maximum installation capacity constraints:
[0119]
[0120] (3) System flow constraints established based on the DistFlow branch flow method (a power system flow calculation method):
[0121]
[0122]
[0123]
[0124]
[0125]
[0126] Where u(j) is the set of the head nodes of the branch with j as the terminal node; w(j) is the set of the terminal nodes of the branch with j as the head node; P ij,t , P jk,t and Q ij,t , Q jk,t are the active and reactive powers flowing through feeders ij and jk during period t respectively; U i,tis the voltage amplitude of node i; P j,t and Q j,t are the active and reactive power injected into node j respectively; are the reactive power injected by PVG and WTG at node i during period t; are the reactive power injected by PVG and WTG at node i during period t; The power injected into node j by ESS; R ij and X ij are the resistance and reactance of line ij respectively; Indicates whether the energy storage of node j is built, which is a 0-1 variable.
[0127] (4) System operation safety constraints:
[0128]
[0129] Among them, U i,t , U min , U max are the voltage, voltage lower limit, and voltage upper limit at node i in period t, respectively. ij,t and I ij,max They are the current carrying capacity and safety current of line ij in period t respectively.
[0130] (5) PVG and WTG operation constraints:
[0131]
[0132]
[0133]
[0134]
[0135] in, are the active output of wind power and photovoltaic power at node i in period t, are the maximum output power of wind power and photovoltaic power at node i in period t, are the reactive power output of wind power and photovoltaic power at node i in period t, are the power factors of PVG and WTG respectively, which are constant values.
[0136] (6) ESS operation constraints:
[0137]
[0138]
[0139]
[0140]
[0141]
[0142] in, and They are respectively the energy storage charging and discharging power, 0-1 variables Characterizes the energy storage charge and discharge state, 1 is discharge, 0 is charge, P i BES is the rated power of a single energy storage module, is the energy storage capacity, and are the energy storage charging and discharging efficiencies respectively, Δt is the time between adjacent scheduling times, S i,max and S i,min are the upper and lower limits of the energy storage state of charge, and They are the energy storage capacity at the initial and final moments of scheduling respectively.
[0143] (7) Demand-side response:
[0144]
[0145]
[0146]
[0147] Where: q is the node participating in the demand side response, r is the node not participating in the demand side response, P L,q,min and P L,q,max are the minimum and maximum load interruption of node q respectively; ΔP L,q,t is the load interruption amount of node q at time t; P J,q,min and P J,q,max are the minimum and maximum load increases of the node respectively; ΔP J,q,t is the load increase of node q at time t. d1 and d2 are binary variables. When the node has an interruptible load response, d1 = 1, d2 = 0; otherwise, d1 = 0, d2 = 1.
[0148] (8) Constraints on on-load tap-changing transformers:
[0149]
[0150] Where: U 1,t and U b,t are the voltages of the substation node and virtual node b at time t; K O,t is the tap position of the on-load tap-changing transformer at time t; Δk OK is the step length of the turn ratio change when the tap changer of the on-load voltage regulating transformer is adjusted to one gear; O,max It is the maximum number of tap positions of the on-load tap-changing transformer.
[0151] The above constraints (1)-(8) correspond to the constraints of the initial distribution network energy storage information determination model. In this embodiment, "according to the energy storage life constraints corresponding to the battery in each discharge depth value interval, the constraints of the initial distribution network energy storage information determination model are adjusted to obtain the adjusted constraints", that is, on the basis of the constraints (1)-(8) of the initial distribution network energy storage information determination model, the energy storage life constraint (9) for the battery is added to obtain the adjusted constraints. The energy storage life constraint (9) (corresponding to the constraints of the energy storage life constraint model) is:
[0152]
[0153]
[0154]
[0155]
[0156]
[0157] The technical solution of this embodiment is to obtain an initial distribution network energy storage information determination model for the distribution network; adjust the constraints of the initial distribution network energy storage information determination model according to the energy storage life constraint conditions to obtain the adjusted constraints; update the initial distribution network energy storage information determination model according to the adjusted constraints to obtain the distribution network energy storage information determination model; in this way, it is possible to determine the energy storage information determination model for the distribution network while considering the influence of the battery energy storage life, thereby obtaining a distribution network energy storage planning strategy that considers the constraints of the battery server implementation, which is beneficial to improving the accuracy of the energy storage planning of the distribution network.
[0158] In another embodiment, the adjusted constraint condition includes at least one constraint condition, and the initial distribution network energy storage information determination model is updated according to the adjusted constraint condition to obtain the distribution network energy storage information determination model, including: linearizing the constraint conditions that do not meet the preset requirements in the adjusted constraint conditions to obtain the processed constraint conditions; based on the constraint conditions that meet the preset requirements and the processed constraint conditions in the adjusted constraint conditions, the initial distribution network energy storage information determination model is updated to obtain the distribution network energy storage information determination model.
[0159] The preset requirement may be a linear requirement, and the constraint condition that satisfies the preset requirement may be a constraint condition that corresponds to satisfying the linear requirement.
[0160] The processed constraint condition may be a linear constraint condition obtained by linearly transforming the nonlinear constraint condition.
[0161] In the specific implementation, the server linearizes the constraints that do not meet the preset requirements among the adjusted constraints to obtain processed constraints. The server then updates the initial distribution network energy storage information determination model based on the constraints that meet the preset requirements and the processed constraints among the adjusted constraints to obtain the distribution network energy storage information determination model.
[0162] In practical applications, the adjusted constraints include the above constraints (1)-(9), among which the constraints (3), (4) and (9) are not linear constraints (i.e., the constraints contain square terms), which correspond to the system flow constraints, system operation safety constraints and energy storage life constraints established based on the DistFlow branch flow method. Therefore, it is necessary to linearize constraints (3), (4) and (9), i.e., to perform convex transformation.
[0163] For constraints (3) and (4), let the variables Substitute it into constraints (3) and (4) to obtain new constraints:
[0164]
[0165]
[0166]
[0167]
[0168] Among them, for constraint condition (9) (i.e., the constraint condition of the energy storage life constraint model), it is necessary to first linearize the constraint condition and then perform convex transformation on the linearized constraint condition. The specific steps are as follows:
[0169] 1) Linearize the constraints. The rain flow counting method needs to find the extreme point of the energy storage SOC, but the process of finding the extreme point of the SOC using the rain flow counting method is nonlinear, so it needs to be linearized according to the following process:
[0170]
[0171] in, are the variables corresponding to energy storage charging and discharging, 1 means charging starts, 0 means not charging; 1 means starting to discharge, and 0 means not discharging. Since the above max function is nonlinear, it needs to be linearized according to the following steps:
[0172]
[0173]
[0174] Then a virtual variable is introduced to determine the charging and discharging time change process of energy storage.
[0175]
[0176] in, It is the state quantity of the energy storage charging and discharging state transition. When it is 1, it means the state transition, and when it is 0, it means maintaining the original operating state. A virtual variable is introduced to store the energy storage SOC value at the moment of energy storage operating state transition.
[0177]
[0178] in, is the virtual state of charge of the energy storage at node i at time t. According to the virtual state of charge of the energy storage, the energy storage DOD at time t can be obtained:
[0179]
[0180] in, is the discharge depth of node i at time t. Since the discharge depth contains an absolute value term and is also nonlinear, it is necessary to use the large M method for linearization. The steps are: define Introducing 0-1 variables and a number M that is as small as possible but large enough ess , After linearization, the original energy storage life model is transformed into:
[0181]
[0182] 2) The energy storage operation constraint is converted to convex, and the above life model is linearized, and the large M method is used for linearization. The linearized energy storage constraint is:
[0183]
[0184]
[0185]
[0186]
[0187] After convexification and linearization transformation, the feasible domain of the original problem can be relaxed into a convex second-order cone feasible domain for solution. Through the non-convex term convexification technology, the solution process of the distribution network energy storage information determination model is made simpler, and the solution efficiency of the distribution network energy storage information determination model is improved.
[0188] The technical solution of this embodiment overcomes the limitations of square terms in power flow constraints, node voltage and current constraints in the distribution network energy storage planning model, and through the non-convex term conversion technology, the solution process is simpler and the model solution efficiency is higher.
[0189] The technical solution of this embodiment linearizes the constraints that do not meet the preset requirements among the adjusted constraints to obtain processed constraints; based on the constraints that meet the preset requirements and the processed constraints among the adjusted constraints, the initial distribution network energy storage information determination model is updated to obtain the distribution network energy storage information determination model; in this way, the constraints with square terms can be linearized, making the solution process of the distribution network energy storage information determination model more concise and improving the solution efficiency of the distribution network energy storage information determination model.
[0190] In another embodiment, Figure 4 As shown in the figure, a distribution network energy storage planning method based on battery service status is provided. Figure 1 Taking the server 104 in the example as an example, the following steps are included:
[0191] Step S402, obtaining historical state of charge data of the battery; the historical state of charge data includes the state of charge data of the battery at different historical moments.
[0192] Step S404, using the rain flow counting method to calculate the historical state of charge data, to obtain the number of cycles of the battery at different discharge depths.
[0193] Step S406, determining the number of cycles of the battery corresponding to each discharge depth value interval according to the number of cycles of the battery at different discharge depths; each discharge depth value interval is obtained by dividing the discharge depth value of the battery into intervals.
[0194] Step S408, determining the energy storage life constraint condition for the battery according to the number of cycles corresponding to each discharge depth value interval of the battery.
[0195] Step S410, based on the energy storage life constraint condition, construct a distribution network energy storage information determination model for the distribution network; the distribution network energy storage information determination model is used to output the distribution network energy storage information; the distribution network energy storage information is used to generate the distribution network energy storage planning strategy.
[0196] It should be noted that the specific limitations of the above steps can refer to the specific limitations of a distribution network energy storage planning method based on battery service conditions mentioned above.
[0197] It should be understood that, although the various steps in the flowcharts involved in the above-mentioned embodiments are displayed in sequence according to the indication of the arrows, these steps are not necessarily executed in sequence according to the order indicated by the arrows. Unless there is a clear explanation in this article, the execution of these steps does not have a strict order restriction, and these steps can be executed in other orders. Moreover, at least a part of the steps in the flowcharts involved in the above-mentioned embodiments can include multiple steps or multiple stages, and these steps or stages are not necessarily executed at the same time, but can be executed at different times, and the execution order of these steps or stages is not necessarily to be carried out in sequence, but can be executed in turn or alternately with other steps or at least a part of the steps or stages in other steps.
[0198] Based on the same inventive concept, the embodiment of the present application also provides a distribution network energy storage planning device based on battery service conditions for implementing the distribution network energy storage planning method based on battery service conditions involved above. The implementation scheme for solving the problem provided by the device is similar to the implementation scheme recorded in the above method, so the specific limitations in one or more embodiments of the distribution network energy storage planning device based on battery service conditions provided below can refer to the limitations of the distribution network energy storage planning method based on battery service conditions above, and will not be repeated here.
[0199] In one embodiment, Figure 5 As shown, a distribution network energy storage planning device based on battery service conditions is provided, comprising:
[0200] An acquisition module 502 is used to acquire the number of cycles corresponding to different discharge depths of batteries in the distribution network;
[0201] The determination module 504 is used to determine the number of cycles of the battery corresponding to each discharge depth value interval according to the number of cycles of the battery at different discharge depths; each discharge depth value interval is obtained by dividing the discharge depth value of the battery into intervals;
[0202] The constraint module 506 is used to determine the energy storage life constraint condition for the battery according to the number of cycles corresponding to each discharge depth value interval of the battery;
[0203] Construction module 508 is used to construct a distribution network energy storage information determination model for the distribution network based on the energy storage life constraint condition; the distribution network energy storage information determination model is used to output the distribution network energy storage information; the distribution network energy storage information is used to generate the distribution network energy storage planning strategy.
[0204] In one embodiment, the acquisition module 502 is specifically used to obtain historical state of charge data of the battery; the historical state of charge data includes the state of charge data of the battery at different historical moments; the historical state of charge data is mapped and processed using a rain flow counting method to obtain the number of cycles corresponding to different discharge depths of the battery.
[0205] In one embodiment, the determination module 504 is specifically used to determine a power function curve corresponding to the battery according to the number of cycles of the battery at different discharge depths; the power function curve represents the numerical relationship between the discharge depth and the number of cycles of the battery; the power function curve is piecewise linearized to obtain the number of cycles corresponding to each discharge depth numerical interval of the battery.
[0206] In one embodiment, the constraint module 506 is specifically used to obtain the number of cycles corresponding to the target value of the discharge depth of the battery; according to the number of cycles corresponding to each discharge depth value interval of the battery and the number of cycles corresponding to the target value of the discharge depth of the battery, determine the energy storage life constraint condition for the battery.
[0207] In one embodiment, the construction module 508 is specifically used to obtain an initial distribution network energy storage information determination model for the distribution network; adjust the constraint conditions of the initial distribution network energy storage information determination model according to the energy storage life constraint conditions to obtain the adjusted constraint conditions; update the initial distribution network energy storage information determination model according to the adjusted constraint conditions to obtain the distribution network energy storage information determination model.
[0208] In one embodiment, the adjusted constraint condition includes at least one constraint condition, and the construction module 408 is specifically used to linearize the constraint condition that does not meet the preset requirements in the adjusted constraint condition to obtain the processed constraint condition; based on the constraint condition that meets the preset requirements and the processed constraint condition in the adjusted constraint condition, the initial distribution network energy storage information determination model is updated to obtain the distribution network energy storage information determination model.
[0209] Each module in the above-mentioned distribution network energy storage planning device based on battery service status can be implemented in whole or in part by software, hardware and their combination. Each of the above-mentioned modules can be embedded in or independent of the processor in the computer device in the form of hardware, or can be stored in the memory of the computer device in the form of software, so that the processor can call and execute the corresponding operations of each of the above modules.
[0210] In one embodiment, a computer device is provided. The computer device may be a server, and its internal structure diagram may be as follows: Figure 6As shown. The computer device includes a processor, a memory and a network interface connected through a system bus. 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 distribution network energy storage planning data based on the service status of the battery. The network 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, a distribution network energy storage planning method based on the service status of the battery is implemented.
[0211] Those skilled in the art will understand that Figure 6 The structure shown in the figure is only a block diagram of a part of the structure related to the solution of the present application, and does not constitute a limitation on the computer device to which the solution of the present application is applied. The specific computer device may include more or fewer components than those shown in the figure, or combine certain components, or have a different arrangement of components.
[0212] In one embodiment, a computer device is provided, including a memory and a processor, wherein the memory stores a computer program, and when the computer program is executed by the processor, the processor executes the steps of the above-mentioned method for energy storage planning of a distribution network based on the service condition of a battery. The steps of the above-mentioned method for energy storage planning of a distribution network based on the service condition of a battery may be the steps of the above-mentioned method for energy storage planning of a distribution network based on the service condition of a battery in each of the above-mentioned embodiments.
[0213] In one embodiment, a computer-readable storage medium is provided, which stores a computer program. When the computer program is executed by a processor, the processor executes the steps of the above-mentioned method for energy storage planning of a distribution network based on the service condition of a battery. The steps of the above-mentioned method for energy storage planning of a distribution network based on the service condition of a battery may be the steps of the above-mentioned method for energy storage planning of a distribution network based on the service condition of a battery in each of the above-mentioned embodiments.
[0214] In one embodiment, a computer program product is provided, including a computer program. When the computer program is executed by a processor, the processor executes the steps of the above-mentioned method for energy storage planning of a distribution network based on the service condition of a battery. The steps of the above-mentioned method for energy storage planning of a distribution network based on the service condition of a battery may be the steps of the above-mentioned method for energy storage planning of a distribution network based on the service condition of a battery in each of the above-mentioned embodiments.
[0215] It should be noted that the user information (including but not limited to user device information, user personal information, etc.) and data (including but not limited to data used for analysis, stored data, displayed data, etc.) involved in this application are all information and data authorized by the user or fully authorized by all parties.
[0216] Those skilled in the art can understand that all or part of the processes in the above-mentioned embodiment methods 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 in the present application 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 in this application 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 to this. The processor involved in each embodiment provided in this application may be a general-purpose processor, a central processing unit, a graphics processor, a digital signal processor, a programmable logic device, a data processing logic device based on quantum computing, etc., but are not limited to this.
[0217] The technical features of the above embodiments may be combined arbitrarily. 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.
[0218] The above-described embodiments only express several implementation methods of the present application, and the descriptions thereof are relatively specific and detailed, but they cannot be understood as limiting the scope of the present application. It should be pointed out that, for a person of ordinary skill in the art, several variations and improvements can be made without departing from the concept of the present application, and these all belong to the protection scope of the present application. Therefore, the protection scope of the present application shall be subject to the attached claims.
Claims
1. A distribution network energy storage planning method based on battery service conditions, characterized in that: The method comprises: Obtain the number of cycles corresponding to different discharge depths of batteries in the distribution network; According to the number of cycles of the battery at different discharge depths, the number of cycles of the battery corresponding to each discharge depth value interval is determined; each discharge depth value interval is obtained by dividing the discharge depth value of the battery into intervals; Determine the energy storage life constraint condition for the battery according to the number of cycles of the battery corresponding to each of the discharge depth value intervals; the energy storage life constraint condition includes the energy storage life constraint condition corresponding to each of the discharge depth value intervals; Based on the energy storage life constraint, a distribution network energy storage information determination model for the distribution network is constructed; the constraint of the distribution network energy storage information determination model is determined based on the energy storage system installation capacity constraint, the energy storage system maximum installation capacity constraint, the system flow constraint, the system operation safety constraint, the photovoltaic power generation operation constraint, the wind power generation operation constraint, the energy storage system operation constraint, the demand side response constraint, the on-load tap-changing transformer constraint and the energy storage life constraint; the distribution network energy storage information determination model is used to output the distribution network energy storage information; the distribution network energy storage information is used to generate a distribution network energy storage planning strategy.
2. The method according to claim 1, characterized in that The method of obtaining the number of cycles corresponding to different discharge depths of the battery in the distribution network includes: Acquire historical state of charge data of the battery; the historical state of charge data includes state of charge data of the battery at different historical moments; The historical state-of-charge data is mapped using a rain flow counting method to obtain the number of cycles of the battery at different discharge depths.
3. The method according to claim 1, characterized in that The determining, according to the number of cycles of the battery at different depths of discharge, the number of cycles of the battery corresponding to each depth of discharge value interval comprises: Determine a power function curve corresponding to the battery according to the number of cycles of the battery at different discharge depths; the power function curve represents the numerical relationship between the discharge depth and the number of cycles of the battery; The power function curve is subjected to piecewise linearization processing to obtain the number of cycles of the battery corresponding to each discharge depth value interval.
4. The method according to claim 1, characterized in that: The determining of the energy storage life constraint condition for the battery according to the number of cycles corresponding to each of the discharge depth value intervals of the battery includes: Obtaining the number of cycles corresponding to the battery when the depth of discharge is a target value; The energy storage life constraint condition for the battery is determined according to the number of cycles of the battery corresponding to each of the discharge depth value intervals and the number of cycles of the battery corresponding to a target discharge depth.
5. The method according to claim 1, characterized in that The step of constructing a distribution network energy storage information determination model for the distribution network based on the energy storage life constraint condition includes: Obtaining an initial distribution network energy storage information determination model for the distribution network; According to the energy storage life constraint condition, adjusting the constraint condition of the initial distribution network energy storage information determination model to obtain an adjusted constraint condition; According to the adjusted constraint conditions, the initial distribution network energy storage information determination model is updated to obtain the distribution network energy storage information determination model.
6. The method according to claim 5, characterized in that The adjusted constraint condition includes at least one constraint condition, and the updating of the initial distribution network energy storage information determination model according to the adjusted constraint condition to obtain the distribution network energy storage information determination model includes: Linearizing the constraints that do not meet the preset requirements among the adjusted constraints to obtain processed constraints; Based on the constraint conditions that meet the preset requirements in the adjusted constraint conditions and the processed constraint conditions, the initial distribution network energy storage information determination model is updated to obtain the distribution network energy storage information determination model.
7. A distribution network energy storage planning device based on battery service conditions, characterized in that: The device comprises: An acquisition module is used to obtain the number of cycles corresponding to different discharge depths of batteries in the distribution network; A determination module, used to determine the number of cycles of the battery corresponding to each discharge depth value interval according to the number of cycles of the battery at different discharge depths; each discharge depth value interval is obtained by dividing the discharge depth value of the battery into intervals; A constraint module, used to determine the energy storage life constraint condition for the battery according to the number of cycles of the battery corresponding to each of the discharge depth value intervals; the energy storage life constraint condition includes the energy storage life constraint condition corresponding to each of the discharge depth value intervals; A construction module is used to construct a distribution network energy storage information determination model for the distribution network based on the energy storage life constraint condition; the constraint conditions of the distribution network energy storage information determination model are determined based on the energy storage system installation capacity constraint condition, the energy storage system maximum installation capacity constraint condition, the system flow constraint condition, the system operation safety constraint condition, the photovoltaic power generation operation constraint condition, the wind power generation operation constraint condition, the energy storage system operation constraint condition, the demand side response constraint condition, the on-load tap-changing transformer constraint condition and the energy storage life constraint condition; the distribution network energy storage information determination model is used to output the distribution network energy storage information; the distribution network energy storage information is used to generate the distribution network energy storage planning strategy.
8. A computer device comprising a memory and a processor, wherein the memory stores a computer program, wherein: When the processor executes the computer program, the steps of the method according to any one of claims 1 to 6 are implemented.
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 steps of the method according to any one of claims 1 to 6 are implemented.
10. A computer program product, comprising a computer program, characterized in that When the computer program is executed by a processor, the steps of the method according to any one of claims 1 to 6 are implemented.
