Next Article in Journal
A Comparative Eye Tracking Study of Usability—Towards Sustainable Web Design
Next Article in Special Issue
Frequency Stability of AC/DC Interconnected Power Systems with Wind Energy Using Arithmetic Optimization Algorithm-Based Fuzzy-PID Controller
Previous Article in Journal
Firm and Board Characteristics, and E-Waste Disclosure: A Study in the Era of Digitalisation
Previous Article in Special Issue
Design, Modeling, and Differential Flatness Based Control of Permanent Magnet-Assisted Synchronous Reluctance Motor for e-Vehicle Applications
 
 
Font Type:
Arial Georgia Verdana
Font Size:
Aa Aa Aa
Line Spacing:
Column Width:
Background:
Article

An Improved Heap-Based Optimizer for Optimal Design of a Hybrid Microgrid Considering Reliability and Availability Constraints

1
Department of Electrical Engineering, Mohammadia School of Engineers, Mohammed V University, Rabat 10090, Morocco
2
Department of Electrical Engineering, Faculty of Engineering, Aswan University, Aswan 81542, Egypt
3
Department of Electrical Engineering, College of Engineering, Taif University, Taif 21944, Saudi Arabia
*
Author to whom correspondence should be addressed.
Sustainability 2021, 13(18), 10419; https://0-doi-org.brum.beds.ac.uk/10.3390/su131810419
Submission received: 9 August 2021 / Revised: 9 September 2021 / Accepted: 14 September 2021 / Published: 18 September 2021

Abstract

:
The hybrid microgrid system is considered one of the best solution methods for many problems, such as the electricity problem in regions without electricity, to minimize pollution and the depletion of fossil sources. This study aims to propose and implement a new algorithm called improved heap-based optimizer (IHBO). The objective of minimizing the microgrid system cost is to reduce the net present cost while respecting the reliability, power availability, and renewable fraction factors of the microgrid system. The results show that the PV/diesel/battery hybrid renewable energy system (HRES) gives the best solution, with a net present cost of MAD 120463, equivalent to the energy cost of MAD 0.1384/kWh. The reliability is about 3.89%, the renewable fraction is about 95%, and the power availability is near to 99%. The optimal size considered is represented as 167.3864 m2 of PV area, which is equivalent to 44.2582 kW and 3.8860 kW of diesel capacity. The study results show that the proposed optimization algorithm of IHBO is better than the artificial electric field algorithm, the grey wolf optimizer, Harris hawks optimization, and the original HBO algorithm. A comparison of the net present cost with a different fuel price is carried out, in which it is observed that the net present cost is reduced even though its quantity used is mediocre.

1. Introduction

The implementation of hybrid microgrids is necessary due to their advantages. Many projects and studies have proven their essential ecological and economic effects. The literature has assessed the microgrid from all directions, including design, operation, optimization, control, and others. Literature reviews have provided more comprehensive studies. In [1], a comprehensive study on the optimization of microgrid operations has been presented. In [2], a review of AC and DC microgrid protection has been presented. Reference [3] presented a D.C. microgrid protection comprehensive review. Reference [4] presented a review on optimization and control techniques of the hybrid AC/DC microgrid, as well as the integration challenges. Reference [5] presented a comprehensive review of the planning, the operation, and the control of a DC microgrid. Reference [6] presented a review of microgrid sizing, design, and energy management.
The design and operation optimization of microgrids, considered the main objective of this work, has been presented in many papers. Reference [7] presented a design and assessment of the microgrid using a statistical methodology that calculates the effect of energy reliability and variability on microgrid performance. The paper used a REopt platform to explore the cost savings and revenue streams. In [8,9], the microgrid design has been investigated using several algorithms and configurations. In [10], a hybrid simulated annealing particle swarm (SAPS) algorithm has been presented to determine the microgrid optimal size that is subject to the economic and reliable operation constraints and to subsequently boost power supply security and stability. The paper [11] presented a new compromise method based on the Six Sigma approach to compare several multi-objective algorithms. The new approach has been applied to microgrid sizing and design based on PV, wind turbine, diesel, and battery systems. Reference [12] presented a graph-theoretic algorithm known as P-graph which allows the identification of optimal and near-optimal solutions for practical decision making. This study proposed a multi-period P-graph optimization framework for optimizing photovoltaic-based microgrids with battery-hydrogen energy storage. The proposed approach is demonstrated through two case studies. Reference [13] proposed a novel cash-flow model for Li-ion battery storage used in the energy system; the study considers the Li-ion battery degradation characteristic.
Optimization techniques are more competent in solving non-linear optimization problems, such as optimal reactive power dispatch (ORPD) [14], economic emission dispatch [15], intelligent energy management [16], and parameter estimation of photovoltaic models [17]. Reference [18] used an experimental validation of a lab-scale microgrid. Reference [19] concerns the undervoltage in smart distribution systems. The optimal power flow from attackers has been presented in [20].
The development of tools to design microgrids has become an important research area; the development of meta-heuristic algorithms begins a trend. In the literature, many papers presented different algorithms which have been applied to design a hybrid microgrid. In [21], an improved two-archive many-objective evolutionary algorithm (TA-MaEA) based on fuzzy decisions has been used to solve the sizing optimization problem for HRES. The simulation considered the following objective function: costs, probability of loss of power supply, pollutant emissions, and power balance. Reference [22] proposes an HRES of PV and fuel cells with an optimal total annual cost; the study used a new, improved metaheuristic called the amended water strider algorithm (AWSA). The reliability is considered, and the sensitivity analysis is applied. Reference [23] presents a microgrid design composed of PV, wind, an inverter, a rectifier, an electrolyzer, and a fuel cell. The paper used a modified seagull optimization technique to find the best cost of the optimal sizing. The proposed algorithm is compared with the original seagull optimization algorithm (SOA) and modified farmland fertility algorithm (MFFA). Reference [24] presents a new hybrid algorithm called IWO/BSA to resolve the microgrid design of any configuration, including PV/wind turbine (WT)/biomass/battery, PV/biomass, PV/diesel/battery, and WT/diesel/battery systems. The study’s objective is to obtain the best system with optimal cost, pollution, availability, and reliability. Reference [25] presents an adaptive version of the marine predators algorithm (AMPA) to design a PV/diesel/battery microgrid system. The objective function minimizes the annualized cost, respecting the ecologic and reliability factors of the system. The results are compared with PSO and HOMER. Reference [26] proposed an improved version of the bonobo optimizer (BO) based on the quasi-oppositional technique to resolve the design problem of the HRES considering the PV, wind turbines, battery, and diesel. A comparison between the traditional BO, the new QOBO, and other optimization techniques is investigated to prove the efficacy of QOBO. Reference [27] proposed a deterministic approach to size a PV, battery, anaerobic digestion, and biogas power plant to meet a demand load in Kenya. The levelized cost of energy (LCOE) is considered the objective function, while the energy imbalance between generation and demand is considered.
The present paper proposes a new tool consisting of platforms using an improved version of the HBO algorithm called IHBO. The improvement of the HBO algorithm depends on enhancing the performance of the HBO algorithm using the velocity equation from the particle swarm optimization (PSO) algorithm. This equation improves the convergence capability behavior and enables different diversified solutions in the search space, which is necessary for such an algorithm and achieves the fitness function’s optimal value. The proposed platforms design hybrid microgrid systems composed of PV, wind, diesel, and batteries. Two configurations are presented, and four algorithms are used in the comparison. In summary, the paper addresses the following points:
  • An improved version of the conventional HBO algorithm is proposed with the aim of improving its performance;
  • The conventional HBO and proposed IHBO algorithms are applied for optimal design of a hybrid microgrid system including RES (photovoltaic panels, wind turbines, and batteries) with diesel generators;
  • In the designed microgrid, the reliability, availability and the renewable fraction constraints are considered;
  • The proposed IHBO algorithm’s efficiency and performance are evaluated on different benchmark functions, including the statistical measurement;
  • The impact of the fuel price variation on the project investment is analyzed.
