Next Article in Journal
A Multiobjective Artificial-Hummingbird-Algorithm-Based Framework for Optimal Reactive Power Dispatch Considering Renewable Energy Sources
Next Article in Special Issue
A Low Q Three-Phase Series Resonant Converter for PV Applications
Previous Article in Journal
Robust Approach to Battery Equivalent-Circuit-Model Parameter Extraction Using Electrochemical Impedance Spectroscopy
Previous Article in Special Issue
Fault Ride-Through Techniques for Permanent Magnet Synchronous Generator Wind Turbines (PMSG-WTGs): A Systematic Literature Review
 
 
Font Type:
Arial Georgia Verdana
Font Size:
Aa Aa Aa
Line Spacing:
Column Width:
Background:
Article

Enhanced Virtual Inertia Control for Microgrids with High-Penetration Renewables Based on Whale Optimization

1
Faculty of Energy Engineering, Aswan University, Aswan 81542, Egypt
2
APEARC, Aswan University, Aswan 81542, Egypt
3
Electrical Engineering Department, School of Electronics, Communications and Computer Engineering, Egypt-Japan University of Science and Technology (E-JUST), New Borg ElArab, Alexandria 21934, Egypt
*
Authors to whom correspondence should be addressed.
Energies 2022, 15(23), 9254; https://doi.org/10.3390/en15239254
Submission received: 15 October 2022 / Revised: 22 November 2022 / Accepted: 27 November 2022 / Published: 6 December 2022

Abstract

:
High penetration of renewable energy sources into isolated microgrids (µGs) is considered a critical challenge, as µGs’ operation at low inertia results in frequency stability problems. To solve this challenge, virtual inertia control based on an energy storage system is applied to enhance the inertia and damping properties of the µG. On the other hand, utilization of a phase-locked loop (PLL) is indispensable for measuring system frequency; however, its dynamics, such as measurement delay and noise generation, cause extra deterioration of frequency stability. In this paper, to improve µG frequency stability and minimize the impact of PLL dynamics, a new optimal frequency control technique is proposed. A whale optimization algorithm is used to enhance the virtual inertia control loop by optimizing the parameters of the virtual inertia controller with consideration of PLL dynamics and the uncertainties of system inertia. The proposed controller has been validated through comparisons with an optimized virtual inertia PI controller which is tuned utilizing MATLAB internal model control methodology and with H -based virtual inertia control. The results show the effectiveness of the proposed controller against different operating conditions and system disturbances and uncertainties.

1. Introduction

