Next Article in Journal
Outage Performance of Interference Cancellation-Aided Two-Way Relaying Cognitive Network with Primary TAS/SC Communication and Secondary Partial Relay Selection
Next Article in Special Issue
Linear-Matrix-Inequality-Based Controller and Observer Design for Induction Machine
Previous Article in Journal
A Bilateral Cooperative Strategy for Swarm Escort under the Attack of Aggressive Swarms
Previous Article in Special Issue
Flexibility Optimization in Robust Co-Optimization of Combined Power System and Gas Networks Using Transmission Lines’ Switching
 
 
Font Type:
Arial Georgia Verdana
Font Size:
Aa Aa Aa
Line Spacing:
Column Width:
Background:
Article

Optimal Solution for Frequency and Voltage Control of an Islanded Microgrid Using Square Root Gray Wolf Optimization

1
Key Laboratory of Power System Intelligent Dispatch and Control, Shandong University, Jingshi Road #17923, Jinan 250000, China
2
Department of Electrical Engineering, The Islamia University of Bahawalpur, Bahawalpur 63100, Pakistan
3
NFC Institute of Engineering and Fertilizer Research, Faisalabad 38000, Pakistan
4
Faculty of Engineering and Technology, Gomal University, Dera Ismail Khan 29050, Pakistan
5
School of Electrical and Control Engineering, Xuzhou University of Technology, Xuzhou 221018, China
*
Author to whom correspondence should be addressed.
Electronics 2022, 11(22), 3644; https://doi.org/10.3390/electronics11223644
Submission received: 7 September 2022 / Revised: 2 November 2022 / Accepted: 3 November 2022 / Published: 8 November 2022

Abstract

:
Voltage and frequency deviation in the islanded operation of a microgrid (MG), due to the uncertainty and lack of inertia in the selection of optimal proportional integral (PI) controller gain, is a challenging task. Although various optimization algorithms have been proposed to achieve this task, most of them require a large number of iterations and are time intensive, making them inefficient for real-time applications. Gray wolf optimization (GWO), a new meta-heuristic algorithm, addresses these issues and has many advantages, including simplicity due to fewer control parameters, flexibility, and globalism. This paper proposes a simple and efficient modified algorithm, called square root gray wolf optimization (SRGWO) algorithm, to realize superior hunting performance. SRGWO is verified using twenty-three benchmark test functions. The algorithm is applied for optimal voltage and frequency regulation of a photovoltaic-based microgrid system operating in the islanded mode during distributed generation insertion and load change conditions. The voltage and frequency gain parameters of the PI controller are optimized. A comparison of the simulation results of the SRGWO algorithm with those of the original gray wolf algorithm (GWO), particle swarm optimization (PSO), augmented gray wolf optimization (AGWO), enhanced gray wolf optimization (EGWO), and gravitational search algorithm (GSA) reveal that the proposed SRGWO algorithm significantly improves system performance while maintaining its simplicity and easy implementation. Furthermore, the SRGWO algorithm obtains the minimum fitness function value in fewer iterations than other algorithms. Moreover, it improves the power quality of the system with regard to minimum total harmonic distortion.

1. Introduction

Nowadays, power systems depend on utility. Heavy power loss often occurs at peak hours. In order to avoid such power loss, ensuring the stability of power generation stations is crucial [1,2]. The demand side management of smart grids allows the customer to control their power consumption depending on their load conditions and services [3]. Microgrids (MGs) are constantly connected to the primary electrical grid under normal conditions, and when a shortage of power occurs, they disconnect to an isolate mode. One of the most important features and advantages of using a microgrid is its ability to be islanded and operate independently. The advantage of island mode lies in its abillity to improve the reliability and power quality of real customers in the MG [4]. It consists of renewable and non-renewable energy resources. The loads in the distribution system, are able to operate both as grid-connected and islanded modes [5]. The voltage and frequency of the system are controlled by the power grid in the grid-connected mode operation. Distributed generators (DGs) inject almost fixed power to the grid [6], which contributes to the economic and secure operation of the power system [6,7]. Generally, voltage and frequency instability is attributed to the large deviation between generated electrical energy and utilized power [8]. Some control strategies with efficient algorithms have been developed for the stability of voltage and frequency to ensure the durability of services [9]. In both modes, the acceptable levels of main parameters can be achieved with respect to the power excellence of the MG [10]. In a conventional power system, the voltage and frequency control can be achieved easily because mostly the power consumption side produces the uncertainties. By contrast, in MGs, due to the difference in power generation and load, functional complexity, structural variation, and changing the nature of renewable energy sources (RES), controlling the voltage and frequency is a complex task [11,12]. Conventional regulators cannot deliver acceptable achievements in some serious functioning situations given the rapidly changing operating conditions of MG. Therefore, voltage and frequency control require a powerful and intelligent controller in an islanded MG [13].
Because the voltage and frequency variations of MG occur mostly in the islanded mode rather than the grid-connected mode, an effective control scheme should be able to sustain the reliability and quality of power supply to the load throughout. The main objective is to preserve, within the acceptable limit, the voltage and frequency of the MG in the islanded mode. There are two power control strategies in the DGs: the voltage–frequency control strategy in the islanded mode, or the active–reactive power control strategy in the grid-connected mode. Several control schemes using different algorithms have been proposed to regulate the frequency and voltage of the MG [14]. But the frequency and voltage of the MG in islanded vary and need autonomous control [5]. In [15], the control loop of power was achieved by the control of the first loop. In [16], a control loop of voltage was used for controlling the main parameters of the MG islanded mode. The reference voltage and reference frequency were received from the voltage controller to the current control loop by reducing the voltage variation using proportional integral (PI) controllers. However, a major drawback of PI controllers is their partial execution because they depend on the precise tuning of their gain coefficients ( K p and K i ), which are either established as static during the procedure or calculated to obtain dynamic values. When the static PI gains controller is employed for a voltage control loop, the adaptive or “trial and error” technique [9,17,18] and the Ziegler–Nichols technique [19,20,21] can be used to determine the gain parameters. However, the use of these methods adds to the total time spent in control activities, which might result in considerable delays in unstable operating areas. Hence, the suitable tuning of PI gains is extremely important to improve system efficiency. Nowadays, artificial intelligence (AI) has been adapted into an advanced method to improve the changeable response of MG systems [22,23]. AI-based controllers employed on MG systems confirm better combination and separation of DGs in present electrical grid systems, improve the voltage and frequency of transient response throughout changing the loads, enhance end-user electrical energy control, and ensure transient stability of the MG system. Furthermore, intelligent research methods obtaining optimal solutions yield better problem-solving results than traditional mathematical techniques [24]. Various AI-based techniques have been developed to control the voltage and frequency of MG systems. Further, these techniques did not utilize time-intensive and insufficient conventional PI tuning techniques; for example, fuzzy logic (FL) [25], genetic algorithms (GAs), [24,26], particle swarm optimization (PSO) [13,24], and gravitational search algorithms (GSAs) [14,27,28].
However, AI-based algorithms such as GA, PSO, and FL have a few disadvantages. For instance, GA solves the local convergence rather than solving the global, which requires the translation of groups of dynamic data in the modern MG controls into conventional optimization techniques [15]. PSO also results in a small amount of convergence in the reiterative procedure, limited by a local minimum in a large space [29] and the ambiguity in the choice of its parameters [30]. Although it works relatively well during the initial iterations, optimal results cannot be obtained within limited reference functions [31,32]. Great improvement in heuristic algorithms has inspired researchers to apply them in different fields of power system optimization. Grey wolf optimization (GWO) is the latest successful meta-heuristic algorithm that emulates the gray wolf societal pecking order demeanor. A pack of gray wolves, of an average pack size of five to twelve, are categorized as top predators, who fully trust the leadership chain and hunting demeanors [33]. Enhanced gray wolf optimization (EGWO) uses parameter α, a random number having a value within 0–1, and an alpha search agent. However, the alpha is not suitable for the higher order of the gray wolves’ performance and will lead to inactivity in certain local solutions [34]. Modified GWO (mGWO) is a balanced exchange of the exploration and exploitation in original GWO algorithm. However, its suitability for power systems is questionable [35]. Augmented gray wolf optimization (AGWO) is an improved GWO algorithm with regard to exploration and exploitation. To avoid stagnation, exploration is enhanced by making nonlinear reducing parameters from 2–1. The exploitation is expanded by updating search agent rankings with the average positions of the alpha (first best ranking) and the betas (second best ranking) [36]. However, this algorithm is very slow and can be implemented only on the grid-connected mode.
This study proposes a novel modified GWO algorithm called square root gray wolf optimization (SRGWO), which shows improved performance without compromising its interpretability and robustness. The SRGWO algorithm is an efficient meta-heuristic algorithm that emulates the gray wolf societal hierarchy demeanor. Firstly, the proposed algorithm was verified with twenty-three benchmark functions and achieved better results than other algorithms. The proposed algorithm solves the problem of determining optimal parameters of PI controllers to control the voltage and frequency of the MG in an islanded mode under the conditions of inserting the DG and changing the load. To confirm the efficiency of this method, its performance for voltage–frequency regulation was compared with the performance of the regulators of GWO, AGWO, and EGWO under similar working conditions.
Further, the combination of SRGWO and the PI controller was used to design the islanded MG system using the voltage and frequency regulate technique. To the best of our knowledge, this is the first time the tuning of the PI controller with SRGWO has been attempted. To achieve the basic advantage of both controllers, SRGWO was used to tune the control parameters of the PI controller in this work. Herein, as a replacement for gain arrangement, the gains of the controller were tuned according to the operating situations. The effective strategy of using a PI controller for advance power systems meets the following stipulations:
  • Efficacious against load disturbances
  • Resilient against RES uncertainties
  • Least sensitive to MG uncertainties
  • Adjustable and flexible in tuning the parameters according to system operating situations.
