Next Article in Journal
Data Mining of Online Teaching Evaluation Based on Deep Learning
Previous Article in Journal
Approximate Closed-Form Solutions for Pricing Zero-Coupon Bonds in the Zero Lower Bound Framework
Previous Article in Special Issue
Transformerless Partial Power AC-Link Step-Down Converter
 
 
Font Type:
Arial Georgia Verdana
Font Size:
Aa Aa Aa
Line Spacing:
Column Width:
Background:
Article

Enhanced Virtual Synchronous Generator with Angular Frequency Deviation Feedforward and Energy Recovery Control for Energy Storage System

1
School of Energy & Power Engineering, National Research Tomsk Polytechnic University, Tomsk 634050, Russia
2
Department of Research on the Relationship between Energy and the Economy, Energy Research Institute of the Russian Academy of Sciences, Moscow 117186, Russia
*
Author to whom correspondence should be addressed.
Mathematics 2024, 12(17), 2691; https://doi.org/10.3390/math12172691
Submission received: 30 July 2024 / Revised: 24 August 2024 / Accepted: 28 August 2024 / Published: 29 August 2024
(This article belongs to the Special Issue Mathematical Modeling and Optimization of Energy Systems)

Abstract

:
Frequency control is one of the most important tasks in electric power systems. At the same time, in modern power systems with inertia-free converter-interfaced generation, this task has become more complex. Such an issue is especially relevant for microgrids, which are characterized by a significant increase in the rate of change of frequency and its nadir or zenith. An effective way is through the use of energy storage systems (ESSs) with a grid-forming control in microgrids. For this purpose, this paper proposes a novel structure of the control algorithm based on a current-control virtual synchronous generator (CC-VSG), in which the damping is performed using a feedforward controller. In addition, a simple proportional–integral controller is added to the CC-VSG structure to control the state of charge of the ESS. The performed frequency analysis proves the independence of the different control loop operations within the developed CC-VSG. At the same time, a methodology based on the bandwidth separation of different control loops is proposed for the CC-VSG tuning, which allows for the achievement of the desired quality of frequency regulation in the microgrid, taking into account both the energy recovery and the permissible frequency variation. Finally, the time-domain simulation using PSCAD/EMTDC is performed to confirm the obtained results.

1. Introduction

Currently, the penetration of renewable energy sources (RES) into modern power systems continues. The advantages of RES applications are well-known [1,2]. A promising direction is the use of RES together with conventional fossil-fuel-based generation, usually diesel generators (DG), as part of microgrids that can operate in isolation and in parallel with the centralized power systems [3,4]. However, it is well-known that RES penetration results in a reduction of the overall system inertia, leading to an increase in the rate of change of frequency (RoCoF) and its nadir or zenith after small or large disturbances [5,6]. Moreover, this problem is especially severe for microgrids [7,8,9].
Considering the mentioned challenges, the key direction of development for modern power systems is the transition from the conventional grid-following control to the grid-forming control strategy [10,11,12]. One of the promising solutions for the implementation of this strategy is the use of inverter control algorithms based on a virtual synchronous generator (VSG) [13]. Currently, there are a number of proposed VSG algorithms and their various modifications [14]. The comparative studies that have been performed have shown that the most effective frequency control in low-inertia power grids is achieved via cascade structures of VSG based on the conventional swing equation with a damping coefficient and a virtual governor [15,16]. The most suitable primary source for the VSG control is energy storage systems (ESSs) due to the controllability of power generation in a wide range and the ability to operate in the generation or consumption mode [17,18]. However, in this case, it becomes necessary to take into account the technological features of an ESS within the VSG algorithm [19].
Firstly, ESSs have limited power and energy capacity that can be used to provide inertial response and frequency control. In this regard, an estimation of the energy consumed at different stages of the dynamic response is proposed in [20] with both droop control and VSG-based control algorithms. Due to the limited amount of stored energy, the ESS cannot always provide the desired value of the inertial response formed by the VSG control within the set parameters. Unless this feature is controlled, there may be significant voltage sags in the DC circuit, leading to instability. The necessity of such control is shown in [21,22]. Likewise, in [23], it is proposed that an output power limiter and an additional proportional–integral (PI) controller be added to the grid inverter control system. Similar principles are applied to provide an inertial response through VSG using a DC capacitor, but the contribution to frequency control with this approach remains limited [24,25]. However, in these studies, the conventional VSG algorithm with a damping coefficient in the swing equation is used [26,27].
Secondly, in order to ensure acceptable operating conditions for ESSs and minimize the process of their degradation, it is critical to control their current state of charge (SoC) level. Different approaches for controlling the SoC of ESSs are proposed for the VSG algorithms. In the first case, the commands to charge or discharge the storage device are given under predetermined conditions, e.g., through the control of the reference current value formed by the frequency control loop [28]. A similar approach is used for the ESS in the DC circuit of wind turbine generators [29]. There is also a possibility of controlling the SoC level through a feedback loop and disabling the VSG operation in case of reaching the set limits [30]. Such control can also be carried out with the use of upper-level control systems [31]. The continuous SoC control involves the use of control loops with continuous static characteristics. For example, a combined method of the ESS control for both the parallel operation with the external grid and autonomous operation is proposed in [32]. Another approach is to use the weight coefficients for SoC and frequency deviation signals in forming the VSG active power reference [33]. In this case, a trade-off between the quality of frequency and SoC control needs to be found. An effective and easy-to-implement method is the continuous SoC control of the ESS using a PI controller. The formed signal can be used to change the droop coefficient [34], to form the power reference [29], and to control the DC/DC converter [35,36,37]. A group of studies is devoted to the application of adaptive methods for the SoC control [38,39], including fuzzy-based controllers [40,41].
The analysis of the existing studies leads to the conclusion that it is necessary to consider the features of ESSs within the VSG algorithm operations, primarily the SoC-level control. However, in this case, there is a negative impact on the frequency profile in the power grid, and a challenging trade-off between the efficiency of the frequency control and the energy recovery needs to be found [42]. The possible solutions for the above problem are not clearly presented in the research area. Likewise, the question of the most appropriate VSG structure for the ESS grid inverter that fulfills the indicated features remains outstanding. In this regard, the contribution of this paper is as follows:
  • A linearized model in the form of a transfer function and a state-space model have been developed. The necessity of a significant enhancement of damping properties of the conventional VSG structure to suppress the emerging resonance is proved, which also leads to a significant increase in the ESS nominal energy capacity;
  • The structure of the modified current-controlled VSG (CC-VSG) with a feedforward controller and an energy recovery control loop for the battery energy storage system (BESS) is proposed;
  • The methodology of tuning the modified CC-VSG on the basis of bandwidth separation of different control loops is formed.
This paper is organized as follows. Section 2 describes the topology of the considered microgrid and its simplified scheme used for further analysis. A detailed description of the developed modified CC-VSG structure is also presented. In Section 3, the frequency analysis of the linearized model reflecting the processes of active power and frequency changes in the test scheme is performed. Based on this analysis, the provisions of the CC-VSG tuning methodology for the ESS and approaches for determining the energy consumption of the ESS at each of the frequency control stages are developed. By means of the linearized state-space model, the conclusions are confirmed. Section 4 presents the simulation results. Finally, Section 5 provides the conclusion and outlines the future work in this paper.

2. Description of the Test System and the Proposed CC-VSG Control Algorithm for BESS

2.1. Microgrid Topology

For theoretical analysis of the key features of microgrids consisting of a DG, RES, BESS, and local load with no connection to the external power grid, it is possible to use a simplified representation, highlighting only a DG and a BESS grid inverter with a VSG-based control algorithm, which operates in parallel (Figure 1). Figure 1 uses the following notations: Lgi are the inductances of the i-th (i = 1,2) section of the electric network, including a filter inductance for the grid inverter; Uiδi are the voltage and the phase at the point of connection of the i-th element to the electric network.

2.2. Structure of the Proposed CC-VSG for BESS

