Next Article in Journal
Method to Estimate Thermal Transients in Reactors and Determine Their Parameter Sensitivities without a Forward Simulation
Next Article in Special Issue
Economic Feasibility of Power/Heat Cogeneration by Biogas–Solid Oxide Fuel Cell (SOFC) Integrated Systems
Previous Article in Journal
Modeling and Evaluation of SiC Inverters for EV Applications
Previous Article in Special Issue
Combined Operation of Wind-Pumped Hydro Storage Plant with a Concentrating Solar Power Plant for Insular Systems: A Case Study for the Island of Rhodes
 
 
Font Type:
Arial Georgia Verdana
Font Size:
Aa Aa Aa
Line Spacing:
Column Width:
Background:
Article

Optimal Power Management of Interconnected Microgrids Using Virtual Inertia Control Technique

1
Electrical Power and Machines Engineering Department, Faculty of Engineering, Helwan University, Cairo 11792, Egypt
2
Faculty of Science and Engineering, Swansea University, Wales SA1 8EN, UK
3
Academy of Scientific Research and Technology (ASRT), Cairo 11792, Egypt
*
Author to whom correspondence should be addressed.
Energies 2022, 15(19), 7026; https://doi.org/10.3390/en15197026
Submission received: 28 August 2022 / Revised: 15 September 2022 / Accepted: 18 September 2022 / Published: 24 September 2022
(This article belongs to the Special Issue Design and Control of Hybrid Renewable Power Systems)

Abstract

:
Two interconnected AC microgrids are proposed based on three renewable energy sources (RESs): wind, solar, and biogas. The wind turbine drives a permanent magnet synchronous generator (PMSG). A solar photovoltaic system (SPVS) with an appropriate inverter was incorporated. The biogas genset (BG) consists of a biogas engine coupled with a synchronous generator. Two interconnected AC microgrids, M1 and M2, were considered for study in this work. The microgrid M2 is connected to a diesel engine (DE) characterized by a continuous power supply. The distribution power loss of the interconnected AC microgrids comprises in line loss. The M1 and M2 losses are modeled as an objective function (OF). The power quality enhancement of the interconnected microgrids will be achieved by minimizing this OF. This research also created a unique frequency control method called virtual inertia control (VIC), which stabilizes the microgrid frequency using an optimal controller. In this paper, the following five controllers are studied: a proportional integral controller (PI), a fractional order PI controller (FOPI), a fuzzy PI controller (FPI), a fuzzy fractional order PI controller (FFOPI), and a VIC based on FFOPI controller. The five controllers were tuned using particle swarm optimization (PSO) to minimize the (OF). The main contribution of this paper is the comprehensive study of the performance of interconnected AC microgrids under step load disturbances, step changes in wind/solar input power, and eventually grid following/forming contingencies as well as the virtual inertia control of renewable energy resources used in the structure of the microgrids.

1. Introduction

The rapid growth of renewable energy sources (RESs) in recent years has been attributed to the growing concerns about environmental factors, greenhouse gases (particularly CO2), and global warming. As a result, numerous issues with the integration of renewable energy into networks as well as their solutions have been discussed in the literature. The primary traits of RESs that make it difficult to integrate them with the grid and the load are the intermittent availability of the input source, which results in extremely intermittent power, inconsistent power output and low flux density, meaning they require more space per unit of power generation than conventional generators, and low inertia.
RESs, such as SPVSs (solar photovoltaic systems) and WECSs (wind energy conversion systems), have lower inertia than conventional sources, limiting the grid’s potential to improve stability.
Various integrations of RES sources and their data have been discussed in the literature. The stability of microgrids is of particular interest. Many authors [1] have discussed and introduced some aspects of microgrids in the literature. Sustained low frequency deviations, as studied in [2,3,4], are one of the problems in microgrids. Another issue in microgrid systems is voltage control [5,6]. There is literature that solves these problems separately and jointly. Because of the intermittent nature of solar and wind power, a backup is required. One of the proposals made in [7,8] is inverter-connected battery backup. The other option is a connected diesel/biogas power plant [9]. In a wind-solar-a diesel system, many control strategies are implemented using various optimizing techniques [10,11,12]. Some proposals on AC and DC microgrids have been made [13,14]. Furthermore, the rate of generation deviation in SPVS is extremely high due to cloud changes [15]. An inverter connects the SPVS’s PV plant to the power system. As a result, control of the PV unit is provided by inverter control [16].
Due to its aerodynamic properties, a wind turbine’s output power is proportional to the square of the rotor diameter and the cube of the wind speed [17]. In WECSs, a permanent magnet synchronous generator (PMSG) is frequently used. PMSGs, however, are reliable and do not require a separate field control system [18]. Power inverters connect SPVSs and WECSs to the point of common coupling (PCC). Additionally, the network receives virtual inertia from the associated inverter [19]. There is literature that demonstrates how the virtual inertia of WECSs and SPVSs, which is based on inverters, can almost act as conventional generators that can be employed for power grid dynamic stability. However, it is necessary to keep an energy buffer [20].
As the fuel input for a BG-based Genset can be regulated, a biogas Genset (BG) and diesel Genset may be utilized as the controlled generating unit for a low power network, such as an SPVS and WECS. In the last decade, urban electrification has advanced dramatically. Electrification has occurred in developing countries, but uninterrupted power supply remains a problem. These areas have been without power for some time. The primary causes of disrupted power supply are insufficient grid supplies, reliance on conventional generation, long-length transmission, and the value of urban and industrial parts [21,22]. The authors presented numerous microgrid methods based on a review of the literature. However, it was not reasonable to donate an interconnected self-sufficient city with power availability relying on load segregation and setting the priority loads. To ensure an uninterrupted power supply, a stability enhancement for interconnected microgrids has been proposed to observe network dynamics while transferring power among both microgrids.
The importance of reducing power loss in the production of electricity is being emphasized in another effort to reduce CO2 emissions and the effects of global warming. As a result, there is little heat produced. The amount of heat that needs to be cooled is modest [23,24,25], so in theory energy conservation can further reduce the price and energy used by the cooling apparatus. To minimize online power loss, it is possible to determine the ideal reference voltage [26] and the best power flow [27,28] for each microgrid. An offline optimization approach [29] is offered to improve the load sheading machine’s working point and reduce loss, but using an offline solution requires optimum operational conditions with little to no variable change. Meanwhile, power converter losses are given consideration.
In the AC microgrid, the converter loss may account for more than half of the total distribution loss [30]. Therefore, incorporating it into the control structures would significantly reduce the distribution power loss. In [31], a function of active and reactive power was almost perfectly suited to the entire distribution power loss of two connected AC microgrids. The active and reactive power of each generation unit was then divided using the optimization algorithm. The objective function of the power loss of each generator unit and the AC link between two areas was used to estimate the overall distribution power loss of two interconnected AC microgrids, which includes line loss and power loss of each region. In order to meet the need of the load according to the objective function, you should also think about splitting power between two locations. Therefore, by offline adaptively modifying the controller’s optimal settings, the minimization of the distribution loss can be achieved.
A distributed optimization approach for global distribution loss minimization is given with power sharing across generation units [32,33]. The findings of the simulation support the proposed control method for lowering the distribution power loss of two connected AC microgrids.
The final difficulty is enhancing the frequency of the microgrid under the conditions of the significant penetration of renewable energy sources. Installing low-inertia power generation units through fast-acting energy storage systems (ESS) with virtual inertia controllers, which have been the subject of much recent research [34,35,36,37,38,39,40,41], is one approach. Every control method has advantages and limitations of its own. The microgrid system’s position enables ideal energy management. To maximize power flow inside the setup, a local energy management system may control generators (and presumably also loads). Depending on the kind of operation, several objectives are set for energy management: grid-connected or an island [42]. The typical goals in the grid-connected mode are to reduce the price of the energy import at the PCC, advance the power factor at the PCC, and optimize the voltage profile through the microgrid [43]. The primary objectives of power management in the islanded mode, as described in [43], are system improvement and the encouragement of a high frequency and voltage flexibility. We concentrated on a virtual inertia control method intended to reduce frequency deviation issues in islanded AC interconnected microgrids as opposed to the following thorough reviews, which concentrated on the implementation of virtual inertia topologies [41], virtual inertia and frequency control for distributed energy generation units [44], and inertia valuation improvement in power systems [45]. In particular, we sought to explain why specific control methods are more effective under various circumstances and which control methods will receive greater attention in the coming years. Finally, we suggest some analyses for the AC interconnected microgrid applications’ use of the virtual inertia control approach. In this paper, five controllers, i.e., a proportional integral controller (PI), a fractional order PI controller (FOPI), a fuzzy PI controller (FPI), a fuzzy fractional order PI controller (FFOPI), and a VIC based on FFOPI, are used for controlling the frequency, voltage, and optimal power management of two interconnected microgrids. The optimal parameters of the controllers were optimized using particle swarm optimization (PSO). The objective function was considered to be the multi-objective function of integral time square error (ITSE) of the frequency, voltage, and the total distributed power loss of the two AC interconnected microgrids. This model was developed based on realistic city generation availability and was tested in a typical scenario.
Despite the rich literature review, and much research dealing with power quality enhancement in interconnected microgrids, the contributions of this paper are manifold. (a) The novelty of this modelling, in contrast to [22], is demonstrated to achieve the sharing of the active and reactive power of both generation units and between both microgrids through a tie line to guarantee the conception of an uninterrupted power supply. (b) The novelty of this work, in addition to [22,26,28], is demonstrated to achieve optimal power management for two areas’ interconnected hybrid microgrid systems by using a multi-objective function equation for minimizing voltage deviation, frequency deviation, and the total distribution power loss of the AC interconnected microgrid. (c) In addition to [38], the proposed ESS based on virtual inertia control is a grid-forming element that can operate with an RES without requiring conventional energy sources. As a result, it improves the supply reliability during grid forming unit outages and solves the frequency regulation problem in islanded AC interconnected microgrids. (d) In addition to [46,47], under step load disturbances, step changes in wind/solar input power, and severe disturbances such as eventual grid following/forming contingencies, the improvement of the system performance using a PI, FOPI, FPI, FFOPID, and VIC based on FFOPI controllers for mitigating frequency and voltage oscillation and achieving optimal power management in two AC interconnected microgrids with a multi objective function is investigated. (e) The PSO technique is utilized to automatically optimize the controller parameters while considering the system nonlinearity, converters and line dynamics, and the interaction components. This technique helps to reduce design work and costs. Additionally, any other optimization technique may be employed in future work to be compared with the PSO technique. This paper is organized as follows: In Section 2, the system under study and the mathematical modelling of the individual components system is explained. A study of the stability and power quality enhancement problems are discussed, and the utilized multi-objective function is stated, in Section 3. FPI and FFOPI block diagrams, membership functions, and rules are presented in Section 4, and virtual inertia control is proposed in Section 5. The optimization technique PSO is used in the optimization of five controller parameters in Section 6. The results and discussions are given in Section 7. Finally, Section 8 provides an overview of the provided work’s conclusions. The appendix contains the system parameters, a list of symbols, and a list of abbreviations.

