원시데이터 수집 시스템
선정목록으로

An Adaptive D-FACTS for Power Quality Enhancement in an Isolated Microgrid

간접 관련 수소연료전지 · (7) MEA(막전극접합체) (5) 연료전지용 수분제어장치(가습기)(6) PEM(고분자전해질막)

기본 정보

저자
  1. Ahmed Hussain Elmetwaly — Higher Institute of Engineering, Elshorouk Academy, Cairo, Egypt
  2. Azza A. ElDesouky — Department of Electrical Power Engineering, Port Said University, Port Fouad, Egypt
  3. Abdelhay A. Sallam — Department of Electrical Power Engineering, Port Said University, Port Fouad, Egypt
DOI
10.1109/access.2020.2981444
저널
IEEE Access
발행년도
2020
발행기관
Institute of Electrical and Electronics Engineers
피인용수
87
라이선스
cc-by
논문 유형
–
언어
–
원문 페이지
https://doi.org/10.1109/access.2020.2981444
토픽
Hybrid Renewable Energy Systems
OpenAlex ID
W3011246987

평가 내용

관련도
간접 관련
사업분야
수소연료전지 · (7) MEA(막전극접합체)
부 분야
(5) 연료전지용 수분제어장치(가습기), (6) PEM(고분자전해질막)
R&D 측면
부품·응용 설계
확신도
0.70
근거 용어
Proton Exchange Membrane Fuel Cell (PEMFC), Microgrids (MGs), Power Quality, Voltage Stabilization, Harmonic Mitigation
판단 근거
논문의 핵심 주제는 마이크로그리드의 전력 품질 개선을 위한 제어 알고리즘 연구이나, 시스템 구성 요소 중 하나로 PEMFC(고분자전해질 연료전지)를 포함하여 모델링하고 있습니다.
R&D 활용 포인트
PEMFC가 포함된 마이크로그리드 시스템 내에서 전력 품질(고조파, 전압 안정성)이 연료전지 성능 및 내구성에 미치는 영향을 분석하는 연구에 활용 가능합니다.
평가 입력
본문 47,978자 중 30,032자 발췌

초록

Technologies of microgrids (MGs) help power grid evolve into one that is more efficient, less polluting, reduced losses, and more flexible to provide energy consumers' want and need. Because of the nature of various renewable energy sources (RESs) integrated into the MGs such as variability and inability to accurately predict and control, different technical problems are created. Power quality is one of the most important issues to be addressed, especially harmonic distortion and voltage stabilization. Many devices have been proposed to improve these two aspects that may result from loads nonlinearity and sources uncertainty. In this study, an adaptive switched filter compensator (ASFC) with developed proportional-integral-derivative (PID) controller is proposed to improve the overall dynamic performance of the MGs. The PID's controller gains are optimally tuned via the application of grasshopper's optimization algorithm (GOA) to act adaptively with self-tuning as the operating conditions may subject to change during MG operation. Different case studies are proposed to reveal the robustness of the presented ASFC on harmonic mitigation, dynamic voltage stabilization, reactive power compensation and power factor improvement considering the features of RESs such as variations of wind speed, solar PV irradiation and temporary fault conditions. A distribution synchronous static compensator (D-STATCOM), as one of the most popular D-FACTS, with optimal tuned PID controller by using the GOA is also proposed. To validate both the proposed ASFC topology and the modified D-STATCOM, comparative studies including what has been published in literature are examined by using MATLAB/Simulink platform. The results advocate the effectiveness, robustness and latency of the proposed devices.

본문 47,978자

