Control method for supply and demand balance of energy storage power station

By building a supply and demand balance model in the energy storage power station and predicting peak/peak power consumption, and optimizing the charging and discharging strategy, the problem of peak power price difference and battery capacity matching in the energy storage power station is solved, charging during reasonable power price periods is achieved, and the efficiency is improved Utilization rate of energy storage power stations and grid stability.

CN118539476APending Publication Date: 2024-08-23ZENERGY TECH CO LTD
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202410654845.6
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2024-05-24
Publication Date
2024-08-23

AI Technical Summary

Technical Problem

Existing energy storage power stations are difficult to operate economically and efficiently due to the amplification and duration of peak power price differences, the mismatch between battery capacity and peak power consumption, the reduced cost of energy storage systems, and the limitations of equipment and infrastructure, and flat periods are not considered. charging mode, resulting in insufficient power supply capacity of the energy storage system during peak periods.

Method used

A control method is adopted to build a supply and demand balance model by obtaining the power supply data and operating data of the energy storage power station, predict peak/peak power consumption, call the flat section charging strategy at the beginning of the flat section, and optimize the charge and discharge strategy to achieve a reasonable Charging is carried out during electricity price periods to improve power supply capacity during peak and peak periods. Specific steps include calculating the operating constraints of the energy storage power station, establishing an LSTM model to predict peak/peak power consumption data, calling the model at the beginning of the flat section to predict the next peak/peak power consumption data, and running the flat section charging strategy.

Benefits of technology

It improves the utilization rate of energy storage power stations and reduces operating costs, ensures charging during reasonable electricity price periods, enhances the peak and sharp power supply capabilities of energy storage power stations, avoids the risk of grid overload, and improves the stability and resilience of the grid. .

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN118539476A
    Figure CN118539476A
Patent Text Reader

Abstract

The invention relates to the technical field of energy storage control, in particular to a control method for supply and demand balance of an energy storage power station, which comprises the following steps: S1, acquiring power supply data and operation data of the energy storage power station; s2, calculating an operation constraint condition of the energy storage power station according to the power supply and demand data of the energy storage power station; s3, building an energy storage power station supply and demand balance model, and predicting tip / peak electricity consumption data; and S4, calling the energy storage power station supply and demand balance model at the start moment of the flat section to predict next tip / peak electricity consumption data, and operating a flat section charging strategy. According to the invention, the charging and discharging strategy can be optimized to support charging in a reasonable electricity price period, and the power supply capability of the peak section and the peak section is improved as much as possible, thereby improving the utilization rate of the energy storage power station.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present invention relates to the field of energy storage control technology, and in particular to a control method for balancing supply and demand of an energy storage power station. Background Art

[0002] With the widespread application of renewable energy and the rapid development of the power market, energy storage technology has gradually become one of the key technologies to ensure the stable operation of the power grid and improve energy efficiency. Energy storage power stations operate by shaving peaks and filling valleys, that is, storing energy during periods of low power demand and releasing energy during peak demand periods, thereby balancing the supply and demand of the power grid and reducing the pressure on the power generation side. At the same time, it can also bring users related benefits from the difference in electricity prices. However, with the lower cost of energy storage power stations and the adjustment of electricity prices, existing technologies have encountered new opportunities and challenges in achieving economical and efficient operations.

[0003] 1. The widening of the price difference between peak and flat electricity prices and the increase in duration have led to changes in the cost of energy storage power stations. Accordingly, more possibilities have emerged in their charging and discharging control strategies.

[0004] 2. The battery capacity does not match the peak power consumption: In order to reduce installation costs and avoid waste of resources, the battery design capacity of most energy storage power stations is usually smaller than the annual average of their peak power consumption. In actual projects, the battery capacity may even be smaller than the peak power consumption of 90% of the days throughout the year, so the system cannot provide sufficient power support during the peak period on most days of the year.

[0005] 3. Reduced energy storage system costs: As battery costs decrease year by year, the difference between peak and flat electricity prices in many parts of the country has exceeded the current break-even point of energy storage systems;

