Next Article in Journal
An Ageing Test Standards Analysis on Thermoplastic Liners of Type IV Composite Hydrogen Storage Tanks
Previous Article in Journal
Research on Harmonic Management of Single-Phase AC Charging Pile Based on Active Filtering
 
 
Font Type:
Arial Georgia Verdana
Font Size:
Aa Aa Aa
Line Spacing:
Column Width:
Background:
Article

A Two-Layer Optimization Strategy for Battery Energy Storage Systems to Achieve Primary Frequency Regulation of Power Grid

1
School of New Energy and Power Engineering, Lanzhou Jiaotong University, Lanzhou 730070, China
2
Electric Power Research Institute of State Grid Gansu Electric Power Company, Lanzhou 730070, China
*
Author to whom correspondence should be addressed.
Energies 2023, 16(6), 2811; https://doi.org/10.3390/en16062811
Submission received: 19 February 2023 / Revised: 14 March 2023 / Accepted: 16 March 2023 / Published: 17 March 2023
(This article belongs to the Section D: Energy Storage and Application)

Abstract

:
A two-layer optimization strategy for the battery energy storage system is proposed to realize primary frequency regulation of the grid in order to address the frequency fluctuation problem caused by the power dynamic imbalance between the power system and load when a large number of new energy sources are connected to the grid. An integrated control mode combining virtual sag control and virtual inertia control is proposed in the adaptive regulation layer to provide fast frequency support for the grid while effectively reducing steady-state frequency difference fluctuation. The equal consumption micro-increment criterion is used in the equalization control layer to distribute the energy output of each group while maintaining a good battery charge level. The results of the final simulation in Matlab/Simulink show that the proposed control strategy can effectively improve the system’s primary frequency regulation performance.

1. Introduction

With the increasing penetration of new energy [1,2,3], the uncertainty and instability of its regulation will pose significant risks to the long-term safe operation of the power system, resulting in low inertia and weak damping of the power grid, making the frequency more variable under power disturbance, while traditional units, due to their limited regulation capacity and other issues, are also not conducive to the safety and stability of the power grid [4].
Energy storage has a strong short-term power throughput capacity, bi-directional regulation, and the ability to accurately track [5], and has become an important FM resource to solve the problems of traditional units, with the response rate of battery energy storage systems (BESSs) being more than 60 times that of traditional FM units [6,7,8]; so, the use of an energy storage battery system for frequency regulation is currently popular. As a result, the use of BESSs for frequency regulation is a hot research topic. The literature [9] demonstrates that BESSs have great potential for providing grid-assisted services and proposes corresponding corrective energy measures and control algorithms to allow the batteries involved in FM services to continuously maintain their state of charge within the limits. The literature [10] proposes a new method for the optimal allocation of battery energy storage capacity, taking into account the rate characteristics of primary frequency regulation, which solves the problem of battery energy storage capacity limitation during primary frequency regulation. According to the literature [11], large-scale battery energy storage, as a new flexible market player, can arbitrage in the energy market and profit from providing primary FM services.
For BESSs to participate in primary frequency regulation of the grid, there are two main control modes: (1) virtual inertia control (VIC) can effectively suppress the rate of change in frequency deviation, thus providing fast frequency support to the grid [12], and (2) virtual droop control (VDC) can effectively reduce steady-state frequency deviation fluctuations and improve grid frequency stability [13]. The literature [14] employs sag control to dynamically coordinate the frequency regulation process of energy storage under various operating conditions, which is advantageous to the functionality and economy of energy storage but does not provide fast support for grid frequency deviation. The literature [15,16] compared the constant sag coefficient method to the linear sag coefficient method, which uses a constant sag coefficient value to control the energy storage output but does not take into account the battery frequency regulation capability and is prone to damaging the battery life by overcharging and over-discharging the battery, whereas the linear sag coefficient method uses simple linear control but has a poor ability to follow the state of charge. The linear sag factor approach employs straightforward linear control, but it has a poor ability to track the battery’s state of charge (SOC). The dead zone of energy storage and frequency regulation is employed in the literature [17] as the segmentation boundary for energy storage and frequency regulation, and the virtual sag coefficient is calculated using an S-shaped function to manage the system frequency difference. According to the literature [18], double-layer fuzzy control is used to regulate the energy storage system’s output and virtual sag coefficient while taking battery SOC into account. This method can increase the effect of frequency regulation, but still falls short in terms of quick regulation.
To achieve a better FM effect, two control modes are frequently combined using refs. [19,20], by setting a reasonable threshold value for mode switching and switching mode [21], whereby the advantages of both can be achieved to complement each other, effectively improving the FM effect. The literature [22] demonstrates that combining the two control methods yields better results. The literature [23] only used VIC for frequency regulation, which could not solve the problem of the grid experiencing long-term steady-state fluctuations. The literature [24] uses the VIC mode before the frequency difference reaches its maximum value and directly switches to the VDC mode after the frequency difference reaches its maximum value, but direct switching results in output power fluctuations at the switching point. To address this issue, the literature [25] proposed a proportional model for VDC mode and VIC mode distribution that can achieve smooth switching between the two control modes while avoiding output fluctuations. A reasonable allocation of the two modes is combined with a regression function for adaptive frequency regulation in the literature [26] to determine the FM output of the energy storage. To avoid secondary disturbances at the switching point while satisfying the SOC constraint, the literature [27] smoothly switches between the two control modes while adaptively adjusting the energy storage output based on the battery SOC. The literature [28] proposes an adaptive factor to correct the FM coefficients, but the dynamic regulation capability of this method is severely limited. The literature [29] establishes a two-stage robust approximate dynamic programming optimization model to control the output of FM power, but this control scheme lacks long-term use and has a long response time. A state space prediction model for energy storage frequency regulation has been established in the literature [30] to control the grid frequency by predicting the state and rolling optimization, but the method does not take energy storage frequency regulation capability into account, and long-term use may easily result in storage unit damage.
The literature cited above can demonstrate the feasibility and necessity of BESS participation in primary frequency regulation of the grid, as well as the mode switching problem and frequency regulation capability of energy storage participation in frequency regulation, but there are some shortcomings and improvements required: (1) the variable sag coefficient method used in [14,15,18,19,31] for frequency regulation has insufficient adaptive capability; (2) the lack of consideration of technical characteristics such as energy storage charge state and climbing rate in the literature [28,29] can be constrained by the constraint function of the energy storage out process; and (3) the majority of the current literature does not consider the scenario of multiple groups of energy storage participating in one frequency regulation, and when multiple groups of BESSs participate in frequency regulation together, it is easy to cause the BESSs with latencies.
To address the common deficiencies in the current literature, this paper proposes a two-layer control strategy involving multiple groups of BESSs involved in FM. First, a regional dynamic-response-model-based integrated control mode that takes VIC and VDC into account is proposed. Second, a high-precision fuzzy controller is designed in the upper layer to achieve the adaptive switching of the two control modes, whereas in the lower layer, the load state constraints on the energy storage capacity constraints are taken into account while equalizing the FM output of each group of BESS based on equal consumption micro-incremental criterion control. Finally, simulation is used to validate the proposed strategy’s effectiveness.

