Location via proxy:   [ UP ]  
[Report a bug]   [Manage cookies]                
Previous Article in Journal
Tailoring Laser Powder Bed Fusion Process Parameters for Standard and Off-Size Ti6Al4V Metal Powders: A Machine Learning Approach Enhanced by Photodiode-Based Melt Pool Monitoring
Previous Article in Special Issue
A Modified Reduced-Order Generalized Integrator–Frequency-Locked Loop-Based Sensorless Vector Control Scheme Including the Maximum Power Point Tracking Algorithm for Grid-Connected Squirrel-Cage Induction Generator Wind Turbine Systems
 
 
Font Type:
Arial Georgia Verdana
Font Size:
Aa Aa Aa
Line Spacing:
Column Width:
Background:
Article

A Novel Technique for the Optimization of Energy Cost Management and Operation of Microgrids Inspired from the Behavior of Egyptian Stray Dogs

Department of Electrical Energy Engineering, College of Engineering and Technology, Arab Academy for Science, Technology and Maritime Transport (AASTMT), Smart Village Campus, Giza 12577, Egypt
*
Author to whom correspondence should be addressed.
Inventions 2024, 9(4), 88; https://doi.org/10.3390/inventions9040088
Submission received: 1 July 2024 / Revised: 21 July 2024 / Accepted: 24 July 2024 / Published: 30 July 2024
(This article belongs to the Special Issue Innovative Strategy of Protection and Control for the Grid)

Abstract

:
Managing costs in microgrids presents a formidable challenge due to the intricate blend of renewable and non-renewable energy sources that underpin their power generation. Ensuring seamless integration of microgrids with the national grid is pivotal for continuous load demand satisfaction and adherence to liberalized energy market mandates. To address this challenge, this paper introduces a new optimization technique for the Cost Management and Operation System (CMOS) of multi-source microgrids through a smart management unit. The cornerstone of this unit is the Egyptian Stray Dog Optimization (ESDO) algorithm, meticulously designed to optimize operational costs in line with load demands, energy cost dynamics, and generation proficiencies. Rigorous testing of the proposed system was conducted on a multi-resource microgrid using MATLAB, encompassing various operational scenarios. The simulation outcomes consistently highlighted the unit’s capability to achieve optimal cost-efficiency. Comparative analysis with other optimization techniques, particularly Particle Swarm Optimization (PSO), demonstrated the superior performance of the Egyptian Stray Dog algorithm, underscoring its potential as a leading solution in this domain.

1. Introduction

The advent of microgrids represents a monumental paradigm shift in our approach to energy systems, marking a departure from the traditional centralized grid infrastructure that has long dominated the energy landscape [1].
Microgrids, as decentralized networks of energy generation and distribution, have emerged as a disruptive force, redefining how the very foundation of energy systems should be considered. These localized, self-sustaining grids are revolutionizing the way we generate, store, and distribute energy, challenging the status quo of large-scale, centralized power plants and transmission lines. At their core, microgrids encompass a diverse portfolio of energy resources, including distributed generators, advanced storage mechanisms, and an increasing reliance on renewable energy sources [2]. Figure 1 illustrates the intricate web of interconnected components that make up a modern microgrid. What distinguishes microgrids from their predecessors is not only their physical composition but also their overarching goals: enhancing energy reliability, fostering sustainability, and bolstering economic viability [3]. These objectives have driven the exponential rise of microgrids in prominence as they offer innovative solutions to the pressing challenges of our time, including the inherent unpredictability of renewable energy sources, the fluctuating demands of energy consumers, the volatility of energy markets, and the capriciousness of renewable energy outputs [4,5].
To meet these multifaceted challenges head-on, there is an urgent and growing need for optimization techniques that are both adaptive and robust. Consequently, this burgeoning demand has spurred extensive research into innovative optimization algorithms tailored to capture the complex dynamics of modern microgrids. In this context, nature-inspired algorithms have emerged as frontrunners, drawing inspiration from the adaptive strategies found in the natural world [1,6,7,8].
Historically, the energy sector has employed a plethora of metaheuristic-based optimization techniques to navigate the operational complexities of microgrids. Among them, Particle Swarm Optimization (PSO) has been a popular choice, drawing inspiration from the flocking behavior of birds. Its popularity in solving the CMOS optimization problem is attributed to its simplicity and effectiveness [1].
The Modified Porcellio Scaber Algorithm (MPSA) stands out as one of the well-known techniques employed in the literature for solving the CMOS optimization problem, surpassing the performance of the PSO technique [9].
The Harris Hawk Optimization (HHO) algorithm simulates the hunting behavior of Harris hawks, exhibiting superior performance when applied to optimizing microgrid operational costs under various scenarios simulated in MATLAB. HHO is compared to algorithms such as fast surrogate-assisted PSO and modified PSO, consistently demonstrating superior performance [10].
Shuffled Frog Leaping (SFL), a population-based algorithm inspired by the foraging behavior of frogs, is proposed in a modified form for day-ahead microgrid scheduling with the objective of minimizing operating costs. Extensive comparisons with other techniques in three case studies confirm its superiority [11].
Invasive Weed Optimization (IWO) draws inspiration from the fascinating biological phenomenon of weed invasion. It is employed for optimizing the placement of wind farm turbines to maximize power generation while minimizing costs. Comparative assessments show the efficiency of IWO in solving such problems [12].
The Water Cycle Algorithm (WCA) mirrors the flow of rivers and streams to the sea. Applied to minimize the dispatching cost of a microgrid, WCA outperforms Genetic Algorithms (GA) and Interior/Differential Search Algorithms in terms of performance, convergence speed, and precision [13].
The Multi-Verse Optimizer (MVO) mimics three cosmological hypotheses, including white, black, and wormholes, and is presented here as a multi-objective version to optimize the renewable factor, electricity cost, and power losses in a microgrid. MVO demonstrates superiority over PSO in these aspects [14].
Tabu Search (TS), named after the tabu lists that record search history to prevent revisiting the same points, is employed for a CMOS-based approach to overcome certain deficiencies in CMOS, such as the billing process [15].
Despite the advances made by these traditional optimization techniques, challenges remain in effectively managing the complex and dynamic nature of microgrids, particularly when dealing with the unpredictability and variability of renewable energy sources. There is a need for an innovative optimization algorithm that can adapt to these conditions, providing robust and efficient solutions. This need forms the core motivation for the development of the Egyptian Stray Dog Optimization (ESDO) algorithm. Inspired by the survival strategies of stray dogs, known for their resilience and adaptability in harsh environments, the ESDO algorithm aims to navigate the intricate solution spaces of microgrid operations more effectively than existing methods.
In this paper, a novel optimization technique, Egyptian Stray Dog Optimization (ESDO), is introduced, inspired by the behavioral traits of Egyptian stray dogs. As they are well-known for their tenacity and adaptability in Egypt’s challenging terrains, these dogs serve as a unique source of inspiration for optimization. By emulating their exploration, communication, and survival instincts, the ESDO technique promises to navigate the intricate solution spaces of microgrid operations with finesse, identifying optimal or near-optimal solutions.
In the following sections of this paper, we examine the inner workings of ESDO, explore its applicability in the realm of microgrid optimization, and conduct a comprehensive comparison with the well-established PSO algorithm. Through this discourse, the aim is to underscore the transformative potential of ESDO in reshaping the future of microgrid operations.