During recent decades, the transition in electricity generation from centralized to decentralized (distributed) generation has made microgrids a rich research area, especially with the integration of renewable energy sources (RESs). For solving the energy crisis and environmental problems, the infrastructure of microgrids (µGs) has proven to be a substitutional strategy as they include decentralized generators, RESs, energy storage systems (ESSs), and distributed loads [1,2,3,4,5]. In conventional interconnected power systems, due to their high inertia, the stabilization of system voltage and/or frequency is maintained by synchronous generators [6]. However, one of the major problems of integrating RESs into the µGs is that RES systems suffer from a deficiency of inertia and damping properties, leading to larger frequency deviation and system collapse [1]. The main reason for this issue is the usage of converters and inverters for interfacing RESs; however, these electronic devices do not possess any inertia or damping properties [7]. In addition, the lack of system inertia leads to an increase in the rate of change of frequency (RoCoF), resulting in fast and severe variation in system frequency, even under soft disturbance. These problems negatively impact µG stability and cause system collapse [8]. According to the previously stated problems, dynamic stability (e.g., frequency/voltage control) and control techniques should be provided with high concern [9,10].
Many researchers have addressed this issue from the viewpoint of control, for example, by enhancing the traditional controller design using various algorithms and optimization methodologies [11,12,13] and employing intelligent techniques [14,15,16,17]. The authors of [17] introduced a load frequency control depending on model predictive control design for the studied µG, which depends on the coordination of wind turbines and plug-in hybrid electric vehicles. Sedghi, in [18], used a combination of robust control and fuzzy logic control strategies to regulate the frequency of the system. One of the recent solutions that can overcome the previously mentioned problems in the power system, i.e., organizing the participation of the µG distributed energy sources without causing any stability or feasibility problems, was provided using power electronic devices through which the behavior of the synchronous generator is virtually emulated. The virtual inertia was obtained utilizing ESSs with advanced control methodology of the inverter [9,19,20]. In [9], the introduced variable coefficient virtual inertia control (VIC) methodology provided an additional inertia feature to the total inertia of the hybrid µG resulting in rapid RoCoF response and minimization of the dynamic frequency deviation. This led to the prevention of transient frequency instability. However, in [19], a new technique of virtual inertia emulation was implemented for two-area interconnected systems with automatic generation control. The sensitivity of control parameters was analyzed to clarify the effectiveness of adding virtual inertia on the system behavior, which can be noted as a significant enhancement for both the damping characteristics of high-voltage DC links and the first overshoot responses. The authors of [20] presented a virtual synchronous machine to regulate both the active and reactive power via regulating the virtual torque and virtual excitation. The inertia of the grid can be improved via addition of virtual inertia; accordingly, the transient frequency stability was promoted. In addition, the virtual damping of the virtual synchronous machine minimized the oscillation of the grid frequency and power. Moreover, numerous studies were conducted for improving µGs’ frequency stability via designing an advanced VIC which depends on derivative methodology [21,22,23,24,25,26,27,28]. In this technique, to emulate the inertia, RoCoF should be used for generating a modified active power from the ESS. The researchers of [21] used this approach for controlling ESS-stored energy even for AC or DC interconnected automatic generation control systems. Furthermore, for enhancing the system performance, not only the dynamic properties of the synchronous generators were emulated but also the static properties, while the effect of frequency measurement was taken into consideration. In [22], to improve the frequency stability of an isolated µG with consideration of high-penetrated RESs, the authors designed a robust VIC that depends on the H technique. In [23], to minimize the frequency variation in the case of high-voltage AC µGs with a high penetration level of RESs, the authors built a small-signal model for testing the transient responses of µG frequency with the proposed control scheme. The authors introduced virtual synchronous generator control methodology for controlling ESS shared energy and supporting the system inertia, resulting in improvement in the frequency stability. A stability assessment technique was investigated concerning multiple VIC units in [24]. The concept of a synchronverter was discussed in [25] to simulate the behavior of synchronous generators for controlling the inertia. Researchers of [26] investigated the effectiveness of derivative-approach-based inertia control for enhancing the frequency stability. Recently, Fang et al., in [27], discussed the improvement of µG inertia properties relying on frequency derivatives by paying attention to the effect of frequency measurement.
Practically, frequency measurement systems, e.g., a phase-locked loop (PLL), have a significant effect when implementing power electronics devices (converters and/or inverters) in power system control. As implementing VIC strategies requires a PLL for frequency determination, the ability of VIC to deal with fast oscillated frequency depends on how the frequency is measured [28,29]. It is stated in the literature that, due to its dynamics, the PLL has remarkable deficiencies, such as harmonics and noise, so that higher frequency/voltage oscillation may result, as in [30]. Moreover, with a high level of penetrated RESs, the effect of utilizing a PLL for frequency measuring is more drastic as it may cause system instability and may even lead to failure of the power system. The impacts of using the PLL on power system stability were discussed in [31], affirming that PLL dynamics are among the critical issues that have major effects on the system’s stability.
On the other hand, the µG becomes more nonlinear with the existence of system disturbances and high fluctuated uncertainties such as high variation in inertia and damping properties, high-interrupted generation from the RESs, and high variation in the PLL output frequency [9,29,30,31,32]. In [29], the controlling of power systems with uncertainties using robust control strategies was performed based on uncertainty representation in the simulated control system. The implementation of robust control approaches for VIC design was studied in a small amount of research. In reference [9], a robust VIC was designed that considers the variation in the inertia and damping of the power system as uncertainties. The authors of [32] ignored the effects of utilizing the PLL during VIC design; however, in [29], the authors considered these dynamics in the design, leading to achieving better results.
One of the effective solutions for dealing with the PLL measurement delay and other uncertainty issues in the power system is the implementation of optimization techniques for tuning the controllers of the virtual inertia control loop. The whale optimization algorithm (WOA) is a new swarm intelligence optimization algorithm which is sufficiently flexible for considering significant uncertainties such as system inertia, damping, and the dynamics of the PLL during the control installation process. The WOA simulates the intelligent hunting behavior of humpback whales. This foraging behavior is called a bubble-net feeding method, and is only observed in humpback whales [33]. The WOA has a massive ability to solve complex real-word optimization problems [34]. Due to its features, e.g., simplicity, flexibility, fast convergence speed, and stochastic nature, the WOA technique is applicable in multiple disciplines, such as electrical power systems, data mining, and machine learning. Moreover, WOA is comparable to different nature-inspired optimization techniques as it is characterized by easy implementation and robustness in addition to fewer control parameters that are required to be tuned [35].
To summarize, this paper addresses one of the major problems of integrating RESs into the µGs, that is, that RES systems suffer from a deficiency of inertia and damping properties. One of the recent solutions is emulating the behavior of synchronous generator inertia virtually through utilizing an ESS with advanced control of the inverter to provide an additional inertia feature to the total inertia of the µG. The main contribution of this work is providing a new control strategy that depends on the WOA for tuning the most popular existing controller used in the virtual inertia control loop, namely the proportional-integral (PI) controller, for regulating the frequency of the µG at a specified nominal value (i.e., 50 or 60 Hz) during a variety of operating conditions and the existence of frequency measurement systems. In addition, reduction of ESS sharing is targeted in this study. The main idea behind applying the WOA is to solve the targeted problem by imitating the whale’s predatory behavior in order that the inertia of the µG can be enhanced, and system stability can be maintained even with the existence of system disturbances and uncertainties and/or the undesirable effects of using a PLL for frequency measurement. In addition, a comparative study of different control strategies was carried out to validate the effectiveness of the proposed approach considering the settling time, the peak undershoots, and peak overshoots.
This paper has been organized as follows: In Section 2, the system modeling and the structure of the studied µG are introduced. Dynamic modeling of the understudy system is described in Section 3. The whale optimization algorithm is explained in Section 4. The simulation results and discussion are presented in Section 5. Finally, the conclusions are illustrated in Section 6.

2. System Modeling

The general structure of the understudy µG taking into consideration the dynamics of the energy sources, virtual inertia control loop, and PLL is discussed in this section. Virtual inertia control based on ESS is taken as an important part of the understudy µG through which the inertia and damping properties of the µG must be improved.

2.1. A. Structure of the Studied Microgrid

