Impact of Artiﬁcial Intelligence in Renewable Energy Management of Hybrid Systems

: The ﬁeld of energy is of great interest for development, especially in the transportation industry. This paper investigates a hybrid electric vehicle (HEV) with two-wheel drives powered by a fuel cell, battery, DC generators, and supercapacitors. Each energy source is connected to a speciﬁc controllable converter. The authors compared the energy management strategies of the Adaptive Neuro-Fuzzy Inference System (ANFIS) with classical energy management strategies. The proposed ANFIS method reduced hydrogen consumption by 8% compared to the classical approach, and improved efﬁciency to over 98%. The primary objective of this work is to demonstrate the impact of artiﬁcial intelligence in renewable energy management strategies (EMSs), with the aim of improving system performance as much as possible by comparing it with classical methods such as state machine (SM) and PI strategies.


Introduction
With the advancement of technology, hybrid electric vehicles (HEVs) have undergone significant development and have become an essential mode of transportation.The domain of HEVs is under immense pressure to produce energy-efficient and non-polluting renewable-energy-based hybrid power systems.
HEVs are recognized as a practical solution for reducing emissions and conserving energy in transportation, especially given the current technical conditions.They can address the issues associated with conventional fuel cars [1,2].
The inclusion of various green resources in automobiles has garnered interest from both businesses and academia to improve electric vehicle (EV) autonomy and conserve renewable resources by ensuring their efficient use while considering resource energy as a function [3,4].
Hybrid electric vehicles (HEVs) powered by fuel cell (FC) sources have become a practical transportation method today, as they are considered one of the green sources due to their low air/fuel consumption without pollution [2,5].
Several technologies enhance the vehicle's energy, such as vehicle-to-grid technology (V 2 G) [6] and hybrid vehicles that incorporate photovoltaics (PV) [7]; however, despite the modernity of the technologies, there is a lack of an energy management system.
In addition to the fuel cell as a direct energy source, a battery energy storage system (BESS) can maintain energy balance in the HEV system and ensure DC bus voltage stability at a predetermined level [8].A supercapacitor (SC) is often used as an auxiliary energy storage system in hybrid systems to regulate transient power variations and supplement the BESS to maintain energy balance in the system [1,3,9].
Researchers have improved EMSs by using artificial intelligence techniques such as ANFIS and neural networks (NNs) [1,10,11].This research aims to minimize hydrogen consumption in fuel cell hybrid electric vehicles through the implementation of intelligent techniques, specifically ANFIS artificial intelligence, in energy management [1,10,12].The problem statement of this research is centered around reducing hydrogen consumption using intelligent techniques.The main focus of this research is to employ ANFIS artificial intelligence in the energy management of fuel cell hybrid electric vehicles.

HEV System Explication
The research focuses on an HEV system that employs an induction motor drive.The energy storage systems are composed of a battery and a supercapacitor.The inverter is responsible for controlling the speed algorithm that powers each motor.The HEV comprises an FC, a battery, an SC, and DC generators that are connected to a special converter.The FC is the primary source, and the DC generators connected to the front wheels directly supply power to the DC bus.The energy management strategies, including ANFIS and other classical techniques, are responsible for managing the energy between the sources.Figure 1 illustrates the HEV system under study.
Phys.Sci.Forum 2023, 6, 5 2 of 9 In addition to the fuel cell as a direct energy source, a battery energy storage system (BESS) can maintain energy balance in the HEV system and ensure DC bus voltage stability at a predetermined level [8].A supercapacitor (SC) is often used as an auxiliary energy storage system in hybrid systems to regulate transient power variations and supplement the BESS to maintain energy balance in the system [1,3,9].
Researchers have improved EMSs by using artificial intelligence techniques such as ANFIS and neural networks (NNs) [1,10,11].This research aims to minimize hydrogen consumption in fuel cell hybrid electric vehicles through the implementation of intelligent techniques, specifically ANFIS artificial intelligence, in energy management [1,10,12].The problem statement of this research is centered around reducing hydrogen consumption using intelligent techniques.The main focus of this research is to employ ANFIS artificial intelligence in the energy management of fuel cell hybrid electric vehicles.

HEV System Explication
The research focuses on an HEV system that employs an induction motor drive.The energy storage systems are composed of a battery and a supercapacitor.The inverter is responsible for controlling the speed algorithm that powers each motor.The HEV comprises an FC, a battery, an SC, and DC generators that are connected to a special converter.The FC is the primary source, and the DC generators connected to the front wheels directly supply power to the DC bus.The energy management strategies, including ANFIS and other classical techniques, are responsible for managing the energy between the sources.Figure 1 illustrates the HEV system under study.

