Next Article in Journal
Characterization of Asphaltene Deposition Behavior in Diluted Heavy Oil under High-Pressure Conditions
Previous Article in Journal
Fault Diagnosis and Condition Monitoring in Wave Energy Converters: A Review
 
 
Font Type:
Arial Georgia Verdana
Font Size:
Aa Aa Aa
Line Spacing:
Column Width:
Background:
Article

Optimal Allocation of Primary Frequency Modulation Capacity of Battery Energy Storage Based on Antlion Algorithm

1
Shanxi Longyuan New Energy Co., Ltd., Taiyuan 030013, China
2
School of Electric Power, Civil Engineering and Architecture, Shanxi University, Taiyuan 030031, China
*
Author to whom correspondence should be addressed.
Energies 2023, 16(19), 6778; https://doi.org/10.3390/en16196778
Submission received: 5 August 2023 / Revised: 12 September 2023 / Accepted: 21 September 2023 / Published: 23 September 2023
(This article belongs to the Section D: Energy Storage and Application)

Abstract

:
Currently, the integration of new energy sources into the power system poses a significant challenge to frequency stability. To address the issue of capacity sizing when utilizing storage battery systems to assist the power grid in frequency control, a capacity optimal allocation model is proposed for the primary frequency regulation of energy storage. Due to the requirement of a large number of actual parameters for the optimal allocation model, a simulation model of energy storage capacity is constructed based on the characteristics of primary frequency control to provide the necessary parameters. Subsequently, the primary frequency modulation output model of energy storage is established by considering the basic action output, the action in the frequency modulation dead zone, and a certain capacity margin. The antlion algorithm is employed to solve the capacity optimal allocation model. Finally, three groups of experiments are designed and compared to demonstrate the effectiveness of the proposed method in setting the capacity margin, which can increase profit to a certain extent.

1. Introduction

With the advent of the electric power revolution, the use of thermal power generation has led to significant environmental damage, making it imperative to shift towards clean energy sources such as wind and solar power. However, the inherent stochastic nature of these resources makes it difficult to maintain a stable frequency of energy generation [1]. To address this issue, researchers propose combining battery energy storage technology with new energy generation technology. This approach involves storing excess energy from natural resources and releasing it when needed, thereby improving the efficiency of the new energy generation system and reducing the negative impact of traditional power systems on the environment. Additionally, energy-storage-assisted grid frequency regulation can enhance the stability of the power system frequency [2].
At the macro level, the literature [3] proposes development strategies for China based on the current status of the energy storage FM market in major countries such as the United States, the United Kingdom, and Australia. Specifically, [4] analyzes the current situation of FM in China and national policies in recent years, concluding that independent energy storage power stations have a promising future. On the user side, [5] highlights the benefits of multi-scenario analysis, suggesting that user groups can complement each other, and with a reasonable operating mechanism, this approach is expected to become a future development trend.
Regarding the application scope, primary FM is crucial for frequency adjustment in the power system [6]. The literature [7] optimizes capacity by integrating economic and technical indexes, while [8] comprehensively discusses the control method by modeling and simulating the process of energy storage participating in frequency regulation. In foreign literature, research mainly focuses on the battery energy storage system’s peak and frequency regulation of the grid. For instance, [9] presents a case of combining the antlion optimizer and grey wolf optimizer to optimize the objective function of the hybrid power generation system (HPGS) for power system peaking. S. Zhang et al. propose a two-stage capacity allocation optimization scheme to improve the power system’s frequency response, where the first stage determines the capacity based on the activated energy storage’s critical frequency, and the second stage optimizes the capacity based on the energy storage’s charging rate [10].
This paper investigates the capacity allocation problem when the storage battery assists the primary frequency regulation of the power grid using the antlion algorithm. Firstly, an evaluation model for capacity optimization is constructed based on the energy storage system’s net benefit over its life cycle. Secondly, an output model mimicking the energy storage action situation is constructed for the missing parameters in the evaluation model. Finally, the antlion algorithm is used to find the optimal solution for the model’s variables, followed by an analysis and discussion.

2. Evaluation Model for Optimal Allocation of Energy Storage Capacity

2.1. Lifetime Estimation of Energy Storage Battery