본문 펼치기
Received March 3, 2020, accepted March 12, 2020, date of publication March 17, 2020, date of current version April 2, 2020. _Digital Object Identifier 10.1109/ACCESS.2020.2981444_ # An Adaptive D-FACTS for Power Quality Enhancement in an Isolated Microgrid AHMED HUSSAIN ELMETWALY 1, AZZA AHMED ELDESOUKY2, AND ABDELHAY AHMED SALLAM <sup>2</sup>, (Life Senior Member, IEEE) 1Higher Institute of Engineering, Elshorouk Academy, Cairo 41511, Egypt 2Department of Electrical Power Engineering, Port Said University, Port Fouad 42526, Egypt Corresponding author: Ahmed Hussain Elmetwaly (eng.ahmedhussain7@gmail.com) ABSTRACT Technologies of microgrids (MGs) help power grid evolve into one that is more efficient, less polluting, reduced losses, and more flexible to provide energy consumers’ want and need. Because of the nature of various renewable energy sources (RESs) integrated into the MGs such as variability and inability to accurately predict and control, different technical problems are created. Power quality is one of the most important issues to be addressed, especially harmonic distortion and voltage stabilization. Many devices have been proposed to improve these two aspects that may result from loads nonlinearity and sources uncertainty. In this study, an adaptive switched filter compensator (ASFC) with developed proportionalintegral-derivative (PID) controller is proposed to improve the overall dynamic performance of the MGs. The PID’s controller gains are optimally tuned via the application of grasshopper’s optimization algorithm (GOA) to act adaptively with self-tuning as the operating conditions may subject to change during MG operation. Different case studies are proposed to reveal the robustness of the presented ASFC on harmonic mitigation, dynamic voltage stabilization, reactive power compensation and power factor improvement considering the features of RESs such as variations of wind speed, solar PV irradiation and temporary fault conditions. A distribution synchronous static compensator (D-STATCOM), as one of the most popular D-FACTS, with optimal tuned PID controller by using the GOA is also proposed. To validate both the proposed ASFC topology and the modified D-STATCOM, comparative studies including what has been published in literature are examined by using MATLAB/Simulink platform. The results advocate the effectiveness, robustness and latency of the proposed devices. INDEX TERMS Microgrids (MGs), adaptive switched filter capacitor (ASFC), distribution synchronous static compensator (D-STATCOM), distribution flexible alternative current transmission system (D-FACTS), power quality (PQ), grasshopper’s optimization algorithm (GOA), PID Controller. I. INTRODUCTION Integration of distributed energy resources (DERs), renewables and non-renewables, forming what is called ‘microgrids (MGs)’ has been widely deployed to benefit both utilities and consumers. MGs are continuously developed along with the progress in information and communication technologies (ICTs). Three modes of operation MGs can operate in; utility gridconnected, islanded and isolated. In addition, MG control strategies can be categorized into three levels; (i) primary control, which is a local control for each load and each resource The associate editor coordinating the review of this manuscript and approving it for publication was Shiwei Xia . in the MG. It is based on the local measurements of the parameters necessary for managing and controlling the MG, (ii) secondary control that is responsible for MG operation according to the mode of operation used, and (iii) tertiary control, which is the highest level of control. It coordinates multiple MGs interacting with one another in the system and communicates requirements from the utility grid [1]. Therefore, primary and secondary controls are associated with the MG operation itself, whereas the tertiary control is considered as part of the utility grid. Regardless of the kind of operation mode, MG components should be interoperable and with interfaces complying with functional standards defined by the MGs as well as the controller should enable the MGs to manage themselves and operate autonomously. Renewable energy sources (RESs) are nowadays encouraged by utility companies to be integrated into the MG. Because of the nature of various renewable sources (e.g., wind and solar PV) such as variability and inability to accurately predict and control, different technical problems are created. A tremendous amount of research in addition to attention of power system planners and operators are taken place in providing the consumers with electrical energy as economically as possible and with a high degree of reliability and quality of supply. One of these standards that must be met is the MG power quality (PQ). Harmonics distortion and voltage stabilization are listed as major PQ issues in the literature which may result from loads nonlinearity due to the presence of electronic devices and drives in consumers’ premises, and sources uncertainty due to both of generation intermittency of renewable sources and the electronic interface devices. Passive, active and hybrid power filters can be used for mitigating harmonic distortion. In [2] two-stage filtering station of a PV power plant to eliminate the output harmonics from the PV inverters, and improve the power quality at PCC was studied. Moreover, the transformer integrated filtering system (TIFS) was used for PQ enhancement throughout its ability of harmonic suppression [3]. Meanwhile, multifunctional voltage source inverters or flexible alternating current transmission system (FACTS) devices are utilized to process these problems that may yield voltage instability in the MG. The unified power flow conditioner (UPFC) on the transmission level provides the controlling of power flow [4]. For distribution systems, the dynamic voltage restorer (DVR) is employed to compensate voltage sag [5], [6], and the distribution synchronous static compensator (D-STATCOM) provides both voltage sag and reactive power compensation [7]. DVR and D-STATCOM are only useful for compensating a specific kind of power quality issues. So, it is essential to develop a new scheme of unified series-shunt compensator (USSC), which can alleviate a wider range of PQ issues. One of them is the multi-function device that is named as ‘switched filter-compensator (SFC)’. It can be exploited for mitigating harmonics distortion and voltage stabilization as well. It acts with trial and error-tuning for a specific operating condition. As applications of the SFC, it has been used to enhance the PQ and voltage stabilization of induction motors [8]. Furthermore, hybrid SFC driven by two regulators and one of two schemes of FACTS topologies have been applied to an MG aiming to mitigate harmonics and improving both power factor and voltage stability [9]. SFC topology for wind energy in a grid-connected system is studied in [10] to prove its capability of harmonics reduction at different conditions (load variation and fault conditions) and compensating the reactive power to satisfy the dynamic voltage stability. This paper presents a modification of the SFC to act adaptively with self-tuning as the operating conditions are subjected to change during MG operation. The proposed device is named as ‘adaptive switched filter-compensator (ASFC)’. In addition, the gains of the proportional integral derivative (PID) controller, which is an element in the ASFC topology is optimally tuned using the grasshopper’s optimization algorithm (GOA) [11]. The GOA parameters are used to verify the GOA–PID controller’s performance by searching for PID controller gains with an objective of minimizing the integral time absolute error ( _ITAE_ ). This helps achieve fast processing and more accurate results rather than those obtained by trial and error method. Moreover, D-STATCOM is developed to be a self-tuning device. Comparative studies are introduced in this study including different cases to illustrate, to any extent, the effectiveness of applying either the ASFC or the developed D-STATCOM to an isolated MG. The MG comprises renewable energy sources (RESs) such as solar PV energy, wind energy system (WES), battery energy storage system (BESS) and the proton exchange membrane fuel cell (PEMFC) supplying AC loads at the point of common coupling (PCC). More details about the MG architecture and the mathematical modelling of its components, which the simulation modelling is based on, are described in the next section. The results of applying the proposed ASFC to the case studies confirm that it provides more accurate solution at less computation time. The main contributions of this work can be summarized as: - A proposed ASFC with optimal tuned PID controller is introduced. - A modified model of D-STATCOM with optimal tuned PID controller using GOA is presented. - Different case studies are performed considering the features of RESs and temporary fault conditions in order to validate the effectiveness of the proposed devices. Accordingly, this paper is organized as follows. In section II, the architecture of MG is illustrated. Section III presents a modification of the ASFC for mitigating power quality problems. In section IV, the results of applying either ASFC or D-STATCOM are examined by using different case studies. Finally, the conclusions are introduced in section V. II. ISOLATED MG ARCHITECTURE The MG central controller (MGCC) manages the operation of integrated DERs and loads. Each of DERs is connected to a local controller (LC) to adopt their reliable and economical operation. The main tasks of MGCC can be summarized as: - Providing the individual power and voltage set point for each power flow/DER control strategy. - Satisfying the electrical loads’ requirements. - Alleviating emissions and network losses. - Exploiting the operational efficiency of the DERs. The proposed MG includes solar PV, WES, BESS and PEMFC. Each of these resources is connected to its LC, which in turn is connected to the MGCC. The MGCC can be connected to the host (or utility) grid through the distribution system operator (DSO) if it is desired or needed. The LC encompasses a breaker for switching operation of its connected resource and maximum power point tracking (MPPT) circuit. DER-bus is connected to the load-bus at 380V, 50 Hz. FIGURE 1. Diagram of an isolated MG with control system structure including ASFC. Fig. 1 shows the isolated MG with a control system structure including the power quality enhancement device (PQED) at the PCC. _A._ _MATHEMATICAL MODEL OF THE SOLAR PV_ The PV generation power output, _PPV_, can be calculated as: _Ppv_ = _ηgNpvAmGt_ (1) where: _ηg_ : The instantaneous efficiency of the PV generator. _NPV_ : The number of modules. _Am_ : The area of one module used in a system (m <sup>2</sup> ). _Gt_ : The global irradiance incident on the titled plane (W/m <sup>2</sup> ) The efficiency of the PV generator instantly is denoted as: _ηg_ = _ηr_ _ηpt_ [1 − _βt_ ( _Tc_ - _Tr_ )] (2) where _ηr_ is the PV reference efficiency of the generator, _ηpt_ is the power tracking equipment efficiency, which equals 1 when using a perfect maximum power point tracker. _Tc_ and _T_ r are the PV cell and reference temperatures in <sup>◦</sup> _C_, respectively. _βt_ is the efficiency temperature coefficient [12]. The artificial neural network (ANN) is used to forecast the required voltage value at the MPP [13] at which the desired duty cycle of the boost converter is calculated. The ANN comprises of three layers; (i) the input layer that has two neurons corresponding to the irradiation and temperature, (ii) the hidden layer including 10 neurons, and (iii) the output layer with one neuron. The maximum number of epochs to train the ANN equals 100 and the learning rate equals 0.02. The parameters of the PV model are specified from a practical PV module (KC200GT) manufactured by KYOCERA [14] as given in Table 11, (Appendix A). The LC of the PV system is designed for extracting the power when: 0 ≤ _Tc_ ≤ 60 & 100 ≤ _Gt_ ≤ 1000. _B._ _MATHEMATICAL MODEL OF THE WES_ The wind turbine generator power output can be determined as: where _ρ_ is the density of the air ( _ρ_ = 1 _._ 2250 kg/m <sup>3</sup> ), _A_ is the blade swept area, _R_ is the length of the blade, _ωopt_ is the optimum speed of wind turbine and _λopt_ is the optimum tipspeed ratio. The power coefficient _Cp_ is a function of the pitch 0 _,_ _V_ _< Vci_ _aV_ <sup>3</sup> - _bPr_ _,_ _Vci_ ≤ _V_ _< Vr_ _Pr_ _,_ _Vr_ ≤ _V_ _< Vco_ 0 _,_ _V_ ≥ _Vco_ _Pw_ =    (3) where _a_ = <u>�</u> _Vr_ <sup>3</sup> - _<u>PrVci</u>_ <sup>3</sup> _<u>Vci</u>_ <sup>3</sup> <u>�</u>, _b_ = _Vr_ <sup>3</sup> - _V_ _<u>Pr</u>_ _<u>Vci</u>_ <sup>3</sup> where _a_ = <u>�</u> _Vr_ <sup>3</sup> - _Vci_ <sup>3</sup> <u>�</u>, _b_ = _Vr_ <sup>3</sup> - _Vci_ <sup>3</sup> <sup>,</sup> <sup>_Pr_</sup> <sup>is</sup> <sup>the</sup> <sup>rated</sup> <sup>power</sup> <sup>of</sup> the wind generator. _Vci_, _Vco_, and _Vr_ are the cut-in, cut-out and rated speeds of the wind turbine [15]. The extracted real power from the wind turbine is denoted by: _ci_ _Pw_ = <sup><u>1</u></sup> - _Rωopt_ 2 <sup>_ρACp_</sup> <sup>(</sup> <sup>_λ, β_</sup> <sup>)</sup> _λopt_ �3 (4) FIGURE 2. The load profile curves of (a) commercial load active power (Pcom), (b) commercial load reactive power (Qcom), (c) residential load active power (Pres), (d) residential load reactive power (Qres). FIGURE 3. The MATLAB/SIMULINK modeling of the proposed MG. FIGURE 4. The proposed ASFC. FIGURE 5. The PID controller using (GOA) with PWM circuit. angle _β_ and the tip speed ratio _λ_, which is given by: _λ_ = <sup>_ωR_</sup> _Vw_ (5) FIGURE 6. The implementation of the GOA technique for determining the controller parameters. where _Cbat_ ( _t_ ) and _Cbat_ ( _t_ - 1) are the battery bank capacity in (Wh) at the hour ( _t_ ) and ( _t_ - 1), respectively. _ηba_ t is the efficiency of the battery, _σ_ is the self-discharge rate of the battery bank. _Epv_ ( _t_ ) and _Ew_ ( _t_ ) are the PV and windgenerated energies, respectively. _Eload_ ( _t_ ) is the load energy consumption of the MG at hour ( _t_ ) and _ηinv_ is the inverter efficiency [18]. The positive and negative signs refer to the charging and discharging state, respectively. The aim of the battery LC is to control the charging and discharging of the battery according to the renewable power, state of charge ( _SoC_ ) and load demand available. The battery’s _SoC_ is provided by: where _ω_ is the rotational speed of the wind turbine and _Vw_ is the wind speed. The MPPT is carried out by using the perturbation and observation (P&O) technique [16]. The parameters of the WES model are specified from practical data (E3120) manufactured by ENDURANCE [17] as given in Table 12 (Appendix A). _C._ _BESS MODELLING_ The battery bank is used for storing/supplying electrical energy in case of charging/discharging process. The most frequent type used is the lead-acid. The accessible battery bank capability at hour _t_ during charging/discharging can be expressed as: <u>1</u> _SoC_ = _SoC_ 0 − _Cnom_ - _t_ _t_ 0 _Ibat_ ( _t_ ) _dt_ (7) where _Cnom_ and _Ibat_ (t) are the battery capacity (Ah) and the battery current (A), respectively [19]. The parameters of the BESS model are specified from real BESS data (S2-2160GEL) manufactured by Rolls battery [20] as given in Table 13 (Appendix A). _D._ _PEMFC MODELLING_ The PEMFC is the most common type of FCs and the best choice for housing and vehicle applications because of its _Cbat_ = _Cbat_ ( _t_ - 1)(1 − _σ_ ) ± - _<u>Eload</u>_ <u>(</u> _<u>t</u>_ <u>)</u> _ηinv_ - _Epv_ ( _t_ ) _Ew_ ( _t_ ) _ηbat_ (6) FIGURE 7. The Controller scheme of modified D-STATCOM, (a) the block diagram of D-STATCOM, and (b) D-STATCOM configuration with three-level error-driven PID. performance features such as fast start-up, lightweight and high-power density. The FC parameters, in general, such as open-circuit voltage ( _Eoc_ ), the exchange current ( _Ic_ ) and the Tafel slope ( _A_ ) depends on variations in temperature, pressures, compositions and flow rates of fuel and air. Therefore, to calculate the FC parameters, the following formulas are used: _Vfc_ = _Eoc_ - _NA_ ln( <sup>_Ifc_</sup> _Ic_ <u>1</u> ) × _s_ <sup>_<u>T</u>_</sup> 3 <sup>_<u>d</u>_</sup> 3 <sup>_<u>d</u>_</sup> <sup>+ 1</sup> - _RIfc_ (8) and _Eoc_ = _KcEn_ (9) (10) FIGURE 8. The _THDv_ of the voltage at the PCC (a) with the traditional D-STATCOM, (b) with the modified D-STATCOM. constant (964850 A.s/mol), _z_ is number of electrons moving, _α_ is charge transfer coefficient, _T_ is the operating temperature (K), _PH_ 2 and _Po_ 2 are partial hydrogen and oxygen pressures inside the stack (atm), respectively, _k_ is the constant of Boltzmann (1 _._ 380 × 10 <sup>−23</sup> J/K), _h_ is the constant of Planck (6 _._ 6260 × 10 <sup>−34</sup> J.s), and _�G_ is the size of the activation barrier which depends on the type of electrode and catalyst used [21]. Table 14. shows the parameters of the PEMFC model, which are specified from real data (PowerCells S3) manufactured by POWERCELL [22]. The LC of the PEMFC is designed for extracting power at _PH_ 2 ≥ 4 bar. _E._ _THE LOAD LOCAL CONTROLLER (LLC)_ Real load data is given from Hurghada city, Egypt. It consists of two daily load curves for active and reactive power of (i) commercial load as shown in Fig. 2a,b, and (ii) residential load as shown in Fig. 2c,d. Based on the mathematical models of each component of the MG, the overall structure of the MG simulation model including a PQED is shown in Fig. 3. It is to be noted that _e_ - <u>−</u> _<u>�G</u>_ _RT_ _Ic_ = - _<u>zFk</u>_ <u>(</u> _<u>PH</u>_ <u>2</u> + _<u>Po</u>_ <u>2)</u> _Rh_ _A_ = <sup>_<u>RT</u>_</sup> (11) _zαF_ where _Kc_ is the voltage constant in nominal operating condition (V), _En_ is Nernst voltage, which is the thermodynamic voltage of the cells and relies on the temperature and partial pressure of reactants and products inside the stack (V), _R_ is universal gas constant (8.31450 J/(mol. K)), F is Faraday’s FIGURE 9. The reactive power at the PCC with traditional and modified D-STATCOM. TABLE 1. PID controllers’ gains for modified and traditional D-STATCOM. the simulation model leads to results that may differ from the practical solutions because of the delays occurred in real system (in measuring paths, data processing and execution systems). III. ADAPTIVE SWITCHED FILTER COMPENSATOR (ASFC) To improve the performance of the isolated MG, the proposed ASFC is applied to the load bus at PCC. The ASFC is a switched/modulated filter that consists of a fixed shunt condenser bank linked to the AC side of an uncontrolled rectifier’s arm. The proposed ASFC is a low-cost device compared to other shunt-connected FACTS devices, e.g., the D-STATCOM as reported in Reference 7. It only uses one solid-state low-power switch with a 2-pulse low rating diode rectifier. This is approximately one-fourth of the D-STATCOM cost. The ASFC construction and the PID controller circuit are shown in Figs. 4 and 5. The proposed PID control strategy comprises of three loops as voltage stabilization loop error, current loop limiting error, and dynamic power loop error. The first loop controller input is the voltage at PCC ( _VL_ ). The aim of this loop is to reduce voltage deviations at the PCC bus voltage from a reference voltage level, i.e., a unity voltage level ( _Vm_ _ _ref_ ). Therefore, the output is the first signal error ( _eA_ ) of the PWM, as indicated in (12) and (13), respectively. _eA_ = _γVL_ × _eVL_ (12) FIGURE 10. The _THDv_ at the PCC (a) without FACTS. (b) with modified D-STATCOM (c) with the proposed ASFC. where: (13) _Vm_ _ _ref_ - _VL_ - <u>1</u> 1+s _T_ 1 _eVL_ = _Vm_ _ _base_ TABLE 2. PID controllers’ gains for ASFC, modified D-STATCOM for Harmonic analysis. TABLE 3. PID controllers’ gains for ASFC and modified D-STATCOM during PV irradiation variation. with a reference value ( _Im_ _ _base_ ). The output of this comparison is the second signal error ( _eB_ ) as given in (14) and (15). _eB_ = _γIL_ × _eIL_ (14) and �� <u>1</u> 1 − 1 + s _T_ 2 (15) _<u>IL</u>_ _eIL_ = _Im_ _ _base_ - <u>1</u> 1 + s _T_ 1 The third loop controller’s inputs are the measured current and voltage at the PCC bus. This loop decreases the effects of load changes and sudden excursions of the dynamic power changes. The loop controller, therefore, compares the measured voltage _VL_, current _IL_, and calculates power _PL_ ( _VL_ <sup>∗</sup> _IL_ ) with their reference values, and then feeds the third error _eC_ given by (16) to the PWM module. _eC_ = _γPL_ × _ePL_ (16) where: _<u>IL</u>_ × _Im_ _ _base_ (17) �� <u>1</u> 1 − 1 + s _T_ 2 _ePL_ = - _<u>VL</u>_ _Vm_ _ _base_ FIGURE 11. The _THDi_ at the PCC (a) without FACTS. (b) with modified D-STATCOM (c) with the proposed ASFC. The input of the second loop controller is the measured current at PCC ( _IL_ ). The concept behind this controller loop is to limit the inrush current and the dynamic RMS current changes. So, the loop controller compares the current at PCC Subsequently, the total error ( _eT_ ) is calculated in terms of the three control system errors, Thus, _eT_ ( _t_ ) = _eA_ + _eB_ + _eC_ (18) The difference between the signals is processed by a PID controller to obtain the phase angles (delta) needed to drive the error to zero. _A._ _FORMULATION OF THE OPTIMIZATION PROBLEM_ 1) FITNESS FUNCTION The fitness function, given by (19) is used to fine-tune the proposed ASFC-PID controllers’ gains ( _Kp_, _Ki,_ and _Kd_ ). min( _J_ ) = min( _ITAE_ ) (19) where _J_ is the total controller error of the ASFC and _ITAE_ . The performance index of the _ITAE_ is expressed in a mathematical term as: _T_ _J_ = _ITAE_ = _t_ | _eT_ | _dt_ (20) 0 FIGURE 12. The PQ indices at the PCC using ASFC, modified D-STATCOM and without using FACTs schemes under PV irradiation variation. 2) CONSTRAINTS - The PCC voltage level is within its limits, that is 0 _._ 95 ≤ _VL_ ≤ 1 _._ 05 (21) - Total harmonic distortion of the voltage at the PCC ( _THDv_ ), given by (22) must be following the IEEE Standard 519 [23], that is limited by a maximum value ( _THDv,max_ = 8%), as given in Table 15. Thus, FIGURE 13. The PQ indices at the PCC using the ASFC, modified D-STATCOM and without using FACTS schemes under wind speed variation. _Vh_ <sup>2</sup> - Total harmonic distortion of the current at the PCC ( _THDi_ ), given by (24), according to the IEEE Standard 519 [23], should be limited by a maximum value ( _THDi,max_ = 5%), as given in Table 16. Hence, _THDv_ = ~~�~~ - _n_ _h_ =2 _V_ 1 (22) _THDv_ ≤ _THDv,max_ (23) FIGURE 14. The PQ indices at the PCC using the ASFC, modified D-STATCOM and without using FACTs schemes under short circuit tests. _I_ <sup>2</sup> _h_ 3) IMPLEMENTATION OF THE GOA The GOA is a proposed single objective, population-based heuristic algorithm imitating grasshopper swarm’s behavior in nature and mathematically modelling it to solve _THDi_ = ~~�~~ - _n_ _h_ =2 _I_ 1 (24) _THDi_ ≤ _THDi,max_ (25) TABLE 4. PID controllers’ gains for ASFC and modified D-STATCOM during wind speed variation. TABLE 5. PID controllers’ gains for ASFC and modified D-STATCOM during the three-phase short circuit test. FIGURE 15. The _THDv_ at the PCC (a) with the traditional SFC, (b) with the ASFC. optimization problems with contentious variables [24], [25]. The algorithm simulates grasshoppers’ forces of repulsion and attraction. While repulsive forces allow grasshoppers to explore the search space, they are urged by attraction forces to exploit the promising areas. GOA has been fitted with where _f_ is the attraction strength and _l_ is the scale of the attractive length. To balance exploration and exploitation, the parameter _r_ in (26) must be decreased in proportion to the number of iterations. This promotes exploitation as the number of iterations rises. This parameter also decreases the number of iterations in the comfort zone and then, it is determined as: _r_ = _r_ max − _t_ <sup>_<u>r</u>_</sup> <sup><u>max</u></sup> <sup>−</sup> <sup>_<u>r</u>_</sup> <sup><u>min</u></sup> (28) _T_ where _rmax_ & _rmin_ are the maximum and minimum values that are taken as 1 and 0.0004, respectively, and _t_ is the current iteration. _T_ is the maximum number of iterations. The GOA parameters used to check the GOA-PID controller’s performance are: The number of search agents and iterations are 25 and number of 20, respectively. Fig. 6 illustrates the implementation of the GOA method for determining the controller parameters to identify the global minimum error. _B._ _THE MODIFIED D-STATCOM_ D-STATCOM is one of the most popular fast-response D-FACTS topologies. It can be utilized to enhance poor PQ issues throughout various system conditions [26]. A modification of D-STATCOM through using a three-level PID driven-error is done to increase its effectiveness and being a coefficient that reduces the distance of the grasshoppers’ comfort zone to balance exploration and exploitation phases during optimization. This helps GOA not to become trapped in local optimum and find an accurate global optimum estimate. As the best solution obtained so far by the swarm considered as a target to be pursued, grasshoppers have a great opportunity to find the global optimum by improving the target through iterations. The updating position of GOA equation is obtained as ��� _Xj_ - _Xi_ _dij_ - <sup>�</sup> + _Td_ (26) ���� _Xjd_ <sup>−</sup> <sup>_X_</sup> _i_ <sup>_d_</sup> _Xi_ <sup>_d_</sup> <sup>=</sup> <sup>_r_</sup> �� _N_ _j_ =1 _j_ ̸= _i_ _r_ <sup>_<u>Ubd</u>_</sup> <sup>−</sup> <sup>_<u>Lbd</u>_</sup> _S_ 2 where _Xi_ <sup>_d_</sup> <sup>is</sup> <sup>the</sup> <sup>position</sup> <sup>of</sup> <sup>the</sup> <sup>current</sup> <sup>solution</sup> <sup>in</sup> <sup>the</sup> <sup>_d_</sup> <sup>-</sup> th dimension, _r_ is a coefficient of diminishing that narrows the zones of comfort, repulsion, and attraction. _Ubd_ and _Lbd_ are the upper & lower bounds in _d_ -th dimension, _dij_ is the distance between _j_ -th grasshopper ( _Xj_ ) and _i_ -th grasshopper ( _Xi_ ) in absolute value, _S_ is a function that defines the social forces between grasshoppers and _Td_ is the target value in _d_ -th dimension, which is the best solution found so far. Equation (26) indicates that the grasshopper’s next position relies on its current position, the position of all other grasshoppers, and the target position. The social forces function in (26) can be depicted as follows: <u>−</u> _<u>d</u>_ _e_ _l_ - _e_ <sup>−</sup> <sup>_d_</sup> (27) _S_ = _f_ FIGURE 16. The PQ indices at the PCC using the ASFC and SFC under PV irradiation variation. comparable to the proposed ASFC. Fig. 7 shows the controller of the modified D-STATCOM with detailed parameters given in Appendix B. The total error of D-STATCOM can be expressed as _eT_ 2 = _γVd_ ( _eVd_ ) + _γId_ ( _eId_ ) + _γPd_ ( _ePd_ ) (29) FIGURE 17. The PQ indices at the PCC using the ASFC and traditional SFC under wind speed variation. IV. RESULTS AND ANALYSIS To test the feasibility of the proposed ASFC to mitigate the harmonic distortion and improve the voltage stabilization, different case studies are discussed as in the following. (A) Comparison between the modified and traditional D-STATCOM. (B) Comparison between the ASFC and the modified D-STATCOM (C) Comparison between the ASFC and traditional SFC. TABLE 6. PID controllers’ gains for ASFC and traditional SFC during harmonic analysis. TABLE 7. PID controllers’ gains for ASFC and traditional SFC during PV irradiation variation. TABLE 8. PID controllers’ gains for ASFC and traditional SFC during wind speed variation. TABLE 9. PID controllers’ gains for ASFC and traditional SFC during harmonic analysis. (D) Comparison with related literature. Cases A to C are performed on the MG shown in Fig. 1 whereas case D is carried out through the system in Reference 10. _A._ _COMPARISON BETWEEN THE MODIFIED AND_ _TRADITIONAL D-STATCOM_ A comparison between the traditional (tuned by trial and error) and modified D-STATCOM that is tuned by the GOA for harmonic mitigation and reactive power compensation at the PCC is described. The _THDv_ is the main index for quantifying the level of harmonics in voltage waveforms. As shown in Fig. 8, the results obtained by using the modified D-STATCOM yield a better reduction in the _THDv_ as well as less reactive power received at the PCC, Fig. 9. The results satisfy the effectiveness of the modification. The controller parameters of both modified and traditional D-STATCOM are tabulated in Table 1. _B._ _COMPARISON BETWEEN THE ASFC AND THE_ _MODIFIED D-STATCOM_ Different scenarios such as harmonic distortion analysis, PV irradiation variation, wind speed variation and short circuit FIGURE 18. The compared system using SFC with trial and error for tuning PID controller. FIGURE 19. The _THDv_ at the PCC (a) with the traditional SFC [10], (b) with the ASFC. test at the PCC are considered. For each scenario, the results obtained from the original system without FACTS devices are the base of comparison with those resulted when using the proposed ASFC or the modified D-STATCOM. 1) HARMONIC ANALYSIS The _THDv_ and _THDi_ at the PCC are measured and compared as shown in Figs. 10 and 11, respectively. For the TABLE 10. PID controllers’ gains for ASFC and traditional SFC during wind speed variation. TABLE 11. The parameters of the PV module. TABLE 12. The wind generations specification. TABLE 13. The parameters of BESS. TABLE 14. The parameters of PEMFC. uncompensated system, Fig. 10a shows an increased percentage of the _THDv_ at the PCC. On the other side, using the modified D-STATCOM has the effect of reducing this value as shown in Fig. 10b. A more reduction of this value is noticed when using ASFC as shown in Fig. 10c. Similarly, results for the _THDi_ can be noticed from Fig.11. The results show the effectiveness of the proposed ASFC as the reduction of _THDi_ is greater than those using the modified D-STATCOM or the original system without compensation. The parameters of both ASFC and D-STATCOM controllers are given in Table 2. 2) PV IRRADIATION VARIATION When the irradiation is suddenly reduced from 500 to 200 W/m <sup>2</sup> at _t_ = 0 _._ 2 s and then increased to 500 W/m <sup>2</sup> at _t_ = 0 _._ 4 s, the simulation results for the PQ indices at TABLE 15. Voltage distortion limits. TABLE 16. Current distortion limits for systems. the PCC such as bus voltage ( _Vrms_ ), current ( _Irms_ ), active power ( _P_ ), reactive power ( _Q_ ) and power factor ( _PF_ ) in per unit, respectively. It is remarked that during this variation, the proposed ASFC has a positive effect on the improvement of the MG’s power quality and dynamic response. The active power decreases during the recovery time with a reduced dynamic response. Moreover, the reactive power consumption is reduced and then the power factor is improved rather than those using modified D-STATCOM or without compensation. The controller parameters of the ASFC and modified D-STATCOM are given in Table 3. 3) WIND SPEED VARIATION Wind speed variation has a significant importance when studying the MG dynamic response and power quality. So, the system is tested by rising the wind speed instantly from 6 to 12 m/s at _t_ = 0 _._ 2 s and then reduced to 6 m/s at _t_ = 0 _._ 3 s. Fig. 13 illustrates the simulation results of the different PQ indices such as _Vrms_, _Irms_, _P,_ _Q_ and _PF_ at the PCC under the variation of the wind speed. While the results are similar, the proposed ASFC demonstrates a significant improvement in the dynamic response compared to the results of both modified D-STATCOM and uncompensated system application. It can be noticed that in Fig.13a, the voltage rate of change at the PCC bus is increased above 1 p.u when using the D-STATCOM, whereas this value is kept constant at 1 per unit with ASFC. The controller parameters of the ASFC and modified D-STATCOM are written in Table 4. 4) SHORT CIRCUIT TEST The MG is studied when a fault occurs at the PCC to indicate the flexibility and the dynamic response of the proposed ASFC. For instance, three-phase short circuit is applied at t = 0.2 s, then, cleared after 0.03 s, i.e., at t = 0.23 s. The _Vrms_ and _Irms_ are shown in Figs. 14a,b. It is remarked that the FIGURE 20. The PQ indices at the PCC using the ASFC and traditional SFC under wind speed variation. ASFC topology yields a better dynamic response to recover its initial state after fault occurrence compared to the respective waveforms when including modified D-STATCOM or without compensation. The controller parameters of the ASFC and modified D-STATCOM are given in Table 5. TABLE 17. The Controller parameters of the ASFC. _C._ _COMPARISON BETWEEN THE ASFC AND TRADITIONAL_ _SFC_ 1) HARMONIC ANALYSIS Fig. 15 shows the _THDv_ at the PCC when using either traditional SFC as in Reference 10 or the ASFC. The mathematical and simulation model of the traditional SFC is given in Appendix A. It is noticed that the _THDv_ of the ASFC reaches 1.19%, which is lesser than that of the traditional SFC, 3.79%. Moreover, the proposed technique consumes less processing time, around 87 s compared to that of the SFC, which takes around 10 m using the same computer configuration. This shows the extent of ASFC’s ability for mitigating the harmonic distortions. The controller parameters of ASFC and traditional SFC are given in Table 6. 2) PV IRRADIATION VARIATION The same test performed in the previous section, case B, is applied to the MG, Fig. 1, using the ASFC or the traditional SFC. The results are tackled in Fig. 16 indicating that they are better in the case of using the proposed ASFC than those of the traditional SFC. Both active and reactive power consumption are decreased resulting in an improvement in the power factor. The controller parameters of both ASFC and traditional SFC are given in Table 7. 3) WIND SPEED VARIATION To compare the results of using ASFC or traditional SFC during wind variation, the same test performed in case B is done on the MG, Fig. 1. Fig. 17 proves the importance of using the ASFC to have a great effect on the performance of the system compared to the traditional SFC. The controller parameters of ASFC and traditional SFC are written in Table 8. _D._ _COMPARISION WITH RELATED LITERATURE_ For more validation of the proposed ASFC, its application results are compared with those of reference 10, as another published work, when using the system shown in Fig. 18. The system consists of three different loads with ratings illustrated in Table B.3. As reported in Reference 10, the traditional SFC is studied using trial and error to find the values of the PID TABLE 18. Controller parameters of D-STATCOM. TABLE 19. Controller parameters of AC loads. FIGURE 21. The SFC/PID controller circuit. controller gains ( _Kp_, _Ki_, and _Kd_ ), which is time-consuming. The comparison is carried out on two cases; (i) harmonic analysis and (ii) wind speed variation. 1) HARMONIC ANALYSIS Fig. 19 shows the _THDv_ at the PCC for different case studies. It is remarked that the _THDv_ of the proposed technique is 2%, less than that of the work presented in [10]. The controller parameters of the proposed filter and the SFC controllers are shown in Table 9. 2) WIND SPEED VARIATION To compare the results of the ASFC with those in [10] during wind variation, it is deemed that the wind speed suddenly rises from 6 to 12 m/s at _t_ = 0 _._ 2 s and then reduced to 6 m/s at _t_ = 0 _._ 4 s as shown in Fig. 20 [10]. The results show the importance of using the ASFC-PID controller. It can be noticed that in Figs. 20c,d the active and reactive power consumed at PCC are decreased when using the ASFC controller. The enhancement rate in active power is about 3.5% and that of both reactive power and power factor is about 3%. V. CONCLUSION An ASFC compensation scheme using a GOA/PID controller for finding the optimum values of PID gains and minimizing the _ITAE_ has been proposed. Different case studies are performed to validate the effectiveness of the proposed ASFC. The simulation results illustrate an improvement of power quality aspects such as dynamic voltage stabilization, mitigation of harmonics distortion, reduction of the consumed reactive power and power factor. The simulation results have been clarified an improvement in the _THDv_ of 94% using the ASFC, while the corresponding improvements using the modified D-STATCOM and the conventional SFC are 50.6% and 80.2%, respectively. For reactive power compensation, the enhancement rate using the ASFC is approximately 4.8%, while for the modified D-STATCOM and conventional SFC are 2.3 % and 4.2 %, respectively. The proposed ASFC can operate on real times as its parameters can be self-tuned to accommodate the present operating conditions. In addition, the optimal minimization of the _ITAE_ that speeds up the process is achieved. Furthermore, the D-STATCOM as an alternative device for improving the PQ of the MG is modified to be self-tuned and more effective. APPENDIXES APPENDIX A Based on Fig. 21 the following equations are used to calculate the total error from the three loops, _eT_, which is the input to the PID controller. The first loop error _eA_ is obtained as: where _evl_ 2 and _eIL_ 2 equations are stated in (32) and (35). The term _ePL_ 2 equation is given in (37): _<u>IL</u>_ <u>2</u> × _Im_ _ _base_ (37) �� <u>1</u> 1 − 1 + s _T_ 2 _ePL_ 2 = - _<u>VL</u>_ <u>2</u> _Vm_ _ _base_ _eA_ = _γVL_ 1 × - _eVL_ 1 - + _γVL_ 2 × - _eVL_ 2 where: - (30) (31) (32) - <u>1</u> 1+s _T_ 1 _eVL_ 1 = _eVL_ 2 = _Vm_ _ _ref_ - _VL_ 1 _Vm_ _ _base_ _Vm_ _ _base_ _Vm_ _ _ref_ - _VL_ 2 - <u>1</u> 1+s _T_ 1 The second loop error is calculated as follows: _eB_ = _γIL_ 1 × - _eIL_ 1 - + _γIL_ 2 × - _eIL_ 2 - (33) where: �� <u>1</u> 1 − 1 + s _T_ 2 (34) Therefore, the total error ( _eT_ ) is calculated using (38). _eT_ = _eA_ + _eB_ + _eC_ (38) and _ea_ = _eA_ × _KA_ (39) _eb_ = _eB_ × _KB_ (40) _ec_ = _eC_ × _KC_ (41) where _KA_, _KB_, and _KC_ are selected weightings for the three separate regulation loops to allow control burdens adjustment. It is remarked that the time consumed for simulation processing is more than that of the proposed scheme using ASFC. APPENDIX B See Tables 17–19. REFERENCES [1] H. Zou, S. Mao, Y. Wang, F. Zhang, X. Chen, and L. Cheng, ‘‘A survey of energy management in interconnected multi-microgrids,’’ _IEEE Access_, [vol. 7, pp. 72158–72169, 2019, doi: 10.1109/ACCESS.2019.2920008.](http://dx.doi.org/10.1109/ACCESS.2019.2920008) [2] Q. Liu, Y. Li, L. Luo, Y. Peng, and Y. Cao, ‘‘Power quality manage ment of PV power plant with transformer integrated filtering method,’’ _IEEE_ _Trans._ _Power_ _Del._, vol. 34, no. 3, pp. 941–949, Jun. 2019, [doi: 10.1109/TPWRD.2018.2881991.](http://dx.doi.org/10.1109/TPWRD.2018.2881991) [3] Q. Liu, Y. Li, S. Hu, and L. Luo, ‘‘A transformer integrated filtering system for power quality improvement of industrial DC supply system,’’ _IEEE_ _Trans._ _Ind._ _Electron._, vol. 67, no. 5, pp. 3329–3339, May 2020, [doi: 10.1109/TIE.2019.2916383.](http://dx.doi.org/10.1109/TIE.2019.2916383) [4] M. A. Elsaharty, A. Luna, J. I. Candela, and P. Rodriguez, ‘‘A uni fied power flow controller using a power electronics integrated transformer,’’ _IEEE Trans. Power Del._, vol. 34, no. 3, pp. 828–839, Jun. 2019, [doi: 10.1109/TPWRD.2019.2897601.](http://dx.doi.org/10.1109/TPWRD.2019.2897601) [5] H. Hafezi and R. Faranda, ‘‘Dynamic voltage conditioner: A new concept for smart low-voltage distribution systems,’’ _IEEE_ _Trans._ _Power_ _Electron._, vol. 33, no. 9, pp. 7582–7590, Sep. 2018, [doi: 10.1109/TPEL.2017.2772845.](http://dx.doi.org/10.1109/TPEL.2017.2772845) [6] A. I. Omar, S. H. E. Abdel Aleem, E. E. A. El-Zahab, M. Algablawy, and Z. M. Ali, ‘‘An improved approach for robust control of dynamic voltage restorer and power quality enhancement using grasshopper optimization algorithm,’’ _ISA_ _Trans._, vol. 95, pp. 110–129, Dec. 2019, [doi: 10.1016/j.isatra.2019.05.001.](http://dx.doi.org/10.1016/j.isatra.2019.05.001) [7] O. P. Mahela and A. G. Shaik, ‘‘Power quality improvement in distri bution network using DSTATCOM with battery energy storage system,’’ _Int._ _J._ _Electr._ _Power_ _Energy_ _Syst._, vol. 83, pp. 229–240, Dec. 2016, [doi: 10.1016/j.ijepes.2016.04.011.](http://dx.doi.org/10.1016/j.ijepes.2016.04.011) [8] H. A. Gabbar and A. A. Abdelsalam, ‘‘Microgrid energy management in grid-connected and islanding modes based on SVC,’’ _Energy_ _Convers._ _Manage._, vol. 86, pp. 964–972, Oct. 2014, [doi: 10.1016/j.enconman.2014.06.070.](http://dx.doi.org/10.1016/j.enconman.2014.06.070) [9] A. A. Abdelsalam and A. M. Sharaf, ‘‘A novel facts compensation scheme for power quality improvement in wind Smart Grid,’’ in _Proc. 25th IEEE_ _Can. Conf. Electr. Comput. Eng. (CCECE)_, Apr. 2012, pp. 1–4. [10] F. H. Gandoman, A. M. Sharaf, S. H. E. Abdel Aleem, and F. Jurado, ‘‘Dis tributed FACTS stabilization scheme for efficient utilization of distributed wind energy systems,’’ _Int._ _Trans._ _Electr._ _Energy_ _Syst._, vol. 27, no. 11, [p. e2391, Nov. 2017, doi: 10.1002/etep.2391.](http://dx.doi.org/10.1002/etep.2391) [11] M. Talaat, A. Y. Hatata, A. S. Alsayyari, and A. Alblawi, ‘‘A smart load management system based on the grasshopper optimization algorithm using the under-frequency load shedding approach,’’ _Energy_, vol. 190, [Jan. 2020, Art. no. 116423, doi: 10.1016/j.energy.2019.116423.](http://dx.doi.org/10.1016/j.energy.2019.116423) _<u>IL</u>_ <u>1</u> _eIL_ 1 = _Im_ _ _base_ - <u>1</u> 1 + s _T_ 1 �� <u>1</u> 1 − 1 + s _T_ 2 (35) _<u>IL</u>_ <u>2</u> _eIL_ 2 = _Im_ _ _base_ - <u>1</u> 1 + s _T_ 1 The third loop error is obtained as: _eC_ = _γVL_ 2( _eVL_ 2) + _γIL_ 2( _eIL_ 2) + _γPL_ 2( _ePL_ 2) (36) [12] M. Smaoui, A. Abdelkafi, and L. Krichen, ‘‘Optimal sizing of stand-alone photovoltaic/wind/hydrogen hybrid system supplying a desalination unit,’’ _Sol._ _Energy_, vol. 120, pp. 263–276, Oct. 2015, [doi: 10.1016/j.solener.2015.07.032.](http://dx.doi.org/10.1016/j.solener.2015.07.032) [13] A. Elgharbi, D. Mezghani, and A. Mami, ‘‘A maximum power point tracking method based on artificial neural network for a PV system,’’ _Int._ _J._ _Adv._ _Eng._ _Technol._, vol. 5, no. 1, p. 130, 2012, doi: [10.1016/S1007-](http://dx.doi.org/10.1016/S1007-0214%0x2805%0x2970055-9) [0214(05)70055-9.](http://dx.doi.org/10.1016/S1007-0214%0x2805%0x2970055-9) [14] _KYOCERA_ _High-Efficiency_ _Photovoltaic_ _Module_ _Datasheet_ . Accessed: Sep. 23, 2019. [Online]. Available: https://www.kyocerasolar.com [15] F. A. Farret and M. G. Simoes, _Integration_ _of_ _Alternative_ _Sources_ _of_ _Energy_ . Hoboken, NJ, USA: Wiley, 2006. [16] M. A. Abdullah, A. H. M. Yatim, C. W. Tan, and R. Saidur, ‘‘A review of maximum power point tracking algorithms for wind energy systems,’’ _Renew. Sustain. Energy Rev._, vol. 16, no. 5, pp. 3220–3227, 2012, [doi: 10.1016/j.rser.2012.02.016.](http://dx.doi.org/10.1016/j.rser.2012.02.016) [17] _Endurance Energy Mftg Ltd_ . Accessed: Jul. 1, 2019. [Online]. Available: https://en.wind-turbine models.com/manufacturers/247endurance [18] S. Diaf, D. Diaf, M. Belhamel, M. Haddadi, and A. Louche, ‘‘A methodology for optimal sizing of autonomous hybrid PV/wind system,’’ _Energy_ _Policy_, vol. 35, no. 11, pp. 5708–5718, Nov. 2007, [doi: 10.1016/j.enpol.2007.06.020.](http://dx.doi.org/10.1016/j.enpol.2007.06.020) [19] I. Baccouche, S. Jemmali, B. Manai, N. Omar, and N. Amara, ‘‘Improved OCV model of a li-ion NMC battery for online SOC estimation using the extended Kalman filter,’’ _Energies_, vol. 10, no. 6, p. 764, May 2017, [doi: 10.3390/en10060764.](http://dx.doi.org/10.3390/en10060764) [20] Accessed: Sep. 1, 2020. [Online]. Available: https://www.rollsbattery.com [21] E. M. Natsheh, A. R. Natsheh, and A. Albarbar, ‘‘Intelligent controller for managing power flow within standalone hybrid power systems,’’ _IET_ _Sci., Meas. Technol._ [, vol. 7, no. 4, pp. 191–200, Jul. 2013, doi: 10.1049/iet-](http://dx.doi.org/10.1049/iet-smt.2013.0011) [smt.2013.0011.](http://dx.doi.org/10.1049/iet-smt.2013.0011) [22] Accessed: Oct. 1, 2020. [Online]. Available: https://www.powercell.se/ [23] _IEEE Recommended Practice and Requirements for Harmonic Control in_ _Electric Power Systems_, IEEE Power and Energy Society, Piscataway, NJ, USA, Standard 519-2014, 2014. [24] C. M. Topaz, A. J. Bernoff, S. Logan, and W. Toolson, ‘‘A model for rolling swarms of locusts,’’ _Eur._ _Phys._ _J._ _Special_ _Topics_, vol. 157, no. 1, [pp. 93–109, Apr. 2008, doi: 10.1140/epjst/e2008-00633-y.](http://dx.doi.org/10.1140/epjst/e2008-00633-y) [25] T. Jumani, M. Mustafa, M. Rasid, N. Mirjat, M. Baloch, and S. Salisu, ‘‘Optimal power flow controller for grid-connected microgrids using grasshopper optimization algorithm,’’ _Electronics_, vol. 8, no. 1, [p. 111, Jan. 2019, doi: 10.3390/electronics8010111.](http://dx.doi.org/10.3390/electronics8010111) [26] S. Li, Y. Li, Y. Cao, Y. Tan, and B. Keune, ‘‘Capacity optimisation method of distribution static synchronous compensator considering the risk of voltage sag in high-voltage distribution networks,’’ _IET_ _Gener.,_ _Transmiss. Distrib._ [, vol. 9, no. 16, pp. 2602–2610, 2015, doi: 10.1049/iet-](http://dx.doi.org/10.1049/iet-gtd.2014.1047) [gtd.2014.1047.](http://dx.doi.org/10.1049/iet-gtd.2014.1047) AHMED HUSSAIN ELMETWALY received the B.Sc. degree from the Higher Institute of Engineering, Elshorouk Academy, Cairo, Egypt, in 2008, and the M.Sc. degree from the Faculty of Engineering, Port Said University, Egypt, in 2015. He is currently an Assistant Teacher with the Department of Electrical Engineering, Higher Institute of Engineering, Elshorouk Academy. His research interests include power quality, smart grids, power system analysis, and renewable energy. AZZA AHMED ELDESOUKY received the B.Sc. and M.S. degrees in electrical engineering from Suez Canal University, Port Said, Egypt, in 1989 and 1995, respectively, and the Ph.D. degree from Bath University, U.K., in 2002. She is currently working as an Associate Professor with the Department of Electrical Engineering, Port Said University. Her research interests include power system operation and management, power quality, and microgrid stability and control. ABDELHAY AHMED SALLAM (Life Senior Member, IEEE) received the B.Sc., M.Sc., and Ph.D. degrees from the Faculty of Engineering, Cairo University, Egypt, in 1967, 1972, and 1976, respectively. From 1967 to 1979, he was with the Ministry of Industry. In 1980, he joined the Department of Electrical Engineering, Faculty of Engineering, Suez Canal University, and then Port Said University, Egypt, where he is currently a Professor (Emeritus). He joined Canal Electricity Company as the Head of the Technical Affairs Sector, where he spent four years. In 2006, 2007, 2009, 2012, and 2014, he was a Visiting Professor with the Department of Electrical and Computer Engineering, University of Calgary, Calgary, AB, Canada. He has authored or coauthored over 100 articles in international journals and conferences. He has also authored two books _Electric_ _Distribution_ _Systems_ (IEEE-John Wiley & Sons Press, 2011) and _Power_ _System_ _Stability:_ _Modeling,_ _Analysis,_ _and_ _Control_ (IET, 2015). His field of interest is mainly power system analysis and planning.

