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

Enhanced load frequency regulation in microgrids with renewable energy sources and electric vehicles

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

기본 정보

저자
  1. Imran Ullah Khan — Department of Electrical and computer Engineering, Faculty of Engineering and Technology, International Islamic University, Islamabad, 44000, Pakistan. imran.phdee40@iiu.edu.pk.
  2. Suheel Abdullah Malik — Department of Electrical and computer Engineering, Faculty of Engineering and Technology, International Islamic University, Islamabad, 44000, Pakistan.
  3. Amil Daraz — Interdisciplinary Research Center for Sustainable Energy Systems (IRC-SES), King Fahd University of Petroleum & Minerals, Dhahran 31261, Saudi Arabia.
  4. Baitullah Bareer — Education faculty, Department of Computer science, Paktia University, Paktia, 2201, Afghanistan. Baitullahbareer@pu.edu.af.
DOI
10.1038/s41598-025-10835-z
저널
Scientific Reports
발행년도
2025
발행기관
Nature Portfolio
피인용수
1
라이선스
cc-by-nc-nd
논문 유형
–
언어
–
원문 페이지
https://doi.org/10.1038/s41598-025-10835-z
토픽
Hybrid Renewable Energy Systems
OpenAlex ID
W4412570444

평가 내용

관련도
간접 관련
사업분야
수소연료전지 · (7) MEA(막전극접합체)
부 분야
(5) 연료전지용 수분제어장치(가습기), (6) PEM(고분자전해질막)
R&D 측면
분석·모델링
확신도
0.70
근거 용어
Fuel cells, Microgrids, Load frequency regulation, Electric vehicles, Controller design
판단 근거
논문은 마이크로그리드 내 연료전지(Fuel Cells)와 전기차(EVs)를 포함한 시스템의 주파수 제어 알고리즘을 다루고 있습니다. 이는 코오롱인더스트리의 수소연료전지(PEMFC) 사업의 상위 시스템 및 운용 안정성 연구와 연관될 수 있습니다.
R&D 활용 포인트
연료전지 시스템이 마이크로그리드에 통합될 때의 전력 품질 및 시스템 안정성 시뮬레이션 모델링에 활용 가능합니다.
평가 입력
본문 96,079자 중 30,032자 발췌

초록

Microgrid frequency control faces challenges due to load fluctuations and the intermittent nature of Renewable Energy Sources (RESs). The Load Frequency Control (LFC) scheme has been a profoundly investigated matter for decades for achieving a consistent frequency. This study introduces a novel cascaded Integral-Proportional-Proportional Derivative with Filter (I-P)-PDN controller designed to mitigate frequency deviations in microgrids incorporating Photovoltaic (PV) and Wind Turbine Generator (WTG), Fuel Cells (FCs), Electric Vehicles (EVs), Battery Energy Storage Systems (BESS), and Diesel Engine Generators (DEGs). To optimize the controller's parameters, the recently introduced Black-winged Kite Algorithm (BKA) is employed for its superior search efficiency and quick convergence. Simulation results show that the (I-P) cascaded PDN controller significantly outperforms existing controllers, such as PID, and PI-based models, by reducing frequency deviations, improving settling time, and minimizing overshoot and error indices. There is notable 77% reduction in overshoot (OSH) and 52% decrease in undershoot (USH) in tie-line power variations. Moreover, the Integral Absolute Error (IAE) is reduced by 42.3%, the Integral Time weighted Absolute Error (ITAE) by 85%, and the Integral Squared Error (ISE) by 98%. The study also examines the role of EVs as flexible energy storage, demonstrating their contribution to system resilience and stability. This approach offers a robust solution for effective frequency regulation in modern microgrids, ensuring reliable performance in dynamic conditions.

본문 96,079자