The µG under consideration is composed of different types of energy sources and loads as shown Figure 1. It contains thermal power plant, i.e., synchronous generation (12.0 MW), wind power plant (7.0 MW), solar power plant (6.0 MW), energy storage system (4.0 MW), residential loads (5.0 MW), and industrial loads (10.0 MW). The base of the system is taken as 15.0 MW. For providing the analysis of the frequency stability, the dynamic structure of the studied system considering the dynamics of VIC with PLL was managed as illustrated in Figure 2. The values of control parameters are listed in Table 1.
For fulfilling the practical features of the µG, the following factors were considered: the generator rate constraint (GRC) of the governor unit, which restricts the generation rate of the generated power; speed governor backlash, which can be explained as the total magnitude of sustained speed change; and the constraints of the closing and opening rate of the turbine valve gate (Vu, VL). The generation of the thermal power plant is required for feeding the domestic loads, even residential or industrial loads, and provides primary frequency control [28]. As is shown in Figure 2, the area control error (ACE) system is applied to minimize the steady-state frequency error for the secondary frequency control. Moreover, the RESs are controlled for providing renewable power to the isolated µG. However, these sources do not take part in controlling the frequency. In consequence, the renewable generations and loads are used in studied µG as external disturbances. Moreover, the ESS supplies the VIC loop with the inertia power.

2.2. B. Structure of the Understudy Microgrid

As presented in Figure 2, for obtaining inertia power, ESS is implemented, where the dynamics of VIC loop is emulated utilizing a PLL, inertia control scheme, and ESS model based on inverter. The inertia control and ESS model dynamic structures are described in Figure 3a, in which the inertia control is represented by a derivative control approach for changing the shared active power to the system set point according to RES penetration through generating the RoCoF. However, in order to provide the real features of the ESS by reducing the effect of noise that arises because of PLL utilization for frequency measurement, a low-pass filter is applied with the derivative inertia control.
In addition, to emulate the ESS’s real energy performance, a limiter is applied for making maximum and minimum limits of the ESS energy capacity, P i n e r t i a _ m a x and P i n e r t i a _ m i n , respectively. Actually, using the VIC for controlling the ESS by injecting the essential virtual inertia power into the µG improves system stability. The VIC can be formulated as follows:
Δ P i n e r t i a = s · K V I 1 + s · T V I · K ( s ) · Δ f P L L
where K V I is the VIC gain, T V I is the virtual inertia time constant, and Δ f P L L is the measured frequency change. K ( s ) is a PI controller of the virtual inertia loop with a transfer function of ( K p + K i s ), where K p and K i are the proportional and integral gains, respectively. The PLL dynamics including time delay are represented by first- or second-order models, as displayed in Figure 3b, which is a combination of a phase detector, loop filter, and voltage-controlled oscillator. Considering K P D = K V C O = 1 , the 2nd dynamic equation of a PLL with a delay is expressed as [22,30]:
Δ f P L L = K L F · S + ( K L F / T P L L )   S 2 + K L F · S + ( K L F / T P L L ) · Δ f
Equation (2) can be rewritten as a normalized function as follows:
Δ f P L L = 2   ξ   ω n · s + ω n 2 s 2 + 2 ξ   ω n · s + ω n 2   Δ f
where
ω n = K L F T P L L                 a n d               ξ = K L F . T P L L   2  
The estimated time constant of the PLL transfer function for 1.0% of steady-state response can be obtained as τ = 1 / ξ ω n , where Δ f is the system frequency change, K P D is the phase-detector control gain, K L F is the loop filter control gain, K V C O is the gain of the voltage-controlled oscillator, and T P L L is the time constant of the PLL. The values of ω n and ζ have been taken as 1.5 and 1 / 2 , respectively.

3. Dynamic Modeling of the Studied Microgrid

In this study, three control loops were applied to overcome the frequency stabilization problems. Those control loops are primary control loop, secondary control loop, and inertia control loop. Referring to Figure 2, the dynamics of µG frequency deviation can be expressed as
Δ f = 1 2 H · S + D ( Δ P m + Δ P W + Δ P P V + Δ P i n e r t i a Δ P L )  
where H is the power system inertia, D is the power system damping coefficient, Δ P m is the change in the power generated from the thermal power plant, Δ P i n e r t i a is the change in the power provided by the ESS, and Δ P L is the change in the total load of the system. Additionally, Δ P m can be obtained by Equations (6)–(8).
Δ P m = 1 1 + s · T t ( Δ P g )
  Δ P g = 1 1 + s · T g ( Δ P A C E 1 R Δ f )
Δ P A C E = K i s ( β Δ f )
where Δ P g is the change in power generated from thermal power plant, Δ P A C E is the control signal change at the secondary control loop, K i is the auxiliary frequency controller, Δ P W is the change in the power generated from the wind power turbine, and Δ P P V is the change in the power generated from the solar system.

4. Modeling of Whale Optimization Algorithm (WOA)

In [32], Hof et.al. mentioned that whales’ brains include spindle-shaped cells which are similar to those of humans that allow humans to judge, suffer emotionally, and behave socially, i.e., those cells are the main causes of human distinction. It was discovered that whales own a number of these cells that is double the number adult humans have, meaning that whales, like humans, have intelligence, but at a much lower level. In addition, the authors of [36] noticed that humpback whales have the ability to enhance their dialect.
During hunting, individual humpbacks’ positions (locations) can be considered as decision variables, whereas the distance between each hunter and the targeted prey can be decided based on the cost of the objective function [37]. Goldbogen et al. [36] investigated humpback whale behavior utilizing tag sensors. Hunting behavior was classified into two proceedings called upward spirals maneuver and double loops maneuver, both of which are based on bubble-net strategy that is used by the hunter whales. In the former maneuver, humpback individuals (search agents) dive to the level of 12.0 m below the ocean surface, and afterwards begin to generate spiral-shaped bubbles around their prey (best solution), then swim up to the water surface. However, the hunter whales complete the latter maneuver in three steps: the coral loop, the lobtail, and the capture loop. In this study, upward spirals maneuver has been selected to be emulated for problem optimization.
In this study, WOA depends on modeling the first maneuver of hunting, i.e., upward spirals maneuver, as follows: Whale individuals’ positions are considered time-dependent variables and can be determined through three stages: The first stage is searching for prey; this can be described as exploration phase. The second stage is prey encircling. The third stage is attacking the prey; this can be described as exploitation phase. These stages are addressed in the following subsections.