[0006] 4. Equipment and infrastructure limitations: Fluctuations in the operation of energy storage stations lead to unstable valley charging capabilities of energy storage systems. In particular, the second valley at noon may coincide with the peak load power of the day, resulting in the fact that the amount of electricity that can be charged into the energy storage system may not be enough to meet the subsequent peak and peak usage, provided that the transformer is not overloaded. Flat-segment charging technology can directly reduce the adverse effects of this situation and further improve the utilization rate of the energy storage system.

[0007] The prior art mainly considers the valley charging and peak or spike discharging, but does not consider the flat charging and peak or spike discharging mode. Summary of the invention

[0008] The present invention discloses a control method for balancing supply and demand of energy storage power stations, which overcomes the fact that the existing public technology does not consider the charging mode and specific control strategy during the parity period. In view of the limitations of the existing technology, the method should be able to optimize the charging and discharging strategy to support charging during reasonable electricity price periods and improve the power supply capacity during peak and tip periods as much as possible, thereby improving the utilization rate of energy storage power stations and reducing operating costs.

[0009] In order to achieve the purpose of the present invention, the technical solution adopted is: 1. A control method for supply and demand balance of energy storage power station, comprising the following steps:

[0010] S1. Obtaining power supply data and operation data of the energy storage power station;

[0011] S2. Calculate the operating constraints of the energy storage power station based on the power supply and demand data of the energy storage power station;

[0012] S3. Build a supply and demand balance model for energy storage power stations to predict peak / peak power consumption data;

[0013] S4. At the beginning of the flat period, the supply and demand balance model of the energy storage power station is called to predict the next peak power consumption data and run the flat period charging strategy.

[0014] As an optimization scheme of the present invention, the power supply data includes the start and end time of the peak / peak period of electricity consumption, the electricity consumption during the peak / peak period, the start time of the flat period of electricity consumption, and the electricity consumption during the flat period.

[0015] As an optimization scheme of the present invention, the operation data of the energy storage power station includes the construction cost of the energy storage power station, the single operation and maintenance cost of the energy storage power station, the rated capacity information of the transformer expected to be connected to the energy storage power station, the maximum operating power of the PCS of the energy storage power station, the energy storage capacity of the energy storage power station, the discharge rate of the energy storage power station, the cycle life, the capacity utilization and the historical electricity consumption data of the location of the energy storage power station.

[0016] As an optimization solution of the present invention, in step S2, the specific implementation steps are:

[0017] S2-1. Calculate the peak-to-average or peak-to-average price difference of energy storage power stations:

[0018] P PD =P P -P S

[0019] Where: P PD P is the peak-to-flat / peak-to-flat price difference; P is the peak electricity price; P S The normal electricity price;

[0020] S2-2. Calculate the energy storage break-even point C bep :

[0021] C bep =(C B +M*C O ) / N cycle / (E disachar *D n );

[0022] C bep -P PD -X>0;

[0023] Where: X is the expected return value, C bep is the break-even point, C B is the construction cost of the energy storage power station, C O is the single operation and maintenance cost of the energy storage power station, M is the number of operation and maintenance times, N cycle is the cycle life of the energy storage power station, E dischar is the energy storage capacity, D n is capacity utilization;

[0024] S2-3. Calculate the energy storage charging power value:

[0025] P D =P B -P F ;

[0026] PCS charging power = min(P D , P PCS );

[0027] Where: P D is the energy storage charging power, P B is the transformer capacity, P F The real-time power of the load;

[0028] S2-4. Calculate the maximum output value of energy storage:

[0029] W ES =P pcs ×(T Peaknend -T Peaknstart )

[0030] Where: W ES is the maximum output value of energy storage, P pcs is the maximum power of pcs, T Peaknstart is the peak start time, T Peaknend is the end time;

[0031] As an optimization solution of the present invention, in step S3, the energy storage power station supply and demand balance model specifically includes:

[0032] S3-1. Import historical electricity consumption data;

[0033] S3-2, establish LSTM model to predict peak power consumption data;

[0034] S3-2-1. Scaling the historical electricity consumption data for one year, using the MinMaxScaler scaler, scales the eigenvalues ​​proportionally to the [-1,1] interval:

[0035] X_normalized=(X-X_min) / (X_max-X_min)

[0036] Where: X is the original eigenvalue, X_min is the minimum value of the eigenvalue, X_max is the maximum value of the eigenvalue, and X_normalized is the scaled eigenvalue;

