Energy storage system configuration method and device, equipment and storage medium

By configuring centralized and distributed energy storage systems and optimizing the rated power and configuration capacity of the energy storage systems, the problems of power fluctuations and high loads caused by distributed photovoltaic power in the oilfield power distribution network were solved, and the stability and economy of the power distribution network were improved.

CN122178395APending Publication Date: 2026-06-09PETROCHINA CO LTD

Patent Information

Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
PETROCHINA CO LTD
Filing Date
2024-12-05
Publication Date
2026-06-09

Smart Images

  • Figure CN122178395A_ABST
    Figure CN122178395A_ABST
Patent Text Reader

Abstract

The application discloses a kind of energy storage system configuration method, device, equipment and storage medium, belong to oilfield energy storage technical field.The method provided in the application determines target function by the relationship between photovoltaic permeability and permeability threshold, target function is first target function or second target function, wherein, first target function is the function related to distributed energy storage system, and second target function is the function related to centralized energy storage system, therefore, the rated power determined based on target function is the rated power of centralized energy storage system or the rated power of distributed energy storage system.Correspondingly, the configuration capacity determined based on operating power curve is the configuration capacity of centralized energy storage system or the configuration capacity of distributed energy storage system.Then subsequent can be according to the rated power and configuration capacity of corresponding energy storage system, and specifically to the distribution network configuration distributed energy storage system or centralized energy storage system, to improve the economy and consumption rate of distribution network.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] This application relates to the field of oilfield energy storage technology, and in particular to an energy storage system configuration method, device, equipment and storage medium. Background Technology

[0002] Oilfield production faces the challenge of achieving carbon peaking and carbon neutrality. The integration of distributed photovoltaic (PV) power and gas turbines can enable the oilfield power distribution network to meet the requirements of green and environmentally friendly production and avoid direct emissions of associated gas. This transforms the distribution network from a purely receiving end to a hybrid source-load system, but it also introduces problems during operation. Firstly, fluctuations in distributed PV power can cause operational issues. While a certain capacity of distributed PV grid connection can provide power support, increasing the capacity beyond a certain point can affect the stable operation of the distribution network. Secondly, the distribution network operates under a two-part tariff system, with separate electricity prices for energy consumption and demand. Under this system, it is necessary to balance load demand, reduce electricity demand during peak load periods, and lower electricity procurement costs. Therefore, to improve the economic efficiency and absorption rate of the distribution network, it is necessary to configure energy storage systems for the oilfield. Summary of the Invention

[0003] This application provides an energy storage system configuration method, apparatus, equipment, and storage medium, which can improve the economy and absorption rate of the power distribution network. The technical solution is as follows:

[0004] On the one hand, a method for configuring an energy storage system is provided, the method comprising:

[0005] Obtain load data and distributed photovoltaic power output data from the power distribution network;

[0006] Based on the load data and the distributed photovoltaic output data, the photovoltaic penetration rate is determined;

[0007] Based on the relationship between the photovoltaic penetration rate and the penetration rate threshold, an objective function is determined. The objective function is either a first objective function or a second objective function. The first objective function is a function related to the photovoltaic curtailment rate of the distributed energy storage system, and the second objective function is a function related to the net revenue of the centralized energy storage system. Both the distributed energy storage system and the centralized energy storage system are energy storage systems connected to the distribution network.

[0008] Based on the objective function, the rated power of the energy storage system is determined, wherein the energy storage system is either the distributed energy storage system or the centralized energy storage system.

[0009] The configuration capacity of the energy storage system is determined based on the operating power curve of the energy storage system within a preset period.

[0010] Based on the rated power and configured capacity of the energy storage system, the distribution network is configured with energy storage.

[0011] In one possible implementation, determining the objective function based on the relationship between the photovoltaic penetration rate and the penetration threshold includes:

[0012] If the photovoltaic penetration rate is not less than the penetration threshold, determine the first objective function;

[0013] If the photovoltaic penetration rate is less than the penetration rate threshold, the second objective function is determined.

[0014] In another possible implementation, the distributed photovoltaic output data includes the total power generation of the distributed photovoltaic system;

[0015] Determining the first objective function includes:

[0016] Obtain the transmitted power of the power distribution network;

[0017] Based on the power transmission of the distribution network, the total power generation of the distributed photovoltaic system, the photovoltaic curtailment rate, and the power consumption of the distribution network load and the energy storage system, the first objective function is constructed; wherein, the power consumption of the distribution network load and the energy storage system is related to the rated power of the energy storage system.

[0018] In another possible implementation, the load data includes net load power;

[0019] Determining the second objective function includes:

[0020] If the net load power is not less than the upper limit of the net load power or the net load power is not greater than the lower limit of the net load power, the battery degradation cost and the subsidy revenue of the distributed photovoltaic power are obtained.

[0021] Based on the battery degradation cost, the subsidy revenue, the net revenue, the construction cost, operation and maintenance cost, and peak-valley electricity price revenue of the centralized energy storage system, a second objective function is constructed; wherein the construction cost, operation and maintenance cost, and peak-valley electricity price revenue of the centralized energy storage system are all related to the rated power of the energy storage system.

[0022] In another possible implementation, determining the rated power of the energy storage system based on the objective function includes:

[0023] If the objective function is the first objective function, determine the rated power corresponding to the minimum photovoltaic curtailment rate, and obtain the rated power of the distributed energy storage system.

[0024] If the objective function is the second objective function, determine the rated power corresponding to the maximum net benefit to obtain the rated power of the centralized energy storage system.

[0025] In another possible implementation, configuring the distribution network with energy storage based on the rated power and configured capacity of the energy storage system includes:

[0026] For the centralized energy storage system, multiple candidate nodes are selected from multiple nodes of the distribution network; a target node that meets the first constraint condition is determined from the multiple candidate nodes; and if the rated power of the centralized energy storage system meets the second constraint condition, energy storage configuration is performed on the target node based on the rated power and configuration capacity of the centralized energy storage system.

[0027] For the distributed energy storage system, the distribution network is divided into multiple regions by dividing multiple nodes into regions; a target region that meets the first constraint condition is determined from the multiple regions; and if the rated power of the distributed energy storage system meets the second constraint condition, energy storage is configured for the target region based on the rated power and configuration capacity of the distributed energy storage system.

[0028] On the other hand, an energy storage system configuration device is provided, the device comprising:

[0029] The acquisition module is used to acquire load data and distributed photovoltaic power output data of the power distribution network.

[0030] The first determining module is used to determine the photovoltaic penetration rate based on the load data and the distributed photovoltaic output data;

[0031] The second determining module is used to determine an objective function based on the relationship between the photovoltaic penetration rate and the penetration rate threshold. The objective function is either a first objective function or a second objective function. The first objective function is a function related to the photovoltaic curtailment rate of the distributed energy storage system, and the second objective function is a function related to the net revenue of the centralized energy storage system. Both the distributed energy storage system and the centralized energy storage system are energy storage systems connected to the distribution network.

[0032] The third determining module is used to determine the rated power of the energy storage system based on the objective function, wherein the energy storage system is the distributed energy storage system or the centralized energy storage system;

[0033] The fourth determining module is used to determine the configuration capacity of the energy storage system based on the operating power curve of the energy storage system within a preset period.

[0034] The configuration module is used to configure the energy storage in the distribution network based on the rated power and configuration capacity of the energy storage system.

[0035] In one possible implementation, the second determining module is used to determine the first objective function if the photovoltaic penetration rate is not less than the penetration rate threshold, and to determine the second objective function if the photovoltaic penetration rate is less than the penetration rate threshold.

[0036] In another possible implementation, the distributed photovoltaic output data includes the total power generation of the distributed photovoltaic system;