The cost of the energy storage system is significantly impacted by the battery life’s duration [11]. Therefore, it is necessary to simulate the battery life estimation, which is based on the state of charge estimation [12]. The following steps are taken: the sequence of the equivalent depth of discharge is obtained based on the measured state of charge sequence. The relationship between the number of charging and discharging times and the depth of discharge is used, combined with the rated number of times, to obtain the equivalent number of charge and discharge times. When the equivalent number of charge and discharge times reaches the rated value, the battery is considered to have reached its life limit.
The depth of discharge ( D O D d ) is the difference between the battery’s charge state ( S O C ) discharged from 100% to a certain charge state. The rainflow counting method [13] is used to convert it to an equivalent depth of discharge ( D O D d ), which describes the effect of small-amplitude frequent charging and discharging behaviors on battery life. It can be expressed by Equation (1):
D O D d = r a i n . f l o w ( S O C )
where S O C in the above equation is the sequence of charging states during the sampling period; and D O D d , which is derived by the rainflow counting method, is the sequence of equivalent discharge depths during that sampling period.
The energy storage system adopts lithium-ion batteries, and the relationship between the depth of discharge and the number of charges/discharges [14] is shown in Table 1.
According to practice, the data in Table 1 are fitted with a type II power function, which can approximate the number of charging and discharging times corresponding to any discharge depth. The fitting results are shown in Figure 1 and the fitted function is shown in Equation (2):
N ( D O D ) = 4122 D O D 1.562 458.5
The rated charging and discharging times of the energy storage battery are generally taken as the charging and discharging times when D O D d = 1 , and the charging and discharging times are set to 4000.
According to Equation (1), Equation (2) combined with the rated number of charging and discharging times can be obtained in 1 year the total equivalent number of charging and discharging times T l i f e = 4000 / N d , described by Equation (3) as:
N d = K 2 i = 1 K 1 4000 N D O D d ( i )
where K 1 is the number of D O D d after counting the sequence of charge states in the sampling period by the rainfall counting method; and K 2 is the conversion factor of the sampling period into 1 year. When N d reaches the rated charging and discharging times of 4000 after the energy storage battery needs to be replaced, then its life can be calculated as T l i f e = 4000 / N d , and the unit is years.

2.2. Calculation of the Cost Model

During the life cycle, all costs of the energy storage battery system are mainly generated by the pre-installation, mid-term operation and maintenance, and post-recovery, in addition to other penalty costs due to FM non-compliance and so on.

2.2.1. Construction Cost

This type of cost mainly includes the construction cost of power conversion equipment and the construction cost of the energy storage battery pack. The construction cost of the energy storage battery system can be described by Equation (4):
C i n v = K P C S P N + k = 0 n K B E S S E N 1 + r k T L / n + 1
where K P C S denotes the ratio coefficient between the construction cost of the power conversion equipment and the rated power of the battery system in Ұ / MW ; P N denotes the rated power in MW ; K B E S S denotes the cost per unit of the rated capacity of the energy storage in Ұ / MW h ; E N denotes the rated capacity in MW h ; r denotes the discount rate; and T L denotes the life cycle of the energy storage system.

2.2.2. Operation and Maintenance Cost

The operation and maintenance cost of the storage battery is the maintenance cost of the PCS system and the maintenance cost of the storage battery pack during the life cycle. It can be described by Equation (5):
C O M = K P O M P N 1 + r T L 1 r 1 + r T L + t = 1 T L K E O M W 1 + r t
where K P O M denotes the operation and maintenance cost per MW in Ұ / MW , K E O M denotes the operation and maintenance cost per MW·h of the battery in Ұ / MW h , and W denotes the total annual charge/discharge in MW h .

2.2.3. Recycling Costs

After the end of the life cycle of the energy storage system, the energy storage battery system equipment and battery packs must be recycled to avoid environmental pollution. Therefore, this cost can be expressed by Equation (6):
C r c = K Pr c P N 1 + r T L + j = 1 n + 1 K E r c E N 1 + r j T L n + 1
where K Pr c denotes the cost of recovering a unit of power of a PCS device in Ұ / MW ; and K E r c denotes the cost of recovering a unit of capacity in Ұ / MW h .

2.2.4. Other Costs

There are other costs for normal operation over the years, such as a battery pack charge state does not meet the specific practical needs of the cost of power shortage and abandoned power costs. This part of the cost consumption can be described by Equation (7):
C o t = t = 1 T L K l a c k E l a c k + K l o s s E l o s s 1 + r t
where E l a c k , E l o s s denote annual power shortage and annual power abandonment, respectively, both in MW h ; and E l a c k , E l o s s denote the cost per unit of power shortage and per unit of power abandonment, respectively, both in Ұ / MW h .

2.2.5. Comprehensive Cost Model

Based on the analysis of the cost consumption of the energy storage battery, a comprehensive cost model is derived, as shown in Equation (8):
C = C i n v + C O M + C r c + C o t

2.3. Calculation of the Revenue Model

All the benefits of the energy storage battery system in the life cycle are generally composed of FM power benefits, standby power benefits, and environmental benefits.

2.3.1. FM Power Gain

The FM power gain of the energy storage battery system is mainly related to its charging and discharging power, which can be expressed by Equation (9):
B e l e = t = 1 T L K D A Y K e l e W s ( 1 + r ) t
where W s represents a day of charging and discharging power, depicted in units of MW h ; K e l e represents the energy storage frequency regulation and the price of electricity, depicted in units of Ұ / MW h ; K D A Y represents the number of days of operation of an energy storage battery system in a year., taking into account the existence of fault maintenance, planned shutdowns, and other factors, generally taking the impact of 300.