[0037] S3-2-2. Import the data processed in step S3-2-1, use the deep learning framework to train an LSTM model, specify the number of LSTM layers, the number of neurons in each layer, and the loss function, specify the optimizer as small batch gradient descent, divide the training data set into multiple small batches of samples, each small batch contains multiple samples, and calculate the average mean square error of each batch of samples;

[0038] S3-2-3, the predicted value output by the supply and demand balance model of the energy storage power station, which is a scaled value of [-1,1], and one predicted value per hour. The true value is obtained by reverse calculation using the MinMaxScaler scaler. The number of hours of this peak segment and the predicted peak electricity consumption data are calculated according to the start and end time of this peak segment and the predicted value per hour.

[0039] As an optimization solution of the present invention, in step S4, the specific implementation steps are:

[0040] S4-1. At the start of the selected flat period, the energy storage power station supply and demand balance model is called to predict the next peak power consumption data;

[0041] S4-2, running flat-stage charging strategy;

[0042] When the maximum output value of energy storage is greater than or equal to the predicted peak power consumption:

[0043] If the remaining energy storage capacity is less than the predicted peak / peak power consumption, charging will start in this flat period. When the predicted peak / peak power consumption is reached, charging will stop. If the power is charged to T Peaknstart Stop charging;

[0044] If the remaining energy storage capacity is greater than or equal to the predicted peak power consumption, the energy storage will be in standby mode;

[0045] When the maximum output value of the energy storage is less than the predicted peak power consumption, the energy storage is charged in this flat period, and the energy storage is fully charged or charged to T Peaknstart Stop charging.

[0046] As an optimization scheme of the present invention, the optimization of the supply and demand balance model of the energy storage power station is carried out, which specifically includes:

[0047] 1) Automatic update mechanism of historical database: During the operation phase, the latest actual peak power consumption data collected will be updated to the historical database, and the historical data of this time period last year will be deleted. The model will be retrained periodically and the parameters will be adjusted according to the latest data to adapt to the changes in data distribution and changes in on-site power consumption;

[0048] 2) Establish a data quality monitoring system to detect abnormalities, missing values ​​or data drift in the latest data input, and the data will not be recorded to maintain the authenticity of the database data;

[0049] 3) Adjust the learning rate of the energy storage power station supply and demand balance model, control the step size of each weight update, and improve the convergence speed and accuracy of the model;

[0050] 4) Compare the historical predicted peak power generation data with the actual peak power generation data, use regularization technology to reduce the overfitting of the model, and adjust the size of the regularization parameter to achieve a balance between the model's fitting ability and generalization ability;

[0051] X drop =Y*mask;

[0052] Where: mask is a Bernoulli random variable with a value of 0 or 1, Y is the historical predicted power generation data, X drop The historical predicted power generation data is calculated and randomly reset to zero, thereby reducing the model's dependence on the data.

[0053] The present invention has positive effects: 1) The present invention focuses on the peak shaving and valley filling reasonable configuration usage scenarios of the user-side energy storage system;

[0054] 2) The present invention fully considers various operation modes of the user-side energy storage system, such as one-charge-one-discharge mode, two-charge-two-discharge mode, overload protection mode, battery cycle life, etc., to avoid the impact of power grid failures and effectively ensure the supply and demand balance of the energy storage power station;

[0055] 3) The present invention can absorb excess electric energy during the flat load period of the power grid, reduce the overload risk of the power system, and increase the release of stored energy during the high load period to relieve the pressure on the power grid, thereby improving the stability and resilience of the power grid;

[0056] 4) The present invention is based on statistical principles and can obtain reasonable configuration parameters and expected benefits based on a small amount of calculation. This reduces the amount of calculation, greatly improves the efficiency of energy storage system design, reduces the operating cost of energy storage power stations, and promotes efficient use of energy. BRIEF DESCRIPTION OF THE DRAWINGS

[0057] The present invention will be further described in detail below in conjunction with the accompanying drawings and specific embodiments.

[0058] Figure 1 It is a schematic diagram of the process of the present invention. DETAILED DESCRIPTION

[0059] The method of the present invention is further described below with reference to the accompanying drawings and specific implementation examples.

