Next Article in Journal
3D Analysis of Hydrogen Distribution and Its Mitigation Using Passive Autocatalytic Recombiners (PARs) Inside VVER-1000 Containment
Next Article in Special Issue
Real-Time Testing Optimal Power Flow in Smart-Transformer-Based Meshed Hybrid Microgrids: Design and Validation
Previous Article in Journal
Beyond Bitcoin: Evaluating Energy Consumption and Environmental Impact across Cryptocurrency Projects
Previous Article in Special Issue
Comparison amongst Lagrange, Firefly, and ABC Algorithms for Low-Noise Economic Dispatch and Reactive Power Compensation in Islanded Microgrids
 
 
Font Type:
Arial Georgia Verdana
Font Size:
Aa Aa Aa
Line Spacing:
Column Width:
Background:
Article

Virtual Inertia Control in Autonomous Microgrids via a Cascaded Controller for Battery Energy Storage Optimized by Firefly Algorithm and a Comparison Study with GA, PSO, ABC, and GWO

by
Farhad Amiri
1,
Mohsen Eskandari
2,* and
Mohammad Hassan Moradi
1
1
Electrical Engineering Department, Faculty of Engineering, Bu-Ali Sina University, Hamedan 6516738695, Iran
2
The School of Electrical Engineering and Telecommunications, University of New South Wales, Sydney, NSW 2052, Australia
*
Author to whom correspondence should be addressed.
Energies 2023, 16(18), 6611; https://doi.org/10.3390/en16186611
Submission received: 18 August 2023 / Revised: 7 September 2023 / Accepted: 12 September 2023 / Published: 14 September 2023
(This article belongs to the Special Issue New Insights into Microgrids and Renewable Energy Systems)

Abstract

:
Modern (micro) grids host inverter-based generation units for utilizing renewable and sustainable energy resources. Due to the lack of physical inertia and, thus, the low inertia level of inverter-interfaced energy resources, the frequency dynamic is adversely affected, which critically impacts the stability of autonomous microgrids. The idea of virtual inertia control (VIC), assisted by battery energy storage systems (BESSs), has been presented to improve the frequency dynamic in islanded microgrids. This study presents the PD-FOPID cascaded controller for the BESS, a unique method for enhancing the performance of VIC in islanded microgrids. Using the firefly algorithm (FA), the settings of this controller are optimally tuned. This approach is robust to disruptions due to uncertainties in islanded microgrids. In several scenarios, the performance of the suggested approach is compared with those of other control techniques, such as VIC based on an MPC controller, VIC based on a robust H-infinite controller, adaptive VIC, and VIC based on an optimized PI controller. The simulation results in MATLAB show that the suggested methodology in the area of VIC is better than previous methods.

1. Introduction