2. System under Study and Mathematical Modelling of the Two Interconnected Microgrids Component

The connected system is modelled under the presumption that microgrid M1 has 50 kW of excess power that is sent to microgrid M2. Under any circumstance, a steady-state variation in the power delivered over the interconnection occurs. Changes in demand or generation are handled locally by the microgrid systems. Figure 1 is a single line diagram (SLD) that shows the interconnected microgrid system.
Equations (1) and (2) can be used to express the real and reactive power balance at a steady state.
P L D = P W + P D E + P P V + P B G ± P I C
Q L D = Q W + Q D E + Q P V + Q B G ±   Q I C
Equations (1) and (2) can be expressed as follows for a minor disturbance in power flows:
Δ   P L D = Δ   P W + Δ   P D E + Δ   P P V + Δ   P B G ± Δ   P I C
Δ Q L D = Δ Q W + Δ Q D E + Δ Q P V + Δ Q B G   ±   Δ Q I C
Real power demand and generation changes would affect the system’s frequency, which in the Laplace domain can be expressed as follows:
Δ   F ( S ) = K F S 1 + s T F S ( Δ   P W + Δ   P D E + Δ   P P V +   Δ   P B G   ±   Δ   P I C   Δ P L D )
The system bus voltage changes as a result of a change in the reactive power mismatch, as shown by:
Δ   V ( S ) = K V S 1 + s T V S ( Δ   Q W + Δ   Q D E + Δ   Q P V + Δ   Q B G ± Δ   Q I C Δ Q L D )

2.1. Modelling of WECS with PMSG

A wind turbine with a permanent magnet synchronous generator that is connected to the common bus by a transformer and an AC/DC/AC power electronic interface was considered as a WECS. An easy line diagram is displayed in Figure 2. The real and reactive power flow equations are described by [22].
P W = ( V i n W ) ( V ) ( s i n   ( θ i n W + θ ) ) X T W S
Q W = ( ( V i n W ) ( V ) ( c o s   ( θ i n W + θ ) ) ) ( V 2 ) X T W S
In the Laplace domain, a slight disturbance in power flows can be expressed as:
Δ P W   ( S ) = K W 1 Δ V i n W   ( S ) + K w 2 Δ V ( S ) + K w 3 Δ P i n W + K w 4 Δ θ i n w ( S )
Δ Q W   ( S ) = K W 5 Δ V i n W   ( S ) + K w 6 Δ V ( S ) + K w 7 Δ P i n W + K w 8 Δ θ i n w ( S )
where,
K W 1 = P W V i n W , K W 2 = P W V , K W 3 = P W p i n w , K W 4 = P W θ i n w
K W 5 = Q W V i n W , K W 6 = Q W V ,   K W 7 = Q W p i n w   a n d   K W 8 = Q W θ i n w  
The system’s inertia is credited with the delay as:
Δ P W ( S ) = 1 1 + S T W   Δ P W ´   ( S )
Δ Q W ( S ) = 1 1 + S T W 1   Δ Q W ´   ( S )
The block diagram of the WECS can be created using Equations (9)–(12), as shown in Figure 3.

2.2. Modelling of a Solar PV System with an Inverter (SPVS)

A PV panel generates direct current as its form of power. Therefore, power is routed through a DC/DC/AC power electronic interface before connecting to the common bus, and it is then connected to the bus by a transformer. In Figure 4, the SLD figure is displayed, as in the case of the WECS. The following are the power flow equations that take into account internal reactance (XTPV) are described by [22]:
P P V = ( V i n P V ) ( V ) ( s i n   ( θ i n P V + θ ) ) X T P V S
Q P V = ( ( V i n P V ) ( V ) ( c o s   ( θ i n P V + θ ) ) ) ( V 2 ) X T P V S
Δ P P V ´   ( S ) = K P V 1 Δ V i n P V   ( S ) + K P V 2 Δ V ( S ) + K P V 3 Δ p i n P V ( s ) + K P V 4 Δ θ i n P V ( S )
Δ Q P V ´   ( S ) = K P V 5 Δ V i n P V   ( S ) + K P V 6 Δ V ( S ) +   K P V 7 Δ p i n P V ( s ) + K P V 8 Δ θ i n P V ( S )
where
K P V 1 = P P V V i n P V ,   K P V 2 = P P V V ,   K P V 3 = P P V P i n P V , K P V 4 = P P V θ i n P V , K P V 5 = Q P V V i n P V ,   K P V 6 = Q P V V ,   K P V 7 = P Q P V P i n P V ,   and   K P V 8 = Q P V θ i n P V
The delay due to inertia of the system is accounted as:
Δ P P V ( S ) = 1 1 + S T P V   Δ P P V ´   ( S )
Δ Q P V ( S ) = 1 1 + S T P V   Δ Q P V ´   ( S )
Using Equations (15)–(18), the transfer function block diagram of SPVS can be constructed as shown in Figure 5.

2.3. Modelling of BG

The BG model is based on [22]. Figure 6a,b demonstrate the transfer function block diagrams of a real power generation model and a reactive power generation model.
The voltage regulation operation of the AVR (automatic voltage regulator) and exciter is responsible for controlling reactive power in biogas (Figure 6). The equations for real and reactive powers are obtained and provided by considering the dynamic state after disregarding the saturation function:
Δ E q B ´ ( S ) = 1 1 + S T B [ K 1 B Δ E f d B ( S ) + K 2 B Δ V ( S ) ]
Δ Q B ( S ) = K 3 B Δ E q B ´ ( S ) + K 4 B Δ V ( S )
where
T B = T d o ´ X d ´ X d ,   K 1 B = X d ´ X d ,   K 2 B = ( X d X d ´ ) cos ( δ + θ ) X d , K 3 B = V c o s ( δ + θ ) X d ´   and   K 4 B = E q B ´ c o s ( δ + θ ) 2 V X d ´  

2.4. Modelling of DE

In a power-controlled DE system, the energy delivered daily is left unchanged but with a lowered, consistent, and continuous power supply. This keeps the power given by the diesel engine constant during the time period.
P D E = E D E V 2 s i n ( θ 2 ) X D E
Q D E = E D E V 2 c o s ( θ 2 ) V 2 2 X D E
Following a perturbation, Equations (21) and (22) can be written as:
Δ P D E ( S ) = K 1 D E Δ θ 2 ( S ) + K 2 D E Δ V 2 ( S )
Δ Q D E ( S ) = K 3 D E Δ θ 2 ( S ) + K 4 D E Δ V 2 ( S )
where
K 1 D E = P D E θ ,   K 2 D E = P D E V ,   K 3 D E = Q D E θ ,   and   K 4 D E = Q D E V

2.5. Modelling of AC Interconnection

The interconnection was modelled taking into account an AC short transmission line. The line cannot be regarded as lossless because of its high R/X ratio. Figure 7 displays the AC line’s transfer function block diagram. Such a line’s source of power flow is:
P I C = V 1 V 2 Z cos ( θ z Ø 12 ) V 2 2 Z 2 R a
Q I C = V 1 V 2 Z sin ( θ z Ø 12 ) V 2 2 Z 2 X
where θ Z is the line’s angle between Ra and X and ϕ12 is the difference between the voltage angles of bus 1 and bus 2. The Laplace domain Equations (25) and (26) have the following form for a minor perturbation:
Δ P I C ( S ) = K 1 I C Δ V 1 ( S ) + K 2 I C Δ V 2 ( S ) + K 3 I C Δ Ø i n 12 ( S )
Δ Q I C ( S ) = K 4 I C Δ V i n 1 ( S ) + K 5 I C Δ V i n 2 ( S ) + K 6 I C Δ Ø 12 ( S )
where
K 1 I C = P I C V 1 ,   K 2 I C = P I C V 2 ,   K 3 I C = P I C Ø 12 ,   K 4 I C = Q I C V 1 ,   K 5 I C = Q I C V 2 ,   and   K 6 I C = Q I C Ø 12
The microgrids were modelled using the above individual models of generation units. The data for microgrid M2 was taken from [22,23] and the data for M1 arose from slightly changing the data for M2. Four medium-sized villages, each of which is anticipated to use roughly 1600 kW of electricity, are served by M2, which was created to satisfy their demands. M2 has a maximum diversity demand of 1000 kW. (approx.). The power supply has a frequency of 50 Hz and a rated voltage of 1 pu. The M1 model was created for a group of both tiny and medium sized settlements. M1 has a nominal generating capacity of 1150 kW and a maximum demand capacity of 700 kW, 50 Hz, and a rated voltage of 1 pu. Table 1 shows the steady state generation characteristics of the two microgrids. In total, 50 kW of continuous power are transmitted through an AC link from the M1 microgrid to the M2 microgrid, and, after losses, 40.6 kW are delivered to the M2 microgrid. Table 2 provides a summary of the total power consumption, the power transfer from the AC link, and the generation from all the generating units in M1 and M2.
The novelty of this modelling, in contrast to [22,23], is demonstrated to achieve the sharing of active and reactive power together for the wind and solar generation units s well as between both microgrids to guarantee the conception of an uninterrupted power supply through a continuous generation–demand balance.

3. Fuzzy PI (FPI) and Fuzzy Fractional Order PI (FFOPI) for Interconnected Microgrids

The FPI controller has three coefficients, with these three being the normalized gains K1, K2, and K3, as shown in Figure 8a, whereas the FFOPI controller has four coefficients, with three of them being the normalized gains K1, K2, and K3 and one being a fractional order control system λ, as shown in Figure 8b. The FPI and FFOPI have two inputs named error E   and rate of change of error C E and one output. PSO was used to make offline tuning for the three parameters for the FPI and four parameters for the FFOPI of each controller on the six controllers that are associated with each microgrid and the three controllers responsible for tie lines between them. There are fifteen controllers in the two AC interconnected microgrids. PSO was used to search the optimized parameters of the FPI and FFOPI controllers to minimize the objective function according to the following equation:
J = 0 t . ( | Δ F 1 2 ( t ) | + | Δ F 2 2 ( t ) | + | Δ V 1 2 ( t ) | + | Δ V 2 2 ( t ) | + | Δ S l o s s t o t a l 2 ( t ) | ) d t
The fuzzy logic (FLC) rules are listed as follows in Table 3. Figure 9 show the membership of output and input, where N = negative, p = positive, SP = small positive, Z = zero, SN = small negative, LP = large positive, and LN = large negative [47]. Any crisp value is defined in two fuzzy sets thanks to the uniform distribution of the input sets, which are triangle and cross neighbor sets with a membership value of 0.5. For ease of defuzzification, the output membership functions are assumed to be uniformly distributed singletons.
The first phase in the design method was to transfer the PI and FOPI gains to the linear fuzzy controller by replacing the known PI and FOPI with a linear FPI and linear FFOPI. According to the feed-back error signal e(n), the traditional PI controller and FOPI controller signal u(n) at any given time instant n can be stated either in absolute form, as in Equations (30) and (31), or incremental form, as in Equations (32)–(34).
u ( n ) = K p   e ( n ) + K I   Σ i = 1 n   e ( n ) T s
u ( n ) = K p   e ( n ) +   K   I λ Σ i = 1 n   e ( n ) T s  
Δ u ( n ) = K p   Δ e ( n ) + K I   T s   e ( n )
Δ u ( n ) = K p   Δ e ( n ) + K   I λ   T s   e ( n )
Δ e ( n ) = e ( n ) e ( n 1 )
where, Ts is the sampling period, Kp and KI are the proportional and integral gains, respectively, and λ is the integral fractional order control system.
The most often used defuzzification technique uses the concept of the center of gravity and is expressed as follows:
u = Σ i = 1   u ( u i )   u i   Σ i   u ( u i )
where u(ui) represents the element’s membership grade or weight, which is the result of the rule i.