[0037] The second determining module is used to obtain the transmitted power of the distribution network; based on the transmitted power of the distribution network, the total power generation of the distributed photovoltaic system, the photovoltaic curtailment rate, and the power consumption of the distribution network load and the energy storage system, a first objective function is constructed; wherein, the power consumption of the distribution network load and the energy storage system is related to the rated power of the energy storage system.

[0038] In another possible implementation, the load data includes net load power;

[0039] The second determining module is used to obtain the battery degradation cost and the subsidy revenue of the distributed photovoltaic system if the net load power is not less than the upper limit of the net load power or the net load power is not greater than the lower limit of the net load power; and to construct the second objective function based on the battery degradation cost, the subsidy revenue, the net revenue, the construction cost, operation and maintenance cost, and peak-valley electricity price revenue of the centralized energy storage system; wherein the construction cost, operation and maintenance cost, and peak-valley electricity price revenue of the centralized energy storage system are all related to the rated power of the energy storage system.

[0040] In another possible implementation, the third determining module is used to determine the rated power corresponding to the minimum photovoltaic curtailment rate if the objective function is the first objective function, and obtain the rated power of the distributed energy storage system; and to determine the rated power corresponding to the maximum net revenue if the objective function is the second objective function, and obtain the rated power of the centralized energy storage system.

[0041] In another possible implementation, the configuration module is configured to: for the centralized energy storage system, screen multiple candidate nodes from multiple nodes of the distribution network; determine target nodes from the multiple candidate nodes that satisfy a first constraint condition; and, if the rated power of the centralized energy storage system satisfies a second constraint condition, configure energy storage for the target nodes based on the rated power and configuration capacity of the centralized energy storage system; for the distributed energy storage system, divide the multiple nodes of the distribution network into multiple regions; determine target regions from the multiple regions that satisfy the first constraint condition; and, if the rated power of the distributed energy storage system satisfies the second constraint condition, configure energy storage for the target regions based on the rated power and configuration capacity of the distributed energy storage system.

[0042] On the other hand, an electronic device is provided, comprising a processor and a memory, wherein the memory stores at least one piece of program code, which is loaded and executed by the processor to implement the energy storage system configuration method described in any of the preceding claims.

[0043] On the other hand, a computer-readable storage medium is provided, wherein at least one piece of program code is stored in the computer-readable storage medium, the at least one piece of program code being loaded and executed by a processor to implement the energy storage system configuration method described in any of the preceding claims.

[0044] On the other hand, a computer program product is provided, wherein at least one piece of program code is stored in the computer program product, the at least one piece of program code being loaded and executed by a processor to implement the energy storage system configuration method described in any of the above claims.

[0045] This application provides a method for configuring an energy storage system. This method determines an objective function based on the relationship between photovoltaic penetration rate and a penetration rate threshold. The objective function can be a first objective function or a second objective function. The first objective function is related to distributed energy storage systems, while the second objective function is related to centralized energy storage systems. Therefore, the rated power determined based on the objective function is either the rated power of the centralized energy storage system or the rated power of the distributed energy storage system. Correspondingly, the configuration capacity determined based on the operating power curve is either the configuration capacity of the centralized energy storage system or the configuration capacity of the distributed energy storage system. Subsequently, based on the rated power and configuration capacity of the corresponding energy storage systems, distributed energy storage systems or centralized energy storage systems can be selectively configured on the distribution network, thereby improving the economy and absorption rate of the distribution network.

[0046] It should be understood that the above general description and the following detailed description are merely exemplary and do not limit this disclosure. Attached Figure Description

[0047] Figure 1 This is a schematic diagram of a configuration method for an energy storage system provided in an embodiment of this application;

[0048] Figure 2 This is a schematic diagram of an implementation environment provided in an embodiment of this application;

[0049] Figure 3 This is a flowchart of an energy storage system configuration method provided in an embodiment of this application;

[0050] Figure 4 This is a schematic diagram of a configuration energy storage system provided in an embodiment of this application;

[0051] Figure 5 This is a schematic diagram of the structure of an energy storage system configuration device provided in an embodiment of this application;

[0052] Figure 6 This is a structural block diagram of a terminal provided in an embodiment of this application. Detailed Implementation

[0053] To make the technical solution and advantages of this application clearer, the embodiments of this application will be described in further detail below.

[0054] The terms "first," "second," "third," and "fourth," etc., used in the specification, claims, and accompanying drawings of this application are used to distinguish different objects, not to describe a specific order. Furthermore, the terms "comprising" and "having," and any variations thereof, are intended to cover non-exclusive inclusion. For example, a process, method, system, product, or apparatus that includes a series of steps or units is not limited to the listed steps or units, but may optionally include steps or units not listed, or may optionally include other steps or units inherent to these processes, methods, products, or apparatuses.

[0055] It should be noted that all information (including but not limited to user equipment information, user personal information, etc.), data (including but not limited to data used for analysis, stored data, displayed data, etc.), and signals involved in this application have been authorized by the user or fully authorized by all parties, and the collection, use, and processing of related data must comply with the relevant laws, regulations, and standards of the relevant countries and regions. For example, the load data and distributed photovoltaic power output data involved in this application were obtained with full authorization.

[0056] For oilfield distribution networks, a certain capacity of distributed photovoltaic (PV) grid connection can provide power support for the distribution network, reducing voltage drops and power losses on feeders. However, when the capacity of distributed PV increases to a certain value, the unabsorbed distributed PV power generation will be fed back to the bus or upstream grid, causing excessive voltage rise at the grid connection nodes and affecting the stable operation of the distribution network.

[0057] The power distribution network operates under a two-part tariff system: a time-of-use (TOU) tariff and a demand tariff. The TOU tariff is a price set based on the electricity demand and supply during different time periods. A day is typically divided into several time periods (peak, off-peak, and valley periods), each with a different price. Peak periods are when electricity demand is highest, and prices are higher. Off-peak periods are when demand is moderate, and prices are moderate. Valley periods are when demand is lowest, and prices are lower. The demand tariff is charged based on the user's highest peak demand. The demand tariff aims to encourage users to control their load demand to avoid excessive peak loads on the power system. Typically, the highest load peak within a specific time period (e.g., 15 minutes) is recorded and used to calculate the demand tariff. Under this pricing mechanism, peak shaving and valley filling can be implemented. Peak shaving and valley filling refer to using energy storage systems to store electricity during low load periods (valley periods) and release it during high load periods (peak periods). In this way, energy storage systems can balance load demand, reduce the demand on the power system during high-load periods, and lower electricity procurement costs.

[0058] For the typical distribution network system of oilfield power grids, this application proposes a two-layer planning and configuration method for energy storage systems in onshore oilfield power grids. This method integrates a centralized energy storage system and a distributed energy storage system into the distribution network. The centralized energy storage system is connected to a busbar with a voltage level of 35kV or higher via an energy conversion system and multi-stage transformers. This can be used for peak shaving and valley filling, providing users with peak-valley price arbitrage opportunities and stable power quality management. The distributed energy storage system is generally connected to a medium-low voltage distribution network with a voltage level of 10kV or lower to absorb renewable energy in the distribution network and improve power quality. (See [reference needed]). Figure 1 The proposed solution configures energy storage separately for medium- and high-voltage distribution networks, forming a two-layer energy storage system. This system aims to store the surplus power from distributed photovoltaic (PV) output, improving the green energy absorption capacity of the distribution network. Furthermore, under the two-part tariff system for distribution networks, the configuration of energy storage allows for peak-valley arbitrage, reducing electricity costs and improving the overall stability of the distribution network. This solution fully considers the massive storage capacity of centralized energy storage systems and the diverse and flexible deployment characteristics of distributed energy storage systems, representing a novel energy storage application. It can provide power / voltage support for critical oilfield loads during grid failures or power fluctuations, ensuring the stable power supply required for core business operations, thereby improving solar energy utilization and the economic efficiency of user electricity consumption.