The inertial response, the primary and secondary frequency control in the microgrid using BESS is possible with the grid-forming inverters. For that purpose, in this paper, the developed control strategy based on the CC-VSG algorithm is used [43]. This algorithm is based on the VSG model first proposed in [44]. Further, it has been proven that CC-VSG can be used for the grid-forming control [45], allows for the synchronization of the converter without a phase-locked loop (PLL) controller, and contributes to the voltage and frequency regulation of the microgrid, providing the inertial response, etc. In addition, it was shown that the CC-VSG algorithm, in comparison with the conventional voltage-controlled VSG structures, ensures the stability of power converter operation in both ultra-weak and ultra-stiff grid conditions [46]. However, the damping in the CC-VSG model is carried out due to the simplified virtual damper winding. This approach leads to the necessity to consider the third-order system, which affects the complexity of adequate tuning of control loops, e.g., using Vyshnegradskii’s stability diagram [47]. To reduce the order of the CC-VSG model, this paper considers the application of the classical damping coefficient in the active power control loop instead of the virtual damper winding equations or, what is most promising, the feedforward controller, which improves the control performance due to the direct disturbance compensation [48,49]. The proposed damping controller is based on a simple proportional loop with gain KFF, whose input signal is the VSG frequency deviation, and the output signal is added to the VSG phase angle. The structure of the modified CC-VSG with different damping approaches is shown in Figure 2.
The model of the virtual synchronous machine within the CC-VSG algorithm is described by Equations (1)–(4):
d ψ d d t = ω b u 1 d + R v i d , V S G + ω V S G ψ q d ψ q d t = ω b u 1 q + R v i q , V S G ω V S G ψ d
d ψ f d d t = K u Q r e f , V S G Q V S G U o
i d , V S G = ψ f d ψ d L v i q , V S G = ψ q L v
P V S G = u 1 d i d , V S G + u 1 q i q , V S G Q V S G = u 1 q i d , V S G u 1 d i q , V S G
where ψd and ψq are the virtual stator flux linkages in the dq-axes, Rv and Lv are the virtual stator impedance, ωVSG is the VSG angular frequency, ψfd is the virtual field winding flux linkage, Qref,VSG is the VSG reactive power reference, PVSG and QVSG are the VSG output active and reactive power, Ku is the virtual field winding gain, u1d and u1q are the voltages in the dq-axes, Uo is the rms voltage at PCC, and id,VSG and iq,VSG are the VSG virtual currents in the dq-axes.
The modified CC-VSG control structure shown in Figure 2 can be divided into three parts: (i) inner control level, (ii) outer control level, and (iii) inverter output control level. This CC-VSG specificity provides the flexibility to add additional control loops to any of the control levels, depending on their functions and control efficiency. The key feature of the considered CC-VSG structure is that the virtual synchronous generator operates at no load (Pref,VSG = Qref,VSG = 0) and, accordingly, with zero internal load angle. Due to this, the inner level operates only during transients and does not affect the steady-state operation of the power converter. The latter significantly improves the stability of the considered system, which was shown in detail in [43]. To ensure the possibility of the BESS participation in the primary frequency control, the CC-VSG structure includes a virtual governor with a configurable frequency droop Kω,VSG. The inner current control loop is implemented using PI controllers for dq-components with gains Kp,CC and Ki,CC, according to Equations (5) and (6):
u c v d r e f = K p , C C + K i , C C s i c v d r e f i c v d i c v q ω V S G L f
u c v q r e f = K p , C C + K i , C C s i c v q r e f i c v q + i c v d ω V S G L f
where icvd and icvq are the inverter output currents in the dq-axes, and Lf is the filter inductance.
As mentioned earlier, it is necessary to add an energy recovery control to the CC-VSG active power control loop. This loop is based on a PI controller for the continuous SoC-level control with parameters Kp,SoC and Ki,SoC (highlighted in green in Figure 2). In order to perform a comparison, two previously outlined damping approaches are considered within the CC-VSG structure based on the use of (i) a damping coefficient DVSG (highlighted in red in Figure 2) and (ii) a feedforward controller with KFF (highlighted in blue in Figure 2). As a result, the equations of the active power and frequency control loop are written as (7)–(14), where Equations (7) and (8) correspond to the model with DVSG, and Equations (9)–(11)—with KFF.
d ω V S G d t = 1 2 H V S G P r e f , V S G P V S G P D P g o v + P SoC
d θ V S G d t = ω b ω V S G
d ω V S G d t = 1 2 H V S G P r e f , V S G P V S G P g o v + P SoC
d θ s d t = ω b ω V S G
θ V S G = θ s + K F F ω V S G ω r e f
P D = D V S G ω V S G ω r e f
P g o v = K ω , V S G ω V S G ω r e f
P SoC = SoC m e a s SoC r e f K p , SoC + K i , SoC s
where HVSG is the VSG inertia constant, Pref,VSG is the VSG active power reference, PD is the damping power, Pgov is the virtual governor power, PSoC is the SoC controller power, θVSG is the VSG phase angle, ωb is the base angular frequency, θs is the swing-equation-regulated phase angle, SoCmeas is the actual battery SoC, and SoCref is the SoC reference value.
The study of two damping approaches will prove that the use of the damping coefficient does not allow to separate the dynamic response from different control loops, as a result of which the ability of the BESS to maintain the required SoC level or frequency profile in the microgrid deteriorates. On the contrary, by adding the phase feedforward damping control to the CC-VSG structure, it is possible to independently change the inertial response, the damping ratio, and the contribution to the microgrid frequency control, as well as to maintain the SoC of ESS in order to achieve the desired control objectives.

3. Theory Description

3.1. Modeling a Two-Unit System with a Common Load

In the studied microgrid, the processes related to the frequency deviation mainly depend on the active power balance between the power sources (PDG and PVSG) and the load (PLoad); therefore, for the analysis performed in this section, the voltage and reactive power control loops of the DG and VSG can be neglected. The VSG inner current control loop and electromagnetic transients in the network are also excluded since their time scale is much lower than the range considered for frequency control processes. In this connection, the equation of output electric power for the i-th source in linearized form is described by Equation (15) [50]:
Δ P i = S i S j S i + S j Δ δ i Δ δ j + S i S i + S j Δ P L o a d
where i and j denote the corresponding source, ΔPLoad is the magnitude of load change per unit, and Si is the synchronizing power of the i-th source. The latter is determined for the DG and VSG according to Equations (16) [50] and (17) [47], respectively:
S D G = U 1 , 0 U b u s , 0 L g 1 cos δ D G , 0
S V S G = U 2 , 0 X C f L g L v + L g 2 X C f L g cos δ V S G , 0
where X C f L g = 1 1 L g 2 C f , the subscript 0 is used to denote the steady-state value of the parameter at the linearization point.
Taking into account the obtained dependencies, Figure 3 presents a structural diagram that reflects the processes of the active power and frequency changes during a parallel operation of the DG and VSG in an isolated microgrid. The active power control loop of the CC-VSG is presented earlier in Figure 2. Such a control loop for the DG is based on the well-known swing equation for the synchronous generators [51], the standard governor, and the first-order lag function with a time-constant TDG to reproduce delays in the DG’ mechanical parts [52].
In the obtained structural diagram (Figure 3), the dependences of the output mutual angle Δδi on the input active power ΔPi for each source (18)–(19) are highlighted, which are defined as open-loop transfer functions (superscript ‘ol’):
G δ P , D G o l s = Δ δ D G Δ P D G = = ω b T D G s + 1 2 H D G T D G s 3 + 2 H D G + D D G T D G s 2 + D D G + K ω , D G s + K i , D G
G δ P , V S G o l s = Δ δ V S G Δ P V S G = ω b + K F F s 2 H V S G s 2 + D V S G + K ω , V S G s
The battery SoC control loop is described by a PI controller whose open-loop transfer function GolSoC(s) is rather simple. As a result, the closed-loop transfer function GP,SoC(s) of the active power and frequency control loop, taking into account the energy recovery control, is described by Equation (20).
G P , S o C s = Δ P o u t Δ P L o a d = = S D G S V S G G δ P , V S G o l s S V S G 1 + G S o C o l s G δ P , D G o l s S D G S D G + S V S G S D G + S V S G + S D G S V S G G δ P , D G o l s + 1 + G S o C o l s G δ P , V S G o l s

3.2. Sizing of BESS for VSG

