Next Article in Journal / Special Issue
Bellman–Genetic Hybrid Algorithm Optimization in Rural Area Microgrids
Previous Article in Journal
Optimizing the Layout of a Ground Source Heat Pump System with a Groundwater–Thermal Coupling Model
Previous Article in Special Issue
Roadway Embedded Smart Illumination Charging System for Electric Vehicles
 
 
Font Type:
Arial Georgia Verdana
Font Size:
Aa Aa Aa
Line Spacing:
Column Width:
Background:
Article

A Novel Hybrid Imperialist Competitive Algorithm–Particle Swarm Optimization Metaheuristic Optimization Algorithm for Cost-Effective Energy Management in Multi-Source Residential Microgrids

by
Ssadik Charadi
1,2,*,
Houssam Eddine Chakir
3,
Abdelbari Redouane
4,
Abdennebi El Hasnaoui
4 and
Brahim El Bhiri
2
1
Electronics Power and Control Team, Mohammadia School of Engineers (EMI), Mohammed V University, Rabat 10000, Morocco
2
SMARTiLab, Moroccan School of Engineering Sciences (EMSI), Rabat 10000, Morocco
3
EEIS-Lab, ENSET Mohammedia, Hassan II University, Casablanca 20000, Morocco
4
Electromechanical Department, Ecole des Mines de Rabat (ENSMR), Rabat 10000, Morocco
*
Author to whom correspondence should be addressed.
Energies 2023, 16(19), 6896; https://doi.org/10.3390/en16196896
Submission received: 3 August 2023 / Revised: 19 August 2023 / Accepted: 31 August 2023 / Published: 29 September 2023

Abstract

:
The integration of renewable sources and energy storage in residential microgrids offers energy efficiency and emission reduction potential. Effective energy management is vital for optimizing resources and lowering costs. In this paper, we propose a novel approach, combining the imperialist competitive algorithm (ICA) with particle swarm optimization (PSO) as ICA-PSO to enhance energy management. The proposed energy management system operates in an offline mode, anticipating data for the upcoming 24 h, including consumption predictions, tariff rates, and meteorological data. This anticipatory approach facilitates optimal power distribution among the various connected sources within the microgrid. The performance of the proposed hybrid ICA-PSO algorithm is evaluated by comparing it with three selected benchmark algorithms, namely the genetic algorithm (GA), ICA, and PSO. This comparison aims to assess the effectiveness of the ICA-PSO algorithm in optimizing energy management in multi-source residential microgrids. The simulation results, obtained using Matlab 2023a, provide clear evidence of the effectiveness of the hybrid ICA-PSO algorithm in achieving optimal power flows and delivering substantial cost savings. The hybrid algorithm outperforms the benchmark algorithms with cost reductions of 4.47%, 14.93%, and 26% compared to ICA, PSO, and GA, respectively. Furthermore, it achieves a remarkable participation rate of 50.6% for renewable resources in the energy mix, surpassing the participation levels of the ICA (42.88%), PSO (40.51%), and GA (38.95%). This research contributes to the advancement of power flow management techniques in the context of multi-source residential microgrids, paving the way for further research and development in this field.

1. Introduction

1.1. Problem Statement and Motivation

The increasing global demand for clean and sustainable energy solutions has led to the rapid development of residential microgrids (MGs) [1]. These localized power systems integrate renewable energy sources (RESs), energy storage systems (ESSs), and grid connectivity to provide reliable and efficient electricity supply to residential communities [2]. The management of power flows in such MGs is critical to ensuring optimal utilization of available resources, minimizing operating costs, and enhancing system reliability [3].
In recent years, optimization techniques have emerged as effective tools for power flow management in MGs [4]. These techniques aim to find the best operating conditions that balance the generation, consumption, and storage of electricity within the MG [4]. Among various optimization methods, both the ICA and PSO have shown great potential in efficiently exploring the solution space and converging towards near-optimal solutions [4,5,6]. The ICA is known for its ability to effectively explore diverse solution spaces and find globally optimal solutions, while the PSO algorithm excels at exploiting local search capabilities and converging towards near-optimal solutions.
Shaheen et al. [7] proposed the gorilla troops optimization technique (GTOT) for multi-objective optimal power flow in electric power systems (EPSs). The GTOT emulates gorilla group behaviors, achieving efficient solutions for cost, losses, and pollutants optimization. Evaluation on standard and practical EPSs demonstrated the GTOT’s effectiveness. Xu et al. [8] suggested a hierarchical energy management system for multi-source multi-product microgrids, combining traditional scheduling with a hierarchical control structure. This system efficiently manages thermal, gas, and electrical systems on different time scales, enhancing microgrid operation and interactions among energy sources. Roy et al. [9] introduced the RFCRO hybrid algorithm, combining random forest and coral reefs optimization, to optimize energy flow management in grid-connected microgrids. The algorithm targeted cost reductions by optimizing multiple fitness functions simultaneously, showcasing the potential of hybrid techniques for efficient microgrid power flow management. Moradi et al. [10] developed an optimization technique for photovoltaic–wind hybrid systems with battery storage in microgrids. Their approach aimed to enhance energy efficiency, minimize costs, and reduce environmental impact by employing predictive data and multi-objective optimization, including a demand response program. Abdelkafi et al. [11] proposed an assisted management strategy for a standalone multi-source power system, including wind and photovoltaic generators, a super-capacitor, and a diesel generator. The strategy aimed to optimize power flow, increase reliability, and protect the energy storage system’s longevity. Simulation results confirmed its effectiveness in achieving efficient energy production and consumption balance.
On the other hand, Chen et al. [12] proposed a hybrid ICA-PSO algorithm for solving the complex multi-area economic dispatch problem. This approach combines the advantages of the ICA and PSO. The algorithm was effective in optimizing power system economic load dispatch, especially in large-scale scenarios, surpassing recent methods. Ghodrati et al. [13] combined the ICA and PSO for global optimization. The hybrid approach introduces an ‘Independent’ country type to enhance collaboration and uses swarm intelligence from PSO. The method’s performance is evaluated against benchmark functions and compared with standard PSO and ICA algorithms. Idoumghar et al. [14] proposed a hybrid ICA–PSO algorithm for mono-objective and multi-objective problems. It combines the ICA and PSO, enhancing exploration, maintaining diversity, and improving solutions. The algorithm outperforms benchmark functions in optimizing different problems.
Moreover, several studies have focused on various aspects of energy flow management in multi-source MGs [15,16,17]. One common approach is the use of metaheuristic optimization techniques to achieve efficient power flow allocation and resource utilization. These techniques include GAs [18,19,20,21], PSO [22,23,24], and the ICA [5,25,26,27,28]. They aim to optimize the allocation of power generation, storage, and consumption within the MG, considering factors such as demand fluctuations, RES availability, and storage capacity.
Furthermore, researchers have investigated the integration of RESs, such as photovoltaic (PV) and wind turbine systems (WTS) into residential MGs [29,30,31]. PV and WTS have gained significant attention due to their environmentally friendly nature and potential for reducing dependency on the main power grid. Studies have explored strategies for maximizing PV and WTS energy utilization, minimizing grid dependency, and managing the intermittency of RESs through storage systems [32,33]. Recent studies on energy management in MGs, employing a variety of metaheuristic methods, are summarized in Table 1.
Our algorithm introduces a novel hybrid ICA-PSO approach for offline energy flow management in multi-source microgrids, drawing inspiration from the latest developments in the field. The novelty of our choice lies in its uncharted potential within this specific context. Our distinctive formulation takes on the intricacies posed by diverse energy sources, consumption patterns, and tariff rates. Concentrating on the offline mode, we tackle real-world energy management complexities with a focus on predictive planning. Notably, our algorithm delivers swift execution times, a benefit facilitated by the synergy of hybridization.