본문 펼치기
## OPEN # Enhanced load frequency regulation in microgrids with renewable energy sources and electric vehicles Imran Khan <sup>1</sup> <sup></sup> , Suheel Abdullah Malik <sup>1</sup> , Amil Daraz <sup>2</sup> & Baitullah Bareer <sup>3</sup> <sup></sup> Microgrid frequency control faces challenges due to load fluctuations and the intermittent nature of Renewable Energy Sources (RESs). The Load Frequency Control (LFC) scheme has been a profoundly investigated matter for decades for achieving a consistent frequency. This study introduces a novel cascaded Integral-Proportional-Proportional Derivative with Filter (I-P)-PDN controller designed to mitigate frequency deviations in microgrids incorporating Photovoltaic (PV) and Wind Turbine Generator (WTG), Fuel Cells (FCs), Electric Vehicles (EVs), Battery Energy Storage Systems (BESS), and Diesel Engine Generators (DEGs). To optimize the controller’s parameters, the recently introduced Black-winged Kite Algorithm (BKA) is employed for its superior search efficiency and quick convergence. Simulation results show that the (I-P) cascaded PDN controller significantly outperforms existing controllers, such as PID, and PI-based models, by reducing frequency deviations, improving settling time, and minimizing overshoot and error indices. There is notable 77% reduction in overshoot (OSH) and 52% decrease in undershoot (USH) in tie-line power variations. Moreover, the Integral Absolute Error (IAE) is reduced by 42.3%, the Integral Time weighted Absolute Error (ITAE) by 85%, and the Integral Squared Error (ISE) by 98%. The study also examines the role of EVs as flexible energy storage, demonstrating their contribution to system resilience and stability. This approach offers a robust solution for effective frequency regulation in modern microgrids, ensuring reliable performance in dynamic conditions. Keywords Microgrids, Renewable energy resources, Controller design, Electric vehicles, Black-winged kite algorithm Abbreviations ARES Alternative renewable energy sources IRENA International renewable energy agency LFC Load frequency control EVs Electric vehicles EVs1 Electric vehicles in area-1 EVs2 Electric vehicles in area-2 DEGs Disease engine generators BKA Black-winged kite algorithm GA Genetic algorithm (I-P) Integral-proportional PID Proportional-integral-derivative WTs Wind turbines IAE Integral absolute error DE Deferential evolution ESSs Energy storage systems 1Department of Electrical and computer Engineering, Faculty of Engineering and Technology, International Islamic University, Islamabad 44000, Pakistan. <sup>2</sup> Interdisciplinary Research Center for Sustainable Energy Systems (IRC-SES), King Fahd University of Petroleum & Minerals, Dhahran 31261, Saudi Arabia. 3Education faculty, Department of Computer science, Paktia University, Paktia 2201, Afghanistan.  email: imran.phdee40@iiu.edu.pk; Baitullahbareer@pu.edu.af BESSs Battery energy storage systems ΔPBESS Change in power of battery energy storage sources ΔPWT Change in power of wind turbine ΔPEVs Change in power of electric vehicles ΔPEVs1 Variation in power of electric vehicles in the area-1 ΔPEVs2 Change in power of electric vehicles in the area-2 ΔPPV Variation in photovoltaic power ΔPFC Change in fuel cell power ΔPs Change in power of different sources ΔF Change in frequency FPDN Fractional order proportional derivative with filter coefficient N FPID Fractional order PID FPTID Fractional-order proportional-tilted-integral-derivative FCs Fuel cells AGC Automatic generation control ISE Integral square error ITAE Integral time weighted absolute error ITSE Integral time weighted square error NISE Novel integral weighted square error IµGs Islanded Microgrids µGs Microgrids V2G Vehicle to Grid OS Overshoot US Undershoot PV Photovoltaics PDN Proportional derivative with N filter DC Direct current AC Alternating current DD Double derivatives IDD Integral double derivative VIC Virtual inertia control STA Self-tuned algorithm SBO Satin bowerbird optimizer ΔU Control signal of controller D Load-damping coefficient M Overall system inertia constant ARO Artificial rabbit optimizer algorithm P0 Output power ΔPL Change in load Background and challenges The growing need of energy utilization globally underlines the insistence of transitioning from limited, nonrenewable energy resources such as fossil fuels to RESs, like wind, solar, and hydropower <sup>1</sup> . These substitutes energy sources offer a consistent and sustainable and supportable solution and impact the reduction in emission of CO2 and control the effects of climate change <sup>2</sup> . The two common renewable energy sources that is wind and solar are advantageous due to having less operational costs and can be easily use for producing energy locally thus increasing the energy security and resiliency against disturbances and interruptions <sup>3</sup> . However, RESs’ integration and participation into power grids arose challenges of managing and stabilizing intermittent energy generation. The transition of traditional power sources maintaining the grid inertia to RESs causes frequency excursion and variations <sup>4</sup> . According to the International Energy Agency’s forecast, which reveals the substantial increase in photovoltaic and wind power capacity, surpassing the traditional energy sources within next decade <sup>5</sup> . Hence, tackling of frequency variations issues are critical for fruitful integration of RESs. The energy mix of RESs and DGs in the form of microgrid provide resilient power to the system load <sup>6</sup> . According to International Renewable Energy Agency (IREA) the power generation capacity of RESs globally reached to 2537 GW with share of 1190GW, 623 GW, 586 GW, 124 GW, and 14 GW and 500 MW by hydropower, wind, PVs, bioenergy, geothermal, and marine energy resources <sup>7,8</sup> . Due to climatic factors solar irradiation and wind speed variations causes unpredictable weather conditions resulting in intermittent power generations by RESs <sup>9</sup> . Thus, the frequency oscillation occur due to unpredictable power generation of RESs and stochastic nature of loads <sup>10,11</sup> . Besides renewable energy sources, electric vehicles are an emerging trends in ecosystemfavored cars productions in automotive industry <sup>12</sup> . EVs technology contribute to gasoline consumption and greenhouse gas emissions reductions. The EVs are linked to microgrid or conventional power grid over distribution network as flexible load allowing two-way power either to or from the grid <sup>13–15</sup> . The EVs batteries serves as mobile energy storage banks support the RESs integration and supplies stored energy during peak load thus improving power system sustainability <sup>16</sup> . The RESs and energy storage sources and other Distributed Generations (DGs) sources are integrated in the form of islanded microgrid (IµG), grid connected mode or interconnected microgrids. The power in islanded mode is shared to the local loads. The µG integrated with various AC and DC power sources such as PVs, wind turbines, and energy storage banks, permits power sharing in networked multi-microgrids configuration <sup>17</sup> . These systems boost up the grid reliability, improve resilience and benefiting maximum power accessibility. However, islanded and multi-µGs suffer challenges with specific to frequency stability and regulation issues due to isolation of IµG from main grid, and intricacy in coordination of multi-µGs due to intermittent nature of RESs and EVs. The erratic behavior of power generation of PV and wind turbines results in mismatching the supply and demand in µGs <sup>18,19</sup> . Hence, the frequency stabilization and inertia response may be lost due to excessive penetration of RESs in µGs. In these scenarios even a minor fluctuation in µG frequency led to disruptions <sup>20</sup> . Therefore, it appears critical to implement appropriate control strategies in isolated and interconnected µGs to enhance the power system inertia and frequency stability. In order to die out the disturbances in frequency of µG, the two controlling procedures are commonly used for DGs in microgrids. One is primary level of hierarchical or primary loop local control <sup>21</sup> . The secondary loop control compensates voltage and frequency variations caused by primary loop control and damp tie line power deviations in interconnected µGs <sup>22</sup> . Therefore, a most sound frequency control strategy is needed for frequency stabilization of microgrids to ensure reliable delivery of electric power. In this research a (I-P)-PDN controller is proposed for secondary level control strategy for islanded and interconnected microgrids. The control strategy employs a novel nature inspired metaheuristic optimization technique, Black-winged Kite Algorithm (BKA) for controllers’ parameters tuning. Literature review In order to confront the major challenge of frequency regulation in microgrids, scientists and researchers have provided a lot of assistance and effort. For maintaining frequency within permissible limits and balanced tie line power in interconnected microgrids, load frequency controllers have been required <sup>23</sup> . In the past, frequency control techniques have utilized controllers such as proportional integrals and proportional integral derivatives due to their simplicity and simplicity to implement. For the investigation of nonlinear and uncertain power systems, the adjustment of a PID controller can be a cumbersome process, and determining the optimum gains involves a lot of computation and experimentation. Improved performance has been achieved through advanced controllers like double derivatives (DD) and integral double derivatives (IDD). Different optimization algorithms such as Bacterial Foraging-based Optimizer Algorithm (BFOA), have been used for fine tuning the parameters, leading to more efficient LFC strategies <sup>23,24</sup> . Jaya based optimized model predictive control for frequency regulation in multi-area power system under nonlinearities circumstances an TLBO-LMI based optimized PI controller for three areas reported in <sup>25,26</sup> . A robust FO-Multistage PD/(1 + PI) controller is optimally implemented using an improved Sine Cosine Algorithm for frequency regulation in an isolated AC microgrid facing renewableinduced intermittencies <sup>27</sup> .Further, control strategy employing like proportional integral-proportional derivative (PI-PD) <sup>28</sup>, PD-PI <sup>29</sup>, type-2 (fuzzy-PID) <sup>30</sup> controllers are employed to lessen frequency deviation in microgrid. Various cascaded controller types have been used for load frequency regulation <sup>31</sup> . The Crow Search Algorithm (CSA) based optimization of Type-2 Fuzzy Cascaded PI Fractional Order (T2F-CPIF) controller improving inter areas power and frequency regulation in complicated power grids having disturbances reported in <sup>32</sup> . The Quassi-Oppositional Path Finder Algorithm (QO-PFA) based optimization of Fractional Order Type-2 Fuzzy Controller (FO-T2FC) results in enhanced frequency regulation against renewable intermittency compared to Type-1 fuzzy and classical PID controllers presented in <sup>33</sup> . The Type 2-fuzzy (T2F) controller, optimized by discrete water cycle algorithm enhances frequency stability in comparison to classical PID controllers presented in <sup>34</sup> . A Fuzzy Type-2 PSS tuned with Modified Crow Search Algorithm effectively regulating and stabilizing frequency in isolated microgrids with electric vehicles under renewable uncertainties. It outperforms classical PID and fuzzy based controllers in dynamic circumstances <sup>35</sup> . Recent literature studies <sup>36</sup> explore a dual-controller cascade strategy with PIDD2 (Proportional Integral Derivative, Double Derivative) controller framework for frequency fluctuations mitigation in two-area tied power system <sup>37</sup> . The cascaded control strategy employing Integral-Tilted Proportional Fractional Order Derivative (I-TPFOD) controller was introduced using Satin Bowerbird Optimizer having built in novel integral-square error cost function <sup>38</sup> . Similarly, a dual-controller method with Particle Swarm Optimizer (PSO) was introduced utilizing an integrator for frequency regulation and proportional-integrator for virtual inertia control of interconnected grids <sup>39</sup> . The FOPTID + 1 control strategy for LFC employing Global Neighborhood Algorithm (GNA) for parameters optimization was introduced <sup>40</sup> . For load-frequency regulation and management of power system, numerous control approaches have been adopted using sliding mode controllers <sup>41</sup>, adaptive model predictive control (AMPC) for two area power system with one isolated microgrid in <sup>42</sup> model predictive control reference in <sup>43</sup>, linear-matrix inequality <sup>44</sup>, resilient control methods <sup>45</sup>, data-driven controllers <sup>46</sup>, impact of simultaneous false data injection attacks (FDIAs) on microgrid’s (LFC), a strategy is implemented that integrates an unknown input observer (UIO) with a Reinforcement Learning-based Policy Gradient controller to ensure frequency security under disturbances in <sup>47</sup>, and Fuzzy Logic based Control referenced as <sup>48</sup> . The Fractional Order-Fuzzy power system stabilizer controller, fine-tuned with advanced sine-cosine algorithm significantly enhanced frequency regulation in response to EVs and intermittency of RESs in <sup>49</sup> . The grid to vehicle (G2V) and vehicle to grid (V2G) services with different conditions lessening the maximum demand, operational costs, and demand mismatches presented in <sup>50</sup> . The enhanced whale optimization algorithm based tuning of classical PID outperformed compared to simple whale optimization algorithm under several restraints and disturbances <sup>51</sup> . Cascaded load frequency control technique employing fractional order proportional integral derivative accelerated cascaded fractional order integral derivative with filter (FOPIDA-FOIDN) control was presented <sup>52</sup> using hybrid optimizer Artificial Gorilla-Troops (AGTO) and Equilibrium Optimizer (EO) HGTOEO. Additionally, the control strategy for LFC employing hybrid controllers merging fractional order proportional integral derivative (FOPID) and Tilted Integral Derivative (TID), termed Fractional Order Tilted Integral Derivative (FOTID), parameters were refined with Manta-Ray-Foraging (MRFO) algorithm <sup>53</sup>, and PFOTID with artificial-ecosystem optimizer control strategy developed in <sup>54</sup>, and FOPID based AGC strategy optimized <u>∆F1</u> <u>∆F2</u> <u>∆F3</u> <u>OSH /USH</u> <u>OSH/USH</u> <u>OSH/USH</u> <u>Ts</u> <u>Ref</u> <u>Areas</u> <u>Controller</u> Optimization <u>Algorithm</u> 38 <u>Multi</u> <u>ITPFOD</u> <u>Satin Bowerbird Optimizer (SBO)</u> <u>-/-</u> <u>-/-</u> <u>-/-</u> <u>-</u> 39 Multi Virtual Synch Gen (VSG)-based Particle Swarm Optimization (PSO) -/- -/- -/- <u>VIC via HVDC link</u> 50 Multi - Modified Artificial Flora Optimization -/- -/- -/- <u>(MAFO)</u> 51 Multi PID Enhanced Whale Optimization Algorithm -/- -/- -/- <u>(EWOA)</u> 55 01 & Multi Cascaded Fuzzy-CFFOPI-FOPID Imperialist Competitive Algorithm (ICA) 0.02110/0.0425 0.0063/0.0147 0.0019/0.0112 TTs1s2:8.4:12.02 <u>Ts3:12.15</u> 53 Multi FOPID-TID(LFC), <u>FOPID (SMES)</u> Manta Ray Foraging Optimization 0.0135/- 0.0078/- -/- Ts1:18 <u>(MRFO)</u> <u>Ts2:23</u> 34 <u>03</u> <u>Type-2 Fuzzy Controller</u> <u>Discrete Water Cycle Algorithm (d-WCA)</u> <u>-/-</u> <u>-/-</u> <u>-/-</u> <u>-</u> 32 03 T2F-CPIF Crow Search Algorithm (CSA) 0.002/- 0.024 -/- 0.001/- Ts1:3.86 <u>Ts3:3.26</u> 26 03 PI Teaching Learning-Based Optimization 0.6235/- 0.4264/- 0.3572/- <u>(TLBO) with LMI</u> 25 <u>03</u> <u>MPC</u> <u>JAYA Algorithm</u> <u>-/-</u> <u>-/-</u> <u>-/-</u> <u>-</u> 47 01 LFC controller Unknown Input RL-DDPG -/- -/- -/- <u>Observer (UIO)</u> 58 <u>01</u> <u>Nonlinear-PI</u> <u>Dandelion Optimizer (DO)</u> <u>0.007860/0.000083</u> <u>-/-</u> <u>-/-</u> <u>6.610</u> 29 <u>01</u> <u>PD–PI</u> <u>Gorilla Troops Optimization (GTO)</u> <u>0.00569/0.00527</u> <u>-/-</u> <u>-/-</u> <u>1.599</u> 59 <u>01-IµG</u> <u>PI and PID</u> <u>Artificial Rabbits Optimization (ARO)</u> <u>0.013/-0.115</u> <u>-/-</u> <u>-/-</u> <u>Ts1:2.96</u> 57 <u>MµG</u> <u>PI</u> <sup>λ</sup> <u>DND</u> <sup>2</sup> <u>N</u> <sup>2</sup> <u>Grey Wolf Optimizer (GWO)</u> <u>-/-</u> <u>-/-</u> <u>-</u> 27 01 FO-Multistage PD/(1 + PI) Least Squares Method + Minimum 0.06/-0.001 0.062/- -/- Ts1:6.8 <u>Variance</u> <u>Ts2:6.2</u> 44 <u>01</u> <u>H ∞ and LQG</u> <u>Kalman Filter + Optimal Weighting</u> <u>-</u> <u>-/-</u> <u>-/-</u> <u>-</u> 28 <u>01</u> <u>PI–PD</u> <u>Salp Swarm Optimization (SSO)</u> <u>0.0011/0.0011</u> <u>-/-</u> <u>-/-</u> <u>Ts1:3.5459</u> 60 02 FOPIDN-(1 + PIDN) GWO 0.00000/0.05450 0.00000/0.00953 -/- Ts1:14.39 <u>Ts2:19.69</u> 49 02 (FO-Fuzzy PSS) Advanced Sine Cosine Algorithm (a-SCA) 0.0042/-0.0084 0.0062/-0.0262 -/- Ts1: 8.620 <u>Ts2:7.812</u> 35 02 (Fuzzy-T2-PSS) Modified Crow Search Algorithm 0.0724/0.0912 0.0342/0.0012 -/- Ts1:3.8206 <u>(M-CSA)</u> <u>Ts2: 4.201</u> 33 02 FO-T2FC Quassi-Oppositional Path Finder 0.0382/-0.0676 0.0426/-0.0462 -/- Ts1:5.68 <u>Algorithm (QO-PFA)</u> <u>Ts2:6.48</u> 56 <u>02</u> <u>Intelligent-FOI</u> <u>Grey Wolf Optimizer (GWO)</u> <u>-/-</u> <u>-/-</u> <u>-/-</u> <u>-</u> 36 02 TD-TI Quantum Chaos Game Optimizer 52.43/60.01 99.36/86.4 -/- <u>(QCGO)</u> 54 02 FOPID + TID Artificial Ecosystem Optimization (AEO) -/0.0217 0.0002/0.0072 -/- Ts1:67 <u>Ts2:91</u> 24 <u>02</u> <u>Self-tuned AGC</u> <u>Improved Sine Cosine Algorithm (i-SCA)</u> <u>-/-</u> <u>-/-</u> <u>-/-</u> <u>-</u> 42 <u>02</u> <u>Adaptive-MPC</u> <u>MPC algorithm</u> <u>-/-</u> <u>-/-</u> <u>-/-</u> <u>-</u> 52 <u>02</u> <u>FOPIDA-FOIDN</u> <u>Hybrid AGTO-EO (HGTOEO)</u> <u>-/-</u> <u>-/-</u> <u>-/-</u> <u>-</u> Proposed 02 (I-P)-PDN Black-winged kite Algorithm 0.0000227/ -0.00000917/ <u>-0.00128</u> <u>-0.00120</u> -/- Ts1: 0.75 Ts2: 0.98 0.000418/ 0.000378/ -/- Ts3Ptie:1.189 <u>0.00000431</u> <u>-0.00037</u> Table 1 . Comparison of (I-P)-PDN controller with commonly used controllers. via imperialist competitive algorithm (ICA) in <sup>55</sup> . An intelligent- fractional order integrator (iFOI) LFC method with Grey Wolf Optimizer (GWO) and Fractional Order PID-Accelerated (FOPIDA) controllers for maritime microgrid frequency stability, was introduced in <sup>56,57</sup> .A new non-linear Proportional Integral LFC strategy with Dandelion Optimizer algorithm (DOA) was employed for single area electric grids <sup>58</sup>, PI and PID LFC strategy for multiple sourced based microgrid systems using Artificial Rabbit Optimizer algorithm (ARO) for parameters tuning <sup>59</sup> . A FOPIDN-(1 + PIDN) controller optimized with Grey wolf Optimizer for frequency regulation of power systems integrated with renewable energy sources and electric vehicles with superior performance reported in <sup>60</sup> . FOPIDN-FOPDN LFC strategy tuned with Selfish Herd Optimizer (SHO), proposing superiority of PSO technique for five area tied grids frequency stabilization by studying impact of redox-flow batteries <sup>61</sup> . Aforementioned research literature survey reveals that the selection choice of the control is equally important like that of controller parameters. The introduction and implementation of evolutionary algorithms techniques Fig. 1 . Mathematical modelling of Islanded microgrid. as controller’s parameters optimizers brought significance improvement to handle the frequency regulation problems in the microgrids with different distributed generation sources. Impressive modern optimization methods are implemented for controllers’ parameters tuning to accomplished the obscurity of control techniques. As an illustration, the authors implemented following optimization methods: Self-Tuned Algorithm (STA) <sup>24</sup>, Bull-Lion Optimization (BLO) <sup>62</sup>, Chaos Game Optimization (CGO) <sup>63</sup>, modified multiverse optimizer <sup>64</sup>, and Sunflower optimization algorithm (SOA) and Ant Colony Optimization (ACO) <sup>65</sup> . Meta-heuristic optimization techniques are proven as a best solution to complex nature problems having limitations, constraints and other optimization challenges in the microgrid (µG) domain. They are stimulated by natural phenomena such as genetic evolution, and diverse animal behaviors. Meta-heuristic optimization employs random, local, and global search tools to find optimum solution of problem. The present study presents a recently introduced a nature inspired metaheuristic algorithm called the black-winged kite algorithm that draws inspiration from hunting and migration behavioral patterns of small prey bird ‘Black-winged Kite’ for tuning the parameters of proposed (I-P)PDN controller. The black-winged kite has blue gray upper body and lower white. The algorithm is developed based on the monitoring the hunting strategy, its energy foraging behavior and hovering capabilities. The black -winged kite hovers over specific areas to explore prey, with precisely locating and exploiting the prey prior to diving. The hovering initiates global search phase to explore potential solutions. The algorithm aims to reduce the computational costs by leveling the exploration and exploitation, prevent the redundant computation and dynamically reduce the step size improving the adaptability in the uncertain problems. The Black-winged Kite Algorithm (BKA) incorporates both the Cauchy mutation mechanism and a leader-based strategy to improve its global search capabilities and accelerate convergence. This innovative optimization approach demonstrates an effective balance between global exploration and local exploitation. Empirical evaluations show that BKA outperforms alternative algorithms in 66.7%, 72.4%, and 77.8% of instances when benchmarked against the standardized test of CEC-2022 and CEC-2017. Furthermore, its application to engineering design problems underscores its practical efficacy in addressing constrained real-world challenges, thereby highlighting its strong computational efficiency and competitive performance relative to contemporary optimization methodologies <sup>66</sup> . The detailed literature survey is shown in Table 1. Research contribution and motivation The authors are motivated to propose a novel (I-P)-PDN controller for secondary loop controller for islanded and interconnected microgrids. The proposed controller has an additional signal (Po) support. Moreover, a black-winged kite algorithm is employed for optimization of proposed controller’s parameters. For improving frequency control problem under stochastic nature of RESs, EVs with battery capacity in term of saturation limits are added to the networked microgrids. The communication delay of 1µs is considered for IµG and interconnected microgrid in area-1. The research contribution is summarized as follow; - (I-P)-PDN controller optimizes frequency stability in RES and EV-based microgrids. - Comparison of proposed controllers with PID and FPDN-FPTID using performance indices. - BKA outperforms compared to DO, PSO, and TLBO and other optimization algorithms. - Evaluating proposed controller’s resilience and flexibility in worst-case scenario. - Introducing BKA for fine-tuning controllers in diverse microgrids configurations. Organization of paper The paper is organized as follows: Sect. 2 describes structure, block diagram and modeling of IµG and interconnected µGs. Section 3 details about the implementation of proposed control strategy, objective function formulation and development of proposed controller and black-winged kite algorithm. Section 4 covered the simulation results and discussion for proposed controller (I-P)-PDN. Section 5 covered the simulation results of interconnected microgrids, which is followed by sensitivity analysis at Sect. 6. The stability analysis at Sect. 7. The Sect. 8 details about conclusion and future recommendations. Modeling of islanded and interconnected microgrids In the proposed islanded microgrid, distributed generations (DGs) including FCs, BESSs, DEGs, PVs, WTGs and EVs are integrated. Figure 1 shows the mathematical modelling of Islanded microgrid. The microgrids parameters and their nominal values are given in appendix A. Mathematical modeling of battery energy storage source The battery energy storage system consists of battery banks operating with the nominal operating region irrespective of the constraints. T3 is DC/AC inverter time constant, T1 is the measurement time constant and T2 is the delay time constant <sup>67</sup> . The change in power of BESS for control signal is given in Eq. (1). ∆PBESS = _<u>−</u>_ <u>∆u</u> (1) <u>(T1s + 1)</u> <u>(T2s + 1)</u> <u>(T3s + 1)</u> Mathematical modeling of diesel generator The diesel engine generator provide constant and rapid source for power supply to the load and a typical DEG has constraint like inertia delay (T7), governor time constant (T8) and turbine time constants (T9) <sup>67</sup> . The transfer function model of DEG is given in Eq. (2). <u>∆PDEG</u> <u>1</u> (2) _−_ <u>(∆u + ∆f</u> _._ R <sup>_−_</sup> <sup>~~1~~</sup> <u>)</u> <sup>=</sup> <u>(T7s + 1)</u> <u>(T8s + 1)</u> <u>(T9s + 1)</u> Mathematical modeling of fuel cell The fuel cell model has (DC/AC) inverter with time constant (T5), measurement delay (T4) and interconnection blocks (T6). The transfer function model of fuel cell for control signal ( _∆u_ ) is expressed as follows in Eq. (3) <sup>67</sup> . <u>∆PFC</u> <u>1</u> = (3) <u>(T4s + 1)</u> <u>(T5s + 1)</u> <u>(T6s + 1)</u> _−_ <u>∆u</u> Mathematical modeling of wind turbine generator The wind turbine model use wind velocity to produce electric power. The generalized power for wind turbine is defined in Eqs. (4-4c) <sup>68</sup> . PWTG = 0 _._ 5ρ AV <sup>3</sup> Cp(λ _,_ β ) (4) λ T = <sup><u>ω *R</u></sup> <u>V</u> <sup><u>*R</u></sup> (4b) <u>V</u> ) Cp (λ _,_ β ) = C1* λ i ( <u>C2</u> λ i <sup>_−_</sup> <sup>C3β</sup> <sup>_−_</sup> <sup>C4β</sup> <sup>3</sup> <sup>_−_</sup> <sup>C5</sup> <u>C2</u> *e <u>Cλ6i</u> + C7λ T (4a) <u>1</u> <u>1</u> λ i <sup>=</sup> β <sup>~~3~~</sup> <u>+ 1</u> (4c) λ T + 0 _._ <u>08β</u> <sup>_−_</sup> <sup><u>0</u></sup> <sup>_<u>.</u>_</sup> <sup><u>035</u></sup> Where PWTG is wind turbine’s output power, V wind’s rated speed, A is rotor’s swept area, and Cp is performance coefficient of rotor’s blades <sup>69</sup> . The wind turbine parameters are given in appendix B. _Mathematical modeling of photovoltaic_ The photovoltaic generate intermittent power due to variations of solar irradiance ( ∅ ). However, still it provides resiliency to the power system, supplying the load. The photovoltaics power can be presented as below in Eq. (5) <sup>70</sup> . _∆_ Ppv = γ ∅A[1 _−_ 0 _._ 005(Ta _−_ 25 )] (5) Where Ta is ambient temperature (°C), A is surface area (m2), ∅ is solar irradiance (W/m <sup>2</sup> ), _γ_ solar panel efficiency, usually in range of 09 to 12%. The modeling parameters for 30 kW PV power <sup>71</sup> are given in appendix C. _Mathematical modeling of electric vehicle_ The present study explores the strategic deployment of electric vehicles (EVs) as dynamic, flexible loads within the broader framework of frequency regulation. Rather than isolating individual charging strategies, the focus is placed on the collective behavior of EVs, which can be effectively modeled as a distributed network of Mobile Energy Storage Units (MESUs). This abstraction enables a system-level perspective where EVs contribute Fig. 2 . Structure of (I-P)-PDN controller. meaningfully to demand-side energy management and grid stability. Through Vehicle-to-Grid (V2G) integration, EVs can discharge stored energy back into the grid, thereby providing ancillary services such as frequency stabilization. The efficacy of V2G operations depends significantly on the state of charge (SoC) of each vehicle’s battery. In this context, a standard operating SoC of 85% is maintained, allowing a ± 5% tolerance range to ensure consistent availability for grid services. Furthermore, to safeguard battery health over time, a target SoC ceiling of 90% is respected to mitigate degradation caused by frequent deep cycling <sup>72</sup> . For practical utility, particularly to accommodate imminent travel needs, the SoC is never permitted to fall below 80%, ensuring sufficient charge for mobility purposes while allowing limited discharge flexibility for V2G support. In addition to discharging capabilities, EVs are also exploited as flexible charging loads, referred to as Grid-to-Vehicle (G2V) interactions. This controlled charging mechanism enables EVs to absorb surplus grid energy during periods of low demand or high generation, effectively acting as an energy sink. The aggregate effect of coordinated EV fleets becomes a powerful tool in managing load profiles, especially in complex power systems incorporating multiple sources. To facilitate this role, an aggregated microgrid model is employed, wherein a fleet of EVs responds to centralized load frequency control (LFC) signals that regulate SoC targets in real-time. EVs support frequency regulation through bidirectional power flow. Load frequency control signal is input to the EVs and the discharging and charging power is the output represented by ∆PEVs1 and ∆PEVs2 in area-1 and 2 respectively. The detail model of PEVs is presented <sup>35,72</sup> . They function as flexible loads, enabling real-time energy adjustments. The process is governed by the energy control signal Econtrol (t). This represents the total controllable energy of the EV fleet, based on the Total Energy Model. EVs participate in frequency regulation as long as Econtrol satisfies below condition in Eq. (6) <sup>49</sup> . Emin control= Econtrol = Emax control (6) The Econtrol is controlled energy of PEVs. The minimum and maximum energy control can be expressed in term of battery capacity (CkWh) and Ncontrol by Eqs. (7) and (8). Emax control = Ncontrol _×_ CkWh _×_ 9 _×_ 10 <sup>_−_</sup> <sup>4</sup> (7) Emin control = Ncontrol _×_ CkWh _×_ 8 _×_ 10 <sup>_−_</sup> <sup>4</sup> (8) Where Ncontrol indicates the quantity of EVs managed. The Ncontrol can be expressed below; Ncontrol = Ninitial + Ncontrol_in _−_ Nplug_out (9) Ninitial denotes initial counting of PEVs and Ncontrol_in denotes number of EVs transit from charging condition to controllable condition, Nplug_out denotes number of EVs fully charged and in driving condition. The transfer function for EVs model is given as follows in Eq. (10). <u>1</u> Gevs (s) = <u>(Tev s + 1)(Tinv s + 1)</u> (10) Where Tev and Tinv are EVs and inverter time constants respectively. The inverter capacity is denoted by CkW. Proposed control strategy This section explains the proposed control strategy, proposed controller structure and its parameters optimization using BKA optimization and the advantages of dual loop controllers over single loop controllers like PI, PID etc. Conventional PID controller is one of the most flexible controllers providing the robustness and effective response <sup>34</sup> . Attaining the stability and reliability of power system to regulate the frequency, it is necessary to fine tune the controller with appropriate optimization technique. A controller should be designed such that it can Algorithm . Black-winged Kite Algorithm. handle disturbances <sup>35</sup>, show robustness to intermittent sources. Equation (11) illustrates transfer function model of classical PID controller in s-domain <sup>73</sup> . In comparison to one loop controllers, the dual loop controllers are superior in sense that inner loop not only set points, for second stage controller but it regulates the system inner process <sup>38</sup> . The two-loop process occur in sequential way. G (s)PID = Kp + <sup><u>Ki</u></sup> (11) <u>s</u> <sup>+ Kds</sup> The proposed controller consists of an (I-P) controller making an inner loop with support input signal (Po) as feedback to the PDN controller and stage two loop of final output feedback to (I-P) controller. The proportional gain is placed in feedback and integral controller in feed-forward path. The transfer function model of (I P) controller is given by Eq. (12) <sup>74</sup> . The I-P controller has two gains, Kp1 and Ki. The second stage controller PDN has three gains Kp2, Kd and filter coefficient N. The controlled signal u1 _−_ P(s) of (I-P) controller, transfer function of PDN controller and final controlled signal C(s) of two stage controller is given by Eqs. (12), (13) and (14) respectively <sup>75</sup> . Figure 2, shows the proposed controller block. u1 _−_ P(s) = KisE (s) _−_ KpY (s) (12) G (s)PDN = Kp2 + <sup><u>KdNs</u></sup> <u>s + N</u> <sup><u>KdNs</u></sup> (13) <u>s + N</u> C (s) = [uI _−_ P(s) _−_ Po]G (s)PDN (14) Objective function and problem formulation The LFC controller performance dependent on the selection of the objective function (OF). Different multiobjective functions have been proposed in previous studies for reduction in frequency deviations for islanded and interconnected µGs. In this research performance indices ITAE, ISE, ITSE and IAE are used to demonstrate the efficacy of the proposed control strategy using three metaheuristic algorithms, Lyrebird Optimization Algorithm (LOA), Jellyfish Searching Optimization (JSO) and Black-winged Kite Algorithms. Population size of 30 No’s of Lyrebirds, crossover of 0.8, mutation rate and standard deviation of 0.1 is used for LOA. The population size for JSO and search agents for BKA is set to 30 No’s. The iterations are taken 500 kept same for optimization process. The LOA and JSO can rapidly reach near the optimal solutions in the premature stages of optimization process. Thus, attaining the fast convergence. However, this premature convergence makes the algorithm getting trapped in local optima without the thorough exploration of global search space. In comparison the BKA, slowly converges, maintaining the better equilibrium between exploration and exploitation. The BKA maintains population diversity and integrates strategies to escape local optima, thus making it able to search the solution space more thoroughly. This led to final superior solutions, specifically, in complex or multimodal optimization problems. In this context, although BKA may take slightly more time than LOA and JSO to reach convergence, however, it often outperforms LOA and JSO in terms of solution quality, making it a more robust choice for finding the global optimum. The performance indices and controller’s gain maximum and minimum range are given by Eqs. (15), (16), (17), (18) and (19) <sup>76–78</sup> . ITAE = Tsim te (t) dt (15) ∫0 T∫sim0 Tsim e ∫0 T∫sim0 ISE = ITSE = IAE = e (t) <sup>2</sup> dt (16) e (t) dt (18) T∫sim0 T∫sim0 te (t) <sup>2</sup> dt (17) T∫sim0 i <sup>min</sup> = Ki = Ki <sup>max</sup> <sup>min</sup> p1 = Kp1 = K <sup>max</sup> p1 <sup>max</sup> p1 <sup>; K</sup> p <sup>min</sup> 2 p <sup>min</sup> 2 = Kp2 = K <sup>max</sup> p2 <sup>max</sup> p2 <sup>;</sup> <sup>K</sup> d <sup>min</sup> d <sup>min</sup> = Kd = Kd <sup>max</sup> d <sup>max</sup> ; N <sup>min</sup> = N = N <sup>max</sup> (19) <sup>K</sup> i <sup>min</sup> i <sup>max</sup> ; K <sup>min</sup> p1 The lower bound limit for ( K <sup>min</sup> i <sup>min</sup> i _,_ K <sup>min</sup> p1 <sup>min</sup> p1 <sup>_,_</sup> <sup>Kmin</sup> p2 <sup>min</sup> p2 <sup>_,_</sup> <sup>K</sup> d <sup>min</sup> d <sup>min</sup> _,_ N min) is (0, 0, 0, 0) and upper bound for ( K <sup>max</sup> i <sup>max</sup> i _,_ K <sup>max</sup> p1 <sup>max</sup> p1 <sup>_,_</sup> <sup>K</sup> p <sup>max</sup> 2 p <sup>max</sup> 2 _,_ K <sup>max</sup> d <sup>max</sup> d _,_ N <sup>max</sup> ) is (11, 5, 4, 0.3, 1000). The black-winged kite algorithm The black-winged kite (BK) is a bird characterized with upper body blue-gray in color, lower body part is white. The predator prey relation and migration behavior are their prominent characteristics. They eat and survive on tiny mammal, birds and reptiles and strong flying potentials, and can get an unexpected success in hunting process <sup>79</sup> . The author introduced a new algorithm modeled based on inspiration from migration and hunting skills of the black-winged kites <sup>66</sup> . The Black-winged Kites algorithm consists of three phases initialization, attacking and migration. _Initialization phase_ While initialization of population in BKA, the primary stage is a set of random solution. The location of each black-winged kite can be given in matrix form by Eq. (20). While Eqs. (21), (22) and (23) represents the random populations, the best solution and the initial populations respectively. Fig. 3 . Flow chart for BKA. _BK_ =   ... ... ... ... ... _BKpop,_ 1 _BKpop,_ 2 _· · ·_ _· · ·_ _BKpop,_ dim ... ... ... ... ... ... ... ... ... ... ... ... Xi = BKlb + rand(BKub _−_ BKlb) (21) (20) _BK_ 1 _,_ 1 _BK_ 1 _,_ 2 _· · ·_ _· · ·_ _BK_ 1 _,_ dim _BK_ 2 _,_ 1 _BK_ 2 _,_ 2 _· · ·_ _· · ·_ _BK_ 2 _,_ dim ... ... ... ... ...  ... ... ... ...   fbest = min∆(f (Xi)) (22) XL = X (find( fbest == f (Xi)) (23) Where BKub and BKlb are upper and lower bounds of i <sup>th</sup> black-winged kites, the potential solutions can be represented by pop. The dim is given problem’s dimension and initial population can be represented by XL. _Attacking behavior_ Black-winged kites (BKs) adjust their position in accordance to the wind speed, during fight and flying at high altitude for searching the prey, and abruptly dive and attacking on prey. The This attacking approach comprises of several attacking actions and behaviors for global exploration and search. The BKs attacking behavior can be represented by mathematical expression by Eqs. (24) and (25) <sup>66</sup> . Fig. 4 . Convergence curve using ITSE in optimization process. y <sup>ij</sup> t y <sup>ij</sup> t <sup>ij</sup> t t <sup>+</sup> <sup>_n ×_</sup> <sup>(2r</sup> <sup>_−_</sup> <sup>1)</sup> <sup>_<u>×</u>_</sup> <sup>yij</sup> t _else_ <sup>ij</sup> (24) y <sup>ij</sup> t+1 <sup>=</sup> { <sup>ij</sup> t <sup>+</sup> <sup>_n_</sup> <sup>(1 + sin (r)) y</sup> t <sup>ij</sup> t <sup>ij</sup> _p < r_ n = 0 _._ 05 _×_ e <sup>_−_</sup> <sup>2</sup> <sup>_×_</sup> <sup>(</sup> <u>T</u> <sup><u>t</u></sup> <u>T</u> <sup><u>t</u></sup> <sup>)</sup> 2 (25) Among them, y <sup>ij</sup> t <sup>ij</sup> t <sup>and</sup> <sup>yij</sup> t Among them, y <sup>ij</sup> t <sup>and</sup> <sup>yij</sup> t+1 <sup>, denote the position of ith (BK), in the jth dimension in tth and iterations (t + 1) th, r</sup> can be any random value between 0 and 1, _p_ = 0.9, T is maximum iterations, and t is current iteration number. _Migration behavior_ The BKA imitates complicated migration behavior of BKs in exploitation phase. Birds migrate due to climate change and availability of food and other factors. Lead birds often play vital role in migration initiation to accomplishment. The Mathematical expression for migration action of (BKs) is given by Eqs. (26) and (27) <sup>66</sup> . <sup>ij</sup> t <sup>+</sup> <sup>_C_</sup> <sup>(0,1)</sup> <sup>_×_</sup> <sup>(y</sup> y <sup>ij</sup> t <sup>+</sup> <sup>_C_</sup> <sup>(0,1)</sup> <sup>_×_</sup> <sup>(</sup> m = 2 _×_ sin <sup>(</sup> r <sup>+</sup> <sup>_C_</sup> <sup>(0,1)</sup> <sup>_×_</sup> <sup>th iteration, and</sup> m = 2 _×_ sin <sup>(</sup> L <sup>i</sup> t y <sup>ij</sup> t+1 <sup>=</sup> { yy <sup>ij</sup> t <sup>ij+</sup> <sup>_C_</sup> <sup>(0,1)</sup> <sup>_×_</sup> <sup>(y</sup> L <sup>ij</sup> t <sup>i</sup> <sup>_−_</sup> <sup>L</sup> t <sup>i</sup> <sup>)</sup> t Fi _<else_ Fri t <sup>_−_</sup> <sup>myij</sup> y <sup>ij</sup> t <sup>ij</sup> t <sup>ij+</sup> <sup>_C_</sup> <sup>(0,1)</sup> <sup>_×_</sup> <sup>(y</sup> L <sup>ij</sup> t <sup>i</sup> L <sup>ij</sup> t <sup>i</sup> <sup>_−_</sup> <sup>L</sup> t <sup>i</sup> (27) Fri (26) _else_ ) <sup>(</sup> r + <sup>π /</sup> <sup>i</sup> t t <sup>_−_</sup> <sup>myij</sup> 2 ) <sup>ij</sup> t <sup>yij</sup> t <sup>and</sup> <sup>yij</sup> t <sup>i</sup> t <sup>is BKs leading scorer in jth dimension in tth iteration, and</sup> <sup>yij</sup> t L <sup>i</sup> t L <sup>i</sup> t <sup>is BKs leading scorer in jth dimension in tth iteration, and</sup> <sup>yij</sup> t <sup>and</sup> <sup>yij</sup> t+1 <sup>are the location/position of the ith</sup> BKs in jth dimension in t and (t + 1) <sup>th</sup> iteration steps, respectively. Where C(0,1) is Cauchy’s mutation <sup>80</sup> . Fi is current position by any BK in j <sup>th</sup> dimension in t iteration. Fri is fitness value of random position obtained by any BKs in t iteration in j <sup>th</sup> dimension. The mono-dimensional Cauchy distribution with probability density function is given by Eqs. (28) and (29) <sup>66</sup> . f (x _,_ δ _,_ µ ) = <sup><u>1</u></sup> π <u>δ</u> δ <sup><u>2</u></sup> <u>+ (x</u> _−_ µ ) <sup>~~2~~</sup> _−∞_ _<_ x _< ∞_ (28) _f_ ( _x, δ, µ_ ) = <sup><u>1</u></sup> _π_ <u>1</u> _x_ <sup><u>2</u></sup> <u>+ 1</u> <sup>_−∞_</sup> <sup>_< x < ∞..._</sup> <sup>(</sup> <sup>_δ_</sup> <sup>= 1</sup> <sup>_, µ_</sup> <sup>= 0)</sup> (29) The flow chart for the BKA algorithm is shown in Fig. 3. Simulation results and discussions In this research, a load frequency response model for a microgrid in Fig. 1 is simulated in MATLAB R2024/ Simulink environment with Intel Core i5-1235U, 12th Generation RAM: 16 GB, Windows pro-11). Initially, the simulation is conducted with the controllers already proposed and presented in the literature. The performance comparison of proposed controller (I-P)-PDN in term of performances indices (IAE, ITAE, ISE and ITSE) and reliability is carried out. The ITSE is used as objective function given in Eq. (31) in optimization process via BKA. The convergence curves for objective function for Lyrebird optimization, Jellyfish search algorithm and Blackwinged Kite Algorithm are given in in Fig. 4. <u>Controller</u> <u>ISE× 10</u> <sup>_<u>−</u>_</sup> <sup>6</sup> <u>OSH× 10</u> <sup>_<u>−</u>_</sup> <sup>5</sup> <u>USH</u> <u>Settling time</u> <u>Load (%)</u> <u>PDN-PI</u> <u>12.957</u> <u>187.227</u> <u>-0.0119</u> <u>2.28</u> <u>PID-PID</u> <u>14.043</u> <u>103.352</u> <u>-0.0126</u> <u>1.48</u> <u>FPID</u> <u>54.868</u> <u>78.121</u> <u>-0.0162</u> <u>3.2</u> <u>PI-FPID</u> <u>9.894</u> <u>82.994</u> <u>-0.0119</u> <u>1.87</u> <u>PIDN</u> <u>59.322</u> <u>0</u> <u>-0.0159</u> <u>2.13</u> <u>PID</u> <u>71.742</u> <u>4.033</u> <u>-0.0195</u> <u>2.67</u> <u>FPDN-FPTID</u> <u>8.621</u> <u>0</u> <u>-0.0117</u> <u>0.44</u> <u>(I-P)-PDN Proposed</u> <u>1.74</u> <u>0</u> <u>-0.011</u> <u>0.421</u> <u>PDN-PI</u> <u>119.556</u> <u>251.724</u> <u>-0.03414</u> <u>1.31</u> <u>PID-PID</u> <u>123.24</u> <u>176.558</u> <u>-0.03422</u> <u>1.2</u> <u>FPID</u> <u>261.43</u> <u>0</u> <u>-0.0425</u> <u>2.55</u> <u>PI-FPID</u> <u>109.81</u> <u>118.469</u> <u>-0.03418</u> <u>0.52</u> <u>PIDN</u> <u>299.47</u> <u>2.64</u> <u>-0.0357</u> <u>1.65</u> <u>PID</u> <u>329.89</u> <u>28.68</u> <u>-0.0415</u> <u>2.12</u> <u>FPDN-FPTID</u> <u>98.25</u> <u>0</u> <u>-0.0341</u> <u>0.4</u> <u>(I-P)-PDN Proposed</u> <u>42</u> <u>0</u> <u>-0.018</u> <u>0.39</u> <u>PDN-PI</u> <u>569.286</u> <u>550.17</u> <u>-0.06536</u> <u>1.95</u> <u>PID-PID</u> <u>581.375</u> <u>565.811</u> <u>-0.06536</u> <u>1.9</u> <u>FPID</u> <u>900.61</u> <u>60.969</u> <u>-0.0669</u> <u>1.77</u> <u>PI-FPID</u> <u>538.059</u> <u>321.947</u> <u>-0.06537</u> <u>1.05</u> <u>PIDN</u> <u>1008.82</u> <u>128.069</u> <u>-0.0659</u> <u>1.18</u> <u>PID</u> <u>1037.68</u> <u>208.98</u> <u>-0.0713</u> <u>2.01</u> <u>FPDN-FPTID</u> <u>533.01</u> <u>41.316</u> <u>-0.06531</u> <u>0.39</u> <u>(I-P)-PDN Proposed</u> <u>78</u> <u>0.001</u> <u>-0.015</u> <u>0.375</u> <u>PDN-PI</u> <u>1887.541</u> <u>1130.729</u> <u>-0.1054</u> <u>2.6</u> <u>PID-PID</u> <u>1924.532</u> <u>1307.22</u> <u>-0.1054</u> <u>2.39</u> <u>FPID</u> <u>2541.407</u> <u>272.824</u> <u>-0.107</u> <u>3.01</u> <u>PI-FPID</u> <u>1816.244</u> <u>727.9485</u> <u>-0.1054</u> <u>2.26</u> <u>PIDN</u> <u>2712.31</u> <u>523.783</u> <u>-0.1057</u> <u>2.56</u> <u>PID</u> <u>2791</u> <u>684.79</u> <u>-0.111</u> <u>2.6</u> <u>FPDN-FPTID</u> <u>1790.08</u> <u>161.58</u> <u>-0.1054</u> <u>0.47</u> <u>(I-P)-PDN Proposed</u> <u>130</u> <u>85.1</u> <u>-0.018</u> <u>0.458</u> 5 10 15 20 Table 2 . Performance indices for Case-II, Scenario-I in absence of RESs. <u>Performance metrices</u> <u>Controller</u> <u>Settling time</u> <u>IAE</u> <u>ITAE</u> <u>ISE</u> <u>ITSE</u> <u>PDN-PI</u> <u>-</u> <u>1.94</u> <u>1.53</u> <u>1.1</u> <u>-</u> <u>-</u> <u>-</u> <u>-</u> <u>PID-PID</u> <u>1.48</u> <u>1.89</u> <u>1.46</u> <u>1</u> <u>-</u> <u>-</u> <u>-</u> <u>-</u> <u>PID</u> <u>-</u> <u>-</u> <u>1.84</u> <u>1.86</u> <u>-</u> <u>-</u> <u>-</u> <u>-</u> <u>PIDN</u> <u>-</u> <u>1.18</u> <u>1.39</u> <u>1.58</u> <u>-</u> <u>-</u> <u>-</u> <u>-</u> <u>FPID</u> <u>-</u> <u>1.77</u> <u>-</u> <u>1.92</u> <u>-</u> <u>-</u> <u>-</u> <u>-</u> <u>PI-FPID</u> <u>1.87</u> <u>1.04</u> <u>0.71</u> <u>0.52</u> <u>-</u> <u>-</u> <u>-</u> <u>-</u> <u>FPDN-FPTID</u> <u>0.44</u> <u>0.4</u> <u>0.43</u> <u>0.4</u> <u>-</u> <u>-</u> <u>-</u> <u>-</u> <u>(I-P)-PDN (Proposed)</u> <u>0.344</u> <u>0.3</u> <u>0.331</u> <u>0.353</u> <u>3.01</u> <u>×</u> 10 <sup>_<u>−</u>_</sup> <sup>2</sup> <u>9.1× 10</u> <sup>_<u>−</u>_</sup> <sup>1</sup> <u>317× 10</u> <sup>_<u>−</u>_</sup> <sup>6</sup> <u>08 × 10</u> <sup>_<u>−</u>_</sup> <sup>3</sup> Table 3 . Performance parameters and error indices for severe dynamic load and lack of RESs (Case-II, Scenario-2). ISE = ITSE = Tsim [( ∆f1) <sup>2</sup> + (∆f2) <sup>2</sup> + (∆Ptie) <sup>2</sup> ] dt (30) 0 ∫ Tsim [( ∆f1) <sup>2</sup> + (∆f2) <sup>2</sup> + (∆Ptie) <sup>2</sup> ]t dt (31) 0 <u>∫</u> <u>Controller</u> <u>USH × 10</u> <sup>_<u>−</u>_</sup> <sup>4</sup> <u>OSH × 10</u> <sup>_<u>−</u>_</sup> <sup>4</sup> <u>Performance metrices</u> <u>ITSE × 10</u> <sup>_<u>−</u>_</sup> <sup>5</sup> <u>IAE × 10</u> <sup>_<u>−</u>_</sup> <sup>3</sup> <u>ITAE × 10</u> <sup>_<u>−</u>_</sup> <sup>2</sup> <u>ISE × 10</u> <sup>_<u>−</u>_</sup> <sup>6</sup> <u>PDN-PI</u> <u>-61.62</u> <u>205.19</u> <u>13.23</u> <u>34.095</u> <u>92.19</u> <u>7.856</u> <u>PID-PID</u> <u>-65.025</u> <u>207.1</u> <u>12.88</u> <u>30.511</u> <u>81.55</u> <u>7.787</u> <u>PID</u> <u>-114.87</u> <u>287.815</u> <u>81.2</u> <u>90.638</u> <u>249.16</u> <u>41.17</u> <u>PI-FPID</u> <u>-52.595</u> <u>205.79</u> <u>6.65</u> <u>22.83</u> <u>60.63</u> <u>5.39</u> <u>PIDN</u> <u>-85.33</u> <u>240.89</u> <u>58.57</u> <u>86.51</u> <u>237.68</u> <u>31.842</u> <u>FPID</u> <u>-79.612</u> <u>245.59</u> <u>54.12</u> <u>83.09</u> <u>227.75</u> <u>28.74</u> <u>FPDN-FPTID</u> <u>-46.303</u> <u>204.57</u> <u>2.68</u> <u>12.21</u> <u>28.69</u> <u>3.9</u> <u>(I-P)-PDN (Proposed)</u> <u>-17.9</u> <u>13</u> <u>1.83</u> <u>11.81</u> <u>16.2</u> <u>1.74</u> Table 4 . Performance parameters and error indices for Case-III Scenario-1: presence of RESs power and absence of load disturbances. Fig. 5 . Frequency deviation for Case-I in IµG with ITSE as fitness function. This research considers four cases and five distinct scenarios for IµG to completely assess the controller’s efficacy in diverse conditions. Finally, the robustness and stability analysis are carried out. The simulation results for different scenarios are presented in Tables 2, 3 and 4. Case-I: step load of 4% to IµG In this case a step load of 0.04pu is applied to the IµG. The three Lyrebird optimization (LOA), Jellyfish Searching optimization (JSO) and Black-winged Kite Algorithms (BKA) are used for optimization of proposed controller. The proposed controller with BKA optimizer outperformed with minimum ITSE and ISE values of 0.00000499pu and 0.00009638pu respectively. The LOA and JSO have ITSE values 0.004pu and 0.0003pu, and ISE values of 0.000109pu and 0.00013336pu respectively. Figures 5 and 6 show the frequency deviation in islanded microgrid when the ITSE and ISE are used as fitness functions in the optimization process. It is much clear from the Figs. 5 and 6 that there is very less OSH and USH in frequency deviation while using the BKA is an optimizer, clearly dominating the efficacy of the BKA over LOA and JSO. The BKA has reduced the ITSE up to 99.8% from 0.004pu to 0.00000499pu, and 28% reduction in ISE from 0.00013336pu to 0.00009638pu. Thus, the BKA demonstrates its superiority over LOA and JSO. Case-II: load fluctuations with lack of RESs Scenario-1: Step-up load of 5%, 10%, 15%, 20%. Scenario-2: Severe dynamic load (disturbance at t = 2s, t = 4s, t = 6s and t = 8s). Fig. 6 . Frequency deviation for Case-I in IµG with ISE as fitness function. Fig. 7 . Frequency deviation for (Case-II, scenario-1). _Scenario-1: Step-up load of 5%, 10%, 15%, 20%._ In this first scenario, the efficacy of proposed controller (I-P) cascade PDN for IµG is evaluated by applying stepping up load of 5%, 10%, 15% and 20% at time t = 2s. The results for different performance parameters are presented in the Table 2, illustrates that the proposed (I-P)-PDN controller performed better than other controllers due to quick response to perturbations with quick settling and no OSH. The lowest OSH and USH values are − 0.00 _×_ 10 <sup>_−_</sup> <sup>5</sup> and − 0.011pu at step load 5% and 0.00 _×_ 10 <sup>_−_</sup> <sup>5</sup> and − 0.018pu at 10%. The proposed controller’s response settles 0.019s, 0.01, 0.015s and 0.016s faster than other controllers at the four distinct step load. The frequency response of scenario-1 for each step load at t = 2s is given in Fig. 7, (a), (b), (c) and (d). Fig. 8 . Severe dynamic load (Case-II, scenario-2). Fig. 9 . Frequency deviation for severe dynamic load Case-II (Scenario-2). _Scenario-2: Severe Dynamic load at t = 2s, t = 4s, t = 6s and t = 8s_ In this scenario a random load with initial stepping at time t = 2s, then 2s delay between consecutive steps of Fig. 8 is applied to islanded microgrid. The first load disturbance (0 to -5% at t = 2s), second disturbance at (-5–10% at t = 4s), third disturbance at (10% to -2.5% at t = 6s) and fourth at (-2.5 to 7.5% at t = 8s). Figure 9, shows the frequency response of each controller against the load disturbances and Table 3. results illustrate that the (I-P)-PDN attains ISE value of 317 _×_ 10 <sup>_−_</sup> <sup>6</sup> pu and Ts of 0.35s for disturbance (-2.5 to 7.5% at t = 8s) and minimal Ts of 0.3s for (-5 to 10% at t = 4s) and the first disturbance (0 to -5% at t = 2s) is settled just in 0.344s. Case-III: presence of RESs and different loading conditions Scenario-1: Presence of RESs power and absence of load disturbances. Scenario-2: Presence of RESs power and step-up load of 20% at t = 55s. Scenario-3: Presence of RESs and additional step load of 8% at t = 65s. _Scenario-1: Presence of RESs power and absence of load disturbances_ In case-III (scenario-1), the islanded microgrid is subjected to load without any change in load or addition of any disturbance. The µG response is simulated for 60 s. From the Table 4 it is reveals that the controller performs well compared to other controllers with lowest performance index ISE of 1.74 _<u>×</u>_ 10 <sup>_−_</sup> <sup>6</sup> pu and OSH of 13 _<u>×</u>_ 10 <sup>_−_</sup> <sup>4</sup> pu. Fig. 10 . Presence of RESs power without load disturbances (Case-III, scenario-1). Fig. 11 . Presence of RESs power and step-up load (Case-III, Scenario-2). The response of the proposed controller is indicated in red color in zoomed view in Fig. 10. It is clear that the controller performed well in reduction in Ts. _Scenario-2: Presence of RESs power and step load of 20% at t = 55s._ This scenario is implemented with application of step load of 20% at time t = 55s for stability analysis of the controller. The Fig. 11, reveals that the controller outperformed with no OSH and quick settling time with high reliability. _Scenario-3: Presence of RESs and additional step load of 8% at t = 65s._ In this scenario, the proposed microgrid with the proposed controller is subjected to step light load of 8% at t = 65s in addition to 10% load (case-II, scenario-1) to analyze the efficacy of controller in term of under frequency. Again, as shown in the Fig. 12, the under frequency has attain the value of -0.0398pu almost same value for individual load of 0.1pu without any variation or change in frequency response. Case-IV: Variable RESs (PV, Wind) and irregular load. In this scenario an irregular load <sup>81</sup> of 15% is modeled for IµG. The stability and reliability analysis of proposed controller against uncertain RESs and irregular load. It is illustrated from the Fig. 13, that over frequency has Fig. 12 . Presence of RESs and additional step load (Case-III, Scenario-3). Fig. 13 . Frequency deviation for variable irregular load (Case-IV). value of 1.8 _×_ 10 <sup>_−_</sup> <sup>3</sup> pu at t = 2.5s and 1.6 _×_ 10 <sup>_−_</sup> <sup>3</sup> pu at t = 5.1s and under frequency with a value of -6 _×_ 10 <sup>_−_</sup> <sup>3</sup> pu at t = 10s. The response after 10s is almost linear, it is straightforward that suggested controller performed better irregular nature of load. The performance error indices for interconnected µGs in scenario-1 indicates that our proposed (I-P)-PDN controller perform very well as compared to other controllers. Performance analysis of the proposed control strategy for two interconnected µGs In this section, the proposed LFC strategy is tested over 02-areas interconnected µGs network as shown in Fig. 14. The RES wind turbine is dedicated to area-1 and PV source supplies power to area-2. The interconnected microgrid parameters are defined in appendix D. The simulation of two area interconnected microgrid is carried out with optimized parameters of proposed controller are given in appendix E. _∆_ f1 _,_ _∆_ f2are the frequency responses of area-1 and area-2 and ∆Ptie is the tie line power. The objective functions ITSE and ISE for the interconnected µGs are given in <sup>77</sup> . The minimum objective function values are obtained for ITSE of 49.9× 10 <sup>_−_</sup> <sup>7</sup>, 96.3× 10 <sup>_−_</sup> <sup>6</sup> for ISE, 53.96 _×_ 10 <sup>_−_</sup> <sup>5</sup> for ITAE and 41.36 4 _×_ 10 <sup>_−_</sup> <sup>4</sup> in comparison to its contemporary optimization algorithm, Dandelion Optimizer as reported in the literature. The interconnected microgrid is tested over four scenarios. Fig. 14 . Two areas interconnected µGs. Scenario-1: step load of 10% for both areas with lack of RESs and EVs. Scenario-2: step load of 10% for both areas with RESs and lack of EVs. Scenario-3: step load of 10% for both areas in presence of EVs and RESs. Scenario-4: Irregular load of 15% for both areas with intermittent RESs and EVs. _Scenario-1: Step load of 10% for both areas with lack of RESs and EVs._ In the first scenario, a step load of 10% is applied to both areas, in the absence of RESs. As indicated from the Tables 5 and 6, the suggested controller outperformed with (I-P)-PDN controller. The area-1 has frequency response with minimum OSH of 0.0227 _×_ 10 <sup>_−_</sup> <sup>4</sup> pu and USH of -1.285 _×_ 10 <sup>_−_</sup> <sup>3</sup> pu for ∆f1 and OSH of 0.00917 _×_ 10 <sup>_−_</sup> <sup>4</sup> pu and USH of -1.200 _×_ 10 <sup>_−_</sup> <sup>3</sup> pu for ∆f2. The two responses in the area-1 and 2 settled faster than other controllers with settling period of 0.75s and 0.98s respectively. Additionally, the tie line power response settled in only 1.189s with minimum ITSE of 0.499 _×_ 10 <sup>_−_</sup> <sup>5</sup> pu. In comparison of two stage controllers, the FPID performed well among all the remaining controllers with settling time of 2.7s and 2.4s for area-1 and area-2 respectively. Among the single stage controllers FPID responses settled faster with 3.7s and 4.3s for area-1 and 2 than other remaining single stage controllers. The frequency and tie-line power responses are given in Fig. 15. _Scenario-2: Step load of 10% for both areas with RESs and lack of EVs._ In second scenario, the intermittent RES wind power is connected to area-1 and PV power to area-2 with step load of 10% for both areas. The Fig. 16a-c, and Table 7, reveals that the suggested controller performed well in compassion to all other controllers with minimum integral weighted square error of 1.60 × 10 <sup>− 5</sup> pu. The commonly used evaluation criterion ITAE has attain minimum value of 3.88 × 10 <sup>− 5</sup> pu. The frequency responses have minimum OSH of 4.18 × 10 <sup>− 4</sup> pu and USH of -4.31 × 10 <sup>− 6</sup> pu for ∆f1 and OSH of 1.4 × 10 <sup>− 3</sup> pu, USH of -1.3 × 10 <sup>− 3</sup> pu for ∆f2. _Scenario-3: step load of 10% for both areas in presence of RESs and EVs._ The impact of electric vehicle as flexible load is investigated with proposed controller (I-P)-PDN. In this case a 10% step load at t = 0 s is applied to the area-1 and area-2 in the presence of RESs (PV, WTG). Table 7, and 8, illustrate that the performance indices are improved with the addition of electric vehicles as flexible load. The same electric vehicle model is added to both the area of interconnected microgrid. The performance comparison of the (I-P)-PDN and FPDN-FPTID controllers is carried out with same gains for network microgrid with EVs as flexible load. There is 77% reduction in tie line power OSH (-0.35 _×_ 10 <sup>_−_</sup> <sup>6</sup> to -0.804 _×_ 10 <sup>_−_</sup> <sup>7</sup> ) and 52% USH (-0.85 _×_ 10 <sup>_−_</sup> <sup>4</sup> to -0.4012 _×_ 10 <sup>_−_</sup> <sup>4</sup> ) for proposed controller with inclusion of electric vehicles in both areas respectively. The integral weighted absolute error is reduced by 64% (15.5 to 5.49) and 48% (18.5 to 10.3), ITAE by 93% (43.2 to 2.98) and 95% (448 to 20.29), ISE by 98% (1.55 _×_ 10 <sup>_−_</sup> <sup>5</sup> to 3.011 _×_ 10 <sup>_−_</sup> <sup>7</sup> ) and 98% (2.2 _×_ 10 <sup>_−_</sup> <sup>5</sup> to 3.019 _×_ 10 <sup>_−_</sup> <sup>7</sup> ) and ITSE by 92% (3.88 _×_ 10 <sup>_−_</sup> <sup>5</sup> to 3.69 _×_ 10 <sup>_−_</sup> <sup>6</sup> ) and 97% (29.8 _×_ 10 <sup>_−_</sup> <sup>5</sup> to 7.731 _×_ 10 <sup>_−_</sup> <sup>6</sup> ) for (I-P)-PDN and FPDN-FPTID controllers respectively. Moreover, the electric vehicles power OSH decreases about 1.94% and USH by 0.05 to 1%. The electric vehicles as source have significance change in power in area2 for FPDN-FPTID controller. The EVs power ∆PEVs1 and ∆PEVs2 attained faster steady state response with <u>Controller</u> <u>Performance metrices</u> ISE IAE <u>× 10</u> <sup>_<u>−</u>_</sup> <sup>5</sup> <u>ITAE× 10</u> <sup>_<u>−</u>_</sup> <sup>3</sup> <u>ITSE× 10</u> <sup>_<u>−</u>_</sup> <sup>5</sup> <u>10×</u> <sup>_<u>−</u>_</sup> <sup>3</sup> <u>PID</u> <u>356.11</u> <u>495.78</u> <u>1004.5</u> <u>142.99</u> <u>PIDN</u> <u>325.45</u> <u>473.48</u> <u>917.96</u> <u>136.63</u> <u>FPID</u> <u>277.82</u> <u>396.87</u> <u>740.40</u> <u>119.48</u> <u>PI-FPID</u> <u>51.26</u> <u>76.52</u> <u>112.50</u> <u>27.69</u> <u>PID-PID</u> <u>79.80</u> <u>163.53</u> <u>198.37</u> <u>52.34</u> <u>PDN-PI</u> <u>67.09</u> <u>94.95</u> <u>149.92</u> <u>34.94</u> <u>FPDN-FPTID</u> <u>41.16</u> <u>43.20</u> <u>89.53</u> <u>18.72</u> <u>(I-P)-PDN (Proposed)</u> <u>9.638</u> <u>0.156</u> <u>0.499</u> <u>6.26</u> Table 6 . Performance/error indices for interconnected µGs in Scenario-1. Fig. 15 . Frequency and tie-line power responses of interconnected µGs for scenario-1. proposed (I-P)-PDN controller as illustrated in Fig. 17a-b. The PV power is slightly changed at almost 10s and 18s from 0.015pu to 0.01213pu and ∆PBESS2 from 0.0425pu to 0.0422pu in area-2 due to loading behavior of EVs. The proposed controller performed well with the incorporation of EVs as flexible load as indicated from Table 8; Fig. 17 (a-b), and Fig. 18. _Scenario-4: Irregular load of 15% for both areas with intermittent RESs and EVs_ In this scenario stochastic load of 0.15pu approximately is connected to area-1 and area-2 simultaneously and WTG of 100 kW is dedicated to the area-1 and PV of 30 kW is to area-2. The intermittency of wind (speed= [0 5 10 12 15 14], time= [0 10 15 20 25 30]) to WTG and of solar irradiance (G= [300 500 300 200 350], time= [0 10 15 20 30]) to PV is applied. For inter-relation of intermittency of RESs and availability or non-availability of EVs in area-1 or 2, four conditions have been studied. Fig. 16 . ( a ) Change in frequency for area-1( b ) Change in frequency for area-2 ( c ) Change in tie line power for scenario-2. FPDN- <u>FPTID</u> Change in frequency and <u>tie-line power</u> ∆f1 (pu) ∆f2 (pu) ∆Ptie (pu) Performance parameters and <u>error indices</u> <u>USH×10</u> <sup>− 3</sup> <u>-16.2</u> <u>-19.7</u> <u>-19.6</u> <u>-8.99</u> <u>-8.59</u> <u>-9.23</u> <u>-6.43</u> <u>-0.00431</u> <u>OSH×10</u> <sup>− 3</sup> <u>32.3</u> <u>41.02</u> <u>39.76</u> <u>24.51</u> <u>24.83</u> <u>24.95</u> <u>12.86</u> <u>0.418</u> <u>USH×10</u> <sup>− 3</sup> <u>-5.41</u> <u>-7.2</u> <u>-6.19</u> <u>-2.84</u> <u>-2.85</u> <u>-3.03</u> <u>-1.98</u> <u>-0.37</u> <u>OSH×10</u> <sup>− 3</sup> <u>11.71</u> <u>10.06</u> <u>11.21</u> <u>2.87</u> <u>2.88</u> <u>3.14</u> <u>2</u> <u>0.000378</u> <u>USH×10</u> <sup>− 3</sup> <u>-2.99</u> <u>-2.65</u> <u>-2.83</u> <u>-0.65</u> <u>-0.39</u> <u>-0.75</u> <u>-0.22</u> <u>-0.0139</u> <u>OSH×10</u> <sup>− 3</sup> <u>3.83</u> <u>3.4</u> <u>3.55</u> <u>1</u> <u>0.92</u> <u>1.1</u> <u>0.24</u> <u>0.0143</u> <u>ITSE×10</u> <sup>− 5</sup> <u>2054.9</u> <u>1873.2</u> <u>2069.4</u> <u>108.52</u> <u>67.91</u> <u>121.69</u> <u>29.8</u> <u>3.88</u> <u>ISE×10</u> <sup>− 5</sup> <u>141.8</u> <u>131.9</u> <u>140.8</u> <u>12</u> <u>9.4</u> <u>12.4</u> <u>2.2</u> <u>1.6</u> <u>ITAE×10</u> <sup>− 3</sup> <u>6478.3</u> <u>5588.2</u> <u>6367.5</u> <u>1090</u> <u>576</u> <u>1097</u> <u>448</u> <u>43.2</u> <u>IAE×10</u> <sup>− 3</sup> <u>273.4</u> <u>237.5</u> <u>267.5</u> <u>47.7</u> <u>26.8</u> <u>47.2</u> <u>18.5</u> <u>15.5</u> <u>Controller</u> <u>PID</u> <u>FPID</u> <u>PDN</u> <u>PID-PID</u> <u>PI-FPID</u> <u>PDN-PI</u> (I- _P_ )- PDN <u>Proposed</u> Table 7 . Performance parameters and error indices comparison for two area interconnected µGs scenario-2. <u>Controller</u> <u>EVs (Flexible resources) in Area-1 and 2</u> <u>Performance parameters and error indices with change in EVs power</u> <u>EVs1 (Source)</u> <u>(I-</u> _<u>P</u>_ <u>)-PDN</u> <u>FPDN-FPTID</u> <u>0.505</u> <u>0.515</u> <u>EVs1 (Load)</u> <u>0.505</u> <u>0.515</u> OSH (%) <u>EVs2 (Source)</u> <u>0.505</u> <u>0.510</u> <u>EVs2 (Load)</u> <u>0.505</u> <u>0.510</u> <u>EVs1 (Source)</u> <u>1.997</u> <u>1.998</u> <u>EVs1 (Load)</u> <u>1.98</u> <u>2</u> USH (%) <u>EVs2 (Source)</u> <u>2</u> <u>2</u> <u>EVs2 (Load)</u> <u>1.98</u> <u>1.999</u> <u>EVs1 (Source)</u> <u>1.86× 10</u> <sup>_<u>−</u>_</sup> <sup>7</sup> <u>5.14× 10</u> <sup>_<u>−</u>_</sup> <sup>6</sup> <u>EVs1 (Load)</u> <u>1.75× 10</u> <sup>_<u>−</u>_</sup> <sup>7</sup> <u>5.07× 10</u> <sup>_<u>−</u>_</sup> <sup>6</sup> _∆_ PEVs (pu) <u>EVs2 (Source)</u> <u>2.25× 10</u> <sup>_<u>−</u>_</sup> <sup>7</sup> <u>2.52× 10</u> <sup>_<u>−</u>_</sup> <sup>6</sup> <u>EVs2 (Load)</u> <u>2.12× 10</u> <sup>_<u>−</u>_</sup> <sup>7</sup> <u>2.47× 10</u> <sup>_<u>−</u>_</sup> <sup>6</sup> <u>-</u> <u>ITAE</u> <u>2.98× 10</u> <sup>_<u>−</u>_</sup> <sup>3</sup> <u>20.29× 10</u> <sup>_<u>−</u>_</sup> <sup>3</sup> <u>-</u> <u>ITSE</u> <u>3.69× 10</u> <sup>_<u>−</u>_</sup> <sup>6</sup> <u>7.731× 10</u> <sup>_<u>−</u>_</sup> <sup>6</sup> <u>-</u> <u>IAE</u> <u>5.49× 10</u> <sup>_<u>−</u>_</sup> <sup>7</sup> <u>9.52× 10</u> <sup>_<u>−</u>_</sup> <sup>7</sup> <u>-</u> <u>ISE</u> <u>3.01× 10</u> <sup>_<u>−</u>_</sup> <sup>7</sup> <u>3.019× 10</u> <sup>_<u>−</u>_</sup> <sup>7</sup> Table 8 . Performance parameters and error indices for scenario-3 of two area interconnected µGs. _Condition-I: Availability of EVs in both areas_ : In this condition, EVs in both areas are present and connected. At almost 5s both the EVs in area-1 and area-2 comes into contribution of power of 9.064 × 10 <sup>-6</sup> pu and 3.25 × 10 <sup>-5</sup> pu, while PWTG is 0 pu, while Ppv is 0.01234pu at about 6s. The WTG supplies its power of almost 0.003488pu and PV of 0.0158pu, the EVs power at this time becomes 2.6 × 10 <sup>-6</sup> pu and 7.9 × 10 <sup>-6</sup> pu respectively. This power is supplied by RESs at time 10s. At internal 10.58s the EVs1 power cutoff raising PV and WTG power to 0.01707 pu and 0.00248pu respectively. At 10.815s the EVs1, EVs2 cutoff their power and PV power raised to 0.01852pu. At 12.576s, EVs1 power goes up to 6.185 × 10 <sup>-7</sup> pu, and EVs2 of 0.047pu and PV power reaches to 0.02088 pu. At 12.35s again EVs1 = EVs2 = 0.04u and the Ppv of 0.02077pu. At 15.385s, the EVs2 is of 1.5 × 10 <sup>-8</sup> pu and EVs1 is of 0.04pu and the PWTG is 0.0198pu and Ppv of 0.009213pu. The EVs power in both the areas become equal to zero at time nearly equal to 17.5s, at the same time WTG supplies the power of 0.01988pu and PV contribute to 0.01222pu. Similarly, at 18s the EVs in area-1 have power of 1.1 × 10 <sup>-6</sup> pu, but WTG supplies 0.01988pu, thus, the power of EVs in area-1 is decreasing till become zero at 20s and EVs power in area-2 has also goes down to zero. At 22s the PWTG and Ppv is recorded 0.03432pu and 0.00789pu respectively. After this again, at 28s EVs in area-1 going to decrease that is 1.36 × 10 <sup>-6</sup> pu and EVs in area-2 become zero, the PWTG at this time has highest value of 0.06pu and Ppv of 0.0067pu. The minimum power of EVs in area-1 becomes 7.9 × 10 <sup>-8</sup> pu till 30s. The OSH and USH values for ∆f1 are 1.75 × 10 <sup>-6</sup> pu and − 1.40 × 10 <sup>-3</sup> pu, for ∆f2 are 8.5 × 10 <sup>-5</sup> pu, and − 1.7 × 10 <sup>-2</sup> pu, and for ∆Ptie are 1.02 × 10 <sup>-6</sup> pu and − 2.93 × 10 <sup>-6</sup> pu respectively. _Condition-II: Availability of electric vehicles in area-2 only_ : In this condition, the electric vehicles in area-2 are made available and area-1 have no connectivity of EVs. At time of 10s the WTG power shows connectivity Fig. 17 . ( a ). Change in EVs power in Area-1 ( b ) Change in EVs power in Area-2. and supplies power of 0.002488pu, as the intermittency of the WTG is taken as (time = [0 10 15 20 25 30], speed= [0 5 10 12 15 14]). Hence, at 5s the EVs in area-2 have power of 1.5e-5pu with PWTG of 0pu. Similarly, the intermittent nature of renewable sources is directly reflected and according to that change, the EVs in the specific area show connectivity or discontinuity due to the intermittency. Similarly, at 15s the solar irradiance has value of 300 W/m <sup>2</sup> and wind velocity is 10 m/s, the EVs in area-2 supplies power of 7.2e-8pu, WTG of 0.02pu and PV of 0.008pu. The EVs in specific areas shows the appearance with the intermittency time for RESs in interconnected microgrid system. The EVs in area-2 power starting decreasing and become zero at 30s. The OSH and USH values recorded for ∆f1 are 1.70 × 10 <sup>-6</sup> pu and − 1.402 × 10 <sup>-3</sup> pu, for ∆f2 are 8.509 × 10 <sup>-5</sup> pu and - 1.732 × 10 <sup>-2</sup> pu, and for ∆Ptie are 1.028 × 10 <sup>-6</sup> pu and − 2.393 × 10 <sup>-6</sup> pu respectively. _Condition-III: Availability of EVs in area-1 only_ : In this condition, the EVs in area-1 are present only such that WTG and PV sources are connected to area-1 and area-2 respectively. Considering the intermittent behavior of WTG and PV power due to weather variability, the PWTG is 0pu because of no wind speed at time 0s, and the Ppv is 0.012pu due to availability of solar irradiance of 300 W/m <sup>2</sup> . At 10s the WTG deliver power due to wind speed of 5 m/s and at 11s, the PWTG touches 0.002pu, Ppv of 0.0193pu. At 13s the EVs power in area-2 becomes zero per unit, while WTG and PV are delivering power of 0.002pu and 0.0271pu respectively. At 28s the EVs power in area-1 decline to 7.7 × 10 <sup>-6</sup> pu. The OSH and USH values for ∆f1 are 1.74 × 10 <sup>-6</sup> pu and − 1.402 × 10 <sup>-3</sup> pu, for ∆f2 are 8.51 × 10 <sup>-5</sup> pu, and − 1.72 × 10 <sup>-2</sup> pu and for ∆Ptie are 1.028 × 10 <sup>-6</sup> pu and − 2.39 × 10 <sup>-6</sup> pu respectively. _Condition-IV: Non-availability of Electric vehicles in area-1 and area-2_ : In this condition, the interconnected microgrid is operated without the connectivity of EVs in both the areas. The RESs, WTG and PV deliver power Fig. 18 . Change in power of different distributed generations in scenario-3. to each respective areas taking the intermittency of solar irradiance Watt/m <sup>2</sup> and wind speed. The WTG and PV give full contribution of, 0.05457pu and 0.1475pu respectively. Figure 19a,b and c show the intermittency and uncertainty in the wind turbine power in area-1 due to variation in wind speed (mentioned in spikes at 10s, 15s, 20s and 25s) and photovoltaic power intermittency in area-2 at (0s, 10s, 15s and 20s). The OSH and USH values noted for ∆f1 are 1.73 × 10 <sup>-6</sup> pu and − 1.40 × 10 <sup>-3</sup> pu, for ∆f2 are 8.4 × 10 <sup>-5</sup> pu and - 1.7 × 10 <sup>-2</sup> pu, and for ∆Ptie are 1.02 × 10 <sup>-6</sup> pu and − 2.393 × 10 <sup>-6</sup> pu respectively. From the Fig. 19a-c, the flexible load behavior of EVs in aea-2 is depicted and is photovoltaic power is represented by light green color, in the absence of EVs in area-2 there is slight increase in Photovoltaic power. However, the same power is absorbed by EVs in area-2 depicted by dark blue (photovoltaic power) showing the grid to vehicle (G2V) behavior. Sensitivity analysis The controller must demonstrate consistent performance even in the face of uncertain parameters, as the system models it employs are mathematically versatile. Additionally, the system’s configuration and parameters may evolve over time due to factors such as component degradation. Moreover, the system’s configuration and parameters are subjected to alterations over period due to the factors such as component wear and tear, and degradation. The stability of the system may be conceded if the proposed control strategy fails to accommodate system’s parameters variations. To validate the robustness of the proposed controller, parameters such as (R) and system inertia coefficient (M), have been altered by approximately ± 40% relative to their actual parameter responses. The results, which are illustrated in Figs. 20, 21 and 22, and Table 9, demonstrate the controller’s performance under conditions of parametric variation. As seen in Table 9, many parameters exhibit responses that are closely aligned with their nominal values. This data confirms that the BKA-(I-P)-PDN controller delivers consistent performance across a ± 40% of system inertia (M) and (R). Moreover, the controller’s optimal settings remain effective without the need for re-tuning when applied with real parameters at their nominal values. Stability analysis From the Bode diagram in Fig. 23, it is illustrated that the proposed controller can endure further increase in gain of 32.1 dB prior to becoming unstable. Moreover, the gain margin has positive value indicating the robustness in stability with respect to variations in gain. The system can endure phase lag of 108 degree prior to crossing instability. Furthermore, the closed loop system is well damped and have good stability with delay margin of 0.446s. There is steady drop in gain as indicated ensuring that the system is stable. The closed loop system stability is obviously marked as “Yes”. The proposed (I-P)PDN controller exhibits superior gain and phase margins, reflecting stronger robustness and enhanced stability under uncertainties and external disturbances. Unlike conventional methods, the (I-P)-PDN controller maintains higher resilience during large load variations and system parameter changes. These improved stability margins imply that the system can better withstand real-world fluctuations without compromising performance. Fig. 19 . Change in frequency for area-1 ( b ) Change in frequency for area-2 ( c ) Change in tie line power for scenario-4. Fig. 20 . Variation in parameter (R) in area-1. Fig. 21 . Variation in parameter (M) in area-2. Overall, the system has potential to tolerate significant variations in both gains and delay indicate well-tuning, smooth transient responses and can handle the uncertainties in real-world applications. Conclusion and future recommendations This study presents a novel two-stage cascaded (I-P)-PDN controller, optimized using the Blackwinged Kite Algorithm (BKA), for load frequency regulation in islanded and interconnected microgrid systems. The proposed strategy effectively mitigates frequency deviations caused by the stochastic nature of renewable energy sources (RESs) and dynamic load variations, significantly outperforming conventional Fig. 22 . Variation in parameters (R, M). <u>Transient response</u> <u>Parameters</u> <u>% Change</u> <u>∆f1 (pu)</u> <u>∆f2 (pu)</u> <u>∆</u> _<u>P</u>_ <u>tie (pu)</u> <u>+ 40</u> <u>0.960</u> <u>0.951</u> <u>0.980</u> <u>-40</u> <u>1.410</u> <u>1.429</u> <u>1.391</u> <u>+ 40</u> <u>1.397</u> <u>1.42</u> <u>1.401</u> <u>-40</u> <u>0.97</u> <u>0.91</u> <u>0.94</u> <u>+ 40</u> <u>0.0000045</u> <u>0.000047</u> <u>0.00000047</u> <u>-40</u> <u>0.0000021</u> <u>-0.0000472</u> <u>0.000000034</u> <u>+ 40</u> <u>0.0000061</u> <u>0.0000038</u> <u>0.000000602</u> <u>-40</u> <u>0.00000099</u> <u>0.0000072</u> <u>0.00000064</u> <u>+ 40</u> <u>-0.00096</u> <u>-0.0094</u> <u>-0.0000838</u> <u>-40</u> <u>-0.000963</u> <u>-0.0000471</u> <u>-0.0000837</u> <u>+ 40</u> <u>-0.00140</u> <u>-0.000766</u> <u>-0.0000073</u> <u>-40</u> <u>-0.00257</u> <u>-0.000144</u> <u>-0.0000110</u> Settling time (Ts) Overshoot (OSH) Undershoot (USH) R M R M R M Table 9 . Variations in microgrid parameters. controllers. Simulation results demonstrate that the (I-P)-PDN controller achieves a 77% reduction in overshoot (OSH) and a 52% decrease in undershoot (USH) in tie-line power variations compared to existing controllers. Additionally, the Integral Absolute Error (IAE) is reduced by 42.3%, Integral Time Absolute Error (ITAE) by 85%, and Integral Square Error (ISE) by 98%, highlighting the controller’s superior stability and robustness. The impact of Electric Vehicles (EVs) as flexible loads further enhances system performance, leading to a 93% reduction in ITAE and a 95% reduction in ITSE for interconnected microgrids. The stability analysis via Bode plots confirms that the proposed control strategy maintains stability with a gain margin of 32.1 dB and a phase margin of 108 degrees, ensuring resilience against uncertainties. Generally, the (I-P)-PDN controller with BKA tuning provides a reliable solution for microgrid frequency regulation with the limitation of moderate computational demand during the offline tuning stage when scaling to high dimension search space. However, this demand remains manageable with standard computing resources and does not hinder practical applicability. Future work can explore real-time hardware implementation and cybersecurity aspects of microgrid communication delays to further enhance the practicality of the proposed control strategy. Furthermore, addressing cybersecurity concerns, as microgrids are increasingly reliant on communication networks for monitoring and control, making them vulnerable to cyber-attacks such as data spoofing, denial of service, and false data injection. Fig. 23 . Stability analysis of proposed controller (I-P)-PDN for interconnected µGs. Data availability All data generated or analyzed during this study are included in this published article [and its supplementary information files]. Received: 17 February 2025; Accepted: 7 July 2025 References 1. Faheem, M., Kuusniemi, H., Eltahawy, B., Bhutta, M. S. & Raza, B. A lightweight smart contracts framework for blockchain-based secure communication in smart grid applications. _IET Generation Transmission Distribution_ . 18 (3), 625–638 (2024). 2. Zeynali, S., Rostami, N. & Feyzi, M. Multi-objective optimal short-term planning of renewable distributed generations and capacitor banks in power system considering different uncertainties including plug-in electric vehicles. _Int. J. Electr. Power Energy_ _Syst._ 119, 105885 (2020). 3. Blaabjerg, F., Yang, Y., Kim, K. A. & Rodriguez, J. Power electronics technology for large-scale renewable energy generation, _Proceedings of the IEEE_, 111, 4, 335–355, (2023). 4. Zografos, D. & Ghandhari, M. Power system inertia estimation by approaching load power change after a disturbance, in _IEEE_ _Power & Energy Society General Meeting_, 2017. 5. Renewables, I. Analysis and Forecast to 2027. 2023, ed, (2022). 6. Farsizadeh, H., Gheisarnejad, M., Mosayebi, M., Rafiei, M. & Khooban, M. H. An intelligent and fast controller for DC/DC converter feeding CPL in a DC microgrid. _IEEE Trans. Circuits Syst. II Express Briefs_ . 67 (6), 1104–1108 (2019). 7. Kang, W. et al. Distributed secondary control method for islanded microgrids with communication constraints. _IEEE Access._ 6, 5812–5821 (2017). 8. Olabi, A. & Abdelkareem, M. A. Renewable energy and climate change. _Renew. Sustain. Energy Rev._ 158, 112111 (2022). 9. Bakeer, A., Magdy, G., Chub, A. & Bevrani, H. A sophisticated modeling approach for photovoltaic systems in load frequency control. _Int. J. Electr. Power Energy Syst._ 134, 107330 (2022). 10. Qin, B., Wang, M., Zhang, G. & Zhang, Z. Impact of renewable energy penetration rate on power system frequency stability. _Energy_ _Rep._ 8, 997–1003 (2022). 11. Nazir, M. S. et al. Optimized economic operation of energy storage integration using improved gravitational search algorithm and dual stage optimization. _J. Energy Storage_ . 50, 104591 (2022). 12. Zand, M., Nasab, M. A., Padmanaban, S., Maroti, P. K. & Muyeen, S. Sensitivity analysis index to determine the optimal location of multi-objective UPFC for improvement of power quality parameters. _Energy Rep._ 10, 431–438 (2023). 13. Nasab, M. A. et al. Uncertainty compensation with coordinated control of EVs and DER systems in smart grids. _Sol. Energy_ . 263, 111920 (2023). 14. Hosseini, S. A. Frequency control using electric vehicles with adaptive latency compensation and variable speed wind turbines using modified virtual inertia controller. _Int. J. Electr. Power Energy Syst._ 155, 109535 (2024). 15. Tripathi, S., Singh, V. P., Kishor, N. & Pandey, A. Load frequency control of power system considering electric vehicles’ aggregator with communication delay. _Int. J. Electr. Power Energy Syst._ 145, 108697 (2023). 16. Liang, J. et al. An energy-oriented torque-vector control framework for distributed drive electric vehicles. _IEEE Trans. Transp._ _Electrification_ . 9 (3), 4014–4031 (2023). 17. Smith, C. et al. Comparative life cycle assessment of a Thai island’s diesel/pv/wind hybrid microgrid. _Renew. Energy_ . 80, 85–100 (2015). 18. Fathollahi, A., Kargar, A. & Derakhshandeh, S. Y. Enhancement of power system transient stability and voltage regulation performance with decentralized synergetic TCSC controller. _Int. J. Electr. Power Energy Syst._ 135, 107533 (2022). 19. Abubakr, H. et al. Adaptive LFC incorporating modified virtual rotor to regulate frequency and tie-line power flow in multi-area microgrids. _IEEE Access._ 10, 33248–33268 (2022). 20. d., P. I., Barbalho, N., Lacerda, V., Fernandes, R. & Coury, D. V. Deep reinforcement learning-based secondary control for microgrids in islanded mode. _Electr. Power Syst. Res._ 212, 108315 (2022). 21. Oshnoei, S., Aghamohammadi, M., Oshnoei, S., Oshnoei, A. & Mohammadi-Ivatloo, B. Provision of frequency stability of an islanded microgrid using a novel virtual inertia control and a fractional order cascade controller, _Energies_, 14,14, 4152, (2021). 22. Oshnoei, S., Oshnoei, A., Mosallanejad, A. & Haghjoo, F. Contribution of GCSC to regulate the frequency in multi-area power systems considering time delays: A new control outline based on fractional order controllers. _Int. J. Electr. Power Energy Syst._ 123, 106197 (2020). 23. Ali, E. S. & Abd-Elazim, S. M. Bacteria foraging optimization algorithm based load frequency controller for interconnected power system. _Int. J. Electr. Power Energy Syst._ 33 (3), 633–638 (2011). 24. Hasan, N., Alsaidan, I., Sajid, M., Khatoon, S. & Farooq, S. Robust self tuned AGC controller for wind energy penetrated power system. _Ain Shams Eng. J._ 13 (4), 101663 (2022). 25. Gbadega, P. A. & Sun, Y. Multi-area automatic generation control of a renewable energy-based hybrid power systems using JAYA optimized model predictive control. _Energy Rep._ 9, 74–84 (2023). 26. Gbadega, P. A., Sun, Y. & Zhang, H. Robustness and stability analysis for parametric uncertainties in a three-area AGC power system using TLBO-LMI-tuned PI controller. _Energy Rep._ 9, 153–164 (2023). 27. Sahu, P. C., Prusty, R. C. & Panda, S. Optimal design of a robust FO-Multistage controller for the frequency awareness of an islanded AC microgrid under i-SCA algorithm. _Int. J. Ambient Energy_ . 43 (1), 2681–2693 (2022). 28. Khokhar, B., Dahiya, S. & Singh Parmar, K. A robust cascade controller for load frequency control of a standalone microgrid incorporating electric vehicles. _Electr. Power Compon. Syst._ 48, 6–7 (2020). 29. Alhejji, A., Ahmed, N., Ebeed, M., Sayed, K. & Refai, A. A robust cascaded controller for load frequency control in renewable energy integrated microgrid containing PEV. _Int. J. Renew. Energy Res. (IJRER)_ . 13 (1), 423–433 (2023). 30. Mishra, D., Sahu, P. C., Prusty, R. C. & Panda, S. A fuzzy adaptive fractional order-PID controller for frequency control of an islanded microgrid under stochastic wind/solar uncertainties. _Int. J. Ambient Energy_ . 43 (1), 4602–4611 (2022). 31. Arya, Y. AGC of PV-thermal and hydro-thermal power systems using CES and a new multi-stage FPIDF-(1 + PI) controller. _Renew._ _Energy_ . 134, 796–806 (2019). 32. Sahu, P. C. & Samantaray, S. R. Resilient frequency stability of a pv/wind penetrated complex power system with CSA tuned robust Type-2 fuzzy cascade PIF controller. _Electr. Power Syst. Res._ 225, 109815 (2023). 33. Bhatta, S. K., Mohapatra, S., Sahu, P. C., Swain, S. C. & Panda, S. Novel QO-PFA governed FO-type-II fuzzy controller for LFC of thermo-electric generator based hybrid power system, _e-Prime-Adv. Electrical Eng., Electronics and Energy_, 5, 100249, (2023). 34. Routray, S. K., Choudhury, S., Sahu, P. C. & Mohapatra, S. A review analysis on various approaches for LFC of multi area power system: Robust t2 fuzzy controller, in _2023 International Conference in Advances in Power, Signal, and Information Technology_ _(APSIT)_, IEEE, 1–5. (2023). 35. Sahu, P. C. Modelling of an EV based AC microgrid for frequency profile improvement by M-CSA designed Fuzzy-T2-PSS controller. _Progress Eng. Sci._, 100057, (2025). 36. Elkasem, A. H., Khamies, M., Hassan, M. H., Agwa, A. M. & Kamel, S. Optimal design of TD-TI controller for LFC considering renewables penetration by an improved chaos game optimizer. _Fractal Fract._ 6 (4), 220 (2022). 37. Saikia, L. C. & Sinha, N. Automatic generation control of a multi-area system using ant Lion optimizer algorithm based PID plus second order derivative controller. _Int. J. Electr. Power Energy Syst._ 80, 52–63 (2016). 38. Chinta, D. P., Jatoth, R. K. & Biswal, M. Power system frequency profile improvement using satin Bowerbird optimized Tilt fractional cascade controller with reduced data based cost function. _J. Eng. Res._ 11 (4), 414–424 (2023). 39. Bakeer, M., Magdy, G., Bakeer, A. & Aly, M. M. Resilient virtual synchronous generator approach using DC-link capacitor energy for frequency support of interconnected renewable power systems. _J. Energy Storage_ . 65, 107230 (2023). 40. Choudhary, R., Rai, J. & Arya, Y. FOPTID + 1 controller with capacitive energy storage for AGC performance enrichment of multi source electric power systems. _Electr. Power Syst. Res._ 221, 109450 (2023). 41. Jagatheesan, K., Anand, B., Dey, N., Ashour, A. S. & Balas, V. E. Load frequency control of multi-area interconnected thermal power system: artificial intelligence-based approach. _Int. J. Autom. Control_ . 12 (1), 126–152 (2018). 42. Gbadega, P. A. & Saha, A. K. Load frequency control of a two-area power system with a stand-alone microgrid based on adaptive model predictive control. _IEEE J. Emerg. Sel. Top. Power Electron._ 9 (6), 7253–7263 (2020). 43. Lv, X., Sun, Y., Wang, Y. & Dinavahi, V. Adaptive event-triggered load frequency control of multi-area power systems under networked environment via sliding mode control. _IEEE Access._ 8, 86585–86594 (2020). 44. Eltamaly, A. M., Zaki Diab, A. A. & Abo-Khalil, A. G. Robust control based on H ∞ and linear quadratic Gaussian of load frequency control of power systems integrated with wind energy system. _Control Operation grid-connected Wind Energy Systems_, 73–86, (2021). 45. Bu, X., Yu, W., Cui, L., Hou, Z. & Chen, Z. Event-triggered data-driven load frequency control for multiarea power systems. _IEEE_ _Trans. Industr. Inf._ 18 (9), 5982–5991 (2021). 46. Yakout, A. H., Kotb, H., Hasanien, H. M. & Aboras, K. M. Optimal fuzzy PIDF load frequency controller for hybrid microgrid system using marine predator algorithm. _IEEE Access._ 9, 54220–54232 (2021). 47. Abouzeid, S. I. et al. Load frequency control based on reinforcement learning for microgrids under false data attacks. _Comput._ _Electr. Eng._ 123, 110093 (2025). 48. Danaeefar, H., Barati, H. & Shirmardi, S. A. _Optimal Control of PID-FUZZY Based on Gravitational Search Algorithm for Load_ _Frequency Control Ed_ (IJERT, 2019). 49. Sahu, P. C. Impact and integration of electric vehicles on renewable energy based microgrid: frequency profile improvement by a-SCA optimized FO-Fuzzy PSS approach. _Green. Energy Intell. Transp._ 4 (2), 100191 (2025). 50. Yang, C., Zhao, Y., Li, X. & Zhou, X. Electric vehicles, load response, and renewable energy synergy: A new stochastic model for innovation strategies in green energy systems. _Renew. Energy_ . 238, 121890 (2025). 51. Gbadega, P. A. & Sun, Y. Multi-area load frequency regulation of a stochastic renewable energy-based power system with SMES using enhanced-WOA-tuned PID controller, _Heliyon_, 9, 9, (2023). 52. Ahmed, N. M. et al. A new optimized FOPIDA-FOIDN controller for the frequency regulation of hybrid Multi-Area interconnected microgrids. _Fractal Fract._ 7 (9), 666 (2023). 53. Mohamed, E. A. et al. An optimized hybrid fractional order controller for frequency regulation in multi-area power systems. _IEEE_ _Access._ 8, 213899–213915 (2020). 54. Ahmed, E. M., Mohamed, E. A., Elmelegi, A., Aly, M. & Elbaksawi, O. Optimum modified fractional order controller for future electric vehicles and renewable energy-based interconnected power systems. _IEEE Access._ 9, 29993–30010 (2021). 55. Arya, Y. A novel CFFOPI-FOPID controller for AGC performance enhancement of single and multi-area electric power systems. _ISA Trans._ 100, 126–135 (2020). 56. Zaid, S. A. et al. A new intelligent fractional-order load frequency control for interconnected modern power systems with virtual inertia control. _Fractal Fract._ 7 (1), 62 (2023). 57. Almasoudi, F. M., Magdy, G., Bakeer, A., Alatawi, K. S. S. & Rihan, M. A new load frequency control technique for hybrid maritime microgrids: sophisticated structure of fractional-order PIDA controller. _Fractal Fract._ 7 (6), 435 (2023). 58. Almasoudi, F. M. et al. Nonlinear coordination strategy between renewable energy sources and fuel cells for frequency regulation of hybrid power systems. _Ain Shams Eng. J._ 15 (2), 102399 (2024). 59. Khalil, A. E., Boghdady, T. A., Alham, M. & Ibrahim, D. K. Enhancing the conventional controllers for load frequency control of isolated microgrids using proposed multi-objective formulation via artificial rabbits optimization algorithm. _IEEE Access._ 11, 3472–3493 (2023). 60. Ojha, S. K. & Maddela, C. O. A FOPIDN-(1 + PIDN) controller design and optimization for load frequency control system integrated with renewables and electric vehicles. _Electrical Engineering_, 1–27, (2025). 61. Jena, N. K. et al. Impact of a redox flow battery on the frequency stability of a five-area system integrated with renewable sources, _Energies_, 16, 14, 5540, (2023). 62. Singh, B., Slowik, A. & Bishnoi, S. K. A Dual-stage controller for frequency regulation in a two-area realistic diverse hybrid power system using bull–lion optimization, _Energies_ 15, 21, 8063, (2022). 63. Barakat, M. Novel chaos game optimization tuned-fractional-order PID fractional-order PI controller for load-frequency control of interconnected power systems. _Prot. Control Mod. Power Syst._ 7 (2), 1–20 (2022). 64. Mishra, S., Nayak, P. C., Prusty, R. C. & Panda, S. Modified multiverse optimizer technique-based two degree of freedom fuzzy PID controller for frequency control of microgrid systems with hydrogen aqua electrolyzer fuel cell unit. _Neural Comput. Appl._ 34 (21), 18805–18821 (2022). 65. Kreishan, M. Z. & Zobaa, A. F. Mixed-integer distributed ant colony optimization of dump load allocation with improved islanded microgrid load flow, _Energies_, 16 1, 213, (2022). 66. Wang, J., Wang, W., Hu, X., Qiu, L. & Zang, H. Black-winged kite algorithm: a nature-inspired meta-heuristic for solving benchmark functions and engineering problems. _Artif. Intell. Rev._ 57 (4), 98 (2024). 67. Abazari, A., Monsef, H. & Wu, B. Coordination strategies of distributed energy resources including FESS, DEG, FC and WTG in load frequency control (LFC) scheme of hybrid isolated micro-grid. _Int. J. Electr. Power Energy Syst._ 109, 535–547 (2019). 68. Chen, Q., Wang, L., Sun, Y., Xie, S. & Wang, R. Adaptive integral sliding mode MPPT control for wind turbines with fixed-time convergence. _IET Renew. Power Generation_, (2024). 69. Ahmed, M., Magdy, G., Khamies, M. & Kamel, S. Modified TID controller for load frequency control of a two-area interconnected diverse-unit power system. _Int. J. Electr. Power Energy Syst._ 135, 107528 (2022). 70. Prusty, U. C., Nayak, P. C., Prusty, R. C. & Panda, S. An improved moth swarm algorithm based fractional order type-2 fuzzy PID controller for frequency regulation of microgrid system. _Energy Sources Part. A: Recovery Utilization Environ. Effects_, 1–23, (2022). 71. Fauzi, F., Yasin, N., Leong, J. & Ismail, B. Design of 30 kW three-phase string inverter using simulink, in _J. Phys. Conference Series_ 1432 1 IOP Publishing, 012029. (2020). 72. Davoudkhani, I. F., Zare, P., Abdelaziz, A. Y., Bajaj, M. & Tuka, M. B. Robust load-frequency control of islanded urban microgrid using 1PD-3DOF-PID controller including mobile EV energy storage. _Sci. Rep._ 14 (1), 13962 (2024). 73. Patil, R. S., Jadhav, S. P. & Patil, M. D. Review of intelligent and Nature-Inspired Algorithms-Based methods for tuning PID controllers in industrial applications. _J. Rob. Control (JRC)_ . 5 (2), 336–358 (2024). 74. Ali, T. et al. Load frequency control and automatic voltage regulation in four-area interconnected power systems using a gradient based optimizer, _Energies_, 16, 5,2023. (2086). 75. Ekinci, S., Izci, D., Can, Ö., Bajaj, M. & Blazek, V. Frequency regulation of PV-reheat thermal power system via a novel hybrid educational competition optimizer with pattern search and cascaded PDN-PI controller. _Res. Eng._ 102958, (2024). 76. Irfan, M., Deilami, S., Huang, S., Tahir, T. & Veettil, B. P. Optimizing load frequency control in microgrid with vehicle-to-grid integration in australia: based on an enhanced control approach. _Appl. Energy_ . 366, 123317 (2024). 77. Ahmed, E. M. et al. Improving load frequency control performance in interconnected power systems with a new optimal high degree of freedom cascaded FOTPID-TIDF controller. _Ain Shams Eng. J._ 14 (10), 102207 (2023). 78. Shafei, M. A. R., Ibrahim, D. K. & Bahaa, M. Application of PSO tuned fuzzy logic controller for LFC of two-area power system with redox flow battery and PV solar park. _Ain Shams Eng. J._ 13 (5), 101710 (2022). 79. Wu, C. F., Lai, J. H., Chen, S. H. & Trac, L. V. T. Key factors promoting the niche establishment of black-winged kite Elanus caeruleus in farmland ecosystems. _Ecol. Ind._ 149, 110162 (2023). 80. Jiang, M., Feng, X., Wang, C. & Zhang, H. Robust color image watermarking algorithm based on synchronization correction with multi-layer perceptron and cauchy distribution model. _Appl. Soft Comput._ 140, 110271 (2023). 81. Magdy, G., Shabib, G., Elbaset, A. A. & Mitani, Y. Renewable power systems dynamic security using a new coordination of frequency control strategy based on virtual synchronous generator and digital frequency protection. _Int. J. Electr. Power Energy_ _Syst._ 109, 351–368 (2019). Acknowledgements The author is thankful to NGCPL/formerly National Transmission and Despatch Company (NTDC) for financial support. Author contributions Imran Khan (I.K): Conceptualization, Methodology, Paper Writing and original draft. Amil Daraz (A.D): data correction, review and editing. Suheel Abdullah Malik (S.A.M): Supervision, Resources, Reviewing and Editing. Baitullah Bareer (B.B): Methodology, Software, Review and Editing. Declarations Competing interests The authors declare no competing interests. Additional information Supplementary Information [The online version contains supplementary material available at ​h​t​t​p​s​:​/​/​d​o​i​.​o​r​g​/​1​](https://doi.org/10.1038/s41598-025-10835-z) [0​.​1​0​3​8​/​s​4​1​5​9​8​-​0​2​5​-​1​0​8​3​5​-​z.](https://doi.org/10.1038/s41598-025-10835-z) ​​ Correspondence and requests for materials should be addressed to I.K. or B.B. Reprints and permissions information is available at www.nature.com/reprints. Publisher’s note Springer Nature remains neutral with regard to jurisdictional claims in published maps and institutional affiliations. Open Access This article is licensed under a Creative Commons Attribution-NonCommercial-NoDerivatives 4.0 International License, which permits any non-commercial use, sharing, distribution and reproduction in any medium or format, as long as you give appropriate credit to the original author(s) and the source, provide a link to the Creative Commons licence, and indicate if you modified the licensed material. You do not have permission under this licence to share adapted material derived from this article or parts of it. The images or other third party material in this article are included in the article’s Creative Commons licence, unless indicated otherwise in a credit line to the material. If material is not included in the article’s Creative Commons licence and your intended use is not permitted by statutory regulation or exceeds the permitted use, you will need to [obtain permission directly from the copyright holder. To view a copy of this licence, visit ​h​t​t​p​:​/​/​c​r​e​a​t​i​v​e​c​o​m​m​o​](http://creativecommons.org/licenses/by-nc-nd/4.0/) [n​s​.​o​r​g​/​l​i​c​e​n​s​e​s​/​b​y​-​n​c​-​n​d​/​4​.​0​/.](http://creativecommons.org/licenses/by-nc-nd/4.0/) ​​ © The Author(s) 2025