2. Problem Definition of The Cost Management and Operation System of Microgrids

The Cost Management and Operation System (CMOS) is tailored to optimize the microgrid’s operation by fine-tuning the generation metrics of various Distributed Energy Resources (DERs) and the utility grid. The primary objective revolves around minimizing operational expenses, which encompasses both the intrinsic generation costs of energy and the dynamic market prices during power exchanges with the primary grid [16].

2.1. The Objective Function of CMOS

The primary task is to ascertain the minimum operational cost over a defined temporal horizon, typically spanning a 24-h duration [16]. Mathematically, the cost function F can be represented as:
F = min t = 1 N T i = 1 N G B G i P G i t + M P t P G r i d t
where:
P G i t denotes the active power produced by the i ^ t h DER at time t .
P G r i d t illustrates the power interchange with the grid at time t .
B G i is the intrinsic cost of active power generation for the i ^ t h DER.
M P t signifies the market price for power at time t .
N T is the total number of hours.
N G is the total number of distributed generation units.

2.2. Formulation of Constraints

The first constraint is the power balance in which the total power, as generated by all DERs in conjunction with the grid, should equate to the overall power consumed across all loads [17]. This can be mathematically captured as:
i = 1 N G P G i t + P G r i d t = D = 1 N D P L D t
where:
P L D t is the load power of the D ^ t h load at time t .
N D is the number of load levels.
The second constraint is the limits of the capacities of both distributed generation and grid. Regarding this constraint, The generation metrics for each DER, along with the grid, should be encapsulated within predefined limits:
P G i , m i n t P G i t P G i , m a x t
P G r i d , m i n t P G r i d t P G r i d , m a x t
where:
P G i , m i n t the minimum output power of generator i .
P G i , m a x t the maximum output power of generator i .
P G r i d , m i n t the minimum output power of the grid.
P G r i d , m a x t the minimum output power of the grid.
The third constraint is the reserve which is used to bolster system reliability. In this constraint, it is imperative to retain a fraction of the total generation capacity as a spinning reserve [18,19]. This is especially critical given the sporadic nature of some renewable sources:
i = 1 N G P G i , m a x t + P G r i d , m a x t = D = 1 N D P L D t + R t
where:
R t is the power reserve at time t .
The fourth and final constraint is related to energy storage elements, particularly batteries. These devices have inherent constraints associated with their charge and discharge cycles. Specifically, the duration or time interval required for each cycle is a critical consideration. The energy content or state-of-charge (SOC) of a battery at any given time is influenced by its previous SOC, the charging efficiency and rate, the discharging efficiency and rate, and the time duration for which these processes occur [20]. Mathematically, the SOC at time t can be represented as:
W e s s , t = W e s s , t 1 + η c h a r g e P c h a r g e Δ t 1 η d i s c h a r g e P d i s c h a r g e Δ t
W e s s , m i n e s s , t W e s s , m a x
P c h a r g e , t P c h a r g e , max ; P d i s c h a r g e , t P d i s c h a r g e , max
where:
W e s s , t is the battery SOC at time t .
W e s s , t 1 is the battery SOC at time t 1 .
η c h a r g e is the efficiency during charging process.
η d i s c h a r g e is the efficiency during discharging process.
P c h a r g e represents the permissible charging rate.
P d i s c h a r g e is the permissible discharging rate.