1.2. Contributions

This paper presents a comprehensive study on the optimization of power flow management in residential MGs using the hybrid ICA-PSO algorithm.
The main contributions of this article can be summarized as follows:
  • The proposal of a novel hybrid metaheuristic algorithm, named ICA-PSO, for optimizing microgrid energy management, which combines the exploration capabilities of the ICA with the exploitation capabilities of PSO.
  • Development of a comprehensive model that considers the balance between energy demand and generation, as well as the constraints associated with power generation and ESS units.
  • A showcase of the system’s ability to effectively manage and maintain the ESS’s state of charge (SOC).
  • A comparison of the participation of renewable energies in the total energy generation within the MG using benchmark algorithms.
  • The investigation of the ICA-PSO algorithm’s performance in minimizing overall cost, and its performance compared with benchmark algorithms.

1.3. Article Organization

To support our research, we conduct a review of the existing literature on metaheuristic-based optimization techniques for power flow management in MGs. The literature review provides valuable insights into the current state of the art, identifies research gaps, and establishes the significance of our proposed approach.
The remaining sections of this paper are structured as follows: Section 2 provides a comprehensive overview of the materials and methods utilized in this research, including a detailed description of the MG components and the optimization methodology employed. In Section 3, we present the simulation results and conduct a thorough performance analysis, comparing the performance of the ICA-PSO hybrid algorithm with benchmark methods and showcasing the achieved cost savings. Section 4 offers a concise discussion of the simulation findings. Finally, Section 5 concludes the paper by summarizing the key contributions of this study and underscoring the significance of our proposed approach.

2. Materials and Methods

2.1. Description of MG Components

In this section, we will delve into the various components of the microgrid (MG) that collaboratively ensure a smooth and dependable power supply. The PV system harnesses sunlight to generate electrical energy, serving as a RES. The MG also incorporates a WTS to harness wind energy, and an ESS is employed to store excess energy and balance power supply and demand within the MG. Loads represent the electrical devices and appliances that consume power, such as residential appliances and lighting systems. The MG is connected to the main power grid, enabling the import or export of electricity and ensuring a dependable power supply. Power conversion and control devices, including AC/DC converters, facilitate efficient power transfer and control between different components. A control and monitoring system oversees the MG’s operation, optimizing power flow and ensuring system performance. Together, these components enable the MG to effectively generate, store, and distribute electrical energy, contributing to a sustainable and reliable power infrastructure.
Figure 1 illustrates the configuration and interconnection of the MG components mentioned above, showcasing how they work together to enable efficient and reliable power supply.

2.2. Formulation of the Energy Flow Optimization Problem

2.2.1. Objective Function

The objective function aims to minimize the operating costs while ensuring reliable and efficient energy flow. It typically considers factors such as the cost of grid electricity and the ESS State of health (SOH) variation. The objective function may also incorporate environmental factors, such as carbon emissions, to promote sustainability. Equation (1) represents the objective function, which captures the optimization criteria for the energy flow management in a MG. Nomenclature provides the abbreviations used in this equation.
M i n   f ( X ) = 0.33 h 24 h C E S S Δ S O H + C G r i d P G r i d + C   C O 2

2.2.2. Power Balance Equation

The power balance equation ensures that the total power generated is equal to the total power consumed by the loads and stored in the ESS. Equation (2) represents the balance equation, which ensures the equilibrium between power generation, power consumption, and ESS within the MG. By satisfying this equation, the MG operates in a stable and self-sustaining manner, ensuring that the power supply matches the power demand at all times. The abbreviations used in the equation are defined in Nomenclature.
P P V ( t ) + P W T S ( t ) + P G r i d ( t ) = P L o a d ( t ) + P E S S ( t )

2.2.3. Power Generation Limits

The power generation limits are addressed through several equations in this section. Equation (3) outlines the restrictions for the main power grid, encompassing both its upper and lower power output bounds. Additionally, Equation (4) imposes constraints on the PV system, defining its maximum power generation capacity with consideration for factors such as solar intensity and system efficiency. Equation (5) further establishes limitations for the WTS, incorporating factors like wind speed and turbine specifications to determine the maximum attainable power output from the wind resource. The abbreviations employed in these equations are detailed in Nomenclature for reference.
P G r i d _ m i n ( t ) P G r i d ( t ) P G r i d _ m a x ( t )
0 P P V P P V m a x
0 P W T P W T m a x

2.2.4. ESS Constraints

Given their role as storage entities, batteries are governed by specific constraints related to charging, discharging, and ESS capacity. Equation (6) delineates the range within which the SOC of the ESS must be maintained within the multi-source MG. Equation (7) further enforces limitations on the rate of SOC change, preventing abrupt variations. Moreover, Equation (8) safeguards the ESS’s overall well-being and operational effectiveness over time. The abbreviations utilized in these equations are elaborated in Nomenclature for clarity.
S o C m i n S o C ( k ) S o C m a x
Δ S o C m i n Δ S o C ( k ) Δ S o C m a x
S o H ( k ) S o H m i n