[0060] like Figure 1 As shown, the present invention discloses a control method for balancing supply and demand of an energy storage power station, which fully utilizes the flat-stage charging capacity to charge the energy storage system and realizes efficient utilization of power resources. The method includes the following steps:

[0061] S1. Obtaining power supply data and operation data of the energy storage power station;

[0062] S2. Calculate the operating constraints of the energy storage power station based on the power supply and demand data of the energy storage power station;

[0063] S3. Build a supply and demand balance model for energy storage power stations to predict peak / peak power consumption data;

[0064] S4. At the beginning of the flat period, the supply and demand balance model of the energy storage power station is called to predict the next peak power consumption data and run the flat period charging strategy.

[0065] Example:

[0066] The first stage: information collection and sorting stage:

[0067] Step 1: Collect electricity price data, including peak and flat prices, the time periods of each price, the months of peak prices, etc.; based on the collected information, it is necessary to sort out the peak / peak (indicates the peak period or peak period) time before the flat period, and the time information of this peak / peak period and flat period is used for energy storage charging control). The data format is: [

[0069] [[T Standard1start ,T Peak1start ,T Peak1end ,W Peak1 ],[T Standard2start ,T Peak2start ,T Peak2end ,W Peak2 ],...],

[0070] ...,

[0071] [[...],[T Standardnstart ,T Peaknstart ,T Peaknend ,W Peakn]], ];

[0073] Where: [T Standard1start ,T Peak1start ,T Peak1end ,W Peak1 ] is the flat time before the first peak time of the day (T Standard1start , because the flat end time and the peak start time are the same, so one is retained) and the peak start and end time (T Peak1start : Spike / peak start time, T Peak1end : Peak / peak end time) and peak / peak period power consumption (W Peak1 : Electricity consumption during the peak / spike period. This value is calculated based on the data source provided). There may be multiple flat moments that meet the conditions every day. I will not explain it later. Just add them to the array. The data for each day is in this format. Each flat (spike) peak data that meets the conditions is saved in an array, and the data for each day is saved in a large array.

[0074] Step 2: Collect power plant investment data, including the construction cost of the power plant (C B ) and the subsequent single operation and maintenance cost (C O )(The number of operation and maintenance times M is updated in real time according to the operation and maintenance situation) and is later used to calculate the energy storage break-even point.

[0075] Step 3: Obtain the rated capacity information of the transformer to be connected to the energy storage power station (P B ); The transformer here refers to the transformer capacity corresponding to the electricity metering point where the energy storage power station is located, as well as (if any) the capacity of the subordinate transformer directly connected to the energy storage system.

[0076] Step 4: Obtain the maximum operating power P of the energy storage power station PCS PCS ; Get the energy storage capacity of the energy storage power station (E dischar ), discharge rate (C dis ), cycle life (N cycle ), capacity utilization (D n ) and other information;

[0077] Step 5: Obtain the historical electricity consumption of the location where the energy storage power station is located;

[0078] The data needs to have at least one full year of historical electricity consumption data, including time and power consumption. It can come from system records or power consumption data exported by the power grid company. The data should have at least one sampling point per hour, and the data should have a timestamp to clarify its specific sampling time. The timestamp should at least contain month, day, and hour information. The power information unit should be kilowatts (kW) to characterize the power consumption of the entire system during the corresponding period. Because it is considered as one sampling point per hour, the power consumption information value (kWh) is approximately equal to the power value at this moment (if the power information value of the power station per hour can be obtained, the subsequent calculation and prediction data will be more accurate).

[0079] Phase 2: Calculate the values ​​of running constraints:

[0080] (1) Calculate the peak-to-flat or peak-to-flat price difference of energy storage power stations:

[0081] P PD =P P -P S

[0082] Where: P PD P is the peak-to-flat / peak-to-flat price difference; P is the peak electricity price; P S The normal electricity price;

[0083] (2) Calculate the energy storage break-even point C bep :

[0084] C bep =(C B +M*C O ) / N cycle / (E disachar *D n );

[0085] Where: C bep is the break-even point, C B is the construction cost of the energy storage power station, C O is the single operation and maintenance cost of the energy storage power station, M is the number of operation and maintenance times, N cycle is the cycle life of the energy storage power station, E dischar is the energy storage capacity, D n is capacity utilization;