2.3. Cost of Computation for DERs

For DERs, specifically fuel cells and microturbines, the bid price is determined based on their operational efficiency, fuel expenses, and capital investment [21,22,23,24]. This can be formulated as:
B G = C f u e l P G η G + C i n v
C i n v = A C P G n o m A P
A C = i 1 + i n 1 + i n 1 + I C
where:
C f u e l is the cost (in euro) for each kW-hour.
η G is the efficiency of the DER unit.
C i n v is the payback amount of the preliminary investment in euros.
A C is the periodic investment that is paid annually in euros.
P G n o m is nominal power of the DER units in kW.
A P is the annual yield of energy in kW-hour/kW.
i is the interest rate.
n is the depreciation period in years.
I C is the installation cost in euros.

3. Egyptian Stray Dog Optimization

The Egyptian Stray Dog Optimization (ESDO) algorithm takes its inspiration from the various behaviors exhibited by stray dogs in their natural habitats. Unlike domesticated dogs, stray dogs need to constantly adapt to changing environments, rely on opportunistic food sources, establish territories, and interact within intricate social hierarchies. Drawing parallels between these behaviors and optimization problems, ESDO presents a novel approach to locate optimal solutions in complex search spaces.

3.1. Conceptual Overview

Since the ESDO is inspired from the life of the Egyptian stray dogs, it consists of six main behaviors: territorial, playful, defensive, social hierarchy adjustment, sleep/rest and scavenging as shown in Figure 2 [25].
In territorial behavior, every dog has a defined territory where it predominantly searches for food. This territory is not just a physical space but also represents a specific zone in the solution space where the dog (or the agent) focuses its search [26].
While dogs are territorial, their playful nature occasionally drives them to explore areas outside their designated territories. This behavior is referred to as the playful behavior and is essential for ensuring that the algorithm does not become stuck in local optima [27].
When a dog locates a food source, it becomes protective, defending the source against potential threats. This behavior is considered the defensive behavior. In the context of ESDO, once a potential solution is identified, the algorithm becomes “defensive” of it, refining its search in the vicinity of this promising solution [26].
One of the main behaviors of the Egyptian stray dogs is the social hierarchy adjustment. This is simply because of the occurrence of a clear social hierarchy within a pack with alpha and beta dogs leading the pack. These leading members influence the actions of other dogs, guiding them towards potential food sources [26].
The resting/sleep behavior resembles dogs that need rest. Periodically, some dogs will sleep, pausing their search. This simulates annealing, preventing premature convergence and allowing for occasional breaks in the search process [26].
Since dogs are opportunistic scavengers, they always refine their search based on earlier successes, focusing more on areas where food was previously found. This behavior is called the scavenging behavior [28].

3.2. Mathematical Modelling

Given an optimization problem, the solution space is denoted with bounds [ L ,   U ] . The number of dogs (agents) in the pack is represented by D .
Each dog i is initialized within a specific territory. The position within this territory is given by:
P i ,   i n i t i a l = L i + r a n d 0,1 × U i L i
The energy or the objective function value for each dog is then computed keeping into consideration the lower and upper bounds for each dog L i ,   U i .
For each iteration and each dog i , a new position is explored within its territory:
P i ,   n e w = L + r a n d 0,1 × U L
It is important to mention that the new position considers the global lower and upper bounds [ L ,   U ] .
During the playful behavior, a dog i explores a new position. Most of the time, this exploration is within its own territory, but occasionally, it may jump outside its territory to explore other parts of the solution space. This is mathematically represented as follows:
P i ,   n e w = P i ,   n e w + r a n d s i z e × t e r r i t o r y   s i z e ,   w i t h   p r o b a b i l i t y   0.95 L + r a n d s i z e × 0.5 × U L ,   o t h e r w i s e
The part represents the dog exploring within its own territory. The new position is a random jump from its initial position, but within the size of its territory. The second equation represents the occasional jump outside its territory. The new position is somewhere between the global bounds but restricted to a half jump. The factor of 0.5 in the second equation is a dampening factor, ensuring that when the dog jumps outside its territory, it does not jump too far. This value can be adjusted based on the desired exploration behavior.
If the newly explored position yields a better solution (lower energy), the dog updates its best-known position:
P i ,   b e s t = P i ,   n e w
Based on the energy values, the pack applies the concept of social hierarchy by identifying the alpha (best) and beta (second best) dogs. Other dogs tend to adjust their positions based on these leaders:
P i , n e w = P i + r a n d 0,1 × P a l p h a P i
At pre-defined intervals or iterations, a subset of the dogs rest, ensuring that their positions remain unchanged for that iteration. However, if a dog’s current energy is significantly higher than the alpha dog’s energy, it might adjust its position closer to the alpha dog according to (6):
P i , n e w = P a l p h a + r a n d 0,1 × 0.05
The algorithm iterates through these behaviors until a stopping criterion is met. This criterion could be a maximum number of iterations, a minimum change in energy values, or any other problem-specific condition. Figure 3 and Figure 4 show the pseudo-code and flowchart of the proposed ESDO algorithm.
The suggested CMOS employs the ESDO to determine the ideal power outputs from various DERs within the microgrid. In this optimization approach, the power generated by the DERs is likened to the positions of the dogs, and their associated energy symbolizes the energy cost’s objective function. Figure 5 illustrates a flowchart of the proposed CMOS algorithm.

