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

An efficient energy management scheme using rule-based swarm intelligence approach to support pulsed load via solar-powered battery-ultracapacitor hybrid energy system

관련 수소연료전지 · (5) 연료전지용 수분제어장치(가습기)

기본 정보

저자
  1. Muhammad Shahid Wasim — Faculty of Engineering, The Islamia University of Bahawalpur, Bahawalpur, Punjab, 63100, Pakistan
  2. Muhammad Amjad — Faculty of Engineering, The Islamia University of Bahawalpur, Bahawalpur, Punjab, 63100, Pakistan
  3. Muhammad Abbas Abbasi — Faculty of Engineering, The Islamia University of Bahawalpur, Bahawalpur, Punjab, 63100, Pakistan
  4. Abdul Rauf Bhatti — Department of Electrical Engineering and Technology, Government College University, Faisalabad, Punjab, 38000, Pakistan
  5. Akhtar Rasool — Department of Electrical Engineering, University of Botswana, UB 0061, Gaborone, Botswana
  6. Abdur Raheem — Faculty of Engineering, The Islamia University of Bahawalpur, Bahawalpur, Punjab, 63100, Pakistan
  7. Ahmed Ali — Department of Electrical and Electronic Engineering Technology, Faculty of Engineering and the Built Environment, University of Johannesburg, Johannesburg, 2092, South Africa
  8. B. Zorina Khan — Hawassa University, Hawassa, Ethiopia. baseem.khan04@gmail.com|||Hawassa University, Hawassa, Ethiopia
DOI
10.1038/s41598-024-53248-0
저널
Scientific Reports
발행년도
2024
발행기관
Nature Portfolio
피인용수
13
라이선스
cc-by
논문 유형
–
언어
–
원문 페이지
https://doi.org/10.1038/s41598-024-53248-0
토픽
Electric and Hybrid Vehicle Technologies
OpenAlex ID
W4391897171

평가 내용

관련도
관련
사업분야
수소연료전지 · (5) 연료전지용 수분제어장치(가습기)
부 분야
–
R&D 측면
–
확신도
–
근거 용어
–
판단 근거
임베딩 유사도 기반 평가로 '수소연료전지 > 연료전지용 수분제어장치(가습기)' 분야에 선정된 논문입니다.
R&D 활용 포인트
–
평가 입력
–

초록

Abstract This work presents an energy management scheme (EMS) based on a rule-based grasshopper optimization algorithm (RB-GOA) for a solar-powered battery-ultracapacitor hybrid system. The main objective is to efficiently meet pulsed load (PL) demands and extract maximum energy from the photovoltaic (PV) array. The proposed approach establishes a simple IF-THEN set of rules to define the search space, including PV, battery bank (BB), and ultracapacitor (UC) constraints. GOA then dynamically allocates power shares among PV, BB, and UC to meet PL demand based on these rules and search space. A comprehensive study is conducted to evaluate and compare the performance of the proposed technique with other well-known swarm intelligence techniques (SITs) such as the cuckoo search algorithm (CSA), gray wolf optimization (GWO), and salp swarm algorithm (SSA). Evaluation is carried out for various cases, including PV alone without any energy storage device, variable PV with a constant load, variable PV with PL cases, and PV with maximum power point tracking (MPPT). Comparative analysis shows that the proposed technique outperforms the other SITs in terms of reducing power surges caused by PV power or load transition, oscillation mitigation, and MPP tracking. Specifically, for the variable PV with constant load case, it reduces the power surge by 26%, 22%, and 8% compared to CSA, GWO, and SSA, respectively. It also mitigates oscillations twice as fast as CSA and GWO and more than three times as fast as SSA. Moreover, it reduces the power surge by 9 times compared to CSA and GWO and by 6 times compared to SSA in variable PV with the PL case. Furthermore, its MPP tracking speed is approximately 29% to 61% faster than its counterparts, regardless of weather conditions. The results demonstrate that the proposed EMS is superior to other SITs in keeping a stable output across PL demand, reducing power surges, and minimizing oscillations while maximizing the usage of PV energy.

본문 89,325자

