Optimized Multiloop Fractional-Order Controller for Regulating Frequency in Diverse-Sourced Vehicle-to-Grid Power Systems

: A reduced power system’s inertia represents a big issue for high penetration levels of renewable generation sources. Recently, load frequency controllers (LFCs) and their design have become crucial factors for stability and supply reliability. Thence, a new optimized multiloop fractional LFC scheme is provided in this paper. The proposed multiloop LFC scheme presents a two-degree-of-freedom (2DOF) structure using the tilt–integral–derivatives with ﬁlter (TIDN) in the ﬁrst stage and the tilt–derivative with ﬁlter (TDN) in the second stage. The employment of two different loops achieves better disturbance rejection capability using the proposed 2DOF TIDN-TDN controller. The proposed 2DOF TIDN-TDN method is optimally designed using the recent powerful marine predator optimizer algorithm (MPA). The proposed design method eliminates the need for precise modeling of power systems, complex control design theories, and complex disturbance observers and ﬁlter circuits. A multisourced two-area interlinked power grid is employed as a case study in this paper by incorporating renewable generation with multifunctionality electric vehicle (EV) control and contribution within the vehicle-to-grid (V2G) concept. The proposed 2DOF TIDN-TDN LFC is compared with feature-related LFCs from the literature, such as TID, FOTID, and TID-FOPIDN controllers. Better mitigated frequency and tie-line power ﬂuctuations, faster response, lower overshot/undershot values, and shorter settling time are the proven features of the proposed 2DOF TIDN-TDN LFC method.


Introduction 1.Overview
Advancements in energy transition have led to the widespread installation of renewable energy sources (RESs) [1].In addition, wide global plans have been set to continue reducing carbon emissions in the environment.Another key factor for the energy transition is the wide replacement of various conventional fuel-based vehicles by clean electric vehicles (EVs) [2].In addition, EVs and their charging infrastructures can widely contribute to improving electrical power system performance by controlling their charging/discharging commands, times, and power flows.However, the installed RESs at high levels of penetration and the installed EVs in power grids have led to different characteristics of modern power systems.Additionally, special attention must be paid to designing their associated control systems.The proper design and implementation of control methods have improved performance in several applications, such as unmanned aerial vehicles (UAVs) [3,4], networked mobile robots [5], nonholonomic vehicles [6,7], etc.
The structure of RESs is different from synchronous generator-based conventional electrical generation systems.They are based on power electronics conversion systems (PECSs) for grid integration.However, PECSs-based renewable generation systems lack inertia, and hence, deteriorated power system stability exists in modern electrical power systems [8].This is due to the low stored mechanical power in power systems' inertia.This mechanical power helps retain system stability and operation during transients of generation, loading, and faults [9].Thence, high levels of RESs penetration result in stability concerns in power grids.The load frequency controllers (LFCs) have shown great ability to regulate power grids' frequencies and tie-line powers between areas during normal conditions, as well as abnormal operating conditions [10].Load frequency controllers (LFCs) regulate both the power output from generation sources and the loading demands, hence the enhanced regulation of the frequency signals besides the tie-line powers among areas [11][12][13].

