Energy storage system demand regulation method, electronic device and storage medium

By acquiring electricity price information and load power curves, the charging and discharging strategies of the energy storage system are dynamically adjusted, solving the problems of insufficient accuracy and response speed in demand control of the energy storage system. This enables precise regulation and power optimization of the energy storage system without increasing hardware costs.

CN121097754BActive Publication Date: 2026-05-19GUANGDONG EAGLE POWER ELECTRONICS CO LTD
View PDF 1 Cites 0 Cited by

Patent Information

Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
GUANGDONG EAGLE POWER ELECTRONICS CO LTD
Filing Date
2025-07-17
Publication Date
2026-05-19

AI Technical Summary

Technical Problem

Existing energy storage systems suffer from insufficient prediction accuracy in demand control, leading to over-discharge and wasted electricity. Furthermore, they lack sufficient response speed during rapid load fluctuations, failing to effectively prevent the generation of peak demand. Existing systems also fail to achieve global collaborative optimization with peak-valley arbitrage plans.

Method used

By acquiring peak and off-peak time periods and electricity price information, the regulation strategy of the energy storage system is determined, the charging or discharging power of the energy storage is dynamically adjusted, and the over-capacity protection and reverse current protection mechanisms are set up in combination with the load power curve and contract capacity to achieve precise charging control and adaptive discharging, and prioritize the protection of maximum demand control or peak-valley arbitrage strategies.

Benefits of technology

This enables energy storage systems to precisely regulate user load, optimize electricity costs, ensure grid safety and stability, avoid energy waste, improve demand control accuracy, prevent backflow, and meet contract capacity requirements without increasing hardware costs.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN121097754B_ABST
    Figure CN121097754B_ABST
Patent Text Reader

Abstract

The embodiment of the application provides a kind of energy storage system demand regulation method, electronic equipment and storage medium, belong to energy storage system technical field.The method comprises: obtaining written peak-valley time period, electricity price information and the contract capacity set, according to electricity price information, determine the regulation strategy of energy storage system.When the regulation strategy is maximum demand control strategy, obtain current grid power, according to current grid power, generate load power curve.According to peak-valley time period, determine the working mode and regulation constraint condition of energy storage system corresponding to peak-valley time period.Under the corresponding working mode and corresponding regulation constraint condition, obtain current demand power, according to load power curve, current demand power and / or the contract capacity set, dynamically adjust the energy storage charging power or energy storage discharging power of current energy storage system.Can realize power cost optimization, ensure that power grid operation is safe and stable.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] This application relates to the field of energy storage system technology, and in particular to a demand regulation method, electronic device and storage medium for an energy storage system. Background Technology

[0002] In industrial and commercial power operations, electricity costs typically consist of two parts: electricity consumption charges and demand charges. Electricity consumption charges are calculated based on the user's cumulative electricity consumption, while demand charges are based on the user's maximum average power (i.e., maximum demand) recorded during the billing cycle.

[0003] Energy storage systems are considered an ideal technology for demand management due to their rapid and flexible charging and discharging characteristics. Their basic principle is that when a user's total power consumption approaches or may exceed a preset target demand threshold, the energy storage system discharges to "shaving off peaks," reducing the instantaneous power drawn from the grid, thereby avoiding or reducing the maximum demand record.

[0004] However, existing energy storage-based demand control technologies suffer from insufficient prediction accuracy in practical applications, leading to premature over-discharge, wasted energy storage capacity, and impacting subsequent peak-valley arbitrage or demand control capabilities. Furthermore, during rapid load fluctuations or sudden increases, the generation and transmission of control commands and the response speed of the energy storage system may be insufficient to accurately track these fluctuations, resulting in lags at critical time scales and potential control "missing the mark," failing to effectively prevent peak demand. Existing demand control strategies often operate in isolation, failing to achieve global coordinated optimization with key constraints such as peak-valley arbitrage plans. Summary of the Invention

[0005] The main objective of this application is to propose a demand regulation method, electronic device, and storage medium for an energy storage system, so as to solve one or more technical problems existing in the prior art, and at least provide a beneficial option or create conditions.

[0006] To achieve the above objectives, one aspect of this application proposes a demand regulation method for an energy storage system, the method comprising:

[0007] The energy storage system is located between the power grid and the user load, and the method includes:

[0008] The system acquires the peak and valley time periods, electricity price information, and the set contract capacity, and determines the control strategy of the energy storage system based on the electricity price information.

[0009] When the regulation strategy is a maximum demand control strategy, the current grid power is obtained, and a load power curve is generated based on the current grid power.

[0010] Based on the peak and valley time periods, determine the working mode and control constraints of the energy storage system corresponding to the peak and valley time periods;

[0011] Under the corresponding operating mode and the corresponding control constraints, the current demand power is obtained, and the energy storage charging power or energy storage discharging power of the current energy storage system is dynamically adjusted according to the load power curve, the current demand power and / or the set contract capacity.