4.1. A. Exploration Phase: Modeling of Searching

In humpback whale hunting strategy, the exploration phase (search for prey) is considered the main stage, in which the search agents look for prey; afterward, they take their locations randomly around the prey, i.e., each whale of the hunting group takes a random position with respect to the prey. For modeling this process mathematically, the expected whole position can be formulated by (9):
d = | C · x r a n d ( t ) x ( t ) |  
x ( t + 1 ) = x r a n d ( t ) A · d  
where x r a n d ( t ) is the whale location which is selected randomly by individual hunting whales in the current iteration, d is a vector whose elements represent the distances between the hunters and the prey, and C & A are coefficient vectors. | | is the absolute value function.

4.2. B. Modeling of Encircling

In this hunting stage, humpback whales encircle prey school after realizing its location in the previous stage. Each search agent updates its location with respect to the prey optimally instead of randomly in the exploration phase. At this point, the hunters consider the current best candidate position among their current positions as best solution in the current iteration and nearest to the optimal location. Accordingly, the positions of the other hunters are updated towards the best search agent. The mathematical model behind the encircling strategy can be expressed as follows [37]:
d = C · x * ( t ) x ( t )
x ( t + 1 ) = x * ( t ) A · d
Moreover, A and C which are applied to obtain the optimal position of the search agents, are expressed by Equations (13) and (14):
A = 2 a · r a
C = 2 · r  
where x * is the local best position, x ( t ) represents whale position at iteration t , and x ( t + 1 ) is the expected whale position at the iteration t + 1 . A and C are two control parameters whose values depend on a and r , where a has a value that decreases linearly from 2 to 0 during the iterations, and r is a random vector in the range of [0, 1].

4.3. C. Exploitation Phase: Modeling of Bubble-Net Strategy