To ensure that the proposed system meets these specifications, the performance of the proposed controller for the MG system under various operating scenarios was analyzed. Furthermore, the accomplishment of the proposed controller was compared to the numerous powerful methods in the literature.
The main contributions of this paper are as follows:
  • GWO was modified and analyzed with respect to the standard benchmark functions, comparing with the main GWO algorithm and additional modified GWO, PSO, and GSA algorithms.
  • The parameters of PI controller were optimized using the proposed SRGWO algorithm.
  • The PI controller parameters tuned with SRGWO were implemented for the voltage and frequency control of an islanded MG system, and its performance was compared with original GWO, AGWO, and EGWO.
  • The robustness of the proposed controller against RES uncertainties and MG uncertainties with diverse operating scenarios in a single framework was tested.
The paper is ordered as follows. The original GWO is described in Section 2. The novel GWO algorithm and tested benchmark functions are described in Section 3. The MG and mathematical modeling of the three-phase islanded technique, along with its control architecture, are explained in Section 4. In Section 5, the problem formulation is described. In Section 6, the results and discussion are presented. Finally, conclusions are presented in Section 7.

2. Grey Wolf Optimization Algorithm

A modern meta-heuristic algorithm is known as the GWO algorithm, and mimics behavior of the gray wolves, which live in packs with an average of five to twelve members. In the gray wolf pack, a rigorous pecking order is exercised, wherein the pack has a captain named the alpha (α), accompanied by inferior wolves named betas (β) that help the alpha (α) in decisions, along with δ and ω, as illustrated in Figure 1 [33,37].
The method of chasing a quarry using grey wolves is conducted in four parts: probing for the quarry, encompassing the quarry, then chasing and attacking it. The exact model of encompassing quarry is articulated as follows:
D = C . X p i X i
X t + 1 = X p i A . D
where the position vector of the gray wolf is denoted by X i , the position vector of the quarry is denoted by X p i and t represents the current iteration. The A coefficient vector and the C coefficient vector are calculated as follows:
α = 2 2 t M a x . i t e r
A = 2 a . r 1 a
C = 2 . r 2
where, r 1 and r 2 are uniformly and randomly distributed vectors ranging from 0–1. The convergence factor α represents a value that gradually reduces from 2-0 through iteration (t), and iterates until it reaches maximum iteration (Max: iter). The probing of the quarry position could be attained using the discrepancy of exploration agents, which could be attained while A > 1 . The exploitation of the quarry could be obtained from the converging exploration agents that is studied when A < 1 . The hunting is controlled through agent α, and with complete assistance from agents β and δ, as follows:
D α = C 1 . X α i X i ,   D β = C 2 . X β i X i ,   D δ = C 1 . X δ i X i
X 1 = X α i A 1 . D α ,   X 2 = X β i A 2 . D β   ,   X 3 = X δ i A 1 . D δ
X t + 1 = X 1 + X 2 + X 3 3
where, X α i represents the position vector of the α wolf, X β i represents the position vector of the β wolf, and X δ i is the position vector of the δ wolf. X t + 1 represents the updated position of the gray wolves.

3. Square Root Grey Wolf Optimization Algorithm

The massive power system applications, such as islanded-mode PV solar plants, are nonlinear models, and it is therefore hard to catch the transfer function for optimum performance. Thus, the online optimization of electrical power systems is the best other solution in place of the transfer function. Thus, similar to many proposed algorithms such as PSO, the GWO algorithm can be enhanced and adapted for better performance in exploration and exploitation in various technical field applications. Moreover, concerning the optimization methods based on population, the most appropriate way to converge towards the global minimum may have a two-phase division, fundamentally. During the initial optimization stages, the individuals can be stimulated to scatter through the entire search space.
During the later phase, the individuals should utilize information collected to converge on the global minimum. The current study proposes a novel modification in order to enhance the probing capability of the GWO algorithm, which is called square root gray wolf optimization (SRGWO). With the help of fine adjustment of the parameters a and A , the two phases can be balanced to discover the global minima with fast convergence. Though various adjustments of individual-based algorithms encourage local optima avoidance, in the proposed algorithm, the adaptive values of a and A generate the transition between exploration and exploitation, where half of the iterations are attached to exploration A > 1 while the rest are meant for exploitation A < 1 .
Normally, higher exploration of search space produces lower probabilities in order to improve the exploration rate in which exponential functions are employed in place of linear function for decreasing the value of a over the course of iterations. It is likely that over-exploration may produce excessive randomness and fail to submit ideal optimization results. Similarly, excessive exploitation has been found to produce insufficient randomness and fails to yield effective optimization results. Hence, for the sake of ideal optimization results, a balance between exploration and exploitation appears to be fundamental. The proposed algorithm uses the function of square root for the decay of a over the course of iterations. In SRGWO, all parameters must measure for exploration and exploitation in parameter A , which mostly relies on parameter a , as is the case in (4). In the proposed algorithm, the parameter varies nonlinearly and randomly from 2-1 as in (9). Hence, the possibilities of exploration state and exploitation state are balanced.
a = 2 2 l 1 2 M a x . i t e r 1 2
A = 2 a . r 1 a
C = 2 . r 2
Hunting and decision-making rely on the modernizing of alpha (α), beta (β) and delta (δ) in GWO algorithms as in 6-8. However, the hunting will depend only on the two top members α and β in the proposed SRGWO algorithm, as follows:
D α = C 1 . X α i X i ,   D β = C 2 . X β i X i
X 1 = X α i A 1 . D α ,   X 2 = X β i A 2 . D β
X t + 1 = X 1 + X 2 2