2.3. A Hybrid ICA-PSO Optimization Algorithm

2.3.1. Hybrid ICA-PSO Approach: Formulation

The optimization algorithm employed in this study is a hybrid approach combining the ICA and the PSO, referred to as ICA-PSO. The hybrid ICA-PSO algorithm is utilized to optimize the power flows in residential MGs, aiming to minimize operating costs and enhance system performance.
Figure 2a presents a flowchart illustrating the classic ICA algorithm, depicting the sequential steps involved in the algorithm. Figure 2b shows a flowchart specifically designed for the proposed hybrid ICA-PSO algorithm. This flowchart represents the modified steps and the integration of the PSO technique within the ICA framework.
The main steps of the proposed hybrid algorithm include:
Step 1: Initialization step, where random solutions are generated within the search space. These solutions represent the initial empires in the algorithm.
Step 2: Assimilation phase, where colonies move towards imperialist states in different directions. This step allows for the exploration of the solution space and the identification of potential optimal solutions. Figure 3a visually illustrates the formation of initial empires in the hybrid ICA-PSO algorithm. It showcases the distribution of colonies around the respective imperialists, highlighting the initial configuration of the algorithm.
Step 3: The revolution phase takes place, introducing random changes in the characteristics of some countries within the empires. This step adds diversity to the search process and helps in escaping local optima. Figure 3b demonstrates the exchange of positions between colonies and imperialists. It illustrates the process where a colony with a superior position replaces the existing imperialist, aiming to improve the overall solution quality.
Step 4: The algorithm incorporates imperialistic competition, where all imperialists compete to possess colonies from each other. This competition enhances the exploration and exploitation of the solution space, leading to improved optimization results. Figure 3c showcases the positions of empires and colonies after the exchange, demonstrating the impact of competition on the distribution of solutions.
Step 5: To refine the solutions and enhance their accuracy, the hybrid ICA-PSO algorithm incorporates a local search technique using PSO. This technique allows for the fine-tuning of solutions within each empire, improving the convergence towards optimal solutions.
Step 6: The hybrid ICA-PSO algorithm iteratively repeats these steps until a stopping condition is met, such as reaching a maximum number of iterations or achieving a desired level of convergence. At the end of the algorithm, the optimal power flows that minimize operating costs and enhance system performance are obtained.
The rationale for adopting the hybrid ICA-PSO algorithm in microgrid optimization lies in its ability to navigate the intricacies of multi-source energy systems. By capitalizing on the global exploration strengths of the ICA and the local optimization proficiency of PSO, the algorithm tackles challenges associated with efficient power distribution, resource utilization, and cost-effectiveness within microgrids.

2.3.2. Hybrid ICA-PSO Approach: Advantages

In our study, we have chosen a hybrid ICA-PSO approach to solve the power flow optimization problem. Unlike existing methods, the ICA-PSO algorithm has a special advantage: it can handle various types of objective functions and constraints, whether they are linear or not, differential or not, convex or concave, and so on. Additionally, it does not require a specific math solver from the start.
How well this approach works depends on how we choose the “discretization step”. Smaller steps lead to higher-quality optimal solutions, but they also need more computing power and memory. It is like finding the balance between obtaining the best results and using more resources. Even though choosing the right step can be tricky sometimes, the ICA-PSO method remains superior here because we are not trying to perform the optimization in real time; we are planning the best solution for day N based on what happened on the previous day, N − 1.

3. Simulation Results

3.1. Simulation Setup

The performance evaluation of the proposed hybrid ICA-PSO-based power flow optimization approach was conducted through simulations using a Dell OptiPlex 7070 Workstation. The workstation was equipped with 16 GB of RAM memory and an Intel(R) Core (TM) i7-9700 CPU, operating at 3 GHz. The simulations were carried out in MATLAB 2023a, utilizing a time step of 20 min, which corresponds to 72 samples per day. This rigorous evaluation aimed to assess the algorithm’s effectiveness in optimizing energy utilization and load management in residential MGs. It is important to note that the PV and WTS cost was considered as zero or free of charge.
Regarding the assumption of zero cost for PV and WTS sources, it is important to note that this simplification was initially made to streamline the analysis and prioritize the optimization process itself. However, the assumption’s potential impact on the results should be acknowledged. While this assumption facilitates the focus on optimization of outcomes, we recognize that in real-world scenarios, actual costs associated with PV and WTS sources significantly influence the economic feasibility of the proposed solutions. Therefore, in future research, the consideration of realistic costs for these sources will be crucial to provide a more accurate depiction of the cost-effectiveness of the optimization results.
The results obtained from the simulations are thoroughly discussed, providing valuable insights into the performance and practical applicability of the hybrid ICA-PSO-based system.
Table 2 provides an overview of the control parameters employed in the simulation for the hybrid ICA-PSO and benchmark optimization algorithms.

3.2. Simulation Results and Analysis

3.2.1. Simulation Results

In the simulation, the load profile considered is representative of a residence with 100 apartments in France [46]. Figure 4 presents the load profile of the considered neighborhood, showcasing the daily variation in electricity consumption. The load profile represents the pattern of electricity demand throughout a typical day, capturing the peak and off-peak periods of usage.
The simulation results presented in this study provide valuable insights into the performance of our hybrid ICA-PSO algorithm in a multi-source MG system. Figure 5 illustrates the active power balance of the MG, showcasing the effectiveness of our ICA-PSO-based algorithm in ensuring a stable and optimized power distribution among the various sources. To evaluate the overall performance of our algorithm, Figure 6 compares the daily SOC of the MG system using our hybrid ICA-PSO algorithm and comparing with benchmark algorithms. The results demonstrate the superior performance of our algorithm, as it achieves higher and more consistent SOC levels throughout the day. Figure 7 provides a comprehensive comparison of the daily cost evolution between our hybrid ICA-PSO-based algorithm and benchmark algorithms. The results clearly indicate the cost-saving potential of our algorithm, as it consistently outperforms the benchmark algorithms in achieving cost reductions. Table 3 presents the daily energy participation of each MG element using our hybrid ICA-PSO algorithm. It showcases the contributions of different elements to the overall energy mix and highlights the efficient utilization of available resources facilitated by our algorithm. For a broader perspective on the energy mix, Figure 8 compares the energy source contributions of different algorithms. Our hybrid ICA-PSO algorithm demonstrates its capability to significantly increase the participation of renewable resources in the energy mix, surpassing the performance of benchmark algorithms.
These simulation results provide empirical evidence of the effectiveness and superiority of our hybrid ICA-PSO algorithm in achieving optimal power balance, cost reductions, and enhanced utilization of renewable resources within the MG system.