[0059] Figure 2 This is a schematic diagram of an implementation environment provided in an embodiment of this application, see... Figure 2 The implementation environment includes an electronic device, which can be provided as terminal 201, or as terminal 201 and server 202. If the electronic device is provided as terminal 201 and server 202, terminal 201 and server 202 can be connected via a wireless or wired network. In this embodiment, the electronic device is not specifically limited.

[0060] If the electronic device is provided as terminal 201, then terminal 201 will configure energy storage for the distribution network.

[0061] If the electronic device is provided as a terminal 201 and a server 202, then the target application is installed on the terminal 201. The target application is used to configure energy storage for the power distribution network. The server 202 is the backend server of the target application and is used to provide backend services for the target application.

[0062] The terminal 201 can be at least one of the following: tablet computer, desktop computer, PC (Personal Computer) device, intelligent voice interaction device, etc. The server 202 can be at least one of the following: a single server, a server cluster consisting of multiple servers, a cloud server, a cloud computing platform, and a virtualization center.

[0063] Figure 3 This is a flowchart of an energy storage system configuration method provided in an embodiment of this application, executed by an electronic device. See also... Figure 3 The method includes:

[0064] Step 301: Electronic equipment acquires load data and distributed photovoltaic power output data of the power distribution network.

[0065] The load data of the distribution network includes the basic total load power, basic total active power loss power, and net load power of the distribution network. The output data of distributed photovoltaic power includes the total power and total power generation of distributed photovoltaic power.

[0066] Electronic devices can acquire load data and distributed photovoltaic output data of the power distribution network stored locally, or they can acquire load data and distributed photovoltaic output data of the power distribution network from other devices, without any specific limitations.

[0067] In addition, electronic devices can acquire load data and distributed photovoltaic output data from the power distribution network in real time or periodically. If the electronic devices acquire data periodically, the period can be set and changed as needed, without specific limitations. For example, the period can be 1 minute, 10 minutes, or 15 minutes.

[0068] Step 302: The electronic device determines the photovoltaic penetration rate based on load data and distributed photovoltaic output data.

[0069] Based on load data and distributed photovoltaic output data, electronic devices can determine the photovoltaic penetration rate using the following formula (1):

[0070]

[0071] Where, η pen P represents the photovoltaic penetration rate. PV This represents the total power of distributed photovoltaic power. Indicates the total base load power. T1 represents the total active power loss, and T1 represents the first statistical duration.

[0072] The first statistical duration can be set and changed as needed, and there is no specific limitation on it.

[0073] Step 303: The electronic device determines the objective function based on the relationship between photovoltaic penetration rate and penetration rate threshold.

[0074] The objective function is either a first objective function or a second objective function. The first objective function is a function related to the photovoltaic curtailment rate of the distributed energy storage system, and the second objective function is a function related to the net revenue of the centralized energy storage system. Both the distributed energy storage system and the centralized energy storage system are energy storage systems connected to the distribution network.

[0075] Both distributed and centralized energy storage systems are used to store and supply electricity. The core of both systems is the battery, which converts electrical energy into chemical energy for storage. When the power supply from the distribution network is insufficient, the stored energy is released to meet electricity demand. The specific composition of distributed and centralized energy storage systems can be configured and modified as needed; this application does not impose specific limitations on the specific composition of distributed and centralized energy storage systems.

[0076] This step can be achieved through the following steps (1) to (2), including:

[0077] (1) If the photovoltaic penetration rate is not less than the penetration rate threshold, the electronic device determines the first objective function.

[0078] Electronic devices determine photovoltaic penetration rate η pen and penetration threshold η pen_max The relationship, if η pen ≥η pen_max This indicates insufficient local power absorption capacity, resulting in photovoltaic power backflow, which will cause curtailment of solar power and necessitates the configuration of distributed energy storage systems. (See [link / reference]). Figure 4 .

[0079] Electronic devices acquire the transmitted power of the distribution network; based on the transmitted power of the distribution network, the total power generation of distributed photovoltaics, the photovoltaic curtailment rate, and the power consumption of the distribution network load and the energy storage system, a first objective function is constructed; wherein, the power consumption of the distribution network load and the energy storage system is related to the rated power of the energy storage system.

[0080] In this embodiment of the application, the electronic device can construct the first objective function using the following formula (2):

[0081]

[0082] Where f1 represents the photovoltaic curtailment rate, E deliver E represents the amount of electricity transmitted in the power distribution network. consume E represents the electricity consumption of the distribution network load and the energy storage system. PV T1 represents the total power generation of distributed photovoltaic power, and T2 represents the second statistical duration.

[0083] E consume =P ESS ·t, P ESS This represents the rated power of the distributed energy storage system. It is a positive value when discharging and a negative value when charging. t can be calculated in days or months, without any specific limitation.

[0084] The second statistical period can be set and changed as needed, and there are no specific limitations on it. For example, the second statistical period can be one year or one quarter.

[0085] It should be noted that distributed energy storage systems are mainly installed in medium and low voltage distribution networks of 6kV and below in oilfield power grids, primarily to address the issue of curtailment caused by the high penetration rate of distributed photovoltaic (PV) power. The batteries are used to mitigate the impact of daily peak power generation from distributed PV, and compared to calendar aging, the number of cycles does not lead to significant cycle aging.

[0086] (2) If the photovoltaic penetration rate is less than the penetration rate threshold, the electronic device determines the second objective function.

[0087] If the photovoltaic penetration rate is less than the penetration rate threshold, the electronic equipment performs peak shaving and valley filling judgments, that is, determines the net load power P. system With the upper limit of net load power P ref_max Net load power lower limit P ref_min The relationship between them.

[0088] If the electronic device has a determined net load power P system At the upper limit of net load power P ref_max Compared with the lower limit of net load power P ref_min If the condition is within a certain range, it indicates that no energy storage system is needed for adjustment, then the process ends and continues to the next step. Figure 4 .

[0089] If the electronic device has a determined net load power P system Not less than the upper limit of net load power P ref_max Or the net load power is not greater than the lower limit of net load power P. ref_min This indicates that the current load peak-valley difference is too large or too small, requiring energy storage for peak shaving and valley filling. In this case, electronic devices obtain battery degradation costs and distributed photovoltaic subsidy revenue. Based on battery degradation costs, subsidy revenue, net revenue, construction costs of centralized energy storage systems, operation and maintenance costs, and peak-valley electricity price revenue, a second objective function is constructed; where the construction costs, operation and maintenance costs, and peak-valley electricity price revenue of centralized energy storage systems are all related to the rated power of the centralized energy storage system.

[0090] In this embodiment of the application, the electronic device can construct the second objective function using the following formula (3):

[0091]

[0092] Where NPV represents net income, N is the lifespan in years, and C1(n) and C o (n) represents the cash inflow and outflow in year n, and r is the discount rate, which is generally taken as 6%.

[0093] C1(n) and C o (n) can be expressed by the following formulas (4) and (5):

[0094]

[0095] G PV G represents the subsidy income of distributed photovoltaic power generation. ESS This represents the revenue from peak-valley electricity pricing, that is, the revenue obtained through the difference between peak and valley electricity prices. C inv C represents the construction cost of a centralized energy storage system. op C represents the operation and maintenance cost of a centralized energy storage system. deg This indicates the cost of battery degradation.

[0096] The subsidy income G of distributed photovoltaic power PV It can be expressed by the following formula (6):

[0097] G PV =ε PV P PV ;

[0098] Where, ε PV This represents the subsidy price for distributed photovoltaic power (RMB 10,000 / MW / year), P PV This represents the total power output (MW) of distributed photovoltaic systems.