Benchmark Functions

The 23 standard benchmark functions were tested using the proposed SRGWO algorithm. In [33], all 23 benchmark functions were given in tabular form. The GWO, PSO, AGWO, EGWO, and GSA algorithms were compared with the proposed algorithm for all benchmark functions. In every simulation, the search agents and maximum iterations were 30 and 500, respectively, and the executions number is thirty times to calculate average and standard deviation of all algorithms, which are given in Table 1, Table 2 and Table 3. Simulation results are shown in Table 1, where the proposed SRGWO algorithm achieved the five best results of seven. Hence, the obtained results verified the exploitability of the proposed algorithm over other nominated algorithms. The obtained results presented in the other two tables illustrate that the proposed algorithm is enhanced in exploration mode compared with the five other algorithms. The convergence characteristics of the SRGWO algorithm was compared with other algorithms, as illustrated in Figure 2. Furthermore, the SRGWO algorithm achieved the best results for 12 out of 23 benchmark functions, while the PSO and GSA algorithms achieved the best results for 4 out of 23, and the GWO algorithm achieved the best results for 3 out of 23. Lastly, the AGWO and EGWO algorithms achieved the best result for 1 out of 23 functions, as shown in Table 1, Table 2 and Table 3. The high-dimensional nature of the benchmark functions were mostly verified, and the proposed algorithm obtained results that were better than the other algorithms, as shown in Table 1. Further, Table 1 and Table 2 shows unimodal and multimodal functions. The gray color boxes indicate the best results. Moreover, Table 3 shows the evolution of functions F14-F23 for fixed dimensions of multimodal functions.
A statistical test based on the non-parametric sign test [37] was used to evaluate the proposed SRGWO algorithm against GWO, PSO, AGWO, EGWO, and GSA. The non-parametric symbols “-“, “+”, and “≈” demonstrate whether the presentation of SRGWO is statistically inferior to, superior to, or similar to the second optimizer, respectively, in Table 4. Hence, as Table 4 shows, the results’ difference verified the superiority of the proposed algorithm compared with the others. The total non-parametric sign test result was 115. The number of results for “+” was 60/115, for “-“ was 46/115, and for “≈” was 9/115.

4. Microgrid Modelling

An MG is essentially a group of loads that are delivered from small sources of energy, e.g., wind turbines, microturbines, solar photovoltaics, and fuel cells, working as the only controlled system that is able to deliver heat and energy to the definite part [38]. In addition, for the grid-connected mode with MG running the main grid, the voltage and frequency of the system is regulated using a huge electrical system. In addition to keeping the load balanced, regulating frequency and voltage is very important for MG operation in islanded mode [39]. This is due to the fact that in MG systems with huge infiltrations of DGs, high voltage and frequency fluctuations can occur throughout the insertion of DGs or load changes. Furthermore, the control system of MG confirms, as a prerequisite, the absence of huge circulating reactive currents from small energy sources. The minor errors at fixed points of voltage and frequency due to circulating currents exceed the level of small energy sources [40]. High-switching frequency pulses and problems of power quality are issues owing to the application of power electronic converters [41]. Therefore, MG faces serious problems related to power quality, especially when assimilating a large number of DGs [42,43]. It is relevant to indicate the nonexistence of instability and ambiguity in the sample of optimal PI parameters. Further, these parameters are utilized to gain control amplifications due to huge deviations in power, voltage, and frequency level in the islanded mode. Hence, in this research, we discuss these issues as well as improve MG’s achievements in the islanded operating approach.
This section may be divided by subheadings. It should provide a concise and precise description of the experimental results, their interpretation, as well as the experimental conclusions that can be drawn.
The active and reactive power delivered by DGs are determined based on systematic values of voltage and current. The droop controller only generates the reference voltage and frequency for the voltage controller, which produces the reference current for the current controller [44]. Lastly, space vector pulse width modulation (SVPWM) creates controlled signals to deliver the power as either active or reactive to the load within nominal frequency. Further, SVPWM also control the supply voltage to the three-phase voltage source inverter (VSI). Figure 3 illustrates a block diagram of the MG islanding mode.
According to Figure 3, v d ,   v q are output voltages; i d ,   i q are output currents in the direct-quadrature (d-q) form; DC capacitance is denoted by C; R f is the resistance per-phase; C f is the capacitance per-phase; and L f is the inductance per-phase of the output filter. The three-phase MG voltage and current are represented by v a b c and i a b c , respectively; angular frequency is denoted by ω o and at the grid output voltage, it is denoted by V g ; the active power and reactive power are denoted by p and q, respectively; the nominal voltage and nominal frequency are denoted by v n and f n , respectively; reference voltage and frequency are denoted by v * and f * , respectively; i d * , i q * are the reference currents and v d * ,   v q * are the reference voltages in the d-q form; the equivalent voltage signals are denoted by v α and v β in the αβ form.
The power circuit dynamics of the MG system under study was mathematically modeled with the help of the Park’s transformation, which is determined by the equations of state space as follows [34]:
d d t i d i q = R f L f ω o ω o R f L f i d i q + 1 L f v v d v d v v q v q
d d t v d v q = 0 ω o ω o 0 v v d v v q + 1 C f i v d i v q i d i q
where, v a ,   v b ,   v c   a n d   i a ,   i b ,   i c represent the per-phase voltage and current, respectively. v v d ,   v v q represent the output voltage of the filter. i v d ,   i v q represent the output current of the filter.

4.1. Voltage and Frequency Control Model

