Next Article in Journal
Design and Implementation of a DC–DC Resonant LLC Converter for Electric Vehicle Fast Chargers
Previous Article in Journal
On the Implementation of “Dead Time” in a Synchronous Step-Down Converter
 
 
Font Type:
Arial Georgia Verdana
Font Size:
Aa Aa Aa
Line Spacing:
Column Width:
Background:
Article

Transient Frequency Modeling and Characteristic Analysis of Virtual Synchronous Generator

1
School of Electrical Engineering, Xi’an University of Technology, Xi’an 710048, China
2
State Grid Shaanxi Electric Power Co., Ltd., Xi’an 710048, China
*
Author to whom correspondence should be addressed.
Energies 2025, 18(5), 1098; https://doi.org/10.3390/en18051098
Submission received: 23 January 2025 / Revised: 15 February 2025 / Accepted: 19 February 2025 / Published: 24 February 2025
(This article belongs to the Section F: Electrical Engineering)

Abstract

:
The large-scale integration of renewable energy into power systems significantly alters their operational characteristics, reducing system inertia and posing challenges to transient frequency stability. Virtual synchronous generator (VSG) technology offers a solution by enhancing system inertia and improving transient frequency stability. To quantitatively analyze the transient characteristics of VSGs and optimize their control strategies, it is crucial to develop a comprehensive transient frequency model. This paper establishes a transient frequency model for VSGs, incorporating their inertial response, primary frequency regulation, and secondary frequency regulation. A MATLAB/Simulink-based (version R2021b) simulation model is constructed to validate the analytical model. Additionally, the impact of various control parameters on VSG transient frequency is examined, providing valuable insights and guidance for maintaining system frequency stability.

1. Introduction

To achieve the strategic goal of “peaking carbon dioxide emissions by 2030 and achieving carbon neutrality by 2060”, China is committed to building a power system dominated by renewable energy sources [1]. As a result, an increasing number of power electronic-interfaced renewable energy sources will be integrated into the grid. However, this transition significantly reduces system inertia and alters the system’s transient frequency characteristics during power disturbances. Consequently, control and protection mechanisms, such as under-frequency load shedding, may be triggered during power imbalances, posing significant challenges to the safe and stable operation of the power system [2,3,4].
To address the issue of declining inertia in renewable-energy-dominated power systems, virtual synchronous generator (VSG) technology has been adopted for renewable energy sources [5,6,7]. Renewable energy systems, such as wind power and photovoltaics, equipped with VSG controllers, can emulate the power frequency regulation characteristics of synchronous generators (SGs). This emulation enhances the equivalent inertia of the system, thereby improving transient frequency stability and promoting the safe and reliable operation of the power grid [8].
Developing a mathematical model of the VSG is a prerequisite for analyzing its transient frequency characteristics [9,10,11]. This modeling effort provides a foundation for understanding the transient behavior of VSGs, informs the optimization of their control strategies, and supports efforts to maintain system frequency stability during disturbances.
Numerous studies have focused on VSG modeling. For instance, an energy function model was proposed in [12] to analyze the influence of control parameters on VSG large-signal stability, in which the energy function models of the grid-forming and grid-following controlled converters are established and compared in detail, coming to the conclusion that the grid-following converter will lose stability by exhibiting a varying damping coefficient transient. An electromechanical model was introduced in [13] to address dynamic analysis issues, while a unified power coupling dynamic model was developed in [14] to facilitate quantitative analysis of VSG power-coupling characteristics. Additionally, [15] reviewed VSG modeling methods based on synchronous machine models of varying orders. Small-signal models [16,17,18,19,20], linearized models [21], and unified state–space models [22] have also been established to examine the stability and dynamic characteristics of VSGs under different operational modes. It is found that the impedance of VSGs can be capacitive below the fundamental frequency, and instability can be avoided if the capacitive characteristics of VSGs are weakened by reshaping their GSC impedance or by enhancing the dc-link dynamics. Despite these advancements, limited attention has been paid to transient frequency modeling of VSGs. The existing models, such as energy function, electromechanical, power-coupling dynamic, small-signal, linearized, and state–space models, are inadequate for analyzing transient frequency characteristics.
To address this gap, this paper establishes a transient frequency mathematical model for VSGs based on their control strategies. The model incorporates the inertial response, primary frequency regulation, and secondary frequency regulation of VSGs, with distinct mathematical expressions derived for different operational stages. A MATLAB/Simulink simulation (version R2021b) model is also developed to validate the accuracy of the proposed transient frequency model. Furthermore, the effects of key parameters, including the VSG inertia constant, primary frequency regulation coefficient, and secondary frequency regulation coefficient, on transient frequency are analyzed. This analysis provides insights into VSG transient frequency characteristics and guides the parameter optimization design for VSGs under various conditions.
The existing literature primarily focuses on small-signal models, linearized models, and state–space models of VSGs. This paper proposes a transient frequency mathematical model that comprehensively considers the inertial response, primary frequency regulation, and secondary frequency regulation of VSGs. Compared to the existing models, our model provides a more thorough analysis of the transient frequency characteristics of VSGs across different operational stages and offers new theoretical insights for optimizing VSG control strategies.
The rest of this paper is organized as follows: Section 2 introduces the typical transient frequency response of renewable-energy-dominated power systems. Section 3 presents the development of the transient frequency mathematical model of VSGs. Section 4 validates the proposed model through simulations, while Section 5 analyzes the transient frequency characteristics of VSGs. Finally, conclusions are drawn in Section 6.