4. Simulation Results

To evaluate the proposed algorithm’s effectiveness, a microgrid simulation is conducted in MATLAB. The output power for the microgrid’s Distributed Generation (DG) units and its connection to the main power grid are managed by the newly developed CMOS, which is based on the ESDO technique.
To evaluate the proposed algorithm’s effectiveness, a microgrid simulation is conducted in MATLAB. The output power for the microgrid’s Distributed Generation (DG) units and its connection to the main power grid are managed by the newly developed CMOS, which is based on the ESDO technique.
While the initial results are promising and indicate that the ESDO algorithm performs well under the specific scenarios tested, it is important to acknowledge the limitations of the study. The testing environment is simplified. Therefore, these results should be seen as preliminary, and further testing in more diverse and complex scenarios is necessary to draw broader conclusions about the ESDO algorithm’s performance.
The results from all scenarios suggest that the ESDO algorithm operates effectively under different operating modes of the CMOS. However, these findings should be considered with caution and validated through additional studies with varied microgrid configurations and operating conditions. The convergence curves demonstrated the proposed method’s efficiency, but more extensive testing is required to establish its general applicability.
As shown in Figure 6, the microgrid in the simulation includes various elements such as Photovoltaic (PV) panels, Wind Turbines (WT), Diesel Electric Generators (DEG), Fuel Cells (FC), battery storage, and a utility grid connection. This system was selected because it has been previously established as a benchmark in research studies [29,30], and its simulation in this study allows for a direct comparison with results found in the existing literature.
Table 1 lists the minimum and maximum power output capabilities for each microgrid component, along with the coefficients for their bidding functions, where a negative sign signifies the direction of power flow. Table 2 provides predicted values for the load demand and the power outputs from the DG units, as well as the market price. The study includes simulations of two case scenarios to evaluate the CMOS’s performance, which is based on the ESDO, across various operating conditions. All costs are presented in euro cents (€ ct).

4.1. Case Scenario 1

In this scenario, PV and WT units are set to produce at their maximum forecasted output for each hour. The designed CMOS adjusts the output of the remaining DG units to minimize production costs while adhering to their respective power constraints and limitations. The outcomes from the implemented algorithm are recorded in Table 3. Analysis of the CMOS performance in the initial and final eight-hour segments of the day reveals that it primarily relies on FCs and the main utility grid for power generation during these times. This reliance is due to lower energy prices in these periods, making it more cost-effective to draw power from the grid than to operate DEGs. Conversely, during midday, when utility grid energy prices peak, the CMOS predominantly utilizes PV, WT, and DEG units for electricity production.

4.2. Case Scenario 2

In this scenario, CMOS regulates the output of all DER units, such as PV and WT, while adhering to their established constraints and power capacities. The findings for this case, presented in Table 4, indicate a substantial decrease in the overall energy costs in comparison to those from case 1. This reduction is attributed to the CMOS’s comprehensive management of the DG units with the specific objective of lowering total costs. Consequently, this results in an increased reliance on the utility grid when the energy prices are at their lowest.

4.3. Case Scenario 3

In this particular scenario, the utility is expected to function without constraints, engaging in unrestrained energy exchange with the microgrid, unlike the remaining DERs which operate as defined in Scenario 2. The findings from this setup indicate that during off-peak hours specifically from 1 to 8 am, at 7 pm, and from 11 pm to midnight when the market prices dip, the utility predominantly caters to the microgrid’s energy demands. Conversely, it capitalizes on peak hours to procure excess energy from the microgrid. Economically speaking, Photovoltaic (PV) systems and Wind Turbines (WT) are activated to compensate for any power generation deficits within the microgrid or to bolster energy exports to the utility. Similarly, other DERs, including Fuel Cells (FC), Microturbines (MT), and batteries, dynamically adjust their output targets to match the hourly fluctuations in load demand, ensuring an economically optimized operation. Table 5 shows the results of case scenario 3.
The results from the three scenarios confirm that the ESDO algorithm operates effectively under different operating modes of the CMOS. Figure 7, which presents a sample convergence curve for the ESDO algorithm, clearly highlights the efficiency of the proposed method, as it exhibits a swift rate of convergence in each case.