The BESS energy capacity must be sufficient to achieve the desired control objectives with the required quality. Therefore, it is necessary to take into account the amount of energy (ΔE) that is consumed at each of the control stages and, based on this, to choose the nominal energy capacity (Enom). Moreover, it is obvious that the control algorithms used should provide the lowest possible energy consumption while ensuring the required response quality to increase the technical and economic efficiency of the BESS application as a whole. On this basis, the BESS nominal energy capacity can be found from Equation (21):
Δ E = E n o m E min = E n o m Δ E E n o m = E n o m Δ E max , % E n o m = Δ E Δ E max , % / 100
where ΔEmax,% is the maximum permissible value of energy deviation from the nominal value consumed for regulation processes in %, and Emin is the remaining value of BESS energy capacity after performing regulation functions.
The energy consumed by the BESS can be conditionally divided into two stages based on the duration of the transients’ stages [53,54]. At the first moment of time after the disturbance, the energy is consumed to ensure the inertial response. This value (ΔEinertia) can be determined on the basis of the known formula for the kinetic energy (22) [55]:
Δ E i n e r t i a = 1 2 J V S G ω n o m 2 ω n a d i r 2 J V S G ω n o m ω n o m ω n a d i r = = J V S G ω n o m 2 Δ ω max ω n o m = H V S G S n o m Δ ω max ω n o m
where JVSG is the VSG moment of inertia, ωnadir is the minimum value of frequency reached during the transient period, ωnom and Snom are the nominal grid frequency and ESS power capacity, and Δωmax is the maximum deviation of frequency.
The second stage of the transients is related to the primary regulation and frequency damping and is much slower. Therefore, the structural diagram in Figure 3 can be simplified by assuming equality of frequencies at all points of the grid ΔωDG = ΔωVSG = Δω, which allows for the exclusion of the equations of synchronizing powers. The resulting scheme is shown in Figure 4, and the closed-loop transfer function describing it is represented by Equation (23).
G ω s = Δ ω Δ P L o a d = = s T D G s + 1 s T D G s + 1 2 H D G + H V S G s + D D G + D V S G + K ω , V S G + K i , D G + K ω , D G s
Given the frequency response to a load change in the presented diagram (Figure 4), the corresponding VSG power response (ΔPVSG,ω) can be determined using Equation (24). By applying the final value theorem to Equation (24), which describes the coupling of frequency and time domains at t → ∞, it is possible to determine the quantity of consumed energy (ΔEfreq) for this response (25).
Δ P V S G , ω = H V S G s + D V S G + K ω , V S G Δ ω
Δ E f r e q = lim s 0   s E f r e q s = Δ P V S G , ω s 0 = D V S G + K ω , V S G K i , D G Δ P L o a d
Thus, using the simple Equations (22) and (25), it is possible to determine approximately the amount of BESS energy that is consumed at each stage of the transient process and the corresponding impact of the VSG parameters. To assess the validity of the simplified equations obtained, they can be compared with the value of the total BESS energy consumed, which is found as a time-domain dependence Δe(t) using the inverse Laplace transform. The resulting equation has the following form (26):
Δ e t = L 1 Δ E s = L 1 1 s Δ P V S G , ω
For the quantitative comparison, it is necessary to determine the tuning parameters of the system based on the permissible ranges of frequency change. We assume the permissible RoCoF of not more than 1 Hz/s and the DG inertia constant equal to HDG = 2.5 s. Then, the VSG inertia constant is equal to HVSG = 5 s, which is found by the known equation RoCoF = (ωnomΔP)/2(HVSG + HDG), where ΔP = 0.3 pu [55]. Based on the assumed frequency deviation Δωmax of not more than 0.06 pu, the damping and droop coefficients can be found by the following equation Δωmax = ΔP/(DDG + DVSG + Kω,DG + Kω,VSG) [56]. We suppose that DDG = 0, DVSG = 0, Kω,DG = 3, Kω,VSG = 2, then the frequency deviation, considering the secondary control Ki,DG = 2, will be Δω = 0.039 pu, which is obtained by plotting in the time domain the dependence (23) after the inverse Laplace transform. Substituting the selected parameters into Equations (22) and (25), the following results are obtained: ΔEinertia = 0.195 pu∙s, ΔEfreq = 0.3 pu∙s, and, accordingly, the total amount of consumed energy ΔE = 0.495 pu∙s. At the same parameters, the dependence Δe(t) is plotted in Figure 5 (brown curve in Figure 5). It follows from the obtained curve that the value of energy at time t → ∞ is equal to 0.301 pu∙s, and the value of energy consumed on the inertial response is equal to 0.184 pu∙s. As a result, the total change in energy is 0.485 pu∙s. Thus, the obtained simplified equations for finding the energy consumption at each stage of the transient process coincide with the detailed dependence Δe(t). It should be noted that with the adopted parameters, a significant contribution to the energy deviation is made by the inertial response. In this case, there are oscillations in frequency, which indicate an insufficient damping factor. In addition, it is necessary to aim at minimizing the DG usage for the primary frequency control to ensure its optimal operation without rapid changes in the output active power. In this regard, it is proposed to take Kω,DG = 0 and Kω,VSG = 10, which corresponds to the maximum frequency deviation Δωmax = 0.03 pu with ΔP = 0.3 pu. Thus, we find that the energy capacity of BESS is mainly consumed to provide primary regulation and damping with a reduction of the oscillations in the system (ΔEinertia = 0.1 pu∙s, ΔEfreq = 1.5 pu∙s, blue curve in Figure 5). Taking the permissible value of energy capacity deviation ΔEmax,% = 30%, the necessary BESS nominal energy capacity can be obtained by Equation (21)—Enom = 16.6 pu∙s. At the same time, the allowable energy capacity depends on the reference SoCref. In this paper, it is assumed that the value of SoCref is equal to 0.5 pu (or 50%). In practice, the value of the SoCref depends on the purposes for which the BESS is used. As a rule, most of the power capacity of BESS is reserved to provide a power supply to the load in case of a shutdown of the power source in the microgrid. Accordingly, the SoCref is set based on this capacity, which must be permanently stored in the BESS. The larger the load power to be supported by the BESS in the event of a power failure, the larger the SoCref must be set. Consequently, the smaller value of power capacity remains available for the frequency control.

3.3. Frequency-Domain Performance Assessment

For a comprehensive assessment of the dynamic response provided by the developed CC-VSG algorithm with different damping approaches (DVSG or KFF), the Bode plots of the full closed-loop transfer function of the active power and frequency control loop with and without the energy recovery control loop (GP,SoC(s) and GP(s), respectively) are considered. The transfer function GP(s) is obtained by excluding GolSoC(s) in Equation (20). The analysis of Bode plots allows us to simultaneously identify the areas of low-frequency processes, corresponding to slow processes of frequency control and oscillation damping, and high-frequency processes, which correspond to the inertial response. Due to this, it is possible to assess the impact of various factors and parameters at each stage of the transient process and to coordinate the operation of different control loops within the DG and VSG between each other to avoid negative mutual coupling.
Figure 6 shows the Bode plots of GP(s) with the tuning parameters adopted in Section 3.2 in the case of different coefficients for the secondary frequency control Ki,DG (blue and brown curves in Figure 6). The presence of the secondary control affects only the low-frequency range and reduces the steady-state frequency deviation to zero. In the high-frequency range, a resonant peak occurs. This resonance manifests itself due to the consideration of synchronizing power feedback in the GP(s) transfer function. The latter is confirmed by the fact that in the case of the Bode plot for the simplified loop Gω(s), which considers only the frequency change processes, under similar conditions, the above resonance peak is absent (yellow and purple curves in Figure 6). This resonance represents a problem of oscillations occurrence under stiff grid conditions due to insufficient damping properties of control loops [46]. In spite of the fact that this resonance is not related to the frequency control loops, it is necessary to take it into account because the required increase in the damping properties of the system can affect the low-frequency range, which is already related to the frequency change processes.
As mentioned earlier, it is possible to enhance the damping properties of CC-VSG using the conventional approach by increasing the damping coefficient DVSG in the swing equation (Figure 7a) or by using the gain KFF in the proposed feedforward controller (Figure 7b). From the dependencies obtained, it is evident that both of the indicated approaches resulted in a significant reduction of the resonant peak. However, in the case of DVSG, a decrease in the overshoot during the secondary frequency control is observed, which indicates the impact of DVSG on the high-frequency and low-frequency range of the processes. On the contrary, the KFF usage affects only the resonant peak, and the low-frequency range of the processes does not change, which is confirmed by the maintenance of the overshoot value during the secondary frequency control.
After the improvement of CC-VSG damping properties, an energy recovery control loop is added. The obtained Bode plots of GP,SoC(s) for two damping approaches at randomly adopted PI controller tuning parameters (Kp,SoC = 0.5 and Ki,SoC = 0.014) are shown in Figure 8. In the case of DVSG, the addition of a PI controller to recover the SoC level in the presence of secondary frequency control leads to the occurrence of a resonant peak at low frequency and, correspondingly, low-frequency oscillations with increasing magnitude, leading to instability (Figure 8a). It should also be noted that setting DVSG = 100 pu leads to an increase in the energy ΔEfreq according to Equation (25), which is spent on primary regulation and damping. It should also be noted that in the case of DVSG = 100 pu, there is an increase in the energy ΔEfreq according to Equation (25), which is consumed for primary regulation and damping. In this connection, an increase in the BESS nominal energy capacity is inevitable, which for the adopted parameters will be Enom = 183 pu∙s. Otherwise, the SoC of ESS exceeds the permissible ranges (at the adopted ΔEmax,% = 30% and SoCref = 0.5 pu, the permissible values are SoCmin = 0.2 pu and SoCmax = 0.8 pu). Despite this significant change, the resonant peak remains—there is only a decrease in its frequency (yellow curve in Figure 8a). On the contrary, in the case of KFF, the addition of a SoC control does not lead to a resonance despite the presence or absence of the secondary regulation. In the latter case, an additional overshoot occurs. It should be noted that the most significant in this case is the possibility of preserving the selected BESS nominal energy capacity with the use of the proposed feedforward controller.
Summarizing the above, it follows that the addition of an appropriate energy recovery control loop to the CC-VSG structure leads to the occurrence of mutual coupling with the secondary frequency control loop. Moreover, depending on the damping approach used, the nature of mutual coupling differs. Thus, it is necessary to coordinate and tune these loops with each other.

3.4. Determination of BESS Energy Recovery Control Loop Parameters by Bandwidth Separation of Control Loops