Literature Review
The existing LFC methods in the literature can be mainly classified according to the controller type and number of loops.Based on the LFC type, several control methods have been introduced, such as integer-order control (IO) [14], fractional-order control (FO), sliding mode controllers (SMCs) [15], SMC with interval-type-2 fuzzy [16], repetitive control [17], model predictive controls (MPCs) [18,19], robust control [20,21], machine and deep learning (ML and DL) [22,23], etc.Additionally, based on the number of loops, various degrees of freedom (DOF) have been introduced, such as single-DOF (1DOF), two-DOF (2DOF), and three-DOF (3DOF) [24].In 1DOF, area control error signals (ACEs) are used in the control feedback loop, whereas in 2DOF, another feedforward loop is added based on the frequency deviation signal with the ACE feedback loop.In 3DOF, a third feedforward signal is used based on the tie-line power between areas.Moreover, a variety of metaheuristic-based optimization methods has been introduced for optimally designing various control parameters in a simultaneous way [25,26].The optimizer algorithms can be coupled with LFC methods to enhance the power system response and performance regarding the frequency with tie-line power regulations.
Several combinations of IO and FO LFC schemes have been extensively provided in the literature in different single and multi-area-based power systems [27,28].For instance, the IO-based integrator (I), proportional-integrator (PI), and proportional-integratorderivative (PID) control schemes represent the most widely introduced LFC methods.An optimum PI LFC has been proposed in [29].Optimization procedures have been achieved using the binary moths-flame optimization (MFO).Another hybrid gravitation search with a firefly algorithm (hGFA)-based optimized PI LFC has been proposed in [30].Further optimum PI LFC methods have been proposed using Harris Hawks optimizer algorithm (HHO) [31], and gray wolf optimization (GWO) [32].Additionally, the PID has been provided in the literature for achieving LFC, such as in [33], by using a hybrid improved gravitation search algorithm and binary particle swarm optimizer (IGSA-BPSO).Optimum PID LFC methods were introduced using artificial bees colony (ABC) in [34] and stability boundary locus (SBL) optimizer in [35].The applications of the I, ID, and PID integer-order LFCs have been presented and compared in [36].The salp swarm optimization algorithm (SSA), grasshopper optimizer algorithm (GOA), and collective decision optimizer algorithm (CDO) have been presented for the optimum design of compared controllers.Another PI event-triggered LFC has been presented in [37], wherein it achieved lower peak overshoot/undershoot peaks compared with existing controllers.An optimized PID LFC method has been presented in [38] using a hybrid algorithm of sparrow searching and gray wolf optimization (SSAGWO).The above-presented literature is based on 1DOF control structures, and they are shown to be simple, easily designed, and implementable using low-cost processors, etc.However, in modern power grids, nonlinearities and uncertainties due to RESs hinder their superiority.
Additional flexibility has been achieved through using the FO control structures in LFC [39].The FO terms are combined to form various structures using the FO tilt (T), FO integrator (I λ ), FO derivative (D µ ), and FO-based filter.A comparison between IO and FO LFC has been presented in [40] verifying that FO LFC has more flexibility.The results verify that FOPID has a faster response and better damping than the IO-based PID LFC scheme.For instance, FOPID has been proposed in [41], while its optimization procedures have been made using the movable damped waves optimizer (MDWA).Moreover, the sine-cosine optimizer algorithm (SCA) has been presented for FOPID optimization in [42].The tilt FO control has also been presented in the literature for LFC [43].The ABC optimization [44], pathfinder algorithm (PFA) [45], and differential evolutions algorithms (DEs) [43] were provided in the literature for optimizing tilt-based LFC methods.As an extension for FO control, several combinations have been provided and verified in literature work.The combination leads to the added benefits of both control methods.For instance, TID has been combined with FOPID in [46] to form a hybrid TFOID controller.The optimization processes were achieved through using the artificial ecosystem optimizer (AEO) algorithm.An extended hybrid TFOID with FO filter has been presented in [47] using an artificial hummingbird optimization algorithm (AHA).
From another perspective, various high-DOF LFC methods have been proposed in the literature.A 2DOF PID control has been presented in [48] for LFC.The flower pollination optimizer algorithm (FPA) was presented in [49] for optimizing a 2DOF PID controller.In [50], a 2DOF PID was proposed, and it is optimized through the dragonfly optimizer algorithm (DA) through the development of a new integral based on the weighted goals fitness functions (IB-WGFF).In [51], a 2DOF PD-PID controller has been proposed.A 2DOF PI-PID has been provided in [52], wherein the optimization process is achieved through a slap swarm optimization algorithm (SSA).In addition, a 3DOF (1 + PD)-PID LFC method has been provided in [53], in which an African vulture optimizer algorithm (AVOA) has been introduced for optimizing the controller parameters.A 2DOF TIDF LFC method was provided in [54] with the whale optimizer algorithm (WOA) for design optimization.A higher DOF has been proven to offer superior operation and transient performance of LFC compared with 1DOF-based controllers.Therefore, the focus of this paper is to develop a new 2DOF LFC method using the fractional-order control theory.In addition, optimized parameters are designed using the recent powerful marine predator optimizer algorithm (MPA).

Article Contribution
Existing work in the literature proves that increasing the DOF of the LFC method can lead to better performance and mitigation of expected disturbances in modern power grids.In addition, selecting a proper optimization algorithm jointly with the proposed controller can achieve enhanced selection processes of the optimized parameters.Moreover, future modern power grids are expected to be more volatile and less stable due to the reduced inertia resulting from the extensive use of PECSs.Among the existing optimization algorithms, the MPA-based optimization algorithm has achieved improved performance in several optimum values searching problems [55,56].Some featured applications include maximum power extraction [57], PV model parameters extraction [58], PV array reconfiguration [59], PID-based LFC [60], and FO-based LFC methods [61,62].
Therefore, the authors of this paper were motivated to present an MPA-based optimization of the newly proposed 2DOF TIDN-TDN LFC method.The main contribution points in this article are as follows: • A higher degree of freedom FO-based LFC method is proposed.The newly proposed controller is based on developing a multiloop two-degrees-of-freedom (2DOF) fractional-order-based LFC method.The proposed 2DOF LFC method uses the tiltintegral-derivatives with filter (TIDN) in the outer loop and the tilt-derivative with filter (TDN) in the inner loop.

•
The proposed TIDN-TDN controller includes high flexibility due to its included FO operators, which help with better optimization of control performance.The proposed TIDN-TDN controller represents a new combination of fractional-order-based LFC compared with existing control structures in the literature.

•
The improved performance using the proposed TIDN-TDN controller results from employing a feedback signal in the outer loop using ACE signal to mitigate the lowfrequency fluctuations.Furthermore, the proposed 2DOF TIDN-TDN LFC method employs a feedforward loop using the frequency deviation signal to mitigate the highfrequency disturbances.Thence, better disturbance rejection capability is obtained using the proposed 2DOF TIDN-TDN controller.Moreover, the proposed TIDN-TDN LFC method does not require additional components and/or observer design and/or filter elements.

•
An effective control and coordination method is proposed to control the participation of installed and future EVs using the TID controller and is coordinated with the proposed 2DOF TIDN-TDN LFC method.Accordingly, the installed EVs in future modern power systems participate in an effective way to dampen existing disturbances by utilizing the inherent EV batteries.This, in turn, leads to better EV utilization in future power systems with the expected continuous replacements of EVs.The coordination process is achieved inherently within the proposed controller and its design optimization method.

