# Enhancing the Functionality of a Grid-Connected Photovoltaic System in a Distant Egyptian Region Using an Optimized Dynamic Voltage Restorer: Application of Artificial Rabbits Optimization

Nagwa Ibrahim, Abdulaziz Alkuhayli, Abderrahmane Beroual, Usama Khaled, Mohamed Metwally Mahmoud

Khaled, Mohamed Metwally Mahmoud

► To cite this version:

Nagwa Ibrahim, Abdulaziz Alkuhayli, Abderrahmane Beroual, Usama Khaled, Mohamed Metwally Mahmoud. Enhancing the Functionality of a Grid-Connected Photovoltaic System in a Distant Egyptian Region Using an Optimized Dynamic Voltage Restorer: Application of Artificial Rabbits Optimization. Sensors, 2023, 23 (16), pp.7146. 10.3390/s23167146. [hal-04293104]

HAL Id: hal-04293104

https://hal.science/hal-04293104v1

Submitted on 10 Mar 2025

HAL is a multi-disciplinary open access
archive for the deposit and dissemination of sci-
entific research documents, whether they are pub-
lished or not. The documents may come from
teaching and research institutions in France or
abroad, or from public or private research centers.

L'archive ouverte pluridisciplinaire HAL, est
destinée au dépôt et à la diffusion de documents
scientifiques de niveau recherche, publiés ou non,
émanant des établissements d'enseignement et de
recherche français ou étrangers, des laboratoires
publics ou privés.

<figure><img src="image_1.png" /></figure>

Distributed under a Creative Commons Attribution 4.0 International License
Article

# Enhancing the Functionality of a Grid-Connected Photovoltaic System in a Distant Egyptian Region Using an Optimized Dynamic Voltage Restorer: Application of Artificial Rabbits Optimization

Nagwa F. Ibrahim ¹D, Abdulaziz Alkuhayli ²D, Abderrahmane Beroual ³D, Usama Khaled ⁴D
and Mohamed Metwally Mahmoud <fnref n="4" />,*

<figure><img src="image_2.png" /></figure>

check for
updates

**Citation:** Ibrahim, N.F.; Alkuhayli, A.; Beroual, A.; Khaled, U.; Mahmoud, M.M. Enhancing the Functionality of a Grid-Connected Photovoltaic System in a Distant Egyptian Region Using an Optimized Dynamic Voltage Restorer: Application of Artificial Rabbits Optimization. *Sensors* **2023**, *23*, 7146. https://doi.org/10.3390/s23167146

Academic Editors: Hossam
A. Gabbar and Amir H. Gandomi

Received: 10 May 2023

Revised: 26 July 2023

Accepted: 10 August 2023

Published: 13 August 2023

<figure><img src="image_3.png" /></figure>