4.4. Statistical Analysis Using F-Statistic

In this section, a detailed statistical analysis of the three case scenarios is conducted using the F-statistic from Analysis Of Variance (ANOVA) to determine if there are significant differences in the various parameters over time. The parameters analyzed include photovoltaic, wind turbine, diesel generator, fuel cell, battery and the grid. The analysis is performed separately for each case scenario.
The F-statistic is used in ANOVA to compare the variances between different groups. In this context, the F-statistic helps determine whether the differences observed in the parameters across different time periods are statistically significant [31].
The first step to evaluate the F-statistic is to calculate the total Sum of Squares (SST) as per (18):
S S T = i = 1 n x i x ¯ 2
where:
x i is each observation.
x ¯ is the overall mean of data.
n is the total number of observations.
Following this step, it is mandatory to compute the Between-Group Sum of Squares (SSB) as per (19):
S S B = j = 1 k n j x j ¯ x ¯ 2
where:
x j ¯ is the mean of the group j .
n j is the number of observations in group j .
Then the within group sum of squares (SSW) is calculated:
S S W = j = 1 k i = 1 n j x i j x ¯ j 2
where x i j is each individual observation in group j .
The values of the SSB and SSW are then inputted to (21) and (22), respectively, to calculate the mean square between groups (MSB) and mean square within the group (MSW):
M S B = S S B k 1
M S W = S S W n k
Finally, the F-statistic can be computed as per (23):
F = M S B M S W
Based on the previous equations, the F-statistic parameter has been calculated for all parameters in the three case scenarios as per Table 6.
The statistical analysis using the F-statistic across the three case scenarios reveals that the photovoltaic, wind turbine, fuel cell parameters show significant variations over time which seems logical as these resources are very cheap compared to other resources. These findings underscore the importance of optimizing these parameters to enhance the overall efficiency and cost-effectiveness of the CMOS. The consistent results across different scenarios validate the robustness of the ESDO algorithm in managing diverse operating conditions.
The results from all scenarios confirm that the ESDO algorithm operates effectively under different operating modes of the CMOS. The convergence curves clearly highlighted the efficiency of the proposed method, as it exhibits a swift rate of convergence in each case. To ensure the credibility of the findings, it is essential to benchmark the performance of the ESDO algorithm against previous studies that have used the identical microgrid simulation model but opted for different optimization methods, such as Fast Surrogate-Assisted Particle Swarm Optimization (FSAPSO) and a range of enhanced PSO algorithms as noted in [29]. Table 7 contrasts the performance of the ESDO algorithm with the results from these earlier proposed algorithms in the literature. It includes the Number of Objective Function Evaluations (OFE), which is determined by the product of the number of agents and the iterations until the best solution is found. The table also records the number of iterations and the count of trials required to achieve the best solution. Although information is scant in [29], it is evident that the ESDO algorithm has attained lower operational costs more effectively.
In addition, a comparison was also made with the newly developed Hippopotamus Optimization Algorithm (HO) for case 1. The results indicate that the ESDO algorithm achieved superior performance, providing the best results in this comparison.

5. Conclusions

Optimizing the cost of power generation stands as a critical challenge for advanced microgrids, which boast a diverse mix of energy sources and connections. This paper thoroughly explores the intricacies of the generation cost optimization issue and its constraints. Highlighted in this study is the newly invented Egyptian Stray Dog Optimization (ESDO), an innovative approach devised to tackle the complex problem of energy management optimization. The ESDO algorithm has been meticulously tested through MATLAB simulations on a benchmark microgrid, and its effectiveness is assessed in comparison with prior research. The ESDO algorithm has shown promising results, recording lower generation costs when compared with other established optimization techniques. These findings suggest that the ESDO algorithm has significant potential for implementation in various power and energy management scenarios, indicating its promise as a computational tool in the field.

Author Contributions

Conceptualization, M.A. and H.Y.D.; methodology, M.A. and H.Y.D.; software, H.Y.D. and M.A.; validation, H.Y.D.; formal analysis, M.A.; investigation, H.Y.D.; resources, M.A.; writing—original draft preparation, M.A.; writing—review and editing, H.Y.D.; supervision, M.A. and H.Y.D. All authors have read and agreed to the published version of the manuscript.

Funding

This research did not receive any external funding.

Data Availability Statement

The data that support the findings of this study are available from the corresponding author upon reasonable request.

Conflicts of Interest

The authors declare no conflicts of interest.