3.2.2. Statistical Analysis of Numerical Results

We assess the performance of our hybrid algorithm through the utilization of four widely recognized benchmark functions. Subsequently, we conduct a comparative analysis between the outcomes generated by our algorithm and those derived from the benchmark methods (PSO, ICA, and GA).
An examination of the numerical results presented in Table 4 reveals the following findings:
  • All three algorithms effectively address the f 1 problem, with our algorithm achieving the most optimal solutions.
  • The f 2 problem is accurately solved by all algorithms, although the ICA-PSO hybrid algorithm exhibits a slightly superior performance compared to the other algorithms.
  • In the case of highly multimodal functions such as Ackley’s and Rastrigin’s, the ICA-PSO hybrid algorithm demonstrates a clear superiority over the other algorithms.

4. Discussion

4.1. Power Balance

Figure 5 depicts the balance of active power within the residential MG, showcasing the close alignment between power generation and demand. The plot clearly demonstrates that the generated power effectively meets the system’s active power requirements, ensuring a balanced and reliable operation. This observation underscores the successful management and control of power flow within the MG, where power generation is carefully coordinated to meet consumption needs. The results presented in Figure 5 validate the efficient regulation of active power supply, thereby maintaining a stable and sustainable energy supply within the MG.

4.2. Improved SOC

Figure 6 illustrates a comparison of the SOC of the ESS between the hybrid ICA-PSO algorithm and the benchmark algorithms. The results clearly demonstrate that the hybrid ICA-PSO algorithm outperforms the other algorithms in terms of adaptability and efficiency in maintaining the SOC of the ESS. By effectively utilizing a wider range of the storage system’s capacity, the hybrid ICA-PSO algorithm ensures optimal energy management and facilitates the efficient integration of RESs into the overall power system. These findings highlight the superior performance of the hybrid ICA-PSO algorithm in effectively utilizing and managing the ESS, leading to enhanced system performance and reliability.
The adaptability of the hybrid ICA-PSO algorithm enables it to dynamically adjust the charging and discharging rates of the ESS based on the fluctuating energy generation and consumption patterns. This adaptability allows for efficient balancing of power supply and demand, minimizing energy wastage and maximizing the utilization of available resources.
Moreover, the hybrid ICA-PSO algorithm’s efficient management of the ESS’s SOC contributes to the overall stability and reliability of the MG. By maintaining the SOC within an optimal range, the algorithm ensures a steady power supply to meet the energy demands of the residential community.

4.3. Participation of RESs in the MG Energy Mix

The simulation results presented in Table 3 provide hourly energy contributions of each component in the MG over a day. The results show that when using our hybrid ICA-PSO algorithm, the participation of RESs in the energy mix reaches a significant level of 50.6%. This demonstrates the effectiveness of our algorithm in maximizing the utilization of available RESs within the MG.
To further evaluate the performance of our algorithm, Figure 8 provides a comparison between our approach and benchmark algorithms. The results clearly indicate the superiority of our algorithm, as the participation levels achieved with the ICA, PSO, and GA are only 42.88%, 40.51%, and 38.95%, respectively.
These findings emphasize the efficiency and positive impact of our hybrid ICA-PSO algorithm on integrating renewable resources into the MG’s energy mix. They underscore the importance of algorithm selection in ensuring optimal participation of RESs, thereby promoting the sustainability and resilience of the MG.
These results reinforce the importance of leveraging RESs, such as PV and WTSs, in meeting the energy needs of residential communities. By maximizing the utilization of renewables and optimizing their integration into the MG, a more sustainable and cost-effective energy system can be achieved.

4.4. Cost Savings and Financial Benefits

The cost evolution demonstrated in Figure 7 illustrates the superior cost efficiency of the hybrid ICA-PSO algorithm compared to both the ICA and PSO. In terms of cost savings, the hybrid ICA-PSO algorithm achieves a remarkable 4.47% (2920 EUR/year) improvement over the ICA and a substantial 14.93% (10,950 EUR/year) improvement over PSO. Additionally, when compared to the GA algorithm, the hybrid ICA-PSO algorithm achieves an impressive cost reduction of 26% (21,900 EUR/year).
The findings highlight the significant advantage of the hybrid ICA-PSO algorithm in reducing costs in power generation systems. Its optimization capabilities in power generation and storage operations effectively balance power supply and demand, minimizing wastage and maximizing RES utilization. As a result, substantial cost reductions are achieved over time. Implementing the hybrid ICA-PSO algorithm offers significant financial benefits and improves economic viability in multi-source MGs.
Overall, these findings, summarized in Table 5, underscore the superiority of the hybrid ICA-PSO over the benchmark algorithms in terms of cost savings, adaptability, and energy efficiency. The ICA-PSO algorithm outperforms the benchmark algorithms, achieving significant reductions in operating costs and demonstrating higher adaptability in maintaining the SOC of the ESS. These advantages highlight the economic and sustainability benefits of implementing the ICA-PSO algorithm in residential MGs.

4.5. Limitations and Challenges

While the results presented in the previous sections demonstrate the effectiveness of the hybrid ICA-PSO algorithm in addressing various aspects of energy management in multi-source residential microgrids, it is important to acknowledge certain limitations and challenges inherent to this approach.

4.5.1. Assumption of Perfect Forecasting

One of the underlying assumptions of the algorithm is the availability of accurate forecasts for energy generation, consumption, and weather conditions. However, real-world scenarios often involve uncertainties and variations that can impact the reliability of these forecasts. Imperfect forecasts might lead to suboptimal decisions, affecting the overall performance of the algorithm. Incorporating robust predictive models and strategies to handle uncertainty could enhance the algorithm’s resilience in unpredictable situations.

4.5.2. Scalability and Complexity