2. Power System Dominated by Renewable Energy

The schematic diagram of a renewable-energy-dominated power system is shown in Figure 1. It can be seen from the figure that the renewable-energy-dominated power system is mainly composed of a photovoltaic (PV) station, wind farm, synchronous generator (SG), energy storage and transmission networks. In addition, renewable energies, such as a PV station and a wind farm, account for a relatively high proportion and play a major role in supplying electricity in the power system [15,16,17].
Under the condition of power disturbances, such as generator disconnection, the frequency will fluctuate in the renewable-energy-dominated power system, and its typical curve is shown in Figure 2. In the figure, stage I refers to the inertial response, stage II refers to the primary frequency regulation, and stage III refers to the secondary frequency regulation. It can be seen from the figure that in the stage of inertial response, the system’s frequency quickly deviates from its rated value; and in the stage of primary frequency regulation, the system’s frequency reaches its extreme point, i.e., fnadir, and then recovers to a certain frequency value, causing a steady-state error ∆f; in the stage of secondary frequency regulation, the system’s frequency is restored to its rated value, i.e., 50 Hz.
Stage I: inertial response. When the active power is unbalanced in the system, the system’s frequency adjustment mainly depends on the rotational kinetic energy of SGs, the rotational kinetic energy of asynchronous machines, the energy provided by the virtual inertia of renewable energy, and the inertia of energy storage device. In the stage of inertial response, various devices of the power system automatically release or absorb their own energy in response to power imbalance, preventing the rate of change of frequency (RoCoF) varying too fast.
Stage II: primary frequency regulation. Thermal power plant (hydropower plant) changes its mechanical power, and renewable energy equipped with inertial control changes its output electromagnetic power by detecting frequency deviation, reducing the power imbalance in the power system, and promoting the frequency to return to the vicinity of the frequency rated value.
Stage III: secondary frequency regulation. Primary frequency regulation is differential regulation, which cannot eliminate the steady-state error. For this reason, it is necessary to make specific generators in service participate in secondary frequency regulation. These generators change the output active power by detecting the frequency integration to further restore the system’s frequency to its rated value, ensuring the stability of the power system.

3. Transient Frequency Modeling of Virtual Synchronous Generator

In order to improve the anti-interference ability of a renewable-energy-dominated power system and enhance its transient frequency stability, VSG can be adopted for wind power and photovoltaic power. By simulating the mechanical motion equation of the synchronous generator, VSG enables wind power and photovoltaic power to mimic the frequency regulation characteristics of a synchronous generator, which can enhance the inertial support for the system and maintain the transient stability of the system frequency.
A typical control block diagram of VSG is shown in Figure 3. In the figure, the inertial controller can be triggered immediately once the power disturbance occurs, while both the primary controller and the secondary controller are put into operation tens of seconds after the power disturbance occurs. The primary controller is responsible for the primary frequency regulation of VSG, and the secondary controller is responsible for the secondary frequency regulation of VSG.
usa, usb, and usc are the three-phase voltages of VSG in the point of common coupling (PCC), um is the three-phase voltage amplitude of VSG in the PCC, and uref is the command value of three-phase voltage amplitude. isa, isb, and isc are the three-phase currents of VSG in the PCC, L1 is the filter inductance of VSG, Lg is the grid equivalent inductance, Pe and Qe are the output active power and reactive power of VSG in the PCC, respectively, and Qref is the reactive power command value of VSG. H is the inertia constant of VSG, Tm is the input torque of VSG, Te is the output electromagnetic torque of VSG, D is the damping coefficient of VSG, ω is the angular frequency of VSG, θ is the phase angle of VSG, and ku is the voltage droop coefficient of VSG. K is the integral coefficient of reactive power-voltage control loop in VSG, and E is the internal voltage of VSG. kp is the primary frequency regulation coefficient, and ki is the secondary frequency regulation coefficient [18,19,20,21].
Given that both the primary controller and the secondary controller are not triggered immediately after the power disturbance occurs, according to the control block diagram shown in Figure 3, the mathematical relationship between torque and angular frequency in the stage of inertial response can be expressed as follows:
2 H d ω d t = T m T e + D ω n ω
When the power system is in steady-state operation, the output electromagnetic torque of SVG is equal to its input torque, that is:
T e = T m
When the power system encounters power disturbances, such as load shedding and generator tripping, the input torque and electromagnetic torque of VSG will be out of balance, and the system will not be able to maintain the original stable operation state, causing the system frequency to deviate from its rated value.
When the power disturbance occurs, the electromagnetic torque of VSG changes abruptly, and the input torque cannot instantaneously respond to the change in electromagnetic torque; in other words, the input torque of VSG remains unchanged. Therefore, VSG will enter into the stage of inertial response. In addition, other devices, such as synchronous generator, asynchronous machine, etc., will also participate in the inertial response to support the system to resist the rapid change in system frequency, maintaining the system frequency stable.