[0099] Peak-valley electricity price revenue G ESS It can be expressed by the following formula (7):

[0100] G ESS =ω e P ESS Δt;

[0101] Where, ω e For time-of-use electricity pricing (yuan / kW·h), P ESS The value represents the rated power (MW) of the centralized energy storage system, which is positive during discharge and negative during charging. Δt represents the charging and discharging time of the centralized energy storage system.

[0102] Construction cost C of centralized energy storage system inv It can be expressed by the following formula (8):

[0103] C inv =λ P P ESS +λ E E ESS ;

[0104] Among them, P ESS E represents the rated power (MW) of a centralized energy storage system. ESS λ represents the rated capacity (MW·h) of a centralized energy storage system. P and λ E These are the unit price per unit power (RMB / W) and unit price per unit capacity (RMB / W·h) for centralized energy storage systems. The construction cost of a centralized energy storage system includes the cost of the energy storage equipment itself, the cost of the energy conversion device, and the cost of auxiliary facilities. The costs of the energy conversion device and auxiliary facilities are calculated into the unit price per unit power and unit price per unit capacity based on the rated power and rated capacity of the energy storage system.

[0105] Among them, E ESS =P ESS ·t′, where t′ represents time, therefore, the rated capacity can be determined based on the rated power.

[0106] The operation and maintenance cost C of a centralized energy storage system op It can be expressed by the following formula (9):

[0107] C op =ε E E ESS ;

[0108] Where, ε E The unit capacity maintenance price for centralized energy storage systems (RMB 10,000 / MWh / year); E ESSThis refers to the rated capacity (MW·h) of the centralized energy storage system. The operation and maintenance cost of a centralized energy storage system includes the manpower and management expenses incurred in maintaining the energy storage equipment in good operating condition and providing high-quality service, and is related to the rated capacity of the centralized energy storage system.

[0109] Battery degradation cost C deg It can be expressed by the following formula (10):

[0110] C deg =dSOHA f B cost ;

[0111] Among them, B cost Indicates the annualized cost of the battery, A f dSOH represents the annualized factor and the annual health value of the battery.

[0112] Annualized Factor A f It can be expressed by the following formula (11):

[0113]

[0114] The annual health value dSOH of a battery can be expressed by the following formula (12):

[0115]

[0116] Where, k cal and k cyc These represent the battery's calendar degradation factor and cycle degradation factor, respectively.

[0117] k cal and k cyc This can be expressed by the following formulas (13) and (14):

[0118]

[0119] Among them, T bat It indicates the charging and discharging time of the battery, while SOC indicates the state of charge of the battery, which is the ratio of the remaining capacity in the battery to the battery capacity.

[0120] It should be noted that during battery use, due to electrochemical reactions, material corrosion, structural damage, and other reasons, the battery's performance parameters such as capacity, energy density, and cycle life will decrease. The battery's performance will gradually decline with the increase of time and the number of charge-discharge cycles. This is caused by chemical and physical changes inside the battery, such as the loss of electrode materials, the degradation of electrolyte, and the accumulation of byproducts of internal reactions.

[0121] Battery degradation is a function of its environmental conditions and usage patterns. At each time step, the decision to schedule a battery incurs a cost; non-scheduling leads to calendar degradation, while scheduling leads to both calendar and cyclic degradation. Because of the annualized cost of the battery, this application considers the battery degradation cost when constructing the second objective function.

[0122] Step 304: The electronic device determines the rated power of the energy storage system based on the objective function.

[0123] If the objective function is the first objective function, the electronic device determines the rated power corresponding to the minimum photovoltaic curtailment rate based on the first objective function, and obtains the rated power of the distributed energy storage system.

[0124] As can be seen from the first objective function constructed in step 303, the photovoltaic curtailment rate is related to the rated power. Therefore, the electronic equipment can be discretized by inverse differentiation based on the first objective function to determine the rated power corresponding to the minimum photovoltaic curtailment rate.

[0125] If the objective function is the second objective function, the electronic device determines the rated power corresponding to the maximum net benefit based on the second objective function, and obtains the rated power of the centralized energy storage system.

[0126] As can be seen from the second objective function constructed in step 303, the net benefit is related to the rated power. Therefore, the electronic device can be discretized by inverse differentiation based on the second objective function to determine the rated power corresponding to the maximum net benefit.

[0127] It should be noted that for centralized energy storage systems, after the electronic equipment determines the rated power of the centralized energy storage system, it can determine whether the rated power and rated capacity of the centralized energy storage system meet the second constraint condition. If they do, subsequent steps are then executed. A positive rated power value indicates discharging, while a negative rated power value indicates charging.

[0128] The second set of constraints includes grid connection constraints for energy storage and operation constraints for energy storage.

[0129] Among them, the grid connection constraints of energy storage can be expressed by the following formulas (15) to (17):

[0130]

[0131] ∑E ESS ≥(1+γ)P Load Δt′;

[0132] in, and These represent the upper and lower limits of the rated power, respectively. and These represent the upper and lower limits of the rated capacity, respectively, and γ represents the percentage of load that may increase in the energy storage system. When the distribution network experiences a fault or a sudden increase in load, the energy storage system should provide a certain reserve capacity to the distribution network to ensure a continuous and stable power supply duration Δt′ for the load that may increase by γ.

[0133] The constraints for energy storage operation can be expressed by the following formulas (18) to (20):

[0134]

[0135] Among them, S SOC (t′) represents the state of charge of the energy storage device at time t′. and These represent the lower and upper limits of the State of Charge (SOC) of an energy storage device, respectively. Overcharging and over-discharging will shorten the lifespan of the energy storage device; therefore, the SOC of the energy storage device must meet the upper and lower limits during normal operation. ESS_ch and P ESS_dis Let represent the charging power and discharging power of the energy storage system, respectively, and α and β represent the charging efficiency and discharging efficiency of the energy storage system, respectively. and These represent the upper limits of the charging power and discharging power of the energy storage system, respectively. and These represent the lower limits of charging power and discharging power restricted by the distribution network, respectively.

[0136] For energy storage grid connection constraints, the electronic equipment obtains the upper and lower limits of rated power, the upper and lower limits of rated capacity, load percentage and other relevant data, and then determines whether the rated power and rated capacity meet the energy storage grid connection constraints.

[0137] For energy storage operation constraints, the electronic equipment acquires relevant data such as the lower and upper limits of the energy storage device's State of Charge (SOC), the lower limits of the charging and discharging power restricted by the distribution network, and the charging and discharging efficiency. If the rated power is positive, it is used as the discharge power, and P is used to... ESS_dis The corresponding formula is used for verification. If the rated power is negative, then the rated power is used as the charging power, through P. ESS_ch The corresponding formulas were verified, and the state of charge S of the energy storage device was determined. SOC Does (t′) satisfy S? SOC The formula corresponding to (t′).

[0138] Correspondingly, for distributed energy storage systems, after the electronic equipment determines the rated power of the distributed energy storage system, it can also determine whether the rated power and rated capacity of the distributed energy storage system meet the second constraint condition. If they do, then the subsequent steps are executed.

[0139] The process by which electronic devices determine whether the rated power and rated capacity of a distributed energy storage system meet the second constraint condition is the same as the process by which they determine whether the rated power and rated capacity of a centralized energy storage system meet the second constraint condition, and will not be elaborated here.

[0140] In this embodiment, if energy storage is configured on the distribution network based on a centralized energy storage system, the centralized energy storage system should meet the energy storage grid connection constraints and energy storage operation constraints. Similarly, if energy storage is configured on the distribution network based on a distributed energy storage system, the distributed energy storage system should also meet the energy storage grid connection constraints and energy storage operation constraints.