The algorithm’s complexity may increase as the scale of the microgrid and the number of integrated energy sources grow. This could potentially affect computational efficiency and optimization time, especially for larger systems. Addressing scalability challenges and optimizing computational efficiency will be crucial to ensure the algorithm’s applicability to diverse microgrid scenarios.

4.5.3. Parameter Tuning

As with many optimization algorithms, the performance of the hybrid ICA-PSO algorithm can be influenced by the choice of algorithmic parameters. Finding the right combination of parameters for different microgrid configurations might require iterative experimentation. Automated parameter tuning techniques or sensitivity analysis can aid in optimizing the algorithm’s performance for specific cases.

4.5.4. Generalization to Dynamic Scenarios

The current implementation of the hybrid ICA-PSO algorithm assumes an offline energy management mode, based on historical data and forecasts. Adapting the algorithm to dynamic real-time scenarios, where energy generation and consumption patterns fluctuate rapidly, could pose challenges. Developing strategies to handle dynamic scenarios and integrating real-time data could be avenues for further research.

5. Conclusions

In this paper, we have investigated the application of a hybrid ICA-PSO algorithm for optimizing energy flow management in a multi-source residential MG. The results demonstrated the superiority of the hybrid algorithm in achieving cost savings and enhancing the overall performance of the MG. By considering multiple energy sources, including PV panels, WTSs, and ESSs, the proposed hybrid ICA-PSO algorithm effectively balanced power generation, consumption, and storage, leading to efficient resource utilization and reduced operating costs.
The comparison with benchmark algorithms underscores the hybrid ICA-PSO algorithm’s superiority, yielding notable cost reductions and significantly promoting the integration of renewable resources into the energy mix. Additionally, the algorithm enhances energy storage system state-of-charge management and overall energy efficiency.
However, it is important to acknowledge that no solution is without limitations. The complexities of real-world scenarios, varying weather conditions affecting renewable energy generation, and inherent uncertainties in demand forecasting might pose challenges to the algorithm’s performance. While our current study emphasizes the algorithm’s advantages, it is equally crucial to consider its limitations and potential challenges in practical applications.
Our findings contribute substantively to the domain of residential microgrid energy management. By showcasing the hybrid ICA-PSO algorithm’s prowess in achieving economic viability and sustainability, this study imparts crucial insights into the design of intelligent and resilient energy systems. Looking ahead, avenues for further exploration encompass refining the algorithm to encompass factors like demand response mechanisms and real-time pricing. Additionally, extending the algorithm’s scalability to encompass larger microgrid systems and a wider array of energy sources holds promise.

Author Contributions

Conceptualization, S.C.; Methodology, S.C.; Validation, S.C.; Formal analysis, S.C.; Investigation, S.C.; Resources, S.C.; Data curation, S.C.; Writing—original draft, S.C.; Writing—review & editing, S.C.; Visualization, H.E.C.; Supervision, H.E.C., A.R., A.E.H. and B.E.B. All authors have read and agreed to the published version of the manuscript.

Funding

This research received no external funding.

Data Availability Statement

Not applicable.

Conflicts of Interest

The authors declare no conflict of interest.

Nomenclature

C E S S Energy storage system cost (EUR)
S o H State of health of ESS (%)
S o C ESS state of charge (%)
C G r i d Grid cost (EUR)
C   C O 2 C O 2 emissions penalties (EUR)
P P V Power generated by the photovoltaic system (W)
P W T S Power generated by the wind turbine system (W)
P G r i d Power imported from the grid (W)
P L o a d Power consumed by the loads within the MG (W)
P E S S Power stored in the ESS (W)