섹션 본문 66문단 · 29,726자

(제목 없음)

1Technologies of microgrids (MGs) help power grid evolve into one that is more efficient, less polluting, reduced losses, and more flexible to provide energy consumers' want and need. Because of the nature of various renewable energy sources (RESs) integrated into the MGs such as variability and inability to accurately predict and control, different technical problems are created. Power quality is one of the most important issues to be addressed, especially harmonic distortion and voltage stabilization. Many devices have been proposed to improve these two aspects that may result from loads nonlinearity and sources uncertainty. In this study, an adaptive switched filter compensator (ASFC) with developed proportionalintegral-derivative (PID) controller is proposed to improve the overall dynamic performance of the MGs. The PID's controller gains are optimally tuned via the application of grasshopper's optimization algorithm (GOA) to act adaptively with self-tuning as the operating conditions may subject to change during MG operation. Different case studies are proposed to reveal the robustness of the presented ASFC on harmonic mitigation, dynamic voltage stabilization, reactive power compensation and power factor improvement considering the features of RESs such as variations of wind speed, solar PV irradiation and temporary fault conditions. A distribution synchronous static compensator (D-STATCOM), as one of the most popular D-FACTS, with optimal tuned PID controller by using the GOA is also proposed. To validate both the proposed ASFC topology and the modified D-STATCOM, comparative studies including what has been published in literature are examined by using MATLAB/Simulink platform. The results advocate the effectiveness, robustness and latency of the proposed devices.INDEX TERMSMicrogrids (MGs), adaptive switched filter capacitor (ASFC), distribution synchronous static compensator (D-STATCOM), distribution flexible alternative current transmission system (D-FACTS), power quality (PQ), grasshopper's optimization algorithm (GOA), PID Controller.