In the islanded mode of an MG, the main grid is not connected to the MG throughout course of its operation. The controlled pulses produced by the control circuit are provided to the VSI. Then, a smooth sinusoidal waveform of voltage is created, which supply the produced energy from DG to load. The PI controllers have two gains: one is proportional gain (Kp) and other is integral gain (Ki). Both gains are tuned by the SRGWO algorithm to improve the dynamic response of the MG system. The block diagram of the strategy of control is shown in Figure 4.
In Figure 4, v m is measured voltage and f m is measured frequency; the voltage error and frequency error are denoted by e v and e f , respectively; the nominal voltage and nominal frequency are denoted by v n and f n , respectively. ITAE is the abbreviation of integral time absolute error, while LPF is the abbreviation of low pass filter.
Initially, the DGs have to generate the voltage and current signals measured in the main grid. Afterwards, these signals are changed to the reference d-q form through Park’s transformation using the equation as follows:
v d v q v o = 2 3 cos θ cos θ 2 π 3 cos θ + 2 π 3 sin θ sin θ 2 π 3 sin θ + 2 π 3 1 2 1 2 1 2 v a v b v c
i d i q i o = 2 3 cos θ cos θ 2 π 3 cos θ + 2 π 3 sin θ sin θ 2 π 3 sin θ + 2 π 3 1 2 1 2 1 2 i a i b i c
The generated active power and reactive power of DGs is already converted to d-q form. Hence, the consumed power in the form of d-q, is determined as follows [24]:
P = v d i d + v d i q
Q = v d i q v q i q
where the active power is denoted by P, and the reactive power is denoted by Q before LPF.
The LPF is utilized in this paper as given in Equations (21) and (22). This would help to obtain the basic elements of p (the active power), q (the reactive power), and decrease effect of current as well as the power regulator.
p = ω c S + ω c P
q = ω c S + ω c Q
where the cut-off frequency of the filter is denoted by ω c , and Laplace transform operator is denoted by S.

4.2. Voltage and Frequency Controller

The droop controller created the reference voltage and reference frequency for the voltage controller in this study. The purpose of the regulator was to obtain the required frequency and voltage values by eliminating the error due to load changes or DG insertion. Two PI controllers were used in this controller, whose four gains were tuned using an intelligent meta-heuristic method called the SRGWO algorithm. Mathematically, the dynamic of the PI controller can be shown as follows:
i d * = v * v n k p v + k i v s
i q * = f * f n k p f + k i f s
It produced a signal of mention current ( i d * and i q * ) for the current controller. The output mention currents ( i d * and i q * ) could be controlled with the help of reducing the signal of voltage error e v , according to control loop of voltage, as in (23) and (24). Therefore, both power flows were optimized by the DG converter by controlling the output mention currents of the voltage control loop.

4.3. Current Controller

The current controller used traditional PI controllers to monitor the output of PWM at mention points i d   * and i q * . In order to increase the stability of the current controller based on PI, the decoupling operation was accepted by means of current feed-forward reimbursement. It was attained through regarding inverter set currents ( i d   * ,   i q * ) in its place of output measured currents i d ,   i q [45]. In addition, according to the control composition illustrated in Figure 4, the output voltage signal equation of current loop is written as follows:
v d * = i d * i v d k p v + k i v s ω . L f . i v q + v d
v q * = i q * i v d k p f + k i f s + ω . L f . i v q + v q
Since PI tuning based on the SRGWO algorithm was used to reduce error in the voltage regulator, it was not necessary to optimize the parameters for the current regulator. Therefore, two fixed gains for the PI regulators were used to minimize the current error. Space pulse width modulation (SVPWM) is received from the output of the current regulator in the αβ form of the mention. It generates the controlled pulses that are used to disable the VSI so as to supply a power controller to the load with the best power quality. A flowchart of the proposed algorithm execution in the MG controller is illustrated in Figure 5.

5. Problem Formation

In this study, the PI gains controller was employed in the control loop of voltage using a newly introduced meta-heuristics algorithm named SRGWO, so as to resolve the given problems. The study accomplished the lowest value of FF with the help of the proposed algorithm. The most common mechanism for minimizing control purposes in research survey is ITAE. This is due to fact that ITAE enables smoother execution and better results than its competitors, e.g., integrated absolute error (IAE), integrated square error (ISE), and integrated time square error (ITSE) [39,40]. Therefore, ITAE is considered to have the best fitness function (FF) for optimizing voltage and frequency response.
Mathematically, ITAE is determined as:
ITAE = 0 t e dt
where time is denoted by t, the error is denoted by e(t), and the minimum is denoted by Min, which is the variation between the controlled variable and the mention value. The FF is considered to be an easy mathematic addition to the voltage and frequency integration functions of ITAE 1 and ITAE 2, and is calculated as follows:
FF = Min { 0 t × e v dt + 0 t × e f dt }
The low FF value found in this study guarantees that the best selection of PI gains was found. This further guarantees the best dynamic achievement of the tested islanded MG system. The values of ITAE for the two PI controllers were calculated and fed into the MATLAB workspace. Afterwards, the optimal values of PI parameters are obtained for the proposed algorithm, variants of GWO, PSO and GSA. Later, the optimal values of the PI parameters were then allocated to the controllers in the model (MATLAB/SIMULINK). Therefore, the proposed controller is optimally dynamic (receiving optimal values whenever a change in system’s parameter occurs) during the complete operational response of the investigated MG system.

6. Results and Discussions

The SRGWO algorithm was used in this paper to select the best values for the PI coefficient gain of the MG in an islanded mode system through minimizing specified objective function. The outcomes were also later compared with controllers based on GWO, AGWO, and EGWO for the same working situations. For comparison, the particle counts and 50 iterations were defined for each algorithm.

6.1. Frequency and Voltage Control at the time of DG Insertion and Load Change

Due to frequency dives and reduced voltage, to achieve the rated frequency and voltage of the investigated MG network during DG insertion and load changes, a controller based on the SRGWO algorithm must select the better gain value for PI controllers. This was obtained using four various intelligence meta-heuristic algorithms (SRGWO, GWO, AGWO, and EGWO) to minimize FF. The main objective was to minimize FF, and therefore, the minimum values were considered to be best value. The convergence behavior of the four investigated methods under the same working situations. is illustrated in Figure 6.
In Figure 6, the AGWO provides a much better optimum solution than GWO, but with less flexibility than GWO. Meanwhile, it has been established that controllers based on the SRGWO algorithm achieve faster and better optimal solutions than controllers based on the GWO, AGWO, and EGWO algorithms. Table 5 shows the optimized final value and iteration numbers where the minimum FF was achieved.
When the simulation was performed, this search process ended once the optimal value of objective function was obtained, or after the indicated number of iterations had been executed. In the proposed algorithm, the value of maximum iterations has been set to 50.
The optimized parameters achieved the final value, i.e., the two gains are Kpv and Kiv for the PI voltage controller, and Kpf and Kif for the PI frequency controller, for the controllers based on each algorithm in this study. These figures are presented in Table 6.
In addition, at the beginning of the simulation, an evaluation of the performance of the control system was implemented, when a load of 50 kW (20 kVAR) was connected with DG. The DG unit employed a voltage-frequency power control model dependent on the SRGWO algorithm to maintain voltage and prevent serious frequency variation due to the rapid insertion of the DG. After that, another 30 kW (20 kVAR) load was injected into system in 0.4 s.
Figure 7a,b shows, under the same working circumstances, the comparison of active power (kW) and reactive power (kVAR) variations among the four various regulators.
It may be noted that when another load of 30 kW, 20 kVAR was injected in 0.4 s into the system, the voltage reduced quickly. This has happened because of more voltage drop across the filter components, and more load resistance. The controller was running to instantly recover the rated voltage and frequency of the system, as shown in Figure 8a,b.
It is quite tough, but possible, to achieve online optimization in real-time, in practical applications and under various working situations, due to the process of long search, random load switching, and simulation time. Consequently, the parameters optimized for operating conditions were selected using SRGWO, GWO, AGWO, and EGWO, i.e., load changes and DG insertion during the simulation worked. The main advantages of this technique include the smooth adjustment of optimized parameters. Furthermore, the achieved parameters were good in all working situations. As the MATLAB editor ran optimization algorithm code, the application algorithm began to search for optimal parameters of PI by reducing the cost function.

