<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE article PUBLIC "-//NLM//DTD Journal Publishing DTD v2.3 20070202//EN" "journalpublishing.dtd">
<article article-type="research-article" dtd-version="2.3" xml:lang="EN" xmlns:mml="http://www.w3.org/1998/Math/MathML" xmlns:xlink="http://www.w3.org/1999/xlink">
<front>
<journal-meta>
<journal-id journal-id-type="publisher-id">Front. Energy Res.</journal-id>
<journal-title>Frontiers in Energy Research</journal-title>
<abbrev-journal-title abbrev-type="pubmed">Front. Energy Res.</abbrev-journal-title>
<issn pub-type="epub">2296-598X</issn>
<publisher>
<publisher-name>Frontiers Media S.A.</publisher-name>
</publisher>
</journal-meta>
<article-meta>
<article-id pub-id-type="publisher-id">1387908</article-id>
<article-id pub-id-type="doi">10.3389/fenrg.2024.1387908</article-id>
<article-categories>
<subj-group subj-group-type="heading">
<subject>Energy Research</subject>
<subj-group>
<subject>Original Research</subject>
</subj-group>
</subj-group>
</article-categories>
<title-group>
<article-title>Ramp-rate control for power quality improvement of renewable grid-integrated microgrid with hybrid energy storage system</article-title>
<alt-title alt-title-type="left-running-head">Brahmendra Kumar et al.</alt-title>
<alt-title alt-title-type="right-running-head">
<ext-link ext-link-type="uri" xlink:href="https://doi.org/10.3389/fenrg.2024.1387908">10.3389/fenrg.2024.1387908</ext-link>
</alt-title>
</title-group>
<contrib-group>
<contrib contrib-type="author">
<name>
<surname>Brahmendra Kumar</surname>
<given-names>G. V.</given-names>
</name>
<xref ref-type="aff" rid="aff1">
<sup>1</sup>
</xref>
<uri xlink:href="https://loop.frontiersin.org/people/1888400/overview"/>
<role content-type="https://credit.niso.org/contributor-roles/conceptualization/"/>
<role content-type="https://credit.niso.org/contributor-roles/data-curation/"/>
<role content-type="https://credit.niso.org/contributor-roles/formal-analysis/"/>
<role content-type="https://credit.niso.org/contributor-roles/methodology/"/>
<role content-type="https://credit.niso.org/contributor-roles/resources/"/>
<role content-type="https://credit.niso.org/contributor-roles/software/"/>
<role content-type="https://credit.niso.org/contributor-roles/validation/"/>
<role content-type="https://credit.niso.org/contributor-roles/writing-original-draft/"/>
<role content-type="https://credit.niso.org/contributor-roles/Writing - review &#x26; editing/"/>
</contrib>
<contrib contrib-type="author">
<name>
<surname>Palanisamy</surname>
<given-names>K.</given-names>
</name>
<xref ref-type="aff" rid="aff1">
<sup>1</sup>
</xref>
<uri xlink:href="https://loop.frontiersin.org/people/1223139/overview"/>
<role content-type="https://credit.niso.org/contributor-roles/investigation/"/>
<role content-type="https://credit.niso.org/contributor-roles/project-administration/"/>
<role content-type="https://credit.niso.org/contributor-roles/supervision/"/>
<role content-type="https://credit.niso.org/contributor-roles/validation/"/>
<role content-type="https://credit.niso.org/contributor-roles/visualization/"/>
<role content-type="https://credit.niso.org/contributor-roles/Writing - review &#x26; editing/"/>
</contrib>
<contrib contrib-type="author" corresp="yes">
<name>
<surname>De Tuglie</surname>
<given-names>Enrico</given-names>
</name>
<xref ref-type="aff" rid="aff2">
<sup>2</sup>
</xref>
<xref ref-type="corresp" rid="c001">&#x2a;</xref>
<role content-type="https://credit.niso.org/contributor-roles/funding-acquisition/"/>
<role content-type="https://credit.niso.org/contributor-roles/investigation/"/>
<role content-type="https://credit.niso.org/contributor-roles/project-administration/"/>
<role content-type="https://credit.niso.org/contributor-roles/supervision/"/>
<role content-type="https://credit.niso.org/contributor-roles/validation/"/>
<role content-type="https://credit.niso.org/contributor-roles/visualization/"/>
<role content-type="https://credit.niso.org/contributor-roles/Writing - review &#x26; editing/"/>
</contrib>
</contrib-group>
<aff id="aff1">
<sup>1</sup>
<institution>School of Electrical Engineering</institution>, <institution>Vellore Institute of Technology</institution>, <addr-line>Vellore</addr-line>, <country>India</country>
</aff>
<aff id="aff2">
<sup>2</sup>
<institution>Department of Electrical Information Engineering</institution>, <institution>Polytechnic University of Bari</institution>, <addr-line>Bari</addr-line>, <country>Italy</country>
</aff>
<author-notes>
<fn fn-type="edited-by">
<p>
<bold>Edited by:</bold> <ext-link ext-link-type="uri" xlink:href="https://loop.frontiersin.org/people/298924/overview">Sudhakar Babu Thanikanti</ext-link>, Chaitanya Bharathi Institute of Technology, India</p>
</fn>
<fn fn-type="edited-by">
<p>
<bold>Reviewed by:</bold> <ext-link ext-link-type="uri" xlink:href="https://loop.frontiersin.org/people/2699725/overview">T. Yuvaraj</ext-link>, Chennai Institute of Technology, India</p>
<p>
<ext-link ext-link-type="uri" xlink:href="https://loop.frontiersin.org/people/1792874/overview">Ali Q. Al-shetwi</ext-link>, Fahd bin Sultan University, Saudi Arabia</p>
<p>
<ext-link ext-link-type="uri" xlink:href="https://loop.frontiersin.org/people/2700097/overview">P. Balamurugan</ext-link>, Loyola Institute of Technology, India</p>
</fn>
<corresp id="c001">&#x2a;Correspondence: Enrico De Tuglie, <email>enricoelio.detuglie@poliba.it</email>
</corresp>
</author-notes>
<pub-date pub-type="epub">
<day>13</day>
<month>06</month>
<year>2024</year>
</pub-date>
<pub-date pub-type="collection">
<year>2024</year>
</pub-date>
<volume>12</volume>
<elocation-id>1387908</elocation-id>
<history>
<date date-type="received">
<day>18</day>
<month>02</month>
<year>2024</year>
</date>
<date date-type="accepted">
<day>29</day>
<month>04</month>
<year>2024</year>
</date>
</history>
<permissions>
<copyright-statement>Copyright &#xa9; 2024 Brahmendra Kumar, Palanisamy and De Tuglie.</copyright-statement>
<copyright-year>2024</copyright-year>
<copyright-holder>Brahmendra Kumar, Palanisamy and De Tuglie</copyright-holder>
<license xlink:href="http://creativecommons.org/licenses/by/4.0/">
<p>This is an open-access article distributed under the terms of the Creative Commons Attribution License (CC BY). The use, distribution or reproduction in other forums is permitted, provided the original author(s) and the copyright owner(s) are credited and that the original publication in this journal is cited, in accordance with accepted academic practice. No use, distribution or reproduction is permitted which does not comply with these terms.</p>
</license>
</permissions>
<abstract>
<p>This paper demonstrates an enhancement of power quality for a photovoltaic (PV) system connected to the grid with a hybrid energy storage system (HESS). The proposed system utilizes a ramp-rate control (RRC) strategy to limit severe fluctuations in the PV power output. Battery storage is integrated to store surplus energy generated by the PV system and is used for continuous power application. A high-power density device, known as a supercapacitor (SC), is employed to mitigate transient fluctuations in the battery. The proposed system facilitates smooth PV power generation, stabilizes the DC bus voltage (V<sub>DC</sub>), and eliminates source current harmonics induced by non-linear loads. The Shunt Active Power Filter (SAPF) discussed in this paper serves two primary purposes. Firstly, it acts as a reactive power buffer, smoothing out fluctuations and reducing current harmonic distortions. Secondly, it enables active power injection into the grid, utilizing a specific renewable solar PV source. The efficiency of the modeled compensation system is demonstrated by the sinusoidal shape of the current and the compensation of reactive power (RPC). The targeted system showcases the effectiveness of the current setup by exhibiting low total harmonic distortion (THD). The multifunctional features of the proposed system were implemented using the MATLAB/Simulink software, and the results were validated using an OP5700 Hardware-in-the-Loop (HIL) test bench. This integration of distributed power generation capabilities not only enhances the overall power quality but also improves the efficient utilization of renewable energy resources (RESs).</p>
</abstract>
<kwd-group>
<kwd>PV system</kwd>
<kwd>hybrid energy storage system</kwd>
<kwd>ramp-rate control</kwd>
<kwd>shunt active power filter</kwd>
<kwd>harmonics</kwd>
<kwd>power quality</kwd>
</kwd-group>
<custom-meta-wrap>
<custom-meta>
<meta-name>section-at-acceptance</meta-name>
<meta-value>Solar Energy</meta-value>
</custom-meta>
</custom-meta-wrap>
</article-meta>
</front>
<body>
<sec id="s1">
<title>1 Introduction</title>
<p>Renewable energy is a rapidly growing part of electricity generation because it is non-polluting and environmentally friendly. There is a global trend toward this energy source (<xref ref-type="bibr" rid="B8">Brahmendra Kumar and Palanisamy, 2019</xref>; <xref ref-type="bibr" rid="B22">Kumar and Palanisamy, 2023</xref>). Such electricity is used locally through conventional means, which are often not used if the local load is not strengthened. Integration of distributed RESs has recently gained interest in research due to the significance of the integration practices, particularly in terms of the impact on electrical power networks. Multiple DG sources can be linked together using the microgrid (MG). A MG is formed by the interconnection of distribution resources, ESSs, and loads. Distributed generation (DG) systems have the potential to improve distribution, but they also pose some risks, such as power imbalance, voltage variation, and so on. Conventional solar power utilization makes use of stand-alone PV systems, which supply energy directly. In grid-connected renewable systems, power is injected into the grid using Voltage Source Converter (VSCs) and a DC&#x2013;DC converter. The renewable integration methods face problems in addition to unused power generated during the absence/reduction of load (<xref ref-type="bibr" rid="B18">Khan et al., 2022</xref>). The efficiency of RE will be impaired due to their high initial costs and seasonality. In order to resolve this problem, RESs interface power converters can be designed for multiple operations, such as correcting the system power factor, suppressing voltage fluctuations, and reducing current harmonics (<xref ref-type="bibr" rid="B19">Kumar et al., 2019</xref>; <xref ref-type="bibr" rid="B24">Kumar et al., 2021</xref>). When integrating RESs with the electric grid, the interface device between the sources and the grid plays a critical role as it can generate harmonic components that affect power quality (<xref ref-type="bibr" rid="B28">Panigrahi and Subudhi, 2017</xref>). To address this issue and optimize the utilization of RESs, a VSI can be constructed to inject active power from the RES along with ESS. HESSs are indispensable in modern MGs due to the intermittent and fluctuating nature of RESs and loads. In modern MGs, these HESS components are necessary for managing the intermittent behavior of RESs and loads. It also contributes to enhancing the power quality of the grid (<xref ref-type="bibr" rid="B17">Jasim et al., 2023</xref>).</p>
<p>The use of non-linear power electronic-based loads and switch mode power supplies has become more popular in present years. Consequently, the quality of delivered power has been negatively affected, leading to harmonic contamination and reactive power components that require compensation. Filters are increasingly being employed to mitigate harmonics and reactive power effects (<xref ref-type="bibr" rid="B37">Tareen and Mekhielf, 2018</xref>). The most common method of compensating for existing harmonics and reactive power is the use of passive filters, which are less expensive (<xref ref-type="bibr" rid="B2">Alfaris and Bhattacharya, 2019</xref>). The primary issue affecting power quality is the harmonic current and voltage profile. To address these concerns, the most commonly utilized device is an active power filter (APF) for shunt compensation. In (<xref ref-type="bibr" rid="B26">Kuznetsov et al., 2022</xref>; <xref ref-type="bibr" rid="B38">Wang et al., 2022</xref>), these authors propose a method based on a shunt APF that simultaneously addresses issues such as power factor, current imbalance, and current harmonics. If the PV system is associated to the grid, surplus energy can be fed into the grid once the maximum demand has been met. Consequently, when demand surpasses supply, extra energy is drawn from the grid. Therefore, PV energy functions as an additional power source (<xref ref-type="bibr" rid="B29">Parchure et al., 2017</xref>).</p>
<p>The use of sensitive electronic circuits in industries and homes, combined with the challenges posed by privatization and electric power systems, constitutes one of the major difficulties in the electrical industry. Harmonics lead to source voltage distortion and energy loss resulting from undesired current flow into the source. They can also lead to the failure of relays, switches, and other components. Therefore, various techniques must be available to mitigate harmonic effects (<xref ref-type="bibr" rid="B11">Devassy and Singh, 2019</xref>). The shunt APF generates equal magnitude and phase opposite harmonics of non-linear loads to cancel out the harmonic currents within the system. It is the most well-known method and is equipped with power electronic devices that have a fast response time and operate with flexibility. In (<xref ref-type="bibr" rid="B6">Beniwal et al., 2018</xref>), a shunt APF is used to control and operate a PV-battery-grid-connected system. The major drawback of the system is that sudden changes in load or source can stress the battery. Hence, the SC device is used to remove transient fluctuation in battery current, thereby extending the battery lifetime (<xref ref-type="bibr" rid="B21">Kumar and Palanisamy, 2020</xref>).</p>
<p>The control methods proposed in (<xref ref-type="bibr" rid="B10">Devassy and Singh, 2018</xref>; <xref ref-type="bibr" rid="B40">Zahedmanesh et al., 2020</xref>; <xref ref-type="bibr" rid="B34">Ray et al., 2022</xref>; <xref ref-type="bibr" rid="B30">Patel et al., 2023</xref>) pertain to the integration of shunt APF with solar PV. These methods offer many advantages, such as improving grid power quality and securing the grid-side disturbances of critical loads. However, they do not include ESS support for fluctuating PV power. Nonetheless, the combination of batteries and RESs allows systems to operate independently when the grid is unavailable and provides safe and continuous power to critical loads. The incorporation of the battery enables RES to supply stable power to the grid even when the PV array fluctuates (<xref ref-type="bibr" rid="B35">Saxena et al., 2017</xref>; <xref ref-type="bibr" rid="B27">Liang et al., 2023</xref>). However, the authors do not describe the operation and importance of the SC. The SC increases battery lifetime and system performance. Various active power topologies are combined with nonlinear loads to meet power quality requirements. Active filters with hybrid, series, and shunt topologies can provide flexible and high-quality offset for voltage and current distortions (<xref ref-type="bibr" rid="B12">Echalih et al., 2022</xref>). To improve the application of modern filtering methods, literature (<xref ref-type="bibr" rid="B32">Rahmani et al., 2015</xref>) suggests combining active filters with RESs such as wind and solar. Harmonic mitigation and the performance of APFs are critical to maintaining a constant DC link voltage (V<sub>DC</sub>). Consequently, numerous control approaches are discussed in the literature (<xref ref-type="bibr" rid="B5">Benchouia et al., 2015</xref>).</p>
<p>A PV-based D-STATCOM utilizes the SRF theory to improve power quality in (<xref ref-type="bibr" rid="B14">Golla et al., 2023</xref>). It enables better control of RPC, reduces voltage fluctuations, and optimizes solar power utilization. To compensate for reactive power, reduce harmonic distortions, and obtain maximum power from the PV module, a single-phase grid associating PV with an integrated SAPF is proposed in (<xref ref-type="bibr" rid="B36">Sharma et al., 2022</xref>). In (<xref ref-type="bibr" rid="B31">Pradeep Reddy et al., 2022</xref>), the discussion of the UPQC integrated PV system highlights numerous advantages, including improved grid power quality, protection of critical loads from grid-side disruptions, and increased fault ride-through converter capability during transients. According to a literature review, PV integrated SAPF offers several advantages over traditional methods, such as harmonic removal, stable V<sub>DC</sub>, and RPC.</p>
<p>The above-mentioned papers discuss power quality improvement in a renewable-grid integrated system based on the shunt APF capability. However, no control methods are discussed to mitigate changes in fluctuating PV power. Consequently, the size and cost of the ESS can increase. Additionally, sudden changes in the battery system can reduce the battery&#x2019;s lifetime. The proposed work presented by the SC aims to mitigate sudden variations in the battery and thus increase the battery&#x2019;s lifetime.</p>
<p>
<xref ref-type="fig" rid="F1">Figure 1</xref> depicts a shunt-connected PV converter with a non-linear load that can operate in both shunt APF mode and real power injection mode. The SAPF is to be associated in parallel with the non-linear load, and the distribution network is to be linked to the point of common coupling (PCC). The output voltage value of the PV system can be adjusted using a DC/DC converter, and the p-q theory is employed to compute the current reference of the shunt APF. Furthermore, the inverter is utilized as an APF to compensate for reactive power and non-linear load harmonics (<xref ref-type="bibr" rid="B1">Abdullah et al., 2016</xref>). The PV interactive shunt APF system performs all of its functions during the day in intense sunlight. Power is required by the load at night, which is obtained from the distribution network when there is no sunlight. In contrast, the inverter system provides RPC, and harmonic currents are filtered (<xref ref-type="bibr" rid="B9">Dashtdar et al., 2022</xref>). The key contributions of this work are as follows:<list list-type="simple">
<list-item>
<p>&#x2022; The shunt APF in this paper provides a reactive power buffer and eliminates current harmonic distortions. Additionally, it also injects active power into the grid from a given renewable solar PV source. It incorporates distributed power generation functionality while also improving power quality.</p>
</list-item>
<list-item>
<p>&#x2022; The system remains stable under various circumstances, including changes in irradiation and load variations. Consequently, the V<sub>DC</sub> is maintained at a constant level even with sudden changes in load.</p>
</list-item>
<list-item>
<p>&#x2022; The performance of the solar PV system is affected by insolation, time of the day, and temperature. System reliability is increased by the RRC, which mitigates PV power fluctuations.</p>
</list-item>
<list-item>
<p>&#x2022; The battery-based ESS (BESS) is incorporated to provide continuous power flow into the system. The battery system is stressed as a result of the abrupt changes in battery power. Hence, the SC is used to respond to transients in the battery system.</p>
</list-item>
<list-item>
<p>&#x2022; The combination of battery and SC devices improves the functionality of a grid-integrated system. The PV-HESS-grid network system has an inherent shunt APF capability and maintains the grid voltage and current THD within the IEEE-519 standard limits.</p>
</list-item>
</list>
</p>
<fig id="F1" position="float">
<label>FIGURE 1</label>
<caption>
<p>Shunt converter fed with a PV system.</p>
</caption>
<graphic xlink:href="fenrg-12-1387908-g001.tif"/>
</fig>
<p>This paper is structured as follows: <xref ref-type="sec" rid="s2">Section 2</xref> outlines the methodology, which includes subsections on the configuration of the SAPF with a PV system, the configuration of the proposed method, and the control scheme of the proposed system. In <xref ref-type="sec" rid="s3">Section 3</xref>, the results and discussion are provided, along with the implementation of the Hardware-in-the-Loop (HIL) system. The simulation and HIL experimental test-bench results of the proposed control scheme, both with and without a controller, are also presented in this section. Finally, <xref ref-type="sec" rid="s4">Section 4</xref> contains the conclusions.</p>
</sec>
<sec sec-type="methods" id="s2">
<title>2 Methodology</title>
<sec id="s2-1">
<title>2.1 Shunt APF configuration</title>
<p>A shunt APF is a converter that combines the switching network as well as the filter components. <xref ref-type="fig" rid="F2">Figure 2</xref> depicts the model circuit for the shunt APF configuration. The high-frequency switch power converter is generally used to control the desired current flow between the DC side and the AC side. The power converter incorporates semiconductor switches as well as storage devices. The typical power converter is basically a VSI, which is low in cost, low in loss, and easy to implement (<xref ref-type="bibr" rid="B13">Fabricio et al., 2018</xref>; <xref ref-type="bibr" rid="B25">Kumar and Bansal, 2019</xref>). The power filter&#x2019;s structure is based on the VSI control technique, which includes a DC-storage capacitor and the connection of the inverter output to the non-linear load. The anti-parallel diodes are connected to the IGBTs in each of the switches to allow the flow of current in either direction.</p>
<fig id="F2" position="float">
<label>FIGURE 2</label>
<caption>
<p>Model circuit for shunt APF.</p>
</caption>
<graphic xlink:href="fenrg-12-1387908-g002.tif"/>
</fig>
<p>The current control scheme is used to control the power flow in the VSI. To transfer active power from RES to the grid and loads, a current-controlled VSI is used. The AC side of the VSI is connected to the grid via the PCC and the DC side is connected to the PV via the HESS. The current-controlled VSI is used to shunt APF to enhance the power quality of the electrical system. The power converter is used to remove current harmonics and compensate for reactive power required by non-linear loads. As a result, grid currents become sinusoidal with a unity power factor. The shunt APF can detect the harmonic currents due to the non-linear load. Then it injects an equal magnitude current in the opposite direction (<xref ref-type="bibr" rid="B16">Hoon et al., 2018</xref>), called a compensation current (I<sub>C</sub>). It decreases harmonics in load currents (I<sub>L</sub>) caused by non-linear loads.</p>
</sec>
<sec id="s2-2">
<title>2.2 Configuration of the proposed system</title>
<p>The structure of the system consists of a PV system, BESS, SC, VSI, non-linear load, ripple filter, and DC-bus capacitor. The grid-connected PV system with a HESS configuration is shown in <xref ref-type="fig" rid="F3">Figure 3</xref>. The PV-SAPF system is connected to a three-phase, four-wire power supply. It is designed and simulated for a three-phase grid-integrated PV system and with loads at the PCC. The proposed method aims to provide better compensation and a simpler structure while reducing the number of three-phase power switching devices. The system must extract grid voltage and load current fundamentals.</p>
<fig id="F3" position="float">
<label>FIGURE 3</label>
<caption>
<p>Configuration of a renewable-grid connected MG with HESS.</p>
</caption>
<graphic xlink:href="fenrg-12-1387908-g003.tif"/>
</fig>
<p>On the DC grid side, a PV system is associated with an interleaved boost converter (IBC) to obtain peak power from the PV system, and HESS is utilized to balance average and transient power flow. The IBC is used in the system to minimize current ripples, conduction losses, and switch voltage stress. Hence, the system efficiency is improved by saving energy (<xref ref-type="bibr" rid="B20">Kumar and Palanisamy, 2019</xref>; <xref ref-type="bibr" rid="B23">Kumar et al., 2020</xref>). The BESS and SC are linked to the DC bus with bi-directional converters. Renewable power/load variations affect V<sub>DC</sub> dynamics. As a result, the SC unit supports the transient power requisite at the DC link, while the battery and grid share average power. It regulates V<sub>DC</sub> quickly. If the SC is not linked to the system, the battery/grid should supply or absorb the transient power. Consequently, V<sub>DC</sub> requires longer time to stabilize. Hence, the SC control scheme is crucial for improving V<sub>DC</sub> dynamics.</p>
<p>Nonlinear and unbalanced loads on the AC grid side are connected to assess the additional functionalities of the proposed scheme, including harmonic compensation, RPC, load balancing, and power factor correction in grid-connected mode. Power quality issues such as reactive power and harmonics from the load can be mitigated using a shunt compensator. The PV system is integrated with the SAPF system at the DC-link. In the PV-SAPF setup, the shunt compensator not only compensates for losses but also harnesses power from the solar PV array. Three nonlinear loads in each phase are simulated using an uncontrolled bridge rectifier with an R-L load. To minimize current and voltage fluctuations, interfacing inductors (L<sub>f</sub>) and ripple filters (R<sub>f</sub>, C<sub>f</sub>) are utilized to connect to the PCC.</p>
<p>Solar PV array power production fluctuates with changes in the time of day, temperature, and insolation. To mitigate these variations, HESS are integrated into solar PV-grid-connected MG systems (<xref ref-type="bibr" rid="B40">Zahedmanesh et al., 2020</xref>; <xref ref-type="bibr" rid="B30">Patel et al., 2023</xref>). The HESS, connected to the DC link of a VSC through a bidirectional converter, proves highly effective. <xref ref-type="fig" rid="F4">Figure 4</xref> illustrates a power flow chart for a solar PV-HESS grid system. Excess power from the solar PV is directed to the grid after meeting the load requirements, and any surplus is used to charge the battery during off-peak load hours. During peak load times, both the PV and HESS contribute power to the grid. If the PV supply falls short of meeting the load demand, the HESS provides additional power during peak load times. Conversely, during off-peak load periods, the grid supplies power to the load. Furthermore, if the BESS reaches its maximum discharge limit, the grid must supply the load demand even during peak load hours.</p>
<fig id="F4" position="float">
<label>FIGURE 4</label>
<caption>
<p>Power flow chart of a PV-HESS-grid connected system.</p>
</caption>
<graphic xlink:href="fenrg-12-1387908-g004.tif"/>
</fig>
</sec>
<sec id="s2-3">
<title>2.3 Control scheme</title>
<sec id="s2-3-1">
<title>2.3.1 PV power variations and ramp-rate control</title>
<p>Various system operators have distinct requirements regarding the connection of Renewable Energy Source (RES) power stations to the grid. Reference (<xref ref-type="bibr" rid="B7">Brahmendra Kumar et al., 2018</xref>) emphasizes the need for smoothing RES fluctuations and implementing ramp-rate limits for grid connection of the power plant. The RRC is employed to ensure the smooth solar output depicted in <xref ref-type="fig" rid="F5">Figure 5</xref>.</p>
<fig id="F5" position="float">
<label>FIGURE 5</label>
<caption>
<p>RRC block diagram.</p>
</caption>
<graphic xlink:href="fenrg-12-1387908-g005.tif"/>
</fig>
<p>There have been recorded normal and severe variations of up to 70% and 90%/min, shown in <xref ref-type="fig" rid="F6">Figure 6A, B</xref>. Therefore, in order to smoothen the PV output power, compliance with these regulations includes the combination of PV generators with ESS technologies to add or subtract power to or from the PV supply. <xref ref-type="fig" rid="F7">Figure 7</xref> depicts abrupt decreases from full power to zero, which are obviously the maximum possible fluctuations. Power and energy storage capacity have simply been presented from a few rather direct and intuitive calculations regarding PV output profiles. An analytical theoretical model has been proposed and validated for this fluctuation scenario by comparing the related battery requirements with those obtained from detailed simulations using real power data.</p>
<fig id="F6" position="float">
<label>FIGURE 6</label>
<caption>
<p>
<bold>(A)</bold> Normal irradiation variations on a day, <bold>(B)</bold> Severe irradiation variations on a day.</p>
</caption>
<graphic xlink:href="fenrg-12-1387908-g006.tif"/>
</fig>
<fig id="F7" position="float">
<label>FIGURE 7</label>
<caption>
<p>BESS characteristics using RRC.</p>
</caption>
<graphic xlink:href="fenrg-12-1387908-g007.tif"/>
</fig>
<p>The RRC sets the ramp-rate value, which increases the reliability of the grid and reduces power fluctuations (<xref ref-type="bibr" rid="B15">Gundumalla and Eswararao, 2018</xref>). The BESS power (P<sub>b</sub>) is measured by the difference between the PV power (P<sub>pv</sub>) and the ramp-limit power (P<sub>r,pv</sub>). <xref ref-type="fig" rid="F7">Figure 7</xref> depicts the characteristics of BESS using RRC. The BESS is charged when the P<sub>pv</sub> surpasses the ramp capacity. In addition, when the PV power falls below the power of the ramp, the BESS is discharged.</p>
</sec>
<sec id="s2-3-2">
<title>2.3.2 Control structure of PV and HESS</title>
<p>
<xref ref-type="fig" rid="F8">Figure 8</xref> illustrates the reference currents for the PV, battery, and SC. The PV reference current generation through the RRC. The PI current controller compares the PV reference current (I<sub>pvref</sub>) with the IBC&#x2019;s actual current (I<sub>pv</sub>), which is then passed to the PI controller to generate the signals. The reference current generation and LPF are used in the battery converter control. The low-pass filter (LPF) generates the battery net current (I<sub>net</sub>), which is divided into the average value (I<sub>avg</sub>) of net current for the battery and the transient component of current (I<sub>trs</sub>) for the SC. The I<sub>avg</sub> is calculated using the given Eq. <xref ref-type="disp-formula" rid="e3">1</xref> (<xref ref-type="bibr" rid="B33">Rauf and Khadkikar, 2015</xref>),<disp-formula id="e3">
<mml:math id="m1">
<mml:mrow>
<mml:msub>
<mml:mi>I</mml:mi>
<mml:mrow>
<mml:mi>a</mml:mi>
<mml:mi>v</mml:mi>
<mml:mi>g</mml:mi>
</mml:mrow>
</mml:msub>
<mml:mrow>
<mml:mfenced open="(" close=")" separators="&#x007C;">
<mml:mrow>
<mml:mi>t</mml:mi>
</mml:mrow>
</mml:mfenced>
</mml:mrow>
<mml:mo>&#x3d;</mml:mo>
<mml:mrow>
<mml:mfenced open="(" close=")" separators="&#x007C;">
<mml:mrow>
<mml:mfrac>
<mml:mn>1</mml:mn>
<mml:mrow>
<mml:mn>1</mml:mn>
<mml:mo>&#x2b;</mml:mo>
<mml:mi>s</mml:mi>
<mml:msub>
<mml:mi>&#x3c4;</mml:mi>
<mml:mi>c</mml:mi>
</mml:msub>
</mml:mrow>
</mml:mfrac>
</mml:mrow>
</mml:mfenced>
</mml:mrow>
<mml:msub>
<mml:mi>i</mml:mi>
<mml:mrow>
<mml:mi>n</mml:mi>
<mml:mi>e</mml:mi>
<mml:mi>t</mml:mi>
</mml:mrow>
</mml:msub>
<mml:mrow>
<mml:mfenced open="(" close=")" separators="&#x007C;">
<mml:mrow>
<mml:mi>t</mml:mi>
</mml:mrow>
</mml:mfenced>
</mml:mrow>
</mml:mrow>
</mml:math>
<label>(1)</label>
</disp-formula>
</p>
<fig id="F8" position="float">
<label>FIGURE 8</label>
<caption>
<p>Control diagram for PV system with HESS.</p>
</caption>
<graphic xlink:href="fenrg-12-1387908-g008.tif"/>
</fig>
<p>The modulating signal for the PV and battery converter are taken from the following Eqs <xref ref-type="disp-formula" rid="e4">2</xref>, <xref ref-type="disp-formula" rid="e3">3</xref>,<disp-formula id="e4">
<mml:math id="m2">
<mml:mrow>
<mml:msub>
<mml:mi>&#x3b4;</mml:mi>
<mml:mrow>
<mml:mi>p</mml:mi>
<mml:mi>v</mml:mi>
</mml:mrow>
</mml:msub>
<mml:mo>&#x3d;</mml:mo>
<mml:msub>
<mml:mi>K</mml:mi>
<mml:mrow>
<mml:mi>p</mml:mi>
<mml:mo>,</mml:mo>
<mml:mi>p</mml:mi>
<mml:mi>v</mml:mi>
</mml:mrow>
</mml:msub>
<mml:msub>
<mml:mi>i</mml:mi>
<mml:mrow>
<mml:mi>p</mml:mi>
<mml:mi>v</mml:mi>
<mml:mo>,</mml:mo>
<mml:mi>e</mml:mi>
</mml:mrow>
</mml:msub>
<mml:mrow>
<mml:mfenced open="(" close=")" separators="&#x007C;">
<mml:mrow>
<mml:mi>t</mml:mi>
</mml:mrow>
</mml:mfenced>
</mml:mrow>
<mml:mo>&#x2b;</mml:mo>
<mml:mfrac>
<mml:mrow>
<mml:msub>
<mml:mi>K</mml:mi>
<mml:mrow>
<mml:mi>i</mml:mi>
<mml:mo>,</mml:mo>
<mml:mi>p</mml:mi>
<mml:mi>v</mml:mi>
</mml:mrow>
</mml:msub>
</mml:mrow>
<mml:mrow>
<mml:msub>
<mml:mi>T</mml:mi>
<mml:mrow>
<mml:mi>p</mml:mi>
<mml:mi>v</mml:mi>
</mml:mrow>
</mml:msub>
</mml:mrow>
</mml:mfrac>
<mml:mstyle displaystyle="true">
<mml:munderover>
<mml:mo>&#x222b;</mml:mo>
<mml:mrow>
<mml:mi>t</mml:mi>
<mml:mo>&#x2212;</mml:mo>
<mml:msub>
<mml:mi>T</mml:mi>
<mml:mrow>
<mml:mi>p</mml:mi>
<mml:mi>v</mml:mi>
</mml:mrow>
</mml:msub>
</mml:mrow>
<mml:msub>
<mml:mi>t</mml:mi>
<mml:mn>0</mml:mn>
</mml:msub>
</mml:munderover>
</mml:mstyle>
<mml:msub>
<mml:mi>i</mml:mi>
<mml:mrow>
<mml:mi>p</mml:mi>
<mml:mi>v</mml:mi>
</mml:mrow>
</mml:msub>
<mml:mrow>
<mml:mfenced open="(" close=")" separators="&#x007C;">
<mml:mrow>
<mml:mi>t</mml:mi>
</mml:mrow>
</mml:mfenced>
</mml:mrow>
<mml:mi>d</mml:mi>
<mml:mi>t</mml:mi>
</mml:mrow>
</mml:math>
<label>(2)</label>
</disp-formula>
<disp-formula id="e5">
<mml:math id="m3">
<mml:mrow>
<mml:msub>
<mml:mi>&#x3b4;</mml:mi>
<mml:mi>b</mml:mi>
</mml:msub>
<mml:mo>&#x3d;</mml:mo>
<mml:msub>
<mml:mi>K</mml:mi>
<mml:mrow>
<mml:mi>p</mml:mi>
<mml:mo>,</mml:mo>
<mml:mi>b</mml:mi>
</mml:mrow>
</mml:msub>
<mml:msub>
<mml:mi>i</mml:mi>
<mml:mrow>
<mml:mi>b</mml:mi>
<mml:mo>,</mml:mo>
<mml:mi>e</mml:mi>
</mml:mrow>
</mml:msub>
<mml:mrow>
<mml:mfenced open="(" close=")" separators="&#x007C;">
<mml:mrow>
<mml:mi>t</mml:mi>
</mml:mrow>
</mml:mfenced>
</mml:mrow>
<mml:mo>&#x2b;</mml:mo>
<mml:mfrac>
<mml:mrow>
<mml:msub>
<mml:mi>K</mml:mi>
<mml:mrow>
<mml:mi>i</mml:mi>
<mml:mo>,</mml:mo>
<mml:mi>b</mml:mi>
</mml:mrow>
</mml:msub>
</mml:mrow>
<mml:mrow>
<mml:msub>
<mml:mi>T</mml:mi>
<mml:mi>b</mml:mi>
</mml:msub>
</mml:mrow>
</mml:mfrac>
<mml:mstyle displaystyle="true">
<mml:munderover>
<mml:mo>&#x222b;</mml:mo>
<mml:mrow>
<mml:mi>t</mml:mi>
<mml:mo>&#x2212;</mml:mo>
<mml:msub>
<mml:mi>T</mml:mi>
<mml:mi>b</mml:mi>
</mml:msub>
</mml:mrow>
<mml:msub>
<mml:mi>t</mml:mi>
<mml:mn>0</mml:mn>
</mml:msub>
</mml:munderover>
</mml:mstyle>
<mml:msub>
<mml:mi>i</mml:mi>
<mml:mi>b</mml:mi>
</mml:msub>
<mml:mrow>
<mml:mfenced open="(" close=")" separators="&#x007C;">
<mml:mrow>
<mml:mi>t</mml:mi>
</mml:mrow>
</mml:mfenced>
</mml:mrow>
<mml:mi>d</mml:mi>
<mml:mi>t</mml:mi>
</mml:mrow>
</mml:math>
<label>(3)</label>
</disp-formula>
</p>
<p>As shown in <xref ref-type="fig" rid="F8">Figure 8</xref>, the supercapacitor control loop consists of current control and reference current generation (I<sub>sc,ref</sub>), and The reference current generation block extracts transient current component of I<sub>trs</sub>. The SC reference current (I<sub>scref</sub> or I<sub>trs</sub>) is generated by the difference between (I<sub>net</sub>) and (I<sub>avg</sub>), as given below (<xref ref-type="bibr" rid="B33">Rauf and Khadkikar, 2015</xref>),<disp-formula id="e6">
<mml:math id="m4">
<mml:mrow>
<mml:msub>
<mml:mi>I</mml:mi>
<mml:mrow>
<mml:mi>t</mml:mi>
<mml:mi>r</mml:mi>
<mml:mi>s</mml:mi>
</mml:mrow>
</mml:msub>
<mml:mrow>
<mml:mfenced open="(" close=")" separators="&#x007C;">
<mml:mrow>
<mml:mi>t</mml:mi>
</mml:mrow>
</mml:mfenced>
</mml:mrow>
<mml:mo>&#x3d;</mml:mo>
<mml:mrow>
<mml:mfenced open="(" close=")" separators="&#x007C;">
<mml:mrow>
<mml:mn>1</mml:mn>
<mml:mo>&#x2212;</mml:mo>
<mml:mfrac>
<mml:mn>1</mml:mn>
<mml:mrow>
<mml:mn>1</mml:mn>
<mml:mo>&#x2b;</mml:mo>
<mml:mi>s</mml:mi>
<mml:msub>
<mml:mi>&#x3c4;</mml:mi>
<mml:mi>c</mml:mi>
</mml:msub>
</mml:mrow>
</mml:mfrac>
</mml:mrow>
</mml:mfenced>
</mml:mrow>
<mml:msub>
<mml:mi>i</mml:mi>
<mml:mrow>
<mml:mi>n</mml:mi>
<mml:mi>e</mml:mi>
<mml:mi>t</mml:mi>
</mml:mrow>
</mml:msub>
<mml:mrow>
<mml:mfenced open="(" close=")" separators="&#x007C;">
<mml:mrow>
<mml:mi>t</mml:mi>
</mml:mrow>
</mml:mfenced>
</mml:mrow>
</mml:mrow>
</mml:math>
<label>(4)</label>
</disp-formula>
</p>
<p>The control block uses the reference current derived in <xref ref-type="disp-formula" rid="e6">(4)</xref> and other input variables to determine the supercapacitor pack&#x2019;s operating mode. The current control loop uses the SC&#x2019;s reference current (I<sub>sc,ref</sub>) to generate switching pulses. The following Eq. <xref ref-type="disp-formula" rid="e7">5</xref> can be used to derive the SC converter&#x2019;s modulating signal (&#x3b4;<sub>sc</sub>):<disp-formula id="e7">
<mml:math id="m5">
<mml:mrow>
<mml:msub>
<mml:mi>&#x3b4;</mml:mi>
<mml:mrow>
<mml:mi>s</mml:mi>
<mml:mi>c</mml:mi>
</mml:mrow>
</mml:msub>
<mml:mo>&#x3d;</mml:mo>
<mml:msub>
<mml:mi>K</mml:mi>
<mml:mrow>
<mml:mi>p</mml:mi>
<mml:mo>,</mml:mo>
<mml:mi>s</mml:mi>
<mml:mi>c</mml:mi>
</mml:mrow>
</mml:msub>
<mml:msub>
<mml:mi>i</mml:mi>
<mml:mrow>
<mml:mi>s</mml:mi>
<mml:mi>c</mml:mi>
<mml:mo>,</mml:mo>
<mml:mi>e</mml:mi>
</mml:mrow>
</mml:msub>
<mml:mrow>
<mml:mfenced open="(" close=")" separators="&#x007C;">
<mml:mrow>
<mml:mi>t</mml:mi>
</mml:mrow>
</mml:mfenced>
</mml:mrow>
<mml:mo>&#x2b;</mml:mo>
<mml:mfrac>
<mml:mrow>
<mml:msub>
<mml:mi>K</mml:mi>
<mml:mrow>
<mml:mi>i</mml:mi>
<mml:mo>,</mml:mo>
<mml:mi>s</mml:mi>
<mml:mi>c</mml:mi>
</mml:mrow>
</mml:msub>
</mml:mrow>
<mml:mrow>
<mml:msub>
<mml:mi>T</mml:mi>
<mml:mrow>
<mml:mi>s</mml:mi>
<mml:mi>c</mml:mi>
</mml:mrow>
</mml:msub>
</mml:mrow>
</mml:mfrac>
<mml:mstyle displaystyle="true">
<mml:munderover>
<mml:mo>&#x222b;</mml:mo>
<mml:mrow>
<mml:mi>t</mml:mi>
<mml:mo>&#x2212;</mml:mo>
<mml:msub>
<mml:mi>T</mml:mi>
<mml:mrow>
<mml:mi>s</mml:mi>
<mml:mi>c</mml:mi>
</mml:mrow>
</mml:msub>
</mml:mrow>
<mml:msub>
<mml:mi>t</mml:mi>
<mml:mn>0</mml:mn>
</mml:msub>
</mml:munderover>
</mml:mstyle>
<mml:msub>
<mml:mi>i</mml:mi>
<mml:mrow>
<mml:mi>s</mml:mi>
<mml:mi>c</mml:mi>
</mml:mrow>
</mml:msub>
<mml:mrow>
<mml:mfenced open="(" close=")" separators="&#x007C;">
<mml:mrow>
<mml:mi>t</mml:mi>
</mml:mrow>
</mml:mfenced>
</mml:mrow>
<mml:mi>d</mml:mi>
<mml:mi>t</mml:mi>
</mml:mrow>
</mml:math>
<label>(5)</label>
</disp-formula>
</p>
<p>Where K<sub>p</sub>, K<sub>i</sub>, t<sub>o</sub>, I<sub>b,e or sc,e</sub>, T<sub>b or sc</sub> are proportional and integral time constants, arbitrary time constant, battery or SC error current, and SC block average time window.</p>
<p>Accurate state of charge (SoC) calculations is crucial for battery-powered systems as they significantly impact battery performance. Precise SoC estimations not only safeguard the battery by preventing overcharging, but also extend its lifespan while enhancing overall system accuracy and energy efficiency (<xref ref-type="bibr" rid="B35">Saxena et al., 2017</xref>). The SoC is typically determined using the count-coulomb method, and the following Eq. <xref ref-type="disp-formula" rid="e8">6</xref> describes the SoC for the battery.<disp-formula id="e8">
<mml:math id="m6">
<mml:mrow>
<mml:mi>S</mml:mi>
<mml:mi>o</mml:mi>
<mml:msub>
<mml:mi>C</mml:mi>
<mml:mi>b</mml:mi>
</mml:msub>
<mml:mo>&#x3d;</mml:mo>
<mml:mi>S</mml:mi>
<mml:mi>o</mml:mi>
<mml:msub>
<mml:mi>C</mml:mi>
<mml:mrow>
<mml:mi>b</mml:mi>
<mml:mi>i</mml:mi>
<mml:mi>n</mml:mi>
</mml:mrow>
</mml:msub>
<mml:mo>&#x2b;</mml:mo>
<mml:mfrac>
<mml:mn>1</mml:mn>
<mml:mrow>
<mml:mn>3600</mml:mn>
<mml:msub>
<mml:mi>C</mml:mi>
<mml:mrow>
<mml:mi>N</mml:mi>
<mml:mi>b</mml:mi>
</mml:mrow>
</mml:msub>
</mml:mrow>
</mml:mfrac>
<mml:mo>&#x222b;</mml:mo>
<mml:msub>
<mml:mi>i</mml:mi>
<mml:mi>b</mml:mi>
</mml:msub>
<mml:mi>d</mml:mi>
<mml:mi>t</mml:mi>
</mml:mrow>
</mml:math>
<label>(6)</label>
</disp-formula>
</p>
<p>Where SoC<sub>bin,</sub> C<sub>Nb</sub> and I<sub>b</sub> represent the initial SoC, nominal capacitance, and current of the battery, respectively.</p>
</sec>
<sec id="s2-3-3">
<title>2.3.3 p-q theory-based control strategy</title>
<p>The instantaneous p-q theory is mainly based on instantaneous power measurements in the time domain. It primarily applies to a 3-phase 3-wire system or a 3-phase 4-wire system. It is evaluated on a time-domain basis. Therefore, it is suitable not only for stable conditions but also for transient conditions (<xref ref-type="bibr" rid="B1">Abdullah et al., 2016</xref>). In an instantaneous theory of real and reactive power, the p-q theory is primarily used in the design of controllers for active power filters, and power conditions based on power electronic devices (<xref ref-type="bibr" rid="B3">Barva and Arkdev, 2023</xref>). The p-q principle first transforms the voltages and currents linearly. Then it determines the instantaneous power in those coordinates from the abc-coordinate system to the 0&#x3b1;&#x3b2;-coordinate system. <xref ref-type="fig" rid="F9">Figure 9</xref> displays the block diagram and flow chart of the p-q theory. The p-q theory is effective for designing active filter controllers as it converts voltage and current from abc to &#x3b1;&#x3b2;0 coordinates, enabling the determination of instantaneous power.</p>
<fig id="F9" position="float">
<label>FIGURE 9</label>
<caption>
<p>p-q method: <bold>(A)</bold> block diagram, <bold>(B)</bold> flow chart.</p>
</caption>
<graphic xlink:href="fenrg-12-1387908-g009.tif"/>
</fig>
<p>The reference current is measured using the p-q methodology. By using the Clark transformation, the source voltages and load currents will be converted from abc coordinates to 0&#x3b1;&#x3b2; coordinates in Eqs <xref ref-type="disp-formula" rid="e9">7</xref>, <xref ref-type="disp-formula" rid="e10">8</xref> (<xref ref-type="bibr" rid="B4">Belaidi et al., 2013</xref>; <xref ref-type="bibr" rid="B39">Wategaonkar et al., 2018</xref>), respectively.<disp-formula id="e9">
<mml:math id="m7">
<mml:mrow>
<mml:mrow>
<mml:mfenced open="[" close="]" separators="&#x007C;">
<mml:mrow>
<mml:mtable columnalign="left">
<mml:mtr>
<mml:mtd>
<mml:msub>
<mml:mi>V</mml:mi>
<mml:mn>0</mml:mn>
</mml:msub>
</mml:mtd>
</mml:mtr>
<mml:mtr>
<mml:mtd>
<mml:msub>
<mml:mi>V</mml:mi>
<mml:mi>&#x3b1;</mml:mi>
</mml:msub>
</mml:mtd>
</mml:mtr>
<mml:mtr>
<mml:mtd>
<mml:msub>
<mml:mi>V</mml:mi>
<mml:mi>&#x3b2;</mml:mi>
</mml:msub>
</mml:mtd>
</mml:mtr>
</mml:mtable>
</mml:mrow>
</mml:mfenced>
</mml:mrow>
<mml:mo>&#x3d;</mml:mo>
<mml:msqrt>
<mml:mfrac>
<mml:mrow>
<mml:mn>2</mml:mn>
</mml:mrow>
<mml:mrow>
<mml:mn>3</mml:mn>
</mml:mrow>
</mml:mfrac>
</mml:msqrt>
<mml:mrow>
<mml:mfenced open="(" close=")" separators="&#x007C;">
<mml:mrow>
<mml:mtable columnalign="center">
<mml:mtr>
<mml:mtd>
<mml:mrow>
<mml:mn>1</mml:mn>
<mml:mo>/</mml:mo>
<mml:msqrt>
<mml:mn>2</mml:mn>
</mml:msqrt>
</mml:mrow>
</mml:mtd>
<mml:mtd>
<mml:mrow>
<mml:mn>1</mml:mn>
<mml:mo>/</mml:mo>
<mml:msqrt>
<mml:mn>2</mml:mn>
</mml:msqrt>
</mml:mrow>
</mml:mtd>
<mml:mtd>
<mml:mrow>
<mml:mn>1</mml:mn>
<mml:mo>/</mml:mo>
<mml:msqrt>
<mml:mn>2</mml:mn>
</mml:msqrt>
</mml:mrow>
</mml:mtd>
</mml:mtr>
<mml:mtr>
<mml:mtd>
<mml:mn>1</mml:mn>
</mml:mtd>
<mml:mtd>
<mml:mrow>
<mml:mo>&#x2212;</mml:mo>
<mml:mn>1</mml:mn>
<mml:mo>/</mml:mo>
<mml:mn>2</mml:mn>
</mml:mrow>
</mml:mtd>
<mml:mtd>
<mml:mrow>
<mml:mn>1</mml:mn>
<mml:mo>/</mml:mo>
<mml:mn>2</mml:mn>
</mml:mrow>
</mml:mtd>
</mml:mtr>
<mml:mtr>
<mml:mtd>
<mml:mn>0</mml:mn>
</mml:mtd>
<mml:mtd>
<mml:mrow>
<mml:msqrt>
<mml:mn>3</mml:mn>
</mml:msqrt>
<mml:mo>/</mml:mo>
<mml:mn>2</mml:mn>
</mml:mrow>
</mml:mtd>
<mml:mtd>
<mml:mrow>
<mml:mo>&#x2212;</mml:mo>
<mml:msqrt>
<mml:mn>3</mml:mn>
</mml:msqrt>
<mml:mo>/</mml:mo>
<mml:mn>2</mml:mn>
</mml:mrow>
</mml:mtd>
</mml:mtr>
</mml:mtable>
</mml:mrow>
</mml:mfenced>
</mml:mrow>
<mml:mrow>
<mml:mfenced open="[" close="]" separators="&#x007C;">
<mml:mrow>
<mml:mtable columnalign="left">
<mml:mtr>
<mml:mtd>
<mml:msub>
<mml:mi>V</mml:mi>
<mml:mrow>
<mml:mi>s</mml:mi>
<mml:mi>a</mml:mi>
</mml:mrow>
</mml:msub>
</mml:mtd>
</mml:mtr>
<mml:mtr>
<mml:mtd>
<mml:msub>
<mml:mi>V</mml:mi>
<mml:mrow>
<mml:mi>s</mml:mi>
<mml:mi>b</mml:mi>
</mml:mrow>
</mml:msub>
</mml:mtd>
</mml:mtr>
<mml:mtr>
<mml:mtd>
<mml:msub>
<mml:mi>V</mml:mi>
<mml:mrow>
<mml:mi>s</mml:mi>
<mml:mi>c</mml:mi>
</mml:mrow>
</mml:msub>
</mml:mtd>
</mml:mtr>
</mml:mtable>
</mml:mrow>
</mml:mfenced>
</mml:mrow>
</mml:mrow>
</mml:math>
<label>(7)</label>
</disp-formula>
<disp-formula id="e10">
<mml:math id="m8">
<mml:mrow>
<mml:mrow>
<mml:mfenced open="[" close="]" separators="&#x007C;">
<mml:mrow>
<mml:mtable columnalign="left">
<mml:mtr>
<mml:mtd>
<mml:msub>
<mml:mi>I</mml:mi>
<mml:mn>0</mml:mn>
</mml:msub>
</mml:mtd>
</mml:mtr>
<mml:mtr>
<mml:mtd>
<mml:msub>
<mml:mi>I</mml:mi>
<mml:mi>&#x3b1;</mml:mi>
</mml:msub>
</mml:mtd>
</mml:mtr>
<mml:mtr>
<mml:mtd>
<mml:msub>
<mml:mi>I</mml:mi>
<mml:mi>&#x3b2;</mml:mi>
</mml:msub>
</mml:mtd>
</mml:mtr>
</mml:mtable>
</mml:mrow>
</mml:mfenced>
</mml:mrow>
<mml:mo>&#x3d;</mml:mo>
<mml:msqrt>
<mml:mfrac>
<mml:mrow>
<mml:mn>2</mml:mn>
</mml:mrow>
<mml:mrow>
<mml:mn>3</mml:mn>
</mml:mrow>
</mml:mfrac>
</mml:msqrt>
<mml:mrow>
<mml:mfenced open="(" close=")" separators="&#x007C;">
<mml:mrow>
<mml:mtable columnalign="center">
<mml:mtr>
<mml:mtd>
<mml:mrow>
<mml:mn>1</mml:mn>
<mml:mo>/</mml:mo>
<mml:msqrt>
<mml:mn>2</mml:mn>
</mml:msqrt>
</mml:mrow>
</mml:mtd>
<mml:mtd>
<mml:mrow>
<mml:mn>1</mml:mn>
<mml:mo>/</mml:mo>
<mml:msqrt>
<mml:mn>2</mml:mn>
</mml:msqrt>
</mml:mrow>
</mml:mtd>
<mml:mtd>
<mml:mrow>
<mml:mn>1</mml:mn>
<mml:mo>/</mml:mo>
<mml:msqrt>
<mml:mn>2</mml:mn>
</mml:msqrt>
</mml:mrow>
</mml:mtd>
</mml:mtr>
<mml:mtr>
<mml:mtd>
<mml:mn>1</mml:mn>
</mml:mtd>
<mml:mtd>
<mml:mrow>
<mml:mo>&#x2212;</mml:mo>
<mml:mn>1</mml:mn>
<mml:mo>/</mml:mo>
<mml:mn>2</mml:mn>
</mml:mrow>
</mml:mtd>
<mml:mtd>
<mml:mrow>
<mml:mn>1</mml:mn>
<mml:mo>/</mml:mo>
<mml:mn>2</mml:mn>
</mml:mrow>
</mml:mtd>
</mml:mtr>
<mml:mtr>
<mml:mtd>
<mml:mn>0</mml:mn>
</mml:mtd>
<mml:mtd>
<mml:mrow>
<mml:msqrt>
<mml:mn>3</mml:mn>
</mml:msqrt>
<mml:mo>/</mml:mo>
<mml:mn>2</mml:mn>
</mml:mrow>
</mml:mtd>
<mml:mtd>
<mml:mrow>
<mml:mo>&#x2212;</mml:mo>
<mml:msqrt>
<mml:mn>3</mml:mn>
</mml:msqrt>
<mml:mo>/</mml:mo>
<mml:mn>2</mml:mn>
</mml:mrow>
</mml:mtd>
</mml:mtr>
</mml:mtable>
</mml:mrow>
</mml:mfenced>
</mml:mrow>
<mml:mrow>
<mml:mfenced open="[" close="]" separators="&#x007C;">
<mml:mrow>
<mml:mtable columnalign="left">
<mml:mtr>
<mml:mtd>
<mml:msub>
<mml:mi>I</mml:mi>
<mml:mrow>
<mml:mi>L</mml:mi>
<mml:mi>a</mml:mi>
</mml:mrow>
</mml:msub>
</mml:mtd>
</mml:mtr>
<mml:mtr>
<mml:mtd>
<mml:msub>
<mml:mi>I</mml:mi>
<mml:mrow>
<mml:mi>L</mml:mi>
<mml:mi>b</mml:mi>
</mml:mrow>
</mml:msub>
</mml:mtd>
</mml:mtr>
<mml:mtr>
<mml:mtd>
<mml:msub>
<mml:mi>I</mml:mi>
<mml:mrow>
<mml:mi>L</mml:mi>
<mml:mi>c</mml:mi>
</mml:mrow>
</mml:msub>
</mml:mtd>
</mml:mtr>
</mml:mtable>
</mml:mrow>
</mml:mfenced>
</mml:mrow>
</mml:mrow>
</mml:math>
<label>(8)</label>
</disp-formula>
</p>
<p>The matrix format can be used to represent instantaneous active/real and reactive/imaginary powers in the following Eq. <xref ref-type="disp-formula" rid="e11">9</xref>.<disp-formula id="e11">
<mml:math id="m9">
<mml:mrow>
<mml:mrow>
<mml:mfenced open="[" close="]" separators="&#x007C;">
<mml:mrow>
<mml:mtable columnalign="left">
<mml:mtr>
<mml:mtd>
<mml:mi>p</mml:mi>
</mml:mtd>
</mml:mtr>
<mml:mtr>
<mml:mtd>
<mml:mi>q</mml:mi>
</mml:mtd>
</mml:mtr>
</mml:mtable>
</mml:mrow>
</mml:mfenced>
</mml:mrow>
<mml:mo>&#x3d;</mml:mo>
<mml:mrow>
<mml:mfenced open="(" close=")" separators="&#x007C;">
<mml:mrow>
<mml:mtable columnalign="center">
<mml:mtr>
<mml:mtd>
<mml:msub>
<mml:mi>V</mml:mi>
<mml:mi>&#x3b1;</mml:mi>
</mml:msub>
</mml:mtd>
<mml:mtd>
<mml:msub>
<mml:mi>V</mml:mi>
<mml:mi>&#x3b2;</mml:mi>
</mml:msub>
</mml:mtd>
</mml:mtr>
<mml:mtr>
<mml:mtd>
<mml:msub>
<mml:mi>V</mml:mi>
<mml:mi>&#x3b2;</mml:mi>
</mml:msub>
</mml:mtd>
<mml:mtd>
<mml:mrow>
<mml:mo>&#x2212;</mml:mo>
<mml:msub>
<mml:mi>V</mml:mi>
<mml:mi>&#x3b1;</mml:mi>
</mml:msub>
</mml:mrow>
</mml:mtd>
</mml:mtr>
</mml:mtable>
</mml:mrow>
</mml:mfenced>
</mml:mrow>
<mml:mrow>
<mml:mfenced open="[" close="]" separators="&#x007C;">
<mml:mrow>
<mml:mtable columnalign="left">
<mml:mtr>
<mml:mtd>
<mml:msub>
<mml:mi>I</mml:mi>
<mml:mi>&#x3b1;</mml:mi>
</mml:msub>
</mml:mtd>
</mml:mtr>
<mml:mtr>
<mml:mtd>
<mml:msub>
<mml:mi>I</mml:mi>
<mml:mi>&#x3b2;</mml:mi>
</mml:msub>
</mml:mtd>
</mml:mtr>
</mml:mtable>
</mml:mrow>
</mml:mfenced>
</mml:mrow>
</mml:mrow>
</mml:math>
<label>(9)</label>
</disp-formula>
</p>
<p>The active (p) and reactive (q) instantaneous powers, which includes AC and DC values referring to the fundamental and harmonic currents, are given by Eqs <xref ref-type="disp-formula" rid="e12">10</xref>, <xref ref-type="disp-formula" rid="e13">11</xref> (<xref ref-type="bibr" rid="B39">Wategaonkar et al., 2018</xref>),<disp-formula id="e12">
<mml:math id="m10">
<mml:mrow>
<mml:mi mathvariant="italic">p</mml:mi>
<mml:mo>&#x3d;</mml:mo>
<mml:mover accent="true">
<mml:mi>p</mml:mi>
<mml:mo>&#xaf;</mml:mo>
</mml:mover>
<mml:mo>&#x2b;</mml:mo>
<mml:mover accent="true">
<mml:mi>p</mml:mi>
<mml:mo>&#x223c;</mml:mo>
</mml:mover>
</mml:mrow>
</mml:math>
<label>(10)</label>
</disp-formula>
<disp-formula id="e13">
<mml:math id="m11">
<mml:mrow>
<mml:mi mathvariant="italic">q</mml:mi>
<mml:mo>&#x3d;</mml:mo>
<mml:mover accent="true">
<mml:mi>q</mml:mi>
<mml:mo>&#xaf;</mml:mo>
</mml:mover>
<mml:mo>&#x2b;</mml:mo>
<mml:mover accent="true">
<mml:mi>q</mml:mi>
<mml:mo>&#x223c;</mml:mo>
</mml:mover>
</mml:mrow>
</mml:math>
<label>(11)</label>
</disp-formula>
</p>
<p>Where <inline-formula id="inf1">
<mml:math id="m12">
<mml:mrow>
<mml:mover accent="true">
<mml:mi>p</mml:mi>
<mml:mo>&#xaf;</mml:mo>
</mml:mover>
</mml:mrow>
</mml:math>
</inline-formula> and <inline-formula id="inf2">
<mml:math id="m13">
<mml:mrow>
<mml:mover accent="true">
<mml:mi>q</mml:mi>
<mml:mo>&#xaf;</mml:mo>
</mml:mover>
</mml:mrow>
</mml:math>
</inline-formula> of DC are obtained from the load current positive-sequence components and the <inline-formula id="inf3">
<mml:math id="m14">
<mml:mrow>
<mml:mover accent="true">
<mml:mi>p</mml:mi>
<mml:mo>&#x223c;</mml:mo>
</mml:mover>
</mml:mrow>
</mml:math>
</inline-formula> and <inline-formula id="inf4">
<mml:math id="m15">
<mml:mrow>
<mml:mover accent="true">
<mml:mi>q</mml:mi>
<mml:mo>&#x223c;</mml:mo>
</mml:mover>
</mml:mrow>
</mml:math>
</inline-formula> of AC values are obtained from the load current harmonics components. The real and imaginary powers divided into average and oscillating power helps calculate compensating power for compensation current. The inverse of the matrix is calculated using Eq. <xref ref-type="disp-formula" rid="e9">7</xref> as follows (<xref ref-type="bibr" rid="B39">Wategaonkar et al., 2018</xref>),<disp-formula id="e14">
<mml:math id="m16">
<mml:mrow>
<mml:mrow>
<mml:mfenced open="[" close="]" separators="&#x007C;">
<mml:mrow>
<mml:mtable columnalign="left">
<mml:mtr>
<mml:mtd>
<mml:msub>
<mml:mi>I</mml:mi>
<mml:mi>&#x3b1;</mml:mi>
</mml:msub>
</mml:mtd>
</mml:mtr>
<mml:mtr>
<mml:mtd>
<mml:msub>
<mml:mi>I</mml:mi>
<mml:mi>&#x3b2;</mml:mi>
</mml:msub>
</mml:mtd>
</mml:mtr>
</mml:mtable>
</mml:mrow>
</mml:mfenced>
</mml:mrow>
<mml:mo>&#x3d;</mml:mo>
<mml:mfrac>
<mml:mn>1</mml:mn>
<mml:mrow>
<mml:msubsup>
<mml:mi>V</mml:mi>
<mml:mi>&#x3b1;</mml:mi>
<mml:mn>2</mml:mn>
</mml:msubsup>
<mml:mo>&#x2b;</mml:mo>
<mml:msubsup>
<mml:mi>V</mml:mi>
<mml:mi>&#x3b2;</mml:mi>
<mml:mn>2</mml:mn>
</mml:msubsup>
</mml:mrow>
</mml:mfrac>
<mml:mrow>
<mml:mfenced open="(" close=")" separators="&#x007C;">
<mml:mrow>
<mml:mtable columnalign="center">
<mml:mtr>
<mml:mtd>
<mml:msub>
<mml:mi>V</mml:mi>
<mml:mi>&#x3b1;</mml:mi>
</mml:msub>
</mml:mtd>
<mml:mtd>
<mml:msub>
<mml:mi>V</mml:mi>
<mml:mi>&#x3b2;</mml:mi>
</mml:msub>
</mml:mtd>
</mml:mtr>
<mml:mtr>
<mml:mtd>
<mml:msub>
<mml:mi>V</mml:mi>
<mml:mi>&#x3b2;</mml:mi>
</mml:msub>
</mml:mtd>
<mml:mtd>
<mml:mrow>
<mml:mo>&#x2212;</mml:mo>
<mml:msub>
<mml:mi>V</mml:mi>
<mml:mi>&#x3b1;</mml:mi>
</mml:msub>
</mml:mrow>
</mml:mtd>
</mml:mtr>
</mml:mtable>
</mml:mrow>
</mml:mfenced>
</mml:mrow>
<mml:mrow>
<mml:mfenced open="[" close="]" separators="&#x007C;">
<mml:mrow>
<mml:mtable columnalign="left">
<mml:mtr>
<mml:mtd>
<mml:mover accent="true">
<mml:mi>p</mml:mi>
<mml:mo>&#x223c;</mml:mo>
</mml:mover>
</mml:mtd>
</mml:mtr>
<mml:mtr>
<mml:mtd>
<mml:mover accent="true">
<mml:mi>q</mml:mi>
<mml:mo>&#x223c;</mml:mo>
</mml:mover>
</mml:mtd>
</mml:mtr>
</mml:mtable>
</mml:mrow>
</mml:mfenced>
</mml:mrow>
</mml:mrow>
</mml:math>
<label>(12)</label>
</disp-formula>
</p>
<p>The compensation currents obtained in Eqs <xref ref-type="disp-formula" rid="e15">13</xref>, <xref ref-type="disp-formula" rid="e16">14</xref> in abc coordinates using Eqs <xref ref-type="disp-formula" rid="e10">8</xref>, <xref ref-type="disp-formula" rid="e14">12</xref> are as follows (<xref ref-type="bibr" rid="B39">Wategaonkar et al., 2018</xref>),<disp-formula id="e15">
<mml:math id="m17">
<mml:mrow>
<mml:mrow>
<mml:mfenced open="[" close="]" separators="&#x007C;">
<mml:mrow>
<mml:mtable columnalign="left">
<mml:mtr>
<mml:mtd>
<mml:msubsup>
<mml:mi>I</mml:mi>
<mml:mrow>
<mml:mi>c</mml:mi>
<mml:mi>a</mml:mi>
</mml:mrow>
<mml:mo>&#x2a;</mml:mo>
</mml:msubsup>
</mml:mtd>
</mml:mtr>
<mml:mtr>
<mml:mtd>
<mml:msubsup>
<mml:mi>I</mml:mi>
<mml:mrow>
<mml:mi>c</mml:mi>
<mml:mi>b</mml:mi>
</mml:mrow>
<mml:mo>&#x2a;</mml:mo>
</mml:msubsup>
</mml:mtd>
</mml:mtr>
<mml:mtr>
<mml:mtd>
<mml:msubsup>
<mml:mi>I</mml:mi>
<mml:mrow>
<mml:mi>c</mml:mi>
<mml:mi>c</mml:mi>
</mml:mrow>
<mml:mo>&#x2a;</mml:mo>
</mml:msubsup>
</mml:mtd>
</mml:mtr>
</mml:mtable>
</mml:mrow>
</mml:mfenced>
</mml:mrow>
<mml:mo>&#x3d;</mml:mo>
<mml:msqrt>
<mml:mfrac>
<mml:mrow>
<mml:mn>2</mml:mn>
</mml:mrow>
<mml:mrow>
<mml:mn>3</mml:mn>
</mml:mrow>
</mml:mfrac>
</mml:msqrt>
<mml:mrow>
<mml:mfenced open="(" close=")" separators="&#x007C;">
<mml:mrow>
<mml:mtable columnalign="center">
<mml:mtr>
<mml:mtd>
<mml:mrow>
<mml:mn>1</mml:mn>
<mml:mo>/</mml:mo>
<mml:msqrt>
<mml:mn>2</mml:mn>
</mml:msqrt>
</mml:mrow>
</mml:mtd>
<mml:mtd>
<mml:mn>1</mml:mn>
</mml:mtd>
<mml:mtd>
<mml:mn>0</mml:mn>
</mml:mtd>
</mml:mtr>
<mml:mtr>
<mml:mtd>
<mml:mrow>
<mml:mn>1</mml:mn>
<mml:mo>/</mml:mo>
<mml:msqrt>
<mml:mn>2</mml:mn>
</mml:msqrt>
</mml:mrow>
</mml:mtd>
<mml:mtd>
<mml:mrow>
<mml:mo>&#x2212;</mml:mo>
<mml:mn>1</mml:mn>
<mml:mo>/</mml:mo>
<mml:mn>2</mml:mn>
</mml:mrow>
</mml:mtd>
<mml:mtd>
<mml:mrow>
<mml:msqrt>
<mml:mn>3</mml:mn>
</mml:msqrt>
<mml:mo>/</mml:mo>
<mml:mn>2</mml:mn>
</mml:mrow>
</mml:mtd>
</mml:mtr>
<mml:mtr>
<mml:mtd>
<mml:mrow>
<mml:mn>1</mml:mn>
<mml:mo>/</mml:mo>
<mml:msqrt>
<mml:mn>2</mml:mn>
</mml:msqrt>
</mml:mrow>
</mml:mtd>
<mml:mtd>
<mml:mrow>
<mml:mo>&#x2212;</mml:mo>
<mml:mn>1</mml:mn>
<mml:mo>/</mml:mo>
<mml:mn>2</mml:mn>
</mml:mrow>
</mml:mtd>
<mml:mtd>
<mml:mrow>
<mml:msqrt>
<mml:mn>3</mml:mn>
</mml:msqrt>
<mml:mo>/</mml:mo>
<mml:mn>2</mml:mn>
</mml:mrow>
</mml:mtd>
</mml:mtr>
</mml:mtable>
</mml:mrow>
</mml:mfenced>
</mml:mrow>
<mml:mrow>
<mml:mfenced open="[" close="]" separators="&#x007C;">
<mml:mrow>
<mml:mtable columnalign="left">
<mml:mtr>
<mml:mtd>
<mml:msub>
<mml:mi>I</mml:mi>
<mml:mi>&#x3b1;</mml:mi>
</mml:msub>
</mml:mtd>
</mml:mtr>
<mml:mtr>
<mml:mtd>
<mml:msub>
<mml:mi>I</mml:mi>
<mml:mi>&#x3b2;</mml:mi>
</mml:msub>
</mml:mtd>
</mml:mtr>
</mml:mtable>
</mml:mrow>
</mml:mfenced>
</mml:mrow>
</mml:mrow>
</mml:math>
<label>(13)</label>
</disp-formula>
<disp-formula id="e16">
<mml:math id="m18">
<mml:mrow>
<mml:msub>
<mml:mi>I</mml:mi>
<mml:mrow>
<mml:mi>c</mml:mi>
<mml:mi>N</mml:mi>
</mml:mrow>
</mml:msub>
<mml:mo>&#x3d;</mml:mo>
<mml:msub>
<mml:mi>I</mml:mi>
<mml:mrow>
<mml:mi>c</mml:mi>
<mml:mi>a</mml:mi>
</mml:mrow>
</mml:msub>
<mml:mo>&#x2b;</mml:mo>
<mml:msub>
<mml:mi>I</mml:mi>
<mml:mrow>
<mml:mi>c</mml:mi>
<mml:mi>b</mml:mi>
</mml:mrow>
</mml:msub>
<mml:mo>&#x2b;</mml:mo>
<mml:msub>
<mml:mi>I</mml:mi>
<mml:mrow>
<mml:mi>c</mml:mi>
<mml:mi>c</mml:mi>
</mml:mrow>
</mml:msub>
</mml:mrow>
</mml:math>
<label>(14)</label>
</disp-formula>
</p>
<p>I<sub>CN</sub> is a combination of three 3-phase compensation currents. The voltage control loop provides a basic proportional-integral (PI) function. The PI control is aimed at maintaining the V<sub>DC</sub> at the reference voltage (V<sub>DCref</sub>) level and providing the magnitude of the reference current signals (I<sub>l</sub>). The active power in this loop is kept balanced between the grid, load, and DC bus of the VSI. If there is a power imbalance in the network, a voltage deviation of the reference voltage is present at the DC bus. The voltage control loop appropriately adjusts the grid active current amplitude and retrieves the V<sub>DC</sub> according to the V<sub>DCref</sub> level. To keep the DC voltage from changing and to keep it at a constant value with a fixed reference value, an extra flow of energy to and from the capacitor is needed. The surplus real power is denoted as P<sub>l</sub> and is incorporated to compensate for real power (p), which is subsequently forwarded to the current reference calculation block along with compensating reactive power (q).</p>
</sec>
<sec id="s2-3-4">
<title>2.3.4 Control structure of a shunt compensation</title>
<p>The control method for SAPF is depicted in <xref ref-type="fig" rid="F10">Figure 10A, B</xref>, where the shunt APF reference is required grid current which must be sinusoidal and UPF. The active fundamental component is extracted by the shunt compensator in order to compensate load current. The shunt compensator operates by extracting the active component of the load current.</p>
<fig id="F10" position="float">
<label>FIGURE 10</label>
<caption>
<p>
<bold>(A)</bold> Control diagram of loss current component <bold>(B)</bold> Control diagram for shunt APF.</p>
</caption>
<graphic xlink:href="fenrg-12-1387908-g010.tif"/>
</fig>
<p>The active current injected into the grid (I<sup>&#x2a;</sup>) is calculated as Eq. <xref ref-type="disp-formula" rid="e17">15</xref>,<disp-formula id="e17">
<mml:math id="m19">
<mml:mrow>
<mml:msup>
<mml:mi>I</mml:mi>
<mml:mo>&#x2a;</mml:mo>
</mml:msup>
<mml:mo>&#x3d;</mml:mo>
<mml:msub>
<mml:mi>I</mml:mi>
<mml:mi>L</mml:mi>
</mml:msub>
<mml:mo>&#x2b;</mml:mo>
<mml:msub>
<mml:mi>I</mml:mi>
<mml:mi>l</mml:mi>
</mml:msub>
<mml:mo>&#x2212;</mml:mo>
<mml:msub>
<mml:mi>I</mml:mi>
<mml:mrow>
<mml:mi>g</mml:mi>
<mml:mo>,</mml:mo>
<mml:mi>p</mml:mi>
<mml:mi>v</mml:mi>
</mml:mrow>
</mml:msub>
</mml:mrow>
</mml:math>
<label>(15)</label>
</disp-formula>
</p>
<p>Where I<sub>L</sub> is the load active current component, I<sub>l</sub> is the loss current component due to switching, conduction, filter, and inductor losses, and I<sub>g</sub>,<sub>pv</sub> is the grid current corresponds to the ramp-limited PV power. The Eqs <xref ref-type="disp-formula" rid="e18">16</xref>, <xref ref-type="disp-formula" rid="e19">17</xref> represent the equivalent grid current for load active power.<disp-formula id="e18">
<mml:math id="m20">
<mml:mrow>
<mml:msub>
<mml:mi>I</mml:mi>
<mml:mi>L</mml:mi>
</mml:msub>
<mml:mo>&#x3d;</mml:mo>
<mml:mi>K</mml:mi>
<mml:mo>&#xd7;</mml:mo>
<mml:msub>
<mml:mi>I</mml:mi>
<mml:mrow>
<mml:mi>L</mml:mi>
<mml:mi>a</mml:mi>
<mml:mi>c</mml:mi>
</mml:mrow>
</mml:msub>
</mml:mrow>
</mml:math>
<label>(16)</label>
</disp-formula>
<disp-formula id="e19">
<mml:math id="m21">
<mml:mrow>
<mml:mi>K</mml:mi>
<mml:mo>&#x3d;</mml:mo>
<mml:mfrac>
<mml:mrow>
<mml:msubsup>
<mml:mi>V</mml:mi>
<mml:mi>L</mml:mi>
<mml:mo>&#x2a;</mml:mo>
</mml:msubsup>
</mml:mrow>
<mml:mrow>
<mml:msub>
<mml:mi>V</mml:mi>
<mml:mi>s</mml:mi>
</mml:msub>
</mml:mrow>
</mml:mfrac>
</mml:mrow>
</mml:math>
<label>(17)</label>
</disp-formula>
</p>
<p>Where V<sup>&#x2a;</sup>
<sub>L</sub>, V<sub>s</sub> are the reference load voltage and PCC voltage magnitudes.</p>
<p>The I<sub>g</sub>,<sub>pv</sub> is taken from the Eq. <xref ref-type="disp-formula" rid="e20">18</xref> below,<disp-formula id="e20">
<mml:math id="m22">
<mml:mrow>
<mml:msub>
<mml:mi>I</mml:mi>
<mml:mrow>
<mml:mi>g</mml:mi>
<mml:mo>,</mml:mo>
<mml:mi>p</mml:mi>
<mml:mi>v</mml:mi>
</mml:mrow>
</mml:msub>
<mml:mo>&#x3d;</mml:mo>
<mml:mfrac>
<mml:mrow>
<mml:mn>2</mml:mn>
</mml:mrow>
<mml:mrow>
<mml:mn>3</mml:mn>
</mml:mrow>
</mml:mfrac>
<mml:mfrac>
<mml:mrow>
<mml:msub>
<mml:mi>P</mml:mi>
<mml:mrow>
<mml:mi>r</mml:mi>
<mml:mo>,</mml:mo>
<mml:mi>p</mml:mi>
<mml:mi>v</mml:mi>
</mml:mrow>
</mml:msub>
</mml:mrow>
<mml:mrow>
<mml:msub>
<mml:mi>V</mml:mi>
<mml:mi>s</mml:mi>
</mml:msub>
</mml:mrow>
</mml:mfrac>
</mml:mrow>
</mml:math>
<label>(18)</label>
</disp-formula>
</p>
<p>The DC-link voltage (V<sub>DC</sub>) and capacitance (C<sub>DC</sub>) are calculated based on the following Eqs <xref ref-type="disp-formula" rid="e21">19</xref>, <xref ref-type="disp-formula" rid="e22">20</xref>,<disp-formula id="e21">
<mml:math id="m23">
<mml:mrow>
<mml:msub>
<mml:mi>V</mml:mi>
<mml:mrow>
<mml:mi>D</mml:mi>
<mml:mi>C</mml:mi>
</mml:mrow>
</mml:msub>
<mml:mo>&#x3d;</mml:mo>
<mml:mfrac>
<mml:mrow>
<mml:mn>2</mml:mn>
<mml:msqrt>
<mml:mn>2</mml:mn>
</mml:msqrt>
<mml:msub>
<mml:mi>V</mml:mi>
<mml:mrow>
<mml:mi>L</mml:mi>
<mml:mi>L</mml:mi>
</mml:mrow>
</mml:msub>
</mml:mrow>
<mml:mrow>
<mml:msqrt>
<mml:mn>3</mml:mn>
</mml:msqrt>
<mml:mi>m</mml:mi>
</mml:mrow>
</mml:mfrac>
</mml:mrow>
</mml:math>
<label>(19)</label>
</disp-formula>
<disp-formula id="e22">
<mml:math id="m24">
<mml:mrow>
<mml:msub>
<mml:mi>C</mml:mi>
<mml:mrow>
<mml:mi>D</mml:mi>
<mml:mi>C</mml:mi>
</mml:mrow>
</mml:msub>
<mml:mo>&#x3d;</mml:mo>
<mml:mfrac>
<mml:mrow>
<mml:mn>3</mml:mn>
<mml:mi>k</mml:mi>
<mml:mi>a</mml:mi>
<mml:msub>
<mml:mi>V</mml:mi>
<mml:mrow>
<mml:mi>p</mml:mi>
<mml:mi>h</mml:mi>
</mml:mrow>
</mml:msub>
<mml:msub>
<mml:mi>I</mml:mi>
<mml:mrow>
<mml:mi>s</mml:mi>
<mml:mi>h</mml:mi>
</mml:mrow>
</mml:msub>
<mml:mi>t</mml:mi>
</mml:mrow>
<mml:mrow>
<mml:mn>0.5</mml:mn>
<mml:mo>&#xd7;</mml:mo>
<mml:mrow>
<mml:mfenced open="(" close=")" separators="&#x007C;">
<mml:mrow>
<mml:msubsup>
<mml:mi>V</mml:mi>
<mml:mrow>
<mml:mi>D</mml:mi>
<mml:mi>C</mml:mi>
<mml:mi>r</mml:mi>
<mml:mi>e</mml:mi>
<mml:mi>f</mml:mi>
</mml:mrow>
<mml:mn>2</mml:mn>
</mml:msubsup>
<mml:mo>&#x2212;</mml:mo>
<mml:msubsup>
<mml:mi>V</mml:mi>
<mml:mrow>
<mml:mi>D</mml:mi>
<mml:mi>C</mml:mi>
</mml:mrow>
<mml:mn>2</mml:mn>
</mml:msubsup>
</mml:mrow>
</mml:mfenced>
</mml:mrow>
</mml:mrow>
</mml:mfrac>
</mml:mrow>
</mml:math>
<label>(20)</label>
</disp-formula>
</p>
<p>Where &#x201c;m&#x201d; is the modulation index, &#x201c;k&#x201d; is a dynamic energy change factor, denote &#x2018;<italic>a</italic>&#x27; as the overloading factor, &#x2018;V<sub>ph</sub>&#x2019; as the per-phase voltage, &#x2018;t&#x27; as the minimum time required to achieve steady state following a disturbance, and &#x2018;I<sub>sh</sub>&#x2019; as the shunt-compensator current per phase. The size of the C<sub>DC</sub> is determined by the power demand and the V<sub>DC</sub>.</p>
<p>The shunt compensator inductor rating relies on ripple current, switching frequency (f<sub>sw</sub>), and V<sub>DC</sub>. The equation of the interfacing inductor (L<sub>f</sub>) is given in Eq. <xref ref-type="disp-formula" rid="e23">21</xref>,<disp-formula id="e23">
<mml:math id="m25">
<mml:mrow>
<mml:msub>
<mml:mi>L</mml:mi>
<mml:mi>f</mml:mi>
</mml:msub>
<mml:mo>&#x3d;</mml:mo>
<mml:mfrac>
<mml:mrow>
<mml:msqrt>
<mml:mn>3</mml:mn>
</mml:msqrt>
<mml:msub>
<mml:mi>V</mml:mi>
<mml:mrow>
<mml:mi>D</mml:mi>
<mml:mi>C</mml:mi>
</mml:mrow>
</mml:msub>
</mml:mrow>
<mml:mrow>
<mml:mn>12</mml:mn>
<mml:mi>a</mml:mi>
<mml:msub>
<mml:mi>f</mml:mi>
<mml:mrow>
<mml:mi>s</mml:mi>
<mml:mi>w</mml:mi>
</mml:mrow>
</mml:msub>
<mml:msub>
<mml:mi>I</mml:mi>
<mml:mrow>
<mml:mi>L</mml:mi>
<mml:mo>,</mml:mo>
<mml:mi>r</mml:mi>
</mml:mrow>
</mml:msub>
</mml:mrow>
</mml:mfrac>
</mml:mrow>
</mml:math>
<label>(21)</label>
</disp-formula>
</p>
<p>Where I<sub>L,r</sub> is ripple current of the inductor (5%&#x2013;20% of I<sub>sh,rms</sub>). The instantaneous reference currents in <xref ref-type="fig" rid="F11">Figure 11</xref> are derived by multiplying the magnitude reference of the SAPF with the unit templates of the PCC voltage. The current control references in <xref ref-type="fig" rid="F9">Figures 9</xref>, <xref ref-type="fig" rid="F10">10</xref> are generated in the proposed model using the p-q theory computational block and the hysteresis current controller block. This method is stable, fast, accurate, and limits peak current. To regulate the shunt compensator, the error between (i<sup>&#x2a;</sup>
<sub>ca</sub>, i<sup>&#x2a;</sup>
<sub>cb</sub>, i<sup>&#x2a;</sup>
<sub>cc</sub>) and (i<sub>ca</sub>, i<sub>cb</sub>, i<sub>cc</sub>) is passed to the controller, which produces gate pulses. The generated gate pulses from the hysteresis controller are fed to the inverter.</p>
<fig id="F11" position="float">
<label>FIGURE 11</label>
<caption>
<p>Hysteresis controller.</p>
</caption>
<graphic xlink:href="fenrg-12-1387908-g011.tif"/>
</fig>
</sec>
</sec>
</sec>
<sec sec-type="results|discussion" id="s3">
<title>3 Results and discussion</title>
<sec id="s3-1">
<title>3.1 HIL implementation</title>
<p>HIL systems are widely employed in engineering applications for conducting real-time simulation tests prior to pre-prototyping. Engineers utilise RT simulations for power electronics and motor drives as a phase in the design process, either to simulate the entire system in RT, or to connect a portion of the system to the rest of the system in what is generally referred to as a &#x201c;HIL&#x201d; application.</p>
</sec>
<sec id="s3-2">
<title>3.2 Control of HIL system</title>
<p>For a power electronics control system, the plant (power source, converter, and load) is typically made up of a controller and the power circuit (<xref ref-type="fig" rid="F12">Figure 12</xref>). In closed-loop systems, sensors and actuators play a vital role by transmitting feedback signals from the plant to the controller and by regulating the signals transferred from the controller to the power switches (such as the firing pulse unit and gate drives).</p>
<fig id="F12" position="float">
<label>FIGURE 12</label>
<caption>
<p>Control system block diagram.</p>
</caption>
<graphic xlink:href="fenrg-12-1387908-g012.tif"/>
</fig>
</sec>
<sec id="s3-3">
<title>3.3 Design process of HIL system setup</title>
<p>The design process for most engineering projects, including power electronics, consists of four steps: requirements and specifications, design, execution, and validation.</p>
<p>First, text-based documentation communicates and manages design information. Text-based documentation is hard to understand and prone to interpretation errors (<xref ref-type="fig" rid="F13">Figure 13A</xref>).</p>
<fig id="F13" position="float">
<label>FIGURE 13</label>
<caption>
<p>HIL design process.</p>
</caption>
<graphic xlink:href="fenrg-12-1387908-g013.tif"/>
</fig>
<p>In a typical project, design needs may vary due to addition or modification (<xref ref-type="fig" rid="F13">Figure 13B</xref>). This requirement change would require new development and verification, and the following iterative loop is inadequate and often affects development and testing times.</p>
<p>Developing code manually from specification and requirements documents is time-consuming and prone to implementation problems (<xref ref-type="fig" rid="F13">Figure 13C</xref>). The system changes are tracked to assure their implementation.</p>
<p>Finally, in this design process, obtaining a system result during initial stages is challenging (<xref ref-type="fig" rid="F13">Figure 13D</xref>). Design and requirements problems are identified late in the design cycle, causing delays in the process, and adversely affecting the project.</p>
<p>The laboratory is equipped with OPAL-RT stacks on the HIL test bench, and its flow chart and experimental setup are shown in <xref ref-type="fig" rid="F14">Figures 14</xref>, <xref ref-type="fig" rid="F15">15</xref>. Stacks can swiftly construct prototypes and hardware synchronization quickly. In the RT-LAB environment, the plant and controller are configured within OPAL-RT system to operate at physical clock time. The rapid Nano-to-microsecond sampling rate of OPAL-RT constitutes a real-time dynamic system. The OP5700 HIL test bench, RT-LAB system software, MSOX3014A, PCBE06-0560 control board, probes, and connecting wires are used to validate the simulated results. The user&#x2019;s PC manages the RT-LAB Digital Simulation (RTDS) commands. The model is modified, built, loaded, and executed using the RT-LAB application.</p>
<fig id="F14" position="float">
<label>FIGURE 14</label>
<caption>
<p>Flow chart of the proposed system operation using the HIL test-bench.</p>
</caption>
<graphic xlink:href="fenrg-12-1387908-g014.tif"/>
</fig>
<fig id="F15" position="float">
<label>FIGURE 15</label>
<caption>
<p>HIL experimental set-up.</p>
</caption>
<graphic xlink:href="fenrg-12-1387908-g015.tif"/>
</fig>
</sec>
<sec id="s3-4">
<title>3.4 System parameters</title>
<p>The PV, battery, and SC parameters are presented in <xref ref-type="table" rid="T1">Table 1</xref>. The system comprises a three-phase AC source voltage rated at 415&#xa0;V with a frequency of 50&#xa0;Hz, along with non-linear load resistance and inductance parameters of 5&#xa0;&#x2126; and 10&#xa0;mH. The minimum required V<sub>DC</sub> is 677.7&#xa0;V for a line voltage of 415&#xa0;V. The V<sub>DC</sub> is set at approx. 700&#xa0;V.</p>
<table-wrap id="T1" position="float">
<label>TABLE 1</label>
<caption>
<p>System parameters.</p>
</caption>
<table>
<thead valign="top">
<tr>
<th align="center">PV parameters</th>
<th align="center">Values</th>
</tr>
</thead>
<tbody valign="top">
<tr>
<td align="left">Irradiance</td>
<td align="left">1,000 (W/m<sup>2</sup>)</td>
</tr>
<tr>
<td align="left">Cell temperature (T)</td>
<td align="left">25<sup>0</sup>&#xa0;C</td>
</tr>
<tr>
<td align="left">Series connected modules</td>
<td align="left">12</td>
</tr>
<tr>
<td align="left">Parallel connected modules</td>
<td align="left">12</td>
</tr>
<tr>
<td align="left">Open circuit voltage (V<sub>oc</sub>)</td>
<td align="left">64.2&#xa0;V</td>
</tr>
<tr>
<td align="left">Short circuit current (I<sub>sc</sub>)</td>
<td align="left">5.96 A</td>
</tr>
<tr>
<td align="left">MPP Voltage (V<sub>mp</sub>)</td>
<td align="left">58.3&#xa0;V</td>
</tr>
<tr>
<td align="left">MPP Current (I<sub>mp</sub>)</td>
<td align="left">5.48 A</td>
</tr>
<tr>
<td align="left">Battery Pack Specifications</td>
<td align="left">Values</td>
</tr>
<tr>
<td align="left">Type</td>
<td align="left">Li-ion</td>
</tr>
<tr>
<td align="left">Capacity</td>
<td align="left">12 Ah</td>
</tr>
<tr>
<td align="left">Terminal voltage (V<sub>b</sub>)</td>
<td align="left">48&#xa0;V</td>
</tr>
<tr>
<td align="left">No. of batteries in series</td>
<td align="left">16</td>
</tr>
<tr>
<td align="left">SC Pack Specifications</td>
<td align="left">Values</td>
</tr>
<tr>
<td align="left">Rated Capacitance</td>
<td align="left">58&#xa0;F</td>
</tr>
<tr>
<td align="left">Terminal voltage (V<sub>sc</sub>)</td>
<td align="left">16&#xa0;V</td>
</tr>
<tr>
<td align="left">Converter parameters</td>
<td align="left">Values</td>
</tr>
<tr>
<td align="left">PV system</td>
<td align="left">L<sub>1</sub> &#x3d; L<sub>2</sub> &#x3d; 10&#xa0;mH, C<sub>pv</sub> &#x3d; 220 uF</td>
</tr>
<tr>
<td align="left">Battery device</td>
<td align="left">L<sub>b</sub> &#x3d; 10&#xa0;mH, C<sub>b</sub> &#x3d; 220 uF</td>
</tr>
<tr>
<td align="left">SC device</td>
<td align="left">L<sub>sc</sub> &#x3d; 10&#xa0;mH, C<sub>sc</sub> &#x3d; 220 uF</td>
</tr>
<tr>
<td align="left">Grid System Parameters</td>
<td align="left">Values</td>
</tr>
<tr>
<td align="left">Phase-Phase Voltage (V<sub>ph-ph</sub>)</td>
<td align="left">415&#xa0;V</td>
</tr>
<tr>
<td align="left">Type of system</td>
<td align="left">3-Phase, 4-wire</td>
</tr>
<tr>
<td align="left">Frequency (f)</td>
<td align="left">50&#xa0;Hz</td>
</tr>
<tr>
<td align="left">Source Resistance (R<sub>S</sub>)</td>
<td align="left">0.04&#xa0;&#x2126;</td>
</tr>
<tr>
<td align="left">Source Inductance (L<sub>S</sub>)</td>
<td align="left">0.2&#xa0;mH</td>
</tr>
<tr>
<td align="left">Load Resistance/phase (R<sub>L</sub>)</td>
<td align="left">5&#xa0;&#x2126;</td>
</tr>
<tr>
<td align="left">Load Inductance/phase (L<sub>L</sub>)</td>
<td align="left">10&#xa0;mH</td>
</tr>
<tr>
<td align="left">Shunt APF Interfacing Inductor (L<sub>f</sub>)</td>
<td align="left">1&#xa0;mH</td>
</tr>
<tr>
<td align="left">Ripple filter Resistance (R<sub>f</sub>)</td>
<td align="left">10&#xa0;&#x2126;</td>
</tr>
<tr>
<td align="left">Ripple filter Capacitance (C<sub>f</sub>)</td>
<td align="left">10&#xa0;&#x3bc;F</td>
</tr>
<tr>
<td align="left">DC link capacitance (C<sub>DC</sub>)</td>
<td align="left">7.1&#xa0;mF</td>
</tr>
<tr>
<td align="left">DC link voltage (V<sub>DC</sub>)</td>
<td align="left">700&#xa0;V</td>
</tr>
</tbody>
</table>
</table-wrap>
</sec>
<sec id="s3-5">
<title>3.5 Simulation results</title>
<p>The SAPF performance is verified using MATLAB-based Simulink and simulation results are depicted in <xref ref-type="fig" rid="F16">Figure 16</xref>. Three-phase 415&#xa0;V and 50&#xa0;Hz are considered. The SAPF is linked to the load via three-phase circuit breaker (CB) that is initially open, and the results are presented in <xref ref-type="fig" rid="F16">Figure 16.1</xref>. The SAPF connects to a non-linear load and uses a diode rectifier to test its performance. The nonlinear voltage and current results are presented in <xref ref-type="fig" rid="F16">Figure 16.3</xref>. SAPF performance is analysed in nonlinear and unbalanced conditions through THD performance.</p>
<fig id="F16" position="float">
<label>FIGURE 16</label>
<caption>
<p>Simulation results.</p>
</caption>
<graphic xlink:href="fenrg-12-1387908-g016.tif"/>
</fig>
</sec>
<sec id="s3-6">
<title>3.6 HIL experimental set-up results</title>
<p>The RRC is presented in this system to control the PV power fluctuations, and the battery power is obtained based on the difference between P<sub>pv</sub> and P<sub>r</sub>. The variable PV current and battery current profiles are presented in <xref ref-type="fig" rid="F17">Figures 17A, B</xref>. The BESS in a steady state gives/takes the fraction of deficit/surplus power, and the SC absorbs the transient change in PV and load power. Whenever the battery experiences an abrupt change, the battery current undergoes a significant increase or decrease. If the battery responds to these sudden changes, it will create stress on the battery. Hence, the lifetime of the battery will be reduced. As shown in <xref ref-type="fig" rid="F17">Figure 17C</xref>, the SC eliminates transients from the battery and reduce stress on the battery. The load current required for the variable DC load is shown in <xref ref-type="fig" rid="F18">Figure 18B</xref>. The V<sub>DC</sub> is shown in <xref ref-type="fig" rid="F18">Figure 18A</xref>. The DC grid voltage remains constant during sudden variations in load. The battery state of charge (SoC) is illustrated in <xref ref-type="fig" rid="F19">Figure 19</xref>.</p>
<fig id="F17" position="float">
<label>FIGURE 17</label>
<caption>
<p>(a) Variable PV current (<italic>I</italic>
<sub>
<italic>pv</italic>
</sub>), (b) Battery current (<italic>I</italic>
<sub>
<italic>b</italic>
</sub>), (c) SC current (<italic>I</italic>
<sub>
<italic>sc</italic>
</sub>).</p>
</caption>
<graphic xlink:href="fenrg-12-1387908-g017.tif"/>
</fig>
<fig id="F18" position="float">
<label>FIGURE 18</label>
<caption>
<p>(a) DC bus voltage (<italic>V</italic>
<sub>
<italic>DC</italic>
</sub>), (b) Load current (<italic>I</italic>
<sub>
<italic>dcl</italic>
</sub>).</p>
</caption>
<graphic xlink:href="fenrg-12-1387908-g018.tif"/>
</fig>
<fig id="F19" position="float">
<label>FIGURE 19</label>
<caption>
<p>SoC of the battery.</p>
</caption>
<graphic xlink:href="fenrg-12-1387908-g019.tif"/>
</fig>
<p>A 3-phase CB is connected to the p-q theory-based controller between the source and the VSI. The shunt APF with a PV array system when a controller is not present, and the CB is disconnected from the source is shown in <xref ref-type="fig" rid="F20">Figure 20A, B</xref>. When the controller is removed from the device, the source current continues to follow the sinusoidal wave pattern. The availability of the neutral wire has led to a reduction in the amplitude of current flowing through the device.</p>
<fig id="F20" position="float">
<label>FIGURE 20</label>
<caption>
<p>
<bold>(A)</bold> Source <italic>I</italic>
<sub>
<italic>S</italic>
</sub>(<italic>abc</italic>), load <italic>I</italic>
<sub>
<italic>L</italic>
</sub>(<italic>abc</italic>) currents, and <bold>(B)</bold> Source <italic>I</italic>
<sub>
<italic>S</italic>
</sub>(<italic>abc</italic>) and compensation <italic>I</italic>
<sub>
<italic>c</italic>
</sub>(<italic>abc</italic>) currents.</p>
</caption>
<graphic xlink:href="fenrg-12-1387908-g020.tif"/>
</fig>
<p>Due to the non-linear nature of the load, harmonics occur between 0.06 and 0.14&#xa0;s when the CB is closed, and the controller is connected to the device. The compensated current (I<sub>c</sub>) produced by the p-q theory-based controller is shown in <xref ref-type="fig" rid="F21">Figure 21</xref>. It injects current into sources that are similar in amplitude but opposite in phase to the reverse harmonics in the p-q theory-based system. It produces compensated currents that nullify the harmonics generated by the current source by comparing the source and load currents. The source current (I<sub>sabc</sub>) is sinusoidal in <xref ref-type="fig" rid="F21">Figure 21</xref> for the time interval of 0.06&#x2013;0.14&#xa0;s. The AC source (I<sub>s</sub>), compensation (I<sub>c</sub>), and load (I<sub>L</sub>) currents are depicted in <xref ref-type="fig" rid="F21">Figure 21</xref>. The generated I<sub>c</sub> balances the difference measured between the I<sub>L</sub> and I<sub>s</sub> associated with the PV system through a C<sub>DC</sub>. The source voltage (V<sub>s</sub>) and current (I<sub>s</sub>) waveforms without a controller are not sinusoidal due to non-linear load harmonics presented in the system, as shown in <xref ref-type="fig" rid="F22">Figure 22A</xref>. <xref ref-type="fig" rid="F22">Figure 22B</xref> displays the source voltage (V<sub>s</sub>) and current (I<sub>s</sub>) waveforms, which are sinusoidal in nature during the interval from 0.06 to 0.14&#xa0;s. The harmonic spectra for grid THD with SAPF is 3.28%, as depicted in <xref ref-type="fig" rid="F23">Figure 23</xref>, indicating an enhancement in the performance and power quality of the system. <xref ref-type="table" rid="T2">Table 2</xref> compares the THD analysis between the proposed method and existing approaches. The table displays different control strategies outlined in referenced papers, highlighting that the conventional methods utilizing solar PV, APF, and Grid control exhibit higher THD values compared to the proposed approach. In contrast, the proposed method integrates PV and HESS with RRC strategy, along with compensation techniques using APF, resulting in superior outcomes.</p>
<fig id="F21" position="float">
<label>FIGURE 21</label>
<caption>
<p>Source <italic>I</italic>
<sub>
<italic>S</italic>
</sub>(<italic>abc</italic>), load <italic>I</italic>
<sub>
<italic>L</italic>
</sub>(<italic>abc</italic>), and compensation <italic>I</italic>
<sub>
<italic>C</italic>
</sub>(<italic>abc</italic>) currents using a p-q based controller.</p>
</caption>
<graphic xlink:href="fenrg-12-1387908-g021.tif"/>
</fig>
<fig id="F22" position="float">
<label>FIGURE 22</label>
<caption>
<p>
<bold>(A)</bold> Source voltage (<italic>V</italic>
<sub>
<italic>S</italic>
</sub>(<italic>abc</italic>)) and current (<italic>I</italic>
<sub>
<italic>S</italic>
</sub>(<italic>abc</italic>)) waveforms with non-linear load, <bold>(B)</bold> Source voltage (<italic>V</italic>
<sub>
<italic>S</italic>
</sub>(<italic>abc</italic>)) and current (<italic>I</italic>
<sub>
<italic>S</italic>
</sub>(<italic>abc</italic>) waveforms after compensation.</p>
</caption>
<graphic xlink:href="fenrg-12-1387908-g022.tif"/>
</fig>
<fig id="F23" position="float">
<label>FIGURE 23</label>
<caption>
<p>
<bold>(A)</bold> <italic>I</italic>
<sub>
<italic>L</italic>
</sub> (phase-a) harmonics, <bold>(B)</bold> <italic>I</italic>
<sub>
<italic>g</italic>
</sub> (phase-a) harmonics.</p>
</caption>
<graphic xlink:href="fenrg-12-1387908-g023.tif"/>
</fig>
<table-wrap id="T2" position="float">
<label>TABLE 2</label>
<caption>
<p>A comparison study of THD between the proposed and existing methods.</p>
</caption>
<table>
<thead valign="top">
<tr>
<th align="center">Ref. No.</th>
<th align="center">Existing methods</th>
<th align="center">THD (%)</th>
<th align="center">Advantages</th>
<th align="center">Limitations</th>
</tr>
</thead>
<tbody valign="top">
<tr>
<td align="left">
<xref ref-type="bibr" rid="B28">Panigrahi and Subudhi (2017)</xref>
</td>
<td align="left">Kalman filter (KF) based H<sub>&#x221e;</sub> control scheme</td>
<td align="left">4.1</td>
<td align="left" style="color:#0D0D0D">The system acts as a self-regulator of V<sub>DC</sub> without the need for a PI controller. Merely utilizing source current sensors is adequate to establish the reference current, reducing the overall cost of SAPF implementation</td>
<td align="left" style="color:#0D0D0D">There is a higher variation in V<sub>DC</sub> and settling time is more</td>
</tr>
<tr>
<td align="left">
<xref ref-type="bibr" rid="B2">Alfaris and Bhattacharya (2019)</xref>
</td>
<td align="left">Versatile convertible static transmission controller (CSTC)</td>
<td align="left">3.3</td>
<td align="left">Utilized in parallel building block converters to regulate power flow and enhance power quality and regulates stable V<sub>DC</sub>
</td>
<td align="left" style="color:#0D0D0D">In real-world scenarios, two challenges could arise: the cost implications of an expanded power electronic system and increased control complexity resulting from integrating a PV source into a Back-to-Back VSCs system</td>
</tr>
<tr>
<td align="left">
<xref ref-type="bibr" rid="B29">Parchure et al. (2017)</xref>
</td>
<td align="left">UAPF &#x2b; PV &#x2b; Grid</td>
<td align="left">3.9</td>
<td align="left" style="color:#0D0D0D">Quasi-steady-state power flow serves as a reference for identifying solar customers who should be managed by the utility to provide reactive power support</td>
<td align="left" style="color:#0D0D0D">The settling time is longer, and there is a failure to generate smooth and continuous PV power in real applications</td>
</tr>
<tr>
<td align="left">
<xref ref-type="bibr" rid="B40">Zahedmanesh et al. (2020)</xref>
</td>
<td align="left">An Adaptable Correlated Control &#x2b; PV &#x2b; Grid</td>
<td align="left">4.4</td>
<td align="left" style="color:#0D0D0D">Optimize active and reactive power independently, enabling the minimization of energy costs</td>
<td align="left" style="color:#0D0D0D">Fail to generate smooth and continuous PV power in real-world applications</td>
</tr>
<tr>
<td align="left">
<xref ref-type="bibr" rid="B35">Saxena et al. (2017)</xref>
</td>
<td align="left">PV &#x2b; MPPT &#x2b; VSC &#x2b; Grid</td>
<td align="left">4.28</td>
<td align="left" style="color:#0D0D0D">capability to generate maximum power under varying insolation and enhances the system&#x2019;s efficiency</td>
<td align="left" style="color:#0D0D0D">Settling time is longer, and fail to generate smooth and continuous PV power in real-world applications</td>
</tr>
<tr>
<td align="left">
<xref ref-type="bibr" rid="B32">Rahmani et al. (2015)</xref>
</td>
<td align="left">PV &#x2b; MPPT &#x2b; APF &#x2b; Grid</td>
<td align="left">5</td>
<td align="left" style="color:#0D0D0D">Suppress grid-end current harmonics and distortions, even when faced with unbalanced nonlinear load conditions</td>
<td align="left" style="color:#0D0D0D">Fail to generate smooth and continuous PV power in real-world applications</td>
</tr>
<tr>
<td align="left">
<xref ref-type="bibr" rid="B14">Golla et al. (2023)</xref>
</td>
<td align="left">PV &#x2b; BSS &#x2b; UAPF</td>
<td align="left">3.63</td>
<td align="left" style="color:#0D0D0D">Suppress grid-end current harmonics and distortions, even when faced with unbalanced nonlinear load conditions</td>
<td align="left" style="color:#0D0D0D">Sudden changes in battery currents have an impact on the battery system</td>
</tr>
<tr>
<td align="left">
<xref ref-type="bibr" rid="B36">Sharma et al. (2022)</xref>
</td>
<td align="left">PV &#x2b; ESS &#x2b; ESOGI-FLL-WIF Control Algorithm &#x2b; Grid</td>
<td align="left">3.6</td>
<td align="left" style="color:#0D0D0D">It compensates for neutral current and controls RPC under unbalanced load conditions</td>
<td align="left" style="color:#0D0D0D">Fail to generate smooth and continuous PV power and Sudden changes in battery currents have an impact on the battery system</td>
</tr>
<tr>
<td align="left">
<xref ref-type="bibr" rid="B16">Hoon et al. (2018)</xref>
</td>
<td align="left">SAPF &#x2b; self-tuning filter (STF)&#x2b;Grid</td>
<td align="left">3.47</td>
<td align="left" style="color:#0D0D0D">Accurately computing the fundamental components</td>
<td align="left" style="color:#0D0D0D">The computational burden is higher, leading to time delays due to reliance on numerical filters, and is ineffective under non-ideal source voltage conditions</td>
</tr>
<tr>
<td align="left">
<xref ref-type="bibr" rid="B3">Barva and Arkdev (2023)</xref>
</td>
<td align="left">PV &#x2b; APF &#x2b; Grid</td>
<td align="left">4.3</td>
<td align="left" style="color:#0D0D0D">Operates efficiently in both balanced and unbalanced supply and load scenarios</td>
<td align="left" style="color:#0D0D0D">Computational burden is higher and fail to generate smooth and continuous PV power</td>
</tr>
<tr>
<td rowspan="5" align="left">Proposed method</td>
<td rowspan="5" align="left">PV &#x2b; HESS &#x2b; RRC &#x2b; APF &#x2b; Grid</td>
<td rowspan="5" align="left">3.28</td>
<td align="left">&#x2022; Capable of generating smooth and continuous power</td>
<td rowspan="5" align="left">Necessary to consider the transition between modes</td>
</tr>
<tr>
<td align="left">&#x2022; Able to remove battery current transients</td>
</tr>
<tr>
<td align="left">&#x2022; Eliminates source current harmonics</td>
</tr>
<tr>
<td align="left">&#x2022; Regulates stable V<sub>DC</sub>
</td>
</tr>
<tr>
<td align="left">&#x2022; Enhances overall system performance</td>
</tr>
</tbody>
</table>
</table-wrap>
</sec>
</sec>
<sec sec-type="conclusion" id="s4">
<title>4 Conclusion</title>
<p>This paper introduces a RRC approach for enhancing the power quality of a PV system integrated with HESS. This method effectively mitigates harmonics and compensates for non-linear reactive power, offering simultaneous control over harmonic currents and RPC. HIL tests demonstrate the filtering of current and voltage waveforms. With the integration of a shunt APF, the grid THD is reduced to 3.28%, showcasing the robust filtering capabilities for harmonic currents and optimal compensation for reactive power. This improvement in power quality aligns with the IEEE-519 standard criterion. The output of the PV system fluctuates depending on the irradiance levels. When the PV power output is low, the battery steps in to provide power, ensuring a steady supply. By doing so, it smooths out fluctuations in PV power and maintains a constant voltage across the DC-link capacitor, resulting in more stable power delivery to the system. However, sudden changes in battery power can put stress on the battery. To address this issue, a SC is employed to eliminate transients from the battery, ensuring smoother operation. This combination of distributed generation with enhanced power quality offers a promising approach for future distribution systems.</p>
</sec>
<sec id="s5">
<title>5 Future scope</title>
<p>The inherent unpredictability of RESs poses significant technical hurdles in both grid and island-mode operations. Moreover, designing suitable management strategies for ensuring the reliable and uninterrupted operation of the system demands careful attention to the transition between these modes. Therefore, future research will focus on implementing various control techniques and algorithms to enhance power quality in grid-integrated MGs equipped with HESSs. Additionally, the fluctuating output of PV power can be mitigated using advanced smoothing control techniques, which hold promise for large-scale power applications aiming to maintain stability and enhance overall system power quality. Furthermore, the effective implementation of advanced techniques for controlling HESS brings several benefits to renewable energy producers and system operators.</p>
</sec>
</body>
<back>
<sec sec-type="data-availability" id="s6">
<title>Data availability statement</title>
<p>The original contributions presented in the study are included in the article/supplementary material, further inquiries can be directed to the corresponding author.</p>
</sec>
<sec id="s7">
<title>Author contributions</title>
<p>GK: Conceptualization, Data curation, Formal Analysis, Methodology, Resources, Software, Validation, Writing&#x2013;original draft, Writing&#x2013;review and editing. KP: Investigation, Project administration, Supervision, Validation, Visualization, Writing&#x2013;review and editing. ED: Funding acquisition, Investigation, Project administration, Supervision, Validation, Visualization, Writing&#x2013;review and editing.</p>
</sec>
<sec sec-type="funding-information" id="s8">
<title>Funding</title>
<p>The author(s) declare that financial support was received for the research, authorship, and/or publication of this article. This work was supported by the Department of Science and Technology (DST), Government of India (GOI), with project grant SR/FST/ETI-420/2016(C) under the FIST scheme. It was also supported by the European Union Next-Generation EU (National Recovery and Resilience Plan (NRRP), Mission 4 Component 2 Investment 1.3) under the Network 4 Energy Sustainable Transition (NEST) Extended Partnership (Italian Ministry of University and Research Decree No. 1561 of 11/10/2022) under Project PE00000021.</p>
</sec>
<sec sec-type="COI-statement" id="s9">
<title>Conflict of interest</title>
<p>The authors declare that the research was conducted in the absence of any commercial or financial relationships that could be construed as a potential conflict of interest.</p>
</sec>
<sec sec-type="disclaimer" id="s10">
<title>Publisher&#x2019;s note</title>
<p>All claims expressed in this article are solely those of the authors and do not necessarily represent those of their affiliated organizations, or those of the publisher, the editors and the reviewers. Any product that may be evaluated in this article, or claim that may be made by its manufacturer, is not guaranteed or endorsed by the publisher.</p>
</sec>
<ref-list>
<title>References</title>
<ref id="B1">
<citation citation-type="confproc">
<person-group person-group-type="author">
<name>
<surname>Abdullah</surname>
<given-names>A.</given-names>
</name>
<name>
<surname>Biswal</surname>
<given-names>G. R.</given-names>
</name>
<name>
<surname>Roy</surname>
<given-names>A. K.</given-names>
</name>
<name>
<surname>Ijaz</surname>
<given-names>M.</given-names>
</name>
<name>
<surname>Parveen</surname>
<given-names>S.</given-names>
</name>
<name>
<surname>Murtaza</surname>
<given-names>S.</given-names>
</name>
<etal/>
</person-group> (<year>2016</year>). &#x201c;<article-title>Molecular diagnosis and phylogenetic analysis of human papillomavirus type-16 from suspected patients in Pakistan</article-title>,&#x201d; in <conf-name>2016 IEEE 1st International Conference on Intelligent Control and Energy Systems (ICPEICES)</conf-name>, <conf-loc>Delhi, India</conf-loc>, <conf-date>July 4-6, 2016</conf-date>, <fpage>1</fpage>&#x2013;<lpage>6</lpage>.</citation>
</ref>
<ref id="B2">
<citation citation-type="journal">
<person-group person-group-type="author">
<name>
<surname>Alfaris</surname>
<given-names>F. E.</given-names>
</name>
<name>
<surname>Bhattacharya</surname>
<given-names>S.</given-names>
</name>
</person-group> (<year>2019</year>). <article-title>Control and real-time validation for convertible static transmission controller enabled dual active power filters and PV integration</article-title>. <source>IEEE Trans. Ind. Appl.</source> <volume>55</volume> (<issue>4</issue>), <fpage>4309</fpage>&#x2013;<lpage>4320</lpage>. <pub-id pub-id-type="doi">10.1109/tia.2019.2910782</pub-id>
</citation>
</ref>
<ref id="B3">
<citation citation-type="confproc">
<person-group person-group-type="author">
<name>
<surname>Barva</surname>
<given-names>A. V.</given-names>
</name>
<name>
<surname>Arkdev</surname>
</name>
</person-group> (<year>2023</year>). &#x201c;<article-title>Analysis of SAPF based on p-q and SRF theory for different supply and load conditions</article-title>,&#x201d; in <conf-name>2023 International Conference on Power, Instrumentation, Energy and Control (PIECON)</conf-name>, <conf-loc>Aligarh, India</conf-loc>, <conf-date>10-12 February 2023</conf-date>, <fpage>1</fpage>&#x2013;<lpage>6</lpage>.</citation>
</ref>
<ref id="B4">
<citation citation-type="confproc">
<person-group person-group-type="author">
<name>
<surname>Belaidi</surname>
<given-names>R.</given-names>
</name>
<name>
<surname>Hatti</surname>
<given-names>M.</given-names>
</name>
<name>
<surname>Haddouche</surname>
<given-names>A.</given-names>
</name>
<name>
<surname>Larafi</surname>
<given-names>M. M.</given-names>
</name>
</person-group> (<year>2013</year>). &#x201c;<article-title>Shunt active power filter connected to a photovoltaic array for compensating harmonics and reactive power simultaneously</article-title>,&#x201d; in <conf-name>4th International Conference on Power Engineering, Energy and Electrical Drives</conf-name>, <conf-loc>Istanbul, Turkey</conf-loc>, <conf-date>13-17 May 2013</conf-date>, <fpage>1482</fpage>&#x2013;<lpage>1486</lpage>.</citation>
</ref>
<ref id="B5">
<citation citation-type="journal">
<person-group person-group-type="author">
<name>
<surname>Benchouia</surname>
<given-names>M. T.</given-names>
</name>
<name>
<surname>Ghadbane</surname>
<given-names>I.</given-names>
</name>
<name>
<surname>Golea</surname>
<given-names>A.</given-names>
</name>
<name>
<surname>Srairi</surname>
<given-names>K.</given-names>
</name>
<name>
<surname>Benbouzid</surname>
<given-names>M. E. H.</given-names>
</name>
</person-group> (<year>2015</year>). <article-title>Implementation of adaptive fuzzy logic and PI controllers to regulate the DC bus voltage of shunt active power filter</article-title>. <source>Appl. Soft Comput.</source> <volume>28</volume>, <fpage>125</fpage>&#x2013;<lpage>131</lpage>. <pub-id pub-id-type="doi">10.1016/j.asoc.2014.10.043</pub-id>
</citation>
</ref>
<ref id="B6">
<citation citation-type="journal">
<person-group person-group-type="author">
<name>
<surname>Beniwal</surname>
<given-names>N.</given-names>
</name>
<name>
<surname>Hussain</surname>
<given-names>I.</given-names>
</name>
<name>
<surname>Singh</surname>
<given-names>B.</given-names>
</name>
</person-group> (<year>2018</year>). <article-title>Control and operation of a solar PV-battery-grid-tied system in fixed and variable power mode</article-title>. <source>IET Generation, Transm. Distribution</source> <volume>12</volume> (<issue>11</issue>), <fpage>2633</fpage>&#x2013;<lpage>2641</lpage>. <pub-id pub-id-type="doi">10.1049/iet-gtd.2017.1095</pub-id>
</citation>
</ref>
<ref id="B7">
<citation citation-type="confproc">
<person-group person-group-type="author">
<name>
<surname>Brahmendra Kumar</surname>
<given-names>G. V.</given-names>
</name>
<name>
<surname>Kumar</surname>
<given-names>G. A.</given-names>
</name>
<name>
<surname>Eswararao</surname>
<given-names>S.</given-names>
</name>
<name>
<surname>Gehlot</surname>
<given-names>D.</given-names>
</name>
</person-group> (<year>2018</year>). &#x201c;<article-title>Modelling and control of BESS for solar integration for PV ramp rate control</article-title>,&#x201d; in <conf-name>2018 International Conference on Computation of Power, Energy, Information and Communication (ICCPEIC)</conf-name>, <conf-loc>Chennai, India</conf-loc>, <conf-date>28-29 March 2018</conf-date>, <fpage>368</fpage>&#x2013;<lpage>374</lpage>.</citation>
</ref>
<ref id="B8">
<citation citation-type="journal">
<person-group person-group-type="author">
<name>
<surname>Brahmendra Kumar</surname>
<given-names>G. V.</given-names>
</name>
<name>
<surname>Palanisamy</surname>
<given-names>K.</given-names>
</name>
</person-group> (<year>2019</year>). <article-title>A review on microgrids with distributed energy resources</article-title>. <source>2019 Innovations Power Adv. Comput. Technol. (i-PACT)</source> <volume>2019</volume>, <fpage>1</fpage>&#x2013;<lpage>6</lpage>. <pub-id pub-id-type="doi">10.1109/i-pact44901.2019.8960189</pub-id>
</citation>
</ref>
<ref id="B9">
<citation citation-type="journal">
<person-group person-group-type="author">
<name>
<surname>Dashtdar</surname>
<given-names>M.</given-names>
</name>
<name>
<surname>Flah</surname>
<given-names>A.</given-names>
</name>
<name>
<surname>Hosseinimoghadam</surname>
<given-names>S. M.</given-names>
</name>
<name>
<surname>El&#x2010;Fergany</surname>
<given-names>A. A.</given-names>
</name>
</person-group> (<year>2022</year>). <article-title>Frequency control of the islanded microgrid including energy storage using soft computing</article-title>. <source>Sci. Rep.</source> <volume>12</volume>, <fpage>20409</fpage>&#x2013;<lpage>20418</lpage>. <pub-id pub-id-type="doi">10.1038/s41598-022-24758-6</pub-id>
</citation>
</ref>
<ref id="B10">
<citation citation-type="journal">
<person-group person-group-type="author">
<name>
<surname>Devassy</surname>
<given-names>S.</given-names>
</name>
<name>
<surname>Singh</surname>
<given-names>B.</given-names>
</name>
</person-group> (<year>2018</year>). <article-title>Design and performance analysis of three-phase solar PV integrated UPQC</article-title>. <source>IEEE Trans. Ind. Appl.</source> <volume>54</volume> (<issue>1</issue>), <fpage>73</fpage>&#x2013;<lpage>81</lpage>. <pub-id pub-id-type="doi">10.1109/tia.2017.2754983</pub-id>
</citation>
</ref>
<ref id="B11">
<citation citation-type="journal">
<person-group person-group-type="author">
<name>
<surname>Devassy</surname>
<given-names>S.</given-names>
</name>
<name>
<surname>Singh</surname>
<given-names>B.</given-names>
</name>
</person-group> (<year>2019</year>). <article-title>Implementation of solar photovoltaic system with universal active filtering capability</article-title>. <source>IEEE Trans. Ind. Appl.</source> <volume>55</volume> (<issue>4</issue>), <fpage>3926</fpage>&#x2013;<lpage>3934</lpage>. <pub-id pub-id-type="doi">10.1109/tia.2019.2906297</pub-id>
</citation>
</ref>
<ref id="B12">
<citation citation-type="journal">
<person-group person-group-type="author">
<name>
<surname>Echalih</surname>
<given-names>S.</given-names>
</name>
<name>
<surname>Abouloifa</surname>
<given-names>A.</given-names>
</name>
<name>
<surname>Lachkar</surname>
<given-names>I.</given-names>
</name>
<name>
<surname>Aroudi</surname>
<given-names>A. E.</given-names>
</name>
<name>
<surname>Hekss</surname>
<given-names>Z.</given-names>
</name>
<name>
<surname>Giri</surname>
<given-names>F.</given-names>
</name>
<etal/>
</person-group> (<year>2022</year>). <article-title>A cascaded controller for a grid-tied photovoltaic system with three-phase half-bridge interleaved buck shunt active power filter: hybrid control strategy and fuzzy logic approach</article-title>. <source>IEEE J. Emerg. Sel. Top. Circuits Syst.</source> <volume>12</volume> (<issue>1</issue>), <fpage>320</fpage>&#x2013;<lpage>330</lpage>. <pub-id pub-id-type="doi">10.1109/jetcas.2022.3152535</pub-id>
</citation>
</ref>
<ref id="B13">
<citation citation-type="journal">
<person-group person-group-type="author">
<name>
<surname>Fabricio</surname>
<given-names>E. L. L.</given-names>
</name>
<name>
<surname>J&#xfa;nior</surname>
<given-names>S. C. S.</given-names>
</name>
<name>
<surname>Jacobina</surname>
<given-names>C. B.</given-names>
</name>
<name>
<surname>Corr&#xea;a</surname>
<given-names>M. B.</given-names>
</name>
</person-group> (<year>2018</year>). <article-title>Analysis of main topologies of shunt active power filters applied to four-wire systems</article-title>. <source>IEEE Trans. Power Electron</source> <volume>33</volume>, <fpage>2100</fpage>&#x2013;<lpage>2112</lpage>. <pub-id pub-id-type="doi">10.1109/tpel.2017.2698439</pub-id>
</citation>
</ref>
<ref id="B14">
<citation citation-type="journal">
<person-group person-group-type="author">
<name>
<surname>Golla</surname>
<given-names>M.</given-names>
</name>
<name>
<surname>Thangavel</surname>
<given-names>S.</given-names>
</name>
<name>
<surname>Simon</surname>
<given-names>S. P.</given-names>
</name>
<name>
<surname>Padhy</surname>
<given-names>N. P.</given-names>
</name>
</person-group> (<year>2023</year>). <article-title>An enhancement of power quality with efficient active power transfer capability in a PV&#x2013;BSS-fed UAPF for microgrid realization</article-title>. <source>IEEE Syst. J.</source> <volume>17</volume> (<issue>1</issue>), <fpage>1614</fpage>&#x2013;<lpage>1625</lpage>. <pub-id pub-id-type="doi">10.1109/jsyst.2022.3179182</pub-id>
</citation>
</ref>
<ref id="B15">
<citation citation-type="confproc">
<person-group person-group-type="author">
<name>
<surname>Gundumalla</surname>
<given-names>V. B. K.</given-names>
</name>
<name>
<surname>Eswararao</surname>
<given-names>S.</given-names>
</name>
</person-group> (<year>2018</year>). &#x201c;<article-title>Ramp rate control strategy for an islanded DC microgrid with hybrid energy storage system</article-title>,&#x201d; in <conf-name>2018 4th International Conference on Electrical Energy Systems (ICEES)</conf-name>, <conf-loc>Chennai, India</conf-loc>, <conf-date>7-9 February 2018</conf-date>, <fpage>82</fpage>&#x2013;<lpage>87</lpage>.</citation>
</ref>
<ref id="B16">
<citation citation-type="journal">
<person-group person-group-type="author">
<name>
<surname>Hoon</surname>
<given-names>Y.</given-names>
</name>
<name>
<surname>Radzi</surname>
<given-names>M. A. M.</given-names>
</name>
<name>
<surname>Hassan</surname>
<given-names>M. K.</given-names>
</name>
<name>
<surname>Mailah</surname>
<given-names>N. F.</given-names>
</name>
</person-group> (<year>2018</year>). <article-title>Operation of three-level inverter-based shunt active power filter under non-ideal grid voltage conditions with dual fundamental component extraction</article-title>. <source>IEEE Trans. Power Electron</source> <volume>33</volume> (<issue>9</issue>), <fpage>7558</fpage>&#x2013;<lpage>7570</lpage>. <pub-id pub-id-type="doi">10.1109/tpel.2017.2766268</pub-id>
</citation>
</ref>
<ref id="B17">
<citation citation-type="journal">
<person-group person-group-type="author">
<name>
<surname>Jasim</surname>
<given-names>A. M.</given-names>
</name>
<name>
<surname>Jasim</surname>
<given-names>B. H.</given-names>
</name>
<name>
<surname>Flah</surname>
<given-names>A.</given-names>
</name>
<name>
<surname>Bolshev</surname>
<given-names>V.</given-names>
</name>
<name>
<surname>Mihet-Popa</surname>
<given-names>L.</given-names>
</name>
</person-group> (<year>2023</year>). <article-title>A new optimized demand management system for smart grid-based residential buildings adopting renewable and storage energies</article-title>. <source>Energy Rep.</source> <volume>9</volume>, <fpage>4018</fpage>&#x2013;<lpage>4035</lpage>. <pub-id pub-id-type="doi">10.1016/j.egyr.2023.03.038</pub-id>
</citation>
</ref>
<ref id="B18">
<citation citation-type="journal">
<person-group person-group-type="author">
<name>
<surname>Khan</surname>
<given-names>I.</given-names>
</name>
<name>
<surname>Vijay.</surname>
<given-names>A. S.</given-names>
</name>
<name>
<surname>Doolla</surname>
<given-names>S.</given-names>
</name>
</person-group> (<year>2022</year>). <article-title>Nonlinear load harmonic mitigation strategies in microgrids: state of the art</article-title>. <source>IEEE Syst. J.</source> <volume>16</volume> (<issue>3</issue>), <fpage>4243</fpage>&#x2013;<lpage>4255</lpage>. <pub-id pub-id-type="doi">10.1109/jsyst.2021.3130612</pub-id>
</citation>
</ref>
<ref id="B19">
<citation citation-type="journal">
<person-group person-group-type="author">
<name>
<surname>Kumar</surname>
<given-names>G.</given-names>
</name>
<name>
<surname>Sarojini</surname>
<given-names>R.</given-names>
</name>
<name>
<surname>Palanisamy</surname>
<given-names>K.</given-names>
</name>
<name>
<surname>Padmanaban</surname>
<given-names>S.</given-names>
</name>
<name>
<surname>Holm-Nielsen</surname>
<given-names>J.</given-names>
</name>
</person-group> (<year>2019</year>). <article-title>Large scale renewable energy integration: issues and solutions</article-title>. <source>Energies</source> <volume>12</volume> (<issue>10</issue>), <fpage>1996</fpage>&#x2013;<lpage>2017</lpage>. <pub-id pub-id-type="doi">10.3390/en12101996</pub-id>
</citation>
</ref>
<ref id="B20">
<citation citation-type="confproc">
<person-group person-group-type="author">
<name>
<surname>Kumar</surname>
<given-names>G. V. B.</given-names>
</name>
<name>
<surname>Palanisamy</surname>
<given-names>K.</given-names>
</name>
</person-group> (<year>2019</year>). &#x201c;<article-title>Interleaved boost converter for renewable energy application with energy storage system</article-title>,&#x201d; in <conf-name>2019 IEEE 1st International Conference on Energy, Systems and Information Processing (ICESIP)</conf-name>, <conf-loc>Chennai, India</conf-loc>, <conf-date>4-6 July 2019</conf-date>, <fpage>1</fpage>&#x2013;<lpage>50</lpage>.</citation>
</ref>
<ref id="B21">
<citation citation-type="journal">
<person-group person-group-type="author">
<name>
<surname>Kumar</surname>
<given-names>G. V. B.</given-names>
</name>
<name>
<surname>Palanisamy</surname>
<given-names>K.</given-names>
</name>
</person-group> (<year>2020</year>). <article-title>A review of energy storage participation for ancillary services in a microgrid environment</article-title>. <source>Inventions</source> <volume>5</volume> (<issue>4</issue>), <fpage>63</fpage>&#x2013;<lpage>36</lpage>. <pub-id pub-id-type="doi">10.3390/inventions5040063</pub-id>
</citation>
</ref>
<ref id="B22">
<citation citation-type="journal">
<person-group person-group-type="author">
<name>
<surname>Kumar</surname>
<given-names>G. V. B.</given-names>
</name>
<name>
<surname>Palanisamy</surname>
<given-names>K.</given-names>
</name>
</person-group> (<year>2023</year>). <article-title>Ramp-rate control for mitigation of solar PV fluctuations with hybrid energy storage system</article-title>. <source>Distributed Generation Altern. Energy J.</source> <volume>38</volume> (<issue>03</issue>), <fpage>817</fpage>&#x2013;<lpage>840</lpage>. <pub-id pub-id-type="doi">10.13052/dgaej2156-3306.3835</pub-id>
</citation>
</ref>
<ref id="B23">
<citation citation-type="journal">
<person-group person-group-type="author">
<name>
<surname>Kumar</surname>
<given-names>G. V. B.</given-names>
</name>
<name>
<surname>Palanisamy</surname>
<given-names>K.</given-names>
</name>
<name>
<surname>Padmanaban</surname>
<given-names>S.</given-names>
</name>
<name>
<surname>Holm-Nielsen</surname>
<given-names>J. B.</given-names>
</name>
<name>
<surname>Blaabjerg</surname>
<given-names>F.</given-names>
</name>
</person-group> (<year>2020</year>). <article-title>Effective management system for solar PV using real-time data with hybrid energy storage system</article-title>. <source>Appl. Sci.</source> <volume>10</volume> (<issue>3</issue>), <fpage>1</fpage>&#x2013;<lpage>15</lpage>. <pub-id pub-id-type="doi">10.3390/app10031108</pub-id>
</citation>
</ref>
<ref id="B24">
<citation citation-type="confproc">
<person-group person-group-type="author">
<name>
<surname>Kumar</surname>
<given-names>G. V. B.</given-names>
</name>
<name>
<surname>Palanisamy</surname>
<given-names>K.</given-names>
</name>
<name>
<surname>Tuglie</surname>
<given-names>E. D.</given-names>
</name>
</person-group> (<year>2021</year>). &#x201c;<article-title>Energy management of PV-Grid-Integrated microgrid with hybrid energy storage system</article-title>,&#x201d; in <conf-name>2021 International Conference on Environment and Electrical Engineering and 2021 IEEE Industrial and Commercial Power Systems Europe (EEEIC/ I&#x26;CPS Europe)</conf-name>, <conf-loc>Bari, Italy</conf-loc>, <conf-date>7-10 September 2021</conf-date>, <fpage>1</fpage>&#x2013;<lpage>6</lpage>.</citation>
</ref>
<ref id="B25">
<citation citation-type="journal">
<person-group person-group-type="author">
<name>
<surname>Kumar</surname>
<given-names>R.</given-names>
</name>
<name>
<surname>Bansal</surname>
<given-names>H. O.</given-names>
</name>
</person-group> (<year>2019</year>). <article-title>Hardware in the loop implementation of wavelet-based strategy in shunt active power filter to mitigate power quality issues</article-title>. <source>Electr. Power Syst. Res.</source> <volume>169</volume>, <fpage>92</fpage>&#x2013;<lpage>104</lpage>. <pub-id pub-id-type="doi">10.1016/j.epsr.2019.01.001</pub-id>
</citation>
</ref>
<ref id="B26">
<citation citation-type="journal">
<person-group person-group-type="author">
<name>
<surname>Kuznetsov</surname>
<given-names>P.</given-names>
</name>
<name>
<surname>Kotelnikov</surname>
<given-names>D.</given-names>
</name>
<name>
<surname>Yuferev</surname>
<given-names>L.</given-names>
</name>
<name>
<surname>Panchenko</surname>
<given-names>V.</given-names>
</name>
<name>
<surname>Bolshev</surname>
<given-names>V.</given-names>
</name>
<name>
<surname>Jasi&#x144;ski</surname>
<given-names>M.</given-names>
</name>
<etal/>
</person-group> (<year>2022</year>). <article-title>Method for the automated inspection of the surfaces of photovoltaic modules</article-title>. <source>Sustainability</source> <volume>14</volume> (<issue>19</issue>), <fpage>11930</fpage>. <pub-id pub-id-type="doi">10.3390/su141911930</pub-id>
</citation>
</ref>
<ref id="B27">
<citation citation-type="journal">
<person-group person-group-type="author">
<name>
<surname>Liang</surname>
<given-names>W.</given-names>
</name>
<name>
<surname>Liu</surname>
<given-names>Y.</given-names>
</name>
<name>
<surname>Shen</surname>
<given-names>Y.</given-names>
</name>
</person-group> (<year>2023</year>). <article-title>Active power control integrated with reactive power compensation of battery energy stored quasi-Z source inverter PV power system operating in VSG mode</article-title>. <source>IEEE J. Emerg. Sel. Top. Power Electron.</source> <volume>11</volume> (<issue>1</issue>), <fpage>339</fpage>&#x2013;<lpage>350</lpage>. <pub-id pub-id-type="doi">10.1109/jestpe.2021.3137397</pub-id>
</citation>
</ref>
<ref id="B28">
<citation citation-type="journal">
<person-group person-group-type="author">
<name>
<surname>Panigrahi</surname>
<given-names>R.</given-names>
</name>
<name>
<surname>Subudhi</surname>
<given-names>B.</given-names>
</name>
</person-group> (<year>2017</year>). <article-title>Performance enhancement of shunt active power filter using a kalman filter-based h<sub>&#x3b1;</sub> control strategy</article-title>. <source>IEEE Trans. Power Electron.</source> <volume>32</volume> (<issue>4</issue>), <fpage>2622</fpage>&#x2013;<lpage>2630</lpage>. <pub-id pub-id-type="doi">10.1109/tpel.2016.2572142</pub-id>
</citation>
</ref>
<ref id="B29">
<citation citation-type="journal">
<person-group person-group-type="author">
<name>
<surname>Parchure</surname>
<given-names>A.</given-names>
</name>
<name>
<surname>Tyler</surname>
<given-names>S. J.</given-names>
</name>
<name>
<surname>Peskin</surname>
<given-names>M. A.</given-names>
</name>
<name>
<surname>Rahimi</surname>
<given-names>K.</given-names>
</name>
<name>
<surname>Broadwater</surname>
<given-names>R. P.</given-names>
</name>
<name>
<surname>Dilekm</surname>
<given-names>M.</given-names>
</name>
</person-group> (<year>2017</year>). <article-title>Investigating PV generation induced voltage volatility for customers sharing a distribution service transformer</article-title>. <source>IEEE Trans. Ind. Appl.</source> <volume>53</volume> (<issue>1</issue>), <fpage>71</fpage>&#x2013;<lpage>79</lpage>. <pub-id pub-id-type="doi">10.1109/tia.2016.2610949</pub-id>
</citation>
</ref>
<ref id="B30">
<citation citation-type="journal">
<person-group person-group-type="author">
<name>
<surname>Patel</surname>
<given-names>N.</given-names>
</name>
<name>
<surname>Bansal</surname>
<given-names>R. C.</given-names>
</name>
<name>
<surname>Adam</surname>
<given-names>A. A.</given-names>
</name>
<name>
<surname>Elnady</surname>
<given-names>A.</given-names>
</name>
<name>
<surname>Hamid</surname>
<given-names>A. K.</given-names>
</name>
</person-group> (<year>2023</year>). <article-title>Multimode control for power quality improvement in an electronically coupled distributed generation unit under grid connected and autonomous modes</article-title>. <source>IEEE Trans. Power Deliv.</source> <volume>38</volume> (<issue>4</issue>), <fpage>2274</fpage>&#x2013;<lpage>2289</lpage>. <pub-id pub-id-type="doi">10.1109/tpwrd.2023.3237835</pub-id>
</citation>
</ref>
<ref id="B31">
<citation citation-type="journal">
<person-group person-group-type="author">
<name>
<surname>Pradeep Reddy</surname>
<given-names>G.</given-names>
</name>
<name>
<surname>Kumar</surname>
<given-names>Y. V. P.</given-names>
</name>
<name>
<surname>Kalyan Chakravarthi</surname>
<given-names>M.</given-names>
</name>
<name>
<surname>Flah</surname>
<given-names>A.</given-names>
</name>
</person-group> (<year>2022</year>). <article-title>Refined network topology for improved reliability and enhanced dijkstra algorithm for optimal path selection during link failures in cluster microgrids</article-title>. <source>Sustainability</source> <volume>14</volume> (<issue>16</issue>), <fpage>10367</fpage>. <pub-id pub-id-type="doi">10.3390/su141610367</pub-id>
</citation>
</ref>
<ref id="B32">
<citation citation-type="journal">
<person-group person-group-type="author">
<name>
<surname>Rahmani</surname>
<given-names>B.</given-names>
</name>
<name>
<surname>Li</surname>
<given-names>W.</given-names>
</name>
<name>
<surname>Liu</surname>
<given-names>G.</given-names>
</name>
</person-group> (<year>2015</year>). <article-title>An advanced universal power quality conditioning system and MPPT method for grid integration of photovoltaic systems</article-title>. <source>Electr. Power Energy Syst.</source> <volume>69</volume>, <fpage>76</fpage>&#x2013;<lpage>84</lpage>. <pub-id pub-id-type="doi">10.1016/j.ijepes.2014.12.031</pub-id>
</citation>
</ref>
<ref id="B33">
<citation citation-type="journal">
<person-group person-group-type="author">
<name>
<surname>Rauf</surname>
<given-names>A. M.</given-names>
</name>
<name>
<surname>Khadkikar</surname>
<given-names>V.</given-names>
</name>
</person-group> (<year>2015</year>). <article-title>Integrated photovoltaic and dynamic voltage restorer system configuration</article-title>. <source>IEEE Trans. Sustain Energy</source> <volume>6</volume> (<issue>2</issue>), <fpage>400</fpage>&#x2013;<lpage>410</lpage>. <pub-id pub-id-type="doi">10.1109/tste.2014.2381291</pub-id>
</citation>
</ref>
<ref id="B34">
<citation citation-type="journal">
<person-group person-group-type="author">
<name>
<surname>Ray</surname>
<given-names>P.</given-names>
</name>
<name>
<surname>Ray</surname>
<given-names>P. K.</given-names>
</name>
<name>
<surname>Dash</surname>
<given-names>S. K.</given-names>
</name>
</person-group> (<year>2022</year>). <article-title>Power quality enhancement and power flow analysis of a PV integrated UPQC system in a distribution network</article-title>. <source>IEEE Trans. Ind. Appl.</source> <volume>58</volume> (<issue>1</issue>), <fpage>201</fpage>&#x2013;<lpage>211</lpage>. <pub-id pub-id-type="doi">10.1109/tia.2021.3131404</pub-id>
</citation>
</ref>
<ref id="B35">
<citation citation-type="journal">
<person-group person-group-type="author">
<name>
<surname>Saxena</surname>
<given-names>N.</given-names>
</name>
<name>
<surname>Singh</surname>
<given-names>B.</given-names>
</name>
<name>
<surname>Vyas</surname>
<given-names>A. L.</given-names>
</name>
</person-group> (<year>2017</year>). <article-title>Single-phase solar PV system with battery and exchange of power in grid-connected and standalone modes</article-title>. <source>IET Renew. Power Gen.</source> <volume>11</volume> (<issue>2</issue>), <fpage>325</fpage>&#x2013;<lpage>333</lpage>. <pub-id pub-id-type="doi">10.1049/iet-rpg.2016.0143</pub-id>
</citation>
</ref>
<ref id="B36">
<citation citation-type="journal">
<person-group person-group-type="author">
<name>
<surname>Sharma</surname>
<given-names>R.</given-names>
</name>
<name>
<surname>Kewat</surname>
<given-names>S.</given-names>
</name>
<name>
<surname>Singh</surname>
<given-names>B.</given-names>
</name>
</person-group> (<year>2022</year>). <article-title>Power quality improvement in SyRG-PV-BES-based standalone microgrid using ESOGI-FLL-WIF control algorithm</article-title>. <source>IEEE Trans. Industry Appl.</source> <volume>58</volume> (<issue>1</issue>), <fpage>686</fpage>&#x2013;<lpage>696</lpage>. <pub-id pub-id-type="doi">10.1109/tia.2021.3128371</pub-id>
</citation>
</ref>
<ref id="B37">
<citation citation-type="journal">
<person-group person-group-type="author">
<name>
<surname>Tareen</surname>
<given-names>W. U. K.</given-names>
</name>
<name>
<surname>Mekhielf</surname>
<given-names>S.</given-names>
</name>
</person-group> (<year>2018</year>). <article-title>Three-phase transformer less shunt active power filter with reduced switch count for harmonic compensation in grid-connected applications</article-title>. <source>IEEE Trans. Power Electron</source> <volume>33</volume> (<issue>6</issue>), <fpage>4868</fpage>&#x2013;<lpage>4881</lpage>. <pub-id pub-id-type="doi">10.1109/tpel.2017.2728602</pub-id>
</citation>
</ref>
<ref id="B38">
<citation citation-type="journal">
<person-group person-group-type="author">
<name>
<surname>Wang</surname>
<given-names>C.</given-names>
</name>
<name>
<surname>Yang</surname>
<given-names>T.</given-names>
</name>
<name>
<surname>Hussaini</surname>
<given-names>H.</given-names>
</name>
<name>
<surname>Huang</surname>
<given-names>Z.</given-names>
</name>
<name>
<surname>Bozhko</surname>
<given-names>S.</given-names>
</name>
</person-group> (<year>2022</year>). <article-title>Power quality improvement using an active power sharing scheme in more electric aircraft</article-title>. <source>IEEE Trans. Ind. Electron</source> <volume>69</volume> (<issue>4</issue>), <fpage>3588</fpage>&#x2013;<lpage>3598</lpage>. <pub-id pub-id-type="doi">10.1109/tie.2021.3076401</pub-id>
</citation>
</ref>
<ref id="B39">
<citation citation-type="confproc">
<person-group person-group-type="author">
<name>
<surname>Wategaonkar</surname>
<given-names>S. S.</given-names>
</name>
<name>
<surname>Patil</surname>
<given-names>S. S.</given-names>
</name>
<name>
<surname>Jadhav</surname>
<given-names>P. R.</given-names>
</name>
</person-group> (<year>2018</year>). &#x201c;<article-title>Mitigation of current harmonics using shunt active power filter</article-title>,&#x201d; in <conf-name>2018 3rd International Conference for Convergence in Technology (I2CT)</conf-name>, <conf-loc>Pune, India</conf-loc>, <conf-date>6-8 April 2018</conf-date>, <fpage>1</fpage>&#x2013;<lpage>5</lpage>.</citation>
</ref>
<ref id="B40">
<citation citation-type="journal">
<person-group person-group-type="author">
<name>
<surname>Zahedmanesh</surname>
<given-names>A.</given-names>
</name>
<name>
<surname>Muttaqi</surname>
<given-names>K. M.</given-names>
</name>
<name>
<surname>Sutanto</surname>
<given-names>D.</given-names>
</name>
</person-group> (<year>2020</year>). <article-title>An adaptable correlated control for maintaining voltage quality in low-voltage distribution grids containing PVs and PEVs</article-title>. <source>IEEE Trans. Industrial Inf.</source> <volume>18</volume> (<issue>9</issue>), <fpage>5804</fpage>&#x2013;<lpage>5814</lpage>. <pub-id pub-id-type="doi">10.1109/tii.2021.3131820</pub-id>
</citation>
</ref>
</ref-list>
</back>
</article>