[0141] It should be noted that centralized energy storage systems and distributed energy storage systems satisfy the law of conservation of energy, as expressed by the following formula (21):

[0142] P system =P Load -(P PV +P HESS ) = P Load -(P PV +P CESS +P DESS );

[0143] Among them, P Load P represents the base load power before distributed photovoltaic grid connection. HESS P represents the output power of distributed energy storage systems and centralized energy storage systems. CESS P represents the output power of a centralized energy storage system. DESS P represents the output power of a distributed energy storage system. CESS and P DESS A positive value indicates that the corresponding energy storage system is discharging, a negative value indicates that the corresponding energy storage system is charging, and a zero value indicates that the corresponding energy storage system is not connected to the distribution network, or that the corresponding energy storage system has been connected but is not generating power.

[0144] Formula (21) is a prerequisite for determining the rated power of a centralized energy storage system or a distributed energy storage system. This prerequisite must be met for both centralized and distributed energy storage systems.

[0145] Step 305: The electronic device determines the configuration capacity of the energy storage system based on the operating power curve of the energy storage system within a preset period.

[0146] For centralized energy storage systems, electronic devices can acquire the operating power curve of the system within a first preset period. The charging and discharging process of this curve is then divided into several intervals, each with only one state: charging or discharging. The time intervals for each interval are accumulated to obtain the energy level for each interval. The maximum energy level among the energy levels corresponding to multiple intervals is determined as the configured capacity of the centralized energy storage system.

[0147] Similarly, for distributed energy storage systems, electronic devices can acquire the operating power curve of the distributed energy storage system within a second preset period. Then, the charging and discharging process of the operating power curve is divided into several intervals, each interval having only one state: charging or discharging. The time of each interval is accumulated to obtain the energy level of each interval. The maximum energy level is determined from the energy levels corresponding to multiple intervals as the configuration capacity of the distributed energy storage system.

[0148] Step 306: Electronic devices configure energy storage for the distribution network based on the rated power and configuration capacity of the energy storage system.

[0149] For centralized energy storage systems, electronic devices can configure energy storage in the distribution network through the following steps (A-1) to (A-3):

[0150] (A-1) Electronic devices select multiple candidate nodes from multiple nodes in the distribution network.

[0151] For each node, the electronic device determines the line transmission power P corresponding to that node. l Is it not greater than the upper limit value P of the line transmission power? l_max If P l ≤P l_max If so, then that node is selected as a candidate node, thus obtaining multiple candidate nodes.

[0152] In distribution networks, nodes refer to key points that connect multiple circuits or devices, including electrical equipment such as transformers, switchgear, and busbars. These nodes play a role in connecting, distributing, and converting electrical energy in the distribution network.

[0153] (A-2) The electronic device determines the target node that satisfies the first constraint condition from multiple candidate nodes.

[0154] The first set of constraints includes power balance constraints and node voltage constraints.

[0155] The power balance constraint can be expressed by the following formulas (22) to (24):

[0156] P PVi +P ESSi -P Li =Ui ∑U j (G ij cosθ ij +B ij sinθ ij );

[0157] Q PVi +Q ESSi -Q Li =U i ΣU j (G ij sinθ ij -B ij cosθ ij );

[0158]

[0159] Where i represents the node number, j is the neighboring node of i, and P PVi P ESSi and P Li Q represents the active power of the distributed photovoltaic system, the energy storage system (centralized or distributed), and the load at the current time node i, respectively. PVi Q ESSi and Q Li U represents the reactive power of the distributed photovoltaic system, energy storage system (centralized or distributed), and load at the current time node i, respectively. i and U j G represents the voltages at nodes i and j, respectively. ij and B ij These are the real and imaginary parts of the nodal admittance matrix, respectively.

[0160] The node voltage constraint can be expressed by the following formula (25):

[0161] U min ≤U i ≤U max ;

[0162] Among them, U min and U max These represent the lower and upper limits of the node voltage, respectively.

[0163] After the electronic device obtains multiple candidate nodes, it can sort the candidate nodes and then determine whether the current candidate node satisfies the power balance constraint and node voltage constraint in order. Alternatively, the electronic device can randomly select a candidate node as the current candidate node and then determine whether the current candidate node satisfies the power balance constraint and node voltage constraint.

[0164] If the conditions are met, the current candidate node is determined as the target node. If not, it is determined whether the next candidate node meets the power balance constraint and node voltage constraint, until a candidate node that meets the power balance constraint and node voltage constraint is determined as the target node.

[0165] For the current candidate node, the electronic device obtains P. PVi P ESSi P Li Q PVi Q ESSi Q Li U i And U j The data is then used to determine whether the current candidate node satisfies the power balance constraint and the node voltage constraint according to the above formulas (22) to (25).

[0166] The way the electronic device sorts multiple candidate nodes can be set and changed as needed. For example, the electronic device sorts multiple candidate nodes according to the connectivity of the circuit. For example, candidate nodes that are close to the starting point of the circuit are sorted first, candidate nodes that are close to the ending point are sorted last, and the intermediate candidate nodes are sorted according to the circuit path order.

[0167] (A-3) Given that the rated power of the centralized energy storage system meets the second constraint condition, the electronic equipment configures the target node for energy storage based on the rated power and configuration capacity of the centralized energy storage system.

[0168] After the electronic device determines in step 304 that the rated power of the centralized energy storage system meets the second constraint condition, it can directly configure the energy storage of the target node based on the rated power and configuration capacity of the centralized energy storage system in this step.

[0169] It should be noted that after the electronic device constructs the second objective function in step 303, it can first execute the process of determining the configuration capacity of the centralized energy storage system in step 305, then execute steps (A-1) and (A-2) in step 306, and then execute the process of determining the rated power of the centralized energy storage system in step 304 and step (A-3). Alternatively, after determining the rated power of the centralized energy storage system in step 304, the electronic device can first determine whether the rated power of the centralized energy storage system meets the second constraint condition, and then determine whether the rated power of the centralized energy storage system meets the second constraint condition before executing step (A-3). This application does not specifically limit the timing of determining whether the rated power of the centralized energy storage system meets the second constraint condition.

[0170] For distributed energy storage systems, electronic devices can configure energy storage in the distribution network through the following steps (B-1) to (B-3):

[0171] (B-1) Electronic equipment divides multiple nodes of the distribution network into regions, resulting in multiple regions.

[0172] Electronic equipment divides multiple nodes of the distribution network into multiple regions according to their location. Among them, distributed photovoltaic access points are divided into regions based on their proximity to the nodes. Distributed photovoltaic access points are also considered as nodes, and each region includes one or more nodes.

[0173] (B-2) The electronic device determines the target region that satisfies the first constraint condition from multiple regions.

[0174] The electronic device can sort multiple regions and then determine whether each node in the current region satisfies the first constraint condition in sequence. Alternatively, the electronic device can randomly select a region from multiple regions as the current region and then determine whether each node in the current region satisfies the first constraint condition.

[0175] If every node in the current region satisfies the first constraint, then the current region is determined as the target region.

[0176] The way electronic devices sort multiple areas can be set and changed as needed, and no specific restrictions are imposed on it.

[0177] (B-3) Given that the rated power of the distributed energy storage system meets the second constraint condition, energy storage configuration is carried out in the target area based on the rated power and configuration capacity of the distributed energy storage system.

[0178] After the electronic device determines in step 304 that the rated power of the distributed energy storage system meets the second constraint condition, it can directly configure energy storage for each node in the target area based on the rated power and configuration capacity of the distributed energy storage system in this step.