본문 펼치기
## OPEN # An efficient energy management scheme using rule‑based swarm intelligence approach to support pulsed load via solar‑powered battery‑ultracapacitor hybrid energy system Muhammad Shahid Wasim <sup>1</sup> , Muhammad Amjad <sup>1</sup> , Muhammad Abbas Abbasi <sup>1</sup> , Abdul Rauf Bhatti <sup>2</sup> , Akhtar Rasool <sup>3</sup> , Abdur Raheem <sup>1</sup> , Ahmed Ali <sup>4</sup> & Baseem Khan <sup>5</sup> <sup>*</sup> This work presents an energy management scheme (EMS) based on a rule-based grasshopper optimization algorithm (RB-GOA) for a solar-powered battery-ultracapacitor hybrid system. The main objective is to efficiently meet pulsed load (PL) demands and extract maximum energy from the photovoltaic (PV) array. The proposed approach establishes a simple IF-THEN set of rules to define the search space, including PV, battery bank (BB), and ultracapacitor (UC) constraints. GOA then dynamically allocates power shares among PV, BB, and UC to meet PL demand based on these rules and search space. A comprehensive study is conducted to evaluate and compare the performance of the proposed technique with other well-known swarm intelligence techniques (SITs) such as the cuckoo search algorithm (CSA), gray wolf optimization (GWO), and salp swarm algorithm (SSA). Evaluation is carried out for various cases, including PV alone without any energy storage device, variable PV with a constant load, variable PV with PL cases, and PV with maximum power point tracking (MPPT). Comparative analysis shows that the proposed technique outperforms the other SITs in terms of reducing power surges caused by PV power or load transition, oscillation mitigation, and MPP tracking. Specifically, for the variable PV with constant load case, it reduces the power surge by 26%, 22%, and 8% compared to CSA, GWO, and SSA, respectively. It also mitigates oscillations twice as fast as CSA and GWO and more than three times as fast as SSA. Moreover, it reduces the power surge by 9 times compared to CSA and GWO and by 6 times compared to SSA in variable PV with the PL case. Furthermore, its MPP tracking speed is approximately 29% to 61% faster than its counterparts, regardless of weather conditions. The results demonstrate that the proposed EMS is superior to other SITs in keeping a stable output across PL demand, reducing power surges, and minimizing oscillations while maximizing the usage of PV energy. Energy harvesting from the sun is becoming more popular than other renewable energy resources due to abundant solar insolation, low operating and maintenance costs, etc. <sup>1</sup> . However, its high response time and output fluctuations due to ecological factors such as solar irradiance, temperature, clouds, dust, and partial shading conditions (PSCs) make it difficult to run instantaneous pulsed loads (PL) such as high-power radars, electromagnetic launch and recovery systems, ships, and electric vehicles (EVs) <sup>2</sup> . Integrating photovoltaic (PV) energy with high-energy-density batteries and high-power-density ultracapacitors (UCs) addresses the issue of high 1Faculty of Engineering, The Islamia University of Bahawalpur, Bahawalpur, Punjab 63100, Pakistan. 2Department of Electrical Engineering and Technology, Government College University, Faisalabad, Punjab 38000, Pakistan. 3Department of Electrical Engineering, University of Botswana, UB 0061, Gaborone, Botswana. <sup>4</sup> Department of Electrical and Electronic Engineering Technology, Faculty of Engineering and the Built Environment, University of Johannesburg, Johannesburg 2092, South Africa. <sup>5</sup> Hawassa University, Hawassa, Ethiopia. <sup>*</sup> email: baseem.khan04@gmail.com response times and output fluctuations. However, an energy management scheme (EMS) is necessary to control the energy flow among PV, battery bank (BB), UCs, and PL to achieve the unique benefits of each component in a solar-powered BB-UC hybrid ­system <sup>3,4</sup> . Different EMS and associated control techniques have been investigated for various applications in the ­literature <sup>5–18</sup> . A decentralized control system is proposed, which utilizes droop control to distribute power between the BB and ­UCs <sup>19</sup> . It suffers from poor current sharing and voltage drops in the DC grid due to droop action. Another EMS is proposed based on a full current type polynomial control approach for BB-UC hybrid ­system <sup>20</sup> . Its complexity and high computational intensity limit its real-time applicability and increase hardware requirements. A BB-UC hybrid energy storage system (HESS) designed to enhance battery life while addressing PL challenges is introduced ­in <sup>21</sup> . It demonstrates improvements in battery life compared to individual batteries and UC systems. However, the charging scheme for any energy storage device (ESD) is not discussed as it assumes pre-charged ESDs. A decentralized EMS using fuzzy logic control (FLC) has been presented for ship power systems that successfully distributes power between ­ESDs <sup>13</sup> . This work considers low-frequency PL for a short duration, which requires further investigation. Moreover, fuzzification is a complex process and requires additional memory for lookup tables. An EMS based on a linear quadratic regulator (LQR) is proposed for the BB-UC hybrid ­system <sup>8</sup> . It offers control advantages, but with increased computational complexity and sensitivity to model errors. It needs precise parameter adjustments in dynamic and uncertain operating conditions. A composite model predictive control (MPC)-based decentralized dynamic power sharing strategy for HESS is ­presented <sup>22</sup> . Although it has its merits, it also has limitations. These include the need for real-time model updates and constraints on prediction horizons, which can make it less suitable for highly dynamic and complex systems. The system incorporates a low-pass filter (LPF) to divide power sharing between ­ESDs <sup>7</sup> . It uses a proportionalintegral (PI) controller to stabilize the DC bus voltage and reduce battery usage by integrating UCs. Using a linear PI controller with LPF can introduce inherent lag characteristics that negatively impact current regulation. A solar-powered BB-UC HESS for PL management is ­proposed <sup>9</sup> . It employs a rate limiter to distribute power between ESDs and a sliding mode controller (SMC) to regulate current flow to the battery. Various heuristic methods like particle swarm optimization (PSO) and genetic algorithms (GA) have been explored for power management in solar-powered BB-UC ­HESS <sup>18</sup> . An EMS for a solar-powered BB-UC HESS is proposed using the minimum principle of ­Pontryagin <sup>23</sup> . It is limited to deterministic problems and restricted to a single type of load, with no comparison to high-frequency PL. In summary, EMS can be classified into three main categories: classical ­techniques <sup>7–10</sup>, intelligent control ­methods <sup>11–16</sup>, and metaheuristic optimization ­approaches <sup>2,18,24–26</sup> . Classical techniques such as deadbeat control, droop control, sliding control, and filtration-based control require a precise system model to function ­efficiently <sup>20</sup> . Furthermore, these are sensitive to variations in model ­parameters <sup>11</sup> . Artificial intelligence (AI) techniques such as fuzzy logic, neural networks, and machine learning are reliable for slow-dynamic applications while handling uncertainties in future load ­patterns <sup>12,27</sup> . The primary flaw in AI techniques is the development of their rules, which requires expert knowledge and experience. Hundreds of trained data sets are used for accurate prediction, which takes time to ­train <sup>23,28</sup> . Another drawback is the significant memory demand to save customized values. Optimization-based strategies try to minimize or maximize the objective function. MPC can minimize the effects of variation in model parameters while maintaining ­performance <sup>17,22,25,29,30</sup> . However, its effectiveness depends on its precise modeling and sophisticated computational ­setup <sup>2,23</sup> . This setup requires a lot of effort in design and constraint-sensitivity analysis. Metaheuristic optimization techniques such as PSO, water wave optimization, GA, and white shark optimization (WSO) are used in various ­EMS <sup>18,24,31</sup> . Although PSO has gained more popularity than others, it suffers from slow and premature ­convergence <sup>32</sup> . Additionally, it has a tendency to converge to local optima and may require a large number of iterations to obtain good solutions, leading to high computational costs. Thus, its limitations suggest the need for alternative metaheuristic techniques that can address these issues and provide more efficient and robust solutions. The control techniques previously used are inadequate as they do not take into account one or more of the following factors: PL demand, charging UC through BB, MPPT under PSCs, and ensuring system stability under different operating conditions. This article aims to highlight the benefits of using a solar-powered BB-UC hybrid energy system to address the issues mentioned above in a single manuscript. For this, an EMS based on a rulebased grasshopper optimization algorithm (RB-GOA) is presented, focusing on two key aspects of interest. The first aspect of EMS is to support PL demands and ensure UC charging by BB. This is managed by creating two independent management layers: a long-term energy management layer (EML) and a short-term power management layer (PML). EML narrows the search space by considering the operating limits of the components. It activates various operational modes with the help of IF-THEN rules based on different scenarios. PML uses a GOA to establish optimal real-time power sharing among PV, BB, and UC within the search space defined by EML. RB-GOA optimizes the objective function and produces reference signals to control two bidirectional converters (BDCs) that are connected between the BB and the DC link, as well as between the UC and the DC link. The second aspect is to develop an MPPT scheme under PSC to take advantage of the maximum available PV energy. This is achieved through the implementation of a GOA that controls the duty ratio of a boost converter connected to the common DC link. A detailed analysis is carried out to assess and compare the performance of the proposed technique with other well-known swarm intelligence techniques (SITs) such as the cuckoo search algorithm (CSA), gray wolf optimization (GWO), and salp swarm algorithm (SSA). Evaluation is performed for a number of different scenarios, including PV alone without the use of an energy storage device (ESD), PV with maximum power point tracking (MPPT), variable PV with constant load, and variable PV with PL. The comparative analysis demonstrates that the proposed approach performs better than the other SITs in terms of power surge reduction during load transition, oscillation mitigation, and MPPT speed. In particular, it reduces power surge in the variable PV constant load case by 8% to 26% as compared to other SITs. Additionally, it reduces oscillations more than two to three times as quickly as the compared algorithms. Furthermore, in the variable PV with PL case, it minimizes the power surge by 6 to 9 times. Additionally, its MPP tracking speed is roughly 29% to 61% faster than other SITs compared under uniform irradiance and shaded conditions. These results demonstrate the superiority of the proposed technique over the other SITs in maintaining constant output across PL demand and optimizing the use of PV energy. The proposed work addresses critical challenges in a solar-powered BB-UC hybrid system, specifically high response times, output fluctuations, and the efficient integration of PV energy with ESDs. The research introduces an EMS based on RB-GOA to optimize real-time power share between PV system, BB, and UCs. The EMS includes both long-term energy management and short-term power management to adapt to the dynamic nature of PV systems. Furthermore, an optimized MPPT scheme is presented to tackle variation of solar irradiance to maximize the energy harvesting from the PV array. Comparative analysis of RB-GOA with other SITs highlights its superior performance in terms of power surge reduction, oscillation mitigation, and MPPT speed. The proposed system contributes in providing the improved and reliable performance of solar-powered BB-UC HESS under dynamic real-world conditions, which can significantly impact the field of PV energy and energy management. The rest of the work is divided into the following sections: The modeling of components of the hybrid system is presented in “Modeling of system components” section. “Problem formulation” section presents the formulation of a control problem with an objective function. “Set of rules” section outlined the set of rules. GOA is explained in “Grasshopper optimization algorithm” section. The combination of the rule-based control and GOA is presented in “Rule-based GOA” section and parameters selection of the SITs used is given in “Parameters selection of SITs” section. Simulation results for various case studies are presented in “Results and discussions” section. Finally, the conclusion is presented in “Conclusion” section. Modeling of system components Figure 1 shows the proposed system in which a boost converter is used to link the PV system to the DC link. The energy storage devices (ESDs) comprise a combination of BB and UC, both of which are connected to the DC link through their respective bidirectional converters. The three sources collaborate to power the PL. PV energy serves as the primary source; the battery is used to compensate for a power shortage or store surplus power; and the UC is used to compensate for instantaneous load variation. The MPPT technique is used to extract the maximum power from PV via the boost converter. A rule-based algorithm controls each bidirectional converter, managed by an energy management system (EMS). PV system modeling A PV system is composed of a PV array, a boost converter, and a GOA-based MPPT algorithm, as shown in Fig. 1. The main objective of this PV system is to extract the maximum available energy from the PV array, irrespective of the ecological conditions. The output current (Ipv) Eq. (1) of a PV module is obtained by its single-diode ­model <sup>6,18,24</sup> . The main external factors that affect Ipv are incident irradiance ( _G_ ) and temperature ( _T_ ). In addition, internal factors that can significantly reduce its output are series resistance (Rs) and shunt resistance (Rsh) . Rs is resistance to current flow, which is due to the ohmic contact between the metal and the internal resistance of the semiconductor, and Rsh shows a leakage current that depends on the quality of the module ­surface <sup>32</sup> . Ipv = NpIsc(1 + αsc(T - Tr)) <sup><u>G</u></sup> Gr  <u>�</u> q <u>Ns</u> <sup>+</sup> <sup>(IpvRs</sup> <u>Np</u> <sup>)</sup> <u>�</u> <u>Vpv</u>  (1) nkT - 1 <u>Np</u> <u>T</u> - <sup></sup> e - <sup></sup>  q - NpIsr e Tr <u>�</u> <u>T</u> <u>�3</u> <sup><u>�</u></sup> qEG <u>Tr</u> <sup>−</sup> <u>T</u> <sup><u>1</u></sup> <u>�</u> nk1 nk <u>�</u>     <u>Np</u> <u>Ns</u> <sup>Vpv</sup> <sup>+ IpvRs</sup> Rsh Isc : short circuit current of the modules with its temperature coefficient αsc, Tr, Gr : reference temperature and solar insolation respectively, Isr, _n_ : reference saturation current and non-ideality factor of the diode, respectively, EG : band gap energy of the cell material, Vpv : module voltage, _k_ : Boltzmann’s constant, _q_ : charge on an electron, Np : the number of parallel solar cells, and Ns : the number of cells in series. The power of a single PV module ( Pmod ) is given in Eq. (2) <sup>2</sup> . Pmod = max Ipv × Vpv (2) �Ipv × Vpv The output power of the PV array (Ppv) given in Eq. (3) is obtained by connecting the PV modules (Npv) in various combinations. Npv k=1 P <sup>(k)</sup> Ppv = Pmod <sup>(k)</sup> (3) mod k=1 Figure 1. Proposed EMS circuitry. Battery bank modeling BB is a high-energy density device that is used as a backup power source to run the load when PV energy is not ­available <sup>5</sup> . It reduces the negative effects of the intermittent behavior of PV power by storing surplus energy. A bidirectional converter ( BDCb ) is used to link a BB to a common DC link in the circuit model depicted in Fig. 1. A macroscopic modeling method is sufficient for BB sizing since the goal is not to examine the internal chemistry of the BB. Therefore, for this work, an equivalent electrical model of the battery based on the Rint structure is used. It consists of an internal resistance connected in series with a variable open-circuit voltage that depends on the state of charge ( SoCb ) and ­temperature <sup>23</sup> . SoCb states the remaining stored energy in the BB. Therefore, it is considered a crucial metric in the analysis of BB under various operational circumstances. It is updated using the Coulomb counting (CC) approach with the following formula in Eq. (4) <sup>33,34</sup> . b <sup>0</sup> <sup>−</sup> <sup>1</sup> SoCb(t) = SoCb <sup>0</sup> <sup>−</sup> <sup>1</sup> Ib(t)dt (4) Qb 0 - t Ib(t)dt 0 t where SoCb <sup>0</sup> where SoCb <sup>0 is the initial SoCb, Qb is the capacity of the BB, and Ib is the current taken or supplied through the BB.</sup> The sign of Ib is positive when the BB is supplying power to the load and negative when the BB is being charged. In this work, the lithium-ion battery block model available in MATLAB/Simulink is used. The minimum power needed (Req_BB_Pwr) by BB to raise SoCb(t) to an upper limit ( SoCb <sup>u ) in the time step �t with Nb, the number</sup> of batteries is given by Eq. (5) <sup>35</sup> . <u>�SoCb</u> <sup>u</sup> <sup><u>b(t)</u></sup> × Qb × Nb �t <u>�</u> <u>b</u> <sup>u</sup> <sup>−</sup> <sup><u>SoCb(t)</u></sup> <u>b</u> <sup>−</sup> <sup><u>SoCb(t)</u></sup> × Qb × Nb Req_BB_Pwr = (5) Similarly, the remaining power of the battery (Eq. 6) is the maximum power that can be continuously delivered for the time step �t before SoCb(t) approaches its lower limit SoCb <sup>l</sup> <sup>.</sup> b <sup>l</sup> <sup>.</sup> <u>SoCb(t) −</u> <u>SoCb</u> <sup>l</sup> �t <u>�</u> <u>SoCb</u> <sup>l</sup> × Qb × Nb �t <u>�</u> Avl_BB_Pwr = <u>SoCb(t) −</u> <u>SoCb</u> <sup>l</sup> × Qb × Nb (6) <u>b</u> Ultracapacitor modeling Electric double-layer capacitors (EDLCs), UCs, or SCs are energy storage capacitors. Both batteries and UCs are electrochemical devices, but no electrochemical reaction occurs in the energy storage mechanism of UCs. UCs store energy electrostatically by polarizing an electrolytic solution. This dissimilar operating principle of UCs makes its features very different from the battery. UCs possess a considerably high power density, low energy density, high charge-discharge efficiency, and more than a million cycles of ­life <sup>21</sup> . They can operate efficiently from − 40 °C to + 70 °C. Energy storage in UCs has a direct relation with the square of their terminal voltage (Vuc) and can be calculated using Eq. (7). Euc = <sup>1</sup> Vuci <sup>2</sup> <sup>−</sup> <sup>V</sup> ucf <sup>2</sup> = Puct (7) 2 <sup>Cuc</sup> - <u>�</u> <sup>1</sup> 2 <sup>Cuc</sup> Vuci <sup>2</sup> uci <sup>2</sup> <sup>−</sup> <sup>V</sup> ucf <sup>2</sup> ucf <sup>2</sup> = Puct <u>�</u> 1 Cuc =2Puct (8) Vuci <sup>2</sup> <sup>−</sup> <sup>V</sup> ucf <sup>2</sup> <u>�</u> <u>�</u> ) uci <sup>2</sup> <sup>−</sup> <sup>V</sup> <sup>2</sup> <u>�</u> ) ucf where Euc is the stored energy in Joules, Cuc is the capacitance in Farads, Vuci is the initial voltage, and Vucf is the final voltage across the UC terminals in volts, Puc is the power in watts and _t_ is the discharge time in seconds. Energy can be obtained between the rated volts and zero volts, so 100% stored energy can be hypothetically extracted but 5% energy is dissipated in ­heat <sup>20</sup> . However, a designer keeps a protection boundary to avoid the reverse charge of unstable cells. Problem formulation The main objective is to meet the pulsed load demand ( Pdem ) within the specified limits and to get maximum PV energy under all weather conditions. To achieve the objective, a multilevel EMS is presented, focusing on two key aspects of interest. The first aspect is to support PL demands and ensure UC charging through BB. This is managed by creating two independent management layers: a long-term energy management layer (EML) and a short-term power management layer (PML). EML narrows the search space with the help of a set of IF-THEN rules. PML produces reference signals with the help of GOA to control BDCi using these rules and the search space defined by EML. The search space contains the operating limits of the components. The central equation to fulfill Pdem(t) at any instant _t_ is given in Eq. (9). - Ci(t) × Pi(t), i ∈ (PV, BB, UC), Ci(t) ∈[−1, 1] ∀ t ith component and Ci(t) Pdem(t) = Ci(t) × Pi(t), i ∈ (PV, BB, UC), Ci(t) ∈[−1, 1] ∀ t (9) Here, Pi(t) is the power supplied by the ith component and Ci(t) is the capacity assignment factor for better power management between ­components <sup>36</sup> . Ci(t) is restricted by the limits of the upper bound UBi and the lower bound LBi i.e., Ci(t) ∈[LBi, UBi] where LBi ≥−1 and UBi ≤ 1 . The UBi defines the discharging ability and the LBi describes the charging ability of the component. Typical values of the bounds are LBi ∈[−1, 0] for charging and UBi ∈[0, 1] for discharging. If an ESD is being charged, the power sign is shown as negative, and if energy is supplied, the sign is positive. Moreover, it is assumed that the PV system always supplies the generated energy so, Cpv(t)∈ [0, 1] without the negative component. The life of the BB depends on its dis(charge) rate ( C − rate ), number of cycles, and depth of discharge ( DoDb ), DoDb = 1 − SoCb . Moreover, the discharge of pulse power from the battery-alone system significantly reduces its ­life <sup>21</sup> . Therefore, BB life can be improved by controlling its C − rate, SoCb, and discharging it without pulse current. For this, a set of constraints in Eq. (10) on Pb(t) is applied defining the minimum and maximum power supplied or taken through the BB. Secondly, SoCb is restricted within the specified upper SoCb <sup>u and lower SoC</sup> b <sup>l</sup> supplied or taken through the BB. Secondly, SoCb is restricted within the specified upper SoCb <sup>u and lower SoC</sup> b <sup>l</sup> values given in Table 3. Furthermore, the pulse load that is greater than the BB discharging limit ( Pdem - Pb <sup>dlim</sup> ) b <sup>u and lower SoC</sup> b <sup>l</sup> values given in Table 3. Furthermore, the pulse load that is greater than the BB discharging limit ( Pdem - Pb <sup>dlim</sup> ) is directed to the UC. Pi <sup>clim</sup> Pi <sup>clim</sup> i <sup>clim</sup> ≤ Pi(t) ≤ Pi <sup>dlim</sup> i i Pi <sup>clim</sup> ≤ 0 ≤ Pi <sup>dlim</sup> i <sup>clim</sup> ≤ 0 ≤ Pi <sup>dlim</sup> i <sup>dlim</sup> i ∈ (BB, UC), ∀ t (10) Here, Pi <sup>clim</sup> Here, Pi <sup>clim</sup> is the maximum charging limit of the components and Pi <sup>dlim</sup> is the maximum power that can be sup plied to the load by the components. The PV system does not consume energy, so Ppv <sup>clim</sup> = 0 . Moreover, it always i <sup>clim</sup> is the maximum charging limit of the components and Pi <sup>dlim</sup> plied to the load by the components. The PV system does not consume energy, so Ppv <sup>clim</sup> = 0 . Moreover, it always supplies the maximum energy available, so Ppv <sup>dlim</sup> = 1 . As mentioned above, UC energy storage can be controlled supplies the maximum energy available, so Ppv <sup>dlim</sup> = 1 . As mentioned above, UC energy storage can be controlled by its terminal voltage ( Vuc ), and battery life can be improved by managing SoCb . Therefore, using Vuc, SOCb, Pdem, and Ppv with their limits in Eq. (10), the EML is defined by a set of IF-THEN rules. Table 1 represents the determined rules and Fig. 2 represents the flow chart of the defined rules. The solution search space defined by EML is restricted to Ci(t) ∈[LBi, UBi], so PML decisions must be implemented within the search space, taking into account the load and available energy. PML defines online power allocations to components by controlling BDCi with the help of GOA using the search space. This is necessary to supply power to the PL without interruptions and deteriorating the component’s performance. Therefore, the objective function is to minimize the difference between Pdem and Pi in the time interval _j_ as in Eq. (11). - <sup>�</sup> ��� Cpv[j] × Ppv[j] + Cb[j] × Pb[j] + Cuc[j] × Puc[j] GOA is used to minimize the objective function. It produces the duty ratio signals ����Pdem[j] − db and duc ObjF[j] = min Cpv[j] × Ppv[j] + Cb[j] × Pb[j] + Cuc[j] × Puc[j] (11) Cpv,Cb,Cuc GOA is used to minimize the objective function. It produces the duty ratio signals db and duc to control BDCb and BDCuc, respectively. If db is positive, then Sb1 ( 1 <sup>st</sup> MOSFET in BDCb ) is ON and the BB supplies energy to the load. If db is negative ( d <sup>¯</sup> b ), then Sb2 ( 2 <sup>nd</sup> MOSFET in BDCb ) is ON and the BB receives the charging current from the system. Similar is the case for duc . The objective function can be rewritten as Eq. (12) ObjF[j] = min Ppv[j] + db[j] × Pb[j] + duc[j] × Puc[j] (12) db,duc Ppv[j] + db[j] × Pb[j] + duc[j] × Puc[j] can be calculated using Eqs. (����Pdem[j] − 13) and (14) in which Vb <sup>oc, V</sup> uc <sup>oc</sup> The power Pb(j) and Puc(j) can be calculated using Eqs. (13) and (14) in which Vb <sup>oc</sup> The power Pb(j) and Puc(j) can be calculated using Eqs. (13) and (14) in which Vb <sup>oc, V</sup> uc <sup>oc are the open circuit volt-</sup> ages and δb, δuc are the SoC gains of BB and UC, respectively, given in Table 3. b <sup>oc, V</sup> uc <sup>oc</sup> - <sup>�</sup> ��� Pb(j) = Vb <sup>oc(j −</sup> <sup>1) + δb · SoCb(j −</sup> <sup>1)</sup> - Ib <sup>ref</sup> (13) �Vb <sup>oc</sup> �Vuc <sup>oc</sup> - Iuc <sup>ref</sup> b <sup>oc(j −</sup> <sup>1) + δb · SoCb(j −</sup> <sup>1)</sup> - Ib <sup>ref</sup> Puc(j) = Vuc <sup>oc(j −</sup> <sup>1) + δuc</sup> <sup>· SoCuc(j −</sup> <sup>1)</sup> - Iuc <sup>ref</sup> (14) uc <sup>oc(j −</sup> <sup>1) + δuc</sup> <sup>· SoCuc(j −</sup> <sup>1)</sup> The second aspect is to track the MPP of the PV system under uniform and partially shaded conditions. GOA is used to generate a controlled duty ratio _d_ of the boost converter using voltage and current as inputs. The power generated (Ppv) for a specific duty cycle di using kth iteration and ith swarm number is defined as Eq. (15). i <sup>(k)</sup> ) > Ppv(di <sup>(k−1)</sup> Ppv(di <sup>(k)</sup> ) > Ppv(di <sup>(k−1)</sup> ) (15) i <sup>(k−1)</sup> ) where Ppv is the power received for a specific di at iteration number _k_ for the ith GH in GOA. Here, di is the position of ith GH that is to be optimized. The algorithm aims to find the optimal _d_ that maximizes the power received by the system. At each iteration, the power received for a specific di <sup>(l) is evaluated. This power value represents the</sup> fitness or objective value of the GH. The algorithm compares this power value in the current iteration _k_ with the power value in the previous iteration k − 1 . The inequality in Eq. (15) serves as a criterion to determine whether the GHs have improved their positions ( _d_ ) in terms of maximizing the power received. If the power received in the current iteration is greater than the power received in the previous iteration, this implies that the GHs have made progress and have moved toward an optimal _d_ . Repetition of this process over several iterations is key to moving GHs towards the optimal _d_ and thus reaching the maximum output power target. Set of rules The EML foundation of the proposed EMS is a rule-based strategy using simple IF-THEN operators. The IF statement chooses various operational scenarios, and the THEN statement executes the modes. The scenario is the situation under which the operational mode is activated. The operational mode is the mechanism that decides where the actual energy is coming from or where it is going to the different system’s components. IF-THEN rules play a crucial role in defining the search space and guiding the optimization process. These rules are typically based on a set of conditions (IF part) and corresponding actions (THEN part). Specific examples and case scenarios are given below. - _Example 1_ : IF - the SOCb is below 20%. THEN - start charging the battery using the available energy source. This rule ensures that the battery is always charged sufficiently to meet the power demands of the load. - _Example 2_ : IF - the pulse load demand is high. THEN - increase the power discharge from the UCs. This rule ensures a steady power supply to meet peak pulse loads. These are just a few examples of how IF-THEN rules can be used to define the search space for an optimization algorithm. - _Impact of the IF-THEN rules on the optimization process:_ Reduces the search space to improve the convergence speed of the optimization algorithm and eliminates infeasible solutions to improve the quality of the final solution. Bias the optimization algorithm towards specific regions of the search space to achieve specific objectives. For instance, in Example 1, the algorithm is biased towards solutions that maintain the SOCb above 20%. This can be useful for applications where a long battery life is essential. In Example 2, the algorithm is biased towards solutions that use the UCs to meet the peak demands of the pulse load. PV2PL mode PV2PL mode is used for energy transfer from a PV system to PL. This procedure is carried out using a boost converter with MPPT abilities, as demonstrated in Fig. 1. PV energy is consumed as a priority to power the load and to reduce the stress on the ESDs. The energy supplied PV 2PL_E varies in the following situations. <u>Case</u> <u>IF condition</u> <u>THEN</u> <u>Mode</u> Cb ∈[0, 1] Idle Case: Vuc < Vuc <sup>th</sup> b uc <sup>th & SoCb</sup> <sup>> SoC</sup> b <sup>th</sup> Pdem(t) = 0 & Ppv(t) = 0 SoCb < SoCb <sup>th</sup> Vuc < Vuc <sup>max</sup> uc <sup>max</sup> & Ppv < Puc <sup>clim</sup> uc No Load Case: Pdem(t) = 0 & Ppv(t) > 0 Over Load Case: Pdem(t) − Ppv(t) = OLC - 0 b <sup>dlim</sup> & Vuc - Vuc <sup>min</sup> Vuc < Vuc <sup>max</sup> uc <sup>max</sup> & Ppv - Puc <sup>clim</sup> uc <sup>clim</sup> & SoCb < SoCb <sup>max</sup> b uc <sup>max</sup> & SoCb < SoCb <sup>max</sup> Vuc = Vuc <sup>max</sup> b uc <sup>max</sup> & SoCb = SoCb <sup>max</sup> Vuc = Vuc <sup>max</sup> b b <sup>dlim</sup> & SoCb - SoCb <sup>min</sup> OLC < Pb <sup>dlim</sup> b b <sup>dlim</sup> & SoCb = SoCb <sup>min</sup> OLC < Pb <sup>dlim</sup> b <sup>min</sup> & Vuc - Vuc <sup>min</sup> uc OLC - Pb <sup>dlim</sup> uc <sup>min</sup> & SoCb - SoCb <sup>min</sup> b b <sup>dlim</sup> & Vuc - Vuc <sup>min</sup> OLC - Pb <sup>dlim</sup> uc <sup>min</sup> & SoCb = SoCb <sup>min</sup> b Cuc ∈[−1, 0] BB2UC Cpv ∈[0, 0] Cb ∈[0, 0] Cuc ∈[0, 0] OFF Cpv ∈[0, 0] Cb ∈[0, 0] Cuc ∈[−1, 0] PV2UC Cpv ∈[0, 1] Cb ∈[−1, 0] Cuc ∈[−1, 0] PV2UC, PV2BB Cpv ∈[0, 1] Cb ∈[−1, 0] Cuc ∈[0, 0] PV2BB Cpv ∈[0, 1] Cb ∈[0, 0] Cuc ∈[0, 0] OFF Cpv ∈[0, 0] Cb ∈[0, 1] Cuc ∈[0, 0] PV2PL, BB2PL Cpv ∈[0, 1] Cb ∈[0, 0] Cuc ∈[0, 1] PV2PL, UC2PL Cpv ∈[0, 1] Cb ∈[0, 1] Cuc ∈[0, 1] PV2PL, BB2PL, UC2PL Cpv ∈[0, 1] Cb ∈[0, 0] Cuc ∈[0, 1] PV2PL, UC2PL Cpv ∈[0, 1] Cb ∈[0, 0] Cuc ∈[−1, 0] PV2UC Cpv ∈[0, 1] Cb ∈[0, 0] Cuc ∈[−1, 0] PV2PL, PV2UC Cpv ∈[0, 1] Cb ∈[−1, 0] Cuc ∈[0, 0] PV2PL, PV2BB Cpv ∈[0, 1] Cb ∈[0, 1] Cuc ∈[−1, 0] PV2PL, BB2UC Cpv ∈[0, 1] Cb ∈[0, 0] Cuc ∈[0, 0] PV2PL Cpv ∈[0, 1] Cb ∈[−1, 0] Cuc ∈[−1, 0] PL2UC, PV2UC, PL2BB Cpv ∈[0, 1] Cb ∈[−1, 0] Cuc ∈[0, 0] PL2BB, PV2BB Cpv ∈[0, 1] Cb ∈[0, 0] Cuc ∈[0, 0] OFF Cpv ∈[0, 0] OLC - or < Pb <sup>dlim</sup> uc <sup>min</sup> & SoCb = SoCb <sup>min</sup> b b <sup>dlim</sup> & Vuc = Vuc <sup>min</sup> Under Load Case: Vuc < Vuc <sup>max</sup> Pdem(t) − Ppv(t) < 0 SoCb < SoCb <sup>max</sup> Equality Case: Vuc < Vuc <sup>th</sup> b uc <sup>th</sup> <sup>& SoCb</sup> <sup>> SoC</sup> b <sup>th</sup> Pdem(t) − Ppv(t) = 0 SoCb < SoCb <sup>th</sup> Regenerative Case: Vuc < Vuc <sup>max</sup> & Regenerative Case: Vuc < Vuc <sup>max</sup> <u>�|Pdem| + Ppv</u> - 0 - Puc <sup>clim</sup> <u>�</u> uc <sup>max</sup> & SoCb < SoCb <sup>max</sup> Pdem(t) < 0, Ppv(t) ≥ 0 Vuc = Vuc <sup>max</sup> b <sup>max</sup> & Ppv - 0 Minimum values of system SoCb = SoCb <sup>min</sup> uc <sup>min</sup> & Ppv(t) = 0 b <sup>min</sup> & Vuc = Vuc <sup>min</sup> Table 1. Set of rules. Figure 2. Operation control of proposed EMS. Situation 1: If Ppv is sufficient to handle the Pdem, then PV 2PL_E is equal to the energy required by the load equation (16). PV 2PL_E = Pdem × �t (16) Situation 2: If the generated Ppv is greater than Pdem, then Ppv is equal to the energy supplied Pdem plus the surplus energy that is used to charge the UC (mode PV2UC mode) and / or BB (mode PV2BB mode). The PV 2PL_E in this situation is given below by Eq. (17). PV 2PL_E = Pdem × �t (17) Situation 3: If generated Ppv is not enough to power the Pdem alone, then the entire generated Ppv and deficit amount of energy supplied by the UCs (mode UC2PL mode) and/or BB (mode BB2PL mode) is used to compensate Pdem . The PV energy obtained in this case is given in Eq. (18). PV 2PL_E = Ppv × �t (18) PV2UC mode Energy is transferred from PV to UCs abbreviated as PV2UC. When Ppv is greater than Pdem and the Vuc is less than the upper voltage level Vuc <sup>max, then this mode is activated. Ppv utilization to charge the UCs is 2nd priority</sup> than the upper voltage level Vuc <sup>max, then this mode is activated. Ppv utilization to charge the UCs is 2nd priority</sup> after supplying Pdem as explained in mode PV2PL. The energy supplied by PV to UC (PV 2UC_E) can be calculated with the situations given below. Situation 1: When Ppv - Pdem, then the surplus energy transferred to UC charging is the power required by the UC (Req_UC_Pwr) in time �t given by Eq. (19). The Req_UC_Pwr cannot exceed the Puc <sup>clim.</sup> PV 2UC_E = Req_UC_Pwr × �t (19) Situation 2: In the no-load condition (Pdem = 0) the available Ppv is used to charge the ESDs. First, UC is given priority to be charged, and second, BB gets surplus energy through the mode PV2BB mode. The PV energy to charge UCs in this situation is given in Eq. (20). PV 2UC_E = Req_UC_Pwr × �t (20) Situation 3: In the regenerative case (mode PL2ESD mode), if the charging energy required by the UCs is greater than the regenerated energy, then the remaining energy to charge the UC is taken through Ppv . The PV 2UC_E in Eq. (21)is the difference between the required UCs energy (Req_UC_Pwr) to the regenerative energy (Reg_Pwr) in time �t. uc <sup>clim.</sup> PV 2UC_E = Req_UC_Pwr − Reg_Pwr × �t (21) �Req_UC_Pwr − Reg_Pwr� - × �t PV2BB mode In this mode, the BB gets charging energy from a PVS abbreviated as PV2BB. This mode is activated when the Ppv is more than both the Pdem and the energy required to charge the UC with the necessary condition SoCb < SoCb <sup>max</sup> . The priority of PV energy is to run the load, the second priority is to charge the UCs and the third priority is to provide energy to BB. The energy supplied by PV to BB (PV 2BB_E) can be calculated using different situations. Situation 1: When generated Ppv is more than Pdem and Req_UC_Pwr then the remaining energy is used to charge the BB in the system. The PV energy transferred to this situation is specified in Eq. (22). PV 2BB_E = Ppv - Pdem − Req_UC_Pwr × �t (22) �P=pv 0−) the generated Pdem − Req_UCPpv_Pwr - × �t Situation 2: In the no-load condition (Pdem = 0) the generated Ppv is used to charge the UCs by means of mode PV2UC mode and the residual energy is used to charge the BB which is stated in Eq. (23). PV 2BB_E = Ppv - Req_UC_Pwr × �t (23) PL2ESD mode�Ppv - Req_UC_Pwr - × �t Situation 3: In regenerative situations (mode PL2ESD mode), in addition to regenerated energy, the available Ppv is also utilized to charge the BB. PV energy in this situation is defined below in Eq. (24). PV 2BB_E = Ppv - Req_UC_Pwr × �t (24) �Ppv - Req_UC_Pwr - × �t UC2PL mode This mode allocates energy from UCs to PL, abbreviated as UC2PL. The minimum condition to trigger the mode is Vuc - Vuc <sup>min, that is, the terminal voltage of the UCs should be higher than their lowest cutoff voltage. The</sup> is Vuc - Vuc <sup>min, that is, the terminal voltage of the UCs should be higher than their lowest cutoff voltage. The</sup> energy supplied by the UCs to PL (UC2PL_E) varies under different conditions. Situation 1: When the difference between the Pdem and Ppv is greater than the upper BB discharge limit ( Pb <sup>dlim</sup> ) then the remaining energy is supplied by the UC to the PL. The energy transferred to the PL by the UC is given in Eq. (25). Situation 1: When the difference between the Pdem and Ppv is greater than the upper BB discharge limit ( Pb <sup>dlim</sup> Pdem − Ppv + Pb <sup>dlim</sup> UC2PL_E = Pdem − Ppv + Pb <sup>dlim</sup> × �t (25) b × �t �� Situation 2: When Ppv = 0 and SoCb = SoCb <sup>min</sup> b <sup>min</sup> then the energy supplied by the UC to the PL is as Eq. (26). UC2PL_E = Pdem × �t (26) BB2PL mode The BB is the main ESD to supply the power to the load abbreviated as BB2PL. This is valid when SoCb - SOCb <sup>min</sup> The BB is the main ESD to supply the power to the load abbreviated as BB2PL. This is valid when SoCb - SOCb <sup>min</sup>, i.e. the state of charge of the BB is higher than the cutoff SoCb <sup>min</sup> . The energy supplied by BB to PL (BB2PL_E) b i.e. the state of charge of the BB is higher than the cutoff SoCb <sup>min</sup> . The energy supplied by BB to PL (BB2PL_E) varies under different conditions. Situation 1: When the Ppv is not enough to run the load alone and ( Pdem − Ppv < Pb <sup>dlim</sup> ), then the BB provides the energy deficiency to the loads computed as Eq. (27). BB2PL_E = Pdem − Ppv × �t (27) �Pdem − Ppv - × �t Situation 2: When the condition ( Pdem − Ppv - Pb <sup>dlim</sup> ) is satisfied then UCs help to provide the power to the PL and some of the energy is supplied by the BB to the PL as in Eq. (28). Situation 2: When the condition ( Pdem − Ppv - Pb <sup>dlim</sup> BB2PL_E = Pb <sup>dlim</sup> × �t (28) BB2UC mode Most published research work has not considered UC charging through the BB in HESS. The UC charging is done by an external energy-providing source such as PV energy, wind energy, and gas turbines, etc. To handle pulses in the load current, it is necessary to ensure the availability of UC energy. Therefore, this mode (BB2UC) is employed here to charge UCs through BB within the system so that the UC energy is mostly available to drive the PL. The initiation of this mode begins when the UC voltage is less than its threshold level Vuc < Vuc <sup>th, i.e.,</sup> the PL. The initiation of this mode begins when the UC voltage is less than its threshold level Vuc < Vuc <sup>th, i.e.,</sup> Vuc is dropped from the allowable threshold voltage level. The energy supplied by BB to UCs (BB2UC_E) varies under different conditions. Moreover, the required UC power (Req_UC_Pwr) cannot exceed Puc <sup>clim</sup> under different conditions. Moreover, the required UC power (Req_UC_Pwr) cannot exceed Puc <sup>clim.</sup> Situation 1: In the idle case where there is no Pdem and no Ppv the UCs get the following charging energy through the BB if SoCb - SOCb <sup>th.</sup> BB2UC_E = Req_UC_Pwr × �t (29) Situation 2: If the generated Ppv is enough to power the Pdem alone, then the UCs get the following charging energy (Eq. 30) through the BB. BB2UC_E = Req_UC_Pwr × �t (30) Situation 3: When the difference between the Pdem and Ppv is less than Pb <sup>dlim</sup>, Vuc < Vuc <sup>th and SoCb</sup> <sup>> SoC</sup> b <sup>th then</sup> the UCs are charged by the following energy Eq. (31). b <sup>th.</sup> Situation 3: When the difference between the Pdem and Ppv is less than Pb <sup>dlim</sup> b <sup>dlim</sup>, Vuc < Vuc <sup>th</sup> uc <sup>th and SoCb</sup> <sup>> SoC</sup> b <sup>th</sup> BB2UC_E = Req_UC_Pwr × �t (31) PL2ESD mode The proposed system can also work for EVs. During the deceleration of the EVs ( Pdem < 0 ), the energy is supplied back to ESD. Therefore, to store this regenerated energy (Reg_Enr) in the ESD, this PL2ESD mode is included. At first priority, the UCs take the Reg_Enr when Vuc < Vuc <sup>max . The energy supplied by PL to ESDs varies under</sup> At first priority, the UCs take the Reg_Enr when Vuc < Vuc <sup>max . The energy supplied by PL to ESDs varies under</sup> different conditions. Situation 1: In the regenerative case where Pdem - Puc <sup>clim</sup> uc <sup>clim, the energy is transferred to UCs by Eq. (32).</sup> PL2UC_E = Puc <sup>clim</sup> × �t (32) Situation 2: In the regenerative case where Pdem < Puc <sup>clim, the energy is transferred to UCs by Eq. (33).</sup> PL2UC_E = Req_UC_Pwr × �t (33) Situation 3: In the regenerative case where Vuc = Vuc <sup>max or Reg_Pwr</sup> <sup>> P</sup> uc <sup>clim then BB is charged by Reg_Enr</sup> given in Eq. (34). uc <sup>max or Reg_Pwr</sup> <sup>> P</sup> uc <sup>clim</sup> Situation 3: In the regenerative case where Vuc = Vuc <sup>max</sup> PL2BB_E = Req_BB_Pwr × �t (34) OFF mode There is a complete shutdown of the system when Situation 1: In the idle case ( Pdem = Ppv = 0 ) where Vuc - Vuc <sup>th</sup> uc <sup>max and SoCb</sup> <sup>= SoC</sup> b <sup>max</sup> Situation 1: In the idle case ( Pdem = Ppv = 0 ) where Vuc - Vuc <sup>th then the system goes to the OFF position.</sup> Situation 2: In the case without load ( Pdem = 0 and Ppv - 0 ) when Vuc = Vuc <sup>max and SoCb</sup> <sup>= SoC</sup> b <sup>max</sup> then the Situation 2: In the case without load ( Pdem = 0 and Ppv - 0 ) when Vuc = Vuc <sup>max and SoCb</sup> <sup>= SoC</sup> b <sup>max</sup> then the system goes to the OFF position. Situation 3: The system goes to the OFF position when Ppv = 0, Vuc = Vuc <sup>min</sup> b <sup>min</sup> . uc <sup>min, and SoCb</sup> <sup>= SoC</sup> b <sup>min</sup> . Grasshopper optimization algorithm GOA is a recently developed population-based swarm intelligence method that simulates the social interaction and food search behavior of grasshoppers (GHs) <sup>37</sup> . They go through two stages in life; nymph and adult. The nymphs move slowly since they lack wings and consume all the plants in their path. Adult GHs have wings that form a swarm in the air that can quickly move to a wide area. Swarm activity in both nymphs and adults is what makes it special. Slow movement in small steps in the nymph stage is known as exploitation. The movement of large distances in the adult stage in a larger search space is known as exploration. The region where exploitation and exploration are equal is called the comfort zone. The position χi of ith GH is given by Eq. (35) <sup>38,39</sup> . N =1,j�= χi = ψ( - geˆg + ueˆw (35) dij ψ( - geˆg + ueˆw j=1,j�=i dij ��ξj − ξi��)ξj - ξi _g_ is the gravitational constant with its unit vector eˆg, _u_ is the drift constant caused by the wind with its unit vector eˆw, dij is the distance between the i <sup>th</sup> and j <sup>th</sup> GH, _N_ is the total GHs. ψ represents the attraction and repulsion forces between the GHs given below Eq. (36) <sup>40</sup> . ψ(γ ) = αe <sup>(</sup> <sup><u>−</u></sup> β <sup><u>γ</u></sup> <sup>)</sup> - e <sup>−γ</sup> (36) The terms α and β stand for the length scale of attraction and the intensity of the attraction, respectively, at distance γ . The previous Eq. (35) is written as Eq. (37) to stop the GHs from immediately entering their comfort ­zone <sup>41</sup> . ψ(γ ) = αe <sup>(</sup> <sup><u>−</u></sup> β <sup><u>γ</u></sup> <sup>)</sup> - e <sup>−γ</sup> (36) N =1,j�= + T <sup>ˆ</sup> d χi = ζ ζ 2 ψ( dij + T <sup>ˆ</sup> d (37) ζ ψ( 2 - <u>νu −</u> <u>νl</u> dij ��ξj − ξi��)ξj - ξi j=1,j�=i νu, νl are the upper and lower limits of GH, T <sup>ˆ</sup> d is the target value in dimension dth . The parameter ζ is a decreas ing coefficient, responsible for controlling the comfort zone and keeping a balance between exploration and exploitation. ζ = ζu − k <sup><u>ζu −</u></sup> <sup><u>ζl</u></sup> (38) K ζu, ζl are the maximum and minimum values, _k_ is the current iteration, and _K_ is the maximum number of itera tions. Figure 3 shows the flow chart of the dynamic power shared by the GOA. At first, the GOA takes inputs from the operational modes defined by rule-based control as shown in Fig. 2, that is, Cpv, Cb, Cuc . It takes the other inputs such as Pdem, Ppv, SoCb, Vuc and initializes all the variables. The GOA randomly generates the initial position of each GH which is a potential solution to the optimization problem. It evaluates the objective function in Eq. (12) and calculates the initial output values related to all GH and assigns the best fit values to db and duc as target positions. The algorithm completes the iterative cycle using the equations shown in the Fig. 3. The optimized target positions values ( db and duc ) are used to drive their respective converters as shown in Fig. 1. Rule‑based GOA A rule-based control (RBC) system utilizes a set of rules expressed in a logical format, such as the IF-THEN statements, to make decisions about how to control a given system. The RBC then uses these rules to determine the appropriate control actions based on the current state of the system. RBC is commonly used in complex systems where developing a mathematical model is difficult or impossible. Moreover, it is well-suited for applications where the control rules need to be transparent and easy to understand. Combining RBC and GOA for the solar-powered BB-UC hybrid energy system driving pulsed load has several benefits. - _Exploration and exploitation:_ The combination of RBC and GOA allows a balance between exploration and exploitation. The RBC defines guidelines for exploitation, while GOA explores the parameter space to improve the control strategy. - _Versatility and adaptation:_ RBC and GOA can adapt to different solar and load conditions through appropriate rules and an effective response system, respectively. - _Global optimization:_ The GOA enables the HESS to find the best operational points by considering variations in solar irradiance and pulsed loads, maximizing the utilization of PV energy. - _Deterministic and robust behavior:_ The use of RBC ensures that control actions are determined and unaffected by changes in system dynamics and external disturbances. Meanwhile, GOA provides an extra layer of robustness by optimizing the rules’ parameters and dealing with uncertainties. When combined, these techniques ensure reliable and consistent management of pulsed loads using a solar-powered HESS. - _Flexibility:_ RBC are flexible and easily adaptable to new situations and requirements. GOA can further improve flexibility by adapting to different operating conditions. Overall, combining the advantages of RBC and GOA is a comprehensive approach to controlling and optimizing solar-powered BB-UC HESS with pulsed loads. It can help to address the challenges posed by pulsed loads while maximizing the utilization of PV energy and ensuring reliable performance. The RB-GOA has several advantages over other SITs due to its inherent features, which include: - _Robustness to noise:_ RB-GOA utilizes GOA, which maintains robustness even when some solutions are influenced by noise. - _Ability to learn complex relationships:_ RB-GOA effectively captures complex and non-linear relationships between input and output variables. - _Scalability to high dimensions:_ RB-GOA uses a divide and conquer approach to handle high-dimensional data sets. It breaks down the problem into subproblems of lower dimensions, thereby maintaining performance even in high-dimensional spaces. Figure 3. Flow chart of GOA. RB-GOA’s inherent features and design choices make it a promising approach for various applications. Parameters selection of SITs The effective optimization of any technique often depends on the careful selection of its parameters. These parameter values and equations are sourced from established literature for each algorithm to ensure the robustness and reliability of the optimization approach. Table 2 provides the details about the parameter values of SITs with their equation and the source. For the CSA, these are obtained ­from <sup>42</sup> . They are essential for guiding the algorithm in its search for optimal solutions. Similarly, the SSA relies on parameters and equations borrowed ­from <sup>43</sup>, ensuring operation with well-defined settings. Furthermore, randomness is added through the variable c2, which helps to explore the solution space more effectively. GWO takes its parameters and equations ­form <sup>44</sup> which shows that the GOW linearly decreases α from 2 to 0.5 over time. Such adjustments help to improve the performance of the algorithm during the optimization process. In summary, this research is based on a thorough understanding of algorithms and their associated parameters, ensuring that the optimization approach is wellinformed and capable of producing accurate and reliable results. Moreover, in the experimental setup, the MATLAB version R2021a was used for data analysis and simulations. The computations were performed on a laptop featuring an Intel Core i5-6300U CPU, clocked at 2.40GHz with four processing cores, operating at approximately 2.5GHz. The laptop was equipped with 8192MB of RAM, providing the necessary computational resources to run the MATLAB simulations and ensure efficient data analysis. Results and discussions A simple model in Fig. 1 is taken to assess the viability of the proposed algorithm. It consists of a PV array with MPPT capability using a boost converter, a BB with its BDCb and UC bank with its BDCuc . The PV array generates Ipv and Vpv upon receiving the irradiance from the visible light spectrum. The boost converter increases <u>Algorithm</u> <u>Equations</u> <u>Values</u> <sup>d</sup> i <sup>k)</sup> α = 0.8 dk <sup>i+1</sup> k <sup>i</sup> <sup>+ α ·</sup> <sup><u>|u</u></sup> <u>β1</u> <sup><u>|</u></sup> k <sup>i+1</sup> = dk <sup>i</sup> <sup><u>u</u></sup> <u>β1</u> <sup><u>|</u></sup> <sup>· (dbest</sup> <sup>−</sup> <sup>d</sup> i <sup>k</sup> u <sup>2)</sup> β = 1.5 u ≈ N <sup>v</sup> (0, σu <sup>2)</sup> ~~v~~ CSA <sup>42</sup> GWO <sup>44</sup> SSA <sup>43</sup> GOA v ≈ N (0, σv <sup>2)</sup> N <u>= 4</u> <u>Equation (37)</u> ζu = 1 <u>Equation (36)</u> ζl = 0.00004 <u>Equation (38)</u> α = 0.5 and β = 1.5 <u>��</u> <u>�</u> σu = π· <sup><u>β</u></sup> 2 <u>�</u> ŴŴ(�11++2ββ)�·sin·β·2�� <u>β−2</u> <u>1</u> <u>�</u> <u>1+2β</u> <u>�·β·2�</u> <sup><u>β</u></sup> 2 <u>�</u> Ŵ <u>2</u> <u>�</u> <u>β−1</u> <u>�</u> σv = 1 <u>�</u> <u>1ε</u> <sup>·</sup> <u>M</u> <sup><u>m</u></sup> D = 1) = X p(t) − A <u>��</u> C - X p(t) − X (t)�� X (t + 1) = X p(t) − A - D au = 2 al = 0.5 <u>�</u> ǫ = 4 a = al - (al - au) · tan <u>M</u> <sup><u>m</u></sup> <sup>π</sup> A = 2a · random − a ǫ = 4 C = 2 · random _<u>M</u>_ <u>= 120</u> <u>M</u> <u>�,,</u> cc33 ≥< 0.50.5 Ub = 0.8 <u>�,</u> c3 < 0.5 <u>�</u> b <sup>(k)</sup> - Lb <sup>(k)</sup> b <sup>(k)</sup> - Lb <sup>(k)</sup> b Lb <sup>(</sup> b b <sup>(</sup> c2 + Lb <sup>(k)</sup> <u>�c2 + Lb</u> <sup>(k)</sup> <u>�</u> x1 <sup>(k)</sup> = <u></u> <u></u> <u></u> F <sup>(k)</sup> + c1 F <sup>(k)</sup> - c1 <u>M</u> cx1 <sup>(k</sup> = <sup>)</sup> = 2 · <sup><u>1</u></sup> e <sup>−</sup> x <sup><u>�(k4)m</u></sup> 1 Ub <sup>(k)</sup> 1��Ub <sup>(k)</sup> <u>��</u> <u>j−1</u> +�2 x <sup>(k)</sup> L _M_ b = 120 = 0.1 <u>�</u> c _M_ 2 = random = 120 c2 = random xj <sup>(k)</sup> <sup><u>1</u></sup> <u>2</u> xj <sup>(k)</sup> <u>�</u> <u>j</u> <sup>(k)</sup> = <sup><u>1</u></sup> <u>2</u> <u>j</u> <sup>(k)</sup> + xj <sup>(</sup> <u>−</u> <sup>k)</sup> 1 Table 2. Parameters and equations of the ­algorithms <sup>32</sup> . <u>PV specifications</u> <u>BB specifications</u> <u>UC specifications</u> <u>Parameter</u> <u>Value (Units)</u> <u>Parameter</u> <u>Value (units)</u> <u>Parameter</u> <u>Value (units)</u> Pmod <u>315 (W)</u> Qb <u>7.5 (A h)</u> Quc <u>3.7 (A h)</u> Npv <u>6</u> Nb <u>8</u> Nuc <u>2</u> <u>uc</u> <sup>dlim]</sup> <u>[− 1.2, 5] (kW)</u> <u>pv</u> <sup>min, P</sup> <u>pv</u> <sup>max</sup> <u>b</u> <sup>clim</sup> <u>, Pb</u> <sup>dlim</sup> Pb <sup>dlim</sup> <u>]</u> <u>[-0.6, 1] (kW)</u> <u>[Puc</u> <sup>clim</sup> <u>[Ppv</u> <sup>min</sup> <sup>P</sup> <u>pv</u> <sup>max]</sup> <u>[0, 1.89] (kW)</u> <u>[Pb</u> <sup>clim</sup> <u>pv</u> <sup>oc, V</sup> pv <sup>mp</sup> <u>pv</u> <sup>sc, I</sup> pv <sup>mp ]</sup> <u>b</u> <sup>th</sup> <u>0.5</u> <u>[Vuc</u> <sup>th</sup> <u>b</u> <sup>max</sup> <u>]</u> <u>[0.3, 1]</u> [Vuc <sup>min</sup> <u>uc</u> <sup>clim, P</sup> <u>uc</u> <sup>dlim]</sup> <u>uc</u> <sup>min, V</sup> <u>uc</u> <sup>max</sup> <u>uc</u> <sup>max</sup> ] <u>[51, 102] (V)</u> <u>[Vpv</u> <sup>oc</sup> <u>[ Ipv</u> <sup>sc</sup> pv <sup>mp ]</sup> <u>[64.6, 54.7] (V)</u> <u>[SoCb</u> <sup>min</sup> pv <sup>mp ]</sup> <u>[6.14, 5.74] (A)</u> SoCb <sup>th</sup> <u>b</u> <sup>min</sup> <u>, SoCb</u> <sup>max</sup> <u>uc</u> <sup>oc]</sup> <u>[75, 102] (V)</u> <u>uc</u> <sup>th, V</sup> <u>uc</u> <sup>oc</sup> Ppv tolerance <u>± 5%</u> Vb <sup>oc</sup> <u>96 (V)</u> Cuc <u>165 (F)</u> _<u>T</u>_ <u>coefficient of Ppv</u> <u>− 0.38%/K</u> δb <u>17.3 (V/−)</u> δuc <u>80 (V/−)</u> _T_ coefficient of Vpv - 0.18%/K Ib <sup>ref</sup> uc <sup>ref</sup> 1200 (A) <u>b</u> <sup>ref</sup> 40 (A) Iuc <sup>ref</sup> Table 3. Energy resources characteristics. Vpv to Vdclink . The ripple current required by MOSFET’s ON/OFF is provided by Cpv inserted between the PV array and the converter. GOA is used to track the MPP of the system by monitoring Ipv and Vpv . Six Sun-Power modules (SPR-315E-WHT-D) are utilized to provide a maximum Ppv of 1.89 kW in the system. A shaded and an unshaded PV array condition is taken to evaluate PV performance. The EML is controlled by a simple RB technique in which the inputs specified in Table 3 are Ppv, Pdem, SoCb, SoCb <sup>min</sup>, SoCb <sup>th, Vuc, V</sup> uc <sup>min and V</sup> uc <sup>th . Here,</sup> technique in which the inputs specified in Table 3 are Ppv, Pdem, SoCb, SoCb <sup>min</sup>, SoCb <sup>th, Vuc, V</sup> uc <sup>min and V</sup> uc <sup>th . Here,</sup> SoCb <sup>min</sup> is the minimum allowable SoCb after which the system cannot take the power from BB and SoCb <sup>th is the</sup> b <sup>min</sup>, SoCb <sup>th,</sup> b <sup>th, Vuc, V</sup> uc <sup>min</sup> uc <sup>min and V</sup> uc <sup>th</sup> b SoCb <sup>min</sup> is the minimum allowable SoCb after which the system cannot take the power from BB and SoCb <sup>th is the</sup> threshold SoCb after which it cannot charge the UC but can drive the load. Similarly, Vuc <sup>min is the minimum ter-</sup> b b <sup>min</sup> is the minimum allowable SoCb after which the system cannot take the power from BB and SoCb <sup>th</sup> b threshold SoCb after which it cannot charge the UC but can drive the load. Similarly, Vuc <sup>min is the minimum ter-</sup> minal voltage of the UC after which it cannot supply power to the load and Vuc <sup>th is the voltage level after which it</sup> minal voltage of the UC after which it cannot supply power to the load and Vuc <sup>th is the voltage level after which it</sup> can take power from the BB. The RB method performs the actions given in “Set of rules” section and Table 1. It generates the output Cpv, Cb, and Cuc that are fed to PML that uses GOA to optimize the objective function in Eq. (12). The system is assessed for PV alone without ESD, PV with MPP tracking, constant load variable PV, and varying load variable PV cases. PV alone without ESD The evaluation of the system is conducted without establishing any connection between an ESD and PV array. Figure 4a depicts that the PV system supplies a relatively consistent portion of the load within the prescribed limits. However, when a PL is directly applied at 1 s and 6 s, the system fails to sustain the load. It is due to the fact that the response of the array is slow, and the load pulse is greater than its capacity. Capacity can be increased by adding more PV modules, but it adds cost and weight to the system. Furthermore, if the system is designed solely on the basis of the PL requirements, any surplus energy generated during periods of reduced Figure 4. (a) PV without ESD driving PL, (b) PV under shaded and unshaded conditions. Figure 5. (a) Pdem distribution among Ppv, Pb, Puc under variable PV with constant load case, (b) comparison of power delivered by SITs. <u>Time interval (s)</u> <u>System operation</u> 0–1 <u>BB and UC supply power to load as Ppv</u> = 0 and Pdem - Pb <sup>dlim</sup> <u>.</u> <u>b</u> <sup>dlim</sup> <u>.</u> <u>Modes: BB2PL, UC2PL</u> <u>PV and BB run the load as Ppv</u> = 1kW < Pdem. 1–2 <u>Modes: PV2PL, BB2PL</u> <u>PV runs the load alone as Ppv</u> = 1.8kW - Pdem and excess energy is stored in UC. 2–3 <u>Modes: PV2PL, PV2UC</u> <u>Load solely powered by Ppv as Pdem</u> = Ppv and BB charges UC. 3–4 <u>Modes: PV2PL, BB2UC</u> Table 4. Summary of system operation for variable Ppv with constant Pdem case. load will end up being wasted. In contrast, even if the capacity is expanded without cost and weight constraints, the ecological conditions persist. The system without ESD exhibits instability when subjected to low irradiance and shading conditions while the load is active. Therefore, it is strongly recommended to incorporate an ESD in the PV System to store excess energy during low-load scenarios and to serve as an energy source during low irradiance and PL demands. Variable PV with constant load The proposed system is tested for a constant Pdem of 1.5 kW with variable Ppv as shown in Fig. 5a. In the initial 1 s, Ppv = 0 and Pdem - Pb <sup>dlim</sup> (the power demand exceeds the maximum power discharge limit of the BB); therefore, Ppv = 0 and Pdem - Pb <sup>dlim</sup> (the power demand exceeds the maximum power discharge limit of the BB); therefore, both the BB and the UC supply power to meet the load demand. The RB sets the values of Cpv ∈ [0,0], Cb and Cuc ∈ [0,1] by enabling the BB2PL and UC2PL modes. The GOA takes this input from RB and optimizes the objective function by distributing power between BB and UC. It can be seen that the BB only provides power within its limits ( Pb <sup>dlim</sup> = 1.0 kW ) while the remaining power is supplied by the UC ( Puc). limits ( Pb <sup>dlim</sup> = 1.0 kW ) while the remaining power is supplied by the UC ( Puc). In the time interval 1 to 2 s, Ppv is 1 kW but it is still insufficient to meet the Pdem . As the primary priority of PV system is to power the load, the PV2PL mode is activated. Furthermore, the BB2PL mode is also activated because the other condition Pdem − Ppv < Pb <sup>dlim</sup> is satisfied. The RB assigns values of Cpv and Cb ∈ [0,1] vated because the other condition Pdem − Ppv < Pb <sup>dlim</sup> is satisfied. The RB assigns values of Cpv and Cb ∈ [0,1] and Cuc ∈ [0,0]. GOA distributes Pdem between PV and BB. Consequently, all Ppv is used to run the load and the remaining required power is delivered by BB ( Pb ). It is evident that Ppv = 1 kW, Pb is reduced to 0.5 kW and the Puc becomes zero. Furthermore, between 2 and 3 s, when Ppv reaches 1.8 kW, the condition Pdem < Ppv is satisfied. This activates PV2PL as the first priority and initiates the PV2UC mode to store excess energy as Pdem − Ppv < Puc <sup>clim . The range of capacity factors is Cpv</sup> <sup>∈ [0,1], Cb</sup> <sup>∈ [0,0], and Cuc</sup> <sup>∈ [-1,0]. The GOA assigns Ppv</sup> Pdem − Ppv < Puc <sup>clim . The range of capacity factors is Cpv</sup> <sup>∈ [0,1], Cb</sup> <sup>∈ [0,0], and Cuc</sup> <sup>∈ [-1,0]. The GOA assigns Ppv</sup> to meet Pdem, Puc to charge the UC, and Pb to zero. At the last interval, the load is solely powered by Ppv in the PV2PL mode as Pdem = Ppv . In this situation, BB provides charging to the UC using the BB2UC mode. Table 4 presents the summary of system operation for this case. Figure 5b depicts the power delivered by various SITs for the variable PV constant load case, where RB-GOA is compared with CSA, GWO and SSA. The results demonstrate the effectiveness of the proposed system in maximizing PV energy utilization and improving UC response during charging/discharging to alleviate stress on BB. For example, as Ppv increases from 0 to 1 kW at 1 s, the BB reduces its discharging current and the UC shuts down its operation to fully use the available PV energy. The results demonstrate that the system experiences a substantial power surge during this mode transition at 1 s. In the case of CSA, the power surge of 0.45 kW lasting for 6.9 ms. For GWO, the surge is 0.39 kW lasting for 7.2 ms, while for SSA the surge is 0.18 kW lasting for 11.2 ms. In contrast, the RB-GOA exhibits fewer oscillations compared to other SITs with only a 0.05 kW power surge for 3.5 ms. The analysis shows that the proposed RB-GOA outperforms the other SITs by reducing power surge by 26% compared to CSA, 22% compared to GWO, and 8% compared to SSA. Furthermore, the oscillations in RB-GOA diminish twice as fast as in CSA and GWO, and more than three times as fast as in SSA. These results highlight the superiority of the RB-GOA over other SITs in minimizing power fluctuations during the mode transition and maintaining stable output across the load. Table 5 presents the comparison of the proposed RB-GOA with the other SITs for this case. Variable PV with pulse load The proposed system is tested for a variable Pdem of 0 to 3.5 kW with a variable Ppv from 0 to maximum 1.89 kW as shown in Fig. 6a. It can be seen that the system operates in an idle case ( Ppv = Pdem = 0 ) during the initial 1 s. The RB establishes the values of the capacity factors Cpv ∈ [0,0], Cb ∈ [0,1], and Cuc ∈ [-1,0]. Furthermore, it activates the BB2UC mode, leading to the charging of the UC by the BB, which is managed by RB-GOA. In the time interval between 1 and 2 s, the Ppv increases from 0 to a maximum of 1.89 kW and Pdem = 0 . This activates the no-load case, in which the UC charging is given the highest priority activating the PV2UC mode. Moreover, Ppv is more than the upper limit of the UC’s charging threshold ( Puc <sup>clim ) so, the PV2BB mode is also enabled to take maxi-</sup> than the upper limit of the UC’s charging threshold ( Puc <sup>clim ) so, the PV2BB mode is also enabled to take maxi-</sup> mum advantage of available Ppv . RB adjusts the values of Cpv ∈ [0,1], Cb and Cuc ∈ [-1,0]. RB-GOA distributes the <u>SIT</u> <u>Attribute</u> <u>Power surge during load transition (kW)</u> <u>Surge die out time (ms)</u> <u>CSA</u> <u>0.45</u> <u>6.9</u> <u>Proposed (RB-GOA)</u> <u>0.05</u> <u>3.5</u> <u>RB-GOA reduces power surge by 9 times</u> <u>RB-GOA is 2 times fast</u> <u>GWO</u> <u>0.39</u> <u>7.2</u> <u>Proposed (RB-GOA)</u> <u>0.05</u> <u>3.5</u> <u>RB-GOA reduces power surge by 8 times</u> <u>RB-GOA is 2 times fast</u> <u>SSA</u> <u>0.18</u> <u>11.2</u> <u>Proposed (RB-GOA)</u> <u>0.05</u> <u>3.5</u> <u>RB-GOA reduces power surge by 3.6 times</u> <u>RB-GOA is 3.2 times fast</u> Table 5. Comparison of SITs for variable Ppv with constant Pdem case. Figure 6. (a) Pdem distribution among Ppv, Pb, Puc under variable PV with variable load conditions, (b) comparison of power delivered by SITs. available Ppv between the UC and BB, enabling the simultaneous charging of both ESDs using the entire output power of the PV source. Furthermore, when Pdem increases to 1.5 kW at 2 s, the condition Pdem < Ppv is satisfied which activates PV2PL in the first priority. Additionally, to store excess energy PV2UC mode is initiated as the available PV power is more than load demand and the condition Ppv - Pdem < Puc <sup>clim is satisfied. The range</sup> the available PV power is more than load demand and the condition Ppv - Pdem < Puc <sup>clim is satisfied. The range</sup> of capacity factors is set to Cpv ∈ [0,1], Cb ∈ [0,0], and Cuc ∈ [-1,0]. The RB-GOA is responsible for dividing Ppv between Pdem to satisfy the priority load demand and Puc to charge the UC. There is no remaining power, so Pb is zero. In the subsequent time intervals 3 to 4 s, Ppv decreases to a point that condition Pdem - Ppv becomes valid. This is the overload case in which Ppv alone is insufficient to power the load. Therefore, RB-GOA takes all the available Ppv and the remaining required power ( Pdem − Ppv ) from BB to meet the load demand. UC does not participate in the situation where the difference between Pdem and Ppv ) is less than the battery discharge limit ( Pdem − Ppv < Pb <sup>dlim</sup> ). In this case, the two modes PV2PL and BB2PL are activated. An instant surge of Pdem ( Pdem − Ppv < Pb <sup>dlim</sup> ). In this case, the two modes PV2PL and BB2PL are activated. An instant surge of Pdem reaching 3.5 kW is observed at 4 s which is greater than the available ( Ppv ) and the discharge limit of BB ( Pb <sup>dlim</sup> ). b <sup>dlim</sup> ). <u>Time interval (s)</u> <u>System operation</u> <u>Idle case as Ppv</u> = Pdem = 0 . BB charges UC 0–1 <u>Modes: BB2UC</u> <u>No-load case with Ppv = 1.89 kW. PV charges UC and BB</u> 1–2 <u>Modes: PV2UC, PV2BB</u> <u>Underload case as Pdem</u> < Ppv . PV runs the load and extra energy is stored UC 2–3 <u>Modes: PV2PL, PV2UC</u> 3–4 <u>Overload case as Ppv is insufficient. BB provides the balance power as Pdem</u> - Ppv - Pb <sup>dlim</sup> <u>Modes: PV2PL, BB2PL</u> <u>Pulse power demand, UC handles surge in Pdem . PV, BB, UC contribute to load</u> 4–5 <u>Modes: PV2PL, BB2PL, UC2PL</u> <u>Equality case as Pdem</u> = Ppv, load solely powered by Ppv and UC gets charging from BB 5–6 <u>Modes: PV2PL, BB2UC</u> <u>Regenerative case as Pdem</u> < 0 . UC and BB store excess energy ( |Pdem| + Ppv - Puc <sup>clim)</sup> 6–7 <u>uc</u> <sup>clim)</sup> <u>Modes: PL2ESD, PV2ESD</u> <u>Pulse power demand with Ppv</u> = 0 . UC handles the power surge 7–8 <u>Modes: UC2PL, BB2PL</u> Pdem is run by UC and BB as Ppv = 0 . RB-GOA distributes power share between ESD within their limits 8–9 <u>Modes: UC2PL, BB2PL</u> Pdem and Ppv become 0. UC gets charging from BB 9–10 <u>Modes: BB2UC</u> Table 6. Summary of system operation for variable Ppv with variable Pdem case. Thus, UC handles this surge in Pdem . In this situation, the three sources (PV, BB, and UC) are contributing to running the load, activating the PV2PL, BB2PL, and UC2PL modes with Cpv, Cb, and Cuc ∈ [0,1]. The RB-GOA distributes Pdem among PV, BB, and UC based on their predefined limits. Moving on to the next interval (5 to 6 s), the equality case is considered in which Pdem = Ppv . In this case the load is solely run by Ppv in PV2PL mode. At the same time, the BB charges the UC in the BB2UC mode. A regenerative case occurs in the time interval from 6 to 7 s in which Pdem < 0 . During this interval, all Pdem and Ppv are used to charge the UC on priority. Since the regenerative energy and available PV energy ( |Pdem| + Ppv ) exceeds the UC charging limit Puc <sup>clim, the BB also</sup> receives charging. In this case, the operating modes are PL2ESD and PV2UC, where Cpv ∈ [0,1], Cb and Cuc ∈ [-1,0]. For the following time intervals (7 to 9 s), Ppv = 0 and Pdem hold different values. The RB-GOA distributes the power share between UC and BB within their limits, as PV power is not available. In the final time interval, both Pdem and Ppv become 0. Therefore, the BB provides charging to the UC with the BB2UC mode. Table 6 presents the summary of system operation for this case. Figure 6b illustrates the power delivered by the different SITs for variable PV with variable load case. These results highlight the effectiveness of the proposed system in maximizing PV energy utilization and improving the UC response during charging and discharge, thus reducing the stress on the BB. As an example, as Ppv increases from 0 to 1.89 kW, the UC receives a higher charging current, and the BB switches from discharging to charging mode to fully utilize the PV energy. The performance of the RB-GOA is compared with other SITs such as CSA, GWO, and SSA during this mode-change operation. The results demonstrate that the CSA exhibits a high surge in output power of 1.75 kW, GWO experiences a surge of 1.65 kW, and the SSA encounters a surge of 1.2 kW for 12 ms. In contrast, the RB-GOA exhibits fewer power oscillations with power surges of only 0.2 kW lasting for 5.5 ms. The analysis shows that the proposed RB-GOA outperforms the other SITs by significantly reducing power surges, achieving a 9-fold reduction compared to CSA and GWO, and a 6-fold reduction compared to SSA. Furthermore, the oscillations in RB-GOA diminish twice as fast as those in CSA, GWO, and SSA. These results highlight the superiority of the RB-GOA over other SITs in minimizing power surges during the mode transition and maintaining stable output across the load. Table 7 presents the comparison of the proposed RBGOA with the other SITs for this case. Figure 7 presents the graphical representation of the results obtained for variable PV with constant load and variable PV with pulse load cases. Figure 7a shows the comparison of power surges (kW) appeared in optimization processes during load transition for both cases using SITs. Furthermore, the surge die-out time (ms) for the same set of optimization techniques during load transitions is presented in Fig. 7b. The graph provides insight <u>SIT</u> <u>Attribute</u> <u>Power surge during load transition (kW)</u> <u>Surge die out time (ms)</u> <u>CSA</u> <u>1.8</u> <u>12.8</u> <u>Proposed (RB-GOA)</u> <u>0.2</u> <u>5.5</u> <u>RB-GOA reduces power surge by 9 times</u> <u>RB-GOA is 2.4 times fast</u> <u>GWO</u> <u>1.65</u> <u>12.3</u> <u>Proposed (RB-GOA)</u> <u>0.2</u> <u>5.5</u> <u>RB-GOA reduces power surge by 8.2 times</u> <u>RB-GOA is 2.2 times fast</u> <u>SSA</u> <u>1.22</u> <u>12.7</u> <u>Proposed (RB-GOA)</u> <u>0.2</u> <u>5.5</u> <u>RB-GOA reduces power surge by 6 times</u> <u>RB-GOA is 2.3 times fast</u> Table 7. Comparison of SITs for variable Ppv with variable Pdem case. Figure 7. (a) Power surge during load transition, (b) surge die-out time. into the time it takes for the power surge to dissipate for the specified load transition scenarios. These figures offer a visual overview of the comparative performance of optimization techniques in managing power surges and surge die-out times during load transitions, discussed in the corresponding sections. PV array with MPPT One of the challenges with PV-based hybrid systems is the lack of consideration for MPP tracking. In this study, MPP is tracked using GOA and its performance is compared with CSA, GWO, and SSA. Figure 4b illustrates two conditions to verify the performance of PVS under uniform irradiance (non-shaded condition) and non-uniform condition (PSC). Under uniform conditions, the maximum power of 1.89 kW can be achieved by connecting six PV modules (SPR-315E-WHT-D) in the matrix configuration using standard test conditions (STC) which are G = 1000 W m <sup>−2</sup> and T = 25 <sup>◦</sup> C. In the second case, four peaks are observed under PSC with a global peak (GP) at 450 W among the other three local peaks. In the first case depicted in Fig. 8a, the tracking time for CSA exceeds 0.15 s, and the settling time is 0.47 s with more oscillation compared to the other SITs employed in this study. The GWO algorithm achieves GP tracking at 0.28 sand settles the output at 0.35 s, with initially higher oscillations that gradually decrease. Similarly, the SSA exhibits tracking and settling times of 0.18 s and 0.28 s, respectively, with fewer oscillations compared to CSA and GWO. On the other hand, the GOA achieves tracking in just 0.14 s and settles the output in 0.15 s without oscillations. It is evident that GOA outperforms the other SITs, demonstrating lower tracking time, settling time, and oscillations. In the case of a PSC with four peaks, as shown in Fig. 8b, the CSA is slowest among the other three SITs, taking 0.44 s for tracking and 0.54 s to settle the PV output. It exhibits higher oscillations, making it a less suitable choice for applications that demand fast and smooth output. On the other hand, the GWO achieves faster tracking speed taking only 0.23 s with a settling time 0.67 s is longer than the CSA with lower oscillations. The SSA demonstrates shorter tracking and settling times of 0.22 s and 0.29 s respectively than those of GWO and CSA. GOA is the fastest among the other three SITs, taking only 0.17 s for tracking and 0.27 s for settling time with minimal oscillations in the output curve. It is evident that GOA is approximately 61% faster than CSA, 35% faster than GWO, and 29.41% faster than SSA in uniform irradiance and partial shading conditions. Table 8 summarises the MPPT results and SITs comparison. The proposed system holds significant importance in the energy sector, particularly regarding PV energy integration. This research has practical implications and addresses crucial aspects: - _Reducing power surges and oscillations:_ EMS helps to maintain the stability of the energy system by reducing surges and mitigating oscillations that can damage equipment and disrupt power supply. Figure 8. PV with MPPT (a) under uniform irradiance, (b) under PSCs. <u>Uniform irradiance</u> <u>PSC with 4 peaks</u> <u>SIT</u> ttrack (s) tsetl (s) _<u>Osc</u>_ ttrack (s) tsetl (s) _<u>Osc</u>_ <u>CSA</u> <u>0.16</u> <u>0.47</u> <u>H</u> <u>0.44</u> <u>0.54</u> <u>H</u> <u>GWO</u> <u>0.28</u> <u>0.35</u> <u>M</u> <u>0.23</u> <u>0.67</u> <u>M</u> <u>SSA</u> <u>0.18</u> <u>0.28</u> <u>L</u> <u>0.22</u> <u>0.29</u> <u>M</u> <u>Proposed</u> <u>0.14</u> <u>0.15</u> <u>VL</u> <u>0.17</u> <u>0.27</u> <u>VL</u> Table 8. MPPT results comparison of SITs. ttrack : Average tracking time, tsetl : Average settling time. _Osc_ : Oscillations, VL: Very low, L: Low, M: Medium, H: High. - _Improved MPPT speed:_ Achieving maximum energy from PV arrays requires a faster MPPT speed. EMS optimizes the process, ensuring energy generation closely follows solar irradiance changes, maximizing PV system efficiency. - _Efficient integration of PV energy with ESDs:_ Efficient integration of PV energy with BB and UCs is a significant step toward ensuring a stable and sustainable energy supply. EMS regulates energy flow among these components, enhancing the overall efficiency of the system. - _Adaptation to dynamic PV systems:_ The inclusion of both long-term energy management and short-term power management in EMS allows it to adapt dynamically to the ever-changing nature of PV systems and loads. This adaptability ensures a consistent energy supply, particularly in variable weather conditions. - _Optimized real-time power sharing:_ The proposed approach optimizes real-time power sharing among PV, BB and UCs, promoting efficient energy utilization and minimizing waste. - _Fresh perspective on SITs in BB-UC hybrid systems:_ This work provides a new perspective on the application of SIT in solar-powered BB-UC hybrid systems, offering advanced solutions to energy management challenges in such setups. The physical significance of this research lies in its practical applicability to real-world energy systems. It incorporates a control mechanism that introduces damping in the system during load transitions, similar to shock absorbers in a vehicle. This physical damping reduces the rate of change of power, effectively reducing the surges and oscillations in the system. Additionally, UCs act as an energy buffer, rapidly releasing and absorbing energy to maintain system stability during a load transition. This inertia in energy transfer physically reduces the rapid changes in power. The proposed technique reduces power surges by providing UCs for the surge current to flow, allowing it to dissipate quickly and safely into the system. It can be used in a variety of applications, including power grids, industrial motors, wind turbines, and PV systems. Conclusion The proposed EMS based on RB-GOA to support pulse load exhibits outstanding performance compared to CSA, GWO, and SSA in terms of reducing power surges during load transition, mitigating oscillations, and achieving faster MPPT speed. It reduces power surges by 26% compared to CSA, 22% compared to GWO, and 8% compared to SSA during load transitions in the variable PV constant load case. It also mitigates oscillations twice as fast as CSA and GWO, and more than three times as fast as SSA. In the variable PV variable load case, it shows a significant reduction in power surges by 9 times compared to CSA and GWO, and by 6 times compared to SSA. Additionally, it achieves approximately 61% faster MPPT speed than CSA, 35% faster than GWO, and 29% faster than SSA, regardless of weather conditions. The work efficiently addresses challenges of high response times, output fluctuations, and integration of PV with ESDs. It efficiently regulates energy flow among PV systems, BB, and UCs using an EMS. The EMS includes both long-term energy management and short-term power management to adapt to the dynamic nature of PV systems. Furthermore, RB-GOA optimizes real-time power sharing among energy components and provides a fresh perspective on SITs in BB-UC hybrid systems. Moreover, an optimized MPPT scheme maximizes the energy harvesting from the PV array and mitigates the effect of varying solar irradiance. This multifaceted contribution offers valuable information on improving the performance and reliability of solar-powered BB-UC HESS under dynamic real-world conditions. Data availibility The datasets used and/or analysed during the current study available from the corresponding author on reasonable request. Received: 14 September 2023; Accepted: 30 January 2024 References 1. Haq, I. U. _et al._ Neural network-based adaptive global sliding mode PV controller design for stand-alone photovoltaic systems. _Plos One_ 17 (1), e0260480 (2022). 2. Behera, M. K. & Saikia, L. C. A novel resilient control of grid-integrated solar pv-hybrid energy storage microgrid for power smoothing and pulse power load accommodation. _IEEE Trans. Power Electron._ 38 (3), 3965–3980 (2022). 3. Bharatee, A., Ray, P.K., & Ghosh, A. Hardware design for implementation of energy management in a solar-interfaced dc microgrid. _IEEE Trans. Consum. Electron._ (2023). 4. Gao, X.-P., Li-Jun, F., Jian, H. & Yan, Q.-S. Voltage stability analysis of dc ship power system with pulse load. _J. Eng._ 2019 (16), 2027–2031 (2019). 5. Sutikno, T., Arsadiando, W., Wangsupphaphol, A., Yudhana, A., & Facta, M. A review of recent advances on hybrid energy storage system for solar photovoltaics power generation. _IEEE Access_ (2022). 6. Pattnaik, S. _et al._ DC bus voltage stabilization and SOC management using optimal tuning of controllers for supercapacitor based PV hybrid energy storage system. _Batteries_ 8 (10), 186 (2022). 7. Cabrane, Z., Kim, J., Yoo, K. & Ouassaid, M. Hess-based photovoltaic/batteries/supercapacitors: Energy management strategy and dc bus voltage stabilization. _Sol. Energy_ 216, 551–563 (2021). 8. Ferahtia, S. _et al._ Optimal adaptive gain LQR-based energy management strategy for battery-supercapacitor hybrid power system. _Energies_ 14 (6), 1660 (2021). 9. Abianeh, A. J. & Ferdowsi, F. Sliding mode control enabled hybrid energy storage system for islanded dc microgrids with pulsing loads. _Sustain. Cities Soc._ 73, 103117 (2021). 10. Yang, B. _et al._ Applications of battery/supercapacitor hybrid energy storage systems for electric vehicles using perturbation observer based robust control. _J. Power Sources_ 448, 227444 (2020). 11. Javed, K., Ashfaq, H., Singh, R., Hussain, S. M. S. & Ustun, T. S. Design and performance analysis of a stand-alone PV system with hybrid energy storage for rural India. _Electronics_ 8 (9), 952 (2019). 12. Ulutas, A., Altas, I. H., Onen, A. & Ustun, T. S. Neuro-fuzzy-based model predictive energy management for grid connected microgrids. _Electronics_ 9 (6), 900 (2020). 13. Faddel, S., Saad, A. A., El Hariri, M. & Mohammed, O. A. Coordination of hybrid energy storage for ship power systems with pulsed loads. _IEEE Trans. Ind. Appl._ 56 (2), 1136–1145 (2019). 14. da Silva, S. F. _et al._ Dual HESS electric vehicle powertrain design and fuzzy control based on multi-objective optimization to increase driving range and battery life cycle. _Appl. Energy_ 324, 119723 (2022). 15. Sidharthan, V. P., Kashyap, Y. & Kosmopoulos, P. Adaptive-energy-sharing-based energy management strategy of hybrid sources in electric vehicles. _Energies_ 16 (3), 1214 (2023). 16. Naseri, F., Barbu, C. & Sarikurt, T. Optimal sizing of hybrid high-energy/high-power battery energy storage systems to improve battery cycle life and charging power in electric vehicle applications. _J. Energy Storage_ 55, 105768 (2022). 17. Van Vu, T., Gonsoulin, D., Diaz, F., Edrington, C. S. & El-Mezyani, T. Predictive control for energy management in ship power systems under high-power ramp rate loads. _IEEE Trans. Energy Convers._ 32 (2), 788–797 (2017). 18. Guentri, H., Allaoui, T., Mekki, M. & Denai, M. Power management and control of a photovoltaic system with hybrid battery supercapacitor energy storage based on heuristics methods. _J. Energy Storage_ 39, 102578 (2021). 19. Faddel, S., Saad, A. A., Youssef, T. & Mohammed, O. Decentralized control algorithm for the hybrid energy storage of shipboard power system. _IEEE J. Emerg. Select. Top. Power Electron._ 8 (1), 720–731 (2019). 20. Ren, J. _et al._ Full current-type control-based hybrid energy storage system. _Energies_ 15 (8), 2910 (2022). 21. Wasim, M. S. _et al._ Battery-ultracapacitor hybrid energy storage system to increase battery life under pulse loads. _IEEE Access_ 10, 62173–62182 (2022). 22. Zhang, M., Qianwen, X., Zhang, C., Nordström, L. & Blaabjerg, F. Decentralized coordination and stabilization of hybrid energy storage systems in dc microgrids. _IEEE Trans. Smart Grid_ 13 (3), 1751–1761 (2022). 23. Nambisan, P. & Khanra, M. Optimal energy management of battery supercapacitor aided solar PV powered agricultural feed mill using Pontryagin’s minimum principle. _IEEE Trans. Power Electron._ 37 (2), 2216–2225 (2021). 24. Alhumade, H., Rezk, H., Louzazni, M., Moujdin, I. A. & Al-Shahrani, S. Advanced energy management strategy of photovoltaic/ pemfc/lithium-ion batteries/supercapacitors hybrid renewable power system using white shark optimizer. _Sensors_ 23 (3), 1534 (2023). 25. Zhang, S., Xiong, R. & Sun, F. Model predictive control for power management in a plug-in hybrid electric vehicle with a hybrid energy storage system. _Appl. Energy_ 185, 1654–1662 (2017). 26. Çınar, H. & Kandemir, I. Active energy management based on meta-heuristic algorithms of fuel cell/battery/supercapacitor energy storage system for aircraft. _Aerospace_ 8 (3), 85 (2021). 27. Ibrahim, O. _et al._ Development of fuzzy logic-based demand-side energy management system for hybrid energy sources. _Energy_ _Convers. Manag. X_ 18, 100354 (2023). 28. Mohamed, A. A. S., Metwally, H., El-Sayed, A. & Selem, S. I. Predictive neural network based adaptive controller for grid-connected PV systems supplying pulse-load. _Sol. Energy_ 193, 139–147 (2019). 29. Xiao, Q., Chen, L., Jia, H., Wheeler, P. W. & Dragičević, T. Model predictive control for dual active bridge in naval dc microgrids supplying pulsed power loads featuring fast transition and online transformer current minimization. _IEEE Trans. Ind. Electron._ 67 (6), 5197–5203 (2019). 30. Hosseinzadehtaher, M., Khan, A., Easley, M., Shadmand, M. B. & Fajri, P. Self-healing predictive control of battery system in naval power system with pulsed power loads. _IEEE Trans. Energy Convers._ 36 (2), 1056–1069 (2020). 31. Choudhury, S. _et al._ Energy management and power quality improvement of microgrid system through modified water wave optimization. _Energy Rep._ 9, 6020–6041 (2023). 32. Wasim, M. S. _et al._ A critical review and performance comparisons of swarm-based optimization algorithms in maximum power point tracking of photovoltaic systems under partial shading conditions. _Energy Rep._ 8, 4871–4898 (2022). 33. Zhang, Q., Deng, W., Zhang, S., & Wu, J. A rule based energy management system of experimental battery/supercapacitor hybrid energy storage system for electric vehicles. _J. Control Sci. Eng._ 2016 (2016). 34. Bhattar, C.L., & Chaudhari, M.A. Centralized energy management scheme for grid connected dc microgrid. _IEEE Syst. J._ (2023). 35. Bhatti, A. R. _et al._ Optimized sizing of photovoltaic grid-connected electric vehicle charging system using particle swarm optimiza tion. _Int. J. Energy Res._ 43 (1), 500–522 (2019). 36. Trovão, J. P., Pereirinha, P. G., Jorge, H. M. & Antunes, C. H. A multi-level energy management system for multi-source electric vehicles-an integrated rule-based meta-heuristic approach. _Appl. Energy_ 105, 304–318 (2013). 37. Saremi, S., Mirjalili, S. & Lewis, A. Grasshopper optimisation algorithm: Theory and application. _Adv. Eng. Softw._ 105, 30–47 (2017). 38. Fathy, A. Recent meta-heuristic grasshopper optimization algorithm for optimal reconfiguration of partially shaded PV array. _Sol._ _Energy_ 171, 638–651 (2018). 39. Wasim, M. S., Amjad, M., Bhatti, A. R., Abbas, M. A. & Rasool, A. An improved grasshopper-based MPPT approach to reduce tracking time and startup oscillations in photovoltaic system under partial shading conditions. _PLoS ONE_ 18 (8), e0290669 (2023). 40. Saxena, A., Shekhawat, S., & Kumar, R. Application and development of enhanced chaotic grasshopper optimization algorithms. _Modelli. Simul. Eng._ 2018 (2018). 41. Meraihi, Y., Gabis, A. B., Mirjalili, S. & Ramdane-Cherif, A. Grasshopper optimization algorithm: Theory, variants, and applica tions. _IEEE Access_ 9, 50001–50024 (2021). 42. Eltamaly, A. M. An improved cuckoo search algorithm for maximum power point tracking of photovoltaic systems under partial shading conditions. _Energies_ 14 (4), 953 (2021). 43. Dagal, I., Akın, B. & Akboy, E. Improved SALP swarm algorithm based on particle swarm optimization for maximum power point tracking of optimal photovoltaic systems. _Int. J. Energy Res._ 46 (7), 8742–8759 (2022). 44. Guo, K., Cui, L., Mao, M., Zhou, L. & Zhang, Q. An improved gray wolf optimizer MPPT algorithm for PV system with BFBIC converter under partial shading. _IEEE Access_ 8, 103476–103490 (2020). Author contributions M.S.W., M.A., M.A.A., A.R.B., A.R., A.R.A., A.A. and B.K. wrote the main manuscript text. M.S.W., M.A., M.A.A., A.R.B., A.R., A.R.A., A.A. and B.K. prepared figures. All authors reviewed the manuscript. Competing interests The authors declare no competing interests. Additional information Correspondence and requests for materials should be addressed to B.K. Reprints and permissions information is available at www.nature.com/reprints. Publisher’s note Springer Nature remains neutral with regard to jurisdictional claims in published maps and institutional affiliations. Open Access This article is licensed under a Creative Commons Attribution 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://​creat​iveco​mmons.​org/​licen​ses/​by/4.​0/.](http://creativecommons.org/licenses/by/4.0/) © The Author(s) 2024