[0086] If C bep >P PD +X, where X is the expected benefit value, it is necessary to perform sharp-flat and peak-flat charging and discharging;

[0087] (3) Calculate the energy storage charging power value:

[0088] P D =P B -P F ;

[0089] PCS charging power = min(P D , P PCS );

[0090] Where: P D is the energy storage charging power, P B is the transformer capacity, P F The real-time power of the load;

[0091] (4) Calculate the maximum output value of energy storage:

[0092] W ES =P pcs ×(T Peaknend -T Peaknstart )

[0093] Where: W ES is the maximum output value of energy storage, P pcs is the maximum power of pcs, T Peaknstart is the peak start time, T Peaknend is the end time;

[0094] Phase 3: Model building

[0095] Step 1: Import data and convert format:

[0096] Through the collected historical electricity consumption data for one year, the original data (at least one data per hour) is processed into the format we need: [

[0098] [time:"xxxxxxxx xx:xx:xx",data:xxx.x],

[0099] [time:"xxxxxxxx xx:xx:xx",data:xxx.x],

[0100] [time:"xxxxxxxx xx:xx:xx",data:xxx.x], ... ];

[0103] time is the time value, data is the power value or power consumption information value;

[0104] Step 2: Establish an LSTM model to predict peak power consumption data:

[0105] ① Scaling the historical electricity consumption data for one year obtained in the first step;

[0106] Scaling: Use the MinMaxScaler scaler to adjust the scale of numerical features so that they have equal importance and meet the input requirements of the model. Scaling the feature values ​​to the interval [-1,1] can speed up convergence:

[0107] X_normalized=(X-X_min) / (X_max-X_min)

[0108] X is the original eigenvalue, X_min is the minimum value of the eigenvalue, X_max is the maximum value of the eigenvalue, and X_normalized is the scaled eigenvalue; this formula scales the original eigenvalue to the range of 0-1 to ensure that different eigenvalues ​​are equally important, thus accelerating the convergence process of the machine learning algorithm.

[0109] Train an LSTM model using a deep learning framework such as TensorFlow, Keras, or PyTorch, specifying the number of LSTM layers, the number of neurons in each layer, and other hyperparameters.

[0110] Import the necessary library numpy;

[0111] Import the scaled data in the format of [[time:"xxxxxxxx xx:xx:xx",data:xx xx]], where the data is the scaled power consumption data;

[0112] The number of LSTM layers is 1;

[0113] The number of neurons in each layer is 100 (starting from a small value and then gradually increasing until the performance of the model on the validation set no longer improves).

[0114] Specify the loss function as mean square error (the average of the squares of the difference between the predicted value and the actual value of each peak power consumption);

[0115] Specify the optimizer as mini-batch gradient descent, divide the training data set into multiple mini-batch samples, each mini-batch contains multiple samples, and calculate the average mean square error of each batch of samples.

[0116] ③Model prediction value output

[0117] The predicted value output by the model is a scaled value of [-1,1], and there is one predicted value per hour. The true value needs to be obtained by reverse calculation according to the MinMaxScaler scaler mentioned above. According to the start and end time of this peak / peak segment and the predicted value per hour, the number of hours of this peak / peak segment and the total predicted power consumption data are calculated for the energy storage charging control below.

[0118] Phase 4: System Operation

[0119] (1) At the start time of the selected flat segment (T Standardnstart )Call the model to predict the next peak power consumption data.

[0120] (2) Operation of flat charging strategy

[0121] 1. Maximum energy storage output value >= predicted peak power consumption

[0122] ① If the remaining energy storage capacity is less than the predicted peak power consumption, charge in this flat period:

[0123] If the charging reaches the predicted peak power consumption, stop charging or if the charging reaches T Peaknstart Stop charging.

[0124] ② If the remaining energy storage capacity is greater than or equal to the predicted peak power consumption, the energy storage will be on standby.

[0125] 2. If the maximum output value of energy storage is less than the predicted peak power consumption, charging will be performed in this flat period:

[0126] The energy storage is fully charged or charged to T Peaknstart Stop charging.