4. Multi-Objective Function for Interconnected Microgrids

Numerical simulations were used to demonstrate the stability study (SS) in two interconnected systems for a disturbance, such as an increase in real and reactive power demand in both microgrids by each one, increased wind speed, solar radiation, and emergency/recovery from generation. The five controllers can reduce the step disturbance-induced steady-state error in frequency and voltage in the interconnected microgrids. The distribution power loss (DPL) in two interconnected microgrids is composed of eight parts: three parts for the first microgrid, which includes the power loss from the wind, PV, and biogas sources; four parts for the second microgrid, which includes the power loss from the wind, PV, biogas, and diesel engines; and one part for the AC interconnected line power loss. The average conduction losses of the PMSG, rectifier, inverter, and transformer are included in the wind power loss, whereas the average conduction losses of the DC-DC converter, inverter, and transformer are included in the PV power loss, the average conduction losses of the synchronous generator are included in the BG power loss, the average conduction losses of the diesel engine and transformer are included in the DE power loss, and the average conduction losses of the tie-line impedance are included in the line power loss. The distribution power loss of two interconnected microgrids is given by:
Δ S l o s s M 1 = Δ S l o s s W E C S 1 + Δ S l o s s P V 1 + Δ S l o s s B G 1
Δ S l o s s M 2 = Δ S l o s s W E C S 2 + Δ S l o s s P V 2 + Δ S l o s s B G 2 + Δ S l o s s D E 2
Δ S l o s s t o t a l = Δ S l o s s M 1 + Δ S l o s s M 2 + Δ S l o s s l i n e
where
Δ S l o s s W E C S 1 = Δ V 1 2 X T W S 1 ,     Δ S l o s s W E C S 2 = Δ V 2 2 X T W S 2 ,   Δ S l o s s P V S 1 = Δ V 1 2 X T P V 1 , Δ S l o s s P V S 2 = Δ V 2 2 X T P V 2 ,
Δ S l o s s B G 1 = Δ V 1 2 X d 1 ´ ,   Δ S l o s s B G 2 = Δ V 2 2 X d 2 ´ ,   Δ S l o s s D E 2 = Δ V 2 2 X D E ,   and   Δ S l o s s l i n e = Δ V 2 2 Z 2   R a + Δ V 2 2 Z 2   X
To guarantee power quality enhancement, the OF must include two terms. The first term will achieve stability study by minimizing the OF based on ITSE criteria for the voltage and frequency of two interconnected microgrids. The second term will achieve optimal power flow by minimizing the OF based on ITSE criteria for the DPL of two interconnected microgrids. The five controllers’ parameters are tuned using the PSO algorithm for minimizing the OF based on ITSE criteria for the voltage, frequency, and distribution power loss of two interconnected microgrids, as shown in Equation (39), and the tuned values are listed in Table 4, Table 5 and Table 6.
J = 0 t . ( | Δ F 1 2 ( t ) | + | Δ F 2 2 ( t ) | + | Δ V 1 2 ( t ) | + | Δ V 2 2 ( t ) | + | Δ S l o s s t o t a l 2 ( t ) | ) d t

5. Virtual Inertia Control for Interconnected Microgrids

The substitute power for the real synchronous machine is provided by the virtual synchronous generator (VSG) [35,39]. In networks with a significant amount of renewable energy, this generator can be employed to increase the frequency stability. A particular VSG component known as a virtual inertia (VI) is used to make up for a lack of inertia via a power injection approach. Active frequency support is not possible due to the limitations of the virtual inertia mechanism. To handle nonlinearities in low-inertia systems, an extra robust controller is therefore required. The virtual inertia control structure (Figure 10) contains a derivative unit, a designed controller FFOPI, virtual inertia control (energy storage system and virtual inertia variable gain), and a power limiter ( Δ P i n e r t i a , m a x ,   Δ P i n e r t i a , m i n ).
The energy storage system (ESS), which may offer frequency smoothness and balance for subsequent dispatch, has emerged during the past ten years as a crucial component in renewable energy networks. The following characteristics of the ESS model are distinguishable:
G ( S ) = 1 T V 1 S + 1
Using the ITSE criteria, the FFOPI controller is set to minimize the OF. According to the ITSE requirements and as given in Equation (38), the PSO algorithm is used to optimize the FFOPI controller’s parameters. Table 7, Table 8 and Table 9 include information on the FFOPI’s tuned gain parameters. PSO also gives the values of Kv1, Tv1, which are 0.8 and 10, respectively.

6. Particle Swarm Optimization (PSO)

PSO replicates a swarm’s collective activity when looking for food. The method is an iterative procedure that seeks to locate a solution within a search space that fulfils a fitness function [48]. The inherited composite nature, however, has been updated in various ways by PSO [46]. The PSO method is predicated on the idea that particles update their location and velocity after each iteration. As a result, with each iteration k, the current position X i k is modified in accordance with the particle’s new velocity using the personnel best (PB) and the global best (GB), as shown in Equations (40) and (41), respectively.
X i k =   X i k 1 + V i k
V i k =   w 0 · V i k 1 + c 1 · r 1 · (   GB   X i k 1 ) + c 2 · r 2 · ( PB X i k 1 )
For the suggested PI, FOPI, FPI, FFOPI, and VIC based on FFOPI controllers, the PSO was employed in this study to improve controllers’ parameters. Figure 11 depicts the PSO flow chart for the suggested application on the microgrid. Section 4 provides a thorough illustration of the objective function (j). The parameters for the optimization method are population = 50; iterations = 70; velocity clamping factor v = 2; cognitive C 1 = 2; social constant C 2   = 2; minimum inertial constant w min   = 0.4; maximum inertia constant w max = 0.9 . The PSO method has only been suggested for results analysis. Additionally, any other optimization technique may be employed without greatly affecting on the results.

7. Result and Discussion

The stability study, optimal power management, and virtual inertia control of the proposed interconnected two microgrids using five controllers based on PSO through a multi-objective function that were investigated by each controller include multiple disturbances. Each controller includes load disturbances, wind speed variation, solar radiation variation, and contingency/recovery of generation. The simulation results of the studied microgrid were carried out using MATLAB/Simulink software. The PI, FOPI, FPI, FFOPI and VIC based on FFOPI controllers using PSO through a multi-objective function will be discussed for each disturbance. The data of the system considered for simulation studies is given in the Appendix A.

7.1. Increasing Wind Speed with Load Variation Disturbance

The overall power generated on the microgrid increases as a result of the increased wind speed output power. This variance results in a power differential between the power that is generated and that which is needed, which may affect the microgrid’s power management and frequency. In this scenario, the wind speed is suddenly increased by 1% in both microgrids at zero seconds while the load change demand is maintained at 0.01 pu. Without VIC, the inertia of the BG and the virtual inertia of the inverter coupled to the PVS and WECS balance out the energy imbalance. Contrarily, with VIC, the energy imbalance is balanced by the BG’s inertia, the virtual inertia of the inverter connected to the PVS and WECS, and then the ESS of VIC, which supports the frequency during the period of disturbance until the BG’s isochronous governor reacts to restore the steady-state frequency, thereby improving the frequency response. The change in the frequencies and voltages of microgrids M1 and M2 are shown in Figure 12.
The dynamic specification (settling time (Ts), overshoot (Os), and undershoot (Us)) of frequencies and voltage deviation at each controller can be summarized in Table 10.
From Table 10, after the comparison of the five controllers, the VIC based on FFOPI minimizes overshoots Os and undershoots Us, improves system stability, and reduces the settling time Ts of the system for frequency deviation of both interconnected microgrids and, as a result, employs VIC based on FFOPI, which offers a superior response in terms of frequency enhancement compared to other controllers.
Table 11 demonstrates the power-sharing of each generating unit in two microgrids at each controller, balancing for the power differential during this disturbance through a multi-objective function which supports the minimum total power loss. The investigation of Figure 13 and Figure 14 can be justified in Table 11. Due to the increase in wind speed disturbance, the new value of the change in the active power of the WECS for both microgrids, M1 and M2, equals (0.01 * Pw) added to the change in the active power of the WECS at step load change only without wind speed disturbance.
As can be seen from Table 11, the ESS acts through VIC as a load to support the frequency. Equation (38) can be used to calculate the power loss of two interconnected microgrids, and the results are 7.6 × 10−9 for the PI controller, 2.7 × 10−9 for the FOPI, 1.96 × 10−11 for the FPI, 6.3 × 10−12 for the FFOPI, and 2.2 × 10−13 for the VIC based on FFOPI due to the minimum value of power sharing (ΔPIC and ΔQIC) through the tie line at the VIC case. As a result, the best frequency performance and the optimal power flow are achieved in the case of the VIC based on FFOPI controller.

7.2. Increasing Solar Radiation with Load Variation Disturbance

The overall power generated on the microgrid increases due to an increase in solar radiation output power. With this variance, there is a power differential between the power that is generated and the power that is demanded, which may affect the microgrid’s frequency and power management. In this scenario, the solar radiation is abruptly increased by 1% in both microgrids at zero seconds while the load fluctuation demand is maintained constant at 0.01 P.U.
Without VIC, the inertia of the BG and the virtual inertia of the inverter coupled to the PVS and WECS balance out the energy imbalance. While using VIC, the energy imbalance is balanced by the BG’s inertia, the inverter’s virtual inertia when connected to the PVS and WECS, and then the ESS of VIC, which supports the frequency during a disturbance period until the BG’s isochronous governor reacts to recover the steady-state frequency. Figure 15 shows the change in frequencies and voltages of microgrids M1 and M2. The dynamic specification (Ts, Os, and Us) of frequencies and voltage deviation at each controller can be summarized in Table 12.
As can be seen from Table 12 and a comparison of the five controllers, the VIC based on FFOPI provided the best response properties in terms of the Ts, Os, and Us of the system for both frequency deviations of the two interconnected microgrids. As a result, using VIC based on FFOPI offered a better response in terms of frequency enhancement when compared to the other controllers.
Table 13 show how the power-sharing of each generation unit in M1 and M2 at each controller compensate for the power imbalance during this disturbance through a multi-objective function to minimize the total power loss. The investigation of Figure 16 and Figure 17 can be justified in Table 13. Due to the increase in solar radiation disturbance, the new value of the change in the active power of the SPVS for both microgrids M1 and M2 equals (0.01 * PPV) added to the change in the active power of the SPVS at step load change only without solar radiation disturbance.
As can be seen from Table 13, the ESS acts through VIC as a load to support the frequency. The power loss of the two interconnected microgrids can be calculated using Equation (38), which resulted in 7.5 × 10−9 in the case of the PI controller, 2.7 × 10−9 in the case of the FOPI, 1.6 × 10−11 in the case of the FPI, 7.3 × 10−12 in the case of the FFOPI, and 7.1 × 10−14 in the case of the VIC based on FFOPI due to the minimum value of power sharing (ΔPIC and ΔQIC) through the tie line at the VIC case. So, the VIC based on FFOPI controller provided a superior response with respect to frequency enhancement and optimal power managements compared to the other controllers.

