Charging and discharging control method based on battery energy storage system
By obtaining load data in the battery energy storage system and using the CS algorithm to optimize the charge and discharge strategy, the problem of unstable load curves in the peak and valley arbitrage of the battery energy storage system is solved, and maximum peak and valley arbitrage and load curve stability are achieved. Reduces industrial energy costs.
Patent Information
- Application Number
- CN202410419698.4
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2024-04-09
- Publication Date
- 2024-08-27
AI Technical Summary
Existing battery energy storage systems are difficult to maintain a stable load curve during peak and valley arbitrage, resulting in increased demand costs and higher electricity consumption risks.
By obtaining the real-time load demand and production data of target users, predict the future hourly load power, and use the CS algorithm to optimize the charging and discharging strategy, combined with electricity price information, determine the target output power of the battery energy storage system, and dynamically adjust demand and power. , in order to maximize peak and valley arbitrage.
Under the condition of ensuring maximum demand, it can reduce industrial energy costs, increase peak and valley arbitrage profits, and increase profits by at least 10% compared to fixed charging and discharging strategies.
Smart Images

Figure CN118554497A
Abstract
Description
Technical Field
[0001] The present invention relates to a battery energy storage scheduling method, and in particular to a charge and discharge control method based on a battery energy storage system. Background Art
[0002] As an important energy storage method, battery energy storage technology plays an important role not only at the power grid level, but also in energy management in the industrial field. The benefits of battery energy storage are mainly peak-valley arbitrage benefits under time-of-use electricity prices. Although the fixed charging and discharging mode can maximize the peak-valley arbitrage benefits, it will increase the load curve, resulting in increased demand costs, and also cause greater fluctuations in the load curve and increased electricity use risks.
[0003] It can be seen that how to provide a charging and discharging control method based on a battery energy storage system while ensuring a certain maximum demand condition, so that it can maintain the load curve before the energy storage system is installed as much as possible and at the same time maximize peak-valley arbitrage, is a major technical problem that needs to be solved urgently in this field. Summary of the invention
[0004] The technical problem to be solved by the present invention is to provide a charge and discharge control method based on a battery energy storage system, which can control the demand while achieving maximum peak-valley arbitrage.
[0005] The technical solution adopted by the present invention to solve the above technical problems is to provide a charging and discharging control method based on a battery energy storage system. First, the real-time load demand and output data of the target user are obtained to predict the load power every hour in the future of the day; secondly, the energy storage capacity, remaining power, preset demand and time-of-use electricity price data are obtained, and the CS algorithm is used to optimize the charging and discharging strategy with daily income as the optimization target; finally, the target output power of the battery energy storage control system is determined according to the real-time load power and real-time demand.
[0006] Furthermore, the following steps are specifically included: S1) obtaining the real-time power of the load and the production line and output data, and predicting the load power every hour in the future of the day; S2) obtaining the real-time demand and dynamically adjusting it. If the real-time demand is greater than the preset demand, the preset demand is adjusted to the real-time demand, otherwise it remains unchanged; S3) obtaining the real-time power and historical power of the load, using the weighted average method to calculate the required power, and based on this power, the predicted demand is obtained by the moving average method; S4) according to the set monitoring frequency, repeating steps S1-S3 to determine the real-time charging and discharging power of the battery energy storage system.
[0007] Furthermore, on the 1st of each month, a demand value with a 95% confidence interval is selected based on the historical demand values of the past N days as the preset initial demand value for that month.
[0008] Furthermore, the step S3 includes: S31) if the predicted demand is greater than the preset demand, the battery energy storage starts to discharge; S32) if the predicted demand is less than the preset demand, when the preset demand - the real-time power of the load > the threshold α, and the preset demand - the real-time demand > the threshold β, the energy storage capacity, the remaining power and the time-of-use electricity price data are obtained, and the CS optimization algorithm is used to calculate the future hourly strategy for the day; when the preset demand - the real-time power of the load < the threshold α, or the preset demand value - the real-time demand < the threshold β, the battery energy storage is discharged.
[0009] Furthermore, the CS optimization algorithm includes: S321) initializing a group of random bird nests, calculating the objective function value, and updating the optimal bird nest position; S322) obtaining the next generation of bird nest positions based on Levy flight; comparing the two generations of bird nest positions, and selecting the updated bird nest position with a better target value; S323) retaining or changing the bird nest position with a certain probability, updating the global optimal bird nest position and the optimal target value; repeating steps S322-S323 until the maximum number of iterations is reached or the optimal bird nest position and the optimal target value are found.
[0010] Compared with the prior art, the present invention has the following beneficial effects: the charge and discharge control method based on the battery energy storage system provided by the present invention takes daily income as the optimization target, predicts the daily load of the factory by using machine learning algorithms, and combines electricity price information, etc. to calculate the energy storage charge and discharge optimization strategy, which satisfies the demand side response under certain maximum demand conditions and realizes the maximum peak-valley arbitrage. This method can reduce industrial energy costs through scheduling optimization when applied to the field of industrial energy management. In the real-time optimization scheduling operation of the factory, this method can increase the income by at least 10% compared with the fixed charge and discharge strategy scheduling. BRIEF DESCRIPTION OF THE DRAWINGS
[0011] Figure 1 This is a charge and discharge control flow chart based on the battery energy storage system of the present invention;
[0012] Figure 2 The present invention is a CS optimized nest-finding flow chart based on the Levy flight strategy. DETAILED DESCRIPTION
[0013] The present invention will be further described below in conjunction with the accompanying drawings and embodiments.
[0014] Figure 1 This is a charge and discharge control flow chart based on the battery energy storage system of the present invention.
[0015] The charge and discharge control method based on the battery energy storage system provided by the present invention first obtains the real-time load demand and output data of the target user, and predicts the load power every hour in the future of the day; secondly, the energy storage capacity, remaining power, preset demand and time-of-use electricity price data are obtained, and the CS algorithm is used to optimize the charge and discharge strategy with daily income as the optimization target; finally, the target output power of the battery energy storage control system is determined according to the real-time load power and real-time demand.
[0016] The present invention provides a charge and discharge control method based on a battery energy storage system, which specifically includes the following steps:
[0017] S1) Obtain the real-time load power and production line and output data, and predict the load power every hour in the future of the day;
[0018] S2) obtaining the real-time demand and dynamically adjusting it. If the real-time demand is greater than the preset demand, the preset demand is adjusted to the real-time demand, otherwise it remains unchanged;
[0019] S3) Obtain the real-time power and historical power of the load, use the weighted average method to calculate the required power, and based on this power, use the moving average method to obtain the predicted demand;
[0020] S4) Repeat steps S1-S3 according to the set monitoring frequency to determine the real-time charging and discharging power of the battery energy storage system.
[0021] Preferably, on the 1st of each month, based on the historical demand values of the past N days, a demand value with a 95% confidence interval is selected as the preset initial demand value for that month. The step S3 comprises:
[0022] S31) If the predicted demand is greater than the preset demand, the battery energy storage starts to discharge;
[0023] S32) If the predicted demand is less than the preset demand, then when the preset demand - load real-time power > threshold α, and the preset demand - real-time demand > threshold β, the energy storage capacity, remaining power and time-of-use electricity price data are obtained, and the CS optimization algorithm is used to calculate the future hourly strategy for the day; when the preset demand - load real-time power < threshold α, or the preset demand value - real-time demand < threshold β, the battery energy storage is discharged.
[0024] The Cuckoo Search Algorithm is an optimization algorithm based on heuristic search, inspired by the breeding behavior of cuckoos. This algorithm was originally proposed by Xin-She Yang and Suash Deb in 2009. The Cuckoo Algorithm performs global search by simulating the nesting and selection behavior of cuckoos. It can be used to solve various optimization problems, but in specific applications, it needs to be appropriately adjusted according to the characteristics of the problem. Please continue to refer to Figure 2 , the CS optimization algorithm adopted by the present invention includes:
[0025] S321) Initialize a set of random bird nests, calculate the objective function value, and update the optimal bird nest position;
[0026] S322) According to Levy flight, the next generation bird's nest position is obtained; the two generations of bird's nest positions are compared, and the updated bird's nest position with a better target value is selected;
[0027] S323) retaining or changing the bird's nest position with a certain probability, and updating the global optimal bird's nest position and the optimal target value;
[0028] Repeat steps S322-S323 until the maximum number of iterations is reached or the optimal nest position and the optimal target value are found.
[0029] The present invention uses machine learning algorithms to predict the daily load of the factory, and combines electricity price information to calculate the energy storage charging and discharging optimization strategy, so as to meet the demand side response and maximize peak-valley arbitrage while ensuring a certain maximum demand. This method is applied to the field of industrial energy management, and can reduce industrial energy costs through scheduling optimization. In the real-time optimization scheduling operation of the factory, from July to November 2023, the real-time optimization scheduling operation is carried out through the method of the present invention. Compared with the fixed charging and discharging strategy scheduling, this method can increase the income by 19.57% on average.
[0030]
[0031] Although the present invention has been disclosed as above with preferred embodiments, it is not intended to limit the present invention. Any person skilled in the art may make some modifications and improvements without departing from the spirit and scope of the present invention. Therefore, the scope of protection of the present invention shall be based on the definition of the claims.
Claims
1. A charge and discharge control method based on a battery energy storage system, characterized in that: First, the real-time load demand and output data of the target user are obtained to predict the load power every hour in the future of the day; secondly, the energy storage capacity, remaining power, preset demand and time-of-use electricity price data are obtained, and the CS algorithm is used to optimize the charging and discharging strategy with daily revenue as the optimization target; finally, the target output power of the battery energy storage control system is determined based on the real-time load power and real-time demand.
2. The charge and discharge control method based on the battery energy storage system according to claim 1, characterized in that: The specific steps include: S1) Obtain the real-time load power and production line and output data, and predict the load power every hour in the future of the day; S2) obtaining the real-time demand and dynamically adjusting it. If the real-time demand is greater than the preset demand, the preset demand is adjusted to the real-time demand, otherwise it remains unchanged; S3) Obtain the real-time power and historical power of the load, use the weighted average method to calculate the required power, and based on this power, use the moving average method to obtain the predicted demand; S4) Repeat steps S1-S3 according to the set monitoring frequency to determine the real-time charging and discharging power of the battery energy storage system.
3. The charge and discharge control method based on the battery energy storage system according to claim 2, characterized in that: On the 1st of each month, based on the historical demand values of the past N days, a demand value with a 95% confidence interval is selected as the preset initial demand value for that month.
4. The charge and discharge control method based on the battery energy storage system according to claim 2, characterized in that: The step S3 comprises: S31) If the predicted demand is greater than the preset demand, the battery energy storage starts to discharge; S32) If the predicted demand is less than the preset demand, then when the preset demand - load real-time power > threshold α, and the preset demand - real-time demand > threshold β, the energy storage capacity, remaining power and time-of-use electricity price data are obtained, and the CS optimization algorithm is used to calculate the future hourly strategy for the day; when the preset demand - load real-time power < threshold α, or the preset demand value - real-time demand < threshold β, the battery energy storage is discharged.
5. The charge and discharge control method based on the battery energy storage system according to claim 1, characterized in that: The CS optimization algorithm includes: S321) Initialize a set of random bird nests, calculate the objective function value, and update the optimal bird nest position; S322) obtaining the next generation bird's nest position according to Levy flight; comparing the two generations of bird's nest positions, and selecting the updated bird's nest position with a better target value; S323) retain or change the bird's nest position with a certain probability, and update the global optimal bird's nest position and the optimal target value; repeat steps S322-S323 until the maximum number of iterations is reached or the optimal bird's nest position and the optimal target value are found.
Citation Information
Cited By
Charging and discharging scheduling method and device for energy storage power station
CN119029881A
Distributed photovoltaic power distribution network shared energy storage optimization method
CN120914866A
A distributed photovoltaic power distribution network shared energy storage optimization method
CN120914866B