[0127] Phase 5: Self-optimization of LSTM model;

[0128] ① Automatic update mechanism of historical database: When the system is running, the latest actual peak power consumption data collected by the system is updated to the historical database, and the historical data of this time period last year is deleted. The model is retrained periodically and the parameters are adjusted according to the latest data to adapt to changes in data distribution and changes in on-site power consumption.

[0129] ② Establish a data quality monitoring system to detect abnormalities, missing values, or data drift in the latest incoming data, and the data will not be recorded to maintain the authenticity of the database data;

[0130] ③ Adjust the model learning rate, control the step size of each weight update, and improve the convergence speed and accuracy of the model.

[0131] ④ Compare the historical predicted peak power generation data with the actual peak power generation data, use regularization technology (Dropout) to reduce the overfitting of the model, and adjust the size of the regularization parameter to achieve a balance between the model's fitting ability and generalization ability;

[0132] X drop =Y*mask

[0133] Where: mask is a Bernoulli random variable with a value of 0 or 1, Y is the historical predicted power generation data, X dropThe historical predicted power generation data is calculated and randomly reset to zero, thereby reducing the model's dependence on the data.

[0134] The present invention enables the energy storage power station to charge a reasonable amount of electricity during the parity period for subsequent use. The charged electricity is mainly used to achieve the following goals:

[0135] When there is a parity period between two peak price periods and the difference between peak and flat electricity prices is large enough, charging is carried out during the parity period to maximize the use of battery capacity, optimize power station resource allocation, and balance the grid load;

[0136] When there is a peak electricity price, the difference between peak and flat electricity prices and the distribution of electricity consumption during the peak electricity price period are considered to reduce electricity costs;

[0137] When the user's electricity consumption in the valley period is so high that the charging in the valley period cannot meet the discharge demand in the peak and / or peak period, the battery will continue to be charged in the flat period to increase the available capacity of the energy storage system and improve the stability of the power system. Of course, there is a prerequisite for these requirements, that is, the electricity charged in the flat period needs to be fully discharged in the peak and / or peak period of the day, otherwise it will lead to the inability to fully utilize the valley period for charging, increasing electricity costs.

[0138] The specific embodiments described above further illustrate the objectives, technical solutions and beneficial effects of the present invention in detail. It should be understood that the above description is only a specific embodiment of the present invention and is not intended to limit the present invention. Any modifications, equivalent substitutions, improvements, etc. made within the spirit and principles of the present invention should be included in the protection scope of the present invention.

Claims

1. A control method for balancing supply and demand of energy storage power stations, characterized in that: The steps include: S1. Obtaining power supply data and operation data of the energy storage power station; S2. Calculate the operating constraints of the energy storage power station based on the power supply and demand data of the energy storage power station; S3. Build a supply and demand balance model for energy storage power stations to predict peak / peak power consumption data; S4. At the beginning of the flat period, the supply and demand balance model of the energy storage power station is called to predict the next peak power consumption data and run the flat period charging strategy.

2. A control method for supply and demand balance of energy storage power station according to claim 1, characterized in that: The power supply data includes the start and end time of the peak / peak period of electricity consumption, the electricity consumption during the peak / peak period, the start time of the flat period, and the electricity consumption during the flat period.

3. A control method for supply and demand balance of energy storage power station according to claim 2, characterized in that: The operation data of the energy storage power station includes the construction cost of the energy storage power station, the single operation and maintenance cost of the energy storage power station, the rated capacity information of the transformer expected to be connected to the energy storage power station, the maximum operating power of the PCS of the energy storage power station, the energy storage capacity of the energy storage power station, the discharge rate of the energy storage power station, the cycle life, the capacity utilization and the historical electricity consumption data of the location of the energy storage power station.