I. INTRODUCTION

2Integration of distributed energy resources (DERs), renewables and non-renewables, forming what is called 'microgrids (MGs)' has been widely deployed to benefit both utilities and consumers. MGs are continuously developed along with the progress in information and communication technologies (ICTs).

3Three modes of operation MGs can operate in; utility gridconnected, islanded and isolated. In addition, MG control strategies can be categorized into three levels; (i) primary control, which is a local control for each load and each resource The associate editor coordinating the review of this manuscript and approving it for publication was Shiwei Xia . in the MG. It is based on the local measurements of the parameters necessary for managing and controlling the MG, (ii) secondary control that is responsible for MG operation according to the mode of operation used, and (iii) tertiary control, which is the highest level of control. It coordinates multiple MGs interacting with one another in the system and communicates requirements from the utility grid [1].

4Therefore, primary and secondary controls are associated with the MG operation itself, whereas the tertiary control is considered as part of the utility grid. Regardless of the kind of operation mode, MG components should be interoperable and with interfaces complying with functional standards defined by the MGs as well as the controller should enable the MGs to manage themselves and operate autonomously. VOLUME 8, 2020 This work is licensed under a Creative Commons Attribution 4.0 License. For more information, see https://creativecommons.org/licenses/by/4.0/ Renewable energy sources (RESs) are nowadays encouraged by utility companies to be integrated into the MG. Because of the nature of various renewable sources (e.g., wind and solar PV) such as variability and inability to accurately predict and control, different technical problems are created. A tremendous amount of research in addition to attention of power system planners and operators are taken place in providing the consumers with electrical energy as economically as possible and with a high degree of reliability and quality of supply. One of these standards that must be met is the MG power quality (PQ). Harmonics distortion and voltage stabilization are listed as major PQ issues in the literature which may result from loads nonlinearity due to the presence of electronic devices and drives in consumers' premises, and sources uncertainty due to both of generation intermittency of renewable sources and the electronic interface devices.