7.3. Contingency Event Disturbances Analysis

In this section, the microgrid was subjected to a large disturbance that resulted in a severe power imbalance, impacting on the frequency and power response as well as a brief outage of the tie line.

Case1: Disconnecting the Tie Line with Load Variation Disturbance

Other severe disturbances include the sudden outage of the tie line, which prevents power from transferring from one microgrid to another. Each microgrid is in charge of satisfying the demand load at its PCC. The tie line between two microgrids is activated at zero seconds in a sudden outage, while the load change demand is maintained at 0.01 pu throughout the simulation period. This variance results in a power differential between the power that is generated and that which is required, which may affect the microgrid’s power management and frequency.
The inertia of the BG and the virtual inertia of the inverter instantly linked to the PVS and WECS of each microgrid correct for the frequency variation. However, employing the ESS could improve stability during a disturbance period until the BG’s isochronous governor intervenes to restore the steady-state frequency. Figure 18 displays the variations in frequencies and voltages of microgrids M1 and M2. The dynamic specification of frequencies and voltage deviation at each controller can be summarized in Table 14.
As can be seen from Table 14 and a comparison of five controllers, the VIC based on FFOPI minimizes the Os and Us, improves system stability, and reduces the Ts of the system for both frequency deviations of the two interconnected microgrids; as a result, employing VIC offered a superior response in terms of frequency enhancement compared to the other controllers.
Table 15 illustrates the power-sharing of each generating unit in two microgrids at each controller balance for the power imbalance during this disturbance through a multi-objective function which supported the minimum total power loss. Table 15 facilitates the investigation of Figure 19.
As can be seen from Table 15, the ESS acts through VIC as a load to support the frequency. Equation (38) can be used to calculate the power loss of two interconnected microgrids, and the results are 8.9 × 10−11 for the PI controller, 9.97 × 10−13 for the FOPI, 1.6 × 10−13 for the FPI, 6.4 × 10−15 for the FFOPI, and 1.6 × 10−15 for the VIC based on FFOPI. As a result, the best frequency performance and the optimal power flow are achieved in the case of the VIC based on FFOPI during the disturbance of disconnecting the tie line.
Based on the analysis of the total power loss at each disturbance, the magnitude of the total power loss of two interconnected microgrids at disconnected tie line disturbance is smaller than the magnitude of the total power loss at wind speed disturbance and solar radiation disturbance due to the lossless power of the tie line in the event of a disconnected tie line disturbance.

8. Conclusions and Perspectives

The need for clean but intermittent energy sources, as well as for power, is increasing in growing countries. Power delivery that is reliable and constant is extremely difficult. The use of microgrids has been suggested as a solution to the problem of grid outages. There were two types of microgrids taken into consideration, one without diesel engine support and the other with diesel engine support. The microgrid M1 was without diesel engine support, while the microgrid M2 had diesel engine support. An AC short transmission line was used to connect these two microgrids. It was suggested that additional power produced in M2 is transmitted to M1 to maintain a steady supply of electricity for the group of villages represented by M2. Photovoltaic (PV) modules, a WECS, and biogas gensets are all forms of renewable energy sources found in the microgrids M1 and M2. In order to achieve optimal power management in two AC interconnected microgrids and to improve frequency stability, VIC was used to compensate for the lack of inertia using a power injection mechanism through a multi-objective function when subjected to different disturbances of wind speed variation, solar radiation variation, load variation, and generation contingencies. The paper investigated how to tune PI, FOPI, FPI, FPI, FFOPI, and VIC based on FFOPI controllers using PSO to mitigate frequency and voltage oscillation.
Power imbalances between generated and consumed energy can result from variations in wind, solar, and other energy sources, which can affect the microgrid’s frequency and power management. The inertia of the BG, the virtual inertia of the inverter connected to the PVS, and a WECS in the absence of VIC all work together to balance out the energy imbalance. But when VIC is present, the compensatory method used in the absence of VIC is followed by the ESS’s virtual inertia control, with the ESS acting as a load to support the frequency. The best power-sharing between each generating unit is used in each controller to compensate for the power differential during disturbances through a multi-objective function, with the smallest value being recorded for total power loss in the case of VIC based on FFOPI controller, compared to the other controllers, due to the minimum value of power sharing (ΔPIC and ΔQIC) through the tie line at the VIC case. The results demonstrate that, in comparison to the other controllers, the VIC based on FFOPI controller achieves the greatest frequency performance and the optimal power flow.
The dynamics of the system can be significantly impacted by the severity of contingencies. Due to the inertia of the BG and virtual inertia of the inverter connected to the PVSS and WECS of each microgrid in the case of an outage of the tie line, an outage of the tie line without VIC affects microgrid stability but not a factor in microgrid instability. The VIC based on FFOPI controller provided a reaction that is superior in terms of frequency enhancement and optimal power management compared to the other controllers. However, using the ESS could enhance the stability during the disturbance period until the BG’s isochronous governor responds to return the frequency to steady-state. The power imbalance during contingency disturbance is balanced by the optimal power-sharing of each generation unit at each controller through a multi-objective function which supported the minimum total power loss in the case of the VIC based on FFOPI controller.
The voltages and frequencies of both microgrids fluctuate within the allowable limits and then settle with zero steady-state error following a disturbance within 0.5s with less overshoots/undershoots (3.7e-5/−0.12e-3) using FFOPI based on VIC, which validates the technical feasibility of the model and VIC technique. The power loss of two interconnected microgrids recorded 7.5 × 10−9 in the case of the PI controller, 2.7 × 10−9 in the case of the FOPI, 1.6 × 10−11 in the case of the FPI, 7.3 × 10−12 in the case of the FFOPI, and 7.1 × 10−14 in the case of the VIC based on FFOPI due to the minimum value of power sharing (ΔPIC and ΔQIC) through the tie line at the VIC case for solar radiation disturbance. The magnitude of the total power loss of two interconnected microgrids recorded the smallest value, 1.6e-15, in the case of the VIC based on FFOPI controller due to the lossless power of the tie line in the event of a disconnected tie line disturbance. As a result, when compared to other controllers, the VIC based on FFOPI controller showed a superior response in terms of frequency improvement and ideal power management.

Author Contributions

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

Funding

The authors would like to acknowledge the support given from Swansea University, Faculty of Science and Engineering as well as the Astute Wales project to conduct this work. The ASTUTE 2020 (Advanced Sustainable Manufacturing Technologies) operation, supporting manufacturing companies across Wales, has been part-funded by the European Regional Development Fund through the Welsh Government and the participating Higher Education Institutions under grant number APCFSE11.

Institutional Review Board Statement

Not applicable.

Informed Consent Statement

Not applicable.

Data Availability Statement

Not applicable.

Conflicts of Interest

The authors declare no conflict of interest.

Glossary

List of Symbols
P LD ,   Q LD Active and reactive power demand, respectively
P W ,   Q W Active and reactive power generation from a WECS, respectively
P i n W Controlled active power generation from a WECS
V i n W ,   θ i n w Controlled voltage and voltage angle generation from a WECS, respectively
P DE ,   Q DE Active and reactive power supply from a diesel engine, respectively
P PV ,   Q PV Active and reactive power supply from a photovoltaic system, respectively
P i n P V Controlled active power generation from a SPVS
V i n P V ,   θ i n P V   Controlled voltage and voltage angle generation from a SPVS, respectively
V 1 ,   θ 1 Reference voltage and reference voltage angle for M1
V 2 ,   θ 2 Reference voltage and reference voltage angle for M2
ϕ 12 Difference between the voltage angles of bus 1 and bus 2
X D E Internal reactance of a diesel engine
P BG ,   Q BG Active and reactive power supply from a biogas genset, respectively
P IC ,   Q IC Active and reactive power inflow through interconnection to the microgrid, respectively
K FS ,   T FS Gain and time constants of the system real power, respectively.
K VS ,   T VS Gain and time constants of the system reactive power, respectively
D FS ,   F FS Damping coefficient of the real and reactive power, respectively
T WS ,   T PVS Time constants of the WECS and SPV systems, respectively
X TWS ,   X TPV Thevenin equivalent reactance of the WECS and SPV, respectively
X d ,   X d Direct axis synchronous reactance and transient reactance of thelternator, respectively
T d 0 Direct axis open-circuit transient time constant
T B 1 ,   T B 2 , T B 3 ,   T B 4 , T B 5 ,   T B 6 ,   T B 7 Time constants of speed governor, actuator, and engine
T AB ,   K AB Voltage regulator time constant and gain constant, respectively
T EB ,   K EB Exciter time constant and gain constant, respectively
T FB ,   K FB Stabilizer circuit time constant and gain constant, respectively
List of Abbreviation
RES Renewable energy system
PCC Point of common coupling
VSG Virtual synchronous generator
ESS Energy storage system
WECS Wind energy converting system
SPVS Solar photovoltaic system
BGBio-gas genset
DE Diesel engine
PMSGPermeant magnet synchronous generator
SLD Single line diagram
SS Stability study
DPLM Distribution power loss minimization
VICVirtual inertia control
FFOPIDFuzzy fractional order PID
PSO Particle swarm optimization
ITSE Integral time square error
OF Objective function based on Equation (39)

Appendix A