6.2. Steady-State and Dynamic Response

One of the key parameters that must be eliminated during the islanded mode of operation is the sinusoidal nature of the output voltage and current of the inverter. The optimal parameters of the PI controller provide a smooth, and sinusoidal waveform, which minimizes the total harmonic distortion (THD). The controller based on the SRGWO algorithm given a very small percentage value of THD by a fast Fourier transform analysis of the waveform of output current. which demonstrates its performance in controlling the frequency and voltage of the investigated MG system, along with the high quality of its power. In Table 6, the algorithms compare the proposed SRGWO-based controllers with GWO-, AGWO-, and EGWO-based controllers. It shows the current waveform THD level of the output of 15 cycles on 50 Hz of fundamental frequency. According to IEEE standard 1547–2003 [46], the percentage of THD allowed in an electrical supplier must be always less than 5%. The THD in percentage achieved by controllers based on the proposed algorithm, GWO, AGWO, and EGWO, due to the insert of DG and load changes, are shown in Table 7.

7. Conclusions

A novel optimal voltage and frequency control for DG units in a microgrid is proposed as a simple and an efficient algorithm. Twenty-three benchmark functions have been tested using the SRGWO method. The results have proved that the implementation of the proposed algorithm showed better performance in real power systems as compared to other GWO, PSO, AGWO, EGWO, and GSA algorithms. To enhance the capability of the proposed algorithm, the PI controller parameters were optimized by minimizing the error, which increased its efficacy. Additionally, the proposed algorithm-based control architecture provides a superior and optimal response compared to traditional GWO-, adaptive GWO- and enhanced GWO-based controllers, which makes it applicable to modern power systems, with high-speed response to disturbances. It also achieves a better minimum final optimized value of the FF as compared to GWO, AGWO, and EGWO, which ensures a high-quality solution for the stated optimization problem. A power quality analysis established that the SRGWO-based controller provides the least THD (%) as compared to GWO-, AGWO-, and EGWO-based controllers, and thus meets the IEEE standard 1547–2003.
The voltage and frequency magnitudes obtained by SRGWO offer minimum overshoot and settling time for the DG insertion condition, as well as the load variation condition. This leads to high-speed recovery of stability in a real-time power system. Furthermore, the proposed method has achieved an optimal fitness function and better power quality, which will ensure the economic and secure operation of power systems. In the future, real-time voltage and frequency control using machine learning will be performed using systems with a high penetration of renewable energy. The implementation of the proposed algorithm to a more complex power system network, such as hybrid renewable energy resources, as well as a real-time power networks, such as experimental prototypes, is suggested for future work.

Author Contributions

Conceptualization, A.A.A., A.N., E.M. and F.U.; investigation F.U., A.N., A.A.S. and R.u.H.; formal analysis, A.A.A., F.U., R.u.H. and E.M.; writing—original draft preparation, A.A.A.; visualization, A.N. and A.A.S.; writing—review and editing, X.H.; supervision, X.H. All authors have read and agreed to the published version of the manuscript.

Funding

This research received no external funding.

Data Availability Statement

Not applicable.

Conflicts of Interest

The authors declare no conflict of interest.

List of Symbols and Abbreviations:

MGMicrogrid
PIProportional Integral
GWOGray Wolf Optimization
SRGWOSquare Root Gray Wolf Optimization
EGWOEnhanced Gray Wolf Optimization
AGWOAugmented Gray Wolf Optimization
mGWOModified Gray Wolf Optimization
RESRenewable Energy Source
PVPhotovoltaic
VSIVoltage Source Inverter
Z-NZiegler-Nichols
AIArtificial Intelligence
FLFuzzy Logic
GAGenetic Algorithm
DGDistributed Generator
PSOParticle Swarm Optimization
SVPWMSpace Vector Pulse Width Modulation
PWMPulse Width Modulation
ITAEIntegral Time Absolute Error
IAEIntegrated Absolute Error
ISEIntegrated Square Error
ITSEIntegrated Time Square Error
FFFitness Function
LPFLow Pass Filter
PLLPhase Locked Loop
THDTotal Harmonic Distortion

Symbols and Parameters

v_d and v_qoutput voltages in d-q form
i_d and i_qoutput currents in d-q form
CDC capacitance
R_fFilter resistance per-phase
C_fFilter capacitance per-phase
L_fFilter inductance per-phase
v_abc3-phase MG voltage
i_abc3-phase MG current
ω_oAngular frequency
V_gGrid output voltage
v_nNominal voltage
f_nNominal frequency
v^*Reference voltage
f^*Reference frequency
i_d^* and i_q^*Reference current in d-q form
v_d^* and v_q^*Reference voltage in d-q form
v_α and v_βVoltage in the αβ form
v_a,v_b,v_cPer-phase voltage
i_a,i_b,i_(c)Per-phase current
KpProportional gain
KiIntegral gain
v_mMeasured voltage
f_mMeasured frequency
e_(v)Error voltage
e_(f)Error frequency
(X_i)Position vector of gray wolf
(X_pi)Position vector of quarry
A and CCoefficient Vectors
r_1 and r_2Uniform randomly distributed vectors
SOperator of Laplace transform
Kpv and KivGain parameters of the PI voltage controller