2.3.2. Standby Power Gain

The backup power gain of the energy storage battery system refers to its real-time power output, the surplus power as a power system backup, and the revenue generated. The standby power of the energy storage system can be divided into upper standby power P m u p and lower standby power P m d n . The calculation method is shown in Equation (10):
P m u p = P N P m P m d n = P m ( P N )
where P m is the actual output power of the energy storage battery system at a certain moment, P N is the rated discharge power, and P N is the rated charging power.
Assuming that the energy storage battery system is used as the upper and lower standby time and each accounted for half of the total working time, the energy storage battery system standby power gains can be expressed by Equation (11):
B c a p = t = 1 T L 1 2 i = 1 N K u P m u p ( i ) + K d P m d n ( i ) K D A Y ( 1 + r ) t
where K u , K d denote the upper and lower standby prices during the FM time period, respectively, and the unit is taken as Ұ / MW ; and N denotes the total number of sampling points in a day.

2.3.3. Environmental Benefits

The input of energy storage equipment reduces the consumption of conventional thermal power units, the consumption of primary energy, and the generation of exhaust gases, and the resulting cost savings are called environmental benefits, which can be described by Equation (12):
B   e n v = t = 1 T L a .1 a . n K a i M a i W + K D A Y ( 1 + r ) t
where K a i denotes the unit cost of the i-th substance in Ұ / kg , M a i denotes the consumption or emission per unit of electricity of the i-th substance in kg / ( MW h ) , and W + denotes the total discharge of the energy storage battery system in a day in MW h .

2.3.4. Comprehensive Benefit Model

Based on the aforementioned analysis of the benefits over the life cycle of the energy storage battery, a comprehensive benefit model is derived, as shown in Equation (13):
B = B e l e + B c a p + B e n v

2.4. Objective Function

Based on the analysis of Equations (8) and (13), the net benefit over the life cycle of the energy storage battery is derived, as shown in Equation (14):
P = B C
This equation represents the correlation between various parameters, including rated capacity, rated power, charging and discharging power, and net benefits of energy storage during grid FM participation. Therefore, it can serve as an evaluation model for determining the optimal allocation of energy storage capacity. The objective function of the optimal capacity allocation, which involves finding the optimal combination solution of multiple independent variables in the evaluation model to achieve the maximum benefit, can be expressed using Equation (15):
f ( P ) = M I N ( P )

3. Output Modelling

3.1. Objective Function

In the process of energy storage output, it is necessary to constrain its charge state; the so-called charge state ( S O C ) can be described by Equation (16), where E m is the actual remaining power:
S O C = E m E N
Assuming that the initial charging state of the energy storage battery is S O C 0 , and the output curve of the energy storage battery is P E , the charging state of the energy storage battery at the i-th moment is shown in Equation (17):
S O C i = S O C 0 0 i P E d t E N
To calculate the sequence of the state of charge ( S O C ) of the storage battery during the sampling time period, Equation (17) can be used. However, it is crucial to ensure that (1) the units of the upper and lower parts of Equation (17) are consistent, and (2) the output power curve ( P E ) indicates positive output power and negative input power. Additionally, determining the charging state relies on the storage battery’s rated capacity ( E N ), so it is necessary to determine the battery’s capacity beforehand.

3.2. Calculation of Rated Capacity

In the charge state curve calculated by Equation (17), there must be a peak ( S O C p e a k ) and a valley ( S O C v a l l e y ). In order to ensure the use of storage battery safety and adequate life, its state of charge will generally set an upper limit value ( S O C M A X ) and a lower limit value ( S O C M I N ), and requires that the peak value of the state of charge curve shall not exceed the upper limit value, and the valley value shall not exceed the lower limit value. This relationship is shown in Equation (18):
S O C p e a k S O C M A X ,     S O C v a l l e y S O C M I N
Equation (18) is also known as the constraints of the charge state of the storage battery, and the calculated value of the rated capacity of the storage battery can be solved by associating Equations (17) and (18), and the result is shown in Equation (19):
E N max 0 p e a k P E d t S O C M A X S O C 0 , 0 v a l l e y P E d t S O C 0 S O C M I N
The energy storage battery’s rated capacity must fulfill the grid’s electrical energy demand at any given moment. This means that the energy storage battery’s charge state must be maintained at a high level whenever the grid requires electrical energy from the energy storage system. Conversely, when the grid needs to store electrical energy in the energy storage system, the battery’s charge state must be maintained at a relatively low level.

3.3. Basic Action Output