섹션 본문 102문단 · 48,884자

(제목 없음)

1Microgrid frequency control faces challenges due to load fluctuations and the intermittent nature of Renewable Energy Sources (RESs).The Load Frequency Control (LFC) scheme has been a profoundly investigated matter for decades for achieving a consistent frequency.This study introduces a novel cascaded Integral-Proportional-Proportional Derivative with Filter (I-P)-PDN controller designed to mitigate frequency deviations in microgrids incorporating Photovoltaic (PV) and Wind Turbine Generator (WTG), Fuel Cells (FCs), Electric Vehicles (EVs), Battery Energy Storage Systems (BESS), and Diesel Engine Generators (DEGs).To optimize the controller's parameters, the recently introduced Black-winged Kite Algorithm (BKA) is employed for its superior search efficiency and quick convergence.Simulation results show that the (I-P) cascaded PDN controller significantly outperforms existing controllers, such as PID, and PI-based models, by reducing frequency deviations, improving settling time, and minimizing overshoot and error indices.There is notable 77% reduction in overshoot (OSH) and 52% decrease in undershoot (USH) in tie-line power variations.Moreover, the Integral Absolute Error (IAE) is reduced by 42.3%, the Integral Time weighted Absolute Error (ITAE) by 85%, and the Integral Squared Error (ISE) by 98%.The study also examines the role of EVs as flexible energy storage, demonstrating their contribution to system resilience and stability.This approach offers a robust solution for effective frequency regulation in modern microgrids, ensuring reliable performance in dynamic conditions.