The bubble-net strategy is the feeding behavior of humpback whales. This strategy is a combination of two mechanisms, the shrinking encircling mechanism and the spiral updating position mechanism. In the former mechanism, the new position of a hunter whale (search agent) is selected to be between the current best position of that hunter and its original position as shown in Figure 4. In the latter mechanism, calculation of the distance between the whale position ( x , y ) and the prey position ( x * , y * ) is performed.
The model of the bubble-net feeding behavior can be obtained by applying a spiral formula behind the helix-shaped movement of humpback whales to define the position between each hunter and the prey. This movement can be represented as shrinking circle and following a spiral-shaped path [38]:
x ( t + 1 ) = { d ` · e b l · cos ( 2 π l ) + x *   ( t )           i f   p 0.5                 x * ( t ) A · d                                   i f   p < 0.5          
where p is the probability of choosing one of the two Equations of (15) to update the hunters’ positions, b is a constant for defining the shape of the logarithmic spiral which is set to 1, and d ` is the distance between the current position of the whale and the best solution. l is a random number whose value lies in the range [−1, 1].
According with the above strategies, the flowchart of whale optimization algorithm is given in Figure 5. Due to its flexibility, high avoidance of local optima, and being a gradient-free mechanism, the WOA algorithm have a wide variety of applications including solving practical engineering problems. This motivated our attempts to employ WOA to optimize PI controller, K ( s ) , for virtual inertia emulation of an islanded µG application. The optimization process was performed offline; however, the effectiveness of the optimized controller was approved and tested under different disturbance and uncertainty scenarios as discussed in the following section.

5. Results and Discussion

In this study, the analysis, simulations, and optimization program were implemented utilizing MATLAB software to investigate the effectiveness of the proposed control scheme.
In order to check the robustness of the suggested virtual inertia controller against high RES penetration and the utilization of a PLL in µGs, different scenarios of disturbances and inertia uncertainty were implemented. In addition, the µG performance that is achieved when applying the proposed approach for tuning the PI controller of the VIC loop was compared with those of the µG when applying the conventional virtual inertia control, H -based virtual inertia control, and tuned PI based on the MATLAB Internal-Model Control (IMC) for virtual inertia control which is an applicable technique in real practice and industry [39] The optimum parameters of the IMC-based PI controller, i.e., K P and K I were properly obtained as 18.015 and 5.473, respectively. However, the transfer function of the H controller is formulated in [8] as
K ( s ) = N ( s ) D ( s )  
where
N ( s ) = 6.35 × 10 6   s 3 + 1.64 × 10 9   s 2 + 6.58 × 10 8   s   8164.0  
D ( s ) = 0.8   s 4 + 3096.0   s 3 + 3.07 × 10 6   s 2 + 3856.0   s   + 9.0 × 10 3
Moreover, the implicit nonlinearities of the thermal power plant, i.e., speed governor backlash and GRC, were considered in the simulation. The GRC is given as 12% Pu MW/min for non-reheat turbines, and where the turbine unit includes a gate valve with ± 0.5 closing and opening rate limits. The proposed optimization scheme is conducted using the WOA options that are shown in Table 2. Furthermore, as an additional challenge for the proposed controller, the sharing of the energy storage system is reduced from 30% in previous works to 25%. In addition, from a power-quality viewpoint, the µG frequency and time deviation should be maintained within acceptable ranges, i.e., the frequency of the µG should be within 49 to 51 Hz and 49.5 to 50.5 Hz during the generation/load event and no contingency event, respectively. The target of WOA is to obtain optimal values of K ( s ) controller parameters (PI controller) through minimizing the following f ( x ) objective function:
f ( x ) = i = 1 k Δ f i 2
where Δ f i is the frequency at the sampling time i . Minimization of f ( x ) is obtained in an offline manner. The objective function is converged to its best value within 20 iterations and the best tuning of the PI controller is achieved. The optimized parameters of the PI controller are provided in Table 3.
In order to examine the µG frequency stability under the effects of various parameters’ uncertainties and load disturbances and the effectiveness of the proposed control strategy, four scenarios were considered (scenarios 1, 2, 3, and 4). The first scenario was given to test the µG frequency stability with different controllers. The behavior of the proposed WOA-based PI controller was tested against various loads and RES step changes (±0.1 p.u.) and under 100% system inertia. However, the under study µG was tested in the other three scenarios (scenarios 2, 3, and 4) under various operating conditions such as high penetration of wind farms and solar power plants, which are shown in Figure 6. In addition, for more realistic operating conditions (low load damping and high-frequency deviation), the residential and industrial loads, shown in Figure 7, were applied. To investigate the robustness of the proposed controller against the high penetration of RESs and loads and with different system inertia, the previous operating conditions were applied according to Table 4.

5.1. Scenario 1

Figure 8 shows the µG frequency response, i.e., frequency stability under sudden load/RESs changes, system frequency drop, RoCoF, and overshoot. It is clear from the figure that the proposed optimal control achieves a respectable enhancement in frequency drop, overshoot, and RoCoF. In addition, it effectively minimizes the PLL effect on µG stability; however, a large frequency drop/overshoot exists in the case of applying the conventional virtual inertia control (±0.29 Hz). Compared to the other controllers, the proposed WOA-based PI controller provides better frequency performance, i.e., the frequency deviation is maintained within ±0.02 Hz.

5.2. Scenario 2

In this scenario, to test the islanded µG for expected real operation, in addition to applying realistic generated power from RESs and loads pattern, changes in µG operating conditions (medium system inertia, i.e., H = 50% of its nominal value) were considered simultaneously. Figure 9 shows the µG performance with virtual inertia control when applying a WOA-based PI controller, IMC-based PI controller, and H -based controller. From the figure, it is notable that the proposed controller using WOA regulates the system frequency more effectively than the other compared controllers.
The maximum overshoot and maximum undershoot of frequency deviation in the studied µG with the proposed coordination are about 0.07605 Hz and 0.07227 Hz, respectively. In the case of conventional virtual inertia control, optimal PI-based IMC and H -based virtual inertia control are 1.273 Hz and 1.014 Hz, 0.5694 Hz and 0.4718 Hz, and 0.1015 Hz and 0.0886 Hz, respectively.

5.3. Scenario 3

To perform a more drastic simulation, this scenario investigated the frequency response of the studied µG with the proposed controller under more reduction in the µG inertia (low system inertia), i.e., 70% reduction in the system’s inertia, which can be expressed as H = 30% of its nominal value. The performance of the µG is illustrated in Figure 10.
It can be noted from the results that with the proposed controller, the µG has rapid dynamic performance and low steady-state error and has more stability with high RESs integration. The maximum overshoot and maximum undershoot of the frequency deviation are 0.09539 Hz and 0.08582 Hz, respectively. It is observed that the system frequency is maintained within the permissible limits; accordingly, the robustness of the µG was achieved in case of operation at low system inertia.

5.4. Scenario 4

In reality, µGs’ parameters may be degraded with time. In addition, the µGs may have invalid estimated parameters; for example, for maintenance purposes some of the system parts such as the turbine and governor may be replaced with new parts, resulting in system performance deterioration which may lead to system instability. Thus, it is necessary to evaluate the µG stability and performance under these conditions. To confirm the effectiveness of the proposed control technique against µG parameter uncertainty, this scenario was carried out. The studied µG in this scenario operates at the same conditions as those applied in Scenario 2; however, the thermal generation governor time constant was increased by 50% of its nominal value ( T g = 0.15 s), and the turbine time constant was increased by 90% of its nominal value ( T t = 0.7 s). In addition, the droop characteristic was decreased by 25% ( R = 1.8 s) [3,6].
From Figure 11 it can be concluded that, in the case of conventional virtual inertia control, the microgrid frequency is completely unstable (the maximum overshoot and maximum undershoot are 1.1784 Hz and 2.789 Hz, respectively), causing system failure. The optimal IMC-based PI controller also fails to stabilize the µG (the maximum overshoot and maximum undershoot are 0.8274 Hz and 0.7698 Hz, respectively). When applying the proposed WOA-based PI controller for the VIC loop, a significant performance was noticed, i.e., the frequency fluctuations were minimized (the maximum overshoot and maximum undershoot are 0.09581 Hz and 0.09281 Hz, respectively), indicating that µG security and robustness when operating in the unstable mode were maintained. Thus, the effectiveness of the proposed controller was approved under the effect of uncontrollable disturbances, i.e., the variation in RESs power and loads, and uncertainties of the µG parameter.

6. Conclusions

The importance of low-inertia microgrids (µGs) caused by high penetration of RESs and the inadequate emulation of the virtual inertia control loop for those systems, especially in the case of measuring the µG frequency using a phase-locked loop, are considered in this study. These issues may cause frequency instability problems in the µGs and may lead to system collapse. To minimize the drawbacks of RESs’ high penetration and frequency measurement delay, this paper introduces an optimized PI controller based on WOA for the virtual inertia control loop. The simulation results verify the effectiveness and superiority of using WOA for optimizing the designed virtual inertia controller over using IMC-based optimization and an H -based controller. The effectiveness of the proposed controller was investigated using a variety of µG operating conditions. Four test scenarios were performed, and it can be observed from the results that the proposed controller can provide a significant effect in maintaining the robustness of the system’s operation, enhancing the µG stability, and reducing frequency deviation from 0.1015 Hz when utilizing H -based virtual inertia control (used in recent research) to 0.07605 Hz in the case of medium system inertia and from 0.1286 Hz to 0.09539 Hz in the case of high RESs penetration. Even in the case of primary parameters mismatch, the frequency deviation is reduced from 0.1287 Hz when utilizing H -based virtual inertia control to 0.09581 Hz with the proposed controller.

Author Contributions

Conceptualization, A.F., O.A.-R. and E.H.A.; methodology, A.F. and E.H.A.; software, A.F. and E.H.A.; validation, A.F. and O.A.-R.; formal analysis, A.F., E.H.A. and O.A.-R.; investigation, A.F.; resources, E.H.A. and M.O.; data curation, A.F. and O.A.-R.; writing—original draft preparation, A.F.; writing—review and editing, A.F., E.H.A. and O.A.-R.; visualization, A.F. and M.O.; supervision, E.H.A., O.A.-R. and M.O.; project administration, E.H.A. and O.A.-R. All authors have read and agreed to the published version of the manuscript.

Funding

The authors are very grateful to the Aswan University Fund for Sustainable Development for funding this research as a part of its program “Competitive Projects”, under Grant EESC204, first call, 2021.

Conflicts of Interest

The author declares no conflict of interest.

References

  1. Kerdphol, T.; Rahman, F.S.; Watanabe, M.; Mitani, Y.; Turschner, D.; Beck, H.P. Enhanced Virtual Inertia Control Based on Derivative Technique to Emulate Simultaneous Inertia and Damping Properties for Microgrid Frequency Regulation. IEEE Access 2019, 7, 14422–14433. [Google Scholar] [CrossRef]
  2. Abdel-Rahim, O.; Chub, A.; Vinnikov, D.; Blinov, A. DC Integration of Residential Photovoltaic Systems: A Survey. IEEE Access 2022, 10, 66974–66991. [Google Scholar] [CrossRef]
  3. Kerdphol, T.; Watanabe, M.; Mitani, Y.; Phunpeng, V. Applying virtual inertia control topology to SMES system for frequency stability improvement of low-inertia microgrids driven by high renewables. Energies 2019, 12, 3902. [Google Scholar] [CrossRef] [Green Version]
  4. Abdel-Rahim, O.; Funato, H. Droop Method Based on Model Predictive Control for DC Microgrid. In Proceedings of the 19th International Conference on Electrical Machines and Systems, Chiba, Japan, 13–16 November 2016; pp. 1–6. [Google Scholar]
  5. Kerdphol, T.; Watanabe, M.; Hongesombut, K.; Mitani, Y. Self-Adaptive Virtual Inertia Control-Based Fuzzy Logic to Improve Frequency Stability of Microgrid with High Renewable Penetration. IEEE Access 2019, 7, 76071–76083. [Google Scholar] [CrossRef]
  6. Kerdphol, T.; Rahman, F.S.; Mitani, Y. Virtual inertia control application to enhance frequency stability of interconnected power systems with high renewable energy penetration. Energies 2018, 11, 981. [Google Scholar] [CrossRef] [Green Version]
  7. ENTSO-E. Frequency Stability Evaluation Criteria for the Synchronous Zone of Continental Europe–Requirements and Impacting Factors; ENTSO-e Publ.: Brussels, Belgium, 2016; p. 25. Available online: https://docstore.entsoe.eu/Documents/SOCdocuments/RGCE_SPD_frequency_stability_criteria_v10.pdf (accessed on 5 June 2022).
  8. Kerdphol, T.; Rahman, F.S.; Watanabe, M.; Mitani, Y. Robust Virtual Inertia Control of a Low Inertia Microgrid Considering Frequency Measurement Effects. IEEE Access 2019, 7, 57550–57560. [Google Scholar] [CrossRef]
  9. Zhao, J.; Lyu, X.; Fu, Y.; Hu, X.; Li, F. Coordinated Microgrid Frequency Regulation Based on DFIG Variable Coefficient Using Virtual Inertia and Primary Frequency Control. IEEE Trans. Energy Convers. 2016, 31, 833–845. [Google Scholar] [CrossRef]
  10. Castro Martinez, J.; Arnaltes, S.; Alonso-Martinez, J.; Rodriguez Amenedo, J.L. Contribution of Wind Farms to the Stability of Power Systems with High Penetration of Renewables. Energies 2021, 14, 2207. [Google Scholar] [CrossRef]
  11. Parise, G.; Martirano, L.; Kermani, M.; Kermani, M. Designing a power control strategy in a microgrid using PID/fuzzy controller based on battery energy storage. In Proceedings of the 2017 IEEE International Conference on Environment and Electrical Engineering and 2017 IEEE Industrial and Commercial Power Systems Europe (EEEIC/I&CPS Europe), Milan, Italy, 6–9 June 2017; pp. 1–5. [Google Scholar] [CrossRef]
  12. Sayed, F.; Kamel, S.; Abdel-Rahim, O. Load Shedding Solution Using Multi-Objective Teaching-Learning-Based Optimization. In Proceedings of the International Conference on Innovation Trends in Computer Engineering, Aswan, Egypt, 19–21 February 2018; pp. 447–452. [Google Scholar]
  13. Bevrani, H.; Habibi, F.; Babahajyani, P.; Watanabe, M.; Mitani, Y. Intelligent frequency control in an AC microgrid: Online PSO-based fuzzy tuning approach. IEEE Trans. Smart Grid 2012, 3, 1935–1944. [Google Scholar] [CrossRef]
  14. Gong, K.; Shi, J.; Liu, Y.; Wang, Z.; Ren, L.; Zhang, Y. Application of SMES in the Microgrid Based on Fuzzy Control. IEEE Trans. Appl. Supercond. 2016, 26, 1–5. [Google Scholar] [CrossRef]
  15. Kamel, S.; Rabea, F.; Jurado, F.; Abdel-Rahim, O. Implementation of a Simplified SVC Model into Newton-Raphson Load Flow Algorithm. In Proceedings of the International Conference on Innovation Trends in Computer Engineering, Aswan, Egypt, 19–21 February 2018; pp. 374–437. [Google Scholar]
  16. Mohamed, E.A.; Mitani, Y. Enhancement the Dynamic Performance of Islanded Microgrid Using a Coordination of Frequency Control and Digital Protection. Int. J. Emerg. Electr. Power Syst. 2019, 20, 1–15. [Google Scholar] [CrossRef]
  17. Sedghi, L.; Fakharian, A. Voltage and frequency control of an islanded microgrid through robust control method and fuzzy droop technique. In Proceedings of the 2017 5th Iranian Joint Congress on Fuzzy and Intelligent Systems (CFIS), Qazvin, Iran, 7–9 March 2017; pp. 110–115. [Google Scholar] [CrossRef]
  18. Rakhshani, E.; Remon, D.; Cantarellas, A.M.; Garcia, J.M.; Rodriguez, P. Virtual Synchronous Power Strategy for Multiple HVDC Interconnections of Multi-Area AGC Power Systems. IEEE Trans. Power Syst. 2017, 32, 1665–1677. [Google Scholar] [CrossRef]
  19. Rakhshani, E.; Remon, D.; Cantarellas, A.M.; Rodriguez, P. Analysis of derivative control based virtual inertia in multi-area high-voltage direct current interconnected power systems. IET Gener. Transm. Distrib. 2016, 10, 1458–1469. [Google Scholar] [CrossRef] [Green Version]
  20. Chen, Y.; Hesse, R.; Turschner, D.; Beck, H.P. Improving the grid power quality using virtual synchronous machines. In Proceedings of the 2011 International Conference on Power Engineering, Energy and Electrical Drives, Torremolinos, Spain, 11–13 May 2011; pp. 1–6. [Google Scholar] [CrossRef]
  21. Rakhshani, E.; Rodriguez, P. Inertia Emulation in AC/DC Interconnected Power Systems Using Derivative Technique Considering Frequency Measurement Effects. IEEE Trans. Power Syst. 2017, 32, 3338–3351. [Google Scholar] [CrossRef]
  22. Kerdphol, T.; Rahman, F.S.; Mitani, Y.; Watanabe, M.; Kufeoglu, S. Robust Virtual Inertia Control of an Islanded Microgrid Considering High Penetration of Renewable Energy. IEEE Access 2018, 6, 625–636. [Google Scholar] [CrossRef]
  23. 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]
  24. Alipoor, J.; Miura, Y.; Ise, T. Stability assessment and optimization methods for microgrid with multiple VSG units. IEEE Trans. Smart Grid 2018, 9, 1462–1471. [Google Scholar] [CrossRef]
  25. 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]
  26. Alhejaj, S.M.; Gonzalez-Longatt, F.M. Impact of inertia emulation control of grid-scale BESS on power system frequency response. In Proceedings of the 2016 International Conference for Students on Applied Engineering (ICSAE), Newcastle Upon Tyne, UK, 20–21 October 2016; pp. 254–258. [Google Scholar] [CrossRef] [Green Version]
  27. Fang, J.; Zhang, R.; Li, H.; Tang, Y. Frequency Derivative-based Inertia Enhancement by Grid-Connected Power Converters with a Frequency-Locked-Loop. IEEE Trans. Smart Grid 2018, 10, 4918–4927. [Google Scholar] [CrossRef]
  28. Oshnoei, S.; Aghamohammadi, M.; Oshnoei, S.; Oshnoei, A.; Mohammadi-Ivatloo, B. Provision of Frequency Stability of an Islanded Microgrid Using a Novel Virtual Inertia Control and a Fractional Order Cascade Controller. Energies 2021, 14, 4152. [Google Scholar] [CrossRef]
  29. Bevrani, H.; Ise, T.; Miura, Y. Virtual synchronous generators: A survey and new perspectives. Int. J. Electr. Power Energy Syst. 2014, 54, 244–254. [Google Scholar] [CrossRef]
  30. Teodorescu, R.; Liserre, M.; Rodriguez, P. Grid Converters for Photovoltaic and Wind Power Systems; Wiley: Sussex, UK, 2011. [Google Scholar]
  31. Orihara, D.; Kikusato, H.; Hashimoto, J.; Otani, K.; Takamatsu, T.; Oozeki, T.; Taoka, H.; Matsuura, T.; Miyazaki, S.; Hamada, H.; et al. Contribution of Voltage Support Function to Virtual Inertia Control Performance of Inverter-Based Resource in Frequency Stability. Energies 2021, 14, 4220. [Google Scholar] [CrossRef]
  32. Fathi, A.; Shafiee, Q.; Bevrani, H. Robust frequency control of microgrids using an extended virtual synchronous generator. IEEE Trans. Power Syst. 2018, 33, 6289–6297. [Google Scholar] [CrossRef]
  33. Nasiri, J.; Khiyabani, F.M. A whale optimization algorithm (WOA) approach for clustering. Cogent Math. Stat. 2018, 5, 1483565. [Google Scholar] [CrossRef]
  34. Zhou, Y.; Ling, Y.; Luo, Q. Levy flight trajectory-based whale optimization algorithm for global optimization. IEEE Access 2017, 5, 6168–6186. [Google Scholar] [CrossRef]
  35. Mehne, H.H.; Mirjalili, S. A parallel numerical method for solving optimal control problems based on whale optimization algorithm. Knowl.-Based Syst. 2018, 151, 114–123. [Google Scholar] [CrossRef]
  36. Mirjalili, S.; Lewis, A. The Whale Optimization Algorithm. Adv. Eng. Softw. 2016, 95, 51–67. [Google Scholar] [CrossRef]
  37. Rana, N.; Latiff, M.S.A.; Abdulhamid, S.M.; Chiroma, H. Whale Optimization Algorithm: A Systematic Review of Contemporary Applications, Modifications and Developments; Springer: London, UK, 2020; Volume 32. [Google Scholar] [CrossRef]
  38. Bevrani, H.; Francois, B.; Ise, T. Microgrid Dynamics and Control; John Wiley & Sons: Hoboken, NJ, USA, 2017. [Google Scholar] [CrossRef]
  39. Kaveh, A.; Farhoudi, N. A new optimization method: Dolphin echolocation. Adv. Eng. Softw. 2013, 59, 53–70. [Google Scholar] [CrossRef]