4. A control method for supply and demand balance of energy storage power station according to claim 3, characterized in that: In step S2, the specific implementation steps are: S2-1. Calculate the peak-to-average or peak-to-average price difference of energy storage power stations: P PD =P P -P S Where: P PD P is the peak-to-flat / peak-to-flat price difference; P is the peak electricity price; P S The normal electricity price; S2-2. Calculate the energy storage break-even point C bep : C bep =(C B +M*C O ) / N cycle / (E disachar *D n ); The operating constraints of the energy storage power station are: C bep -P PD -X>0; Where: X is the expected return value, C bep is the break-even point, C B is the construction cost of the energy storage power station, C O is the single operation and maintenance cost of the energy storage power station, M is the number of operation and maintenance times, N cycle is the cycle life of the energy storage power station, E dischar is the energy storage capacity, D n is capacity utilization; S2-3. Calculate the energy storage charging power value: P D =P B -P F ; PCS charging power = min(P D , P PCS ); Where: P D is the energy storage charging power, P B is the transformer capacity, P F The real-time power of the load; S2-4. Calculate the maximum output value of energy storage: W ES =P pcs ×(T Peaknend -T Peaknstart ) Where: W ES is the maximum output value of energy storage, P pcs is the maximum power of pcs, T Peaknstart is the peak start time, T Peaknend is the end time.

5. A control method for supply and demand balance of energy storage power station according to claim 3, characterized in that: In step S3, the energy storage power station supply and demand balance model specifically includes: S3-1. Import historical electricity consumption data; S3-2, establish LSTM model to predict peak power consumption data; S3-2-1. Scaling the historical electricity consumption data for one year, using the MinMaxScaler scaler, scales the eigenvalues ​​proportionally to the [-1,1] interval: X_normalized=(X-X_min) / (X_max-X_min) Where: X is the original eigenvalue, X_min is the minimum value of the eigenvalue, X_max is the maximum value of the eigenvalue, and X_normalized is the scaled eigenvalue; S3-2-2. Import the data processed in step S3-2-1, use the deep learning framework to train an LSTM model, specify the number of LSTM layers, the number of neurons in each layer, and the loss function, specify the optimizer as small batch gradient descent, divide the training data set into multiple small batches of samples, each small batch contains multiple samples, and calculate the average mean square error of each batch of samples; S3-2-3, the predicted value output by the supply and demand balance model of the energy storage power station, which is a scaled value of [-1,1], and one predicted value per hour. The true value is obtained by reverse calculation using the MinMaxScaler scaler. The number of hours of this peak segment and the predicted peak electricity consumption data are calculated according to the start and end time of this peak segment and the predicted value per hour.

6. A control method for supply and demand balance of energy storage power station according to claim 5, characterized in that: In step S4, the specific implementation steps are: S4-1. At the start of the selected flat period, the energy storage power station supply and demand balance model is called to predict the next peak power consumption data; S4-2, running flat-stage charging strategy; When the maximum output value of energy storage is greater than or equal to the predicted peak power consumption: If the remaining energy storage capacity is less than the predicted peak / peak power consumption, charging will start in this flat period. When the predicted peak / peak power consumption is reached, charging will stop. If the power is charged to T Peaknstart Stop charging; If the remaining energy storage capacity is greater than or equal to the predicted peak power consumption, the energy storage will be in standby mode; When the maximum output value of the energy storage is less than the predicted peak power consumption, the energy storage is charged in this flat period, and the energy storage is fully charged or charged to T Peaknstart Stop charging.

7. A control method for supply and demand balance of energy storage power station according to claim 1, characterized in that: Optimize the supply and demand balance model of the energy storage power station, including: 1) Automatic update mechanism of historical database: During the operation phase, the latest actual peak power consumption data collected will be updated to the historical database, and the historical data of this time period last year will be deleted. The model will be retrained periodically and the parameters will be adjusted according to the latest data to adapt to the changes in data distribution and changes in on-site power consumption; 2) Establish a data quality monitoring system to detect abnormalities, missing values ​​or data drift in the latest data input, and the data will not be recorded to maintain the authenticity of the database data; 3) Adjust the learning rate of the energy storage power station supply and demand balance model, control the step size of each weight update, and improve the convergence speed and accuracy of the model; 4) Compare the historical predicted peak power generation data with the actual peak power generation data, use regularization technology to reduce the overfitting of the model, and adjust the size of the regularization parameter to achieve a balance between the model's fitting ability and generalization ability; X drop =Y*mask; Where: mask is a Bernoulli random variable with a value of 0 or 1, Y is the historical predicted power generation data, X drop The historical predicted power generation data is calculated and randomly reset to zero, thereby reducing the model's dependence on the data.