•
An improved optimized design of the proposed 2DOF TIDN-TDN LFC method and EV TID controller is presented in this paper using the recent powerful marine predator optimizer algorithm (MPA) method.The parameters of the proposed controllers are determined simultaneously in all the studied interconnected power grids.The proposed method eliminates the need for complex control theories and/or mathematical determination processes using classical control methods.Thence, complex control designs and modeling are avoided using the powerful MPA optimizer.

•
Further improvements are achieved by the proposed controller by avoiding the common problems of disturbance observer-based control, such as precise model dependency, complex tuning and design requirements, high computational complexity, sensitivity to measurement noise, and limited applicability.
In this work, the practical characteristics of connected renewable energy sources, grid battery contribution, and grid model parameter variations are considered.However, for a more practical extension of this work, the interference between voltage and frequency control designs must be considered.In addition, the effects of existing communication delays in power systems must be modeled and considered, especially with the move toward smarter power grid trends.
The remaining sections in this article are organized as follows: The detailed modeling, mathematical representation, and components of the selected power grid are presented in Section 2. The existing LFCs from the literature are presented in Section 3 with the FO control theory.The proposed 2DOF TIDN-TDN is introduced in Section 4. The design optimization and the MPA optimizer are detailed in Section 5.The obtained simulation results of the 2DOF TIDN-TDN and the selected case study are proven in Section 6 with comparative results.This paper's conclusions are provided in Section 7.

Mathematical Models of the System
This study focuses on a hybrid power system consisting of two interlinked areas connected via an AC bus tie-line system, as shown in Figure 1.As detailed in Figure 2, each of the two areas features four types of dynamic energy sources: a reheat-based thermal plant, a hydraulics plant, a gas power unit, and a nuclear plant.The physical power systems' boundaries, such as the generation rate constraints (GRCs) and governors' dead band (GDB), are modeled and considered as system nonlinearity.Additionally, RESs have a wind unit in area 1 and a PV unit in area 2, and both areas are considering the participation of EVs to control frequency, as depicted in Figure 2.Each area in the system being studied is equipped with a frequency controller that regulates the power output from various energy units.To have control of the power injected by EVs and to take part in frequency regulations within studied areas, another controller is added.In the system under study, each area possesses a rated capacity of 2000 MW, and its nominal loading is 1740 MW.The system parameters for the system under study are shown in the Appendix A section of this paper.Nuclear plant

Modeling Various Generation Sources 2.1.1. Thermal Plant
The first-order transfer function is used to model reheating using the work in [63] as follows: where K r is the gain of the steam turbine, and T r is its time constant, whereas T i represents the time constant of the reheater transfer function.The symbol s denotes the Laplace transform s-domain.The model includes thermal units governed by generation rate constraints GRC and GDB, with the GRCs set at 10% pu/min for both increasing and decreasing scenarios (0.0017 pu•MW/s).With respect to the change in addition to its rate for speed, a linearized version for modeling GDB can be utilized.The Fourier series was utilized to create the GDB transfer function model with a 0.5 percent for backlash as follows: where N 1 and N 2 denote Fourier coefficients selected as N 1 = 0.8 and N 2 = −0.2/π,as presented in [64].

Hydraulic Plant
The governor, droop compensations, and the penstock turbine make up the Hydraulic turbine's general transfer function.In [46], it can be shown as follows: The considered GRCs for the hydraulic plant represented as increasing/ decreasing rates are 270% pu/min (0.045 pu•MW/s) and 360% pu/min (0.06 pu•MW/s), respectively.

Gas Plant
The general transfer function of the gas turbine comprises components such as the valve positioner, speed governor, combustion reactions and fuel, and the compressor's discharge.In [63], it can be shown as follows: where, B g , C g , X g , Y g , T cr , T f , and T cd denote the valve positioner's time constant, valve position of the gas turbine, the time constant of lead, the time constant of lag for the gas turbine, the time delay of a gas turbine's combustion reactions, the time constant of gas turbine fuel, and the time constant of the compressor's discharge volume, respectively.

Nuclear Plant
The model for the nuclear plant, as detailed in [65], comprises a speed governor, a high-pressure type turbine, and two low-pressure-type turbines.It is represented as follows: where, T T2 , T T1 , T RH1 , and T RH2 denote the time constant of the speed governor, the high-pressure (HP)-based turbine, first low-pressure (LP) turbine, and second LP turbine, respectively.Also, K H and K R1 denote the gain of the HP-type turbine and the first LP-type turbine's gain, respectively.

Modeling
Various Renewable Generation Sources 2.2.1.PV Generation Photovoltaic (PV) generation systems include solar modules, DC/DC converters, DC/AC inverters, and other electrical equipment.Solar modules capture solar energy in DC form, DC/DC converters boost the PV voltage to maximize power extraction, and DC/AC inverters convert the DC voltage into AC for the grid integration process.The PV's transfer function is provided as follows [46]: where K PV and T PV denote the gain and time constant of PV plant transfer function.It is assumed that the MPPT controller operates effectively and that all available power from the sun is injected into the power grid, with variations in the solar irradiance and temperature values.