The action of energy storage when it participates in the grid primary FM is shown in Figure 2.
In Figure 2, the horizontal axis denotes the power P , the vertical axis denotes the frequency deviation Δ f , and along the direction of the arrow indicates the gradual increase of this variable; Δ f d z u denotes the upper limit of the FM dead zone, and Δ f d z l denotes the lower limit of the FM dead zone; the curve P G ( Δ f ) represents the relationship between output power and frequency deviation of a conventional thermal power unit; the curve P L ( Δ f ) denotes the relationship between load power change and frequency deviation, and the numerical corner scale denotes the curve after a sudden increase or decrease change in load power; and the curve P E ( Δ f ) represents the relationship between the input and output power and frequency deviation of the energy storage battery system. The intersection point a of curve P G ( Δ f ) and curve P L 0 ( Δ f ) is the initial operating point, where the power consumed by the load is balanced with the power issued by the conventional thermal power unit, both of which are P G N .
At this point, the energy storage battery system is not involved in frequency regulation. When the load obtains an increment so that the load curve changes from P L 0 ( Δ f ) to P L 1 ( Δ f ) —due to the thermal power unit to maintain P G N being unchanged at this time, the operating point is point c, and the frequency deviation is Δ f 2 —the frequency deviation has crossed the lower limit of the FM dead zone. According to the curve P E ( Δ f ) , it can be known that at this time the output power of the energy storage is P c . Similar to the load increase, when the load is reduced to P L 3 ( Δ f ) , the frequency deviation rises to Δ f 3 ; at this time the power absorbed by the energy storage is P d . If the amount of change in the load is large, resulting in frequency deviation corresponding to the power exceeding the limit of the storage battery, the energy storage can only be rated power P N output, as shown in the curve P L 3 ( Δ f ) . This situation is also known as the power constraints of the storage battery.
In power grids that incorporate energy storage, the primary frequency modulation (FM) task can be assigned to the energy storage system, as the FM power required for primary FM is typically not substantial. This can be achieved by simulating the FM characteristics of a conventional thermal power unit, where the thermal power unit maintains its rated output power P G N while the energy storage battery system undertakes the FM power. To implement this scheme, the storage battery system must be assigned a simulated unit regulation power ( K E ) to ensure that its FM characteristics are comparable to those of a thermal power unit.

3.4. Additional Output in the FM Deadband

To further increase the yield, the following scheme is implemented when the frequency change falls within the FM deadband:
As depicted in Figure 3, a high-level charge state ( S O C M A X ) is established between the upper limit value ( S O C 0 ) and the initial value ( S O C H ) of the charge state, while a low-level charge state ( S O C M I N ) is established between the lower limit value ( S O C 0 ) and the initial value ( S O C L ) of the charge state. When the frequency deviation falls within the FM dead zone, i.e., Δ f d z l < Δ f < Δ f d z u , the energy storage system is controlled to sell electrical energy ( E S ) to other power systems or vendors at a power level ( P S ) if the charge state is above the HCS. Conversely, if the charge state is below the LLS, the energy storage system is controlled to repurchase electrical energy ( E B ) from the power grid at a power level ( P B ). The values of P S and P B are calculated using Equation (20):
P S = K S P N ,     P B = K B P N
where K S , K B denote the proportion of this power to the rated power.
The calculation of the additional revenue generated after the above operation is shown in Equation (21), and the calculation of Equation (13) should be added in the optimization simulation:
B p f r = K e l e .1 E S E B

3.5. Construction Method of Output Model