The paper is organized as follows: the introduction occurs in Section 1; the modeling of HRES components is contained in Section 2; Section 3 presents the objective functions and constraints; Section 4 presents the new, improved algorithm, namely IHBO; the results and discussion are presented in Section 5; and the conclusion is presented in Section 6.

2. HRES Components Modeling

2.1. PV Panel Modeling

The PV output power is calculated as follows [28,29]:
P p v = I t × η p v t × A p v
where I represents the irradiation, η p v represents the efficiency of PV, and A p v is the area of PV. The efficiency of PV can be calculated based on reference efficiency ( η r ), the efficiency of MPPT ( η t ), temperature coefficient ( β ), ambient temperature ( T a ), PV cell reference temperature ( T r ) and nominal operating cell temperature (NOCT), as follows:
η p v ( t ) = η r × η t × [ 1 β × ( T a t T r ) β × I t × ( N O C T 20 800 ) × ( 1 η r × η t ) ]

2.2. Wind System Modeling

The wind turbine output power can be calculated following these conditions [30]:
P w i n d = {                                       0 ,     v t v c i ,   v t v c o a × V t 3 b × P r ,     v c i < v t < v r                               P r ,     v r v t < v c o
where V represents the wind velocity, P r is rated power, v c i is cut-in, v c o represents cut-out, and v r is the rated wind. a and   b are constant values that expressed as:
a = P r / ( v r 3 v c i 3 ) b = v c i 3 / ( v r 3 v c i 3 )
The rated power of wind turbine can be calculated as:
P r = 1 2 × ρ × A w i n d × C p × v r 3
where ρ is the air density, A w i n d represents the swept area of the wind turbine, and C p is the maximum power coefficient (from 0.25 to 0.45).

2.3. Diesel System Modeling

The diesel rated power can be calculated as [31]:
P d g = F d g t A g × P d g , o u t B g
where F d g represents the fuel consumption, P d g , o u t is the output power of the diesel generator, and A g and B g are two constant values represent the fuel linear consumption.

2.4. Battery System Modeling

The battery capacity of the battery can be calculated as [31]:
C B E S S = E l × A D D O D × η i × η b
where E l is the load demand, A D is the autonomy of the battery which can lead power to the load on rainy days, D O D represents the depth of discharge, and η i and η b represent the inverter and battery efficiency, respectively.

3. Objective Function and Constraints

3.1. Net Present Cost

The NPC represents an economic factor, which is considered the objective function in this study. The goal of the paper is to minimize the NPC, which is the sum of all costs during the project lifetime. The NPC is calculated as [32,33]:
NPC = C + O M + R + F C d g
where C represent the capital cost, O M is the operation and maintenance costs, R is the replacement cost, and F C d g is the fuel cost.

3.2. LCOE Index

The LCOE represents the price of energy and is a critical factor which is calculated as [31]:
LCOE = N P C × C R F t = 1 8760 P l o a d t
where CRF represents the capital recovery factor (obtained by converting the initial cost to annual capital cost), and P l o a d represents the power load. The CRF is calculated as:
CRF ( i r , N ) = i r × ( 1 + i r ) N ( 1 + i r ) R 1

3.3. LPSP Index

The loss of power supply probability (LPSP) is a technical index that ranges from 0 to 1. It is used to indicate the reliability of the microgrid system. The LPSP is calculated as follows [31]:
LPSP = t = 1 8760 ( P l o a d t P p v t P w i n d t + P d g , o u t t + E b m i n ) t = 1 8760 P l o a d t

3.4. Renewable Energy Index

Renewable energy (RF) is calculated to determine the renewable energy percent that is penetrated into the microgrid system. The RF is expressed as [31]:
RF = ( 1 t = 1 8760 P d g , o u t t t = 1 8760 P r e t ) × 100
where P r e represents the sum of renewable energy powers.

3.5. Availability Index

The availability factor (Av) is assumed as an index of the customer’s satisfaction; it measures the ability of the microgrid to convert the total energy to load charge. The availability is calculated as [33]:
Av = 1 D M N t = 1 8760 P l o a d t
D M N = P b m i n t P b t ( P p v t + P w i n d t + P d g , o u t t P l o a d t ) × u t
where P b m i n represents the battery min state, P b represents the battery power, and u is a fixed value which equals 1 when the load is not satisfied and which equals 0 otherwise.

3.6. Constraints

Constraints are introduced to tune the microgrid system factors and help to improve the microgrid service quality. In this work, the constraints proposed are:
{ 0 A p v A p v m a x 0 A w i n d A w i n d m a x 0 P d g P d g m a x 0 C B E S S C B E S S m a x L P S P LPSP m a x RF m i n R F A v m i n A v AD m i n A D
where LPSP m a x   = 0.05, RF m i n   = 70%, Av m i n   = 90%, and AD m i n   = 1 day. The sizing limit is different from configuration to the others. All other parameters are shown in Table A1.

4. Proposed Algorithm

4.1. Heap-Based Optimizer (HBO)

The heap-based optimizer algorithm (HBO) is inspired by the social behavior of human beings [34]. One sort of social interaction between human beings can be observed in organizations where people in teams are arranged in a hierarchy for achieving a specific target; this is known as corporate rank hierarchy (CRH). CRH is presented in Figure 1a. The HBO algorithm is based on CRH in a very distinctive manner. In this regard, the concept of CRH is to arrange the search agents based on their suitability in this hierarchy using a heap tree-based data structure to enact the implementation of priority queues. Figure 1b shows an example of 3 degrees (3-ary) of min-heap. Three types of employees’ behaviors were used in the HBO algorithm. These types are: (i) the interaction of subordinates with their immediate head; (ii) the interaction between co-workers; and (iii) the self-contribution of individuals.
The mapping of the heap concept is divided into four steps:
A. 
Modeling the corporate rank hierarchy
Figure 2 displays the procedure of CRH modeling through a heap data structure, wherein xi is the ith search agent of the population. The curve in the objective space describes the shape of the supposed objective function, and the search agents are drawn on the fitness shape according to their convenience.
B. 
Mathematically modeling the collaboration with the boss
In a centralized organizational structure, the regulations and policies are enforced from the upper levels, and subordinates must follow their direct manager.
This can be mathematically described by updating the agent position of each search as follows:
x i k ( t + 1 ) = B k + γ λ k | B k x i k ( t ) |
γ = | 2 ( t   m o d   T C ) T 4 C |
λ k = ( 2 r 1 )
where t is the current iteration, k is the kth component of a vector, B denotes the parent node, r is a random number from the range [0, 1], T is the maximum number of iterations, and C represents a user-defined parameter.
C. 
Mathematically modeling the interaction between the colleagues
Colleagues cooperate and perform official tasks. It is assumed in a heap that the nodes at the same level are colleagues, and each search agent xi updates its location based on its randomly selected colleague Sr as follows:
x i k ( t + 1 ) = { s r k + γ λ k | s r k x i k ( t ) | ,     f ( S r ) < f ( x i ( t ) ) x i k + γ λ k | s r k x i k ( t ) | ,     f ( S r ) f ( x i ( t ) )
D. 
Self-contribution of an employee to accomplish a task
In this phase, the self-contribution of a worker is mapped as follows:
x i k ( t + 1 ) = x i k ( t )
The following part explains how exploration can be controlled with this equation.
E. 
putting all together
The principal challenge is determining the selection probabilities for the three equations to balance exploration and exploitation. The purpose of the roulette wheel is to achieve a balance of possibilities. The roulette wheel is divided into three parts: p1, p2, and p3. The value of p1 makes a population changes their position, and it is calculated from the following equation:
p 1 = 1 t T
The selection of p2 is computed from the following equation:
p 2 = p 1 1 p 1 2
Finally, the selection of p3 is calculated as follows:
p 3 = p 2 1 p 1 2 = 1
Accordingly, a general position-updating mechanism of the HBO algorithm is mathematically represented as follows:
x i k ( t + 1 ) = { x i k ( t ) , p p 1 B k + γ λ k | B k x i k ( t ) | , p > p 1   a n d   p p 2 s r k + γ λ k | s r k x i k ( t ) | , p > p 2   a n d   p p 3   a n d   f ( S r ) < f ( x i ( t ) ) x i k + γ λ k | s r k x i k ( t ) | , p > p 2   a n d   p p 3   a n d   f ( S r ) f ( x i ( t ) )
where p is a random number in the range (0, 1).

4.2. Improved Heap-Based Optimizer(IHBO)

In order to enhance the strength of the proposed IHBO algorithm for many high-dimensional optimization problems, core aspects of one of the most used meta-heuristic algorithms, PSO, are utilized. The PSO algorithm is introduced by [35]. The velocity equation from the PSO algorithm is used in the proposed IHBO algorithm. This modification leads to the improvement of the ability of the global search and enhances the local search capabilities of the improved algorithm. This core equation is as follows:
V i k ( t + 1 ) = w · V i k ( t ) + C 1 · r 1 × ( p b e s t x i k ( t ) ) + C 2 · r 2 × ( g b e s t x i k ( t ) )
x i k ( t + 1 ) = x i k ( t ) + V i k ( t + 1 )
where C 1 = C 2 = 0.5 , as these values gave the best solution in [36]; w = 0.7 ; r 1 and r 2 are a random number in the range (0, 1) ;   p b e s t is the best solution of an individual population, and g b e s t is the best solution so far.
The flow chart of the proposed IHBO algorithm is shown in Figure 3.

Performance of the Proposed IHBO Algorithm

The proposed IHBO algorithm’s efficiency and performance are evaluated on different benchmark functions, including statistical measurements, such as minimum values, mean values, maximum values, and standard deviation (STD) for best solutions obtained by the proposed IHBO algorithm and the other recent optimization algorithms. The results obtained with the proposed IHBO technique is compared with three well-known optimization algorithms, including the sine cosine algorithm (SCA) [37], salp swarm algorithm (SSA) [38], movable damped wave algorithm (MDWA) [39], and the original heap-based optimizer (HBO). Table 1 shows the parameters of all compared algorithms (SSA, MDWA, SCA, IHBO, and HBO). Qualitative metrics on F1, F4, F7, F9, F11, F12, F15, and F18, including 2D views of the functions, search history, average fitness history, and convergence curve, are presented in Figure 4.
Table 2, Table 3 and Table 4 tabulate the statistical results of the proposed IHBO algorithm and other well-known algorithms when applied for unimodal benchmark functions, named F1 to F7, multimodal benchmark functions, named F8 to F13, and composite benchmark functions, named F14 to F23, respectively. The best values, shown in bold, were achieved with the proposed IHBO algorithm, as well as MDWA and SCA, but the proposed IHBO technique achieves the best results for most of the benchmark functions. The convergence curves of all algorithms for the unimodal benchmark functions are shown in Figure 5 while Figure 6 shows the boxplots of each algorithm for these unimodal benchmark functions. Figure 7 displays the convergence characteristics curves of all algorithms for the multi-modal benchmark functions. The boxplots for each algorithm for these types of benchmark functions are presented in Figure 8. The convergence curves of all algorithms for the composite benchmark functions are displayed in Figure 9 while Figure 10 illustrates the boxplots for each algorithm for these benchmark functions. The proposed algorithm reached a stable point for all functions. Also, the boxplots of the proposed IHBO technique are very narrow for most functions compared to the other algorithms.

5. Project Implementation Location

The project was implemented in a small region in the west of Morocco called Terfaya, at coordinating latitude 27.932 and longitude −12.935.

6. Results and Discussion

In this paper, the Terfaya region of Morocco is selected as the case study to implement an HRES platform based on an improved optimization algorithm called IHBO. The maps for the project location, the load charge, the annual ambient radiation, temperature, wind speed, and pressure are presented in Figure 11, Figure 12, Figure 13, Figure 14 and Figure 15, respectively.
The proposed HRES includes two renewable sources (PV and wind turbines), a diesel generator, and a battery storage system. According to the mathematical modeling of the mentioned systems, the PV output can be affected by the solar radiation data; otherwise, the output power of the wind is influenced by the wind speed data. The decision variables in this study are dedicated to the size of the HRES where: x(1) is the PV area ( A p v ,), x(2) is the wind swept area ( A w i n d ), x(3) represents the battery capacity ( C B E S S ) and x(4) is the rated power of the diesel generator ( P d g ). In this paper, an analysis of fuel price variation is carried out.

6.1. Optimal HRES Design of PV/Diesel/Battery and PV/Wind/Diesel/Battery

6.1.1. PV/Diesel/Battery HRES

The results of the optimal HRES design for the case study concerning the PV/diesel/battery HRES are summarized in Table 5. The table presents all used algorithms concerning the predefined constraints, including the LPSP, RF, and the availability. The algorithms are arranged as GWO, HBO, AEFA, HHO, and IHBO, with a net present cost of MAD 191,661, MAD 175,321, MAD 169,142, MAD 147,527, and MAD 120,463, respectively. The optimal system needs MAD 120,463, equivalent to an LCOE of MAD 0.13/kWh. The system designed respected the constraints very well, with a reliability (LPSP) of 3%, a renewable fraction of 95%, and power availability of 98%. Table 6 presents the optimal size of each algorithm; the best solution is then obtained by IHBO, with 1,673,864 m2 and 38,860 kW of diesel generator capacity. Table 7 presents the convergence time of all simulations.
The convergence curve results for all scenarios are presented in Figure 16, in which the IHBO proves its efficacy to reach the optimal solution.

6.1.2. PV/Wind/Diesel/Battery HRES

The second configuration used in this paper concerns the PV/wind/diesel/battery HRES. From Table 8, the results respect the constraints; then, the best algorithms results converge as HBO, GWO, AEFA, HHO, and IHBO, with an investment cost of MAD 461,233, MAD 226,559, MAD 221,694, MAD 215,371, and MAD 100,337, respectively. The best cost needs MAD 100,337, equivalent to MAD 0.08/kWh; in this situation, the LPSP is about 4%, the renewable fraction is near 100%, and the power availability is more than 99%. Table 9 presents the size results, which show that the best project needs 261.3031 m2 of PV area, 102.7114 m2 of swept area of the wind turbines, 23.2177 kWh of battery, and 1.0762 kW of diesel. Table 10 presents the convergence time of all simulations.
Figure 17 presents the convergence curve of the NPC for the PV/wind/diesel/battery HRES; the curve shows that the IHBO algorithm gives better convergence results.

6.2. Impact of Fuel Price Variation

In the paper, if we suppose that the price of fuel is about MAD 0.41/L, then we can compare the total investment cost with the previous study that used the actual price, which is MAD 0.96/L.
From Table 11, it is clearly shown that the NPC of the HRES is reduced strongly while it is passed from MAD 120,463. Table 12 presents the optimal HRES size using all optimization algorithms. Figure 18 presents the convergence curve of the NPC for the PV/diesel/battery HRES, with a fuel price of MAD 0.54/L. This figure shows that the IHBO algorithm gives the better convergence results.

7. Conclusions

This paper proposed a platform to design an HRES microgrid system based on two configurations, PV/diesel/battery, and PV/wind/diesel/battery. The platform is based on modeling, power management, and a cost optimization study using an improved IHBO algorithm. The proposed IHBO algorithm proved its efficacy in finding the optimal solution compared with many algorithms, including AEFA, GWO, HHO, and the original HBO. In the paper, we discussed the case of reducing fuel prices and its impact on the investment cost. The results show that the NPC is highly reduced when the use of diesel is small. Several systems, such as hydrogen storage and biomass systems, can be integrated in the microgrid. Future work will focus on developing configurations considering the degradation of battery characteristics.

Author Contributions

Conceptualization, M.K. and S.K.; methodology, S.K.E., M.H.H. and I.B.M.T.; software, M.K., S.K. and M.H.H.; validation, S.K.E. and I.B.M.T.; formal analysis, M.K., S.K. and M.H.H.; investigation, S.K.E. and I.B.M.T.; resources, M.K., S.K. and M.H.H.; data curation, S.K.E. and I.B.M.T.; writing original draft preparation, M.K., S.K. and M.H.H.; writing on characteristic, S.K.E. and I.B.M.T.; visualization, S.K.E. and I.B.M.T.; supervision, S.K.; project administration, M.K. All authors have read and agreed to the published version of the manuscript.

Funding

This study was funded by Taif University Researchers Supporting Project Number (TURSP-2020/61), Taif University, Taif, Saudi Arabia.

Institutional Review Board Statement

Not applicable.

Informed Consent Statement

Not applicable.

Data Availability Statement

Not applicable.

Acknowledgments

The authors would like to acknowledge the financial support received from Taif University Researchers Supporting Project Number (TURSP-2020/61), Taif University, Taif, Saudi Arabia.

Conflicts of Interest

The authors declare no conflict of interest.

Nomenclature

AEFAArtificial electric field algorithm
BESSBattery energy storage system
BOBonobo optimizer
BSABacktracking aearch algorithm
COECost of energy
DGDiesel generator
GWOGrey wolf optimizer
CRHCorporate rank hierarchy
HBOHeap-based optimizer
HHOHarris hawks optimizer
HRES Hybrid renewable energy system
IWOInvasive weed optimization
MPPTMaximum power point tracker
NPCNet present cost
PSOParticle swarm optimization
QOBOQuasi-oppositional bonobo optimizer
RESSOCRenewable energy sourcesState of charge
WTWind turbine
Symbols
A g , B g Constants of the linear consumption of the fuel (L/kW)
A p v PV area (m2)
A w i n d Swept area of the wind turbine (m2)
C B E S S Capacity of BESS (kWh)
C p Maximum power coefficient (%)
E b m i n Min battery energy in discharge (kWh)
E l Energy Load (kWh)
F C d g Fuel cost (MAD)
F d g Fuel consumption (L/h)
P d g , o u t Output power of diesel generator (kW)
P d g Rated power of diesel generator (kW)
P l o a d Load power (kW)
P p v Output power of PV (kW)
P r e Output power of renewable energy sources (kW)
P w i n d Output wind power (kW)
T a Ambient temperature (°C),
T r Photovoltaic cell reference temperature (°C).
i r Interest rate (%)
Max_iterMaximum iteration
v c i Cut-in speed (m/s)
v c o Cut-out speed (m/s)
v r Rated wind speed (m/s)
η b Efficiency of the battery (%)
η i Efficiency of the inverter (%)
η p v Efficiency of the PV (%)
η r Reference efficiency
η t Efficiency of the MPPT equipment
STD Standard deviation
A v Availability index (%)
A D Autonomy daily of the battery (day)
A D m i n Minimum allowed autonomy daily of the battery (day)
C Capital cost (MAD)
C R F Capital recovery factor
D O D Depth of discharge (%)
I Solar irradiation (kW/m2)
L C O E Levelized cost of energy (MAD/kWh)
L P S P Loss of power supply probability (%)
N O C T Nominal operating cell temperature (°C),
N P C Net present cost (MAD)
O M Operation and maintenance cost (MAD)
R Replacement cost (MAD)
R F Renewable fraction (%)
v Wind velocity (m/s)
ρ Air density (Kg/m3)

Appendix A

Table A1. Summary of the HRES parameters.
Table A1. Summary of the HRES parameters.
SymbolQuantityConversion
NProject lifetime20 year
η r Reference efficiency of the PV25%
η t Efficiency of MPPT100%
T r PV cell reference temperature25 °C
β Temperature coefficient0.005 °C
NOCTNominal operating cell temperature47 °C
N p v PV system lifetime20 year
C p Maximum power coefficient48%
V c i Cut-in wind speed2.6 m/s
V c o Cut-out wind speed25 m/s
V r Rated wind speed9.5 m/s
N w i n d Wind system lifetime20 year
p f Fuel price in MoroccoMAD 0.96/L
N d i e s e l Diesel system lifetime7 year
D O D Depth of discharge80%
η b Battery efficiency97%
N b a t Battery system lifetime5 year
η i n v Inverter efficiency97%

References

  1. 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]
  2. Dagar, A.; Gupta, P.; Niranjan, V. Microgrid protection: A comprehensive review. Renew. Sustain. Energy Rev. 2021, 149, 111401. [Google Scholar] [CrossRef]
  3. Beheshtaein, S.; Cuzner, R.M.; Forouzesh, M.; Savaghebi, M.; Guerrero, J.M. DC Microgrid Protection: A Comprehensive Review. IEEE J. Emerg. Sel. Top. Power Electron. 2019. [Google Scholar] [CrossRef]
  4. Azeem, O.; Ali, M.; Abbas, G.; Uzair, M.; Qahmash, A.; Algarni, A.; Hussain, M.R. A Comprehensive Review on Integration Challenges, Optimization Techniques and Control Strategies of Hybrid AC/DC Microgrid. Appl. Sci. 2021, 11, 6242. [Google Scholar] [CrossRef]
  5. Al-Ismail, F.S. DC Microgrid Planning, Operation, and Control: A Comprehensive Review. IEEE Access 2021, 9, 36154–36172. [Google Scholar] [CrossRef]
  6. Roy, A.; Auger, F.; Olivier, J.-C.; Schaeffer, E.; Auvity, B. Design, Sizing, and Energy Management of Microgrids in Harbor Areas: A Review. Energies 2020, 13, 5314. [Google Scholar] [CrossRef]
  7. Marqusee, J.; Becker, W.; Ericson, S. Resilience and economics of microgrids with PV, battery storage, and networked diesel generators. Adv. Appl. Energy 2021, 3, 100049. [Google Scholar] [CrossRef]
  8. Kharrich, M.; Kamel, S.; Abdeen, M.; Mohammed, O.H.; Akherraz, M.; Khurshaid, T.; Rhee, S.-B. Developed approach Based on Equilibrium Optimizer for Optimal Design of Hybrid PV/Wind/Diesel/Battery Microgrid in Dakhla, Morocco. IEEE Access 2021, 9, 13655–13670. [Google Scholar] [CrossRef]
  9. Fathy, A.; Kaaniche, K.; Alanazi, T.M. Recent Approach Based Social Spider Optimizer for Optimal Sizing of Hybrid PV/Wind/Battery/Diesel Integrated Microgrid in Aljouf Region. IEEE Access 2020, 8, 57630–57645. [Google Scholar] [CrossRef]
  10. Hafez, A.A.; Abdelaziz, A.Y.; Hendy, M.A.; Ali, A.F.M. Optimal sizing of off-line microgrid via hybrid multi-objective simulated annealing particle swarm optimizer. Comput. Electr. Eng. 2021, 94, 107294. [Google Scholar] [CrossRef]
  11. Kharrich, M.; Mohammed, O.H.; Alshammari, N.; Akherraz, M. Multi-objective optimization and the effect of the economic factors on the design of the microgrid hybrid system. Sustain. Cities Soc. 2021, 65, 102646. [Google Scholar] [CrossRef]
  12. Mah, A.X.Y.; Ho, W.S.; Hassim, M.H.; Hashim, H.; Ling, G.H.T.; Ho, C.S.; Muis, Z.A. Optimization of photovoltaic-based microgrid with hybrid energy storage: A P-graph approach. Energy 2021, 233, 121088. [Google Scholar] [CrossRef]
  13. Lai, C.S.; Locatelli, G.; Pimm, A.; Tao, Y.; Li, X.; Lai, L.L. A financial model for lithium-ion storage in a photovoltaic and biogas energy system. Appl. Energy 2019, 251, 113179. [Google Scholar] [CrossRef]
  14. Naderi, E.; Narimani, H.; Pourakbari-Kasmaei, M.; Cerna, F.V.; Marzband, M.; Lehtonen, M. State-of-the-Art of Optimal Active and Reactive Power Flow: A Comprehensive Review from Various Standpoints. Processes 2021, 9, 1319. [Google Scholar] [CrossRef]
  15. Hassan, M.H.; Kamel, S.; Abualigah, L.; Eid, A. Development and application of slime mould algorithm for optimal economic emission dispatch. Expert Syst. Appl. 2021, 182, 115205. [Google Scholar] [CrossRef]
  16. Cerna, F.V.; Pourakbari-Kasmaei, M.; Pinheiro, L.S.; Naderi, E.; Lehtonen, M.; Contreras, J. Intelligent Energy Management in a Prosumer Community Considering the Load Factor Enhancement. Energies 2021, 14, 3624. [Google Scholar] [CrossRef]
  17. Ramadan, A.; Kamel, S.; Hassan, M.H.; Khurshaid, T.; Rahmann, C. An Improved Bald Eagle Search Algorithm for Parameter Estimation of Different Photovoltaic Models. Processes 2021, 9, 1127. [Google Scholar] [CrossRef]
  18. Naderi, E.; Asrari, A. Hardware-in-the-loop experimental validation for a lab-scale microgrid targeted by cyberattacks. In Proceedings of the 9th International Conference on Smart Grid, Setubal, Portugal, 29 June–1 July 2021; Volume 29. [Google Scholar]
  19. Naderi, E.; Pazouki, S.; Asrari, A. A Region-based Framework for Cyberattacks Leading to Undervoltage in Smart Distribution Systems. In Proceedings of the 2021 IEEE Power and Energy Conference at Illinois (PECI), Urbana, IL, USA, 1–2 April 2021. [Google Scholar]
  20. Naderi, E.; Asrari, A. Approaching Optimal Power Flow from Attacker’s Standpoint to Launch False Data Injection Cyberattack. In Proceedings of the 2020 IEEE Green Energy and Smart Systems Conference (IGESSC), Long Beach, CA, USA, 2–3 November 2020. [Google Scholar]
  21. Cao, B.; Dong, W.; Lv, Z.; Gu, Y.; Singh, S.; Kumar, P. Hybrid Microgrid Many-Objective Sizing Optimization with Fuzzy Decision. IEEE Trans. Fuzzy Syst. 2020, 28, 2702–2710. [Google Scholar] [CrossRef]
  22. Xu, Y.-P.; Ouyang, P.; Xing, S.-M.; Qi, L.-Y.; Khayatnezhad, M.; Jafari, H. Optimal structure design of a PV/FC HRES using amended Water Strider Algorithm. Energy Rep. 2021, 7, 2057–2067. [Google Scholar] [CrossRef]
  23. Lei, G.; Song, H.; Rodriguez, D. Power generation cost minimization of the grid-connected hybrid renewable energy system through optimal sizing using the modified seagull optimization technique. Energy Rep. 2020, 6, 3365–3376. [Google Scholar] [CrossRef]
  24. Kharrich, M.; Kamel, S.; Ellaia, R.; Akherraz, M.; Alghamdi, A.S.; Abdel-Akher, M.; Eid, A.; Mosaad, M.I. Economic and Ecological Design of Hybrid Renewable Energy Systems Based on a Developed IWO/BSA Algorithm. Electronics 2021, 10, 687. [Google Scholar] [CrossRef]
  25. Yu, G.; Meng, Z.; Ma, H.; Liu, L. An adaptive Marine Predators Algorithm for optimizing a hybrid PV/DG/Battery System for a remote area in China. Energy Rep. 2021, 7, 398–412. [Google Scholar] [CrossRef]
  26. Kharrich, M.; Mohammed, O.H.; Kamel, S.; Selim, A.; Sultan, H.M.; Akherraz, M.; Jurado, F. Development and Implementation of a Novel Optimization Algorithm for Reliable and Economic Grid-Independent Hybrid Power System. Appl. Sci. 2020, 10, 6604. [Google Scholar] [CrossRef]
  27. Lai, C.S.; McCulloch, M.D. Sizing of Stand-Alone Solar PV and Storage System with Anaerobic Digestion Biogas Power Plants. IEEE Trans. Ind. Electron. 2017, 64, 2112–2121. [Google Scholar] [CrossRef]
  28. Heydari, A.; Askarzadeh, A. Optimization of a biomass-based photovoltaic power plant for an off-grid application subject to loss of power supply probability concept. Appl. Energy 2016, 165, 601–611. [Google Scholar] [CrossRef]
  29. Tabak, A.; Kayabasi, E.; Guneser, M.T.; Ozkaymak, M. Grey wolf optimization for optimum sizing and controlling of a PV/WT/BM hybrid energy system considering TNPC, LPSP, and LCOE concepts. Energy Sources. Part A Recovery Util. Environ. Eff. 2019, 1–21. [Google Scholar] [CrossRef]
  30. Guangqian, D.; Bekhrad, K.; Azarikhah, P.; Maleki, A.A. hybrid algorithm based optimization on modeling of grid independent biodiesel-based hybrid solar/wind systems. Renew. Energy 2018, 122, 551–560. [Google Scholar] [CrossRef]
  31. Ramli, M.A.M.; Bouchekara, H.R.E.H.; Alghamdi, A.S. Optimal sizing of PV/wind/diesel hybrid microgrid system using multi-objective self-adaptive differential evolution algorithm. Renew. Energy 2018, 121, 400–411. [Google Scholar] [CrossRef]
  32. Movahediyan, Z.; Askarzadeh, A. Multi-objective optimization framework of a photovoltaic-diesel generator hybrid energy system considering operating reserve. Sustain. Cities Soc. 2018, 41, 1–12. [Google Scholar] [CrossRef]
  33. 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]
  34. Askari, Qamar, Mehreen Saeed, and Irfan Younas. Heap-based optimizer inspired by corporate rank hierarchy for global optimization. Expert Syst. Appl. 2020, 161, 113702. [Google Scholar] [CrossRef]
  35. Eberhart, R.; Kennedy, J. A new optimizer using particle swarm theory. MHS’95. In Proceedings of the Sixth International Symposium on Micro Machine and Human Science, Nagoya, Japan, 4–6 October 1995. [Google Scholar]
  36. Pervez, I.; Malick, I.H.; Tariq, M.; Sarwar, A.; Zaid, M. A maximum power point tracking method using a hybrid PSO and grey wolf optimization algorithm. In Proceedings of the 2019 2nd International Conference on Power Energy, Environment and Intelligent Control (PEEIC), Greater Noida, India, 18–19 October 2019; pp. 565–569. [Google Scholar]
  37. Mirjalili, S. SCA: A sine cosine algorithm for solving optimization problems. Knowl.-Based Syst. 2016, 96, 120–133. [Google Scholar] [CrossRef]
  38. Mirjalili, S.; Gandomi, A.; Mirjalili, S.Z.; Saremi, S.; Faris, H.; Mirjalili, S.M. Salp Swarm Algorithm: A bio-inspired optimizer for engineering design problems. Adv. Eng. Softw. 2017, 114, 163–191. [Google Scholar] [CrossRef]
  39. Rizk-Allah, R.M.; Hassanien, A.E. A movable damped wave algorithm for solving global optimization problems. Evol. Intell. 2018, 12, 49–72. [Google Scholar] [CrossRef]
Figure 1. Partial examples of corporate rank hierarchy (a) and 3-ary min-heap (b).
Figure 1. Partial examples of corporate rank hierarchy (a) and 3-ary min-heap (b).
Sustainability 13 10419 g001
Figure 2. An illustration of the modeling of the CRH with min-heap.
Figure 2. An illustration of the modeling of the CRH with min-heap.
Sustainability 13 10419 g002
Figure 3. Flowchart of the proposed IHBO technique.
Figure 3. Flowchart of the proposed IHBO technique.
Sustainability 13 10419 g003
Figure 4. Qualitative metrics on F1, F4, F7, F9, F11, F12, F15 and F18: 2D views of the functions, search history, average fitness history, and convergence curve.
Figure 4. Qualitative metrics on F1, F4, F7, F9, F11, F12, F15 and F18: 2D views of the functions, search history, average fitness history, and convergence curve.
Sustainability 13 10419 g004aSustainability 13 10419 g004b
Figure 5. The convergence curves of all algorithms for unimodal benchmark functions (a) F1, (b) F2, (c) F3, (d) F4, (e) F5, (f) F6, and (g) F7.
Figure 5. The convergence curves of all algorithms for unimodal benchmark functions (a) F1, (b) F2, (c) F3, (d) F4, (e) F5, (f) F6, and (g) F7.
Sustainability 13 10419 g005
Figure 6. Boxplots for all algorithms for unimodal benchmark functions (a) F1, (b) F2, (c) F3, (d) F4, (e) F5, (f) F6, and (g) F7.
Figure 6. Boxplots for all algorithms for unimodal benchmark functions (a) F1, (b) F2, (c) F3, (d) F4, (e) F5, (f) F6, and (g) F7.
Sustainability 13 10419 g006
Figure 7. The convergence curves of all algorithms for multi-modal benchmark functions (a) F8, (b) F9, (c) F10, (d) F11, (e) F12 and (f) F13.
Figure 7. The convergence curves of all algorithms for multi-modal benchmark functions (a) F8, (b) F9, (c) F10, (d) F11, (e) F12 and (f) F13.
Sustainability 13 10419 g007
Figure 8. Boxplots for all algorithms for multi-modal benchmark functions (a) F8, (b) F9, (c) F10, (d) F11, (e) F12 and (f) F13.
Figure 8. Boxplots for all algorithms for multi-modal benchmark functions (a) F8, (b) F9, (c) F10, (d) F11, (e) F12 and (f) F13.
Sustainability 13 10419 g008
Figure 9. The convergence curves of all algorithms for composite benchmark functions (a) F14, (b) F15, (c) F16, (d) F17, (e) F18, (f) F19, (g) F20, (h) F21, (i) F22, and (j) F23.
Figure 9. The convergence curves of all algorithms for composite benchmark functions (a) F14, (b) F15, (c) F16, (d) F17, (e) F18, (f) F19, (g) F20, (h) F21, (i) F22, and (j) F23.
Sustainability 13 10419 g009
Figure 10. Boxplots for all algorithms for composite benchmark functions (a) F14, (b) F15, (c) F16, (d) F17, (e) F18, (f) F19, (g) F20, (h) F21, (i) F22, and (j) F23.
Figure 10. Boxplots for all algorithms for composite benchmark functions (a) F14, (b) F15, (c) F16, (d) F17, (e) F18, (f) F19, (g) F20, (h) F21, (i) F22, and (j) F23.
Sustainability 13 10419 g010aSustainability 13 10419 g010b
Figure 11. Load power.
Figure 11. Load power.
Sustainability 13 10419 g011
Figure 12. Solar radiation.
Figure 12. Solar radiation.
Sustainability 13 10419 g012
Figure 13. Temperature.
Figure 13. Temperature.
Sustainability 13 10419 g013
Figure 14. Wind speed.
Figure 14. Wind speed.
Sustainability 13 10419 g014
Figure 15. Pressure.
Figure 15. Pressure.
Sustainability 13 10419 g015
Figure 16. PV/diesel/battery.
Figure 16. PV/diesel/battery.
Sustainability 13 10419 g016
Figure 17. Convergence curve for the PV/wind/diesel/battery HRES.
Figure 17. Convergence curve for the PV/wind/diesel/battery HRES.
Sustainability 13 10419 g017
Figure 18. Convergence PV/diesel/battery with a fuel price of 0.54.
Figure 18. Convergence PV/diesel/battery with a fuel price of 0.54.
Sustainability 13 10419 g018
Table 1. Parameter settings of the selected techniques.
Table 1. Parameter settings of the selected techniques.
AlgorithmsParameter Settings
Common settingsPopulation size: nPop = 50 Maximum iterations: Max_iter = 1000 Number of independent runs: 20
SSAc2 = rand; c3 = rand
MDWAamax = 1; amin = 0
SCAA = 2
IHBOsv = 100; degree = 3; w = 0.7; C1 = 0.5; C2 = 0.5; r1 = rand; r2 = rand
HBOsv = 100; degree = 3
Table 2. Results of unimodal benchmark functions.
Table 2. Results of unimodal benchmark functions.
FunctionHBOIHBOSCAMDWASSA
F1Best8.81 × 10−653.11× 10−865.61 × 10−411.34 × 10−442.21 × 10−10
Worst7.28 × 10−593.81× 10−811.24 × 10−283 × 10−398.48 × 10−10
Mean4 × 10−603.72× 10−828.72 × 10−303.01 × 10−405.63 × 10−10
std1.63 × 10−598.56× 10−822.92 × 10−298.19 × 10−401.99 × 10−10
F2Best1.24 × 10−394.59× 10−536.81 × 10−271.14 × 10−222.69 × 10−06
Worst4.86 × 10−371.2× 10−491.84 × 10−192.86 × 10−221.54 × 10−05
Mean5.65 × 10−381.99× 10−509.67 × 10−211.89 × 10−226.7 × 10−06
std1.12 × 10−373.32× 10−504.11 × 10−204.64 × 10−232.62 × 10−06
F3Best2.24 × 10−093 × 10−161.42 × 10−195.59× 10−223.12 × 10−10
Worst2.29 × 10−051.8 × 10−114.44 × 10−125.44× 10−131.84 × 10−09
Mean1.78 × 10−061.45 × 10−122.57 × 10−133.52× 10−141.14 × 10−09
std5.22 × 10−064.09 × 10−129.86 × 10−131.21× 10−134.43 × 10−10
F4Best8.73 × 10−142.76× 10−161.04 × 10−131.67 × 10−157.74 × 10−06
Worst1.94 × 10−101.5× 10−133.01 × 10−081.72 × 10−111.73 × 10−05
Mean2.54 × 10−112.05× 10−142 × 10−092.27 × 10−121.25 × 10−05
std4.6 × 10−113.92× 10−146.71 × 10−094.03 × 10−122.36 × 10−06
F5Best0.0728120.0102456.3647610.0686094.046853
Worst8.5533384.2293618.0787484.466474600.9202
Mean1.9996321.4305286.9674840.87940373.87534
std2.5071431.5044230.505861.21085150.4287
F6Best0.000.007.99 × 10−026.83 × 10−062.94 × 10−10
Worst1.23 × 10−320.005.71 × 10−011.11 × 10−048.89 × 10−10
Mean1.23 × 10−330.003.12 × 10−012.93 × 10−055.74 × 10−10
std3.79 × 10−330.001.35 × 10−012.67 × 10−051.60 × 10−10
F7Best7.43 × 10−043.54 × 10−045.78× 10−052.88 × 10−046.27 × 10−04
Worst3.22 × 10−033.30 × 10−031.82× 10−034.33 × 10−031.49 × 10−02
Mean1.99 × 10−031.50 × 10−036.88× 10−041.46 × 10−034.60 × 10−03
std7.46 × 10−047.90 × 10−045.20× 10−041.23 × 10−033.22 × 10−03
The best values obtained are in bold.
Table 3. Results of multimodal benchmark functions.
Table 3. Results of multimodal benchmark functions.
FunctionHBOIHBOSCAMDWASSA
F8Best−4189.83−4189.83−2724.77−2752.03−3262.03
Worst−4189.83−4189.83−1976.68−1566.57−2423.89
Mean−4189.83−4189.83−2297.91−2116.51−2851.97
std1.87× 10−121.87× 10−12187.9469338.86263.4202
F9Best0.000.000.000.004.974795
Worst0.000.99495919.687570.0024.87393
Mean0.000.0497480.9843790.0013.82991
std0.000.222484.4022750.005.448648
F10Best4.44 × 10−154.44 × 10−154.44 × 10−158.88× 10−166.91 × 10−06
Worst4.44× 10−154.44× 10−152.43 × 10−127.99 × 10−152.01 × 10+00
Mean4.44× 10−154.44× 10−151.26 × 10−134.44 × 10−151.58 × 10−01
std0.000.005.43 × 10−131.15 × 10−155.07 × 10−01
F11Best0.000.000.000.007.38 × 10−02
Worst1.06 × 10−092.46 × 10−021.31 × 10−010.006.13 × 10−01
Mean5.32 × 10−112.59 × 10−038.38 × 10−030.002.77 × 10−01
std2.38 × 10−106.16 × 10−032.96 × 10−020.001.51 × 10−01
F12Best4.71× 10−324.71× 10−321.85 × 10−029.67 × 10−073.46 × 10−12
Worst4.81× 10−324.71× 10−329.96 × 10−021.31 × 10−043.12 × 10+00
Mean4.72× 10−324.71× 10−326.12 × 10−022.06 × 10−053.30 × 10−01
std2.16 × 10−345.62× 10−482.05 × 10−023.56 × 10−057.87 × 10−01
F13Best1.35× 10−321.35× 10−325.71 × 10−022.48 × 10−061.51 × 10−11
Worst1.84 × 10−321.35× 10−323.59 × 10−013.70 × 10−041.10 × 10−02
Mean1.37 × 10−321.35× 10−322.16 × 10−014.53 × 10−051.65 × 10−03
std1.10 × 10−332.81× 10−487.48 × 10−028.66 × 10−054.03 × 10−03
The best values obtained are in bold.
Table 4. Results of composite benchmark functions.
Table 4. Results of composite benchmark functions.
FunctionHBOIHBOSCAMDWASSA
F14Best9.98× 10−019.98× 10−019.98× 10−019.98× 10−019.98× 10−01
Worst9.98× 10−019.98× 10−012.98 × 10+006.90 × 10+009.98× 10−01
Mean9.98× 10−019.98× 10−011.49 × 10+004.12 × 10+009.98× 10−01
std0.000.008.81 × 10−012.51 × 10+001.25 × 10−16
F15Best3.15 × 10−043.07× 10−043.46 × 10−043.10 × 10−043.07× 10−04
Worst7.59 × 10−043.56× 10−041.50 × 10−031.66 × 10−031.27 × 10−03
Mean5.77 × 10−043.10× 10−048.01 × 10−045.92 × 10−049.01 × 10−04
std1.55 × 10−041.08× 10−053.78 × 10−043.77 × 10−043.21 × 10−04
F16Best−1.03163−1.03163−1.03163−1.03163−1.03163
Worst−1.03163−1.03163−1.03159−1.03163−1.03163
Mean−1.03163−1.03163−1.03161−1.03163−1.03163
std2.28× 10−162.28× 10−161.2 × 10−054.18 × 10−074.92 × 10−15
F17Best0.3978870.3978870.3979070.3978870.397887
Worst0.3978870.3978870.4014880.3979990.397887
Mean0.3978870.3978870.3987430.3978960.397887
std0.000.000.0009452.48 × 10−051.1 × 10−14
F18Best33333
Worst333.0000523.0002283
Mean333.0000073.0000263
std6.03× 10−161.11 × 10−151.2 × 10−055.53 × 10−055.2 × 10−14
F19Best−3.86278−3.86278−3.86221−3.86278−3.86278
Worst−3.86278−3.86278−3.85312−3.86276−3.86278
Mean−3.86278−3.86278−3.85612−3.86278−3.86278
std2.28× 10−152.28× 10−150.0031475.9 × 10−061.22 × 10−14
F20Best−3.322−3.322−3.18286−3.32199−3.322
Worst−3.322−3.322−1.92056−3.20299−3.1952
Mean−3.322−3.322−2.9198−3.21496−3.22015
std4.56× 10−165.19 × 10−160.374410.0365960.043929
F21Best−10.1532−10.1532−5.86842−10.1532−10.1532
Worst−10.1532−10.1532−0.49729−2.63044−2.63047
Mean−10.1532−10.1532−2.22823−6.14446−8.6434
std3.43× 10−153.65 × 10−151.8856563.4767012.751568
F22Best−10.4029−10.4029−9.10162−10.4029−10.4029
Worst−10.4029−10.4029−0.90756−2.75188−2.7659
Mean−10.4029−10.4029−4.00724−6.90966−9.37553
std3.21 × 10−152.51× 10−152.1110633.3084242.548
F23Best−10.5364−10.5364−7.64188−10.5363−10.5364
Worst−10.5364−10.5364−3.70826−2.42157−2.42734
Mean−10.5364−10.5364−5.51857−6.16316−9.86292
std1.78× 10−151.95 × 10−150.955253.4202072.120365
The best values obtained are in bold.
Table 5. Results of the PV/diesel/battery HRES.
Table 5. Results of the PV/diesel/battery HRES.
AlgorithmNPC (MAD)LCOE (MAD/kWh)LPSPRF (%)Availability (%)
AEFA169,1420.13610.036099.790598.5686
GWO191,6610.15430.038699.696198.6947
HHO147,5270.11870.026999.728998.5725
HBO175,3210.14110.038395.505198.9342
IHBO120,4630.13840.038995.380298.8665
Table 6. Sizing results of the PV/diesel/battery HRES.
Table 6. Sizing results of the PV/diesel/battery HRES.
AlgorithmPV (m2)Battery (kWh)Diesel (kW)
AEFA306.34.380.65
GWO3345.161.1
HHO263.41.850.65
HBO170.60.634
IHBO167.403.88
Table 7. Convergence time of algorithms.
Table 7. Convergence time of algorithms.
AlgorithmConvergence Time (s)
AEFA5421
GWO5959
HHO7283
HBO333
IHBO14,017
Table 8. Results of the PV/wind/diesel/battery HRES.
Table 8. Results of the PV/wind/diesel/battery HRES.
AlgorithmNPC (MAD)LCOE (MAD/kWh)LPSPRF (%)Availability (%)
AEFA221,6940.17840.044099.436298.7671
GWO226,5590.18230.023398.603399.5884
HHO215,3710.17330.007699.954099.6287
HBO461,2330.37120.003099.887099.9540
IHBO165,9990.13360.044599.913399.0391
Table 9. Sizing results of the PV/wind/diesel/battery HRES.
Table 9. Sizing results of the PV/wind/diesel/battery HRES.
AlgorithmPV (m2)Wind (m2)Battery (kWh)Diesel (kW)
AEFA92.9659.80.144.83
GWO143.917414.647.24
HHO317.8232.63.591.47
HBO403.9652.82.3510.6
IHBO261.3102.723.21
Table 10. Convergence time of the algorithms.
Table 10. Convergence time of the algorithms.
AlgorithmConvergence Time (s)
AEFA1176
GWO1079
HHO3931
HBO680
IHBO4942
Table 11. Results of the PV/diesel/battery HRES with fuel prices.
Table 11. Results of the PV/diesel/battery HRES with fuel prices.
AlgorithmNPC (MAD)LCOE (MAD/kWh)LPSPRF (%)Availability (%)
AEFA166,3030.13390.032496.159899.4268
GWO107,5320.08650.048397.084698.0032
HHO87,3940.07030.049699.609096.1823
HBO125,7910.10120.029697.746898.8978
IHBO68,1210.05480.111999.999988.8055
Table 12. Sizing results of the PV/diesel/battery HRES.
Table 12. Sizing results of the PV/diesel/battery HRES.
AlgorithmPV (m2)Battery (kWh)Diesel (kW)
AEFA216.73.76
GWO163.70.42.24
HHO161.80.70.29
HBO19402.79
IHBO124.900
Publisher’s Note: MDPI stays neutral with regard to jurisdictional claims in published maps and institutional affiliations.

Share and Cite

MDPI and ACS Style

Kharrich, M.; Kamel, S.; Hassan, M.H.; ElSayed, S.K.; Taha, I.B.M. An Improved Heap-Based Optimizer for Optimal Design of a Hybrid Microgrid Considering Reliability and Availability Constraints. Sustainability 2021, 13, 10419. https://0-doi-org.brum.beds.ac.uk/10.3390/su131810419

AMA Style

Kharrich M, Kamel S, Hassan MH, ElSayed SK, Taha IBM. An Improved Heap-Based Optimizer for Optimal Design of a Hybrid Microgrid Considering Reliability and Availability Constraints. Sustainability. 2021; 13(18):10419. https://0-doi-org.brum.beds.ac.uk/10.3390/su131810419

Chicago/Turabian Style

Kharrich, Mohammed, Salah Kamel, Mohamed H. Hassan, Salah K. ElSayed, and Ibrahim B. M. Taha. 2021. "An Improved Heap-Based Optimizer for Optimal Design of a Hybrid Microgrid Considering Reliability and Availability Constraints" Sustainability 13, no. 18: 10419. https://0-doi-org.brum.beds.ac.uk/10.3390/su131810419

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