[0012] Furthermore, the electricity price information includes flat-rate prices and excess-rate prices; determining the control strategy for the energy storage system based on the electricity price information includes:

[0013] Obtain the price fluctuation coefficient, and determine the peak price and valley price based on the flat price and the price fluctuation coefficient;

[0014] When the first difference between the excess price and the flat price is greater than the second difference between the peak price and the trough price, the maximum demand control strategy is configured as the highest priority, and the current regulation strategy is determined to be the maximum demand control strategy.

[0015] Furthermore, determining the control strategy for the energy storage system based on the electricity price information further includes:

[0016] When the first difference between the excess price and the flat price is less than the second difference between the peak price and the trough price, the peak-trough arbitrage strategy is configured as the highest priority, and the current control strategy is determined to be the peak-trough arbitrage strategy.

[0017] Furthermore, determining the operating mode and control constraints of the energy storage system corresponding to the peak and valley time periods, based on the peak and valley time periods, includes:

[0018] When the energy storage system enters the off-peak price period of the peak-valley time period, the current working mode of the energy storage system is determined to be charging mode;

[0019] When the energy storage system is in the charging mode, the regulation constraint is that the current demand power calculated by the grid side in any cycle does not exceed the set contract capacity.

[0020] Furthermore, determining the operating mode and control constraints of the energy storage system corresponding to the peak and valley time periods, based on the peak and valley time periods, includes:

[0021] When the energy storage system enters the peak price period of the peak-valley time period, the current working mode of the energy storage system is determined to be the discharge mode;

[0022] When the energy storage system is in the discharge mode, the regulation constraint is that the current demand power calculated by the grid side in any cycle does not exceed the set contract capacity, and the current grid power is always greater than zero.

[0023] Furthermore, when the operating mode is the charging mode, the step of dynamically adjusting the energy storage charging power or energy storage discharging power of the current energy storage system based on the load power curve, the current demand power, and / or the set contract capacity includes:

[0024] Based on the load power curve, determine the current load power; based on the current load power, the set contract capacity, and the set parameters, determine the current energy storage charging power.

[0025] When the current load power is greater than the set contract capacity, under the corresponding control constraints, the current energy storage charging power is reduced according to the current demand power until the energy storage charging power is zero.

[0026] Furthermore, when the operating mode is the discharge mode, the step of dynamically adjusting the energy storage charging power or energy storage discharging power of the current energy storage system based on the load power curve, the current demand power, and / or the set contract capacity includes:

[0027] Based on the load power curve, determine the current load power and the current curve slope, and based on the current curve slope, determine the error parameter;

[0028] The current energy storage discharge power is determined based on the current load power and the error parameters;

[0029] When the set maximum discharge power is less than the current energy storage discharge power, the set maximum discharge power shall be used as the current energy storage discharge power.

[0030] When the current load power decreases, under the corresponding regulation constraints, the current energy storage discharge power is reduced according to the current demand power until the energy storage discharge power is zero.

[0031] Furthermore, obtaining the current power demand includes:

[0032] For each demand cycle, the average of all instantaneous power values ​​output by the power grid within the demand cycle is calculated to obtain the current demand power.

[0033] To achieve the above objectives, another aspect of this application provides an electronic device, which includes a memory and a processor. The memory stores a computer program, and the processor executes the computer program to implement the above-described method.

[0034] To achieve the above objectives, another embodiment of this application proposes a computer-readable storage medium storing a computer program that, when executed by a processor, implements the above-described method.

[0035] The embodiments of this application include at least the following beneficial effects: This application provides a demand regulation method, electronic device, and storage medium for an energy storage system. This solution determines the regulation strategy based on electricity price information to avoid energy waste during peak hours and achieves global collaborative optimization of key constraints such as demand control strategy and peak-valley arbitrage plan. Based on peak and valley time periods, the operating mode and regulation constraints of the energy storage system are determined to set up a dual protection mechanism against overcapacity and reverse current. Under corresponding conditions, the energy storage charging power or energy storage discharging power of the energy storage system is adjusted according to the load power curve, current demand power, and / or the set contract capacity to achieve precise charging control and adaptive discharging. This ensures the accuracy of system power control without reverse current, enabling industrial and commercial users to optimize electricity costs within the set contract capacity while ensuring the safe and stable operation of the power grid. Furthermore, without increasing the hardware cost of the energy storage system, the regulation strategy achieves precise regulation of user load by the energy storage system, improving the accuracy of demand control technology, rather than the traditional energy storage system's aim of preventing user demand from exceeding limits. Attached Figure Description

[0036] Figure 1 This is a flowchart of the demand regulation method for an energy storage system provided in the embodiments of this application;

[0037] Figure 2 This is a schematic diagram of the application structure framework of the energy storage system provided in the embodiments of this application;

[0038] Figure 3 This is a schematic diagram of the hardware structure of the electronic device provided in the embodiments of this application. Detailed Implementation

