Abstract
Maintaining a constant frequency is vital for grid stability and reliability, especially during dynamic changes in load and generation, which are caused by the increasing incorporation of renewable intermittent energy sources such as solar and wind power. These energy sources decrease the system’s inertia, which compromises the primary frequency regulation, a process historically sustained by the speed regulators of conventional synchronous generators. In this study, to mitigate this issue, we investigate a battery energy storage system (BESS) operating with virtual synchronous machine (VSM) control to provide ancillary services of primary frequency control. A multilevel cascade H-bridge static converter with eleven levels is controlled to emulate the dynamic behavior of a conventional synchronous machine, allowing primary frequency control support. The case studies are evaluated using Matlab/Simulink R2024a software and tested under contingency scenarios involving load rejection and step-load insertion within an isolated power grid comprising other synchronous machines, alongside an analysis of the BESS-controlled power dispatch. Our simulation results demonstrate that the energy storage system, operating under a virtual synchronous machine (VSM) strategy, effectively emulates the dynamic behavior of a conventional synchronous generator, enabling controlled active and reactive power dispatch. Furthermore, the proposed control strategy provides virtual inertia support, mitigating the Rate of Change of Frequency (RoCoF) following disturbances, improves the damping of frequency oscillations, and ensures a smoother frequency recovery after load variations. These findings indicate that the proposed BESS can provide effective primary frequency control support in power systems characterized by a high penetration of converter-interfaced renewable energy sources. Nonetheless, further investigations into the influence of VSM parameters on the system’s dynamic response are needed to further optimize the performance of the proposed solution.
1. Introduction
The growing inclusion of intermittent renewable energy sources such as wind and solar power plants in electrical grids around the world has introduced new operational challenges, especially in terms of the frequency stability of power systems [1]. These sources are connected to electrical grids through power static converters, differing significantly from the operational characteristics of traditional generation sources such as hydro and thermal power plants due to their non-dispatchable characteristics and lack of system inertia [2]. Their static energy conversion and dependency on unpredictable environmental factors such as the wind or solar radiation greatly impact the power system’s frequency stability.
Frequency stability in power systems is defined as the instantaneous equilibrium between load and generation [3]. Any instantaneous imbalance between these two factors results in the system’s frequency deviation. In electrical grids with a high penetration of intermittent energy sources, this equilibrium is constantly disturbed due to the variable nature of energy generation, making the grid more susceptible to frequency deviations. This scenario is aggravated when these renewable energy sources represent a large proportion of the total system generation [4].
Another important aspect of grid stability is system inertia, which represents the capacity of a system to dampen frequency deviations, especially during contingencies. In conventional systems, inertia is granted by the rotation of large rotors in synchronous machines, such as the generators of hydro and thermal power plants [2,5]. In contrast, renewable intermittent energy sources, which are typically connected to the grid through electronic static converters, do not contribute to the system’s inertia, since they do not have mobile parts such as solar plants or wind plants with full-scale converters. This means that, as the penetration of these types of generation increases, the total inertia of the overall electric power system is reduced, degrading frequency oscillation damping [6]. In the face of these challenges, it is necessary to use new technologies to support the system’s inertia loss.
One possible solution is the use of a battery energy storage system (BESS) that can promptly provide or absorb energy to help stabilize the grid frequency [7,8]. Among the several control strategies for BESSs, the use of a virtual synchronous machine stands out, as it can emulate the behavior of a traditional synchronous machine, providing virtual inertia support and aiding the grid’s frequency control [9,10]. Unlike droop control, a VSM (virtual synchronous machine) focuses on steady-state power sharing and dynamic grid support, essentially taking standard droop control and adding the “swing equation” of a traditional spinning generator.
Another major application for BESSs has been in energy arbitrage and demand-side management, charging or storing energy during low-price periods and discharging it when demand and prices peak. In addition, these systems have increasingly been deployed to provide ancillary services, including voltage regulation, spinning reserve, renewable generation smoothing, and black-start capability. The fast response capability and operational flexibility of BESSs render them particularly well suited for power grids with a high penetration of converter-interfaced renewable energy sources, thereby enhancing electrical grid reliability and stability [7].
Among the most widely investigated applications of BESSs in the recent literature is frequency support within low-inertia power systems. Numerous studies have demonstrated that BESSs can mitigate frequency deviations and contribute to restoring the generation–load balance following disturbances. However, conventional control strategies are typically based on active power droop characteristics, which offer a limited capability of emulating the inertial response naturally inherent to conventional synchronous generators. Consequently, while improvements in frequency regulation are achieved, challenges concerning the mitigation of the Rate of Change of Frequency (RoCoF), the enhancement of the frequency nadir, and the damping of electromechanical oscillations remain critical research gaps, especially for grids dominated by inverter-based resources (IBRs) [11].
Beyond applications based exclusively on batteries, recent studies have investigated hybrid energy storage systems, particularly those combining electrical, thermal, pneumatic, and hydrogen-based technologies. Ma et al. [12] proposed a multilevel isobaric hydrogen–electric coupled energy storage system featuring a wide-range operational strategy, aiming to enhance the efficiency and flexibility of renewable-dominated power grids. Their findings indicated that coordinating different charging and discharging modes can expand the adjustable power range and mitigate the curtailment of renewable energy. Furthermore, Ma et al. [13] evaluated a hybrid system combining hydrogen-powered compressed air energy storage, cryogenic energy storage with oxy-fuel combustion, and a power-to-gas device, highlighting the coupling potential among distinct energy pathways to improve the technical and economic viability of large-scale storage.
Although these studies demonstrate significant advancements in hybrid storage architectures focused on operational flexibility, energy efficiency, and renewable energy integration, their focus remains predominantly on the thermodynamic, economic, and energy management aspects of coupled systems. There is still a critical research gap related to the short-term dynamic response of storage systems during grid disturbance events, particularly within the context of primary frequency control. To address this research gap, we analyze the application of a BESS controlled by a virtual synchronous machine, focusing on inertia emulation, the damping of frequency oscillations, and support for the dynamic stability of an isolated grid.
To achieve this, we conduct a detailed study of a 30 MVA BESS connected to a 69 kV electrical grid, using the virtual synchronous machine (VSM) control technique and a power system modeled and simulated using Matlab/Simulink software. This BESS is connected to an isolated electrical grid, based on the electrical grid of the Roraima state in Brazil, by an eleven-level cascade H-bridge multilevel converter with IGBT (Insulated Gate Bipolar Transistor) switches. The main objective of the BESS is to aid the grid’s primary frequency control, damping frequency oscillations caused by rapid load or generation variations. System modeling includes a simplified representation of the converter and its control, as well as the emulation of auxiliary systems, such as the voltage control and the speed regulator of the VSM, to fully describe the emulated synchronous machine. Several scenarios are evaluated, with and without the BESS, encompassing situations of load insertion and load rejection.
As the scope of this study is restricted to the short-term dynamic response of BESSs during frequency disturbances and controlled power dispatch events, long-term operational aspects such as state-of-charge management, battery degradation, energy scheduling, and support duration limitations are not explicitly addressed and remain topics for future investigation.
It is important to emphasize that the primary contribution of this study is not the proposal of a new virtual synchronous machine control algorithm itself, since VSM strategies have already been extensively discussed in the literature. Instead, the originality of this study lies in the integration and evaluation of a complete BESS-based frequency support solution composed of a current-controlled VSM, an eleven-level cascaded H-bridge converter, and a detailed isolated power system model representative of low-inertia operating conditions. Furthermore, this study investigates the coordinated influence of virtual inertia and droop parameters on the dynamic frequency response of the network, providing practical insights into the application of VSM-controlled BESSs for primary frequency regulation in isolated electrical systems.
2. Theoretical Foundation
2.1. Primary Frequency Control and Inertia in Power Systems
Primary frequency regulation is the automatic action of the speed regulators of generation units in response to frequency deviations. The purpose is to restore the load and generation equilibrium, though without restoring the frequency to its original value due to the machine’s speed droop, which is necessary to stably share the load between all generation units [14].
Inertia is the characteristic of a physical body to remain in its initial state of motion unless it is subjected to an external force. In the scope of an electrical power system, this characteristic is represented by the rotating masses of the rotors of synchronous machines, which are connected to each other. The total inertia of a given system is calculated using Equation (1) [15]. According to this equation, as the generation capacity increases with zero inertia or a low inertia value, the equivalent inertia decreases.
where is the number of total generation units; is the inertia constant of each individual machine [s]; is the apparent power of each machine [MVA]; and is the system’s generation power [MVA] (including solar and wind power plants).
Therefore, in the presence of a disturbance, such as a loss or an increase in generation or load, the system frequency varies as the equilibrium of these two factors is shifted. Equation (2) shows the transfer function describing the behavior of the frequency as a function of the load variation in a generic electrical system, as presented in [16].
where is the system frequency in the Laplace domain; is the difference between the generated power and the consumed power in the Laplace domain; is a system-inherited constant, due to its load variation as a function of the frequency; is the system equivalent inertia; and is the system initial frequency.
As can be seen in Equation (2), as the system inertia increases, its capability to maintain equilibrium also increases as the system pole approaches the origin, making a low-pass system with a low cutoff frequency that is consequently robust to disturbance variations. Thus, the inertia increase in a power system is related to its damping capacity in the presence of load or generation disturbances. Because of this, there is a natural contribution to the primary frequency regulation, as the frequency tends to vary in a slower manner, with lower amplitude variations.
In Figure 1, which shows a typical frequency variation in a power system with generation deficit, it can be seen that, with the increase in inertia, the RoCoF (Rate of Change of Frequency) decreases and its nadir (the lowest frequency amplitude point) increases.
Figure 1.
Frequency behavior in a power system when subjected to a generation loss or load insertion.
2.2. Virtual Synchronous Machine
The concept of a virtual synchronous machine involves a control strategy used in the static converters of power electronics. In general, this strategy aims to emulate the dynamic behavior of a conventional synchronous machine in a power system through control techniques [17]. The main goal of this control mode is to provide a virtual inertia to the static converter, since it has no moving parts and thus does not have inertia on its own.
In the technical literature, there are several different methodologies for implementing this control to emulate the behavior of conventional synchronous machines in a static converter. Of these methodologies, the ones that stand out are inertia emulation, the Synchronverter, and techniques that use a VSM with voltage or current control loops in a synchronous reference frame (SRF) [9]. The technique that uses current loop control notably presents higher stability margins for frequency variations and power dispatched [9]. Thus, in this study, the VSM with current control in its SRF is adopted due to its natural stability advantage.
2.3. Multilevel Cascade H-Bridge Converter Operating as a BESS
Multilevel converters are normally deployed in situations that demand the use of high power, classically in high-voltage applications [18]. In general, multilevel converters use arrays of IGBT modules with capacitors that are connected in series in order to connect the static converter to high-voltage grids, such as in HVDC (High-Voltage Direct Current) systems or for STATCOM (Static Synchronous Compensator) in transmission systems. One topology that stands out is the cascade H-bridge since it has strong modularity and scalability, superior power quality, and reduced voltage stress.
As shown in Figure 2, the cascade H-bridge topology has separate H-bridge circuits with IGBT switches connected in series for each phase, which are connected in delta to form a three-phase converter. In this topology, it is necessary for each H-bridge to have a separate dc voltage source [19]. In this regard, it is possible to use batteries as an independent dc voltage source for each H-bridge to meet this requirement, making this topology appealing as it provides flexibility and robustness to the energy storage system.
Figure 2.
Topology of the multilevel cascade H-bridge converter used in this study.
In the adopted simulation model, each H-bridge cell is supplied by an independent ideal DC voltage source representing an individual battery module. For the purposes of this study, all DC sources are assumed to operate with identical nominal voltage levels and balanced operating conditions. Therefore, cell voltage balancing dynamics, state-of-charge (SoC) variations, and battery management system (BMS) functions are not explicitly represented. This assumption allows our analysis to focus on the dynamic performance of the VSM control strategy and the frequency support capability of the BESS. The investigation of cell balancing strategies and battery-level dynamics is considered to be outside the scope of the present study.
Considering the above, an eleven-level cascade H-bridge multilevel converter operating as a BESS is used in this study, since it can operate in high-voltage systems with high power demand and can be used alongside the VSM control technique.
For the design of the converter, the voltage level in the PCC (Point of Common Coupling) and the power that flows through the electronic switches are considered. Based on this information, the current level that each switch must withstand and the number of series-connected H-bridge cells can be determined. In addition, PSPWM (Phase-Shifted Pulse Width Modulation) with a switching frequency of 600 Hz is chosen because its cascaded topology (series connection) naturally synthesizes high-quality waveforms. This characteristic minimizes switching power losses and optimizes efficiency.
3. Investigated Power System with BESS
This section is divided into two parts: the first part describes the modeling and implementation of the control strategy for the BESS using the VSM technique; the second part describes the modeling of the isolated electrical grid used in our study.
3.1. Modeling and Implementation of the Control Strategy for the BESS Using VSM Technique
The control strategy for the BESS involves the VSM model, the converter current control loop, and the synchronization and measurement systems. Figure 3 shows a block diagram of the BESS control strategy.
Figure 3.
General block diagram of the BESS control strategy.
3.2. Mechanical Model of the VSM
Modeling of the mechanical portion of the VSM is performed using the simplified mechanical system shown in Figure 4.
Figure 4.
Schematic of the mechanical system of the VSM.
Using Figure 4, we can apply the sum of forces for rotational body movement, as presented Equation (3), where , , , and are the torques of acceleration, mechanical (applied by the primary machine), electromagnetic, and electrical damping, respectively, applied to the synchronous machine shaft.
Equation (3) can be restructured to make the torques a function of the speed and power developed by the generation unit, as presented in Equation (4), as power is a product of torque and speed. The damping torque is the product of the damping factor, , and the speed difference between the VSM and the electrical grid ().
Lastly, the accelerating torque can be rewritten as a function of the moment of inertia () and the movement body angular acceleration, which in this case is the rate of change in the shaft’s angular velocity (), as presented in Equation (5).
Equation (5) can be rewritten as a function of the angular displacement (), as presented in Equation (6).
Therefore, from Equations (5) and (6) we have the following:
Finally, by applying the Laplace transformation to Equations (5) and (7), the angular velocity () and the angular displacement () in the frequency domain are as presented in Equations (8) and (9):
A block diagram of the mechanical part of the VSM is presented in Figure 5.
Figure 5.
Block diagram of the mechanical part of the VSM.
The coupling between the mechanical and electrical models of the virtual synchronous machine is established using the angular speed and angular position of the virtual rotor. The angular speed and the angular displacement , obtained from Equations (8) and (9), represent the dynamic behavior of the virtual rotor and are utilized to define the instantaneous position of the synchronous reference frame employed in the electrical modeling of the VSM. In this manner, the power angle of the virtual machine is determined using the angular position calculated within the mechanical model, thereby linking the mechanical and electrical dynamics. Conversely, the active electrical power , computed using the electrical model, is fed back into the VSM swing equation, comprising the accelerating power responsible for the variations in both the speed and the angle of the virtual rotor. Consequently, a bidirectional electromechanical coupling is established, analogous to that observed in conventional synchronous machines, wherein the mechanical dynamics influence the synthesis of the electrical quantities, which, in turn, affect the angular speed and position of the virtual machine.
3.3. VSM Electric Model
The electrical model of the VSM used in this study is obtained through the analysis of the system presented in Figure 6.
Figure 6.
MSV electrical system diagram.
Using the electrical circuit model of a synchronous machine with lumped parameters and Park’s transformation (from ABC frame to SRF), it is possible to represent this system with lumped windings, although magnetically decoupled, in two axes: direct (d-axis) and quadrature (q-axis). The machine stator windings are subjected to voltages and , the damper windings are subjected to currents and , and the field winding is subjected to the voltage .
With the system defined in the dq frame, the typical transient response of a synchronous machine must be analyzed, as demonstrated in Figure 7.
Figure 7.
Typical synchronous machine current dynamic response when subjected to a fault. Source: [20].
By analyzing Figure 7, it can be verified that, when the machine is subjected to a transient regime, more specifically to a transient flux change, there are three distinct time periods during which the armature current varies. These are the sub-transient, transient, and steady-state periods, where each have well-defined time constants that are directly related to the machine windings’ influence.
The sub-transient period is characterized by the influence of damper windings. Due to the low number of conductors used in its construction, i.e., its low inductance and the fact that these conductors also have low resistance, the time constant associated with the damper circuit is small. Consequently, this period presents a short time duration, and the transient occurrence happens immediately.
The transient period is characterized by the influence of the synchronous machine field winding, which has a substantial number of turns, i.e., a high inductance. Because of this, the circuit will have a greater time constant , and the time duration associated with this period will consequently be greater than the sub-transient period. Lastly, the steady-state period occurs when there are no more effects of the sub-transient and transient periods.
Based on the concept presented, it is possible to establish a mathematical model for the transient behavior of the synchronous machine. For this purpose, two algebraic equations and two differential equations are required, as presented in Equations (10) through (13).
where and are the transient voltages in the d-axis and q-axis, respectively; and are the machine’s stator current in the d-axis and q-axis, respectively; is the armature resistance; and are the synchronous reactances in the d-axis and q-axis, respectively; and are the transient reactances in the d-axis and q-axis, respectively; and and are the transient time constants in the d-axis and q-axis, respectively.
In Equations (10) through (13), the transient voltages are necessary for modeling the machine flux changes and consequently the flux propagation through the machine’s core. These voltages, in conjunction with the time constants and the sub-transient and transient reactances, arise from the dynamic response shown in Figure 7.
Based on this modeling, and applying the Laplace transformation to Equations (12) and (13), a block diagram of the electrical model of the VSM can be constructed, as presented in Figure 8.
Figure 8.
Block diagram of the electrical part of the VSM.
It is worth noting that the electrical model of the synchronous machine used in this paper ignores the machine’s core saturation and the dc current component that exists when the machine is subjected to an asymmetrical fault. However, these simplifications do not affect the results presented in this paper.
3.4. Virtual Impedance Model
During static converter control, dq frame current loops are employed; thus, it is necessary to calculate the correct references for these control loops. Therefore, with the information on the dq frame voltages provided by the synchronous machine electrical model, these current references can be generated using a virtual impedance model.
The difference between the VSM terminal voltage and the grid voltage applied to the virtual impedance generates the references for the converter’s current loop control. In this study, we use the virtual impedance model as presented in [21], which implements an algebraic VSM with current control in a static converter. This model is used because of its simplicity, as it applies only algebraic equations and does not use differential equations in its modeling. A block diagram representing the system’s virtual impedance model is presented in Figure 9.
Figure 9.
Block diagram of virtual impedance model.
Although the virtual impedance model adopted in this study is implemented through algebraic relations without the explicit use of low-pass filters or additional dynamic compensators, its application is restricted to generating the current references for the converter’s inner control loops. Consequently, the fast dynamics of the system remain governed by the current loops, the interfacing filter, and the remaining elements of the control system. Furthermore, the model utilized was based on the methodology presented in [21], whose implementation employs an algebraic virtual impedance structure for current control in virtual synchronous machines. In the scenarios simulated in this study, no oscillations or instabilities associated with the use of this approximation were observed, indicating that the adopted modeling approach was adequate for the primary frequency support investigations that were conducted.
3.5. Virtual Models of the Excitation System and the Prime Mover
Since our main goal is to represent the dynamics of a synchronous machine as accurately as possible, models for the excitation system and speed regulation (considering the primary machine) are developed to provide the field voltage and mechanical power to the VSM electrical and mechanical models, respectively.
In addition to providing the field voltage and mechanical power, these control loops are also responsible for regulating the active and reactive power dispatched/consumed by the electrical grid. Figure 10 shows the virtual excitation system used herein, while Figure 11 shows the virtual speed regulation system with the primary machine.
Figure 10.
Block diagram of the virtual excitation system.
Figure 11.
Block diagram of the virtual speed regulation system.
In Figure 10, the virtual excitation system is represented by a static gain, Rq, which is implemented as in [22]. This system has a proportional–integral (PI) controller that functions as an AVR (Automatic Voltage Regulator), with two other transfer functions. The first one is a first-order transfer function with time constant , representing the static converter (synchronous machine exciter). The other function is the washout, which filters the input signals so that the low-frequency or steady-state components are eliminated. The washout also represents the system’s stabilization loop. Lastly, the reactive power droop system is also represented, whose input is the converter reactive power reference. Thus, this system controls the reactive power that flows through the converter.
The speed regulation system with the primary machine includes a servo drive model and a simple steam turbine model without reheating, as presented in Figure 11. In addition to these equipment models, it also includes a lead–lag speed regulator with speed droop, as well as a load controller to regulate the active power flowing through the converter. This model has two inputs: the speed reference and the electrical power reference. However, since the main goal of the BESS is to provide primary frequency control ancillary support, the speed reference will be always a unitary value (1.0 pu). This model was implemented following [23] as a reference.
3.6. Supplementary Current Control Loop, Measurement of Electrical Quantities, Synchronism and Power Limiters
The supplementary functions defined in this paper are the current control loop, the synchronization system, and the electrical quantity measurement systems.
The BESS control strategy operates in the SRF; this way, there is a decoupling between the d-axis and q-axis currents, and each of these currents must be regulated by its own current control loop. These control loops are widely employed throughout the technical literature, and they usually use PI controllers to regulate these currents.
The synchronization system is implemented through the use of an SRF-PLL (synchronous reference frame–phase-locked loop). In general, the PLL is used in the initial moments to synchronize the converter with the electrical grid, therefore assuming the control of the signal. After the initialization of the VSM model integrators, the PLL stops the signal control and is used only as an electrical grid frequency estimator. This frequency signal is used in the VSM mechanical model to calculate the damping torque through the factor.
Lastly, two power limiters are implemented during BESS control, with the objective of limiting the power flow through the converter, and thus limiting the current that flows through the electronics switches during frequency variation contingencies. These limiters are based on dynamic saturation and are employed in the virtual excitation system and virtual speed regulation system.
It is important to note that the virtual synchronous machine algorithm is implemented as an outer control loop responsible for generating active and reactive power references, while the converter switching dynamics are handled by the inner current control loops and PWM modulation strategy. Therefore, the VSM model does not directly operate at the switching frequency of the power converter. Instead, the fast electromagnetic dynamics are managed by the current controllers, whereas the VSM reproduces the slower electromechanical dynamics of a synchronous machine, which occur on a time scale compatible with frequency regulation studies.
3.7. Modeling of the Electrical System
To evaluate the BESS’s operation, an isolated electrical power grid, based on the electrical grid of the state of Roraima in Brazil, was modeled in Matlab/Simulink and used in the case studies described in this paper. The grid is shown in Figure 12: it has a 230 kV bus, two 69 kV feeders, three cylindrical-rotor synchronous machines, and other components such as loads, transformers, and breakers.
Figure 12.
Schematic of the power system used in case studies.
It is worth noting that the model presents some simplifications of the real electrical grid, including a simplified representation of the synchronous machines and a decreased number of power plants, which are necessary to decrease the simulation’s computational burden due to the low sampling time needed to execute the control strategies for the BESS.
The loads are represented by constant power models, and their quantities are defined so that the total system power demand is approximately 60% of the total system’s generation capacity (ignoring the BESS). The reactive power quantities are adjusted for a system power factor between 0.8 inductive and 0.9 inductive. The L2 load in Figure 12 can be switched in or out, and its quantity is selected so that the total power system demand is 80% of the system’s generation capacity (ignoring the BESS).
The loads considered in this study are represented by constant power models in order to simplify the simulations and focus the analysis on the interaction between the BESS and the frequency dynamics of the power system. We acknowledge that actual power system loads are typically composed of a combination of constant impedance, constant current, and constant power components, and the adopted load representation therefore constitutes a simplification of real operating conditions. Future studies may investigate the influence of more detailed ZIP load models on the dynamic performance of the proposed virtual synchronous machine-based BESS.
The synchronous machine models representing the thermal power plants are of second order and use only the mechanical differential equations. All machines have speed regulators and primary machines (steam turbines). The excitation system of machines 2 and 3 is represented by a constant voltage value, while the excitation system of machine 1 is a static gain, since this machine has greater power and thus a greater impact in the case studies. The parameter values of the transmission lines, loads, synchronous machines, transformers, and BESS can be found in Appendix A.
Since the objective of this study is to evaluate the dynamic performance of a VSM-controlled BESS during transient frequency events, battery energy constraints and state-of-charge dynamics were not explicitly modeled.
4. Simulation Results
The following results are divided into two parts: the first part includes the VSM strategy control tests, in which the controlled active and reactive power dispatch are shown; the second part includes the results of the ancillary support of the electrical grid, evaluating the BESS operating with a VSM strategy as an alternative to improve primary frequency control in power systems.
4.1. BESS Power Dispatch Tests
BESS power dispatch tests were obtained with the power converter directly connected to an infinite bus of 69 kV through a power transformer. The event sequences, which describe the operation conditions of the BESS, are as follows:
- An 80% step in the active power reference of the speed regulator is applied (virtual synchronous generator operation).
- A 100% step in the reactive power reference of the excitation system is applied (over-excited operation).
- : A −100% step in the reactive power reference of the excitation system is applied (under-excited operation).
- : The reactive power reference in the excitation system is set to zero and a step to −80% of the active power reference in the speed regulator is applied (virtual synchronous motor operation).
- A 100% step in the reactive power reference of the excitation system is applied (over-excited operation).
- A −100% step in the reactive power reference of the excitation system is applied (under-excited operation).
- The active power reference in the speed regulator and the reactive power reference in the excitation system are both set to zero.
Figure 13 presents the speed regulator electrical active power reference, the VSM mechanical power, and the active power dispatched to the electrical grid.
Figure 13.
Active power reference, active power dispatched, and BESS mechanical power curves.
Figure 13 shows that the BESS dispatched/demanded active power follows the reference of ±0.8 pu (considering a 30 MVA base). Furthermore, when the step in active power reference is applied to the VSM model, the mechanical power and electrical power grow slowly, as in a conventional synchronous machine speed regulator.
Through graphical analysis, it can be noted that the speed regulation system has the dynamic response of a first-order system. Based on this, the system’s time constant corresponds to the time at which it is approximately 63% of its final value; thus, it is possible to calculate this constant. The investigated system has a value of nearly 3.5 s, mostly influenced by the steam turbine and servo drive time constants used in the speed regulator.
Figure 14 presents the BESS dispatched/demanded reactive power of the VSM excitation system. It can be seen that the 1.0 pu (in 30 MVA base) reference step is saturated. This saturation is provided by the dynamic saturator that limits the converter’s apparent power to 1.0 pu.
Figure 14.
BESS reactive power curves of the BESS dispatch tests.
In Figure 15, the BESS active, reactive, and apparent powers during the performed tests are shown. It can be seen that the BESS apparent power is maintained at a 1.0 pu maximum, except in some transient periods, showing the dynamic saturator operation.
Figure 15.
Active, reactive, and apparent powers curves of the BESS dispatch tests.
Another important aspect for evaluating the BESS steady-state regime is the power quality of the converter’s injected current in the electrical grid. Figure 16 shows the three-phase current profile of the transformer’s high-voltage side when the BESS is dispatching 1.0 pu apparent power (30 MVA).
Figure 16.
BESS-injected current profile in the electrical grid during the power dispatch tests.
In the above figure, the injected current profile is almost perfectly sinusoidal. By using the FFT (Fast Fourier Transform) for low-order harmonic content, a THD of 1.89% is verified, which is totally acceptable by the power system’s standards. This current behavior is achieved, in part, by the eleven-level cascaded H-bridge converter, which synthesizes a quasi-sinusoidal voltage, as shown in Figure 17.
Figure 17.
Voltage synthesized by the eleven-level cascaded H-bridge converter.
4.2. Electrical Grid’s Primary Frequency Control Support
To obtain results related to the grid’s frequency support, the electrical power system shown in Figure 12 is used. Three case studies were conducted as follows:
- Case 1: L2 load insertion in the 69 kV bus, with a load step change by closing the DJ breaker. In the step moment, the BESS is at a floating operation point (it is not dispatching or absorbing any power).
- Case 2: L2 load rejection in the 69 kV bus, with a load step change by opening the DJ breaker. In the step moment, the BESS is at a floating operation point (it is not dispatching or absorbing any power).
- Case 3: L2 load insertion in the 69 kV bus, with a load step change by closing the DJ breaker. In the step moment, the BESS is operating as a virtual synchronous generator at its full capacity.
For case studies 1 and 2, in the speed regulator, three different values of speed droop, 8%, 5%, and 2%, were used in the simulations to evaluate the influence of this parameter on the system’s behavior.
4.3. Case Study 1—Load Insertion
By analyzing Figure 18, it can be seen that, when the BESS with VSM control was operating connected to the grid, the frequency showed more damped behavior. For the case where there was no BESS, the nadir was 59.1 Hz, while, when the BESS was operating, it reached 59.4 Hz for the best-case scenario, showing less frequency amplitude variation.
Figure 18.
Electrical power system frequency behavior for case study 1—load insertion.
Another important aspect to evaluate is the RoCoF. Figure 19 shows a zoomed-in image of the frequency behavior of case study 1 right after the load insertion was made. The RoCoF for each case is estimated using the frequency initial derivative by drawing its tangent line.
Figure 19.
Zoomed-in image of the frequency variation’s curve behavior for case study 1.
The slopes of the dashed red lines in Figure 19 are RoCoF 1 and 2, which are, respectively, the RoCoF of the system without and with the BESS operating with a VSM, and the RoCoF values are obtained by calculating the slope values. Table 1 provides the values of the nadir and RoCoF for case study 1—load insertion.
Table 1.
Nadir and RoCoF values for case study 1—load insertion.
The obtained data show that the insertion of the BESS operating with VSM control into the electrical power system increased the system’s inertia as the system RoCoF decreased. However, the virtual speed regulator’s speed droop does not interfere with the RoCoF behavior, as this indicator is tightly influenced by the system’s total inertia.
On the other hand, it was verified that decreasing the speed droop value decreases the frequency amplitude variation; i.e., the frequency primary control support of the BESS is greater with lower values of the coefficient R. This occurs because the BESS provides more power to the electrical grid during the contingency state; i.e., for R = 2%, the BESS tends to provide 100% of its rated power for a frequency variation of 2% of the rated frequency.
4.4. Case Study 2—Load Rejection
This case study, in a similar manner to the first case study, aims to evaluate the system’s frequency behavior with and without the BESS operating with a VSM. However, in this case, there is a positive frequency variation due to the load rejection. Figure 20 presents the power system’s frequency behavior due to L2 load rejection.
Figure 20.
Electrical power system frequency behavior for case study 2—load rejection.
The frequency behavior after load rejection is similar to that presented in case study 1, though with positive frequency variation. It can be seen that the BESS operating with VSM control causes damped behavior in the system frequency. In addition, lower frequency variations and a lower RoCoF were observed when comparing the systems with and without the BESS. Table 2 summarizes the frequency indicators for case study 2 under load rejection.
Table 2.
Nadir and RoCoF values for case study 2—load rejection.
By analyzing the data in Table 1 and Table 2, it can be observed that the system behavior for case studies 1 and 2 is quite similar; in both cases (load insertion/rejection), there are contributions that increase the system’s inertia and the electrical grid’s primary frequency control when the BESS operates with a VSM. Although the investigated system is based on a simplified representation of the Roraima isolated grid, the obtained results provide useful indications regarding the potential benefits of a VSM-controlled BESS for frequency support under low-inertia operating conditions.
4.5. Case Study 3—BESS Operation Under Full Power Capacity
During the transient regime, when the BESS provides primary frequency control support, there is a high-power flow through the converter—particularly a high active power flowing through the batteries of the storage system to the electrical grid. During this high-power flow, the semiconductor switches are subjected to thermal stress. In contrast to a conventional synchronous machine, which has a high thermal time constant, the static converters present fast thermal time constants, and thus the electronic switches endure a lower overload level.
The first two case studies were conducted in favorable conditions for the static converter, as it was operating at a low current level prior to the transient regime. In contrast, case study 3 aims to verify the converter’s behavior at a more critical operational point, i.e., during load insertion, when the BESS is already operating and dispatching active power to the grid. This is a critical situation because the load insertion transient with the dispatched active power reference causes the VSM control to operate the BESS in an overload state, forcing the BESS to provide the electrical grid with greater active power than its rated power.
In Figure 21, the BESS active, reactive, and apparent powers for case study 3 are shown.
Figure 21.
BESS active, reactive, and apparent power curves for case study 3.
By analyzing Figure 21, it can be seen that, at 1 s, a step in the active and reactive power references is applied in the BESS with VSM control. While the reactive power quickly reaches a steady state, the active power rises at a considerably slower rate. As the active power rises, the reactive power dynamic saturator operates to decrease it in order to keep the apparent power value less than or equal to the converter’s rated power.
After the 0.8 pu active power dispatch limit is reached, the power system is subjected to the L2 load insertion transient. At this moment, the active power flow tends to increase due to the speed regulator’s natural response in order to provide the electrical grid with primary frequency control support. Thus, the reactive power decreases until it reaches zero to temporally increase the BESS active power dispatch capacity, but without overcoming the converter’s operational limits. After the transient regime, the converter returns to its normal operational point.
5. Discussion
The increasing adoption of renewable energy sources has significantly reduced the natural inertia of modern power systems, making frequency stability a critical operational challenge. In this context, the results obtained in this study demonstrate that a BESS operating under a virtual synchronous machine (VSM) strategy effectively helps to mitigate this issue by emulating synchronous inertia and improving the dynamic response of the system.
More specifically, the simulation results indicate that the investigated system is able to consistently reproduce the dynamic behavior of a conventional synchronous machine. The gradual response of active power, exhibiting a first-order system characteristic, demonstrates that the modeling of the virtual speed governor and its associated components was appropriate for capturing the electromechanical dynamics required for primary frequency control. This finding is aligned with recent studies highlighting VSM-based approaches as effective solutions for emulating system inertia in low-inertia power systems [24].
Regarding reactive power control, the system demonstrated the ability to operate within the nominal limits of the converter, even under a simultaneous high demand for both active and reactive power. The implementation of dynamic saturation mechanisms ensured that the apparent power remained within acceptable operational boundaries, reinforcing the robustness of the control strategy that was used. This coordinated management of active and reactive power is consistent with recent developments in grid-forming control strategies, which emphasize integrated power management to ensure stability and operational safety in modern power systems [11].
In terms of power quality, the results confirm that the cascaded H-bridge multilevel converter can synthesize current waveforms with low harmonic distortion, even under nominal operating conditions. The reduced total harmonic distortion (THD) that was observed highlights the effectiveness of multilevel converter topologies, which are widely recognized in the literature for improving waveform quality and reducing switching losses in high-power applications.
With respect to primary frequency support, the results clearly demonstrate that the integration of a BESS with VSM control contributes to an increase in the equivalent system inertia. This effect is demonstrated by the reduction in the Rate of Change of Frequency (RoCoF) and the improvement in the frequency nadir following load disturbances. These findings corroborate recent studies indicating that virtual inertia control plays a crucial role in mitigating frequency instability in inverter-dominated power systems [2].
Furthermore, our analysis of the droop parameter revealed that, although it does not significantly affect the RoCoF, it has a direct influence on the amplitude of frequency deviations. Lower droop values resulted in higher active power injection during disturbances, thereby reducing frequency excursions. This behavior is consistent with classical frequency regulation theory, where droop control is responsible for balancing power and stabilizing frequency over slower time scales compared to inertial response [3].
The results obtained in the load rejection scenario further confirm the bidirectional capability of the BESS in supporting frequency stability. The system was able to effectively absorb excess power, reducing frequency overshoots and improving damping characteristics. This flexibility is highlighted in recent studies which emphasize the role of energy storage systems as key enablers of frequency regulation in modern grids, capable of both injecting and absorbing power depending on system conditions [7].
On the other hand, the scenario involving operation close to the converter’s nominal capacity highlights important operational challenges. Under such conditions, the system managed to prevent overloading by dynamically redistributing power between active and reactive components. Although this demonstrates the effectiveness of the control strategy that was used, it also reveals inherent limitations related to converter capacity constraints. Recent research has indicated that such limitations are critical in VSM-based systems, especially under high-stress conditions [25].
Despite our promising results, some limitations of this study should be acknowledged. First, our analysis was conducted in a simulation environment, which involves simplifications in system modeling. Additionally, the impact of the battery state of charge (SOC) on frequency support capability was not explored in depth. Recent work has emphasized that SOC constraints significantly influence the effectiveness of frequency support provided by BESSs [26]. Moreover, the sensitivity of VSM parameters remains a critical issue, with recent studies proposing adaptive control strategies to improve system performance under varying operating conditions [27].
Overall, the findings of this study contribute to a growing body of research on BESS applications with VSM control, demonstrating their effectiveness in enhancing frequency stability and maintaining power quality in modern power systems. From a practical perspective, our approach shows strong potential for deployment in isolated systems, weak grids, and grids with high renewable energy penetration. Future work should focus on experimental validation, detailed parameter sensitivity analysis, and the integration of adaptive control strategies to further enhance system performance and robustness.
6. Conclusions
In this study, we investigated the application of a battery energy storage system (BESS) operating under a virtual synchronous machine (VSM) strategy for primary frequency support in low-inertia power systems. Our results demonstrate that the VSM-BESS approach is capable of effectively enhancing frequency stability by providing an emulated inertial response similar to that of conventional synchronous generators and delivering a fast active power response during system disturbances.
In our dynamic analysis, it was observed that the integration of the BESS significantly reduced the Rate of Change of Frequency (RoCoF) and improved the frequency nadir in both load insertion and rejection scenarios. These results confirm that the VSM-based control strategy provides an emulated inertial response that improves the frequency dynamics of the system, which is particularly important in modern grids with high penetration of renewable energy sources.
Additionally, the system demonstrated stable operation under different loading conditions, including scenarios close to the converter’s nominal capacity. The implemented control strategy was able to manage the power flow effectively, preventing overloading by dynamically redistributing active and reactive power. This highlights the robustness and flexibility of the proposed approach for real-world applications.
Despite these promising results, some limitations must be acknowledged. The study was conducted in a simulation environment with simplified system modeling, and the influence of key factors such as battery state of charge and parameter sensitivity of the VSM was not fully explored. These aspects should be addressed in future research.
Overall, our findings indicate that BESSs operating under VSM control represent a viable and effective solution for improving frequency stability in low-inertia power systems. Rather than increasing the physical inertia of the grid, the proposed control strategy provides an emulated inertial response that reproduces key electromechanical characteristics of conventional synchronous generators, contributing to a reduction in RoCoF and the improvement of frequency recovery following disturbances.
It should be noted that the results obtained in this study are based on a simplified representation of an isolated power system derived from the Roraima electrical grid, and the reported performance improvements should therefore be interpreted within the scope of the adopted modeling assumptions. Nevertheless, the study provides valuable insights into the application of VSM-controlled BESS for primary frequency support in low-inertia isolated power systems.
Future work should focus on experimental validation, optimization of control parameters, and integration with advanced energy management strategies to further enhance system performance in practical applications.
Author Contributions
Conceptualization, L.T.F.S. and A.C.S.; Software, L.T.F.S. and A.C.S.; Formal analysis, A.C.S.; Investigation, L.T.F.S.; Resources, W.S.; Writing—review and editing, A.C.S., W.S., G.M.d.R. and D.I.B.; Visualization, A.C.S.; Supervision, W.S. and D.I.B.; Funding acquisition, W.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 original contributions presented in this study are included in the article. Further inquiries can be directed to the corresponding author.
Conflicts of Interest
The authors declare no conflicts of interest.
Appendix A
The parameters of the models used in the simulation studies are presented in Table A1, Table A2, Table A3, Table A4, Table A5, Table A6, Table A7 and Table A8.
Table A1.
Electrical grid load active and reactive power values.
Table A2.
Electrical grid transmission line impedances.
Table A3.
Generator 01 parameters.
Table A4.
Generator 02 and 03 parameters.
Table A5.
Transformer T1, T2, and T3 parameters.
Table A6.
Transformer T4 parameters.
Table A7.
Transformer T5 and T6 parameters.
Table A8.
BESS parameters.
References
- Wu, Q.H.; Bose, A.; Singh, C.; Chow, J.H.; Mu, G.; Sun, Y.; Liu, Z.; Li, Z.; Liu, Y. Control and stability of large-scale power system with highly distributed renewable energy generation: View- points from six aspects. CSEE J. Power Energy Syst. 2023, 9, 8–14. [Google Scholar]
- Song, J.; Zhou, X.; Zhou, Z.; Wang, Y.; Wang, Y.; Wang, X. Review of low inertia in power systems caused by high proportion of renewable energy grid integration. Energies 2023, 16, 6042. [Google Scholar] [CrossRef] [Scilit]
- Kundur, P. Power System Stability; Mc Graw-Hill: New York, NY, USA, 2007. [Google Scholar]
- Liu, D.; Zhang, X.; Tse, C.K. Effects of high level of penetration of renewable energy sources. IEEE J. Emerg. Sel. Top. Circuits Syst. 2022, 12, 98–106. [Google Scholar] [CrossRef] [Scilit]
- Denholm, P.; Mai, T.; Kenyon, R.W.; Kroposki, B.; O’Malley, M. Inertia and the Power Grid: A Guide Without the Spin, Technical Report; National Renewable Energy Laboratory: Golden, CO, USA, 2020.
- You, S.; Liu, Y.; Tan, J.; Gonzalez, M.T.; Zhang, X.; Zhang, Y.; Liu, Y. Comparative assessment of tactics to improve primary frequency response without curtailing solar output in high photovoltaic interconnection grids. IEEE Trans. Sustain. Energy 2019, 10, 718–728. [Google Scholar] [CrossRef] [Scilit]
- Farivar, G.G.; Manalastas, W.; Tafti, H.D.; Ceballos, S.; Sanchez-Ruiz, A.; Lovell, E.C.; Konstantinou, G.; Townsend, C.D.; Srinivasan, M.; Pou, J. Grid-connected energy storage systems: State-of-the-art and emerging technologies. Proc. IEEE 2023, 111, 397–420. [Google Scholar] [CrossRef] [Scilit]
- Tamaki, M.; Takagi, K.; Shimada, K.; Kawakami, N.; Iijima, Y. Development of pcs for battery system installed in megawatt photovoltaic system. In Proceedings of the 2012 15th International Power Electronics and Motion Control Conference (EPE/PEMC), Novi Sad, Serbia, 4–6 September 2012. [Google Scholar]
- Unamuno, E.; Suul, J.A.; Molinas, M.; Barrena, J.A. Comparative eigenvalue analysis of synchronous machine emulations and synchro- nous machines. In Proceedings of the IECON 2019-45th Annual Conference of the IEEE Industrial Electronics Society, Lisbon, Portugal, 14–17 October 2019; Volume 1, pp. 3863–3870. [Google Scholar]
- Badrudeen, T.U.; Nwulu, N.I.; Gbadamosi, S.L. Low-inertia control of a large- scale renewable energy penetration in power grids: A systematic review with taxonomy and bibliometric analysis. Energy Strategy Rev. 2024, 52, 101337. [Google Scholar] [CrossRef] [Scilit]
- Qaisar, M.W.; Fang, J. Grid-Forming Converters for Renewable Generation: A Comprehensive Review. Energies 2025, 18, 4565. [Google Scholar] [CrossRef] [Scilit]
- Ma, N.; Zhao, P.; Xu, W.; Liu, A.; Zhu, H.; Shi, Z.; Wang, J. A multi-level isobaric hydrogen-electric coupled energy storage system with a wide-range operational strategy: Enhancing efficiency and flexibility in renewable-dominated power grid. Appl. Energy 2025, 401, 126783. [Google Scholar] [CrossRef] [Scilit]
- Ma, N.; Zhao, P.; Xu, W.; Liu, A.; Zhu, H.; Shi, Z.; Wang, J. Assessment on the coupling effect and economic viability of a novel hydrogen-electric coupled energy storage system combining hydrogen-fueled CAES and oxy-combustion CCES driven by a power-to-gas device: A pathway for synergistic enhancement. J. Energy Storage 2025, 135, 118178. [Google Scholar] [CrossRef] [Scilit]
- ONS. Manual de Procedimentos da Operação: Conceitos Básicos para o Controle de Geração, Technical Report; Operador Nacional do Sistema Elétrico: Rio de Janeiro, Brazil, 2022. [Google Scholar]
- Moore, I.F. Inertial Response from Wind Turbines. Master’s Thesis, Cardiff University, Cardiff, UK, 2012. [Google Scholar]
- Filho, X.V. Operação de Sistemas de Potência com Controle Automático de Geração; Eletrobrás: Rio de Janeiro, Brazil, 1984. [Google Scholar]
- Shadoul, M.; Ahshan, R.; AlAbri, R.S.; Al-Badi, A.; Albadi, M.; Jamil, M. A comprehensive review on a virtual-synchronous generator: Topologies, control orders and techniques, energy storages, and applications. Energies 2022, 15, 8406. [Google Scholar] [CrossRef] [Scilit]
- Rashid, M. Eletrônica de Potência: Dispositivos, Circuitos e Aplicações; Pearson: São Paulo, Brazil, 2014. [Google Scholar]
- Kouro, S.; Wu, B.; Moya, Á.; Villanueva, E.; Correa, P.; Rodríguez, J. Control of a cascaded h-bridge multilevel converter for grid connection of photovoltaic systems. In Proceedings of the 2009 35th Annual Conference of IEEE Industrial Electronics, Porto, Portugal, 3–5 November 2009; pp. 3976–3982. [Google Scholar]
- Stephen, J.; Chapman, A.L. Fundamentos de Máquinas Elétricas; Mc Graw Hill: New York, NY, USA, 2013. [Google Scholar]
- Hirase, Y.; Abe, K.; Sugimoto, K.; Shindo, Y. A grid-connected inverter with virtual synchronous generator model of algebraic type. Electr. Eng. Jpn. 2013, 184, 10–21. [Google Scholar] [CrossRef] [Scilit]
- Anderson, P.M.; Fouad, A.A. Power System Control and Stability; Wiley-IEEE Press: Hoboken, NJ, USA, 2003. [Google Scholar]
- IEEE. Dynamic Models for Turbine-Governors in Power System Studies, Technical Report; IEEE: New York, NY, USA, 2013. [Google Scholar]
- Waskito, F.; Wijaya, F.D.; Firmansyah, E. Review of Virtual Inertia Based on Synchronous Generator Characteristic Emulation in Renewable Energy-Dominated Power Systems. Electricity 2025, 6, 69. [Google Scholar] [CrossRef] [Scilit]
- Ohuchi, K.; Masod, A.F.B.; Kato, S.; Hirase, Y. Stability analysis of virtual synchronous generator control in a high-voltage DC transmission system using impedance-based method. Energy Rep. 2023, 9, 557–567. [Google Scholar] [CrossRef] [Scilit]
- Yuan, Y.; Yang, Y. A State-of-Charge-Frequency Control Strategy for Grid-Forming Battery Energy Storage Systems in Black Start. Batteries 2025, 11, 296. [Google Scholar] [CrossRef] [Scilit]
- Xing, W.; Wang, H.; Lu, L.; Han, X.; Sun, K.; Ouyang, M. An adaptive virtual inertia control strategy for distributed battery energy storage system in microgrids. Energy 2021, 233, 121155. [Google Scholar] [CrossRef] [Scilit]
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. |
© 2026 by the authors. Licensee MDPI, Basel, Switzerland. This article is an open access article distributed under the terms and conditions of the Creative Commons Attribution (CC BY) license.




















