Thank you for visiting nature.com. You are using a browser version with limited support for CSS. To obtain the best experience, we recommend you use a more up to date browser (or turn off compatibility mode in Internet Explorer). In the meantime, to ensure continued support, we are displaying the site without styles and JavaScript.
Advertisement
Scientific Reports volume 15, Article number: 40405 (2025)
1775
3
Metrics details
The concept of Islanded Hybrid Power System (IHPS) has attracted considerable interest lately, especially for energizing remote or energy-poor locations. IHPS are more dependable and cost-effective alternatives to systems using only one energy source when properly constructed. IHPS configuration, including Diesel Engine Generator (DEG), Photovoltaic (PV) systems, and Battery Storage (BATT) elements, are desirable for islanded systems about price and dependability. IHPS mostly use Renewable Energy Sources (RES) for power production, which is variable. Consequently, these variations often make it difficult for traditional control systems to maximize efficiency across various operating environments. The current research discusses the requirement for more effective frequency control in IHPS by suggesting a Model Reference Adaptive Control-Fuzzy Proportional Integral based Whale Optimization Algorithm (MRAC-FPI-WOA) controller. The proposed controller can efficiently manage a range of disturbances by dynamically adjusting its control techniques. The current research conducts an evaluation study comparing the effectiveness of the suggested MRAC-FPI-WOA controller against FPI-WOA, PI-WOA, and PI-PSO controllers. The key evaluation criteria are the ability to maintain stability in frequency within the IHPS and the effectiveness of power production in the overall system. The results demonstrate the superior performance of the MRAC-FPI-WOA controller across diverse operational scenarios. Notably, during a three-phase fault at Bus2, the MRAC-FPI-WOA controller achieves significant performance enhancements over the PI-PSO controller, with reductions of 59.05% in maximum overshoot (%(:{text{M}}_{text{p}})), 72.83% in maximum undershoot (%(:{text{M}}_{text{u}text{s}})), 32.07% in settling time ((:{text{T}}_{text{s}})), and 34.81% in the integral of time-weighted absolute error (ITAE). A similar trend is observed during a three-phase fault at the tie-line, where the MRAC-FPI-WOA controller yields improvements of 57.47% in %(:{text{M}}_{text{p}}), 79.36% in %(:{text{M}}_{text{u}text{s}}), 40.9% in (:{text{T}}_{text{s}}), and 78.08% in ITAE. Furthermore, the controller exhibits exceptional dynamic responsiveness to ramp variations in solar radiation, substantially reducing %(:{text{M}}_{text{p}}:)by 96.72%, %(:{text{M}}_{text{u}text{s}}) by 95.24%, (:{text{T}}_{text{s}}:)by 22.79%, and ITAE by 89.69%. Additionally, it demonstrates robust adaptability to random solar radiation fluctuations, consistently optimizing transient response with reductions of 96.63% in %(:{text{M}}_{text{p}}), 99.58% in %(:{text{M}}_{text{u}text{s}}), 22.07% in (:{text{T}}_{text{s}}), and 95.23% in ITAE.
Sustainable energy solutions are being widely adopted in modern power systems to reduce environmental impact and enhance grid performance. While they improve efficiency, voltage stability, and ecological benefits, their excessive integration can challenge grid operation, protection, and control1. A microgrid (MG) represents a localized power network that integrates renewable generation sources (e.g., photovoltaic arrays, wind turbines) with energy storage components (e.g., battery banks) to form a self-contained electrical system2. Hybrid Power System (HPS) operation can switch between two key modes: independent (islanded) and grid-tied operation. IHPS are considered the most effective approach for supplying electricity to remote and rural areas due to their technical feasibility and cost-efficiency3. The intermittent and unpredictable nature of RES in HPS can cause voltage instability and oscillations, potentially affecting connected loads. To ensure system reliability and the quality of electrical supply, an effective control strategy must be developed, allowing the HPS to operate efficiently despite uncertainties in weather conditions and load variations during the system runs in real-time4. As a result, IHPS operations necessitate BATT to retain surplus energy generated by the HPS, ensuring power availability when production is insufficient to meet demand. This study examines the dynamic performance of IHPS under various operating conditions.
The efficient control and management of HPS require advanced strategies and algorithms to optimize the utilization of RES, manage BATT, and ensure a stable and reliable power supply5. One of the most critical aspects of HPS operation is frequency stability, which is essential for maintaining high-quality electricity for connected loads. Fluctuations in frequency arise from variations in power generation and consumption, highlighting the necessity for robust frequency regulation mechanisms to maintain HPS stability and performance6. Several approaches can be applied to frequency regulation in IHPS. One widely used method involves BATT to compensate for fluctuations in RES generation, ensuring a steady and secure system frequency. Other techniques include advanced control strategies and demand-side management approaches. Extensive research has explored various control methodologies for regulating the operation of standalone hybrid MG7. A control strategy proposed in8 focuses on biogas-based MG, allowing the system to increase or decrease power generation in response to disturbances caused by fluctuations in RES input or load demand. However, a key drawback of this approach is its inability to respond swiftly to sudden changes, potentially leading to transient instability. Additionally, the controller may lack robust fault detection and isolation capabilities, and its effectiveness could decline when scaling up or integrating with larger power grids. To enhance frequency regulation and stability, Ref9 suggests using an adaptive active power droop controller along with voltage setpoint adjustment in IHPS. These control mechanisms aim to improve the overall performance of HPS systems. Furthermore, Ref10 explores a control technique for BATT designed to mitigate frequency variations and enhance the dynamic response of IHPS. To achieve superior frequency stability during transient disturbances, they propose the use of a Piecewise Linear-Elliptic (PLE) droop characteristic in BATT control systems. This control characteristic enables a faster equilibrium between consumption and power generation, leading to improved frequency regulation in HPS. However, while the PLE controller can reduce frequency variations, it does not fully eliminate them. Additionally, it may be less effective when load demand is lower than power generation, potentially causing sudden fluctuations in BATT output power. In11, a voltage regulation strategy for IHPS incorporating PV and BATT was examined. Ref12 deals with the control of the Vehicle Cruise Control System (VCCS) based on a Model Predictive Controller (MPC) in parallel with the conventional PID controller. The study evaluates the technique’s effectiveness in improving HPS performance, but it does not fully address key challenges related to islanded mode regulations, frequency stability, protection settings, power management, and load diversity handling in HPS.
Optimization algorithms inspired by biological and natural phenomena are classified as metaheuristic approaches. Unlike traditional mathematical optimization techniques, which often struggle with complex search spaces, metaheuristic algorithms effectively explore potential solutions to high-dimensional, nonlinear, and multi-modal optimization problems. As a result, techniques like the WOA, Particle Swarm Optimization (PSO), and Genetic Algorithm (GA) have gained widespread attention across various fields. These techniques are commonly used to optimize system performance by fine-tuning control parameters in advanced control systems, including Proportional-Integral (PI), Proportional-Integral-Derivative (PID), Fuzzy Proportional-Integral (FPI), Fractional-Order PI (FOPI), and Fuzzy-Fractional Order PID (FFOPID) controllers.
Recent studies highlight innovative bio-inspired optimization techniques for power systems. In13 Bio-Dynamic Grasshopper Optimization Algorithm (BDGOA) is used to optimize Tilt-Derivative with N-filter plus PI controllers for frequency/tie-line oscillation damping. In14 Diligent Crow Search Algorithm (DCSA) is employed for solar cell parameter identification to maximize PV output. In15 Hybrid Adaptive Ant Lion Optimization (HAALO) with PI/FOPID controllers is developed to enhance Switched Reluctance Motor performance through adaptive mutation and torque ripple reduction. In16 BDGOA is applied for precise parameter estimation across five solar module technologies. In17 Crow-Search Algorithm (CSA) is employed to optimize Type-2 Fuzzy Cascade (T2F-CPIF) controllers for robust frequency/tie-line error mitigation in hybrid systems under contingency scenarios. In18 WOA is utilized to enhance Fuzzy Cascade PD-PI controllers, substantially improving microgrid transient response during operational disturbances. For secondary frequency regulation. In19 Improved Salp Swarm Optimization (I-SSO) tuned Type-II Fuzzy PID controller is implemented to maintain nominal frequency and tie-line power despite uncertainties. Complementing these approaches. In20 advanced Sine Cosine Algorithm (a-SCA) is implemented to optimize the Fractional-Order Fuzzy for precise generation-demand balancing in fluctuating conditions. In21 Coati Optimization Algorithm (COA) was implemented to optimize the parameters of Fuzzy-PI (FPI) and conventional PI controllers, significantly improving the frequency regulation performance in a two-area power system. In22 modified Sea-horse Optimization (SHO) method is developed for tuning Proportional-Integral-Derivative-Tilt (PID-T) controllers in renewable-integrated multi-area systems. In23 SHO is enhanced to optimize Model Predictive Control (MPC), PID, Fractional order proportional integral derivative (FOPID), and Tilted Integral Derivative (TID) controllers for complex power networks. For cyber-resilient operation. In24 Chaos Quasi-Oppositional SHO (CQOSHO) proposes to tune a novel Cascaded tilted-FO derivative with filter ((:{text{C}text{P}text{D}}^{{upmu:}})F − TI) controller with deep learning capabilities. Complementing these advances. In25 Opposition-based SHO (OSHO) is developed for hybrid systems, optimizing TID-MPC controllers to manage renewable penetration and virtual inertia challenges. In26 Dragonfly Search Algorithm (DSA) is employed to optimize an Adaptive Fractional Order PI (AFOPI) controller for precise motor speed regulation. In27 DSA is utilized for tuning a novel cascaded PI-(FOP + PD) structure to mitigate frequency fluctuations in power systems. Complementing these approaches. In28 Tunicate Search Algorithm (TSA) is implemented to enhance transient stability in hybrid grids through optimized Tilt Fractional Order PID (TFOPID) control. These developments showcase the effectiveness of bio-inspired optimization in addressing diverse control challenges across electromechanical and power system applications.
The proposed WOA has demonstrated remarkable efficacy across diverse domains, especially in enhancing control system configurations29. For instance, when applied to PID controllers, WOA-optimized systems achieve rapid transient responses, minimized steady-state deviations, and enhanced oscillation damping in contemporary power grids, outperforming GA and Artificial Bee Colony (ABC) approaches30. In renewable energy applications, WOA-driven Fractional-Order Proportional-Integral Controllers (FOPIλ) excel within sensor-free speed control applications for solar-fed permanent-magnet brushless DC motors. These systems surpass Bat Algorithm (BA) and Grey Wolf Optimizer (GWO) implementations by reducing tracking errors and shortening convergence intervals31. Similarly, WOA-enhanced FFOPID controllers integrated into active vehicle suspension models significantly attenuate driver vibrations relative to Fractional-Order PID (FOPID) and PSO-tuned counterparts32. Furthermore, WOA-based Maximum Power Point Tracking (MPPT) techniques applied to Proton Exchange Membrane Fuel Cells (PEMFC) dynamically adapt to electrolyte hydration fluctuations, securing optimal power extraction with greater efficiency than Perturb-and-Observe (P&O), Fuzzy Logic Controller (FLC), and PSO methodologies33. These advancements underscore WOA’s versatility in resolving nonlinear, multi-variable challenges across energy and mechanical systems.
The Research gap of this study includes:
Limitations of Traditional Controllers: Existing IHPS studies rely on PI, PID, FOPI, and FPI controllers, which face challenges in handling nonlinear system dynamics and severe grid disturbances. These controllers show slow transient recovery, increased frequency overshoot, and prolonged settling times, compromising system stability.
Inadequate Handling of Diverse Disturbances: Prior research does not sufficiently address the combined impact of gradual fluctuations (e.g., solar irradiance) and severe grid anomalies (e.g., three-phase faults, load shedding), causing instability in IHPS.
Lack of Adaptive Frequency Control: Many existing controllers do not adapt to varying renewable energy fluctuations and load changes, leading to poor frequency regulation and reduced system efficiency.
Deficiencies in Power Coordination and Scalability: Conventional methods do not effectively coordinate power generation, storage, and demand, limiting overall system reliability and scalability for real-world applications.
Underutilization of Intelligent Optimization in Control Tuning: Automated gain calibration for frequency controllers is underdeveloped, and no framework integrates nonlinear adaptive control with swarm-based optimization for dynamic tuning.
Need for an Advanced Control Strategy: A novel approach is crucial for optimizing frequency regulation, transient stability, and operational robustness in IHPS. The integration of MRAC-FPI-WOA gives a promising answer by enabling adaptive tuning in real time and intelligent power coordination in IHPS.
The contributions of this study include:
Methodological innovations:
Investigates the transient behavior and operational robustness of integrated PV-BATT-DEG power systems under both gradual environmental perturbations (e.g., incremental solar irradiance shifts) and severe grid anomalies (e.g., three-phase faults, abrupt load shedding).
Proposes a load frequency control to synchronize power generation, storage, and demand in IHPS. This strategy strengthens inter-component coordination, adapts to real-time grid dynamics, and ensures voltage/frequency stability during fluctuating renewable outputs and load transitions.
Develops a non-linear adaptive controller (MRAC-FPI-WOA). This innovation optimizes transient frequency recovery across diverse operating regimes, outperforming PI-PS0, PI-WOA and FPI-WOA controllers in damping oscillations and minimizing settling times.
Enhances the technical feasibility of large-scale renewable adoption by mitigating frequency volatility in IHPS. This advancement aligns with global sustainability agendas, reducing fossil dependency while improving energy distribution reliability in decentralized grids.
Algorithmic implementations:
Proposes Beta-based MPPT technique, which enhances the tracking accuracy and dynamic performance of the PV system by adaptively controlling power extraction based on a novel intermediary variable (β), rather than relying solely on conventional power change methods. The WOA is integrated with the beta-based MPPT controller to enhance the total efficiency of the PV system.
Leverages the PSO and WOA to automate gain calibration for proposed controllers. WOA effectively resolves nonlinearities and component interdependencies, ensuring the best dynamic response in variable operating conditions.
Simulation/experimental findings:
Demonstrates the MRAC-FPI-WOA’s superiority through rigorous metrics: lower maximum overshoot (%(:{text{M}}_{text{p}})), and trough undershoot (%(:{text{M}}_{text{u}text{s}})) at lower frequencies, faster settling time ((:{text{T}}_{text{s}})), and a decrease in the integral of time-weighted absolute error (ITAE) in contrast to benchmarks. These results validate its capability to sustain grid stability during both minor and catastrophic disturbances.
This paper’s remaining sections are arranged as follows: This paper systematically explores the design and control of IHPS components PV systems, DEG, and BATT in “Modeling of islanded hybrid power system“, proceeding to evaluate four frequency control strategies, including MRAC-FPI-WOA, FPI-WOA, PI-WOA, and PI-PSO controllers in “Frequency Control“. A detailed simulation-based analysis in “Results and discussion” compares controller performance under seven scenarios, including three-phase faults, step/ramp/random solar irradiance fluctuations, as well as abrupt load changes and composite disturbances. Cases 3 (step irradiance) and 6 (sudden load shift) are tested concurrently to assess robustness under hybrid stresses. The study concludes in “Conclusions” that the MRAC-FPI-WOA controller, enhanced by metaheuristic tuning, outperforms conventional methods in maintaining frequency stability and power quality across all disturbances, underscoring its potential to enhance HPS resilience in real-world applications characterized by renewable intermittency and operational uncertainties.
This research undertaking centers its analytical scope on the architectural design and functional dynamics of Alternating current (AC) IHPS, integrating multiple distributed energy resources, including DEG, PV, AC consumer loads, and advanced BATT solutions. Figure 1 delivers a refined schematic overview of the IHPS infrastructure, emphasizing the interconnection of the DEG to the primary AC distribution backbone through sophisticated power electronic interfaces. These components perform dual critical functions: harmonizing the phase and frequency characteristics of disparate AC power sources while enabling efficient conversion of Direct Current (DC) electricity harvested from solar panels into HPS-compatible alternating current waveforms. The BATT incorporates a bidirectional power conversion apparatus, engineered to transition seamlessly between AC-to-DC operational modes during energy accumulation cycles and DC-to-AC modes during discharge phases. This dual functionality not only stabilizes the HPS against voltage fluctuations and transient load imbalances but also enhances operational flexibility during system upkeep or component servicing. This comprehensive framework underscores HPS’s resilience in maintaining uninterrupted power delivery while accommodating diverse energy inputs and dynamic load profiles.
Block diagram of the proposed IHPS.
This section introduces a detailed and robust simulation framework designed to be a high-performance PV system. The system architecture encompasses several critical elements: a 100-kilowatt solar panel array, a step-up DC-DC converter, a power inversion unit, and a voltage adjustment transformer. A methodically structured schematic diagram and computational model, illustrated in Fig. 2, offer a comprehensive and logically organized visualization of the entire configuration. Sunlight is harvested by a solar array and converted into DC electricity. To enable compatibility with standard power distribution networks, this DC output must undergo conversion to AC. This critical transition is eased by the inverter module, which transforms the unidirectional electrical flow into a three-phase AC output synchronized with grid specifications. Subsequently, a voltage-elevating transformer amplifies the AC voltage to match the grid’s operational requirements, ensuring seamless energy transfer.
Each component operates synergistically: the Boost converter optimizes the DC voltage from the solar panels to maximize efficiency, the inverter ensures waveform compatibility with HPS standards, and the transformer bridges voltage disparities to enable stable power injection. This integrated approach highlights the system’s capability to efficiently harness, process, and deliver renewable energy while adhering to technical and operational benchmarks for grid integration34,35.
Schematic of a Solar PV System.
Various mathematical representations describing the functionality and efficiency of solar panels have been extensively documented in previous studies. For real-time simulation, it is necessary to develop an equivalent circuit model of PV cells. Among the different approaches, the single-diode model is the most widely adopted by researchers. This circuit configuration comprises, at a minimum, four key elements: a photocurrent source ((:{I}_{ph})), a diode (D), a shunt resistance ((:{R}_{sh})), and a series of resistance ((:{R}_{ser})). Based on the equivalent single-diode model of a PV cell depicted in Fig. 3, the output current ((:{I}_{out})) can be expressed mathematically in the following way36,37.
Where(::left({N}_{P}right)) is the number of PV cells arranged in parallel, ((:{I}_{rs})) is The PV cell’s reverse leakage current, (q) is the electric charge of an electron,(:{(V}_{out})) is the cell’s output voltage, (A) is the diode ideality factor, (K) is the Boltzmann constant, (T) is the temperature measured in Kelvin, (:{(N}_{S})) is the total PV cells wired in a series connection,(:{:(text{I}}_{text{s}text{c}})) is the short-circuit current, (:{(k}_{i})) is the short circuit current factor, (:left({T}_{r}right)) is the cell reference temperature and (E) is the solar irradiance.
Schematic representation of a basic diode-based model used for PV solar cells.
Figure 4(a) and Fig. 4(b) depict the I-V and P-V characteristics of the PV cell, derived from a MATLAB-based computational model. These findings provide critical insights into the operational dynamics of the solar module under fluctuating irradiance scenarios, revealing how variations in solar intensity influence electrical output characteristics such as Maximum Power Point (MPP), open-circuit voltage (:{(V}_{oc}), and (:{I}_{sc})). The simulations show the nonlinear relationship between irradiance levels and energy conversion efficiency, emphasizing the importance of adaptive control strategies for optimizing solar harvesting in real-world environmental conditions.
(a) I-V curve and (b) P-V characteristics of solar cells at varying irradiation levels.
A basic DC-DC boost converter is employed to deliver power from the PV to the DC link and the inverter once the matching condition between them is met. This matching is achieved by applying a suitable duty cycle (ranging between 0 and 1). The converter’s switching element, typically an IGBT, is regulated using a PWM signal. Figure 5 displays the Simulink model layout of the boost converter. The mathematical relationships governing the converter’s input and output parameters are expressed through the following Eqs35,36.
Here, the input and output voltages, along with the duty cycle, are represented as(:{::(V}_{o:}), (:{V}_{in}), and D), respectively. The roles of the boost converter’s inductor (L) and capacitor (C) elements are specified as follows35,36:
Where ((:f)) is the frequency, (:(varDelta:I) and (:varDelta:V)) are the current and voltage ripple.
Circuit diagram of a boost converter.
The β-MPPT method involves observing an intermediate variable called ((:beta:)), rather than directly tracking power variations, as outlined in Eqs. (7) and (8)36,37.
Here, (:left({I}_{pv}right)) is the output current, (C) is the diode constant, and (N) is the total count of solar cells contained in the module.
This method uses a hybrid step-size strategy, applying a variable step during dynamic changes and a fixed step during stable operating conditions. As outlined in Fig. 6, the algorithm begins by continuously observing voltage and current values to compute the intermediary beta parameter. If the calculated beta lies within a designated threshold range ((:{beta:}_{min}) to (:{beta:}_{max})), the system is in a steady state, and a fixed step is applied. If beta falls outside this range, the algorithm identifies a transient phase and switches to a P&O approach. In this stage, the variable step size, denoted as ΔD, is adjusted based on a reference parameter called (:{(beta:}_{g})), which is defined mathematically in Eq. (9)36,37.
Where (F) is the scaling factor.
Flow chart of β-MPPT.
The WOA discussed in Sect. 4 is integrated with the beta-based MPPT controller to enhance the total efficiency of the PV system. Within this hybrid framework, the scaling factor (F) is essential for adaptively regulating the step size (∆D) during the dynamic response phase of the Beta MPPT method. Selecting the perfect value for (F) is key to achieving:
Rapid tracking of the Maximum PowerPoint (MPP).
Minimized fluctuations during steady-state operation.
Enhanced performance across various levels of sunlight and temperature conditions.
Since the scaling factor (F) significantly affects MPPT efficiency but does not have an exact analytical expression, a metaheuristic optimization method can be applied to find its best value. The WOA offers a reliable control mechanism across various load scenarios and system parameters. This enhances both the flexibility and resilience of the control framework, ensuring that the Beta MPPT method consistently performs at its best under changing operational conditions. The objective function aims to find the ideal value of the scaling factor in a way that enhances power extraction efficiency (η) while simultaneously reducing both convergence time (CT) and Steady-State Oscillations (SSO). The goal is to minimize J(F) and obtain the best value of the scaling factor as outlined in Fig. 7.
Where:
MPPT Efficiency (η) is expressed as the ratio of the power obtained using the MPPT method ((:{P}_{MPPT})) to the ideal power ((:{P}_{ideal})).
(SSO) is the Root Mean Square (RMS) value of the power fluctuations in the steady state.
CT refers to the duration needed for the system to reach 98% of the (:{text{P}}_{text{i}text{d}text{e}text{a}text{l}}).
(W₁, W₂, and W₃ ) are the weighting coefficients assigned to balance the impact of each parameter in the optimization process.
Flow chart of the WOA to calculate the best value of the scaling factor (F).
As illustrated in Fig. 8, the control framework of the voltage source inverter (VSI) includes two inner loops for managing current and two outer loops for managing voltage. The d-axis current ((:{text{I}}_{text{d}})) controls active power, which directly influences the DC bus voltage. On the other hand, controlling the q-axis current ((:{text{I}}_{text{q}})) allows for the regulation of reactive power, thus stabilizing the AC load voltage. The PI controller is employed to evaluate and enhance the dynamic response of the external voltage regulation loops on the DC and AC sides3,21. The mathematical expressions governing the VSI voltage are outlined in Eq. (11). To operate in the (dq) rotating reference frame (synchronous frame), the original three-phase (abc) signals are converted using transformation matrices, as described in Eq. (12).
Assume that (:({V}_{as}), (:{V}_{bs}), (:{V}_{cs})) are the phase voltages produced by the VSI, and (:{(I}_{as}), (:{I}_{bs}), (:{I}_{cs})) correspond to its output currents. The filter’s resistance and inductance are denoted by (:{(R}_{f}) and (:{L}_{f})) respectively. (:{(V}_{aL}), (:{V}_{bL}), (:{V}_{cL})) are the voltages across the connected load. In the synchronous dq reference frame, (:({V}_{dqs}), (:{V}_{dqL}), (:{I}_{dqs})) are the inverter’s output voltages, the load-side voltages, and the inverter output currents, respectively. According to the described approach, the control of reactive power is managed through the q-axis current component, as detailed in Eq. (13), while the regulation of active power is managed through the d-axis current, as specified in Eq. (14)3,21.
Here, (:{(text{Q}}_{s}) and (:{text{P}}_{s}):)are the delivered reactive and active power, respectively. The responses generated by the current controllers aligned with the d-axis and q-axis are computed using the expressions provided in Eqs. (15) and (16)3,21.
VSI control.
The integration of electrochemical storage units, such as lithium-ion battery banks, plays a pivotal role in HPS incorporating variable RES like PV arrays. These storage systems address imbalances between electricity production and consumption that arise from rapid fluctuations in solar insolation. During periods of diminished solar generation, when PV output falls short of the inverter’s target power level, the battery discharges to supplement load requirements38,39. Conversely, when PV generation exceeds demand, surplus energy is stored within the battery for next use. Solar installations inherently cease operation during nocturnal intervals due to the absence of sunlight40,41. Here, BATT synergizes with DEG to enhance system reliability and cost-effectiveness compared to standalone DEG configurations, reducing fuel consumption and operational expenses.
The operational framework of the BATT, illustrated in Fig. 9, is governed by critical performance metrics including terminal voltage, energy capacity, and charge retention level State of Charge (SOC). The battery is mathematically represented as a tunable voltage source paired with an internal impedance component. Where (:{(text{C}}_{text{R}}) ) is the rated capacity and (:left({text{I}}_{text{B}text{A}text{T}text{T}}right)) is terminal current flow. Additional governing equations account for electrochemical reactions, gas evolution phenomena, thermal dynamics, and voltage-current relationships. Key variables include (:{text{V}}_{text{B}text{A}text{T}text{T}}) (battery terminal potential), (:{text{I}}_{text{R}}) (internal reaction current), (:{text{I}}_{text{G}}) (parasitic gassing current), and (:{text{T}}_{text{B}text{A}text{T}text{T}}) (operating temperature).
Battery Model.
The battery management strategy enforces specific operational constraints to ensure safe and efficient usage. Firstly, it restricts both the charging and discharging power levels, ensuring they do not exceed the maximum threshold specified by Eq. (17). Secondly, as outlined in Eq. (18), it regulates the battery’s SOC, keeping it within acceptable boundaries to avoid risks associated with overcharging or excessive depletion38,39,40,41.
In the proposed system, batteries are utilized to mitigate the effects of the intermittent nature associated with PV sources. Due to their high energy density, batteries can deliver power at nearly constant voltage when their charging and discharging cycles are appropriately managed. The modeled battery is integrated into the DC link through a bi-directional DC-DC converter, as illustrated in Fig. 10. This converter facilitates the charging and discharging of the battery while maintaining the DC link voltage at 500 volts. When the battery supplies power to the microgrid, the converter operates in boost mode; conversely, when it absorbs power from the grid or PV panels, it operates in buck mode. The control loop regulates the DC link voltage by adjusting the duty cycle of the bi-directional DC-DC converter. It continuously measures the DC link voltage, compares it to a reference value, and processes the error through a voltage mode compensator to determine the necessary duty ratio. This control approach is agnostic to the direction of power flow and generates appropriate switching signals for the buck and boost operations. As shown in Fig. 11, an intelligent controller determines the operational mode and transmits the control pulses to a designated semiconductor switch. The decision to operate the converter in a buck or boost mode is based on the command signal received from the HPS. In the absence of a regulation signal, the battery’s SOC determines whether the converter should operate in buck mode to facilitate charging.
Bi-directional DC-DC converter.
Battery controller.
The DEG assumes a crucial role as a backup power solution, particularly in scenarios where RES such as PV is insufficient due to intermittent availability or environmental factors. Additionally, the system activates in island mode when the main grid experiences instability, such as voltage sags, frequency deviations, or unforeseen disconnections. In this isolated operational state, the DEG autonomously sustains power supply to critical loads, preventing blackouts and enabling seamless transitions until grid conditions stabilize or renewable generation resumes. This dual functionality underscores the DEG’s importance in hybrid energy systems, bridging gaps between renewable intermittency and grid reliability while ensuring uninterrupted electricity access during emergencies42,43.
The DEG system illustrated in Fig. 12 is composed of multiple interconnected elements designed to ensure reliable power generation and grid stability. At its core, the system includes a governor mechanism for the diesel engine, an excitation system, and a synchronous machine integrated with the engine. The governor operates through a closed-loop feedback control strategy, which continuously monitors and adjusts the engine’s rotational speed. By dynamically aligning the engine’s output with a predefined reference speed, the governor guarantees the stabilization of the electrical grid’s frequency, even under fluctuating load demands. This precision in speed regulation is critical for maintaining synchronization between the generator and the grid, thereby preventing disruptions in power quality.
Diesel Engine Generator model.
The primary objective of stabilizing an islanded AC HPS lies in regulating the electrical supply to preserve system frequency at its predefined operational standard. This process hinges on frequency stability management, which entails dynamically modulating generator output levels to equilibrate power consumption needs while sustaining consistent grid oscillations. Within such systems, the cumulative energy contribution from distributed resources—comprising DEG, PV, and BATT—must collectively satisfy load requirements, as expressed by the relationship:
Given the inherent variability of PV generation due to weather-dependent intermittency, this analysis prioritizes DEG as the primary actuator for frequency correction. The control framework compensates for deviations caused by fluctuating loads and PV generation by adaptively scaling DEG output. Conventional PI regulators remain widely adopted for such stabilization tasks, while FPI systems introduce rule-based adaptability, enhancing responsiveness to dynamic operational shifts. To address limitations in existing hybrid energy systems, this work proposes an MRAC-FPI-WOA framework, which synergizes adaptive reference tracking with fuzzy logic to optimize disturbance rejection across diverse instability scenarios.
PI-PSO, PI-WOA, and FPI-WOA architectures have proved efficacy in grid frequency management, yet the MRAC-FPI-WOA hybrid appears as a superior solution, using real-time parameter adaptation to maintain precision under abrupt load transitions, resource volatility, and compound disruptions. This innovation underscores the critical need for advanced control paradigms in modernizing HPS resilience against the uncertainties of renewable integration.
The study specifically examines the PI controller’s effectiveness in maintaining system frequency stability and enhancing proposed IHPS operational performance, utilizing a control law expressed as (Eq. 20), with particular focus on its PI controller dynamic response characteristics and stabilization capabilities under varying load conditions4.
This equilibrium enables accelerated convergence and superior precision compared to conventional optimization frameworks. By defining frequency control as an optimization problem, the ITAE performance metric can be minimized44,45.
Where (t) is time, while e(t) is the deviation between (:{F}_{m}:)and (:{F}_{ref}).
The system configuration depicted in Fig. 13 presents the closed-loop control structure employing the PI-PSO controller. PSO is popular for its simplicity and fitness-based approach, effective for diverse optimization problems. However, it risks premature convergence due to declining swarm diversity. The methodology incorporates three fundamental components46:
Individual Best ((:{:P}_{pest:})): The optimal solution encountered by particle (i) during its search history.
Global Best ((:{:g}_{pest:})): The most favorable solution discovered by the entire particle collective.
Dynamical Update Rules: Governing equations directing particle movement through the solution space.
The particle’s velocity vector is modified following Eq. (22), while its positional coordinates are recomputed via Eq. (23) through vectorial addition of the updated velocity to its prior location47.
The PSO algorithm updates each particle’s velocity and position through three key components: (1) an inertia term ((:{:wv}_{id})) that preserves momentum from previous movements, (2) a cognitive component ((:{:r}_{1}{C}_{1}left({:P}_{pest,id}left(tright)-:{:X}_{iid}left(tright):right)))) that attracts particles toward their personal best positions ((:{P}_{pest,id})), and (3) a social component ((:{:r}_{2}{C}_{2}left({:g}_{pest,id}left(tright)-:{:X}_{id}left(tright):right)))) that guides particles toward the swarm’s global best solution ((:{g}_{pest,id})), where (w) represents the inertia weight, C₁ and C₂ are cognitive and social learning rates, respectively, and (r1,r2) are random numbers that maintain stochastic exploration. This balanced combination of individual experience (cognitive) and collective knowledge (social) enables effective search-space exploration while progressively converging toward optimal solutions. Figure 14 illustrates the algorithm’s operational flowchart48.
PI-PSO Controller-Based Control System Structure.
PSO flowchart.
PI-WOA controller illustrated in Fig. 15, for frequency stabilization. By framing the controller tuning process as an optimization problem, WOA dynamically minimizes frequency deviations through iterative adjustments to the gain values, ensuring robust adaptability to grid disturbances. This hybrid approach synergizes the simplicity of PI control with the intelligence of bio-inspired optimization, enabling enhanced precision in frequency regulation for modern power networks characterized by intermittent renewable integration and complex load dynamics. The methodology aims to elevate grid resilience, reduce oscillations, and maintain nominal frequency stability under heterogeneous operating conditions.
PI-WOA Controller-Based Control System Structure.
WOA technique is a robust nature-inspired computational method modeled after the foraging strategies of humpback whales. It shows exceptional ability in addressing intricate optimization problems by harmonizing the search for novel solutions (exploration) with the refinement of existing ones (exploitation)49,50.
Figure 16 illustrates the flowchart of the WOA, which can be mathematically expressed using the following Eqs49,50.
The symbols X(t), (:{X}_{p}left(tright)), and (:{X}_{r}left(tright)), correspond to the position vectors of the whale, prey, and random whale, respectively. (t) is the current iteration. (A and C) are the coefficient vectors. Over the number of rounds, (a) constantly decreases linearly from 2 to 0. The random integer (l) is between − 1 and 1, the random vector (r) is between 0 and 1, the (p) is the probability number ε [0, 1], and the constant that determines the spiral logarithmic form is represented by (b). Figure 17 demonstrates the convergence behavior of the objective function for both optimization methods, with Table 1 detailing the corresponding algorithmic parameters and optimized PI controller gains obtained through WOA and PSO implementations.
WOA flow chart.
Convergence of the objective function.
This research explores the FPI-WOA controller, illustrated in Fig. 18, as a hybrid control strategy that merges essential aspects of both FLC and PI-WOA control frameworks, aiming to enhance the capabilities of the PI controller by incorporating the advantages of FPI control. FLC outperforms classical methods in complex power systems due to its adaptability to nonlinearities and uncertainties without precise modeling. They maintain robust performance amid variable conditions like renewable generation fluctuations and load changes. Their rule-based heuristic approach enables intuitive tuning using operational expertise rather than complex math. Additionally, they are less sensitive to parameter variations than PID controllers, making them ideal for real-world applications with drifting system parameters2,20,21. As outlined in51,52 the fuzzy inference process consists of three main phases. The first step, fuzzification, transforms precise input values into fuzzy variables within their respective fuzzy sets. In this study, two input Errors (E), depicted in Fig. 19(a), and a Change in Error (CE), illustrated in Fig. 19(b), along with one output, shown in Fig. 19(c), are represented through triangular membership functions. Each input and output is characterized through a set of seven linguistic levels: NB (Negative Big), NM (Negative Medium), PB (Positive Big), PM (Positive Medium), PS (Positive Small), NS (Negative Small), and ZO (Zero). At the fuzzy logic rule inference stage, decisions are formulated through the integration of aggregation and implication techniques within the framework of fuzzy inference rules. The fuzzy rules, detailed in Table 2, can be linguistically described as follows: If both error (E) and (CE) are categorized as (PB), then the corresponding output is also classified as (PB). The parameters of PI-PSO, PI-WOA, and FPI-WOA controllers are displayed in Table 3.
FPI-WOA Controller-Based Control System Structure.
The MFs (a) E, (b) CE, (c) ΔD.
To enhance the accuracy of the FPI-WOA controller, it has been integrated with MRAC to enhance its efficiency and adaptability. Implementing MRAC in IHPS offers significant benefits, particularly in managing the unpredictable nature of RES. By dynamically adjusting to changes in generation and load variations, MRAC strengthens frequency stability and voltage regulation, optimizing system performance through continuous tuning of control variables adjusted during real-time operating conditions. This integration results in a more robust and dependable energy system, enabling seamless RES integration while improving the overall efficiency and reliability of IHPS.
Significant applications include maintaining stable output voltage in DC-DC converters used in IHPS53, implementing a tailored MIT-rule-driven MRAC for boost-type DC-DC converters54, and improving conventional droop-based regulation in marine power systems55. Additionally, MRAC has been applied in HPS to regulate the unified interphase power controller (UIPC)56, and develop a fractional-order MRAC control strategy to stabilize voltage and current in multi-source power configurations using DC-DC converters57. As depicted in Fig. 20, the MRAC-FPI-WOA controller consists of three main components: the FPI controller, the reference model, and the adjustment mechanism.
MRAC-FPI-WOA Controller-Based Control System Structure.
In this study, simulations were conducted using MATLAB Simulink as shown in Fig. 21 to introduce an MRAC-FPI-WOA controller designed to ensure frequency stability within the system while facilitating fundamental control processes. A comparative analysis was performed between the MRAC-FPI-WOA, FPI-WOA, PI-WOA, and PI-PSO controllers across various scenarios to analyze the controllers’ effectiveness. These scenarios are essential for a thorough assessment of performance. For example, Case 1, which focuses on a three-phase fault at Bus 2, offers insights into the system’s robustness across different network configurations. Case 2 analyzes a three-phase fault occurring at the center of the tie-line, further evaluating the system’s capacity to manage faults that impact multiple components at once. Additionally, Cases 3, 4, and 5 address fluctuations in solar radiation, including step changes, ramp changes, and random variations, respectively. These scenarios are crucial for understanding how dynamic solar input influences overall system performance, given the inherent variability of solar energy due to environmental factors. Case 6 introduces a rapid load change, testing the system’s responsiveness to sudden alterations in energy demand, a frequent challenge in practical applications. Finally, Case 7 merges Cases 3 and 6, running them simultaneously to evaluate how the system performs under various conditions of concurrent changes in solar radiation and load demands. This integrated approach offers a comprehensive understanding of how various disturbances interact and impact frequency regulation, ultimately informing more efficient design and control strategies for the proposed IHPS. This section presents an in-depth analysis that includes a variety of responses and numerical results, demonstrating the findings and implications of our research. The nominal specifications for the PV, DEG, BATT, and loads are detailed in Table 4.
MATLAB/Simulink model.
In this situation, a fault involving a three-phase short circuit at BUS 2 occurs, lasting 0.1 s. This fault starts at the terminals of the AC load after a time interval of 1 s and is identified by a fault resistance of 0.001 ohms. Figure 22(a) visually illustrates the output power generated by both the PV and DEG sources. Additionally, Table 5; Fig. 22(b) assess the overall efficiency of the system’s frequency by analyzing various control strategies, including the MRAC-FPI-WOA, FPI-WOA, PI-WOA and PI-PSO controllers. This evaluation considers several Key performance indicators like ITAE, (:{text{T}}_{text{s}}), %(:{text{M}}_{text{p}}), and %(:{text{M}}_{text{u}text{s}}:)during instances of three-phase faults. The findings from this case prove that the MRAC-FPI-WOA controller surpasses the PI-WOA, PI-PSO and FPI-WOA controllers in every evaluated aspect. Furthermore, Fig. 22(c) shows the voltage values existing in the system.
System behavior in case 1. (a) Output power of the sources, (b) System Frequency, (c) System Voltage.
In this case, a three-phase short circuit starts at the central point of the tie, lasting for a total duration of 0.11 s. This fault event starts at the terminals of the AC load after 2 s and shows fault resistance as low as 0.001 ohms. Figure 23(a) visually depicts the output power generated by both the PV and DEG sources. Meanwhile, Table 5; Fig. 23(b) provide an assessment of the system’s efficiency by examining various control methodologies, including the MRAC-FPI-WOA, FPI-WOA, PI-WOA and PI-PSO controllers. The evaluation process considers several important performance metrics, such as ITAE, %(:{text{M}}_{text{u}text{s}}), %(:{text{M}}_{text{p}}), and (:{text{T}}_{text{s}}), specifically during instances of three-phase faults. The results from this analysis confirm the enhanced effectiveness of the MRAC-FPI-WOA controller over other controllers in all evaluated performance aspects. Additionally, Fig. 23(c) illustrates the voltage values existing in the system.
System behavior in case 2. (a) Output power of the sources, (b) System Frequency, (c) System Voltage.
Figure 24(a) illustrates the stepped variation in solar irradiance over time. One must note that changes in solar radiation levels can significantly affect the frequency within the system. The implementation of the MRAC-FPI-WOA controller plays a vital role in ensuring effective frequency regulation under these varying conditions. When compared to PI-PSO, PI-WOA and FPI-WOA controllers, the MRAC-FPI-WOA controller demonstrates a higher level of accuracy in responding to abrupt changes in solar radiation, notably when efficiency is high and weather conditions shift rapidly. The performance efficiency is assessed using the control strategies, taking into account several key parameters, including %(:{text{M}}_{text{u}text{s}}), ITAE, (:{text{T}}_{text{s}}), %(:{text{M}}_{text{p}}). Table 5; Fig. 24(b) present an in-depth analysis of the IHPS frequency’s behavior in response to a step change. Furthermore, Fig. 24(c) visually represents the output power produced by both the PV and DEG sources. In this scenario, when solar radiation diminishes from 1000 to 800 W/m² after two seconds, the PV power decreases from 94 kW to 73 kW. This reduction in PV power generation prompts an increase in the power output from the DEG, which grows from 56 kW to roughly 70 kW to meet the energy demand. Conversely, when solar radiation declines further to 600 W/m² after an additional four seconds, while maintaining a constant ambient temperature, the PV power output declines from 73 kW to about 54 kW. In response, the DEG power generation escalates from 70 kW to approximately 84 kW to satisfy the demand. Additionally, when solar radiation increases from 600 to 900 W/m² at the six-second mark, PV power rises from 54 kW to about 82 kW, causing the DEG output to decline from 84 kW to roughly 63 kW. The proposed controller successfully stabilizes the system frequency, even amidst fluctuations in solar radiation levels. Lastly, Fig. 24(d) provides further insight by presenting the distribution of voltage across the system.
System behavior in case 3. (a) Radiation is a step-changed profile, (b) Output power of the sources, (c) System Frequency, (d) System Voltage.
Figure 25(a) illustrates the ramp-shaped trend of solar irradiance over a specific period. The MRAC-FPI-WOA controller plays a crucial role in ensuring efficient frequency control. Compared to other controllers, the MRAC-FPI-WOA controller proves a significantly higher level of accuracy and responsiveness to ramp variations in solar irradiance levels. Figure 25(b) depicts the output power of the sources. As solar radiation decreases, there is a corresponding increase in the DEG power. Alternatively, as the solar radiation increases, the DEG power also rises to accommodate the changing power consumption needs. To evaluate the efficiency of the system, A comparative analysis is performed on the MRAC-FPI-WOA, PI-WOA, PI-PSO and FPI-WOA controllers. Table 5, along with Fig. 25(c), provides a comprehensive overview of the controlled response of the system frequency under ramp shifts in solar irradiance. The MRAC-FPI-WOA controller ensures stable control of system frequency, even in the face of ramp variations in solar radiation. This proves the controller’s ability to sustain stable performance across different conditions. Moreover, Fig. 25(d) presents additional further by illustrating the voltage levels across the system, further contributing to the general comprehension of the system’s performance.
System behavior in case 4. (a) Radiation is a ramp-changed profile, (b) Output power of the sources, (c) System Frequency, (d) System Voltage.
Figure 26(a) shows the erratic behavior of solar irradiance levels over a defined time. In these situations, the MRAC-FPI-WOA controller is crucial for ensuring effective frequency control. When contrasted with other controllers, the MRAC-FPI-WOA controller shows a notably greater degree of precision and responsiveness to unpredictable fluctuations in solar irradiance levels. Figure 26(b) illustrates the output power of the sources. As the intensity of solar irradiance declines, the DEG power grows proportionally. However, when solar radiation increases, the DEG power rises to match the fluctuating energy requirements. Table 5, along with Fig. 26(c), offers an in-depth examination of the system frequency behavior throughout instances of random fluctuations in solar irradiance. The MRAC-FPI-WOA controller successfully maintains the stability of the system frequency, even amidst unpredictable fluctuations in solar irradiance. This highlights the controller’s ability to offer consistent functionality across a range of conditions. Additionally, Fig. 26(d) offers additional insights by illustrating the system’s voltage levels, improving the overall comprehension of system’s operational performance.
System behavior in case 5. (a) Radiation is a random-changed profile, (b) Output power of the sources, (c) System Frequency, (d) System Voltage.
Figure 27(a) illustrates the power output from both the PV and DEG sources during instances of abrupt load changes. At the 2-second mark, there is a notable decrease of 18.3% in the demand for the AC load within the system, dropping from 120 kW to 98 kW. During this period, the power output from the PV systems remains unchanged at 94 kW, while the output from the DEG declines from 56 kW to 35 kW. At the 4-second mark, as depicted in Fig. 27(a), there is an increase of 11.2% in the AC load demand, rising from 98 kW to 109 kW. Throughout this time, the PV power continues to hold steady at 94 kW, while the DEG power rises from 35 kW to 44 kW to satisfy the additional energy requirements. Figure 27(b) and Table 5 present a detailed comparison of the performance of the MRAC-FPI-WOA, FPI-WOA, PI-WOA, and PI-PSO controllers in managing sudden changes in load, emphasizing the MRAC-FPI-WOA controller’s effectiveness in ensuring effective frequency regulation under these conditions. Furthermore, Fig. 27(c) provides a sequential representation of the system’s voltage measurements, offering additional insights into its operational dynamics.
System behavior in case 6. (a) Output power of the sources, (b) System Frequency, (c) System Voltage.
In this case, scenarios (3) and (6) are interconnected and run simultaneously. Figure 28(a) visually depicts the output power of the sources. When solar irradiance reduces from 1000 to 800 W/m² after two seconds, there is also a concurrent 18.3% reduction in the demand for AC load within the system, which drops from 120 kW to 98 kW. At precisely 2 s, the output from the PV systems reduces from 94 kW to 73 kW. This decline in PV power output, combined with the reduced load, leads to a decrease in power generation from the DEG, which falls from 56 kW to about 48 kW to meet the adjusted energy requirements. Subsequently, when solar radiation further decreases to 600 W/m² after an additional four seconds, there is an 11.2% increase in the AC load demand, rising from 98 kW to 109 kW. At this 4-second mark, the PV power drops from 73 kW to 54 kW. In response to this change, DEG’s power generation rises from 48 kW to 72 kW to fulfill the new demand. Additionally, when solar radiation increases from 600 to 900 W/m² at the six-second mark, the AC load demand within the system remains constant at 109 kW. The PV power rises from 54 kW to about 82 kW, resulting in decreased production from the DEG, which reduces from 72 kW to 62 kW. Table 5; Fig. 28(b) provide a comprehensive overview of the system frequency response. The system’s performance efficiency is assessed based on the MRAC-FPI-WOA, PI-WOA, PI-PSO and FPI-WOA controllers, considering several critical parameters, including (:{text{T}}_{text{s}}), ITAE, %(:{text{M}}_{text{p}}), and %(:{text{M}}_{text{u}text{s}}). Finally, Fig. 28(c) gives deeper insights into displaying the system’s voltage levels.
System behavior in case 7. (a) Output power of the sources, (b) System Frequency, (c) System Voltage.
This study proposes a robust technique for controlling the frequency of an IHPS, utilizing MRAC-FPI-WOA, FPI-WOA, PI-WOA, and PI-PSO controllers to maintain system stability amid disturbances. The findings highlight the substantial benefits of the MRAC-FPI-WOA controller compared to the FPI-WOA, PI-WOA, and PI-PSO controllers across multiple scenarios. For instance, in Case 1, during a three-phase fault for 100 ms at Bus2, the MRAC-FPI-WOA controller lowers %(:{text{M}}_{text{p}}) by 59.05%, %(:{text{M}}_{text{u}text{s}}) by 72.83%, (:{text{T}}_{text{s}}) by 32.07%, and ITAE by 34.81% compared to the PI-PSO controller. In Case 2, with a three-phase fault at the tie-line lasting 110 ms, similar improvements are observed, including lowering %(:{text{M}}_{text{p}}) by 57.47%, %(:{text{M}}_{text{u}text{s}}:)by 79.36%, (:{text{T}}_{text{s}}) by 40.9%, and ITAE by 78.08%, reinforcing the MRAC-FPI-WOA controller’s superior performance in dynamic situations when compared to the PI-PSO controller. In Case 3, MRAC-FPI-WOA showcases its superior adaptability under varying solar irradiance conditions. When irradiance drops from 1000 to 800 W/m², the controller significantly enhances performance by reducing overshoot by 100%, undershoot by 94.12%, settling time by 75.14%, and ITAE by 82.8%. A further decrease from 800 to 600 W/m² yields even better results, undershoot improved by 94.06%, overshoot cut by 100%, settling time improved by 78.05%, and ITAE reduced by 89.47%. Conversely, when solar radiation increases from 600 to 900 W/m², MRAC-FPI-WOA maintains strong performance, decreasing overshoot by 95.38%, undershoot by 100%, settling time by 83.96%, and ITAE by 92.24%. Furthermore, the MRAC-FPI-WOA controller proves improved dynamic responsiveness to ramp changes in solar radiation in Case 4, achieving reductions in %(:{text{M}}_{text{p}}), %(:{text{M}}_{text{u}text{s}}), (:{text{T}}_{text{s}}), and ITAE by 96.72%, 95.24%, 22.79%, and 89.69%, respectively. In addition, it also shows enhanced adaptability to random fluctuations in solar radiation in Case 5, consistently lowering %(:{text{M}}_{text{p}}), %(:{text{M}}_{text{u}text{s}}), (:{text{T}}_{text{s}}), and ITAE by 96.63%, 99.58%, 22.07%, and 95.23%, respectively. The MRAC-FPI-WOA controller also proves effective during load variations in Case 6, significantly improving dynamic performance when the load decreases by 18.3% from 120 kW to 98 kW, with reductions in %(:{text{M}}_{text{p}}) by 93.38%, %(:{text{M}}_{text{u}text{s}}) by 100%, (:{text{T}}_{text{s}}) by 55.19%, and ITAE by 83.08%. Likewise, with a load increase of 11.2% from 98 kW to 109 kW, the MRAC-FPI-WOA controller enhances performance by cutting %(:{text{M}}_{text{p}}) by 33.33%, %(:{text{M}}_{text{u}text{s}}) by 93.48%, (:{text{T}}_{text{s}}) by 77.24%, and ITAE by 86.79%. In Case 7, MRAC-FPI-WOA exhibits exceptional adaptability under varying operating conditions: when solar irradiance decreases from 1000 to 800 W/m² alongside an 18.3% load reduction (120 kW to 98 kW), it reduces overshoot by 92.45%, undershoot by 100%, settling time by 69.81%, and ITAE by 87.46%; during a further irradiance drop to 600 W/m² with an 11.2% load increase (98 kW to 109 kW), it achieves even better performance with 100% overshoot reduction, 93.94% undershoot reduction, 75.3% settling time improvement, and 88.22% ITAE reduction; and finally, when irradiance rebounds to 900 W/m² at a steady 109 kW load, it maintains superior control with 95.4% overshoot reduction, 100% undershoot suppression, 72.9% faster settling, and 90.4% lower ITAE, demonstrating consistent excellence across all test scenarios. The simulation results confirm that the MRAC-FPI-WOA controller effectively sustains system stability and quality by balancing generation and consumption across diverse operating conditions. While the current study demonstrates the controller’s effectiveness through comprehensive MATLAB/Simulink simulations, we acknowledge that real-time hardware validation, such as HIL (Hardware-in-the-Loop) and Processor-in-the-Loop (PIL) validation, would be necessary to fully verify its performance in practical implementations. Future work will focus on experimental validation using microgrid testbeds with actual power electronics interfaces, robustness testing under real-world communication delays and measurement noise, and comparative analysis with physical benchmark controllers. Additionally, we plan to integrate advanced control techniques, such as machine learning, to further improve adaptability and explore hybrid energy systems that incorporate additional renewable sources, with parallel development of hardware prototypes for field testing.
All data generated or analyzed during this study are included in this published article.
Artificial bee colony
Alternating current
Adaptive fractional order PI
advanced sine cosine algorithm
Battery storage
Bat algorithm
Bio-dynamic grasshopper optimization algorithm
Coati optimization algorithm
Cascaded tilted-FO derivative with filter
Chaos quasi-oppositional SHO
Crow-search algorithm
Direct current
Diligent crow search algorithm
Diesel engine generator
Dragonfly search algorithm
Fuzzy-fractional order PID
Logic Controller
Model reference adaptive control-fuzzy proportional integral based whale optimization algorithm
Proportional-integral-derivative-Tilt
Piecewise Linear-Elliptic
Particle swarm optimization
Perturb and observe
Photovoltaic
Renewable energy sources
Sea-horse optimization
State of Charge
Type-2 Fuzzy Cascade
Tunicate search algorithm
Tilt fractional order PID
Whale optimization algorithm
P-N junction ideality factor
Solar irradiance
Battery rated capacity
Short-circuit current
Battery internal reaction current
Parasitic gassing current
Battery current
PV cell’s Reverse leakage current
Fractional-Order PID
Fractional-Order PI
Fuzzy Proportional-Integral
Genetic Algorithm
Grey Wolf Optimizer
Hybrid Adaptive Ant Lion Optimization
Fractional-Order Proportional-Integral
Islanded Hybrid Power System
Improved Salp Swarm Optimization
Model Predictive Control
Maximum Power Point Tracking
Maximum Power Point
Model Reference Adaptive Control
Opposition-based SHO
Proton Exchange Membrane Fuel Cells
Proportional-Integral
Proportional-Integral-Derivative
PV cell’s output current
Photocurrent source
Boltzmann constant
Short-circuit current coefficient
Number of PV cells connected in series
Number of PV cells arranged in parallel
Load power
Diesel engine generator power
Photovoltaic power
Electron charge
Series resistance
Shunt resistance
P-N junction temperature
Battery operating temperature
Cell reference temperature
Settling time
Battery terminal voltage
PV cell’s terminal voltage
Open-circuit voltage
Maximum overshoot
Maximum undershoot
Elborlsy, M. S., Mostafa, R. M., Ghalib, M. A. & Keshta, H. E. A Review of Energy Management System Strategies for AC microgrids operating in islanded mode, 2023 3rd International Conference on Electronic Engineering (ICEEM), Menouf, Egypt, pp. 1–5, https://doi.org/10.1109/ICEEM58740.2023.10319600 (2023).
Elborlsy, M. S., Mostafa, R. M., Keshta, H. E. & Ghalib, M. A. Intelligent PI Controller for Frequency Enhancement of a Diesel-PV-Battery-Based islanded AC microgrid, 2023 24th International Middle East Power System Conference (MEPCON), Mansoura, Egypt, pp. 1–6, https://doi.org/10.1109/MEPCON58725.2023.10462262 (2023).
Shaker, H. K., Keshta, H. E., Mosa, A. M. & Ali, A. A. Adaptive nonlinear controllers based approach to improve the frequency control of multi islanded interconnected microgrids. Energy Rep. 9, 5230–5245. https://doi.org/10.1016/j.egyr.2023.04.007 (2023).
Article Google Scholar
Keshta, H. E., Ali, A. A., Malik, O. P., Saied, E. M. & Bendary, F. M. Adaptive control strategy for improved dynamic performance of two islanded interconnected microgrids. Elsevier Int. J. Electr. Power Energy Syst. 126, 1–16. https://doi.org/10.1016/j.ijepes.2020.106562 (2021).
Article Google Scholar
Amarawardhana, K. N., Enshaei, H. & Jayasinghe, S. D. G. Correction to: Review on constraint handling techniques for microgrid energy/power management systems. Energy Syst. Feb. https://doi.org/10.1007/s12667-023-00569-0 (2023).
Article Google Scholar
Shehata, E. G., Thomas, J., Mostafa, R. M. & Ghalib, M. A. An Improved Droop Control for a Low Voltage DC Microgrid Operation, 2018 Twentieth International Middle East Power Systems Conference (MEPCON), Cairo, Egypt, pp. 850–855. https://doi.org/10.1109/MEPCON.2018.8635258 (2018).
Tripathi, S. K., Singh, V. P. & Pandey, A. S. Robust load frequency control of interconnected power system in smart grid. IETE J. Res. 69 (8), 5351–5363. https://doi.org/10.1080/03772063.2021.1973595 (2021).
Singh, V. K., Verma, A. & Bhatti, T. S. Integration and control of renewable Energy-Based rural microgrids. IETE J. Res. 68 (6), 4492–4502. https://doi.org/10.1080/03772063.2020.1795940 (2020).
Alghamdi, B. & Cañizares, C. A. Frequency Regulation in Isolated Microgrids Through Optimal Droop Gain and Voltage Control, in IEEE Transactions on Smart Grid, vol. 12, no. 2, pp. 988–998, https://doi.org/10.1109/TSG.2020.3028472 (2021).
Pilehvar, M. S., Mirafzal, B. & Exposition A Frequency Control Method for Islanded Microgrids Using Energy Storage Systems, 2020 IEEE Applied Power Electronics Conference and (APEC), New Orleans, LA, USA, pp. 2327–2332 https://doi.org/10.1109/APEC39645.2020.9124179 (2020).
Bandic, L., Hivziefendic, J., Saric, M. & Tesanovic, M. Voltage Regulation of PV System with MPPT and Battery Storage in Microgrid, 2020 International Conference on Smart Systems and Technologies (SST), Osijek, Croatia, pp. 161–166. https://doi.org/10.1109/SST49455.2020.9264071 (2020).
Gulzar, M. M., Sharif, B., Sibtain, D., Akbar, L. & Akhtar, A. Modelling and Controller Design of Automotive Cruise Control System using Hybrid Model Predictive Controller, 2019 15th International Conference on Emerging Technologies (ICET), Peshawar, Pakistan, pp. 1–5,: https://doi.org/10.1109/ICET48972.2019.8994444 (2019).
Jabari, M. et al. A novel artificial intelligence based multistage controller for load frequency control in power systems. Sci. Rep. 14 (1). https://doi.org/10.1038/s41598-024-81382-2 (2024).
Jabari, M. et al. Efficient parameter extraction in PV solar modules with the diligent crow search algorithm. Discover Energy. 4 (1). https://doi.org/10.1007/s43937-024-00063-3 (2024).
Jabari, M. et al. Hybrid adaptive ant Lion optimization with traditional controllers for driving and controlling switched reluctance motors to enhance performance. Sci. Rep. 15 (1). https://doi.org/10.1038/s41598-025-97070-8 (2025).
Jabari, M. et al. Parameter identification of PV solar cells and modules using bio dynamics grasshopper optimization algorithm. IET Generation Transmission Distribution. 18 (21), 3314–3338. https://doi.org/10.1049/gtd2.13279 (2024).
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. https://doi.org/10.1016/j.epsr.2023.109815 (2023).
Sahu, P. C., Prusty, R. C. & Panda, S. Frequency regulation of an electric vehicle-operated micro-grid under WOA-tuned fuzzy cascade controller. Int. J. Ambient Energy. 43 (1), 2900–2911. https://doi.org/10.1080/01430750.2020.1783358 (2020).
Sahu, P. C., Mishra, S., Prusty, R. C. & Panda, S. Improved-salp swarm optimized type-II fuzzy controller in load frequency control of multi area islanded AC microgrid. Sustainable Energy Grids Networks. 16, 380–392. https://doi.org/10.1016/j.segan.2018.10.003 (2018).
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. 100191. https://doi.org/10.1016/j.geits.2024.100191 (2024).
Elborlsy, S. A. et al. Neuro-Fuzzy controller based adaptive control for enhancing the frequency response of Two-Area power system. Heliyon e42547. https://doi.org/10.1016/j.heliyon.2025.e42547 (2025).
Vidyarthi, P. K., Kumar, A., Shankar, R. & Control Improvement of AGC for Multi-Area Deregulated Power Systems with Integrated RESs using a modified TID., 2023 IEEE 3rd International Conference on Smart Technologies for Power, Energy and (STPEC), Bhubaneswar, India, pp. 1–6, https://doi.org/10.1109/STPEC59253.2023.10431292 (2023).
Vidyarthi, P. K., Kumar, A., Kumari, A. & Kumar, A. Renewable sources with virtual inertia penetration in multi area interconnected AGC using a modified MPC controller. Eng. Res. Express. 6 (2), 025320. https://doi.org/10.1088/2631-8695/ad408c (2024).
Vidyarthi, P. K., Kumar, A. & Raj, S. Chaos quasi-opposition sea-horse based modified new Tilt controller designed for multi-area deregulated AGC using deep learning against cyber-attacks. Chaos Solitons Fractals. 188, 115542. https://doi.org/10.1016/j.chaos.2024.115542 (2024).
Vidyarthi, P. K. & Kumar, A. A cascaded Tilt MPC controller for AGC in multi-area interconnected HPS with penetration of RESs and virtual inertia. Electr. Eng. Apr. https://doi.org/10.1007/s00202-024-02398-5 (2024).
Article Google Scholar
Sibtain, D., Mushtaq, M. A. & Murtaza, A. F. Adaptive design and implementation of fractional order PI controller for a multi-source (Battery/UC/FC) hybrid electric vehicle. Energy Sources Part. Recovery Utilization Environ. Eff. 44 (4), 8996–9016. https://doi.org/10.1080/15567036.2022.2128470 (2022).
Gulzar, M. M. et al. Modified cascaded controller design constructed on fractional operator ‘β’ to mitigate frequency fluctuations for sustainable operation of power systems. Energies 15 (20), 7814. https://doi.org/10.3390/en15207814 (2022).
Gulzar, M. M., Sibtain, D. & Khalid, M. Innovative design for enhancing transient stability with an ATFOPID controller in hybrid power systems. J. Energy Storage. 99, 113364. https://doi.org/10.1016/j.est.2024.113364 (2024).
Eslami, N., Rahbar, M., Bozorgi, S. M. & Yazdani, S. Whale optimization algorithm and its application in machine learning. Elsevier eBooks. 69–80. https://doi.org/10.1016/b978-0-32-395365-8.00011-7 (2024).
Hasanien, H. M. Whale optimization algorithm for automatic generation control of interconnected modern power systems including renewable energy sources. IET Generation Transmission Distribution. 12 (3), 607–614. https://doi.org/10.1049/iet-gtd.2017.1005 (2017).
Vanchinathan, K., Valluvan, K. R., Gnanavel, C. & Gokul, C. Numerical simulation and experimental verification of Fractional-Order PIλ controller for solar PV fed sensorless brushless DC motor using Whale optimization algorithm. Electr. Power Compon. Syst. 50, 1–2. https://doi.org/10.1080/15325008.2022.2135644 (2022).
Swethamarai, P., Lakshmi, P. & Prasad, S. G. Whale-optimized fuzzy-fractional order controller-based automobile suspension model. Eng. Optim. 54, 1110–1130. https://doi.org/10.1080/0305215x.2021.1913735 (2021).
Percin, H. B. & Caliskan, A. Whale optimization algorithm based MPPT control of a fuel cell system. Int. J. Hydrog. Energy. 48 (60), 23230–23241. https://doi.org/10.1016/j.ijhydene.2023.03.180 (2023).
Ghalib, M. A., Hamad, S. A., Elborlsy, M. S. & Ebied, M. A. Development and Operation of a Fuzzy Logic-Based MPPT Controller for Grid-Connected Photovoltaic Power Systems, 2023 24th International Middle East Power System Conference (MEPCON), Mansoura, Egypt, pp. 1–7, https://doi.org/10.1109/MEPCON58725.2023.10462428 (2023).
Elborlsy, M. S., Hussien, A. E. A. & Ebied, M. A. An Intelligent MPPT Technique based on Fuzzy Controller Applied to Grid-Connected PV Systems in Temperature Fluctuations, 2023 3rd International Conference on Electronic Engineering (ICEEM), Menouf, Egypt, pp. 1–6, https://doi.org/10.1109/ICEEM58740.2023.10319534 (2023).
Hamad, S. A., Ghalib, M. A., Munshi, A., Alotaibi, M. & Ebied, M. A. Evaluating machine learning models comprehensively for predicting maximum power from photovoltaic systems. Sci. Rep. 15 (1). https://doi.org/10.1038/s41598-025-91044-6 (2025).
Bakundukize, A., Twizerimana, M., Bernadette, D., Pierre, B. J. & Theoneste, N. Design and modeling of PV power plant for rural electrification in Kayonza, Rwanda. J. Energy Res. Reviews. 7 (4), 31–55. https://doi.org/10.9734/JENRR/2021/v7i430197 (2021).
Article Google Scholar
Kanouni, B., Badoud, A. E., Mekhilef, S., Bajaj, M. & Zaitsev, I. Advanced efficient energy management strategy based on state machine control for multi-sources PV-PEMFC-batteries system. Sci. Rep. 14 (1). https://doi.org/10.1038/s41598-024-58785-2 (2024).
Duan, F. et al. Optimization of a photovoltaic/wind/battery energy-based microgrid in distribution network using machine learning and fuzzy multi-objective improved Kepler optimizer algorithms. Sci. Rep. 14 (1). https://doi.org/10.1038/s41598-024-64234-x (2024).
R, R., Chinnaiyan, K. & S. N, and Hybrid optimization approach for power scheduling with PV-battery system in smart grids. Energy 290, 130051. https://doi.org/10.1016/j.energy.2023.130051 (2023).
Mazumdar, D. et al. Performance analysis of drone Sqadron optimisation based MPPT controller for grid implemented PV battery system under partially shaded conditions. Renew. Energy Focus. 49, 100577. https://doi.org/10.1016/j.ref.2024.100577 (2024).
Grover, H., Verma, A. & Bhatti, T. S. DOBC-based frequency & voltage regulation strategy for PV-diesel hybrid microgrid during islanding conditions. Renew. Energy. 196, 883–900. https://doi.org/10.1016/j.renene.2022.06.140 (2022).
Chauhan, A., Upadhyay, S., Khan, M. T., Hussain, S. M. S. & Ustun, T. S. Performance investigation of a solar Photovoltaic/Diesel generator based hybrid system with cycle charging strategy using BBO algorithm. Sustainability 13 (14), 8048. https://doi.org/10.3390/su13148048 (2021).
Aruna, M. Load frequency control using PID and Particle Swarm Optimization-ITAE, in Lecture notes in electrical engineering, pp. 325–340. https://doi.org/10.1007/978-981-99-7633-1_24 (2024).
Hamad, S. A. et al. Optimizing power sharing accuracy in low voltage DC microgrids considering mismatched line resistances. Sci. Rep. 14 (1). https://doi.org/10.1038/s41598-024-74682-0 (2024).
Kant, R., Maurya, S. P., Singh, K. H., Nisar, K. S. & Tiwari, A. K. Qualitative and quantitative reservoir characterization using seismic inversion based on particle swarm optimization and genetic algorithm: a comparative case study. Sci. Rep. 14 (1). https://doi.org/10.1038/s41598-024-72278-2 (2024).
Alizadeh, S. M., Alruyemi, I., Daneshfar, R., Mohammadi-Khanaposhtani, M. & Naseri, M. An insight into the Estimation of drilling fluid density at HPHT condition using PSO-, ICA-, and GA-LSSVM strategies. Sci. Rep. 11 (1). https://doi.org/10.1038/s41598-021-86264-5 (Mar. 2021).
Marques, D. C., Silva, J. L., Lira, M. M. S. & Aquino, R. R. B. An emotional discrete controller PSO tuned and designed for a real industrial pumping system. Sci. Rep. 12 (1). https://doi.org/10.1038/s41598-022-08192-2 (2022).
Guha, D., Roy, P. K. & Banerjee, S. Whale optimization algorithm applied to the load frequency control of a mixed power system considering nonlinearities and PLL dynamics. Energ. Syst. 11 (3), 699–728. https://doi.org/10.1007/s12667-019-00326-2 (2019).
Elborlsy, M. S., Mostafa, R. M., Ghalib, M. A., Barakat, S. & Keshta, H. E. A case study of optimal design and techno-economic analysis of an islanded AC microgrid. Sci. Rep. 15 (1). https://doi.org/10.1038/s41598-025-94506-z (2025).
Kumar, N. K. et al. Fuzzy Logic-Based load frequency control in an Island hybrid power system model using artificial bee colony optimization. Energies 15 (6), 2199. https://doi.org/10.3390/en15062199 (2022).
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. https://doi.org/10.1080/01430750.2021.1914163 (2021).
Kahani, R., Jamil, M. & Iqbal, M. T. Direct model reference adaptive control of a boost converter for voltage regulation in microgrids. Energies 15 (14), 5080. https://doi.org/10.3390/en15145080 (2022).
Kumar, M. & Tyagi, B. Design of A Model Reference Adaptive Controller (MRAC) for DC-DC Boost Converter for Variations in Solar Outputs using modified MIT Rule in an Islanded Microgrid, 2020 IEEE International Conference on Power Electronics, Smart Grid and Renewable Energy (PESGRE2020), https://doi.org/10.1109/pesgre45664.2020.9070679 (2020).
Edrington, C. S., Ozkan, G., Papari, B. & Perkins, D. Distributed adaptive power management for medium voltage ship power systems. J. Mar. Eng. Technol. 21 (5), 281–296. https://doi.org/10.1080/20464177.2021.1894783 (2021).
Zolfaghari, M., Gharehpetian, G. B., Blaabjerg, F. & Anvari-Moghaddam, A. Model Reference Adaptive Control of UIPC in Islanded Hybrid Microgrids with Flexible Loads and Storages, 2022 IEEE International Conference on Environment and Electrical Engineering and 2022 IEEE Industrial and Commercial Power Systems Europe (EEEIC / I&AmpCPS Europe), pp. 1–5, https://doi.org/10.1109/eeeic/icpseurope51590.2021.9584765 (2021).
Djebbri, S., Ladaci, S., Metatla, A. & Balaska, H. Fractional-order model reference adaptive control of a multi-source renewable energy system with coupled DC/DC converters power compensation. Energ. Syst. 11 (2), 315–355. https://doi.org/10.1007/s12667-018-0317-5 (2018).
Download references
Open access funding provided by The Science, Technology & Innovation Funding Authority (STDF) in cooperation with The Egyptian Knowledge Bank (EKB).
Process Control Technology Department, Faculty of Technology and Education, Beni-Suef University, Beni-Suef, Egypt
Mohamed A. Ghalib, M. S. Elbrolsy & R. M. Mostafa
Electrical Engineering Department, Faculty of Engineering at Shoubra, Benha University, Benha, Egypt
H.E. Keshta
PubMed Google Scholar
PubMed Google Scholar
PubMed Google Scholar
PubMed Google Scholar
Author Contributions: M. A: Validation, For-mal analysis, Writing – review & editing. M. S: original draft, Writing – review & editing. R.M: Formal analysis, Software, Supervision. H.E: Investigation, Formal analysis, Software. All authors reviewed the manuscript.
Correspondence to Mohamed A. Ghalib.
The authors declare no competing interests.
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 4.0 International License, which permits use, sharing, adaptation, 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 changes were made. 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 http://creativecommons.org/licenses/by/4.0/.
Reprints and permissions
Ghalib, M.A., Elbrolsy, M., Mostafa, R. et al. Adaptive Control-based frequency control strategy for PV/ DEG/ battery power system during islanding conditions. Sci Rep 15, 40405 (2025). https://doi.org/10.1038/s41598-025-19341-8
Download citation
Received:
Accepted:
Published:
Version of record:
DOI: https://doi.org/10.1038/s41598-025-19341-8
Anyone you share the following link with will be able to read this content:
Sorry, a shareable link is not currently available for this article.
Provided by the Springer Nature SharedIt content-sharing initiative
Advertisement
Scientific Reports (Sci Rep)
ISSN 2045-2322 (online)
© 2026 Springer Nature Limited
Sign up for the Nature Briefing newsletter — what matters in science, free to your inbox daily.