An effective approach to tuning different loops operating in the same frequency range but performing different functions is to coordinate their bandwidths ωbw [34,57]. For the considered microgrid within the assumed assumption of frequency equality in all nodes, as well as the exclusion of delay in the DG mechanical part, the nature of the frequency change is related to the primary and secondary frequency control, as well as the recovery of the SoC level. Moreover, given the evident objectives at each of these stages, the sequence of their performance should be exactly as presented. In this regard, the corresponding bandwidths should be similarly arranged: from the fastest for the primary regulation loop to the slowest for the energy recovery control loop. If the tertiary regulation is present in the system, it will also be necessary to coordinate this bandwidth with the indicated ones.
Considering the assumed conditions, the transfer function Gprim(s) and the bandwidth ωbw,prim of the primary frequency control loop are found using Equation (27) by excluding the integral controller of the secondary frequency control Ki,DG/s in the simplified structural diagram (Figure 4). The transfer function Gsec(s) and the bandwidth ωbw,sec for the secondary control are found with the integral controller Ki,DG/s. For the determination of ωbw,sec, it is assumed that the inertial component is decayed at this stage of the process, i.e., HVSG = 0 and HDG = 0. The resulting equations have the form (28). To obtain the transfer function of the SoC controller GSoC(s) and its bandwidth ωbw,SoC, it is assumed that the integral coefficient Ki,SoC is equal to zero since the process of energy recovery is rather slow. As a result, Equation (29) is obtained.
G p r i m s = Δ ω Δ P r e f = 1 2 H V S G + H D G s + D V S G + D D G + K ω , V S G + K ω , D G ω b w , p r i m = D V S G + D D G + K ω , V S G + K ω , D G 2 H V S G + H D G
G s e c s = Δ ω Δ ω r e f = 1 1 + 2 H D G + H V S G s + D V S G + D D G + K ω , V S G + K ω , D G s K i , S G ω b w , s e c K i , S G D V S G + D D G + K ω , V S G + K ω , D G
G SoC s = Δ SoC Δ SoC r e f = 1 1 + E n o m s K p , SoC + K i , SoC s ω b w , SoC K p , SoC E n o m
For the obtained transfer functions and their bandwidths (27)–(29), taking into account the indicated simplifications, the Bode plots are shown for the conventional approach to damping by DVSG within the proposed CC-VSG (Figure 9a).
It can be seen from the obtained dependencies that the bandwidth ωbw,prim is significantly higher than all others. Consequently, the regulators providing primary control and inertial response are fast-acting, and their dynamics of operation do not interfere with other loops, which corresponds to the assumed logic of coordination and tuning. On the contrary, the processes of secondary control and energy recovery control have comparable operating speeds, but ωbw,sec < ωbw,SoC. This circumstance leads to the fact that after the primary frequency control, the SoC recovery is initiated, and only then is the secondary frequency control performed. Due to this performance, a resonant peak occurs in the low-frequency range. At the same time, when the proposed feedforward controller is used for damping, the bandwidths are arranged according to the specified requirement: ωbw,SoC < ωbw,sec < ωbw,prim (Figure 9b). Due to this, it is possible to exclude the occurrence of resonance phenomena in the low-frequency range.
It should be noted that in the case of DVSG, compliance with the bandwidth ratios of the control loops is possible by increasing ωbw,sec or decreasing ωbw,SoC. It follows from Equation (28) that to increase ωbw,sec, either Ki,DG should be increased or DVSG and Kω,VSG should be decreased. However, in the first case, the DG does not always have sufficient technological capabilities to provide secondary control with the required speed, and in the second case, the damping factor will be reduced, leading to an increase in the resonant peak. In this connection, the only solution is to change ωbw,SoC. In the case of decreasing Kp,SoC, the low-frequency resonance is leveled, but there is a decrease in damping properties in the SoC control loop, and an overshoot occurs (brown curve in Figure 10a). Therefore, there remains only the case with increasing the BESS nominal energy capacity up to Enom = 183 pu∙s. In such a case, by significantly reducing ωbw,SoC, it is possible to increase Kp,SoC and obtain an acceptable quality of the dynamic response within the necessary compliance with the bandwidth separation (Figure 10b). Thus, the obtained results prove for the second time the inevitability of a significant increase in the BESS nominal energy capacity when the conventional approach to damping with DVSG is used.
The obtained theoretical results prove that the proposed feedforward controller within the CC-VSG structure provides a wide control range for tuning parameters of different control loops within the bandwidth separation. On this basis, it is possible to tune the energy recovery control loop of the BESS. It is known that the transient process duration is approximately from 2 to 4 times relative to 1/ωbw. Within the adopted approach, it is necessary that the secondary frequency control is completed, and only then should the energy recovery be initiated. Thus, the bandwidth ωbw,SoC can be taken equal to 0.1 pu, which is twice less than the bandwidth ωbw,sec = 0.2 pu. The latter, in turn, is determined on the basis of ensuring both the effective damping and permissible frequency deviation Δω, which is equal to 0.1 pu for the assumed Kω,VSG = 10 (see Section 3.2). Based on Equation (29), the coefficient Kp,SoC = 1.77 can be determined. Due to the fact that the energy recovery control loop is a typical second-order function, the integral coefficient Ki,SoC can be found using the well-known equation for the damping factor ζ [58]. In this case, the value of ζ should be taken in the range from 0.707 to 1 pu. Taking ζ = 1, the coefficient Ki,SoC = 0.05 can be obtained from Equation (30). The final parameters after tuning for the considered microgrid are summarized in Table 1.
K i , SoC = K p , SoC 2 4 ζ 2 E n o m
To verify the quality of the transient process after the performed tuning, the transient characteristics of the frequency and SoC deviation under the step load increase have been plotted using the detailed closed-loop transfer function (Figure 3) in MATLAB/Simulink (Figure 11). From the plots obtained, it can be seen that the addition of a tuned SoC control loop to the CC-VSG structure allows us to achieve a lower deviation in the SoC level while not exceeding the allowable frequency deviation Δωmax = 0.03 pu (brown curves in Figure 11) compared to the case without this loop (blue curves in Figure 11). As a result, the BESS energy saving can be achieved, which allows reducing the nominal energy capacity by 18% while maintaining the transient performance (yellow curves in Figure 11).

3.5. State-Space Model

In order to comprehensively analyze the proposed CC-VSG structure with the SoC control, a linearized state-space model for the structural diagram reflecting the processes of active power and frequency changes in an isolated microgrid (Figure 3) is formed. In general, the obtained state-space model can be represented by Equation (31):
Δ x = A x 0 Δ x + B x 0 Δ u
The state vector Δx and the input vector Δu are represented by Equation (32), given the parameters of the system and control loops:
Δ x = γ D G Δ P g o v Δ ω D G Δ δ D G β SoC Δ SoC Δ ω V S G Δ δ s Δ δ   T Δ u = Δ P L o a d SoC i n i SoC r e f   T
The formed CC-VSG state-space model with parameters from Table 1 has nine eigenvalues, among which the conjugate pairs of roots λ3,4 and λ7,8 are of the greatest interest. The sensitivity coefficients to the damping coefficients DVSG and KFF, as well as the participation factors of the state variables, are calculated for these eigenvalues. The obtained results are presented in Table 2.
It follows from the obtained values that the KFF parameter affects only λ3,4, which characterizes the occurrence of resonance in the stiff grid, as identified in Section 3.2 (Figure 6). This fact is clearly confirmed by the plotted root locus in Figure 12. As can be seen, with the increase in KFF, the roots λ3,4 move monotonically to the left, which indicates the improvement of CC-VSG damping properties—the damping factor ζ increases from 0.02 to 0.404 pu.
On the contrary, the DVSG parameter affects not only λ3,4, but also the low-frequency range characterized by λ7,8. Moreover, based on the calculated values of the sensitivity coefficients, this impact is significant (Figure 13). The latter proves the conclusions drawn that the use of the conventional damping coefficient DVSG in the CC-VSG structure affects both the low-frequency range, associated with the secondary frequency control and the energy recovery control, and the high-frequency range, associated with the primary frequency control and the inertial response. This results in an excessive limitation of frequency deviation and a need to significantly increase the BESS nominal energy capacity to provide a required dynamic response.
By calculating the participation factors, it was found that the roots λ3,4, in addition to the frequency deviation of the diesel generator and VSG, are also affected by the mutual angle Δδ, which is equal to the difference of the angles ΔδDG and ΔδVSG. Thus, due to the affecting only the VSG phase angle, it becomes possible to improve the damping properties toward the resonance in the stiff grid without affecting the other eigenvalues, which confirms the validity of the application of the phase feedforward damping control within the proposed CC-VSG structure.

4. Simulation Results and Discussion

To verify the results obtained during the analysis of the transfer functions and the state-space model, a detailed time-domain mathematical modeling of the microgrid shown in Figure 1 was performed in PSCAD/EMTDC v5.0.2 software. The parameters of the synchronous generator of the DG and its control systems are given in Appendix A in Table A1. Structural diagrams of the automatic voltage regulator and the governor of the DG are shown in Figure 14.
The battery was modeled in the form of the classical Shepherd model [59], which is generally described by Equation (33) considering the current SoC level of the storage device:
V b a t t = E 0 R i n t i b a t t K 1 SoC + A e B Q r a t e d 1 SoC
where Vbatt is the battery voltage (V), E0 is the battery constant voltage (V), Rint is the internal resistance (Ohm), K is the polarization voltage (V), A is the exponential zone amplitude (V), B is the exponential zone time constant inverse (1/(Ah)), ibatt is the battery current (A), and Qrated is the battery rated capacity (Ah).
The calculation of the current SoC value for the battery was performed according to Equation (34), taking into account the conversion of simulation time from seconds to hours. According to the existing classification of SoC estimation techniques [60], this calculation method can be classified as an indirect model-based method. Considering a practical BESS, there is always an issue of SoC calculation errors, which are related to several reasons [61]. However, their analysis is out of the scope of this paper.
SoC m e a s = SoC i n i t 1 3600 1 Q r a t e d i b a t t d t
where SoCinit is the initial SoC of the battery.
The connection of the BESS to the AC network was performed through a detailed model of the grid inverter, the control system of which is based on the CC-VSG structure proposed in this paper with a feedforward controller and energy recovery control. The main parameters of the battery and inverter control system are summarized in Table A2 in Appendix A.

4.1. Analysis of VSG-Based BESS Operation with and without SoC-Level Control