[0039] To make the objectives, technical solutions, and advantages of this application clearer, the following detailed description is provided in conjunction with the accompanying drawings and embodiments. It should be understood that the specific embodiments described herein are merely illustrative of this application and are not intended to limit it. In the following description, when referring to the accompanying drawings, unless otherwise indicated, the same numbers in different drawings represent the same or similar elements. The embodiments described in the following exemplary embodiments do not represent all embodiments consistent with those of this application; they are merely examples of apparatuses and methods consistent with some aspects of the embodiments of this application as detailed in the appended claims.

[0040] It is understood that the terms “first,” “second,” etc., used in this application may be used herein to describe various concepts, but unless otherwise stated, these concepts are not limited by these terms. These terms are only used to distinguish one concept from another. For example, without departing from the scope of the embodiments of this application, first information may also be referred to as second information, and similarly, second information may also be referred to as first information. Depending on the context, the words “if,” “when,” or “in response to a determination” as used herein may be interpreted as “when…” or “when…” or “in response to a determination.”

[0041] As used in this application, the terms "at least one", "multiple", "each", "any", etc., "at least one" includes one, two or more, "multiple" includes two or more, "each" refers to each of the corresponding multiples, and "any" refers to any one of the multiples.

[0042] Unless otherwise defined, all technical and scientific terms used herein have the same meaning as commonly understood by one of ordinary skill in the art to which this application belongs. The terminology used herein is for the purpose of describing embodiments of this application only and is not intended to limit this application.

[0043] Reference Figure 2 , Figure 2 This diagram illustrates the application architecture of an energy storage system. The system is positioned between the power grid and the user load, meaning it connects to both. A user-side electricity meter is also installed between the energy storage system and the user's power grid. This meter communicates with the energy storage system, allowing it to collect real-time power data from the grid and transmit it to the energy storage system for demand regulation. To enhance the system's precision in controlling load power, the system increases the frequency of its query to the user-side electricity meter, specifically querying the grid power data every 20ms.

[0044] Figure 1 This is an optional flowchart of the demand regulation method for an energy storage system provided in the embodiments of this application. Figure 1 The method may include, but is not limited to, steps S100 to S400.

[0045] Step S100: Obtain the peak and valley time periods, electricity price information, and the set contract capacity. Based on the electricity price information, determine the control strategy of the energy storage system.

[0046] Step S200: When the control strategy is the maximum demand control strategy, obtain the current grid power and generate a load power curve based on the current grid power.

[0047] Step S300: Determine the working mode and control constraints of the energy storage system corresponding to the peak and valley time periods, based on the peak and valley time periods.

[0048] Step S400: Under the corresponding working mode and corresponding control constraints, obtain the current demand power, and dynamically adjust the energy storage charging power or energy storage discharging power of the current energy storage system according to the load power curve, the current demand power and / or the set contract capacity.

[0049] Steps S100 to S400 as illustrated in this application embodiment determine the control strategy based on electricity price information, thereby more rationally arranging electricity consumption plans, avoiding energy waste during peak hours, and improving energy utilization efficiency. Based on peak and off-peak time periods, the operating mode and control constraints of the energy storage system are determined to set up a dual protection mechanism against overcapacity and reverse current. Under corresponding conditions, based on the load power curve, current demand power, and / or the set contract capacity, the energy storage charging power or energy storage discharging power of the energy storage system is adjusted to achieve precise charging control and adaptive discharging. This ensures the accuracy of system power control and prevents reverse current, enabling industrial and commercial users to optimize electricity costs within the set contract capacity while ensuring the safe and stable operation of the power grid. Furthermore, without increasing the hardware cost of the energy storage system, the control strategy achieves precise regulation of user load through the energy storage system, unlike traditional energy storage systems that aim to prevent user demand from exceeding limits.

[0050] In some embodiments of S100, the contracted capacity Pct, peak and off-peak time periods, and electricity price information are written into the energy storage system through the controller interface of the energy storage system.

[0051] The contracted capacity Pct is the electricity consumption agreed upon between the user and the power company. Different charging standards apply to the portion of the electricity consumption exceeding the contracted capacity.

[0052] Peak and off-peak periods are the times when users consume the most and least electricity. Periods outside of peak and off-peak periods can be considered as off-peak periods.

[0053] Electricity pricing information includes: flat rate price and excess charge price. The flat rate price is the user's usual purchase price for electricity; peak and off-peak rates fluctuate around the flat rate price. The excess charge price is the price charged separately for electricity usage exceeding the user's needs.

[0054] Commercial and industrial energy storage systems are primarily used for commercial functions such as peak-valley arbitrage and demand management to reduce users' electricity costs. Peak-valley arbitrage strategies and demand management are somewhat conflicting. Without appropriate economic control strategies, the economic benefits of energy storage cannot be maximized, and the cost recovery period for energy storage systems is relatively long.