According to the load and generation values given in Section 2, all the parameters have been calculated and listed in this appendix section with the time and gain constants that have been used to solve the model.
Microgrid 1 parameters
D F S = P L f = P L P R F = 0.03   P U .   k W /   H z
K F S = 1 D F S = 88.46   H z / P U . k W T F S = 15 s
D V S = Q L V = Q L Q R V = P L P R F = 0.57   P U . k V A R / P U . k V
K V S = 1 D V S = 1.77   P U . k V / P U . k V A R T V S = 0.002513 s
Table A1. Microgrid 1 parameters values.
Table A1. Microgrid 1 parameters values.
Biogas1WECS1 SPVS1
PBG = 0.3043 pu QBG = 0.1473 pu PW = 0.1739 pu QW = 0.2126 pu Ppv = 0.1304 pu Qpv = 0.1621 pu
Xd = 1 pu Xd = 0.15 pu Td0 = 5 s TB = 0.75 s TB1 = 0.01 s TB2 = 0.02 s TB3 = 0.15 s TB4 = 0.2 s TB5 = 0.014 TB6 = 0.04 s TB7 = 0.036 s KAB = 200 TAB = 0.05 s KEB = 1 TEB = 2 s KFB = 0.5 TFB = 1 s K1B = 0.15 K2B = 0.846 K3B = 2.86 K4B = −3.039 XTWS = 0.36 pu TW = 1 s TW1 = 0.001 s KW1 = 2.99 KW2 = 2.99 KW3 = 0.161 KW4 = 0.17 KW5 = −0.17 KW6 = −0.17 KW7 = 2.124 KW8 = −2.57XTPVS = 0.36 pu TPV = 0.001 s KPV1 = 2.94 KPV2 = 2.94 KPV3 = 0.12 KPV4 = 0.13 KPV5 = −0.13 KPV6 = −0.13 KPV7 = 2.78 KPV8 = −2.61
Microgrid 2 parameters
D F S = P L f = P L P R F = 0.0133   P U .   k W /   H z
  K F S = 1 D F S = 75   H z / P U . k W T F S = 15 s
D V S = Q L V = Q L Q R V = P L P R F = 0.67   P U . k V A R / P U . k V
K V S = 1 D V S = 1.5   P U . k V / P U . k V A R T V S = 0.00212 s
Table A2. Microgrid 2 parameters values.
Table A2. Microgrid 2 parameters values.
Biogas2WECS2SPVS2
PBG = 0.2062 pu QBG = 0.0998 pu PW = 0.1333 pu QW = 0.1658 pu Ppv = 0.1304 pu Qpv = 0.1621 pu
Xd = 1 pu Xd = 0.15 pu Td0 = 5 s TB = 0.75 s
TB1 = 0.01 s TB2 = 0.02 s TB3 = 0.15 s TB4 = 0.2 s TB5 = 0.014s TB6 = 0.04 s TB7 = 0.036 s KAB = 200 TAB = 0.05 s KEB = 1 TEB = 2 s KFB = 0.5 TFB = 1 s K1B = 0.15 K2B = 0.847 K3B = 2.44 K4B = −2. 34
XTWS = 0.47 pu TW = 1 s TW1 = 0.001 s KW1 = 2.99 KW2 = 2.293 KW3 = 0.123 KW4 = −0.133 KW5 = −0.133 KW6 = −0.13 KW7 = 2.12 KW8 = −1.96XTPVS = 0.36 pu TPV = 0.001 s KPV1 = 2.25 KPV2 = 2.25 KPV3 = 0.094 KPV4 = 0.1 KPV5 = −0.1 KPV6 = -−0.1 KPV7 = 2.13 KPV8 = −2
Table A3. Diesel engine and AC tie line parameters values.
Table A3. Diesel engine and AC tie line parameters values.
DEInterconnection Data
PDE = 0.2 pu QDE = 0.09686 pu R = 0.05 pu X = 0.00676 pu PRES = 50 KW PIRES = 40.6 KW
K1DE = −2.874 K2DE = 0.2
K3DE = 0.2 K4DE = −2.681
Ploss = 9.39 KW K1 = 19.68 K2 = −19.61 K3 = 2.364 K4 = 2.364
K5 = −2.95 K6 = −19.68

References

  1. Farrokhabadi, M.; Cañizares, C.A.; Simpson-Porco, J.W.; Nasr, E.; Fan, L.; Mendoza-Araya, P.A.; Tonkoski, R.; Tamrakar, U.; Hatziargyriou, N.; Lagos, D. Microgrid Stability Definitions, Analysis, and Examples. IEEE Trans. Power Syst. 2020, 35, 13–29. [Google Scholar] [CrossRef]
  2. Kundur, P.; Paserba, J.; Vittal, V.; Andersson, G. Closure of. Definition and Classification of Power System Stability. IEEE Trans. Power Syst. 2006, 21, 446. [Google Scholar] [CrossRef]
  3. Firdaus, A.; Sharma, D.; Mishra, S. Dynamic power flow based simplified transfer function model to study instability of low-frequency modes in inverter-based microgrids. IET Gener. Transm. Distrib. 2020, 14, 5634–5645. [Google Scholar] [CrossRef]
  4. El-Fergany, A.A.; El-Hameed, M.A. Efficient frequency controllers for autonomous two-area hybrid microgrid system using social-spider optimizer. IET Gener. Transm. Distrib. 2017, 11, 637–648. [Google Scholar] [CrossRef]
  5. Rosini, A. Power Sharing in Droop Controlled Microgrids. In Proceedings of the 2019 IEEE 11th International Symposium on Advanced Topics in Electrical Engineering (ATEE), Bucharest, Romania, 28–30 March 2019. [Google Scholar]
  6. Delavari, H.; Naderian, S. Backstepping fractional sliding mode voltage control of an islanded microgrid. IET Gener. Transm. Distrib. 2019, 13, 2464–2473. [Google Scholar] [CrossRef]
  7. Jayawardana, A.; Agalgaonkar, A.P.; Robinson, D.A.; Fiorentina, M. Optimization framework for the operation of battery storage within solar-rich microgrids. IET Smart Grid 2019, 2, 504–513. [Google Scholar] [CrossRef]
  8. Sharma, R.; Kewat, S.; Singh, B. Robust MMSOGI-FLL control algorithm for power quality improvement of solar PV-SyRG pico hydro-BES based islanded microgrid with dynamic load. IET Power Electron. 2020, 13, 2874–2884. [Google Scholar] [CrossRef]
  9. Barik, A.K.; Das, D.C. Expeditious frequency control of solar photovoltaic/biogas/biodiesel generator based isolated renewable microgrid using grasshopper optimization algorithm. IET Renew. Power Gener. 2018, 12, 1659–1667. [Google Scholar] [CrossRef]
  10. Rezkallah, M.; Singh, S.; Chandra, A.; Singh, B.; Tremblay, M.; Saad, M.; Geng, H. Comprehensive Controller Implementation for Wind-PV-Diesel Based Standalone Microgrid. IEEE Trans. Ind. Appl. 2019, 55, 5416–5428. [Google Scholar] [CrossRef]
  11. Sheng, S.; Zhang, J. Capacity configuration optimization for stand-alone micro-grid based on an improved binary bat algorithm. J. Eng. 2017, 13, 2083–2087. [Google Scholar] [CrossRef]
  12. Puchalapalli, S.; Tiwari, S.K.; Singh, B.; Goel, P.K. A Microgrid Based on Wind-Driven DFIG, DG, and Solar PV Array for Optimal Fuel Consumption. IEEE Trans. Ind. Appl. 2020, 56, 4689–4699. [Google Scholar] [CrossRef]
  13. Liang, B.; Kang, L.; He, J.; Zheng, F.; Xia, Y.; Zhang, Z.; Zhang, Z.; Liu, G.; Zhao, Y. Coordination control of hybrid AC/DC microgrid. J. Eng. 2019, 16, 3264–3269. [Google Scholar] [CrossRef]
  14. Guo, L.; Fu, X.; Zeng, J. Power Management for AC/DC Hybrid Microgrid. Front. Energy Res. 2021, 9. [Google Scholar] [CrossRef]
  15. Zhao, D.; Qian, M.; Ma, J.; Yamashita, K. Photovoltaic generator model for power system dynamic studies. Sol. Energy 2020, 210, 101–114. [Google Scholar] [CrossRef]
  16. Chao, P.; Li, W.; Liang, X.; Shuai, Y.; Sun, F.; Ge, Y. A comprehensive review on dynamic equivalent modeling of large photovoltaic power plants. Sol. Energy. 2020, 210, 87–100. [Google Scholar] [CrossRef]
  17. Yaramasu, V.; Wu, B.; Sen, P.C.; Kouro, S.; Narimani, M. High-power wind energy conversion systems: State of- the-art and emerging technologies. Proc. IEEE. 2015, 103, 740–788. [Google Scholar] [CrossRef]
  18. Gencer, A. Modelling and analysis of operation PMSG based WECS under different load conditions. In Proceedings of the 2016 IEEE 8th International Conference on Electronics, Computers and Artificial Intelligence (ECAI), Ploiesti, Romania, 30 June–2 July 2016. [Google Scholar]
  19. Xi, J.; Geng, H.; Ma, S.; Chi, Y.; Yang, G. Inertial response characteristics analysis and optimization of PMSG-based VSG-controlled WECS. IET Renew. Power Gener. 2018, 12, 1741–1747. [Google Scholar] [CrossRef]
  20. Johnson, S.C.; Rhodes, J.D.; Webber, M.E. Understanding the impact of non-synchronous wind and solar generation on grid stability and identifying mitigation pathways. Appl. Energy 2020, 262, 114492. [Google Scholar] [CrossRef]
  21. Ubilla, K.; Jimenez-Estevez, G.A.; Hernadez, R.; Reyes-Chamorro, L.; Irigoyen, C.H.; Severino, B.; Palma-Behnke, R. Smart Microgrids as a Solution for Rural Electrification Ensuring Long-Term Sustainability Through Cadastre and Business Models. IEEE Trans. Sustain. Energy 2014, 5, 1310–1318. [Google Scholar] [CrossRef]
  22. Suryakiran, B.V.; Singh, V.K.; Verma, A.; Bhatti, T.S. Stability study of integrated microgrid system. In Proceedings of the ICSCS 2018, Kollam, India, 19–20 April 2018; Springer: Singapore, 2018; Volume 837, pp. 817–825. [Google Scholar]
  23. Singh, V.K.; Suryakiran, B.V.; Verma, A.; Bhatti, T.S. Modelling of a renewable energy-based AC interconnected rural microgrid system for the provision of uninterrupted power supply. IET Energy Syst. Integr. 2021, 3, 172–183. [Google Scholar] [CrossRef]
  24. Hasanzadeh, S.; Dehghan, S.M.; Khoramikia, H. Droop control method based on fuzzy adaptive virtual resistance for DC microgrids. Int. J. Power Electron. 2021, 14, 197. [Google Scholar] [CrossRef]
  25. Jiang, Y.; Yang, Y.; Tan, S.C.; Hui, S.Y.R. Distributed Sliding Mode Observer-Based Secondary Control for DC Microgrids Under Cyber-Attacks. IEEE J. Emerg. Sel. Top. Circuits Syst. 2020, 11, 144–154. [Google Scholar] [CrossRef]
  26. Deng, J.; Mao, Y.; Yang, Y. Distribution Power Loss Reduction of Standalone DC Microgrids Using Adaptive Differential Evolution-Based Control for Distributed Battery Systems. Energies 2020, 13, 2129. [Google Scholar] [CrossRef]
  27. Yang, Y.; Qin, Y.; Tan, S.C.; Hui, S.Y.R. Efficient Improvement of Photovoltaic-Battery Systems in Standalone DC Microgrids Using a Local Hierarchical Control for the Battery System. IEEE Trans. Power Electron. 2019, 34, 10796–10807. [Google Scholar] [CrossRef]
  28. Yang, Y.; Qin, Y.; Tan, S.C.; Hui, S.Y.R. Reducing Distribution Power Loss of Islanded AC Microgrids Using Distributed Electric Springs with Predictive Control. IEEE Trans. Ind. Electron. 2020, 67, 9001–9011. [Google Scholar] [CrossRef]
  29. Qian, X.; Yang, Y.; Li, C.; Tan, S.C. Operating Cost Reduction of DC Microgrids Under Real-Time Pricing Using Adaptive Differential Evolution Algorithm. IEEE Access 2020, 8, 169247–169258. [Google Scholar] [CrossRef]
  30. Dabbaghjamanesh, M.; Kavousi-Fard, A.; Mehraeen, S.; Zhang, J.; Dong, Z.Y. Sensitivity Analysis of Renewable Energy Integration on Stochastic Energy Management of Automated Reconfigurable Hybrid AC–DC Microgrid Considering DLR Security Constraint. IEEE Trans. Ind. Inform. 2020, 16, 120–131. [Google Scholar] [CrossRef]
  31. Yuan, W.; Wang, Y.; Liu, D.; Deng, F.; Chen, Z. Efficiency-Prioritized Droop Control Strategy of AC Microgrid. IEEE J. Emerg. Sel. Top. Power Electron. 2020, 9, 2936–2950. [Google Scholar] [CrossRef]
  32. Wang, Y.; Zhao, Q.; Wang, X. An Asynchronous Gradient Descent Based Method for Distributed Resource Allocation with Bounded Variables. IEEE Trans. Autom. Control 2021, 1. [Google Scholar] [CrossRef]
  33. Boyd, S.; Vandenberghe, L. Convex Optimization; Cambridge Univ. Press: Cambridge, UK, 2004. [Google Scholar]
  34. Boicea, V.A. Energy Storage Technologies. The Past and the Present. Proc. IEEE 2014, 102, 1777–1794. [Google Scholar] [CrossRef]
  35. Fawzy, A.; Bakeer, A.; Magdy, G.; Atawi, I.E.; Roshdy, M. Adaptive Virtual Inertia-Damping System Based on Model Predictive Control for Low-Inertia Microgrids. IEEE Access 2021, 9, 109718–109731. [Google Scholar] [CrossRef]
  36. Vorobev, P.; Huang, P.H.; Hosani, M.A.; Kirtley, J.L.; Turitsyn, K. A framework for development of universal rules for microgrids stability and control. In Proceedings of the 2017 IEEE 56th Annual Conference on Decision and Control (CDC), Melbourne, Australia, 12–15 December 2017; pp. 12–15. [Google Scholar]
  37. Jiang, Y.; Pates, R.; Mallada, E. Dynamic Droop Control in Low-inertia Power Systems. IEEE Trans. Autom. Control 2020, 66, 3518–3533. [Google Scholar] [CrossRef]
  38. Ojo, Y.; Watson, J.; Lestas, I. A review of Reduced-Order Models for Microgrids: Simplifications vs Accuracy. arXiv 2020, arXiv:2003.04923. [Google Scholar]
  39. Abubakr, H.; Mohamed, T.H.; Hussein, M.M.; Guerrero, J.M.; Agundis-Tinajero, G. Adaptive frequency regulation strategy in multi-area microgrids including renewable energy and electric vehicles supported by virtual inertia. Int. J. Electr. Power Energy Syst. 2021, 129, 106814. [Google Scholar] [CrossRef]
  40. Kerdphol, T.; Rahman, F.S.; Watanabe, M.; Mitani, Y. Virtual Inertia Synthesis and Control; Springer International Publishing: Cham, Switzerland, 2021. [Google Scholar]
  41. Tamrakar, U.; Shrestha, D.; Maharjan, M.; Bhattarai, B.; Hansen, T.; Tonkoski, R. Virtual Inertia: Current Trends and Future Directions. Appl. Sci. 2017, 7, 654. [Google Scholar] [CrossRef]
  42. Akinyele, D.; Belikov, J.; Levron, Y. Challenges of Microgrids in Remote Communities: A STEEP Model Application. Energies 2018, 11, 432. [Google Scholar] [CrossRef]
  43. Hashemi, S.M.; Vahidinasab, V. Energy Management Systems for Microgrids; Springer International Publishing: Berlin/Heidelberg, Germany, 2021; pp. 61–95. [Google Scholar]
  44. Singh, D.; Seethalekshmi, K.A. Review on Various Virtual Inertia Techniques for Distributed Generation. In Proceedings of the IEEE International Conference on Electrical and Electronics Engineering, Gorakhpur, India, 14–15 February 2020; pp. 14–15. [Google Scholar]
  45. Fernández-Guillamón, E.; Gómez-Lázaro, E.; Muljadi, E.; Molina-García, Á. Power systems with high renewable energy sources: A review of inertia and frequency control strategies over time. Renew. Sustain. Energy Rev. 2019, 115, 109369. [Google Scholar] [CrossRef]
  46. Mohamed, M.M.; El Zoghby, H.M.; Sharaf, S.M.; Mosa, M.A. Optimal virtual synchronous generator control of battery/supercapacitor hybrid energy storage system for frequency response enhancement of photovoltaic/diesel microgrid. J. Energy Storage 2022, 51, 104317. [Google Scholar] [CrossRef]
  47. Ghany Mohamed Abdel Ghany, M.A.; Bensenouci, A.; Bensenouci, M.A.; Nazih Syed-Ahmad, M. Fuzzy Fractional-Order PID Tuned via Relative Rate Observer for the Egyptian Load Frequency Regulation. In Proceedings of the IEEE 2018 Twentieth International Middle East Power Systems Conference (MEPCON), Cairo, Egypt, 18–20 December 2018; pp. 18–20. [Google Scholar]
  48. Elnozahy, A.; Yousef, A.M.; Ghoneim, S.S.; Abdelwahab, S.A.; Mohamed, M.; Abo-Elyousr, F.K. Optimal Economic and Environmental Indices for Hybrid PV/Wind-Based Battery Storage System. J. Electr. Eng. Technol. 2021, 16, 2847–2862. [Google Scholar] [CrossRef]