3.1. Inertial Response

In the stage of inertial response, the electromagnetic torque of VSG changes abruptly, and its input torque remains un-changed; when the power disturbance occurs, it is assumed that the electromagnetic torque of VSG abruptly changes to k times as compared with its input torque, that is:
T e = k T m
Substituting Equation (3) into Equation (1), the equation of VSG in the stage of inertial response can be expressed as follows:
d ω d t + D ω 2 H = ( 1 k ) T m + D ω n 2 H
According to Equation (4), the time domain expression of angular frequency in the stage of inertial response can be solved as follows:
ω = ( 1 k ) T m D 1 e D t 2 H + ω n
where ωn is the rated angular frequency of VSG.
Therefore, the RoCoF in the stage of inertial response can be obtained as follows:
d ω d t = 1 k T m 2 H e D 2 H t
It can be seen from Equations (5) and (6) that in the stage of inertial response, the frequency will deviate from its rated value, and the RoCoF depends on the inertia constant H, damping coefficient D, etc.
The maximum RoCoF is:
d ω d t m a x = 1 k T m 2 H = T e 2 H
where ∆Te is the variation in electromagnetic torque.
The relationship between the maximum RoCoF and inertia constant, and the variation in electromagnetic torque is shown in Figure 4. It can be seen from the figure that as the inertia constant decreases and the variation in electromagnetic torque increases, the maximum RoCoF of VSG increases, which is not conducive to the frequency stability of the system.

3.2. Primary Frequency Regulation

VSG can participate in primary frequency regulation. Considering the primary frequency regulation control of VSG, the equation of VSG in the stage of primary frequency regulation can be obtained as follows:
d ω d t + D 2 H ω = ( 1 k ) T m + D ω n + T 1 2 H
where ∆T1 is the variation in input torque of VSG participating in primary frequency regulation.
According to the control block diagram shown in Figure 3, the variation in input torque of VSG in the stage of primary frequency regulation is:
T 1 = k p ω n ω
In order to avoid the adverse impact of extra input torque on VSG in the stage of primary frequency regulation, a first-order filter is introduced to control the input torque.
Considering the effect of first-order filter, the s-domain expression of variation in input torque in the stage of primary frequency regulation can be written as follows:
T 1 s = k p ω n s ω s 1 T s + 1
where ω(s) is the s-domain expression of angular frequency of SVG, and T is the time constant of first-order filter.
The Laplace transformation is performed on Equation (8), and (10) is substituted into (8), and the s-domain expression of VSG angular frequency in the stage of primary frequency regulation can be solved as follows:
ω s = 1 k T m + D ω n + k p ω n 2 H T s 2 + 2 H + T D s + k p + D s + 2 H T ω T 1 s + T 1 k T m + D ω n + 2 H ω T 1 2 H T s 2 + 2 H + T D s + k p + D
where T1 is the start time of primary frequency regulation, and ω(T1) is the initial value of VSG angular frequency in the stage of primary frequency regulation.
The initial value of VSG angular frequency in the stage of primary frequency regulation is equal to the final value of that in the stage of inertial response; so, according to Equation (5), the initial value of VSG angular frequency in the stage of primary frequency regulation can be written as follows:
ω T 1 = 1 K T m D 1 e D T 1 2 H + ω n
The inverse Laplace transformation is performed on Equation (11); thus, the time domain expression can be expressed as follows:
ω = 1 K T m + ( D + k p ) ω n D + k p + k 2 ( k 3 cosh t k 1 sinh k 3 t k 3 ) e 2 H + D T t 4 H T
The expressions of parameters k1, k2 and k3 are shown in Appendix A.
It can be seen from Equation (13) that after the completion of primary frequency regulation, the deviation between the steady-state value of VSG angular frequency and its rated value can be obtained as follows:
ω = lim t ω ω n = ( 1 k ) T m D + k p
It can be seen from Equation (14) that after the completion of primary frequency regulation, there is a steady-state error in the system frequency. Therefore, secondary frequency regulation must be started to restore the frequency to its rated value, eliminating the steady-state error.
The relationship between the steady-state error of VSG’s primary frequency regulation’s damping coefficient and primary frequency regulation coefficient is shown in Figure 5. It can be seen from the figure that as the damping coefficient and the primary frequency regulation coefficient decreases, the steady-state error of VSG primary frequency regulation increases, which is not conducive to the frequency stability of the power system.

3.3. Secondary Frequency Regulation