[0179] It should be noted that after the electronic device constructs the first objective function in step 303, it can first execute the process of determining the configuration capacity of the distributed energy storage system in step 305, then execute steps (B-1) and (B-2) in step 306, and then execute the process of determining the rated power of the distributed energy storage system in step 304 and step (B-3). Alternatively, after determining the rated power of the distributed energy storage system in step 304, the electronic device can first determine whether the rated power of the distributed energy storage system meets the second constraint condition, and then determine whether the rated power of the distributed energy storage system meets the second constraint condition before executing step (B-3). This application does not specifically limit the timing of determining whether the rated power of the distributed energy storage system meets the second constraint condition.

[0180] This application provides a method for configuring an energy storage system. This method determines an objective function based on the relationship between photovoltaic penetration rate and a penetration rate threshold. The objective function can be a first objective function or a second objective function. The first objective function is related to distributed energy storage systems, while the second objective function is related to centralized energy storage systems. Therefore, the rated power determined based on the objective function is either the rated power of the centralized energy storage system or the rated power of the distributed energy storage system. Correspondingly, the configuration capacity determined based on the operating power curve is either the configuration capacity of the centralized energy storage system or the configuration capacity of the distributed energy storage system. Subsequently, based on the rated power and configuration capacity of the corresponding energy storage systems, distributed energy storage systems or centralized energy storage systems can be selectively configured on the distribution network, thereby improving the economy and absorption rate of the distribution network.

[0181] The method provided in this application also has the following beneficial effects:

[0182] (1) Improve the absorption capacity of green electricity. The renewable and intermittent nature of green electricity (solar energy) makes its absorption a challenge. Energy storage systems can store excess green electricity when it is generated and release it during peak demand periods to balance the supply and demand gap. By configuring energy storage systems on medium- and high-voltage distribution networks, large-scale green energy can be better absorbed and utilized, improving the absorption capacity of green electricity and reducing the pressure on the distribution network.

[0183] (2) Improved System Economics. The introduction of energy storage systems can bring multiple economic benefits. First, energy storage systems can smooth the difference between electricity demand and supply, reduce peak loads in the distribution network, and thus reduce dependence on natural gas power generation. It also reduces fuel and power generation costs, improving system economics. Second, through peak shaving and valley filling applications of energy storage systems, differentiated electricity procurement can be achieved, i.e., storing electricity during periods of lower electricity prices and releasing it during periods of higher prices, thereby reducing electricity procurement costs.

[0184] (3) Improve the stability and reliability of the distribution network. The introduction of energy storage systems can improve the stability and reliability of the distribution network. Energy storage systems have the advantages of rapid response and flexibility, and can provide backup power supply when the grid fails or in an emergency. In addition, through the peak shaving and valley filling application of energy storage systems, the peak load of the distribution network can be reduced, the risk of system overload can be reduced, and the stability and reliability of the distribution network can be improved.

[0185] (4) This new energy storage application combines centralized and distributed energy storage systems, fully considering the massive storage capacity of centralized systems and the diverse and flexible layout of distributed systems. It effectively combines the advantages and disadvantages of both systems. Furthermore, the centralized energy storage system configuration incorporates variable charge / discharge efficiency and battery degradation models, allowing for centralized monitoring and management of the batteries to avoid overcharging, over-discharging, and high-temperature operation. The variable charge / discharge model and battery degradation model effectively improve the adaptability of the centralized energy storage system to the economical operation of the oilfield power grid.

[0186] (5) When the energy storage charging and discharging power and actual capacity decline with the increase of the number of cycles, the distributed energy storage system is configured based on the current distributed photovoltaic output and load. As the number of energy storage uses increases, the target of the absorption rate at the time of configuration may not be achieved in the later stage. At this time, the centralized energy storage system can appropriately adjust the peak-valley arbitrage strategy, and the two coordinate with each other to play a role.

[0187] Figure 5 This is a schematic diagram of the structure of an energy storage system configuration device provided in an embodiment of this application. See also... Figure 5 The device includes:

[0188] The acquisition module 501 is used to acquire load data and distributed photovoltaic power output data of the power distribution network;

[0189] The first determining module 502 is used to determine the photovoltaic penetration rate based on load data and distributed photovoltaic output data;

[0190] The second determining module 503 is used to determine an objective function based on the relationship between photovoltaic penetration rate and penetration rate threshold. The objective function is either a first objective function or a second objective function. The first objective function is a function related to the photovoltaic curtailment rate of the distributed energy storage system, and the second objective function is a function related to the net revenue of the centralized energy storage system. Both the distributed energy storage system and the centralized energy storage system are energy storage systems connected to the distribution network.

[0191] The third determining module 504 is used to determine the rated power of the energy storage system based on the objective function, wherein the energy storage system is a distributed energy storage system or a centralized energy storage system.

[0192] The fourth determining module 505 is used to determine the configuration capacity of the energy storage system based on the operating power curve of the energy storage system within a preset period.

[0193] Configuration module 506 is used to configure energy storage in the distribution network based on the rated power and configuration capacity of the energy storage system.

[0194] In one possible implementation, the second determining module 503 is used to determine a first objective function if the photovoltaic penetration rate is not less than a penetration rate threshold, and to determine a second objective function if the photovoltaic penetration rate is less than the penetration rate threshold.

[0195] In another possible implementation, the distributed photovoltaic output data includes the total power generation of the distributed photovoltaic system;

[0196] The second determining module 503 is used to obtain the transmitted power of the distribution network; based on the transmitted power of the distribution network, the total power generation of distributed photovoltaic, the photovoltaic curtailment rate, and the power consumption of the distribution network load and the energy storage system, a first objective function is constructed; wherein, the power consumption of the distribution network load and the energy storage system is related to the rated power of the energy storage system.

[0197] In another possible implementation, the load data includes net load power;

[0198] The second determining module 503 is used to obtain the battery degradation cost and the subsidy revenue of distributed photovoltaic power if the net load power is not less than the upper limit of the net load power or the net load power is not greater than the lower limit of the net load power; and to construct a second objective function based on the battery degradation cost, subsidy revenue, net revenue, construction cost of centralized energy storage system, operation and maintenance cost and peak-valley electricity price revenue; wherein the construction cost, operation and maintenance cost and peak-valley electricity price revenue of centralized energy storage system are all related to the rated power of energy storage system.

[0199] In another possible implementation, the third determining module 504 is used to determine the rated power corresponding to the minimum photovoltaic curtailment rate if the objective function is the first objective function, so as to obtain the rated power of the distributed energy storage system; and to determine the rated power corresponding to the maximum net revenue if the objective function is the second objective function, so as to obtain the rated power of the centralized energy storage system.

[0200] In another possible implementation, the configuration module 506 is used to: for a centralized energy storage system, screen multiple candidate nodes from multiple nodes in the distribution network; determine a target node that meets a first constraint from the multiple candidate nodes; and, if the rated power of the centralized energy storage system meets a second constraint, configure energy storage for the target node based on the rated power and configuration capacity of the centralized energy storage system; for a distributed energy storage system, divide the multiple nodes in the distribution network into multiple regions; determine a target region that meets the first constraint from the multiple regions; and, if the rated power of the distributed energy storage system meets the second constraint, configure energy storage for the target region based on the rated power and configuration capacity of the distributed energy storage system.

[0201] This application provides an energy storage system configuration device. This device determines an objective function based on the relationship between photovoltaic penetration rate and a penetration rate threshold. The objective function can be a first objective function or a second objective function. The first objective function is related to distributed energy storage systems, while the second objective function is related to centralized energy storage systems. Therefore, the rated power determined based on the objective function is either the rated power of the centralized energy storage system or the rated power of the distributed energy storage system. Correspondingly, the configuration capacity determined based on the operating power curve is either the configuration capacity of the centralized energy storage system or the configuration capacity of the distributed energy storage system. Subsequently, based on the rated power and configuration capacity of the corresponding energy storage system, distributed energy storage systems or centralized energy storage systems can be selectively configured on the distribution network, thereby improving the economy and absorption rate of the distribution network.