Background and challenges

2The growing need of energy utilization globally underlines the insistence of transitioning from limited, nonrenewable energy resources such as fossil fuels to RESs, like wind, solar, and hydropower 1 .These substitutes energy sources offer a consistent and sustainable and supportable solution and impact the reduction in emission of CO 2 and control the effects of climate change 2 .The two common renewable energy sources that is wind and solar are advantageous due to having less operational costs and can be easily use for producing energy locally thus increasing the energy security and resiliency against disturbances and interruptions 3 .However, RESs' integration and participation into power grids arose challenges of managing and stabilizing intermittent energy generation.The transition of traditional power sources maintaining the grid inertia to RESs causes frequency excursion and variations 4 .According to the International Energy Agency's forecast, which reveals the substantial increase in photovoltaic and wind power capacity, surpassing the traditional energy sources within next decade 5 .Hence, tackling of frequency variations issues are critical for fruitful integration of RESs.The energy mix of RESs and DGs in the form of microgrid provide resilient power to the system load 6 .According to International Renewable Energy Agency (IREA) the power generation capacity of RESs globally reached to 2537 GW with share of 1190GW, 623 GW, 586 GW, 124 GW, and 14 GW and 500 MW by hydropower, wind, PVs, bioenergy, geothermal, and marine energy resources 7,8 .Due to climatic factors solar irradiation and wind speed variations causes unpredictable weather conditions resulting in intermittent power generations by RESs 9 .Thus, the frequency oscillation occur due to unpredictable power generation of RESs and stochastic nature of loads 10,11 .Besides renewable energy sources, electric vehicles are an emerging trends in ecosystemfavored cars productions in automotive industry 12 .EVs technology contribute to gasoline consumption and greenhouse gas emissions reductions.The EVs are linked to microgrid or conventional power grid over distribution network as flexible load allowing two-way power either to or from the grid [13][14][15] .The EVs batteries serves as mobile energy storage banks support the RESs integration and supplies stored energy during peak load thus improving power system sustainability 16 .The RESs and energy storage sources and other Distributed Generations (DGs) sources are integrated in the form of islanded microgrid (IµG), grid connected mode or interconnected microgrids.The power in islanded mode is shared to the local loads.The µG integrated with various AC and DC power sources such as PVs, wind turbines, and energy storage banks, permits power sharing in networked multi-microgrids configuration 17 .These systems boost up the grid reliability, improve resilience and benefiting maximum power accessibility.However, islanded and multi-µGs suffer challenges with specific to