References

  1. Kundur, P.; Paserba, J.; Ajjarapu, V.; Andersson, G.; Bose, A.; Canizares, C.; Hatziargyriou, N.; Hill, D.; Stankovic, A.; Taylor, C.; et al. Definition and classification of power system stability IEEE/CIGRE joint task force on stability terms and definitions. IEEE Trans. Power Syst. 2004, 19, 1387–1401. [Google Scholar]
  2. Nawaz, A.; Wang, H. Risk-aware distributed optimal power flow in coordinated transmission and distribution system. J. Mod. Power Syst. Clean Energy 2021, 9, 502–515. [Google Scholar] [CrossRef]
  3. Logenthiran, T.; Srinivasan, D.; Shun, T. Demand Side Management in Smart Grid Using Heuristic Optimization. IEEE Trans. Smart Grid 2012, 3, 1244–1252. [Google Scholar] [CrossRef]
  4. Dashtdar, M.; Dashtdar, M. Power control in an islanded microgrid using virtual impedance. Sci. Bull. Electr. Eng. Fac. 2020, 20, 44–49. [Google Scholar] [CrossRef]
  5. Chen, C.; Duan, S.; Cai, T.; Liu, B.; Hu, G. Smart energy management system for optimal microgrid economic operation. IET Renew. Power Gener. 2011, 5, 258–267. [Google Scholar] [CrossRef]
  6. Jiang, Q.; Xue, M.; Geng, G. Energy management of microgrid in grid-connected and stand-alone modes. IEEE Trans. Power Syst. 2013, 28, 3380–3389. [Google Scholar] [CrossRef]
  7. Nawaz, A.; Wang, H.; Wu, Q.; Kumar Ochani, M. TSO and DSO with large-scale distributed energy resources: A security constrained unit commitment coordinated solution. Int. Trans. Electr. Energy Syst. 2020, 30, e12233. [Google Scholar] [CrossRef]
  8. Bidram, A.; Davoudi, A. Hierarchical structure of microgrids control system. IEEE Trans. Smart Grid 2012, 3, 1963–1976. [Google Scholar] [CrossRef]
  9. Sao, C.K.; Lehn, P.W. Control and power management of converter fed microgrids. IEEE Trans. Power Syst. 2008, 23, 1088–1098. [Google Scholar] [CrossRef]
  10. Basak, P.; Chowdhury, S.; Nee Dey, S.H.; Chowdhury, S. A literature review on integration of distributed energy resources in the perspective of control, protection and stability of microgrid. Renew. Sustain. Energy Rev. 2012, 16, 5545–5556. [Google Scholar] [CrossRef]
  11. Annamraju, A.; Nandiraju, S. Frequency Control in an Autonomous Two-Area Hybrid Microgrid using Grasshopper Optimization Based Robust PID Controller. In Proceedings of the 2018 8th IEEE India International Conference on Power Electronics (IICPE), Jaipur, India, 13–15 December 2018; IEEE: New York, NY, USA, 2018; pp. 1–6. [Google Scholar]
  12. Rouzbahani, H.M.; Karimipour, H.; Lei, L. A review on virtual power plant for energy management. Sustain. Energy Technol. Assess. 2021, 47, 101370. [Google Scholar] [CrossRef]
  13. Annamraju, A.; Nandiraju, S. Robust frequency control in an autonomous microgrid: A two-stage adaptive fuzzy approach. Electr. Power Compon. Syst. 2018, 46, 83–94. [Google Scholar] [CrossRef]
  14. Al-Saedi, W.; Lachowicz, S.W.; Habibi, D.; Bass, O. Voltage and frequency regulation based DG unit in an autonomous microgrid operation using Particle Swarm Optimization. Int. J. Electr. Power Energy Syst. 2013, 53, 742–751. [Google Scholar] [CrossRef]
  15. Al-Saedi, W.; Lachowicz, S.W.; Habibi, D.; Bass, O. Power quality enhancement in autonomous microgrid operation using particle swarm optimization. Int. J. Electr. Power Energy Syst. 2012, 42, 139–149. [Google Scholar] [CrossRef]
  16. Khooban, M.H.; Niknam, T. A new intelligent online fuzzy tuning approach for multi-area load frequency control: Self Adaptive Modified Bat Algorithm. Int. J. Electr. Power Energy Syst. 2015, 71, 254–261. [Google Scholar] [CrossRef]
  17. Pogaku, N.; Prodanovic, M.; Green, T.C. Modeling, analysis and testing of autonomous operation of an inverter-based microgrid. IEEE Trans. Power Electron. 2007, 22, 613–625. [Google Scholar] [CrossRef] [Green Version]
  18. Katiraei, F.; Iravani, M.; Lehn, P. Small-signal dynamic model of a micro-grid including conventional and electronically interfaced distributed resources. IET Gener. Transm. Distrib. 2007, 1, 369–378. [Google Scholar] [CrossRef] [Green Version]
  19. Han, Y.; Young, P.M.; Jain, A.; Zimmerle, D. Robust control for microgrid frequency deviation reduction with attached storage system. IEEE Trans. Smart Grid 2014, 6, 557–565. [Google Scholar] [CrossRef]
  20. Mallesham, G.; Mishra, S.; Jha, A. Ziegler-Nichols Based Controller Parameters Tuning for Load Frequency Control in a Microgrid. In Proceedings of the International Conference on Energy, Automation and Signal, 2011, Bhubaneswar, India, 28–30 December 2011; IEEE: New York, NY, USA, 2011; pp. 1–8. [Google Scholar]
  21. Mallesham, G.; Mishra, S.; Jha, A. In Maiden Application of Ziegler-Nichols Method to AGC of distributed Generation System. In Proceedings of the IEEE/PES Power Systems Conference and Exposition, 2009, Seattle, WA, USA, 15–18 March 2009; IEEE: New York, NY, USA, 2009; pp. 1–7. [Google Scholar]
  22. Rouzbahani, H.M.; Karimipour, H.; Lei, L. Optimizing scheduling policy in smart grids using probabilistic Delayed Double Deep Q-Learning (P3DQL) algorithm. Sustain. Energy Technol. Assess. 2022, 53, 102712. [Google Scholar] [CrossRef]
  23. Rouzbahani, H.M.; Faraji, Z.; Amiri-Zarandi, M.; Karimipour, H. AI-Enabled Security Monitoring in Smart Cyber Physical Grids. In Security of Cyber-Physical Systems: Vulnerability and Impact; Karimipour, H., Srikantha, P., Farag, H., Wei-Kocsis, J., Eds.; Springer International Publishing: Cham, Switzerland, 2020; pp. 145–167. [Google Scholar]
  24. Sedighizadeh, M.; Esmaili, M.; Eisapour-Moarref, A. Voltage and frequency regulation in autonomous microgrids using Hybrid Big Bang-Big Crunch algorithm. Appl. Soft Comput. 2017, 52, 176–189. [Google Scholar] [CrossRef]
  25. Rohilla, V.; Samy, C. Voltage and frequency regulation based autonomous microgrid operation using fuzzy logic control scheme. Adv. Res. Electr. Electron. Eng 2016, 3, 201–207. [Google Scholar]
  26. Hassan, M.; Abido, M. Optimal design of microgrids in autonomous and grid-connected modes using particle swarm optimization. IEEE Trans. Power Electron. 2010, 26, 755–769. [Google Scholar] [CrossRef]
  27. Moghimi, S.M.; Shariatmadar, S.M.; Dashti, R. Stability analysis of the micro-grid operation in micro-grid mode based on particle swarm optimization (PSO) including model information. Phys. Sci. Int. J. 2016, 10, PSIJ.24425. [Google Scholar] [CrossRef]
  28. Rashedi, E.; Nezamabadi-Pour, H.; Saryazdi, S. GSA: A gravitational search algorithm. Inf. Sci. 2009, 179, 2232–2248. [Google Scholar] [CrossRef]
  29. Li, M.; Du, W.; Nian, F. An adaptive particle swarm optimization algorithm based on directed weighted complex network. Math. Probl. Eng. 2014, 2014, 434972. [Google Scholar] [CrossRef] [Green Version]
  30. Carlisle, A.; Dozier, G. An off-the-shelf PSO. In Proceedings of the Workshop on Particle Swarm Optimization; Purdue School of Engineering and Technology: Indianapolis, IN, USA, 2001. [Google Scholar]
  31. Angeline, P.J. Evolutionary Optimization Versus Particle Swarm Optimization: Philosophy and Performance Differences. In Proceedings of the International Conference on Evolutionary Programming, San Diego, CA, USA, 25–27 March 1998; Springer: Berlin/Heidelberg, Germany, 1998; pp. 601–610. [Google Scholar]
  32. Karban, P.; Pánek, D.; Orosz, T.; Petrášová, I.; Doležel, I. FEM based robust design optimization with Agros and Ārtap. Comput. Math. Appl. 2021, 81, 618–633. [Google Scholar] [CrossRef]
  33. Mirjalili, S.; Mirjalili, S.M.; Lewis, A. Grey wolf optimizer. Adv. Eng. Softw. 2014, 69, 46–61. [Google Scholar] [CrossRef] [Green Version]
  34. Joshi, H.; Arora, S. Enhanced grey wolf optimization algorithm for global optimization. Fundam. Inform. 2017, 153, 235–264. [Google Scholar] [CrossRef]
  35. Mittal, N.; Singh, U.; Sohi, B.S. Modified grey wolf optimizer for global engineering optimization. Appl. Comput. Intell. Soft Comput. 2016, 2016, 7950348. [Google Scholar] [CrossRef] [Green Version]
  36. Qais, M.H.; Hasanien, H.M.; Alghuwainem, S. Augmented grey wolf optimizer for grid-connected PMSG-based wind energy conversion systems. Appl. Soft Comput. 2018, 69, 504–515. [Google Scholar] [CrossRef]
  37. Fathy, A.; Abdelaziz, A.Y. Grey wolf optimizer for optimal sizing and siting of energy storage system in electric distribution network. Electr. Power Compon. Syst. 2017, 45, 601–614. [Google Scholar] [CrossRef]
  38. AL-Nussairi, M.K.; Bayindir, R.; Padmanaban, S.; Mihet-Popa, L.; Siano, P. Constant power loads (cpl) with microgrids: Problem definition, stability analysis and compensation techniques. Energies 2017, 10, 1656. [Google Scholar] [CrossRef]
  39. Olivares, D.E.; Mehrizi-Sani, A.; Etemadi, A.H.; Cañizares, C.A.; Iravani, R.; Kazerani, M.; Hajimiragha, A.H.; Gomis-Bellmunt, O.; Saeedifard, M.; Palma-Behnke, R. Trends in microgrid control. IEEE Trans. Smart Grid 2014, 5, 1905–1919. [Google Scholar] [CrossRef]
  40. Piagi, P.; Lasseter, R.H. Autonomous Control of Microgrids. In Proceedings of the IEEE Power Engineering Society General Meeting, Piscataway, NJ, USA, 18–22 June 2006; IEEE: New York, NY, USA, 2006; p. 8. [Google Scholar]
  41. Zeng, Z.; Yang, H.; Zhao, R.; Cheng, C. Topologies and control strategies of multi-functional grid-connected inverters for power quality enhancement: A comprehensive review. Renew. Sustain. Energy Rev. 2013, 24, 223–270. [Google Scholar] [CrossRef]
  42. Görbe, P.; Magyar, A.; Hangos, K.M. Reduction of power losses with smart grids fueled with renewable sources and applying EV batteries. J. Clean. Prod. 2012, 34, 125–137. [Google Scholar] [CrossRef]
  43. Jiayi, H.; Chuanwen, J.; Rong, X. A review on distributed energy resources and MicroGrid. Renew. Sustain. Energy Rev. 2008, 12, 2472–2483. [Google Scholar] [CrossRef]
  44. Jumani, T.A.; Mustafa, M.W.; Md Rasid, M.; Mirjat, N.H.; Leghari, Z.H.; Saeed, M.S. Optimal Voltage and Frequency Control of an Islanded Microgrid Using Grasshopper Optimization Algorithm. Energies 2018, 11, 3191. [Google Scholar] [CrossRef] [Green Version]
  45. Rocabert, J.; Luna, A.; Blaabjerg, F.; Rodriguez, P. Control of power converters in AC microgrids. IEEE Trans. Power Electron. 2012, 27, 4734–4749. [Google Scholar] [CrossRef]
  46. Majidi, M.; Nazeri, A.A.; Ibanez, F.M.; Pozo, D. A Guideline for Modeling Voltage and Frequency Controls in ac Microgrids: The Influence of Line Impedance on Transient Time. In Proceedings of the 2019 IEEE Milan PowerTech, Milano, Italy, 23–27 June; IEEE: New York, NY, USA, 2019; pp. 1–6. [Google Scholar]