섹션 본문 99문단 · 48,128자

(제목 없음)

1This work presents an energy management scheme (EMS) based on a rule-based grasshopper optimization algorithm (RB-GOA) for a solar-powered battery-ultracapacitor hybrid system.The main objective is to efficiently meet pulsed load (PL) demands and extract maximum energy from the photovoltaic (PV) array.The proposed approach establishes a simple IF-THEN set of rules to define the search space, including PV, battery bank (BB), and ultracapacitor (UC) constraints.GOA then dynamically allocates power shares among PV, BB, and UC to meet PL demand based on these rules and search space.A comprehensive study is conducted to evaluate and compare the performance of the proposed technique with other well-known swarm intelligence techniques (SITs) such as the cuckoo search algorithm (CSA), gray wolf optimization (GWO), and salp swarm algorithm (SSA).Evaluation is carried out for various cases, including PV alone without any energy storage device, variable PV with a constant load, variable PV with PL cases, and PV with maximum power point tracking (MPPT).Comparative analysis shows that the proposed technique outperforms the other SITs in terms of reducing power surges caused by PV power or load transition, oscillation mitigation, and MPP tracking.Specifically, for the variable PV with constant load case, it reduces the power surge by 26%, 22%, and 8% compared to CSA, GWO, and SSA, respectively.It also mitigates oscillations twice as fast as CSA and GWO and more than three times as fast as SSA.Moreover, it reduces the power surge by 9 times compared to CSA and GWO and by 6 times compared to SSA in variable PV with the PL case.Furthermore, its MPP tracking speed is approximately 29% to 61% faster than its counterparts, regardless of weather conditions.The results demonstrate that the proposed EMS is superior to other SITs in keeping a stable output across PL demand, reducing power surges, and minimizing oscillations while maximizing the usage of PV energy.Energy harvesting from the sun is becoming more popular than other renewable energy resources due to abundant solar insolation, low operating and maintenance costs, etc. 1 .However, its high response time and output fluctuations due to ecological factors such as solar irradiance, temperature, clouds, dust, and partial shading conditions (PSCs) make it difficult to run instantaneous pulsed loads (PL) such as high-power radars, electromagnetic launch and recovery systems, ships, and electric vehicles (EVs) 2 .Integrating photovoltaic (PV) energy with high-energy-density batteries and high-power-density ultracapacitors (UCs) addresses the issue of high