Literature review

3In order to confront the major challenge of frequency regulation in microgrids, scientists and researchers have provided a lot of assistance and effort.For maintaining frequency within permissible limits and balanced tie line power in interconnected microgrids, load frequency controllers have been required 23 .In the past, frequency control techniques have utilized controllers such as proportional integrals and proportional integral derivatives due to their simplicity and simplicity to implement.For the investigation of nonlinear and uncertain power systems, the adjustment of a PID controller can be a cumbersome process, and determining the optimum gains involves a lot of computation and experimentation.Improved performance has been achieved through advanced controllers like double derivatives (DD) and integral double derivatives (IDD).Different optimization algorithms such as Bacterial Foraging-based Optimizer Algorithm (BFOA), have been used for fine tuning the parameters, leading to more efficient LFC strategies 23,24 .Jaya based optimized model predictive control for frequency regulation in multi-area power system under nonlinearities circumstances an TLBO-LMI based optimized PI controller for three areas reported in 25,26 .A robust FO-Multistage PD/(1 + PI) controller is optimally implemented using an improved Sine Cosine Algorithm for frequency regulation in an isolated AC microgrid facing renewableinduced intermittencies 27 .Further, control strategy employing like proportional integral-proportional derivative (PI-PD) 28 , PD-PI 29 , type-2 (fuzzy-PID) 30 controllers are employed to lessen frequency deviation in microgrid.Various cascaded controller types have been used for load frequency regulation 31 .The Crow Search Algorithm (CSA) based optimization of Type-2 Fuzzy Cascaded PI Fractional Order (T2F-CPIF) controller improving inter areas power and frequency regulation in complicated power grids having disturbances reported in 32 .The Quassi-Oppositional Path Finder Algorithm (QO-PFA) based optimization of Fractional Order Type-2 Fuzzy Controller (FO-T2FC) results in enhanced frequency regulation against renewable intermittency compared to Type-1 fuzzy and classical PID controllers presented in 33 .The Type 2-fuzzy (T2F) controller, optimized by discrete water cycle algorithm enhances frequency stability in comparison to classical PID controllers presented in 34 .A Fuzzy Type-2 PSS tuned with Modified Crow Search Algorithm effectively regulating and stabilizing frequency in isolated microgrids with electric vehicles under renewable uncertainties.It outperforms classical PID and fuzzy based controllers in dynamic circumstances 35 .