[0055] Therefore, by using electricity price information, priority control strategies can be determined, that is, the priority of strategies can be determined, and the priority of maximum demand control strategies and peak-valley arbitrage strategies can be adjusted to achieve reasonable electricity consumption planning, avoid energy waste during peak hours, and improve energy utilization efficiency.

[0056] In some embodiments of S200, when the current control strategy is determined to be a maximum demand control strategy based on electricity price information, the current grid power P is collected in real time from the user-side electricity meter. grid The energy storage system queries the user's electricity meter at a set frequency to obtain the current grid power P. grid The system generates a load power curve, and the energy storage system dynamically adjusts its power based on this load power curve after demand regulation is initiated.

[0057] For example, the energy storage system can use edge computing to process the current grid power, voltage and current in real time, use Kalman filtering and other techniques to filter the data, store the processed data in time series and generate load power curves.

[0058] The query frequency can be 20ms, 15ms, 18ms, or other intervals; this embodiment does not impose any restrictions on the query frequency. The communication method between the user-side meter and the energy storage system can be RS485 response communication or other communication methods; this embodiment does not impose any restrictions on the communication method.

[0059] In other words, in order to enhance the precise control of load power by the energy storage system, the energy storage system increases the frequency of querying the current grid power collected by the user-side electricity meter (e.g., 20ms) and generates a load power curve. After the energy storage power intervenes in demand regulation, it makes dynamic adjustments based on the load power curve.

[0060] Initially, the energy storage system's power is zero, and the current load power equals the statistical value from the user's electricity meter. The energy storage system's power regulation lags behind the current load power by one set query cycle. The energy storage system's discharge power P is defined as follows: b2 If the value is negative, the energy storage charging power P b1 It is a positive value.

[0061] In some embodiments of S300, when the energy storage system participates in maximum demand regulation, the grid power control must simultaneously meet the conditions of being below the set contracted capacity Pct and anti-reverse current conditions. The energy storage system operates in only two modes: charging mode or discharging mode.

[0062] (0 < P) grid )∩(P dd <Pct)

[0063] Among them, P ddThis represents the current power demand.

[0064] Peak and valley periods include: valley price period and peak price period.

[0065] During off-peak periods, the energy storage system's charging mode is determined. Since the grid charges the energy storage system during this mode, and the grid discharges while the energy storage system has charging needs, the energy storage system only needs to guarantee the current demand power P calculated by the grid side within any given cycle. dd The control constraints corresponding to the trough price period are determined by not exceeding the set contract capacity Pct.

[0066] During peak price periods, the energy storage system's discharge mode is determined. Since the energy storage system has no charging demand during discharge mode, both the energy storage system and the grid discharge. The discharge from the energy storage system can easily flow back into the grid. Therefore, when operating in discharge mode, the energy storage system must not only ensure the current demand P calculated by the grid side within any given cycle... dd In addition to not exceeding the set contract capacity Pct, the power value of the grid on the grid side must always be greater than zero at any given time, so as to determine the control constraints corresponding to the peak price period.

[0067] In addition to peak and off-peak periods, during off-peak periods, the capacity must also be below the set contract capacity Pct and anti-backflow conditions must be met.

[0068] In some embodiments of S400, under the corresponding operating mode and control constraints, the current power demand P is calculated. dd Through the current demand power P dd Based on the load power curve and / or the set contract capacity Pct, the energy storage charging power P is determined in real time. b1 Or energy storage and discharge power P b2 And through the current demand power P dd The current load power P in the load power curve l Adjust the energy storage charging power P b1 Or energy storage and discharge power P b2 .

[0069] In some embodiments of this application, the electricity price information includes: flat rate price and excess rate price. The process of determining the control strategy in S100 specifically includes:

[0070] S110, obtain the price fluctuation coefficient, and determine the peak and valley prices based on the flat price and the price fluctuation coefficient;

[0071] S120, when the first difference between the excess price and the flat price is greater than the second difference between the peak price and the trough price, the maximum demand control strategy is configured as the highest priority, and the current control strategy is determined to be the maximum demand control strategy.

[0072] S130, when the first difference between the excess price and the flat price is less than the second difference between the peak price and the trough price, the peak-trough arbitrage strategy is configured as the highest priority, and the current control strategy is determined to be the peak-trough arbitrage strategy.

[0073] In some embodiments of S110, price fluctuation coefficients α and β are obtained, and the peak price M is determined using the flat price M and the price fluctuation coefficients α and β. P Wagyu section price M V :

[0074] M p =M(1+α)

[0075] M v =M(1-β)

[0076] In some embodiments of S120, when the excess price M b The first difference between the flat price M and the peak price M is greater than the peak price M. p Price M of Valley v When the second difference is reached, the maximum demand control strategy is prioritized, that is, the maximum demand control strategy is configured as the highest priority and is used for regulation.