In the first group of experimental studies, the microgrid frequency profile under the step load change in the microgrid (ΔPLoad = 0.3 pu) was assessed. At the same time, a number of control scenarios were considered (Figure 15):
(1)
Case 1—operation of the DG without BESS;
(2)
Case 2—operation of the DG with BESS and CC-VSG algorithm, but without the energy recovery control;
(3)
Case 3—operation of the DG with BESS and CC-VSG algorithm, including the energy recovery control loop, the parameters of which are coordinated with the bandwidth of the secondary frequency control (Table 1);
(4)
Case 4—the same as Case 3, but the bandwidth of the energy recovery control loop is increased and equal to the bandwidth of the secondary frequency control (Kp,SoC = 4.07, Ki,SoC = 0.26), while the damping factor for this loop remains the same (ζ ≈ 1).
Figure 15a clearly demonstrates that in the case of operation of only DG on the load, there is a maximum frequency deviation (Δfmax ≈ 1.8 Hz) and RoCoF (≈ 3.8 Hz/s), as well as continuous frequency oscillations with a damping time of about 13 s. Due to the installation of BESS with the proposed CC-VSG algorithm in the microgrid, it becomes possible to significantly reduce both the magnitude of frequency deviation by almost one-third to Δfmax = 1.22 Hz and the RoCoF by more than three times to ≈ 1.1 Hz/s (blue curves in Figure 15b). However, the disturbance results in a consistent discharge of the battery (ΔSoCmeas = 11.41%) without recovery of the SoC level to the previous value.
Through the addition of energy recovery control to the CC-VSG structure, the maintaining of the storage SoC at a reference level (SoCref = 50%) is achieved after the disturbances (brown curves in Figure 15b). As a result, the BESS is always able to participate in the microgrid frequency control. In this case, the value of Δfmax increases slightly to 1.48 Hz relative to the previous case. However, as can be seen, by applying the proposed recommendations for the tuning of the energy recovery control loop, it is possible to fulfill the accepted requirements for the microgrid frequency deviation range (±1.5 Hz relative to the nominal value). In addition, based on the waveform for the current SoC level, the maximum ΔSoC is reduced to 6.77% after the disturbance due to the SoC control operation, allowing a reduction of the nominal energy capacity, which was proved earlier in Section 3.4.
In the fourth case, the bandwidth of the energy recovery control loop is increased and almost equal to the bandwidth of the secondary frequency control. This results in a resonant peak similar to the one shown in the Bode plots in Figure 9a in Section 3.4. The reason for the latter is the emergence of mutual impact of the processes of the energy recovery control and the secondary frequency control, which are opposite in their functions within the BESS and microgrid in terms of the power flow direction. This is expressed in the emergence of undamped frequency and power oscillations of significant magnitude; for example, the range of the microgrid frequency variation is from 47.51 Hz to 52.22 Hz. In case of more severe disturbance, oscillations with increasing magnitude may occur, which will lead to instability in the microgrid. Thus, the simulation results prove the applicability of the developed methodology for the bandwidth separation of different control loops.

4.2. Analysis of BESS Performance with CC-VSG Algorithm in the Case of Using the Damping Coefficient and the Proposed Feedforward Controller

The next stage of experimental research was to assess the efficiency of the proposed phase feedforward controller within the CC-VSG structure in comparison with the conventional damping coefficient with respect to the quality of frequency regulation in the microgrid. The simulation results are shown in Figure 16.
As can be seen from Figure 16, due to the use of the conventional swing equation with a damping coefficient within the CC-VSG structure (blue curves in Figure 16), the best frequency profile is achieved—the maximum deviation Δfmax is only 0.17 Hz. However, such characteristics of the processes are possible only due to the high value of DVSG = 100 pu, which is caused by the necessity of ensuring the stable operation of the BESS grid inverter. In addition, in this case, the required nominal energy capacity is significantly increased (Enom = 183 pu∙s). As a result, the processes of both frequency and SoC level recovery are significantly delayed.
In the case of the application of the feedforward controller with the KFF coefficient (brown curves in Figure 16), the maximum frequency deviation is significantly higher (Δfmax = 1.48 Hz), but it is within the desired range of ±1.5 Hz, taking into account the setting of a low value of Kω,VSG and a much lower nominal energy capacity (Enom = 16.6 pu∙s). At the same time, due to the feedforward controller, the stability of the BESS operation with necessary stability margins is provided. Moreover, the flexible BESS contribution to the microgrid frequency control is possible due to the virtual governor. Consequently, by Kω,VSG tuning and an appropriate increase in the nominal energy capacity, it is possible to achieve results similar to the case with DVSG (yellow and purple curves in Figure 16).

4.3. Analysis of the Microgrid Operation with Variable PV Generation under Different Approaches to BESS Control

In this case, a microgrid with DG, photovoltaic (PV) generation, BESS, and local load was simulated, as shown in Figure 17. The grid and PV array parameters are summarized in Table A3 in Appendix A. The following variants of BESS control were considered: (i) a droop-based grid-forming control [62] (Figure 18a), (ii) a conventional grid-following control with PLL (Figure 18b), (iii) a CC-VSG-based grid-forming control without the energy recovery control (Figure 18c), and (iv) a CC-VSG-based grid-forming control with the energy recovery control (Figure 18d).
Comparing the results presented in Figure 18a,b, it can be seen that the application of the grid-forming control within the BESS allows for a significant reduction in the frequency oscillations in the microgrid, which in general has a positive impact on the electric power quality and the DG operation. The latter lies in the fact that the BESS mainly responds to changes in the power balance due to variable PV generation. Otherwise, when the BESS operates with the grid-following control and is only used to load peak shaving with a relatively constant active power output at certain time intervals (Figure 18b), only the DG responds to the changes in the PV generation, which leads to power and frequency oscillations in the microgrid. At the same time, due to the absence of the energy recovery control, the battery is gradually discharged naturally in both cases.
In the case of application of the proposed modified CC-VSG structure (Figure 18c) within the BESS, the processes are similar to the case of BESS with droop control (Figure 18a). It should be noted that the droop setting was performed for a specific case to approximate the quality of the transient performance to the case with CC-VSG and cannot be directly applied to other operating conditions. At further addition of the energy recovery control loop to the CC-VSG structure (Figure 18d), the waveforms of the DG and BESS active power, as well as the microgrid frequency, are unchanged. At the same time, the SoC level of the battery is controlled around the reference value SoCref = 50%. The obtained results prove the efficiency of the solutions proposed in this paper for the BESS control, including the real dynamics of the microgrid operation.

5. Conclusions and Prospects

In this paper, the necessity of developing a novel VSG structure for the ESS grid inverter served as motivation since, in the case of using the VSG algorithm with the conventional damping coefficient in the swing equation, a significant overestimation of its value is inevitable to suppress the resonance that occurs in the microgrid. This results in an increase in the ESS nominal energy capacity for two reasons: (i) the necessity to fulfill the limitations on the SoC level deviation beyond the permissible values and (ii) the inability to coordinate the settings of the secondary frequency control and the energy recovery control loop. In the developed CC-VSG structure, due to the use of a feedforward controller, it is possible to dampen the oscillations without affecting the low-frequency range associated with the secondary frequency control. Therefore, the addition of the PI controller to the CC-VSG structure to recover the SoC level does not lead to the occurrence of mutual coupling with the damping loop. The proposed algorithm can be a basis for the development of control systems for a practical BESS and be useful for researchers involved in the development of grid-forming control methods. In addition, the proposed tuning technique can be used in existing microgrids to coordinate the operation of different controllers.
In comparison with existing similar algorithms, two aspects should be emphasized. Firstly, a PI controller is used to maintain the SoC level. This control loop is the simplest method of continuous control. One of the main goals of this paper was to implement the simplest method so as not to complicate the whole algorithm. This was achieved by using a PI controller. Secondly, the complexity of the implementation of such control consists of the compatibility of SoC control and frequency control within the VSG-based control since these two processes have opposite effects on the output power of the BESS. Therefore, it is necessary not only to implement an effective VSG frequency control but also to achieve the compatibility of this control loop with the SoC controller. The proposed approach to VSG tuning on the basis of the bandwidth separation of different control loops provided an effective SoC recovery without a negative impact on the microgrid frequency control in general. As a result, the combination of the proposed solutions for the VSG control allowed us to reduce the BESS nominal energy capacity while maintaining the desired RoCoF and maximum frequency deviation values in the microgrid. Compared to the conventional VSG damping approach, the difference in the nominal energy capacity was 11 times.
It is worth noting that the developed algorithm has the following limitations: (i) the maximum permissible charge/discharge current of the battery is not controlled, and (ii) the reactive power of the BESS is not limited, considering the rated power of the inverter. The improvements to the algorithm to overcome these shortcomings will be carried out in a future work. In addition, future work will focus on the development of an experimental setup for a comprehensive verification of the proposed modified CC-VSG structure with a feedforward controller and an energy recovery control loop within practical energy storage systems. Such a hardware realization will allow the proposed solution to be debugged and the specifics of BESS operation in the VSG algorithm to be addressed.

Author Contributions

Conceptualization, A.A.; Methodology, A.A. and P.I.; Formal Analysis, P.I.; Software, A.A. and N.R.; Investigation, V.R.; Validation, V.R. and P.R.; Resources, P.R.; Supervision, A.S.; Funding Acquisition, A.S.; Writing—Original Draft, A.A. and V.R.; Writing—Review and Editing, N.R. and A.S. All authors have read and agreed to the published version of the manuscript.

Funding

The reported study was funded by the Russian Science Foundation, project number 24-29-00004.

Data Availability Statement

The data presented in this study are available on request from the corresponding author. The data are not publicly available due to privacy or ethical restrictions.

Acknowledgments