Firstly, it is necessary to obtain a set of frequency deviation sequences Δ f for a certain sampling time period, and then according to this set of frequency deviation sequences combined with the regulation effect K L of the load, the output sequence of the storage battery in the ideal case can be obtained, as shown in Equation (22):
P E = Δ f K L
According to this set of output power sequence P E , the size of the rated capacity E N can be initially determined by using Equation (19), which is an important parameter for the next step of calculating the load sequence of the energy storage battery.
The next step is the calculation of all sampling points. This process requires judging the constraints as shown in Equation (23) before each calculation:
S O C M I N < S O C i < S O C M A X P E . i P N i = 1 , 2 , 3 k
where k denotes the total number of sampling points; and P N is given by the optimization algorithm before each iteration.
Combined with the previous description of the energy storage output, Equation (24) can be used to calculate the actual energy storage output:
P E . i = P N P E . i > P N P E . i = K S P N Δ f ( Δ f d z _ l , Δ f d z _ u ) S O C i S O C H , S O C M A X P E . i = Δ f K E Δ f ( Δ f d z _ l , Δ f d z _ u ) S O C i S O C M I N , S O C M A X P E . i = 0     S O C i S O C M I N , S O C M A X P E . i = K B P N Δ f ( Δ f d z _ l , Δ f d z _ u ) S O C i S O C M I N , S O C L P E . i = P N     P E . i < P N
It is important to note that the initial state of charge ( S O C 0 ) of the energy storage battery must be specified before optimization. This ensures that the SOC at the first sampling point satisfies the constraints, and the power output of the energy storage battery at that point is obtained by calculating and considering the power constraints at the first sampling point using Equation (24). Using the power at the first sampling point and the initial calculation of the rated capacity ( E N ), the charging state at the next point can be calculated using Equation (17). The constraints can then be used to calculate the power at the next point, and so on until the last sampling point is reached. This process yields the actual power sequence P E m and the charging state sequence ( S O C ) of the energy storage battery. The rated capacity is updated to E N b based on the actual output P E m , and the charging state sequence is updated to S O C b based on E N b . The actual output P E m also needs to be updated because E N b may be smaller than E N , which could cause S O C b to reach the constraint limit and affect the actual output.
However, the rated capacity E N b , determined from the actual output P E m as per Equation (19), may be small, resulting in large fluctuations in the state of charge and reduced economic efficiency. To address this, the standard deviation of the state of charge ( S O C s d ) is introduced, and the rated capacity is appropriately increased based on E N b . The state of charge and output at this capacity are then calculated. When S O C s d satisfies the given reference value S O C s d r e f , the capacity of this load state is calculated, which is the rated capacity at the given power of the optimization algorithm. The formula for calculating the standard deviation of the load state is shown in Equation (25).
S O C s d = 1 k i = 1 k S O C i S O C 0 2
In all power-related calculations, the output power of the stored energy during the sampling interval is assumed to remain constant from the previously calculated value. As such, it can be obtained by multiplying the output power related to the requested power with the sampling interval time.

4. Principle of Antlion Algorithm

The antlion algorithm is a novel optimization algorithm proposed by scholars in 2015 [15]. To use this algorithm, the number of antlions and the number of iterations must be specified. The optimization principle of the antlion algorithm is illustrated in Figure 4. During the first iteration, the positions of ants and antlions are initialized, and the fitness is calculated. Elite antlions are then selected. From the second iteration onwards, the ants traverse all points in the search space, and the antlion algorithm enters the optimization search process. It is important to note that all ants are linearly independent of each other, and each ant exists in multiple dimensions. Each dimension corresponds to an independent variable, which can be thought of as each ant carrying all independent variables for computing the objective function.

5. Example Simulation

For the optimization of the energy storage capacity of the primary FM, the independent variables are set as rated power P N , high-level charging state S O C H , low-level charging state S O C L , and scaling factors K S and K B . The antlion algorithm, combined with the established optimization model, is used to search for the optimization of these five variables, and the result of the search for optimization is carried out into the established power model to obtain the optimal capacity of the primary FM.

5.1. Parameter Setting

The frequency deviation of a regional power grid with a capacity of 250 MW is sampled to obtain the original data, the sampling period is set to 1 h, the sampling period is set to 2 s, and the sampling results are shown in Figure 5, in which the peak value of the frequency deviation is 0.47 Hz.
The specific parameters calculated by the simulation [16] are shown in Table 2.

5.2. Optimization Process

The optimization process is mainly based on the process represented in Figure 4, in which the characteristic parameters of the objective function tuned by the antlion algorithm mainly include the number of independent variables and their upper and lower limits. The number of variables has been described in the previous section, and the selection of upper and lower limits is described as follows:
For the rated power P N , according to the maximum frequency deviation combined with the simulation of unit regulation power K E , determine its base value of 7 MW , considering a certain margin will be set to the upper limit of 12 MW . According to the actual situation of the high level of charge state S O C H , the optimization interval is set to 0.55–0.9, the low level of charge state S O C L optimization interval is set to 0.1–0.45, and the optimization interval for the ratio coefficients K S and K B is set to 0–1.
In order to verify that the capacity margin can actually improve the revenue, three sets of comparison experiments are proposed in this section:
Experiment 1: In the solution process, the action of the energy storage in the FM dead zone is not considered, and the capacity reserve of the energy storage battery is not considered;
Experiment 2: During the solution process, only the action of the energy storage within the FM dead zone is considered, and still the capacity backup of the energy storage battery is not considered;
Experiment 3: In the solution process, both the action within the FM dead zone and the capacity backup of the energy storage battery are considered.

5.3. Optimization Results