[0077] In other words, when (M b -M)>(M p -M v When prioritizing the maximum demand control strategy, it is necessary to adjust the energy storage charging power P. b1 Or energy storage and discharge power P b2 Dynamic adjustments are made.

[0078] In some embodiments of S130, when the excess price M b The first difference between the flat price M and the peak price M is less than the peak price M. p Price M of Valley v When the second difference is reached, the peak-valley arbitrage strategy is prioritized, that is, the peak-valley arbitrage strategy is configured as the highest priority and is used for regulation.

[0079] In other words, when (M b -M)<(M p -M v When arbitrage is in effect, priority should be given to ensuring peak-valley arbitrage strategies, and full release and release should be carried out according to the time period requirements without any reverse flow.

[0080] It should be noted that when (Mb -M)=(M p -M v When using peak demand control strategy and peak-valley arbitrage strategy, the priority of these strategies can be customized.

[0081] In some embodiments of this application, the peak-valley time period includes: a valley price period and a peak price period. In S300, the process of determining the operating mode and control constraints specifically includes:

[0082] S310: When the energy storage system enters the off-peak price period during the peak-valley time period, the current working mode of the energy storage system is determined to be the charging mode.

[0083] S311, when the energy storage system is in charging mode, the regulation constraint is that the current demand power calculated by the grid side in any cycle does not exceed the set contract capacity.

[0084] In some embodiments of S310, since the energy storage system needs to simultaneously meet the set contracted capacity and anti-reverse current conditions when participating in regulation, and the energy storage system only has two operating modes, namely charging mode or discharging mode, when the energy storage system enters a valley price period, it is determined that the energy storage system will operate in charging mode to reduce costs.

[0085] In some embodiments of S311, since the grid charges the energy storage system when it is operating in charging mode, and the grid discharges while the energy storage system has charging needs, the energy storage system only needs to ensure the current demand power P calculated by the grid side in any given cycle when operating in charging mode. dd The control constraints corresponding to the trough price period are determined by not exceeding the set contract capacity Pct.

[0086] In some embodiments of this application, the peak-valley time period includes: a valley price period and a peak price period. In S300, the process of determining the operating mode and control constraints specifically includes:

[0087] S320: When the energy storage system enters the peak price period of the peak-valley time period, the current working mode of the energy storage system is determined to be the discharge mode.

[0088] S321, when the energy storage system is in discharge mode, the regulation constraint is that the current demand power calculated by the grid side in any cycle does not exceed the set contract capacity, and the current grid power is continuously greater than zero.

[0089] In some embodiments of S320, since the energy storage system needs to simultaneously meet the set contracted capacity and anti-reverse current conditions when participating in regulation, and the energy storage system only has two operating modes, namely charging mode or discharging mode, when the energy storage system enters the peak price period, it is determined that the energy storage system operates in discharging mode to supply the stored electricity to users.

[0090] In some embodiments of S321, since the energy storage system has no charging demand when operating in discharge mode, the energy storage system discharges, and the grid discharges as well. The discharge from the energy storage system can easily flow back to the grid. Therefore, when operating in discharge mode, the energy storage system needs to ensure that the current demand power P calculated by the grid side in any given cycle is within the required range. dd In addition to not exceeding the set contract capacity Pct, the current grid power value on the grid side must always be greater than zero at any given time, so as to determine the control constraints corresponding to the peak price period.

[0091] In addition to peak and off-peak periods, during off-peak periods, the capacity must also be below the set contract capacity Pct and anti-backflow conditions must be met.

[0092] In some embodiments of this application, the process of obtaining the current power demand in S400 specifically includes:

[0093] S401: For each demand cycle, the average of all instantaneous power values ​​output by the power grid within the demand cycle is calculated to obtain the current demand power.

[0094] In this embodiment, the demand power is calculated based on a set demand cycle. For each demand cycle, the average of all instantaneous power values ​​within that demand cycle is calculated to obtain the current demand power. The instantaneous power values ​​are obtained through statistics from the user-side electricity meter.

[0095]

[0096] Among them, P dd t1 and t2 are the start and end times of a set demand cycle, respectively, and p is the real-time active power of the user's meter.

[0097] The demand cycle can be divided according to the power output, voltage output or current output of the power grid, or according to actual needs. This application does not impose any restrictions on the division of the demand cycle.

[0098] In another embodiment, the current power demand p can also be calculated using discretization. dd .

[0099]

[0100] Where, p i Let be the instantaneous power in the i-th time interval, and n be the total number of time intervals in the demand cycle.

[0101] The maximum average power within the recorded demand period is the maximum demand within the settlement period.

[0102] Pdmax =MAX(P dd )

[0103] If the maximum demand P dmax If the capacity exceeds the contracted capacity Pct, the excess portion will be subject to different charging standards.

[0104] In some embodiments of this application, when the operating mode is charging mode, the adjustment process of energy storage charging power or energy storage discharging power in S400 includes:

[0105] S410 determines the current load power based on the load power curve, and determines the current energy storage charging power based on the current load power, the set contract capacity, and the set parameters.

[0106] S411 When the current load power is greater than the set contract capacity, under the corresponding control constraints, reduce the current energy storage charging power according to the current demand power until the energy storage charging power is zero.

[0107] In this embodiment, when the energy storage system is in charging mode during off-peak hours, the control constraint is to ensure that the current demand power P calculated by the grid side in any given cycle is maintained. dd Not exceeding the set contract capacity Pct.

[0108] During this period, the current load power P is determined using the load power curve. l Through the current load power P l Given the contracted capacity Pct and a fixed parameter K1, determine the current energy storage charging power P. b1 Relationship:

[0109] P b1 =Pct-P l -K1

[0110] Real-time calculation of the current energy storage charging power P n2 With the current energy storage charging power P n2 From the relationship, we can see that if the current load power P at any given moment... l The sudden change causes the current load power P at that moment to... l If the demand exceeds the set contract capacity Pct, the current demand power P is calculated in real time via S401. dd Adaptively reduce the current energy storage charging power P b1 Until the current energy storage charging power P b1 The power is limited to zero or enters discharge mode to ensure that the average power during the demand cycle is still less than the set contract capacity Pct, that is, to ensure that the current demand power P during the demand cycle is guaranteed. ddThis satisfies the regulatory constraints during periods of low prices.

[0111] In some embodiments of this application, when the operating mode is charging mode, the adjustment process of energy storage charging power or energy storage discharging power in S400 includes:

[0112] S420: Based on the load power curve, determine the current load power and the current curve slope; based on the current curve slope, determine the error parameters.

[0113] S421, determine the current energy storage discharge power based on the current load power and error parameters;

[0114] S422, when the set maximum discharge power is less than the current energy storage discharge power, the set maximum discharge power shall be used as the current energy storage discharge power;

[0115] S423: When the current load power decreases, under the corresponding control constraints, the current energy storage discharge power is reduced according to the current demand power until the energy storage discharge power is zero.

[0116] In this embodiment, during peak price periods, i.e., when the energy storage system is operating in discharge mode, the control constraint is to ensure that the current demand power P calculated by the grid side within any cycle is maintained. dd The power must not exceed the contracted capacity Pct, and the current grid power value on the grid side must always be greater than zero at any given time.

[0117] During this period, the slope of the current curve is determined using the load power curve, and the error parameter K2 is determined based on this slope. The current curve slope and error parameter K2 are positively correlated; the larger the current curve slope, the larger the error parameter K2. Error parameter K2 changes in real time with the current curve slope. Specifically, if the initial slope of the current curve is set to x, then the initial value of error parameter K2 is x, and K2 > 0. By setting and determining the error parameter K2, the accuracy of system power control is ensured, and backflow is prevented.

[0118] Determine the current load power P using the load power curve. l The energy storage and discharge power P of the energy storage system as defined by S200 b2 If the value is negative, the energy storage charging power P b1 It is a positive value. This is determined by the error parameter K2 and the current load power P. l And, determine the current energy storage discharge power P b2 Relationship:

[0119] P b2 =-(P l -K2)

[0120] This enables real-time calculation of the current energy storage discharge power P. b2 With the current energy storage charging power P b2 From the relationship, it can be seen that if the calculated current energy storage discharge power P b2 When the discharge power exceeds the maximum discharge power of the energy storage system, i.e., the set maximum discharge power, the energy storage system operates at the set maximum discharge power, i.e., the current energy storage discharge power P. b2 This represents the maximum discharge power set.

[0121] If the current load power P at any given moment l Sudden change, i.e., the current load power P l If the power demand P decreases, the current power demand P is calculated in real time via S401. dd Adaptively reduce the current energy storage charging power P b2 Until the current energy storage charging power P b2 The limit is set to zero to meet the regulatory constraints during peak price periods.

[0122] Through S410 to S423, the adjustment based on energy storage power lags behind the load power by one communication cycle. By determining the current load power using the load power curve, the energy storage system can respond quickly to rapid load fluctuations or sudden increases, adjusting the energy storage discharge and charging power. This improves the system's response speed and enables precise tracking, avoiding lag at critical time scales that could lead to control "missed opportunities" and prevent effective prevention of peak demand.

[0123] In some embodiments of this application, the demand control method further includes:

[0124] S500, when in a period of parity, calculates the current demand power P based on the current load power curve. dd If the current load power P l Exceeding the contracted capacity Pct, based on the current power demand P dd Adaptive discharge, adjusting the current energy storage discharge power P b2 Until the current energy storage discharge power P b2 To achieve the set maximum discharge power and ensure the current required power P dd It is still less than the contracted capacity.

[0125] In this embodiment of S500, when the energy storage system enters the grid parity period, it monitors the current load power curve in real time and initiates the demand calculation function (periodic calculation). If at any moment the instantaneous load power exceeds the set contract capacity Pct, it adaptively discharges according to the current demand calculation results until the energy storage discharge power P b2The maximum discharge power is achieved while ensuring that the average power during the cycle is still less than the contracted capacity Pct.

[0126] The S600 incorporates a database model to fit a load power curve based on daily load data.

[0127] In this embodiment of S600, a database model is introduced to fit a regular load curve based on daily load data, which is used for power prediction for the next day and subsequent days, further improving the stability of system regulation.

[0128] This application also provides an electronic device, which includes a memory and a processor. The memory stores a computer program, and the processor executes the computer program to implement the demand regulation method of the energy storage system described above. This electronic device can be any smart terminal, including tablet computers, in-vehicle computers, etc.

[0129] It is understood that the content of the above method embodiments is applicable to this device embodiment. The specific functions implemented by this device embodiment are the same as those of the above method embodiments, and the beneficial effects achieved are also the same as those achieved by the above method embodiments.

[0130] Please see Figure 3 , Figure 3 The hardware structure of an electronic device according to another embodiment is illustrated. The electronic device includes:

[0131] The processor can be implemented using a general-purpose CPU (Central Processing Unit), microprocessor, application-specific integrated circuit (ASIC), or one or more integrated circuits, and is used to execute relevant programs to achieve the technical solutions provided in the embodiments of this application.

[0132] The memory can be implemented in the form of read-only memory (ROM), static storage device, dynamic storage device, or random access memory (RAM). The memory can store the operating system and other applications. When the technical solutions provided in the embodiments of this specification are implemented by software or firmware, the relevant program code is stored in the memory 902 and is called by the processor to execute the demand regulation method of the energy storage system of the embodiments of this application.

[0133] Input / output interfaces are used to implement information input and output;

[0134] The communication interface is used to enable communication and interaction between this device and other devices. Communication can be achieved through wired means (such as USB, Ethernet cable, etc.) or wireless means (such as mobile network, WIFI, Bluetooth, etc.).

[0135] A bus is used to transfer information between various components of a device, such as processors, memory, input / output interfaces, and communication interfaces.

[0136] The processor, memory, input / output interfaces, and communication interfaces communicate with each other within the device via a bus.

[0137] This application also provides a computer-readable storage medium storing a computer program that, when executed by a processor, implements the demand regulation method of the energy storage system described above.

[0138] It is understood that the content of the above method embodiments is applicable to this storage medium embodiment. The specific functions implemented in this storage medium embodiment are the same as those in the above method embodiments, and the beneficial effects achieved are also the same as those achieved in the above method embodiments.

[0139] Memory, as a non-transitory computer-readable storage medium, can be used to store non-transitory software programs and non-transitory computer-executable programs. Furthermore, memory may include high-speed random access memory, and may also include non-transitory memory, such as at least one disk storage device, flash memory device, or other non-transitory solid-state storage device. In some embodiments, memory may optionally include memory remotely located relative to the processor, and these remote memories can be connected to the processor via a network. Examples of such networks include, but are not limited to, the Internet, intranets, local area networks, mobile communication networks, and combinations thereof.

[0140] The embodiments described in this application are for the purpose of more clearly illustrating the technical solutions of the embodiments of this application, and do not constitute a limitation on the technical solutions provided by the embodiments of this application. As those skilled in the art will know, with the evolution of technology and the emergence of new application scenarios, the technical solutions provided by the embodiments of this application are also applicable to similar technical problems.

[0141] Those skilled in the art will understand that the technical solutions shown in the figures do not constitute a limitation on the embodiments of this application, and may include more or fewer steps than shown, or combine certain steps, or different steps.

[0142] The device embodiments described above are merely illustrative. The units described as separate components may or may not be physically separate; that is, they may be located in one place or distributed across multiple network units. Some or all of the modules can be selected to achieve the purpose of this embodiment according to actual needs.

[0143] Those skilled in the art will understand that all or some of the steps in the methods disclosed above, as well as the functional modules / units in the systems and devices, can be implemented as software, firmware, hardware, or suitable combinations thereof.

[0144] The terms “first,” “second,” “third,” “fourth,” etc. (if present) in the specification and accompanying drawings of this application are used to distinguish similar objects and are not necessarily used to describe a specific order or sequence. It should be understood that such data can be interchanged where appropriate so that the embodiments of this application described herein can be implemented in orders other than those illustrated or described herein. 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 comprises a series of steps or units is not necessarily limited to those steps or units explicitly listed, but may include other steps or units not explicitly listed or inherent to such processes, methods, products, or apparatus.

[0145] It should be understood that in this application, "at least one (item)" means one or more, and "more than" means two or more. "And / or" is used to describe the relationship between related objects, indicating that three relationships can exist. For example, "A and / or B" can represent three cases: only A exists, only B exists, and both A and B exist simultaneously, where A and B can be singular or plural. The character " / " generally indicates that the preceding and following related objects are in an "or" relationship. "At least one (item) of the following" or similar expressions refer to any combination of these items, including any combination of single or plural items. For example, at least one (item) of a, b, or c can represent: a, b, c, "a and b", "a and c", "b and c", or "a and b and c", where a, b, and c can be single or multiple.

[0146] In the several embodiments provided in this application, it should be understood that the disclosed apparatus and methods can be implemented in other ways. For example, the apparatus embodiments described above are merely illustrative; for instance, the division of the units described above is only a logical functional division, and in actual implementation, there may be other division methods. For example, multiple units or components may be combined or integrated into another system, or some features may be ignored or not executed. Furthermore, the coupling or direct coupling or communication connection shown or discussed may be through some interfaces; the indirect coupling or communication connection between apparatuses or units may be electrical, mechanical, or other forms.

[0147] The preferred embodiments of the present application have been described above with reference to the accompanying drawings, but this does not limit the scope of the claims of the present application. Any modifications, equivalent substitutions, and improvements made by those skilled in the art without departing from the scope and substance of the embodiments of the present application shall be within the scope of the claims of the present application.

Claims

1. A demand regulation method for an energy storage system, characterized in that, The energy storage system is located between the power grid and the user load, and the method includes: The system acquires the peak and valley time periods, electricity price information, and the set contract capacity, and determines the control strategy of the energy storage system based on the electricity price information. When the regulation strategy is a maximum demand control strategy, the current grid power is obtained, and a load power curve is generated based on the current grid power. Based on the peak and valley time periods, determine the working mode and control constraints of the energy storage system corresponding to the peak and valley time periods; Under the corresponding working mode and the corresponding control constraints, the current demand power is obtained, and the energy storage charging power or energy storage discharging power of the current energy storage system is dynamically adjusted according to the load power curve, the current demand power and / or the set contract capacity. The electricity price information includes flat-rate prices and excess-rate prices; determining the control strategy for the energy storage system based on the electricity price information includes: Obtain the price fluctuation coefficient, and determine the peak price and valley price based on the flat price and the price fluctuation coefficient; When the first difference between the excess price and the flat price is greater than the second difference between the peak price and the trough price, the maximum demand control strategy is configured as the highest priority, and the current regulation strategy is determined to be the maximum demand control strategy. When the first difference between the excess price and the flat price is less than the second difference between the peak price and the trough price, the peak-trough arbitrage strategy is configured as the highest priority, and the current control strategy is determined to be the peak-trough arbitrage strategy.

2. The method according to claim 1, characterized in that, The step of determining the operating mode and control constraints of the energy storage system corresponding to the peak and valley time periods includes: When the energy storage system enters the off-peak price period of the peak-valley time period, the current working mode of the energy storage system is determined to be charging mode; When the energy storage system is in the charging mode, the regulation constraint is that the current demand power calculated by the grid side in any cycle does not exceed the set contract capacity.

3. The method according to claim 1, characterized in that, The step of determining the operating mode and control constraints of the energy storage system corresponding to the peak and valley time periods includes: When the energy storage system enters the peak price period of the peak-valley time period, the current working mode of the energy storage system is determined to be the discharge mode; When the energy storage system is in the discharge mode, the regulation constraint is that the current demand power calculated by the grid side in any cycle does not exceed the set contract capacity, and the current grid power is always greater than zero.

4. The method according to claim 2, characterized in that, When the operating mode is the charging mode, dynamically adjusting the energy storage charging power or energy storage discharging power of the current energy storage system based on the load power curve, the current demand power, and / or the set contract capacity includes: Based on the load power curve, determine the current load power; based on the current load power, the set contract capacity, and the set parameters, determine the current energy storage charging power. When the current load power is greater than the set contract capacity, under the corresponding control constraints, the current energy storage charging power is reduced according to the current demand power until the energy storage charging power is zero.

5. The method according to claim 3, characterized in that, When the operating mode is the discharge mode, dynamically adjusting the energy storage charging power or energy storage discharging power of the current energy storage system based on the load power curve, the current demand power, and / or the set contract capacity includes: Based on the load power curve, determine the current load power and the current curve slope, and based on the current curve slope, determine the error parameter; The current energy storage discharge power is determined based on the current load power and the error parameters; When the set maximum discharge power is less than the current energy storage discharge power, the set maximum discharge power shall be used as the current energy storage discharge power. When the current load power decreases, under the corresponding regulation constraints, the current energy storage discharge power is reduced according to the current demand power until the energy storage discharge power is zero.

6. The method according to claim 1, characterized in that, The process of obtaining the current power demand includes: For each demand cycle, the average of all instantaneous power values ​​output by the power grid within the demand cycle is calculated to obtain the current demand power.

7. An electronic device, characterized in that, The electronic device includes a memory and a processor, the memory storing a computer program, and the processor executing the computer program to implement the method according to any one of claims 1 to 6.

8. A computer-readable storage medium storing a computer program, characterized in that, When the computer program is executed by a processor, it implements the method of any one of claims 1 to 6.