2times as quickly as the compared algorithms.Furthermore, in the variable PV with PL case, it minimizes the power surge by 6 to 9 times.Additionally, its MPP tracking speed is roughly 29% to 61% faster than other SITs compared under uniform irradiance and shaded conditions.These results demonstrate the superiority of the proposed technique over the other SITs in maintaining constant output across PL demand and optimizing the use of PV energy.

3The proposed work addresses critical challenges in a solar-powered BB-UC hybrid system, specifically high response times, output fluctuations, and the efficient integration of PV energy with ESDs.The research introduces an EMS based on RB-GOA to optimize real-time power share between PV system, BB, and UCs.The EMS includes both long-term energy management and short-term power management to adapt to the dynamic nature of PV systems.Furthermore, an optimized MPPT scheme is presented to tackle variation of solar irradiance to maximize the energy harvesting from the PV array.Comparative analysis of RB-GOA with other SITs highlights its superior performance in terms of power surge reduction, oscillation mitigation, and MPPT speed.The proposed system contributes in providing the improved and reliable performance of solar-powered BB-UC HESS under dynamic real-world conditions, which can significantly impact the field of PV energy and energy management.

4The rest of the work is divided into the following sections: The modeling of components of the hybrid system is presented in "Modeling of system components" section."Problem formulation" section presents the formulation of a control problem with an objective function."Set of rules" section outlined the set of rules.GOA is explained in "Grasshopper optimization algorithm" section.The combination of the rule-based control and GOA is presented in "Rule-based GOA" section and parameters selection of the SITs used is given in "Parameters selection of SITs" section.Simulation results for various case studies are presented in "Results and discussions" section.Finally, the conclusion is presented in "Conclusion" section.