References

  1. Tajjour, S.; Chandel, S.S. A comprehensive review on sustainable energy management systems for optimal operation of future-generation of solar microgrids. Sustain. Energy Technol. Assess. 2023, 58, 103377. [Google Scholar] [CrossRef]
  2. Lasseter, R.H.; Piagi, P. Microgrid: A Conceptual Solution. In Proceedings of the 2004 IEEE 35th Annual Power Electronics Specialists Conference, Aachen, Germany, 20–25 June 2004. [Google Scholar]
  3. Sinha, S.; Chandel, S.S. Review of software tools for hybrid renewable energy systems. Renew. Sustain. Energy Rev. 2014, 32, 192–205. [Google Scholar] [CrossRef]
  4. Boruah, D.; Chandel, S.S. Challenges in the operational performance of six 15–19 kWp photovoltaic mini-grid power plants in the Jharkhand State of India. Energy Sustain. 2023, 73, 326–339. [Google Scholar] [CrossRef]
  5. Gao, K.; Wang, T.; Han, C.; Xie, J.; Ma, Y.; Peng, R. A review of optimization of microgrid operation. Energies 2021, 14, 2842. [Google Scholar] [CrossRef]
  6. Kou, P.; Liang, D.; Gao, L. Stochastic energy scheduling in microgrids considering the uncertainties in both supply and demand. IEEE Syst. J. 2018, 12, 2589–2600. [Google Scholar] [CrossRef]
  7. Elnozahy, A.; Ramadan, H.S.; Abo-Elyousr, F.K. Efficient metaheuristic Utopia-based multi-objective solutions of optimal battery-mix storage for microgrids. J. Clean. Prod. 2021, 303, 127038. [Google Scholar] [CrossRef]
  8. AkbaiZadeh, M.R.; Niknam, T.; Kavousi-Fard, A. Adaptive robust optimization for the energy management of the grid-connected energy hubs based on hybrid meta-heuristic algorithm. Energy 2021, 235, 106504. [Google Scholar] [CrossRef]
  9. Bukar, A.L.; Tan, C.W.; Yiew, L.K.; Ayop, R.; Tan, W.S. A rule-based energy management scheme for long-term optimal capacity planning of grid-independent microgrid optimized by multi-objective grasshopper optimization algorithm. Energy Convers. Manag. 2020, 221, 113161. [Google Scholar] [CrossRef]
  10. Abdelsalam, M.; Diab, H.Y.; El-Bary, A.A. A metaheuristic harris hawk optimization approach for coordinated control of energy management in distributed generation based microgrids. Appl. Sci. 2021, 11, 4085. [Google Scholar] [CrossRef]
  11. Zeng, X.; Nazir, M.S.; Khaksar, M.; Nishihara, K.; Tao, H. A day-ahead economic scheduling of microgrids equipped with plug-in hybrid electric vehicles using modified shuffled frog leaping algorithm. J. Energy Storage 2020, 33, 102021. [Google Scholar] [CrossRef]
  12. Beşkirli, M.; Koç, I.; Kodaz, H. Optimal placement of wind turbines using novel binary invasive weed optimization. Teh. Vjesn. 2019, 26, 56–63. [Google Scholar] [CrossRef]
  13. Yang, X.; Long, J.; Liu, P.; Zhang, X.; Liu, X. Optimal scheduling of microgrid with distributed power based on water cycle algorithm. Energies 2018, 11, 2381. [Google Scholar] [CrossRef]
  14. Hemeida, A.M.; Omer, A.S.; Bahaa-Eldin, A.M.; Alkhalaf, S.; Ahmed, M.; Senjyu, T.; El-Saady, G. Multi-objective multi-verse optimization of renewable energy sources-based micro-grid system: Real case. Ain Shams Eng. J. 2022, 13, 101543. [Google Scholar] [CrossRef]
  15. Assaf, T.; Osman, A.H.; Hassan, M.S.; Mir, H. Fair and efficient energy consumption scheduling algorithm using tabu search for future smart grids. IET Gener. Transm. Distrib. 2018, 12, 643–649. [Google Scholar] [CrossRef]
  16. Jordan, R. Metaheuristic Optimization in Power Engineering; The Institution of Engineering and Technology (IET): London, UK, 2018. [Google Scholar]
  17. Zhang, Y.; Gatsis, N.; Giannakis, G.B. Robust energy management for microgrids with high-penetration renewables. IEEE Trans. Sustain. Energy 2013, 4, 944–953. [Google Scholar] [CrossRef]
  18. Wu, H.; Liu, X.; Ding, M. Dynamic economic dispatch of a microgrid: Mathematical models and solution algorithm. Int. J. Electr. Power Energy Systems. 2014, 63, 336–346. [Google Scholar] [CrossRef]
  19. Mohammadi, S.; Mozafari, B.; Solimani, S.; Nikman, T. An adaptive modified firefly optimization algorithm based on Hong’s point estimate method to optimal operation management in a microgrid with consideration of uncertainties. Energy. 2013, 51, 339–348. [Google Scholar] [CrossRef]
  20. Moghaddam, A.A.; Seifi, A.; Niknam, T.; Pahlavani, M.R.A. Multi-objective operation management of a renewable MG (micro-grid) with back-up micro-turbine/fuel cell/battery hybrid power source. Energy 2011, 36, 6490–6507. [Google Scholar] [CrossRef]
  21. Hatziargyriou, N.D.; Anastasiadis, A.G.; Tsikalakis, A.G.; Vasiljevska, J. Quantification of economic, environmental and operational benefits due to significant penetration of microgrids in a typical LV and MV Greek network. Eur. Trans. Electr. Power. 2011, 21, 1217–1237. [Google Scholar] [CrossRef]
  22. Mohamed, F.A.; Koivo, H.N. System modeling and online optimal management of MicroGrid using Mesh. Int. J. Electr. Power Energy Syst. 2010, 32, 398–407. [Google Scholar]
  23. Adaptive Direct Search. Int. J. Electr. Power Energy Syst. 2010, 32, 398–407.
  24. Azmy, A.M.; Erlich, I. Online optimal management of PEM fuel cells using neural networks. IEEE Trans. Power Deliv. 2005, 20, 1051–1058. [Google Scholar] [CrossRef]
  25. Van’t Woudt Bessel, D. Roaming, stray, and feral domestic cats and dogs as wildlife problems. In Proceedings of the Vertebrate Pest Conference, Sacramento, CA, USA, 6–9 March 1990; Volume 14. [Google Scholar]
  26. Enrique, F. Spacing and social organization: Urban stray dogs revisited. Appl. Anim. Behav. Sci. 1987, 17, 319–328. [Google Scholar]
  27. Barbara, S. Social behaviour among companion dogs with an emphasis on play. In The Social Dog; Academic Press: Cambridge, MA, USA, 2014; pp. 105–130. [Google Scholar]
  28. Kmetiuk, L.B.; Maiorka, P.C.; Beck, A.M.; Biondo, A.W. “Dying alone and being eaten”: Dog scavenging on the remains of an elderly animal hoarder-a case report. Front. Vet. Sci. 2023, 10, 1161935. [Google Scholar] [CrossRef]
  29. Barbir, F.; Gomez, T. Efficiency and economics of proton exchange membrane (PEM) fuel cells. Int. J. Hydrog Energy 1997, 22, 1027–1037. [Google Scholar] [CrossRef]
  30. Li, P.; Xu, W.; Zhou, Z.; Li, R. Optimized operation of microgrid based on gravitational search algorithm. In Proceedings of the International Conference on Electrical Machines and Systems, Busan, Republic of Korea, 31 October 2013; pp. 338–342. [Google Scholar]
  31. Montgomery, D.C. Design and Analysis of Experiments; John Wiley & Sons: Hoboken, NJ, USA, 2017. [Google Scholar]