[0202] In some embodiments, the electronic device is provided as a terminal. (See reference) Figure 6 , Figure 6 This illustration shows a structural block diagram of a terminal 600 provided in an exemplary embodiment of this application. The terminal 600 may be a portable mobile terminal, such as a smartphone, tablet computer, MP3 player (Moving Picture Experts Group Audio Layer III), MP4 player (Moving Picture Experts Group Audio Layer IV), laptop computer, or desktop computer. The terminal 600 may also be referred to as a user device, portable terminal, laptop terminal, desktop terminal, or other names.

[0203] Typically, terminal 600 includes a processor 601 and a memory 602.

[0204] Processor 601 may include one or more processing cores, such as a quad-core processor, an octa-core processor, etc. Processor 601 may be implemented using at least one hardware form selected from DSP (Digital Signal Processing), FPGA (Field-Programmable Gate Array), and PLA (Programmable Logic Array). Processor 601 may also include a main processor and a coprocessor. The main processor, also known as a CPU (Central Processing Unit), is used to process data in the wake-up state; the coprocessor is a low-power processor used to process data in the standby state. In some embodiments, processor 601 may integrate a GPU (Graphics Processing Unit), which is responsible for rendering and drawing the content to be displayed on the screen. In some embodiments, processor 601 may also include an AI (Artificial Intelligence) processor, which is used to handle computational operations related to machine learning.

[0205] The memory 602 may include one or more computer-readable storage media, which may be non-transitory. The memory 602 may also include high-speed random access memory and non-volatile memory, such as one or more disk storage devices or flash memory devices. In some embodiments, the non-transitory computer-readable storage media in the memory 602 are used to store at least one line of program code, which is executed by the processor 601 to implement the energy storage system configuration method provided in the method embodiments of this application.

[0206] In some embodiments, the terminal 600 may optionally include a peripheral device interface 603 and at least one peripheral device. The processor 601, memory 602, and peripheral device interface 603 can be connected via a bus or signal line. Each peripheral device can be connected to the peripheral device interface 603 via a bus, signal line, or circuit board. Specifically, the peripheral device includes at least one of the following: a radio frequency circuit 604, a display screen 605, a camera assembly 606, an audio circuit 607, and a power supply 608.

[0207] Peripheral interface 603 can be used to connect at least one I / O (Input / Output) related peripheral device to processor 601 and memory 602. In some embodiments, processor 601, memory 602 and peripheral interface 603 are integrated on the same chip or circuit board; in some other embodiments, any one or two of processor 601, memory 602 and peripheral interface 603 can be implemented on separate chips or circuit boards, which is not limited in this embodiment.

[0208] The radio frequency (RF) circuit 604 is used to receive and transmit RF (Radio Frequency) signals, also known as electromagnetic signals. The RF circuit 604 communicates with communication networks and other communication devices via electromagnetic signals. The RF circuit 604 converts electrical signals into electromagnetic signals for transmission, or converts received electromagnetic signals back into electrical signals. Optionally, the RF circuit 604 includes: an antenna system, an RF transceiver, one or more amplifiers, a tuner, an oscillator, a digital signal processor, a codec chipset, a user identity module card, etc. The RF circuit 604 can communicate with other terminals through at least one wireless communication protocol. This wireless communication protocol includes, but is not limited to: the World Wide Web, metropolitan area networks, intranets, various generations of mobile communication networks (2G, 3G, 4G, and 5G), wireless local area networks, and / or WiFi (Wireless Fidelity) networks. In some embodiments, the RF circuit 604 may also include circuitry related to NFC (Near Field Communication), which is not limited in this application.

[0209] Display screen 605 is used to display a UI (User Interface). This UI may include graphics, text, icons, videos, and any combination thereof. When display screen 605 is a touch display screen, it also has the ability to collect touch signals on or above its surface. These touch signals can be input as control signals to processor 601 for processing. In this case, display screen 605 can also be used to provide virtual buttons and / or a virtual keyboard, also known as soft buttons and / or a soft keyboard. In some embodiments, there may be one display screen 605, disposed on the front panel of terminal 600; in other embodiments, there may be at least two display screens, disposed on different surfaces of terminal 600 or in a folded design; in other embodiments, display screen 605 may be a flexible display screen, disposed on a curved or folded surface of terminal 600. Furthermore, display screen 605 may be configured as a non-rectangular irregular shape, i.e., a non-rectangular screen. Display screen 605 may be made of materials such as LCD (Liquid Crystal Display) or OLED (Organic Light-Emitting Diode).

[0210] The camera assembly 606 is used to acquire images or videos. Optionally, the camera assembly 606 includes a front-facing camera and a rear-facing camera. Typically, the front-facing camera is located on the front panel of the terminal, and the rear-facing camera is located on the back of the terminal. In some embodiments, there are at least two rear-facing cameras, which are any one of a main camera, a depth-sensing camera, a wide-angle camera, and a telephoto camera, to achieve background blurring by fusion of the main camera and the depth-sensing camera, panoramic shooting by fusion of the main camera and the wide-angle camera, VR (Virtual Reality) shooting, or other fusion shooting functions. In some embodiments, the camera assembly 606 may also include a flash. The flash can be a single-color temperature flash or a dual-color temperature flash. A dual-color temperature flash refers to a combination of a warm light flash and a cool light flash, which can be used for light compensation at different color temperatures.

[0211] The audio circuit 607 may include a microphone and a speaker. The microphone is used to collect sound waves from the user and the environment, converting the sound waves into electrical signals that are input to the processor 601 for processing, or input to the radio frequency circuit 604 for voice communication. For stereo sound acquisition or noise reduction purposes, multiple microphones may be used, each located at a different part of the terminal 600. The microphone may also be an array microphone or an omnidirectional microphone. The speaker is used to convert the electrical signals from the processor 601 or the radio frequency circuit 604 into sound waves. The speaker may be a conventional diaphragm speaker or a piezoelectric ceramic speaker. When the speaker is a piezoelectric ceramic speaker, it can convert electrical signals not only into audible sound waves but also into inaudible sound waves for purposes such as distance measurement. In some embodiments, the audio circuit 607 may also include a headphone jack.

[0212] Power supply 608 is used to power the various components in terminal 600. Power supply 608 can be AC ​​power, DC power, a disposable battery, or a rechargeable battery. When power supply 608 includes a rechargeable battery, the rechargeable battery can be a wired rechargeable battery or a wireless rechargeable battery. A wired rechargeable battery is a battery that is charged via a wired line, and a wireless rechargeable battery is a battery that is charged via a wireless coil. The rechargeable battery can also be used to support fast charging technology.

[0213] In some embodiments, the terminal 600 further includes one or more sensors 609. The one or more sensors 609 include, but are not limited to, an accelerometer 610, a gyroscope 611, a pressure sensor 612, an optical sensor 613, and a proximity sensor 614.

[0214] Accelerometer 610 can detect the magnitude of acceleration along the three coordinate axes of a coordinate system established by terminal 600. For example, accelerometer 610 can be used to detect the components of gravitational acceleration along the three coordinate axes. Processor 601 can control display screen 605 to display the user interface in either a landscape or portrait view based on the gravitational acceleration signal acquired by accelerometer 610. Accelerometer 610 can also be used for games or for acquiring user motion data.