The authors thank the reviewers for their valuable suggestions and comments.

Conflicts of Interest

The authors declare no conflicts of interest.

Appendix A

Table A1. Diesel generator parameters.
Table A1. Diesel generator parameters.
ParameterValueParameterValue
Snom, MVA1R1d, X1d, pu0.9029, 7.911
Unom, V600R1q, X1q, pu0.05203, 0.3047
fnom, Hz50uref, ωref, pu1
HDG, s2.5KU, pu15
Rs, Xs, pu0.01727, 0.07Tf, s0.3
Xad, Xaq, pu2.83, 2.37Emax, Emin, pu2.1, 0
Rfd, Xfd, pu0.006871, 0.5956Tmax, Tmin, pu1.1, −0.02
Table A2. Battery and inverter parameters.
Table A2. Battery and inverter parameters.
ParameterValueParameterValue
Unom, V3.123UDC, V1500
Qnom, A∙h2.761fsw, kHz4.5
Uexp, V3.301Kp,CC, pu0.052
Qexp, A∙h2.592Ki,CC, pu∙s13.2
Ufull, V4.135Rv, pu0
Qrated, A∙h2.998Lv, pu0.105
R, Ohm0.025Ku, pu1
Table A3. Grid and PV parameters.
Table A3. Grid and PV parameters.
ParameterValueParameterValue
Rg1, mOhm0.03Rs, Ohm0.02
Lg1, mH0.114Rsh, Ohm100
Rg2, Ohm0.005UOC(cell), V0.835
Lg2, mH0.335ISC(cell), A2.5
Rg3, Ohm0.023Ns × Np per module36 × 1
Lg3, mH0.074Ns × Np per array22 × 250
Gref, W/m21000UDC, V1000
Tref, °C25fsw, kHz8
n1.5Kp,CC, pu1
UG, eV1.103Ki,CC, pu∙s50
IOR, A1 × 10−9Kp,PLL, pu950
α, A∙K−10.001Ki,PLL, pu∙s1900