Figure 1. SLD of interconnected microgrid system.
Figure 1. SLD of interconnected microgrid system.
Energies 15 07026 g001
Figure 2. SLD of WECS.
Figure 2. SLD of WECS.
Energies 15 07026 g002
Figure 3. The block diagram of WECS.
Figure 3. The block diagram of WECS.
Energies 15 07026 g003
Figure 4. SLD of SPVS.
Figure 4. SLD of SPVS.
Energies 15 07026 g004
Figure 5. The block diagram of SPVS.
Figure 5. The block diagram of SPVS.
Energies 15 07026 g005
Figure 6. (a) Block diagram of real power generation of biogas and (b) block diagram of reactive power generation of biogas.
Figure 6. (a) Block diagram of real power generation of biogas and (b) block diagram of reactive power generation of biogas.
Energies 15 07026 g006
Figure 7. Transfer function block diagram of AC line.
Figure 7. Transfer function block diagram of AC line.
Energies 15 07026 g007
Figure 8. Block diagram of controller (a) Fuzzy PI and (b) Fuzzy fractional order PI.
Figure 8. Block diagram of controller (a) Fuzzy PI and (b) Fuzzy fractional order PI.
Energies 15 07026 g008
Figure 9. Membership for E and CE (a) input membership and (b) output membership.
Figure 9. Membership for E and CE (a) input membership and (b) output membership.
Energies 15 07026 g009
Figure 10. Typical structure of a virtual inertia control block.
Figure 10. Typical structure of a virtual inertia control block.
Energies 15 07026 g010
Figure 11. PSO algorithm flowchart.
Figure 11. PSO algorithm flowchart.
Energies 15 07026 g011
Figure 12. Interconnected microgrid’s frequency and voltage measurements versus time for each controller at wind speed disturbance: (a) ΔF1 (P.U), ΔF2 (P.U), (b) ΔV1 (P.U), ΔV2 (P.U).
Figure 12. Interconnected microgrid’s frequency and voltage measurements versus time for each controller at wind speed disturbance: (a) ΔF1 (P.U), ΔF2 (P.U), (b) ΔV1 (P.U), ΔV2 (P.U).
Energies 15 07026 g012
Figure 13. M1 and M2 ’s active power measurements versus time for each controller at wind speed disturbance: (a) ΔPPV1 (PU), ΔPPV2 (PU), (b) ΔPtotal 1 (PU), ΔP total 2 (PU), (c) ΔPw1 (PU), ΔPw2 (PU), (d) ΔPBG1 (PU), ΔPBG2 (PU), (e) ΔPDE2 (PU), ΔPIC (PU).
Figure 13. M1 and M2 ’s active power measurements versus time for each controller at wind speed disturbance: (a) ΔPPV1 (PU), ΔPPV2 (PU), (b) ΔPtotal 1 (PU), ΔP total 2 (PU), (c) ΔPw1 (PU), ΔPw2 (PU), (d) ΔPBG1 (PU), ΔPBG2 (PU), (e) ΔPDE2 (PU), ΔPIC (PU).
Energies 15 07026 g013aEnergies 15 07026 g013b
Figure 14. M1 and M2 ’s reactive power measurements versus time for each controller at wind speed disturbance: (a) ΔQw1 (PU), ΔQW2 (PU), (b) ΔQPV1 (PU), ΔQPV2 (PU), (c) ΔQ total 1 (PU), ΔQ total 2 (PU), (d) ΔQIC (PU), ΔQDE2 (PU).
Figure 14. M1 and M2 ’s reactive power measurements versus time for each controller at wind speed disturbance: (a) ΔQw1 (PU), ΔQW2 (PU), (b) ΔQPV1 (PU), ΔQPV2 (PU), (c) ΔQ total 1 (PU), ΔQ total 2 (PU), (d) ΔQIC (PU), ΔQDE2 (PU).
Energies 15 07026 g014aEnergies 15 07026 g014b
Figure 15. Interconnected microgrid’s frequency and voltage measurements versus time for each controller at solar radiation disturbance: (a) ΔF1 (P.U), ΔF2 (P.U), (b) ΔV1 (P.U), ΔV2 (P.U).
Figure 15. Interconnected microgrid’s frequency and voltage measurements versus time for each controller at solar radiation disturbance: (a) ΔF1 (P.U), ΔF2 (P.U), (b) ΔV1 (P.U), ΔV2 (P.U).
Energies 15 07026 g015
Figure 16. M1 and M2 ’s active power measurements versus time for each controller at solar radiation disturbance: (a) ΔPBG1 (PU), ΔPBG2 (PU), (b) ΔPW1 (PU), ΔPW2 (PU), (c) ΔPIC (PU), ΔPtotal 2 (PU), (d) ΔPPV1 (PU), ΔPPV2 (PU), (e) ΔPDE2 (PU), ΔPtotal 1 (PU).
Figure 16. M1 and M2 ’s active power measurements versus time for each controller at solar radiation disturbance: (a) ΔPBG1 (PU), ΔPBG2 (PU), (b) ΔPW1 (PU), ΔPW2 (PU), (c) ΔPIC (PU), ΔPtotal 2 (PU), (d) ΔPPV1 (PU), ΔPPV2 (PU), (e) ΔPDE2 (PU), ΔPtotal 1 (PU).
Energies 15 07026 g016aEnergies 15 07026 g016b
Figure 17. M1 and M2’s reactive power measurements versus time for each controller at solar radiation disturbance: (a) ΔQPV1 (PU), ΔQPV2 (PU), (b) ΔQ total 1 (PU), ΔQ total 2 (PU), (c) ΔQIC (PU), ΔQDE2 (PU), (d) ΔQW1 (PU), ΔQW2 (PU).
Figure 17. M1 and M2’s reactive power measurements versus time for each controller at solar radiation disturbance: (a) ΔQPV1 (PU), ΔQPV2 (PU), (b) ΔQ total 1 (PU), ΔQ total 2 (PU), (c) ΔQIC (PU), ΔQDE2 (PU), (d) ΔQW1 (PU), ΔQW2 (PU).
Energies 15 07026 g017
Figure 18. Interconnected microgrid’s frequency and voltage measurements versus time for each controller at disconnected tie line disturbance: (a) ΔF1 (P.U), ΔF2 (P.U), (b) ΔV1 (P.U), ΔV2 (P.U).
Figure 18. Interconnected microgrid’s frequency and voltage measurements versus time for each controller at disconnected tie line disturbance: (a) ΔF1 (P.U), ΔF2 (P.U), (b) ΔV1 (P.U), ΔV2 (P.U).
Energies 15 07026 g018aEnergies 15 07026 g018b
Figure 19. M1 and M2 ’s active and reactive power measurements versus time for each controller at disconnected tie line disturbance: (a) ΔPW1 (PU), ΔPW2 (PU), (b) ΔPPV1 (PU), ΔPPV2 (PU), (c) ΔPBG1 (PU), ΔPBG2 (PU), (d) ΔPDE2 (PU), ΔQDE2 (PU), (e) ΔQW1 (PU), ΔQW2 (PU), (f) ΔQPV1 (PU), ΔQPV2 (PU), (g) ΔPIC (PU), ΔQIC (PU), ΔQ total 1 (PU), ΔQ total 2 (PU), (h) ΔPtotal 1 (PU), ΔPtotal 2 (PU).
Figure 19. M1 and M2 ’s active and reactive power measurements versus time for each controller at disconnected tie line disturbance: (a) ΔPW1 (PU), ΔPW2 (PU), (b) ΔPPV1 (PU), ΔPPV2 (PU), (c) ΔPBG1 (PU), ΔPBG2 (PU), (d) ΔPDE2 (PU), ΔQDE2 (PU), (e) ΔQW1 (PU), ΔQW2 (PU), (f) ΔQPV1 (PU), ΔQPV2 (PU), (g) ΔPIC (PU), ΔQIC (PU), ΔQ total 1 (PU), ΔQ total 2 (PU), (h) ΔPtotal 1 (PU), ΔPtotal 2 (PU).
Energies 15 07026 g019aEnergies 15 07026 g019bEnergies 15 07026 g019c
Table 1. Steady-state generation values for both microgrids.
Table 1. Steady-state generation values for both microgrids.
SourcesReal Power (kW)Rated Capacity (kW)
M1M2M1M2
DE 03000350
BG 350309.4550550
WECS200200400400
SPVS150150200200
Total700959.411501500
Table 2. Energy balance at a steady state in both microgrids.
Table 2. Energy balance at a steady state in both microgrids.
M1M2
Local load (kW) 1000650
Total generation (kW)959.4700
AC Interconnection (kW)40.6−50
Table 3. Fuzzy rule base.
Table 3. Fuzzy rule base.
E\CENZP
N LNSNZ
ZS NZS P
P Z S PL N
Table 4. Controller gains of microgrid system M1 for PI, FOPI, FPI, and FFOPI controllers.
Table 4. Controller gains of microgrid system M1 for PI, FOPI, FPI, and FFOPI controllers.
ControllersPI ControllerFOPI ControllerFPI ControllerFFOPI Controller
ParametersKPKIKPKIλK1K2K3K1K2K3λ
Controller10.210.211 76.92 0.3947 0.013 76.92 0.3947 0.013 0.99
Controller2−40−8.4−50−18.40.99 5555.6 0.01390.0663 5555.6 0.00510.19230.98
Controller30.210.211 76.92 0.3947 0.013 76.92 0.3947 0.013 0.999
Controller4−140−3−150−30.965 5555.6 0.01110.0635 5555.6 0.00460.18950.9653
Controller56.042.366.042.360.98 76.92 0.0127 0.0307 76.92 0.0127 0.0307 1
Controller6−3.15−25.60−3.15−25.600.999 500 0.1591 0.0512 500 0.1591 0.0512 1
Table 5. Controller gains of microgrid system M2 for PI, FOPI, FPI, and FFOPI controllers.
Table 5. Controller gains of microgrid system M2 for PI, FOPI, FPI, and FFOPI controllers.
ControllersPI ControllerFOPI ControllerFPI ControllerFFOPI Controller
ParametersKPKIKPKIλK1K2K3K1K2K3λ
Controller10.210.211 76.92 0.3947 0.013 76.92 0.3947 0.013 0.98
Controller2−340−5−350−150.98 76.92 1.09 × 10−44.745 76.92 5.5 × 10−513.850.889
Controller30.210.211 76.92 0.3947 0.013 76.92 0.3947 0.013 1
Controller4240−5230−150 76.92 0.04284.745 76.92 0.007813.850
Controller53.7618.513.7618.510.96 76.92 0.02050.2406 76.92 0.02050.24060.899
Controller6−1.54−32.68−1.54−32.680.978333.30.21950.098333.30.21950.0981
Table 6. Controller gains of AC line for PI, FOPI, FPI, and FFOPI controllers.
Table 6. Controller gains of AC line for PI, FOPI, FPI, and FFOPI controllers.
ControllersPI ControllerFOPI ControllerFPI ControllerFFOPI Controller
ParametersKPKIKPKIλK1K2K3K1K2K3λ
Controller70.210.211 76.92 0.3947 0.013 76.92 0.3947 0.013 1
Controller8−40−8.4−50−18.40.899 5555.6 0.01390.0663 5555.6 0.00510.19230.98
Controller9−340−5−350−150.897 76.92 1.09 × 10−44.745 76.92 5.5 × 10−513.850.9868
Table 7. FFOPI controller gains of microgrid system M1 in the case of VIC.
Table 7. FFOPI controller gains of microgrid system M1 in the case of VIC.
FFOPI M1
Controller K1 K2 K3 λ
FFOPI1 76.92 0.3947 0.013 0.99
FFOPI2 5555.6 0.0051 0.1923 0.98
FFOPI3 76.92 0.3947 0.013 0.999
FFOPI4 5555.6 0.00460.189 0.965
FFOPI5 76.92 0.0127 0.0307 1
FFOPI6 500 0.1591 0.0512 1
FFOPI750 0.0050.20
Table 8. FFOPI controller gains of microgrid system M2 in the case of VIC.
Table 8. FFOPI controller gains of microgrid system M2 in the case of VIC.
FFOPI M2
Controller K1K2 K3 λ
FFOPI1 76.92 0.3947 0.013 0.98
FFOPI2 76.92 5.5 × 10−5 13.85 0.889
FFOPI3 76.92 0.3947 0.013 1
FFOPI4 76.920.007813.85 0
FFOPI5 76.92 0.0205 0.2406 0.899
FFOPI6 333.3 0.2195 0.089 1
FFOPI7500.005 0.20
Table 9. FFOPI controller gains of AC line in the case of VIC.
Table 9. FFOPI controller gains of AC line in the case of VIC.
FFOPI AC Line
ControllerK1 K2 K3λ
FFOPI8 76.92 0.3947 0.013 1
FFOPI9 5555.60.0051 0.19230.98
FFOPI10 76.92 5.5 × 10−513.85 0.8968
Table 10. Dynamic specification of frequencies and voltage deviation for each controller at wind speed disturbance.
Table 10. Dynamic specification of frequencies and voltage deviation for each controller at wind speed disturbance.
Dynamic Deviation
M1
PIFOPIFPIFFOPIVIC Based on FFOPIDynamic Deviation
M2
PIFOPIFPIFFOPIVIC Based on FFOPI
ΔF1 Ts (S)3.83.53.230.9ΔF2 Ts (S)2.52.21.91.50.5
Os (PU) 1.04 × 10−31.02 × 10−30.97 × 10−30.88 × 10−33.06 × 10−5 Os (PU) 2.2 × 10−32 × 10−31.8 × 10−31.5 × 10−33.8 × 10−5
Us (PU)−1.2 × 10−3−1.3 × 10−3−1.33 × 10−3−1.4 × 10−3−7.5 × 10−5Us (PU)−2 × 10−3−2.2 × 10−3−2 × 10−3−2 × 10−3−0.12 × 10−3
ΔV1 Ts (S)98.58 6.5 1ΔV2 Ts (S) 97540.015
Os (PU)3.5 × 10−53.55 × 10−52 × 10−58.3 × 10−60Os (PU)3 × 10−52.7 × 10−52.4 × 10−51.3 × 10−54.7 × 10−7
Us (PU)−5.5 × 10−5−5.4 × 10−5−2.6 × 10−5−1.6 × 10−5−3.9 × 10−6Us (PU)−0.16 × 10−3−0.13 × 10−3−4 × 10−5−1.3 × 10−5−2.7 × 10−7
Table 11. Power flow in pu of microgrid system M1 and M2 for each controller at wind speed disturbance.
Table 11. Power flow in pu of microgrid system M1 and M2 for each controller at wind speed disturbance.
M1 Power Deviation PIFOPIFPIFFOPIVIC Based on FFOPIM2 Power DeviationPIFOPIFPIFFOPIVIC Based on FFOPI
ΔPBG1−0.2 × 10−3−2.6 × 10−50.3 × 10−30.2 × 10−30.6 × 10−3 ΔPBG22.7 × 10−32.5 × 10−32.1 × 10−32.2 × 10−32.1 × 10−3
ΔPW12.8 × 10−33.6 × 10−34.3 × 10−34.1 × 10−35.5 × 10−3 ΔPW28.5 × 10−38.2 × 10−37.3 × 10−37.5 × 10−37.1 × 10−3
ΔPPV1−0.1 × 10−30.3 × 10−31 × 10−30.9 × 10−32.2 × 10−3 ΔPPV26.2 × 10−35.6 × 10−34.9 × 10−35.1 × 10−34.7 × 10−3
ΔPESS1 - - - - −1.7 × 10−3 ΔPESS2 - - - - −0.46 × 10−3
ΔPIC12−7.5 × 10−3−6.2 × 10−3−4.4 × 10−3−4.8 × 10−3−3.4 × 10−3 ΔPIC217.5 × 10−36.2 × 10−34.4 × 10−34.8 × 10−33.4 × 10−3
ΔPtotal12.5 × 10−33.8 × 10−35.6 × 10−35.2 × 10−38.3 × 10−3 ΔPtotal217.4 × 10−316.3 × 10−314.3 × 10−314.8 × 10−313.9 × 10−3
ΔQW17.3 × 10−310.1 × 10−34.9 × 10−37.3 × 10−36 × 10−3 ΔQW2−2 × 10−31.3 × 10−33.3 × 10−32.1 × 10−35.6 × 10−3
ΔQPV112.1 × 10−37.9 × 10−36.5 × 10−38.6 × 10−37.2 × 10−3 ΔQPV21.3 × 10−3−0.62 × 10−33.9 × 10−30.69 × 10−3−2.82 × 10−5
ΔQBG1−0.1 × 10−30.1 × 10−30.2 × 10−30.1 × 10−30.3 × 10−3 ΔQBG21.37 × 10−31.22 × 10−31.2 × 10−31.21 × 10−30.93 × 10−3
ΔQIC129.3 × 10−38.1 × 10−31.6 × 10−36 × 10−33.5 × 10−3 ΔQIC21−9.3 × 10−3−8.1 × 10−3−1.6 × 10−3−6 × 10−3−3.5 × 10−3
ΔQtotal119.3 × 10−318.1 × 10−311.6 × 10−316 × 10−313.5 × 10−3 ΔQtotal20.67 × 10−31.9 × 10−38.4 × 10−34 × 10−36.5 × 10−3
Table 12. Dynamic specification of frequencies and voltage deviation for each controller at solar radiation disturbance.
Table 12. Dynamic specification of frequencies and voltage deviation for each controller at solar radiation disturbance.
Dynamic Deviation
M1
PIFOPIFPI FFOPIVIC Based on FFOPIDynamic Deviation
M2
PI FOPI FPIFFOPIVIC Based on FFOPI
ΔF1 Ts (S)3.83.53.22.80.9ΔF2 Ts (S)2.82.51.81.10.5
Os (PU) 0.9 × 10−30.8 × 10−30.7 × 10−30.6 × 10−3 2 × 10−5 Os (PU) 1.8 × 10−31.6 × 10−31.3 × 10−31.1 × 10−32.9 × 10−5
Us (PU)−0.8 × 10−3−0.9 × 10−3−1 × 10−3−1.1 × 10−3−5.4 × 10−5 Us (PU)−1.8 × 10−3−1.7 × 10−3−1.6 × 10−3−1.5 × 10−3−9.6 × 10−5
ΔV1 Ts (S)9876.51ΔV2 Ts (S) 97540.025
Os (PU) 2.8 × 10−5 2.6 × 10−5 1.6 × 10−5 6.4 × 10−60 Os (PU) 3 × 10−52.1 × 10−5 1.2 × 10−57 × 10−61.2 × 10−7
Us (PU)−4.8 × 10−5−4 × 10−5−1.7 × 10−5−1 × 10−5−3.5 × 10−6 Us (PU)−0.15 × 10−3−0.11 × 10−3−3.8 × 10−5−1.1 × 10−5−3 × 10−7
Table 13. Power flow in pu of microgrid system M1 and M2 for each controller at solar radiation disturbance.
Table 13. Power flow in pu of microgrid system M1 and M2 for each controller at solar radiation disturbance.
M1 Power Deviation PIFOPIFPIFFOPIVIC Based on FFOPI M2 Power Deviation PIFOPIFPIFFOPIVIC Based on FFOPI
ΔPBG1−0.2 × 10−3−1.7 × 10−50.3 × 10−30.2 × 10−30.63 × 10−3ΔPBG22.7 × 10−32.5 × 10−32.1 × 10−32.2 × 10−32.1 × 10−3
ΔPW1-0.2 × 10−30.6 × 10−31.3 × 10−31.1 × 10−32.5 × 10−3ΔPW26.3 × 10−35.9 × 10−35.1 × 10−35.3 × 10−34.8 × 10−3
ΔPPV12.8 × 10−33.2 × 10−34.1 × 10−33.8 × 10−35.1 × 10−3ΔPPV28.5 × 10−37.8 × 10−37.2 × 10−37.3 × 10−36.9 × 10−3
ΔPESS1 - - - - −1.6 × 10−3ΔPESS2 - - - - −0.41 × 10−3
ΔPIC12−7.5 × 10−3−6.2 × 10−3−4.4 × 10−3−4.8 × 10−3−3.4 × 10−3ΔPIC217.5 × 10−36.2 × 10−34.4 × 10−34.8 × 10−33.4 × 10−3
ΔPtotal12.4 × 10−33.8 × 10−35.7 × 10−35.1 × 10−38.23 × 10−3ΔPtotal217.5 × 10−316.2 × 10−314.4 × 10−314.8 × 10−313.8 × 10−3
ΔQW17.4 × 10−310.3 × 10−35.1 × 10−37.3 × 10−36.3 × 10−3ΔQW2−1.8 × 10−31.5 × 10−33.1 × 10−32.5 × 10−35.6 × 10−3
ΔQPV112 × 10−37.8 × 10−36.4 × 10−38.2 × 10−37.1 × 10−3ΔQPV21.2 × 10−3−0.72 × 10−34.1 × 10−30.65 × 10−3−0.2 × 10−3
ΔQBG1−0.1 × 10−3−0.1 × 10−30.2 × 10−30.2 × 10−30.3 × 10−3ΔQBG21.3 × 10−31.22 × 10−31.1 × 10−31.15 × 10−30.9 × 10−3
ΔQIC129.3 × 10−38 × 10−31.7 × 10−35.7 × 10−33.7 × 10−3ΔQIC21−9.3 × 10−3−8 × 10−3−1.7 × 10−3−5.7 × 10−3−3.7 × 10−3
ΔQtotal119.3 × 10−3 18 × 10−311.7 × 10−315.7 × 10−313.7 × 10−3ΔQtotal20.7 × 10−32 × 10−38.3 × 10−34.3 × 10−3 6.3 × 10−3
Table 14. Dynamic specification of frequencies and voltage deviation for each controller at disconnecting tie line.
Table 14. Dynamic specification of frequencies and voltage deviation for each controller at disconnecting tie line.
Dynamic Deviation
M1
PIFOPIFPI FFOPIVIC Based on FFOPIDynamic Deviation
M2
PI FOPIFPI FFOPIVIC Based on FFOPI
ΔF1 Ts (S)3.83.53.230.9ΔF2 Ts (S)2.52.21.91.50.5
Os (PU) 9 × 10−38.9 × 10−38.8 × 10−38.7 × 10−33.1 × 10−5Os (PU) 3.6 × 10−33.4 × 10−31.7 × 10−31.6 × 10−33.7 × 10−5
Us (PU)−4 × 10−3−3.8 × 10−3−2 × 10−3−1.8 × 10−3−0.1 × 10−3Us (PU)−3.9 × 10−3−3.8 × 10−3−2 × 10−3−1.8 × 10−3−0.12 × 10−3
ΔV1 Ts (S)98.5321.5ΔV2 Ts (S) 87310.002
Os (PU)00000Os (PU)00000
Us (PU)−2.2 × 10−5−2 × 10−5−4.5 × 10−6−1.6 × 10−6−1.7 × 10−6Us (PU)−1.4 × 10−3−1.3 × 10−3−7 × 10−6−3 × 10−6−2.8 × 10−6
Table 15. Power flow in pu of microgrid system M2 and M2 for each controller at disconnecting tie line.
Table 15. Power flow in pu of microgrid system M2 and M2 for each controller at disconnecting tie line.
M1 Power Deviation PIFOPIFPIFFOPIVIC Based on FFOPIM2 Power DeviationPIFOPIFPIFFOPIVIC Based on FFOPI
ΔPBG11.4 × 10−31.4 × 10−31.3 × 10−31.4 × 10−31.6 × 10−3ΔPBG21.3 × 10−31.3 × 10−31.7 × 10−31.7 × 10−32 × 10−3
ΔPW14.4 × 10−34.4 × 10−34.4 × 10−34.4 × 10−35 × 10−3ΔPW215.2 × 10−315.2 × 10−34.2 × 10−34.5 × 10−35 × 10−3
ΔPPV14.2 × 10−34.2 × 10−34.3 × 10−34.2 × 10−35 × 10−3ΔPPV2 −6.5 × 10−3-6.5 × 10−34.1 × 10−33.8 × 10−34.6 × 10−3
ΔPESS1 - - - - −1.6 × 10−3ΔPESS2 - - - - −1.6 × 10−3
ΔPIC12 0 0 0 0 0 ΔPIC21 0 0 0 0 0
ΔPtotal110 × 10−310 × 10−310 × 10−310 × 10−311.5 × 10−3ΔPtotal210 × 10−310 × 10−310 × 10−310 × 10−311.6 × 10−3
ΔQW13.6 × 10−35.4 × 10−34.1 × 10−34.1 × 10−34.2 × 10−3ΔQW2 4.6 × 10−39.7 × 10−34.6 × 10−39.5 × 10−39.2 × 10−3
ΔQPV15.7 × 10−34 × 10−35.3 × 10−34.9 × 10−35 × 10−3ΔQPV2 4.6 × 10−3−0.6 × 10−34.6 × 10−3−4.4 × 10−50.2 × 10−3
ΔQBG10.7 × 10−30.6 × 10−30.6 × 10−31 × 10−30.8 × 10−3ΔQBG2 0.8 × 10−30.9 × 10−30.8 × 10−30.54 × 10−30.6 × 10−3
ΔQIC120 0 0 0 0 ΔQIC210 0 0 0 0
ΔQtotal110 × 10−310 × 10−310 × 10−310 × 10−310 × 10−3ΔQtotal210 × 10−310 × 10−310 × 10−310 × 10−310 × 10−3
Publisher’s Note: MDPI stays neutral with regard to jurisdictional claims in published maps and institutional affiliations.

Share and Cite

MDPI and ACS Style

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. https://doi.org/10.3390/en15197026

AMA Style

Elshenawy M, Fahmy A, Elsamahy A, Kandil SA, El Zoghby HM. Optimal Power Management of Interconnected Microgrids Using Virtual Inertia Control Technique. Energies. 2022; 15(19):7026. https://doi.org/10.3390/en15197026

Chicago/Turabian Style

Elshenawy, Mahmoud, Ashraf Fahmy, Adel Elsamahy, Shaimaa A. Kandil, and Helmy M. El Zoghby. 2022. "Optimal Power Management of Interconnected Microgrids Using Virtual Inertia Control Technique" Energies 15, no. 19: 7026. https://doi.org/10.3390/en15197026

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