[0215] The gyroscope sensor 611 can detect the orientation and rotation angle of the terminal 600. The gyroscope sensor 611 can work in conjunction with the accelerometer sensor 610 to collect 3D motion data from the user on the terminal 600. Based on the data collected by the gyroscope sensor 611, the processor 601 can perform the following functions: motion sensing (e.g., changing the UI based on the user's tilt), image stabilization during shooting, game control, and inertial navigation.

[0216] The pressure sensor 612 can be disposed on the side bezel of the terminal 600 and / or the lower layer of the display screen 605. When the pressure sensor 612 is disposed on the side bezel of the terminal 600, it can detect the user's grip signal on the terminal 600, and the processor 601 can perform left / right hand recognition or quick operation based on the grip signal collected by the pressure sensor 612. When the pressure sensor 612 is disposed on the lower layer of the display screen 605, the processor 601 can control the operable controls on the UI interface based on the user's pressure operation on the display screen 605. The operable controls include at least one of button controls, scroll bar controls, icon controls, and menu controls.

[0217] An optical sensor 613 is used to collect ambient light intensity. In one embodiment, the processor 601 can control the display brightness of the display screen 605 based on the ambient light intensity collected by the optical sensor 613. Specifically, when the ambient light intensity is high, the display brightness of the display screen 605 is increased; when the ambient light intensity is low, the display brightness of the display screen 605 is decreased. In another embodiment, the processor 601 can also dynamically adjust the shooting parameters of the camera assembly 606 based on the ambient light intensity collected by the optical sensor 613.

[0218] The proximity sensor 614, also known as a distance sensor, is typically mounted on the front panel of the terminal 600. The proximity sensor 614 is used to detect the distance between the user and the front of the terminal 600. In one embodiment, when the proximity sensor 614 detects that the distance between the user and the front of the terminal 600 is gradually decreasing, the processor 601 controls the display screen 605 to switch from a screen-on state to a screen-off state; when the proximity sensor 614 detects that the distance between the user and the front of the terminal 600 is gradually increasing, the processor 601 controls the display screen 605 to switch from a screen-off state to a screen-on state.

[0219] Those skilled in the art will understand that Figure 6 The structure shown does not constitute a limitation on terminal 600, and may include more or fewer components than shown, or combine certain components, or use different component arrangements.

[0220] In an exemplary embodiment, a computer-readable storage medium is also provided, which stores at least one piece of program code that is loaded and executed by a processor to implement the energy storage system configuration method in the above embodiments.

[0221] In an exemplary embodiment, a computer program product is also provided, which stores at least one piece of program code that is loaded and executed by a processor to implement the energy storage system configuration method in the above embodiments.

[0222] Those skilled in the art will understand that all or part of the steps of the above embodiments can be implemented by hardware or by a program instructing related hardware. The program can be stored in a computer-readable storage medium, such as a read-only memory, a disk, or an optical disk.

[0223] The above description is only for the purpose of enabling those skilled in the art to understand the technical solution of this application, and is not intended to limit this application. Any modifications, equivalent substitutions, improvements, etc., made within the spirit and principles of this application should be included within the protection scope of this application.

Claims

1. A method for configuring an energy storage system, characterized in that, The method includes: Obtain load data and distributed photovoltaic power output data from the power distribution network; Based on the load data and the distributed photovoltaic output data, the photovoltaic penetration rate is determined; Based on the relationship between the photovoltaic penetration rate and the penetration rate threshold, an objective function is determined. The objective function is either a first objective function or a second objective function. The first objective function is a function related to the photovoltaic curtailment rate of the distributed energy storage system, and the second objective function is a function related to the net revenue of the centralized energy storage system. Both the distributed energy storage system and the centralized energy storage system are energy storage systems connected to the distribution network. Based on the objective function, the rated power of the energy storage system is determined, wherein the energy storage system is either the distributed energy storage system or the centralized energy storage system. The configuration capacity of the energy storage system is determined based on the operating power curve of the energy storage system within a preset period. Based on the rated power and configured capacity of the energy storage system, the distribution network is configured with energy storage.

2. The method of claim 1, wherein, The objective function determined based on the relationship between photovoltaic penetration rate and penetration threshold includes: If the photovoltaic penetration rate is not less than the penetration threshold, determine the first objective function; If the photovoltaic penetration rate is less than the penetration rate threshold, the second objective function is determined.

3. The method according to claim 2, characterized in that, The distributed photovoltaic power output data includes the total power generation of distributed photovoltaic systems. Determining the first objective function includes: Obtain the transmitted power of the power distribution network; Based on the power transmission of the distribution network, the total power generation of the distributed photovoltaic system, the photovoltaic curtailment rate, and the power consumption of the distribution network load and the energy storage system, the first objective function is constructed; wherein, the power consumption of the distribution network load and the energy storage system is related to the rated power of the energy storage system.

4. The method according to claim 2, characterized in that, The load data includes net load power; Determining the second objective function includes: If the net load power is not less than the upper limit of the net load power or the net load power is not greater than the lower limit of the net load power, the battery degradation cost and the subsidy revenue of the distributed photovoltaic power are obtained. Based on the battery degradation cost, the subsidy revenue, the net revenue, the construction cost, operation and maintenance cost, and peak-valley electricity price revenue of the centralized energy storage system, a second objective function is constructed; wherein the construction cost, operation and maintenance cost, and peak-valley electricity price revenue of the centralized energy storage system are all related to the rated power of the energy storage system.

5. The method according to claim 1, characterized in that, Determining the rated power of the energy storage system based on the objective function includes: If the objective function is the first objective function, determine the rated power corresponding to the minimum photovoltaic curtailment rate, and obtain the rated power of the distributed energy storage system. If the objective function is the second objective function, determine the rated power corresponding to the maximum net benefit to obtain the rated power of the centralized energy storage system.

6. The method according to claim 1, characterized in that, The configuration of energy storage in the distribution network based on the rated power and configured capacity of the energy storage system includes: For the centralized energy storage system, multiple candidate nodes are selected from multiple nodes of the distribution network; a target node that meets the first constraint condition is determined from the multiple candidate nodes; and if the rated power of the centralized energy storage system meets the second constraint condition, energy storage configuration is performed on the target node based on the rated power and configuration capacity of the centralized energy storage system. For the distributed energy storage system, the distribution network is divided into multiple regions by dividing multiple nodes into regions; a target region that meets the first constraint condition is determined from the multiple regions; and if the rated power of the distributed energy storage system meets the second constraint condition, energy storage is configured for the target region based on the rated power and configuration capacity of the distributed energy storage system.

7. An energy storage system configuration device, characterized in that, The device includes: The acquisition module is used to acquire load data and distributed photovoltaic power output data of the power distribution network. The first determining module is used to determine the photovoltaic penetration rate based on the load data and the distributed photovoltaic output data; The second determining module is used to determine an objective function based on the relationship between the photovoltaic penetration rate and the penetration rate threshold. The objective function is either a first objective function or a second objective function. The first objective function is a function related to the photovoltaic curtailment rate of the distributed energy storage system, and the second objective function is a function related to the net revenue of the centralized energy storage system. Both the distributed energy storage system and the centralized energy storage system are energy storage systems connected to the distribution network. The third determining module is used to determine the rated power of the energy storage system based on the objective function, wherein the energy storage system is the distributed energy storage system or the centralized energy storage system; The fourth determining module is used to determine the configuration capacity of the energy storage system based on the operating power curve of the energy storage system within a preset period. The configuration module is used to configure the energy storage in the distribution network based on the rated power and configuration capacity of the energy storage system.

8. An electronic device, characterized in that, The electronic device includes a processor and a memory, the memory storing at least one piece of program code, which is loaded and executed by the processor to implement the energy storage system configuration method as described in any one of claims 1 to 6.

9. A computer-readable storage medium, characterized in that, The computer-readable storage medium stores at least one piece of program code, which is loaded and executed by a processor to implement the energy storage system configuration method as described in any one of claims 1 to 6.

10. A computer program product, characterized in that, The computer program product stores at least one piece of program code, which is loaded and executed by a processor to implement the energy storage system configuration method as described in any one of claims 1 to 6.