Wind Generation
The amount of power a wind turbine depends on the wind's velocity at any given moment.The wind turbine system (WTS) determines the pitch angles and creates nonlinearities in the system based on wind speed.The WTS transfer function is provided as follows [46]: where K WT and T WT denote the gain and time constant of the WTS plant transfer function.
The wind power generator is assumed to have excellent tracking of its maximum power available in the wind, and hence, all its available power is injected into the power grid.Also, the faults in the system in addition to degradation effects are neglected in this work.

Modeling of EVs
The batteries of current EVs can be used to effectively control the power system's performance.They can be charged or discharged, depending on the power systems' management controller.These batteries have the potential to improve the power system's dynamic response, overall effectiveness, and reliability.Figure 3 shows the utilized dynamic modeling representation for the connected EVs in the power system.It is the equivalent electrical circuit modeling, as shown in [46].In this study, it is assumed that the distribution of EVs among the two connected areas is equal.The proposed system also makes use of connected EVs to help at lowering frequency fluctuation values.The EV model is expressed as follows [46]: where V oc (SOC) is the open-circuit voltage V oc for a particular state of charge (SOC), V nom is nominal voltage, and C nom is nominal EV battery capacity (in Ah).Moreover, S is the sensitivity parameter among V oc and SOC.R, F, and T are the gaseous constant, Faraday's constant, and the temperature, respectively.The degradation and its associated problems in EV batteries are not considered in this work.In addition, it is assumed there is a perfect battery management controller between battery cells, and hence, their SOCs are always balanced.

Existing IO LFC Methods
In the literature, IO-based LFC methods have found wide applications.These methods have demonstrated both enhanced performance and simplified control schemes in various industrial applications.As clarified in the literature review, the I, PI, and PID controllers represent the widely studied IO LFC schemes.Furthermore, various metaheuristic optimization techniques are used for determining optimum LFC parameters.The various gain parameters can be optimally tuned for achieving various objectives, such as controlling rise times, transient times, peaks overshoot/undershoot values, stability criteria, steady-state error, etc.The representations of IO-based LFC methods are as follows:

FO Control Theory
The FO-based control theories have proven to offer more flexibility and enhanced performance compared with their IO-based counterparts.The FO operators and calculus can be represented using Grunwald-Letnikov, Caputo, and Riemann-Liouville models.The Grundwald-Letnikov scheme represents the α th derivative using the function ( f ) within the range a to t limits as follows: where h is sample time, and the [•] operator is only integer values in (16).Additionally, n is employed to achieve (n − 1 < α and α < n).These binomials coefficients are determined using where Riemann and Liouville defined the FO derivative avoiding the use of sums and limits.Instead, the IO derivative is used and represented as follows: Another representation of the FO derivative was made by Caputo, and it is defined as follows: However, D α | t a can take different forms, as follows: On the other hand, Oustaloup-based recursive approximations (ORAs) have found wide use in implementing FO derivatives.They are a suitable way for real-time-based digital implementations.They are also a familiar and suitable option for the optimum tuning process of various FO controllers.Thence, ORA-based implementations are employed in this work due to being dominant.The approximation of the mathematical representations of αth FO derivatives (s α ) is expressed as follows: where ω p k and ω z k are poles-zeros locations in ω h , respectively.They are calculated as follows: where the approximate function has (2N + 1) poles/zeros.In addition, N determines the ORA filter's order within (2N + 1).In this work, ORA representation is utilized with (M = 5) inside the range (ω ∈ [ω b , ω h ]), which is selected between [10 −3 , 10 3 ] rad/s.

Existing FO LFCs Methods
Additionally, IO-based LFCs have been extended by using their FO-based controllers.The FOPI, TID, and FOPID have been applied to LFCs.For instance, the TID represents a simplified version of the FOPID controller.In the TID controller, a tilted proportional gain, denoted as (K t s −( 1 n ) ), replaces the conventional proportional gain (K p ) used in IO-based PID controllers.In this case, the block is referred to as a tilt compensator, and n is called a tilt parameter.
On the other side, the filtering component is added to the derivative component to reduce the chattering noise in the input signal at extreme frequencies.Therefore, the TIDN is used in the literature to improve system stability [46,66].In the literature, there several studies on integrating one or more IO and/or FO controllers.For instance, FOPID and TID have been integrated to form the FOTID controller (TI λ D µ ).This, in turn, provides more flexibility and helps reduce the settling time of the system during disturbances [46,67].The block diagrams of the TID, TIDN, FOTID, and TID-FOPIDN controllers [45,63,64] are shown in Figure 4.The featured FO LFC methods can be represented as follows:

The Proposed 2DOF TIDN-TDN Controller
This study introduces a new configuration for LFC applications, featuring a 2DOF multiloop tilt-integral-derivative filtered controller in cascade with a tilt-derivative filtered controller, termed 2DOF TIDN-TDN.The proposed controller is robust enough to allow the flexible management of an intricately reconstructed system by drastically reducing undershoot/overshoot and improving settling time.This controller also has two degrees of freedom, which improves dynamic response by using both the corresponding area frequency deviation (∆F i ) and the area control error (ACE i ) signal as inputs.The schematic structure of the proposed cascaded 2DOF TIDN-TDN controller is shown in Figure 5, in which the TIDN controller serves as the outer controller C 1 (s) and the TDN controller serves as the inner controller C 2 (s). Figure 6 details the elements of the proposed cascaded 2DOF TIDN-TDN controller.Utilizing the frequency deviation signals leads to mitigating the existing high-frequency disturbances, while utilizing the ACE loop leads to mitigating the existing low-frequency disturbances.Hence, the proposed 2DOF TIDN-TDN controller provides better rejection of exiting disturbances due to its high DOF.The proposed multiloop controller is represented mathematically as follows:

Optimization Process
The two main goals of LFCs are to keep tie-line power fluctuations at their minimum value and to cancel out frequency drifts when there are disturbances in the system.To accomplish the goals in the proposed optimization problem targeting LFC applications, an objective function has to be formulated based on these objectives.The objective function, which combines frequency deviations and tie-line power deviations, has been accumulated by utilizing a variety of widely applied error functions.In this work, four different cost functions were used for optimization processes for the proposed 2DOF TIDN-TDN controller.The four objective functions are represented as follows: The constraints on the problem are the controller tunable parameters' boundary limits for both area 1 and area 2. Figure 7 depicts the main diagram representing the MPAbased process for tuning the controllers' parameters.The design problem can therefore be described as an optimization problem in which the controllers' parameters can be simultaneously determined based on the minimization of the objective function.The constraint for the TID controller can be represented as [64] However, they are represented for the FOTID controller as follows [45]: The constraints for the TID-FOPIDN controller are represented as follows [63]: However, the constraints for the proposed 2DOF TIDN-TDN controller are represented as follows: where the constraints for various tuned controllers are limited within the maximum limits as max and the minimum values of control parameters as min.The minimum values of control gains (K min t , K min i , and K min d ) are all zeros, and their maximum (K max t , K max i , and K max d ) values are all five.However, (n min and n max ) are set to 2 and 5, respectively, (λ min and µ min ) are all zeros, and (λ max and µ max ) are both set to 1.In addition, (N min c and N max c ) are set to 5 and 500, respectively.The minimum/maximum tilt/derivative weights (a min , b min , c min , d min and a max , b max , c max , d max are between 0 and 4, respectively.The various optimized parameters obtained based on different optimization algorithms such as MPA, PSO, WOA, and GWO are shown in Tables 1-4, respectively, for the proposed controller, whereas Table 5 summarizes the control parameters of the suggested control methods using the MPA technique.

The Principle of the MPA Optimizer
As clarified in the literature review, the MPA optimizer has been preferred in several optimum parameter determination applications [61].The MPA principles are based on food search strategies using Levy and the Brownie movement within their surrounding predators.They determine the optimum by modifying the policy using the biological interaction between prey and predators.In [55], more details about the principles with more details about mathematical representations are given.Based on the literature review, the MPA optimizer has proven superior, with several benefits, as follows: 1. High efficiency: The MPA optimizer achieved efficient performance when solving different optimization problems with various properties, particularly where traditional metaheuristic methods fail to converge to optimal solutions.

Increased robustness:
The optimized MPA showed robust performance against changes within optimization problems and has the ability to adapt itself to the different considered types of problem constraints and/or objectives.3.More flexibility: The MPA represents a flexible algorithm, which can be modified and/or customized easily to suit the different optimization problems.4. Scalability: The MPA algorithm was verified and tested on a large variety of optimization problems, wherein it demonstrated promising performance results.
A brief representation of the code and stages is presented in this section.The MPA optimizer has three phases based on the relative speed of the prey and predators.The main stages are shown in the flowchart of the MPA optimizer, shown in Figure 8.Its inherent phases are three phases according to the speed ratio between the prey and predators' speeds.The stages are as follows: • High Speed Ratio Phase: It corresponds to the first one-third portion of the iteration number.It is related to cases of higher prey speed than predators.The mathematical representation is given as [55]: where R represents the vector from random numbers within the [0, 1] range, whereas P equals 0.5, and R B is the Brownian motion vector.• Unity Speed Ratio Phase: This phase is represented by the second one-third portion of the iterations.It is related to the case of equal speed between prey and predators, in which, the predators' movements are represented by Brownian expression and the prey's movements are represented by the Lévy flights model method.Within this phase, the population is divided into two subdivisions.In the first part, ( 34) and ( 35) are used, whereas in second part, (36) and (37) are employed for modifying the locations as follows [57]: where R L is a random variable, and it is generated using Lévy distribution. where where t and t max are the current value and the maximum value for iterations.• Low Speed Ratio: This phase is formed by the last one-third of the iteration.In this phase, the prey's speed is lower than the predators' speed, in which the location modifications are expressed as follows [55]: In [55], the formation of eddy and fish aggregation devices (FADs) effecting Fs is utilized to count for the surrounding environment conditions of prey and predators.The positions of the population are modified based on FADs to avoid the local optimum solution.It is represented as follows: where Fs is set at 0.2, W is a binary number between 0 and 1, and r stands for a random number.However, r1 and r2 are random indices of prey.Z max and Z min are the lower and upper bounding vectors.
The tuning process is made offline, and thanks to recently developed powerful computers, the control parameters design process has become possible without consuming more time.Moreover, recent advanced digital signal processors facilitated the fractional-order control implementation and application.Output best parameters solution End of the optimization process Assigning top predators (Elite)