References

  1. Erdinc, O.; Uzunoglu, M. Optimum design of hybrid renewable energy systems: Overview of different approaches. Renew. Sustain. Energy Rev. 2012, 16, 1412–1425. [Google Scholar] [CrossRef]
  2. Rousis, A.O.; Tzelepis, D.; Konstantelos, I.; Booth, C.; Strbac, G. Design of a hybrid ac/dc microgrid using homer pro: Case study on an islanded residential application. Inventions 2018, 3, 55. [Google Scholar] [CrossRef]
  3. Sarangi, S.; Sahu, B.K.; Rout, P.K. Distributed generation hybrid AC/DC microgrid protection: A critical review on issues, strategies, and future directions. Int. J. Energy Res. 2020, 44, 3347–3364. [Google Scholar] [CrossRef]
  4. Dawoud, S.M.; Lin, X.; Okba, M.I. Hybrid renewable microgrid optimization techniques: A review. Renew. Sustain. Energy Rev. 2018, 82, 2039–2052. [Google Scholar] [CrossRef]
  5. Kaveh, A.; Rahmani, P.; Eslamlou, A.D. An efficient hybrid approach based on Harris Hawks optimization and imperialist competitive algorithm for structural optimization. Eng. Comput. 2022, 38, 1555–1583. [Google Scholar] [CrossRef]
  6. Hossain, M.A.; Pota, H.R.; Squartini, S.; Abdou, A.F. Modified PSO algorithm for real-time energy management in grid-connected microgrids. Renew. Energy 2019, 136, 746–757. [Google Scholar] [CrossRef]
  7. Shaheen, A.; Ginidi, A.; El-Sehiemy, R.; Elsayed, A.; Elattar, E.; Dorrah, H.T. Developed Gorilla Troops Technique for Optimal Power Flow Problem in Electrical Power Systems. Mathematics 2022, 10, 1636. [Google Scholar] [CrossRef]
  8. Xu, X.; Jia, H.; Wang, D.; Yu, D.C.; Chiang, H.D. Hierarchical energy management system for multi-source multi-product microgrids. Renew. Energy 2015, 78, 621–630. [Google Scholar] [CrossRef]
  9. Roy, K.; Mandal, K.K.; Mandal, A.C. A hybrid RFCRO approach for the energy management of the grid connected microgrid system. Int. Trans. Electr. Energy Syst. 2020, 30, e12660. [Google Scholar] [CrossRef]
  10. Moradi, H.; Abtahi, A.; Esfahanian, M. Optimal operation of a multi-source microgrid to achieve cost and emission targets. In Proceedings of the 2016 IEEE Power and Energy Conference at Illinois (PECI), Urbana, IL, USA, 19–20 February 2016. [Google Scholar] [CrossRef]
  11. Abdelkafi, A.; Masmoudi, A.; Krichen, L. Assisted power management of a stand-alone renewable multi-source system. Energy 2018, 145, 195–205. [Google Scholar] [CrossRef]
  12. Chen, J.; Imani Marrani, H. An Efficient New Hybrid ICA-PSO Approach for Solving Large Scale Non-convex Multi Area Economic Dispatch Problems. J. Electr. Eng. Technol. 2020, 15, 1127–1145. [Google Scholar] [CrossRef]
  13. Ghodrati, A.; Malakooti, M.V.; Soleimani, M. A hybrid ICA/PSO algorithm by adding independent countries for large scale global optimization. In Proceedings of the Intelligent Information and Database Systems: 4th Asian Conference, ACIIDS 2012, LNAI, Kaohsiung, Taiwan, 19–21 March 2012; Volume 7198, pp. 99–108. [Google Scholar] [CrossRef]
  14. Idoumghar, L.; Chérin, N.; Siarry, P.; Roche, R.; Miraoui, A. Hybrid ICA-PSO algorithm for continuous optimization. Appl. Math. Comput. 2013, 219, 11149–11170. [Google Scholar] [CrossRef]
  15. Rodriguez-Diaz, E.; Anvari-Moghaddam, A.; Vasquez, J.C.; Guerrero, J.M. Multi-level energy management and optimal control of a residential DC microgrid. In Proceedings of the 2017 IEEE International Conference on Consumer Electronics (ICCE), Las Vegas, NV, USA, 8–10 January 2017; pp. 312–313. [Google Scholar] [CrossRef]
  16. Anvari-Moghaddam, A.; Rahimi-Kian, A.; Mirian, M.S.; Guerrero, J.M. A multi-agent based energy management solution for integrated buildings and microgrid system. Appl. Energy 2017, 203, 41–56. [Google Scholar] [CrossRef]
  17. Javaid, N.; Naseem, M.; Rasheed, M.B.; Mahmood, D.; Khan, S.A.; Alrajeh, N.; Iqbal, Z. A new heuristically optimized Home Energy Management controller for smart grid. Sustain. Cities Soc. 2017, 34, 211–227. [Google Scholar] [CrossRef]
  18. Zahraoui, F.; Chakir, H.E.; Et-Taoussi, M. Smart Grid Cost Optimization: Comparing Bellman and Genetic Algorithms. In Proceedings of the 2021 9th International Renewable and Sustainable Energy Conference (IRSEC), Tangier, Morocco, 23–27 November 2021. [Google Scholar]
  19. De Santis, E.; Rizzi, A.; Sadeghian, A. Hierarchical genetic optimization of a fuzzy logic system for energy flows management in microgrids. Appl. Soft Comput. J. 2017, 60, 135–149. [Google Scholar] [CrossRef]
  20. Nadeem, Z.; Javaid, N.; Malik, A.W.; Iqbal, S. Scheduling appliances with GA, TLBO, FA, OSR and their hybrids using chance constrained optimization for smart homes. Energies 2018, 11, 888. [Google Scholar] [CrossRef]
  21. Bilil, H.; Aniba, G.; Maaroufi, M. Multiobjective optimization of renewable energy penetration rate in power systems. Energy Procedia 2014, 50, 368–375. [Google Scholar] [CrossRef]
  22. Okwu, M.O.; Tartibu, L.K. Particle Swarm Optimisation. Stud. Comput. Intell. 2021, 927, 5–13. [Google Scholar] [CrossRef]
  23. Ghiasi, M. Detailed study, multi-objective optimization, and design of an AC-DC smart microgrid with hybrid renewable energy resources. Energy 2019, 169, 496–507. [Google Scholar] [CrossRef]
  24. Amer, M.; Namaane, A.; M’Sirdi, N.K. Optimization of hybrid renewable energy systems (HRES) using PSO for cost reduction. Energy Procedia 2013, 42, 318–327. [Google Scholar] [CrossRef]
  25. Sinha, S.; Chandel, S.S. Review of recent trends in optimization techniques for solar photovoltaic-wind based hybrid energy systems. Renew. Sustain. Energy Rev. 2015, 50, 755–769. [Google Scholar] [CrossRef]
  26. Rabiee, A.; Sadeghi, M.; Aghaei, J. Modified imperialist competitive algorithm for environmental constrained energy management of microgrids. J. Clean. Prod. 2018, 202, 273–292. [Google Scholar] [CrossRef]
  27. Jabari, F.; Mohammadpourfard, M.; Mohammadi-ivatloo, B. Energy efficient hourly scheduling of multi-chiller systems using imperialistic competitive algorithm. Comput. Electr. Eng. 2020, 82, 106550. [Google Scholar] [CrossRef]
  28. Mohammadi-ivatloo, B.; Rabiee, A.; Soroudi, A.; Ehsan, M. Imperialist competitive algorithm for solving non-convex dynamic economic power dispatch. Energy 2012, 44, 228–240. [Google Scholar] [CrossRef]
  29. Charadi, S.; Salbi, A.; Redouane, A.; El Hasnaoui, A. Smart Hybrid AC-DC Distribution System for Solar Electric House: Case of an Air Conditioner System. In Proceedings of the 2019 1st International Conference on Sustainable Renewable Energy Systems and Applications (ICSRESA), Tebessa, Algeria, 4–5 December 2019; pp. 8–11. [Google Scholar] [CrossRef]
  30. Charadi, S.; Chaibi, Y.; Redouane, A.; Allouhi, A.; El Hasnaoui, A.; Mahmoudi, H. Efficiency and energy-loss analysis for hybrid AC/DC distribution systems and microgrids: A review. Int. Trans. Electr. Energy Syst. 2021, 31, e13203. [Google Scholar] [CrossRef]
  31. Waiwong, S.; Damrongkulkamjorn, P. Optimal Sizing for Stand Alone Power Generating System with Wind-PV-Hydro Storage by Mixed-Integer Linear Programming. In Proceedings of the 2016 IEEE International Conference on Renewable Energy Research and Applications (ICRERA), Birmingham, UK, 20–23 November 2016. [Google Scholar]
  32. Hamza, A.; Bin Tahir, H.; Siraj, K.; Nasir, M. Hybrid AC/DC Microgrid for Residential Applications. In Proceedings of the 2019 IEEE Third International Conference on DC Microgrids (ICDCM), Matsue, Japan, 20–23 May 2019; pp. 1–5. [Google Scholar] [CrossRef]
  33. Nojavan, S.; Pashaei-Didani, H.; Mohammadi, A.; Ahmadi-Nezamabad, H. Energy management concept of AC, DC, and hybrid AC/DC microgrids. In Risk-Based Energy Management: DC, AC and Hybrid AC-DC Microgrids; Elsevier: Amsterdam, The Netherlands, 2019; pp. 1–10. [Google Scholar]
  34. Dong, J.; Nie, S.; Huang, H.; Yang, P.; Fu, A.; Lin, J. Research on economic operation strategy of CHP microgrid considering renewable energy sources and integrated energy demand response. Sustainability 2019, 11, 4825. [Google Scholar] [CrossRef]
  35. Grisales-Noreña, L.F.; Montoya, O.D.; Ramos-Paja, C.A. An energy management system for optimal operation of BSS in DC distributed generation environments based on a parallel PSO algorithm. J. Energy Storage 2020, 29, 101488. [Google Scholar] [CrossRef]
  36. Barakat, S.; Ibrahim, H.; Elbaset, A.A. Multi-objective optimization of grid-connected PV-wind hybrid system considering reliability, cost, and environmental aspects. Sustain. Cities Soc. 2020, 60, 102178. [Google Scholar] [CrossRef]
  37. Reddy, K.H.K.; Luhach, A.K.; Pradhan, B.; Dash, J.K.; Roy, D.S. A genetic algorithm for energy efficient fog layer resource management in context-aware smart cities. Sustain. Cities Soc. 2020, 63, 102428. [Google Scholar] [CrossRef]
  38. Singh, S.; Chauhan, P.; Singh, N.J. Capacity optimization of grid connected solar/fuel cell energy system using hybrid ABC-PSO algorithm. Int. J. Hydrogen Energy 2020, 45, 10070–10088. [Google Scholar] [CrossRef]
  39. Chiñas-Palacios, C.; Vargas-Salgado, C.; Aguila-Leon, J.; Hurtado-Pérez, E. A cascade hybrid PSO feed-forward neural network model of a biomass gasification plant for covering the energy demand in an AC microgrid. Energy Convers. Manag. 2021, 232, 113896. [Google Scholar] [CrossRef]
  40. Li, M.; Lei, D. An imperialist competitive algorithm with feedback for energy-efficient flexible job shop scheduling with transportation and sequence-dependent setup times. Eng. Appl. Artif. Intell. 2021, 103, 104307. [Google Scholar] [CrossRef]
  41. Abaeifar, A.; Barati, H.; Tavakoli, A.R. Inertia-weight local-search-based TLBO algorithm for energy management in isolated micro-grids with renewable resources. Int. J. Electr. Power Energy Syst. 2022, 137, 107877. [Google Scholar] [CrossRef]
  42. Aykut Fatih Güven, M.M.S. Performance analysis of autonomous green energy system based on multi and hybrid metaheuristic optimization approaches. Energy Convers. Manag. 2022, 269, 116058. [Google Scholar] [CrossRef]
  43. Dey, B.; Márquez, F.P.G.; Panigrahi, P.K.; Bhattacharyya, B. A novel metaheuristic approach to scale the economic impact of grid participation on a microgrid system. Sustain. Energy Technol. Assessments 2022, 53, 102417. [Google Scholar] [CrossRef]
  44. Babu, V.V.; Roselyn, J.P.; Sundaravadivel, P. Multi-objective genetic algorithm based energy management system considering optimal utilization of grid and degradation of battery storage in microgrid. Energy Rep. 2023, 9, 5992–6005. [Google Scholar] [CrossRef]
  45. Khalili, M.; Esmailpour, M.; Naderi, B. The production-distribution problem with order acceptance and package delivery: Models and algorithm. Manuf. Rev. 2016, 3, 18. [Google Scholar] [CrossRef]
  46. La R&D d’EDF Travaille sur des Modèles de Prévision de Consommation. Available online: https://www.edf.fr/groupe-edf/inventer-l-avenir-de-l-energie/r-d-un-savoir-faire-mondial/toutes-les-actualites-de-la-r-d/la-r-d-d-edf-travaille-sur-des-modeles-de-prevision-de-consommation (accessed on 30 August 2023).
  47. Suganthan, P.N.; Hansen, N.; Liang, J.J.; Deb, K.; Chen, Y.P.; Auger, A.; Tiwari, S. Problem Definitions and Evaluation Criteria for the CEC 2005 Special Session on Real-Parameter Optimization; Technical Report; KanGAL Report 2005005; Nanyang Technological University: Singapore; IIT: Kanpur, India, 2005; pp. 1–50. [Google Scholar]
  48. Vanaret, C.; Gotteland, J.-B.; Durand, N.; Alliot, J.-M. Certified Global Minima for a Benchmark of Difficult Optimization Problems. arXiv 2020, arXiv:2003.09867. [Google Scholar]