5Passive, active and hybrid power filters can be used for mitigating harmonic distortion. In [2] two-stage filtering station of a PV power plant to eliminate the output harmonics from the PV inverters, and improve the power quality at PCC was studied. Moreover, the transformer integrated filtering system (TIFS) was used for PQ enhancement throughout its ability of harmonic suppression [3].

6Meanwhile, multifunctional voltage source inverters or flexible alternating current transmission system (FACTS) devices are utilized to process these problems that may yield voltage instability in the MG. The unified power flow conditioner (UPFC) on the transmission level provides the controlling of power flow [4]. For distribution systems, the dynamic voltage restorer (DVR) is employed to compensate voltage sag [5], [6], and the distribution synchronous static compensator (D-STATCOM) provides both voltage sag and reactive power compensation [7]. DVR and D-STATCOM are only useful for compensating a specific kind of power quality issues. So, it is essential to develop a new scheme of unified series-shunt compensator (USSC), which can alleviate a wider range of PQ issues. One of them is the multi-function device that is named as 'switched filter-compensator (SFC)'. It can be exploited for mitigating harmonics distortion and voltage stabilization as well. It acts with trial and error-tuning for a specific operating condition. As applications of the SFC, it has been used to enhance the PQ and voltage stabilization of induction motors [8]. Furthermore, hybrid SFC driven by two regulators and one of two schemes of FACTS topologies have been applied to an MG aiming to mitigate harmonics and improving both power factor and voltage stability [9]. SFC topology for wind energy in a grid-connected system is studied in [10] to prove its capability of harmonics reduction at different conditions (load variation and fault conditions) and compensating the reactive power to satisfy the dynamic voltage stability. This paper presents a modification of the SFC to act adaptively with self-tuning as the operating conditions are subjected to change during MG operation. The proposed device is named as 'adaptive switched filter-compensator (ASFC)'. In addition, the gains of the proportional integral derivative (PID) controller, which is an element in the ASFC topology is optimally tuned using the grasshopper's optimization algorithm (GOA) [11]. The GOA parameters are used to verify the GOA-PID controller's performance by searching for PID controller gains with an objective of minimizing the integral time absolute error (ITAE). This helps achieve fast processing and more accurate results rather than those obtained by trial and error method. Moreover, D-STATCOM is developed to be a self-tuning device. Comparative studies are introduced in this study including different cases to illustrate, to any extent, the effectiveness of applying either the ASFC or the developed D-STATCOM to an isolated MG. The MG comprises renewable energy sources (RESs) such as solar PV energy, wind energy system (WES), battery energy storage system (BESS) and the proton exchange membrane fuel cell (PEMFC) supplying AC loads at the point of common coupling (PCC). More details about the MG architecture and the mathematical modelling of its components, which the simulation modelling is based on, are described in the next section. The results of applying the proposed ASFC to the case studies confirm that it provides more accurate solution at less computation time. The main contributions of this work can be summarized as:

7• A proposed ASFC with optimal tuned PID controller is introduced.

8• A modified model of D-STATCOM with optimal tuned PID controller using GOA is presented.

9• Different case studies are performed considering the features of RESs and temporary fault conditions in order to validate the effectiveness of the proposed devices. Accordingly, this paper is organized as follows. In section II, the architecture of MG is illustrated. Section III presents a modification of the ASFC for mitigating power quality problems. In section IV, the results of applying either ASFC or D-STATCOM are examined by using different case studies. Finally, the conclusions are introduced in section V.

II. ISOLATED MG ARCHITECTURE

10The MG central controller (MGCC) manages the operation of integrated DERs and loads. Each of DERs is connected to a local controller (LC) to adopt their reliable and economical operation. The main tasks of MGCC can be summarized as:

11• Providing the individual power and voltage set point for each power flow/DER control strategy.

12• Satisfying the electrical loads' requirements.

13• Alleviating emissions and network losses.

14• Exploiting the operational efficiency of the DERs. The proposed MG includes solar PV, WES, BESS and PEMFC. Each of these resources is connected to its LC, which in turn is connected to the MGCC. The MGCC can be connected to the host (or utility) grid through the distribution system operator (DSO) if it is desired or needed. The LC encompasses a breaker for switching operation of its connected resource and maximum power point tracking (MPPT) circuit. DER-bus is connected to the load-bus at 380V, 50 Hz. The PV generation power output, P PV , can be calculated as:

15where: η g : The instantaneous efficiency of the PV generator. The efficiency of the PV generator instantly is denoted as:

16where η r is the PV reference efficiency of the generator, η pt is the power tracking equipment efficiency, which equals 1 when using a perfect maximum power point tracker. T c and T r are the PV cell and reference temperatures in • C, respectively. β t is the efficiency temperature coefficient [12]. The artificial neural network (ANN) is used to forecast the required voltage value at the MPP [13] at which the desired duty cycle of the boost converter is calculated. The ANN comprises of three layers; (i) the input layer that has two neurons corresponding to the irradiation and temperature, (ii) the hidden layer including 10 neurons, and (iii) the output layer with one neuron. The maximum number of epochs to train the ANN equals 100 and the learning rate equals 0.02. The parameters of the PV model are specified from a practical PV module (KC200GT) manufactured by KYOCERA [14] as given in Table 11, (Appendix A). The LC of the PV system is designed for extracting the power when: 0 ≤ T c ≤ 60 & 100 ≤ G t ≤ 1000.

B. MATHEMATICAL MODEL OF THE WES

17The wind turbine generator power output can be determined as:

18, P r is the rated power of the wind generator. V ci , V co , and V r are the cut-in, cut-out and rated speeds of the wind turbine [15]. The extracted real power from the wind turbine is denoted by:

19The load profile curves of (a) commercial load active power (Pcom), (b) commercial load reactive power (Qcom), (c) residential load active power (Pres), (d) residential load reactive power (Qres). angle β and the tip speed ratio λ, which is given by:

20where ω is the rotational speed of the wind turbine and V w is the wind speed. The MPPT is carried out by using the perturbation and observation (P&O) technique [16]. The parameters of the WES model are specified from practical data (E3120) manufactured by ENDURANCE [17] as given in Table 12 (Appendix A).

C. BESS MODELLING

21The battery bank is used for storing/supplying electrical energy in case of charging/discharging process. The most frequent type used is the lead-acid. The accessible battery bank capability at hour t during charging/discharging can be expressed as: where C bat (t) and C bat (t − 1) are the battery bank capacity in (Wh) at the hour (t) and (t − 1), respectively. η bat is the efficiency of the battery, σ is the self-discharge rate of the battery bank. E pv (t) and E w (t) are the PV and windgenerated energies, respectively. E load (t) is the load energy consumption of the MG at hour (t) and η inv is the inverter efficiency [18]. The positive and negative signs refer to the charging and discharging state, respectively. The aim of the battery LC is to control the charging and discharging of the battery according to the renewable power, state of charge (SoC) and load demand available. The battery's SoC is provided by:

22where C nom and I bat (t) are the battery capacity (Ah) and the battery current (A), respectively [19]. The parameters of the BESS model are specified from real BESS data (S2-2160GEL) manufactured by Rolls battery [20] as given in Table 13 (Appendix A).

D. PEMFC MODELLING

23The PEMFC is the most common type of FCs and the best choice for housing and vehicle applications because of its VOLUME 8, 2020 performance features such as fast start-up, lightweight and high-power density. The FC parameters, in general, such as open-circuit voltage (E oc ), the exchange current (I c ) and the Tafel slope (A) depends on variations in temperature, pressures, compositions and flow rates of fuel and air. Therefore, to calculate the FC parameters, the following formulas are used:

24and

25where K c is the voltage constant in nominal operating condition (V), E n is Nernst voltage, which is the thermodynamic voltage of the cells and relies on the temperature and partial pressure of reactants and products inside the stack (V), R is universal gas constant (8.31450 J/(mol. K)), F is Faraday's constant (964850 A.s/mol), z is number of electrons moving, α is charge transfer coefficient, T is the operating temperature (K), P H 2 and P o2 are partial hydrogen and oxygen pressures inside the stack (atm), respectively, k is the constant of Boltzmann (1.380 × 10 −23 J/K), h is the constant of Planck (6.6260 × 10 −34 J.s), and G is the size of the activation barrier which depends on the type of electrode and catalyst used [21]. Table 14. shows the parameters of the PEMFC model, which are specified from real data (PowerCells S3) manufactured by POWERCELL [22]. The LC of the PEMFC is designed for extracting power at P H 2 ≥ 4 bar.

E. THE LOAD LOCAL CONTROLLER (LLC)

26Real load data is given from Hurghada city, Egypt. It consists of two daily load curves for active and reactive power of (i) commercial load as shown in Fig. 2a,b, and (ii) residential load as shown in Fig. 2c,d. Based on the mathematical models of each component of the MG, the overall structure of the MG simulation model including a PQED is shown in Fig. 3. It is to be noted that the simulation model leads to results that may differ from the practical solutions because of the delays occurred in real system (in measuring paths, data processing and execution systems).

III. ADAPTIVE SWITCHED FILTER COMPENSATOR (ASFC)

27To improve the performance of the isolated MG, the proposed ASFC is applied to the load bus at PCC. The ASFC is a switched/modulated filter that consists of a fixed shunt condenser bank linked to the AC side of an uncontrolled rectifier's arm. The proposed ASFC is a low-cost device compared to other shunt-connected FACTS devices, e.g., the D-STATCOM as reported in Reference 7. It only uses one solid-state low-power switch with a 2-pulse low rating diode rectifier. This is approximately one-fourth of the D-STATCOM cost. The ASFC construction and the PID controller circuit are shown in Figs. 4 and 5.

28The proposed PID control strategy comprises of three loops as voltage stabilization loop error, current loop limiting error, and dynamic power loop error. The first loop controller input is the voltage at PCC (V L ). The aim of this loop is to reduce voltage deviations at the PCC bus voltage from a reference voltage level, i.e., a unity voltage level (V m_ref ). Therefore, the output is the first signal error (e A ) of the PWM, as indicated in (12) and (13), respectively. where: The input of the second loop controller is the measured current at PCC (I L ). The concept behind this controller loop is to limit the inrush current and the dynamic RMS current changes. So, the loop controller compares the current at PCC with a reference value (I m_base ). The output of this comparison is the second signal error (e B ) as given in (14) and (15).

29and e IL = I L I m_base

30The third loop controller's inputs are the measured current and voltage at the PCC bus. This loop decreases the effects of load changes and sudden excursions of the dynamic power changes. The loop controller, therefore, compares the measured voltage V L , current I L , and calculates power P L (V L * I L ) with their reference values, and then feeds the third error e C given by (16) to the PWM module.

31where:

32Subsequently, the total error (e T ) is calculated in terms of the three control system errors, Thus, e T (t) = e A + e B + e C (18) The difference between the signals is processed by a PID controller to obtain the phase angles (delta) needed to drive the error to zero.

A. FORMULATION OF THE OPTIMIZATION PROBLEM 1) FITNESS FUNCTION

33The fitness function, given by (19) is used to fine-tune the proposed ASFC-PID controllers' gains (K p , K i, and K d ).

34min(J ) = min(ITAE) (19) where J is the total controller error of the ASFC and ITAE. The performance index of the ITAE is expressed in a mathematical term as:

3557930 VOLUME 8, 2020

2) CONSTRAINTS

36• The PCC voltage level is within its limits, that is

37• Total harmonic distortion of the voltage at the PCC (THD v ), given by (22) must be following the IEEE Standard 519 [23], that is limited by a maximum value (THD v,max = 8%), as given in Table 15. Thus,

38• Total harmonic distortion of the current at the PCC (THD i ), given by (24), according to the IEEE Standard 519 [23], should be limited by a maximum value (THD i,max = 5%), as given in Table 16. Hence,

3) IMPLEMENTATION OF THE GOA

39The GOA is a proposed single objective, population-based heuristic algorithm imitating grasshopper swarm's behavior in nature and mathematically modelling it to solve VOLUME 8, 2020 optimization problems with contentious variables [24], [25]. The algorithm simulates grasshoppers' forces of repulsion and attraction. While repulsive forces allow grasshoppers to explore the search space, they are urged by attraction forces to exploit the promising areas. GOA has been fitted with a coefficient that reduces the distance of the grasshoppers' comfort zone to balance exploration and exploitation phases during optimization. This helps GOA not to become trapped in local optimum and find an accurate global optimum estimate. As the best solution obtained so far by the swarm considered as a target to be pursued, grasshoppers have a great opportunity to find the global optimum by improving the target through iterations. The updating position of GOA equation is obtained as

40where X d i is the position of the current solution in the dth dimension, r is a coefficient of diminishing that narrows the zones of comfort, repulsion, and attraction. U bd and L bd are the upper & lower bounds in d-th dimension, d ij is the distance between j-th grasshopper (X j ) and i-th grasshopper (X i ) in absolute value, S is a function that defines the social forces between grasshoppers and T d is the target value in d-th dimension, which is the best solution found so far.

41Equation (26) indicates that the grasshopper's next position relies on its current position, the position of all other grasshoppers, and the target position. The social forces function in (26) can be depicted as follows:

42where f is the attraction strength and l is the scale of the attractive length. To balance exploration and exploitation, the parameter r in (26) must be decreased in proportion to the number of iterations. This promotes exploitation as the number of iterations rises. This parameter also decreases the number of iterations in the comfort zone and then, it is determined as:

43where r max & r min are the maximum and minimum values that are taken as 1 and 0.0004, respectively, and t is the current iteration. T is the maximum number of iterations. The GOA parameters used to check the GOA-PID controller's performance are:

44The number of search agents and iterations are 25 and number of 20, respectively. Fig. 6 illustrates the implementation of the GOA method for determining the controller parameters to identify the global minimum error.

B. THE MODIFIED D-STATCOM

45D-STATCOM is one of the most popular fast-response D-FACTS topologies. It can be utilized to enhance poor PQ issues throughout various system conditions [26]. A modification of D-STATCOM through using a three-level PID driven-error is done to increase its effectiveness and being 57934 VOLUME 8, 2020

IV. RESULTS AND ANALYSIS

46To test the feasibility of the proposed ASFC to mitigate the harmonic distortion and improve the voltage stabilization, different case studies are discussed as in the following. (D) Comparison with related literature. Cases A to C are performed on the MG shown in Fig. 1 whereas case D is carried out through the system in Reference 10.

A. COMPARISON BETWEEN THE MODIFIED AND TRADITIONAL D-STATCOM

47A comparison between the traditional (tuned by trial and error) and modified D-STATCOM that is tuned by the GOA for harmonic mitigation and reactive power compensation at the PCC is described. The THD v is the main index for quantifying the level of harmonics in voltage waveforms. As shown in Fig. 8, the results obtained by using the modified D-STATCOM yield a better reduction in the THD v as well as less reactive power received at the PCC, Fig. 9. The results satisfy the effectiveness of the modification. The controller parameters of both modified and traditional D-STATCOM are tabulated in Table 1.

B. COMPARISON BETWEEN THE ASFC AND THE MODIFIED D-STATCOM

48Different scenarios such as harmonic distortion analysis, PV irradiation variation, wind speed variation and short circuit test at the PCC are considered. For each scenario, the results obtained from the original system without FACTS devices are the base of comparison with those resulted when using the proposed ASFC or the modified D-STATCOM.

1) HARMONIC ANALYSIS

49The THD v and THD i at the PCC are measured and compared as shown in Figs. 10 and 11, respectively. For the VOLUME 8, 2020 uncompensated system, Fig. 10a shows an increased percentage of the THD v at the PCC. On the other side, using the modified D-STATCOM has the effect of reducing this value as shown in Fig. 10b. A more reduction of this value is noticed when using ASFC as shown in Fig. 10c. Similarly, results for the THD i can be noticed from Fig.11. The results show the effectiveness of the proposed ASFC as the reduction of THD i is greater than those using the modified D-STATCOM or the original system without compensation. The parameters of both ASFC and D-STATCOM controllers are given in Table 2.