References

  1. Bhowon, A.; Abo-Al-Ez, K.M.; Adonis, M. Variable-Speed Wind Turbines for Grid Frequency Support: A Systematic Literature Review. Mathematics 2022, 10, 3586. [Google Scholar] [CrossRef]
  2. Ang, T.-Z.; Salem, M.; Kamarol, M.; Das, H.S.; Nazari, M.A.; Prabaharan, N. A Comprehensive Study of Renewable Energy Sources: Classifications, Challenges and Suggestions. Energy Strategy Rev. 2022, 43, 100939. [Google Scholar] [CrossRef]
  3. Maatallah, T.; Ghodhbane, N.; Ben Nasrallah, S. Assessment Viability for Hybrid Energy System (PV/Wind/Diesel) with Storage in the Northernmost City in Africa, Bizerte, Tunisia. Renew. Sustain. Energy Rev. 2016, 59, 1639–1652. [Google Scholar] [CrossRef]
  4. Costa, T.S.; Villalva, M.G. Technical Evaluation of a PV-Diesel Hybrid System with Energy Storage: Case Study in the Tapajós-Arapiuns Extractive Reserve, Amazon, Brazil. Energies 2020, 13, 2969. [Google Scholar] [CrossRef]
  5. Abusorrah, A.M.; Sepahvand, H. A Frequency/Phase/Amplitude Estimator for Three-Phase Applications Operating at a Low Sampling Rate. Mathematics 2024, 12, 363. [Google Scholar] [CrossRef]
  6. Deng, X.; Mo, R.; Wang, P.; Chen, J.; Nan, D.; Liu, M. Review of RoCoF Estimation Techniques for Low-Inertia Power Systems. Energies 2023, 16, 3708. [Google Scholar] [CrossRef]
  7. Farrokhabadi, M.; Canizares, C.A.; Simpson-Porco, J.W.; Nasr, E.; Fan, L.; Mendoza-Araya, P.A.; Tonkoski, R.; Tamrakar, U.; Hatziargyriou, N.; Lagos, D.; et al. Microgrid Stability Definitions, Analysis, and Examples. IEEE Trans. Power Syst. 2020, 35, 13–29. [Google Scholar] [CrossRef]
  8. Afifi, M.A.; Marei, M.I.; Mohamad, A.M.I. Modelling, Analysis and Performance of a Low Inertia AC-DC Microgrid. Appl. Sci. 2023, 13, 3197. [Google Scholar] [CrossRef]
  9. Aly, M.; Mohamed, E.A.; Noman, A.M.; Ahmed, E.M.; El-Sousy, F.F.M.; Watanabe, M. Optimized Non-Integer Load Frequency Control Scheme for Interconnected Microgrids in Remote Areas with High Renewable Energy and Electric Vehicle Penetrations. Mathematics 2023, 11, 2080. [Google Scholar] [CrossRef]
  10. Rosso, R.; Wang, X.; Liserre, M.; Lu, X.; Engelken, S. Grid-Forming Converters: Control Approaches, Grid-Synchronization, and Future Trends—A Review. IEEE Open J. Ind. Appl. 2021, 2, 93–109. [Google Scholar] [CrossRef]
  11. Baier, C.R.; Melin, P.E.; Torres, M.A.; Ramirez, R.O.; Muñoz, C.; Quinteros, A. Developing and Evaluating the Operating Region of a Grid-Connected Current Source Inverter from Its Mathematical Model. Mathematics 2024, 12, 1775. [Google Scholar] [CrossRef]
  12. Garzon, O.D.; Nassif, A.B.; Rahmatian, M. Grid Forming Technologies to Improve Rate of Change in Frequency and Frequency Nadir: Analysis-Based Replicated Load Shedding Events. Electronics 2024, 13, 1120. [Google Scholar] [CrossRef]
  13. Kikusato, H.; Orihara, D.; Hashimoto, J.; Takamatsu, T.; Oozeki, T.; Matsuura, T.; Miyazaki, S.; Hamada, H.; Miyazaki, T. Verification of Power Hardware-in-the-Loop Environment for Testing Grid-Forming Inverter. Energy Rep. 2023, 9, 303–311. [Google Scholar] [CrossRef]
  14. Anttila, S.; Döhler, J.S.; Oliveira, J.G.; Boström, C. Grid Forming Inverters: A Review of the State of the Art of Key Elements for Microgrid Operation. Energies 2022, 15, 5517. [Google Scholar] [CrossRef]
  15. Mallemaci, V.; Mandrile, F.; Rubino, S.; Mazza, A.; Carpaneto, E.; Bojoi, R. A Comprehensive Comparison of Virtual Synchronous Generators with Focus on Virtual Inertia and Frequency Regulation. Electr. Power Syst. Res. 2021, 201, 107516. [Google Scholar] [CrossRef]
  16. Citro, C.; Al-Numay, M.; Siano, P. Extensive Assessment of Virtual Synchronous Generators in Intentional Island Mode. Int. J. Electr. Power Energy Syst. 2024, 157, 109853. [Google Scholar] [CrossRef]
  17. Hadi Abdulwahid, A.; Al-Razgan, M.; Fakhruldeen, H.F.; Churampi Arellano, M.T.; Mrzljak, V.; Arabi Nowdeh, S.; Moghaddam, M.J.H. Stochastic Multi-Objective Scheduling of a Hybrid System in a Distribution Network Using a Mathematical Optimization Algorithm Considering Generation and Demand Uncertainties. Mathematics 2023, 11, 3962. [Google Scholar] [CrossRef]
  18. Leng, D.; Polmai, S. Virtual Synchronous Generator Based on Hybrid Energy Storage System for PV Power Fluctuation Mitigation. Appl. Sci. 2019, 9, 5099. [Google Scholar] [CrossRef]
  19. Mohamed, M.M.; El Zoghby, H.M.; Sharaf, S.M.; Mosa, M.A. Optimal Virtual Synchronous Generator Control of Battery/Supercapacitor Hybrid Energy Storage System for Frequency Response Enhancement of Photovoltaic/Diesel Microgrid. J. Energy Storage 2022, 51, 104317. [Google Scholar] [CrossRef]
  20. Soni, N.; Doolla, S.; Chandorkar, M.C. Inertia Design Methods for Islanded Microgrids Having Static and Rotating Energy Sources. IEEE Trans. Ind. Appl. 2016, 52, 5165–5174. [Google Scholar] [CrossRef]
  21. Yuan, C.; Yang, D.; Feng, J.; Liu, C. Constrained Operation Zone of a VSG Considering the DC-side Power Margin. J. Eng. 2019, 2019, 2563–2568. [Google Scholar] [CrossRef]
  22. Yuan, C.; Liu, C.; Yang, D.; Zhou, R.; Tang, N. Transient Characteristics and Physical Constraints of Grid-Tied Virtual Synchronous Machines. J. Power Electron. 2018, 18, 1111–1126. [Google Scholar] [CrossRef]
  23. Chen, J.; Liu, M.; Guo, R.; Zhao, N.; Milano, F.; O’Donnell, T. Co-Ordinated Grid Forming Control of AC-Side-Connected Energy Storage Systems for Converter-Interfaced Generation. Int. J. Electr. Power Energy Syst. 2021, 133, 107201. [Google Scholar] [CrossRef]
  24. Peng, Q.; Fang, J.; Yang, Y.; Liu, T.; Blaabjerg, F. Maximum Virtual Inertia From DC-Link Capacitors Considering System Stability at Voltage Control Timescale. IEEE J. Emerg. Sel. Top. Circuits Syst. 2021, 11, 79–89. [Google Scholar] [CrossRef]
  25. Xiong, X.; Wu, C.; Hu, B.; Pan, D.; Blaabjerg, F. Transient Damping Method for Improving the Synchronization Stability of Virtual Synchronous Generators. IEEE Trans. Power Electron. 2021, 36, 7820–7831. [Google Scholar] [CrossRef]
  26. Fang, J.; Tang, Y.; Li, H.; Li, X. A Battery/Ultracapacitor Hybrid Energy Storage System for Implementing the Power Management of Virtual Synchronous Generators. IEEE Trans. Power Electron. 2018, 33, 2820–2824. [Google Scholar] [CrossRef]
  27. Sarojini, R.K.; Palanisamy, K.; Sanjeevikumar, P.; Nielsen, J.B. Inertia Emulation Control Technique Based Frequency Control of Grid-connected Single-phase Rooftop Photovoltaic System with Battery and Supercapacitor. IET Renew. Power Gener. 2020, 14, 1156–1163. [Google Scholar] [CrossRef]
  28. Molina, M.G.; Mercado, P.E. Primary Frequency Control of Multi-Machine Power Systems with STATCOM-SMES: A Case Study. Int. J. Electr. Power Energy Syst. 2013, 44, 388–402. [Google Scholar] [CrossRef]
  29. Ma, Y.; Cao, W.; Yang, L.; Wang, F.; Tolbert, L.M. Virtual Synchronous Generator Control of Full Converter Wind Turbines with Short-Term Energy Storage. IEEE Trans. Ind. Electron. 2017, 64, 8821–8831. [Google Scholar] [CrossRef]
  30. Shi, M.; Chen, H.; Zhang, C.; Mei, F.; Fang, J.; Miao, H. A Virtual Synchronous Generator System Control Method with Battery SOC Feedback. In Proceedings of the 2018 2nd IEEE Conference on Energy Internet and Energy System Integration (EI2), Beijing, China, 20–22 October 2018; pp. 1–4. [Google Scholar] [CrossRef]
  31. Delille, G.; Francois, B.; Malarange, G. Dynamic Frequency Control Support by Energy Storage to Reduce the Impact of Wind and Solar Generation on Isolated Power System’s Inertia. IEEE Trans. Sustain. Energy 2012, 3, 931–939. [Google Scholar] [CrossRef]
  32. Guan, M. Scheduled Power Control and Autonomous Energy Control of Grid-Connected Energy Storage System (ESS) With Virtual Synchronous Generator and Primary Frequency Regulation Capabilities. IEEE Trans. Power Syst. 2022, 37, 942–954. [Google Scholar] [CrossRef]
  33. Hu, C.; Zhang, X.; Liu, F.; Shi, R.; Xu, H.; Cao, R. An SOC Based Control Strategy for VSG Using Weight Coefficient in Grid Connected Mode. In Proceedings of the 2016 IEEE 8th International Power Electronics and Motion Control Conference (IPEMC-ECCE Asia), Hefei, China, 22–26 May 2016; pp. 1743–1746. [Google Scholar] [CrossRef]
  34. Shim, J.W.; Verbic, G.; Zhang, N.; Hur, K. Harmonious Integration of Faster-Acting Energy Storage Systems Into Frequency Control Reserves in Power Grid With High Renewable Generation. IEEE Trans. Power Syst. 2018, 33, 6193–6205. [Google Scholar] [CrossRef]
  35. Qi, N.; Fang, W.; Wang, W.; Liu, X.; Liu, S. SoC Balancing Method for Energy Storage Systems in DC Microgrids Using Simplified Droop Control. J. Power Electron. 2021, 21, 1200–1212. [Google Scholar] [CrossRef]
  36. Meng, T.; Lin, Z.; Wan, Y.; Shamash, Y.A. State-of-Charge Balancing for Battery Energy Storage Systems in DC Microgrids by Distributed Adaptive Power Distribution. IEEE Control Syst. Lett. 2022, 6, 512–517. [Google Scholar] [CrossRef]
  37. Zhi, N.; Ding, K.; Du, L.; Zhang, H. An SOC-Based Virtual DC Machine Control for Distributed Storage Systems in DC Microgrids. IEEE Trans. Energy Convers. 2020, 35, 1411–1420. [Google Scholar] [CrossRef]
  38. Chen, J.; Liu, M.; Milano, F.; O’Donnell, T. Adaptive Virtual Synchronous Generator Considering Converter and Storage Capacity Limits. CSEE J. Power Energy Syst. 2022, 8, 580–590. [Google Scholar] [CrossRef]
  39. Huang, Y.; Lv, Q.; Zhang, Z.; Dong, H. Virtual Synchronous Generator Adaptive Control of Energy Storage Power Station Based on Physical Constraints. Energy Eng. 2023, 120, 1401–1420. [Google Scholar] [CrossRef]
  40. Zhang, X.; Li, D.; Yang, Z.; Tian, L.; Meng, J.; Liu, Y.; Fu, C. Fuzzy Adaptive Virtual Inertia Control of Energy Storage Systems Considering SOC Constraints. Energy Rep. 2023, 9, 2431–2439. [Google Scholar] [CrossRef]
  41. Huang, Y.; Lv, Q.; Zhang, Z.; Dong, H. Fuzzy Adaptive Control of Virtual Synchronous Generator Based on Constraints of Discharge Characteristics of Energy Storage Batteries. In Proceedings of the 2022 3rd International Conference on Advanced Electrical and Energy Systems (AEES), Lanzhou, China, 23–25 September 2022; IEEE: New York, NY, USA; pp. 373–378. [Google Scholar] [CrossRef]
  42. Shim, J.W.; Verbic, G.; An, K.; Lee, J.H.; Hur, K. Decentralized Operation of Multiple Energy Storage Systems: SOC Management for Frequency Regulation. In Proceedings of the2016 IEEE International Conference on Power System Technology (POWERCON), Wollongong, NSW, Australia, 28 September–1 October 2016; IEEE: New York, NY, USA; pp. 1–5. [Google Scholar] [CrossRef]
  43. Suvorov, A.; Askarov, A.; Bay, Y.; Ufa, R. Freely Customized Virtual Generator Model for Grid-Forming Converter with Hydrogen Energy Storage. Int. J. Hydrogen Energy 2022, 47, 34739–34761. [Google Scholar] [CrossRef]
  44. Mandrile, F.; Carpaneto, E.; Bojoi, R. Grid-Feeding Inverter with Simplified Virtual Synchronous Compensator Providing Grid Services and Grid Support. IEEE Trans. Ind. Appl. 2021, 57, 559–569. [Google Scholar] [CrossRef]
  45. Suvorov, A.; Askarov, A.; Kievets, A. A Freely Configurable Structure of Virtual Synchronous Generator for Grid-Forming Converters. Electr. Eng. 2023, 105, 1331–1345. [Google Scholar] [CrossRef]
  46. Suvorov, A.; Askarov, A.; Bay, Y.; Maliuta, B.; Achitaev, A.; Suslov, K. Comparative Small-Signal Stability Analysis of Voltage-Controlled and Enhanced Current-Controlled Virtual Synchronous Generators under Weak and Stiff Grid Conditions. Int. J. Electr. Power Energy Syst. 2023, 147, 108891. [Google Scholar] [CrossRef]
  47. Suvorov, A.; Askarov, A.; Ruban, N.; Rudnik, V.; Radko, P.; Achitaev, A.; Suslov, K. An Adaptive Inertia and Damping Control Strategy Based on Enhanced Virtual Synchronous Generator Model. Mathematics 2023, 11, 3938. [Google Scholar] [CrossRef]
  48. Rico-Azagra, J.; Gil-Martínez, M. Feedforward of Measurable Disturbances to Improve Multi-Input Feedback Control. Mathematics 2021, 9, 2114. [Google Scholar] [CrossRef]
  49. Askarov, A.; Ruban, N.; Bay, Y.; Ufa, R.; Malkova, Y.; Suvorov, A. A Feedforward Control for Increasing the Damping Effect of Enhanced Current-Controlled Virtual Synchronous Generator. Electr. Power Syst. Res. 2024, 234, 110659. [Google Scholar] [CrossRef]
  50. Chen, M.; Zhou, D.; Wu, C.; Blaabjerg, F. Characteristics of Parallel Inverters Applying Virtual Synchronous Generator Control. IEEE Trans. Smart Grid 2021, 12, 4690–4701. [Google Scholar] [CrossRef]
  51. Meegahapola, L.; Bu, S.; Gu, M. Hybrid AC/DC Power Grids: Stability and Control Aspects; Power Systems; Springer International Publishing: Cham, Switzerland, 2022. [Google Scholar] [CrossRef]
  52. Kundur, P.S. Power System Stability. In Power System Stability and Control; CRC Press: Boca Raton, FL, USA, 2012. [Google Scholar]
  53. Vega-Herrera, J.; Rahmann, C.; Valencia, F.; Strunz, K. Analysis and Application of Quasi-Static and Dynamic Phasor Calculus for Stability Assessment of Integrated Power Electric and Electronic Systems. IEEE Trans. Power Syst. 2021, 36, 1750–1760. [Google Scholar] [CrossRef]
  54. Du, Y.; Lu, X.; Wang, X. Chapter Eight-Power System Operation with Power Electronic Inverter–Dominated Microgrids. In New Technologies for Power System Operation and Analysis; Jiang, H., Zhang, Y., Muljadi, E., Eds.; Academic Press: Cambridge, MA, USA, 2021; pp. 259–274. [Google Scholar] [CrossRef]
  55. Meng, L.; Zafar, J.; Khadem, S.K.; Collinson, A.; Murchie, K.C.; Coffele, F.; Burt, G.M. Fast Frequency Response from Energy Storage Systems—A Review of Grid Standards, Projects and Technical Issues. IEEE Trans. Smart Grid 2020, 11, 1566–1581. [Google Scholar] [CrossRef]
  56. Fan, L. Control and Dynamics in Power Systems and Microgrids; CRC Press: Boca Raton, FL, USA, 2017. [Google Scholar] [CrossRef]
  57. Liu, H.; Sun, C.; Zhang, X.; Wang, N.; Wang, J. Design of Energy Recovery Control for General Virtual Synchronous Machines Based on Various Forms of Energy Storage. Appl. Sci. 2023, 13, 8059. [Google Scholar] [CrossRef]
  58. Dorf, R.; Bishop, R. Modern Control Systems, 13th ed.; Pearson: Hoboken, NJ, USA, 2016. [Google Scholar]
  59. Dini, P.; Colicelli, A.; Saponara, S. Review on Modeling and SOC/SOH Estimation of Batteries for Automotive Applications. Batteries 2024, 10, 34. [Google Scholar] [CrossRef]
  60. Ul Hassan, M.; Saha, S.; Haque, M.E.; Islam, S.; Mahmud, A.; Mendis, N. A Comprehensive Review of Battery State of Charge Estimation Techniques. Sustain. Energy Technol. Assess. 2022, 54, 102801. [Google Scholar] [CrossRef]
  61. Shen, P.; Ouyang, M.; Han, X.; Feng, X.; Lu, L.; Li, J. Error Analysis of the Model-Based State-of-Charge Observer for Lithium-Ion Batteries. IEEE Trans. Veh. Technol. 2018, 67, 8055–8064. [Google Scholar] [CrossRef]
  62. Sun, C.; Joos, G.; Ali, S.Q.; Paquin, J.N.; Rangel, C.M.; Al Jajeh, F.; Novickij, I.; Bouffard, F. Design and real-time implementation of a centralized microgrid control system with rule-based dispatch and seamless transition function. IEEE Trans. Ind. Appl. 2020, 56, 3168–3177. [Google Scholar] [CrossRef]
