A method for dynamic charging and discharging of energy storage
Through real -time collection and analysis of the power consumption data on the side of the user grid, dynamically calculate and adjust the charging and discharge power of the energy storage system, solve the problem of the charging space of the energy storage system under the two parts of the electricity price, and realize the revenue of energy storage peaks and valley arbitrage income. Maximize and improve the efficiency of charging.
Patent Information
- Application Number
- CN202311379672.3
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2023-10-24
- Publication Date
- 2025-01-28
- Estimated Expiration
- 2043-10-24
AI Technical Summary
Under the price of two-part electricity, it is difficult for the energy storage system to dynamically adjust the charging and discharging strategy, resulting in severely squeezed without affecting the maximum demand, making it difficult to make full use of the charging and discharging payload space.
By collecting the power data data data of the user's grid side at the same time, and the maximum demand limit value of the current settlement period, the power charging power of the energy storage system is dynamically calculated, and real -time adjustment is made according to the user's production load change.
Under the premise that the user's demand and capacity safety is not affected, the dynamic charging and discharge of the energy storage system is achieved, maximizing the energy storage peak and valley arbitrage income, and improving the charging efficiency.
Smart Images

Figure CN118100237B_ABST
Abstract
Description
Technical Field
[0001] The present invention relates to the field of energy storage system charging and discharging strategies, and in particular to an energy storage dynamic charging and discharging method under a two-part electricity price. Background Art
[0002] Industrial and commercial enterprise users generally use energy storage systems to reduce their own electricity costs and obtain basic benefits through low charging and high discharging. The electricity costs of industrial and commercial users under the two-part electricity price are not only related to the basic electricity charges, but also closely related to the user's maximum demand and capacity for the month. Especially for enterprises where the valley period overlaps with the peak of production electricity consumption, the available charging space for energy storage is severely squeezed without affecting the maximum demand. In general, the energy storage system will perform charging and discharging according to the pre-set charging and discharging time period, and cannot be dynamically adjusted according to the production load of the enterprise, or lacks consideration for changes in maximum demand, making it difficult to fully utilize the effective load space that can be charged and discharged. Summary of the invention
[0003] In order to overcome the deficiencies in the prior art, the present invention provides a dynamic charging and discharging method for energy storage, which tracks the real-time production load of users and adjusts the charging and discharging power of the energy storage system in real time without affecting the user's demand and capacity safety, so as to maximize the peak-valley arbitrage benefits of energy storage as much as possible.
[0004] In order to achieve the above object, the present invention adopts the following technical solutions:
[0005] A method for dynamic energy storage charging and discharging, characterized by comprising:
[0006] S1, real-time collection of power consumption data at the user's grid and the maximum demand limit M for the current settlement period;
[0007] S2, judging whether the energy storage system meets the charging and discharging conditions. If the charging conditions are met, the charging logic is executed; if the discharging conditions are met, the discharging logic is executed;
[0008] The charging logic includes: dynamically calculating the charging power of the energy storage system based on the gateway power consumption data on the user's grid side, the maximum demand upper limit M of the current settlement period, and the generation principle of the maximum demand, provided that the maximum demand in the current settlement period does not exceed the maximum demand upper limit M of the current settlement period; and sending the charging power to the energy storage system based on the calculated charging power so that the energy storage system is charged according to the charging power.
[0009] By adopting the above method, the charging power of the energy storage system is adjusted dynamically in real time according to the power consumption data at the user's grid side and the maximum demand limit M of the current settlement period, so as to maximize the peak-valley arbitrage benefits of energy storage.
[0010] Furthermore, the charging logic includes:
[0011] A1, according to the generation principle of the maximum demand, obtain the value Z of the demand cycle for calculating the maximum demand, the demand cycle time unit;
[0012] A2, sort the real-time collected gateway power consumption data by time series to form time series gateway power consumption data; the time of each collection is recorded as T n , the corresponding power consumption data of the gateway is recorded as P tn , n is an integer, and the start time of entering the charging logic is recorded as T0;
[0013] A3, according to the time slider calculation rule of the maximum demand of the power grid, select the time-series gateway power consumption data within the (Z-1) demand cycle time unit before T0, including the time-series gateway power consumption data at T0, and calculate the gateway power consumption upper limit P within 1 demand cycle time unit after T0 based on the time-series gateway power consumption data within the (Z-1) demand cycle time unit before T0 and the maximum demand upper limit M of the current settlement period. max ;
[0014] A4, predict the current time T within 1 demand cycle time unit after T0 k Until the next moment T k+1 The predicted user production power P f_t(k+1) ;
[0015] A5, based on the threshold power consumption upper limit P within one demand cycle time unit after T0 max and the current time T k Until the next moment T k+1 The predicted user production power P f_t(k+1) Calculate the current time T within one demand cycle time unit after T0 k Until the next moment T k+1 The calculated charging power P of the energy storage system s_t(k+1) :
[0016] P s_t(k+1) =P max -P f_t(k+1)
[0017] A6, determine the current time T k Until the next moment T k+1 The calculated charging power P of the energy storage system s_t(k+1) Is it greater than 0? If so, let the current time T k Until the next moment T k+1 The charging power P of the energy storage system sa_t(k+1) Equal to the current time T kUntil the next moment T k+1 The calculated charging power P of the energy storage system s_t(k+1) If not, let the current time T k Until the next moment T k+1 The charging power P of the energy storage system sa_t(k+1) is equal to 0;
[0018] A7, the current time T k Until the next moment T k+1 The charging power P of the energy storage system sa_t(k+1) Send it to the energy storage system so that the energy storage system is at the current time T k Until the next moment T k+1 According to the charging power P sa_t(k+1) Charging;
[0019] A8, determine the current time T k The next moment T k+1 Is it the last moment of 1 demand cycle time unit after T0? If not, wait for data refresh and execute A4; if yes, wait for data refresh and execute S2.
[0020] Using the above method, according to the calculation rule of the maximum demand, the power consumption limit P of the power consumption at the time point within the time unit of the demand cycle after T0 is calculated by considering the power consumption data of the time point within the time unit of the demand cycle (Z-1) before T0. max , can maximize the charging efficiency as much as possible;
[0021] And predict the current time T k Until the next moment T k+1 The predicted user production power P f_t(k+1) , further being able to maximize the charging efficiency as much as possible;
[0022] T k The value of k in T n The corresponding value of n in .
[0023] Further, in A3, the power consumption limit P of the power consumption at the gateway within the time unit of the demand cycle after T0 is calculated based on the time-series power consumption data at the gateway within the time unit of the demand cycle (Z-1) before T0 and the maximum demand limit M of the current settlement period. max include:
[0024] A3-1, calculate the difference P between the average value of the power consumption at the threshold in the (Z-1) demand cycle time unit before T0 (including T0) and the maximum demand upper limit M m_t0 :
[0025]
[0026] Where n is the number of gateway power data collected in the (Z-1) demand cycle time unit before T0, P ti For the T i The power consumption data of the gateway collected at the moment, P ti From P tn Take the value from.
[0027] A3-2, based on the difference P between the average value of the power consumption at the gateway in the (Z-1) demand cycle time unit before T0 and the maximum demand upper limit M m_t0 The maximum demand upper limit value M is used to obtain the upper limit of the power consumption P within one demand cycle time unit after T0. max ;
[0028] To ensure that the maximum demand does not exceed the maximum demand upper limit M, it is only necessary to limit the average power of the user gateway to not more than M+P in a demand cycle time unit after T0. m_t0 That is, the upper limit of the power consumption within one demand cycle time unit after T0 is P max for:
[0029] P max =M+P m_t0 .
[0030] Furthermore, in A4, due to the real-time nature of collecting the interaction frequency, the current time T k Until the next moment T k+1 The predicted user production power P f_t(k+1) Approximately regarded as the current time T k The actual user production power P a_tk , that is, P f_t(k+1) =P a_tk ;
[0031] Current time T k The actual user production power P a_tk According to the current time T k The power consumption data P tk With the current time T k The charging power P of the energy storage system sa_tk get:
[0032] P a_tk =P tk -P sa_tk ;
[0033] The charging power P of the energy storage system at time T0 is sa_t0 is regarded as 0; or it is determined whether the previous demand cycle has entered the charging logic. If so, the charging power P of the energy storage system at time T0 is sa_t0is equal to the charging power of the energy storage system last issued in the previous demand cycle. If not, the charging power of the energy storage system at time T0 is P sa_t0 is equal to 0.
[0034] T k and P tk The value of k in T n The corresponding value of n at the current moment.
[0035] Furthermore, in said S1, the user production power buffer values corresponding to different time periods are obtained;
[0036] In A5, according to the current time T k Until the next moment T k+1 The corresponding user production power buffer value is obtained in the corresponding time period;
[0037] When calculating the current time T k Until the next moment T k+1 The calculated charging power P of the energy storage system s_t(k+1) The corresponding user production power buffer value is introduced at the time, that is, the current time T is calculated k Until the next moment T k+1 The calculated charging power P of the energy storage system s_t(k+1) The calculation formula is changed to:
[0038] P s_t(k+1) =P max -P f_t(k+1) -X t(k+1) ;
[0039] Among them, X t(j+1) is the current time T k Until the next moment T k+1 The user production power buffer value corresponding to the corresponding time period.
[0040] By adopting the above method and introducing the user production power buffer value, the influence of the user production change on the maximum demand can be avoided.
[0041] Furthermore, in said S1, the user production power buffer values corresponding to different time periods are obtained;
[0042] The discharge logic includes:
[0043] B1, get the current time T j Gateway power consumption data P tj , and according to the current time T j Until the next moment T j+1 The corresponding user production power buffer value is obtained in the corresponding time period;
[0044] B2, according to the current time Tj Gateway power consumption data P tj , and the current time T j Until the next moment T j+1 The corresponding user production power buffer value is obtained in the corresponding time period to calculate the current time T j Until the next moment T j+1 Calculation of discharge power P d_t(j+1) :
[0045] P d_t(j+1) =P tj +X t(j+1) ;
[0046] Among them, X t(j+1) is the current time T j Until the next moment T j+1 The user production power buffer value corresponding to the corresponding time period;
[0047] B3, determine the current time T j Until the next moment T j+1 Calculation of discharge power P d_t(j+1) Is it greater than 0? If so, let the current time T j Until the next moment T j+1 The discharge power P of the energy storage system da_t(j+1) Equal to the current time T j Until the next moment T j+1 The calculated discharge power P of the energy storage system d_t(j+1) If not, let the current time T j Until the next moment T j+1 The discharge power P of the energy storage system da_t(j+1) is equal to 0;
[0048] B4, the current time T j Until the next moment T j+1 The discharge power P of the energy storage system da_t(j+1) Send it to the energy storage system so that the energy storage system is at the current time T j Until the next moment T j+1 According to the discharge power P da_t(j+1) Discharge is performed and wait for data to be refreshed to execute S2.
[0049] By adopting the above method, the discharge power of the energy storage system can be adjusted dynamically in real time, so as to maximize the peak-valley arbitrage benefits of energy storage;
[0050] Introducing a user production power buffer value can avoid the impact of user production changes on maximum demand.
[0051] Furthermore, the user production power buffer values corresponding to different time periods can be manually set and / or automatically calculated and generated through the user's historical real-time gateway power consumption data.
[0052] By adopting the above method, the user can manually input the user production power buffer value for the corresponding time period, or the system can automatically generate it based on historical data to meet the different needs of users.
[0053] Further, the manual input of user production power buffer values corresponding to different time periods includes: inputting a corresponding user production power buffer value in each Y buffer time unit; that is, inputting a corresponding user production power buffer value in each Y buffer time unit of a working day and inputting a corresponding user production power buffer value in each Y buffer time unit of a non-working day;
[0054] The automatic calculation and generation of user production power buffer values corresponding to different time periods include:
[0055] D1, obtain the historical real-time power consumption data of users at the gateway for a period of time;
[0056] D2, sort the user's historical real-time gateway power consumption data obtained in D1 in time sequence, and subtract the gateway power consumption data corresponding to the previous moment from the gateway power consumption data corresponding to each moment to obtain pre-processed data, and then group the pre-processed data according to the Y buffer time unit and average the pre-processed data in each Y buffer time unit, and obtain the average value of the real-time power change of each Y buffer time unit in one day, that is, from 23:59 of the previous day to 23:59 as the user's production power buffer value in this time period;
[0057] Alternatively, in D2, the historical real-time gateway power consumption data of the users obtained in B1 is first grouped according to working days and non-working days;
[0058] In each group, the user's historical real-time gateway power consumption data is sorted in chronological order, and the gateway power consumption data corresponding to each moment is subtracted from the gateway power consumption data corresponding to the previous moment to obtain the preprocessed data, and then the preprocessed data is grouped according to the Y buffer time unit and the preprocessed data in each Y buffer time unit is averaged to obtain the average value of the real-time power change in each Y buffer time unit from 23:59 to 23:59 of the previous day as the user's production power buffer value for that time period.
[0059] The above method is used to obtain the power buffer value of users in different time periods;
[0060] In the charging logic and discharging logic, determine the Y buffer time unit from the current moment to the next moment, and obtain the corresponding user production power buffer value and enter it into the formula.
[0061] Furthermore, the value of Y is 1; the value of the demand cycle for calculating the maximum demand is Z demand cycle time units; the buffer time unit is the same as the demand cycle time unit; specifically, the demand cycle time unit is minutes, that is, the buffer time unit is also minutes.
[0062] The above method makes the energy storage dynamic charging and discharging method more reasonable.
[0063] Furthermore, the value of Z is 15; the unit of the demand cycle time is minute.
[0064] Since the demand cycle for calculating the maximum demand in my country is currently 15 minutes, the above method makes the energy storage dynamic charging and discharging method more reasonable.
[0065] Furthermore, the maximum demand upper limit value M of the current settlement period is the maximum demand of the current settlement period at the current moment or is a fixed value.
[0066] By adopting the above structure, the selection method of the maximum demand upper limit value M of the current settlement period can be selected according to one's own needs, making this method more suitable for more usage scenarios; for example, if the user pays the electricity bill by charging according to the actual maximum demand, the maximum demand upper limit value M of the current settlement period can be made the maximum demand of the current settlement period at the current moment; if the user pays the electricity bill by charging according to the contractual maximum demand, the maximum demand upper limit value M of the current settlement period can be made the maximum demand signed in the contract or 105% of the maximum demand signed in the contract.
[0067] Furthermore, in S2, judging whether to enter the charging logic or the discharging logic according to the time-of-use electricity price period of the power grid, the transformer capacity, and the energy storage SOC includes:
[0068] S2-1, determine the time period at the current moment. If the current moment is in the off-peak period, execute S2-2; if the current moment is in the peak period, execute S2-3;
[0069] S2-2, determine whether the current user power load accounts for less than the transformer capacity than the charging load threshold C1 and determine whether the SOC of the energy storage system is less than the charging SOC threshold S1; if so, enter the charging logic; if not, send a standby command to the energy storage system to put it on standby, and execute S2-1;
[0070] S2-3, determine whether the SOC of the energy storage system at the current moment is greater than the discharge SOC threshold S2; if so, enter the discharge logic; if not, send a standby instruction to the energy storage system to make it standby, and execute S2-1;
[0071] Or in S2-3, it is determined whether the current user power load accounts for less than the transformer capacity than the discharge load threshold C2 and whether the SOC of the energy storage system is greater than the discharge SOC threshold S2; if so, the discharge logic is entered; if not, a standby instruction is issued to the energy storage system to put it on standby, and S2-1 is executed;
[0072] Specifically, the charging load threshold C1 is 90%; the charging SOC threshold S1 is 5%, the discharging load threshold C2 is 90%; and the discharging SOC threshold S2 is 5%.
[0073] By adopting the above method, the energy storage dynamic charging and discharging method is made more reasonable; it ensures that the transformer and the energy storage system can operate in a healthy state, effectively avoiding transformer overload and over-discharge of the energy storage system; and it ensures the service life of the equipment;
[0074] Sending a standby command to the energy storage system to put it into standby mode can be understood as: setting the charging power of the energy storage system to 0 and the discharging power to 0.
[0075] Furthermore, in S2-1, if the current time is in a normal period, a standby instruction is sent to the energy storage system to put it into standby mode, and S2-1 is executed.
[0076] The above method makes the energy storage dynamic charging and discharging method more reasonable.
[0077] Furthermore, the energy storage system includes a plurality of energy storage battery cabinets with the same capacity, and the average value of the SOC of the plurality of energy storage battery cabinets is used as the SOC of the energy storage system;
[0078] When executing the charging logic, the energy storage system charging power sent is sent to each of the energy storage battery cabinets on average so that each of the energy storage battery cabinets is charged according to the sent power;
[0079] When the discharge logic is executed, the energy storage system discharge power sent down is sent down to each of the energy storage battery cabinets on average so that each of the energy storage battery cabinets discharges according to the sent power.
[0080] The above method makes the energy storage dynamic charging and discharging method more reasonable.
[0081] Compared with the prior art, the present invention has the following beneficial effects:
[0082] (1) The energy storage dynamic charging and discharging method of the present invention can track the user's real-time production load without affecting the user's demand and capacity safety, and dynamically calculate the charging and discharging power of the energy storage system based on the generation principle of the maximum demand of the power grid, and adjust the charging and discharging power of the energy storage system in real time, so as to maximize the energy storage peak-valley arbitrage income as much as possible.
[0083] (2) The energy storage dynamic charging and discharging method of the present invention combines the characteristics of historical load changes and introduces the user's production power buffer value when dynamically calculating the charging and discharging power of the energy storage system, thereby further maximizing the energy storage peak-valley arbitrage benefits.
[0084] (3) The energy storage dynamic charging and discharging method of the present invention is reasonably designed. BRIEF DESCRIPTION OF THE DRAWINGS
[0085] In order to more clearly illustrate the technical solutions of the embodiments of the present application, the drawings required for use in the embodiments will be briefly introduced below. Obviously, the drawings described below are only some embodiments of the present application. For ordinary technicians in this field, other drawings can be obtained based on these drawings without paying creative work.
[0086] Figure 1 It is a schematic diagram of the overall process of dynamic charging and discharging of energy storage of the present invention;
[0087] Figure 2 It is a flow chart of the charging logic in the dynamic charging and discharging of energy storage of the present invention;
[0088] Figure 3 It is a flow chart of the discharge logic in the dynamic charge and discharge of energy storage of the present invention;
[0089] Figure 4 A schematic diagram of a process for automatically calculating and generating a user's production power buffer value in the dynamic charging and discharging of energy storage in the present invention; DETAILED DESCRIPTION
[0090] The present application is described in detail below with reference to the accompanying drawings and specific embodiments.
[0091] The following describes the implementation methods of the present application through specific examples, and those skilled in the art can easily understand other advantages and effects of the present application from the contents disclosed in this specification. Obviously, the described embodiments are only a part of the embodiments of the present application, rather than all the embodiments. The present application can also be implemented or applied through other different specific implementation methods, and the details in this specification can also be modified or changed in various ways based on different viewpoints and applications without departing from the spirit of the present application. It should be noted that, in the absence of conflict, the following embodiments and the features in the embodiments can be combined with each other. Based on the embodiments in the present application, all other embodiments obtained by ordinary technicians in the field without making creative work belong to the scope of protection of the present application.
[0092] It should be noted that various aspects of the embodiments within the scope of the appended claims are described below. It should be apparent that the aspects described herein can be embodied in a wide variety of forms, and any specific structure and / or function described herein is merely illustrative. Based on the present application, it should be understood by those skilled in the art that an aspect described herein can be implemented independently of any other aspect, and two or more of these aspects can be combined in various ways. For example, any number and aspect described herein can be used to implement the device and / or practice the method. In addition, other structures and / or functionalities other than one or more of the aspects described herein can be used to implement this device and / or practice this method.
[0093] It should also be noted that the illustrations provided in the following embodiments are only used to schematically illustrate the basic concept of the present application.
[0094] Additionally, in the following description, specific details are provided to facilitate a thorough understanding of the examples. However, it will be understood by those skilled in the art that the examples can be practiced without these specific details.
[0095] The technical solutions provided by various embodiments of the present application are described below in conjunction with the accompanying drawings.
[0096] See also Figures 1 to 4 , a method for dynamic energy storage charging and discharging, characterized by comprising:
[0097] S1, real-time collection of power consumption data at the user's grid and the maximum demand limit M for the current settlement period;
[0098] S2, judging whether the energy storage system meets the charging and discharging conditions. If the charging conditions are met, the charging logic is executed; if the discharging conditions are met, the discharging logic is executed;
[0099] The charging logic includes: dynamically calculating the charging power of the energy storage system based on the gateway power consumption data on the user's grid side, the maximum demand upper limit M of the current settlement period, and the generation principle of the maximum demand, provided that the maximum demand in the current settlement period does not exceed the maximum demand upper limit M of the current settlement period; and sending the charging power to the energy storage system based on the calculated charging power so that the energy storage system is charged according to the charging power.
[0100] By adopting the above method, the charging power of the energy storage system is adjusted dynamically in real time according to the power consumption data at the user's grid side and the maximum demand limit M of the current settlement period, so as to maximize the peak-valley arbitrage benefits of energy storage.
[0101] In some embodiments, the charging logic includes:
[0102] A1, according to the generation principle of the maximum demand, obtain the value Z of the demand cycle for calculating the maximum demand, the demand cycle time unit;
[0103] A2, sort the real-time collected gateway power consumption data by time series to form time series gateway power consumption data; the time of each collection is recorded as T n , the corresponding power consumption data of the gateway is recorded as P tn , n is an integer, and the start time of entering the charging logic is recorded as T0;
[0104] A3, according to the time slider calculation rule of the maximum demand of the power grid, select the time-series gateway power consumption data within the (Z-1) demand cycle time unit before T0, including the time-series gateway power consumption data at T0, and calculate the gateway power consumption upper limit P within 1 demand cycle time unit after T0 based on the time-series gateway power consumption data within the (Z-1) demand cycle time unit before T0 and the maximum demand upper limit M of the current settlement period. max ;
[0105] A4, predict the current time T within 1 demand cycle time unit after T0 k Until the next moment T k+1 The predicted user production power P f_t(k+1) ;
[0106] A5, based on the threshold power consumption upper limit P within one demand cycle time unit after T0 max and the current time T k Until the next moment T k+1 The predicted user production power P f_t(k+1) Calculate the current time T within one demand cycle time unit after T0 k Until the next moment T k+1 The calculated charging power P of the energy storage system s_t(k+1) :
[0107] P s_t(k+1) =P max -P f_t(k+1)
[0108] A6, determine the current time T k Until the next moment T k+1 The calculated charging power P of the energy storage system s_t(k+1) Is it greater than 0? If so, let the current time T k Until the next moment T k+1 The charging power P of the energy storage system sa_t(k+1) Equal to the current time T k Until the next moment T k+1 The calculated charging power P of the energy storage system s_t(k+1) If not, let the current time T k Until the next moment T k+1 The charging power P of the energy storage system sa_t(k+1) is equal to 0;
[0109] A7, the current time T k Until the next moment T k+1 The charging power P of the energy storage system sa_t(k+1) Send it to the energy storage system so that the energy storage system is at the current time T k Until the next moment T k+1 According to the charging power P sa_t(k+1) Charging;
[0110] A8, determine the current time T k The next moment T k+1 Is it the last moment of 1 demand cycle time unit after T0? If not, wait for data refresh and execute A4; if yes, wait for data refresh and execute S2.
[0111] Using the above method, according to the calculation rule of the maximum demand, the power consumption limit P of the power consumption at the time point within the time unit of the demand cycle after T0 is calculated by considering the power consumption data of the time point within the time unit of the demand cycle (Z-1) before T0. max , can maximize the charging efficiency as much as possible;
[0112] And predict the current time T k Until the next moment T k+1 The predicted user production power P f_t(k+1) , further being able to maximize the charging efficiency as much as possible;
[0113] T k The value of k in T n The corresponding value of n in .
[0114] In some embodiments, in A3, the power consumption limit P of the gateway within 1 demand cycle time unit after T0 is calculated based on the time-series gateway power consumption data within the (Z-1) demand cycle time unit before T0 and the maximum demand limit value M of the current settlement period. max include:
[0115] A3-1, calculate the difference P between the average value of the power consumption at the threshold in the (Z-1) demand cycle time unit before T0 (including T0) and the maximum demand upper limit M m_t0 :
[0116]
[0117] Where n is the number of gateway power data collected in the (Z-1) demand cycle time unit before T0, P ti For the T i The power consumption data of the gateway collected at the moment, P ti From P tn Take the value from.
[0118] A3-2, based on the difference P between the average value of the power consumption at the gateway in the (Z-1) demand cycle time unit before T0 and the maximum demand upper limit M m_t0 The maximum demand upper limit value M is used to obtain the upper limit of the power consumption P within one demand cycle time unit after T0. max ;
[0119] To ensure that the maximum demand does not exceed the maximum demand upper limit M, it is only necessary to limit the average power of the user gateway to not more than M+P in a demand cycle time unit after T0. m_t0 That is, the upper limit of the power consumption within one demand cycle time unit after T0 is P max for:
[0120] P max =M+P m_t0 .
[0121] In some embodiments, in A4, due to the real-time nature of collecting the interaction frequency, the current time T k Until the next moment T k+1 The predicted user production power P f_t(k+1) Approximately regarded as the current time T k The actual user production power P a_tk , that is, P f_t(k+1) =P a_tk ;
[0122] Current time T k The actual user production power P a_tk According to the current time T kThe power consumption data P tk With the current time T k The charging power P of the energy storage system sa_tk get:
[0123] P a_tk =P tk -P sa_tk ;
[0124] The charging power P of the energy storage system at time T0 is sa_t0 is regarded as 0; or it is determined whether the previous demand cycle has entered the charging logic. If so, the charging power P of the energy storage system at time T0 is sa_t0 is equal to the charging power of the energy storage system last issued in the previous demand cycle. If not, the charging power of the energy storage system at time T0 is P sa_t0 is equal to 0.
[0125] T k and P tk The value of k in T n The corresponding value of n at the current moment.
[0126] In some embodiments, in said S1, user production power buffer values corresponding to different time periods are obtained;
[0127] In A5, according to the current time T k Until the next moment T k+1 The corresponding user production power buffer value is obtained in the corresponding time period;
[0128] When calculating the current time T k Until the next moment T k+1 The calculated charging power P of the energy storage system s_t(k+1) The corresponding user production power buffer value is introduced at the time, that is, the current time T is calculated k Until the next moment T k+1 The calculated charging power P of the energy storage system s_t(k+1) The calculation formula is changed to:
[0129] P s_t(k+1) =P max -P f_t(k+1) -X t(k+1) ;
[0130] Among them, X t(j+1) is the current time T k Until the next moment T k+1 The user production power buffer value corresponding to the corresponding time period.
[0131] By adopting the above method and introducing the user production power buffer value, the influence of the user production change on the maximum demand can be avoided.
[0132] In some embodiments, in said S1, user production power buffer values corresponding to different time periods are obtained;
[0133] The discharge logic includes:
[0134] B1, get the current time T j Gateway power consumption data P tj , and according to the current time T j Until the next moment T j+1 The corresponding user production power buffer value is obtained in the corresponding time period;
[0135] B2, according to the current time T j Gateway power consumption data P tj , and the current time T j Until the next moment T j+1 The corresponding user production power buffer value is obtained in the corresponding time period to calculate the current time T j Until the next moment T j+1 Calculation of discharge power P d_t(j+1) :
[0136] P d_t(j+1) =P tj +X t(j+1) ;
[0137] Among them, X t(j+1) is the current time T j Until the next moment T j+1 The user production power buffer value corresponding to the corresponding time period;
[0138] B3, determine the current time T j Until the next moment T j+1 Calculation of discharge power P d_t(j+1) Is it greater than 0? If so, let the current time T j Until the next moment T j+1 The discharge power P of the energy storage system da_t(j+1) Equal to the current time T j Until the next moment T j+1 The calculated discharge power P of the energy storage system d_t(j+1) If not, let the current time T j Until the next moment T j+1 The discharge power P of the energy storage system da_t(j+1) is equal to 0;
[0139] B4, the current time T j Until the next moment T j+1 The discharge power P of the energy storage system da_t(j+1) Send it to the energy storage system so that the energy storage system is at the current time T jUntil the next moment T j+1 According to the discharge power P da_t(j+1) Discharge is performed and wait for data to be refreshed to execute S2.
[0140] By adopting the above method, the discharge power of the energy storage system can be adjusted dynamically in real time, so as to maximize the peak-valley arbitrage benefits of energy storage;
[0141] Introducing a user production power buffer value can avoid the impact of user production changes on maximum demand.
[0142] In some embodiments, the user production power buffer values corresponding to different time periods can be manually set and / or automatically calculated and generated through the user's historical real-time gateway power consumption data.
[0143] By adopting the above method, the user can manually input the user production power buffer value for the corresponding time period, or the system can automatically generate it based on historical data to meet the different needs of users.
[0144] In some embodiments, the manual input of user production power buffer values corresponding to different time periods includes: inputting a corresponding user production power buffer value in each Y buffer time unit; that is, inputting a corresponding user production power buffer value in each Y buffer time unit of a working day and inputting a corresponding user production power buffer value in each Y buffer time unit of a non-working day;
[0145] The automatic calculation and generation of user production power buffer values corresponding to different time periods include:
[0146] D1, obtain the historical real-time power consumption data of users at the gateway for a period of time;
[0147] D2, sort the user's historical real-time gateway power consumption data obtained in D1 in time sequence, and subtract the gateway power consumption data corresponding to the previous moment from the gateway power consumption data corresponding to each moment to obtain pre-processed data, and then group the pre-processed data according to the Y buffer time unit and average the pre-processed data in each Y buffer time unit, and obtain the average value of the real-time power change of each Y buffer time unit in one day, that is, from 23:59 of the previous day to 23:59 as the user production power buffer value of the time period;
[0148] Alternatively, in D2, the historical real-time gateway power consumption data of the users obtained in B1 is first grouped according to working days and non-working days;
[0149] In each group, the user's historical real-time gateway power consumption data is sorted in chronological order, and the gateway power consumption data corresponding to each moment is subtracted from the gateway power consumption data corresponding to the previous moment to obtain the preprocessed data, and then the preprocessed data is grouped according to the Y buffer time unit and the preprocessed data in each Y buffer time unit is averaged to obtain the average value of the real-time power change in each Y buffer time unit from 23:59 to 23:59 of the previous day as the user's production power buffer value for that time period.
[0150] The above method is used to obtain the power buffer value of users in different time periods;
[0151] In the charging logic and discharging logic, determine the Y buffer time unit from the current moment to the next moment, and obtain the corresponding user production power buffer value and enter it into the formula.
[0152] In some embodiments, the value of Y is 1; the value of the demand cycle for calculating the maximum demand is Z demand cycle time units; the buffer time unit is the same as the demand cycle time unit; specifically, the demand cycle time unit is minutes, that is, the buffer time unit is also minutes.
[0153] The above method makes the energy storage dynamic charging and discharging method more reasonable.
[0154] In some embodiments, the value of Z is 15; the unit of the demand cycle time is minutes.
[0155] Since the demand cycle for calculating the maximum demand in my country is currently 15 minutes, the above method makes the energy storage dynamic charging and discharging method more reasonable.
[0156] In some embodiments, the maximum demand upper limit value M of the current settlement period is the maximum demand of the current settlement period at the current moment or is a fixed value.
[0157] By adopting the above structure, the selection method of the maximum demand upper limit value M of the current settlement period can be selected according to one's own needs, making this method more suitable for more usage scenarios; for example, if the user pays the electricity bill by charging according to the actual maximum demand, the maximum demand upper limit value M of the current settlement period can be made the maximum demand of the current settlement period at the current moment; if the user pays the electricity bill by charging according to the contractual maximum demand, the maximum demand upper limit value M of the current settlement period can be made the maximum demand signed in the contract or 105% of the maximum demand signed in the contract.
[0158] In some embodiments, in S2, judging whether to enter the charging logic or the discharging logic according to the time-of-use electricity price period of the power grid, the transformer capacity, and the energy storage SOC includes:
[0159] S2-1, determine the time period at the current moment. If the current moment is in the off-peak period, execute S2-2; if the current moment is in the peak period, execute S2-3;
[0160] S2-2, determine whether the current user power load accounts for less than the transformer capacity than the charging load threshold C1 and determine whether the SOC of the energy storage system is less than the charging SOC threshold S1; if so, enter the charging logic; if not, send a standby command to the energy storage system to put it on standby, and execute S2-1;
[0161] S2-3, determine whether the SOC of the energy storage system at the current moment is greater than the discharge SOC threshold S2; if so, enter the discharge logic; if not, send a standby instruction to the energy storage system to make it standby, and execute S2-1;
[0162] Or in S2-3, it is determined whether the current user power load accounts for less than the transformer capacity than the discharge load threshold C2 and whether the SOC of the energy storage system is greater than the discharge SOC threshold S2; if so, the discharge logic is entered; if not, a standby instruction is issued to the energy storage system to put it on standby, and S2-1 is executed;
[0163] Specifically, the charging load threshold C1 is 90%; the charging SOC threshold S1 is 5%, the discharging load threshold C2 is 90%; and the discharging SOC threshold S2 is 5%.
[0164] By adopting the above method, the energy storage dynamic charging and discharging method is made more reasonable; the transformer and the energy storage system are ensured to operate in a healthy state, and transformer overload and over-discharge of the energy storage system are effectively avoided; the service life of the equipment is ensured;
[0165] Sending a standby command to the energy storage system to put it into standby mode can be understood as: setting the charging power of the energy storage system to 0 and the discharging power to 0.
[0166] In some embodiments, in S2-1, if the current time is in a normal period, a standby instruction is sent to the energy storage system to put it on standby, and S2-1 is executed.
[0167] The above method makes the energy storage dynamic charging and discharging method more reasonable.
[0168] In some embodiments, the energy storage system includes a plurality of energy storage battery cabinets with the same capacity, and the average value of the SOC of the plurality of energy storage battery cabinets is used as the SOC of the energy storage system;
[0169] When executing the charging logic, the energy storage system charging power sent is sent to each of the energy storage battery cabinets on average so that each of the energy storage battery cabinets is charged according to the sent power;
[0170] When the discharge logic is executed, the energy storage system discharge power sent down is sent down to each of the energy storage battery cabinets on average so that each of the energy storage battery cabinets discharges according to the sent power.
[0171] The above method makes the energy storage dynamic charging and discharging method more reasonable.
[0172] The same and similar parts between the various embodiments in this specification can be referenced to each other, and each embodiment focuses on the differences from other embodiments.
[0173] The above is only a specific implementation of the present application, but the protection scope of the present application is not limited thereto. Any changes or substitutions that can be easily thought of by a person skilled in the art within the technical scope disclosed in the present application should be included in the protection scope of the present application. Therefore, the protection scope of the present application shall be based on the protection scope of the claims.
Claims
1. A method for dynamic energy storage charging and discharging, characterized in that: include: S1, real-time collection of power consumption data at the user's grid and the maximum demand limit M for the current settlement period; S2, judging whether the energy storage system meets the charging and discharging conditions. If the charging conditions are met, the charging logic is executed; If the discharge conditions are met, the discharge logic is executed; The charging logic includes: dynamically calculating the calculated charging power of the energy storage system according to the power consumption data of the user's power grid, the maximum demand upper limit M of the current settlement period, and the generation principle of the maximum demand, when the maximum demand in the current settlement period does not exceed the maximum demand upper limit M of the current settlement period; and sending the charging power to the energy storage system according to the calculated charging power so that the energy storage system is charged according to the charging power; The charging logic includes: A1, according to the generation principle of the maximum demand, obtain the value Z of the demand cycle for calculating the maximum demand, the demand cycle time unit; A2, sort the real-time collected gateway power consumption data by time series to form time series gateway power consumption data; the time of each collection is recorded as T n , the corresponding power consumption data of the gateway is recorded as P tn , n is an integer, and the start time of entering the charging logic is recorded as T0; A3, according to the time slider calculation rule of the maximum demand of the power grid, select the time-series gateway power consumption data within the (Z-1) demand cycle time unit before T0, and calculate the gateway power consumption upper limit P within 1 demand cycle time unit after T0 based on the time-series gateway power consumption data within the (Z-1) demand cycle time unit before T0 and the maximum demand upper limit M of the current settlement period. max ; A4, predict the current time T within 1 demand cycle time unit after T0 k Until the next moment T k+1 The predicted user production power P f_t(k+1) ; A5, based on the threshold power consumption upper limit P within one demand cycle time unit after T0 max and the current time T k Until the next moment T k+1 The predicted user production power P f_t(k+1) Calculate the current time T within one demand cycle time unit after T0 k Until the next moment T k+1 The calculated charging power P of the energy storage system s_t(k+1) : P s_t(k+1) =P max -P f_t(k+1) A6, determine the current time T k Until the next moment T k+1 The calculated charging power P of the energy storage system s_t(k+1) Is it greater than 0? If so, let the current time T k Until the next moment T k+1 The charging power P of the energy storage system sa_t(k+1) Equal to the current time T k Until the next moment T k+1 The calculated charging power P of the energy storage system s_t(k+1) ; If not, let the current time T k Until the next moment T k+1 The charging power P of the energy storage system sa_t(k+1) is equal to 0; A7, the current time T k Until the next moment T k+1 The charging power P of the energy storage system sa_t(k+1) Send it to the energy storage system so that the energy storage system is at the current time T k Until the next moment T k+1 According to the charging power P sa_t(k+1) Charging; A8, determine the current time T k The next moment T k+1 Is it the last moment of 1 demand cycle time unit after T0? If not, wait for data refresh and execute A4; if yes, wait for data refresh and execute S2; In S1, the user production power buffer values corresponding to different time periods are obtained; The discharge logic includes: B1, get the current time T j Gateway power consumption data P tj , and according to the current time T j Until the next moment T j+1 The corresponding user production power buffer value is obtained in the corresponding time period; B2, according to the current time T j Gateway power consumption data P tj , and the current time T j Until the next moment T j+1 The corresponding user production power buffer value is obtained in the corresponding time period, and the current time T is calculated j Until the next moment T j+1 Calculation of discharge power P d_t(j+1) : P d_t(j+1) =P tj +X t(j+1) ; Among them, X t(j+1) is the current time T j Until the next moment T j+1 The user production power buffer value corresponding to the corresponding time period; B3, determine the current time T j Until the next moment T j+1 Calculation of discharge power P d_t(j+1) Is it greater than 0? If so, let the current time T j Until the next moment T j+1 The discharge power P of the energy storage system da_t(j+1) Equal to the current time T j Until the next moment T j+1 The calculated discharge power P of the energy storage system d_t(j+1) ; If not, let the current time T j Until the next moment T j+1 The discharge power P of the energy storage system da_t(j+1 ) is equal to 0; B4, the current time T j Until the next moment T j+1 The discharge power P of the energy storage system da_t(j+1) Send it to the energy storage system so that the energy storage system is at the current time T j Until the next moment T j+1 According to the discharge power P da_t(j+1) Discharge is performed and wait for data to be refreshed to execute S2.
2. The energy storage dynamic charging and discharging method according to claim 1, characterized in that: In A3, the power consumption limit P of the power consumption at the gateway within the time unit of the demand cycle after T0 is calculated based on the time-series power consumption data at the gateway within the time unit of the demand cycle (Z-1) before T0 and the maximum demand limit M of the current settlement period. max include: A3-1, calculate the difference P between the average value of the power consumption at the gateway in the (Z-1) demand cycle time unit before T0 and the maximum demand upper limit M m_t0 : Where n is the number of gateway power data collected in the (Z-1) demand cycle time unit before T0, P ti For the T i The power consumption data of the gateway collected at all times; A3-2, based on the difference P between the average value of the power consumption at the gateway in the (Z-1) demand cycle time unit before T0 and the maximum demand upper limit M m_t0 The maximum demand upper limit value M is used to obtain the upper limit of the power consumption P within one demand cycle time unit after T0. max : P max =M+P m_t0 ; In A4, the current time T k Until the next moment T k+1 The predicted user production power P f_t(k+1) Approximately regarded as the current time T k The actual user's production power P a_tk , that is, P f_t(k+1) =P a_tk ; Current time T k The actual user's production power P a_tk According to the current time T k The power consumption data P tk With the current time T k The charging power P of the energy storage system sa_tk get: P a_tk =P tk -P sa_tk ; The charging power P of the energy storage system at time T0 is sa_t0 is regarded as 0; or it is determined whether the previous demand cycle has entered the charging logic. If so, the charging power P of the energy storage system at time T0 is sa_t0 Equal to the charging power of the energy storage system last issued in the previous demand cycle, If not, the charging power P of the energy storage system at time T0 is sa_t0 is equal to 0.
3. The energy storage dynamic charging and discharging method according to claim 1, characterized in that: In S1, the user production power buffer values corresponding to different time periods are obtained; In A5, according to the current time T k Until the next moment T k+1 The corresponding user production power buffer value is obtained in the corresponding time period; When calculating the current time T k Until the next moment T k+1 The calculated charging power P of the energy storage system s_t(k+1) The corresponding user production power buffer value is introduced: P s_t(k+1) =P max -P f_t(k+1) -X t(k+1) ; Where X t(k+1) is the current time T k Until the next moment T k+1 The user production power buffer value corresponding to the corresponding time period.
4. The energy storage dynamic charging and discharging method according to claim 1 or 3, characterized in that: The user production power buffer values corresponding to different time periods can be manually set and / or automatically calculated and generated through the user's historical real-time power consumption data; Manual input of user production power buffer values corresponding to different time periods includes: inputting a corresponding user production power buffer value in each Y buffer time unit; The automatic calculation and generation of user production power buffer values corresponding to different time periods include: D1, obtain the historical real-time power consumption data of users at the gateway for a period of time; D2, sort the user's historical real-time gateway power consumption data obtained in D1 in time series, and subtract the gateway power consumption data corresponding to the previous moment from the gateway power consumption data corresponding to each moment to obtain pre-processed data, and then group the pre-processed data according to the Y buffer time unit and average the pre-processed data in each Y buffer time unit, and obtain the average value of the real-time power change in each Y buffer time unit of the day as the user's production power buffer value in this time period; Alternatively, in D2, the historical real-time gateway power consumption data of the users obtained in D1 is first grouped according to working days and non-working days; In each group, the user's historical real-time gateway power consumption data is sorted in chronological order, and the gateway power consumption data corresponding to each moment is subtracted from the gateway power consumption data corresponding to the previous moment to obtain the preprocessed data. The preprocessed data is then grouped by Y buffer time units and the preprocessed data in each Y buffer time unit are averaged to obtain the average value of the real-time power change in each Y buffer time unit of the day as the user's production power buffer value for that time period.
5. The energy storage dynamic charging and discharging method according to claim 4, characterized in that: The value of Y is 1; The value of the demand cycle for calculating the maximum demand is Z demand cycle time unit; the buffer time unit is the same as the demand cycle time unit; the demand cycle time unit is minutes.
6. The energy storage dynamic charging and discharging method according to any one of claims 1 to 3, characterized in that: The value of Z is 15; the unit of demand cycle time is minutes; The maximum demand upper limit M for the current settlement period is the maximum demand for the current settlement period at the current moment or a fixed value.
7. The energy storage dynamic charging and discharging method according to claim 1, characterized in that: In S2, judging whether to enter the charging logic or the discharging logic according to the time-of-use electricity price period of the power grid, the transformer capacity, and the energy storage SOC includes: S2-1, determine the time period at the current moment. If the current moment is in the off-peak period, execute S2-2; if the current moment is in the peak period, execute S2-3; S2-2, determine whether the current user power load accounts for less than the transformer capacity than the charging load threshold C1 and determine whether the SOC of the energy storage system is less than the charging SOC threshold S1; if so, enter the charging logic; if not, send a standby command to the energy storage system to put it on standby, and execute S2-1; S2-3, determine whether the SOC of the energy storage system at the current moment is greater than the discharge SOC threshold S2; if so, enter the discharge logic; if not, send a standby instruction to the energy storage system to make it standby, and execute S2-1; Or in S2-3, it is determined whether the current user power load accounts for less than the transformer capacity than the discharge load threshold C2 and whether the SOC of the energy storage system is greater than the discharge SOC threshold S2; if so, the discharge logic is entered; if not, a standby instruction is issued to the energy storage system to put it on standby, and S2-1 is executed; The charging load threshold C1 is 90%; the charging SOC threshold S1 is 5%; the discharging load threshold C2 is 90%; the discharging SOC threshold S2 is 5%; In S2-1, if the current time is in a normal period, a standby instruction is sent to the energy storage system to put it into standby mode, and S2-1 is executed.
8. The energy storage dynamic charging and discharging method according to claim 1, characterized in that: The energy storage system includes a plurality of energy storage battery cabinets with the same capacity, and the average value of the SOC of the plurality of energy storage battery cabinets is used as the SOC of the energy storage system; When executing the charging logic, the energy storage system charging power sent is sent to each of the energy storage battery cabinets on average so that each of the energy storage battery cabinets is charged according to the sent power; When the discharge logic is executed, the energy storage system discharge power sent down is sent down to each of the energy storage battery cabinets on average so that each of the energy storage battery cabinets discharges according to the sent power.
Citation Information
Patent Citations
User side energy storage scheduling optimization method, device and system considering demand
CN115186962A
Energy storage regulation and control method and system
CN116581794A