Modeling of system components

5Figure 1 shows the proposed system in which a boost converter is used to link the PV system to the DC link.The energy storage devices (ESDs) comprise a combination of BB and UC, both of which are connected to the DC link through their respective bidirectional converters.The three sources collaborate to power the PL.PV energy serves as the primary source; the battery is used to compensate for a power shortage or store surplus power; and the UC is used to compensate for instantaneous load variation.The MPPT technique is used to extract the maximum power from PV via the boost converter.A rule-based algorithm controls each bidirectional converter, managed by an energy management system (EMS).

PV system modeling

6A PV system is composed of a PV array, a boost converter, and a GOA-based MPPT algorithm, as shown in Fig. 1.The main objective of this PV system is to extract the maximum available energy from the PV array, irrespective of the ecological conditions.The output current (I pv ) Eq. (1) of a PV module is obtained by its single-diode model 6,18,24 .The main external factors that affect I pv are incident irradiance (G) and temperature (T).In addition, internal factors that can significantly reduce its output are series resistance (R s ) and shunt resistance (R sh ) .R s is resistance to current flow, which is due to the ohmic contact between the metal and the internal resistance of the semiconductor, and R sh shows a leakage current that depends on the quality of the module surface 32 .

7I sc : short circuit current of the modules with its temperature coefficient α sc , T r , G r : reference temperature and solar insolation respectively, I sr , n: reference saturation current and non-ideality factor of the diode, respectively, E G : band gap energy of the cell material, V pv : module voltage, k: Boltzmann's constant, q: charge on an electron, N p : the number of parallel solar cells, and N s : the number of cells in series.The power of a single PV module ( P mod ) is given in Eq. (2) 2 .