After the optimization solution of the antlion algorithm, the optimization results of each experiment are shown in Table 3.
Since experiment 1 does not consider the action of the energy storage in the dead zone, the four terms S O C H , S O C L , K S , and K B in the optimization variables are redundant and an optimization search for them is not meaningful in this experiment.
The results of experiment 2 compared to experiment 1 are the following: in terms of the parameters of the energy storage battery system, the rated power determined by the antlion algorithm is increased, the rated capacity is decreased, and the unit service life of the storage battery is decreased; in terms of cost and benefit, the total cost does not change much, but the total benefit increases due to the action in the dead zone, which in turn increases the net benefit, so it makes sense to set up an additional action within the dead zone of the frequency modulation.
A comparison of the FM results, energy storage output, and state of charge for the three sets of experiments is shown below:
Upon comparing Figure 5 and Figure 6, it can be observed that the involvement of energy storage in the FM process of experiment 1 and experiment 3 resulted in a reduction in the value of the frequency deviation. The frequency deviation in the results of experiment 2 is similar to that of experiment 3, with only a few moments not involved in FM. It was found that these moments were not involved in FM due to the constraints of reaching the lower limit of the charge state, as seen in Figure 7.
Based on the simulation results presented in Figure 7 and Figure 8, along with the rated capacity data in Table 3, it can be concluded that the charge state fluctuates the most in experiment 2, which has the smallest rated capacity. This results in the shortest service life of the storage battery unit in experiment 2. On the other hand, experiment 3 has appropriately increased the capacity margin and reduced the amplitude of the output power in the dead zone of the FM, resulting in the smoothest charge state curve and the longest service life of the storage battery. Therefore, experiment 3 has the longest service life compared to the other two experiments.

5.4. Calculation Analysis

A longitudinal comparison of the data of the three sets of experiments shows that the present value of the net benefit of the energy storage battery system increases gradually over the whole life cycle, which shows that the optimization model proposed in this paper can achieve the optimal allocation of energy storage capacity. According to the various results in Table 3, the discussion is as follows:
By comparing experiment 1 and experiment 2, it is found that the additional action of the energy storage in the dead zone can increase the benefit, which is specifically manifested in the three items B e l e , B e n v , and B p f r . Although there is a certain degree of decline in the rated capacity, there is no more obvious reduction in the various costs of consumption, mainly due to the fact that the action in the dead zone increases the amplitude of the action of the energy storage battery, so that the unit life of the battery is reduced to a certain degree, which increases the number of replacements.
A comparison of experiments 2 and 3 shows that after taking into account a certain margin of rated capacity according to the standard deviation of the state of charge, S O C H increases slightly; S O C L decreases slightly; and K S and K B , the proportionality coefficients, decrease to different degrees. This indicates that in order to further increase the net benefit, it is necessary to limit the action amplitude of the energy storage in the FM dead zone; although this reduces the benefit to a certain extent, it obviously prolongs the unit life of the battery and reduces the cost of C i n v and C O M . At the same time, due to the consideration of a certain margin, the penalty type of cost C o t in experiment 2 is eliminated in experiment 3, which leads to the improvement of the net benefit.

6. Conclusions

In the context of the “dual carbon” goal gradually taking root in people’s hearts, with the extensive access of new energy generation to the power grid, the fatigue of the traditional FM, mainly thermal power units, begins to appear gradually. Therefore, this paper researches the capacity allocation of energy storage in the primary frequency regulation of the power grid, and the main contents and results are as follows:
(1)
The cost and revenue of energy storage battery systems are analyzed, modeled, and simulated throughout their life cycle. The simulation results show that increasing the capacity margin can increase revenue by extending the service life of the energy storage unit and reducing investment.
(2)
A model is developed for the participation of energy storage in the primary frequency regulation process of the power grid, providing essential data for optimal capacity allocation. An antlion algorithm is proposed to optimize storage battery capacity, and the results are simulated and discussed.
(3)
Based on the findings from three sets of comparative experiments, it has been demonstrated that augmenting the motion within the deadband effectively enhances the gain. Additionally, restraining the magnitude of energy storage action within the FM deadband exhibits a notable extension of the battery unit’s operational lifespan.
In terms of constructing the discharge model of the energy storage battery, the idealized battery characteristics can be studied by considering its discharge multiplier characteristics [17].

Author Contributions

Conceptualization, H.Y.; methodology, R.H.; software, H.Y. and R.H.; validation, H.Y., R.H., and Z.Y.; formal analysis, R.H. and Z.Y.; investigation, M.S.; resources, H.Y.; data curation, R.H.; writing—original draft preparation, R.H., M.S., and Z.Y.; writing—review and editing, H.Y., R.H., M.S., Z.Y., and L.Y.; visualization, M.S. and Z.Y.; supervision, H.Y. and L.Y.; project administration, H.Y. and L.Y.; funding acquisition, L.Y. All authors have read and agreed to the published version of the manuscript.

Funding

This work was funded by the Shanxi Development and Reform Commission’s Special Project for Mass Entrepreneurship and Innovation (137541005), the Shanxi Postgraduate Innovation Project (2022Y156), and the Ministry of Education University-Industry Cooperation Collaborative Education Project (221002262073019).

Data Availability Statement

Not applicable.

Conflicts of Interest

The authors declare no conflict of interest.