Figure 1. Simplified scheme of the studied microgrid.
Figure 1. Simplified scheme of the studied microgrid.
Mathematics 12 02691 g001
Figure 2. Structural diagram of the modified CC-VSG.
Figure 2. Structural diagram of the modified CC-VSG.
Mathematics 12 02691 g002
Figure 3. Structural diagram reflecting the processes of active power and frequency changes in an isolated microgrid.
Figure 3. Structural diagram reflecting the processes of active power and frequency changes in an isolated microgrid.
Mathematics 12 02691 g003
Figure 4. Simplified structural diagram reflecting the processes of frequency change in an isolated microgrid.
Figure 4. Simplified structural diagram reflecting the processes of frequency change in an isolated microgrid.
Mathematics 12 02691 g004
Figure 5. Energy change at step load change ΔPLoad = 0.3 pu.
Figure 5. Energy change at step load change ΔPLoad = 0.3 pu.
Mathematics 12 02691 g005
Figure 6. Bode plots of closed-loop transfer functions GP(s) and Gω(s) with and without secondary frequency control.
Figure 6. Bode plots of closed-loop transfer functions GP(s) and Gω(s) with and without secondary frequency control.
Mathematics 12 02691 g006
Figure 7. Bode plots of GP(s) with different damping approaches: (a) DVSG = 100; (b) KFF = 20.
Figure 7. Bode plots of GP(s) with different damping approaches: (a) DVSG = 100; (b) KFF = 20.
Mathematics 12 02691 g007
Figure 8. Bode plots of GP,SoC(s) with initial parameters of energy recovery control loop and different damping approaches: (a) DVSG = 100; (b) KFF = 20.
Figure 8. Bode plots of GP,SoC(s) with initial parameters of energy recovery control loop and different damping approaches: (a) DVSG = 100; (b) KFF = 20.
Mathematics 12 02691 g008
Figure 9. Bode plots of transfer functions with different damping approaches: (a) DVSG; (b) KFF.
Figure 9. Bode plots of transfer functions with different damping approaches: (a) DVSG; (b) KFF.
Mathematics 12 02691 g009
Figure 10. Bode plots of GP,SoC(s) and GSoC(s) with DVSG: (a) Enom = 16.6 and Kp,SoC = 0.2; (b) Enom = 183 and Kp,SoC = 2.
Figure 10. Bode plots of GP,SoC(s) and GSoC(s) with DVSG: (a) Enom = 16.6 and Kp,SoC = 0.2; (b) Enom = 183 and Kp,SoC = 2.
Mathematics 12 02691 g010
Figure 11. Transient characteristics under step load change ΔPLoad = 0.3 pu in case of different parameters of the energy recovery control loop.
Figure 11. Transient characteristics under step load change ΔPLoad = 0.3 pu in case of different parameters of the energy recovery control loop.
Mathematics 12 02691 g011
Figure 12. (a) Root locus for the test scheme under KFF increasing from 1 to 50; (b) Zoomed view of the root locus area highlighted by the red dotted line.
Figure 12. (a) Root locus for the test scheme under KFF increasing from 1 to 50; (b) Zoomed view of the root locus area highlighted by the red dotted line.
Mathematics 12 02691 g012
Figure 13. (a) Root locus for the test scheme under DVSG increasing from 0 to 200; (b) Zoomed view of the root locus area highlighted by the red dotted line.
Figure 13. (a) Root locus for the test scheme under DVSG increasing from 0 to 200; (b) Zoomed view of the root locus area highlighted by the red dotted line.
Mathematics 12 02691 g013
Figure 14. Structural diagrams of DG’ control systems: (a) voltage regulator and (b) governor.
Figure 14. Structural diagrams of DG’ control systems: (a) voltage regulator and (b) governor.
Mathematics 12 02691 g014
Figure 15. Simulation results under step load increase in the microgrid: (a) DG without BESS, (b) DG with BESS and different control.
Figure 15. Simulation results under step load increase in the microgrid: (a) DG without BESS, (b) DG with BESS and different control.
Mathematics 12 02691 g015aMathematics 12 02691 g015b
Figure 16. Simulation results in the microgrid with BESS controlled by the CC-VSG with different damping approaches.
Figure 16. Simulation results in the microgrid with BESS controlled by the CC-VSG with different damping approaches.
Mathematics 12 02691 g016
Figure 17. Microgrid topology with a hybrid energy system.
Figure 17. Microgrid topology with a hybrid energy system.
Mathematics 12 02691 g017
Figure 18. Simulation results in the microgrid with variable PV generation: (a) BESS with droop control; (b) BESS with PLL; (c) BESS with CC-VSG and without energy recovery control; (d) BESS with CC-VSG and energy recovery control.
Figure 18. Simulation results in the microgrid with variable PV generation: (a) BESS with droop control; (b) BESS with PLL; (c) BESS with CC-VSG and without energy recovery control; (d) BESS with CC-VSG and energy recovery control.
Mathematics 12 02691 g018aMathematics 12 02691 g018b
Table 1. Network and control system parameters.
Table 1. Network and control system parameters.
ParameterValueParameterValue
fb, Hz50Kω,DG, pu0
Cf, pu0.112HVSG, s5
Lv, pu0.105DVSG, pu0
Lg1, pu0.155Kω,VSG, pu10
Lg2, pu0.05KFF, pu20
HDG, s2.5Enom, pu∙s16.6
DDG, pu0Ki,SoC, pu∙s0.05
TDG, s1Kp,SoC, pu1.77
Ki,DG, pu∙s2SoCref, pu0.5
Table 2. Eigenvalue analysis.
Table 2. Eigenvalue analysis.
ωn, HzSensitivity of λ to DVSGSensitivity of λ to KFFMainly Related State Variable
λ3,4≈2.3−0.016 ∓ j0.015−0.113 ∓ j0.024ΔωDG, ΔωVSG, Δδ
λ7,8<0.050.021 ∓ j0.0210βSoC, ΔSoC
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

Askarov, A.; Rudnik, V.; Ruban, N.; Radko, P.; Ilyushin, P.; Suvorov, A. Enhanced Virtual Synchronous Generator with Angular Frequency Deviation Feedforward and Energy Recovery Control for Energy Storage System. Mathematics 2024, 12, 2691. https://doi.org/10.3390/math12172691

AMA Style

Askarov A, Rudnik V, Ruban N, Radko P, Ilyushin P, Suvorov A. Enhanced Virtual Synchronous Generator with Angular Frequency Deviation Feedforward and Energy Recovery Control for Energy Storage System. Mathematics. 2024; 12(17):2691. https://doi.org/10.3390/math12172691

Chicago/Turabian Style

Askarov, Alisher, Vladimir Rudnik, Nikolay Ruban, Pavel Radko, Pavel Ilyushin, and Aleksey Suvorov. 2024. "Enhanced Virtual Synchronous Generator with Angular Frequency Deviation Feedforward and Energy Recovery Control for Energy Storage System" Mathematics 12, no. 17: 2691. https://doi.org/10.3390/math12172691

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