Figure 1. Microgrid with CMOS.
Figure 1. Microgrid with CMOS.
Inventions 09 00088 g001
Figure 2. Common Behaviors of Egyptian Stray Dogs.
Figure 2. Common Behaviors of Egyptian Stray Dogs.
Inventions 09 00088 g002
Figure 3. Pseudo-code of the ESDO.
Figure 3. Pseudo-code of the ESDO.
Inventions 09 00088 g003
Figure 4. Flowchart of the ESDO.
Figure 4. Flowchart of the ESDO.
Inventions 09 00088 g004
Figure 5. Flowchart of the Proposed CMOS algorithm.
Figure 5. Flowchart of the Proposed CMOS algorithm.
Inventions 09 00088 g005
Figure 6. Layout of the simulated microgrid.
Figure 6. Layout of the simulated microgrid.
Inventions 09 00088 g006
Figure 7. Layout of the simulated microgrid. Convergence curves of ESDO for: (a) Case scenario 1, (b) Case scenario 2, (c) Case scenario 3.
Figure 7. Layout of the simulated microgrid. Convergence curves of ESDO for: (a) Case scenario 1, (b) Case scenario 2, (c) Case scenario 3.
Inventions 09 00088 g007
Table 1. Range of output power and cost of energy for each DER [16].
Table 1. Range of output power and cost of energy for each DER [16].
IDDGMinimum Output Power (kW)Maximum Output Power (kW)Cost of Energy (€ ct/kW-hr)
1Photovoltaic0252.584
2Wind0151.073
3Diesel Engine Generator6300.457
4Fuel Cell3300.294
5Battery−30300.38
6Grid−3030-
Table 2. Predicted values for load demand, market pricing and power generation from wind and photovoltaic sources [16].
Table 2. Predicted values for load demand, market pricing and power generation from wind and photovoltaic sources [16].
Time (h)Load (kW)Market Price (€ ct/kW-hr)Predicted Power Output of Wind Turbine (kW)Predicted Power Output of Photovoltaic (kW)
1520.231.7850
2500.191.7850
3500.141.7850
4510.121.7850
5560.121.7850
6630.20.9150
7700.231.7850
8750.381.3050.2
9761.51.7853.75
108043.097.525
117848.77510.45
1274410.4111.95
13721.53.91523.9
147242.3721.05
157621.7857.875
16801.951.3054.225
17850.61.7850.55
18880.411.7850
19900.351.3020
20870.431.7850
21781.171.30050
22710.541.30050
23650.30.9150
24560.260.6150
Table 3. Results of case scenario 1.
Table 3. Results of case scenario 1.
Time (h)PV (kW)WT (kW)DEG (kW)FC (kW)Battery (kW)Utility (kW)Total Cost (€ ct/h)
101.78630−15.6729.8914.39
201.78630−17.7629.9712.42
301.78630−17.7529.9610.92
401.78630−16.6429.8610.73
501.78630−11.7329.9412.61
600.91630−3.929.9917.05
701.786302.2329.9721.22
80.21.363026.3111.1827.72
93.751.78303030−19.5316.23
107.523.09303030−20.61−25.76
1110.458.7728.773030−29.99−50.2
1211.9510.4121.633030−29.99−47.82
1323.93.9114.983029.15−29.9547.77
1421.052.3718.573030−29.99−34.34
157.871.78303030−23.668.87
164.221.3303030−15.5315.96
170.551.78303030−7.3332.86
1801.786303020.2133.16
1901.363022.7129.9832.08
2001.786303019.2133.13
2101.3303030−13.319.76
2201.3303030−20.324.36
2300.91630−1.8829.9720.81
2400.61630−10.6129.9915.98
Total cost of energy per day (in euros)269.98955
Table 4. Results of case scenario 2.
Table 4. Results of case scenario 2.
Time (h)PV (kW)WT (kW)DEG (kW)FC (kW)Battery (kW)Utility (kW)Total Cost (€ ct/h)
100630−143013.14
200630−15.9929.9911.18
300630−15.9929.999.68
400630−14.8629.869.5
500.01728.91−9.6729.9111.55
600630−2.9929.9916.42
700629.614.4729.9220.03
80063030926.38
901.79303030−15.7912.17
107.533.09303030−20.62−25.77
119.218.78303030−29.99−52.8
123.5710.41303030−29.98−65.6
1303.92303030−21.925.26
149.622.37303030−29.99−58.63
1501.79303030−15.794.28
1601.31303030−11.3113.29
1700303030−530.93
1800630302231.98
190063024.0229.9831.18
2000630302131.99
2101.3303030−13.319.76
2200303030−1923.67
2300630−0.9629.9620.19
2400630−9.9829.9815.56
Total cost of energy per day (in euros)155.34395
Table 5. Results of case scenario 3.
Table 5. Results of case scenario 3.
Time (h)PV (kW)WT (kW)DEG (kW)FC (kW)Battery (kW)Utility (kW)Total Cost (€ ct/h)
10063−30739.01
20063−30715.71
30063−30712.16
40063−30720.86
50063−30771.46
60063−30849.02
70063−309113.15
800630−19.6558.6526.38
901.78303030−15.7812.16
107.523.09303030−20.61−25.76
1110.458.77303030−31.22−54.55
1211.9510.41303030−38.36−77.46
1303.91303030−21.915.25
1421.052.37303030−41.42−74.81
1501.78303030−15.784.27
1601.3303030−11.313.28
1700303030−530.93
1800630302231.98
1900630−308429.56
2000630302131.99
2101.3303030−13.319.76
2200303030−1923.67
2300630−305917.86
240063−307712.24
Total cost of energy per day (in euros)68.17626
Table 6. F-statistic results for the three case scenarios.
Table 6. F-statistic results for the three case scenarios.
ParameterAverage F-Statistic in kW for the Three Cases
Photovoltaic51.42
Wind50.86
Diesel Engine Generator2.50
Fuel Cell145.81
Battery0.39
Grid1.65
Table 7. Comparison between the results of popular optimization technique and the ESDO algorithm in solving CMOS problem.
Table 7. Comparison between the results of popular optimization technique and the ESDO algorithm in solving CMOS problem.
Case ScenarioMethodBest Result
1PSO [16]277.3237
FSAPSO [16]276.7867
CPSO-T [16]275.0455
CPSO-L [16]274.7438
AMPSO-T [16]274.5507
AMPSO-L [16]274.4317
HO270.5291
Proposed ESDO269.9895
2PSO [16]162.0083
FSAPSO [16]161.5561
CPSO-T [16]161.0580
CPSO-L [16]160.7708
AMPSO-T [16]159.9244
AMPSO-L [16]159.3628
Proposed ESDO155.3439
3PSO [16]90.7629
FSAPSO [16]90.6919
CPSO-T [16]90.5545
CPSO-L [16]90.4833
AMPSO-T [16]89.9917
AMPSO-L [16]89.9720
Proposed ESDO68.17626
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

Diab, H.Y.; Abdelsalam, M. A Novel Technique for the Optimization of Energy Cost Management and Operation of Microgrids Inspired from the Behavior of Egyptian Stray Dogs. Inventions 2024, 9, 88. https://doi.org/10.3390/inventions9040088

AMA Style

Diab HY, Abdelsalam M. A Novel Technique for the Optimization of Energy Cost Management and Operation of Microgrids Inspired from the Behavior of Egyptian Stray Dogs. Inventions. 2024; 9(4):88. https://doi.org/10.3390/inventions9040088

Chicago/Turabian Style

Diab, Hatem Y., and Mahmoud Abdelsalam. 2024. "A Novel Technique for the Optimization of Energy Cost Management and Operation of Microgrids Inspired from the Behavior of Egyptian Stray Dogs" Inventions 9, no. 4: 88. https://doi.org/10.3390/inventions9040088

Article Metrics

Back to TopTop