**Copyright:** © 2023 by the authors.
Licensee MDPI, Basel, Switzerland.
This article is an open access article distributed under the terms and conditions of the Creative Commons Attribution (CC BY) license (https://creativecommons.org/licenses/by/4.0/).

**Abstract:** Photovoltaic (PV) systems are crucial to the production of electricity for a newly established community in Egypt, especially in grid-tied systems. Power quality (PQ) issues appear as a result of PV connection with the power grid (PG). PQ problems cause the PG to experience faults and harmonics, which affect consumers. A series compensator dynamic voltage restorer (DVR) is the most affordable option for resolving the abovementioned PQ problems. To address PQ difficulties, this paper describes a grid-tied PV combined with a DVR that uses a rotating dq reference frame (dqRF) controller. The main goal of this study is to apply and construct an effective PI controller for a DVR to mitigate PQ problems. The artificial rabbits optimization (ARO) is used to obtain the best tune of the PI controller. The obtained results are compared with five optimization techniques (L-SHADE, CMAES, WOA, PSO, and GWO) to show its impact and effectiveness. Additionally, Lyapunov's function is used to analyze and evaluate the proposed controller stability. Also, a mathematical analysis of the investigated PV, boost converter, and rotating dqRF control is performed. Two fault test scenarios are examined to confirm the efficacy of the suggested control approach. The parameters' (voltage, current, and power) waveforms for the suggested system are improved, and the system is kept running continuously under fault periods, which improves the performance of the system. Moreover, the findings demonstrate that the presented design successfully keeps the voltage at the required level with low THD% values at the load side according to the IEEE standards and displays a clear enhancement in voltage waveforms. The MATLAB/SIMULINK software is used to confirm the proposed system's performance.

**Keywords:** artificial rabbits optimization (ARO); dynamic voltage restorer (DVR); fault conditions; power quality; photovoltaic (PV)

# 1. Introduction

## 1.1. Motivations

Around the world, every city has distinctive qualities that set it apart from other cities. But the ability of sustainable cities (SCs) to meet present-day demands without jeopardizing the needs of the future is what distinguishes them from communities that exhaust their energies/resources [1–3]. While every SC may have something distinctive to offer, it is the ability to balance social, economic, and environmental considerations that allows an SC to endure and prosper over time. SCs are cities whose development plans incorporate sustainable practices to make sure that present demands are satisfied without

<footnote n="1">¹ Electrical Department, Faculty of Technology and Education, Suez University, Suez 43533, Egypt</footnote>

<footnote n="2">² Electrical Engineering Department, College of Engineering, King Saud University, Riyadh 11421, Saudi Arabia</footnote>

<footnote n="3">³ AMPERE Lab UMR CNRS 5005, Ecole Centrale de Lyon, University of Lyon, 36 Avenue Guy de Collongue, 69130 Ecully, France</footnote>

<footnote n="4">⁴ Department of Electrical Engineering, Faculty of Energy Engineering, Aswan University, Aswan 81528, Egypt</footnote>

<footnote>* Correspondence: metwally_m@aswu.edu.eg</footnote>
jeopardizing the capability of future generations to satisfy their own necessities. By doing so, they can achieve a balance that benefits the environment, society, and the economy, providing long-term benefits for the city and its inhabitants [4,5].

With over four billion people living in cities, the urban population (UP) currently makes up over 50 percent of the world's population. The UP is growing at the expense of the rural population, notably in Asia and Africa, where this number is rising quickly [6,7]. This trend reflects the ongoing process of urbanization, which has become a defining characteristic of the modern era. The concentration of people in urban areas can have significant implications for the environment, economy, and society. As cities grow in size and number, they may face challenges related to infrastructure, transportation, housing, and public services. However, urbanization can also bring benefits such as increased economic opportunities, cultural exchange, and access to essential services. Therefore, it is crucial to develop sustainable and equitable urban policies that address the challenges of urbanization while leveraging its potential benefits. Urban regions are expected to house 70 of every 100 persons globally by the year 2050 [3,6,8].

Cities continue to be desirable locations for talented workers and investors since they contribute significantly to bringing millions of people out of severe poverty and produce more than 80% of the world's gross domestic product (GDP). As a result, city councils must prioritize the development of regulatory frameworks, infrastructure upgrades, and modern solid waste management to address the increasing concerns surrounding urban growth. These steps are essential to ensuring that cities can efficiently deal with population expansion brought on by both normal growth and rural-to-urban movement [9,10]. The efficient management of these issues is essential for creating livable, sustainable, and thriving urban environments that meet the needs of their inhabitants. In doing so, city councils can create an ecosystem that attracts investment, fosters innovation, and provides access to essential services, thereby contributing to the growth and development of the wider region. Therefore, city councils worldwide must continue to focus on urban development to foster growth, innovation, and prosperity. An SC is a lively urban area that offers ample opportunities while also existing in harmony with the natural environment, ultimately providing a good standard of living for all of its inhabitants [11].

These types of cities prioritize striking a balance between social, economic, and environmental considerations, providing equal opportunities and access to essential services while ensuring that development does not negatively impact the planet's resources. SCs often prioritize public transportation and green spaces, both of which contribute to healthier living environments for residents. Additionally, SCs also support the utilization of clean energy sources to lessen carbon pollution and advance environmentally beneficial behaviors. An SC is characterized by a cohesive, harmonious, and connected community that prioritizes the clean and efficient use of resources in an interactive, natural environment [12]. New energy policies that rely more on sources of clean energy, such as solar photovoltaic technology (PV), wind, biomass, and fuel cells (FCs), are being implemented by the North African nations. Egypt, among these nations, has a lot of potential for producing green energy (PV and wind sources). Despite this potential, fossil fuels still account for a sizable amount of Egypt's electrical production. In actuality, 94% of the nation's overall primary energy consumption comes from fossil fuels (FFs). With Egypt's small oil and gas reserves, this strong reliance on FFs not only has a negative impact on the environment, but also significantly strains the government's finances [13,14].

## 1.2. Related Work

The grid-connected PV system has drawn a lot of attention from scholars because of its capacity to produce sustainable and clean energy, especially in rural areas. This system has several advantages, including its accuracy and reliability in generating electricity. The growing electricity demand has made grid-connected PV systems increasingly popular, as they are capable of meeting the energy needs of various sectors [15,16]. Most green sources produce DC power at varying voltage levels, and in order to connect these source
outputs to the DC bus in a grid-connected PV system, DC-DC choppers are required [17]. In the meantime, inverters are used to connect AC loads in off-grid mode and the DC bus is connected to the power supply for on-grid applications. However, the operation of the system might be negatively impacted by the switches used in converters [17,18].

The utilization of power electronic devices in hybrid power systems gives rise to operational failures, a range of voltage levels, currents, and abrupt voltage changes, as well as the presence of harmonic components in the current and voltage signals. Poor electrical power quality (PQ) can lead to negative effects such as power outages; overheating of machines, causing reduced lifetimes; machine malfunctions; and damage to sensitive equipment, ultimately resulting in production interruption [19,20].

In a study by the authors of [21,22], a method using a dual voltage source inverter (DVSI) was examined to improve the efficiency of microgrids (µGs). This method allows for a more reliable power supply to sensitive loads within the µG. Meanwhile, the authors of [23] proposed another technique to improve the wind energy system performance by using a dynamic voltage resistor (DVR) and a static transfer switch (STC). The proposed DVR and STC can mitigate the effects of disturbances such as voltage sags (V<sub>S</sub>) and interruptions in power generation within the system. A novel system was suggested in [24], which combines a distributed power flow controller with a proton exchange membrane FC and a Z-source inverter to achieve acceptable performance.

In [25], the authors introduced a DVR system that uses an ultra-capacitor as energy storage to power the VSI and mitigate PQ issues. Meanwhile, the authors of [26] proposed a DVR system for V<sub>S</sub> problems, which utilizes an ultra-capacitor as well. In [27], it was demonstrated that the use of a DVR in a renewable FC generator system can improve the PQ of the electrical power system. As for three-phase systems, the authors of [28] discussed shunt filters and their control techniques for purposes such as compensating harmonics and reactive power.

In [29], shunt filters are elaborated on as devices that are utilized for reactive power and harmonics compensation. Additionally, the authors of [30] describe a series of active filters with various control techniques and voltage compensation utilized to facilitate the integration of green systems into the grid, both for on-off grid modes. The control strategy that incorporates these devices presents a hurdle, which is that it needs to be simple and applicable. The use of PI controllers, which is a simple and widely used control method, is prevalent in controlling power electronic devices [31]. One of its applications is in controlling the DC chopper for connecting FCs to the electrical grid, while another application is in controlling the STATCOM in wind systems [32].

In hybrid green systems, power electronic components are integrated, causing the entire system to be complicated and nonlinear, which makes it challenging to adjust the PI controller parameters [33,34]. To address this issue, various optimization methods are used to adjust the controller gains. The application of whale optimization method (WOM)-based fractional PI controllers for UPQC and STATCOM in recent power systems that involves nonlinear loads and wind systems was presented in [35]. The obtained results show that the optimized controllers helped in the mitigation of unstable harmonics and voltage. In refs. [36,37], it was shown that utilizing optimized STATCOM controllers helps to achieve the high penetration scenarios of switched reluctance and induction-machine-based wind turbines in modern power grids. A grid-connected PV system employing the adaptive generalized maximum Versoria criterion with PQ improvement and a harmony search-optimizer-based PI controller for connecting FCs to the grid was presented in [38]. In [39], distinct optimization techniques (manta ray foraging method, slap swarm method, WOM, jellyfish search method, grasshopper search method, circle search method, and enhanced transient search method) were used to determine the PEM-FC parameters. Artificial rabbits optimization (ARO) was recommended for the DVR control system because the results of the comparisons between this approach and the previously listed approaches show that it was superior. A comparison with the previous studies that addressed the same research point is made in Table 1 to demonstrate the significance and efficiency of the present study.
<table><caption>**Table 1.** Comparison with previously published works.</caption><thead><tr><th>Refs.</th><th>Publisher</th><th>Year</th><th>Applied Controller</th><th>System Simplicity</th><th>THD Analysis</th><th>Stability Analysis (SA)</th><th>Studied Events</th><th>Program</th><th>Remarks</th></tr></thead><tbody><tr><td>[40]</td><td>IEEE</td><td>2020</td><td>PI</td><td>✗</td><td>✗</td><td>✗</td><td>Stable and unstable V<sub>S</sub></td><td>PSCAD/EMTDC</td><td>• Safe grid linked (PV-WT) from V<sub>F</sub> with SMES and battery-based DVR.</td></tr><tr><td>[41]</td><td>MDPI</td><td>2023</td><td>FCS-MPC</td><td>✗</td><td>✓</td><td>✗</td><td>Voltage dips and swells</td><td>Matlab/Simulink and dSpace 1103 controller board</td><td>• Compensated voltage under grid V<sub>S</sub>/swell scenarios to save the load voltage stable.</td></tr><tr><td>[42]</td><td>IEEE</td><td>2020</td><td>PI</td><td>✗</td><td>✗</td><td>✗</td><td>V<sub>S</sub> and phase jumps (PJs)</td><td>MATLAB/Simulink and HIL</td><td>• Maximized sensitive loads (SLs) and VQ with the most effective DVR usage.</td></tr><tr><td>[43]</td><td>MDPI</td><td>2021</td><td>PI</td><td>✗</td><td>✗</td><td>✗</td><td>V<sub>S</sub></td><td>MATLAB/Simulink</td><td>• To address the DVR capacity issue (limited by restorative energy), an innovative DVR architecture (two 3-phase input matrix converters without a capacitor in the DC-link side (DCLS)) was implemented.</td></tr><tr><td>[44]</td><td>IEEE</td><td>2019</td><td>Hysteresis</td><td>✗</td><td>✗</td><td>✗</td><td>Wide range of V<sub>S</sub></td><td>MATLAB/Simulink</td><td>• Enhanced VQ in using SFCL and DVR via SMES<br>• Realized the entanglement of the immediate magnitudes and phase angles of the line voltages, and decreased the system's price.</td></tr><tr><td>[45]</td><td>IEEE</td><td>2019</td><td>PI</td><td>✓</td><td>✓</td><td>✗</td><td>Balanced and unbalanced V<sub>S</sub></td><td>PSCAD/EMTDC</td><td>• Positively functioned during short-circuit fault current limiting and compensation for V<sub>F</sub> regimes.</td></tr></tbody></table>
<table><caption>Table 1. *Cont.*</caption><thead><tr><th>Refs.</th><th>Publisher</th><th>Year</th><th>Applied Controller</th><th>System Simplicity</th><th>THD Analysis</th><th>Stability Analysis (SA)</th><th>Studied Events</th><th>Program</th><th>Remarks</th></tr></thead><tbody><tr><td>[46]</td><td>Elsevier</td><td>2020</td><td>Fuzzy type 1, 2, and PI</td><td>✗</td><td>✗</td><td>✗</td><td>V<sub>S</sub> and V<sub>W</sub></td><td>MATLAB/Simulink and HIL</td><td><ul><li>Voltage correction was carried out without the need for a PLL circuit or an extensive DC capacitor.</li></ul></td></tr><tr><td>[47]</td><td>Elsevier</td><td>2019</td><td>PI</td><td>✓</td><td>✗</td><td>✗</td><td>V<sub>S</sub>, V<sub>W</sub> and unbalanced V</td><td>Homer software</td><td><ul><li>Improved the dynamic performance of a hybrid power system (FC-WT-PV battery).</li><li>It was advantageous for developing communities and SCs.</li></ul></td></tr><tr><td>Current study</td><td></td><td></td><td>ARO-PI</td><td>✓</td><td>✓</td><td>✓</td><td>%THD performance analysis, relay response during 3-phase faults, 25% voltage sag, and 3-phase fault.</td><td>MATLAB/Simulink</td><td><ul><li>Improving the DVR control system with ARO-PI to enhance PQ under severe events with low THD.</li><li>Protection and relay over current is studied.</li></ul></td></tr></tbody></table>
## 1.3. Contributions

Through the resolution of a set of 31 benchmark functions and five engineering issues, the efficiency of ARO is evaluated in contrast to that of other popular optimizers. The findings demonstrate that ARO consistently outperformed its examined competitors in terms of resolving engineering issues and benchmark functions. Therefore, the ARO approach is taken into account in our study [48]. The ARO is advised to optimize the DVR controllers in order to obtain a more precise DVR control system. The ARO is based on the rabbits' natural detour foraging (DF) technique and a random concealment approach [49]. In this research paper, the authors implement and apply the L-SHADE, CMAES, WOA, PSO, GWO, and ARO techniques for the DVR to determine the optimum gains of the controllers. This work aims to improve the performance of an on-grid PV system that is used to supply power to a new city in Egypt (New Suez). To calculate the optimal size of the operated renewable sources, the authors also consider several economic factors, such as net present expenses and electricity prices. Our goal is to enhance the performance of the system using the six studied techniques, which is expected to result in improved system stability, reduced system losses, and enhanced overall system efficiency. When compared to DVR based on any studied optimizer PI controller and without DVR under various conditions, the resulting total harmonic distortion (THD) is reduced with DVR based on the ARO-PI controller, which is a quick transient response for resolving PQ problems. Furthermore, controller stability is investigated to prove the role of the ARO method. Comparisons between the ARO-PI controller and the L-SHADE, CMAES, WOA, PSO, and GWO-PI controllers' performance in reducing the THD and boosting the system performance are made to further highlight the benefits of the ARO approach. The results are quite inspiring and helpful for these applications.

## 1.4. Paper Organization

There are six parts of this article as follows: The introduction is in Section 1. The description and modeling of the system under consideration are illustrated in Section 2. Section 3 presents a detailed DVR control mechanism. Section 4 presents the applied optimization techniques and investigates the system stability. Section 5 discusses the simulation results and comparisons, and Section 6 offers the conclusion.

# 2. Description and Modeling of the Investigated System

## 2.1. System Description

The planned grid-connected PV system is designed to provide electricity to Suez, a newly developed region in Egypt that is situated in a highly advantageous environment. The investigated system includes a PV generation source connected to the grid, which uses DC-DC converters to produce power. The inverter is utilized to change the output power from DC to AC, and step-up transformers are employed to link the electrical system to Egypt's intended 11 KV community grid. Step-down transformers are employed to deliver electricity to single and three-phase AC loads in the neighborhood, where the voltage is reduced from 11 kV to 0.380 kV and the frequency is 50 Hz. The electrical system is situated 4.5 km from the 11 kV grid. The proposed system was tested at a source voltage of 0.380 kV, as shown in Figure 1a. To mitigate any disturbances that may affect the system, a DVR is used and includes a storage unit, a VSI, power transformers, and L-C filters, as shown in Figure 1b. The two optimized PI controllers are used with the ARO method to regulate the VSI. The addressed system parameters are listed in Table 2.
<figure><img src="image_4.png" /><figcaption>**Figure 1.** (a) Diagram illustrating a PV system incorporating a DVR and (b) DVR components.</figcaption></figure>

<table><caption>**Table 2.** The system's components.</caption><thead><tr><td>Parameters</td><td>Value and Unit</td></tr></thead><tbody><tr><td>PV array's peak power level voltage (V<sub>PV</sub>)</td><td>273.5 V</td></tr><tr><td>Open circuit voltage of one PV module (V<sub>OC</sub>)</td><td>64.2 V</td></tr><tr><td>Networking voltage</td><td>11 kV</td></tr><tr><td>Networking-based frequency</td><td>314 rad/s</td></tr><tr><td>Inverter carrier frequency</td><td>2 kHz</td></tr><tr><td>Sample period</td><td>1 μs</td></tr><tr><td>The boost's inductor</td><td>5 μH</td></tr><tr><td>DC-link reference voltage</td><td>250 V</td></tr><tr><td>DC-link measured voltage</td><td>250 V</td></tr><tr><td>DC-connection capacitor</td><td>24 mF</td></tr></tbody></table>

## 2.2. PV System Modeling

A parallel arrangement of an equivalent diode structure and a light-dependent current supply commonly serves as the equivalent circuit for a PV. The amount of light that strikes the cell is directly correlated with its current output. The output current eventually goes to zero when the load resistance exceeds a certain point because the PV cell is incapable of sustaining a constant current as the load resistance rises. The PV model accounts for the photocurrent $I_L$'s temperature dependency, as well as the diode's saturation current ($I_0$), the $R_S$ and $R_p$ series and parallel resistance, and so forth. The net current of the cell is
determined by the difference between the $I_L$ and the $I_0$, as given in Equation (1). The PV cell's modeling and I-V properties are described in the equations below [50].

$$I = I_L - I_0 \left\{ e^{\frac{q(v+IRS)}{nkT}} - 1 \right\} \qquad (1)$$

$$I = I_L(T_1)(1 + k_0(T - T_1)) \qquad (2)$$

$$I_L(T_1) = G * \frac{I_{SC}(T_1, nom)}{G_{(nom)}} \qquad (3)$$

$$k_0 = (I_{SC}(T_2) - I_{SC}(T_1)) / (T_2 - T_1) \qquad (4)$$

$$I_0 = I_{0(T1)} * \left(\frac{T}{T_1}\right)^{\frac{3}{n}} * e^{\frac{qv_g}{nk}} * \left(\frac{1}{T} - \frac{1}{T_1}\right) \qquad (5)$$

$$I_{0(T1)} = \frac{I_{SC(T1)}}{e^{\frac{qv_{oc}(T1)}{nkT1}} - 1} \qquad (6)$$

$$R_S = -\frac{dv}{dI_{voc}} - \frac{1}{X_v} \qquad (7)$$

$$X_v = I_{0(T1)} \frac{q}{nkT1} e^{\frac{qv_{oc}(T1)}{nkT1}} \qquad (8)$$

The values for the constants used in the above equations are derived from the PV array manufacturer's specifications.

The symbols $I_{SC}$, $V_{OC}$, $G$, $k$, $q$, $T$, $n$, and $V_g$ are the short circuit current, open circuit voltage, irradiance (in W/m²), Boltzmann's constant ($1.38 \times 10^{-23}$), electron charge ($1.60 \times 10^{-19}$), the temperature in degrees Celsius, ideality factor, and band gap voltage, respectively. The used symbols are fully defined in [51].

The formulas presented here can be used to determine how much power the PV panel is producing at any given moment [52].

$$P_{PV}(t) = S_r(t) a \eta \qquad (9)$$

The equation for the total output power is given as $P_{PV} = S_r a \eta$, where $P_{PV}$ represents the generated power, $S_r$ is the amount of solar radiation received, $a$ is the surface area, and $\eta$ is the efficiency.

$$P_t(t) = N_{PV} P_{PV}(t) \qquad (10)$$

where $P_t$ represents the total power output and $N_{PV}$ is the number of employed PV panels.

### 3. DVR Control System and Applications

#### 3.1. DVR Operation and Control

In this section, the application of the investigated DVR for enhancing the PQ in modern power systems is covered. As shown in Figure 1b, the DVR is made up of a number of parts, including a storage unit, a VSI, an LC filter, and a transformer. The VSI receives power from the energy storage and uses an injection transformer to provide a sufficient voltage to restore the load voltage ($V_L$). However, due to the presence of some harmonics in the VSI output, caused by the IGBT switches, an LC filter is employed to alleviate this issue [53].

The DVR senses any disturbances at feeder $F_2$ and applies the necessary voltage via a feeding transformer to lessen them. After treating the disturbance, the DVR emits a sinusoidal and balanced wave that is clean of all distortions and side effects that the disturbance may have had on the system. The DVR's operational flowchart is shown in
Figure 2, which gives a visual picture of how the DVR reacts to power supply interruptions. Overall, the suggested DVR design is a thorough and practical approach to enhancing the PQ in the recent power system.

<figure><img src="image_5.png" /><figcaption>Figure 2. Flowchart operation of DVR.</figcaption></figure>

## 3.2. Investigated DVR Control Scheme

The crucial function of the controller in the DVR system is discussed in this section. As detailed in earlier work, a closed-loop control system is employed in a rotating dq reference frame to retain control over the DVR system [54]. The DVR controller outputs an appropriate pulse into the VSI's IGBT switch when abnormalities take place. Figure 3 shows a schematic of the DVR's control system. Through the use of the given equations, the three-phase coordinate system is transformed into the dq0 coordinate system. This controller is a vital part of the DVR system because it allows for the system to adapt to disruptions rapidly and efficiently and to maintain a high-quality power supply.

$$V_d = \frac{2}{3} \left[ V_a \sin \omega t + V_b \sin \left( \omega t - \frac{2\pi}{3} \right) + V_c \sin \left( \omega t + \frac{2\pi}{3} \right) \right] \quad (11)$$

$$V_q = \frac{2}{3} \left[ V_a \cos \omega t + V_b \cos \left( \omega t - \frac{2\pi}{3} \right) + V_c \cos \left( \omega t + \frac{2\pi}{3} \right) \right] \quad (12)$$

$$V_0 = \frac{1}{3} [V_a + V_b + V_c] \quad (13)$$
<figure><img src="image_6.png" /><figcaption>Figure 3. Control block diagram of the DVR.</figcaption></figure>

This section explains how to calculate the disruption in the dq coordinate frame. The desired value is transformed back to the ABC coordinate framework and the dq coordinate system is compared to it. In addition, a phase-locked loop (PLL) is used to gauge the system's frequency. The provided equations illustrate how the difference between the dq voltage's actual and standard values is used as an input to the PI controller of the DVR. The PLL has a serious role in ensuring that the frequency of the system is accurately measured, which is necessary for the accurate calculation of the disturbance in the dq coordinate system. The PI controller uses the error in the dq voltage to control the output of the DVR and mitigate any disturbances, thus ensuring that the system remains stable and supplies a high PQ. This process highlights the importance of precise measurement and control in maintaining a robust and reliable power system.

$$ error - d(t) = Vd_{Ref} - Vd \qquad (14) $$

$$ error - q(t) = Vq_{Ref} - Vq \qquad (15) $$

The error-d signal is received by the d-axis PI controller, whereas the error-q signal is received by the q-axis PI controller. The MATLAB Simulink simulation of the PI controller's control circuit is shown in Figure 4. In order to create the proper IGBT pulses for the VSI, the output is then transformed to ABC coordinates and sent to the PWM. The deviation between the dq voltages and the standard voltages of the dq coordinates forms the input of the PI controller. The three-phase $V_L$ is monitored and translated to dq0 coordinates. While the standard voltage for q is 0, the reference voltage for d is set to 1 p.u. (rated voltage). The d and q error signals are handled by two controllers, $PI_d$ and $PI_q$, respectively. When the PI controller generates an output, it converts it to ABC and sends it to the PWM to activate the VSI's IGBT. Due to the nonlinear uncertainties and restrictions present, such as temperature and irradiation, tuning the PI controllers is difficult. Such complex problems can be beyond the capabilities of conventional optimization techniques. Nevertheless, these problems can be solved by using artificial intelligence techniques like VBRL. One of the most effective ways to fine-tune the PI control parameters is to use the ARO and GWO methods since they can react quickly to changing circumstances and guarantee global convergence. Consequently, ARO is a fantastic remedy for these issues.
<figure><img src="image_7.png" /><figcaption>Figure 4. PI control circuit of the DVR.</figcaption></figure>

## 4. Applied Optimization Methods and Stability Analysis

### 4.1. GWO Technique

This technique is a meta-heuristic algorithm and was introduced in [55]. It mimics the social organization and hunting methods of wild grey wolves (GWs). Four different simulation types (Alpha (α), Beta (β), Delta (δ), and Omega (ω)) are used in the GW hierarchy, as shown in Figure 5. The role and behavior towards the prey of the four simulation types were presented in [55]. The β and δ GWS are rated as the second- and third-best options, respectively, and the α GW is regarded as the finest fit. The remaining solutions are categorized as ω and are thought to be the least significant. The three phases of hunting behavior are tracking, chasing, and approaching the prey, surrounding and agitating the prey until it ceases to move, and finally, killing the animal being hunted.

<figure><img src="image_8.png" /><figcaption>Figure 5. The social structure of GWs.</figcaption></figure>

Equations (16) and (17) are used to model the encircling behavior, where t represents the present iteration, $A \to$ and $C \to$ are the vectors of coefficients, and $XP \to (t)$ reflects the victim's location vector, while $X \to$ represents the place vector of a GW. The coefficients $A \to$ and $C \to$ are calculated in (18) and (19) as follows:

$$D \to = |C \times P \to (t) - X \to (t)| \qquad (16)$$
$$X \xrightarrow{t+1} XP \xrightarrow{t} -A \xrightarrow{D} \qquad (17)$$

$$A \xrightarrow{r1} 2a \xrightarrow{r1} -a \qquad (18)$$

$$C \xrightarrow{r2} 2r2 \qquad (19)$$

where $a \xrightarrow{r1}$ is linearly reduced from 2 to 0 all over iterations, and $r1 \xrightarrow{r2}$ and $r2 \xrightarrow{r1}$ are arbitrary vectors in the variety [0, 1].

The first three optimal solutions are saved using this procedure, and all other search agents, including the Omegas, are needed to adjust their placements by the places of the best search agents. The following formulas are suggested to accomplish this:

$$Da \xrightarrow{C1} Xa \xrightarrow{C1} -X \xrightarrow{C1} |, DB \xrightarrow{C2} XB \xrightarrow{C2} -X \xrightarrow{C2} |, D\delta \xrightarrow{C3} X\delta \xrightarrow{C3} -X \xrightarrow{C3} | \qquad (20)$$

$$X1 \xrightarrow{X1} Xa \xrightarrow{X1} -A1(Da \xrightarrow{X1} ), X2 \xrightarrow{X2} XB \xrightarrow{X2} -A2(DB \xrightarrow{X2} ), X3 \xrightarrow{X3} X\delta \xrightarrow{X3} -A3(D\delta \xrightarrow{X3} ) \qquad (21)$$

$$X \xrightarrow{t+1} \frac{X1 \xrightarrow{t+1} + X2 \xrightarrow{t+1} + X3 \xrightarrow{t+1}}{3} \qquad (22)$$

The GWO's pseudo-code is shown in Figure 6. The tracking, circling, and attacking of prey, as reported in [56], are used to mathematically model the social hierarchy. The GWO algorithm's maximum iteration and number of search agents are 100 and 30, respectively.

Initialize the grey wolf population X1(i=1, 2, ...,n)
Initialize a, A, and C
Calculate the fitness of each search agent
Xa=the best search agent
XB=the second best search agent
X\delta= the third best search agent
While (t<max number of iterations)
For each search agent
Update the position of the current search agent by equation (22)
End for
Update a, A, and C
Calculate the fitness of all search agents
Update Xa, XB, and X\delta
T=t+1
End while
Return Xa

<caption>Figure 6. The code outlines the steps of the GWO algorithm [56].</caption>

## 4.2. ARO Technique

The ARO technique is influenced by the natural survival techniques employed by rabbits. Rabbits use a method of foraging known as diversion to find feed away from their homes. They dig burrows around their nests to hide from hunters and other predators, and depending on the situation, they may opt to undertake either diversion foraging or arbitrary hiding on their vigor [48]. Whenever they have enough energy, they will travel great distances from their homes in search of food, and if they are low on energy, they will haphazardly hide in the nearby tunnels. The procedures and equations used to update the rabbits' places are detailed in the next parts and are summarized in Figure 7 [48].
<figure><img src="image_9.png" /><figcaption>Figure 7. ARO flowchart.</figcaption></figure>

(a). Alternate between exploration and exploitation

The energy shrink is represented by this stage. Rabbits can select between haphazard concealment and detour foraging. This relies on the amount of energy a rabbit has; thus, to imitate which one it will choose, an energy factor A(t) is derived using Equation (23). A rabbit will engage in random concealment when A(t) > 1, and DF when A(t) ≤ 1.

$$A(t) = 4 \left( 1 - \frac{t}{T} \right) L n \frac{1}{r} \qquad (23)$$

where r is selected at random from the range of (0, 1).

(b). Exploration
The second stage represents the DF. To keep predators away from their homes, rabbits forage for food outside of their homes. According to Equation (24), rabbits look for food at random based on where one is in relation to the other.

$$ \vec{P}_i(t+1) = \vec{X}_j(t) + R(\vec{X}_i(t) - \vec{X}_j(t)) + \text{round}\left(\frac{1}{2}\left(\frac{5}{100} + r_1\right)\right) n_1, i, j = 1, \dots, n \text{ and } i \neq j \quad (24) $$

$$ R = L C \quad (25) $$

$$ L = \left( e - e^{\left(\frac{t-1}{T}\right)^2} \sin(2\pi r_2) \right) \quad (26) $$

$$ c(k) = \begin{cases} 1 & \text{if } k = g(t) \\ 0 & \text{else} \end{cases} \quad k = 1, \dots, [r_3 \cdot d] \quad (27) $$

$$ g = \text{rand perm}(d) \quad (28) $$

$$ n_1 \sim N(0, 1) \quad (29) $$

where $\vec{P}_i(t+1), \vec{X}_i(t), n, d, T, L, (r_1, r_2, r_3), n_1, c$, and $R$ are the applicant's place of $i$th rabbit at $t+1$, the $i$th rabbit's location at $t$, the bunny rabbit population size, the number of variables, the maximal number of iterations, the crusade leap of rabbits, three random numbers between (0, 1), the variable that is subject to the standard normal distribution, the mapping vector, and the sprinting operator that mimics the gait of rabbits, respectively.

### (c). Exploitation

Random hiding is represented by this stage. To choose a random tunnel to cover in and flee from predators, every rabbit has $d$ holes around its home. Equation (30) creates these holes for every rabbit.

$$ \vec{b}_{i,j}(t) = \vec{X}_i(t) + H g \vec{X}_i(t), \quad i = 1, n \text{ and } j = 1, \dots, d \quad (30) $$

$$ H = \frac{T-t+1}{T} r_4 \quad (31) $$

$$ g(k) = \begin{cases} 1 & \text{if } k = j \\ 0 & \text{else} \end{cases} \quad k = 1, \dots, d \quad (32) $$

$$ \vec{P}_i(t+1) = \vec{X}_i(t) + R \left( r_4 \vec{b}_{i,r}(t) - \vec{X}_i(t) \right) \quad i = 1, \dots, n \quad (33) $$

$$ g_r(k) = \begin{cases} 1 & \text{if } k = [r_5 \ d] \\ 0 & \text{else} \end{cases} \quad k = 1, \dots, d \quad (34) $$

$$ \vec{b}_{i,r}(t) = \vec{X}_i(t) + H g_r \vec{X}_i(t), \quad i = 1, \dots, n \quad (35) $$

$$ \vec{X}_i(t+1) = \begin{cases} \vec{X}_i(t) f(\vec{X}_i(t)) \le f(\vec{P}_i(t+1)) \\ \vec{P}_i(t+1) f(\vec{X}_i(t)) > f(\vec{P}_i(t+1)) \end{cases} \quad (36) $$

where $H, b_{i,j}, b_{i,r}$, and $(r_4, r_5)$ are the hiding parameter; the $j$th burrow for the $i$th rabbit; the randomly selected burrow for hiding for the $i$th rabbit, as exposed in Equation (35); and the arbitrary numbers flanked by (0, 1), respectively.
According to Equation (33), the ith a rabbit will make an effort to alter its place in accordance with the randomly selected burrow. Ultimately, if the suitability of the candidate's location of the ith rabbit is larger than that of the preceding one, as given by Equation (36), the rabbit will depart its present place and stay at the candidate's spot after either DF or random hiding.

### 4.3. Optimal Controller Design using Different Optimization Methods

This part of the research study focuses on tuning the parameters of two PI controllers that are tasked with operating a DVR by applying the L-SHADE, CMAES, WOA, PSO, GWO, and ARO (proposed) methods. The goal is to test how a controlled DVR affects a green source's voltage, current, and power waveforms, while also ensuring that the renewable source continues to operate under unusual operating circumstances like a three-phase fault, voltage sag, and swell. To find the two PI controller parameters' optimum values with the lowest integral square error (ISE), as seen in Equation (37), the ARO and GWO approaches are used. Both algorithms are used to control the inserted voltage from the DVR to the system in the event of a three-phase fault to reduce the error between the standard and real voltage values in dq coordinates. The two PI controllers' optimized parameters with six different optimizers are provided in Table 3, and the later sections will explore how they affect the system performance under abnormal operating conditions.

$$ISE = \int_{0}^{\infty} e^{2}(t)dt \qquad (37)$$

<table><caption>**Table 3.** The optimized parameters of the PI controllers.</caption><thead><tr><th rowspan="2">Algorithms</th><th colspan="2">d-Axis</th><th colspan="2">q-Axis</th></tr><tr><th>K<sub>pd</sub></th><th>K<sub>id</sub></th><th>K<sub>pq</sub></th><th>K<sub>iq</sub></th></tr></thead><tbody><tr><td>GWO</td><td>8.5420</td><td>199.0017</td><td>77.3220</td><td>190.6024</td></tr><tr><td>L-SHADE</td><td>1.6952</td><td>0.2057</td><td>9.0366</td><td>3.2531</td></tr><tr><td>CMAES</td><td>1.7304</td><td>0.2062</td><td>9.0374</td><td>3.4842</td></tr><tr><td>WOA</td><td>1.6675</td><td>0.2056</td><td>9.0374</td><td>3.1668</td></tr><tr><td>PSO</td><td>1.7248</td><td>0.2053</td><td>9.0454</td><td>3.3255</td></tr><tr><td>ARO (proposed)</td><td>1.8751</td><td>2.9975</td><td>2.9791</td><td>0.7297</td></tr></tbody></table>

### 4.4. Analysis of the Investigated System's Stability

The stability analysis (SA) was evaluated using a variety of concepts, involving the Bode diagram, zero pole mapping, and Lyapunov function (LF) [57]. The LF is taken into account since it was proven to be effective in solving a number of engineering problems [58]. Based on $V_{DVR} = V_L - V_{grid}$, with the proposed controller, the system's standard voltage, or low pass filter (LPF), will be detected, whereas all upsets and uncertainties are calculated and instantly corrected. An LPF represented as $G_v(s)$ is used in this study to make the recommended controller design easier. $G_v(s)$ was, in fact, selected as a first-order filter.

$$G_v(s) = \frac{1}{(1 + \tau_v)}.$$

$V_L$ is written as follows:

$$V_L = L^{-1} \left\{ \frac{1}{1 + \tau_v} \right\} * \left( V_{grid} + V_{DVR} \right) \qquad (38)$$

where the symbols $\tau_v$, $L^{-1}$, and * are the time constant, inverse Laplace transformation, and convolution operator, respectively.
Equation (38) represents the following dynamics:

$$ \dot{V}_L = \frac{V_{DVR}}{\tau_v} + \Delta_v \quad (39) $$

where $\Delta_v = -\frac{V_L}{\tau_v} + \frac{V_{grid}}{\tau_v}$ and the symbol $\Delta_v$ represent the lumped uncertain term.

The recommended DVR control system's organizational structure is depicted in Figure 8. The controller generates a standard $V_L$ with a typical amplitude, and three PLLs are used to synchronize the frequency and phase with the $V_{grid}$ [59]. The investigated controller has two inputs ($V_L$ and $V_{grid}$) and a single output ($V_{DVR}$ reference). The inputs are a part of the voltage control loop. The PWM, which generates the switching signals for the converter, is driven by the output. The explored control technique should be combined with a trustworthy linear reference model to guarantee that the closed-loop structure reacts as required [60]. The following equation is written as the $V_{DVR}$ control signal as follows:

$$ V_{DVR} = \tau_v (A_m v_m + B_m V^*_{L}) - \tau_v (A_m + K)e(t) - \tau_v \left[ L^{-1} \left\{ G_f(t) \right\} * \left( \dot{V}_L - \frac{V_{DVR}}{\tau_v} \right) \right] \quad (40) $$

<figure><img src="image_10.png" /><figcaption>Figure 8. Proposed DVR control configuration for investigating SA.</figcaption></figure>

The procedure drawn in [61] allows for the evaluation of the LF bounds for $V_L$. The SA is executed using the LF below.

$$ V(t) = V_L V_L^T \quad (41) $$

With the derivation of (41) and the prearranged $V_L$ dynamics (39) and $V_{DVR}$ (40), the SA is performed as follows:

$$ \begin{aligned} \dot{V}(t) = \dot{V}_L^T V_L + V_L^T \dot{V}_L &= \left( \frac{V_{DVR}^T}{\tau_v} + \Delta_v^T \right) V_L + V_L^T \left( \frac{V_{DVR}}{\tau_v} + \Delta_v \right) \\ &= V_L \left\{ V_m^T A_m^T + (V^*_{L})^T B_m^T \right\} - V_L \left\{ (V_m^T - V_L^T) (A_m^T + K^T) \right\} \\ &+ V_L \left\{ \Delta_v^T - L^{-1} \left\{ G_f(t) \right\} * (\Delta_v^T) \right\} + V_L^T \left\{ A_m V_m + B_m V^*_{L} \right\} \\ &- V_L^T \left\{ (A_m + K)(V_m - V_L) \right\} + V_L^T \left\{ \Delta_v - L^{-1} \left\{ G_f(t) \right\} * (\Delta_v) \right\} \\ &= V_L \left\{ (V^*_{L})^T B_m^T - V_m^T K^T \right\} + V_L \left\{ V_L^T (A_m^T + K^T) \right\} \\ &+ V_L \left\{ L^{-1} \left\{ 1 - G_f(t) \right\} * (\Delta_v^T) \right\} + V_L^T \left\{ B_m V^*_{L} - K V_m + (A_m + K) V_L \right\} \\ &+ V_L^T \left\{ L^{-1} \left\{ 1 - G_f(t) \right\} * (\Delta_v) \right\} \end{aligned} $$

$$ \dot{V}(t) = V_L^T (A_m^T + K^T + A_m + K) V_L + (V^*_{L})^T B_m^T V_L + V_L^T B_m V^*_{L} - V_m^T K^T V_L - V_L^T K V_m + L^{-1} \left\{ 1 - G_f(t) \right\} * (\Delta_v^T V_L + V_L^T \Delta_v) $$

When $Q = A_m^T + K^T + A_m + K$, the equation is expressed as follows:
$$ 
\begin{aligned}
\dot{V}(t) &\le \lambda_{max}(Q)\|V_L\|^2 + 2\|B_m V^* L\|\|V_L\| + 2\|KV_m\|\|V_L\| + L^{-1}\{1 - G_f(t)\} * \left(\frac{2\|V_L\|^2}{\tau_v}\right) + L^{-1}\{1 - G_f(t)\} * \left(\frac{2\|V_L\|\|V_{grid}\|}{\tau_v}\right) \\
&= L^{-1}\left\{\lambda_{max}(Q) + \frac{2}{\tau_v} - \frac{2}{\tau_v}G_f(t)\right\} * \|V_L\|^2 + 2\|B_m V^* L\|\|V_L\| + 2\|KV_m\|\|V_L\| + L^{-1}\{1 - G_f(t)\} * \left(\frac{2\|V_L\|\|V_{grid}\|}{\tau_v}\right)
\end{aligned}
$$

where Q is the non-positive value that is semi-fixed with the Hurwitz matrix ($A_m + K$), $\lambda_{max}(Q) < zero$, and is the supreme eigenvalue of Q. $\zeta = 2\|B_m V^* L\| + 2\|KV_m\| + L^{-1}\{1 - G_f(t)\} * \left(\frac{2\|V_{grid}\|}{\tau_v}\right)$ is a limited signal with the upper limit of P, where p is a positive number.

$$ \dot{V}(t) \le (\lambda_{max}(Q) + \frac{2}{\tau_v}) \|V_L\|^2 + 2\zeta \|V_L\| \quad (42) $$

When Young's inequality is functional,

$$ \dot{V}(t) \le [\lambda_{max}(Q) + \frac{2}{\tau_v} + \varepsilon^2]\|V_L\|^2 + \frac{\zeta^2}{\varepsilon^2} \le -\lambda_1 V(t) + \lambda_2 \quad (43) $$

where $\lambda_1 = [\lambda_{max}(Q) + \frac{2}{\tau_v} + \varepsilon^2]$, $\lambda_2 = \frac{p}{\varepsilon^2}$, and is a tuning coefficient to compute the $\lambda_2$ size.

$\lambda_1 > zero$ yields the precise design for the error signal feedback gain ($A_m + K$). So, (44) is written as follows:

$$ 0 \le V(t) \le V(0)e^{-\lambda_1 t} + \frac{\lambda_2}{\lambda_1}(1 - e^{-\lambda_1 t}) \quad (44) $$

When $t \to \infty$, $e^{-\lambda_1 t}$ tends to be 0, so $V(t)$ in (28) has an upper limit of $\frac{\lambda_2}{\lambda_1}$. As a result, for all $t \ge 0$, $V(t)$ has no upper or lower bounds. The work mentioned above shows that the closed-loop structure is robust and stable with regard to the LF boundaries.

## 5. Simulation Results and Discussions

The addressed PV system generates a low voltage, and by using a boost converter, it is boosted to a suitable voltage, which appears at the DC-link. The capability of the proposed PV-DVR system is studied under different fault conditions. The effectiveness of the proposed, developed, and robust controllers for improving the performance of a PV system, which supplies AC loads and is linked to the grid of a new community in Egypt, as illustrated in Figure 1, is evaluated. The DVR is connected to the system, as shown in Figure 1. To keep its DC-link voltage constant, energy storage is used. The suggested green system is appropriate for balancing out the voltage in industrial buildings and small businesses. The ARO and GWO algorithms are implemented using the MATLAB global optimization toolbox on a computer with an Intel (R) Core (TM) i7-4700HQ CPU with a 2.40 GHz processing speed and 16.0 GB of memory. The optimal values for the PI controller's gains, which correspond to the minimum objective function value, are obtained through the studied algorithms and are listed in Table 1. The studied system is evaluated in terms of improving the $V_L$ under two fault scenarios. The load side results are shown with and without the optimized DVR control system using the MATLAB/Simulink platform.

### Case 1: Three-phase fault

A three-phase fault (worst condition) occurs at the PCC ($F_2$), and the fault clearing time is expected to take place between 0.5 and 0.6 s. Figure 8 shows the response of the PV parameters (voltage, current, and power) in the case without a DVR (base case), a DVR with GWOS ($C_1$), and a DVR with ARO (proposed $C_2$). As a result of this fault, the voltage of the PV system drops, while the current increases to 1.2 p.u., causing a slight increase in the PV power waveforms, and this increase may disconnect the PV from the system. Figure 9 shows that using the DVR with the studied algorithms clears the fault in a short time (below 0.05 s). Furthermore, a lower settling time is achieved with the proposed $C_2$, and it assures the role of the ARO technique. If a DVR is not integrated, the fault greatly
impacts the system, causing voltage, current, and power waveform distortions. However, if a DVR is used, there is a noticeable improvement in the presented waveforms.

<figure><img src="image_11.png" /><figcaption>**Figure 9.** Simulation outcomes from PV without DVR, with GWO-PI for DVR, and ARO-PI for DVR under 3-phase fault: (a) voltage, (b) current, and (c) power.</figcaption></figure>
Figure 10 demonstrates the role of the ARO-PI and GWO-PI controllers for the DVR. The optimized DVR can regulate the $V_L$ compared to the base case and minimize the presence of harmonics during fault conditions. Moreover, Figure 9 proves the superiority of the ARO technique compared to GWO. Figure 11a shows that the source voltage reaches a voltage of zero roughly during a fault period and returns to its steady state after fault clearance. Figure 11b shows the load voltage still operating at its rated value (1 p.u.) because of the suitable injected voltage value from the DVR, as seen in Figure 11c. Part (c) proves that the DVR performs well during a fault and ensures the continuous operation of the proposed system. It can be concluded that the DVR's capability in injecting the needed voltage under the worst fault scenario assures the effectiveness of the DVR with its enhanced control system role.

<figure><img src="image_12.png" /><figcaption>Figure 10. RMS of $V_L$ without DVR, with GWO-PI for DVR, and ARO-PI for DVR under the investigated fault.</figcaption></figure>

<figure><img src="image_13.png" /><figcaption>Figure 11. Cont.</figcaption></figure>
<figure><img src="image_14.png" /><figcaption>**Figure 11.** Simulation output under 3-phase fault of (a) source voltage, (b) $V_L$, and (c) injected/fed voltage.</figcaption></figure>

All of the above-simulated results show the effectiveness of using the proposed ARO method for the DVR system in renewable systems for mitigating the negative effects of faults on the power system. Table 4 summarizes the performance index of the investigated system under the three operating scenarios.

<table><caption>**Table 4.** Comparative analysis of a three-phase fault under the three operating conditions.</caption><thead><tr><th rowspan="2">Parameters</th><th rowspan="2">Ref. Values</th><th colspan="6">Operating Conditions under the Investigated Fault</th></tr><tr><th>Without DVR</th><th>DVR-Based PI-GWO</th><th>DVR-Based PI-L-SHADE</th><th>DVR-Based PI-CMAES</th><th>DVR-Based PI-WOA</th><th>DVR-Based PI-PSO</th><th>DVR with PI-ARO (Proposed)</th></tr></thead><tbody><tr><td>PV voltage</td><td>275 V</td><td>210.2 V</td><td>273.3 V</td><td>273.8 V</td><td>272.5 V</td><td>273.9 V</td><td>273.5 V</td><td>274.2 V</td></tr><tr><td>PV current</td><td>362 A</td><td>385 A</td><td>366 A</td><td>364.2 A</td><td>364.8 A</td><td>365.07 A</td><td>365 A</td><td>365.12 A</td></tr><tr><td>PV power</td><td>100 kW</td><td>83.4 kW</td><td>99.87 kW</td><td>99.87 kW</td><td>99.83 kW</td><td>99.89 kW</td><td>99.83 kW</td><td>99.92 kW</td></tr><tr><td>Load voltage</td><td>380 V</td><td>Zero V</td><td>375.12 V</td><td>375.82 V</td><td>375.92 V</td><td>375.32 V</td><td>375.47 V</td><td>376.4 V</td></tr></tbody></table>

### Case 2: 25% voltage sag

This scenario discusses testing the efficacy of the designed PI-ARO controller for DVR in improving the system performance under 25% $V_S$ with the condition between 0.5 and 0.7 s. Figure 12a-c depicts the source voltage, $V_L$, and the injected voltage from the DVR under the investigated voltage dip. The application of the DVR with its enhanced control system matches the $V_L$ with the source voltage by feeding the needed voltage. The injected voltage from the DVR is less than the injected voltage in case 1 because the source voltage fault is changed.

Figure 13 displays the RMS of $V_L$ with the three operating conditions under the studied fault period. The PI-ARO controller effectively reduced the maximum overshoot and achieved a rapid response. The PI-ARO approach is utilized to investigate the performance of the renewable power system's grid under sagging test conditions with and without the DVR. Without the DVR, the $V_L$ drops to 215 V, while it remains at 377.5 V with the use of the DVR.

### Case 3: %THD performance analysis

The THD, which is being researched here to ensure the PQ restrictions, is one of the most crucial aspects. This subsection considers the L-SHADE, CMAES, WOA, PSO, GWO, and ARO algorithms both with and without the DVR system and performs an FFT analysis for the $V_L$ throughout the fault time. The THD is shown both with and without a DVR in the findings in Figure 14. According to Figure 14a-g, when the DVR is attached, the THD decreases significantly from 12.73% without the DVR to 2.3% with the DVR and ARO algorithm. It is a significant improvement in the $V_L$ waveforms that the THD was reduced by around 66.928%, 51.53%, 70.31%, 62.45%, 58.366%, and 81.9324% with L-SHADE, CMAES, WOA, PSO, GWO, and ARO, respectively.
<figure><img src="image_15.png" /><figcaption>**Figure 12.** Simulation output under 25% V<sub>S</sub>. (a) Source voltage, (b) V<sub>L</sub>, and (c) injected/fed voltage with DVR-based investigated controller.</figcaption></figure>

<figure><img src="image_16.png" /><figcaption>**Figure 13.** RMS of V<sub>L</sub> with and without optimized DVR during the fault period.</figcaption></figure>
<figure><img src="image_17.png" /></figure>

<figure><img src="image_18.png" /></figure>

<figure><img src="image_19.png" /><figcaption>Figure 14. *Cont.*</figcaption></figure>
<figure><img src="image_20.png" /><figcaption>Figure 14. *Cont.*</figcaption></figure>
<figure><img src="image_21.png" /><figcaption>**Figure 14.** %THD values of $V_L$ under different optimizers. (a) Without optimized DVR. (b) With L-SHADE. (c) With CMAES. (d) With WOA. (e) With PSO. (f) With GWO. (g) With ARO (proposed).</figcaption></figure>

### Case 4: Relay response during three-phase fault

Figure 15a,b demonstrates the simulation's findings. Because of the excessive current that flows, whenever a malfunction (three-phase short circuit) happens, the circuit breaker (CB) is always turned off across the system. When a fault happens within 0.2 to 0.25 s, the relay might very well detect the current increase, but instead, trip immediately throughout the start-up; furthermore, after the failure has already been resolved, the current continues to remain large, and indeed, the relay causes excursions in the circuit.

<figure><img src="image_22.png" /><figcaption>**Figure 15.** (a) Current waveform and (b) relay response during three-phase short circuit current without a trip.</figcaption></figure>

In Figure 16a, it is clear that the grid current is constant and stable, but when a fault occurred (three-phase short circuit) at a time of 0.2 s, we found that the relay sensed a rise in the value of the current from 5A to 19A, the fault continued for 0.2 to 0.213 s, and the CB worked to separate the network current from the VSI. In Figure 16b, the response of the protection system against the surge current in the period from 0.2 to 0.22 s is noted, and
the value changes from zero to one because it depends on digital electronic circuits, whose output is from zero to one. When the current increases to a high value from 5 A to 19 A, this can cause the DC-link capacitors to be damaged, and the system protection unit must intervene to separate the VSI from the grid.

<figure><img src="image_23.png" /><figcaption>Figure 16. (a) Current waveform and (b) relay response during 3-phase fault with a trip.</figcaption></figure>

## 6. Conclusions

To improve the functionality of a grid-tied PV system serving a new community in Egypt, this work presents an optimized DVR, which links the PCC and the load bus. The DVR controllers are designed and optimally tuned with six metaheuristics techniques (L-SHADE, CMAES, WOA, PSO, GWO, and ARO). The ARO-PI controller's main goal is to support the control of the DVR voltage that is injected into the system to enhance the voltage profile under harsh operating cases. To identify the optimum PI controller settings, the ISE between the load and reference voltages is minimized using the studied techniques under the investigated scenarios (three-phase fault and voltage sags). Through the use of the studied cases, the system's performance is evaluated. This work shows that the improved DVR control system with ARO reduces the distortions in the current, voltage, and power waveforms. Furthermore, operating the DVR with ARO improves the system's transient response compared to the other methods in terms of less rise time, settling time, and overshoot. The proposed system leads to a significant improvement in the waveforms and system performance, including a continuous operation of the renewable energy source under faults. A short-circuit overcurrent protection system is also used to split the system and protect the power electronic circuits from high currents, ensuring that the PV can continue to function even under faults. These findings lead us to the conclusion that the suggested control system enhances the PQ for grid-connected PV systems.

Future research directions are as follows:

1. Developing a DVR controller with ARO for use in µGs to mitigate PQ problems.

2. Comparing the addition of FC with a battery and renewable systems at the DC side of the DVR to clarify the best structure and the merits and demerits of these structures.

3. Making use of brand-new hybrid optimization methods, where algorithms constructed using artificial intelligence may be crucial in dealing with the codependency of the control objectives and auto-tuning of the weighting variables.
4. The developed DVR can be utilized to realize the fault ride-through capability of PV and wind systems.

5. Making a comparison among new and old algorithms based on a statistical test such as the Wilcoxon signed-rank test to prove the role of the proposed one.

**Author Contributions:** Conceptualization, N.F.I. and M.M.M.; methodology, M.M.M.; software, N.F.I.; validation, A.A.; and A.B.; formal analysis, A.A.; investigation, U.K. and A.A.; resources, U.K. and A.A.; data curation, M.M.M. and U.K.; writing—original draft preparation, M.M.M.; writing—review and editing, U.K. and A.A.; visualization, U.K. and A.B.; supervision, A.B.; project administration, A.A.; funding acquisition, A.A. All authors have read and agreed to the published version of the manuscript.

**Funding:** This work was supported by the Researchers Supporting Project (number RSP2023R258), King Saud University, Riyadh, Saudi Arabia.

**Institutional Review Board Statement:** Not applicable.

**Informed Consent Statement:** Not applicable.

**Data Availability Statement:** Data are available upon request from the authors.

**Acknowledgments:** The authors are grateful for the support by the Researchers Supporting Project (number RSP2023R258), King Saud University, Riyadh, Saudi Arabia.

**Conflicts of Interest:** The authors declare no conflict of interest.

**Abbreviations**

<table><tr><td>DVR: Dynamic voltage resistor</td><td>THD: Total harmonic distortion</td></tr><tr><td>UP: Urban population</td><td>PV: Solar photovoltaic</td></tr><tr><td>V<sub>L</sub> : Load voltage</td><td>V<sub>S</sub> : Voltage sag</td></tr><tr><td>SCs: Sustainable cities</td><td>FCs: Fuel cells</td></tr><tr><td>GDP: Gross domestic product</td><td>PCC: Point of common coupling</td></tr><tr><td>L-SHADE: Linear population size reduction</td><td>PQ: Power quality</td></tr><tr><td>pu: Per unit</td><td>DVSI: Dual voltage source inverter</td></tr><tr><td>µGs: Microgrids</td><td>STC: Static transfer switch</td></tr><tr><td>ARO: Artificial Rabbits Optimization</td><td>DF: Detour foraging</td></tr><tr><td>WOM: Whale optimization method</td><td>PLL: Phase-locked loop</td></tr><tr><td>CB: Circuit breaker</td><td>ISE: Integral square error</td></tr><tr><td>CMAES: Covariance matrix adaptation evolution strategy</td><td>FFs: Fossil fuels</td></tr></table>

**References**

1. Pereira, G.V.; De Azambuja, L.S. Smart Sustainable City Roadmap as a Tool for Addressing Sustainability Challenges and Building Governance Capacity. *Sustainability* **2022**, *14*, 239. [CrossRef]

2. Firouzi, M.; Mobayen, S.; Kartijkolaie, H.S.; Nasiri, M.; Chen, C.C. Protection of sensitive loads in distribution systems using a bsfcl-dvr system. *Sensors* **2021**, *21*, 1615. [CrossRef] [PubMed]

3. Khan, M.T.I.; Anwar, S.; Sarkodie, S.A.; Yaseen, M.R.; Nadeem, A.M. Do natural disasters affect economic growth? The role of human capital, foreign direct investment, and infrastructure dynamics. *Heliyon* **2023**, *9*, e12911. [CrossRef]

4. Bibri, S.E.; Krogstie, J. Generating a vision for smart sustainable cities of the future: A scholarly backcasting approach. *Eur. J. Futur. Res.* **2019**, *7*, 5. [CrossRef]

5. Boudjemai, H.; Ardjoun, S.A.; Chafouk, H.; Denai, M.; Elbarbary, Z.S.; Omar, A.I.; Mahmoud, M.M. Application of a Novel Synergetic Control for Optimal Power Extraction of a Small-Scale Wind Generation System with Variable Loads and Wind Speeds. *Symmetry* **2023**, *15*, 369. [CrossRef]

6. Rawa, M.; Mohamed, H.N.; Al-Turki, Y.; Sedraoui, K.; Ibrahim, A.M. Dynamic voltage restorer under different grid operating conditions for power quality enhancement with the deployment of a PI controller using gorilla troops algorithm. *Ain Shams Eng. J.* **2023**, *14*, 102172. [CrossRef]

7. Elmetwaly, A.H.; Younis, R.A.; Abdelsalam, A.A.; Omar, A.I.; Mahmoud, M.M.; Alsaif, F.; El-Shahat, A.; Saad, M.A. Modeling, Simulation, and Experimental Validation of a Novel MPPT for Hybrid Renewable Sources Integrated with UPQC: An Application of Jellyfish Search Optimizer. *Sustainability* **2023**, *15*, 5209. [CrossRef]

8. Soomro, A.H.; Larik, A.S.; Mahar, M.A.; Sahito, A.A. Simulation-Based Comparison of PID with Sliding Mode Controller for Matrix-Converter-Based Dynamic Voltage Restorer under Variation of System Parameters to Alleviate the Voltage Sag in Distribution System. *Sustainability* **2022**, *14*, 14661. [CrossRef]
9. Mohsen, S.E.A.; Ibrahim, A.M.; Elbarbary, Z.M.S.; Omar, A.I. Unified Power Quality Conditioner Using Recent Optimization Technique: A Case Study in Cairo Airport, Egypt. *Sustainability* **2023**, *15*, 3710. [CrossRef]

10. Mahmoud, M.M. Improved current control loops in wind side converter with the support of wild horse optimizer for enhancing the dynamic performance of PMSG-based wind generation system. *Int. J. Model. Simul.* **2022**. [CrossRef]

11. Bharatee, A.; Ray, P.K.; Subudhi, B.; Ghosh, A. Power Management Strategies in a Hybrid Energy Storage System Integrated AC/DC Microgrid: A Review. *Energies* **2022**, *15*, 7176. [CrossRef]

12. Kumar, C.; Lakshmanan, M.; Jaisiva, S.; Prabaakaran, K.; Barua, S.; Fayek, H.H. Reactive power control in renewable rich power grids: A literature review. *IET Renew. Power Gener.* **2023**, *17*, 1303–1327. [CrossRef]

13. Mahmoud, M.M.; Atia, B.S.; Esmail, Y.M.; Bajaj, M.; Mbadjoun Wapet, D.E.; Ratib, M.K.; Hossain, B.; AboRas, K.M.; Abdel-Rahim, A.M. Evaluation and Comparison of Different Methods for Improving Fault Ride-Through Capability in Grid-Tied Permanent Magnet Synchronous Wind Generators. *Int. Trans. Electr. Energy Syst.* **2023**, *2023*, 7717070. [CrossRef]

14. Benedetti, D.; Agnelli, J.; Gagliardi, A.; Dini, P.; Saponara, S. Design of an Off-Grid Photovoltaic Carport for a Full Electric Vehicle Recharging. In Proceedings of the 2020 IEEE International Conference on Environment and Electrical Engineering and 2020 IEEE Industrial and Commercial Power Systems Europe (EEEIC/I&CPS Europe), Madrid, Spain, 9–12 June 2020. [CrossRef]

15. Mishra, S.K.; Bhuyan, S.K.; Rathod, P.V. Performance analysis of a hybrid renewable generation system connected to grid in the presence of DVR. *Ain Shams Eng. J.* **2022**, *13*, 101700. [CrossRef]

16. Ardjoun, S.A.E.M.; Denaï, M.; Chafouk, H. A Robust Control Approach for Frequency Support Capability of Grid-Tie Photovoltaic Systems. *J. Sol. Energy Eng.* **2023**, *145*, 021009. [CrossRef]

17. Mahmoud, M.M.; Esmail, Y.M.; Atia, B.S.; Kamel, O.M.; AboRas, K.M.; Bajaj, M.; Hussain Bukhari, S.S.; Mbadjoun Wapet, D.E. Voltage Quality Enhancement of Low-Voltage Smart Distribution System Using Robust and Optimized DVR Controllers: Application of the Harris Hawks Algorithm. *Int. Trans. Electr. Energy Syst.* **2022**, *2022*, 4242996. [CrossRef]

18. Ewais, A.M.; Elnoby, A.M.; Mohamed, T.H.; Mahmoud, M.M.; Qudaih, Y.; Hassan, A.M. Adaptive frequency control in smart microgrid using controlled loads supported by real-time implementation. *PLoS ONE* **2023**, *18*, e0283561. [CrossRef] [PubMed]

19. Prasad, D.; Dhanamjayulu, C. Solar PV integrated dynamic voltage restorer for enhancing the power quality under distorted grid conditions. *Electr. Power Syst. Res.* **2022**, *213*, 108746. [CrossRef]

20. Kamel, O.M.; Diab, A.A.Z.; Mahmoud, M.M.; Al-Sumaiti, A.S.; Sultan, H.M. Performance Enhancement of an Islanded Microgrid with the Support of Electrical Vehicle and STATCOM Systems. *Energies* **2023**, *16*, 1577. [CrossRef]

21. Setty, S.N.; Shashikala, M.S.D.; Veeramanju, K.T. Hybrid control mechanism-based DVR for mitigation of voltage sag and swell in solar PV-based IEEE 33 bus system. *Int. J. Power Electron. Drive Syst.* **2023**, *14*, 209–221. [CrossRef]

22. Sarker, K.; Chatterjee, D.; Goswami, S.K. Grid integration of photovoltaic and wind based hybrid distributed generation system with low harmonic injection and power quality improvement using biogeography-based optimization. *Renew. Energy Focus* **2017**, *22–23*, 38–56. [CrossRef]

23. Arya, S.R.; Mistry, K.D.; Kumar, P. Least Mean Mixed Norm Square/Fourth Adaptive Algorithm with Optimized FOPID Gains for Voltage Power Quality Mitigation. *IEEE J. Emerg. Sel. Top. Power Electron.* **2023**, *11*, 2632–2640. [CrossRef]

24. Reddy, S.G.; Ganapathy, S.; Manikandan, M. Power quality improvement in distribution system based on dynamic voltage restorer using PI tuned fuzzy logic controller. *Electr. Eng. Electromechanics* **2022**, *2022*, 44–50. [CrossRef]

25. Mortazavi, S.M.; Beiranvand, R. A Direct AC-AC Switched-Capacitor Converter with Input-Series Output-Parallel and In-Phase/Out-of-Phase Capabilities. *IEEE Trans. Power Electron.* **2023**. early access. [CrossRef]

26. Salem, W.A.A.; Ibrahim, W.G.; Abdelsadek, A.M.; Nafeh, A.A. Grid connected photovoltaic system impression on power quality of low voltage distribution system. *Cogent Eng.* **2022**, *9*, 2044576. [CrossRef]

27. Geleta, D.K.; Manshahia, M.S. A Hybrid of Grey Wolf Optimization and Genetic Algorithm for Optimization of Hybrid Wind and Solar Renewable Energy System. *J. Oper. Res. Soc. China* **2022**, *10*, 749–762. [CrossRef]

28. Gupta, A. Power quality evaluation of photovoltaic grid interfaced cascaded H-bridge nine-level multilevel inverter systems using D-STATCOM and UPQC. *Energy* **2022**, *238*, 121707. [CrossRef]

29. Bouhouta, A.; Moulahoum, S.; Kabache, N. A novel combined Fuzzy-M5P model tree control applied to grid-tied PV system with power quality consideration. *Energy Sources Part A Recover. Util. Environ. Eff.* **2022**, *44*, 3125–3147. [CrossRef]

30. Rajesh, P.; Shajin, F.H.; Rajani, B.; Sharma, D. An optimal hybrid control scheme to achieve power quality enhancement in micro grid connected system. *Int. J. Numer. Model. Electron. Netw. Devices Fields* **2022**, *35*, e3019. [CrossRef]

31. Lenka, S.; Sinha, P.; Jena, C. A Review on Power Quality Improvement of Grid Connected PV with Lithium-Ion and Super Capacitor Based Hybrid Energy Storage System Using a New Control Strategy. In *Renewable Energy Optimization, Planning and Control*; Springer: Singapore, 2022; pp. 1–10. [CrossRef]

32. Jasim, A.; Mahmood, D.; Ahmed, O. Power Quality Examination for (250KW) PV Grid-tied Connected at Various Irradiance Levels. *Eng. Technol. J.* **2022**, *40*, 110–119. [CrossRef]

33. Yarlagadda, V.; Lakshminarayana, G.; Ambati, G.; Karthika, G.A. FFT Analysis and Power Quality Improvement in Grid Connected Solar Power Plant with MPPT Algorithm. In *Innovations in Electrical and Electronic Engineering*; Lecture Notes in Electrical Engineering; Springer: Singapore, 2022; Volume 893 LNEE, pp. 30–43. [CrossRef]

34. Mahmoud, M.M.; Atia, B.S.; Abdelaziz, A.Y.; Aldin, N.A.N. Dynamic Performance Assessment of PMSG and DFIG-Based WECS with the Support of Manta Ray Foraging Optimizer Considering MPPT, Pitch Control, and FRT Capability Issues. *Processe* **2022**, *12*, 2723. [CrossRef]
35. Mahmoud, M.M.; Atia, B.S.; Esmail, Y.M.; Ardjoun, S.A.E.M.; Anwer, N.; Omar, A.I.; Alsaif, F.; Alsulamy, S.; Mohamed, S.A. Application of Whale Optimization Algorithm Based FOPI Controllers for STATCOM and UPQC to Mitigate Harmonics and Voltage Instability in Modern Distribution Power Grids. *Axioms* **2023**, *12*, 420. [CrossRef]

36. Selvaraj, M.; Kannan, E. Enhancing power in a grid-connected system using unified power quality conditioner with black widow optimization-based floating photovoltaic system. *Int. J. Energy Res.* **2022**, *46*, 3095–3114. [CrossRef]

37. Mahmoud, M.M.; Salama, H.S.; Bajaj, M.; Aly, M.M.; Vokony, I.; Bukhari, S.S.; Wapet, D.E.; Abdel-Rahim, A.M. Integration of Wind Systems with SVC and STATCOM during Various Events to Achieve FRT Capability and Voltage Stability: Towards the Reliability of Modern Power Systems. *Int. J. Energy Res.* **2023**, *2023*, 8738460. [CrossRef]

38. Badoni, M.; Singh, A.; Singh, A.K.; Saxena, H.; Kumar, R. Grid tied solar PV system with power quality enhancement using adaptive generalized maximum Versoria criterion. *CSEE J. Power Energy Syst.* **2021**, *9*, 722–732. [CrossRef]

39. Riad, A.J.; Hasanien, H.M.; Turky, R.A.; Yakout, A.H. Identifying the PEM Fuel Cell Parameters Using Artificial Rabbits Optimization Algorithm. *Sustainability* **2023**, *15*, 4625. [CrossRef]

40. Molla, E.M.; Kuo, C.C. Voltage Sag Enhancement of Grid Connected Hybrid PV-Wind Power System Using Battery and SMES Based Dynamic Voltage Restorer. *IEEE Access* **2020**, *8*, 130003–130013. [CrossRef]

41. Trabelsi, M.; Komurcugil, H.; Bayhan, S.; Abu-Rub, H. An Effective Transformerless PUC7-Based Dynamic Voltage Restorer Using Model Predictive Control. *Sustainability* **2023**, *15*, 3041. [CrossRef]

42. Tu, C.; Guo, Q.; Jiang, F.; Wang, H.; Shuai, Z. A Comprehensive Study to Mitigate Voltage Sags and Phase Jumps Using a Dynamic Voltage Restorer. *IEEE J. Emerg. Sel. Top. Power Electron.* **2020**, *8*, 1490–1502. [CrossRef]

43. Yáñez-Campos, S.C.; Cerda-Villafaña, G.; Lozano-García, J.M. A two-grid interline dynamic voltage restorer based on two three-phase input matrix converters. *Appl. Sci.* **2021**, *11*, 561. [CrossRef]

44. Zheng, Z.; Xiao, X.; Huang, C.; Li, C. Enhancing transient voltage quality in a distribution power system with SMES-Based DVR and SFCL. *IEEE Trans. Appl. Supercond.* **2019**, *29*, 5400405. [CrossRef]

45. Jiang, F.; Tu, C.; Guo, Q.; Shuai, Z.; He, X.; He, J. Dual-functional dynamic voltage restorer to limit fault current. *IEEE Trans. Ind. Electron.* **2019**, *66*, 5300–5309. [CrossRef]

46. Moreno, F.B.; Palacios, J.E.; Posada, J.; Lopez, J.A. Implementation and evaluation of a new DVR topology with AC link for series compensation. *Electr. Power Syst. Res.* **2020**, *181*, 106184. [CrossRef]

47. Mosaad, M.I.; El-Raouf, M.O.A.; Al-Ahmar, M.A.; Bendary, F.M. Optimal PI controller of DVR to enhance the performance of hybrid power system feeding a remote area in Egypt. *Sustain. Cities Soc.* **2019**, *47*, 101469. [CrossRef]

48. Wang, L.; Cao, Q.; Zhang, Z.; Mirjalili, S.; Zhao, W. Artificial rabbits optimization: A new bio-inspired meta-heuristic algorithm for solving engineering optimization problems. *Eng. Appl. Artif. Intell.* **2022**, *114*, 105082. [CrossRef]

49. Rao, C.R.; Balamurugan, R.; Alla, R.K.R. Artificial Rabbits Optimization Based Optimal Allocation of Solar Photovoltaic Systems and Passive Power Filters in Radial Distribution Network for Power Quality Improvement. *Int. J. Intell. Eng. Syst.* **2023**, *16*, 100–109. [CrossRef]

50. Xiao, D. Frequency conversion control of photovoltaic grid-connected inverter based on LCL filtering. *Int. J. Low-Carbon Technol.* **2021**, *16*, 1341–1347. [CrossRef]

51. Venkateswari, R.; Rajasekar, N. Review on parameter estimation techniques of solar photovoltaic systems. *Int. Trans. Electr. Energy Syst.* **2021**, *31*, e13113. [CrossRef]

52. Saxena, N.K.; Gupta, A.R.; Mekhilef, S.; Gao, W.D.; Kumar, A.; Gupta, V.; Netto, R.S.; Kanungo, A. Firefly Algorithm based LCL filtered grid-tied STATCOM design for reactive power compensation in SCIG based Micro-grid. *Energy Rep.* **2022**, *8*, 723–740. [CrossRef]

53. Nam, N.N.; Nguyen, N.D.; Yoon, C.; Choi, M.; Lee, Y.I. Voltage Sensorless Model Predictive Control for a Grid-Connected Inverter with LCL Filter. *IEEE Trans. Ind. Electron.* **2022**, *69*, 740–751. [CrossRef]

54. Mohamadian, S.; Pazoki, M.; Hamidi, R.J. LCL Filter Design for Single-Phase Grid-Connected PV Inverters with Double-frequency Unipolar PWM Switching. In Proceedings of the IEEE Power and Energy Society General Meeting, Washington, DC, USA, 26–29 July 2021; Volume 2021. [CrossRef]

55. Ibrahim, N.F.; Dessouky, S.S.; Attia, H.E.M.; Alaboudy, A.H.K. *Protection of Wind Turbine Generators Using Microcontroller-Based Applications*; Green Energy and Technology; Springer: Cham, Switzerland, 2022; pp. 1–117.

56. Negi, G.; Kumar, A.; Pant, S.; Ram, M. GWO: A review and applications. *Int. J. Syst. Assur. Eng. Manag.* **2021**, *12*, 1–8. [CrossRef]

57. DaneshvarDehnavi, S.; Negri, C.; Bayne, S.; Giesselmann, M. Dynamic Voltage Restorer (DVR) with a novel robust control strategy. *ISA Trans.* **2022**, *121*, 316–326. [CrossRef] [PubMed]

58. Zhou, P.; Hu, X.; Zhu, Z.; Ma, J. What is the most suitable Lyapunov function? *Chaos Solitons Fractals* **2021**, *150*, 111154. [CrossRef]

59. Fernandez-Comesana, P.; Freijedo, F.D.; Doval-Gandoy, J.; Lopez, O.; Yepes, A.G.; Malvar, J. Mitigation of voltage sags, imbalances and harmonics in sensitive industrial loads by means of a series power line conditioner. *Electr. Power Syst. Res.* **2012**, *84*, 20–30. [CrossRef]
60. Deshpande, V.S.; Phadke, S.B. Control of uncertain nonlinear systems using an uncertainty and disturbance estimator. *J. Dyn. Syst. Meas. Control. Trans. ASME* **2012**, *134*, 024501. [CrossRef]

61. Wang, Y.; Ren, B.; Zhong, Q.C. Robust Power Flow Control of Grid-Connected Inverters. *IEEE Trans. Ind. Electron.* **2016**, *63*, 6887–6897. [CrossRef]

**Disclaimer/Publisher's Note:** The statements, opinions and data contained in all publications are solely those of the individual author(s) and contributor(s) and not of MDPI and/or the editor(s). MDPI and/or the editor(s) disclaim responsibility for any injury to people or property resulting from any ideas, methods, instructions or products referred to in the content.