Yes
No Solution Update Process: 1-Use the first one-third of population and update solution using ( 32) and (33) 2A-Use half of the second one-third of population and update solution using (34) and ( 35) 2B-Use second half of the second one-third of population and update solution using ( 36) and (37) 3-Use the third one-third of population and update solution using (39) and ( 40) Fitness Evaluation Process: 1-Begin with applying FADs using (4) 1-Evaluate Fitness Function using ( 24) -( 27) 1-Besgin with the first one third of population and update solution using ( 36) and ( 37) 1-Besgin with the first one third of population and update solution using (39) and ( 40)

Simulation Results
In order to improve the LFC of the dual-area MG power systems, this section focuses on the validity and effectiveness of the suggested control technique of the new cascaded 2DOF TIDN-TDN controller coordinated with the EV system.The MPA optimizes the specified control strategy as well as other strategies.The proposed method is checked using the MATLAB/Simulink software 2021a by integrating the two-area system's Simulink with the algorithm code for the MPA to achieve the LFC fitness function.Using a desktop computer with a processor Intel Core i5 CPU clocked at 2.8 GHz, 64-bit version, the entire code of the dual-area microgrid network is implemented.Utilizing the same technique with the EV model based on the MPA method and under the same operating provisions of load change and RESs disturbances of the thoughtful multiarea MG power network, which implicate a decentralized 2DOF TIDN-TDN controller for the AGC and TID for the EV system in each area, the proposed 2DOF TIDN-TDN concept is established by comparing its interpretation with classical and sophisticated control techniques, such as TID, FOTID, and TID-FOPIDN, and the following operational circumstances for the researched multiarea MG system are investigated in terms of the results: To judge the efficiency of the proposed MPA-based design, its convergence characteristics are compared with the PSO, GWO, and WOA optimizers.The results are obtained using a computer with a Core-i5 CPU 2.8 GHz and a 64-bit system.The results for IAE, ISE, ITSE, and ITAE are shown in Figure 9.In addition, the calculations of the ISE, ITSE, IAE, and ITAE for the studied optimizers are summarized in Table 6.The results show that the lowest objective function minimization is obtained using the MPA method in the case of ISE and ITAE.The PSO comes in second place in these two objectives.Additionally, MPA and PSO share the best convergence characteristics in the IAE and ITSE cases.However, MPA possesses faster convergence to the optimum values compared with that of the PSO method in those two cases.

Scenario 1
A 20 MW load is installed in area 1 at an instant of 5 s in this scenario for testing the proposed 2DOF TIDN-TDN controller for LFC and TID controller for an EV system on the studied dual-area MG network based on the MPA method, which is verified by comparing it with PSO, WOA, and GWO in this scenario, as noted in Figure 10.As shown in Figure 11, the suggested approach with SLP is compared with TID, FOTID, and TID-FOPIDN controllers for the suggested dual-area network frequency and power diffraction response.The conventional TID controller has the lowest performance in this graph compared with other approaches, with substantial undershoot values at −0.024 Hz in the first area, −0.019 Hz in the second area, and −0.006 p.u. for tie power.FOTID maintained the frequency variation at −0.014 Hz in area 1 and 0.008 Hz in area 2, with −0.0024 p.u in substitution power between the two areas.However, the cascaded TID-FOPIDN controller provided satisfactory results compared with earlier control methods by dampening the system perversions to acceptable levels, as summarized in Table 7.In contrast to other comparable cascaded controllers, the proposed 2DOF TIDN-TDN controller has the fastest response and the lowest oscillations in regulating frequency and power variations.Further comparisons between the suggested controllers are provided in Table 7.The table displays that the proposed 2DOF TIDN-TDN strategy has the smallest peak overshoots (PO), peak undershoots (PU), and settling time (ST) in terms of frequency errors and exchange tie-line power between the multiarea systems.The obtained results state that the inner loop of the two cascaded TID-FOPIDN and 2DOF TIDN-TDN controllers responded to the varied dynamics originating from the different generation sources in both areas, and the outer loop controller can handle the power system dynamics and the SLPs.Therefore, the performance of the proposed cascaded controllers is more influential than that of the other conventional feedback controllers.

Scenario 2
The system frequency and power increase dramatically in the case of sudden load failure, which may disturb the generation/demand balancing condition.Therefore, this scenario tested the performance of all the suggested controllers, in this case, by shedding a 200 MW load in a time of 15 s. Figure 12 shows the impact of this critical situation on the tie-line power change and system frequency deviations.It is distinct that the proposed 2DOF TIDN-TDN controller attains the best performance indices among the other LFCs, since the proposed controller achieves the lowest POs, PUs, and STs.Furthermore, the proposed method can damp the frequency oscillations quickly to their steady-state value after 18 s for the frequency error in area 1, whereas the TID, FOTID, and TID-FOPIDN controllers reach this value after 26 s, 28 s, and 29 s, respectively.Overall, these results ensure the superiority of the multiloop cascaded 2DOF TIDN-TDN and TID-FOPIDN controllers in achieving enhanced and fast responses better than the individual controllers during the critical failure case of microgrid loads.