References

  1. Zhu, T. Research Review on Related Issues of Wind Power Connection System. China South. Power Grid Technol. 2009, 3, 58–63. [Google Scholar]
  2. Liu, H.; Peng, G.; Zhang, C.; Zhang, S. Overview of Wind Power Participation in Power System Frequency Regulation Control Strategy. Electr. Power Autom. Equip. 2021, 41, 81–92. [Google Scholar]
  3. Zhang, H.; Wang, Y. The mechanism experience of foreign grid-side energy storage power stations participating in the frequency regulation auxiliary service market and its enlightenment to my country. Energy Storage Sci. Technol. 2021, 10, 766–773. [Google Scholar]
  4. Liu, B.; Zhang, J.; Li, D.; Ning, N. Application status and prospect analysis of energy storage in power generation side peak regulation and frequency regulation services. Energy Storage Sci. Technol. 2016, 5, 909–914. [Google Scholar]
  5. Yu, S.; Su, H.; Fang, C.; Gui, Q.; Zhou, Y.; Feng, D. Review of user-side energy storage benefit analysis and economic operation research. Power Demand Side Manag. 2021, 23, 2–7. [Google Scholar]
  6. Huang, J. Study on Optimal Allocation and Control Strategy Design of Battery Energy Storage System for Power Grid Frequency Regulation. Ph.D. Thesis, Hunan University, Changsha, China, 2015. [Google Scholar]
  7. Huang, J.; Li, X.; Chang, M.; Li, S.; Liu, W. Capacity allocation method considering energy storage battery participating in primary frequency modulation technical and economic model. J. Electrotech. Technol. 2017, 32, 112–121. [Google Scholar]
  8. Deng, X.; Sun, W.; Xiao, H. Comprehensive control method of energy storage battery participating in primary frequency modulation. High Volt. Technol. 2018, 44, 1157–1165. [Google Scholar]
  9. Algabalawy, M.A.; Abdelaziz, A.Y.; Mekhamer, S.F.; Badr, M.A.L. Optimal multi-criteria design of a new hybrid power generation system using ant lion and grey wolf optimizers. In Proceedings of the Eighteenth International Middle East Power Systems Conference, Cairo, Egypt, 27–29 December 2016; pp. 138–146. [Google Scholar]
  10. Zhang, S.; Mishra, Y.; Ledwich, G. Battery energy storage systems to improve power system frequency response. In Proceedings of the Australasian Universities Power Engineering Conference, Perth, Australia, 28 September–1 October 2014; pp. 1–5. [Google Scholar]
  11. Xiu, X.; Li, X.; Wang, J.; Xie, Z.; Lv, X. Research on generalized cost of energy storage power station based on equivalent efficiency conversion. China Electr. Power 2022, 55, 192–202. [Google Scholar]
  12. Han, X.; Cheng, C.; Ji, T.; Ma, H. Capacity optimization model of hybrid energy storage system considering battery life. Chin. J. Electr. Eng. 2013, 33, 91–97+16. [Google Scholar]
  13. Xe, Z.; Wang, J.; Li, D.; Meng, T. Research on Economic Evaluation of Energy Storage System Participating in Frequency Regulation of Power System. Electr. Appl. Energy Effic. Manag. Technol. 2020, 5, 14–20. [Google Scholar]
  14. Li, J. Battery Energy Storage System Frequency Regulation Technology; Energy Storage Science and Technology Series; Mechanical Industry Press: Beijing, China, 2018; Volume 9, p. 141. [Google Scholar]
  15. Mirjalili, S. The Ant Lion Optimizer. Adv. Eng. Softw. 2015, 83, 80–98. [Google Scholar] [CrossRef]
  16. Jie, T. Research on Capacity Allocation and Control Strategy of BESS Participating in Secondary Frequency Regulation of Power Grid. Ph.D. Thesis, Hunan University, Changsha, China, 2019. [Google Scholar]
  17. Li, S.; Li, X.; Huang, J.; Liu, W.; Meng, Y.; Xie, Y. Optimal configuration of energy storage batteries for frequency modulation considering rate characteristics. J. Sol. Energy 2020, 41, 127–132. [Google Scholar]