Considering the secondary frequency regulation control of VSG, the equation of VSG in the stage of secondary frequency regulation can be obtained as follows:
d ω d t + D 2 H ω = 1 k T m + D ω n + T 1 + T 2 2 H
where ∆T2 is the variation in VSG input torque participating in the secondary frequency regulation. According to the control block diagram shown in Figure 3, the variation in VSG input torque in the stage of secondary frequency regulation can be expressed as follows:
T 2 = K i ω n ω d t
Substituting Equations (9) and (16) into Equation (15), the time domain expression of VSG angular frequency in the stage of secondary frequency regulation can be obtained as follows:
ω = k 4 e a 1 t + k 5 e a 2 t + ω n
The expressions of parameters a1 and a2 are:
a 1 = D + k p 4 H + 1 4 H ( D + k p ) 2 8 H k i a 2 = D + k p 4 H 1 4 H ( D + k p ) 2 8 H k i
The expressions of parameters k4 and k5 are:
k 4 = ω T 2 + a 2 ω n a 2 ω T 2 a 1 a 2 k 5 = ω T 2 + a 1 ω n a 1 ω T 2 a 1 a 2
where T2 is the start time of secondary frequency regulation, ω(T2) is the initial value of VSG angular frequency in the stage of secondary frequency regulation, and ω’(T2) is the first derivative of the initial value of VSG angular frequency in the stage of secondary frequency regulation. The initial value of VSG angular frequency in the stage of secondary frequency regulation is equal to the final value of that in the stage of primary frequency regulation; so, according to Equation (13), the initial value of VSG angular frequency in the stage of secondary frequency regulation is:
ω T 2 = 1 k T m + D ω n + k p ω n D + k p + k 2 k 3 cosh T 2 T 1 e 2 H + D T T 2 T 1 4 H T k 1 k 2 k 3 sinh ( k 3 T 2 T 1 ) e 2 H + D T T 2 T 1 4 H T
Taking the first derivative of (13), we can obtain:
d ω d t = k 2 ( k 3 sinh t k 1 cosh k 3 t ) e 2 H + D T t 4 H T 2 H + D T k 2 4 H T ( k 3 cosh t k 1 sinh k 3 t ) e 2 H + D T t 4 H T
According to Equation (21), it can be seen that the initial value of the first derivative of VSG angular frequency in the secondary frequency regulation stage can be obtained as shown in Equation (22).
ω T 2 = [ k 2 ( k 3 sinh T 2 T 1 k 1 cosh ( k 3 T 2 T 1 ) ) 2 H + D T k 2 4 H T ( k 3 cosh T 2 T 1 k 1 sinh k 3 ( T 2 T 1 ) ] e 2 H + D T T 2 T 1 4 H T

3.4. Transient Frequency Response

According to the above analysis, it is clear that the analytical expression of VSG transient angular frequency is shown in Equation (23) in the stage of inertial response, primary frequency regulation and secondary frequency regulation.
ω = 1 k T m D 1 e D 2 H t + ω n                                                                                     0 t T 1 k 2 k 3 cosh t T 1 k 1 sinh k 3 ( t T 1 ) k 3 e 2 H + D T t T 1 4 H T + ( 1 k ) T m D + k p + ω n   T 1 < t < T 2 k 4 e a 1 ( t T 2 ) + k 5 e a 2 ( t T 2 ) + ω n                                                                           t T 2
It can be seen from Equation (23) that after the electromagnetic torque of VSG changes, the transient angular frequency response of VSG is a piecewise function, and the moment of sudden change in electromagnetic torque is recorded as time 0. At this time, the VSG is in the stage of inertial response, the start time of its primary frequency regulation is recorded as T1, and the start time of secondary frequency regulation is recorded as T2.
On the other hand, in the stage of inertial response, the VSG angular frequency transient response is mainly related to the VSG damping coefficient and the inertia constant; in the stage of primary frequency regulation, VSG angular frequency transient response is mainly related to the VSG damping coefficient, inertia constant, and primary frequency regulation coefficient; and in the stage of secondary frequency regulation, the VSG angular frequency transient response is mainly related to the VSG damping coefficient, inertia constant, and the secondary frequency regulation coefficient.

4. Model Verification

In order to carry out the time-domain simulation verification of the mathematical analytical model of the VSG transient frequency response, based on MATLAB/Simulink simulation software, the simulation model of VSG is built, and the load input experiment is conducted.
Specifically, we used MATLAB R2021a, and the simulation workstation was equipped with an Intel Core i7-9750H processor, 16 GB of RAM, and ran on Windows 10. The parameters of the simulation model are listed in detail in Table 1. The simulation experiment was carried out at t = 0 s, and the increased load put into operation was 0.1% of the rated torque of VSG. The comparison between the analytical result and the simulation result of the VSG transient frequency response is shown in Figure 6. It can be seen from the figure that the established mathematical model of VSG transient frequency response is in agreement with the simulation model, which proves the correctness of the analytical mathematical model established in this paper.

5. Frequency Characteristic Analysis

In order to analyze the impact of various control parameters on the transient frequency characteristics of VSGs, a detailed examination was conducted, with the results shown in Figure 7, Figure 8, Figure 9, Figure 10 and Figure 11. These figures compare the transient frequency response of VSGs to that of renewable energy systems employing vector control (VC) strategies. As a result of such a comparison, across all scenarios, the VSG demonstrates superior transient frequency performance regardless of parameter variations. Specifically, during the inertial response stage, the rate of change of frequency (RoCoF) for the VSG is notably smaller than that of the VC strategy. This reduced RoCoF enhances system stability immediately following a disturbance. During the primary frequency regulation stage, the VSG exhibits a higher fnadir and a smaller steady-state error, further contributing to improved stability. In the secondary frequency regulation stage, the VSG achieves faster recovery to the rated frequency, underscoring its effectiveness in maintaining transient frequency stability.

5.1. Influence of VSG Inertia Constant on Transient Frequency

The influence of the VSG inertia constant on transient frequency is depicted in Figure 7. As the inertia constant increases from 1 s to 3 s, the system exhibits notable changes in its transient frequency characteristics across different stages. During the inertial response stage, a higher inertia constant effectively reduces the rate of change in frequency (RoCoF). This reduction provides the system with additional reserve time to activate primary frequency regulation, mitigating the risk of abrupt frequency deviations that could destabilize the system. The enhanced damping effect during this stage ensures that the system can better absorb the initial impact of power disturbances.
In the primary frequency regulation stage, an increased inertia constant leads to a higher fnadir, reducing the depth of frequency dips. This improvement in frequency stability minimizes the likelihood of triggering protection mechanisms, such as under-frequency load shedding, and enhances the system’s ability to withstand disturbances. However, the benefits of a high inertia constant diminish during the secondary frequency regulation stage. A higher inertia constant slows the frequency recovery process as the increased energy storage delays the system’s ability to return to its rated frequency. This delayed recovery can prolong the period of frequency instability, potentially impacting system performance.
Moreover, the choice of the inertia constant involves a trade-off between stability and recovery speed. While a higher inertia constant is advantageous for mitigating the immediate effects of power disturbances, it may not be suitable for ensuring a rapid return to normal operating conditions. Conversely, a lower inertia constant can accelerate recovery during the secondary frequency regulation stage but may compromise system stability during the initial disturbance.
In summary, the inertia constant should be dynamically adjusted based on the system’s operational stage. Increasing the inertia constant immediately after a power disturbance can enhance system stability by reducing RoCoF and supporting primary frequency regulation. However, decreasing the inertia constant during the recovery phase can expedite the return to the rated frequency, balancing stability and recovery speed for optimal system performance.

5.2. Influence of VSG Damping Coefficient on Transient Frequency

The influence of the VSG damping coefficient on transient frequency is illustrated in Figure 8. As the damping coefficient increases from 0.03 to 0.07, the system’s transient frequency response demonstrates significant improvements in certain stages, albeit with trade-offs in others.
During the inertial response stage, a higher damping coefficient effectively reduces the rate of change of frequency (RoCoF). This reduction provides the system with additional time to engage primary frequency regulation mechanisms, thereby mitigating the immediate effects of power disturbances. The decreased RoCoF minimizes the likelihood of abrupt frequency variations, enhancing the system’s robustness in the face of sudden disturbances.
In the primary frequency regulation stage, an increased damping coefficient contributes to a higher fnadir and a smaller steady-state error. These improvements enhance frequency stability, reducing the risk of triggering protective measures such as low-frequency load shedding. A smaller steady-state error also ensures that the system operates closer to its rated frequency, maintaining better overall performance during this critical stabilization phase.
However, in the secondary frequency regulation stage, the influence of a higher damping coefficient becomes less favorable. The increased damping introduces a sluggish response, slowing the system’s ability to return to its rated frequency. This delay can prolong the period of frequency instability, potentially impacting the system’s ability to maintain normal operations during extended disturbances. The trade-off presented by varying damping coefficients highlights the importance of adaptive control strategies. A higher damping coefficient is beneficial immediately following a power disturbance as it stabilizes the system and prevents excessive frequency deviations. Conversely, a lower damping coefficient is advantageous during the recovery phase as it accelerates the return to the rated frequency, ensuring faster stabilization of the system.
In summary, the damping coefficient should be dynamically adjusted based on the operational stage of the system. Increasing the damping coefficient at the moment of a power disturbance enhances stability by reducing RoCoF and improving frequency fnadir and the steady-state error. However, decreasing the damping coefficient during the recovery phase allows for a faster return to the rated frequency, balancing stability and recovery speed for optimal system performance.

5.3. Influence of VSG Primary Frequency Regulation Coefficient on Transient Frequency

The influence of the VSG primary frequency regulation coefficient on transient frequency is depicted in Figure 9. As the coefficient increases from 1 to 3, the system exhibits significant improvements in its transient frequency response. During the primary frequency regulation stage, a higher coefficient raises the fnadir, reducing the severity of frequency dips. This enhancement minimizes the risk of triggering protective measures, such as low-frequency load shedding, thereby improving the system’s resilience to disturbances. Additionally, the steady-state operating point of the transient frequency is elevated, leading to a smaller steady-state error. This improvement ensures that the system operates closer to its rated frequency, enhancing overall stability and performance.
Furthermore, in the secondary frequency regulation stage, an increased primary frequency regulation coefficient accelerates the system’s recovery to its rated frequency. This faster recovery reduces the duration of frequency instability, promoting a more efficient stabilization process. The combined effects of a higher fnadir, reduced steady-state error, and faster recovery underscore the critical role of the primary frequency regulation coefficient in maintaining system stability and performance across different operational stages.
In summary, increasing the VSG primary frequency regulation coefficient during the primary frequency regulation stage enhances the system’s ability to manage frequency deviations, improves stability, and ensures a more rapid return to normal operating conditions.

5.4. Influence of Time Constant of First-Order Filter on Transient Frequency

The influence of the time constant of the first-order filter on transient frequency is shown in Figure 10. As the time constant decreases from 1.5 s to 0.5 s during the primary frequency regulation stage, several improvements in the system’s transient frequency response are observed. On one hand, the lowest point of transient frequency increases, which reduces the likelihood of triggering protective measures, such as low-frequency load shedding, thereby enhancing the system’s stability. A higher fnadir helps prevent excessive frequency drops, ensuring the system remains within safe operational limits.
On the other hand, a shorter time constant reduces the time it takes for the transient frequency to reach the steady-state operating point. This reduction in adjustment time leads to a faster recovery from disturbances, further contributing to the system’s stability. By minimizing the duration of frequency instability, the system can return to normal operation more quickly, which is crucial for maintaining overall grid stability, especially during transient events.
In summary, the time constant of the first-order filter should be decreased during the primary frequency regulation stage to improve system performance. This adjustment reduces both the fnadir and the adjustment time, enhancing transient frequency stability and accelerating the system’s return to steady-state conditions.

5.5. Influence of VSG Secondary Frequency Regulation Coefficient on Transient Frequency

The influence of the VSG secondary frequency regulation coefficient on transient frequency is illustrated in Figure 11. As the coefficient increases from 5 to 15 during the secondary frequency regulation stage, the system demonstrates a significantly faster recovery to its rated frequency. This accelerated recovery minimizes the duration of frequency deviations, ensuring that the system quickly returns to stable operation after a disturbance. A faster response provided by a higher secondary frequency regulation coefficient enhances the overall stability of the power system, reducing the risk of prolonged instability that could impact system reliability and performance.
By effectively correcting the steady-state error left unresolved by primary frequency regulation, the increased secondary frequency regulation coefficient ensures that the system achieves a more precise and timely restoration of the rated frequency. This improvement not only stabilizes the system but also mitigates the potential cumulative effects of frequency deviations on connected devices and loads.
In summary, the VSG secondary frequency regulation coefficient should be increased during the secondary frequency regulation stage to enhance the system’s transient frequency stability and ensure a faster recovery to the rated frequency. This adjustment is essential for maintaining the reliability and resilience of renewable-energy-dominated power systems.

6. Conclusions

This paper establishes a transient frequency model of Virtual Synchronous Generators (VSGs) based on their typical control strategy, incorporating inertial response, primary frequency regulation, and secondary frequency regulation. A simulation model of a VSG was also developed using MATLAB/Simulink to validate the mathematical model and analyze its characteristics. The following conclusions are drawn from this study:
(1)
The transient frequency mathematical model, which considers the VSG’s inertial response, primary frequency regulation, and secondary frequency regulation, aligns closely with the simulation results. This consistency verifies the accuracy and reliability of the proposed analytical model.
(2)
During the inertial response stage, an increase in the VSG’s inertia constant and damping coefficient reduces the rate of change of frequency (RoCoF), enhancing system stability. In the primary frequency regulation stage, increasing the VSG inertia constant, damping coefficient, and primary frequency regulation coefficient, and reducing the time constant of the first-order filter results in a higher frequency nadir, improving frequency stability. Furthermore, increasing the damping coefficient and primary frequency regulation coefficient reduces the steady-state error during this stage, ensuring closer alignment with the rated frequency.
(3)
In the secondary frequency regulation stage, reducing the VSG inertia constant and damping coefficient while increasing the secondary frequency regulation coefficient accelerates the system’s recovery to the rated frequency. This faster recovery enhances the system’s transient frequency stability and resilience.
Overall, this study highlights the critical role of VSG control parameters in enhancing transient frequency stability. By optimizing the inertia constant, damping coefficient, and frequency regulation coefficients, VSGs can significantly improve the performance of renewable-energy-dominated power systems, ensuring robust and efficient frequency regulation.

Author Contributions

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

Funding

This research received no external funding.

Data Availability Statement

The data presented in this study are available on request from the corresponding author.

Acknowledgments

This research is supported by the State Grid Shaanxi Electric Power Co., Ltd., in terms of original data, software.

Conflicts of Interest

Author Zhou Su was employed by the company State Grid Shaanxi Electric Power Co., Ltd. The remaining authors declare that the research was conducted in the absence of any commercial or financial relationships that could be construed as a potential conflict of interest.

Appendix A. The Expressions of Parameters k1, k2 and k3

k 1 = 1 k T m + D ω n D ω T 1 + k p ω n k p ω T 1 D D ω T 1 1 k T m D ω n k p ω n + k p ω T 1 + T k p 1 k T m 2 D H [ D ω T 1 1 k T m D ω n k p ω n + k p ω T 1 ] + 2 H + D T 4 D H
k 2 = D ω T 1 1 k T m D ω n k p ω n + k p ω T 1 D + k p
k 3 = D 2 16 H 2 D 4 H T + 1 4 T 2 k p 2 H T

References

  1. Li, C. China’s strategies and initiatives to foster high-quality leaping development of renewable energy. iEnergy 2022, 1, 149–150. [Google Scholar] [CrossRef]
  2. Fang, J.; Li, H.; Tang, Y.; Blaabjerg, F. On the inertia of future more-electronics power systems. IEEE J. Emerg. Sel. Top. Power Electron. 2019, 7, 2130–2146. [Google Scholar] [CrossRef]
  3. Zhong, Q. Power-electronics-enabled autonomous power systems: Architecture and technical routes. IEEE Trans. Ind. Electron. 2017, 64, 5907–5918. [Google Scholar] [CrossRef]
  4. Liu, J.; Miura, Y.; Ise, T. Comparison of dynamic characteristics between virtual synchronous generator and droop control in inverter-based distributed generators. IEEE Trans. Power Electron. 2016, 31, 3600–3611. [Google Scholar] [CrossRef]
  5. Meng, X.; Liu, J.; Liu, Z. A generalized droop control for grid-supporting inverter based on comparison between traditional droop control and virtual synchronous generator control. IEEE Trans. Power Electron. 2019, 34, 5416–5438. [Google Scholar] [CrossRef]
  6. Delille, G.; François, 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]
  7. Dreidy, M.; Mokhlis, H.; Mekhilef, S. Inertia response and frequency control techniques for renewable energy sources: A review. Renew. Sustain. Energy Rev. 2017, 69, 144–155. [Google Scholar] [CrossRef]
  8. Lu, L.-Y.; Chu, C.-C. Consensus-based secondary frequency and voltage droop control of virtual synchronous generators for isolated AC microgrids. IEEE J. Emerg. Sel. Top. Circuits Syst. 2015, 5, 443–455. [Google Scholar] [CrossRef]
  9. Liu, J.; Liu, J. Modeling and calculation of grid frequency support effect and transient energy demand of a virtual synchronous generator. In Proceedings of the 2022 International Power Electronics Conference (IPEC-Himeji 2022-ECCE Asia), Himeji, Japan, 15–19 May 2022; pp. 2334–2339. [Google Scholar]
  10. Xutao, L.; Linan, Q.; Long, J.; Lingling, L.; Ning, C. Transient modeling and verification of current source photovoltaic virtual synchronous generator. In Proceedings of the 2018 2nd IEEE Conference on Energy Internet and Energy System Integration (EI2), Beijing, China, 20–22 October 2018; pp. 1–9. [Google Scholar]
  11. Elizondo, M.A.; Tuffner, F.K.; Schneider, K.P. Three-phase unbalanced transient dynamics and power flow for modeling distribution systems with synchronous machines. IEEE Trans. Power Syst. 2016, 31, 105–115. [Google Scholar] [CrossRef]
  12. Fu, X.; Sun, J.; Huang, M.; Tian, Z.; Yan, H.; Iu HH, C.; Hu, P.; Zha, X. Large-signal stability of grid-forming and grid-following controls in voltage source converter: A comparative study. IEEE Trans. Power Electron. 2021, 36, 7832–7840. [Google Scholar] [CrossRef]
  13. Du, W.; Tuffner, F.K.; Schneider, K.P.; Lasseter, R.H.; Xie, J.; Chen, Z.; Bhattarai, B. Modeling of grid-forming and grid-following inverters for dynamic simulation of large-scale distribution systems. IEEE Trans. Power Deliv. 2021, 36, 2035–2045. [Google Scholar] [CrossRef]
  14. Li, M.; Wang, Y.; Hu, W.; Shu, S.; Yu, P.; Zhang, Z.; Blaabjerg, F. Unified modeling and analysis of dynamic power coupling for grid-forming converters. IEEE Trans. Power Electron. 2022, 37, 2321–2337. [Google Scholar] [CrossRef]
  15. Chen, M.; Zhou, D.; Blaabjerg, F. Modelling, implementation, and assessment of virtual synchronous generator in power systems. J. Mod. Power Syst. Clean Energy 2020, 8, 399–411. [Google Scholar] [CrossRef]
  16. Tan, S.; Geng, H.; Yang, G.; Wang, H.; Blaabjerg, F. Modeling framework of voltage source converters based on equivalence with synchronous generator. J. Mod. Power Syst. Clean Energy 2018, 6, 1291–1305. [Google Scholar] [CrossRef]
  17. Wu, W.; Chen, Y.; Zhou, L.; Luo, A.; Zhou, X.; He, Z.; Yang, L.; Xie, Z.; Liu, J.; Zhang, M. Sequence impedance modeling and stability comparative analysis of voltage-controlled VSGs and current-controlled VSGs. IEEE Trans. Ind. Electron. 2019, 66, 6460–6472. [Google Scholar] [CrossRef]
  18. Xu, Y.; Nian, H.; Hu, B.; Sun, D. Impedance modeling and stability analysis of VSG controlled Type-IV wind turbine system. IEEE Trans. Energy Convers. 2021, 36, 3438–3448. [Google Scholar] [CrossRef]
  19. Zhang, X.; Chen, J.; Chen, X. Impedance modeling and stability analysis of weak-grid interfaced single-phase VSG. In Proceedings of the 2019 22nd International Conference on Electrical Machines and Systems (ICEMS), Harbin, China, 11–14 August 2019; pp. 1–6. [Google Scholar]
  20. Wu, H.; Ruan, X.; Yang, D.; Chen, X.; Zhao, W.; Lv, Z.; Zhong, Q.C. Small-signal modeling and parameters design for virtual synchronous generators. IEEE Trans. Ind. Electron. 2016, 63, 4292–4303. [Google Scholar] [CrossRef]
  21. Qu, Z.; Peng, J.C.-H.; Yang, H.; Srinivasan, D. Modeling and analysis of inner controls effects on damping and synchronizing torque components in VSG-controlled converter. IEEE Trans. Energy Convers. 2021, 36, 488–499. [Google Scholar] [CrossRef]
  22. Liu, J.; Miura, Y.; Bevrani, H.; Ise, T. A unified modeling method of virtual synchronous generator for multi-operation-mode analyses. IEEE J. Emerg. Sel. Top. Power Electron. 2021, 9, 2394–2409. [Google Scholar] [CrossRef]
