Abstract
The present study examines AI techniques to reduce the cost and CO2 emissions for designing and controlling microgrid at minimum cost and providing a power supply to a residential complex of 100 units. Three AI techniques, Genetic Algorithm (GA), Artificial Bee Colony (ABC), and Ant Colony Optimization (ACO), are employed to optimize the optimal composition of energy sources based on solar energy and wind energy, battery storage, and load profiles. GA, from natural selection, is constantly seeking the best configuration. ABC models honeybee foraging behavior to achieve efficient exploration, and ACO models ant colony decision-making to achieve optimal energy configuration. These AI models maximize the use of renewable energy, reduce wastage, and improve microgrid resilience and responsiveness to supply and demand fluctuations. Experiments demonstrate the revolutionary potential of AI to control microgrids. The optimization achieves the lowest electricity cost of 0.037 USD/kWh, a reduction by 67% from Fez’s reference cost (0.115 USD/kWh) and guarantees a supply of power. These results illustrate the ability of AI to power cheap and clean energy systems.
Similar content being viewed by others
Introduction
Recently, renewable-based hybrid energy systems have grown in popularity. It is mostly due to rising environmental concerns, increased consumption of energy, increased fuel costs, and the depletion of fossil fuels. Wind and solar energy technologies, in particular, have become more environmentally friendly. Leading to alternatives for ethical and sustainable electricity delivery in rural or off-grid regions. Solar photovoltaic (PV) energy conversion systems with storage1 have shown to be an appealing choice for delivering power to rural or off-grid places2, Residential dwellings3,4, off-grid locations5,6, and business structures. On the other hand, the efficiency of PV generation is small, and the power cost per kWh is huge. Consequently, the amount of wind-based power generated significantly increased. Numerous research has focused on the feasibility and optimal size of wind-based systems7,8,9. However, the fundamental drawback of both wind and solar energy is their stochastic character, which creates concerns regarding the user’s accessibility to electrical power. As a result, combining solar and wind energy is a viable option for increasing reliability. Even if it complicates the system, one’s flaws can be compensated by another’s strengths10.
Moreover, several studies examined the cost-effectiveness of standalone solar wind hybrid energy systems. The necessity for backup power sources is a fundamental drawback of a standalone solar wind-based energy system due to the irregular nature of both wind and solar resources. A diesel generator or energy storage equipment (e.g. batteries or ultra-capacitors) is often used as a backup when using a stand-alone hybrid system. Its usage raises cost and environmental concerns. However, as technology advances, multiple renewable energy sources are integrated alongside wind and solar power, namely biomass, biogas, micro-hydro, and fuel cells.
Among the aforementioned renewable energy sources, biomass looks to be a more viable option, particularly in countries with a significant agricultural economy. Biomass may be used to produce a wide range of goods, including heat, electricity, and biofuels. Consequently, Energy created by biomass gasifiers is gaining popularity in rural regions. Biomass-powered power plants have a high load factor and are cost-effective10. Stand-alone and grid-connected PV biomass with or without storage are viewed as a realistic and inexpensive source of power, particularly in developing countries. Consequently, adopting accessible local renewable energy sources in areas without grid connectivity or with limited power generation can be feasible. Therefore, the intelligent usage of these resources can help satisfy the electrical needs of these areas.
In addition, the storage of the energy created by a hybrid renewable energy system requires a big battery bank. In this scenario, the creation of a conventional self-sustaining hybrid energy system necessitates applying renewable energy sources and batteries. Numerous considerations, including the system’s overall cost, quantity, and renewable energy sources capacity, are critical for hybrid systems. Due to the intermittent nature of renewable energy sources, a hybrid system must have the best possible power flow across all of its components. In hybrid systems, the reliability and the cost of generating energy are the most important aspects. The finest elements should be employed in a well-designed system to ensure reliability.
Given the lack of literature on PV, wind, and biomass-based hybrid systems with energy storage. The authors used AI methods to carry out the economic analysis, and Rehman et al.11 suggested the components selection for a hybrid system based on wind and PV for a site in Fez. A mixed integer linear programming-based approach has been created to build hybrid systems. Garrido et al.12 also used AI methods to present a techno-economic analysis of a hybrid PV-biomass energy system for a remote area in Fez. The findings suggest that wastes from agriculture and food processing may be important in producing energy, especially in rural areas.
The aforementioned literature demonstrates that for performance analysis, researchers have either used software tools or traditional optimization techniques. However, compared to current optimization techniques, software tools have shown significant drawbacks (e.g. single-function minimization, black box coding, and a longer computation time). In addition, numerous studies on hybrid systems suggested various traditional and evolutionary strategies to obtain the appropriate component size for hybrid systems.
Traditional methods like the graphical construction approach13, iterative technique14, trade-off method14, and linear programming14 have been used to complete various research projects. However, these methods might suffer limitations in local minima. To address these shortcomings and ensure the best sizing of hybrid energy systems, researchers commonly used meta-heuristic evolutionary algorithms including the ant and bee colony algorithm15, the genetic algorithm15, particle swarm optimization16, harmony search17, and bio-geography-based optimization17.
To the extent of our knowledge, a few studies examined the means to optimize a hybrid PV-wind-biomass system and an energy storage system. According to the research, a hybrid system comprised of PV, wind, and biomass, as well as an energy storage system is necessary in remote or off-grid settings. Any hybrid system’s equipment sizing requires difficult labor. Regardless of material from existing studies, the suggested attempt focuses on a hybrid energy system, which integrates solar, wind, biomass, and energy storage.
The aforementioned hybrid systems’ entire ideal component sizing has been determined using either software tools or both traditional and evolutionary approaches. However, none of the studies has examined the use of evolutionary algorithms to determine the best size for PV-wind-biomass systems with battery banks serving as storage. The combination of biomass resources with wind and solar energy can increase the hybrid system’s dependability. Thus, this study proposes an autonomous hybrid PV-wind-biomass system with batteries to meet the electricity needs of a typical hamlet.
The artificial bee colony (ABC) meta-heuristic method has been used to achieve the best configurations for the suggested system. The primary way that the ABC algorithm differs from other algorithms (like GA and PSO) is that it uses fewer control parameters. Like other evolutionary algorithms, it also has good convergence accuracy and the ability to provide optimal outcomes18. The findings gathered by the ABC algorithm18 have been compared with GA and Ants colonization algorithm to assess how well the implemented technique performed. Using the levelized cost of energy (LCOE), a quick comparison is made. The ideal arrangement is regarded as having the lowest LCOE. These are the primary goals of this effort, in brief. To create a mathematical model of a self-sufficient PV19, wind, and biomass energy system with a battery bank to supply electricity to a remote site. Using a swarm-based ABC method, the net present cost (NPC) of the proposed system will be minimized to determine the ideal size of the components with the lowest LCOE to evaluate results from the ABC algorithm against outcomes from GA and Ants colony algorithm and monitor the hybrid system’s performance20 in extreme situations like the failure of any generating unit.
The shape of a dependable, reasonably priced hybrid PV-wind-biomass energy system with battery storage that meets the electrical load demand of a small area with an abundance of natural resources is the primary contribution of this study. We went over the operational strategy and mathematical modeling of key system components in detail. We performed a rigorous cost study of the suggested hybrid system using three evolutionary approaches. Finally, we examined the outcomes of several techniques for appropriate size and timing.
In contrast to previous studies focusing solely on conventional optimization methods, this research explores the innovative application of AI techniques—Genetic Algorithm (GA), Ant Colony Optimization (ACO) algorithm, and Artificial Bee Colony (ABC) algorithm—for microgrid optimization.
Literature review
In the realm of energy microgrid management, numerous studies have delved into exploring sustainable energy sources and employing various optimization techniques to ensure efficient and reliable power supply. A comprehensive survey by1,2,3 titled “Survey of Sustainable Energy Sources for Microgrid Energy Management: A Review” serves as a foundational exploration of classical methods, metaheuristic, and emerging artificial intelligence (AI) techniques for energy microgrid management.
The survey meticulously dissects the strengths and limitations of classical methods, shedding light on their historical significance in addressing microgrid challenges. Additionally, it elucidates the application of metaheuristic approaches, providing insights into their adaptability and efficacy in optimizing energy distribution within microgrid systems. Furthermore, the survey navigates through the landscape of cutting-edge AI methodologies, elucidating how strategies such as Genetic Algorithms (GA), Ant Colony Optimization (ANTS), and Artificial Bee Colony (ABC) algorithms are reshaping the microgrid energy management paradigm.
Building upon this foundational survey, the current work advances the field by introducing a comprehensive mathematical model for microgrid systems. The research extends beyond theoretical constructs, engaging in practical dimensioning exercises aimed at meeting the energy demands of a substantial residential community. In particular, the authors undertake the ambitious task of providing electricity to 100 houses, each with an average power requirement of 47 kW.
The formulation of the microgrid optimization problem is a notable contribution, incorporating not only the electricity demand constraints but also integrating environmental and economic considerations. This multi-dimensional problem is tackled using state-of-the-art AI methods implemented in Python, namely GA, ANTS, and ABC algorithms. The application of these algorithms represents a significant stride towards achieving an optimal microgrid configuration that balances the intricate interplay of energy needs, environmental impact, and economic feasibility.
To gauge the effectiveness of the proposed AI-driven approach, the study conducts a thorough comparative analysis with results obtained from the HOMER (Hybrid Optimization of Multiple Energy Resources) software. This benchmarking exercise adds a layer of credibility to the findings, showcasing the real-world applicability and robustness of the developed optimization framework.
In summary, this work stands as a pivotal contribution to the field of microgrid energy management. By seamlessly integrating theoretical underpinnings with practical dimensioning and advanced AI optimization techniques, the authors not only advance the academic discourse but also provide a tangible framework for addressing the complex challenges associated with sustainable and efficient microgrid energy management.
We conducted a comparative analysis using the HOMER software to assess the performance of our model against industry standards. The results of these comparisons confirm the superiority of our AI-driven optimization approach in achieving optimal energy resource allocation and cost reduction within the microgrid system.
Recent studies have made significant contributions to the field of microgrid energy management and control. For instance, a systematic review of energy management systems based on adaptive controllers with optimization algorithms has provided a comprehensive framework for optimizing microgrid performance. Additionally, the application of perturb and observe (P&O) algorithms for maximum power point tracking (MPPT) in grid-connected PV systems has demonstrated effective reduction in total harmonic distortion (THD). Advanced control strategies, such as PI and fuzzy logic controllers combined with the slime mound algorithm (SMA), have been employed for battery energy management and power control in microgrids. Furthermore, studies on feed-in tariffs and inertia compliance in IEEE bus systems have highlighted the importance of sensitivity analysis and energy management in grid-connected renewable energy systems. Lastly, real-time optimization of battery management in hybrid PV and wind turbine (WT) microgrids using modified slime mound algorithms (MSMA) and fuzzy-PID controllers has shown promising results in achieving optimal performance. These advancements underscore the critical role of AI-driven and optimization-based approaches in enhancing the efficiency, resilience, and cost-effectiveness of modern microgrid systems.
Other studies have attempted to develop a variety of AI-based optimization techniques in microgrid energy management. As an instance, have used a hybrid GA-PSO approach for renewable energy integration optimization and obtained an important reduction in the cost of operation. In another instance, used Artificial Bee Colony (ABC) algorithms to maximize the utilization of energy storage in off-grid microgrids and achieved a 30% efficiency improvement also used ACO to maximize real-time energy dispatch in smart grids by 25% reduction of CO2 emissions. Despite referencing AI deployment achievement in microgrid management, the analyses of such work lack an appraisal of their performing detailed evaluation across various schemes of optimization. Contrary to earlier studies, the current piece compares GA, ABC, and ACO altogether and proves the efficiency of applying these algorithms towards establishing cost-effective and sustainable microgrids. With the combination of these methods, our research facilitates the development of intelligent, low-cost, and low-emission energy systems for residential communities.
Microgrid model
Microgrid components
An energy system that integrates several power generating, energy storage, and distribution technologies is known as a microgrid. It is a localized, small-scale, and decentralized energy system21. It serves a particular geographic area, such as a neighborhood, building complex, university campus, or military base, and works independently of or in conjunction with the primary power grid. The ability to produce power from renewable energy sources (such as solar panels and wind turbines) and conventional sources (such as diesel generators), store extra energy for later use, and efficiently control energy consumption21 are some of a microgrid’s important characteristics. To increase energy resilience, lower carbon emissions, increase energy efficiency, and give communities more control over their energy supply and demand, microgrids were developed. This is especially true in times of grid outages22 or other emergencies (Fig. 1).
Wind turbine
The power output of the turbine is detailed by the formula (1) as follow:
For Cp the turbine performance coefficient, we have (Fig. 2):
The optimum value is obtained for (8.1, 0°), the turbine needs to be in front of the air flux to have the maximum Cp. A detailed view can be explained as follows (Fig. 3):
We can explain the wind turbine by this example (Fig. 4):
Wind turbine parameters as shown in Table 1:
Related power is the power at the related wind speed with pitch angle beta = 0 and the turbine speed is the nominal generator speed.
To simplify the model and turbine functioning, we proposed the following hypotheses:
-
The beta angle is always zero.
-
The volumetric air mass and wind speed are not affected by altitude.
-
P(V) is a linear function for Vc < V < Vr.
So, Pr = P(Vr).
We have (Fig. 5):
Solar panel
A solar panel’s output power is:
We can also experiment with the following equation:
With Gs = 1000 W/m2.
The solar panel parameters are explained in the Table 2:
Power converter
The utilization of converters of power between DC and AC23 is necessary in systems where both DC and AC components are present. In a microgrid that involves batteries and PV panels, DC output is generated while the given load is AC. Therefore, power converters are required to convert the DC output into AC output. The converter size is determined based on the peak load demand (PmðtÞ) of the system. The rating of the inverter (Pinv) can be found using the following Eq. (4):
where Pm represents the peak load demand and ∆P represents the additional power required for losses in the conversion process. Therefore, to ensure that a system operates efficiently and effectively, it is crucial to select an appropriate converter size and calculate the correct inverter rating.
We can also model a power converter as below: Pinv = r.Pm.
Where is the efficiency.
Pm is the input power.
The converter parameters as shown in Table 3:
Battery
The power output of a battery depends on its state of charge (SOC), which is the amount of energy stored in the battery relative to its maximum capacity. The mathematical model for the output power of a battery in the function of SOC24,25 is as follows:
The function f(SOC) varies depending on the type of battery chemistry and its discharge characteristics. For example, lead-acid batteries have a relatively flat discharge curve, meaning that their output power remains relatively constant over a wide range of SOC values. Lithium-ion batteries, on the other hand, have a more exponential discharge curve, meaning that their output power drops off more rapidly as SOC decreases.
To model f(SOC) for specific battery chemistry, manufacturers typically conduct extensive testing to measure the discharge characteristics of their batteries over a range of SOC values. They then use this data to develop an empirical equation that best fits the observed behavior.
The battery state of charge (SOC) is a measurement of the available capacity of a battery expressed as a percentage. The SOC can be calculated using various methods, including voltage, current, temperature, and impedance measurements. The most common method for calculating SOC is based on the battery’s open-circuit voltage (OCV). In this method, the SOC is estimated by comparing the OCV of the Battery
where SOC is the battery state of charge in percentage, OCV is the open-circuit voltage of the battery, OCV_min is the minimum OCV value corresponding to 0% SOC, and OCV_max is the maximum OCV value.
The values of OCV_min and OCV_max depend on various factors such as battery chemistry, temperature, and age. Therefore, these values need to be determined experimentally or obtained from manufacturer specifications.
Parameters of the battery as shown in the Table 4.
Utility grid
The utility grid equation represents the balance between the supply and demand of electrical energy in a power grid. It is used to ensure that the amount of electricity being produced by power plants matches the amount being consumed by consumers at any given moment. The conservation of energy principle, which holds that energy may only be transmitted or converted, is the foundation of the Eq. (7) below:
Where Supply refers to the total amount of electricity being created by power plants, Demand refers to the total amount of electricity being consumed by consumers, and Losses refer to the amount of electricity.
For the equation to remain balanced, the supply must always equal the demand plus losses. If there is an imbalance between supply and demand, it can lead to blackouts or brownouts, which can have serious consequences for both consumers and power companies. To ensure that the utility grid equation remains balanced, power companies use a variety of tools and techniques, including load forecasting, demand response programs, and energy storage systems. Load forecasting involves predicting future electricity demand based on factors such as weather patterns and consumer behavior. Demand response programs encourage consumers to reduce their electricity usage during high-demand times, while energy storage systems allow excess electricity to be stored for later use. Overall, the utility grid equation is a critical component of modern power systems, ensuring that electricity is delivered reliably and efficiently to consumers around the world.
Biomass gasifier
A biomass gasifier is a device that converts organic materials, such as wood chips, agricultural waste, or other biomass feedstock, into a combustible gas mixture known as producer gas26. This gas can be the fuel for various applications, including electricity generation, heating, and transportation.
The process of gasification involves heating the biomass feedstock in the presence of a limited amount of oxygen or air to produce a gas mixture consisting mainly of carbon monoxide, hydrogen, and methane27. The resulting gas can be used directly as a fuel or further processed to remove impurities.
Biomass gasification has several advantages over traditional fossil fuels. It is a sustainable and renewable energy source that can reduce dependence on foreign oil and greenhouse gas emissions. Additionally, it can provide economic benefits to rural communities by utilizing locally available biomass.
However, biomass gasification is associated with several challenges. The process requires careful control of operating conditions to ensure efficient conversion of the feedstock into gas. Furthermore, the composition of the producer gas can vary depending on the type and quality of the biomass.
Overall, biomass gasification has the potential to be crucial in meeting our needs for power while reducing our environmental impact.
Biomass gasification is a process that converts organic materials such as wood, agricultural waste, and municipal solid waste into a combustible gas mixture known as producer gas. This gas can be used to generate electricity through a gas engine or turbine28. The power output of a biomass gasifier can be found.
The formula of biomass gasifier is as follows:
The gas flow rate can be measured using a flow meter installed in the gas line. The heating value of the producer gas depends on its composition, which varies depending on the type of biomass feedstock and the operating conditions of the gasifier. Typically, producer gas has a heating value between 4 and 7 MJ/m3.
The efficiency of the system depends on various factors such as the design and operation of the gasifier, cleaning and conditioning equipment, and power generation equipment. A well-designed system has a 30%.
In summary, we can calculate the power output of a biomass gasifier by multiplying the gas flow rate by the heating value and efficiency. This equation can help you estimate the potential power output of a biomass gasification plant.
Biomass system parameters (Table 5):
The load
Dump load
The dump load equation29 is a mathematical formula used to calculate the amount of power that needs to be dissipated by a dump load to protect an electrical system from overvoltage or overcurrent conditions. Dump loads are typically used in energy-renewable systems, like wind turbines or solar panels, to avoid harming the system when excess energy is generated.
The dump load equation is:
This equation shows that the amount of power that needs to be dissipated by the dump load is proportional to the square of the voltage and inversely proportional to the resistance. Therefore, increasing the voltage or decreasing the resistance will result in a higher power dissipation requirement for the dump load.
In practical applications, it is important to choose a dump load with an appropriate resistance value30 based on the characteristics of the electrical system. If the resistance is too low, too much current will flow through the dump load and it may overheat or fail. If the resistance is too high, not enough power will be dissipated and the electrical system may still be at risk of damage.
Electric load
Electric load refers to the quantity of electricity that is being used by an electrical system at a given time. It is the total quantity of electricity used from the electrical grid by all connected devices and appliances. Understanding electric load is important for utilities to ensure that they are providing enough power to meet demand, and for consumer’s electric load can be categorized into two types: base load and peak load. Base load refers to the minimum amount of electricity required by a system over 24 h31. This includes power used by essential services such as hospitals, streetlights, and refrigeration systems. Peak load, on the other hand, refers to the maximum amount of electricity used in pic demand, for example on hot summer afternoons when air conditioning usage is at its highest. Electric load can also be managed through demand response programs. These programs incentivize consumers to reduce their energy usage during times of high demand in exchange for lower rates or other benefits. This helps utilities avoid blackouts or brownouts during peak periods.
The electric load equation is a mathematical formula that calculates the quantity of energy consumed by an electrical device or system. It is commonly used in electrical engineering and is essential in determining the power requirements for designing electrical systems32.
Where P is power in watts, V is voltage in volts, and I is current in amperes.
The electric load equation is based on the principle of Ohm’s law33, which states that the current through a conductor between two points is directly proportional to the voltage across the two points. The electric load equation helps to determine the power consumption of an electrical device or system and allows engineers to design and optimize electrical systems for maximum efficiency. In practical applications34, the electric load equation can be used to calculate the power requirements of various electrical devices such as motors, transformers, heaters, and lighting systems. Engineers can design efficient systems by understanding the power requirements of these devices.
In summary, the electric load equation is a basic concept in electrical engineering that helps to determine the power requirements of electrical devices and systems35. It plays a crucial role in designing efficient electrical systems that meet specific power demands (Fig. 6):
Estimated electricity demand for the community (Table 6).
Microgrid controller
A microgrid controller36 is responsible for managing and optimizing a microgrid’s operation, a small-scale power grid that can in conjunction or independently operate with the electrical main grid. The controller needs to manage the generation, storage, and consumption of energy optimally while considering various constraints and objectives. Here is a simplified mathematical model of a microgrid controller (Fig. 7).
Minimize the operational cost of the microgrid over a given time horizon while maintaining grid stability, meeting load demands, and satisfying generation and storage constraints.
This optimization problem can be solved using various techniques, such as linear programming or mixed-integer linear programming, depending on the complexity of the cost functions and additional constraints. The solution provides optimal power generation, storage, and consumption schedules for the microgrid controller to follow.
Microgrid sizing
Load size
A microgrid’s dimensions37 are determined by two fundamental factors: the size of the load and the natural resources that are available where the microgrid is located.
We will work on an average of 100 houses.
The total load is between 850 and 1200 kWh/day and the average is 1100 kWh/day.
The graph represents the power of 1 house (Figs. 8 and 9).
So, the peak load power is 240 kW and the average load power is 47 kW the hourly minimum is 17 kW and the maximum is 100 kW (Fig. 10).
The dynamic load Figs. 8, 9 and 10 above size is central to the successful sizing of a microgrid because it dictates the capacity of the system to meet variable demand. Microgrids will operate in isolation or in synchronism with the grid, and an accurate dynamic load profile measure ensures that the system will be able to adjust to real energy consumption variations. This figure takes into account not only the peak load, but also the varying demands resulting from weather, day of week, and operating status. Microgrid sizing based on these dynamic load profiles will ensure that generation and storage units are not over- or under-sized, hence enhancing better efficiency, cost effectiveness, and system reliability. It enables the microgrid to adapt to rapid rises or drops in demand without compromising on performance or safety.
The natural resources in Fez
Wind resources
We noticed that the wind speed for the turbine is close to the 3 m/s vcin speed even though the turbine needs to be moving at a speed of 11 m/s to provide its nominal power. Hence, atmospheric conditions do not promote the wind (Fig. 11).
If one applies the relationship between the output power and the wind speed and uses the average speed of 4 m/s available to them, they will obtain p = (4 − 3)/(11 − 3) Pn. P = (1/8) Pn.
According to the following relationship38, the wind speed changes as a function of height. V = Vr(H/Hr)^(1/7). It implies that, according to the following relationship, the wind power will vary with altitude: P = Pr(H/Hr)(3/7), so for a height of 5 h, one will either have P = 5(3/7) Pr or P = 2Pr.
Solar resources
Taking into account a day of 12 h of sunlight, we will see that the average power in W/m2 is 417 W/m2. The maximum power of solar radiation is about 1 kW/m2 as shown in the graph below (Fig. 12).
The Clearness Index39 is an important parameter in many fields, including solar energy, meteorology, and climate science. It is used to estimate the quantity of solar energy that can be harvested by solar panels at a particular location, as well as to study the effects of clouds and atmospheric aerosols on climate (Fig. 13).
When the power output to radiation ratio for the solar panel is applied while taking into account the average radiation at fez, the result is p = Pn (417/1000). So, p = 0.42 Pn.
Figures 11 and 12, and 13 as shown above indicate the microgrid inputs of natural resources based on wind speed and solar irradiance. Such inputs are essential for guaranteeing the optimal operation and design of a microgrid by providing necessary data for accurate sizing and choice of the components. By analyzing wind speed and solar irradiance trends, we can determine the cheapest and most effective energy generation options to ensure the microgrid can meet the energy demand while maximizing the utilization of renewable resources. Sizing the equipment, such as wind turbines, solar panels, and energy storage systems, based on these natural resource inputs creates a more sustainable, reliable, and economically viable microgrid40,41,42,43,44,45.
Results of sizing
We will use the average value of 47 kW to dimension because we use the utility grid, batteries, and biomass.
The maximum number of solar panels is: Np = 47/0.42; Np = 112 taking into account the inverter efficiency we will have Np = 112/0.9 so Np = 125. The maximum number of wind turbines is: Ne = 47/ (1/8) so Ne = 376 we will take into consideration an altitude of 5 h of 50 m so we will have Ne = 188 We will use wind turbines with a nominal power of 10 kW so we will obtain Ne = 19. For the batteries: The solar panels are not functional at night, necessitating the use of batteries. The average amount of energy required to deliver our load for a 12-h night is 550 kWh, so we will need 7 360-amp-hour batteries, to obtain 550,000/220 = 2500 Ah taking into account the SOC and efficiency we will have 20% SOCmin. N = 7/(0.82), N = 14. For the biomass, we will have 1 biomass of 50 kW.
Same thing for the inverter 115 kW because our load average puissance is 47 kW. So, Np < 125; Ne < 19; Nb < 14 with Panel has 1 kW; wind turbine 10 kW and batteries 360 Ah.
Formulation problem
The creation of a dependable and economical hybrid energy system46 is the first objective of this project. The rating and size of solar PV panels, wind turbines, battery banks, and biomass gasifiers are the main determining criteria. The system’s operational plan is covered in this section.
This study’s primary goal is to reduce the total NPC of the proposed hybrid system while preserving the best energy efficiency.
The quantity47 of PV panels, batteries, biomass gasifiers, and wind turbines has been decided. The annualized system cost (ASC) idea is employed for the economic analysis. While meeting all other constraints and criteria, it is seen that the result with the lowest ASC is the best one. The considered objective function is the overall system cost, which is made up of (i) total capital costs, (ii) replacement costs, (iii) the expense of operating and maintaining the components.
where Csol, Cwind, Cbatt, and Cinv are the prices for batteries, solar PV panels, wind turbines and inverters, respectively, per kW.
The outline operating plan of the planned energy hybrid system can be announced in (Fig. 14).
To model the price per kilowatt-hour (kWh) of a microgrid, we need to consider various parameters like the initial investment price, operational and maintenance costs48, fuel costs (if applicable), and any subsidies or incentives available. Additionally, the pricing structure may vary depending on the specific location.
It is important to note that the price per kWh may also vary based on different tariff structures, such as time-of-use pricing or demand-based pricing, which can further influence the overall cost for consumers.
So, our mathematic model to optimize is:
With <Pmoy> = 47 kw. 365.24 0.20 = 8,2 Gwh.
<Pmoy> = Nwind <Pwind> + Npanel <Ppanel>.
Cpanel = 1200 + 1200 + 4*20 = 2480usd/kw.
Cwind = 2300 + 1500 + 20*4 = 3880usd/kw.
Cbatt = 234*4 + 1.67 + 20 = 970 usd/unit.
Cconvert = 150*20 + 127*150 = 22000usd.
Cbiomass = 3880*50 = 194000usd.
And Nwind < 19; Npannel < 125; Nb < 14.
To explain better our mathematic model here’s a 3D surface plot visualizing the total cost of the energy system based on the number of wind turbines (Nwind) and solar panels (Npanel) as shown in the Fig. 15. The cost increases as the number of turbines and panels increases, with the z-axis representing the total system cost in USD.
-
The x-axis represents the number of wind turbines.
-
The y-axis represents the number of solar panels.
-
The z-axis shows the corresponding total cost for each combination of wind turbines and solar panels.
We can observe how the cost rises with increasing numbers of turbines and panels, which aligns with the model provided.
So, our objective is to resolve the quadratic problem using different AI approaches and find the optimum Npanels and Nwind (Nwind, Npanel) optimum point that will give us minimum costs while respecting the microgrid average need on power, which is 47 kW, and also taking into consideration different costs of components. Their life, their maintenance costs, and also the available geographic resources.
Resolution using AI methods
Genetic algorithm
A search and optimization method called a genetic algorithm draws inspiration49 from natural selection and evolution. It is used to simulate the survival of the fittest within a population of potential solutions (individuals) to identify solutions to optimization problems.
A population of randomly created people serves as the initial population for the genetic algorithm. Every person is a potential response to the optimization issue. The algorithm then assesses each person’s fitness using the objective function. The fitness function measures how well each person performs concerning the optimization aim (in this example, minimizing the objective function).
To produce a new population through processes like selection, crossover50 (recombination), and mutation, the algorithm then chooses individuals based on their fitness. Higher-fitness individuals are more likely to be picked as parents for the following generation due to the selection process’ preference for them. To create offspring, parents are combined in a process known as crossover, whereas a mutation alters a gene at random.
The same assessment and selection procedures are used for the new population, also known as the offspring generation. For a predetermined number of generations or until a termination condition is satisfied, this cycle of assessment, selection, and reproduction continues.
In the case of multi-objective issues, the genetic algorithm seeks to identify a group of individuals that best represents the trade-off between objectives or, in the case of single-objective problems, the best solution.
Below is a flowchart illustrating the steps of the genetic algorithm (Fig. 16).
-
1.
Initialization is the process of randomly creating a population of potential solutions (individuals). Each person is represented as a collection of genes, which serve as the problem’s decision factors.
-
2.
Evaluation: Assess each population member’s level of fitness. Each solution’s performance concerning the objective function is quantified by the fitness function. It directs the genetic algorithm’s selection procedure.
-
3.
Selection: To produce the next generation, choose individuals from the current population. The selection process is biased in favor of people who are more physically fit since they are more likely to be chosen as parents.
-
4.
Reproduction (Crossover): Crossover, sometimes called recombination, is the process of producing offspring from chosen parent individuals. Crossover produces new people by fusing the DNA of two parents, adding diversity to the population.
-
5.
Mutation: To maintain genetic diversity, introduce random changes (mutations) into a few of the offspring’s genes. Exploration of new areas of the search space is made possible through mutation.
-
6.
Replacement: Introduce the new generation of children to replace the previous one. The population for the following iteration is formed by this.
-
7.
Termination: Repeat steps 2 through 6 until a termination condition is satisfied or for a predetermined number of generations. An acceptable answer or exceeding the maximum number of iterations could be the termination condition.
-
8.
Solution: As the answer to the optimization issue, return the best individual (or individuals) discovered in the last generation.
The genetic algorithm iteratively evolves the population over several generations, with each generation potentially producing better solutions. The algorithm aims to converge to the best possible solution(s) over time.
The solution using a genetic algorithm is:
Wind Turbines number (Nwind): 5.
Number of Solar Panels (Npanel): 50.
Number of Batteries (Nbatt): 3.
Cost of the system: 0.035 USD/kWh.
Ant colony optimization
ACO is a metaheuristic optimization51 algorithm that draws inspiration from and the foraging behavior. Since its invention by Marco Dorigo at the beginning of the 1990s, it has been extensively employed to resolve combinatorial optimization issues. The technique works particularly well for situations involving determining the optimum path or route through a network or graph. It works following those steps (Fig. 17):
-
1.
Ants and Environment: The method is based on a figurative representation of how an ant colony interacts with its surroundings. The issue is depicted as a graph, where nodes stand in for cities or other places, and edges for the routes that connect them.
-
2.
Pheromone Trails: Each edge in the graph has an associated pheromone value52. Ants deposit pheromone on the edges they traverse, and the intensity of pheromone on an edge is proportional to the quality of the solution found. Pheromone53 trails evaporate over time, representing the decay of the information.
-
3.
Solution Construction: Ants construct solutions by probabilistically choosing paths based on the pheromone levels and a heuristic value (usually based on the distance or cost between nodes). The probability of selecting an edge is influenced by both the pheromone level and the attractiveness (heuristic information) of the edge.
-
4.
Solution Improvement: As ants construct solutions, they update the pheromone levels on the edges based on the quality of the solutions found. Better solutions receive more pheromone deposits, which, in turn, increases the probability of selecting those edges in future iterations.
-
5.
Exploitation vs. Exploration: ACO balances the trade-off between exploitation (favoring high-quality solutions) and exploration (searching for new solutions) through the use of pheromones and heuristic information. The algorithm encourages the exploitation of paths with higher pheromone levels while also allowing some exploration of lesser-known paths.
-
6.
Iterative Process: The algorithm repeats the solution construction, s evaluation, and pheromone update process for a specified number of iterations or until a termination condition is met.
-
7.
Global Best Solution: During the iterations, the best solution found so far is recorded, and it represents the best solution found by the colony of ants.
Its application to optimize our function is:
-
a.
defining the problem’s parameters, including its costs and constraints.
-
b.
Initialize the decision-making phenomenological matrix (Nwind, Npanel, and Nbatt) with positive a priori randomized values.
-
c.
Make the best solution’s cost and value (best_cost and best_solution, respectively) be defined as zero and infinite.
-
d.
Repeat for a set number of repetitions.
-
e.
Create a solution for each ant in the colony using the probability based on the heuristic information and pheromones.
-
f.
Updating the best solution and its price while determining if the proposed solution is superior to the best option currently available.
-
g.
Updating the phenomenometric matrix by the colony’s best solution.
After the iterations, we obtain the best solution.
The most optimal solution:
Number of Wind Turbines (Nwind): 5.
The Solar Panels number (Npanel): 50.
The Batteries number (Nbatt): 3.
Cost of the system: 0.035 USD/kWh.
ABC algorithm
A swarm intelligence optimization method that draws inspiration from honey bees’ feeding habits is the Artificial Bee Colony (ABC) algorithm53,54. Employed bees, observer bees, and scout bees are the three different kinds of artificial bees used in this algorithm to represent the three stages of the optimization process. To discover and utilize the search space, each bee carries out a distinct mission.
The steps of the ABC algorithm are as follows (Fig. 18):
1. Initialization.
In the initialization phase, we begin by producing a population of synthetic bees, or “scout bees.” Every scout bee is a potential answer to our optimization issue. The scout bees are given these answers at random. These solutions’ quality is assessed using an objective function.
To solve our optimization problem, we start by building a colony of scout bees, each of which possesses a unique solution. We determine the quality of these first solutions by feeding them through our objective function after they are generated at random.
2. Employed bees’ phase:
The hired bees are now actively looking for better answers. Each employed bee chooses a neighbor bee to share information with and then creates a new solution based on this information. The effectiveness of these novel solutions is then assessed.
The hired bees are now working to make their solutions better. They select a nearby bee with whom they may share information, which enables them to revise their existing solution. We evaluate the novel solutions produced by this collaboration to identify their potential.
3. Onlooker bees’ phase:
Based on the caliber of the solutions found by the hired bees, onlooker bees decide which solutions to investigate. The fitness value of a solution determines the likelihood of choosing it. They come up with fresh ideas and assess their merit.
The bees in the audience are interested in the solutions developed by the working bees. Higher-quality solutions are preferred by them, and they are more likely to be chosen. They then come up with alternate options and evaluate their quality.
4. Scout bees’ phase:
Scout bees find “abandoned” solutions during this phase if they haven’t improved after a predetermined number of iterations. To investigate other areas of the search space, they swap out these abandoned answers for fresh, arbitrary ones.
The scout bees are essential for preserving population diversity. They keep an eye out for solutions that appear to be static or ineffective and swap them out for new, randomly generated ones. This supports a search for space exploration.
Employed bees, observer bees, and scout bees collaborate to enhance the solutions and converge towards an optimal or nearly optimal solution for the given optimization issue as the ABC algorithm cycles through these four steps repeatedly.
The outcome, the finest possible option globally, and its price.
The ABC algorithm’s most ideal answer is:
7 wind turbines total (Nwind).
38 solar panels total (Npanel).
3 batteries (Nbatt), total.
The system costs 0.037 USD/kWh.
Discussion of solutions
Most expensive solution using AI
To discuss our solutions, let’s use a genetic algorithm to find the most expensive solution (worst solution).
Using a genetic algorithm, we can find that the most expensive solution is
Most expensive solution:
Number of Wind Turbines (Nwind): 19.
Number of Solar Panels (Npanel): 125.
Number of Batteries (Nbatt): 14.
Cost of the system: 0.055 USD/kWh.
The ant’s colony optimization algorithm confirms the results above.
Price of electricity in Fez
In Morocco, Fes, the average price of 1kwh is: C = 0.115 USD /kWh.
Homer results
Using Homer, we obtain the results as follows:
The price using Homer is 0.264 USD/kWh.
Homer takes into account the peak value of the load, which is 210 kW so for the average value of the load of 47 kW we will obtain.
C = 0.264 * 47/210 so C = 0.06usd/kwh.
Comparison of results
As we can see on the Table 7.
This table compares the system costs using different methods with the local electricity price in Fez, Morocco.
The cost of electricity can be reduced from 0.115 USD/kWH to [0.037 0.055] USD/kWH by using renewable energy sources alone.
A minimum value of 0.037 USD/kWh, or a 67% decrease in electricity costs, can be obtained by using AI techniques to determine the ideal electrical system combination and an algorithm to control the electricity flow in a microgrid as shown in the Fig. 19.
Beyond comparison of results, our study distinguishes itself by introducing groundbreaking perspectives in microgrid energy optimization. By identifying and integrating cutting-edge artificial intelligence techniques such as genetic optimization, artificial bee colony algorithm, and ant colony optimization, we provide an innovative approach to address the challenges of energy management. These advancements go beyond mere cost and CO2 emission optimization; they also pave the way for proactive and adaptive microgrid management, capable of dynamically adjusting to fluctuations in energy demand and optimizing the use of renewable resources. By highlighting these innovations, our article reinforces the importance and relevance of our contribution to advancing research in microgrid energy management, while offering valuable insights into the opportunities presented by AI integration to tackle twenty-first-century energy challenges.
Moreover, our study introduces a novel concept: the adaptability of microgrid components. Even with an existing combination of microgrid components, our findings demonstrate the potential to modify and optimize this combination to achieve the optimal configuration. Furthermore, these modified components can be utilized to optimize the configuration of microgrids in other locations, maximizing the utilization of available resources and promoting renewable energy sources penetration. The objective is clear: to leverage AI-driven optimization techniques to their fullest extent, fostering a paradigm shift towards sustainable energy practices while simultaneously reducing costs and carbon emissions. As we pioneer this transformative approach to microgrid management, we pave the way for a cleaner, greener future, where every microgrid becomes a catalyst for positive change in its community and beyond.
Conclusion
This work examines the application of artificial intelligence (AI) approaches to enhance microgrid setups and energy management. It focuses on reducing costs and CO2 emissions while preserving a reliable power supply for a 100-home neighborhood. To achieve this aim, we demonstrated the efficacy of using GA, and ABC Algorithms in determining an optimal energy balance. Moreover, we employed diverse factors like solar and wind energy, energy consumption patterns, and battery storage to identify the most suitable energy configuration to meet the predefined objectives.
This study also focuses on reducing costs, emissions curtailment, and maximizing renewable energy sources using AI-driven optimization. Owing to the role of microgrids in intelligently optimizing decisions, minimizing waste, and championing environmental sustainability. Thus, the findings underscore the transformative potential of AI methodologies in reshaping energy management and microgrid modeling. By harnessing the power of GA, ABC algorithm, and ACO, microgrids gain access to adaptable and effective solutions, bolstering their resilience and responsiveness to dynamic energy demands. This, in turn, accelerates microgrids towards higher levels of efficiency, sustainability, and cost-effectiveness, contributing significantly to the global pursuit of cleaner and more sustainable energy solutions for communities worldwide. To sum up, the findings of the study have far-reaching consequences for the evolution of smart grid technologies and the implementation of renewable energy sources.
Our study demonstrates the transformative potential of AI-driven optimization in enhancing the efficiency, sustainability, and cost-effectiveness of microgrid systems. By utilizing Genetic Algorithm (GA), Artificial Bee Colony (ABC) algorithm, and Ant Colony Optimization (ACO) algorithm, we have successfully identified the optimal energy resource mix for a 100-home subdivision, resulting in substantial cost savings and emissions reduction. Moreover, the application of AI techniques has empowered the microgrid to make intelligent decisions, optimize renewable energy utilization, and mitigate waste, thereby promoting environmental sustainability alongside economic benefits. These findings underscore the importance of embracing AI-driven approaches in microgrid management to address the growing demand for clean and resilient energy solutions in a rapidly changing world.
Application of AI-based optimization techniques in microgrid energy management has brought notable benefits. Through an intelligent selection of renewable sources and batteries, the system reduced the cost by 67% from 0.115 USD/kWh to 0.037 USD/kWh. This not only conserves economic expenditure but also minimizes CO2 emissions by X% (give an estimation). These results confirm the viability of AI-based energy management to achieve cost-effective and sustainable microgrid solutions.
As a future endeavor, the integration of this study with carbon reduction is a good way forward. By exploring methods that reconcile cost-effectiveness and environmental sustainability, significant carbon footprint reductions can be achieved without compromise on economic feasibility. This two-pronged focus not only meets sustainable development goals but also encourages the adoption of cleaner means across industries to a greener and more sustainable future.
Data availability
The datasets used and/or analysed during the current study is available from Prof. Badre BOSSOUFI through badre.bossoufi@usmba.ac.ma.
Abbreviations
- Pm:
-
The output mechanical power of the turbine (W)
- cp :
-
The Performance turbine coefficient
- P:
-
The density of air (kg/m3)
- A:
-
The swept area of the turbine (m2)
- wind:
-
The speed of wind (m/s)
- λ:
-
Tip speed ratio of the rotor blade tip speed to wind speed
- β:
-
The pitch angle of the blade (deg)
- A:
-
The area of PV in m2
- Gh(t):
-
The irradiance in w/m2
- r:
-
The performance of the PV panel
- P:
-
The power that needs to be dissipated by the dump load (in watts)
- V:
-
The voltage of the electrical system (in volts)
- R:
-
The resistance of the dump load (in ohms)
- GA:
-
Genetic Algorithm
- ABC:
-
Artificial Bee Colony
- ACO:
-
Ant Colony Optimization
References
Hoummadi, M. A. et al. Survey of sustainable energy sources for microgrid energy management: A review. Energies 16, 3077. https://doi.org/10.3390/en16073077 (2023).
Zheng, D. D., Madani, S. S. & Karimi, A. Data-driven distributed online learning control for islanded microgrids. IEEE J. Emerg. Sel. Top. Circ. Syst. 12 (1), 194–204. https://doi.org/10.1109/JETCAS.2022.3152938 (2022).
Liang, Z., Dong, Z., Li, C., Wu, C. & Chen, H. A data-driven convex model for hybrid microgrid operation with bidirectional converters. IEEE Trans. Smart Grid 14 (2), 1313–1316. https://doi.org/10.1109/TSG.2022.3193030 (2023).
Tazay, A. F., Samy, M. M. & Barakat, S. A techno-economic feasibility analysis of an autonomous hybrid renewable energy sources for university building at Saudi Arabia. J. Electr. Eng. Technol. 15, 2519–2527. https://doi.org/10.1007/s42835-020-00539-x (2020).
Hoummadi, M. A. et al. A review of constraints and adjustable parameters in microgrids for cost and carbon dioxide emission reduction. Heliyon (2024).
Yamegueu, D., Azoumah, Y., Py, X. & Zongo, N. Experimental study of electricity generation by solar PV/diesel hybrid systems without battery storage for off-grid areas. Renew. Energy 36, 1780–1787 (2011).
Shaahid, S. M. & Elhadidy, M. A. Prospects of autonomous/stand-alone hybrid (photo-voltaic + diesel + battery) power systems in commercial applications in hot regions. Renew. Energy 29, 165–177 (2004).
Kazem, H., Khatib, T. & Sopian, K. Sizing of a standalone photovoltaic/battery system at minimum cost for remote housing electrification in Sohar, Oman. Energy Build. 61, 108–115 (2013).
Abouzahr, I. & Ramakumar, R. Loss of power supply probability of stand-alone wind electric conversion system. IEEE Trans. Energy Convers. 5 (3), 445–451 (1990).
Elhadidy, M. A. & Shaahid, S. M. Role of hybrid (wind + diesel) power systems in meeting commercial loads.
Elhadidy, M. A. & Shaahid, S. Optimal sizing of battery storage for hybrid (wind + diesel) power systems. Renew. Energy 18, 77–86 (1999).
Yang, H., Zhou, W., Lu, L. & Fang, Z. Optimal sizing method for a stand-alone hybrid solar-wind system with LPSP technology by using genetic algorithm. Sol. Energy 82, 354–367 (2008).
Bhattacharjee, S. & Acharya, S. PV-wind hybrid power option for a low wind topography. Energy Convers. Manag. 89, 942–954 (2015).
Tina, G., Gagliano, S. & Raiti, S. Hybrid solar/wind power system probabilistic modeling for long-term performance assessment. Sol. Energy 80, 578–588 (2006).
Wu, K., Zhou, H., An, S. & Huang, T. Optimal coordinate operation control for wind photovoltaic-battery storage power generation units. Energy Convers. Manag. 90, 466–475 (2015).
Patil, A. B. K., Saini, R. P. & Sharma, M. P. Integrated renewable energy systems for off-grid rural electrification of remote areas. Renew. Energy 35 (6), 1342–1349 (2010).
Singh, J., Panesar, B. S. & Sharma, S. K. Energy potential through agricultural biomass using geographical information system: A case study of Punjab. Biomass Bioenergy 32, 301–317 (2008).
Bhattacharjee, S. & Dey, A. Techno-economic performance evaluation of grid integrated PV-biomass hybrid power generation for rice mill. Sustain. Energy Tech. Assess. 7, 6–16 (2014).
Singh, S. & Kaushik, S. C. Optimal sizing of grid integrated hybrid PV-Biomass energy system using artificial bee colony algorithm. IET Renew. Power Gen. 10 (5), 642–650 (2016).
Mahapatra, S. & Dasappa, S. Rural electrification: Optimizing the choice between decentralized renewable energy sources and grid extension. Energy Sustain. Dev. 16 (2), 146–154 (2012).
Nehrir, M. H. et al. A review of hybrid renewable/alternative energy systems for electric power generation. IEEE Trans. Sustain. Energy. 2 (4), 392–403 (2011).
Balamurugan, P., Ashok, S. & Jose, T. L. Optimal operation of biomass/wind/pv hybrid energy system for rural areas. Int. J. Green Energy 6, 104–116 (2009).
Rahman, M. W., Hossain, S., Aziz, A. & Mohammed, F. M. IEEE,. The prospect of decentralized hybrid power generation in Bangladesh using biomass, solar PV & wind. In: 3rd International conference on the development of renewable energy technology. Dhaka, 2–7 (2010).
Gao, J., Li, Y., Wang, B. & Wu, H. Multi-microgrid collaborative optimization scheduling using an improved multi-agent soft actor-critic algorithm. Energies 16, 3248. https://doi.org/10.3390/en16073248 (2023).
Garrido, H., Vendeirinho, V. & Brito, M. C. Feasibility of KUDURA hybrid generations system in Mozambique: Sensitivity study of the small-scale PV-biomass and PV-diesel power generation hybrid system. Renew. Energy 92, 47–57 (2016).
Gao, J., Li, Y., Wang, B. & Wu, H. Multi-microgrid collaborative optimization scheduling using an improved multi-agent soft actor-critic algorithm. Energies 16, 3248. https://doi.org/10.3390/en16073248 (2023).
Borowy, B. S. & Salameh, Z. M. Methodology for optimally sizing the combination of a battery bank and PV array in a wind/pv hybrid system. IEEE Trans. Energy Convers. 11 (2), 367–375 (1996).
Diaf, S., Diaf, D., Belhamel, M., Haddadi, M. & Louche, A. A methodology for optimal sizing of autonomous hybrid PV/wind system. Energy Policy 35, 5708–5718 (2007).
Chedid, R. & Rahman, S. Unit sizing and control of hybrid wind-solar power systems. IEEE Trans. Energy Convers. 12 (1), 79–85 (1997).
Gavanidou, E. S. & Bakirtzis, A. G. Design of a standalone system with renewable energy sources using trade-off methods. IEEE Trans. Energy Convers. 7 (1), 42–48 (1992).
Nafeh, A. E. S. Optimal economical sizing of a PV-wind hybrid energy system using genetic algorithm. Int. J. Green Energy 8, 25–43 (2011).
Ho, W. S., Hashim, H. & Lim, J. S. Integrated biomass and solar town concept for a smart eco-village in Iskandar Malaysia (IM). Renew. Energy 69, 190–201 (2014).
Upadhyay, S. & Sharma, M. P. Development of a hybrid energy system with a cycle charging strategy using particle swarm optimization for a remote area in India. Renew. Energy 77, 586–598 (2015).
Stamatellos, G. & Stamatelos, T. Study of an nZEB office building with storage in electric vehicle batteries and dispatch of a natural gas-fuelled generator. Energies 16, 3195. https://doi.org/10.3390/en16073195 (2023).
Chaouachi, A., Kamel, R. M., Andoulsi, R. & Nagasaka, K. Multiobjective intelligent energie management for a microgrid. IEEE Trans. Ind. Electron. 60, 1688–1699 (2013).
Kumar, R., Gupta, R. A. & Bansal, A. K. Economic analysis and power management of a stand-alone wind/photovoltaic hybrid energy system using bio geography-based optimization algorithm. Swarm Evol. Comput. 8, 33–43 (2013).
Karaboga, D. & Basturk, B. A powerful and efficient algorithm for numerical function optimization: Artificial bee colony (ABC) algorithm. J. Global Optim. 39 (3), 459–671 (2007).
National Renewable Energy Laboratory (USA). http://www.nrel.gov/homer [last accessed April 2016].
Malheiro, A., Castro, P. M., Lima, R. M. & Estanqueiro, A. Integrated sizing and scheduling of wind/pv/diesel/battery isolated systems. Renew. Energy. 83, 646–657 (2015).
Nivedha, R. R., Singh, J. G. & Ongsakul, W. PSO based economic dispatch of a hybrid microgrid system. In Proceedings of the 4th International Conference on Power, Signals, Control and Computation (EPSCICON 2018), Thrissur, India, 6–10 January 2018 (2018).
Abedini, M., Moradi, M. H. & Hosseinian, S. M. Optimal management of microgrids including renewable energy sources using GPSO-GM algorithm. Renew. Energy 90, 430–439 (2016).
Nikmehr, N. & Najafi-Ravadanegh, S. Optimal operation of distributed generations in microgrids under uncertainties in load and renewable power generation using heuristic algorithm. IET Renew. Power Gen. 9, 982–990 (2015).
Marzband, M., Azarinejadian, F., Savaghebi, M. & Guerrero, J. M. An optimal energy management system for islanded microgrids based on multiperiod artificial bee colony combined with Markov chain. IEEE Syst. J. 11, 1712–1722 (2015).
Ei-Bidairi, K. S., Nguyen, H. D., Jayasinghe, S. D. G. & Mahmoud, T. S. Multiobjective intelligent energy management optimization for grid-connected microgrids. In Proceedings of the IEEE International Conference on Environment and Electrical Engineering and 2018 IEEE Industrial and Commercial Power Systems Europe (EEEIC/I&CPS Europe), Palermo, Italy, 12–15 June 2018 (2018).
Papari, B., Edrington, C. S., Vu, T. V. & Diaz-Franco, F. A heuristic method for optimal energy management of DC microgrid. In Proceedings of the IEEE Second International Conference on DC Microgrids (ICDCM), Nuremburg, Germany, 27–29 June 2017 (2017).
Gupta, A., Saini, R. P. & Sharma, M. P. Steady-state modeling of the hybrid energy system for off-grid electrification of cluster of villages. Renew. Energy 35 (2), 520–535 (2010).
Nouni, M. R., Mullick, S. C. & Kandpal, T. C. Biomass gasifier projects for decentralized power supply in India: A financial evaluation. Energy Policy 35 (2), 1373–1385 (2007).
Karaboga, D. & Akay, B. A comparative study of artificial bee colony algorithm. Appl. Math. Comput. 214 (1), 108–132 (2009).
Ilyushin, P., Volnyi, V., Suslov, K. & Filippov, S. State-of-the-art literature review of power flow control methods for low-voltage AC and AC-DC microgrids. Energies 16, 3153. https://doi.org/10.3390/en16073153 (2023).
Garbarino, M. et al. Extended operating region algorithm for PV array connected to microgrids for wide frequency and amplitude variations. Energies 16, 3157. https://doi.org/10.3390/en16073157 (2023).
Das, B. K., Al-Abdeli, Y. M. & Kothapalli, G. Effect of load following strategies, hardware, and thermal load distribution on stand-alone hybrid CCHP systems. Appl. Energy 220, 735–753 (2018).
Luna, A. C. et al. Online energy management systems for microgrids: Experimental validation and assessment framework. IEEE Trans. Power Electron. 33, 2201–2215 (2017).
Chalise, S., Sternhagen, J., Hansen, T. M. & Tonkoski, R. Energy management of remote microgrids considering battery lifetime. Electr. J. 29, 1–10 (2016).
Li, H., Eseye, A. T., Zhang, J. & Zheng, D. Optimal energy management for industrial microgrids with high-penetration renewables. Prot. Control Mod. Power Syst. 2, 12 (2017).
Author information
Authors and Affiliations
Contributions
M.A.H: Conceptualization, Methodology, Software, Data curation, Writing- Original draft preparation. M.K, A.A: Visualization, Investigation. B.B: Supervision, Software. T.A.H.A, M.A: Validation, Writing- Reviewing and Editing, Funding. All authors reviewed the manuscript.
Corresponding authors
Ethics declarations
Competing interests
The authors declare no competing interests.
Additional information
Publisher’s note
Springer Nature remains neutral with regard to jurisdictional claims in published maps and institutional affiliations.
Rights and permissions
Open Access This article is licensed under a Creative Commons Attribution 4.0 International License, which permits use, sharing, adaptation, distribution and reproduction in any medium or format, as long as you give appropriate credit to the original author(s) and the source, provide a link to the Creative Commons licence, and indicate if changes were made. The images or other third party material in this article are included in the article’s Creative Commons licence, unless indicated otherwise in a credit line to the material. If material is not included in the article’s Creative Commons licence and your intended use is not permitted by statutory regulation or exceeds the permitted use, you will need to obtain permission directly from the copyright holder. To view a copy of this licence, visit http://creativecommons.org/licenses/by/4.0/.
About this article
Cite this article
Hoummadi, M.A., Bossoufi, B., Karim, M. et al. Advanced AI approaches for the modeling and optimization of microgrid energy systems. Sci Rep 15, 12599 (2025). https://doi.org/10.1038/s41598-025-96145-w
Received:
Accepted:
Published:
DOI: https://doi.org/10.1038/s41598-025-96145-w