Battery Model
Lithium-ion batteries are currently the most commonly used energy storage system in transportation [9].The battery model utilized in this study is described by Equations ( 1) and (2) [13,14].

Battery Model
Lithium-ion batteries are currently the most commonly used energy storage system in transportation [9].The battery model utilized in this study is described by Equations ( 1) and (2) [13,14].
where SOC, Q, C bat , t, and I bat are the battery's state of charge, quantity of charge, battery capacitor, discharging time, and battery current, respectively.Equation ( 2) represents the battery's capacitor [13].
Phys.Sci.Forum 2023, 6, 5 3 of 8 where ∆t, C X , and I X are the accumulator heating, rated capacity, and rated current, respectively.

Supercapacitor ESS
Besides the battery, the SC is the second ESS working in the fast intervention [15].The SC's mathematical model is illustrated in Equation (3) [13].
where V u , Ru, V u , Iu, Qu, C 0 , and β are, respectively, SC voltage, series resistance, primary cell voltage, SC current, fast charge, capacitance, and constant parameter.

Fuel Cell
In this study, the FC is considered the primary source and is regarded as a green source that converts chemical energy into electrical energy [16].The first principle of thermodynamics is applied to analyze the energy of the FC, and Equation ( 4) is used to model the FC [1,13,16].
The fuel cell voltage is given by Equation ( 5): where O 2 , H 2 , and H 2 O are the chemical abbreviations of oxygen, hydrogen, and water, respectively.

DC Generator
A DC generator is a machine that converts mechanical energy to electrical energy.In this study, the rotor is connected to the EV wheel and rotates due to the EV's kinetic energy.The DC generator model is represented by Equation ( 6) [3,17,18]: where U, R e , E, I, and P e are the output DC voltage, generator resistor, electromotive force generator current, and generator power.

Renewable Energy Management Strategy REMS 4.1. PI-EMS
The PI-EMS is a classical EMS that employs proportional and integral operators to minimize the state-of-charge (SOC) error and preserve the SOC.The PI-EMS provides orders to the FC to secure the necessary power to maintain the SOC, as illustrated in Figure 2 [1,13].

SM-EMS
The SM-EMS is one of several classical energy management systems utilized in renewable energies.This technique is based on the pre-knowledge of the designer.Figure 3 depicts the SM-EMS algorithm utilized in this study [1,13].

PI-EMS
The PI-EMS is a classical EMS that employs proportional and integral operators to minimize the state-of-charge (SOC) error and preserve the SOC.The PI-EMS provides orders to the FC to secure the necessary power to maintain the SOC, as illustrated in Figure 2

SM-EMS
The SM-EMS is one of several classical energy management systems utilized in renewable energies.This technique is based on the pre-knowledge of the designer.Figure 3 depicts the SM-EMS algorithm utilized in this study [1,13].

ANFIS-EMS
In recent years, EMSs have undergone significant development, especially in the area of artificial intelligence.Among the widely used strategies for transportation control and management is ANFIS.ANFIS operates by utilizing data to generate the membership output/input required for power distribution.However, tuning this strategy to achieve optimal function can be challenging, mainly due to the difficulty in selecting the appropriate data for the system.Nonetheless, the ANFIS controller's core requires the knowledge and expertise of an expert.The objective function of the ANFIS-EMS design is to conserve battery power while minimizing hydrogen consumption.Figure 4 illustrates how the ANFIS-EMS design's output depends on the selected database [1,12,19,20].

SM-EMS
The SM-EMS is one of several classical energy management systems utilized in renewable energies.This technique is based on the pre-knowledge of the designer.Figure 3 depicts the SM-EMS algorithm utilized in this study [1,13].

ANFIS-EMS
In recent years, EMSs have undergone significant development, especially in the area of artificial intelligence.Among the widely used strategies for transportation control and management is ANFIS.ANFIS operates by utilizing data to generate the membership output/input required for power distribution.However, tuning this strategy to achieve optimal function can be challenging, mainly due to the difficulty in selecting the appropriate data for the system.Nonetheless, the ANFIS controller's core requires the knowledge and expertise of an expert.The objective function of the ANFIS-EMS design is to conserve battery power while minimizing hydrogen consumption.Figure 4 illustrates how the ANFIS-EMS design's output depends on the selected database [1,12,19,20].