2. Regional Grid Primary FM Model with Multiple BESSs

The dynamic response model of multiple energy storage batteries participating in grid primary frequency regulation based on regional equivalence [21], which consists of the dispatch center’s control unit and the FM power supply, can be used to realize primary frequency regulation. The region is set up with one conventional unit and J BESSs for frequency regulation, totaling 1 + J FM power supplies. Figure 1 depicts the dynamic response model for region i and Table 1 defines the model’s parameters.
In region i, the conventional unit is a reheat-type thermal unit, and the model consists primarily of the thermal unit governor model and the reheat-type turbine model. The complex frequency domain expressions of the conventional unit model Gg (s) are as follows:
{ G o v _ RT ( s ) = Δ P G ( s ) Δ Y ( s ) = F HP ( 1 + s T CH ) ( 1 + s T RH ) + F IP ( 1 + s T CO ) + F LP ( 1 + s T CH ) ( 1 + s T RH ) ( 1 + s T CO ) G o v _ H ( s ) = Δ Y ( s ) Δ f i ( s ) = 1 1 + s T G G g ( s ) = G o v _ RT ( s ) G o v _ H ( s )
where Gov_H (s) is the governor transfer function, Gov_RT (s) is the turbine transfer function, ΔY (s) is the variation in the turbine steam valve opening, TCH, TRH, and TCO are the high-pressure steam volume time constants, reheat steam volume time constants, and low-pressure steam volume time constants, and FHP, FIP, and FLP are the power coefficients of the high-pressure, medium-pressure, and low-pressure cylinders.
The battery energy storage system is based on the first-order inertia model, which can accurately simulate the dynamic characteristics of the energy storage system and the grid in the active exchange state while taking into account the system’s charge state constraint. In the complex frequency domain, the battery energy storage model GBj(s) is expressed as follows:
G B j ( s ) = 1 1 + s T B s . t . Q SOC j min Q SOC j Q SOC   j max
where TB is the energy storage time constant, and QSOCjmax and QSOCjmin are the maximum and minimum values of the battery charge state.

3. Integrated Control Mode Based on VIC and VDC

3.1. Control Structure of VIC and VDC

The control methods of the BESS involved in grid primary frequency regulation are divided into virtual inertia control (VIC) and virtual sag control (VDC). As shown in Figure 2a,b, when virtual inertia control is used in the complex frequency domain, let KB = sKBI, and when virtual sag control is used, let KB = KBD.
Ignoring the FM dead-band and limiting constraint, from Figure 2a, we have
{ Δ f I i ( s ) = Δ P G ( s ) + j = 1 J Δ P B j ( s ) Δ P L i ( s ) M i s + D i Δ P G ( s ) = K G G g ( s ) Δ f I i ( s ) j = 1 J Δ P B j ( s ) = s K BI j = 1 J G B j ( s ) Δ f I i ( s )
The final frequency deviation in the VIC control mode is obtained as
Δ f I i ( s ) = Δ P L i ( s ) M i s + D i + K G G g ( s ) + s K BI j = 1 J G B j ( s )
Solving the rate of change in the frequency deviation θI and the steady-state value essI yields
{ θ I = lim s 0 [ s Δ f I i ( s ) ] = Δ P L i ( s ) M i + K BI e ssI = lim s 0 [ Δ f I i ( s ) ] = Δ P L i ( s ) D i + K G
Similarly, from Figure 2b, it follows that
{ Δ f D i ( s ) = Δ P G ( s ) + j = 1 J Δ P B j ( s ) Δ P L i ( s ) M i s + D i Δ P G ( s ) = K G G g ( s ) Δ f D i ( s ) j = 1 J Δ P B j ( s ) = K BD j = 1 J G B j ( s ) Δ f D i ( s )
The final frequency deviation in the VDC control mode is obtained as
Δ f D i ( s ) = Δ P L i ( s ) M i s + D i + K G G g ( s ) + K BD j = 1 J G B j ( s )
Solving the rate of change in the frequency deviation θD and the steady-state value essD yields
{ θ D = lim s [ s Δ f D i ( s ) ] = Δ P L i ( s ) M i e ss D = lim s 0 [ Δ f D i ( s ) ] = Δ P L i ( s ) D i + K G + K BD

3.2. Integrated Control Strategy Based on VIC and VDC

From Equation (5), it can be seen that after adding the disturbance ΔPLi (s) in the complex frequency domain, if the VIC mode is used, the rate of change in frequency deviation θI depends on the rotational inertia of the grid’s system Mi and the BESS virtual inertia coefficient KBI, and the steady-state value of frequency deviation essI depends on the damping coefficient of the grid’s system Di and the primary frequency regulation coefficient of the conventional unit KG; so, the VIC mode can quickly suppress the rate of change in the frequency deviation, but causes no improvement in the steady-state deviation effect. As can be seen from Equation (8), after adding the disturbance ΔPLi (s), if the VDC mode is used, the frequency deviation change rate θD depends only on the grid’s system rotational inertia Mi, and the steady-state value of frequency deviation essD depends on the BESS’s virtual sag coefficient KBD and the conventional unit primary frequency regulation coefficient KG; therefore, the VDC mode can improve the steady-state frequency deviation very well, but has no improvement effect on the frequency deviation change rate.
To meet the frequency regulation demand of the power grid, comprehensive consideration of the advantages of the VIC and VDC modes in the frequency regulation process set the total frequency regulation output of the energy storage battery consisting of both, and at the same time to better achieve a smooth transition between the two modes, virtual inertia allocation factor α1 and virtual sag allocation factor α2 are introduced for VIC and VDC modes, respectively; so, the total primary frequency regulation output of the battery energy storage system in the time domain is
Δ P B ( t ) = j = 1 J Δ P B j ( t ) = α 1 ( t ) [ K BI d Δ f i ( t ) d t j = 1 J G B j ] + α 2 ( t ) [ K BD Δ f i ( t ) j = 1 J G B j ]
where dΔfi(t)/dt is the rate of change in the frequency deviation, and the virtual inertia allocation factor α1 and virtual sag allocation factor α2 satisfy α1 + α2 = 1.

4. Double-Layer Control Strategy for Primary Frequency Modulation

4.1. Two-Tier Control Structure

This paper takes into account the technical characteristics of each group of BESS and proposes a two-layer control strategy for multiple BESS groups to achieve the primary frequency regulation of the grid based on meeting the demand for grid frequency regulation in order for multiple BESS groups to participate in the primary frequency regulation of the grid mode allocation and power balance. The flow chart of the two-level control strategy is shown in Figure 3.
The upper layer is the adaptive regulation layer; to adapt to the demand of grid frequency regulation, the advantages of two control modes of VIC and VDC in the process of frequency regulation are fully considered, and the fuzzy control is used to allocate the participation degree of the two modes to achieve the smooth switching of the two modes while suppressing the secondary fluctuation at the switching point, and finally, the total output of multiple BESS groups participating in primary frequency regulation is obtained. The equalization control layer is the lowest layer; with the objective of optimal power distribution for multiple BESSs participating in primary FM, the differences between the technical characteristics of each group of batteries are fully considered, and the total power output of primary FM is balanced to each group of BESS based on the criterion of equal consumption micro-increase rate while maintaining a good battery charge level, and finally, the final power output of each group of BESS after balanced control is obtained. The requirement of grid frequency regulation is met while the coordinated operation of numerous BESSs is achieved through the progressive control of upper and lower levels.

4.2. Adaptive Regulation Layer

Based on the control modes of VIC and VDC, the fuzzy controller of the adaptive regulation layer aims at the frequency regulation demand of the grid and takes the system frequency deviation Δfi(t) and the system frequency deviation change rate dΔfi(t)/dt in the time domain as input quantities, thus determining the allocation factors α1(t) and α2(t)(α2(t) = 1 − α1(t)) for both control modes of VIC and VDC.
The first layer of the fuzzy controller is a two-dimensional control with normalization coefficients k1, k2, and k3 for the input quantities Δfi(t) and dΔfi(t)/dt and the output quantity α1(t), as shown in Equation (10).
{ k 1 = 1 Δ F ( t ) k 2 = 1 Δ f i max ( t ) k 3 = 1
where ΔF(t) is the allowable interval of primary FM, and Δfimax(t) is the maximum value of frequency deviation.
The Mamdani-type affiliation function is chosen as the affiliation function. Δfi(t) and dΔfi(t)/dt are the two inputs of the fuzzy controller with the theoretical domain range of [–1,1] and α1(t) is the output of the fuzzy controller with the theoretical domain range of [0,1]. The fuzzy sets are {NB(negative large), NM(negative medium), NS(negative small), ZO(zero), PS(positive small), PM(positive medium), PB(positive large)}.
The control rules of the first layer fuzzy controller are as follows: when dΔfi(t)/dt is larger and Δfi(t) is smaller, the BESS should increase the participation of the VIC mode to help the grid to quickly suppress the frequency deviation change rate, so α1(t) should also increase accordingly; when dΔfi(t)/dt is smaller and Δfi(t) is larger, the participation of the VDC mode should be increased to suppress the frequency deviation fluctuation to a stable value, so α1(t) should also decrease accordingly; when dΔfi(t)/dt and Δfi(t) are both large, the energy storage equipment should be restored to Δfi(t) as the primary goal, and α1(t) should be increased to help to stabilize the grid frequency fluctuations; when dΔfi(t)/dt and Δfi(t) are both small, to prevent the frequent operation of the energy storage equipment, α1(t) should be taken as a moderate or large value to reduce the operating loss of energy storage when restoring Δfi(t) at the time of operation loss. Next, the values of the affiliation functions of Δfi(t), dΔfi(t)/dt, and α1(t) are defined as Au1(t), Au2(t), and Au3(t), respectively. Finally, the three-dimensional relations of inputs Au1(t) and Au2(t) and output Au3(t) can be obtained as shown in Figure 4, and the table of fuzzy control rules is shown in Table 2.
The output fuzzy quantity Au3(t) is defuzzified using the area center of gravity method, and the final distribution factors α1(t) and α2(t) are obtained as shown in Equation (11).
{ α 1 ( t ) = u 1 u 2 A u 1 ( t ) u 1 ( t ) A u 2 ( t ) u 2 ( t ) d u 1 d u 2 u 1 u 2 A u 1 ( t ) A u 2 ( t ) d u 1 d u 2 α 2 ( t ) = 1 α 1 ( t )
where u1, u2, and u3 are the values of Δfi(t), dΔfi(t)/dt, and α1(t) after fuzzy quantization, respectively, and Au1(t), Au2(t), and Au3(t) are the values of Δfi(t), dΔfi(t)/dt, and α1(t) after substitution, respectively.
The virtual inertia distribution factor α1(t) and the virtual sag distribution factor α2(t) obtained from the fuzzy controller can be substituted into Equation (9) to obtain the total output force ΔPB for the multiple BESS groups participating in a single FM.

4.3. Balanced Control Layer

The optimal output allocation of each BESS is achieved based on the equal consumption micro-increase rate criterion for the overall output of the BESS, as determined by the adaptive regulation layer. The fundamental concept of equalization control can be summed up as follows: to achieve local target consistency, neighboring connected intelligence communicate with each other, and to achieve global target consistency, signals are sent to the control center. The establishing function, parameter initialization, and repeated update are the three components that make up the equilibrium control. Figure 5 depicts the homogeneous control’s structure map.

4.3.1. Objective Function and Constraint Function

The FM loss is the change in the operating cost brought about by the change in power output of the unit in the secondary FM process, and the loss function of each group of BESS is composed of charging and discharging power and charge state. The m moment of the FM loss function of each group of BESS is
D B j , m = a B j P B j , m 2 + b B j S B j 2 ( Q SOC j , m Q ref SOC j ) 2 s . t .   { P B j min , m P B j , m P B j max , m R B j min P B j , m P B j , m 1 Δ t R B j max Q SOC j max Q SOC j , m Q SOC j min
where DG,m is the FM loss of each group of BESS at moment m, aBj and bBj are the weighting coefficients, QSOCj,m is the charge state of each group of BESS at moment m, QrefSOCj is the expected reference value of each group of BESS charge state during FM, QSOCjmax and QSOCjmin are the maximum and minimum values of each group of BESS, RBjmax and RBjmin are the maximum and minimum values of each group of BESS climbing rate, PBjmax,m and PBjmin,m are the maximum and minimum values of each group of BESS FM output, respectively, and Δt is the preset sampling interval of the timer.
When PBj,m < 0, PBj,m = PcBj,m, and BESS is the charging state, and when PBj,m > 0, PBj,m = PdBj,m, and BESS is the discharging state. The charge state is further expressed as the charging and discharging power in Equation (13), and the BESS FM loss function shown in Equation (14) can be finally obtained after combining it with Equation (12).
{ Q SOC j , m = Q SOC j , m 1 η c j P c B j , m Δ t S B j P B j , m < 0 Q SOC j , m = Q SOC j , m 1 P d B j , m Δ t η d j S B j P B j , m > 0
where QSOCj,m−1 is the charge state of the BESS at m − 1 moment, and ηcj and ηdj are the BESS charging and discharging efficiency.
D B j , m = A P B j , m 2 + B P B j , m + C { A = a B j + b B j ( η c j Δ t S B j ) 2 B = 2 b B j ( η c j Δ t S B j ) ( Q SOC j , m 1 Q ref SOC j )       P B j , m < 0 C = b B j S 2 B j ( Q SOC j , m 1 Q ref SOC j ) 2 { A = a B j + b B j ( Δ t η d j S B j ) 2 B = 2 b B j ( Δ t η d j S B j ) ( Q SOC j , m 1 Q ref SOC j )       P B j , m > 0 C = b B j S 2 B j ( Q SOC j , m 1 Q ref SOC j ) 2
In summary, the power balance control objective function and its constraints are
min D m = j = 1 J D B j , m s . t .   { P B j min , m P B j , m P B j max , m R B j min P B j , m P B j , m 1 Δ t R B j max Q SOC j max Q SOC j , m Q SOC j min Δ P B = j = 1 J P B j , m

4.3.2. Initialization Settings

The slight increase in consumption λ is the partial derivative of the loss function for power output, and its magnitude can express the FM unit’s unit power cost. λ increases as the unit’s FM power output increases, and when the optimal power output distribution is achieved, the slight rate of increase in consumption λ of each FM unit tends to be the same. λ is written as follows:
λ B j = D B j , m P B j , m = 2 A P B j , m + B
The result of the average distribution of the total BESS output ΔPB is used as the initial value of the equalization control, and the initial values of the unit output and λ are as follows:
{ P 0 B j , m = Δ P B J λ 0 B j = 2 A P 0 B j , m + B = 2 A P MPC B j , m + B
where P0Bj,m is the initial value of the FM output of the BESS and λ0Bj,m is the initial value of λ for the BESS.

4.3.3. Iterative Update

When iterating over λ, the unit changes its FM output so that its λ is approximately consistent with that of the neighboring storage unit, thus achieving balanced control of the output. At m moment, battery energy storage j is iterated, and the virtual consumption micro-increase rate λn~j,m for the nth iteration is obtained by correcting λn−1j,m and the FM unit output Pn−1j,m for the n−1st iteration. The correction function is
λ n ~ j , m = λ n 1 j , m σ 1 d = 1 D ( λ n 1 j , m λ n 1 β d , m ) + σ 2 ( P 0 j , m P j , m )
where λn−1βd,m is the consumption micro-increase rate of unit β adjacent to unit j, d ∈ [1,D], P0j,m is the initial value of the FM output of unit j, and σ1 and σ2 are correction factors.
If the virtual consumption micro-increase rate crosses the limit during the iteration, the boundary value of its range is taken as the actual consumption micro-increase rate. The actual consumption micro-increase rate λnj,m for the nth iteration is
λ n j , m = { λ max λ ˜ n j , m λ max λ min λ ˜ n j , m λ min λ ˜ n j , m λ min λ ˜ n j , m λ max
where λmax and λmin are the maximum and minimum values of the consumption micro-increase rate of unit j, respectively.
Substituting λnj,m into Equation (16) gives the theoretical output Pn~j,m of the FM unit, and using the same boundary value constraint gives the actual output Pnj,m as
P n j , m = { P max P n ~ j , m P max P min P n ~ j , m P min P n j , m P min P n ~ j , m P max
where Pmax and Pmin are the maximum and minimum values of unit j FM output, respectively.

4.3.4. Balancing Control Process

The overall flow of the equalization control is as follows, based on the preceding process. The overall flowchart is shown in Figure 6.
Step 1:
In the FM process, define the objective function based on the total cost of the BESS and consider the charge state limit and charge/discharge power limit of energy storage as the objective function’s constraint function.
Step 2:
Set the equivalent consumption micro-increase rate λ0Bj,m and the energy storage frequency adjustment power P0Bj,m to their starting values, while setting the algorithm’s initial iteration number n to 0.
Step 3:
Each group of BESS is compared with the equal consumption micro-increase rate of the neighboring BESS and if the consistency condition is satisfied, it means that the storage and the neighboring storage have reached local optimization; otherwise, its equal consumption micro-increase rate is updated according to Equations (18) and (19), and the updating process requires the neighboring BESSs to exchange and update their equal consumption micro-increase rates in the process of FM control, so that the marginal cost of the neighboring BESS is consistent and at the same time equilibrium is reached among the groups of BESSs in the control network.
Step 4:
The FM power of each group of BESS is updated according to the updated equal consumption micro-increase rate λnj,m, and after substituting the updated equal consumption micro-increase rate into Equation (16), the FM output power Pnj,m is updated in combination with Equation (20); when all BESSs update the FM power and output according to the equal consumption micro-increase rate consistency criterion, one action of FM is completed and the whole control network reaches stability.
Step 5:
Perform the timer’s preset sampling interval Δt, and determine whether the timer’s preset value is reached; if so, end; otherwise, n = n+1; return to Step 3.

5. Simulation Analysis

5.1. Simulation Parameters

The maximum rated capacity of the unit and the rated frequency of 50 Hz are used as the reference values for the standardization. The analogous model of a typical regional power grid is depicted in Figure 1 and is used to develop a simulation in the Matlab/Simulink platform. In order to compare this technique (Scheme 3) to the linear variable sag coefficient method (Scheme 2) and no energy storage, two typical situations of step disturbance and continuous disturbance are devised (Scheme 1). The results of this paper (Scheme 3) compared with the methods employed in references [28,29,30] are shown in a table in Section 5.4. The linear variable sag coefficient approach (Scheme 2) mostly refers to references [14,15,18,19,31]. The parameters of the energy storage unit are displayed in Table 3 [32], the parameters of the system simulation are displayed in Table 4 [33], and the parameters of the evaluation index used to compare the outcomes are displayed in Table 5.

5.2. Step Perturbation

In area i, a 0.01 step perturbation of ΔPLi (standardized value) is added. The change curves in frequency deviation, FM unit output, and battery charge condition of the three schemes under the step perturbation are utilized for comparison in order to more thoroughly validate the efficacy of the approach in this study based on the evaluation system.
The system’s frequency deviation change curve under step disturbance is shown in Figure 7a, and the comparison curves of the three schemes can be found there; all three schemes can achieve primary frequency regulation, and since primary frequency regulation is accomplished through differential regulation, Scheme 3 can recover the frequency deviation to a smaller range than Schemes 1 and 2. Scheme 3’s frequency drop and recovery speeds are higher than those of Schemes 1 and 2 by 29.45% and 18.26%, respectively. As a result, Scheme 3 can modulate the primary frequency better.
The output power variation curves for the energy storage units under Schemes 2 and 3 are shown in Figure 7b,c, respectively. Figure 7b,c after the step disturbance, can be used to show that the output power of each group of BESS varies depending on their technical characteristics, that the output power of a BESS increases with its capacity, and that a BESS with a capacity that is too large is also compelled to leave FM early due to the charging and discharging power and charging states exceeding the limit. Whereas BESS 4 has a small capacity and a huge power output, BESS 1 has a large capacity and a small power output. Comparatively speaking, it was discovered that the addition of equalization control in Scheme 3 greatly improves and balances the output of each group of BESS, increasing the viability of the long-term operation of energy storage.
The starting charge state of each group of BESS in Figure 7d,e represents the charge state change curves for the energy storage units under Schemes 2 and 3, respectively. The figures show that each group of BESS in Scheme 2 has a significant change in SOC, with the large capacity BESS 1 discharging too much power and causing the SOC to drop quickly, while the small capacity BESS 4 discharges less power and experiences a less pronounced change in SOC, which easily results in the large-capacity BESS being forced to terminate FM early. It was discovered that each group of BESS in Scheme 3 has a balanced and less erratic SOC, and that each group’s overall SOC level can be stabilized within the range of 0.415–0.50. This effectively prevents damage to the energy storage caused by overcharging and over-discharging.

5.3. Continuous Perturbation

In region i, a 40 min continuous perturbation was added, as seen in Figure 8a. The frequency deviation, energy storage output, and change curve in the battery charge state under the step perturbation of the three schemes were used for comparison in order to more thoroughly validate the effectiveness of the approach in this study based on the evaluation system.
The frequency deviation variation curves of the system under continuous disturbance are shown in Figure 8b. The frequency drop rate of Scheme 3 is 18.52% and 9.61% lower than that of Schemes 1 and 2, and the frequency recovery rate is 11.53% and 7.87% higher than that of Schemes 1 and 2. This information can be obtained from the comparison curves of the three schemes. Scheme 3 can control the frequency deviation fluctuation in a smaller range. In conclusion, Scheme 3 has better fluctuation control for frequency differences.
The output variation curves for FM units under Schemes 2 and 3 are shown in Figure 8c,d, respectively. Figure 8c,d show what results can be produced by introducing continuous disturbance: Scheme 2’s output of many BESS groups cannot be controlled in a balanced way, each BESS group’s output is severely unbalanced, the output of BESS 1 varies more dramatically, and the output of BESS 4 is insufficient. Scheme 3, following the addition of balanced control to the power output of each group of BESS, is balanced after the addition of equalization control, which improves the efficiency and viability of the long-term operation of energy storage.
The initial charge state of each set of BESS in Figure 8e,f depicts the charge state change curves for FM units under Schemes 2 and 3, respectively. The SOC changes in each group of BESS in Scheme 2 are fairly extreme: the SOC fluctuation of BESS 4 is too small, and the SOC fluctuation of BESS 1 is too large, which makes it simple to shorten the lifespan of a large-capacity BESS in prolonged use and simple to waste a small-capacity BESS, according to the figure. Comparatively, it was discovered that Scheme 3 can successfully control the SOC variation in each group of BESS within a specific range.

5.4. Comparison of Results

The linear variable sag coefficient method (Scheme 2) is primarily based on references [14,15,18,19,31], where reference [26] employed an adaptive regulation strategy, reference [29] employed two-stage robust approximate dynamic programming, and reference [30] employed model predictive control.
The comparison results of the strategy (Scheme 3) in this paper with Scheme 2 and the methods used in references [28,29,30] are shown in Table 6. After comprehensive comparison and analysis, the following findings were discovered: Scheme 2 lacks the ability of adaptive dynamic regulation; so, it is less effective than the other schemes in terms of Δfm, Δfrms, Vm, Vr, QSOC,ave, and QSOC,rms; references [28,29] can realize adaptive dynamic frequency regulation, but lack the consideration of the energy storage charge state, so they are less effective than Scheme 3 in terms of the charge state evaluation parameters QSOC,ave and QSOC,rms, meaning they are not as good as that of Scheme 3; and reference [30] can consider the battery charge state based on meeting the grid frequency regulation demand, but the strategy used needs continuous rolling optimization, and the response speed is slow, so the effect of the FM rate evaluation parameters Vm and Vr is not as good as that of Scheme 3. In summary, Scheme 3 takes into account the charge state constraint of the energy storage while realizing fast adaptive dynamic frequency regulation. Therefore, it has better performance in the integrated level of frequency modulation.

6. Conclusions

This paper proposes a two-layer control strategy for multiple battery storage systems to participate in grid frequency regulation while taking grid frequency regulation demand and battery frequency regulation capability into account. In comparison to the literature [14,15,18,19,31], the strategy in this paper realizes adaptive switching of two control modes in the adaptive regulation layer by designing a high-precision fuzzy controller, and the frequency drop rate can be reduced from 9.61 to 58.79%, as well as the frequency recovery rate being increased from 7.87 to 29.45%, resulting in a significant improvement in regulation capability and regulation accuracy. The adjustability and accuracy have greatly improved. To achieve the consistency of marginal cost of each group of batteries in the equalization control layer, the equalization control of the energy storage output is based on the criterion of equal consumption micro-increase rate, which has better results in frequency regulation economy and charge state maintenance.

Author Contributions

Conceptualization, W.C. and N.S.; formal analysis, W.C.; funding acquisition, Z.M. and W.L.; methodology, W.C.; project administration, Z.M., W.L. and H.D.; software, W.C.; supervision, H.D.; validation, N.S. and H.D.; writing—original draft, W.C.; writing—review and editing, W.C., N.S., Z.M., W.L. and H.D. All authors have read and agreed to the published version of the manuscript.

Funding

This research was funded by the Gansu Provincial Science and Technology Information Disclosure System Project, grant number 21ZD8JA001.

Data Availability Statement

Not applicable.

Conflicts of Interest

The authors declare that they have no conflict of interest to report regarding the present study.

References

  1. Zhao, T.; Parisio, A.; Milanović, J.V. Location-Dependent Distributed Control of Battery Energy Storage Systems for Fast Frequency Response. Int. J. Electr. Power Energy Syst. 2021, 125, 106493. [Google Scholar] [CrossRef]
  2. Shi, Y.; Xu, B.; Wang, D.; Zhang, B. Using Battery Storage for Peak Shaving and Frequency Regulation: Joint Optimization for Superlinear Gains. IEEE Trans. Power Syst. 2018, 33, 2882–2894. [Google Scholar] [CrossRef] [Green Version]
  3. Abouzeid, S.I.; Guo, Y.; Zhang, H. Coordinated Control of the Conventional Units, Wind Power, and Battery Energy Storage System for Effective Support in the frequency regulation service. Int. Trans. Electr. Energy Syst. 2019, 29, e2845. [Google Scholar] [CrossRef]
  4. Kumar, Y.A.; Kim, H.J. Effect of Time on a Hierarchical Corn Skeleton-Like Composite of CoO@ZnO as Capacitive Electrode Material for High Specific Performance Supercapacitors. Energies 2018, 11, 3285. [Google Scholar] [CrossRef] [Green Version]
  5. Moniruzzaman, M.; Anil Kumar, Y.; Pallavolu, M.R.; Arbi, H.M.; Alzahmi, S.; Obaidat, I.M. Two-Dimensional Core-Shell Structure of Cobalt-Doped@MnO2 Nanosheets Grown on Nickel Foam as a Binder-Free Battery-Type Electrode for Supercapacitor Application. Nanomaterials 2022, 12, 3187. [Google Scholar] [CrossRef]
  6. Lee, J.; Kim, J.-M.; Yi, J.; Won, C.-Y. Battery Management System Algorithm for Energy Storage Systems Considering Battery Efficiency. Electronics 2021, 10, 1859. [Google Scholar] [CrossRef]
  7. Wang, K.; Qiao, Y.; Xie, L.; Li, J.; Lu, Z.; Yang, H. A Fuzzy Hierarchical Strategy for Improving Frequency Regulation of Battery Energy Storage System. J. Mod. Power Syst. Clean Energy 2021, 9, 689–698. [Google Scholar] [CrossRef]
  8. Hollinger, R.; Diazgranados, L.M.; Wittwer, C.; Engel, B. Optimal Provision of Primary Frequency Control with Battery Systems by Exploiting All Degrees of Freedom within Regulation. Energy Procedia 2016, 99, 204–214. [Google Scholar] [CrossRef]
  9. Su, D.; Lei, Z. Optimal configuration of battery energy storage system in primary frequency regulation. Energy Rep. 2021, 7, 157–162. [Google Scholar] [CrossRef]
  10. Wang, X.; Ying, L.; Wen, K.; Lu, S. Bi-level non-convex joint optimization model of energy storage in energy and primary frequency regulation markets. Int. J. Electr. Power Energy Syst. 2022, 134, 107408. [Google Scholar] [CrossRef]
  11. Jiang, X.; Jin, Y.; Zheng, X.; Hu, G.; Zeng, Q. Optimal Configuration of Grid-Side Battery Energy Storage System under Power Marketization. Appl. Energy 2020, 272, 115242. [Google Scholar] [CrossRef]
  12. Tang, Y.; Yang, C.; Yan, Z.; Xue, Y.; He, Y. Coordinated Control of a Wind Turbine and Battery Storage System in Providing Fast-Frequency Regulation and Extending the Cycle Life of Battery. Front. Energy Res. 2022, 10, 927453. [Google Scholar] [CrossRef]
  13. Turk, A.; Sandelic, M.; Noto, G.; Pillai, J.R.; Chaudhary, S.K. Primary Frequency Regulation Supported by Battery Storage Systems in Power Systems Dominated by Renewable Energy Sources. J. Eng. 2019, 2019, 4986–4990. [Google Scholar] [CrossRef]
  14. Meng, G.J.; Zhang, F.; Zhao, Y.; Wu, T.; Ma, F.Y. Optimal integrated control strategy for battery energy storage participation in grid primary frequency regulation. New Technol. Electr. Power 2021, 40, 43–49. [Google Scholar]
  15. Wang, W.Y.; Li, Y.; Cao, Y.; Xu, Z.W.; Tan, Y. Adaptive sag control strategy for multi-terminal flexible DC transmission system participating in grid frequency regulation. Power Syst. Autom. 2017, 41, 142–149+161. [Google Scholar]
  16. Zhu, Z.; Ye, C.; Wu, S. Comprehensive Control Method of Energy Storage System to Participate in Primary Frequency Regulation with Adaptive State of charge recovery. Int. Trans. Electr. Energy Syst. 2021, 31, e13220. [Google Scholar] [CrossRef]
  17. Wang, M.Q. Research on Battery Energy Storage System Participation in System Primary Frequency Regulation Control Strategy. Master’s Thesis, School of Electrical and Information Engineering, Northeastern Electric Power University, Jilin, China, 2022. (In Chinese). [Google Scholar] [CrossRef]
  18. Li, P.Q.; Feng, Y.H.; Li, X.R.; Tan, Z.X.; Yang, B.; Huang, J.Y. Energy storage battery participation in grid primary frequency regulation control strategy considering ultra-short-term load forecasting. Power Syst. Autom. 2019, 43, 87–93+148. [Google Scholar]
  19. Li, X.R.; Cui, X.W.; Huang, J.Y.; Li, S.J.; Meng, Y. Adaptive control strategy for battery storage power supply participation in grid primary frequency regulation. J. Electr. Eng. Technol. 2019, 34, 3897–3908. [Google Scholar] [CrossRef]
  20. Yang, B.; Weng, L.; Li, Y.; Zhang, Y.; Zhou, C. Research on Coordinated Control Strategy of Energy Storage Participating in Primary Frequency Regulation Considering Frequency Deviation Change Rate. J. Phys. Conf. Ser. 2021, 1750, 012034. [Google Scholar] [CrossRef]
  21. Fan, F.; Xu, Y.; Zhang, R.; Wan, T. Whole-Lifetime Coordinated Service Strategy for Battery Energy Storage System Considering Multi-Stage Battery Aging Characteristics. J. Mod. Power Syst. Clean Energy 2022, 10, 689–699. [Google Scholar] [CrossRef]
  22. Liu, B.; Chen, Z.; Yang, S.; Wang, Y.; Yang, K.; Lu, C. Primary frequency regulation scheme applicable to LCC-VSC series hybrid HVDC considering AC voltage stability at receiving end. Int. J. Electr. Power Energy Syst. 2022, 140, 108071. [Google Scholar] [CrossRef]
  23. Active participation of variable speed wind turbine in inertial and primary frequency regulations. Electr. Power Syst. Res. 2017, 147, 174–184. [CrossRef]
  24. Zhang, J.F.; Su, Y.; Sun, J.D.; Zheng, K.K.; Mei, J.; Wang, Z.X.; Lu, S.B.; Yue, H.F. Optimization and experimental analysis of AGC control strategy for grid-side electrochemical energy storage power plants. J. Power Sci. Technol. 2022, 37, 173–180. [Google Scholar] [CrossRef]
  25. Stroe, D.I.; Knap, V.; Swierczynski, M.; Stroe, A.I.; Teodorescu, R. Operation of a Grid-Connected Lithium-Ion Battery Energy Storage System for Primary Frequency Regulation: A Battery Lifetime Perspective. IEEE Trans. Ind. Appl. 2017, 53, 430–438. [Google Scholar] [CrossRef]
  26. Wang, Y.F.; Yang, M.C.; Xue, H.; Zhang, Y.H.; Mi, Y. Adaptive integrated control strategy for primary frequency regulation of battery energy storage system with SOC. Power Autom. Equip. 2021, 41, 192–198+219. [Google Scholar] [CrossRef]
  27. Ming, T.T.; Zhao, J.; Wang, X.L. SOC estimation of a lithium battery under high pulse rate condition based on improved LSTM. Power Syst. Prot. Control 2021, 49, 144–150. [Google Scholar]
  28. Li, S.; Xu, Q.; Xia, Y. Comprehensive setting and optimization of Dead-Band for BESS participate in power grid primary frequency regulation. Int. J. Electr. Power Energy Syst. 2022, 141, 108195. [Google Scholar] [CrossRef]
  29. Wen, K.; Li, W.; Yu, S.S.; Li, P.; Shi, P. Optimal intra-day operations of behind-the-meter battery storage for primary frequency regulation provision: A hybrid lookahead method. Energy 2022, 247, 123482. [Google Scholar] [CrossRef]
  30. Hu, Z.; Gao, B.; Sun, R. An active primary frequency regulation strategy for grid integrated wind farms based on model predictive control. Networks 2022, 32, 100955. [Google Scholar] [CrossRef]
  31. Li, J.H.; Gao, Z.; Ying, H.; Lin, L.; Shen, B.X.; Fan, X.K. Frequency control strategy of energy storage primary regulation based on dynamic sag coefficient and SOC base point. Power Syst. Prot. Control 2021, 49, 1–10. [Google Scholar] [CrossRef]
  32. Andrenacci, N.; Chiodo, E.; Lauria, D.; Mottola, F. Life Cycle Estimation of Battery Energy Storage Systems for Primary Frequency Regulation. Energies 2018, 11, 3320. [Google Scholar] [CrossRef] [Green Version]
  33. Chang, K.; Zhou, T.; Zhang, H.N.; Liu, S.F. Energy storage battery participation in grid secondary frequency regulation parameter optimization. Electron. Des. Eng. 2022, 30, 64–68. [Google Scholar] [CrossRef]
Figure 1. Frequency dynamic response model of region i.
Figure 1. Frequency dynamic response model of region i.
Energies 16 02811 g001
Figure 2. (a) VIC control mode structure diagram; (b) VDC control mode structure diagram.
Figure 2. (a) VIC control mode structure diagram; (b) VDC control mode structure diagram.
Energies 16 02811 g002
Figure 3. Two-layer control structure in dual-signal mode.
Figure 3. Two-layer control structure in dual-signal mode.
Energies 16 02811 g003
Figure 4. Three-dimensional relationship between inputs and output.
Figure 4. Three-dimensional relationship between inputs and output.
Energies 16 02811 g004
Figure 5. Balanced control structure diagram.
Figure 5. Balanced control structure diagram.
Energies 16 02811 g005
Figure 6. Power balance distribution process chart.
Figure 6. Power balance distribution process chart.
Energies 16 02811 g006
Figure 7. (a) Frequency deviation comparison graph; (b) the output of BESSs for Scheme 2; (c) the output of BESSs for Scheme 3; (d) frequency deviation comparison graph; (e) frequency deviation comparison graph.
Figure 7. (a) Frequency deviation comparison graph; (b) the output of BESSs for Scheme 2; (c) the output of BESSs for Scheme 3; (d) frequency deviation comparison graph; (e) frequency deviation comparison graph.
Energies 16 02811 g007aEnergies 16 02811 g007b
Figure 8. (a) Continuous load perturbation; (b) frequency deviation comparison graph; (c) the output of BESSs for Scheme 2; (d) the output of BESSs for Scheme 3; (e) battery charge state diagram for Scheme 2; (f) battery charge state diagram for Scheme 3.
Figure 8. (a) Continuous load perturbation; (b) frequency deviation comparison graph; (c) the output of BESSs for Scheme 2; (d) the output of BESSs for Scheme 3; (e) battery charge state diagram for Scheme 2; (f) battery charge state diagram for Scheme 3.
Energies 16 02811 g008aEnergies 16 02811 g008b
Table 1. Definition of parameters in the model.
Table 1. Definition of parameters in the model.
ParametersDefinitionUnit
Δfi (s)Frequency deviationHz
ΔPG (s)Primary FM output of conventional unitsMW
ΔPBj (s)Energy storage battery j primary FM power outMW
ΔPB (s)Total power output of multiple batteries at one FMMW
KGPrimary frequency modulation factor for conventional units--
KBEnergy storage battery primary FM factor--
KBIVirtual inertia control factor--
KBDVirtual sag control factor--
ΔfIi (s)Virtual inertia control frequency deviationHz
ΔfDi (s)Virtual sag control frequency deviationHz
ΔPLi (s)Load disturbance--
MiSystem rotational inertia--
DiSystem damping factor--
GBj (s)Battery storage model--
Gg (s)Conventional unit model--
Table 2. Fuzzy control rules table.
Table 2. Fuzzy control rules table.
Au3Au2
NBNMNSZOPSPMPB
Au1NBZOZOPSPMPMPBPB
NMNSZOZOPSPMPMPB
NSNMNSZOZOPSPSPS
ZONMNMNSZOZOPSPM
PSNBNMNSNSZOZOZO
PMNBNBNMNMNMNSNS
PBNBNBNBNBNMNMNM
Table 3. Parameters of energy storage units.
Table 3. Parameters of energy storage units.
BESS 1BESS 2BESS 3BESS 4Unit
Power backup−40~40−30~30−20~20−10~10MW
Climbing rate−104~104−104~104−104~104−104~104MW·h
Battery capacity40302010MW·h
Charging and discharging efficiency0.90.90.90.9--
Table 4. System simulation parameters.
Table 4. System simulation parameters.
ParametersNumerical Value
Mi10
Di1
KG0.8
TBj0.01
KBj21
TG0.08
TCH, TRH0.3, 10
FHP0.5
Table 5. Evaluation indicator parameters (p.u.).
Table 5. Evaluation indicator parameters (p.u.).
ParametersDefinitionUnit (p.u.)
ΔfmMaximum absolute value of frequency differenceHz
ΔfrmsRoot mean square error value of frequency differenceHz
VmFrequency decline rateHz-s−1
VrFrequency recovery speedHz-s−1
QSOC,aveAverage charge state volume×100% Ah
QSOC,rmsRoot mean square error values of charge state quantities×100% Ah
Table 6. Comparative table of results.
Table 6. Comparative table of results.
Scheme 2Scheme 3Ref. [26]Ref. [29]Ref. [30]Unit (p.u.)
Δfm0.963 × 10−30.765 × 10−30.864 × 10−30.787 × 10−30.815 × 10−3Hz
Δfrms3.292 × 10−42.678 × 10−43.116 × 10−43.284 × 10−43.252 × 10−4Hz
Vm5.051 × 10−34.977 × 10−34.874 × 10−34.911 × 10−35.036 × 10−3Hz-s−1
Vr2.536 × 10−42.607 × 10−42.654 × 10−42.674 × 10−42.557 × 10−4Hz-s−1
QSOC,ave0.5820.5610.5740.5690.559×100%
QSOC,rms0.1180.0920.1120.1080.091×100%
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

Chen, W.; Sun, N.; Ma, Z.; Liu, W.; Dong, H. A Two-Layer Optimization Strategy for Battery Energy Storage Systems to Achieve Primary Frequency Regulation of Power Grid. Energies 2023, 16, 2811. https://doi.org/10.3390/en16062811

AMA Style

Chen W, Sun N, Ma Z, Liu W, Dong H. A Two-Layer Optimization Strategy for Battery Energy Storage Systems to Achieve Primary Frequency Regulation of Power Grid. Energies. 2023; 16(6):2811. https://doi.org/10.3390/en16062811

Chicago/Turabian Style

Chen, Wei, Na Sun, Zhicheng Ma, Wenfei Liu, and Haiying Dong. 2023. "A Two-Layer Optimization Strategy for Battery Energy Storage Systems to Achieve Primary Frequency Regulation of Power Grid" Energies 16, no. 6: 2811. https://doi.org/10.3390/en16062811

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