The frequency dynamics and stability are highly affected by the inertia level in electric (micro) grids [1]. Power converters (so-called inverters) are used to connect renewable energy resources, like wind turbines and photovoltaic, to the microgrid. However, the inverter-interfaced energy resources lack physical inertia which reduces the inertia constant of the autonomous microgrid. Therefore, the frequency dynamic of the autonomous microgrid is at risk of instability due to a drastic rate of change of frequency and large frequency nadir raised because of the limited inertia [2,3]. Battery energy storage systems (BESSs) are widely utilized and controlled to provide virtual inertia [4].
Numerous control loops have been studied for frequency control assisted by the BESS in islanded microgrids, including (1) VIC, (2) PC, and (3) SC [5,6,7], to address this low inertia and enhance the frequency stability of the system. The VIC becomes active while the other control loops are idle when there is a load change in the microgrid. The amount of stored kinetic energy in the microgrid’s spinning component determines how the microgrid reacts to changes in load [8]. Whether the microgrid absorbs or transmits kinetic energy depends on its inertia [8]. Within 10 to 30 s following disturbances and events, the PC restores the frequency to a new stable state [9,10]. On the other hand, the SC returns the frequency to the nominal condition between 30 s and 30 min after frequency deviations [11]. Therefore, VIC [11] is the control that is essential to the frequency stability of an isolated microgrid. In essence, the functioning of the virtual synchronous generator’s VIC is a specialized component that serves as the main factor boosting frequency stability [12,13]. BESSs, if properly controlled, may be thought of as virtual inertia sources by applying VIC and producing an effective performance that is comparable to synchronous generators in the power system [14]. However, the performance of VIC is in jeopardy due to large disruptions and parameter uncertainties for an islanded microgrid [15]. To improve the effectiveness of virtual inertia control against disruptions and uncertainties linked to system characteristics, several control approaches have been used [16,17,18,19,20,21,22,23,24,25,26,27,28].
The performance of VIC in the islanded microgrids has been enhanced in [16] using a fuzzy controller. However, the use of a fuzzy controller is constrained by its labor-intensive and complicated design. One of the main drawbacks of fuzzy controllers is their inadequate performance against disruptions in the islanded microgrids, including load disruptions and renewable energy source disruptions [17]. In [17], a VIC method considering a variable droop coefficient for the islanded microgrids has been proposed. This method has improved the VIC of the microgrid to some extent and increased the flexibility of the islanded microgrids. However, its performance against disruptions in the islanded microgrid is not satisfactory. An MPC controller has been employed in [18,19,20] to raise VIC’s efficiency in the islanded microgrids. By using a precise model of the microgrid, this controller may give a VIC performance that is sufficient. But the MPC controller’s need for an accurate microgrid model is one of its key drawbacks. The performance of the system will be affected if an accurate model is not supplied. Furthermore, the MPC’s performance under uncertain conditions is inadequate. In [21,22], an H-infinite controller has been used to improve the performance of VIC against disruptions and uncertainties in microgrid parameters. This type of controller is robust against disruptions in islanded microgrids and weakens them as much as possible. It is also resilient against uncertainties in microgrid parameters. But this controller’s reliance on the system model is one of its key shortcomings. The lack of an accurate model of the microgrid compromises the efficiency of this controller. Another challenge of implementing the H-infinite controller in the islanded microgrid is its high complexity. The performance of VIC in the islanded microgrid has been enhanced in [23] by the deployment of an adaptive VIC based on the bang-bang control approach. The performance of this control system is not good when load disruptions and scattered generating sources are present, which is one of its key shortcomings. The islanded microgrid in [24] uses the coefficient diagram method. This approach calls for intricate calculations and offers insufficient resistance to load fluctuations and disruptions in renewable energy sources. In [25], a neuro-fuzzy network has been used in the structure of VIC in the islanded microgrid to control frequency and improve its stability. One of the main challenges of this method is its computational complexity for implementation in VIC. In [26], a Recurrent Probabilistic Wavelet Fuzzy Neural Network has been used in the structure of VIC in the islanded microgrid to control frequency and improve its stability. One of the main challenges of this method is its computational complexity for implementation in VIC. In [27,28], a new dynamic controller has been used to improve the performance of VIC in single-area and multi-area islanded microgrids. This method is robust against disturbances and uncertainties in microgrid parameters. It requires an accurate model of the microgrid and involves complex calculations.
One of the most well-liked and often utilized controllers in the electrical sector is the traditional PID controller [29]. It is favored for its simplicity, ease of use, fast response, and stability in controlling the frequency of microgrid networks [29,30,31,32,33,34,35,36]. In islanded microgrids, a variety of controllers have been used for frequency control and enhancing stability, including PI controllers [29,30], PID controllers [31], PID controllers based on the Ziegler–Nichols method [32], PID controllers based on GA [33], PID controllers based on PSO [34], PID controllers based on BBO [35], and PID controllers based on QOH [36].
According to the findings of control methods [29,30,31,32,33,34,35,36], the PID controller has the ability to improve the islanded microgrid frequency in conditions where load disruptions and renewable energy source disruptions are mild. But one of the most important problems of this controller is that it does not perform properly against severe load disruptions and severe disruptions of renewable energy sources (wind turbine, photovoltaic). Also, the PID controller does not perform optimally against the extreme uncertainty related to the islanded microgrid parameters. Compared to the FOPID controller, which has two degrees of freedom compared to the PID controller, has a number of benefits, such as (1) greater accuracy, (2) improved stability, and (3) resilient performance in systems with disruptions and parameter uncertainties [37]. An islanded microgrid’s frequency was managed by the FOPID controller in [38]. In [39], the FOPID controller, with its parameters tuned using a neural network, was employed to improve the performance of VIC in an islanded microgrid. In [40], the FOPID controller, with its parameters optimized using the SWA, was utilized to enhance frequency stability in an islanded microgrid. In [41], the FOPID controller, with its parameters optimized using the SCA, was employed to improve frequency stability in an islanded microgrid. In [42], the FOPID controller, with its parameters optimized using the HSA, was applied to enhance frequency stability in an islanded microgrid. According to the findings of the control methods [38,39,40,41,42], the FOPID controller has improved the frequency stability of the islanded microgrid. But this type of controller also has complications. One of the complications of the FOPID controller that may directly affect the frequency stability of the islanded microgrid is the fractional parameters of this controller. Therefore, correct setting of these parameters is very important.
Cascaded controllers that consist of both PID and FOPID components have many advantages over single PID and FOPID controllers. These controllers (cascaded controllers) respond quickly to system changes and provide optimal performance. Also, this type of controller is compatible with complex systems such as islanded microgrids [43,44,45]. Cascaded controllers have been used to improve frequency control in islanded microgrids and power systems [43,44,45]. In [43], the FOPI-FOPD cascade controller, with its parameters optimized using the DSA, was employed to enhance frequency control in power systems. In [44], the PI-TID cascade controller, with its parameters tuned using the chaotic BOT, was used to improve frequency control in islanded microgrids. In [45], the PI-FOPID cascade controller, with its parameters optimized using the GTO, was applied to enhance frequency control in islanded microgrids. According to the findings of the control methods [43,44,45], the cascaded controller has the ability to maintain the frequency stability of the islanded microgrid. This controller is very resistant to disruptions on the islanded microgrid. It also has the ability to maintain the frequency stability of the islanded microgrid in the presence of uncertainties.
In this paper, a new method called the PD-FOPID cascaded controller is proposed to improve the performance of VIC in islanded microgrids. The parameters of the controller are optimized using the FA. The reason for using the PD-FOPID cascade controller over other cascade controllers, like PI-FOPID, in the structure of VIC is that the mentioned controller, with the inclusion of the PD element, provides a more accurate and faster response to frequency variations in islanded microgrids. This leads to the improved performance of VIC against load disturbances, renewable energy source fluctuations, and uncertainties related to the parameters of the microgrid. In the VIC structure, the FA is used to optimize the cascaded controller’s settings. Compared to other metaheuristic algorithms like GA, PSO, ABC, and GWO, this method provides a number of benefits, including greater accuracy, quicker convergence, less parameter needs, and the capacity to enhance solutions.
The paper’s innovations and contributions might be summed up as follows:
  • Using PD-FOPID cascaded controllers improved virtual inertia and frequency responsiveness in islanded microgrids.
  • Employing an FA, which has not before been used in the context of VIC in islanded microgrid architectures, to optimize the suggested controller settings (PD-FOPID).
  • Performance evaluation of the suggested approach in relation to GA, PSO, ABC, and GWO algorithms for PD-FOPID controller parameter optimization, taking into account IAE and ITAE objective functions.
  • Performance testing of the FA-PD-FOPID suggested controller to enhance VIC performance against disturbances and uncertainties in islanded microgrid parameters.
The continuation of the paper is categorized into several sections: Section 2 discusses the studied islanded microgrid. Section 3 focuses on the design of the proposed controller for achieving desirable virtual inertia control in the islanded microgrid structure. Section 4 presents simulation results and discussions. Finally, Section 5 provides the conclusion 2.

2. Studied Islanded Microgrid

In this section, the components of the studied islanded microgrid, the dynamic model of the islanded microgrid, and VIC on the islanded microgrid are discussed.

2.1. Components of the Studied Islanded Microgrid

The researched islanded microgrid’s structure is depicted in Figure 1 [17]. A thermal power plant with a capacity of 12 MW, a wind turbine with a capacity of 7 MW, a photovoltaic system with a capacity of 9 MW, residential loads with a capacity of 15 MW, and an energy storage system (ESS) with a capacity of 4 MW are some of the parts that make up the islanded microgrid. The islanded microgrid has a base power of 12 MW [17]. In the load-frequency control system of the islanded microgrid, VIC is implemented on ESS, and it is anticipated to function as a compensator for balancing generation and consumption [17].

2.2. The Dynamic Model for Studying the Frequency Response (FR) of the Islanded Microgrid

Figure 2a depicts the dynamic model for analyzing the FR of the islanded microgrid’s [18,19,20]. The thermal power plant has a limiter-equipped turbine and a dead-band governor. The steam valve’s lowest and maximum opening and closing speeds are represented by VL and Vu, respectively [18,19,20]. A hierarchical control structure is utilized for frequency regulation in the dynamic model of the microgrid: three control loops: VIC loop, SC loop, and PC loop. A droop coefficient of 1/R is included in the main control loop [18,19,20]. The SC loop consists of a control error system with a control gain KI and an integral controller [21]. A first-order transferring function with damping constant D and inertia H, which is frequently employed in electrical systems for frequency regulation, is utilized to balance the system in the islanded microgrid. Wind turbines and photovoltaic systems are two examples of renewable energy sources that are modeled as first-order transfer functions with random inputs [21]. According to Figure 2a, the proposed controller (FA-PD-FOPID) is used in the VIC structure to improve the inertia of the islanded microgrid and enhance frequency stability. The parameters related to the islanded microgrid are shown in Table 1 [17].

2.3. VIC on the Islanded Microgrid