4Recent literature studies 36 explore a dual-controller cascade strategy with PIDD2 (Proportional Integral Derivative, Double Derivative) controller framework for frequency fluctuations mitigation in two-area tied power system 37 .The cascaded control strategy employing Integral-Tilted Proportional Fractional Order Derivative (I-TPFOD) controller was introduced using Satin Bowerbird Optimizer having built in novel integral-square error cost function 38 .Similarly, a dual-controller method with Particle Swarm Optimizer (PSO) was introduced utilizing an integrator for frequency regulation and proportional-integrator for virtual inertia control of interconnected grids 39 .The FOPTID + 1 control strategy for LFC employing Global Neighborhood Algorithm (GNA) for parameters optimization was introduced 40 .For load-frequency regulation and management of power system, numerous control approaches have been adopted using sliding mode controllers 41 , adaptive model predictive control (AMPC) for two area power system with one isolated microgrid in 42 model predictive control reference in 43 , linear-matrix inequality 44 , resilient control methods 45 , data-driven controllers 46 , impact of simultaneous false data injection attacks (FDIAs) on microgrid's (LFC), a strategy is implemented that integrates an unknown input observer (UIO) with a Reinforcement Learning-based Policy Gradient controller to ensure frequency security under disturbances in 47 , and Fuzzy Logic based Control referenced as 48 .The Fractional Order-Fuzzy power system stabilizer controller, fine-tuned with advanced sine-cosine algorithm significantly enhanced frequency regulation in response to EVs and intermittency of RESs in 49 .The grid to vehicle (G2V) and vehicle to grid (V2G) services with different conditions lessening the maximum demand, operational costs, and demand mismatches presented in 50 .The enhanced whale optimization algorithm based tuning of classical PID outperformed compared to simple whale optimization algorithm under several restraints and disturbances 51 .Cascaded load frequency control technique employing fractional order proportional integral derivative accelerated cascaded fractional order integral derivative with filter (FOPIDA-FOIDN) control was presented 52 using hybrid optimizer Artificial Gorilla-Troops (AGTO) and Equilibrium Optimizer (EO) HGTOEO.Additionally, the control strategy for LFC employing hybrid controllers merging fractional order proportional integral derivative (FOPID) and Tilted Integral Derivative (TID), termed Fractional Order Tilted Integral Derivative (FOTID), parameters were refined with Manta-Ray-Foraging (MRFO) algorithm 53 , and PFOTID with artificial-ecosystem optimizer control strategy developed in 54 , and FOPID based AGC strategy optimized via imperialist competitive algorithm (ICA) in 55 .An intelligent-fractional order integrator (iFOI) LFC method with Grey Wolf Optimizer (GWO) and Fractional Order PID-Accelerated (FOPIDA) controllers for maritime microgrid frequency stability, was introduced in 56,57 .A new non-linear Proportional Integral LFC strategy with Dandelion Optimizer algorithm (DOA) was employed for single area electric grids 58 , PI and PID LFC strategy for multiple sourced based microgrid systems using Artificial Rabbit Optimizer algorithm (ARO) for parameters tuning 59 .A FOPIDN-(1 + PIDN) controller optimized with Grey wolf Optimizer for frequency regulation of power systems integrated with renewable energy sources and electric vehicles with superior performance reported in 60 .FOPIDN-FOPDN LFC strategy tuned with Selfish Herd Optimizer (SHO), proposing superiority of PSO technique for five area tied grids frequency stabilization by studying impact of redox-flow batteries 61 .Aforementioned research literature survey reveals that the selection choice of the control is equally important like that of controller parameters.The introduction and implementation of evolutionary algorithms techniques As an illustration, the authors implemented following optimization methods: Self-Tuned Algorithm (STA) 24 , Bull-Lion Optimization (BLO) 62 , Chaos Game Optimization (CGO) 63 , modified multiverse optimizer 64 , and Sunflower optimization algorithm (SOA) and Ant Colony Optimization (ACO) 65 .Meta-heuristic optimization techniques are proven as a best solution to complex nature problems having limitations, constraints and other optimization challenges in the microgrid (µG) domain.They are stimulated by natural phenomena such as genetic evolution, and diverse animal behaviors.Meta-heuristic optimization employs random, local, and global search tools to find optimum solution of problem.The present study presents a recently introduced a nature inspired metaheuristic algorithm called the black-winged kite algorithm that draws inspiration from hunting and migration behavioral patterns of small prey bird 'Black-winged Kite' for tuning the parameters of proposed (I-P)-PDN controller.The black-winged kite has blue gray upper body and lower white.The algorithm is developed based on the monitoring the hunting strategy, its energy foraging behavior and hovering capabilities.The black -winged kite hovers over specific areas to explore prey, with precisely locating and exploiting the prey prior to diving.The hovering initiates global search phase to explore potential solutions.The algorithm aims to reduce the computational costs by leveling the exploration and exploitation, prevent the redundant computation and dynamically reduce the step size improving the adaptability in the uncertain problems.The Black-winged Kite Algorithm (BKA) incorporates both the Cauchy mutation mechanism and a leader-based strategy to improve its global search capabilities and accelerate convergence.This innovative optimization approach demonstrates an effective balance between global exploration and local exploitation.Empirical evaluations show that BKA outperforms alternative algorithms in 66.7%, 72.4%, and 77.8% of instances when benchmarked against the standardized test of CEC-2022 and CEC-2017.Furthermore, its application to engineering design problems underscores its practical efficacy in addressing constrained real-world challenges, thereby highlighting its strong computational efficiency and competitive performance relative to contemporary optimization methodologies 66 .

5The detailed literature survey is shown in Table 1.

Research contribution and motivation

6The authors are motivated to propose a novel (I-P)-PDN controller for secondary loop controller for islanded and interconnected microgrids.The proposed controller has an additional signal (Po) support.Moreover, a black-winged kite algorithm is employed for optimization of proposed controller's parameters.For improving frequency control problem under stochastic nature of RESs, EVs with battery capacity in term of saturation limits are added to the networked microgrids.The communication delay of 1µs is considered for IµG and interconnected microgrid in area-1.The research contribution is summarized as follow;

7• (I-P)-PDN controller optimizes frequency stability in RES and EV-based microgrids.

8• Comparison of proposed controllers with PID and FPDN-FPTID using performance indices.

9• BKA outperforms compared to DO, PSO, and TLBO and other optimization algorithms.

10• Evaluating proposed controller's resilience and flexibility in worst-case scenario.

11• Introducing BKA for fine-tuning controllers in diverse microgrids configurations.

Organization of paper

12The paper is organized as follows: Sect. 2 describes structure, block diagram and modeling of IµG and interconnected µGs.Section 3 details about the implementation of proposed control strategy, objective function formulation and development of proposed controller and black-winged kite algorithm.Section 4 covered the simulation results and discussion for proposed controller (I-P)-PDN.Section 5 covered the simulation results of interconnected microgrids, which is followed by sensitivity analysis at Sect. 6.The stability analysis at Sect. 7. The Sect. 8 details about conclusion and future recommendations.

Modeling of islanded and interconnected microgrids

13In the proposed islanded microgrid, distributed generations (DGs) including FCs, BESSs, DEGs, PVs, WTGs and EVs are integrated.Figure 1 shows the mathematical modelling of Islanded microgrid.The microgrids parameters and their nominal values are given in appendix A.

Mathematical modeling of battery energy storage source

14The battery energy storage system consists of battery banks operating with the nominal operating region irrespective of the constraints.T 3 is DC/AC inverter time constant, T 1 is the measurement time constant and T 2 is the delay time constant 67 .The change in power of BESS for control signal is given in Eq. ( 1).

Mathematical modeling of diesel generator

15The diesel engine generator provide constant and rapid source for power supply to the load and a typical DEG has constraint like inertia delay (T 7 ), governor time constant (T 8 ) and turbine time constants (T 9 ) 67 .The transfer function model of DEG is given in Eq. ( 2).

Mathematical modeling of fuel cell

16The fuel cell model has (DC/AC) inverter with time constant (T 5 ), measurement delay (T 4 ) and interconnection blocks (T 6 ).The transfer function model of fuel cell for control signal ( ∆ u) is expressed as follows in Eq. ( 3) 67 .

Mathematical modeling of wind turbine generator

17The wind turbine model use wind velocity to produce electric power.The generalized power for wind turbine is defined in Eqs.(4-4c) 68 .

18Where P WTG is wind turbine's output power, V wind's rated speed, A is rotor's swept area, and C p is performance coefficient of rotor's blades 69 .The wind turbine parameters are given in appendix B.

Mathematical modeling of photovoltaic

19The photovoltaic generate intermittent power due to variations of solar irradiance ( ∅ ).However, still it provides resiliency to the power system, supplying the load.The photovoltaics power can be presented as below in Eq. ( 5) 70 .

20Where T a is ambient temperature (°C), A is surface area (m2), ∅ is solar irradiance (W/m 2 ), γ solar panel efficiency, usually in range of 09 to 12%.The modeling parameters for 30 kW PV power 71 are given in appendix C.

Mathematical modeling of electric vehicle

21The present study explores the strategic deployment of electric vehicles (EVs) as dynamic, flexible loads within the broader framework of frequency regulation.Rather than isolating individual charging strategies, the focus is placed on the collective behavior of EVs, which can be effectively modeled as a distributed network of Mobile Energy Storage Units (MESUs).This abstraction enables a system-level perspective where EVs contribute meaningfully to demand-side energy management and grid stability.Through Vehicle-to-Grid (V2G) integration, EVs can discharge stored energy back into the grid, thereby providing ancillary services such as frequency stabilization.The efficacy of V2G operations depends significantly on the state of charge (SoC) of each vehicle's battery.In this context, a standard operating SoC of 85% is maintained, allowing a ± 5% tolerance range to ensure consistent availability for grid services.Furthermore, to safeguard battery health over time, a target SoC ceiling of 90% is respected to mitigate degradation caused by frequent deep cycling 72 .For practical utility, particularly to accommodate imminent travel needs, the SoC is never permitted to fall below 80%, ensuring sufficient charge for mobility purposes while allowing limited discharge flexibility for V2G support.In addition to discharging capabilities, EVs are also exploited as flexible charging loads, referred to as Grid-to-Vehicle (G2V) interactions.This controlled charging mechanism enables EVs to absorb surplus grid energy during periods of low demand or high generation, effectively acting as an energy sink.The aggregate effect of coordinated EV fleets becomes a powerful tool in managing load profiles, especially in complex power systems incorporating multiple sources.

22To facilitate this role, an aggregated microgrid model is employed, wherein a fleet of EVs responds to centralized load frequency control (LFC) signals that regulate SoC targets in real-time.EVs support frequency regulation through bidirectional power flow.Load frequency control signal is input to the EVs and the discharging and charging power is the output represented by ∆PEV s1 and ∆PEV s2 in area-1 and 2 respectively.The detail model of PEVs is presented 35,72 .They function as flexible loads, enabling real-time energy adjustments.The process is governed by the energy control signal E control (t).This represents the total controllable energy of the EV fleet, based on the Total Energy Model.EVs participate in frequency regulation as long as E control satisfies below condition in Eq. ( 6) 49 .

23Emin control=

24The E control is controlled energy of PEVs.The minimum and maximum energy control can be expressed in term of battery capacity (C kWh ) and N control by Eqs. ( 7) and (8).

25Where Ncontrol indicates the quantity of EVs managed.The N control can be expressed below;

26N initial denotes initial counting of PEVs and N control_in denotes number of EVs transit from charging condition to controllable condition, Np lug_out denotes number of EVs fully charged and in driving condition.The transfer function for EVs model is given as follows in Eq. (10).

27Where T ev and T inv are EVs and inverter time constants respectively.The inverter capacity is denoted by C kW .

Proposed control strategy

28This section explains the proposed control strategy, proposed controller structure and its parameters optimization using BKA optimization and the advantages of dual loop controllers over single loop controllers like PI, PID etc. Conventional PID controller is one of the most flexible controllers providing the robustness and effective response 34 .Attaining the stability and reliability of power system to regulate the frequency, it is necessary to fine tune the controller with appropriate optimization technique.A controller should be designed such that it can handle disturbances 35 , show robustness to intermittent sources.Equation ( 11) illustrates transfer function model of classical PID controller in s-domain 73 .In comparison to one loop controllers, the dual loop controllers are superior in sense that inner loop not only set points, for second stage controller but it regulates the system inner process 38 .The two-loop process occur in sequential way.

29The proposed controller consists of an (I-P) controller making an inner loop with support input signal (Po) as feedback to the PDN controller and stage two loop of final output feedback to (I-P) controller.The proportional gain is placed in feedback and integral controller in feed-forward path.The transfer function model of (I-Algorithm.Black-winged Kite Algorithm.

30P) controller is given by Eq. ( 12) 74 .The I-P controller has two gains, K p1 and K i .The second stage controller PDN has three gains K p2 , K d and filter coefficient N. The controlled signal u 1−P(s) of (I-P) controller, transfer function of PDN controller and final controlled signal C(s) of two stage controller is given by Eqs. ( 12), ( 13) and ( 14) respectively 75 .Figure 2, shows the proposed controller block.