Figure 1. Grey wolf pecking order.
Figure 1. Grey wolf pecking order.
Electronics 11 03644 g001
Figure 2. Convergence curves of the GWO, PSO, AGWO, EGWO, GSA, and SRGWO algorithms for twenty-three benchmark functions.
Figure 2. Convergence curves of the GWO, PSO, AGWO, EGWO, GSA, and SRGWO algorithms for twenty-three benchmark functions.
Electronics 11 03644 g002aElectronics 11 03644 g002bElectronics 11 03644 g002cElectronics 11 03644 g002d
Figure 3. Block diagram for islanded MG.
Figure 3. Block diagram for islanded MG.
Electronics 11 03644 g003
Figure 4. Block diagram of control strategy.
Figure 4. Block diagram of control strategy.
Electronics 11 03644 g004
Figure 5. Flowchart of the proposed algorithm.
Figure 5. Flowchart of the proposed algorithm.
Electronics 11 03644 g005
Figure 6. The convergence curves.
Figure 6. The convergence curves.
Electronics 11 03644 g006
Figure 7. (a,b) The comparison of SRGWO with AGWO-, EGWO-, and GWO-based controllers (a) Active Power (b) Reactive Power.
Figure 7. (a,b) The comparison of SRGWO with AGWO-, EGWO-, and GWO-based controllers (a) Active Power (b) Reactive Power.
Electronics 11 03644 g007aElectronics 11 03644 g007b
Figure 8. (a,b) The comparison of SRGWO with EGWO, AGWO and GWO (a) Frequency regulation (b)Voltage regulation.
Figure 8. (a,b) The comparison of SRGWO with EGWO, AGWO and GWO (a) Frequency regulation (b)Voltage regulation.
Electronics 11 03644 g008
Table 1. Simulation results of uni-modal functions.
Table 1. Simulation results of uni-modal functions.
FGWOPSOAGWOEGWOGSASRGWO
AveStdAveStdAveStdAveStdAveStdAveStd
F11.7 × 10−243.98 × 10−241.56 × 10−41.45 × 10−41.53 × 10−432.86 × 10−431.57 × 10−301.58 × 10−291.95 × 10−168.42 × 10−171.27 × 10−1970
F22.25 × 10−154.42158 × 10−177.89 × 10−21.49 × 10−14.8 × 10−275.51 × 10−278.05 × 10−207.28 × 10−202.15 × 10−69.24 × 10−061.27 × 10−1195.04 × 10−119
F31.19 × 10−52.85 × 10−57.7 × 1013.05 × 1019.91 × 10−84.33 × 10−71.14 × 10−43.154 × 10−49.49 × 1024.05 × 1022.15 × 10−1236.77 × 10−123
F47.77 × 10−71.29 × 10−61.132.41 × 10−11.11 × 10−112.21 × −102.33 × 10−19.12 × 10−17.42.68783.42 × 10−741.53 × 10−73
F52.74 × 1015.62 × 10−17.88 × 1017.75 × 1012.68 × 1014.55 × 1012.80 × 1018.82 × 10−15.63 × 1013.93 × 1012.84 × 1015.78 × 10−1
F61.58743.38 × 10−11.5 × 10−41.59 × 10−41.47594.24 × 10−13.64353.86 × 10−18.651.03 × 1015.63430.1677 × 10−1
F71.66 × 10−31.20 × 10−32.86 × 10−13.06 × 10−11.60 × 10−31.24 × 10−37.80 × 10−36.19 × 10−38.61 × 10−23.47 × 10−21.04 × 10−49.11 × 10−5
Table 2. Simulation results of multi-modal functions.
Table 2. Simulation results of multi-modal functions.
FGWOPSOAGWOEGWOGSASRGWO
AveStdAveStdAveStdAveStdAveStdAveStd
F8−5.50 × 1039.71 × 102−4.84 × 1031.14 × 103−3.78 × 1033.30 × 102−6.518 × 1036.19 × 102−2.520 × 1033.95 × 102−2.568 × 1033.07 × 102
F91.32.165.53 × 1011.48 × 101001.68 × 1025.118 × 1013.14 × 1016.6300
F102.26 × 10−133.03 × 10−132.90 × 10−15.40 × 10−18.88 × 10−152.27 × 10−154.50 × 10−11.114.66 × 10−21.028.88 × 10−162.02 × 10−31
F115.05 × 10−39.52 × 10−36.55 × 10−37.46 × 10−34.89 × 10−42.19 × 10−31.48 × 10−22.12 × 10−22.53 × 1015.9300
F124.94 × 10−31.59 × 10−21.10 × 10−23.18 × 10−21.70 × 10−13.7 × 10−11.992.41.971.217.00 × 10−11.10 × 10−1
F131.311.90 × 10−14.46 × 10−35.52 × 10−31.132.30 × 10−12.54.30 × 10−17.366.562.67.00 × 10−2
Table 3. Simulation results of fixed-dimension multi-modal functions.
Table 3. Simulation results of fixed-dimension multi-modal functions.
FGWOPSOAGWOEGWOGSASRGWO
AveStdAveStdAveStdAveStdAveStdAveStd
F1411.162.0711.468.4457.154.1414.143.446.392.792.984.8 × 10−16
F151.2 × 10−21.04 × 10−21.7 × 10−31.32 × 10−39.18 × 10−31.06 × 10−23.59 × 10−37.67 × 10−38.26 × 10−37.56 × 10−36.81 × 10−41.16 × 10−4
F16−1.034.56 × 10−16−1.034.56 × 10−16−1.034.56 × 10−16−1.034.56 × 10−16−1.034.56 × 10−16−1.034.56 × 10−16
F170.39784.10 × 10−60.39782.98 × 10−50.397892.68 × 10−50.398276.13 × 10−43.98 × 10−103.99 × 10−19.73 × 10−4
F183.00013.08 × 10−5303.000052.24 × 10−57.0518.11213030
F19−3.86241.28 × 10−3−3.86284.47 × 10−5−3.860322.16 × 10−3−3.86276.16 × 10−5−3.86281.37 × 10−15−3.854043.33 × 10−3
F20−3.28417.99 × 10−2−3.28025.84 × 10−2−3.11520.221416−3.27078.05 × 10−2−3.3221.37 × 10−15−2.79210.3957
F21−9.641.56−6.633.39−6.251.91−6.773.56−7.263.65−3.811.52
F22−8.984.87−8.513.02−7.421.77−7.263.63−10.171.06−4.071.38
F23−9.721.98−5.766.49−7.042.1−8.13.83−10.548.47 × 10−15−4.420.85
Table 4. Non-parametric sign test results.
Table 4. Non-parametric sign test results.
FSRGWO vs. GWOSRGWO vs. PSOSRGWO vs. AGWOSRGWO vs. EGWOSRGWO vs. GSA
F1+++++
F2+++++
F3+++++
F4+++++
F5-+---
F6-----
F7+++++
F8-+---
F9+-+
F10+++++
F11+-+++
F12----+
F13-----
F14+++++
F15+++++
F16++
F17---
F18++++
F19+----
F20+----
F21+----
F22+----
F23+----
No. of +1610111112
No. of -−6−11−10−9−10
No of ≈12222
Table 5. The convergence values of SRGWO, GWO, AGWO, and EGWO.
Table 5. The convergence values of SRGWO, GWO, AGWO, and EGWO.
Controller TypeFF Minimum Value Obtained Iteration Which Is Minimum Value
SRGWO0.272428
GWO0.577840
AGWO0.588544
EGWO10.626541
Table 6. The parameters of optimized PI controller.
Table 6. The parameters of optimized PI controller.
OptimizationKpvKivKpfKif
SRGWO8.93 × 10−21.56 × 101−8.70 × 10−3−8.97 × 10−4
GWO−1.43 × 10−1−1.0 × 101−1.913.44 × 101
AGWO−1.31 × 10−1−1.0 × 10−1−1.183.70 × 101
EGWO3.15 × 1012.20 × 1014.14 × 1016.19 × 101
Table 7. The output current THD for GWO, AGWO, EGWO and SRGWO algorithm-based controllers.
Table 7. The output current THD for GWO, AGWO, EGWO and SRGWO algorithm-based controllers.
Algorithm-Based
Controller Type
Percentage of THD DG InsertionPercentage of THD Load Changes
GWO1.290.13
AGWO1.30.16
EGWO13.471.39
SRGWO0.350.07
Publisher’s Note: MDPI stays neutral with regard to jurisdictional claims in published maps and institutional affiliations.

Share and Cite

MDPI and ACS Style

Almani, A.A.; Han, X.; Umer, F.; ul Hassan, R.; Nawaz, A.; Shah, A.A.; Mustafa, E. Optimal Solution for Frequency and Voltage Control of an Islanded Microgrid Using Square Root Gray Wolf Optimization. Electronics 2022, 11, 3644. https://doi.org/10.3390/electronics11223644

AMA Style

Almani AA, Han X, Umer F, ul Hassan R, Nawaz A, Shah AA, Mustafa E. Optimal Solution for Frequency and Voltage Control of an Islanded Microgrid Using Square Root Gray Wolf Optimization. Electronics. 2022; 11(22):3644. https://doi.org/10.3390/electronics11223644

Chicago/Turabian Style

Almani, Aftab Ahmed, XueShan Han, Farhana Umer, Rizwan ul Hassan, Aamir Nawaz, Aamer Abbas Shah, and Ehtasham Mustafa. 2022. "Optimal Solution for Frequency and Voltage Control of an Islanded Microgrid Using Square Root Gray Wolf Optimization" Electronics 11, no. 22: 3644. https://doi.org/10.3390/electronics11223644

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