2) PV IRRADIATION VARIATION

50When the irradiation is suddenly reduced from 500 to 200 W/m 2 at t = 0.2 s and then increased to 500 W/m 2 at t = 0.4 s, the simulation results for the PQ indices at the PCC such as bus voltage (V rms ), current (I rms ), active power (P), reactive power (Q) and power factor (PF) in per unit, respectively. It is remarked that during this variation, the proposed ASFC has a positive effect on the improvement of the MG's power quality and dynamic response. The active power decreases during the recovery time with a reduced dynamic response. Moreover, the reactive power consumption is reduced and then the power factor is improved rather than those using modified D-STATCOM or without compensation. The controller parameters of the ASFC and modified D-STATCOM are given in Table 3.

3) WIND SPEED VARIATION

51Wind speed variation has a significant importance when studying the MG dynamic response and power quality. So, the system is tested by rising the wind speed instantly from 6 to 12 m/s at t = 0.2 s and then reduced to 6 m/s at t = 0.3 s. Fig. 13 illustrates the simulation results of the different PQ indices such as V rms , I rms , P, Q and PF at the PCC under the variation of the wind speed. While the results are similar, the proposed ASFC demonstrates a significant improvement in the dynamic response compared to the results of both modified D-STATCOM and uncompensated system application. It can be noticed that in Fig.13a, the voltage rate of change at the PCC bus is increased above 1 p.u when using the D-STATCOM, whereas this value is kept constant at 1 per unit with ASFC. The controller parameters of the ASFC and modified D-STATCOM are written in Table 4.

4) SHORT CIRCUIT TEST

52The MG is studied when a fault occurs at the PCC to indicate the flexibility and the dynamic response of the proposed ASFC. For instance, three-phase short circuit is applied at t = 0.2 s, then, cleared after 0.03 s, i.e., at t = 0.23 s. The V rms and I rms are shown in Figs. 14a,b. It is remarked that the ASFC topology yields a better dynamic response to recover its initial state after fault occurrence compared to the respective waveforms when including modified D-STATCOM or without compensation. The controller parameters of the ASFC and modified D-STATCOM are given in Table 5. Fig. 15 shows the THD v at the PCC when using either traditional SFC as in Reference 10 or the ASFC. The mathematical and simulation model of the traditional SFC is given in Appendix A. It is noticed that the THD v of the ASFC reaches 1.19%, which is lesser than that of the traditional SFC, 3.79%. Moreover, the proposed technique consumes less processing time, around 87 s compared to that of the SFC, which takes around 10 m using the same computer configuration. This shows the extent of ASFC's ability for mitigating the harmonic distortions. The controller parameters of ASFC and traditional SFC are given in Table 6.

2) PV IRRADIATION VARIATION

53The same test performed in the previous section, case B, is applied to the MG, Fig. 1, using the ASFC or the traditional SFC. The results are tackled in Fig. 16 indicating that they are better in the case of using the proposed ASFC than those of the traditional SFC. Both active and reactive power consumption are decreased resulting in an improvement in the power factor. The controller parameters of both ASFC and traditional SFC are given in Table 7.

3) WIND SPEED VARIATION

54To compare the results of using ASFC or traditional SFC during wind variation, the same test performed in case B is done on the MG, Fig. 1. Fig. 17 proves the importance of using the ASFC to have a great effect on the performance of the system compared to the traditional SFC. The controller parameters of ASFC and traditional SFC are written in Table 8.

D. COMPARISION WITH RELATED LITERATURE

55For more validation of the proposed ASFC, its application results are compared with those of reference 10, as another published work, when using the system shown in Fig. 18. The system consists of three different loads with ratings illustrated in Table B.3. As reported in Reference 10, the traditional SFC is studied using trial and error to find the values of the PID controller gains (K p , K i , and K d ), which is time-consuming. The comparison is carried out on two cases; (i) harmonic analysis and (ii) wind speed variation. Fig. 19 shows the THD v at the PCC for different case studies. It is remarked that the THD v of the proposed technique is 2%, less than that of the work presented in [10]. The controller parameters of the proposed filter and the SFC controllers are shown in Table 9.

2) WIND SPEED VARIATION

56To compare the results of the ASFC with those in [10] during wind variation, it is deemed that the wind speed suddenly rises from 6 to 12 m/s at t = 0.2 s and then reduced to 6 m/s at t = 0.4 s as shown in Fig. 20 [10]. The results show the importance of using the ASFC-PID controller. It can be noticed that in Figs. 20c,d the active and reactive power consumed at PCC are decreased when using the ASFC controller. The enhancement rate in active power is about 3.5% and that of both reactive power and power factor is about 3%.

V. CONCLUSION

57An ASFC compensation scheme using a GOA/PID controller for finding the optimum values of PID gains and minimizing the ITAE has been proposed. Different case studies are performed to validate the effectiveness of the proposed ASFC. The simulation results illustrate an improvement of power quality aspects such as dynamic voltage stabilization, mitigation of harmonics distortion, reduction of the consumed reactive power and power factor. The simulation results have been clarified an improvement in the THD v of 94% using the ASFC, while the corresponding improvements using the modified D-STATCOM and the conventional SFC are 50.6% and 80.2%, respectively. For reactive power compensation, the enhancement rate using the ASFC is approximately 4.8%, while for the modified D-STATCOM and conventional SFC are 2.3 % and 4.2 %, respectively. The proposed ASFC can operate on real times as its parameters can be self-tuned to accommodate the present operating conditions. In addition, the optimal minimization of the ITAE that speeds up the process is achieved. Furthermore, the D-STATCOM as an alternative device for improving the PQ of the MG is modified to be self-tuned and more effective.

APPENDIXES APPENDIX A

58Based on Fig. 21 the following equations are used to calculate the total error from the three loops, e T , which is the input to the PID controller. The first loop error e A is obtained as:

59where:

60The second loop error is calculated as follows:

61where:

62e I L1 = I L1 Im_base 1 1 + sT 1 1 − 1 1 + sT 2 (34) e I L2 = I L2 I m_base 1 1 + sT 1 1 − 1 1 + sT 2

63The third loop error is obtained as:

64where e vl2 and e IL2 equations are stated in (32)

65where K A , K B , and K C are selected weightings for the three separate regulation loops to allow control burdens adjustment. It is remarked that the time consumed for simulation processing is more than that of the proposed scheme using ASFC.

APPENDIX B

66See Tables 17-19.

참고문헌 21건

  1. Optimal sizing of stand-alone photovoltaic/wind/hydrogen hybrid system supplying a desalination unit Solar Energy · Elsevier BV · 2015 10.1016/j.solener.2015.07.032
  2. Integration of Alternative Sources of Energy 2005 10.1002/0471755621.ch12
  3. Intelligent controller for managing power flow within standalone hybrid power systems IET Science Measurement & Technology · Institution of Engineering and Technology · 2013 10.1049/iet-smt.2013.0011
  4. A novel facts compensation scheme for power quality improvement in wind Smart Grid 2012 10.1109/ccece.2012.6334917
  5. Microgrid energy management in grid-connected and islanding modes based on SVC Energy Conversion and Management · Elsevier BV · 2014 10.1016/j.enconman.2014.06.070
  6. A methodology for optimal sizing of autonomous hybrid PV/wind system Energy Policy · Elsevier BV · 2007 10.1016/j.enpol.2007.06.020
  7. A review of maximum power point tracking algorithms for wind energy systems Renewable and Sustainable Energy Reviews · Elsevier BV · 2012 10.1016/j.rser.2012.02.016
  8. A model for rolling swarms of locusts The European Physical Journal Special Topics · Springer Science+Business Media · 2008 10.1140/epjst/e2008-00633-y
  9. Capacity optimisation method of distribution static synchronous compensator considering the risk of voltage sag in high‐voltage distribution networks IET Generation Transmission & Distribution · Institution of Engineering and Technology · 2015 10.1049/iet-gtd.2014.1047
  10. Power quality improvement in distribution network using DSTATCOM with battery energy storage system International Journal of Electrical Power & Energy Systems · Elsevier BV · 2016 10.1016/j.ijepes.2016.04.011
  11. Improved OCV Model of a Li-Ion NMC Battery for Online SOC Estimation Using the Extended Kalman Filter Energies · Multidisciplinary Digital Publishing Institute · 2017 10.3390/en10060764
  12. Distributed FACTS stabilization scheme for efficient utilization of distributed wind energy systems International Transactions on Electrical Energy Systems · Wiley · 2017 10.1002/etep.2391
  13. Dynamic Voltage Conditioner: A New Concept for Smart Low-Voltage Distribution Systems IEEE Transactions on Power Electronics · Institute of Electrical and Electronics Engineers · 2017 10.1109/tpel.2017.2772845
  14. Power Quality Management of PV Power Plant With Transformer Integrated Filtering Method IEEE Transactions on Power Delivery · Institute of Electrical and Electronics Engineers · 2018 10.1109/tpwrd.2018.2881991
  15. Optimal Power Flow Controller for Grid-Connected Microgrids using Grasshopper Optimization Algorithm Electronics · Multidisciplinary Digital Publishing Institute · 2019 10.3390/electronics8010111
  16. A Unified Power Flow Controller Using a Power Electronics Integrated Transformer IEEE Transactions on Power Delivery · Institute of Electrical and Electronics Engineers · 2019 10.1109/tpwrd.2019.2897601
  17. An improved approach for robust control of dynamic voltage restorer and power quality enhancement using grasshopper optimization algorithm ISA Transactions · Elsevier BV · 2019 10.1016/j.isatra.2019.05.001
  18. A Transformer Integrated Filtering System for Power Quality Improvement of Industrial DC Supply System IEEE Transactions on Industrial Electronics · Institute of Electrical and Electronics Engineers · 2019 10.1109/tie.2019.2916383
  19. A Survey of Energy Management in Interconnected Multi-Microgrids IEEE Access · Institute of Electrical and Electronics Engineers · 2019 10.1109/access.2019.2920008
  20. A smart load management system based on the grasshopper optimization algorithm using the under-frequency load shedding approach Energy · Elsevier BV · 2019 10.1016/j.energy.2019.116423
  21. Power Quality Improvement in Distribution Network using D-STATCOM with Battery Energy Storage System International Journal for Research in Applied Science and Engineering Technology · International Journal for Research in Applied Science and Engineering Technology (IJRASET) · 2021 10.22214/ijraset.2021.37447