The objective of designing a VIC system is to provide the appropriate virtual inertia in microgrids that possess vast distributed generation resources. Since this microgrid does not possess adequate inertia in comparison to power systems, this control section operates as a separate control section to maintain microgrid frequency stability in the transient [17,18,19,20]. In Figure 2b, the dynamic model (microgrid) of VIC is shown. VIC is a derivative control in which the frequency variation rate is added as the additional active power to the reference microgrid during disturbances and incidents acting on the microgrid. The derivative control, which is highly sensitive to the frequency measurement noises, uses a low-pass filter to solve this problem. The low-pass filter simulates the behavior of an ESS [17,18,19,20]. Therefore, VIC prevents microgrid frequency instability and improves microgrid inertia and damping. The maximum capacity of the ESS, Pinertia,max, (charging power) is 0/25 pu and the minimum capacity of the ESS, Pinertia,min, (discharging power) is −0/25 pu [17,18,19,20].

3. Design of the Proposed Controller for Desired Performance of VIC in the Islanded Microgrid Structure

In this section, the structure of the proposed controller, the analysis of the FA, and the design of the proposed controller using the FA are discussed.

3.1. Proposed Controller

The cascaded PD-FOPID controller is intended to decrease frequency deviations caused by disruptions and uncertainties in system parameters in the VIC structure, as well as to increase the inertia of the islanded microgrid. The output of the PD controller controls the set-point of the FOPID controller, which is one of two controllers that make up the proposed controller. The PD controller is regarded as the primary or external controller in the proposed controller, while the FOPID controller is regarded as the secondary or internal controller. The suggested PD-FOPID controller for VIC in the islanded microgrid is shown in Figure 3 as having the following structure. The inner loop’s transfer function is shown in Figure 3, to be represented by Equation (1).
Y 2 ( s ) = A 2 ( s ) U 2 ( s )
A2(s) denotes the internal process’ transfer function in Equation (1), and U2(s) is the process’ input signal. Equation (2) depicts the outer loop’s transfer function. A1(s) in Equation (2) stands for the inner loop’s output, and U1(s) for the reference signal. According to Figure 3, the PD controller is represented by B1(s) in the outer layer and the FOPID controller by B2(s) in the inner layer.
Y ( s ) = A 1 ( s ) U 1 ( s )
In Figure 3, B 1 ( s ) ,   B 2 ( s ) ,   A 1 ( s )   and   A 2 ( s ) are, respectively, shown by Equations (3)–(6)
B 1 ( s ) = K P 1 + K d 1 s
B 2 ( s ) = K P 2 + K I s λ + K d 2 s μ
A 1 ( s ) = 1 2 Hs + D
A 2 ( s ) = K VI s T ESS s + 1
The suggested controller’s whole internal structure is seen in Figure 4.
The proposed controller parameters were obtained by minimizing two objective functions, IAE and ITAE, using FA. The objective functions IAE and ITAE are shown using Equations (7) and (8), respectively. The constraints of objective functions are demonstrated using Equation (9).
IAE = 0 t s Δ f dt
ITAE = 0 t s Δ f tdt
K P 1 , min K P 1 K P 1 , max K d 1 , min K d 1 K d 1 , max K P 2 , min K P 2 K P 2 , max K I , min K I K I , max K d 2 , min K d 2 K d 2 , max λ min λ λ max μ min μ μ max

3.2. Firefly Algorithm (FA)

A Firefly Calculation is an optimization calculation propelled by the characteristic behavior of fireflies [46]. This algorithm is widely used for solving optimization problems and conducting extensive searches in search spaces. The main advantage of the Firefly Algorithm over other algorithms such as GA, PSO, ABC, and GWO is its faster and more powerful performance [46,47]. Due to its use of simple and effective methods, the FA is capable of quickly approaching near-optimal solutions [48]. Additionally, this algorithm has the ability to converge to the optimal solution and generally provides the best results in less time [48]. This algorithm has the ability to adapt to complex problems and can effectively work on multi-objective optimization problems and problems with complex search spaces [46,47,48]. Overall, the FA is recognized as a powerful method for solving optimization problems, combining speed, convergence, and adaptability [49]. The above-described FA employs fireflies as nature-based interacting agents [49]. The following guidelines form the foundation of the algorithm [46,47,48,49]:
A. Because the fireflies are unisex, they are drawn to one another.
B. The brightness of the firefly affects how beautiful they are. As a result, fireflies are drawn to higher levels of brightness and travel accordingly. The relationship between distance and brightness is inverse.
C: The value of the objective function is represented by the brightness level.
Equation (10) expresses the firefly’s attraction β as a function of distance (r) [46,47,48,49]:
β ( r ) = β 0 e γ r 2
where γ is the constant light absorption coefficient and β 0 is the attraction at r = 0. The Euclidean distance is used to calculate the distance between any two fireflies (Equation (11)) [46,47,48,49].
r ij = x i x j = k = 1 d ( x i , k x j , k ) 2
If xi and xj represent two distinct fireflies, the firefly movement is represented as (Equation (12)) [46,47,48,49].
x i = x i + β 0 e γ r ij 2 ( x j x i ) + α ( rand 0 . 5 ) * scale
where α controls the randomization process and rand is a random number produced between [0,1] [46,47,48,49].

3.3. Designing the Proposed Controller Using the Firefly Algorithm

Optimizing the control parameters of the PD-FOPID controller in the VIC structure of an islanded microgrid using the FA involves several stages:
  • Initialize β0, γ , α, and scale: These are parameters used in the algorithm. β0 represents the initial attractiveness, γ represents the absorption coefficient, α represents the randomization parameter, and scale is used to scale the controller parameters.
  • Generate an initial population of fireflies xi: This step creates an initial set of fireflies with their respective PD-FOPID controller parameters. The number of fireflies is determined by the variable “no_of_fireflies”.
  • Evaluate the objective function of fireflies f(x): The objective function is evaluated for each firefly based on the Integral of Absolute Error (IAE) or Integral of Time-weighted Absolute Error (ITAE). This function measures the performance of the firefly’s controller parameters.
  • Determine the light intensity Ii at xi: The light intensity of each firefly is determined based on the evaluation of the objective function. The higher the light intensity, the better the performance of the firefly.
  • Rank the fireflies based on their light intensity: the fireflies are ranked based on their light intensity, with the best solution (firefly) and its corresponding light intensity being stored.
  • While loop: this loop continues until the maximum number of iterations (maximum Iteration) is reached.
  • For loop (i): this loop iterates over each firefly in the population.
  • For loop (j): this nested loop iterates over each firefly in the population again.
  • Calculate the distance rij: The distance between firefly i and firefly j is calculated. This distance is used to determine the attractiveness between fireflies.
  • Move firefly i towards j: If the light intensity of firefly j is greater than the light intensity of firefly i, firefly i is moved towards firefly j. This movement is based on the attractiveness β(r) and the movement of fireflies.
  • Evaluate new solutions and their light intensity: After the movement of fireflies, the objective function is evaluated again for the new solutions. The light intensity of each firefly is updated accordingly.
  • End of nested loop (j).
  • End of loop (i).
  • Rank the fireflies and update the best solution: After the nested loops, the fireflies are ranked again based on their updated light intensity. The best solution (firefly) and its corresponding light intensity are updated if a better solution is found.
  • End of while loop.