Figure 1. Curve of lithium-ion battery discharge depth versus charge/discharge times.
Figure 1. Curve of lithium-ion battery discharge depth versus charge/discharge times.
Energies 16 06778 g001
Figure 2. Schematic diagram of energy storage participating in primary frequency modulation of power grid.
Figure 2. Schematic diagram of energy storage participating in primary frequency modulation of power grid.
Energies 16 06778 g002
Figure 3. Schematic diagram of energy storage in FM deadband.
Figure 3. Schematic diagram of energy storage in FM deadband.
Energies 16 06778 g003
Figure 4. Flow chart of antlion algorithm iteration.
Figure 4. Flow chart of antlion algorithm iteration.
Energies 16 06778 g004
Figure 5. Frequency deviation of a regional grid within one hour.
Figure 5. Frequency deviation of a regional grid within one hour.
Energies 16 06778 g005
Figure 6. Frequency modulation result comparison of three experiments.
Figure 6. Frequency modulation result comparison of three experiments.
Energies 16 06778 g006
Figure 7. State of charge comparison of three experiments.
Figure 7. State of charge comparison of three experiments.
Energies 16 06778 g007
Figure 8. Energy storage output comparison of three experiments.
Figure 8. Energy storage output comparison of three experiments.
Energies 16 06778 g008
Table 1. Relationship between discharge depth and charging and discharging times of lithium-ion batteries.
Table 1. Relationship between discharge depth and charging and discharging times of lithium-ion batteries.
Discharge DepthDischarging TimesDischarge DepthDischarging Times
0.1150,0000.68000
0.250,0000.77500
0.330,0000.86000
0.414,0000.95000
0.510,0001.04000
Table 2. The primary frequency modulation parameters of the power grid involved in energy storage.
Table 2. The primary frequency modulation parameters of the power grid involved in energy storage.
ModelNameValueUnit
Capacity Modeling Δ f d z l ~ Δ f d z u −0.033~+0.033 Hz
K E 15 MW / Hz
P c a p d 10 MW
S O C M I N ~ S O C M A X 0.1–0.9
S O C 0 0.5
S O C s d r e f 0.12
Evaluation Models r 0.06
T L 20Year
D A Y 300Day
K P C S 900,000 Ұ / MW
K B E S S 1,600,000 Ұ / MW h
K P O M 68,400 Ұ / MW
K E O M 68.3 Ұ / MW h
K Pr c 6800 Ұ / MW
K E r c 6800 Ұ / MW h
K l a c k 11,000 Ұ / MW h
K l o s s 8000 Ұ / MW h
K e l e 135 Ұ / MW h
K u 80 Ұ / MW
K d 20 Ұ / MW
K e l e 1 67.5 Ұ / MW h
Antlion AlgorithmNumber of antlions100
Number of iterations1000
Table 3. Optimization results of experiments 1, 2, and 3.
Table 3. Optimization results of experiments 1, 2, and 3.
CategoryNameResultUnit
Experiment 1Experiment 2Experiment 3
Optimization Variables P N 1010.025910 MW
S O C H 0.64900.6735
S O C L 0.13500.2970
K S 10.3195
K B 0.93370.3469
Solution Variable E N 0.43510.33770.7052 MW h
S O C s d 0.21430.19010.1121
T l i f e 1.181.002.50Year
Net Benefits P 2.1451 × 1072.3598 × 1072.4347 × 107 Ұ
Revenue B 4.9951 × 1075.2033 × 1075.0848 × 107 Ұ
B e l e 0.7888 × 1070.9035 × 1070.8363 × 107 Ұ
B c a p 3.9932 × 1073.9805 × 1073.9826 × 107 Ұ
B e n v 0.2131 × 1070.2689 × 1070.2421 × 107 Ұ
B p f r 00.0505 × 1070.0237 × 107 Ұ
Costs C 2.8499 × 1072.8435 × 1072.6501 × 107 Ұ
C i n v 1.6642 × 1071.5911 × 1071.4403 × 107 Ұ
C O M 1.1836 × 1071.2437 × 1071.2076 × 107 Ұ
C r c 0.0021 × 1070.0021 × 1070.0021 × 107 Ұ
C o t 00.0067 × 1070 Ұ
Disclaimer/Publisher’s Note: The statements, opinions and data contained in all publications are solely those of the individual author(s) and contributor(s) and not of MDPI and/or the editor(s). MDPI and/or the editor(s) disclaim responsibility for any injury to people or property resulting from any ideas, methods, instructions or products referred to in the content.

Share and Cite

MDPI and ACS Style

Yang, H.; Huang, R.; Shi, M.; Yan, Z.; Yan, L. Optimal Allocation of Primary Frequency Modulation Capacity of Battery Energy Storage Based on Antlion Algorithm. Energies 2023, 16, 6778. https://doi.org/10.3390/en16196778

AMA Style

Yang H, Huang R, Shi M, Yan Z, Yan L. Optimal Allocation of Primary Frequency Modulation Capacity of Battery Energy Storage Based on Antlion Algorithm. Energies. 2023; 16(19):6778. https://doi.org/10.3390/en16196778

Chicago/Turabian Style

Yang, Hui, Renshuang Huang, Ming Shi, Zutai Yan, and Laiqing Yan. 2023. "Optimal Allocation of Primary Frequency Modulation Capacity of Battery Energy Storage Based on Antlion Algorithm" Energies 16, no. 19: 6778. https://doi.org/10.3390/en16196778

Note that from the first issue of 2016, this journal uses article numbers instead of page numbers. See further details here.

Article Metrics

Back to TopTop