Scenario 3
This scenario examined the strength of the proposed coordination-based 2DOF TIDN-TDN as an LFC with EVs using the MPA technique under the impact of parameter uncertainties of the nuclear power plant.However, the parameters of the nuclear plant generation are drastically adjusted in accordance with area 1, [K H = +40%, T T1 = +70%, K R1 = +50%, T RH1 = +20%, T RH2 = +30%, T 2 = +60%], and area 2, [K H = −40%, T T1 = −70%, K R1 = −50%, T RH1 = −20%, T RH2 = −30%, T 2 = −60%].The studied dual-area power network system is tested under the same operating condition as the load perturbation of scenario 1. Figure 13 shows the dynamic responses of ∆ f 1 , ∆ f 2 , and ∆P tie of the system, respectively.From the result in this figure, it is evident that when using the TID controller, the frequency deviation is higher compared with previous cases, with undershoot values measuring 0.028 Hz in area 1 and 0.022 Hz in area 2. While the FOTID gave satisfying results with respect to the TID controller, it endured protracted damped oscillations, and it did not have the ability to retrieve the frequency to its steady-state value in a short time duration.However, the cascaded TID-FOPIDN preserved the system frequency at 0.01 Hz in area 1 and at 0.004 Hz in area 2, and the perversion of the power in the tie-line is 0.00494 p.u.On the other hand, the new cascaded 2DOF TIDN-TDN controller is the quickest in curbing the frequency and tie-line power deviations, and it has a lower steady-state error value than that presented by other traditional and cascaded controllers.

Scenario 4
The substantial target of this study case is to elucidate the interpretation of the proposed cascaded 2DOF TIDN-TDN control scheme based on the MPA algorithm under the influence of load parameter uncertainties due to multiple-load demands, as depicted in Figure 14 of this scenario.Figure 15 shows the dynamic frequency and energy exchange of the multi-microgrid system due to this significant load change.It is noticed that the proposed 2DOF TIDN-TDN controller has faster action with the slightest deviations compared with other control techniques, especially at the instant of the worst load shift in this scenario (t = 140 s).It can minimize the frequency diffractions in the first area 85.92%, 74.1%, and 60% better than the TID, FOTID, and TID-FOPIDN controllers, respectively.Additionally, it can demoralize the frequency vibrations in the second area with percentage gains of 91.9%, 80.85%, and 68.42% compared with the TID, FOTID, and TID-FOPIDN controllers, respectively.Furthermore, Table 7 shows that the proposed cascaded 2DOF TIDN-TDN controller has the lowest tie-line exchange power when compared with the other methods.The calculations of ISE, ITSE, IAE, and ITAE for all the studied scenarios are summarized in Table 8.Moreover, it is clear from this discussion that the percentage coordination of the LFC and EV participation utilizing the new 2DOF TIDN-TDN controller based on the efficient MPA technique yields the best results through the three-step load changes in this scenario.This is due to the function of the inner loop 2DOF-TDN of the proposed controller schematic responding quickly to the variation in the load demand.Furthermore, the results manifest that the other single-loop structures have a phase lag regarding the multiple-load disturbances compared with the suggested cascaded controllers.This study tests the novel cascaded 2DOF TIDN-TDN controller, augmented with EV participation in the LFC loop, under severe disturbance conditions involving high levels of RES penetration.However, the PV power unit is connected at the initial time, while the wind power is integrated at 110 s, in addition to the effect of multiple-load changes, as shown in Figure 16. Figure 17 illustrates the obtained comparative results for the frequency and tie-line power in this case.It is clear that the fluctuation of ∆ f 1 and ∆ f 2 is close to +0.4 Hz, and more than 0.06 p.u. in tie-line power is achieved by using the TID controller.It is followed by the FOTID controller, with a variation in +0.2 Hz in both power system zones.While the two cascaded TID-FOPIDN and 2DOF TIDN-TDN controllers give deviations around +0.1 Hz and 0.08 Hz in area 1 and area 2, respectively, the proposed 2DOF TIDN-TDN controller is efficient and controls the deviations within the lowest time frame with minimum overshoot and undershoot values, especially at the severe load variations instants at 40 s and 80 s.This, in turn, confirms that the new proposed controller acquires superior performance when compared with the other used controllers.In addition, these results prove that the proposed cascaded 2DOF TIDN-TDN controller has a very fast inner control loop, which can respond more quickly to disturbances of load and RES than its outer loop.From another approach, the cascaded (2DOF TIDN-TDN) control signal, which is applied to the conventional power generators and energy storage devices in both area (a) and (b) enables the EVs to have a fast performance in the charge/discharge process and obtain less power from these generators than the other addressed controllers, as shown in Figure 18 and Figure 19, respectively.Therefore, it is clear from this result's explanation that the proposed cascaded 2DOF TIDN-TDN controller based on the MPA technique is the most effective one in this scenario.