Figure 1. Proposed multi-source residential MGs.
Figure 1. Proposed multi-source residential MGs.
Energies 16 06896 g001
Figure 2. (a): Flowchart of classic ICA algorithm. (b): Flowchart of proposed hybrid ICA-PSO algorithm.
Figure 2. (a): Flowchart of classic ICA algorithm. (b): Flowchart of proposed hybrid ICA-PSO algorithm.
Energies 16 06896 g002
Figure 3. Dynamics of empires: initial composition, position exchange, and post-position-exchange state [45]. (a) Formation of initial empires. (b) Position exchange: empires and colonies switching roles. (c) Resulting configuration: post-position-exchange state.
Figure 3. Dynamics of empires: initial composition, position exchange, and post-position-exchange state [45]. (a) Formation of initial empires. (b) Position exchange: empires and colonies switching roles. (c) Resulting configuration: post-position-exchange state.
Energies 16 06896 g003
Figure 4. Daily active demand load.
Figure 4. Daily active demand load.
Energies 16 06896 g004
Figure 5. Active power balance of multi-source MG with ICA-PSO-based algorithm.
Figure 5. Active power balance of multi-source MG with ICA-PSO-based algorithm.
Energies 16 06896 g005
Figure 6. Comparison of daily SOC between hybrid ICA-PSO-based algorithm and benchmark algorithms.
Figure 6. Comparison of daily SOC between hybrid ICA-PSO-based algorithm and benchmark algorithms.
Energies 16 06896 g006
Figure 7. Comparison of daily cost evolution between hybrid ICA-PSO-based algorithm and benchmark algorithms.
Figure 7. Comparison of daily cost evolution between hybrid ICA-PSO-based algorithm and benchmark algorithms.
Energies 16 06896 g007
Figure 8. Comparison of energy source contributions in the energy mix for different algorithms.
Figure 8. Comparison of energy source contributions in the energy mix for different algorithms.
Energies 16 06896 g008
Table 1. Recent research on metaheuristic methods for energy management in MGs.
Table 1. Recent research on metaheuristic methods for energy management in MGs.
AuthorsReferenceYearApproachObjectives
Dong et al.[34]2019CHPReduce the system operation costs and the C O 2 emissions cost, improve system flexibility
Noreña et al.[35]2019PSO-SAReduce the cost of the energy purchased to the utility grid
Adel et al.[36]2020MOPSOReliability, cost of energy, and GHG reduction
Kaveh et al.[5]2020ICHHOImprove efficiency, and robustness
Hemant et al.[37]2020GAImprove energy consumption
Singh et al.[38]2020ABC-PSOMinimize the levelized cost of electricity
Cristian et al.[39]2021PSOMeet the energy demand in a MG
Ming et al.[40]2021ICAMinimize makespan, total tardiness, and total energy consumption
Abaeifar et al.[41]2022IWLS-TLBOReduce the overall costs of the system
Güven et al.[42]2022HFGAMinimize the annual system costs and meet the energy demand reliably
Dey et al. [43]2022WOA-SCAMinimize the generation cost
Vignesh et al. [44]2023GAReduce the grid purchase cost and battery degradation cost
Table 2. Control parameters used in different algorithms.
Table 2. Control parameters used in different algorithms.
ParametersPSOGAICAICA-PSO
Population size100 100100100
Imperialist number--10-
Dimension of the problem6666
Maximum number of iterations2000200020002000
Inertia weight0.5--0.5
Cognitive coefficient1--1
Weighting factor2---
Social coefficient1--1
Revolution rate--0.10.1
Assimilation coefficient--0.50.5
Crossover rate-0.5--
Table 3. The daily energy (kWh) participation of each MG element using hybrid ICA-PSO algorithm.
Table 3. The daily energy (kWh) participation of each MG element using hybrid ICA-PSO algorithm.
HourRESESSGridHourRESESSGrid
PVWTSPVWTS
1032.113.237.71387.210.226.4−31.98
2033.6044.381491.229.413.2−44.5
3011.126.439.22158835.7−0.14−35.51
4013.2−8.6268.371682.424.9−0.06−21.08
5014.1−8.6265.591733.610.5040.8
6052.8−0.2417.8818240061.53
7051.3−2.1231.321912013.270.4
8041.4−10.1559.3220012.323.564.18
912.813.22444.3421011.410.9769.46
1028.821.313.232.9322036.3051.12
1142.424.6−13.239.9123056.7−8.6236.2
1254.48.7−13.243.1824052.5−8.6242.91
Table 4. Statistical analysis to compare different algorithms.
Table 4. Statistical analysis to compare different algorithms.
Test FunctionGAPSOICAICA-PSO
f 1 : Sphere [47] 1.5167 × 10 19 0.81904 × 10 8 7.87423 × 10 3 2.1556 × 10 27
f 2 : Michalewicz [48] 7.0378 −7.0377−7.03778−7.03756
f 3 : Ackley [47]3.87031.9476 2.164 × 10 2 8.9834 × 10 14
f 4 : Rastrigin [47]5.7723.3240.905 1.5069 × 10 7
Table 5. Comparison of performance metrics between ICA and GA Algorithms.
Table 5. Comparison of performance metrics between ICA and GA Algorithms.
Performance MetricsICAPSOGA ICA-PSO
Daily CostEUR 179EUR 201EUR 231EUR 171
SOC preservationModerate efficiency in maintaining SOC of ESSLimited preservation of SOCLow preservation of SOCHigher efficiency in maintaining SOC of ESS
Energy mix participationProvides a strong participation of RESsEnsures a moderate participation of RESsShows a relatively low participation of RESsEfficiently maximizes participation of RESs
Disclaimer/Publisher’s Note: The statements, opinions and data contained in all publications are solely those of the individual author(s) and contributor(s) and not of MDPI and/or the editor(s). MDPI and/or the editor(s) disclaim responsibility for any injury to people or property resulting from any ideas, methods, instructions or products referred to in the content.