Figure 1. A schematic diagram of the islanded microgrid.
Figure 1. A schematic diagram of the islanded microgrid.
Energies 15 09254 g001
Figure 2. Dynamic structure of the microgrid.
Figure 2. Dynamic structure of the microgrid.
Energies 15 09254 g002
Figure 3. The dynamic structure of (a) virtual inertia control and (b) the PLL.
Figure 3. The dynamic structure of (a) virtual inertia control and (b) the PLL.
Energies 15 09254 g003
Figure 4. Bubble-net searching mechanism [37].
Figure 4. Bubble-net searching mechanism [37].
Energies 15 09254 g004
Figure 5. WOA flowchart [38].
Figure 5. WOA flowchart [38].
Energies 15 09254 g005
Figure 6. Solar and wind power generation.
Figure 6. Solar and wind power generation.
Energies 15 09254 g006
Figure 7. (a) Residential load pattern. (b) Industrial load pattern.
Figure 7. (a) Residential load pattern. (b) Industrial load pattern.
Energies 15 09254 g007
Figure 8. Microgrid frequency performance: (a) Frequency stability. (b) Frequency drop. (c) RoCoF. (d) Frequency overshoots.
Figure 8. Microgrid frequency performance: (a) Frequency stability. (b) Frequency drop. (c) RoCoF. (d) Frequency overshoots.
Energies 15 09254 g008
Figure 9. Frequency response under medium system inertia.
Figure 9. Frequency response under medium system inertia.
Energies 15 09254 g009
Figure 10. Frequency response under low system inertia.
Figure 10. Frequency response under low system inertia.
Energies 15 09254 g010
Figure 11. Frequency response in case of primary controller uncertainty.
Figure 11. Frequency response in case of primary controller uncertainty.
Energies 15 09254 g011
Table 1. Dynamic parameters of the studied microgrid.
Table 1. Dynamic parameters of the studied microgrid.
ParameterNominal Value
Frequency bias factor, β (p.u.MW/Hz)1
Secondary frequency controller, K i (s)0.05
Time constant of the governor, T G (s)0.1
Time constant of turbine, T t (s)0.4
Droop characteristic, R (Hz/p.u.MW)2.4
System damping, D (p.u.MW/Hz)0.015
System inertia, H (p.u.MW/s)0.083
Virtual inertia control gain, K V I (s)0.8
Time constant of wind turbine, T W T (s)1.5
Time constant of solar system, T P V (s)1.85
Natural frequency, ω n (rad/s)1.5
The damping ratio, ξ 1.414
Time constant of virtual inertia, T V I (s)10
Time constant of PLL, T P L L (s)0.943
The phase-detector control gain, K P D 1
The loop filter control gain, K L F 2.12
The gain of the voltage-controlled oscillator, K V C O 1
Table 2. Initial parameters for WOA.
Table 2. Initial parameters for WOA.
PARAMETERVALUE
Maximum iterations300
Search agent size10
Problem dimension2
Range of the proportional parameter[−100, 2000]
Range of the integral parameter [−100, 500]
Table 3. Optimized parameters of PI controller based on WOA.
Table 3. Optimized parameters of PI controller based on WOA.
PARAMETER K P K i
Value1.073 × 103141.279
Table 4. Multiple operating conditions of scenarios 2, 3, and 4.
Table 4. Multiple operating conditions of scenarios 2, 3, and 4.
RESs/Load TypeStarting TimeStop Time
Solar generationInitial800 s
Wind generation200 s-
Residential loadInitial-
Industrial loadInitial-
Publisher’s Note: MDPI stays neutral with regard to jurisdictional claims in published maps and institutional affiliations.

Share and Cite

MDPI and ACS Style

Faragalla, A.; Abdel-Rahim, O.; Orabi, M.; Abdelhameed, E.H. Enhanced Virtual Inertia Control for Microgrids with High-Penetration Renewables Based on Whale Optimization. Energies 2022, 15, 9254. https://doi.org/10.3390/en15239254

AMA Style

Faragalla A, Abdel-Rahim O, Orabi M, Abdelhameed EH. Enhanced Virtual Inertia Control for Microgrids with High-Penetration Renewables Based on Whale Optimization. Energies. 2022; 15(23):9254. https://doi.org/10.3390/en15239254

Chicago/Turabian Style

Faragalla, Asmaa, Omar Abdel-Rahim, Mohamed Orabi, and Esam H. Abdelhameed. 2022. "Enhanced Virtual Inertia Control for Microgrids with High-Penetration Renewables Based on Whale Optimization" Energies 15, no. 23: 9254. https://doi.org/10.3390/en15239254

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