31G (s

Objective function and problem formulation

32The LFC controller performance dependent on the selection of the objective function (OF).Different multiobjective functions have been proposed in previous studies for reduction in frequency deviations for islanded and interconnected µGs.In this research performance indices ITAE, ISE, ITSE and IAE are used to demonstrate the efficacy of the proposed control strategy using three metaheuristic algorithms, Lyrebird Optimization Algorithm (LOA), Jellyfish Searching Optimization (JSO) and Black-winged Kite Algorithms.Population size of 30 No's of Lyrebirds, crossover of 0.8, mutation rate and standard deviation of 0.1 is used for LOA.The population size for JSO and search agents for BKA is set to 30 No's.The iterations are taken 500 kept same for optimization process.

33The LOA and JSO can rapidly reach near the optimal solutions in the premature stages of optimization process.Thus, attaining the fast convergence.However, this premature convergence makes the algorithm getting trapped in local optima without the thorough exploration of global search space.In comparison the BKA, slowly converges, maintaining the better equilibrium between exploration and exploitation.The BKA maintains population diversity and integrates strategies to escape local optima, thus making it able to search the solution space more thoroughly.This led to final superior solutions, specifically, in complex or multimodal optimization problems.In this context, although BKA may take slightly more time than LOA and JSO to reach convergence, however, it often outperforms LOA and JSO in terms of solution quality, making it a more robust choice for finding the global optimum.The performance indices and controller's gain maximum and minimum range are given by Eqs. ( 15), ( 16), ( 17), ( 18) and ( 19) [76][77][78] .

34The lower bound limit for (

35) is (0, 0, 0, 0) and upper bound for

The black-winged kite algorithm

36The black-winged kite (BK) is a bird characterized with upper body blue-gray in color, lower body part is white.The predator prey relation and migration behavior are their prominent characteristics.They eat and survive on tiny mammal, birds and reptiles and strong flying potentials, and can get an unexpected success in hunting process 79 .The author introduced a new algorithm modeled based on inspiration from migration and hunting skills of the black-winged kites 66 .The Black-winged Kites algorithm consists of three phases initialization, attacking and migration.

Initialization phase

37While initialization of population in BKA, the primary stage is a set of random solution.The location of each black-winged kite can be given in matrix form by Eq. ( 20).While Eqs. ( 21), ( 22) and ( 23) represents the random populations, the best solution and the initial populations respectively.

38Where BK ub and BK lb are upper and lower bounds of i th black-winged kites, the potential solutions can be represented by pop.The dim is given problem's dimension and initial population can be represented by XL.

Attacking behavior

39Black-winged kites (BKs) adjust their position in accordance to the wind speed, during fight and flying at high altitude for searching the prey, and abruptly dive and attacking on prey.The This attacking approach comprises of several attacking actions and behaviors for global exploration and search.The BKs attacking behavior can be represented by mathematical expression by Eqs. ( 24) and ( 25) 66 .

40Fig. 3. Flow chart for BKA.

41Among them, y ij t and y ij t+1 , denote the position of i th (BK), in the j th dimension in t th and iterations (t + 1) th , r can be any random value between 0 and 1, p = 0.9, T is maximum iterations, and t is current iteration number.

Migration behavior

42The BKA imitates complicated migration behavior of BKs in exploitation phase.Birds migrate due to climate change and availability of food and other factors.Lead birds often play vital role in migration initiation to accomplishment.The Mathematical expression for migration action of (BKs) is given by Eqs. ( 26) and ( 27) 66 .

43L i t is BKs leading scorer in jth dimension in t th iteration, and y ij t and y ij t+1 are the location/position of the i th BKs in jth dimension in t and (t + 1) th iteration steps, respectively.Where C(0,1) is Cauchy's mutation 80 .Fi is current position by any BK in j th dimension in t iteration.Fri is fitness value of random position obtained by any BKs in t iteration in j th dimension.The mono-dimensional Cauchy distribution with probability density function is given by Eqs. ( 28) and ( 29) 66 .

44The flow chart for the BKA algorithm is shown in Fig. 3.

Simulation results and discussions

45In this research, a load frequency response model for a microgrid in Fig. 1 This research considers four cases and five distinct scenarios for IµG to completely assess the controller's efficacy in diverse conditions.Finally, the robustness and stability analysis are carried out.The simulation results for different scenarios are presented in Tables 2, 3 and 4.

Case-I: step load of 4% to IµG

46In this case a step load of 0.04pu is applied to the IµG.The three Lyrebird optimization (LOA), Jellyfish Searching optimization (JSO) and Black-winged Kite Algorithms (BKA) are used for optimization of proposed controller.The proposed controller with BKA optimizer outperformed with minimum ITSE and ISE values of 0.00000499pu and 0.00009638pu respectively.The LOA and JSO have ITSE values 0.004pu and 0.0003pu, and ISE values of 0.000109pu and 0.00013336pu respectively.Figures 5 and 6 show the frequency deviation in islanded microgrid when the ITSE and ISE are used as fitness functions in the optimization process.It is much clear from the Figs. 5 and 6 that there is very less OSH and USH in frequency deviation while using the BKA is an optimizer, clearly dominating the efficacy of the BKA over LOA and JSO.The BKA has reduced the ITSE up to 99.8% from 0.004pu to 0.00000499pu, and 28% reduction in ISE from 0.00013336pu to 0.00009638pu.Thus, the BKA demonstrates its superiority over LOA and JSO.

Case-II: load fluctuations with lack of RESs

47Scenario-1:

48Step-up load of 5%, 10%, 15%, 20%.Scenario-2: Severe dynamic load (disturbance at t = 2s, t = 4s, t = 6s and t = 8s).

Scenario-1:

49Step-up load of 5%, 10%, 15%, 20%.

50In this first scenario, the efficacy of proposed controller (I-P) cascade PDN for IµG is evaluated by applying stepping up load of 5%, 10%, 15% and 20% at time t = 2s.The results for different performance parameters are presented in the Table 2, illustrates that the proposed (I-P)-PDN controller performed better than other controllers due to quick response to perturbations with quick settling and no OSH.The lowest OSH and USH values are − 0.00 × 10 −5 and − 0.011pu at step load 5% and 0.00 × 10 −5 and − 0.018pu at 10%.The proposed controller's response settles 0.019s, 0.01, 0.015s and 0.016s faster than other controllers at the four distinct step load.The frequency response of scenario-1 for each step load at t = 2s is given in Fig. 7, (a), (b), (c) and (d).

Scenario-2: Severe Dynamic load at t = 2s, t = 4s, t = 6s and t = 8s

51In this scenario a random load with initial stepping at time t = 2s, then 2s delay between consecutive steps of Fig. 8 is applied to islanded microgrid.The first load disturbance (0 to -5% at t = 2s), second disturbance at (-5-10% at t = 4s), third disturbance at (10% to -2.5% at t = 6s) and fourth at (-2.5 to 7.5% at t = 8s).Figure 9, shows the frequency response of each controller against the load disturbances and Table 3. results illustrate that the (I-P)-PDN attains ISE value of 317 × 10 −6 pu and Ts of 0.35s for disturbance (-2.5 to 7.5% at t = 8s) and minimal Ts of 0.3s for (-5 to 10% at t = 4s) and the first disturbance (0 to -5% at t = 2s) is settled just in 0.344s.

Case-III: presence of RESs and different loading conditions

52Scenario-1: Presence of RESs power and absence of load disturbances.Scenario-2: Presence of RESs power and step-up load of 20% at t = 55s.Scenario-3: Presence of RESs and additional step load of 8% at t = 65s.

Scenario-1: Presence of RESs power and absence of load disturbances

53In case-III (scenario-1), the islanded microgrid is subjected to load without any change in load or addition of any disturbance.The µG response is simulated for 60 s.From the Table 4 it is reveals that the controller performs well compared to other controllers with lowest performance index ISE of 1.74 × 10 −6 pu and OSH of 13 × 10 −4 pu.The response of the proposed controller is indicated in red color in zoomed view in Fig. 10.It is clear that the controller performed well in reduction in T s .

Scenario-2: Presence of RESs power and step load of 20% at t = 55s.

54This scenario is implemented with application of step load of 20% at time t = 55s for stability analysis of the controller.The Fig. 11, reveals that the controller outperformed with no OSH and quick settling time with high reliability.

Scenario-3: Presence of RESs and additional step load of 8% at t = 65s.

55In this scenario, the proposed microgrid with the proposed controller is subjected to step light load of 8% at t = 65s in addition to 10% load (case-II, scenario-1) to analyze the efficacy of controller in term of under frequency.Again, as shown in the Fig. 12, the under frequency has attain the value of -0.0398pu almost same value for individual load of 0.1pu without any variation or change in frequency response.

Case-IV: Variable RESs (PV, Wind) and irregular load.

56In this scenario an irregular load 81 of 15% is modeled for IµG.The stability and reliability analysis of proposed controller against uncertain RESs and irregular load.It is illustrated from the Fig. 13, that over frequency has value of 1.8 × 10 −3 pu at t = 2.5s and 1.6 × 10 −3 pu at t = 5.1s and under frequency with a value of -6 × 10 −3 pu at t = 10s.The response after 10s is almost linear, it is straightforward that suggested controller performed better irregular nature of load.The performance error indices for interconnected µGs in scenario-1 indicates that our proposed (I-P)-PDN controller perform very well as compared to other controllers.

Performance analysis of the proposed control strategy for two interconnected µGs

57In this section, the proposed LFC strategy is tested over 02-areas interconnected µGs network as shown in Fig. 14.The RES wind turbine is dedicated to area-1 and PV source supplies power to area-2.The interconnected microgrid parameters are defined in appendix D. The simulation of two area interconnected microgrid is carried out with optimized parameters of proposed controller are given in appendix E. ∆ f1, ∆ f2are the frequency responses of area-1 and area-2 and ∆Ptie is the tie line power.The objective functions ITSE and ISE for the interconnected µGs are given in 77 .The minimum objective function values are obtained for ITSE of 49.9× 10 −7 , 96.3× 10 −6 for ISE, 53.96 × 10 −5 for ITAE and 41.36 4 × 10 −4 in comparison to its contemporary optimization algorithm, Dandelion Optimizer as reported in the literature.

58The interconnected microgrid is tested over four scenarios.Scenario-1: step load of 10% for both areas with lack of RESs and EVs.Scenario-2: step load of 10% for both areas with RESs and lack of EVs.Scenario-3: step load of 10% for both areas in presence of EVs and RESs.Scenario-4: Irregular load of 15% for both areas with intermittent RESs and EVs.

Scenario-1:

59Step load of 10% for both areas with lack of RESs and EVs.

60In the first scenario, a step load of 10% is applied to both areas, in the absence of RESs.As indicated from the Tables 5 and 6, the suggested controller outperformed with (I-P)-PDN controller.The area-1 has frequency response with minimum OSH of 0.0227 × 10 −4 pu and USH of -1.285 × 10 −3 pu for ∆f 1 and OSH of 0.00917 × 10 −4 pu and USH of -1.200 × 10 −3 pu for ∆f 2 .The two responses in the area-1 and 2 settled faster than other controllers with settling period of 0.75s and 0.98s respectively.Additionally, the tie line power response settled in only 1.189s with minimum ITSE of 0.499 × 10 −5 pu.In comparison of two stage controllers, the FPID performed well among all the remaining controllers with settling time of 2.7s and 2.4s for area-1 and area-2 respectively.Among the single stage controllers FPID responses settled faster with 3.7s and 4.3s for area-1 and 2 than other remaining single stage controllers.The frequency and tie-line power responses are given in Fig. 15.

Scenario-2:

61Step load of 10% for both areas with RESs and lack of EVs.

62In second scenario, the intermittent RES wind power is connected to area-1 and PV power to area-2 with step load of 10% for both areas.The Fig. 16a-c, and Table 7, reveals that the suggested controller performed well in compassion to all other controllers with minimum integral weighted square error of 1.60 × 10 − 5 pu.The commonly used evaluation criterion ITAE has attain minimum value of 3.88 × 10 − 5 pu.The frequency responses have minimum OSH of 4.18 × 10 − 4 pu and USH of -4.31 × 10 − 6 pu for ∆f 1 and OSH of 1.4 × 10 − 3 pu, USH of -1.3 × 10 − 3 pu for ∆f 2 .

63Scenario-3: step load of 10% for both areas in presence of RESs and EVs.

64The impact of electric vehicle as flexible load is investigated with proposed controller (I-P)-PDN.In this case a 10% step load at t = 0 s is applied to the area-1 and area-2 in the presence of RESs (PV, WTG).Table 7, and 8, illustrate that the performance indices are improved with the addition of electric vehicles as flexible load.The same electric vehicle model is added to both the area of interconnected microgrid.The performance comparison of the (I-P)-PDN and FPDN-FPTID controllers is carried out with same gains for network microgrid with EVs as flexible load.There is 77% reduction in tie line power OSH (-0.35 × 10 −6 to -0.804 × 10 −7 ) and 52% USH (-0.85 × 10 −4 to -0.4012 × 10 −4 ) for proposed controller with inclusion of electric vehicles in both areas respectively.The integral weighted absolute error is reduced by 64% (15.5 to 5.49) and 48% (18.5 proposed (I-P)-PDN controller as illustrated in Fig. 17a-b.The PV power is slightly changed at almost 10s and 18s from 0.015pu to 0.01213pu and ∆PBESS2 from 0.0425pu to 0.0422pu in area-2 due to loading behavior of EVs.The proposed controller performed well with the incorporation of EVs as flexible load as indicated from Table 8; Fig. 17 (a-b), and Fig. 18.

Scenario-4: Irregular load of 15% for both areas with intermittent RESs and EVs

65In this scenario stochastic load of 0.15pu approximately is connected to area-1 and area-2 simultaneously and WTG of 100 kW is dedicated to the area-1 and PV of 30 kW is to area-2.The intermittency of wind (speed= [0 5 10 12 15 14], time= [0 10 15 20 25 30]) to WTG and of solar irradiance (G= [300 500 300 200 350], time= [0 10 15 20 30]) to PV is applied.For inter-relation of intermittency of RESs and availability or non-availability of EVs in area-1 or 2, four conditions have been studied.

Condition-I: Availability of EVs in both areas:

66In this condition, EVs in both areas are present and connected.At almost 5s both the EVs in area-1 and area-2 comes into contribution of power of 9.064 × 10 -6 pu and 3.25 × 10 -5 pu, while P WTG is 0 pu, while P pv is 0.01234pu at about 6s.The WTG supplies its power of almost 0.003488pu and PV of 0.0158pu, the EVs power at this time becomes 2.6 × 10 -6 pu and 7.9 × 10 -6 pu respectively.This power is supplied by RESs at time 10s.At internal 10.58s the EV s1 power cutoff raising PV and WTG power to 0.01707 pu and 0.00248pu respectively.At 10.815s the EV s1 , EV s2 cutoff their power and PV power raised to 0.01852pu.At 12.576s, EV s1 power goes up to 6.185 × 10 -7 pu, and EV s2 of 0.047pu and PV power reaches to 0.02088 pu.At 12.35s again EV s1 = EV s2 = 0.04u and the P pv of 0.02077pu.At 15.385s, the EV s2 is of 1.5 × 10 -8 pu and EV s1 is of 0.04pu and the P WTG is 0.0198pu and P pv of 0.009213pu.The EVs power in both the areas become equal to zero at time nearly equal to 17.5s, at the same time WTG supplies the power of 0.01988pu and PV contribute to 0.01222pu.Similarly, at 18s the EVs in area-1 have power of 1.1 × 10 -6 pu, but WTG supplies 0.01988pu, thus, the power of EVs in area-1 is decreasing till become zero at 20s and EVs power in area-2 has also goes down to zero.At 22s the P WTG and P pv is recorded 0.03432pu and 0.00789pu respectively.After this again, at 28s EVs in area-1 going to decrease that is 1.36 × 10 -6 pu and EVs in area-2 become zero, the P WTG at this time has highest value of 0.06pu and P pv of 0.0067pu.The minimum power of EVs in area-1 becomes 7.9 × 10 -8 pu till 30s.The OSH and USH values for ∆f 1 are 1.75 × 10 -6 pu and − 1.40 × 10 -3 pu, for ∆f 2 are 8.5 × 10 -5 pu, and − 1.7 × 10 -2 pu, and for ∆P tie are 1.02 × 10 -6 pu and − 2.93 × 10 -6 pu respectively.

67Condition-II: Availability of electric vehicles in area-2 only: In this condition, the electric vehicles in area-2 are made available and area-1 have no connectivity of EVs.At time of 10s the WTG power shows connectivity Condition-III: Availability of EVs in area-1 only: In this condition, the EVs in area-1 are present only such that WTG and PV sources are connected to area-1 and area-2 respectively.Considering the intermittent behavior of WTG and PV power due to weather variability, the P WTG is 0pu because of no wind speed at time 0s, and the P pv is 0.012pu due to availability of solar irradiance of 300 W/m 2 .At 10s the WTG deliver power due to wind speed of 5 m/s and at 11s, the P WTG touches 0.002pu, P pv of 0.0193pu.At 13s the EVs power in area-2 becomes zero per unit, while WTG and PV are delivering power of 0.002pu and 0.0271pu respectively.At 28s the EVs power in area-1 decline to 7.7 × 10 -6 pu.The OSH and USH values for ∆f 1 are 1.74 × 10 -6 pu and − 1.402 × 10 -3 pu, for ∆f 2 are 8.51 × 10 -5 pu, and − 1.72 × 10 -2 pu and for ∆P tie are 1.028 × 10 -6 pu and − 2.39 × 10 -6 pu respectively.

68Condition-IV: Non-availability of Electric vehicles in area-1 and area-2: In this condition, the interconnected microgrid is operated without the connectivity of EVs in both the areas.The RESs, WTG and PV deliver power to each respective areas taking the intermittency of solar irradiance Watt/m 2 and wind speed.The WTG and PV give full contribution of, 0.05457pu and 0.1475pu respectively.Figure 19a,b and c show the intermittency and uncertainty in the wind turbine power in area-1 due to variation in wind speed (mentioned in spikes at 10s, 15s, 20s and 25s) and photovoltaic power intermittency in area-2 at (0s, 10s, 15s and 20s).The OSH and USH values noted for ∆f 1 are 1.73 × 10 -6 pu and − 1.40 × 10 -3 pu, for ∆f 2 are 8.4 × 10 -5 pu and − 1.7 × 10 -2 pu, and for ∆P tie are 1.02 × 10 -6 pu and − 2.393 × 10 -6 pu respectively.From the Fig. 19a-c, the flexible load behavior of EVs in aea-2 is depicted and is photovoltaic power is represented by light green color, in the absence of EVs in area-2 there is slight increase in Photovoltaic power.However, the same power is absorbed by EVs in area-2 depicted by dark blue (photovoltaic power) showing the grid to vehicle (G2V) behavior.

Sensitivity analysis

69The controller must demonstrate consistent performance even in the face of uncertain parameters, as the system models it employs are mathematically versatile.Additionally, the system's configuration and parameters may evolve over time due to factors such as component degradation.Moreover, the system's configuration and parameters are subjected to alterations over period due to the factors such as component wear and tear, and degradation.The stability of the system may be conceded if the proposed control strategy fails to accommodate system's parameters variations.To validate the robustness of the proposed controller, parameters such as (R) and system inertia coefficient (M), have been altered by approximately ± 40% relative to their actual parameter responses.The results, which are illustrated in Figs. 20, 21 and 22, and Table 9, demonstrate the controller's performance under conditions of parametric variation.As seen in Table 9, many parameters exhibit responses that are closely aligned with their nominal values.This data confirms that the BKA-(I-P)-PDN controller delivers consistent performance across a ± 40% of system inertia (M) and (R).Moreover, the controller's optimal settings remain effective without the need for re-tuning when applied with real parameters at their nominal values.

Stability analysis

70From the Bode diagram in Fig. 23, it is illustrated that the proposed controller can endure further increase in gain of 32.1 dB prior to becoming unstable.Moreover, the gain margin has positive value indicating the robustness in stability with respect to variations in gain.The system can endure phase lag of 108 degree prior to crossing instability.Furthermore, the closed loop system is well damped and have good stability with delay margin of 0.446s.There is steady drop in gain as indicated ensuring that the system is stable.The closed loop system stability is obviously marked as "Yes".The proposed (I-P)-PDN controller exhibits superior gain and phase margins, reflecting stronger robustness and enhanced stability under uncertainties and external disturbances.Unlike conventional methods, the (I-P)-PDN controller maintains higher resilience during large load variations and system parameter changes.These improved stability margins imply that the system can better withstand real-world fluctuations without compromising performance.

Conclusion and future recommendations

71This study presents a novel two-stage cascaded (I-P)-PDN controller, optimized using the Blackwinged Kite Algorithm (BKA), for load frequency regulation in islanded and interconnected microgrid systems.The proposed strategy effectively mitigates frequency deviations caused by the stochastic nature of renewable energy sources (RESs) and dynamic load variations, significantly outperforming conventional controllers.Simulation results demonstrate that the (I-P)-PDN controller achieves a 77% reduction in overshoot (OSH) and a 52% decrease in undershoot (USH) in tie-line power variations compared to existing controllers.Additionally, the Integral Absolute Error (IAE) is reduced by 42.3%, Integral Time Absolute Error (ITAE) by 85%, and Integral Square Error (ISE) by 98%, highlighting the controller's superior stability and robustness.The impact of Electric Vehicles (EVs) as flexible loads further enhances system performance, leading to a 93% reduction in ITAE and a 95% reduction in ITSE for interconnected microgrids.The stability analysis via Bode plots confirms that the proposed control strategy maintains stability with a gain margin of 32.1 dB and a phase margin of 108 degrees, ensuring resilience against uncertainties.Generally, the (I-P)-PDN controller with BKA tuning provides a reliable solution for microgrid frequency regulation with the limitation of moderate computational demand during the offline tuning stage when scaling to high dimension search space.However, this demand remains manageable with standard computing resources and does not hinder practical applicability.Future work can explore real-time hardware implementation and cybersecurity aspects of microgrid communication delays to further enhance the practicality of the proposed control strategy.Furthermore, addressing cybersecurity concerns, as microgrids are increasingly reliant on communication networks for monitoring and control, making them vulnerable to cyber-attacks such as data spoofing, denial of service, and false data injection.

Fig. 1 .

72Fig. 1.Mathematical modelling of Islanded microgrid.

Fig. 2 .

73Fig. 2. Structure of (I-P)-PDN controller.

Fig. 4 .

74Fig. 4. Convergence curve using ITSE in optimization process.

Fig. 5 .Controller USH × 10 − 4 OSH × 10 − 4 ITSE × 10 − 5 IAE × 10 − 3 ITAE × 10 − 2 ISE × 10 − 6

75Fig. 5. Frequency deviation for Case-I in IµG with ITSE as fitness function.

Fig. 7 .

76Fig. 7. Frequency deviation for (Case-II, scenario-1).

Fig. 6 .

77Fig. 6.Frequency deviation for Case-I in IµG with ISE as fitness function.

Fig. 9 .

78Fig. 9. Frequency deviation for severe dynamic load Case-II (Scenario-2).

Fig. 8 .

79Fig. 8. Severe dynamic load (Case-II, scenario-2).

Fig. 11 .

80Fig. 11.Presence of RESs power and step-up load (Case-III, Scenario-2).

Fig. 10 .

81Fig. 10.Presence of RESs power without load disturbances (Case-III, scenario-1).

Fig. 13 .

82Fig. 13.Frequency deviation for variable irregular load (Case-IV).

Fig. 12 .

83Fig. 12. Presence of RESs and additional step load (Case-III, Scenario-3).

Fig. 15 .

84Fig. 15.Frequency and tie-line power responses of interconnected µGs for scenario-1.

Fig. 16 .

85Fig. 16.(a) Change in frequency for area-1(b) Change in frequency for area-2 (c) Change in tie line power for scenario-2.

86and supplies power of 0.002488pu, as the intermittency of the WTG is taken as (time = [0 10 15 2025 30], speed= [0 5 10 1215 14]).Hence, at 5s the EVs in area-2 have power of 1.5e-5pu with P WTG of 0pu.Similarly, the intermittent nature of renewable sources is directly reflected and according to that change, the EVs in the specific area show connectivity or discontinuity due to the intermittency.Similarly, at 15s the solar irradiance has value of 300 W/m 2 and wind velocity is 10 m/s, the EVs in area-2 supplies power of 7.2e-8pu, WTG of 0.02pu and PV of 0.008pu.The EVs in specific areas shows the appearance with the intermittency time for RESs in interconnected microgrid system.The EVs in area-2 power starting decreasing and become zero at 30s.The OSH and USH values recorded for ∆f 1 are 1.70 × 10 -6 pu and − 1.402 × 10 -3 pu, for ∆f 2 are 8.509 × 10 -5 pu and − 1.732 × 10 -2 pu, and for ∆P tie are 1.028 × 10 -6 pu and − 2.393 × 10 -6 pu respectively.

Fig. 17 .

87Fig. 17. (a).Change in EVs power in Area-1 (b) Change in EVs power in Area-2.

Fig. 18 .

88Fig. 18.Change in power of different distributed generations in scenario-3.

Fig. 19 .

89Fig. 19.Change in frequency for area-1 (b) Change in frequency for area-2 (c) Change in tie line power for scenario-4.

Fig. 21 .

90Fig. 21.Variation in parameter (M) in area-2.

Fig. 20 .

91Fig. 20.Variation in parameter (R) in area-1.

Fig. 22 .

92Fig. 22. Variation in parameters (R, M).

Table 1 .

93Comparison of (I-P)-PDN controller with commonly used controllers.as controller's parameters optimizers brought significance improvement to handle the frequency regulation problems in the microgrids with different distributed generation sources.Impressive modern optimization methods are implemented for controllers' parameters tuning to accomplished the obscurity of control techniques.

Table 3 .

94Performance parameters and error indices for severe dynamic load and lack of RESs (Case-II, Scenario-2).

Table 2 .

95Performance indices for Case-II, Scenario-I in absence of RESs.

Table 4 .

96Performance parameters and error indices for Case-III Scenario-1: presence of RESs power and absence of load disturbances.

Table 5 .

97Performance parameters for interconnected µGs in Scenario-1.

98to 10.3), ITAE by 93% (43.2 to 2.98) and 95% (448 to 20.29), ISE by 98% (1.55 × 10 −5 to 3.011 × 10 −7 ) and 98% (2.2 × 10 −5 to 3.019 × 10 −7 ) and ITSE by 92% (3.88 × 10 −5 to 3.69× 10 −6) and 97% (29.8 × 10 −5 to 7.731 × 10 −6 ) for (I-P)-PDN and FPDN-FPTID controllers respectively.Moreover, the electric vehicles power OSH decreases about 1.94% and USH by 0.05 to 1%.The electric vehicles as source have significance change in power in area-2 for FPDN-FPTID controller.The EVs power ∆PEVs 1 and ∆PEVs 2 attained faster steady state response with Fig. 14.Two areas interconnected µGs.

Table 6 .

99Performance/error indices for interconnected µGs in Scenario-1.

Table 8 .

100Performance parameters and error indices for scenario-3 of two area interconnected µGs.

Table 7 .

101Performance parameters and error indices comparison for two area interconnected µGs scenario-2.

Table 9 .

102Variations in microgrid parameters.

참고문헌 76건

  1. Bacteria foraging optimization algorithm based load frequency controller for interconnected power system International Journal of Electrical Power & Energy Systems · Elsevier BV · 2011 10.1016/j.ijepes.2010.12.022
  2. Comparative Life Cycle Assessment of a Thai Island's diesel/PV/wind hybrid microgrid Renewable Energy · Elsevier BV · 2015 10.1016/j.renene.2015.01.003
  3. Automatic generation control of a multi-area system using ant lion optimizer algorithm based PID plus second order derivative controller International Journal of Electrical Power & Energy Systems · Elsevier BV · 2016 10.1016/j.ijepes.2016.01.037
  4. Distributed Secondary Control Method for Islanded Microgrids With Communication Constraints IEEE Access · Institute of Electrical and Electronics Engineers · 2017 10.1109/access.2017.2762356
  5. Power system inertia estimation by approaching load power change after a disturbance 2017 10.1109/pesgm.2017.8273824
  6. AGC of PV-thermal and hydro-thermal power systems using CES and a new multi-stage FPIDF-(1+PI) controller Renewable Energy · Elsevier BV · 2018 10.1016/j.renene.2018.11.071
  7. Renewable power systems dynamic security using a new coordination of frequency control strategy based on virtual synchronous generator and digital frequency protection International Journal of Electrical Power & Energy Systems · Elsevier BV · 2019 10.1016/j.ijepes.2019.02.007
  8. Coordination strategies of distributed energy resources including FESS, DEG, FC and WTG in load frequency control (LFC) scheme of hybrid isolated micro-grid International Journal of Electrical Power & Energy Systems · Elsevier BV · 2019 10.1016/j.ijepes.2019.02.029
  9. A novel CFFOPI-FOPID controller for AGC performance enhancement of single and multi-area electric power systems ISA Transactions · Elsevier BV · 2019 10.1016/j.isatra.2019.11.025
  10. Design of 30 kW three-phase string inverter using simulink Journal of Physics Conference Series · IOP Publishing · 2020 10.1088/1742-6596/1432/1/012029
  11. Multi-objective optimal short-term planning of renewable distributed generations and capacitor banks in power system considering different uncertainties including plug-in electric vehicles International Journal of Electrical Power & Energy Systems · Elsevier BV · 2020 10.1016/j.ijepes.2020.105885
  12. Optimal design of a robust FO-Multistage controller for the frequency awareness of an islanded AC microgrid under <i>i</i>-SCA algorithm International Journal of Ambient Energy · Taylor & Francis · 2020 10.1080/01430750.2020.1758783
  13. Adaptive Event-Triggered Load Frequency Control of Multi-Area Power Systems Under Networked Environment via Sliding Mode Control IEEE Access · Institute of Electrical and Electronics Engineers · 2020 10.1109/access.2020.2992663
  14. Contribution of GCSC to regulate the frequency in multi-area power systems considering time delays: A new control outline based on fractional order controllers International Journal of Electrical Power & Energy Systems · Elsevier BV · 2020 10.1016/j.ijepes.2020.106197
  15. Load Frequency Control of a Two-Area Power System With a Stand-Alone Microgrid Based on Adaptive Model Predictive Control IEEE Journal of Emerging and Selected Topics in Power Electronics · Institute of Electrical and Electronics Engineers · 2020 10.1109/jestpe.2020.3012659
  16. A Robust Cascade Controller for Load Frequency Control of a Standalone Microgrid Incorporating Electric Vehicles Electric Power Components and Systems · Taylor & Francis · 2020 10.1080/15325008.2020.1797936
  17. An Optimized Hybrid Fractional Order Controller for Frequency Regulation in Multi-Area Power Systems IEEE Access · Institute of Electrical and Electronics Engineers · 2020 10.1109/access.2020.3040620
  18. Optimum Modified Fractional Order Controller for Future Electric Vehicles and Renewable Energy-Based Interconnected Power Systems IEEE Access · Institute of Electrical and Electronics Engineers · 2021 10.1109/access.2021.3058521
  19. Robust Control Based on H∞ and Linear Quadratic Gaussian of Load Frequency Control of Power Systems Integrated with Wind Energy System Green energy and technology · Springer Science+Business Media · 2021 10.1007/978-3-030-64336-2_4
  20. Optimal Fuzzy PIDF Load Frequency Controller for Hybrid Microgrid System Using Marine Predator Algorithm IEEE Access · Institute of Electrical and Electronics Engineers · 2021 10.1109/access.2021.3070076
  21. A fuzzy adaptive fractional order-PID controller for frequency control of an islanded microgrid under stochastic wind/solar uncertainties International Journal of Ambient Energy · Taylor & Francis · 2021 10.1080/01430750.2021.1914163
  22. Provision of Frequency Stability of an Islanded Microgrid Using a Novel Virtual Inertia Control and a Fractional Order Cascade Controller Energies · Multidisciplinary Digital Publishing Institute · 2021 10.3390/en14144152
  23. A sophisticated modeling approach for photovoltaic systems in load frequency control International Journal of Electrical Power & Energy Systems · Elsevier BV · 2021 10.1016/j.ijepes.2021.107330
  24. Modified TID controller for load frequency control of a two-area interconnected diverse-unit power system International Journal of Electrical Power & Energy Systems · Elsevier BV · 2021 10.1016/j.ijepes.2021.107528
  25. Enhancement of power system transient stability and voltage regulation performance with decentralized synergetic TCSC controller International Journal of Electrical Power & Energy Systems · Elsevier BV · 2021 10.1016/j.ijepes.2021.107533
  26. Event-Triggered Data-Driven Load Frequency Control for Multiarea Power Systems IEEE Transactions on Industrial Informatics · Institute of Electrical and Electronics Engineers · 2021 10.1109/tii.2021.3130415
  27. Robust self tuned AGC controller for wind energy penetrated power system Ain Shams Engineering Journal · Elsevier BV · 2021 10.1016/j.asej.2021.101663
  28. Renewable energy and climate change Renewable and Sustainable Energy Reviews · Elsevier BV · 2022 10.1016/j.rser.2022.112111
  29. Application of PSO tuned fuzzy logic controller for LFC of two-area power system with redox flow battery and PV solar park Ain Shams Engineering Journal · Elsevier BV · 2022 10.1016/j.asej.2022.101710
  30. An improved moth swarm algorithm based fractional order type-2 fuzzy PID controller for frequency regulation of microgrid system Energy Sources Part A Recovery Utilization and Environmental Effects · Taylor & Francis · 2022 10.1080/15567036.2022.2038735
  31. Adaptive LFC Incorporating Modified Virtual Rotor to Regulate Frequency and Tie-Line Power Flow in Multi-Area Microgrids IEEE Access · Institute of Electrical and Electronics Engineers · 2022 10.1109/access.2022.3161505
  32. Optimized economic operation of energy storage integration using improved gravitational search algorithm and dual stage optimization Journal of Energy Storage · Elsevier BV · 2022 10.1016/j.est.2022.104591
  33. Optimal Design of TD-TI Controller for LFC Considering Renewables Penetration by an Improved Chaos Game Optimizer Fractal and Fractional · Multidisciplinary Digital Publishing Institute · 2022 10.3390/fractalfract6040220
  34. Load frequency control of multi-area interconnected thermal power system: artificial intelligence-based approach International Journal of Automation and Control · Inderscience Publishers · 2017 10.1504/ijaac.2018.088599
  35. Impact of renewable energy penetration rate on power system frequency stability Energy Reports · Elsevier BV · 2022 10.1016/j.egyr.2022.05.261
  36. Modified multiverse optimizer technique-based two degree of freedom fuzzy PID controller for frequency control of microgrid systems with hydrogen aqua electrolyzer fuel cell unit Neural Computing and Applications · Springer Science+Business Media · 2022 10.1007/s00521-022-07453-5
  37. Deep reinforcement learning-based secondary control for microgrids in islanded mode Electric Power Systems Research · Elsevier BV · 2022 10.1016/j.epsr.2022.108315
  38. Load frequency control of power system considering electric Vehicles’ aggregator with communication delay International Journal of Electrical Power & Energy Systems · Elsevier BV · 2022 10.1016/j.ijepes.2022.108697
  39. A Dual-Stage Controller for Frequency Regulation in a Two-Area Realistic Diverse Hybrid Power System Using Bull–Lion Optimization Energies · Multidisciplinary Digital Publishing Institute · 2022 10.3390/en15218063
  40. Mixed-Integer Distributed Ant Colony Optimization of Dump Load Allocation with Improved Islanded Microgrid Load Flow Energies · Multidisciplinary Digital Publishing Institute · 2022 10.3390/en16010213
  41. Enhancing the Conventional Controllers for Load Frequency Control of Isolated Microgrids Using Proposed Multi-Objective Formulation via Artificial Rabbits Optimization Algorithm IEEE Access · Institute of Electrical and Electronics Engineers · 2023 10.1109/access.2023.3234043
  42. A New Intelligent Fractional-Order Load Frequency Control for Interconnected Modern Power Systems with Virtual Inertia Control Fractal and Fractional · Multidisciplinary Digital Publishing Institute · 2023 10.3390/fractalfract7010062
  43. An Energy-Oriented Torque-Vector Control Framework for Distributed Drive Electric Vehicles IEEE Transactions on Transportation Electrification · Institute of Electrical and Electronics Engineers · 2023 10.1109/tte.2022.3231933
  44. Load Frequency Control and Automatic Voltage Regulation in Four-Area Interconnected Power Systems Using a Gradient-Based Optimizer Energies · Multidisciplinary Digital Publishing Institute · 2023 10.3390/en16052086
  45. Improving load frequency control performance in interconnected power systems with a new optimal high degree of freedom cascaded FOTPID-TIDF controller Ain Shams Engineering Journal · Elsevier BV · 2023 10.1016/j.asej.2023.102207
  46. Power Electronics Technology for Large-Scale Renewable Energy Generation Proceedings of the IEEE · Institute of Electrical and Electronics Engineers · 2023 10.1109/jproc.2023.3253165
  47. Key factors promoting the niche establishment of black-winged kite Elanus caeruleus in farmland ecosystems Ecological Indicators · Elsevier BV · 2023 10.1016/j.ecolind.2023.110162
  48. Robust color image watermarking algorithm based on synchronization correction with multi-layer perceptron and Cauchy distribution model Applied Soft Computing · Elsevier BV · 2023 10.1016/j.asoc.2023.110271
  49. Resilient virtual synchronous generator approach using DC-link capacitor energy for frequency support of interconnected renewable power systems Journal of Energy Storage · Elsevier BV · 2023 10.1016/j.est.2023.107230
  50. FOPTID+1 controller with capacitive energy storage for AGC performance enrichment of multi-source electric power systems Electric Power Systems Research · Elsevier BV · 2023 10.1016/j.epsr.2023.109450
  51. A New Load Frequency Control Technique for Hybrid Maritime Microgrids: Sophisticated Structure of Fractional-Order PIDA Controller Fractal and Fractional · Multidisciplinary Digital Publishing Institute · 2023 10.3390/fractalfract7060435
  52. Robustness and stability analysis for parametric uncertainties in a three-area AGC power system using TLBO-LMI-tuned PI controller Energy Reports · Elsevier BV · 2023 10.1016/j.egyr.2023.05.095
  53. Multi-area automatic generation control of a renewable energy-based hybrid power systems using JAYA optimized model predictive control Energy Reports · Elsevier BV · 2023 10.1016/j.egyr.2023.05.083
  54. Power system frequency profile improvement using satin bowerbird optimized tilt fractional cascade controller with reduced data based cost function Journal of Engineering Research · Elsevier BV · 2023 10.1016/j.jer.2023.100116
  55. Sensitivity analysis index to determine the optimal location of multi-objective UPFC for improvement of power quality parameters Energy Reports · Elsevier BV · 2023 10.1016/j.egyr.2023.06.028
  56. Impact of a Redox Flow Battery on the Frequency Stability of a Five-Area System Integrated with Renewable Sources Energies · Multidisciplinary Digital Publishing Institute · 2023 10.3390/en16145540
  57. Nonlinear coordination strategy between renewable energy sources and fuel cells for frequency regulation of hybrid power systems Ain Shams Engineering Journal · Elsevier BV · 2023 10.1016/j.asej.2023.102399
  58. A review analysis on various approaches for LFC of multi area power system: Robust t2 fuzzy controller 2021 International Conference in Advances in Power, Signal, and Information Technology (APSIT) · 2023 10.1109/apsit58554.2023.10201670
  59. Uncertainty compensation with coordinated control of EVs and DER systems in smart grids Solar Energy · Elsevier BV · 2023 10.1016/j.solener.2023.111920
  60. Novel QO-PFA governed FO-type-II fuzzy controller for LFC of thermo-electric generator based hybrid power system e-Prime - Advances in Electrical Engineering Electronics and Energy · Elsevier BV · 2023 10.1016/j.prime.2023.100249
  61. Multi-area load frequency regulation of a stochastic renewable energy-based power system with SMES using enhanced-WOA-tuned PID controller Heliyon · Elsevier BV · 2023 10.1016/j.heliyon.2023.e19199
  62. A New Optimized FOPIDA-FOIDN Controller for the Frequency Regulation of Hybrid Multi-Area Interconnected Microgrids Fractal and Fractional · Multidisciplinary Digital Publishing Institute · 2023 10.3390/fractalfract7090666
  63. Resilient frequency stability of a PV/wind penetrated complex power system with CSA tuned robust Type-2 fuzzy cascade PIF Controller Electric Power Systems Research · Elsevier BV · 2023 10.1016/j.epsr.2023.109815
  64. Frequency control using electric vehicles with adaptive latency compensation and variable speed wind turbines using modified virtual inertia controller International Journal of Electrical Power & Energy Systems · Elsevier BV · 2023 10.1016/j.ijepes.2023.109535
  65. A lightweight smart contracts framework for blockchain‐based secure communication in smart grid applications IET Generation Transmission & Distribution · Institution of Engineering and Technology · 2024 10.1049/gtd2.13103
  66. Adaptive integral sliding mode MPPT control for wind turbines with fixed‐time convergence IET Renewable Power Generation · Institution of Engineering and Technology · 2024 10.1049/rpg2.12935
  67. Impact and Integration of Electric vehicles on renewable energy based Microgrid: Frequency profile improvement by a-SCA optimized FO-Fuzzy PSS approach Green Energy and Intelligent Transportation · Elsevier BV · 2024 10.1016/j.geits.2024.100191
  68. Black-winged kite algorithm: a nature-inspired meta-heuristic for solving benchmark functions and engineering problems Artificial Intelligence Review · Springer Science+Business Media · 2024 10.1007/s10462-024-10723-4
  69. Optimizing load frequency control in microgrid with vehicle-to-grid integration in Australia: Based on an enhanced control approach Applied Energy · Elsevier BV · 2024 10.1016/j.apenergy.2024.123317
  70. Robust load-frequency control of islanded urban microgrid using 1PD-3DOF-PID controller including mobile EV energy storage Scientific Reports · Nature Portfolio · 2024 10.1038/s41598-024-64794-y
  71. Frequency regulation of PV-reheat thermal power system via a novel hybrid educational competition optimizer with pattern search and cascaded PDN-PI controller Results in Engineering · Elsevier BV · 2024 10.1016/j.rineng.2024.102958
  72. Electric vehicles, load response, and renewable energy synergy: A new stochastic model for innovation strategies in green energy systems Renewable Energy · Elsevier BV · 2024 10.1016/j.renene.2024.121890
  73. A FOPIDN-(1+PIDN) controller design and optimization for load frequency control system integrated with renewables and electric vehicles Electrical Engineering · Springer Science+Business Media · 2025 10.1007/s00202-024-02938-z
  74. Modelling of an EV based AC Microgrid for frequency profile improvement by M-CSA designed Fuzzy-T2-PSS Controller Deleted Journal · 2025 10.1016/j.pes.2025.100057
  75. Load frequency control based on reinforcement learning for microgrids under false data attacks Computers & Electrical Engineering · Elsevier BV · 2025 10.1016/j.compeleceng.2025.110093
  76. Review of Intelligent and Nature-Inspired Algorithms-Based Methods for Tuning PID Controllers in Industrial Applications Journal of Robotics and Control (JRC) · Universitas Muhammadiyah Yogyakarta · 2024 10.18196/jrc.v5i2.20850