In Figure 5, the process of optimizing the parameters of the PD-FOPID controller in the VIC structure of the islanded microgrid using the FA is illustrated.

4. Simulation Results and Discussion

In this section, the islanded microgrid has been simulated under four different scenarios. Scenario (1) consists of two parts: the first part evaluates the performance and convergence of the FA in optimizing the PD-FOPID controller parameters and compares it with GA, PSO, ABC, and GWO algorithms. In the second part, the proposed FA-PD-FOPID controller is compared with several methods, including VIC based on MPC controller, VIC based on H-infinite controller, adaptive VIC controller, VIC based on optimized PI controller, VIC, and No VIC in the islanded microgrid under load disruptions. In scenario (2), the proposed method is compared with other methods (VIC based on MPC controller, VIC based on H-infinite controller, adaptive VIC controller, VIC based on optimized PI controller, VIC, and No VIC in the islanded microgrid) in terms of performance against load disruptions and uncertainties in the parameters of the islanded microgrid. In scenario (3), the proposed method is compared with the mentioned methods in terms of performance against load disruptions, renewable energy source disruptions (photovoltaic, wind turbine), and slight uncertainties in the parameters of the islanded microgrid. In scenario (4), the proposed method is compared with the mentioned methods in terms of performance against load disruptions, renewable energy source disruptions (photovoltaic, wind turbine), and severe uncertainties in the parameters of the islanded microgrid [50].

4.1. Scenario (1)

In this scenario, a disruption with a size of ΔPL = 0.1 pu is connected to the islanded microgrid at t = 1 s, as shown in Figure 6. The initial parameters for the FA and the Cascaded PD-FOPID controller are presented in Table 2. Figure 7 illustrates the convergence of the FA, ABC, GWO, GA, and PSO algorithms in optimizing the PD-FOPID controller parameters, considering the IAE as the objective function. According to Figure 7, the FA algorithm exhibits faster convergence, and the IAE values for FA, GWO, GA, ABC, and PSO algorithms are 0.0021, 0.0027, 0.0028, 0.0033, and 0.0036, respectively. Table 3 presents the optimized parameters for the PD-FOPID controller using the FA, GWO, GA, ABC, and PSO algorithms, considering the IAE and ITAE as the objective functions. Therefore, based on Figure 7 and Table 3, the FA will be utilized for optimizing the PD-FOPID controller parameters. As mentioned in this scenario, a disruption with the waveform shown in Figure 6 is applied to the islanded microgrid. In Figure 8, the applied signal by the proposed controller to the islanded microgrid is illustrated. Figure 9a,b depicts the FR of the islanded microgrid using diverse control strategies. The results of the various control methods for Scenario (1) are presented in Table 4. According to Table 4, the maximum frequency deviation and settling time associated with frequency deviation using the proposed method (VIC based on FA-PD-FOPID controller) are 0.0058 Hz and 0.15 s, respectively. The maximum frequency deviation and settling time using VIC based on a H-infinite controller are 0.039 Hz and 0.54 s, respectively. The maximum frequency deviation and settling time using VIC based on an MPC controller are 0.076 Hz and 14.62 s, respectively. The maximum frequency deviation and settling time using the Adaptive VIC controller are 0.12 Hz and 24.66 s, respectively. The maximum frequency deviation and settling time using VIC based on an optimized PI controller are 0.18 Hz and 17.79 s, respectively. The maximum frequency deviation and settling time using the VIC method are 0.25 Hz and 26.41 s, respectively. The maximum frequency deviation and settling time without using any VIC method are 0.34 Hz and 21.55 s, respectively. According to the results of Scenario (1), the proposed method has demonstrated satisfactory performance compared to other employed methods in mitigating the effects of load disturbances, significantly reducing frequency deviations caused by load disruption. Additionally, the settling time associated with frequency deviations caused by load disruption has been accelerated using the proposed method.

4.2. Scenario (2)

In this scenario, a load disruption has been introduced to the islanded microgrid, taking into account the uncertainty associated with the microgrid parameters (H = −50%). In Figure 10, the applied signal by the proposed controller to the islanded microgrid is illustrated. Figure 11a,b depicts the FR of the islanded microgrid using diverse control strategies. The results of the diverse control strategies for scenario (2) are shown in Table 5. According to Table 5, the maximum frequency deviation and settling time using the proposed method (VIC based on FA-PD-FOPID controller) are 0.007 Hz and 0.17 s, respectively. The maximum frequency deviation and settling time using VIC based on a H-infinite controller are 0.054 Hz and 0.78 s, respectively. The maximum frequency deviation and settling time using VIC based on an MPC controller are 0.11 Hz and 24.02 s, respectively. The maximum frequency deviation and settling time using the Adaptive VIC controller are 0.148 Hz and 25.78 s, respectively. The maximum frequency deviation and settling time using VIC based on optimized PI controller are 0.20 Hz and 21.47 s, respectively. The maximum frequency deviation and settling time using VIC are 0.37 Hz and 29.82 s, respectively. The maximum frequency deviation and settling time using the No VIC method are 0.44 Hz and 22.94 s, respectively. According to the results of scenario (2), the proposed method has shown desirable performance compared to other employed methods in the face of disruptions and uncertainties related to system parameters, significantly reducing frequency deviations caused by load disruptions. Additionally, the settling time associated with frequency deviations caused by load disruptions and uncertainties in system parameters has been accelerated using the proposed method.

4.3. Scenario (3)

In this scenario, the load disruptions and renewable energy sources disruptions are applied to the microgrid as shown in Figure 12. In this scenario, a slight uncertainty (H = −5%) is also considered for the microgrid parameters. In Figure 13, the applied signal by the proposed controller to the islanded microgrid is illustrated. In Figure 14a–c, the FR of the microgrid using diverse control strategies is shown. The results of the diverse control strategies for scenario (3) are presented in Table 6. According to Table 6, the maximum frequency deviation using the proposed method (VIC based on FA-PD-FOPID controller) is 0.0007 Hz. The maximum frequency deviation using VIC based on a H-infinite controller is 0.051 Hz. The maximum frequency deviation using VIC based on an MPC controller is 0.263 Hz. The maximum frequency deviation using the Adaptive VIC controller is 0.328 Hz. The maximum frequency deviation using VIC based on an optimized PI controller is 0.394 Hz. The maximum frequency deviation using VIC is 0.715 Hz. The maximum frequency deviation without VIC is 0.804 Hz. According to the results of scenario (3), the proposed method has performed well compared to other methods in mitigating the frequency deviations caused by load disruptions, renewable energy source disruptions, and slight uncertainty in system parameters.

4.4. Scenario (4)