Figure 1. Schematic diagram of renewable-energy-dominated power system.
Figure 1. Schematic diagram of renewable-energy-dominated power system.
Energies 18 01098 g001
Figure 2. Frequency transient response of the simulated power system dominated by renewable energy.
Figure 2. Frequency transient response of the simulated power system dominated by renewable energy.
Energies 18 01098 g002
Figure 3. Typical control block diagram of VSG.
Figure 3. Typical control block diagram of VSG.
Energies 18 01098 g003
Figure 4. The relationship between the maximum RoCoF and inertia constant, and the variation in electromagnetic torque, based on the mathematical model derivation and simulation verification of the VSG.
Figure 4. The relationship between the maximum RoCoF and inertia constant, and the variation in electromagnetic torque, based on the mathematical model derivation and simulation verification of the VSG.
Energies 18 01098 g004
Figure 5. The relationship between the steady-state error of VSG primary frequency regulation’s damping coefficient and primary frequency regulation coefficient.
Figure 5. The relationship between the steady-state error of VSG primary frequency regulation’s damping coefficient and primary frequency regulation coefficient.
Energies 18 01098 g005
Figure 6. Comparison of the results between the VSG transient frequency response analytical model and the simulation model.
Figure 6. Comparison of the results between the VSG transient frequency response analytical model and the simulation model.
Energies 18 01098 g006
Figure 7. Influence of VSG inertia constant on transient frequency.
Figure 7. Influence of VSG inertia constant on transient frequency.
Energies 18 01098 g007
Figure 8. Influence of VSG damping coefficient on transient frequency.
Figure 8. Influence of VSG damping coefficient on transient frequency.
Energies 18 01098 g008
Figure 9. Influence of VSG primary frequency regulation coefficient on transient frequency.
Figure 9. Influence of VSG primary frequency regulation coefficient on transient frequency.
Energies 18 01098 g009
Figure 10. Influence of time constant of first-order filter on transient frequency.
Figure 10. Influence of time constant of first-order filter on transient frequency.
Energies 18 01098 g010
Figure 11. Influence of VSG secondary frequency regulation coefficient on transient frequency.
Figure 11. Influence of VSG secondary frequency regulation coefficient on transient frequency.
Energies 18 01098 g011
Table 1. Parameters of VSG.
Table 1. Parameters of VSG.
ParametersSymbolNumerical ValueUnit
Rated VoltageUN690V
Rated PowerPN2MW
Rated Angular FrequencyωN314rad/s
Filter InductorLf5mH
Inertia Constant (s)H1s
Damping CoefficientD0.03/
Primary Frequency Regulation
Coefficient
kp2/
Primary Frequency Regulation
Start Time (s)
T12s
Inertia Constant of Primary
Frequency Regulation Controller (s)
T1s
Secondary Frequency Regulation
Start Time (s)
T215s
Secondary Frequency
Regulation Coefficient
ki1/
Voltage Drop Coefficientku0.5/
Reactive Voltage Control CoefficientK1.5/
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

Su, Z.; Yang, G.; Yao, L. Transient Frequency Modeling and Characteristic Analysis of Virtual Synchronous Generator. Energies 2025, 18, 1098. https://doi.org/10.3390/en18051098

AMA Style

Su Z, Yang G, Yao L. Transient Frequency Modeling and Characteristic Analysis of Virtual Synchronous Generator. Energies. 2025; 18(5):1098. https://doi.org/10.3390/en18051098

Chicago/Turabian Style

Su, Zhou, Guoqing Yang, and Lixiao Yao. 2025. "Transient Frequency Modeling and Characteristic Analysis of Virtual Synchronous Generator" Energies 18, no. 5: 1098. https://doi.org/10.3390/en18051098

APA Style

Su, Z., Yang, G., & Yao, L. (2025). Transient Frequency Modeling and Characteristic Analysis of Virtual Synchronous Generator. Energies, 18(5), 1098. https://doi.org/10.3390/en18051098

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