8The output power of the PV array (P pv ) given in Eq. ( 3) is obtained by connecting the PV modules (N pv ) in vari- ous combinations.

9(1)

Battery bank modeling

10BB is a high-energy density device that is used as a backup power source to run the load when PV energy is not available 5 .It reduces the negative effects of the intermittent behavior of PV power by storing surplus energy.A bidirectional converter ( BDC b ) is used to link a BB to a common DC link in the circuit model depicted in Fig. 1.A macroscopic modeling method is sufficient for BB sizing since the goal is not to examine the internal chemistry of the BB.Therefore, for this work, an equivalent electrical model of the battery based on the Rint structure is used.It consists of an internal resistance connected in series with a variable open-circuit voltage that depends on the state of charge ( SoC b ) and temperature 23 .SoC b states the remaining stored energy in the BB.Therefore, it is considered a crucial metric in the analysis of BB under various operational circumstances.It is updated using the Coulomb counting (CC) approach with the following formula in Eq. ( 4) 33,34 .

11where SoC 0 b is the initial SoC b , Q b is the capacity of the BB, and I b is the current taken or supplied through the BB.The sign of I b is positive when the BB is supplying power to the load and negative when the BB is being charged.In this work, the lithium-ion battery block model available in MATLAB/Simulink is used.The minimum power www.nature.com/scientificreports/needed (Req_BB_Pwr) by BB to raise SoC b (t) to an upper limit ( SoC u b ) in the time step t with N b , the number of batteries is given by Eq. ( 5) 35 .

12Similarly, the remaining power of the battery (Eq.6) is the maximum power that can be continuously delivered for the time step t before SoC b (t) approaches its lower limit SoC l b .

Ultracapacitor modeling

13Electric double-layer capacitors (EDLCs), UCs, or SCs are energy storage capacitors.Both batteries and UCs are electrochemical devices, but no electrochemical reaction occurs in the energy storage mechanism of UCs.UCs store energy electrostatically by polarizing an electrolytic solution.This dissimilar operating principle of UCs makes its features very different from the battery.UCs possess a considerably high power density, low energy density, high charge-discharge efficiency, and more than a million cycles of life 21 .They can operate efficiently from − 40 °C to + 70 °C.Energy storage in UCs has a direct relation with the square of their terminal voltage (V uc ) and can be calculated using Eq. (7).

14where E uc is the stored energy in Joules, C uc is the capacitance in Farads, V uci is the initial voltage, and V ucf is the final voltage across the UC terminals in volts, P uc is the power in watts and t is the discharge time in seconds.

15Energy can be obtained between the rated volts and zero volts, so 100% stored energy can be hypothetically extracted but 5% energy is dissipated in heat 20 .However, a designer keeps a protection boundary to avoid the reverse charge of unstable cells.

Problem formulation

16The main objective is to meet the pulsed load demand ( P dem ) within the specified limits and to get maximum PV energy under all weather conditions.To achieve the objective, a multilevel EMS is presented, focusing on two key aspects of interest.The first aspect is to support PL demands and ensure UC charging through BB.This is managed by creating two independent management layers: a long-term energy management layer (EML) and a short-term power management layer (PML).EML narrows the search space with the help of a set of IF-THEN rules.PML produces reference signals with the help of GOA to control BDC i using these rules and the search space defined by EML.The search space contains the operating limits of the components.The central equation to fulfill P dem (t) at any instant t is given in Eq. ( 9).

17Here, P i (t) is the power supplied by the i th component and C i (t) is the capacity assignment factor for better power management between components 36 .C i (t) is restricted by the limits of the upper bound UB i and the lower bound

18where LBi ≥ −1 and UB i ≤ 1 .The UB i defines the discharging ability and the LB i describes the charging ability of the component.Typical values of the bounds are LB i ∈ [−1, 0] for charging and UB i ∈ [0, 1] for discharging.If an ESD is being charged, the power sign is shown as negative, and if energy is supplied, the sign is positive.Moreover, it is assumed that the PV system always supplies the generated energy so, C pv (t) ∈ [0, 1] without the negative component.The life of the BB depends on its dis(charge) rate ( C − rate ), number of cycles, and depth of discharge ( DoD b ), DoD b = 1 − SoC b .Moreover, the discharge of pulse power from the battery-alone system significantly reduces its life 21 .Therefore, BB life can be improved by controlling its C − rate , SoC b , and discharging it without pulse current.For this, a set of constraints in Eq. (10) on P b (t) is applied defining the minimum and maximum power supplied or taken through the BB.Secondly, SoC b is restricted within the specified upper SoC u b and lower SoC l b values given in Table 3.Furthermore, the pulse load that is greater than the BB discharging limit ( P dem > P dlim b ) is directed to the UC.

19Here, P clim i is the maximum charging limit of the components and P dlim i is the maximum power that can be supplied to the load by the components.The PV system does not consume energy, so P clim pv = 0 .Moreover, it always supplies the maximum energy available, so P dlim pv = 1 .As mentioned above, UC energy storage can be controlled by its terminal voltage ( V uc ), and battery life can be improved by managing SoC b .Therefore, using V uc , SOC b , www.nature.com/scientificreports/P dem , and P pv with their limits in Eq. ( 10), the EML is defined by a set of IF-THEN rules.Table 1 represents the determined rules and Fig. 2 represents the flow chart of the defined rules.

20The solution search space defined by EML is restricted to C i (t) ∈ [LB i , UB i ] , so PML decisions must be imple- mented within the search space, taking into account the load and available energy.PML defines online power allocations to components by controlling BDC i with the help of GOA using the search space.This is necessary to supply power to the PL without interruptions and deteriorating the component's performance.Therefore, the objective function is to minimize the difference between P dem and P i in the time interval j as in Eq. (11).

21GOA is used to minimize the objective function.It produces the duty ratio signals d b and d uc to control BDC b and BDC uc , respectively.If d b is positive, then S b 1 ( 1 st MOSFET in BDC b ) is ON and the BB supplies energy to the load.If d b is negative ( db ), then S b 2 ( 2 nd MOSFET in BDC b ) is ON and the BB receives the charging current from the system.Similar is the case for d uc .The objective function can be rewritten as Eq. ( 12)

22The power P b (j) and P uc (j) can be calculated using Eqs.( 13) and (14) in which V oc b , V oc uc are the open circuit voltages and δ b , δ uc are the SoC gains of BB and UC, respectively, given in Table 3.

23The second aspect is to track the MPP of the PV system under uniform and partially shaded conditions.GOA is used to generate a controlled duty ratio d of the boost converter using voltage and current as inputs.The power generated (P pv ) for a specific duty cycle d i using k th iteration and i th swarm number is defined as Eq. (15).where P pv is the power received for a specific d i at iteration number k for the i th GH in GOA.Here, d i is the posi- tion of i th GH that is to be optimized.The algorithm aims to find the optimal d that maximizes the power received by the system.At each iteration, the power received for a specific d (l) i is evaluated.This power value represents the fitness or objective value of the GH.The algorithm compares this power value in the current iteration k with the power value in the previous iteration k − 1 .The inequality in Eq. ( 15) serves as a criterion to determine whether the GHs have improved their positions (d) in terms of maximizing the power received.If the power received in the current iteration is greater than the power received in the previous iteration, this implies that the GHs have made progress and have moved toward an optimal d.Repetition of this process over several iterations is key to moving GHs towards the optimal d and thus reaching the maximum output power target.

Set of rules

24The EML foundation of the proposed EMS is a rule-based strategy using simple IF-THEN operators.The IF statement chooses various operational scenarios, and the THEN statement executes the modes.The scenario is the situation under which the operational mode is activated.The operational mode is the mechanism that decides where the actual energy is coming from or where it is going to the different system's components.

25IF-THEN rules play a crucial role in defining the search space and guiding the optimization process.These rules are typically based on a set of conditions (IF part) and corresponding actions (THEN part).Specific examples and case scenarios are given below.

26• Example 1: IF -the SOC b is below 20%.THEN -start charging the battery using the available energy source.

27This rule ensures that the battery is always charged sufficiently to meet the power demands of the load.• Example 2: IF -the pulse load demand is high.THEN -increase the power discharge from the UCs.This rule ensures a steady power supply to meet peak pulse loads.These are just a few examples of how IF-THEN rules can be used to define the search space for an optimization algorithm.• Impact of the IF-THEN rules on the optimization process: Reduces the search space to improve the convergence speed of the optimization algorithm and eliminates infeasible solutions to improve the quality of the final solution.Bias the optimization algorithm towards specific regions of the search space to achieve specific objectives.For instance, in Example 1, the algorithm is biased towards solutions that maintain the SOC b above 20%.This can be useful for applications where a long battery life is essential.In Example 2, the algorithm is biased towards solutions that use the UCs to meet the peak demands of the pulse load.

PV2PL mode

28PV2PL mode is used for energy transfer from a PV system to PL.This procedure is carried out using a boost converter with MPPT abilities, as demonstrated in Fig. 1.PV energy is consumed as a priority to power the load and to reduce the stress on the ESDs.The energy supplied PV 2PL_E varies in the following situations.

29(11)

Case IF condition THEN Mode

30Idle Case:

31No Load Case:

32Over Load Case:

33Vol:.( 1234567890 www.nature.com/scientificreports/Situation 1: If P pv is sufficient to handle the P dem , then PV 2PL_E is equal to the energy required by the load equation ( 16).

34Situation 2: If the generated P pv is greater than P dem , then P pv is equal to the energy supplied P dem plus the surplus energy that is used to charge the UC (mode PV2UC mode) and / or BB (mode PV2BB mode).The PV 2PL_E in this situation is given below by Eq. ( 17). ( 16) www.nature.com/scientificreports/Situation 3: If generated P pv is not enough to power the P dem alone, then the entire generated P pv and deficit amount of energy supplied by the UCs (mode UC2PL mode) and/or BB (mode BB2PL mode) is used to compensate P dem .The PV energy obtained in this case is given in Eq. (18).

PV2UC mode

35Energy is transferred from PV to UCs abbreviated as PV2UC.When P pv is greater than P dem and the V uc is less than the upper voltage level V max uc , then this mode is activated.P pv utilization to charge the UCs is 2 nd priority after supplying P dem as explained in mode PV2PL.The energy supplied by PV to UC (PV 2UC_E) can be calcu- lated with the situations given below.

36Situation 1: When P pv > P dem , then the surplus energy transferred to UC charging is the power required by the UC (Req_UC_Pwr) in time t given by Eq. (19).The Req_UC_Pwr cannot exceed the P clim uc .

37Situation 2: In the no-load condition (P dem = 0) the available P pv is used to charge the ESDs.First, UC is given priority to be charged, and second, BB gets surplus energy through the mode PV2BB mode.The PV energy to charge UCs in this situation is given in Eq. ( 20).

38Situation 3: In the regenerative case (mode PL2ESD mode), if the charging energy required by the UCs is greater than the regenerated energy, then the remaining energy to charge the UC is taken through P pv .The PV 2UC_E in Eq. ( 21)is the difference between the required UCs energy (Req_UC_Pwr) to the regenerative energy (Reg_Pwr) in time t.

PV2BB mode

39In this mode, the BB gets charging energy from a PVS abbreviated as PV2BB.This mode is activated when the P pv is more than both the P dem and the energy required to charge the UC with the necessary condition SoC b < SoC max b .The priority of PV energy is to run the load, the second priority is to charge the UCs and the third priority is to provide energy to BB.The energy supplied by PV to BB (PV 2BB_E) can be calculated using different situations.

40Situation 1: When generated P pv is more than P dem and Req_UC_Pwr then the remaining energy is used to charge the BB in the system.The PV energy transferred to this situation is specified in Eq. (22).Situation 2: In the no-load condition (P dem = 0) the generated P pv is used to charge the UCs by means of mode PV2UC mode and the residual energy is used to charge the BB which is stated in Eq. (23).Situation 3: In regenerative situations (mode PL2ESD mode), in addition to regenerated energy, the available P pv is also utilized to charge the BB.PV energy in this situation is defined below in Eq. (24).

UC2PL mode

41This mode allocates energy from UCs to PL, abbreviated as UC2PL.The minimum condition to trigger the mode is V uc > V min uc , that is, the terminal voltage of the UCs should be higher than their lowest cutoff voltage.The energy supplied by the UCs to PL (UC2PL_E) varies under different conditions.

42Situation 1: When the difference between the P dem and P pv is greater than the upper BB discharge limit ( P dlim b ) then the remaining energy is supplied by the UC to the PL.The energy transferred to the PL by the UC is given in Eq. ( 25).

43Situation 2: When P pv = 0 and SoC b = SoC min b then the energy supplied by the UC to the PL is as Eq. ( 26).

BB2PL mode

44The BB is the main ESD to supply the power to the load abbreviated as BB2PL.This is valid when SoC b > SOC min b , i.e. the state of charge of the BB is higher than the cutoff SoC min b .The energy supplied by BB to PL (BB2PL_E) varies under different conditions.www.nature.com/scientificreports/Situation 1: When the P pv is not enough to run the load alone and ( P dem − P pv < P dlim b ), then the BB provides the energy deficiency to the loads computed as Eq. ( 27).Situation 2: When the condition ( P dem − P pv > P dlim b ) is satisfied then UCs help to provide the power to the PL and some of the energy is supplied by the BB to the PL as in Eq. ( 28).

BB2UC mode

45Most published research work has not considered UC charging through the BB in HESS.The UC charging is done by an external energy-providing source such as PV energy, wind energy, and gas turbines, etc.To handle pulses in the load current, it is necessary to ensure the availability of UC energy.Therefore, this mode (BB2UC) is employed here to charge UCs through BB within the system so that the UC energy is mostly available to drive the PL.The initiation of this mode begins when the UC voltage is less than its threshold level V uc < V th uc , i.e., V uc is dropped from the allowable threshold voltage level.The energy supplied by BB to UCs (BB2UC_E) varies under different conditions.Moreover, the required UC power (Req_UC_Pwr) cannot exceed P clim uc .Situation 1: In the idle case where there is no P dem and no P pv the UCs get the following charging energy through the BB if SoC b > SOC th b .

46Situation 2: If the generated P pv is enough to power the P dem alone, then the UCs get the following charging energy (Eq.30) through the BB.

47Situation 3: When the difference between the P dem and P pv is less than P dlim b , V uc < V th uc and SoC b > SoC th b then the UCs are charged by the following energy Eq. ( 31).

PL2ESD mode

48The proposed system can also work for EVs.During the deceleration of the EVs ( P dem < 0 ), the energy is supplied back to ESD.Therefore, to store this regenerated energy (Reg_Enr) in the ESD, this PL2ESD mode is included.At first priority, the UCs take the Reg_Enr when V uc < V max uc .The energy supplied by PL to ESDs varies under different conditions.

49Situation 1: In the regenerative case where P dem > P clim uc , the energy is transferred to UCs by Eq. (32).

50Situation 2: In the regenerative case where P dem < P clim uc , the energy is transferred to UCs by Eq. (33).

51Situation 3: In the regenerative case where V uc = V max uc or Reg_Pwr > P clim uc then BB is charged by Reg_Enr given in Eq. (34).

OFF mode

52There is a complete shutdown of the system when Situation 1: In the idle case ( P dem = P pv = 0 ) where V uc > V th uc then the system goes to the OFF position.Situation 2: In the case without load ( P dem = 0 and P pv > 0 ) when V uc = V max uc and SoC b = SoC max b then the system goes to the OFF position.

53Situation 3: The system goes to the OFF position when P pv = 0 , V uc = V min uc , and SoC b = SoC min b .

Grasshopper optimization algorithm

54GOA is a recently developed population-based swarm intelligence method that simulates the social interaction and food search behavior of grasshoppers (GHs) 37 .They go through two stages in life; nymph and adult.The nymphs move slowly since they lack wings and consume all the plants in their path.Adult GHs have wings that form a swarm in the air that can quickly move to a wide area.Swarm activity in both nymphs and adults is what makes it special.Slow movement in small steps in the nymph stage is known as exploitation.The movement of large distances in the adult stage in a larger search space is known as exploration.The region where exploitation and exploration are equal is called the comfort zone.The position χ i of i th GH is given by Eq. (35) www.nature.com/scientificreports/g is the gravitational constant with its unit vector êg , u is the drift constant caused by the wind with its unit vector êw , d ij is the distance between the i th and j th GH, N is the total GHs.ψ represents the attraction and repulsion forces between the GHs given below Eq. ( 36) 40 .

55The terms α and β stand for the length scale of attraction and the intensity of the attraction, respectively, at distance γ .The previous Eq. ( 35 is written as Eq. ( 37) to stop the GHs from immediately entering their comfort zone 41 .

56ν u , ν l are the upper and lower limits of GH, Td is the target value in dimension d th .The parameter ζ is a decreas- ing coefficient, responsible for controlling the comfort zone and keeping a balance between exploration and exploitation.

57ζ u , ζ l are the maximum and minimum values, k is the current iteration, and K is the maximum number of itera- tions.Figure 3 shows the flow chart of the dynamic power shared by the GOA.At first, the GOA takes inputs from the operational modes defined by rule-based control as shown in Fig. 2, that is, C pv , C b , C uc .It takes the other inputs such as P dem , P pv , SoC b , V uc and initializes all the variables.The GOA randomly generates the initial position of each GH which is a potential solution to the optimization problem.It evaluates the objective function in Eq. ( 12) and calculates the initial output values related to all GH and assigns the best fit values to d b and d uc as target positions.The algorithm completes the iterative cycle using the equations shown in the Fig.

Rule-based GOA

58A rule-based control (RBC) system utilizes a set of rules expressed in a logical format, such as the IF-THEN statements, to make decisions about how to control a given system.The RBC then uses these rules to determine the appropriate control actions based on the current state of the system.RBC is commonly used in complex systems where developing a mathematical model is difficult or impossible.Moreover, it is well-suited for applications where the control rules need to be transparent and easy to understand.Combining RBC and GOA for the solar-powered BB-UC hybrid energy system driving pulsed load has several benefits.

59• Exploration and exploitation: The combination of RBC and GOA allows a balance between exploration and exploitation.The RBC defines guidelines for exploitation, while GOA explores the parameter space to improve the control strategy.• Versatility and adaptation: RBC and GOA can adapt to different solar and load conditions through appropri- ate rules and an effective response system, respectively.• Global optimization: The GOA enables the HESS to find the best operational points by considering variations in solar irradiance and pulsed loads, maximizing the utilization of PV energy.• Deterministic and robust behavior: The use of RBC ensures that control actions are determined and unaf- fected by changes in system dynamics and external disturbances.Meanwhile, GOA provides an extra layer of robustness by optimizing the rules' parameters and dealing with uncertainties.When combined, these techniques ensure reliable and consistent management of pulsed loads using a solar-powered HESS.• Flexibility: RBC are flexible and easily adaptable to new situations and requirements.GOA can further improve flexibility by adapting to different operating conditions.

60Overall, combining the advantages of RBC and GOA is a comprehensive approach to controlling and optimizing solar-powered BB-UC HESS with pulsed loads.It can help to address the challenges posed by pulsed loads while maximizing the utilization of PV energy and ensuring reliable performance.

61The RB-GOA has several advantages over other SITs due to its inherent features, which include:

62• Robustness to noise: RB-GOA utilizes GOA, which maintains robustness even when some solutions are influenced by noise.• Ability to learn complex relationships: RB-GOA effectively captures complex and non-linear relationships between input and output variables.• Scalability to high dimensions: RB-GOA uses a divide and conquer approach to handle high-dimensional data sets.It breaks down the problem into subproblems of lower dimensions, thereby maintaining performance even in high-dimensional spaces.

63(

Parameters selection of SITs

64The effective optimization of any technique often depends on the careful selection of its parameters.These parameter values and equations are sourced from established literature for each algorithm to ensure the robustness and reliability of the optimization approach.Table 2 provides the details about the parameter values of SITs with their equation and the source.For the CSA, these are obtained from 42 .They are essential for guiding the algorithm in its search for optimal solutions.Similarly, the SSA relies on parameters and equations borrowed from 43 , ensuring operation with well-defined settings.Furthermore, randomness is added through the variable c 2 , which helps to explore the solution space more effectively.GWO takes its parameters and equations form 44 which shows that the GOW linearly decreases α from 2 to 0.5 over time.Such adjustments help to improve the performance of the algorithm during the optimization process.In summary, this research is based on a thorough understanding of algorithms and their associated parameters, ensuring that the optimization approach is wellinformed and capable of producing accurate and reliable results.Moreover, in the experimental setup, the MATLAB version R2021a was used for data analysis and simulations.The computations were performed on a laptop featuring an Intel Core i5-6300U CPU, clocked at 2.40GHz with four processing cores, operating at approximately 2.5GHz.The laptop was equipped with 8192MB of RAM, providing the necessary computational resources to run the MATLAB simulations and ensure efficient data analysis.

Results and discussions

65A simple model in Fig. 1 is taken to assess the viability of the proposed algorithm.It consists of a PV array with MPPT capability using a boost converter, a BB with its BDC b and UC bank with its BDC uc .The PV array gener- ates I pv and V pv upon receiving the irradiance from the visible light spectrum.The boost converter increases www.nature.com/scientificreports/V pv to V dclink .The ripple current required by MOSFET's ON/OFF is provided by C pv inserted between the PV array and the converter.GOA is used to track the MPP of the system by monitoring I pv and V pv .Six Sun-Power modules (SPR-315E-WHT-D) are utilized to provide a maximum P pv of 1.89 kW in the system.A shaded and an unshaded PV array condition is taken to evaluate PV performance.The EML is controlled by a simple RB technique in which the inputs specified in Table 3 are P pv , P dem , SoC b , SoC min b , SoC th b , V uc , V min uc and V th uc .Here, SoC min b is the minimum allowable SoC b after which the system cannot take the power from BB and SoC th b is the threshold SoC b after which it cannot charge the UC but can drive the load.Similarly, V min uc is the minimum terminal voltage of the UC after which it cannot supply power to the load and V th uc is the voltage level after which it can take power from the BB.The RB method performs the actions given in "Set of rules" section and Table 1.It generates the output C pv , C b , and C uc that are fed to PML that uses GOA to optimize the objective function in Eq. (12).The system is assessed for PV alone without ESD, PV with MPP tracking, constant load variable PV, and varying load variable PV cases.

PV alone without ESD

66The evaluation of the system is conducted without establishing any connection between an ESD and PV array.Figure 4a depicts that the PV system supplies a relatively consistent portion of the load within the prescribed limits.However, when a PL is directly applied at 1 s and 6 s, the system fails to sustain the load.It is due to the fact that the response of the array is slow, and the load pulse is greater than its capacity.Capacity can be increased by adding more PV modules, but it adds cost and weight to the system.Furthermore, if the system is designed solely on the basis of the PL requirements, any surplus energy generated during periods of reduced Table 2. Parameters and equations of the algorithms 32 .

Algorithm Equations Values

67CSA 42

68Equation ( 38) α = 0.5 and β = 1.5 PV and BB run the load as P pv = 1kW < Pdem.

69Modes: PV2PL, BB2PL

702-3 PV runs the load alone as P pv = 1.8kW > P dem and excess energy is stored in UC.

71Modes: PV2PL, PV2UC www.nature.com/scientificreports/load will end up being wasted.In contrast, even if the capacity is expanded without cost and weight constraints, the ecological conditions persist.The system without ESD exhibits instability when subjected to low irradiance and shading conditions while the load is active.Therefore, it is strongly recommended to incorporate an ESD in the PV System to store excess energy during low-load scenarios and to serve as an energy source during low irradiance and PL demands.

Variable PV with constant load

72The proposed system is tested for a constant P dem of 1.5 kW with variable P pv as shown in Fig. 5a.In the initial 1 s, P pv = 0 and P dem > P dlim b (the power demand exceeds the maximum power discharge limit of the BB); therefore, both the BB and the UC supply power to meet the load demand.The RB sets the values of C pv ∈ [0,0], C b and C uc ∈ [0,1] by enabling the BB2PL and UC2PL modes.The GOA takes this input from RB and optimizes the objective function by distributing power between BB and UC.It can be seen that the BB only provides power within its limits ( P dlim b = 1.0 kW ) while the remaining power is supplied by the UC ( P uc ).In the time interval 1 to 2 s, P pv is 1 kW but it is still insufficient to meet the P dem .As the primary priority of PV system is to power the load, the PV2PL mode is activated.Furthermore, the BB2PL mode is also activated because the other condition P dem − P pv < P dlim b is satisfied.The RB assigns values of C pv and C b ∈ [0,1] and C uc ∈ [0,0].GOA distributes P dem between PV and BB.Consequently, all P pv is used to run the load and the remaining required power is delivered by BB ( P b ).It is evident that P pv = 1 kW , P b is reduced to 0.5 kW and the P uc becomes zero.Furthermore, between 2 and 3 s, when P pv reaches 1.8 kW, the condition P dem < P pv is satisfied.This activates PV2PL as the first priority and initiates the PV2UC mode to store excess energy as P dem − P pv < P clim uc .The range of capacity factors is C pv ∈ [0,1], C b ∈ [0,0], and C uc ∈ [-1,0].The GOA assigns P pv to meet P dem , P uc to charge the UC, and P b to zero.At the last interval, the load is solely powered by P pv in the PV2PL mode as P dem = P pv .In this situation, BB provides charging to the UC using the BB2UC mode.Table 4 presents the summary of system operation for this case.

73Figure 5b depicts the power delivered by various SITs for the variable PV constant load case, where RB-GOA is compared with CSA, GWO and SSA.The results demonstrate the effectiveness of the proposed system in maximizing PV energy utilization and improving UC response during charging/discharging to alleviate stress on BB.For example, as P pv increases from 0 to 1 kW at 1 s, the BB reduces its discharging current and the UC shuts down its operation to fully use the available PV energy.The results demonstrate that the system experiences a substantial power surge during this mode transition at 1 s.In the case of CSA, the power surge of 0.45 kW lasting for 6.9 ms.For GWO, the surge is 0.39 kW lasting for 7.2 ms, while for SSA the surge is 0.18 kW lasting for 11.2 ms.In contrast, the RB-GOA exhibits fewer oscillations compared to other SITs with only a 0.05 kW power surge for 3.5 ms.The analysis shows that the proposed RB-GOA outperforms the other SITs by reducing power surge by 26% compared to CSA, 22% compared to GWO, and 8% compared to SSA.Furthermore, the oscillations in RB-GOA diminish twice as fast as in CSA and GWO, and more than three times as fast as in SSA.These results highlight the superiority of the RB-GOA over other SITs in minimizing power fluctuations during the mode transition and maintaining stable output across the load.Table 5 presents the comparison of the proposed RB-GOA with the other SITs for this case.

Variable PV with pulse load

74The proposed system is tested for a variable P dem of 0 to 3.5 kW with a variable P pv from 0 to maximum 1.89 kW as shown in Fig. 6a.

75It can be seen that the system operates in an idle case ( P pv = P dem = 0 ) during the initial 1 s.The RB estab- lishes the values of the capacity factors C pv ∈ [0,0], C b ∈ [0,1], and C uc ∈ [-1,0].Furthermore, it activates the BB2UC mode, leading to the charging of the UC by the BB, which is managed by RB-GOA.In the time interval between 1 and 2 s, the P pv increases from 0 to a maximum of 1.89 kW and P dem = 0 .This activates the no-load case, in which the UC charging is given the highest priority activating the PV2UC mode.Moreover, P pv is more than the upper limit of the UC's charging threshold ( P clim uc ) so, the PV2BB mode is also enabled to take maximum advantage of available P pv .RB adjusts the values of C pv ∈ [0,1], C b and C uc ∈ [-1,0].RB-GOA distributes the available P pv between the UC and BB, enabling the simultaneous charging of both ESDs using the entire output power of the PV source.Furthermore, when P dem increases to 1.5 kW at 2 s, the condition P dem < P pv is satis- fied which activates PV2PL in the first priority.Additionally, to store excess energy PV2UC mode is initiated as the available PV power is more than load demand and the condition P pv − P dem < P clim uc is satisfied.The range of capacity factors is set to C pv ∈ [0,1], C b ∈ [0,0], and C uc ∈ [-1,0].The RB-GOA is responsible for dividing P pv between P dem to satisfy the priority load demand and P uc to charge the UC.There is no remaining power, so P b is zero.In the subsequent time intervals 3 to 4 s, P pv decreases to a point that condition P dem > P pv becomes valid.This is the overload case in which P pv alone is insufficient to power the load.Therefore, RB-GOA takes all the available P pv and the remaining required power ( P dem − P pv ) from BB to meet the load demand.UC does not participate in the situation where the difference between P dem and P pv ) is less than the battery discharge limit ( P dem − P pv < P dlim b ).In this case, the two modes PV2PL and BB2PL are activated.An instant surge of P dem reaching 3.5 kW is observed at 4 s which is greater than the available ( P pv ) and the discharge limit of BB ( P dlim b ).Pulse power demand with P pv = 0 .UC handles the power surge Modes: UC2PL, BB2PL 8-9 P dem is run by UC and BB as P pv = 0 .RB-GOA distributes power share between ESD within their limits Modes: UC2PL, BB2PL www.nature.com/scientificreports/Thus, UC handles this surge in P dem .In this situation, the three sources (PV, BB, and UC) are contributing to running the load, activating the PV2PL, BB2PL, and UC2PL modes with C pv , C b , and C uc ∈ [0,1].The RB-GOA distributes P dem among PV, BB, and UC based on their predefined limits.Moving on to the next interval (5 to 6 s), the equality case is considered in which P dem = P pv .In this case the load is solely run by P pv in PV2PL mode.At the same time, the BB charges the UC in the BB2UC mode.A regenerative case occurs in the time interval from 6 to 7 s in which P dem < 0 .During this interval, all P dem and P pv are used to charge the UC on priority.Since the regenerative energy and available PV energy ( |P dem | + P pv ) exceeds the UC charging limit P clim uc , the BB also receives charging.In this case, the operating modes are PL2ESD and PV2UC, where C pv ∈ [0,1], C b and C uc ∈ [-1,0].For the following time intervals (7 to 9 s), P pv = 0 and P dem hold different values.The RB-GOA distributes the power share between UC and BB within their limits, as PV power is not available.In the final time interval, both P dem and P pv become 0. Therefore, the BB provides charging to the UC with the BB2UC mode.Table 6 presents the summary of system operation for this case.

76Figure 6b illustrates the power delivered by the different SITs for variable PV with variable load case.These results highlight the effectiveness of the proposed system in maximizing PV energy utilization and improving the UC response during charging and discharge, thus reducing the stress on the BB.As an example, as P pv increases from 0 to 1.89 kW, the UC receives a higher charging current, and the BB switches from discharging to charging mode to fully utilize the PV energy.The performance of the RB-GOA is compared with other SITs such as CSA, GWO, and SSA during this mode-change operation.The results demonstrate that the CSA exhibits a high surge in output power of 1.75 kW, GWO experiences a surge of 1.65 kW, and the SSA encounters a surge of 1.2 kW for 12 ms.In contrast, the RB-GOA exhibits fewer power oscillations with power surges of only 0.2 kW lasting for 5.5 ms.The analysis shows that the proposed RB-GOA outperforms the other SITs by significantly reducing power surges, achieving a 9-fold reduction compared to CSA and GWO, and a 6-fold reduction compared to SSA.Furthermore, the oscillations in RB-GOA diminish twice as fast as those in CSA, GWO, and SSA.These results highlight the superiority of the RB-GOA over other SITs in minimizing power surges during the mode transition and maintaining stable output across the load.Table 7 presents the comparison of the proposed RB-GOA with the other SITs for this case.

77Figure 7 presents the graphical representation of the results obtained for variable PV with constant load and variable PV with pulse load cases.Figure 7a shows the comparison of power surges (kW) appeared in optimization processes during load transition for both cases using SITs.Furthermore, the surge die-out time (ms) for the same set of optimization techniques during load transitions is presented in Fig. 7b.The graph provides insight www.nature.com/scientificreports/

78• Improved MPPT speed: Achieving maximum energy from PV arrays requires a faster MPPT speed.EMS optimizes the process, ensuring energy generation closely follows solar irradiance changes, maximizing PV system efficiency.• Efficient integration of PV energy with ESDs: Efficient integration of PV energy with BB and UCs is a signifi- cant step toward ensuring a stable and sustainable energy supply.EMS regulates energy flow among these components, enhancing the overall efficiency of the system.• Adaptation to dynamic PV systems: The inclusion of both long-term energy management and short-term power management in EMS allows it to adapt dynamically to the ever-changing nature of PV systems and loads.This adaptability ensures a consistent energy supply, particularly in variable weather conditions.• Optimized real-time power sharing: The proposed approach optimizes real-time power sharing among PV, BB and UCs, promoting efficient energy utilization and minimizing waste.• Fresh perspective on SITs in BB-UC hybrid systems: This work provides a new perspective on the application of SIT in solar-powered BB-UC hybrid systems, offering advanced solutions to energy management challenges in such setups.

79The physical significance of this research lies in its practical applicability to real-world energy systems.It incorporates a control mechanism that introduces damping in the system during load transitions, similar to shock absorbers in a vehicle.This physical damping reduces the rate of change of power, effectively reducing the surges and oscillations in the system.Additionally, UCs act as an energy buffer, rapidly releasing and absorbing energy to maintain system stability during a load transition.This inertia in energy transfer physically reduces the rapid changes in power.The proposed technique reduces power surges by providing UCs for the surge current to flow, allowing it to dissipate quickly and safely into the system.It can be used in a variety of applications, including power grids, industrial motors, wind turbines, and PV systems.

Conclusion

80The proposed EMS based on RB-GOA to support pulse load exhibits outstanding performance compared to CSA, GWO, and SSA in terms of reducing power surges during load transition, mitigating oscillations, and achieving faster MPPT speed.It reduces power surges by 26% compared to CSA, 22% compared to GWO, and 8% compared to SSA during load transitions in the variable PV constant load case.It also mitigates oscillations twice as fast as CSA and GWO, and more than three times as fast as SSA.In the variable PV variable load case, it shows a significant reduction in power surges by 9 times compared to CSA and GWO, and by 6 times compared to SSA.Additionally, it achieves approximately 61% faster MPPT speed than CSA, 35% faster than GWO, and 29% faster than SSA, regardless of weather conditions.The work efficiently addresses challenges of high response times, output fluctuations, and integration of PV with ESDs.It efficiently regulates energy flow among PV systems, BB, and UCs using an EMS.The EMS includes both long-term energy management and short-term power management to adapt to the dynamic nature of PV systems.Furthermore, RB-GOA optimizes real-time power sharing among energy components and provides a fresh perspective on SITs in BB-UC hybrid systems.Moreover, an optimized MPPT scheme maximizes the energy harvesting from the PV array and mitigates the effect of varying solar irradiance.This multifaceted contribution offers valuable information on improving the performance and reliability of solar-powered BB-UC HESS under dynamic real-world conditions.

2 )

81P mod = max I pv × V pv https://doi.org/10.1038/s41598-024-53248-0

Figure 1 .

82Figure 1.Proposed EMS circuitry.

Figure 2 .

83Figure 2. Operation control of proposed EMS.

( 18 )

84PV 2PL_E = P pv × t (19) PV 2UC_E = Req_UC_Pwr × t (20) PV 2UC_E = Req_UC_Pwr × t (21) PV 2UC_E = Req_UC_Pwr − Reg_Pwr × t (22) PV 2BB_E = P pv − P dem − Req_UC_Pwr × t (23) PV 2BB_E = P pv − Req_UC_Pwr × t (24) PV 2BB_E = P pv − Req_UC_Pwr × t (25) UC2PL_E = P dem − P pv + P dlim b × t (26) UC2PL_E = P dem × t Vol:.(1234567890)Scientific Reports | (2024) 14:3962 | https://doi.org/10.1038/s41598-024-53248-0

853. The optimized target positions values ( d b and d uc ) are used to drive their respective converters as shown in Fig. 1.

Figure 3 .

86Figure 3. Flow chart of GOA.

Figure 4 .

87Figure 4. (a) PV without ESD driving PL, (b) PV under shaded and unshaded conditions.

Figure 5 .

88Figure 5. (a) P dem distribution among P pv , P b , P uc under variable PV with constant load case, (b) comparison of power delivered by SITs.

89and UC supply power to load as P pv = 0 and P dem > P dlim b .Modes: BB2PL, UC2PL 1-2

Figure 6 .

90Figure 6.(a) P dem distribution among P pv , P b , P uc under variable PV with variable load conditions, (b) comparison of power delivered by SITs.

Figure 7 .

91Figure 7. (a) Power surge during load transition, (b) surge die-out time.

9238,39 .

93Vol.:(0123456789) Scientific Reports | (2024) 14:3962 | https://doi.org/10.1038/s41598-024-53248-0

Table 3 .

94Energy resources characteristics.

Table 4 .

95Summary of system operation for variable P pv with constant P dem case.

Table 5 .

96Comparison of SITs for variable P pv with constant P dem case.

Table 6 .

97Summary of system operation for variable P pv with variable P dem case.

98Overload case as P pv is insufficient.BB provides the balance power as P dem − P pv > P dlim

Table 7 .

99Comparison of SITs for variable P pv with variable P dem case.

참고문헌 43건

  1. A multi-level energy management system for multi-source electric vehicles – An integrated rule-based meta-heuristic approach Applied Energy · Elsevier BV · 2013 10.1016/j.apenergy.2012.12.081
  2. Model predictive control for power management in a plug-in hybrid electric vehicle with a hybrid energy storage system Applied Energy · Elsevier BV · 2015 10.1016/j.apenergy.2015.12.035
  3. A Rule Based Energy Management System of Experimental Battery/Supercapacitor Hybrid Energy Storage System for Electric Vehicles Journal of Control Science and Engineering · Hindawi Publishing Corporation · 2016 10.1155/2016/6828269
  4. Grasshopper Optimisation Algorithm: Theory and application Advances in Engineering Software · Elsevier BV · 2017 10.1016/j.advengsoft.2017.01.004
  5. Application and Development of Enhanced Chaotic Grasshopper Optimization Algorithms Modelling and Simulation in Engineering · Hindawi Publishing Corporation · 2018 10.1155/2018/4945157
  6. Recent meta-heuristic grasshopper optimization algorithm for optimal reconfiguration of partially shaded PV array Solar Energy · Elsevier BV · 2018 10.1016/j.solener.2018.07.014
  7. Voltage stability analysis of DC ship power system with pulse load The Journal of Engineering · Institution of Engineering and Technology · 2018 10.1049/joe.2018.9041
  8. Optimized sizing of photovoltaic grid‐connected electric vehicle charging system using particle swarm optimization International Journal of Energy Research · Wiley · 2018 10.1002/er.4287
  9. Decentralized Control Algorithm for the Hybrid Energy Storage of Shipboard Power System IEEE Journal of Emerging and Selected Topics in Power Electronics · Institute of Electrical and Electronics Engineers · 2019 10.1109/jestpe.2019.2899287
  10. Predictive Control for Energy Management in Ship Power Systems Under High-Power Ramp Rate Loads IEEE Transactions on Energy Conversion · Institute of Electrical and Electronics Engineers · 2017 10.1109/tec.2017.2692058
  11. Model Predictive Control for Dual Active Bridge in Naval DC Microgrids Supplying Pulsed Power Loads Featuring Fast Transition and Online Transformer Current Minimization IEEE Transactions on Industrial Electronics · Institute of Electrical and Electronics Engineers · 2019 10.1109/tie.2019.2934070
  12. Design and Performance Analysis of a Stand-alone PV System with Hybrid Energy Storage for Rural India Electronics · Multidisciplinary Digital Publishing Institute · 2019 10.3390/electronics8090952
  13. Predictive neural network based adaptive controller for grid-connected PV systems supplying pulse-load Solar Energy · Elsevier BV · 2019 10.1016/j.solener.2019.09.018
  14. Applications of battery/supercapacitor hybrid energy storage systems for electric vehicles using perturbation observer based robust control Journal of Power Sources · Elsevier BV · 2019 10.1016/j.jpowsour.2019.227444
  15. Coordination of Hybrid Energy Storage for Ship Power Systems With Pulsed Loads IEEE Transactions on Industry Applications · Institute of Electrical and Electronics Engineers · 2020 10.1109/tia.2019.2958293
  16. Neuro-Fuzzy-Based Model Predictive Energy Management for Grid Connected Microgrids Electronics · Multidisciplinary Digital Publishing Institute · 2020 10.3390/electronics9060900
  17. An Improved Gray Wolf Optimizer MPPT Algorithm for PV System With BFBIC Converter Under Partial Shading IEEE Access · Institute of Electrical and Electronics Engineers · 2020 10.1109/access.2020.2999311
  18. Self-Healing Predictive Control of Battery System in Naval Power System With Pulsed Power Loads IEEE Transactions on Energy Conversion · Institute of Electrical and Electronics Engineers · 2020 10.1109/tec.2020.3014294
  19. An Improved Cuckoo Search Algorithm for Maximum Power Point Tracking of Photovoltaic Systems under Partial Shading Conditions Energies · Multidisciplinary Digital Publishing Institute · 2021 10.3390/en14040953
  20. HESS-based photovoltaic/batteries/supercapacitors: Energy management strategy and DC bus voltage stabilization Solar Energy · Elsevier BV · 2021 10.1016/j.solener.2021.01.048
  21. Active Energy Management Based on Meta-Heuristic Algorithms of Fuel Cell/Battery/Supercapacitor Energy Storage System for Aircraft Aerospace · Multidisciplinary Digital Publishing Institute · 2021 10.3390/aerospace8030085
  22. Grasshopper Optimization Algorithm: Theory, Variants, and Applications IEEE Access · Institute of Electrical and Electronics Engineers · 2021 10.1109/access.2021.3067597
  23. Optimal Adaptive Gain LQR-Based Energy Management Strategy for Battery–Supercapacitor Hybrid Power System Energies · Multidisciplinary Digital Publishing Institute · 2021 10.3390/en14061660
  24. POWER management and control of A PHOTOVOLTAIC system with hybrid battery-supercapacitor energy storage BASED ON HEURISTICS METHODS Journal of Energy Storage · Elsevier BV · 2021 10.1016/j.est.2021.102578
  25. Sliding Mode Control Enabled Hybrid Energy Storage System for Islanded DC Microgrids with Pulsing Loads Sustainable Cities and Society · Elsevier BV · 2021 10.1016/j.scs.2021.103117
  26. Decentralized Coordination and Stabilization of Hybrid Energy Storage Systems in DC Microgrids IEEE Transactions on Smart Grid · Institute of Electrical and Electronics Engineers · 2022 10.1109/tsg.2022.3143111
  27. Neural network-based adaptive global sliding mode MPPT controller design for stand-alone photovoltaic systems PLoS ONE · Public Library of Science · 2022 10.1371/journal.pone.0260480
  28. Improved salp swarm algorithm based on particle swarm optimization for maximum power point tracking of optimal photovoltaic systems International Journal of Energy Research · Wiley · 2022 10.1002/er.7753
  29. Full Current-Type Control-Based Hybrid Energy Storage System Energies · Multidisciplinary Digital Publishing Institute · 2022 10.3390/en15082910
  30. A Review of Recent Advances on Hybrid Energy Storage System for Solar Photovoltaics Power Generation IEEE Access · Institute of Electrical and Electronics Engineers · 2022 10.1109/access.2022.3165798
  31. A critical review and performance comparisons of swarm-based optimization algorithms in maximum power point tracking of photovoltaic systems under partial shading conditions Energy Reports · Elsevier BV · 2022 10.1016/j.egyr.2022.03.175
  32. Battery-Ultracapacitor Hybrid Energy Storage System to Increase Battery Life Under Pulse Loads IEEE Access · Institute of Electrical and Electronics Engineers · 2022 10.1109/access.2022.3182468
  33. Dual HESS electric vehicle powertrain design and fuzzy control based on multi-objective optimization to increase driving range and battery life cycle Applied Energy · Elsevier BV · 2022 10.1016/j.apenergy.2022.119723
  34. Optimal sizing of hybrid high-energy/high-power battery energy storage systems to improve battery cycle life and charging power in electric vehicle applications Journal of Energy Storage · Elsevier BV · 2022 10.1016/j.est.2022.105768
  35. DC Bus Voltage Stabilization and SOC Management Using Optimal Tuning of Controllers for Supercapacitor Based PV Hybrid Energy Storage System Batteries · Multidisciplinary Digital Publishing Institute · 2022 10.3390/batteries8100186
  36. A Novel Resilient Control of Grid-Integrated Solar PV-Hybrid Energy Storage Microgrid for Power Smoothing and Pulse Power Load Accommodation IEEE Transactions on Power Electronics · Institute of Electrical and Electronics Engineers · 2022 10.1109/tpel.2022.3217144
  37. Centralized Energy Management Scheme for Grid Connected DC Microgrid IEEE Systems Journal · Institute of Electrical and Electronics Engineers · 2023 10.1109/jsyst.2022.3231898
  38. Adaptive-Energy-Sharing-Based Energy Management Strategy of Hybrid Sources in Electric Vehicles Energies · Multidisciplinary Digital Publishing Institute · 2023 10.3390/en16031214
  39. Advanced Energy Management Strategy of Photovoltaic/PEMFC/Lithium-Ion Batteries/Supercapacitors Hybrid Renewable Power System Using White Shark Optimizer Sensors · Multidisciplinary Digital Publishing Institute · 2023 10.3390/s23031534
  40. Development of fuzzy logic-based demand-side energy management system for hybrid energy sources Energy Conversion and Management X · Elsevier BV · 2023 10.1016/j.ecmx.2023.100354
  41. Hardware Design for Implementation of Energy Management in a Solar-Interfaced DC Microgrid IEEE Transactions on Consumer Electronics · Institute of Electrical and Electronics Engineers · 2023 10.1109/tce.2023.3243637
  42. Energy management and power quality improvement of microgrid system through modified water wave optimization Energy Reports · Elsevier BV · 2023 10.1016/j.egyr.2023.05.068
  43. An improved grasshopper-based MPPT approach to reduce tracking time and startup oscillations in photovoltaic system under partial shading conditions PLoS ONE · Public Library of Science · 2023 10.1371/journal.pone.0290669