In this scenario, the load disruptions and renewable energy source disruptions are applied to the microgrid as shown in Figure 12. In this scenario, significant uncertainty in the microgrid parameters ((Tg = +50%, H = −85%, Tt = +90%) is also considered. In Figure 15, the applied signal by the proposed controller to the islanded microgrid is illustrated. In Figure 16a–c, the FR of the microgrid using diverse control strategies is depicted. The results of diverse control strategies for scenario (4) are shown in Table 7. According to Table 7, the maximum frequency deviation using the proposed method (VIC based on FA-PD-FOPID controller) is 0.0008 Hz. The maximum frequency deviation using VIC based on a H-infinite controller is 0.062 Hz. The maximum frequency deviation using VIC based on an MPC controller is 0.44 Hz. The maximum frequency deviation using the Adaptive VIC controller is 0.49 Hz. The maximum frequency deviation using VIC based on an optimized PI controller is 0.71 Hz. The maximum frequency deviation using VIC is 2.2 Hz. The maximum frequency deviation without VIC is 2.6 Hz. According to the results of scenario (4), the proposed method has shown a desirable performance compared to other employed methods against load disruptions, renewable energy sources disruptions, and significant uncertainty in system parameters, significantly reducing frequency deviations caused by load disruptions. It worth noting that the different dynamic and impedance characterizes of the inverter-based resources such as BESSs demand new protection schemes [50], which have not been elaborated in this work.

5. Conclusions

In this paper, a new and robust method was designed for the BESS to improve the performance of VIC against disruptions and uncertainties related to system parameters. The proposed controller is called the PD-FOPID cascade controller, and its parameters have been optimized using the FA. First, the performance of the FA has been compared with GA, PSO, ABC, and GWO algorithms in optimizing the parameters of the PD-FOPID cascaded controller. Then, the proposed control method (FA-PD-FOPID) was compared with VIC based on a H-infinite controller, VIC based on an MPC controller, the Adaptive VIC controller, VIC based on an optimized PI controller, VIC, and No VIC methods, and it has the following advantages over other control methods: improvement of islanded microgrid inertia in the presence of wind turbines and photovoltaics, reduction in the maximum frequency deviation of the islanded microgrid in the presence of load disruptions by 80% compared to other control methods, reduction in the settling time related to the frequency deviation of the islanded microgrid in the presence of load disruptions by 73% compared to other control methods, reduction in the maximum frequency deviation of the islanded microgrid in the presence of load disruptions and uncertainties in system parameters by 87% compared to other control methods, reduction in the settling time related to the frequency deviation of the islanded microgrid in the presence of load disruptions and uncertainties in system parameters by 79% compared to other control methods, reduction in the maximum frequency deviation of the islanded microgrid in the presence of load disturbances, renewable energy source disruptions, and mild uncertainties in system parameters by 98% compared to other control methods, reduction in the maximum frequency deviation of the islanded microgrid in the presence of load disruptions, renewable energy source disruptions, and severe uncertainties in system parameters by 96% compared to other control methods.

Author Contributions

F.A.: methodology, resources investigation, writing—original draft, conceptualization, methodology, visualization. M.E.: investigation, review and editing, conceptualization, formal analysis. M.H.M.: validation, supervision. All authors have read and agreed to the published version of the manuscript.

Funding

This work was supported by the Australian Research Council, DP190102501.

Data Availability Statement

Not applicable.

Conflicts of Interest

The authors declare no conflict of interest.

Abbreviations

ABCArtificial bee colonySWASalp swarm algorithm-
BBOBiogeography-based optimizationVICVirtual inertia control
BOTButterfly optimization technique Δ P w i n d Wind Turbine Power Variations
DSADragonfly search algorithm Δ P s o l a r Photovoltaic Power Variations
FAFirefly algorithm Δ P L Load Variations
FOPIDFractional order PID Δ f Frequency Variations
GAGenetic Algorithm Δ P m Thermal Power Plant Generated Power Variations
GTOGorilla troops optimizer Δ P g Governor Power Variations
GWOGrey wolf optimizer Δ P A C E Control Signal for Secondary Contro
HSAharmony search algorithm T P V Time Constant of Photovoltaic System
IAEIntegral absolute error T W T Time Constant of Wind Turbine
ITAEIntegral time absolute error T t Time Constant of Thermal Power Plant Turbine
MPCModel predictive control T g Time Constant of Governor
PCPrimary control K V I Gain for Virtual Inertia Control
PSOParticle swarm optimization T E S S Time Constant of Energy Storage System
QOHQuasi-oppositional harmony search algorithm
SCSecondary control
SCASine cosine algorithm

References

  1. Amiri, F.; Moradi, M.H. Design of a new control method for dynamic control of the two-area microgrid. Soft Comput. 2023, 27, 6727–6747. [Google Scholar] [CrossRef]
  2. Amiri, F.; Hatami, A. Load frequency control for two-area hybrid microgrids using model predictive control optimized by grey wolf-pattern search algorithm. Soft Comput. 2023, 1–17. [Google Scholar] [CrossRef]
  3. Asadi, Y.; Eskandari, M.; Mansouri, M.; Savkin, A.V.; Pathan, E. Frequency and Voltage Control Techniques through Inverter-Interfaced Distributed Energy Resources in Microgrids: A Review. Energies 2022, 15, 8580. [Google Scholar] [CrossRef]
  4. Eskandari, M.; Rajabi, A.; Savkin, A.V.; Moradi, M.H.; Dong, Z.Y. Battery energy storage systems (BESSs) and the economy-dynamics of microgrids: Review, analysis, and classification for standardization of BESSs applications. J. Energy Storage 2022, 55, 105627. [Google Scholar] [CrossRef]
  5. Moradi, M.H.; Eskandari, M.; Hosseinian, S.M. Cooperative control strategy of energy storage systems and micro sources for stabilizing microgrids in different operation modes. Int. J. Electr. Power Energy Syst. 2016, 78, 390–400. [Google Scholar] [CrossRef]
  6. Amiri, F.; Moradi, M.H. Coordinated Control of LFC and SMES in the Power System Using a New Robust Controller. Iran. J. Electr. Electron. Eng. 2021, 17, 1912. [Google Scholar]
  7. Rezaeimozafar, M.; Eskandari, M.; Amini, M.H.; Moradi, M.H.; Siano, P. A Bi-Layer Multi-Objective Techno-Economical Optimization Model for Optimal Integration of Distributed Energy Resources into Smart/Micro Grids. Energies 2020, 13, 1706. [Google Scholar] [CrossRef]
  8. Eskandari, M.; Savkin, A.V.; Fletcher, J. A Deep Reinforcement Learning-Based Intelligent Grid-Forming Inverter for Inertia Synthesis by Impedance Emulation. IEEE Trans. Power Syst. 2023, 38, 2978–2981. [Google Scholar] [CrossRef]
  9. Amiri, F.; Moradi, M.H. A new control strategy for controlling isolated microgrid. Eng. Energy Manag. 2023, 10, 60–73. [Google Scholar]
  10. Amiri, F. Virtual Inertia Control in a Two-Area microgrid Using Linear Matrix Inequality. J. Nonlinear Syst. Electr. Eng. 2023, 9, 85–115. [Google Scholar]
  11. Moradi, M.H.; Amiri, F. Load frequency control in a two area microgrid by optimized model predictive controller. J. Iran. Assoc. Electr. Electron. Eng. 2021, 19, 125–137. [Google Scholar] [CrossRef]
  12. Asadi, Y.; Eskandari, M.; Mansouri, M.; Moradi, M.H.; Savkin, A.V. A universal model for power converters of battery energy storage systems utilizing the impedance-shaping concepts. Int. J. Electr. Power Energy Syst. 2023, 149, 109055. [Google Scholar] [CrossRef]
  13. Sun, Z.; Eskandari, M.; Zheng, C.; Li, M. Handling Computation Hardness and Time Complexity Issue of Battery Energy Storage Scheduling in Microgrids by Deep Reinforcement Learning. Energies 2023, 16, 90. [Google Scholar] [CrossRef]
  14. Zheng, C.; Eskandari, M.; Li, M.; Sun, Z. GA−Reinforced Deep Neural Network for Net Electric Load Forecasting in Microgrids with Renewable Energy Resources for Scheduling Battery Energy Storage Systems. Algorithms 2022, 15, 338. [Google Scholar] [CrossRef]
  15. Bruno, S.; Giannoccaro, G.; Iurlaro, C.; La Scala, M.; Rodio, C. Power Hardware-in-the-Loop Test of a Low-Cost Synthetic Inertia Controller for Battery Energy Storage System. Energies 2022, 15, 3016. [Google Scholar] [CrossRef]
  16. Elshenawy, M.; Fahmy, A.; Elsamahy, A.; Kandil, S.A.; El Zoghby, H.M. Optimal Power Management of Interconnected Microgrids Using Virtual Inertia Control Technique. Energies 2022, 15, 7026. [Google Scholar] [CrossRef]
  17. Liu, R.; Wang, S.; Liu, G.; Wen, S.; Zhang, J.; Ma, Y. An Improved Virtual Inertia Control Strategy for Low Voltage AC Microgrids with Hybrid Energy Storage Systems. Energies 2022, 15, 442. [Google Scholar] [CrossRef]
  18. Kerdphol, T.; Rahman, F.S.; Mitani, Y.; Hongesombut, K.; Küfeoğlu, S. Virtual inertia control-based model predictive control for microgrid frequency stabilization considering high renewable energy integration. Sustainability 2017, 9, 773. [Google Scholar] [CrossRef]
  19. Saleh, A.; Hasanien, H.M.; A. Turky, R.; Turdybek, B.; Alharbi, M.; Jurado, F.; Omran, W.A. Optimal Model Predictive Control for Virtual Inertia Control of Autonomous Microgrids. Sustainability 2023, 15, 5009. [Google Scholar]
  20. Long, B.; Zeng, W.; Rodríguez, J.; Guerrero, J.M.; Chong, K.T. Voltage regulation enhancement of DC-MG based on power accumulator battery test system: MPC-controlled virtual inertia approach. IEEE Trans. Smart Grid 2021, 13, 71–81. [Google Scholar] [CrossRef]
  21. Eskandari, M.; Savkin, A.V. Robust PLL Synchronization Unit for Grid-Feeding Converters in Micro/Weak Grids. IEEE Trans. Ind. Inform. 2023, 19, 5400–5411. [Google Scholar] [CrossRef]
  22. Eskandari, M.; Savkin, A.V. A Critical Aspect of Dynamic Stability in Autonomous Microgrids: Interaction of Droop Controllers Through the Power Network. IEEE Trans. Ind. Inform. 2022, 18, 3159–3170. [Google Scholar] [CrossRef]
  23. Li, J.; Wen, B.; Wang, H. Adaptive virtual inertia control strategy of VSG for micro-grid based on improved bang-bang control strategy. IEEE Access 2019, 7, 39509–39514. [Google Scholar] [CrossRef]
  24. Ali, H.; Magdy, G.; Li, B.; Shabib, G.; Elbaset, A.A.; Xu, D.; Mitani, Y. A new frequency control strategy in an islanded microgrid using virtual inertia control-based coefficient diagram method. IEEE Access 2019, 7, 16979–16990. [Google Scholar] [CrossRef]
  25. Karimipouya, A.; Karimi, S.; Abdi, H. Microgrid frequency control using the virtual inertia and ANFIS-based Controller. Int. Ind. Electron. Control. Optim. 2019, 2, 145–154. [Google Scholar]
  26. Tan, K.H.; Lin, F.J.; Shih, C.M.; Kuo, C.N. Intelligent Control of Microgrid with Virtual Inertia Using Recurrent Probabilistic Wavelet Fuzzy Neural Network. IEEE Trans. Power Electron. 2019, 35, 7451–7464. [Google Scholar] [CrossRef]
  27. Amiri, F.; Moradi, M. Designing a new robust control for virtual inertia control in the microgrid with regard to virtual damping. J. Electr. Comput. Eng. Innov. JECEI 2020, 8, 53–70. [Google Scholar]
  28. Moradi, M.H.; Amiri, F. Virtual inertia control in islanded microgrid by using robust model predictive control (RMPC) with considering the time delay. Soft Comput. 2021, 25, 6653–6663. [Google Scholar] [CrossRef]
  29. Ullah, S.; Khan, L.; Sami, I.; Hafeez, G.; Albogamy, F.R. A Distributed Hierarchical Control Framework for Economic Dispatch and Frequency Regulation of Autonomous AC Microgrids. Energies 2021, 14, 8408. [Google Scholar] [CrossRef]
  30. Eskandari, M.; Savkin, A.V.; Alhelou, H.H.; Blaabjerg, F. Explicit Impedance Modeling and Shaping of Grid-Connected Converters via an Enhanced PLL for Stabilizing the Weak Grid Connection. IEEE Access 2022, 10, 128874–128889. [Google Scholar] [CrossRef]
  31. Amiri, F.; Moradi, M.H. Designing a new robust control method for AC servo motor. J. Nonlinear Syst. Electr. Eng. 2020, 7, 55–80. [Google Scholar]
  32. Amiri, F.; Moradi, M.H. Designing a fractional order PID controller for a two-area micro-grid under uncertainty of parameters. Iran. J. Energy 2018, 20, 49–78. [Google Scholar]
  33. Papakonstantinou, A.G.; Papathanassiou, S.A. Battery Energy Storage Participation in Automatic Generation Control of Island Systems, Coordinated with State of Charge Regulation. Appl. Sci. 2022, 12, 596. [Google Scholar] [CrossRef]
  34. Das, D.C.; Roy, A.K.; Sinha, N. PSO based frequency controller for wind-solar-diesel hybrid energy generation/energy storage system. In Proceedings of the 2011 International Conference on Energy, Automation and Signal, Bhubaneswar, India, 28–30 December 2011; pp. 1–6. [Google Scholar]
  35. Kumar, R.H.; Ushakumari, S. Biogeography based tuning of PID controllers for Load Frequency Control in microgrid. In Proceedings of the 2014 International Conference on Circuits, Power and Computing Technologies [ICCPCT-2014], Nagercoil, India, 20–21 March 2014; pp. 797–802. [Google Scholar]
  36. Kumar, A.; Shankar, G. Quasi-oppositional harmony search algorithm based optimal dynamic load frequency control of a hybrid tidal–diesel power generation system. IET Gener. Transm. Distrib. 2018, 12, 1099–1108. [Google Scholar] [CrossRef]
  37. Divya, N.; Manoharan, S.; Arulvadivu, J.; Palpandian, P. An efficient tuning of fractional order PID controller for an industrial control process. Mater. Today Proc. 2022, 57, 1654–1659. [Google Scholar] [CrossRef]
  38. Khosravi, S.; Hamidi Beheshti, M.T.; Rastegar, H. Robust control of islanded microgrid frequency using fractional-order PID. Iran. J. Sci. Technol. Trans. Electr. Eng. 2020, 44, 1207–1220. [Google Scholar] [CrossRef]
  39. Skiparev, V.; Nosrati, K.; Tepljakov, A.; Petlenkov, E.; Levron, Y.; Belikov, J.; Guerrero, J.M. Virtual Inertia Control of Isolated Microgrids Using an NN-Based VFOPID Controller. IEEE Trans. Sustain. Energy 2023, 14, 1558–1568. [Google Scholar] [CrossRef]
  40. Babaei, F.; Lashkari, Z.B.; Safari, A.; Farrokhifar, M.; Salehi, J. Salp swarm algorithm-based fractional-order PID controller for LFC systems in the presence of delayed EV aggregators. IET Electr. Syst. Transp. 2020, 10, 259–267. [Google Scholar] [CrossRef]
  41. Babaei, F.; Safari, A. SCA based fractional-order PID controller considering delayed EV aggregators. J. Oper. Autom. Power Eng. 2020, 8, 75–85. [Google Scholar]
  42. Asgari, S.; Suratgar, A.A.; Kazemi, M. Feedforward fractional order PID load frequency control of microgrid using harmony search algorithm. Iran. J. Sci. Technol. Trans. Electr. Eng. 2021, 45, 1369–1381. [Google Scholar] [CrossRef]
  43. Çelik, E. Design of new fractional order PI–fractional order PD cascade controller through dragonfly search algorithm for advanced load frequency control of power systems. Soft Comput. 2021, 25, 1193–1217. [Google Scholar] [CrossRef]
  44. Bhuyan, M.; Das, D.C.; Barik, A.K.; Sahoo, S.C. Performance assessment of novel solar thermal-based dual hybrid microgrid system using CBOA optimized cascaded PI-TID controller. IETE J. Res. 2022, 1–18. [Google Scholar] [CrossRef]
  45. Ali, M.; Kotb, H.; Aboras, K.M.; Abbasy, N.H. Design of cascaded pi-fractional order PID controller for improving the frequency response of hybrid microgrid system using gorilla troops optimizer. IEEE Access 2021, 9, 150715–150732. [Google Scholar] [CrossRef]
  46. Kumar, V.; Kumar, D. A systematic review on firefly algorithm: Past, present, and future. Arch. Comput. Methods Eng. 2021, 28, 3269–3291. [Google Scholar] [CrossRef]
  47. Bazi, S.; Benzid, R.; Bazi, Y.; Rahhal, M.M. A fast firefly algorithm for function optimization: Application to the control of BLDC motor. Sensors 2021, 21, 5267. [Google Scholar] [CrossRef]
  48. Li, J.; Wei, X.; Li, B.; Zeng, Z. A survey on firefly algorithms. Neurocomputing 2022, 500, 662–678. [Google Scholar] [CrossRef]
  49. Dey, N. Applications of Firefly Algorithm and Its Variants; Springer: Singapore, 2020. [Google Scholar]
  50. Uzair, M.; Eskandari, M.; Li, L.; Zhu, J. Machine Learning Based Protection Scheme for Low Voltage AC Microgrids. Energies 2022, 15, 9397. [Google Scholar] [CrossRef]
Figure 1. The researched islanded microgrid’s structure.
Figure 1. The researched islanded microgrid’s structure.
Energies 16 06611 g001
Figure 2. (a). The dynamic model for analyzing the FR of the islanded microgrid. (b). The dynamic model (microgrid) of VIC.
Figure 2. (a). The dynamic model for analyzing the FR of the islanded microgrid. (b). The dynamic model (microgrid) of VIC.
Energies 16 06611 g002
Figure 3. The suggested PD-FOPID controller for VIC in the islanded microgrid.
Figure 3. The suggested PD-FOPID controller for VIC in the islanded microgrid.
Energies 16 06611 g003
Figure 4. The suggested controller’s whole internal structure.
Figure 4. The suggested controller’s whole internal structure.
Energies 16 06611 g004
Figure 5. The process of optimizing the parameters of the PD-FOPID controller.
Figure 5. The process of optimizing the parameters of the PD-FOPID controller.
Energies 16 06611 g005
Figure 6. The disruption is applied to the islanded microgrid.
Figure 6. The disruption is applied to the islanded microgrid.
Energies 16 06611 g006
Figure 7. The convergence of the FA, GA, ABC, GWO, and PSO algorithms in optimizing the PD-FOPID controller parameters, considering IAE as the objective function.
Figure 7. The convergence of the FA, GA, ABC, GWO, and PSO algorithms in optimizing the PD-FOPID controller parameters, considering IAE as the objective function.
Energies 16 06611 g007
Figure 8. The applied signal by the proposed controller to the islanded microgrid, Scenario (1).
Figure 8. The applied signal by the proposed controller to the islanded microgrid, Scenario (1).
Energies 16 06611 g008
Figure 9. (a). The FR of the islanded microgrid using diverse control strategies, Scenario (1). (b). The FR of the islanded microgrid using diverse control strategies, Scenario (1).
Figure 9. (a). The FR of the islanded microgrid using diverse control strategies, Scenario (1). (b). The FR of the islanded microgrid using diverse control strategies, Scenario (1).
Energies 16 06611 g009
Figure 10. The applied signal by the proposed controller to the islanded microgrid, Scenario (2).
Figure 10. The applied signal by the proposed controller to the islanded microgrid, Scenario (2).
Energies 16 06611 g010
Figure 11. (a). The FR of the islanded microgrid using diverse control strategies, Scenario (2). (b). The FR of the islanded microgrid using diverse control strategies, Scenario (2).
Figure 11. (a). The FR of the islanded microgrid using diverse control strategies, Scenario (2). (b). The FR of the islanded microgrid using diverse control strategies, Scenario (2).
Energies 16 06611 g011
Figure 12. The load disruptions and renewable energy source disruptions are applied to the microgrid.
Figure 12. The load disruptions and renewable energy source disruptions are applied to the microgrid.
Energies 16 06611 g012
Figure 13. The applied signal by the proposed controller to the islanded microgrid, Scenario (3).
Figure 13. The applied signal by the proposed controller to the islanded microgrid, Scenario (3).
Energies 16 06611 g013
Figure 14. (a). The FR of the islanded microgrid using diverse control strategies, Scenario (3). (b). The FR of the islanded microgrid using diverse control strategies, Scenario (3). (c). The FR of the islanded microgrid using the proposed method, Scenario (3).
Figure 14. (a). The FR of the islanded microgrid using diverse control strategies, Scenario (3). (b). The FR of the islanded microgrid using diverse control strategies, Scenario (3). (c). The FR of the islanded microgrid using the proposed method, Scenario (3).
Energies 16 06611 g014aEnergies 16 06611 g014b
Figure 15. The applied signal by the proposed controller to the islanded microgrid, Scenario (4).
Figure 15. The applied signal by the proposed controller to the islanded microgrid, Scenario (4).
Energies 16 06611 g015
Figure 16. (a). The FR of the islanded microgrid using diverse control strategies, Scenario (4). (b). The FR of the islanded microgrid using diverse control strategies, Scenario (4). (c). The FR of the islanded microgrid using the proposed method, Scenario (4).
Figure 16. (a). The FR of the islanded microgrid using diverse control strategies, Scenario (4). (b). The FR of the islanded microgrid using diverse control strategies, Scenario (4). (c). The FR of the islanded microgrid using the proposed method, Scenario (4).
Energies 16 06611 g016aEnergies 16 06611 g016b
Table 1. The parameters related to the islanded microgrid.
Table 1. The parameters related to the islanded microgrid.
ParameterValueParameterValue
B(pu.MW/Hz)1KVI (s)0.5
Ki (s)0.05TESS (s)10
Tg (s)0.1TWT (s)1.5
Tt (s)0.4TPV (s)1.8
R (Hz/pu.MW)2.4VU (pu.MW)0.3
D (pu.MW/Hz)0.015VL (pu.MW)−0.3
H (pu.MW/Hz)0.083
Table 2. The initial parameters for the FA and the Cascaded PD-FOPID controller.
Table 2. The initial parameters for the FA and the Cascaded PD-FOPID controller.
ParameterValueParameterValue
β 0 0.5 K P 1 , min , K d 1 , min , K P 2 , min , K I , min , K d 2 , min 0
γ 0.7 K P 1 , max , K d 1 , max , K P 2 , max , K I , max , K d 2 , max 100
α 0.2 λ min , μ min 0
numFireflies50 λ max , μ max 1
maxIterations100
Table 3. The optimized parameters for the PD-FOPID controller using the FA, GWO, GA, ABC, and PSO algorithms.
Table 3. The optimized parameters for the PD-FOPID controller using the FA, GWO, GA, ABC, and PSO algorithms.
ControllerKP1Kd1KP2KIKd2λµIAEITAE
FA-PD-FOPID98.2190.8597.0194.1185.090.330.250.00210.0083
GWO-PD-FOPID90.7785.4193.2989.5686.080.280.170.00270.0106
GA-PD-FOPID89.5187.1392.8190.2378.220.390.080.00280.0113
ABC-PD-FOPID74.9390.0386.3975.4479.390.430.290.00330.0154
PSO-PD-FOPID70.1585.8273.3677.0581.790.220.080.00360.0157
Table 4. The maximum frequency deviation and settling time associated with frequency deviation utilizing the diverse control strategies, Scenario (1).
Table 4. The maximum frequency deviation and settling time associated with frequency deviation utilizing the diverse control strategies, Scenario (1).
ControllerMaximum Frequency Deviation (Hz)Settling Time (s)
0VIC based on FA-PD-FOPID controller0.00580.15
VIC based on H-infinite controller0.0390.54
VIC based on MPC controller0.07614.62
Adaptive VIC controller0.1224.66
VIC based on optimized PI controller0.1817.79
VIC0.2526.41
No VIC0.3421.55
Table 5. The maximum frequency deviation and settling time associated with frequency deviation using diverse control strategies, Scenario (1).
Table 5. The maximum frequency deviation and settling time associated with frequency deviation using diverse control strategies, Scenario (1).
ControllerMaximum Frequency Deviation (Hz) Settling Time (s)
VIC based on FA-PD-FOPID controller0.0070.17
VIC based on H-infinite controller0.0540.78
VIC based on MPC controller 0.1124.02
Adaptive VIC controller0.14825.78
VIC based on optimized PI controller0.20121.47
VIC0.37329.82
No VIC0.45122.94
Table 6. The maximum frequency deviation using diverse control strategies, Scenario (3).
Table 6. The maximum frequency deviation using diverse control strategies, Scenario (3).
ControllerMaximum Frequency Deviation (Hz)
VIC based on FA-PD-FOPID controller0.0007
VIC based on H-infinite controller0.051
VIC based on MPC controller0.263
Adaptive VIC controller0.328
VIC based on optimized PI controller0.394
VIC0.715
No VIC0.804
Table 7. The maximum frequency deviation using the different control methods, Scenario (4).
Table 7. The maximum frequency deviation using the different control methods, Scenario (4).
ControllerMaximum Frequency Deviation (Hz)
VIC based on FA-PD-FOPID controller0.0008
VIC based on H-infinite controller0.062
VIC based on MPC controller0.44
Adaptive VIC controller0.49
VIC based on optimized PI controller0.71
VIC2.2
No VIC2.6
Disclaimer/Publisher’s Note: The statements, opinions and data contained in all publications are solely those of the individual author(s) and contributor(s) and not of MDPI and/or the editor(s). MDPI and/or the editor(s) disclaim responsibility for any injury to people or property resulting from any ideas, methods, instructions or products referred to in the content.

Share and Cite

MDPI and ACS Style

Amiri, F.; Eskandari, M.; Moradi, M.H. Virtual Inertia Control in Autonomous Microgrids via a Cascaded Controller for Battery Energy Storage Optimized by Firefly Algorithm and a Comparison Study with GA, PSO, ABC, and GWO. Energies 2023, 16, 6611. https://doi.org/10.3390/en16186611

AMA Style

Amiri F, Eskandari M, Moradi MH. Virtual Inertia Control in Autonomous Microgrids via a Cascaded Controller for Battery Energy Storage Optimized by Firefly Algorithm and a Comparison Study with GA, PSO, ABC, and GWO. Energies. 2023; 16(18):6611. https://doi.org/10.3390/en16186611

Chicago/Turabian Style

Amiri, Farhad, Mohsen Eskandari, and Mohammad Hassan Moradi. 2023. "Virtual Inertia Control in Autonomous Microgrids via a Cascaded Controller for Battery Energy Storage Optimized by Firefly Algorithm and a Comparison Study with GA, PSO, ABC, and GWO" Energies 16, no. 18: 6611. https://doi.org/10.3390/en16186611

APA Style

Amiri, F., Eskandari, M., & Moradi, M. H. (2023). Virtual Inertia Control in Autonomous Microgrids via a Cascaded Controller for Battery Energy Storage Optimized by Firefly Algorithm and a Comparison Study with GA, PSO, ABC, and GWO. Energies, 16(18), 6611. https://doi.org/10.3390/en16186611

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