1. Introduction
The rapid growth of conventional power networks has introduced challenges such as grid instability and limited capacity to handle fluctuating demands. To enhance the reliability of traditional power systems, issues like centralized power generation, unidirectional power flow, and insufficient adaptability must be addressed [
1]. Simultaneously, increasing environmental concerns, rising electricity demand, and cost pressures have accelerated the adoption of renewable energy technologies, including distributed energy resources (DERs) and conversion systems like fuel cells, wind turbines, and photovoltaics. These technologies offer sustainable solutions to environmental challenges by reducing greenhouse gas emissions and mitigating ecological degradation [
1,
2]. However, renewable energy sources face limitations due to their dependency on weather conditions, leading to fluctuations in power generation. Despite this, factors such as fossil fuel depletion, climate change concerns, job creation opportunities, and the need for energy diversification have driven governments to prioritize renewable energy integration into their power systems [
3].
Microgrids are increasingly regarded as localized, small-scale energy systems that integrate distributed generation (DG) units with renewable energy technologies [
4]. Serving as a cornerstone in the development of smart cities, they form the backbone of modern smart grids. By reducing the impact of power outages which often impose heavy societal and economic costs microgrids enhance the reliability of electricity supply. Their modular structure also supports incremental and cost-effective expansion, making them particularly well suited for municipalities operating under constrained budgets [
5]. With rising global energy demand and heightened concerns about carbon emissions, renewable energy–based microgrids provide a practical and sustainable path forward [
6]. A typical microgrid integrates diverse energy sources, distributed loads, and electrical energy storage (EES) systems. Depending on operating conditions, it can seamlessly switch between two modes: grid-connected and islanded [
7]. In grid-connected mode, the utility grid maintains system frequency and bus voltage stability, while DG units contribute predetermined amounts of active and reactive power [
8].
Distributed generation (DG) based micro-sources often supply power to loads through hybrid power systems (HPS), which have proven to be an effective approach for addressing energy needs in remote regions. An HPS combines renewable and non-renewable energy sources with converters and electrical energy storage (EES) devices, providing notable benefits such as flexibility, scalability across diverse applications, and efficient power management [
9]. Extensive research has been dedicated to the development and optimization of HPS configurations [
10]. For instance, ref. [
11] introduced a dynamic HPS model designed to achieve optimal coordination of multiple energy sources under varying load conditions. Likewise, ref. [
12] proposed an islanded grid architecture for low-voltage decentralized generation and storage, integrating photovoltaic (PV) and wind energy, with a particular emphasis on control strategies and energy management in PV/wind-based HPS.
The paper [
13] proposed a hybrid photovoltaic/wind/battery system designed to ensure a consistent load supply. However, during peak demand periods, the risk of energy shortages increases, requiring larger energy storage capacities. To address this, ref. [
14] introduced a hybrid supercapacitor/battery configuration to mitigate power oscillations in both load and wind energy. Their approach calculates the average current reference from the load current using a low-pass filter for enhanced stability. Similarly, ref. [
15] developed a DC-link voltage controller that generates average current references through an LP filter. This approach, however, introduces a significant time delay and a dominant pole near the origin, which can adversely affect system stability. The paper [
16] proposed a grid-connected hybrid power system (HPS) for residential applications, integrating a wind-driven induction generator and a photovoltaic array. A primary limitation of PV panels is their low efficiency, making it crucial to enhance power-conversion efficiency by operating the array at its maximum power point (MPP).
Numerous control strategies have been developed for hybrid power system HPS-based microgrids operating in various modes. These include adaptive sliding mode control (SMC) [
17], networked control [
18], instantaneous power-based current control [
19], real-time coordinated control [
20], distributed control frameworks [
21], fuzzy logic control [
22], and artificial neural networks (ANNs) [
23]. The [
24] introduced a hierarchical control structure based on a master/slave methodology for improved HPS management. The master control strategy selects the energy resource based on generation costs, while the slave control ensures stable DC link voltage during transient states by adjusting the duty cycle of DC–DC converters. The paper [
25] proposed a method to stabilize AC bus voltage by regulating the DC link voltage using the modulation index of a PWM inverter. Similarly, ref. [
26] introduced a droop control-based approach for standalone hybrid PV/battery systems, where the battery is charged via the AC bus, resulting in higher inverter charger costs. However, this method is limited to islanded mode operation. For real-time hybrid microgrid control, ref. [
27] proposed a decentralized multi-agent-based model. Despite the effectiveness of conventional strategies, many do not fully account for the inherent uncertainties associated with renewable sources such as wind and solar energy. Sliding mode control (SMC), a widely adopted variable structure control technique, offers strong robustness against both internal and external disturbances, along with adaptability to parameter variations and rapid dynamic response.
In recent years, several high-quality works have advanced DC bus management and sliding-mode control in EV and microgrid applications. Blanch-Fortuna et al. [
28] developed a two-level hierarchical control for hybrid energy storage systems (battery + supercapacitor) managing power distribution on dual DC buses for ultrafast EV charging. Wang et al. [
29] proposed a fully distributed, event-triggered consensus strategy for accurate current sharing in multi-bus DC EV charging stations, eliminating the need for global communication architectures. Qayyum et al. [
30] introduced a fractional-order swarming intelligence heuristic for nonlinear sliding-mode control in fuel cell hybrid electric vehicles, enhancing robustness and adaptability. Nasim et al. [
3] proposed a barrier-function-based double integral SMC (BF-DISMC) for HESS and synchronous reluctance motor control in EVs. Zheng et al. [
31] merged full-order terminal sliding mode control with passive-based control for DC microgrid voltage regulation, improving stability under uncertainties.
In parallel, recent research has emphasized the need for degradation-aware control strategies, particularly in fuel cell hybrid electric vehicles (FCHEVs). For example, a rule-DDPG-based energy management approach has been proposed to adaptively optimize performance based on the state-of-health (SOH) of the powertrain, thereby extending system longevity and efficiency under dynamic operational conditions [
32]. Recent advances in artificial intelligence have seen a surge in the application of reinforcement learning (RL)–based controllers for complex energy systems. Notably, iDDPG (improved deep deterministic policy gradient) frameworks have demonstrated superior performance in energy management for fuel cell vehicles by integrating predictive speed profiles and health-aware control strategies [
33]. These RL-based methods offer high adaptability and model-free optimization potential under uncertainty. While the present study focuses on improved gray wolf optimization (IGWO) due to its simplicity and computational efficiency, we acknowledge the growing relevance of RL in future control architectures.
However, many existing hybrid power systems (HPSs) still overlook key aspects such as the dynamic modeling of individual energy sources and typically assume idealized or balanced load conditions. Moreover, their associated control schemes often exhibit slow convergence, limited adaptability, and inefficiencies in real-time power-sharing, voltage regulation, and frequency stabilization, especially under variable or fault-prone environments.
The primary contribution of this paper is the design of a novel hybrid renewable energy system (HRES) architecture integrated with a condition-based nonlinear control strategy to enable flexible, reliable, and intelligent power-sharing in a grid-connected microgrid. The proposed HRES comprises a photovoltaic (PV) array as the primary energy source and a fuel cell (FC) as a backup, supported by supercapacitors (SCs) for high-power transients and battery banks for long-term energy storage. This multi-layered energy storage mechanism not only stabilizes the DC-link voltage of the voltage source converter (VSC) but also ensures continuous supply under power surpluses or deficits. The FC is activated adaptively when the battery’s state-of-charge (SOC) falls below a defined threshold, thereby enhancing energy autonomy.
To regulate this complex architecture, a condition-based integral terminal sliding mode controller (ITSMC) utilizing the super-twisting algorithm is introduced. This nonlinear control strategy ensures dynamic stability, accurate real and reactive power sharing, and rapid convergence under varying load and fault conditions. In comparison with conventional approaches, the ITSMC provides stronger disturbance rejection, minimizes steady-state error, and supports smooth operation across diverse fault scenarios. In grid-connected mode, the proposed ITSMC governs the voltage source inverter (VSI) to achieve balanced power distribution among distributed generation units, while maintaining voltage and frequency within desired limits. Owing to its adaptive structure and dynamic gain tuning, the controller proves highly effective for seamless renewable energy integration and reliable real-time load tracking. Overall, this framework establishes a unified solution for power management and control, offering rapid response, improved system reliability, and scalability for smart grid applications.
The rest of the paper is organized as follows:
Section 2 presents the mathematical modeling of the system.
Section 3 details the controller design, while
Section 4 discusses the optimization technique employed for controller gain tuning.
Section 5 provides the simulation results, and
Section 6 evaluates the controller-in-loop performance. Finally,
Section 7 concludes the paper.
2. Modeling of the System
Figure 1 illustrates an HRES system comprising a photovoltaic (PV) array, simple fuel cell (FC), supercapacitor (SC), and battery, designed to supply a three-phase AC load. The PV serves as the primary power source, while the FC acts as a backup, charging the battery when its state of charge (SOC) drops below a critical threshold. The SC handles short-term transients, and the battery provides long-term energy stability, both managed via bidirectional buck-boost DC–DC converters. A boost converter with an MPPT algorithm connects the PV to the load, maximizing energy extraction. The battery also charges the SC to manage load fluctuations and maintains stability when PV power is unavailable. The SC responds to rapid load changes using cascaded control loops to stabilize the DC bus. The FC supports the battery by recharging it when needed, ensuring uninterrupted system operation. Note that the electric vehicle (EV) is modeled solely as a controllable DC load within the microgrid; the system is not based on an HEV architecture but rather a stationary, grid-connected DC microgrid platform.
2.1. Modeling of a PV Unit
The single-diode model is the most widely used representation for modeling a PV array, with its equivalent circuit shown in
Figure 1. This model consists of a photocurrent source (
) in parallel with a single diode (
D) [
34]. Additionally, it incorporates a parallel resistance (
), representing leakage current, and a series resistance (
), which accounts for the internal resistance to current flow.
where
represents the shunt leakage current,
is the current flowing through the diode (A), and
denotes the light-generated current (A).
is the diode saturation current (A),
q is the charge of an electron (
), and
is Boltzmann’s constant (
J/K).
is the ideality factor of the diode, which typically depends on temperature (e.g., for 28 °C
).
T is the temperature of the PV cell in Kelvin,
is the PV cell output current (A), and
is the PV cell output voltage (V). PV system is connected to DC bus via boost converter that is shown in the
Figure 2. The mathematical model of the system obtained by using the volt second balance and capacitor charge balance that was shown in the Equations (
24) and (
25).
where
represents the current generated by the PV unit, while
denotes the PV voltage.
is the inductance of the PV unit, and
represents its series resistance.
corresponds to the DC link voltage,
is the duty cycle of the DC–DC converter, and
represents the DC link capacitance. Lastly,
I denotes the load current.
2.2. Maximum Power Point Tracking (MPPT) Control of a PV Unit
The PV unit utilizes an MPPT technique to consistently deliver the maximum available power to the load, even under varying temperature and irradiance conditions. Due to the inherently low conversion efficiency of PV panels, an effective MPPT technique is critical for optimizing the performance of the solar PV system. In this work, an artificial neural network (ANN) is implemented to dynamically adjust the PV reference current in response to environmental fluctuations, thereby maximizing power extraction. The ANN is trained using MATLAB (version 2023a) with the Levenberg–Marquardt algorithm to ensure efficient and accurate optimization [
35].
The regression plot in
Figure 3 illustrates the high accuracy of the ANN in learning and predicting the optimal PV reference voltage under diverse solar conditions. The strong correlation evident in the plot confirms the network’s ability to capture complex nonlinear patterns, thereby enabling precise and consistent optimization of power extraction in the PV system.
2.3. Fuel Cell
An FC is an electrochemical device that converts chemical energy from fuel, such as hydrogen, into electrical energy through a reaction with oxygen. Unlike traditional power generation methods, fuel cells operate with high efficiency and produce minimal greenhouse gas emissions, with water being the primary byproduct. FCs are highly scalable and can be used as a reliable backup power source or integrated into HRES to complement other energy sources. Their ability to provide stable power output makes them ideal for applications requiring consistent energy, especially during periods when intermittent renewable sources, such as solar or wind, are unavailable.
2.4. Supercapacitor
Electric double-layer capacitors, commonly referred to as supercapacitors [
36], are widely employed in modern power grids due to their capability to accommodate rapid energy fluctuations. They are particularly valuable for meeting peak power demands, stabilizing grid voltage, and storing excess energy from renewable sources. Owing to their fast charge–discharge capability, supercapacitors are well suited for frequency regulation and short-term energy balancing. Although they provide higher power density compared to conventional batteries, they are typically integrated with battery systems in grid applications to combine the strengths of both technologies and achieve more efficient energy management.
2.5. Battery System
The battery system is interfaced with the DC bus through a bidirectional power converter, which can operate in either buck or boost mode depending on the direction of energy transfer. In buck mode, the converter enables efficient charging of the battery from the grid or other energy sources, while in boost mode it supports controlled discharge to deliver power back to the grid during periods of high demand or system instability. As a central component of grid energy storage, batteries provide backup power, stabilize voltage, and facilitate energy arbitrage. They further contribute to frequency regulation, absorb surplus energy from renewable generation, and ensure a reliable supply for critical loads. The battery capacitance is represented by .
2.6. Dynamic Modeling of Voltage Source Inverter
The instantaneous real (
P) and reactive (
Q) power at the point of common coupling (PCC) bus are considered as unmodelled dynamic parameters [
16]. In the VSI system under study, an
-to-
transformation is applied to simplify the equations, thereby reducing computational effort and eliminating the need for additional phase-locked loop (PLL) calculations in parameter estimation. This transformation streamlines the overall modeling process. The state-space formulation of a VSI equipped with an LCL filter is presented in [
16], and a dynamic model expressed in terms of
P and
Q is derived for further analysis. Accordingly, the VSI dynamic equations in the
reference frame can be written as
Here, represents the VSI output voltage, is the voltage across the capacitor in the LCL filter, and and are the VSI and bus currents, respectively. , , and correspond to the resistance, inductance, and capacitance of the system.
The instantaneous real and reactive powers in the
reference frame at bus 1 and bus 2 are given as
To reduce complexity, the
-to-
transformation is applied. The current dynamics in the
reference frame are expressed as
Here, is the angular frequency of the system, and are the -transformed voltages.
The real and reactive power at bus 1 in the
frame is calculated as
The dynamic equations for real and reactive power in the
frame are
Finally, the control parameters
and
can be defined as
These equations establish a comprehensive dynamic model of the VSI in both the and reference frames, offering reduced computational complexity while clearly distinguishing the dynamics of real and reactive power.
2.7. Global Mathematical Modeling of the System
The proposed system integrates multiple energy sources and storage devices through a VSI, enabling efficient power conversion and distribution. Photovoltaic (PV) and fuel cell (FC) units are interfaced via boost converters to raise their voltage levels, while batteries and supercapacitors are connected through bidirectional buck–boost converters to regulate energy flow in both charging and discharging modes. The VSI performs the DC–AC conversion to supply various loads, including electric vehicles. A hierarchical power management structure is adopted, applying the principles of volt–second balance and capacitor charge balance to maintain stability and ensure optimal system performance. The corresponding state equations of the system are expressed as
4. Improved Gray Wolf Optimization
Gray wolf optimization (GWO) is a population-based metaheuristic inspired by the hunting behavior of gray wolves [
31]. To enhance its exploration and exploitation capabilities, an improved variant referred to as improved gray wolf optimization (I-GWO) was proposed in [
40]. This variant incorporates a chaos factor to avoid premature convergence and escape local optima. In addition, a dynamic search mechanism adjusts the exploration process according to the iteration count and the characteristics of the fitness landscape.
In this study, I-GWO is employed to optimize the controller gains by minimizing an error-based cost function. The algorithm uses four types of search agents corresponding to the hierarchical roles in a wolf pack: alpha, beta, delta, and omega. These agents represent candidate solutions whose positions are iteratively updated based on a cost evaluation. The cost function is formulated as
Here, denotes the cost function, is the sliding surface, t represents time, and . The alpha wolf identifies the most promising solution, while beta and delta wolves follow the second- and third-best paths. The omega wolf explores alternative regions to maintain diversity in the search space. The process continues until a stopping criterion is satisfied, such as reaching the maximum number of iterations or achieving a target cost value. The best solution is given by the position of the agent with the lowest cost.
Figure 4 illustrates the performance of the I-GWO algorithm, showing the variation in cost values under different gain settings and confirming its efficiency in minimizing the error.
The gain parameters of the proposed CBITSTSMC controller were optimized using the I-GWO algorithm. Wider search bounds were adopted for each parameter to ensure comprehensive exploration of the solution space, enabling the identification of robust, high-performing gain values under a variety of operating conditions.
The updated bounds for the gain search are as follows:
(sliding mode convergence gain)
(integral exponent)
(integral scaling factor)
(saturation dynamics gain)
(super-twisting exponent)
The I-GWO algorithm was executed with the following stopping criteria:
These settings strike a balance between exploration and convergence, enabling the optimizer to avoid local minima while ensuring stable and smooth controller response. The steps of the improved gray wolf optimization (I-GWO) algorithm for gain tuning are described in Algorithm 1.
Algorithm 1: Improved gray wolf optimization (I-GWO) algorithm for gain tuning. |
![Energies 18 05152 i001 Energies 18 05152 i001]() |
Reference Signal Generation and Parameter Optimization
The reference signals for each energy unit—namely the PV, FC, battery, and supercapacitor (SC)—are generated through an embedded energy management strategy (EMS). The EMS dynamically allocates power by considering source priority, state of charge (SOC), and the prevailing load demand. Specifically,
The PV unit tracks a reference derived from maximum power point tracking (MPPT) output.
The battery and SC references are generated to respond to transient load demands and SOC-based thresholds.
The FC reference activates when the battery SOC falls below a predefined threshold, enabling recharge support.
All controller parameters including gain values (
,
) and sliding surface coefficients (
,
,
) are optimized using the IGWO algorithm. The IGWO framework minimizes the objective function:
where
is the sliding surface defined for the
subsystem and
is the tracking error. The parameters are constrained within stability-preserving bounds:
This optimization ensures robust convergence, reduced chattering, and improved control precision across all source converters under fluctuating load and intermittent renewable generation.
5. Simulation and Results
The simulation results highlight the effectiveness of the proposed energy management system under varying operating conditions. The solar irradiance profile in
Figure 5a demonstrates step-wise variations, simulating realistic environmental scenarios. The corresponding PV current response in
Figure 5b illustrates the system’s ability to track irradiance changes efficiently, ensuring optimal energy generation. The battery current dynamics in
Figure 5c emphasize its dual role in energy storage battery system and delivery, with negative values indicating charging and positive values representing discharging to meet demand.
Figure 5d depicts the fuel cell current, which supplements energy during high demand or low solar availability. Smooth transitions between states validate the robustness of the control strategies.
Figure 6a showcases the supercapacitor’s rapid response to transient power fluctuations, stabilizing the system. Grid interactions are detailed in
Figure 6b–d, where active and reactive current profiles highlight the grid’s ability to balance power, support reactive power compensation, and enable bidirectional energy flow for efficient management and stability. Moreover, these signals effectively manage various external disturbances, as demonstrated in
Figure 7a, ensuring the system’s robustness and adaptability. While
Figure 7b shows the DC bus voltage. Component specifications used in the simulation are summarized in
Table 1,
Table 2,
Table 3,
Table 4 and
Table 5.
Table 1 lists the AC microgrid ratings, including voltage, frequency, and inverter capacity.
Table 2 details PV unit parameters such as module configuration and electrical properties, which determine energy generation efficiency.
Table 3 outlines lithium-ion battery specifications, including voltage, capacity, and state-of-charge, ensuring reliable energy storage.
Table 4 provides supercapacitor and fuel cell parameters, critical for transient load handling and backup energy supply.
Table 5 presents converter specifications, ensuring power conversion efficiency and stability. The key variables and parameters for each subsystem are summarized in
Table 6.
Table 7 summarizes the optimal gain values together with their associated cost values.
The energy management strategy optimizes system performance by integrating components seamlessly. The PV system serves as the primary energy source, supported by the battery for medium- to long-term storage, and the supercapacitor for transient stabilization. The fuel cell provides reliable backup during low solar output or peak demand, while grid integration ensures dynamic energy exchange for uninterrupted supply. Advanced control algorithms, such as SMC, enable smooth transitions and efficient coordination, as demonstrated by the simulation results. The notation and parameters employed in the system modeling and controller design are consistently defined and summarized in
Table 8.
The error performance metrics and transient response characteristics of the systems have been comprehensively evaluated, as summarized in
Table 9 and
Table 10. The CBITSTSMC controller consistently outperforms the SMC and STSMC controllers in precision, error minimization, and transient response. For error metrics, CBITSTSMC achieves significantly lower values. In the PV system, the MAPE is 1.8544 for CBITSTSMC, compared to 3115.0000 for SMC and 2699.8000 for STSMC. Similarly, the RMSE is 0.0037 for CBITSTSMC, markedly lower than 0.7593 for SMC and 0.6577 for STSMC. For the fuel cell system, the ITAE is 23.5240 for CBITSTSMC, substantially better than 59.0851 for SMC and 57.5607 for STSMC, showcasing superior error control.
In terms of transient response (
Table 11), the CBITSTSMC controller demonstrates faster and more stable dynamics. For the PV system, the rise time is reduced to 0.5000 s for CBITSTSMC, compared to 1.0000 for SMC and 0.8000 for STSMC. The settling time is also improved, with CBITSTSMC achieving 7.8000 s compared to 8.7500 for SMC and 8.2500 for STSMC. In the fuel cell system, the overshoot is minimized to 92.5000 for CBITSTSMC, compared to 98.0000 for SMC and 97.5000 for STSMC.
Grid performance metrics (
Table 9 and
Table 12) further validate CBITSTSMC’s effectiveness. For active grid current, the RMSE is 0.0123 for CBITSTSMC, significantly lower than 0.0844 for SMC and 0.0081 for STSMC (
Table 12). Additionally, the ITAE for DC link voltage is reduced to 0.1842 for CBITSTSMC, outperforming 3.9990 for SMC and 266.5067 for STSMC. Transient response analysis (
Table 9) highlights that CBITSTSMC achieves the shortest rise time of 2.5000 s for active power control, compared to 3.0000 for SMC and 2.8000 for STSMC. The overshoot for DC link voltage is also minimized to 1.0005 for CBITSTSMC, compared to 2.0000 for SMC and 2.4990 for STSMC.
Experimental Configuration for Reproducibility
To ensure the reproducibility of all reported results, the following configuration details are provided for the experimental setup, data processing, and algorithm design:
Environmental and Load Conditions: Solar irradiance and ambient temperature were varied within the realistic range of 15 °C to 45 °C. Transient faults and disturbances were applied during simulation windows of 5–8 s and 10–13 s to validate robustness under fluctuating conditions.
Data Handling and Partitioning: For the ANN-based MPPT, the dataset was partitioned into 70% training, 15% validation, and 15% testing sets. Inputs include irradiance and temperature, while the output corresponds to the optimal PV reference current.
Neural Network Architecture: A two-layer feedforward neural network with 10 and 8 neurons in the hidden layers was implemented. The network was trained using the Levenberg–Marquardt backpropagation algorithm for 500 epochs. Activation functions included tansig for hidden layers and purelin for the output. The learning rate was set to 0.01.
Optimization Configuration (I-GWO): The improved gray wolf optimization algorithm employed a population size of 30 with a chaos factor of 0.9. The maximum number of iterations was fixed at 100, and the convergence threshold was . The objective cost function minimized was , derived from the sliding surface dynamics.
Hardware-in-loop Platform: For real-time validation, controller-in-the-loop (CIL) tests were executed using the Texas Instruments Delfino C2000 F28379D microcontroller (Texas Instruments, Dallas, TX, USA). MATLAB R2023a/Simulink Embedded Coder (The MathWorks, Natick, MA, USA) was employed for real-time deployment.
These parameters collectively define the experimental environment and configuration required to reproduce the simulation results and controller behavior presented in this study.
7. Conclusions
This work presented a hybrid energy system coordinated by a condition-based integral terminal super-twisting sliding mode controller (CBITSTSMC). The controller was tuned using an improved gray wolf optimization (I-GWO) algorithm, ensuring superior transient and steady-state performance. Validation through both simulation and controller-in-the-loop testing confirmed the effectiveness of the approach, with results showing lower error metrics (MAPE, RMSE, ITAE), faster dynamic response, and improved robustness under variable operating conditions. The modular structure of the controller, combined with optimal resource allocation, enabled stable power flow, efficient energy sharing, and resilience during load variations and irradiance fluctuations. While the proposed system has shown strong performance, challenges may arise when extending the framework to larger microgrids or broader smart grid networks. Increasing the number of distributed units introduces additional issues such as communication overhead, synchronization, and multi-node coordination. The modular architecture of CBITSTSMC, however, makes it adaptable to decentralized and multi-agent control schemes, offering scalability for advanced smart grid applications. Likewise, the I-GWO tuning framework can be expanded to multi-objective optimization, providing more efficient control in complex and large-scale systems. Another important consideration is system resilience under extreme weather events or severe fault conditions. The proposed controller demonstrated strong disturbance rejection in both simulations and CIL tests, maintaining reliable operation under variable irradiance, dynamic load changes, and transient disturbances. These results suggest that the CBITSTSMC is capable of ensuring fast convergence and stable performance even under challenging conditions, making it a viable option for deployment in future smart grids. Future research will focus on incorporating reinforcement learning (RL) approaches—such as deep Q-networks (DQN), proximal policy optimization (PPO), and improved deep deterministic policy gradient (DDPG)—to achieve adaptive and predictive energy management under uncertainty. These techniques, which have shown encouraging results in recent studies, could enhance the autonomy and resilience of hybrid renewable energy systems in highly dynamic environments. Furthermore, statistical validation will be included by conducting multiple randomized simulation runs, reporting confidence intervals for key performance indicators, and applying significance tests (e.g., t-tests or ANOVA) to evaluate robustness and repeatability.