ANFIS-EMS
In recent years, EMSs have undergone significant development, especially in the area of artificial intelligence.Among the widely used strategies for transportation control and management is ANFIS.ANFIS operates by utilizing data to generate the membership output/input required for power distribution.However, tuning this strategy to achieve optimal function can be challenging, mainly due to the difficulty in selecting the appropriate data for the system.Nonetheless, the ANFIS controller's core requires the knowledge and expertise of an expert.The objective function of the ANFIS-EMS design is to conserve battery power while minimizing hydrogen consumption.Figure 4 illustrates how the ANFIS-EMS design's output depends on the selected database [1,12,19,20].

Simulation Results
The simulation time for the system is set at 120 seconds, using the same parameters and initial conditions, and incorporating three EMS strategies, namely, PI, state machine, and ANFIS.The EV's trajectory is depicted in the table below, which outlines the various The explication of the ANFIS controller is detailed in [20] and in refs [3,21].

Simulation Results
The simulation time for the system is set at 120 seconds, using the same parameters and initial conditions, and incorporating three EMS strategies, namely, PI, state machine, and ANFIS.The EV's trajectory is depicted in the table below, which outlines the various paths it follows.Table 1 illustrates the EV speed schedule for each of these paths.The EV moves at the speed of 100 km/h 4 [90, 120] The EV's speed became 60 km/h Figure 5 illustrates the main results of the EV's motor control.Figure 5a is the EV wheel speed varied with time, where Figure 5b shows the speed errors less than 2 (km/h) in the transitional regime.Figure 5c illustrates the electromagnetic torque of each motor, where the electromagnetic torque gave the ripple of 0.8 Nm as shown in Figure 5d.  Figure 6 depicts the comparison results of the three EMS methods: PI, SM, and ANFIS.The responsible power sources for the EV are FC, battery, SC, and DC generators.The FC serves as the primary source, generating the required power for the EV, with the battery, SC, and DC generators serving as secondary sources according to the EMS conditions.
The battery acts as a permanent energy storage unit, securing the EV's function according to the EMS, while the second energy storage unit offers fast intervention as needed.The DC generators supply energy directly to the DC bus.
The SM-EMS and ANFIS-EMS strategies have nearly identical objective functions, with a slight variation in the power value.In contrast, the PI-EMS strategy adheres to a condition that preserves the reference value of the battery's state of charge.Figure 7 illustrates the DC bus voltage stability for the three EMS methods: PI, SM, and ANFIS.All three EMSs adhere to the voltage reference value (400 V) without any visual overtaking and have an acceptable response time, with a ripple of 0.02%.Figure 8 represents each EMS's hydrogen/air consumption, using three EMSs (PI, SM, and ANFIS EMSs).Hydrogen and fuel have identical forms, and they generate the same FC power.Table 2 highlights the crucial points of comparison between the methods described in the paper, such as response time, efficiency, fuel consumption, and the percentage of fuel preserved by each technique.The response times in the classical energy management strategies (PI and SM) were about 0.004 (s) and 0.02 (s), respectively, and ANFIS-EMS was 0.001 (s).
ANFIS improved the efficiency (98.3%), whereas the efficiency of classical EMSs was 96.05% for PI-EMS and 98% for SM-EMS.The ANFIS-EMS reduces the hydrogen consumption to (8%) compared with SM-EMS.

Conclusions
This work has shown the ANFIS controller's impact on the HEV's renewable energy management.The HEV was studied under Matlab Simulink, where we specified the same initial conditions for all systems.
The main objective of this study was to integrate artificial intelligence into the renewable energy management of two-wheel-drive motors.
The ANFIS-based power management technology outperformed the classic technologies at all points of comparison, having a very fast response time of 1 millisecond (less than a tenth of that of the classic technologies).
The proposed technique also excelled in system efficiency, reaching 98.25%, resulting in reduced energy exchange energy losses.
Fuel consumption is one of the main points in the comparison, as the proposed technology reduced the fuel consumption ratio to 8%.
To conclude, it may be deduced that use of the ANFIS controller in renewable power management improves EV autonomy by reducing hydrogen consumption and saving sources such as the battery and supercapacitors.
The proposed technique's limits are that it is difficult to apply and it needs an expert.The proposed study's difficulties push the authors to consider other intelligent techniques and investigate them experimentally as future perspectives.

Table 1 .
The EV speed schedule.

Table 2 .
Comparison of the statistical findings of the performance criteria of proposed topologies.

Table 2 .
Comparison of the statistical findings of the performance criteria of proposed topologies.

Table 2 .
Comparison of the statistical findings of the performance criteria of proposed topologies.