Scenario 6
To scrutinize the interpretation of the proposed 2DOF TIDN-TDN controller, the system is submitted to high perturbations, such as multistep load perturbation, RES power fluctuations, and parameter changes that could cause system instability.In this case, the MG network parameters were changed as follows: low system inertia (i.e., 50% alleviation of its nominal values in two-area) and changes in the parameters of the nuclear plant generation in accordance with area 1, [K H = +40%, T T1 = +70%, K R1 = +50%, T RH1 = +20%, T RH2 = +30%, T 2 = +60%], and area 2, [K H = −40%, T T1 = −70%, K R1 = −50%, T RH1 = −20%, T RH2 = −30%, T 2 = −60%], under the same operating conditions discussed in scenario 4. The obtained results are shown in Figure 20.It is observed that the TID and FOTID controllers have the lowest performance for all perturbation stipulations in this scenario.For instance, the obtained values at 40 s for ∆ f 1 are 0.28, 0.18, 0.11, and 0.056 for the TIDF, FOTID, TID-FOPIDN, and the 2DOF TIDN-TDN, respectively.It is obvious that the proposed approach acquires the minimum values of the measured PO, PU, and ST in ∆ f 1 , ∆ f 2 , and ∆P tie .

Stability Analysis of the Closed-Loop System
Based on the studied system modeling and the proposed 2DOF (TIDN-TDN) controller, a stability analysis based on the Bode diagram plot is performed.Figure 21 shows the Bode plot of the examined system loop gains with the proposed controller.The magnitude of the gain margin plot is more steady for all frequencies, according to Figure 21.As a result, the phase margin is infinite, displaying that the proposed controller is able to deal with system uncertainty.

Conclusions
An optimized 2DOF TIDN-TDN controller was proposed in this paper for the LFC of multisourced interconnected power systems.The proposed controller uses the frequency signals in the inner loops, which enables the mitigation of high-frequency disturbances.Moreover, it uses the ACE in the outer loop, which results in mitigating the low-frequency disturbances.Additionally, the powerful recent marine predator optimizer algorithm (MPA) is proposed for the simultaneous optimization of the LFC and EV controllers' parameters in different areas.Therefore, improved optimum performance is achieved using the proposed MPA-based optimized 2DOF TIDN-TDN controller.Moreover, coordination of EV control is proposed to contribute to mitigating existing disturbances in the power systems (vehicle-to-grid V2G concept).The proposed controller and optimized design were tested and compared using the RES highly penetrated dual-area power systems.The acquired results confirm the superior performance measurements of the proposed 2DOF TIDN-TDN controller over the existing TID, FOTID, cascaded TID-FOPIDN controller.For instance, at step load change, the maximum undershoot in the first area frequency is 0.003 p.u. using the proposed controller compared with 0.007, 0.015, and 0.024 with TID-FOPIDN, FOTID, and TID, respectively.The estimated ISEs in this case were 2.7096 × 10 −6 , 1.1264 × 10 −5 , 5.9414 × 10 −5 , and 4.0164 × 10 −4 using the proposed 2DOF TIDN-TDN, TID-FOPIDN, FOTID, and TID, respectively.This signifies that the proposed 2DOF TIDN-TDN LFC has ISE values of 24.06%, 4.56%, and 0.67% compared with TID-FOPIDN, FOTID, and TID, respectively.Future work includes frequency-domain stability analysis and comparison of the fractional-order cascaded controllers.In addition, the consideration of existing communication delays can be presented and investigated from the control design and stability analysis side.

Figure 1 .
Figure 1.Power system structure of the two studied areas.

2 Figure 2 .
Figure 2. Mathematical model details of the studied diverse-source two-area interlinked power systems with EVs and RESs.

Figure 3 .
Figure 3. Dynamic modelling of EVs for the intended LFC study.

Figure 4 .
Figure 4. Block diagrams for some selective FO LFC methods.

Δf 1 ,Figure 7 .
Figure 7.The optimal parameters of optimized controllers using the MPA algorithm.

Initialization Process: 1 -
Define setting parameters for MPA algorithm 2-Define oprimization process related parameters, such as population size, and maximum Number of Iterations 3-Construct the initial Elite 4-Set t equal to 1 Start Is criteria is met for termination?

Figure 9 .
Figure 9. Convergence characteristics of MPA compared to other optimization techniques.

Figure 11 .
Figure 11.The frequency response of the dual-MG with step load 1% in scenario 1.

Figure 12 .
Figure 12.The frequency response of the dual-MG in scenario 2.

Figure 13 .
Figure 13.The dynamic response of the system in scenario 3.

Figure 15 .
Figure 15.The frequency response of the dual-MG in scenario 4.

Figure 16 .
Figure 16.profiles of different generators for Scenario 5.

Figure 20 .
Figure 20.The frequency response of the dual-MG in scenario 6.

Figure 21 .
Figure 21.Bode plot of the examined system loop gains with the proposed controller.

Table 1 .
The coefficient parameters of the proposed controller utilizing the MPA algorithm.

Table 2 .
The coefficient parameters of the proposed controller utilizing the PSO algorithm.

Table 3 .
The coefficient parameters of the proposed controller utilizing the WOA algorithm.

Table 4 .
The coefficient parameters of the proposed controller utilizing the GWO algorithm.

Table 5 .
The coefficient parameters of the different controllers utilizing the MPA algorithm.

Table 6 .
Comparative analysis of objective function indices for the study of the different PSO, WOA, and GWO algorithms.

Table 7 .
Obtained results for the tested scenarios.

Table 8 .
Different objective function indices for suggested controllers.