Share and Cite

MDPI and ACS Style

Charadi, S.; Chakir, H.E.; Redouane, A.; El Hasnaoui, A.; El Bhiri, B. A Novel Hybrid Imperialist Competitive Algorithm–Particle Swarm Optimization Metaheuristic Optimization Algorithm for Cost-Effective Energy Management in Multi-Source Residential Microgrids. Energies 2023, 16, 6896. https://doi.org/10.3390/en16196896

AMA Style

Charadi S, Chakir HE, Redouane A, El Hasnaoui A, El Bhiri B. A Novel Hybrid Imperialist Competitive Algorithm–Particle Swarm Optimization Metaheuristic Optimization Algorithm for Cost-Effective Energy Management in Multi-Source Residential Microgrids. Energies. 2023; 16(19):6896. https://doi.org/10.3390/en16196896

Chicago/Turabian Style

Charadi, Ssadik, Houssam Eddine Chakir, Abdelbari Redouane, Abdennebi El Hasnaoui, and Brahim El Bhiri. 2023. "A Novel Hybrid Imperialist Competitive Algorithm–Particle Swarm Optimization Metaheuristic Optimization Algorithm for Cost-Effective Energy Management in Multi-Source Residential Microgrids" Energies 16, no. 19: 6896. https://doi.org/10.3390/en16196896

APA Style

Charadi, S., Chakir, H. E., Redouane, A., El Hasnaoui, A., & El Bhiri, B. (2023). A Novel Hybrid Imperialist Competitive Algorithm–Particle Swarm Optimization Metaheuristic Optimization Algorithm for Cost-Effective Energy Management in Multi-Source Residential Microgrids. Energies, 16(19), 6896. https://doi.org/10.3390/en16196896

Note that from the first issue of 2016, this journal uses article numbers instead of page numbers. See further details here.

Article Metrics

Back to TopTop