원시데이터 수집 시스템
선정목록으로

Application of Different Optimization Algorithms for Optimal Sizing of PV/Wind/Diesel/Battery Storage Stand-Alone Hybrid Microgrid

관련 수소연료전지 · (5) 연료전지용 수분제어장치(가습기)

기본 정보

저자
  1. Ahmed A. Zaki Diab — Electrical Engineering Department, Minia University, Minia, Egypt
  2. Hamdy M. Sultan — Electrical Engineering Department, Minia University, Minia, Egypt
  3. Ihab S. Mohamed — INRIA Sophia Antipolis - Méditerranée, University Côte d'Azur, Nice, France
  4. Oleg N. Kuznetsov — Electrical Power Systems Department, Moscow Power Engineering Institute (MPEI), Moscow, Russia
  5. Ton Duc — Department of Robotics and Mechatronics, Nazarbayev University, Nur-Sultan, Kazakhstan
DOI
10.1109/access.2019.2936656
저널
IEEE Access
발행년도
2019
발행기관
Institute of Electrical and Electronics Engineers
피인용수
216
라이선스
cc-by
논문 유형
–
언어
–
원문 페이지
https://doi.org/10.1109/access.2019.2936656
토픽
Hybrid Renewable Energy Systems
OpenAlex ID
W2969751237

평가 내용

관련도
관련
사업분야
수소연료전지 · (5) 연료전지용 수분제어장치(가습기)
부 분야
–
R&D 측면
–
확신도
–
근거 용어
–
판단 근거
임베딩 유사도 기반 평가로 '수소연료전지 > 연료전지용 수분제어장치(가습기)' 분야에 선정된 논문입니다.
R&D 활용 포인트
–
평가 입력
–

초록

In this paper, a simulation model describing the operation of a PV/wind/diesel hybrid microgrid system with battery bank storage has been proposed. Optimal sizing of the proposed system has been presented to minimize the cost of energy (COE) supplied by the system while increasing the reliability and efficiency of the system presented by the loss of power supply probability (LPSP). Novel optimization algorithms of Whale Optimization Algorithm (WOA), Water Cycle Algorithm (WCA), Moth-Flame Optimizer (MFO), and Hybrid particle swarm-gravitational search algorithm (PSOGSA) have been applied for designing the optimized microgrid. Moreover, a comprehensive comparison has been accomplished between the proposed optimization techniques. The optimal sizing of the system components has been carried out using real-time meteorological data of Abu-Monqar village located in the Western Desert of Egypt for the first time for developing this promising remote area. Statistical study for determining the capability of the optimization algorithm in finding the optimal solution has been presented. Simulation results confirmed the promising performance of the hybrid WOA over the other algorithms.

본문 87,471자

본문 펼치기
Received July 14, 2019, accepted August 16, 2019, date of publication August 21, 2019, date of current version September 6, 2019. _Digital Object Identifier 10.1109/ACCESS.2019.2936656_ # Application of Different Optimization Algorithms for Optimal Sizing of PV/Wind/Diesel/Battery Storage Stand-Alone Hybrid Microgrid AHMED A. ZAKI DIAB <sup>1,2</sup>, HAMDY M. SULTAN 2, IHAB S. MOHAMED 3, KUZNETSOV OLEG N. <sup>4</sup>, AND TON DUC DO 5, (Member, IEEE) 1Department of Electrical and Electronic Engineering, Kyushu University, Fukuoka 819-0395, Japan 2Electrical Engineering Department, Faculty of Engineering, Minia University, Minia 61111, Egypt 3INRIA Sophia Antipolis - Méditerranée, University Côte d’Azur, 06100 Nice, France 4Electrical Power Systems Department, Moscow Power Engineering Institute (MPEI), 111250 Moscow, Russia 5Department of Robotics and Mechatronics, School Engineering and Digital Sciences (SEDS), Nazarbayev University, Nur-Sultan Z05H0P9, Kazakhstan Corresponding authors: Ahmed A. Zaki Diab (a.diab@mu.edu.eg) and Ton Duc Do (doduc.ton@nu.edu.kz) This work was supported by Nazarbayev University through the NU-ORAU Program, under Grant 06/06.17.24. ABSTRACT In this paper, a simulation model describing the operation of a PV/wind/diesel hybrid microgrid system with battery bank storage has been proposed. Optimal sizing of the proposed system has been presented to minimize the cost of energy (COE) supplied by the system while increasing the reliability and efficiency of the system presented by the loss of power supply probability (LPSP). Novel optimization algorithms of Whale Optimization Algorithm (WOA), Water Cycle Algorithm (WCA), Moth-Flame Optimizer (MFO), and Hybrid particle swarm-gravitational search algorithm (PSOGSA) have been applied for designing the optimized microgrid. Moreover, a comprehensive comparison has been accomplished between the proposed optimization techniques. The optimal sizing of the system components has been carried out using real-time meteorological data of Abu-Monqar village located in the Western Desert of Egypt for the first time for developing this promising remote area. Statistical study for determining the capability of the optimization algorithm in finding the optimal solution has been presented. Simulation results confirmed the promising performance of the hybrid WOA over the other algorithms. INDEX TERMS Isolated microgrids, cost of energy (COE), loss of power supply probability (LPSP), optimization. ACRONYMS AND ABBREVIATIONS _COE_ Cost of Energy _WOA_ Whale Optimization Algorithm _WCA_ Water Cycle Algorithm _MFO_ Moth-Flame Optimizer _PSOGSA_ Hybrid particle Swarm-Gravitational Search Algorithm _LPSP_ Loss of Power Supply Probability _RES_ Renewable Energy Systems _GA_ Genetic Algorithm _PSO_ Particle Swarm Optimization _SA_ Simulated Annealing Optimization _RSM_ Response Surface Methodology The associate editor coordinating the review of this manuscript and approving it for publication was Nishad Mendis. _MOPSO_ Multi-Objective Particle Swarm Optimization _SOO_ Single Objective Optimization _ELF_ Equivalent Loss Factor _PS_ Pattern Search Optimizer _SMCS_ sequential Monte Carlo Simulation _MOSaDE_ Multi-Objective Self-Adaptive Differential Evolution _HOMER_ Hybrid Optimization of Multiple Energy Resources _NASA_ National Aeronautics and Space Administrative _nPV_ _and nWT_ Number PV Modules and Wind Turbines, respectively _PPV_ _ _rated_ Rated Power of the PV Module _ηPV_, _ηWT_, _and ηwire_ The efficiency of the PV Module, Wind Turbine, and Wires, respectively _G(t) and Gnom_ Solar Radiation Intensity at time t and under Standard Conditions, respectively _βT_ Temperature Coefficient of the PV Module _Tc (t) and Tnom_ Cell Temperature at time t and under Standard Conditions, respectively _u_ 1 _and u_ 2 Wind Speed at the Reference Point h1 and Turbine Hub with Height h2, respectively _PWT_ _and PR_ _ _WT_ The Actual Power Generated from a Wind Turbine and its Rated Power, respectively _u(t), ucut_ - _in_, _urated_ _, ucut_ _ _off_ Wind Speed at time t, Cut-in Wind Speed, Wind Speed at Rated Power, and Cut-off Wind Speed, respectively _DOD_ Depth of Discharge _SOC_ State of Charge of the Battery Storage System _�_ Self-discharge Rate _ECH_ _(t) and EDIS_ ( _t_ ) Charging and Discharging Energy at time t _Pload_ ( _t_ ) Load Power at time t _ηconv, ηCH_ _,ηDIS_ The efficiency of the converter, battery charging, and discharging, respectively _�t_ Time interval = 1hour _DG_ Diesel Generator _Df_ ( _t_ ) Fuel consumption of the diesel generator at time t _PDG (t) and PDG_ _ _R_ The power generated from DG at time t and its rated capacity, respectively _αDG_ _&βDG_ coefficients of the fuel consumption curve of the DG _Pdummy_ ( _t_ ) Power consumed in the dummy load at time t _NPC_ Net present cost _Cann_ _ _tot_ The annual cost of investment _Cann_ _ _cap_, _Cann_ _ _rep_, _Cann_ _ _oper_, _and_ _Cann_ _ _maint_ Annual capital, replacements, operating, and maintenance cost for the components, respectively. _CRF_ Capital recovery factor _r_ Rate of interest _n_ A lifetime of the whole project _Ccap_ _ _PV_, _Ccap_ _ _WT_, _Ccap_ _ _batt_, _Ccap_ _ _DG_, _and Ccap_ _ _conv_ The initial capital cost of installation of the PV system, wind system, battery bank, and the diesel generator, and converter, respectively _Cann_ _ _cap_ _ _PV_, _Cann_ _ _cap_ _ _WT_, _Cann_ _ _cap_ _ _batt_, _Cann_ _ _cap_ _ _DG_, _and Cann_ _ _cap_ _ _conv_ Annual interest of capital cost of the PV system, wind system, battery bank, and the diesel generator, and converter, respectively _MPV_, _MWT_, _Mbatt_, _MDG_, _and Mconv_ A lifetime of PV modules, wind turbines, battery banks, diesel generator, and converter, respectively. _Coper_ & _main_ _ _PV_, _Coper_ & _main_ _ _wind_, _Coper_ & _main_ _ _batt_, _Coper_ & _main_ _ _conv_, _and Coper_ & _main_ _ _DG_ Operating and maintenance cost of PV, wind turbine, battery banks, converter, and diesel generator per unit time, respectively. _tPV_, _tWT_, _tbatt_, _tconv_, _and tDG_ The operating time of PV, wind turbine, battery banks, converter, and diesel generator, respectively. _KC_ _ _rep_ The capacity of the units used in the system _Cu_ The cost of the replaced units _nrep_ Number of replacements over the project lifetime n _X_ <sup>∗</sup> _and_ ⃗ _X_ Vectors describing the best position and the current position of whales, respectively _r_ 1 _and_ ⃗ _r_ 2 Random vectors between [0, 1] _b_ Constant number for determining the shape the spiral _l_ A random number between [−1, 1] _A and C_ coefficient vectors _Xstream_ <sup>_i_</sup> <sup>(</sup> <sup>_t_</sup> <sup>),⃗</sup> <sup>_X_</sup> _river_ <sup>_i_</sup> <sup>(</sup> <sup>_t_</sup> <sup>),</sup> _stream_ <sup>_i_</sup> <sup>(</sup> <sup>_t_</sup> <sup>),⃗</sup> <sup>_X_</sup> <sup>_i_</sup> ⃗ _Xstream_ <sup>_i_</sup> <sup>(</sup> <sup>_t_</sup> <sup>),⃗</sup> <sup>_X_</sup> _river_ <sup>_i_</sup> <sup>(</sup> <sup>_t_</sup> <sup>),</sup> _and_ ⃗ _Xsea_ <sup>_i_</sup> <sup>(</sup> <sup>_t_</sup> <sup>)</sup> _and_ ⃗ _Xsea_ <sup>_i_</sup> <sup>(</sup> <sup>_t_</sup> <sup>)</sup> The current positions of the stre ams, rivers, and sea, respectively _Xstream_ <sup>_i_</sup> <sup>(</sup> <sup>_t_</sup> <sup>+ 1)</sup> <sup>_and_</sup> _Xstream_ <sup>_i_</sup> <sup>(</sup> <sup>_t_</sup> <sup>+ 1)</sup> <sup>_and_</sup> _Xriver_ <sup>_i_</sup> <sup>(</sup> <sup>_t_</sup> <sup>+ 1)</sup> _Xriver_ <sup>_i_</sup> <sup>(</sup> <sup>_t_</sup> <sup>+ 1)</sup> The new positions of the streams and rivers, respectively _rand_ arbitrarily number distributed uniformly between [0, 1] _Pbest_ _and gbest_ The personal best and the global best positions, respectively _vi (n) and vi (n_ + 1 _)_ speed of ‘‘i <sup>th</sup> ’’ particle in the iteration n and n+1, respectively _w_ inertia weight _xi (n) and xi (n_ + 1 _)_ represents the present position of the ‘‘i <sup>th</sup> ’’ particle in the iterations n and n+1, respectively _xi_, _Mii_, _Mai_, _and Mip_ . The position, mass of inertia, active gravitational mass, and the passive gravitational mass of the object, respectively _GO and G(t)_ The initial value of gravitational constant and gravitational constant at a specified time ‘‘t’’, respectively _Rij_ ( _t_ ) Euclidian spacing between the two candidates i and j _Fi_ <sup>_d_</sup> <sup>(</sup> <sup>_t_</sup> <sup>)</sup> The total force influencing on the agent i _ac_ <sup>_d_</sup> _i_ <sup>(</sup> <sup>_t_</sup> <sup>)</sup> Acceleration of candidate agent i _M and F_ Matrix introduces the set of generated moths and Flames, respectively _OM and OF_ Matrix for storing the fitness values of the moths and flames, respectively _S_ ( _Mi_, _Fj_ ) The spiral function of the i-th moth for the j-th flame _Di_ The distance of the i-th moth for the j-th flame I. INTRODUCTION _A._ _MOTIVATION AND INCITEMENT_ Despite the significant increases in the development of global renewable energy technology, electricity shortages remain a serious problem in rural areas and islands with large sources of renewable energy. Meanwhile, in the last years, enhanced power electronics have been used to support renewable energy sources (RES) to frugally supply electric energy for comprehensive range applications. The high specific cost of the generated units from RES, when compared with that from the traditional power plants, and the availability of renewable energy sources, are the two main challenges for the implementation of RES in large scale, as introduced in [1]. Moreover, due to the intermittent nature of almost renewable sources, the feasibility of high RES sharing can be increased, considering energy mix from different types of renewable resources side by side with the application of energy storage system. The previously mentioned challenges lead the decision-makers to think about the combination of conventional energy sources with RES as a hybrid microgrid system in order to increase the share of RES in the energy mix [2]. Microgrid power systems, including photovoltaic and wind energy, hybrid with diesel generators are investigated, to be a promising energy source and feasible from the economic point of view. Isolated communities, with respect to the supply of electricity, are often located in islands, rural and some urban areas in developing countries. The demand for electricity in these areas is usually provided by diesel generators, leading to considerable uncertainty because of the cost of fuel and the high pollution of the surrounding environment [3]. Therefore, hybrid microgrids can be particularly suitable solution for isolated communities, however, this area still needs to further research, feasibility studies and technological developments. The total installed capacity of power plants connected into the utility grid in Egypt reached 38.857 GW by the end of 2016 [4]. Abu Monqar is one of the most promising investment areas in the New Valley, Western Desert. The demand for electricity in this area is covered by a diesel generating station including three diesel generator units with capacities ranging from 400 to 660 kW. The average load demand for the isolated village and its surrounding villages is about 265kW [5]. Taking into account the plan of the national energy sector regarding the utilization of renewable resources, which planned to be increased to 20% up to 2027 [6]. Wind turbines and PV are the top two most promising energy resources used in Egypt. Therefore, a certain number of feasibility studies and researches have been presented related to the assessment of the energy potentials and the optimal allocation of these sources in many locations over the territory of the country [6]–[8]. _B._ _LITERATURE REVIEW_ Many advanced optimization techniques for the optimal design of hybrid RES has been presented in many research studies in the literature. In [9], [10], the optimal sizing of a PV/wind/diesel hybrid system was presented using Strength Pareto evolutionary algorithm by formulating two objective functions, minimization of system cost and greenhouse gases emissions. In [11]–[13], Genetic algorithm (GA) was used for optimal sizing and configuration of a hybrid PV/wind power system with battery storage under different objective functions; the reliability of the system under weather conditions variations, minimizing the annual cost of the system and to minimize the loss of power supply probability (LPSP). Particle Swarm Optimization (PSO) has been used in many research studies for optimal sizing of hybrid renewable energy systems [14]–[16]. A PV/wind/diesel/battery banks hybrid system was presented in [14]. The uncertainty in the generation of PV and wind energy are considered in [15]. In [16], PSO was used to find the global optimum solution while considering the uncertainty in wind generation within a certain reliability index in PV/wind microgrid system with fuel cells, electrolyzer, hydrogen tank, and battery system. Simulated Annealing (SA) optimization strategy was used for optimal sizing of hybrid PV/wind energy conversion system, while the objective function was to minimize the total energy cost of the hybrid system [17]. The response surface methodology (RSM) was used for optimizing the size of an autonomous PV/wind system with energy storage in some studies [18]. The results obtained from RSM optimization were confirmed using autonomy analysis and loss of load probability, then the results of this work were used in [17] to be compared with the results obtained from simulated annealing optimization. In [19], mathematical models of hybrid wind and PV systems were developed and multi-objective optimization using PSO and GA were performed. In [20], Particle swarm optimization has been used for optimal sizing and operation of a PV/wind/battery storage hybrid energy system for minimizing the energy cost over the whole lifetime of the project. The optimization results are compared with GA, where PSO technique proved its superiority in solving the optimization problem in terms of the convergence, speed, and accuracy. In [21], [22], Multi-Objective Particle Swarm Optimization (MOPSO) has been used for the optimal configuration of a hybrid PV/wind microgrid with hydrogen storage for minimizing the cost of energy generated from such a system, taking into account the reliabilities of the system components and outage probabilities of the subsystems. The optimization results have been compared with that of Single Objective Optimization method and Equivalent Loss Factor (ELF) is chosen as the reliability constraint in the optimization problem. In [23], Pattern Search (PS) optimizer and sequential M99onte Carlo Simulation (SMCS) are combined to obtain the minimum total cost of the system and satisfy the reliability requirements from the consumer side. A comparison with a hybrid GA-SMCS was also performed, from which the PS-SMCS gave a better performance. In [24], cuckoo search optimization algorithm has been used for optimal sizing of an isolated PV/wind/diesel/ battery energy system, while the proposed technique provided high accuracy compared to GA and PSO. Multi-Objective SelfAdaptive Differential Evolution (MOSaDE) algorithm has been used for optimal sizing and operation of a hybrid PV/wind/diesel microgrid system with battery storage for the city of Yanbu, Saudi Arabia, whereas, the multi-objective optimization approach is used to reduce the computational time [25]. The optimal sizing and placement of a gridconnected PV-wind-battery storage microgrid using Artificial Bee Colony optimization technique are presented in [26], while the IEEE 30-bus system was used for the application of the optimal operation. In [27], [28], the Hybrid Optimization of Multiple Energy Resources (HOMER) software has been used for optimum sizing of hybrid wind/PV/diesel system in Malaysia in which the weather conditions, maximum availability and minimum cost were considered. _C._ _CONTRIBUTION AND PAPER ORGANIZATION_ Proceeding from the necessity to diversify electricity generation by giving priority to optimizing the use of renewable energy, this paper investigates on the economical design of a grid-independent hybrid PV/wind power system with battery storage and diesel generator. In this way, Whale Optimization Algorithm (WOA), Water Cycle Algorithm (WCA), Moth-Flame Optimizer (MFO), and Hybrid particle swarm-gravitational search algorithm (PSOGSA) have been exploited for minimizing the cost of energy (COE) generated from this system over its 25 years’ lifetime, and subjected to reliability constraints in the form of loss of power supply probability. Concerning the data of solar radiation and wind speed acquired from Abu-Monqar village in Western Desert of Egypt, they are available, based on; (i) the data obtained from National Aeronautics and Space Administrative (NASA), and (ii) the long-term average of meteorological parameters of 20 years of observation. The system cost includes the annual interest of capital investment cost, operation and maintenance, and replacement cost. The main contributions of the work described in this paper can be summarized as follows: 1. To the best of the authors’ knowledge, the proposed optimization algorithms, which are WOA, WCA, MFO, and PSOGSA, have not been reported in the literature for tackling the problem of designing the RES microgrids. Consequently, a comprehensive comparison between these algorithms has been introduced in conjunction with a clear discussion and analysis. 2. Moreover, the objective function proposed in this paper, for determining the best optimal size of the components of the RES microgrid, is novel and different from the conventional objective functions, leading to notable improvements in the system’s performance, as illustrated in Section V. 3. Broadly speaking, to the best of the authors’ knowledge, this is the first attempt to apply the proposed optimization techniques, to optimize the system components, for solving a real problem of power shortage in Abu-Monqar village located in Western Sahara in Egypt, based on a real-time meteorological data of the site for developing this promising remote area. The paper is organized as follow: Section II briefly describes the subsystems of the hybrid system. The corresponding models for the subsystems are presented in section III. The energy management strategy is demonstrated in Section IV. Optimization problem statement and the proposed optimization techniques are discussed in Sections V and VI, respectively. A case study is formulated in section VII. Simulation results and discussions are summarized in Section VIII. Statistical analysis is performed in section IX. Finally, Section X is devoted to the conclusion. II. STAND-ALONE HYBRID MICROGRID ENERGY SYSTEM Hybrid microgrid power system is the optimum solution for solving the problem of electrification in islands and remote areas where the extension of the transmission networks not economical or a waste of time. Hybrid systems use a combination of several renewable sources of energy such as photovoltaic and wind energy with the battery storage system and diesel generators. Wind turbines and PV modules, when hybridized, supply electric power with higher reliability than that obtained from any one of them individually. Moreover, hybrid systems also allow the installation of smaller and less costly units than that would be used if the system is completely depending on one kind of renewable energy. In this work, the proposed hybrid microgrid system of the wind speed measured at the anemometer height is given as: - _αWT_ (3) _<u>u</u>_ <u>2</u> _u_ 1 = - _<u>h</u>_ <u>2</u> _h_ 1 FIGURE 1. Schematic configuration of the proposed hybrid microgrid system. under study includes five main components; wind turbine, PV modules, diesel generator, inverter, and battery storage. A PV/wind/diesel hybrid system can be a cost-effective solution for solving the problem of electricity in Abu-Monqar. The schematic configuration of the proposed Hybrid microgrid system is shown in Fig. 1. In fact, a PV/Wind/diesel hybrid system can be a cost-effective solution for solving the problem of electricity in Abu-Monqar village. III. MODELLING OF THE HYBRID MICROGRID WITH PV/WIND/DIESEL/BATTERY GENERATING SYSTEM _A._ _MODELLING OF THE SOLAR PV SYSTEM_ The energy obtained from a PV module in terms of the solar radiation and the ambient temperature can be expressed as: where _u_ 2 is the wind speed at the wind turbine hub with height, _h_ 2, _u_ 1 is the wind speed at the reference point (anemometer height), _h_ 1 and _αWT_ is the friction coefficient, respectively. According to the recommendations of IEC standards [29], the value of the coefficient of friction is taken as 0.11 for extreme wind conditions, while 0.20 for normal wind conditions. Depending on the fundamentals of wind energy, the expected energy supplied by a wind turbine can be described as follows: (4) 0 _,_ _u_ ( _t_ ) _< ucut_ - _in_ _nWT_ _ηWT_ _PR_ _ _WT_ - _u_ <sup>2</sup> _<u>cut</u>_ <u>−</u> _<u>in</u>_ - _u_ <sup>2</sup> ( _t_ ) − _u_ <sup>2</sup> <u>�</u> _u_ <sup>2</sup> <sup>2</sup> _rated_ <sup>−</sup> <sup>_u_</sup> <sup>2</sup> _cut_ _cut_ - _in_ _<u>cut</u>_ <u>−</u> _<u>in</u>_ _,_ <u>�</u> _PWT_ =   _ucut_ - _in_ _< u_ ( _t_ ) _< urated_ _nWT ηWT PR_ _ _WT,_ _urated_ _< u_ ( _t_ ) _< ucut_ - _off_ 0 _,_  _u_ ( _t_ ) _> ucut_ - _off_ (1− _βT_ ( _TC_ ( _t_ )− _Tnom_ )) (1) _PPV_ ( _t_ ) = _nPV PPV_ _ _rated_ _ηPV ηWire_ _<u>G</u>_ <u>(</u> _<u>t</u>_ <u>)</u> _Gnom_ where _PWT_ is the actual power generated from the wind turbine, _PR_ _ _WT_ is the wind turbine rated power, _nWT_ is the number of wind turbines, _ηWT_ is the efficiency of the wind system. Whereas _u_ ( _t_ ) is the wind speed at time t, _ucut_ - _in_ is the cut-in wind speed, at which the turbine starts to operate and generate power, _urated_ is the wind speed at rated power, and _ucut_ _ _off_ is the cut-off wind speed, after which the wind turbine must be shut down for safety reasons. _C._ _BATTERY STORAGE SYSTEM_ Due to the irregular nature of wind speed and solar radiation, the energy storage system is very necessary to keep a constant flow of power to the desired load. The lead-acid battery is the proposed type of battery banks in this study. The size of the battery storage system is influenced by some parameters such as battery life, ambient temperature, the capacity of the battery bank, and the depth of discharge (DOD) [17], [18]. The capacity limit of the battery system is usually assessed by the state of charge (SOC). The SOC of the storage battery system can be acquired by continuous observation of the charging and discharging energy of the battery banks. The battery state of charge at any time is calculated as follows: - During charging mode, where _nPV_ is the number PV modules, _PPV_ _ _rated_ is the rated power of the PV module at standard operating conditions ( _Gnom_ = 1000W/m <sup>2</sup> and _Tnom_ = 25 <sup>◦</sup> C), _ηPV_ is conversion efficiency of the PV module, and _ηwire_ is the wiring efficiency. While G(t) is the ambient solar radiation intensity, _Gnom_ is the intensity of solar radiation under standard conditions, _β_ T is the temperature coefficient of power of the selected PV module, _TC_ ( _t_ ) is the cell temperature, and _Tnom_ is the cell temperature under standard conditions of operation. The temperature of the solar cell can be calculated in terms of the ambient temperature as follows: _TC_ ( _t_ ) − _Tambient_ = _G_ ( _t_ ) <sup>_<u>TTest</u>_</sup> (2) 800 where _Tambient_ and _TTest_ are the ambient temperature and the temperature observed during the testing of the modules, respectively. _B._ _MODELLING OF THE WIND POWER SYSTEM_ Starting from the fact that the wind speed changes with height, the wind speed at the desired hub height as a function (5) _SOC_ ( _t_ ) = _SOC_ ( _t_ - 1)(1 − _σ_ )+ _ECH_ ( _t_ ) _._ (6) _ECH_ ( _t_ ) = - _<u>PWT</u>_ <u>(</u> _<u>t</u>_ <u>)−</u> _<u>Pload</u>_ <u>(</u> _<u>t</u>_ <u>)</u> _ηconv_ + _PPV_ ( _t_ ) × _�t_ × _ηCH_ - During discharging mode, _EDIS_ ( _t_ ) = - _<u>Pload</u>_ <u>(</u> _<u>t</u>_ <u>)−</u> _<u>PWT</u>_ <u>(</u> _<u>t</u>_ <u>)</u> _ηconv_ - _PPV_ ( _t_ ) × _�t_ × _ηDIS_ (7) _SOC_ ( _t_ ) = _SOC_ ( _t_ - 1)(1 − _σ_ ) − _EDIS_ ( _t_ ) _._ (8) where _SOC(t)_, _SOC_ ( _t_ −1), _σ_, _ECH_ ( _t_ ), _EDIS_ ( _t_ ), _Pload_ ( _t_ ), _ηconv_, _ηCH_, and _ηDIS_ are the state of charge of the battery system at time _t,_ ( _t_ - 1), self-discharge rate, charging energy, discharging energy, load demand for energy at the time _t_, converter efficiency, the charging efficiency of the battery, and the discharge efficiency battery storage system, respectively. _D._ _DIESEL GENERATOR SYSTEM_ Diesel generator (DG) is a conventional energy source, which is used in the hybrid renewable power system as a backup. It mainly operates when there is a deficit from the PV and wind systems and leading to failure to satisfy the demand for energy, and at the same time, the battery bank is depleted. The hourly fuel consumption for the DG, _Df_ _(t)_, can be obtained by [30]: _Df_ ( _t_ ) = _αDG_ × _PDG_ ( _t_ ) + _βDG_ × _PDG_ _ _R_ (9) where _PDG (t), PDG_ _ _R_, and _αDG & βDG_ are the average power output of the DG per hour, rated power of the DG, and the coefficients of the fuel consumption curve of the DG. In this work, the values of these coefficients are set to 0.246 and 0.08145 for _αDG_ and _βDG_, respectively [31]. IV. ENERGY MANAGEMENT STRATEGY When the hybrid microgrid system is working in an isolated mode (i.e, when the power generated from the PV and wind energy systems is less than the demand for energy by the load), the battery will be in the discharge mode and the flow of power can be given as _Pload_ ( _t_ )× _�t_ = _PWT_ ( _t_ ) × _�t_ + _(PPV_ ( _t_ ) × _�t_ + _EDIS_ ( _t_ ) _)_ × _ηconv_ (10) If the PV/wind with battery storage cannot satisfy the demand for energy, the shortage in power will be covered from a diesel generator. The sharing of the diesel generator can be calculated from _PDG_ ( _t_ ) × _�t_ = _(Pload_ ( _t_ ) − _PWT_ ( _t_ ) _)_ × _�t_ - _(PPV_ ( _t_ ) × _�t_ + _EDIS_ ( _t_ ) _)_ × _ηconv_ (11) If the power supplied by the PV and wind energy system is greater than the demand, the battery will be charged by the excess power and the flow of power can be expressed as _Pload_ ( _t_ ) × _�t_ = _PWT_ ( _t_ ) × _�t_ + _(PPV_ ( _t_ ) × _�t_ - _ECH_ ( _t_ ) _)_ × _ηconv_ (12) When the battery reaches its maximum charging level, the power supplied by the PV and wind turbines will be dumped. The power absorbed by the dummy load, in this case, is presented as _Pdummy_ ( _t_ ) × _�t_ = _(PWT_ ( _t_ ) − _Pload_ ( _t_ ) _)_ × _�t_ + _(PPV_ ( _t_ ) × _�t_ - _ECH_ ( _t_ ) _)_ × _ηconv_ (13) A flowchart describing the operation of the proposed isolated hybrid microgrid system is given in Fig. 2. V. OPTIMAL SIZING OF THE HYBRID MICROGRID SYSTEM In this section, formulation of the optimization problem, including a novel objective function and the optimization constraints will be provided in the following sections. _A._ _EVALUATION PARAMETERS OF THE PROPOSED_ _OPTIMIZATION STRATEGY_ In this study, the parameters of the cost of energy (COE) and loss of power supply probability (LPSP) are considered as objective functions to be optimized, as the goal from this work is to optimize the size of a hybrid microgrid system which guarantees the reliability of the proposed energy system at the lowest possible cost. 1) COST OF ENERGY (COE) The Net Present Cost (NPC) has been used for calculating the total cost of the hybrid microgrid. The annual cost of investment _Cann_ _ _tot_ of the system is considered as: _Cann_ _ _tot_ = _Cann_ _ _cap_ + _Cann_ _ _rep_ + _Cann_ _ _O_ + _Cann_ _ _M_ (14) where _Cann_ _ _cap_, _Cann_ _ _rep_, _Cann_ _ _O_, and _Cann_ _ _M_ are the annual capital cost of the system components, the annual cost for replacements of the system components, annual operating cost, and annual cost for maintenance, respectively. _a:_ _THE ANNUAL CAPITAL COST OF THE MICROGRID SYSTEM_ The capital recovery factor (CRF) is used to convert the initial investment cost to annual capital cost. _<u>r</u>_ <u>(1 +</u> _<u>r</u>_ <u>)</u> <sup>_n_</sup> _CRF_ ( _r, n_ ) = (15) (1 + _r_ ) <sup>_n_</sup> - 1 where _r_ is the rate of interest (%) and _n_ is the life span of the studied project. The annual capital cost of the individual sub-systems can be calculated from the following equations: where _Ccap_ _ _PV_, _Ccap_ _ _wind_, _Ccap_ _ _batt_, _Ccap_ _ _DG_, and _Ccap_ _ _conv_ are the initial capital cost of installation of the PV system, wind system, battery bank, diesel generator, and converter, respectively. Whereas, _MPV_, _Mwind_, _Mbatt_, _MDG_, and _Mconv_    _Cann_ _ _cap_ _ _PV_ = _Ccap_ _ _PV_ × _CRF_ ( _r, MPV_ ) _Cann_ _ _cap_ _ _WT_ = _Ccap_ _ _WT_ × _CRF_ ( _r, MWT_ ) _Cann_ _ _cap_ _ _batt_ = _Ccap_ _ _batt_ × _CRF_ ( _r, Mbatt_ ) _Cann_ _ _cap_ _ _DG_ = _Ccap_ _ _DG_ × _CRF_ ( _r, MDG_ ) _Cann_ _ _cap_ _ _conv_ = _Ccap_ _ _conv_ × _CRF_ ( _r, Mconv_ ) (16) FIGURE 2. Flowchart of the proposed isolated hybrid microgrid system. are the lifetime of PV modules, wind turbines, battery banks, diesel generator, and the converter, respectively. Then the annual capital investment cost of the hybrid system is given as _Cann_ _ _cap_ = _Cann_ _cap_PV + _Cann_ _cap_WT + _Cann_ _cap_batt + _Cann_ _cap_conv + _Cann_ _cap_DG (17) where _Cann_ _ _cap_ _ _PV_, _Cann_ _ _cap_ _ _wind_, _Cann_ _ _cap_ _ _batt_, _Cann_ _ _cap_ _ _DG_, and _Cann_ _ _cap_ _ _conv_ are the annual share of the capital cost of installation of the PV system, wind system, the battery bank, the diesel generator, and converter, respectively. _b:_ _THE OPERATING AND MAINTENANCE COST_ The operating and maintenance cost of the system is defined as _C_ O&M = _C_ O&M_ _PV_ × _tPV_ + _C_ O&M_ _WT_ × _tWT_ + _C_ O&M_ _batt_ × _tbatt_ + _C_ O&M_ _conv_ × _tconv_ + _C_ O&M_ _DG_ × _tDG_ (18) where _CO_ & _M_ _ _PV_, _CO_ & _M_ _ _WT_, _CO_ & _M_ _ _batt_, _CO_ & _M_ _ _conv_, and _CO_ & _M_ _ _DG_ are the operating and maintenance cost of PV, wind turbine, battery banks, converter, and diesel generator per unit time, respectively. While, _tPV_, _tWT_, _tbatt_, _tconv_, and _tDG_ are the operating time of PV, wind turbine, battery banks, converter, and diesel generator, respectively. _c:_ _THE ANNUAL REPLACEMENT COST_ The present value of the replacement cost of the hybrid system components within the system lifetime can be calculated from the following equation [32]: - _nj/_ ( _nrep_ +1) (19) - <u>1 +</u> _<u>i</u>_ 1 + _r_ _Crep_ = _nrep_ _j_ = K _C_ _ _rep_ C _u_ where _i, KC_ _ _rep_, _Cu_ and _nrep_ are the inflation rate of replacement, the capacity of the units used in the system, the cost of the replaced units, and the number of replacements over the project lifetime _n_, respectively. The net present cost (NPC) of the system can be calculated by _NPC_ = <sup>_<u>Cann</u>_</sup> <sup><u>_</u></sup> <sup>_<u>tot</u>_</sup> (20) _CRF_ The cost of energy (COE) is the cost of the generated electrical energy from the hybrid system in ($/kWh) and formulated in the following equation: _<u>Cann</u>_ <u>_</u> _<u>tot</u>_ _COE_ = <u>�</u> _h_ =8760 _h_ =1 _Pload_ _<u>NPC</u>_ = <u>�</u> _h_ =8760 _h_ =1 _Pload_ × _CRF_ (21) 2) LOSS OF POWER SUPPLY PROBABILITY The loss of power supply probability (LPSP) is a design factor, which measures the probability of insufficient operation of the power supply when the hybrid microgrid, in our case study, fails to satisfy the demand for energy. This case occurred when the sum of the total power generated is less than the load power. The loss of power supply at any period of time _LPS(t)_ can be defined as: _LPS_ ( _t_ ) = _PLoad_ ( _t_ ) × _�t_ - _(PDG_ ( _t_ )+ _PWT_ ( _t_ ) _)_ × _�t_ - _(_ ( _PPV_ ( _t_ )× _�t_ )+ _SOC_ ( _t_ - _�t_ )− _SOC_ min _)_ × _ηconv_ (22) LPSP is very common among researchers as a technical index for evaluating the reliability in the problems of optimal sizing of hybrid renewable energy systems. The value of LPSP can be formulated mathematically as the sum of all the observed values of _LPS(t)_ over the all load demand for energy during the entire period of study. _B._ _OBJECTIVE FUNCTION_ In this work, the proposed objective function of the optimization algorithms is in terms of the cost of energy (COE), loss of power supply probability (LPSP), and the dummy load (Pdummy). This function can be expressed as min _x f_ = min _x_ ( _λ_ 1 _COE_ + _λ_ 2 _LPSP_ + _λ_ 3 _Pdummy_ ) (25) where, _x_ is a four-dimensional vector consisting of the optimization parameters ((i) number of PV modules _nPV_, (ii) number of wind turbines _nWT_, (iii) number of battery storage banks _nBatt_, and (iv) number of diesel generators _nDG_ ). _λ_ 1, _λ_ 2, and _λ_ 3 are chosen via trial and error method, in order to achieve the best results. In this work, the values of _λ_ 1, _λ_ 2, and _λ_ 3 are set to 0.4, 0.599 and 0.001, respectively. _C._ _DESIGN CONSTRAINTS FOR OPTIMIZATION_ In off-grid hybrid systems, the components of the power system are operating under constraints. The optimal operation of the system should fulfill the constraint function described in Eq. (26), which means that the power is balanced at any time. The optimization strategy used to ensure that the hourly power supplied by DG at any time must be less than or equal to the DG rated power as defined by Eq. (27). In order to avoid the overcharging and undercharging problems, the SOC of the battery bank is constrained and compared with the designed constraints at any hour during the operation period. Therefore, the SOC of the battery storage system should satisfy the design constraints presented in Eqs. (28) and (29). The maximum state of charge _SOCmax_ is the full capacity of the battery bank, while the minimum state of charge _SOCmin_ depends mainly on the depth of discharge. In addition, the LPSP should less than the predefined reliability index ( _βL_ ) of the system as expressed in formula Eq. (30) and, in this study, _βL_ is considered to be less than 0.04. _PPV_ ( _t_ ) + _PWT_ ( _t_ ) + _PDG_ ( _t_ ) + _Pbatt_ ( _t_ ) = _Pload_ ( _t_ ) (26) _PDG_ ( _t_ ) ≤ _PDG_ _ _rated_ (27) _SOC_ min ≤ SOC( _t_ ) ≤ _SOC_ max (28) SOC( _t_ + 1) = _SOC_ ( _t_ )(1 − _σ_ ) (29) _LPSP_ ≤ _βL_ (30) VI. OPTIMIZATION TECHNIQUES In this section, a clear discussion and analysis of the proposed optimization techniques, which are WOA, WCA, MFO, and PSOGSA have been provided. _A._ _WHALE OPTIMIZATION ALGORITHM_ Whale Optimization Algorithm (WOA) was firstly suggested in the work of Mirjalili and Lewis in 2016 [33]. Humpback whale is one of the huge baleen whales. WOA has been established according to the hunting technique, which is called bubble-net feeding technique. This type of whales _LPSP_ = �8760 _<u>t</u>_ <u>=1</u> <sup>_LPS_</sup> <sup><u>(</u></sup> <sup>_t_</sup> <sup><u>)</u></sup> <u>�8760</u> _t_ =1 <sup>_Pload_</sup> <sup>(</sup> <sup>_t_</sup> <sup>) ×</sup> <sup>_�t_</sup> (23) Moreover, during the analysis of system reliability, the following condition is added _Pload_ ( _t_ ) _> Ptot_ _ _generation_ ( _t_ ) (24) Accordingly, the updated position of the search agent could be evaluated by the first position and the obtained best location in the present iteration. - Spiral updating position: Humpback whales dive down and produce a stream of bubbles in a spiral shape around its goal (prey). In this approach the distance separating the whale from its prey is firstly computed, then a spiral equation between the location of the prey and the whale, which takes the spiral shape, is mathematically explained in Eq. (34). _X_ ( _t_ + 1) =⃗ D′ _._ e _bl._ cos(2 _πl_ ) +⃗ _X_ ∗( _t_ ) (34) ⃗ ′ = where,⃗ _D_ ′ = ���⃗ _X_ ∗( _t_ ) −⃗ _X_ ( _t_ )���, b is a constant number for determining the shape the spiral, and _l_ is a random number between [−1, 1] as given in [34]. Humpback whales swim around the prey inside a shrinking range and over a helix-shaped way simultaneously. Then, two probabilities are considered to choose between them and can be mathematically modeled in the following formula: where,⃗ _D_ FIGURE 3. Bubble-net feeding mechanism. chases and hunts their preys near the surface of the water by making a special stream of bubbles of spiral shape as illustrated in Fig. 3. The mathematical representation of WOA is explained in this section. 1) SURROUNDING THE PREY As the place of the optimal solution in the search space is not defined, the WOA assume that the best objective prey is the candidate solution. As a result, the other search agents change their site in accordance with the predetermined best agent position [33]. _X_ ( _t_ + 1) = - _X_ <sup>∗</sup> ( _t_ ) −⃗ _A.D_ ⃗ _,_ _if_ - _p <_ 0 _._ 5 (35) _D_ ′ _._ e _bl._ cos(2 _πl_ ) +⃗ _X_ ∗( _t_ ) _,_ _if_ - _p_ ≥ 0 _._ 5 where, p is a random number in [0, 1]. 3) SCAN FOR PREY (INVESTIGATION STAGE) Besides the bubble-net mechanism, the Humpback whales search for hunting the prey arbitrarily in the iteration. The mathematical model is expressed in the following: _D_ = (36) ���⃗ _C._ ⃗ _Xrand_ −⃗ _X_ ( _t_ )��� _X_ ( _t_ + 1) =⃗ _Xrand_ −⃗ _A.D_ ⃗ (37) The flowchart describing the operation of WOA is shown in Fig. 4. _B._ _WATER CYCLE ALGORITHM (WCA)_ Water cycle algorithm (WCA) is a developed meta-heuristic optimization technique, which is a part of the evolutionary algorithms. The idea of the proposed WCA is inspired by nature and based on the watershed control process describing how rivers and streams flow into the sea. When it rains, the raindrops combine to form a flow of water, and the weak flow merged to create a powerful water current that systematically accumulates into a stream and runs towards the sea. In this cycle, some water leaks to the ground, some of which flow through the surface of the earth, some evaporate and form rain creating new water droplets and streams, extending the distinction of the population. Comparable to other metaheuristic algorithms, the WCA optimization method begins with a random initial population, which termed the population of streams. First of all, rain or precipitation is assumed. Then, the best stream is selected to be the sea. After that, the good streams ( _Nsr_ ) following the best one (sea) are selected as rivers [35], [36]. Moreover, Nsr represents the combination of rivers and sea. _D_ = (31) ��� _C_ ⃗ _._ ⃗ _X_ ∗( _t_ ) −⃗ _X_ ( _t_ )��� _X_ ( _t_ + 1) =⃗ _X_ <sup>∗</sup> ( _t_ ) −⃗ _A.D_ ⃗ (32) where _t_ refers to the present iteration,⃗ _A_ and⃗ _C_ defined as coefficient vectors,⃗ _X_ <sup>∗</sup> is a vector describes the location of the best value, and⃗ _X_ is a vector describes the position of the whale.⃗ _A_ and⃗ _C_ vectors are calculated from _A_ = 2 _a_ ⃗ _.r_ ⃗ 1 −⃗ _a_ _C_ = 2 _.r_ ⃗ 2 (33) where⃗ _a_ refers to the components of each vector, which decreased from 2 to 0 in each iteration,⃗ _r_ 1 and⃗ _r_ 2 are taken as random vectors in [0, 1]. 2) BUBBLE NET ATTACKING TECHNIQUE (EXPLOITATION PHASE) Two approaches are prepared for the Bubble-net behavior technique of the Humpback whales: - Shrinking encircling mechanism: by minimizing the value of⃗ _a_ in Eq. (33), this technique will be obtained. FIGURE 4. Flowchart of WOA optimization technique. Taking into account the quantity of water flow, which represents the fitness/cost function, rivers and sea soak up these streams. By nature, streams run towards rivers and rivers in turn towards the sea, but some of these streams by a direct route flow towards the sea (Eq.38). The new positions of the streams and rivers have been updated according to the following [35]: where, _rand_ is an arbitrarily number distributed uniformly between [0, 1], while C between [1, 2]. For the exploration stage, when the distances among streams, rivers, and sea are less than the predefined maximum value ( _dmax_ ), new streams are produced towards the rivers and sea (i.e., evaporation state). Figure 5 demonstrates the schematic diagram for WCA, in which circles correspond to the streams, stars to rivers, and the diamond to sea. The flowchart of the WCA optimization algorithm is shown in Fig. 6. _X_ <sup>_i_</sup> _river_ <sup>_i_</sup> <sup>(</sup> <sup>_t_</sup> <sup>+ 1)</sup> <sup>=⃗</sup> <sup>_X_</sup> <sup>_i_</sup> _river_ <sup>_i_</sup> <sup>(</sup> <sup>_t_</sup> <sup>) +</sup> <sup>_rand_</sup> <sup>×</sup> <sup>_C_</sup> _river_ <sup>_i_</sup> <sup>(</sup> <sup>_t_</sup> <sup>)</sup> (40) × - _X_ <sup>_i_</sup> _sea_ <sup>_i_</sup> <sup>(</sup> <sup>_t_</sup> <sup>) −⃗</sup> <sup>_X_</sup> <sup>_i_</sup> _X_ <sup>_i_</sup> _stream_ <sup>_i_</sup> <sup>(</sup> <sup>_t_</sup> <sup>+ 1)</sup> <sup>=⃗</sup> <sup>_X_</sup> <sup>_i_</sup> _stream_ <sup>_i_</sup> <sup>(</sup> <sup>_t_</sup> <sup>) +</sup> <sup>_rand_</sup> <sup>×</sup> <sup>_C_</sup> _stream_ <sup>_i_</sup> <sup>(</sup> <sup>_t_</sup> <sup>)</sup> (38) × - _X_ <sup>_i_</sup> _sea_ <sup>_i_</sup> <sup>(</sup> <sup>_t_</sup> <sup>) −⃗</sup> <sup>_X_</sup> <sup>_i_</sup> _X_ <sup>_i_</sup> _stream_ <sup>_i_</sup> <sup>(</sup> <sup>_t_</sup> <sup>+ 1)</sup> <sup>=⃗</sup> <sup>_X_</sup> <sup>_i_</sup> _stream_ <sup>_i_</sup> <sup>(</sup> <sup>_t_</sup> <sup>) +</sup> <sup>_rand_</sup> <sup>×</sup> <sup>_C_</sup> _stream_ <sup>_i_</sup> <sup>(</sup> <sup>_t_</sup> <sup>)</sup> (39) × - _X_ <sup>_i_</sup> _river_ <sup>_i_</sup> <sup>(</sup> <sup>_t_</sup> <sup>) −⃗</sup> <sup>_X_</sup> <sup>_i_</sup> FIGURE 5. Schematic representation of the movement of WCA towards the optimal solution. _C._ _HYBRID PSOGSA OPTIMIZATION ALGORITHM_ The particle swarm optimization (PSO), developed in 1995 by Kennedy and Eberhart, is a population-based meta-heuristic technique, whose concept is inspired by the flocking manner of the birds [37], [38]. In this technique, a number of particles are used as candidate solutions flying in the search space to form a population searching for the global optimal solution. Through their paths, the position of each particle is barred by its best position, the personal best ( _pbest_ ) and the global best ( _gbes_ t). For each particle, the present location in the search space is represented by the current speed, and the distance to the personal best and global best are used to modify the position and speed of each particle, which is mathematically modeled as following [39]: _vi (n_ + 1 _)_ = _w_ × _vi (n)_ + _c_ 1 × _rand_ × _(pbest_ - _xi (n))_ + _c_ 2 × _rand_ × _(gbest_ - _xi (n))_ (41) _xi (n_ + 1 _)_ = _xi (n)_ + _vi (n_ + 1 _)_ (42) In the above equation, _vi (n)_ is the speed of ‘‘ _i_ <sup>_th_</sup> ’’ particle in the iteration ‘‘ _n_ ’’, _w_ is the inertia weight, which is initially introduced in the algorithm. _rand_ is a random number between [0, 1]. _xi (n)_ represents the present position of the ‘‘ _i_ <sup>_th_</sup> ’’ particle in the ‘‘ _n_ <sup>_th_</sup> ’’ iteration. ‘‘ _c_ 1’’ and ‘‘ _c_ 2’’ are positive constants, which refer to the weighting factors responsible for changing the velocity of each particle towards _pbest_ and _gbest_ . Eq. (42) is used for updating the position of the particle, taking into account the position and speed in the previous iteration. Eq. (41) consists of three sections, the first section _w_ × _vi (n)_ represents the PSO exploration ability. The second _c_ 1 × _rand_ × _(pbest_ - _xi (n))_ and third section _c_ 2 × _rand_ × _(gbest_ - _xi (n))_ introduces the private thinking and coaction of particles [39]. In each iteration, Eq. (41) is used for calculating the speed of the particles then Eq. (42) used for updating the positions of the particles. The process is continued until the target of the PSO is reached. The gravitational search algorithm (GSA), implemented by E. Rashedi _et_ _al._ in 2009, is a novel meta-heuristic optimization technique, whose concept is based on the laws of gravity and interaction of masses developed by Newton [37], [38], [40]. The theory says ‘‘there is a force of attraction between each particle and other particles in its surrounding universe, which is directly proportional to the product of the masses of subjected particles and inversely with the square of the spacing between these particles’’ In GSA during the evaluation process, the objects are taken as agents (elected solutions), where their performance is evaluated by their masses, which are proportional to the fitness function. In this process, all objects attracted to each other. In addition, the heavy masses have higher forces of attraction. Therefore, they have a highest fitness function and taken as a best optimal solution. Moreover, the heaviest mass moves in the search space slower than other worse solutions. In GSA the mass of each object is characterized by four indicators; the position of the mass _Xi_, the mass of inertia _Mii_, the active gravitational mass _Mai_, and finally the passive gravitational mass _Mip_ . At the initialization stage of the algorithm, a population of N masses, which is considered as candidate solution, is considered and the position of each mass in the search space is described as follows: where _Mi_ is the mass of the candidate solution ‘‘ _i_ ’’, ‘‘ _t_ ’’ is the current iteration, and ‘‘ _d_ ’’ is the optimization problem dimension. _i_ <sup>_d_</sup> <sup>_, . . . x_</sup> _i_ <sup>_n_</sup> _i_ _Xi_ = - _xi_ <sup>1</sup> _i_ <sup>1</sup> <sup>_, . . ., x_</sup> _i_ <sup>_d_</sup> _,_ _i_ = 1 _,_ 2 _, ......_ _N_ (43) According to the gravitational law of Newton, the gravitational force that mass j makes towards the mass i at any time t is given as [40]: _ij_ <sup>_d_</sup> <sup>(</sup> <sup>_t_</sup> <sup>) =</sup> <sup>_G_</sup> <sup>(</sup> <sup>_t_</sup> <sup>)</sup> <sup>_Mpi_</sup> <sup>(</sup> <sup>_t_</sup> <sup>) ×</sup> <sup>_Maj_</sup> <sup>(</sup> <sup>_t_</sup> <sup>)</sup> _Rij_ ( _t_ ) + _ε_ _j_ <sup>_d_</sup> <sup>(</sup> <sup>_t_</sup> <sup>) −</sup> <sup>_x_</sup> _i_ <sup>_d_</sup> _i_ <sup>_d_</sup> <sup>(</sup> <sup>_t_</sup> <sup>))</sup> (44) _Fij_ <sup>_d_</sup> <sup>(</sup> <sup>_t_</sup> <sup>) ×</sup> <sup>_Maj_</sup> <sup>(</sup> <sup>_t_</sup> <sup>)</sup> ( _xj_ <sup>_d_</sup> _Rij_ ( _t_ ) + _ε_ where _G_ ( _t_ ) is gravitational constant at a specified time ‘‘ _t_ ’’, _ε_ is a small constant, _Rij_ ( _t_ ) is Euclidean spacing between the two candidates _i_ and _j,_ _Maj_ is the active gravitational mass, _Mpi_ is passive gravitational mass. The gravitational constant G is evaluated as: _G_ ( _t_ ) = _Go_ × exp(− _α_ × _iter/_ max _itere_ ) (45) where _GO_ is the initial value of gravitational constant, _α_ is a descending coefficient, _iter_ is present iteration, and ‘‘ _max-_ _itere’’_ is the maximum iterations number. The total force influencing the agent _i_ is explained as follows: _ij_ <sup>_d_</sup> <sup>(</sup> <sup>_t_</sup> <sup>))</sup> (46) _Fi_ <sup>_d_</sup> <sup>(</sup> <sup>_t_</sup> <sup>) =</sup> - _N_ _N_ _j_ =1 _,j_ ̸= _i_ <sup>(</sup> <sup>_randj_</sup> <sup>)(</sup> <sup>_F_</sup> _ij_ <sup>_d_</sup> where, _randj_ is a random number ranges between [0, 1]. According to the law of motion, the accelerations of all agents are given as follows: _<u>i</u>_ <sup>_d_</sup> _i_ <sup>(</sup> <sup>_t_</sup> <sup>) =</sup> <sup>_F_</sup> <sup>_d_</sup> _ac_ <sup>_d_</sup> _i_ _<u>i</u>_ <sup>(</sup> <sup>_t_</sup> <sup>)</sup> <sup>_F_</sup> <sup>_d_</sup> (47) _Mi_ ( _t_ ) FIGURE 6. The flowchart of the WCA optimization technique. For each iteration, the velocity and position of agents in each population are computed from the following: _v_ <sup>_d_</sup> _i_ <sup>_d_</sup> _i_ <sup>(</sup> <sup>_t_</sup> <sup>+ 1)</sup> <sup>=</sup> <sup>_randi_</sup> <sup>×</sup> <sup>_vd_</sup> _i_ _v_ <sup>_d_</sup> _i_ <sup>(</sup> <sup>_t_</sup> <sup>+ 1)</sup> <sup>=</sup> <sup>_randi_</sup> <sup>×</sup> <sup>_vd_</sup> _i_ <sup>(</sup> <sup>_t_</sup> <sup>) +</sup> <sup>_acd_</sup> _i_ <sup>(</sup> <sup>_t_</sup> <sup>)</sup> (48) _xi_ <sup>_d_</sup> <sup>(</sup> <sup>_t_</sup> <sup>+ 1)</sup> <sup>=</sup> <sup>_x_</sup> _i_ <sup>_d_</sup> <sup>(</sup> <sup>_t_</sup> <sup>) +</sup> <sup>_vd_</sup> _i_ <sup>(</sup> <sup>_t_</sup> <sup>+ 1)</sup> (49) _i_ <sup>_d_</sup> <sup>(</sup> <sup>_t_</sup> <sup>+ 1)</sup> <sup>=</sup> <sup>_x_</sup> _i_ <sup>_d_</sup> _i_ <sup>_d_</sup> <sup>(</sup> <sup>_t_</sup> <sup>) +</sup> <sup>_vd_</sup> _i_ <sup>_d_</sup> _i_ <sup>(</sup> <sup>_t_</sup> <sup>) +</sup> <sup>_acd_</sup> _i_ <sup>_d_</sup> _i_ <sup>(</sup> <sup>_t_</sup> <sup>+ 1)</sup> (49) ‘‘exploration’’, which can be implemented by proper selection of _Go_ and _α_, and (ii) the ability to deed the optimal solution ‘‘exploitation’’, which is guaranteed by slow movement of heavy masses. According to the last equations from Eqs. (45) to (49), the operation process of GSA is continued until reaching the end criterion. To avoid the weakness of both techniques, particle swarm optimization and gravitational search algorithm are hybridized in parallel forming a new population-based metaheuristic optimization algorithm called PSOGSA [37]. The main advantage of PSOGSA is to merge the high efficiency of exploitation in PSO with the good exploration capability of GSA. The velocity and position of the search agents according to the combination of the two algorithms where _xi_ <sup>_d_</sup> _i_ <sup>_d_</sup> <sup>is</sup> <sup>the</sup> <sup>position</sup> <sup>of</sup> <sup>agent</sup> <sup>_i_</sup> <sup>,</sup> <sup>_x_</sup> _i_ <sup>_d_</sup> where _xi_ <sup>_d_</sup> <sup>is</sup> <sup>the</sup> <sup>position</sup> <sup>of</sup> <sup>agent</sup> <sup>_i_</sup> <sup>,</sup> <sup>_x_</sup> _i_ <sup>_d_</sup> <sup>is</sup> <sup>the</sup> <sup>velocity</sup> <sup>of</sup> agent _i_ at the iteration ‘‘t’’, and _d_ is the dimension of the optimization problem. From the above equations, the present velocity of the search agent equals a fraction between [0, 1] added to its final acceleration. The current position of the search agent equals to its final position added to the present velocity. GSA is characterized by two important merits: (i) the capability of the technique to seek the entire search area the elected solutions, while the variables of the optimization problem are taken as the position of these candidates in the search area. According to this, moths can fly in different areas (1-dimensional, 2-dimensional, 3-dimensional or hyperdimensional) by updating their position vector. As the MFO is a population-based algorithm, the following matrix introduces the set of generated moths [41], [42], _m_ 11 _m_ 12 _. . ._ _m_ 1 _d_ _m_ 21 _m_ 22 _. . ._ _m_ 2 _d_ _. . ._ _. . ._ _. . ._ _. . ._ _mn_ 1 _mn_ 2 _. . ._ _mnd_   (52) _M_ =   where _n_ refers to the number of moths and _d_ for the coincided design variables. The values of the proper fitness values corresponding to all moths; can be assumed and stored as below [41], [43]: _OM_ 1  _OM_ 2 (53) _. . ._  _OMn_ _OM_ =   Another important component of the MFO method is the flames, which are described as similar to the way of moths [41]: FIGURE 7. The flowchart of PSOGSA algorithm. are calculated from the following: ′ _Vi_ ( _n_ + 1) = _w_ × _Vi_ ( _n_ ) + _c_ 1 <sup>×</sup> <sup>_rand_</sup> <sup>×</sup> <sup>_aci_</sup> <sup>(</sup> <sup>_n_</sup> <sup>)</sup> ′ + _c_ 2 <sup>×</sup> <sup>_rand_</sup> <sup>× (</sup> <sup>_gbest_</sup> <sup>−</sup> <sup>_Xi_</sup> <sup>(</sup> <sup>_n_</sup> <sup>))</sup> (50) _Xi_ ( _n_ + 1) = _Xi_ ( _n_ ) + _Vi_ ( _n_ + 1) (51) ′ ′ where _Vi_ ( _n_ ) is the velocity of the search agent _i_, _c_ 1 <sup>and</sup> <sup>_c_</sup> 2 <sup>is</sup> the acceleration coefficients, _w_ is defined as a weight factor. In this study, in PSOGSA meta-heuristic optimization algorithm, the candidate solutions are taken as the agents of a randomly generated population. After initialization according to the procedure of GSA, the gravitational constant is computed, then the fitness function of all search agents is estimated. Then the force, the gravitational constant, the values of agent mass, and gravitational acceleration; have been estimated based on Eqs. (44) to (47). Then according to Eq. (50), the velocity of each search agent is calculated depending on the present acceleration and the best position. Finally, using Eq. (51), the position of all particles in the search space is updated. So, in each iteration, the best solution ( _gbest_ ) and ( _pbest_ ) for all objects are changed. The above procedure is repeated until the proposed system reaches the end criterion. The procedure of the hybrid PSOGSA optimization algorithm is summarized in the flowchart shown in Fig. 7. _D._ _MOTH-FLAME OPTIMIZER_ Moth-flame optimizer (MFO) is a novel developed optimization technique, firstly implemented by Mirjalili in 2015 [41]. In the MFO optimization method, moths are assumed to be In the MFO, both moths and flames are considered as the solution. The moths are the actual search agents, which execute the search space, while the flames act as the best location of the moths so far. In other words, flames can be assumed as flags or pins directed by moths in the process of searching the space. Then, each moth looks for nearby a flag (flame) and changes it to detect a superior solution. With this technique, a moth possesses the best position [41]. The MFO configuration has three approximation functions; the initialization function _I_ ; the main function _P_ ; and the termination function _T_ . The overall frame of the MFO technique can be considered as [41], [42]: _MFO_ = ( _I_ _, P, T_ ) (56) The initialization function _I_ randomly generates a population of moths with their fitness values as expressed in the following _M_ ( _i, j_ ) = _ub_ ( _i_ ) − _lb_ ( _i_ ) × _rand_ () + _lb_ ( _i_ ) (57) _OM_ = _fitnessFunction_ ( _M_ ) (58) _F_ 11 _F_ 12 _. . ._ _F_ 1 _d_ _F_ 21 _F_ 22 _. . ._ _F_ 2 _d_ _. . ._ _. . ._ _. . ._ _. . ._ _Fn_ 1 _Fn_ 2 _. . ._ _Fnd_   (54) _F_ =   In addition, it is assumed that there is a matrix for storing fitness values as: _OF_ 1  _OF_ 2 (55) _. . ._  _OFn_ _OF_ =   FIGURE 8. Some of the possible positions that can be reached by a moth with respect to a flame using the logarithmic spiral. When the initialization process is finished, the _P_ function starts operation until the termination function _T_ is fulfilled. The logarithmic spiral function is considered as the main mechanism for updating the position of moths in accordance with their corresponding flame [43]. The following formula is used for updating the position of each moth towards the corresponding flame: _Mi_ = _S_ ( _Mi, Fj_ ) (59) where _Mi_, _Fj_, and _S_ indicate the _i_ -th moth, the _j-_ th flame, and the spiral function, respectively. The logarithmic spiral for the MFO main update mechanism is expressed as: _S_ ( _Mi, Fj_ ) = _Di.e_ <sup>_bt_</sup> _._ cos(2 _πt_ ) + _Fj_ (60) where _Di_, b, and t are the distance of the _i_ -th moth for the _j_ -th flame, a constant for explaining the form of the logarithmic spiral, a random number between [1, −1], respectively. _Di_ is estimated from the following expression: FIGURE 9. Flow chart of the MFO optimization algorithm. - The exploration and exploitation processes are balanced according to the adaptive number of flames. - The acceleration convergence nearby the corresponding flames over the iterations is influenced by the constant of adaptive convergence (r). VII. THE STUDY CASE In this study, the proposed microgrid in this study is considered for Abu-Monqar village in Farafra Oasis, New Valley governorate situated in the south-west of Egypt, in Western Desert. According to the geographical location, the village is located at latitude 26.5 N, longitude 27.7 E, and 133m above the seawater level (see Fig. 10). It is about 250 kilometers from the El-Dakhla Oasis, 450 kilometers from El-Kharga Oasis and about 100 kilometers from the administrative center of Farafra Oasis, which is about 600 kilometers away from Cairo. It has a population of about 7 thousand people, the only region in the Arab Republic of Egypt, which did not reach the grid electricity and live on the electricity of diesel machines, which works about 14 hours a day. The data of the intensity of solar radiation over the horizontal surface and wind speeds were obtained from, NASA depending on the long-term average of meteorological parameters of 20 years of observation. The detailed potential of the solar radiation and wind speed in the selected site _Di_ = �� _Fj_ - _Mi_ �� (61) The spiral function is considered to make sure that a moth flies nearby a flame and not blocked in the area between them. Figure 8 shows the mechanism that the moth uses to update its positions around the flame. Exploration stage occurs if the next position of moth lies outside the search space between it and the flame. On the other hand, the exploitation process takes place when the next location lies in the area between the moth and flame. The flowchart of the MFO algorithm is shown in Fig. 9: The following steps are used for more declaration of the MFO algorithm operation: - Assigning each moth a flame, and then updating the location of flames in each iteration. - To confirm that the moths never get lost in the search area between it and the corresponding flame and assuring the convergence of the MFO technique, the present best position obtained is stored as a guide for the moths in the next iteration. FIGURE 10. The location of the studied village, namely abu-monqar village located in the south-west of Egypt. FIGURE 11. Average monthly solar radiation and wind speed for the study area. is shown in Fig. 11. The annual average radiation on the horizontal surface for this village is about 6.04 kWh/m <sup>2</sup> /day while its annual radiation ranges between 3.64kWh/m <sup>2</sup> /day and 8.12kWh/m <sup>2</sup> /day. The potential of wind energy in the south of Egypt was studied in [8]. The authors concluded that the wind speed is more persistent and blow over this region with frequencies from 67% to 87% over the year in two main sectors N and NNW with average wind speed in the range of 6.8 to 7.9 m/s [8]. The main loads in this area are residential loads for lighting and other domestic facilities. Taking into account the short period of availability of electricity in the village, the maximum load observed was about 420 kW, while the average demand for electricity was 265 kW. Taking into consideration the nature of living in this region, a daily load curve has been proposed. The peak load occurs in the period from 19:00 to 22:00 o’clock as the major load of the selected area is the lighting. The monthly averaged load demand is shown in Fig. 12, while the suggested daily load curve for a certain day is presented in Fig. 13. FIGURE 12. The monthly average load demand. FIGURE 13. The daily load curve of the study area. The main goal of the optimization techniques is to minimize the objective functions of equation (25) and determine the best optimal size of the components of the RES microgrid, which are: (i) number of PV modules _nPV_, (ii) number of wind turbines _nWT_, (iii) number of battery storage banks _nBatt_, and (iv) number of diesel generators _nDG_ . In this research, each optimization algorithm operates according to the following steps: A. Run the program of designing the RES based on the energy balance, which has three main steps: 1. Generation of the initial population. 2. Run the program of designing the RES described in equations from (1) to (23), as illustrated in the flowchart presented in Fig. 2. 3. The evaluation process of the fitness function for all agents/positions given in Eq. (25). B. Run the optimization algorithm with the RES, which involves the following processes: 1. Updating the position and sizing the RES elements, according to the nature of each optimization algorithm. 2. Run the program of designing the RES described in equations from (1) to (23), as illustrated in the flowchart of Fig. 2. 3. The evaluation process of the fitness function for all agents/positions presented in Eq. (25). 4. Check whether the proposed system meets the end criterion or not. If so, (i.e., ‘‘Yes’’), the program will be stopped and will go to the next step, otherwise (i.e., ‘‘No’’), the three previous processes, namely from ‘‘1’’ to ‘‘3’’, will be repeated. 5. Show the results such as sizing of RES and the best optimum values of COE, NPC, LPSP and Dummy load. VIII. RESULTS AND DISCUSSION A small village located in the southwest of Egypt deeply in Western Desert has been used for assessing the optimization of sizing a small-size isolated hybrid microgrid. Based on the existing data, the annual average wind speed in the selected site is about 5m/s and the average horizontal solar radiation is 6.04kWh/m <sup>2</sup> /day. The technical and economic specifications of PV, wind turbine, battery bank, and diesel generator, used in this study has been presented in Table 1. In the present work, the rate of interest has been taken as 6%, while the lifetime of the system has been chosen as 25 years. The results were accomplished using MATLAB simulation program. The control parameters and the boundaries of the optimized variables are the same for the proposed optimization algorithms used in this study. The maximum number of iterations was set to 50 iterations and the maximum number of search agents is 20. _A._ _OPTIMAL COMBINATION OF THE_ _SYSTEM COMPONENTS_ In this study, the size of the proposed microgrid is defined as the number of PV modules, the number of wind turbines, TABLE 1. Technical and economic characteristics of the system components the number of battery banks, and the number of diesel generator units. In this study, the size of the proposed microgrid is defined by the number of (i) PV modules, (ii) wind turbines, (iii) battery banks, and (iv) diesel generator units. Table 2 shows the detailed results of the optimization process, while the optimization algorithms were evaluated considering 10 and 50 iterations. It can be seen in Fig. 14 that WOA reached the optimum solution of 0.228833 within the predefined operation limits after 23 iterations, while WCA reached the best cost of 0.229951 after 16 iterations, MFO reached the best cost of 0.2299526 after 41 iterations, and PSOGSA reached the best cost of 0.2300714 after 14 iterations. FIGURE 14. Convergence curves of the proposed optimization techniques. FIGURE 15. Comparison of the optimization parameters of the used optimization techniques. The results show that the WOA optimization method can capable to reach the minimum best optimal value of the objective function. Base on the results, a note should be highlighted, the PSOGSA is faster than the other three algorithms according to the elapsed time (s) of the program operation for producing its optimal solution. However, this optimal solution is higher than that of the WOA. Therefore, the elapsed time and the attitude of objective functions of WOA and PSOGSA illustrate the superiority of WOA over PSOGSA to find the optimum minimum objective function in a small number of iterations as illustrated in Fig. 14 and Table 2. Moreover, in terms of acceptable FIGURE 16. Simulation results of the optimal solution obtained from WOA for a one year of operation (i.e., 8760 hours). solutions, the numerical results in tables and figures illustrate that the performance of WOA is faster and better compared to PSOGSA and other techniques. Form the simulation results, it can be inferred that the WOA predicts the minimum COE of the system with the least NPC and LPSP within the predefined limits. Moreover, WOA predicts the best COE of 0.18500434 $/kWh, which results in a net present cost of 5418863.798$ and ensure the value of LPSP of 9.07269e-07, which agree with the predefined value ( _<_ 0.04). The same results are obtained when the optimization algorithms are limited to 10 iterations, but unfortunately, all the proposed techniques did not reach the optimal final value for the cost function. According to WOA algorithm, to ensure the minimum COE at the proposed location; 1400 PV modules, 15 wind turbines, (1.67941≈ 2) DG units and 336 battery banks are estimated. Moreover, the COE obtained by WOA shows that the proposed hybrid microgrid system supply energy to the isolated village with an acceptable cost. The comparison is clearly presented in Fig. 15, in which the components of the objective function for each optimization method are presented. Although WOA provides a minimal of COE, its fuel cost is the highest. The reason behind that can be clarified as that WOA gives the minimum value of battery storage units (i.e., 336 units), which forms a high cost of initialization and replacement. Accordingly, reducing the number of battery storage units leads to a reduction in COE. On the other side, decreasing the capacity of the storage system leads to a long operation of the diesel generator, which in turns consumes much fuel and raises the cost of fuel/year. _B._ _APPLICATION OF THE OPTIMAL CASE_ Figure 16 shows the hourly variation of the generated power for the components of the proposed hybrid system at the optimum case of WOA. In this figure, the presented results are: the load demand ( _Pload_ ), the total power generated from the renewable sources of energy (PPV+PWT), the generated power from the diesel units (PDG), the number of diesel generator units in operation every hour (DG units), dummy load power (Pdummy), charge and discharge power of the storage battery system (PCH&PDIS), the state of charge of the battery bank system as percentage of the storage system capacity (SOC), and the fuel consumption of the diesel generator units. Due to the low wind speed in this area, the diesel generator units are daily operated with different degrees of generation to satisfy the demand for energy of the load during the hours of insufficient generation from the PV and wind turbine sources and low SOC for the battery system. While during the hours of high generation from the renewable sources the dummy load is operated to absorb the excess power over the demand of the load and the maximum limit of the storage system. For a better understanding of the energy management strategy behind the optimization algorithms, the daily simulation results of the hybrid system, taking into account the optimum operation conditions, are considered, as illustrated in Fig. 17. where _Fi_ refers to the cost function for each of the proposed techniques at each run, _Fmin_ is the minimum recorded value of the objective function, and _nR_ refers to the number of runs of the MATLAB model. To achieve this study and evaluate Figure 17 shows the simulation results of WOA for a certain day (e.g., starting from time instant 3296 in Fig. 16) in summer. From Fig. 17(a), it is obvious that the daily load curve has two peaks, the first peak around 13:00 o’clock, where the temperature is very high and there is a need for reducing the air temperature using available air conditioners. The second peak is around 17:00 o’clock after the sunset, as all workers/farmers back home. During the night and early hours, the power generated from the renewable sources is minimum so that the diesel generator is working with high capacity (i.e. the two proposed DG units by WOA are working together). While after 06:00 o’clock, when the sun rises and the output power from PV and wind turbines increases, only one DG unit in conjunction with renewable sources are enough to satisfy the demand of energy. During daytime between 12:00 and 17:00 o’clock when the power generated from the nontraditional sources is greater than the load demand, the DG is switched off. Consequently, the excess power is used to charge the battery banks as shown in Fig. 17(b). The battery starts charging until reaching its maximum allowable limit. Moreover, when the battery is fully charged as given by the SOC of the battery when reaches 100%, the excess power is consumed in the dummy load, as given in Fig. 17(b). After sunset, the battery starts to discharge its energy until reaching the SOCmin and the DG starts to work again. IX. STATISTICAL ANALYSIS In this part, a detailed statistical analysis has been presented to provide a good explanation and assessment of the simulation results obtained by applying the proposed optimization techniques. Moreover, the performance stability of each proposed algorithm was tested in accordance with the application of sensitivity analysis. The present statistical study included, the maximum value of cost function, the minimum value, Mean value, Median, the Standard Deviation (SD), the Relative Error (RE), Root Mean Square Error (RMSE), Mean Absolute Error (MAE), and efficiency. These metrics have been evaluated as described in the following formulas: <u>�</u> _SD_ = _RE_ = _MAE_ = _RMSE_ = ~~�~~ <u>�</u> _nR_ _<u>i</u>_ <u>=1</u> - _ni_ <u>=</u> _R_ <u>1</u> <sup>_(Fi_</sup> <sup>−</sup> <sup>_F_</sup> <sup><u>min</u></sup> <sup>_)_</sup> _F_ min - _ni_ <u>=</u> _R_ <u>1</u> <sup>_(Fi_</sup> <sup>−</sup> <sup>_F_</sup> <sup><u>min</u></sup> <sup>_)_</sup> _nR_ ~~�~~ <u>�</u> _nR_ _<u>i</u>_ <u>=1</u> <sup>_(Fi_</sup> <sup>−</sup> <sup>_F_</sup> <sup><u>min</u></sup> <sup>_)_</sup> <sup>2</sup> _nR_ <u>1</u> (62) _nR_ - 1 <u>�</u> _Fi_ - _F_ <sup>¯</sup> (63) (64) (65) _efficiency_ = <sup>_<u>F</u>_</sup> <sup><u>min</u></sup> _Fi_ × 100% (66) FIGURE 17. Simulation results with WOA of a certain day of operation in summer (i.e., 24 hours of operation between the instant of 4296 hour to 4320 hour). FIGURE 18. Convergence curves of the proposed optimization techniques considering 30 executions; (a) WOA, (b) WCA, (c) MFO, (d) PSOGSA. TABLE 2. Optimization parameters of the proposed optimization techniques TABLE 3. Evaluation of the statistical performance of the proposed optimization techniques the performance of the proposed algorithm, the following parameters have been chosen as follows: search agents, number of iterations in each run and number of executions for the proposed algorithm are set to 10, 50, and 30, respectively. The convergence curves of proposed methods over the 30 executions are shown in Fig. 18. The statistical performance for WOA, WCA, MFO, and PSOGSA is summarized in Table 3. As presented in Table 3, the WOA optimization algorithm has an acceptable RMSE. In addition, the value of SD proved that there is no change in the obtained results over the operation circle, which in turn manifests the stability of the proposed algorithm. X. CONCLUSION Implementation of a hybrid microgrid system can be considered as the optimum solution for electrification in rural and isolated regions. Considering the meteorological data of the site, a simulation model for describing the operation of a hybrid microgrid system, based on PV/wind/diesel and battery storage, has been investigated. In this study, four optimization techniques are proposed to obtain the optimum design of an isolated hybrid microgrid system. The goal of this work is to cover the load demand of the proposed location with the minimum cost of energy and high reliability of the power supply. A comprehensive comparison study between WOA, WCA, MFO, and PSOGSA is presented, while WOA presented high operation efficiency which appeared in the best COE and speed of convergence. Moreover, statistical and sensitivity analysis have been applied to evaluate the performance and test the stability of the proposed optimization techniques. Statistical results and simulation analysis concluded that WOA is the most promising among the proposed methods in solving the optimization problem. In fact, this study is useful for the decision-makers of New Valley, Egypt to think about the implementation of such hybrid systems as a convenient solution for electrification to reduce dependency on fossil fuels. REFERENCES [1] A. Evans, V. Strezov, and T. J. Evans, ‘‘Assessment of sustainability indicators for renewable energy technologies,’’ _Renew._ _Sustain._ _Energy_ _Rev._, vol. 13, no. 5, pp. 1082–1088, 2009. [2] P. Asmus, ‘‘Why microgrids are moving into the mainstream: Improving the efficiency of the larger power grid,’’ _IEEE Electrific. Mag._, vol. 2, no. 1, [pp. 12–19, Mar. 2014. doi: 10.1109/MELE.2013.2297021.](http://dx.doi.org/10.1109/MELE.2013.2297021) [3] T. Ma, H. Yang, and L. Lu, ‘‘A feasibility study of a stand-alone hybrid solar–wind–battery system for a remote Island,’’ _Appl._ _Energy_, vol. 121, pp. 149–158, May 2014. [4] The Arab Republic of Egypt, Ministry of Electricity and Energy. _Egyptian_ _Electricity_ _Holding_ _Company—Annual_ _Report_ _2015-2016_ . Accessed: Aug. 25, 2019. [Online]. Available: http://www.moee.gov.eg/english_new/report.aspx [5] _The_ _Official_ _Website_ _of_ _the_ _Ministry_ _of_ _Electricity_ _and_ _Energy_ . Accessed: Sep. 21, 2018. [Online]. Available: http://www.moee. gov.eg [6] H. M. Sultan, O. N. Kuznetsov, and A. A. Z. Diab, ‘‘Site Selection of large-scale grid-connected solar PV system in Egypt,’’ in _Proc. EIConRus_, Moscow, Russia, Jan./Feb. 2018, pp. 813–818. [7] E. R. Shouman, E. T. El Shenawy, and N. M. Khattab, ‘‘Market financial analysis and cost performance for photovoltaic technology through international and national perspective with case study for Egypt,’’ _Renew._ _Sustain._ _Energy_ _Rev._, vol. 57, pp. 540–549, May 2016. [doi: 10.1016/j.rser.2015.12.074.](http://dx.doi.org/10.1016/j.rser.2015.12.074) [8] M. A. H. El-Sayed, ‘‘Substitution potential of wind energy in Egypt,’’ _Energy_ _Policy_, vol. 30, no. 2, pp. 681–687, Jun. 2002. doi: [10.1016/](http://dx.doi.org/10.1016/S0301-4215%0x2802%0x2900030-7) [S0301-4215(02)00030-7.](http://dx.doi.org/10.1016/S0301-4215%0x2802%0x2900030-7) [9] J. L. Bernal-Agustín, R. Dufo-López, and D. M. Rivas-Ascaso, ‘‘Design of isolated hybrid systems minimizing costs and pollutant emissions,’’ _Renew._ _Energy_, vol. 31, no. 14, pp. 2227–2244, 2006. [10] R. Dufo-López, J. L. Bernal-Agustín, J. M. Yusta-Loyo, J. A. Domínguez Navarro, I. J. Ramírez-Rosado, J. Lujano, and I. Aso, ‘‘Multi-objective optimization minimizing cost and life cycle emissions of stand-alone PV– wind–diesel systems with batteries storage,’’ _Appl. Energy_, vol. 88, no. 11, pp. 4033–4041, Nov. 2011. [11] H. Yang, W. Zhou, L. Lu, and Z. Fang, ‘‘Optimal sizing method for stand-alone hybrid solar–wind system with LPSP technology by using genetic algorithm,’’ _Solar_ _Energy_, vol. 82, pp. 354–367, Apr. 2008. [doi: 10.1016/j.solener.2007.08.005.](http://dx.doi.org/10.1016/j.solener.2007.08.005) [12] B. O. Bilal, V. Sambou, P. A. Ndiaye, C. M. F. Kébé, and M. Ndongo, ‘‘Optimal design of a hybrid solar-wind-battery system using the minimization of the annualized cost system and the minimization of the loss of power supply probability (LPSP),’’ _Renew._ _Energy_, vol. 35, no. 10, [pp. 2388–2390, 2010. doi: 10.1016/j.renene.2010.03.004.](http://dx.doi.org/10.1016/j.renene.2010.03.004) [13] S. M. M. Tafreshi, H. A. Zamani, S. M. Ezzati, M. Baghdadi, and H. Vahedi, ‘‘Optimal unit sizing of distributed energy resources in microgrid using genetic algorithm,’’ in _Proc._ _ICEE_, Isfahan, Iran, May 2010, pp. 836–841. [14] M. Pirhaghshenasvali and B. Asaei, ‘‘Optimal modeling and sizing of a practical hybrid wind/PV/diesel generation system,’’ in _Proc._ _5th_ _Power_ _Electron., Drive Syst. Technol. Conf. (PEDSTC)_, Tehran, Iran, Feb. 2014, pp. 506–511. [15] M. Bashir and J. Sadeh, ‘‘Optimal sizing of hybrid wind/photovoltaic/ battery considering the uncertainty of wind and photovoltaic power using Monte Carlo,’’ presented at the 11th Int. Conf. Environ. Elect. Eng. (EEEIC), Venice, Italy, May 2012. [16] A. Navaeefard, S. M. M. Tafreshi, M. Barzegari, and A. J. Shahrood, ‘‘Optimal sizing of distributed energy resources in microgrid considering wind energy uncertainty with respect to reliability,’’presented at the IEEE Int. Energy Conf. Exhib. (EnergyCon), Manama, Bahrain, Dec. 2010. [17] O. Ekren and B. Y. Ekren, ‘‘Size optimization of a PV/wind hybrid energy conversion system with battery storage using simulated annealing,’’ _Appl._ _Energy_, vol. 87, no. 2, pp. 592–598, 2010. [doi: 10.1016/j.apenergy.2009.05.022.](http://dx.doi.org/10.1016/j.apenergy.2009.05.022) [18] O. Ekren and B. Y. Ekren, ‘‘Size optimization of a PV/wind hybrid energy conversion system with battery storage using response surface methodology,’’ _Appl. Energy_, vol. 85, no. 11, pp. 1086–1101, Nov. 2008. [19] A. Crˇaciunescu, C. Popescu, M. Popescu, and L. M. Florea, ‘‘Stand alone hybrid wind-photovoltaic power generation systems optimal sizing,’’ presented at the 11th Int. Conf. Numer. Anal. Appl. Math. (ICNAAM), Rhodes, Greece, Sep. 2013. [20] A. K. Kaviani, H. R. Baghaee, and G. H. Riahy, ‘‘Optimal siz ing of a stand-alone wind/photovoltaic generation unit using particle swarm optimization,’’ _Simulation_, vol. 85, no. 2, pp. 89–99, Feb. 2009. [doi: 10.1177/0037549708101181.](http://dx.doi.org/10.1177/0037549708101181) [21] H. R. Baghaee, M. Mirsalim, G. B. Gharehpetian, and H. A. Talebi, ‘‘Reliability/cost-based multi-objective Pareto optimal design of standalone wind/PV/FC generation microgrid system,’’ _Energy_, vol. 115, [pp. 1022–1041, Nov. 2016. doi: 10.1016/j.energy.2016.09.007.](http://dx.doi.org/10.1016/j.energy.2016.09.007) [22] H. R. Baghaee, M. Mirsalim, and G. B. Gharehpetian, ‘‘Multi-objective optimal power management and sizing of a reliable wind/PV microgrid with hydrogen energy storage using MOPSO,’’ _J._ _Intell._ _Fuzzy_ _Syst._, [vol. 32, no. 3, pp. 1753–1773, Jan. 2017. doi: 10.3233/JIFS-152372.](http://dx.doi.org/10.3233/JIFS-152372) [23] A. Arabali, M. Ghofrani, M. Etezadi-Amoli, and M. S. Fadali, ‘‘Stochas tic performance assessment and sizing for a hybrid power system of solar/wind/energy storage,’’ _IEEE_ _Trans._ _Sustain._ _Energy_, vol. 5, no. 2, pp. 363–371, Apr. 2014. [24] M. A. Mohamed, A. M. Eltamaly, A. I. Alolah, and A. Y. Hatata, ‘‘A novel framework-based cuckoo search algorithm for sizing and optimization of grid-independent hybrid renewable energy systems,’’ _Int._ _J._ _Green_ _Energy_, vol. 16, no. 1, pp. 86–100, Oct. 2018. [doi: 10.1080/15435075.2018.1533837.](http://dx.doi.org/10.1080/15435075.2018.1533837) [25] M. A. M. Ramli, H. R. E. H. Bouchekara, and A. S. Alghamdi, ‘‘Optimal sizing of PV/wind/diesel hybrid microgrid system using multi-objective self-adaptive differential evolution algorithm,’’ _Renew._ _Energy_, vol. 121, pp. 400–411, Jan. 2018. [26] V. Raviprabakaran and S. Ramachandradurai, ‘‘Optimal sitting of PV wind-energy storage system integrated micro grid using artificial bee colony optimization technique,’’ _Int. J. Innov. Res. Comput. Commun. Eng._, vol. 5, no. 5, pp. 9640–9652, 2017. [27] M. S. Ngan and C. W. Tan, ‘‘Assessment of economic viability for PV/wind/diesel hybrid energy system in Southern Peninsular Malaysia,’’ _Renew. Sustain. Energy Rev._, vol. 16, no. 1, pp. 634–647, Jan. 2012. [28] A. M. A. Haidar, P. N. John, and M. Shawal, ‘‘Optimal configuration assessment of renewable energy in Malaysia,’’ _Renew._ _Energy_, vol. 36, no. 2, pp. 881–888, Feb. 2011. [29] _Wind Turbines—Part 3: Design Requirements for Offshore Wind Turbines_, 1st ed., Standard IEC 61400-3:2009, Geneva, Switzerland, 2009. [30] M. S. Ismail, M. Moghavvemi, and T. M. I. Mahlia, ‘‘Techno-economic analysis of an optimized photovoltaic and diesel generator hybrid power system for remote houses in a tropical climate,’’ _Energy Convers. Manage._, vol. 69, pp. 163–173, May 2013. [31] R. Dufo-López, J. L. Bernal-Agustín, J. M. Yusta-Loyo, J. A. Domínguez-Navarro, I. J. Ramírez-Rosado, J. Lujano, and I. Aso, ‘‘Multi-objective optimization minimizing cost and life cycle emissions of stand-alone PV–wind–diesel systems with batteries storage,’’ _Appl. Energy_, vol. 88, no. 11, pp. 4033–4041, Nov. 2011. [32] A. Kaabeche, M. Belhamel, and R. Ibtiouen, ‘‘Optimal sizing method for stand-alone hybrid PV/wind power generation system,’’ in _Proc._ _Revue_ _Energies Renouvelables (SMEE)_, Bou Ismaïl, Tipaza, 2010, pp. 205–213. [33] S. Mirjalili and A. Lewis, ‘‘The whale optimization algorithm,’’ _Adv._ _Eng._ _Softw._, vol. 95, pp. 51–67, May 2016. doi: [10.1016/](http://dx.doi.org/10.1016/j.advengsoft.2016.01.008) [j.advengsoft.2016.01.008.](http://dx.doi.org/10.1016/j.advengsoft.2016.01.008) [34] R. Masadeh, A. Alzaqebah, and A. Sharieh, ‘‘Whale optimization algo rithm for solving the maximum flow problem,’’ _J. Theor. Appl. Inf. Tech-_ _nol._, vol. 96, no. 8, pp. 2208–2220, Apr. 2018. [35] H. Eskandar, A. Sadollah, A. Bahreininejad, and M. Hamdi, ‘‘Water cycle algorithm—A novel metaheuristic optimization method for solving constrained engineering optimization problems,’’ _Comput._ _Struct._, vols. 110–111, pp. 151–166, Nov. 2012. [36] A. Sadollah, H. Eskandar, A. Bahreininejad, and J. H. Kim, ‘‘Water cycle algorithm for solving multi-objective optimization problems,’’ _Soft Com-_ _put._, vol. 19, no. 9, pp. 2587–2603, Sep. 2015. [37] S. Mirjalili and S. Z. M. Hashim, ‘‘A new hybrid PSOGSA algorithm for function optimization,’’ in _Proc._ _ICCIA_, Tianjin, China, Dec. 2010, pp. 374–377. [38] R. Eberhart and J. Kennedy, ‘‘A new optimizer using particle swarm theory,’’ in _Proc._ _6th_ _Int._ _Symp._ _Micro_ _Mach._ _Hum._ _Sci._, Nagoya, Japan, [Oct. 1995, pp. 39–43. doi: 10.1109/MHS.1995.494215.](http://dx.doi.org/10.1109/MHS.1995.494215) [39] J. Kennedy and R. C. Eberhart, ‘‘Particle swarm optimization,’’ in _Proc._ _4th_ _IEEE_ _Int._ _Conf._ _Neural_ _Netw._, Piscataway, NJ, USA, Nov. 1995, pp. 1942–1948. [40] E. Rashedi, H. Nezamabadi-Pour, and S. Saryazdi, ‘‘GSA: A gravitational search algorithm,’’ _J. Inf. Sci._, vol. 179, no. 13, pp. 2232–2248, 2009. [41] S. Mirjalili, ‘‘Moth-flame optimization algorithm,’’ _Knowl.-Based_ _Syst_, vol. 89, pp. 228–249, Nov. 2015. [42] M. A. Tolba, H. Rezk, V. Tulsky, A. A. Z. Diab, A. Y. Abdelaziz, and A. Vanin, ‘‘Impact of optimum allocation of renewable distributed generations on distribution networks based on different optimization algorithms,’’ _Energies_, vol. 11, no. 1, p. 245, Jan. 2018. [43] M. H. Sulaiman, Z. Mustaffa, M. I. M. Rashid, and H. Daniyal, ‘‘Economic dispatch solution using moth-flame optimization algorithm,’’ in _Proc._ _MATEC_ _Web_ _Conf._, Hongliang Yuan, China, vol. 214, 2018, p. 03007. [doi: 10.1051/matecconf/201821403007.](http://dx.doi.org/10.1051/matecconf/201821403007) AHMED A. ZAKI DIAB received the B.Sc. and M.Sc. degrees in electrical engineering from Minia University, Egypt, in 2006 and 2009, respectively, and the Ph.D. degree from the Electric Drives and Industry Automation Department, Faculty of Mechatronics and Automation, Novosibirsk State Technical University, Novosibirsk, Russia, in 2015. He received the Postdoctoral Fellowship from the Moscow Power Engineering Institute (MPEI), National Research University, Moscow, Russia, from 2017 to 2018. Since 2001, he has been with the Department of Electrical Engineering, Faculty of Engineering, Minia University, Egypt, as a Teaching Assistant, a Lecturer Assistant, and since 2015, as an Assistant Professor. He is currently a Visiting Researcher with Kyushu University, Japan, (received the MIF Postdoctoral Fellowship, in 2019). His present research interests include ac drives, renewable energy, smart-grids and optimization, and artificial intelligence. HAMDY M. SULTAN received the B.Sc. degree in electrical power engineering and the M.Sc. degree in electrical engineering from Minia University, Minia, Egypt, in 2014. He is currently pursuing the Ph.D. degree with the Moscow Power Engineering Institute, National Research University, Moscow, Russia. The key research areas include power system plan and operation, power system transient stability, and renewable energy. IHAB S. MOHAMED received the B.S. degree from the Institute of Aviation Engineering and Technology (IAET), Egypt, in 2009, and the M.S. degree in electrical engineering from Cairo University, Egypt, in 2014. From 2015 to 2017, he was an M.Sc. student of European Master in Advanced Robotics (EMARO+). He attended the first year of EMARO+ at the Warsaw University of Technology (WUT), Poland, while the second year, he was at the University of Genoa (GU), Italy. He is currently pursuing the Ph.D. degree in robotics engineering at INRIA Sophia Antipolis - Méditerranée, Université Côte d’Azur, France, under the supervision of Prof. P. Martinet, G. Allibert, and P. Salaris. From 2009 to 2015, he was a Teaching Assistant with the Electronics and Communications Department, IAET. His research interests include predictive control (MPC), power electronics, robotics, computer vision, and machine learning. KUZNETSOV OLEG N. received the B.Sc. and Ph.D. degrees in electrical power engineering from the Moscow Power Engineering Institute, National Research University, Moscow, Russia, in 1999 and 2003, respectively. He is currently with the Moscow Power Engineering Institute. He is a Co-chairman of the Scientific and Methodological Council in the direction of power and electrical engineering (electrical power module). His main research interests include power system planning, power system stability, distributed generation, and energy management of smart grids. TON DUC DO (S’12–M’14) received the B.S. and M.S. degrees in electrical engineering from the Hanoi University of Science and Technology, Hanoi, Vietnam, in 2007 and 2009, respectively, and the Ph.D. degree in electrical engineering from Dongguk University, Seoul, South Korea, in 2014. From 2008 to 2009, he was with the Division of Electrical Engineering, Thuy Loi University, Vietnam, as a Lecturer. He was with the Division of Electronics and Electrical Engineering, Dongguk University, as a Postdoctoral Researcher, in 2014. He was also a Senior Researcher with the Pioneer Research Center for Controlling Dementia by Converging Technology, Gyeongsang National University, South Korea, from 2014 to 2015. Since 2015, he has been an Assistant Professor with the Department of Robotics and Mechatronics, Nazarbayev University, Kazakhstan. His research interests include advanced control system theories, electric machine drives, renewable energy conversion systems, uninterruptible power supplies, electromagnetic actuator systems, targeted drug delivery systems, and nanorobots. Dr. Do received the Best Research Award from Dongguk University, in 2014. He was the Lead Guest Editor of the special issue of _Mathematical_ _Problems_ _in_ _Engineering_ on Advanced Control Methods for Systems with Fast-Varying Disturbances and Applications. He is currently an Associate Editor of IEEE ACCESS.

섹션 본문 112문단 · 47,862자

(제목 없음)

2The position, mass of inertia, active gravitational mass, and the passive gravitational mass of the object, respectively

GO and G(t)

3The initial value of gravitational constant and gravitational constant at a specified time "t", respectively ( ) R t ij

4The spiral function of the i-th moth for the j-th flame Di

5The distance of the i-th moth for the j-th flame

A. MOTIVATION AND INCITEMENT

6Despite the significant increases in the development of global renewable energy technology, electricity shortages remain a serious problem in rural areas and islands with large sources of renewable energy. Meanwhile the last years, enhanced power electronics have been used to support renewable energy sources (RES) to frugally supply electric energy for comprehensive range applications. The high specific cost of the generated units from RES, when compared with that from the traditional power plants and the availability of renewable energy sources, are the two main challenges for the implementation of RES in large scale, as introduced in [1]. Moreover, due to the intermittent nature of almost renewable sources, the feasibility of high RES sharing can be increased, considering energy mix from different types of renewable resources side by side with the application of energy storage system. The previously mentioned challenges lead the decision makers to think about the combination of conventional energy sources with RES as a hybrid microgrid system in order to increase the share of RES in the energy mix [2]. Microgrid power systems, including photovoltaic and wind energy, hybrid with diesel generators are investigated, to be a promising energy source and feasible from the economic point of view. Isolated communities, with respect to the supply of electricity, are often located in islands, rural and some urban areas in developing countries. The demand for electricity in these areas is usually provided by diesel generators, leading to considerable uncertainty because of the cost of fuel and the high pollution of the surrounding environment [3]. Therefore, hybrid microgrids can be particularly suitable for isolated communities, however, this area still needs of further research, feasibility studies and technological developments. The total installed capacity of power plants which connected with the utility grid in Egypt reached 38.857 GW by the end of 2016 [4]. Abu Monqar is one of the most promising investment areas in the New Valley, Western Desert. The demand for electricity in this area is covered by a diesel generating station including three diesel generator units with capacities ranging from 400 to 660 kW. The average load demand for the isolated village and its surrounding villages is about 265kW [5]. Taking into account the plan of the national energy sector regarding the utilization of renewable resources, which planned to be increased to 20% up to 2027 [6]. Wind turbines and PV are the top two most promising energy resources used in Egypt. Therefore, a certain number of feasibility studies and researches have been presented related to the assessment of the energy potentials and the optimal allocation of these sources in many locations over the territory of the country [6][7][8].

B. LITERATURE REVIEW

7Many advanced optimization techniques for the optimal design of hybrid RES has been presented in many research studies in the literature. In [9,10], the optimal sizing of a PV/wind/diesel hybrid system was presented using Strength Pareto evolutionary algorithm by formulating two objective functions, minimization of system cost and greenhouse gases emissions. In [11][12][13], Genetic algorithm (GA) was used for optimal sizing and configuration of a hybrid PV/wind power system with battery storage under different objective functions; the reliability of the system under weather conditions variations, minimizing the annual cost of the system and to minimize the loss of power supply probability (LPSP). Particle Swarm Optimization (PSO) has been used in many research studies for optimal sizing of hybrid renewable energy systems [14][15][16].

8A PV/wind/diesel/battery banks hybrid system was presented in [14]. The uncertainty in the generation of PV and wind energy are considered in [15]. In [16], PSO was used to find the global optimum solution while considering the uncertainty in wind generation within a certain reliability index in PV/wind microgrid system with fuel cells, electrolyzer, hydrogen tank, and battery system. Simulated Annealing (SA) optimization strategy was used for optimal sizing of hybrid PV/wind energy conversion system, while the objective function was to minimize the total energy cost of the hybrid system [17]. The response surface methodology (RSM) was used for optimizing the size of an autonomous PV/wind system with energy storage in some studies [18]. The results obtained from RSM optimization were confirmed using autonomy analysis and loss of load probability, then the results of this work were used in [17] to be compared with the results obtained from simulated annealing optimization. In [19], mathematical models of hybrid wind and PV systems were developed and multi-objective optimization using PSO and GA were performed.

9In [20], Particle swarm optimization has been used for optimal sizing and operation of a PV/wind/battery storage hybrid energy system for minimizing the energy cost over the whole lifetime of the project. The optimization results are compared with GA, where PSO technique proved its superiority in solving the optimization problem in terms of the convergence, speed, and accuracy. In [21,22], Multi-Objective Particle Swarm Optimization (MOPSO) has been used for the optimal configuration of a hybrid PV/wind microgrid with hydrogen storage for minimizing the cost of energy generated from such a system, taking into account the reliabilities of the system components and outage probabilities of the subsystems. The optimization results have been compared with that of Single Objective Optimization method and Equivalent Loss Factor (ELF) is chosen as the reliability constraint in the optimization problem. In [23], Pattern Search (PS) optimizer and sequential Monte Carlo Simulation (SMCS) are combined to obtain the minimum total cost of the system and satisfy the reliability requirements from the consumer side.

10A comparison with a hybrid GA-SMCS was also performed, from which the PS-SMCS gave a better performance. In [24], cuckoo search optimization algorithm has been used for optimal sizing of an isolated PV/wind/diesel/ battery energy system, while the proposed technique provided high accuracy compared to GA and PSO. Multi-Objective Self-Adaptive Differential Evolution (MOSaDE) algorithm has been used for optimal sizing and operation of a hybrid PV/wind/diesel microgrid system with battery storage for the city of Yanbu, Saudi Arabia, whereas, the multi-objective optimization approach is used to reduce the computational time [25]. The optimal sizing and placement of a grid-connected PV-wind-battery storage microgrid using Artificial Bee Colony optimization technique are presented in [26], while the IEEE 30-bus system was used for the application of the optimal operation. In [27,28], the Hybrid Optimization of Multiple Energy Resources (HOMER) software has been used for optimum sizing of hybrid wind/PV/diesel system in Malaysia in which the weather conditions, maximum availability and minimum cost were considered.

C. CONTRIBUTION AND PAPER ORGANIZATION

11Proceeding from the necessity to diversify electricity generation by giving priority to optimizing the use of renewable energy, this paper investigates on the economical design of a grid-independent hybrid PV/wind power system with battery storage and diesel generator. In this way, Whale Optimization Algorithm (WOA), Water Cycle Algorithm (WCA), Moth-Flame Optimizer (MFO), and Hybrid particle swarm-gravitational search algorithm (PSOGSA) have been exploited for minimizing the cost of energy (COE) generated from this system over its 25 years lifetime, and subjected to reliability constraints in the form of loss of power supply probability. Concerning the data of solar radiation and wind speed acquired from Abu-Monqar village in Western Desert of Egypt, they are available, based on; (i) the data obtained from National Aeronautics and Space Administrative (NASA), and (ii) the long-term average of meteorological parameters of 20 years of observation. The system cost includes the annual interest of capital investment cost, operation and maintenance, and replacement cost.

12The main contributions of the work described in this paper can be summarized as follows:

131. To the best of the authors' knowledge, the proposed optimization algorithms, which are WOA, WCA, MFO, and PSOGSA, have not been reported in the literature for tackling the problem of designing the RES microgrids. Consequently, a comprehensive comparison between these algorithms has been introduced in conjunction with a clear discussion and analysis. 2. Moreover, the objective function proposed in this paper, for determining the best optimal size of the components of the RES microgrid, is novel and different from the conventional objective functions, leading to notable improvements in the system's performance, as illustrated in Section V. 3. Broadly speaking, to the best of the authors' knowledge, this is the first attempt to optimize the system components based on a real-time meteorological data acquired from Abu-Monqar village located in Western Desert of Egypt, for developing this promising remote area.

14The paper is organized as follow: section II briefly describes the subsystems of the hybrid system. The corresponding models for the subsystems are presented in section III. The energy management strategy is demonstrated in Section IV. Optimization problem statement and the proposed optimization techniques are discussed in Sections V and VI, respectively. A case study is formulated in section VII. Simulation results and discussions are summarized in Section VIII. Statistical analysis is performed in section IX. Finally, Section X is devoted to the conclusion.

II. STAND-ALONE HYBRID MICROGRID ENERGY SYSTEM

15Hybrid microgrid power system is the optimum solution for solving the problem of electrification in islands and remote areas where the extension of the transmission networks not economical or a waste of time. Hybrid systems use a combination of several renewable sources of energy such as photovoltaic and wind energy with the battery storage system and diesel generators. Wind turbines and PV modules, when hybridized, supply electric power with higher reliability than that obtained from any one of them individually. Moreover, hybrid systems also allow the installation of smaller and less costly units than that would be used if the system is completely depending on one kind of renewable energy. In this work, the proposed hybrid microgrid system under study includes five main components; wind turbine, PV modules, diesel generator, inverter, and battery storage. A PV/wind/diesel hybrid system can be a cost-effective solution for solving the problem of electricity in Abu-Monqar. The schematic configuration of the proposed Hybrid microgrid system is shown in Fig. 1. In fact, a PV/Wind/diesel hybrid system can be a cost-effective solution for solving the problem of electricity in Abu-Monqar village.

A. MODELLING OF THE SOLAR PV SYSTEM

16The energy obtained from a PV module in terms of the solar radiation and the ambient temperature can be expressed as:

17where n PV is the number PV modules, P PV_rated is the rated power of the PV module at standard operating conditions (G nom = 1000W/m 2 and T nom = 25ºC), η PV is conversion efficiency of the PV module, and η wire is the wiring efficiency. While, G(t) is the ambient solar radiation intensity, G nom is the intensity of solar radiation under standard conditions, β T is the temperature coefficient of power of the selected PV module, T C (t) is the cell temperature, and T nom is the cell temperature under standard conditions of operation. The temperature of the solar cell can be calculated in terms of the ambient temperature as follows:

18where T ambient and T Test are the ambient temperature and the temperature observed during the testing of the modules, respectively.

B. MODELLING OF THE WIND POWER SYSTEM

19Starting from the fact that the wind speed changes with height, the wind speed at the desired hub height as a function of the wind speed measured at the anemometer height is given as: h and WT  is the friction coefficient, respectively. According to the recommendations of IEC standards [29], the value of the coefficient of friction is taken as 0.11 for extreme wind conditions, while 0.20 for normal wind conditions. Depending on the fundamentals of wind energy, the expected energy supplied by a wind turbine can be described as follows:

20where P WT is the actual power generated from the wind turbine, P R_WT is the wind turbine rated power, n WT is the number of wind turbines, η WT is the efficiency of the wind system. Whereas, u(t) is the wind speed at time t, u cut-in is the cut-in wind speed, at which the turbine starts to operate and generate power, u rated is the wind speed at rated power, and u cut_off is the cut-off wind speed, after which the wind turbine must be shut down for safety reasons.

C. BATTERY STORAGE SYSTEM

21Due to the irregular nature of wind speed and solar radiation, the energy storage system is very necessary to keep a constant flow of power to the desired load. The leadacid battery is the proposed type of battery banks in this study. The size of the battery storage system is influenced by some parameters such as battery life, ambient temperature, the capacity of the battery bank, and the depth of discharge (DOD) [17,18]. The capacity limit of the battery system is usually assessed by the state of charge (SOC). The SOC of the storage battery system can be acquired by continuous observation of the charging and discharging energy of the battery banks. The battery state of charge at any time is calculated as follows:

22 During charging mode,

23 During discharging mode,

24where

25, P load (t), η conv , η CH , and η DIS are the state of charge of the battery system at time t, (t-1), self-discharge rate, charging energy, discharging energy, load demand for energy at the time t, converter efficiency, the charging efficiency of the battery, and the discharge efficiency battery storage system, respectively.

D. DESIEL GENERATOR SYSTEM

26Diesel generator (DG) is a conventional energy source, which is used in the hybrid renewable power system as a backup. It mainly operates when there is a deficit from the PV and wind systems and leading to failure to satisfy the demand for energy, and at the same time, the battery bank is depleted. The hourly fuel consumption for the DG, D f (t), can be obtained by [30]:

27where P DG (t), P DG_R , and α DG & β DG are the average power output of the DG per hour, rated power of the DG, and the coefficients of the fuel consumption curve of the DG. In this work, the values of these coefficients are set to 0.246 and 0.08145 for α DG and β DG , respectively [31].

IV. ENERGY MANAGEMENT STRATEGY

28When the hybrid microgrid system is working in an isolated mode (i.e, when the power generated from the PV and wind energy systems is less than the demand for energy by the load), the battery will be in the discharge mode and the flow of power can be given as

29If the PV/wind with battery storage cannot satisfy the demand for energy, the shortage in power will be covered from a diesel generator. The sharing of the diesel generator can be calculated from

30If the power supplied by the PV and wind energy system is greater than the demand, the battery will be charged by the excess power and the flow of power can be expressed as

31When the battery reaches its maximum charging level, the power supplied by the PV and wind turbines will be dumped. The power absorbed by the dummy load, in this case, is presented as

32A flowchart describing the operation of the proposed isolated hybrid microgrid system is given in in Fig. 2.

V. OPTIMAL SIZING OF THE HYBRID MICROGRID SYSTEM

33In this section, formulation of the optimization problem, including a novel objective function and the optimization constraints will be provided in the following sections.

A. EVALUATION PARAMETERS OF THE PROPOSED OPTIMIZATION STRATEGY

34In this study, the parameters of the cost of energy (COE) and loss of power supply probability (LPSP) are considered as objective functions to be optimized, as the goal from this work is to optimize the size of a hybrid microgrid system which guarantees the reliability of the proposed energy system at the lowest possible cost.

1) COST OF ENERGY (COE)

35The Net Present Cost (NPC) has been used for calculating the total cost of the hybrid microgrid. The annual cost of investment C ann_tot of the system is considered as:

36where C ann_cap , C ann_rep , C ann_oper , and C ann_maint are the annual capital cost of the system components, the annual cost for replacements of the system components, annual operating cost, and annual cost for maintenance, respectively.

a) THE ANNUAL CAPITAL COST OF THE MICROGRID SYSTEM

37The capital recovery factor (CRF) is used to convert the initial investment cost to annual capital cost.

38where r is the rate of interest (%) and n is the life span of the studied project.

39The annual capital cost of the individual sub-systems can be calculated from the following equations:

40where C cap_PV , C cap_wind , C cap_batt , C cap_DG , and C cap_conv are the initial capital cost of installation of the PV system, wind system, battery bank, diesel generator, and converter, respectively. Whereas, M PV , M wind , M batt , M DG , and M conv are the lifetime of PV modules, wind turbines, battery banks, diesel generator, and the converter, respectively.

41Then the annual capital investment cost of the hybrid system is given as

42where C ann_cap_PV , C ann_cap_wind , C ann_cap_batt , C ann_cap_DG , and C ann_cap_conv are the annual share of the capital cost of installation of the PV system, wind system, the battery bank, the diesel generator, and converter, respectively.

43Flowchart of the proposed isolated hybrid microgrid system.

b) THE OPERATING AND MAINTENANCE COST

44The operating and maintenance cost of the system is defined as

45where C oper&main_PV , C oper&main_WT , C oper&main_batt , C oper&main_conv , and C oper&main_DG are the operating and maintenance cost of PV, wind turbine, battery banks, converter, and diesel generator per unit time, respectively. While, t PV , t WT , t batt , t conv , and t DG are the operating time of PV, wind turbine, battery banks, converter, and diesel generator, respectively.

c) THE ANNUAL REPLACEMENT COST

46The present value of the replacement cost of the hybrid system components within the system lifetime can be calculated from the following equation [32]:

47where i, K C_rep , C u and n rep are the inflation rate of replacement, the capacity of the units used in the system, the cost of the replaced units, and the number of replacements over the project lifetime n, respectively.

48The net present cost (NPC) of the system can be calculated by

49The cost of energy (COE) is the cost of the generated electrical energy from the hybrid system in ($/kWh) and formulated in the following equation:

2) LOSS OF POWER SUPPLY PROBABILITY

50The loss of power supply probability (LPSP) is a design factor, which measures the probability of insufficient operation of the power supply when the hybrid microgrid, in our case study, fails to satisfy the demand for energy. This case occurred when the sum of the total power generated is less than the load power. The loss of power supply at any period of time LPS(t) can be defined as:

51LPSP is very common among researchers as a technical index for evaluating the reliability in the problems of optimal sizing of hybrid renewable energy systems. The value of LPSP can be formulated mathematically as the sum of all the observed values of LPS(t) over the all load demand for energy during the entire period of study.

52Moreover, during the analysis of system reliability, the following condition is added

B. OBJECTIVE FUNCTION

53In this work, the proposed objective function of the optimization algorithms is in terms of the cost of energy (COE), loss of power supply probability (LPSP), and the dummy load (P dummy ). This function can be expressed as

54Where, x is a four dimensional vector consisting of the optimization parameters ((i) number of PV modules n PV , (ii) number of wind turbines n WT , (iii) number of battery storage banks n Batt , and (iv) number of diesel generators n DG ). λ 1 , λ 2 , and λ 3 are chosen via trial and error method, in order to achieve the best results. In this work, the values of λ 1 , λ 2 , and λ 3 are set to 0.4, 0.599 and 0.001, respectively.

C. DESIGN CONSTRAINTS FOR OPTIMIZATION

55In off-grid hybrid systems, the components of the power system are operating under constraints. The optimal operation of the system should fulfill the constraint function described in Eq. (26), which means that the power is balanced at any time. The optimization strategy used to ensure that the hourly power supplied by DG at any time must be less than or equal to the DG rated power as defined by Eq. (27). In order to avoid the overcharging and undercharging problems, the SOC of the battery bank is constrained and compared with the designed constraints at any hour during the operation period. Therefore, the SOC of the battery storage system should satisfy the design constraints presented in Eqs. (28) and (29). The maximum state of charge SOC max is the full capacity of the battery bank, while the minimum state of charge SOC min depends mainly on the depth of discharge. In addition, the LPSP should less than the predefined reliability index (β L ) of the system as expressed in formula Eq. (30) and, in this study, β L is considered to be less than 0.04.

VI. OPTIMIZATION TECHNIQUES

56In this section a clear discussion and analysis of the proposed optimization techniques, which are WOA, WCA, MFO, and PSOGSA have been provided.

A. WHALE OPTIMIZATION ALGORITHM

57Whale Optimization Algorithm (WOA) was firstly suggested in the work of Andrew Lewis and Seyedali Mirjalili in 2016 [33]. Humpback whale is one of the huge baleen whales. WOA has been established according to the hunting technique, which is called bubble-net feeding technique. This type of whales chases and hunts their preys near the surface of the water by making a special stream of bubbles of spiral shape as illustrated in Fig. 3. The mathematical representation of WOA is explained in this section.

1) SURROUNDING THE PREY

58As the place of the optimal solution in the search space is not defined, the WOA assume that the best objective prey is the candidate solution. As a result, the other search agents change their site in accordance with the predetermined best agent position [33].

59where refers to the present iteration, A

2.

60A a r a C r

61where a  refers to the components of each vector, which decreased from 2 to 0 in each iteration, 1 r  and 2 r  are taken as random vectors in [0, 1].

2) BUBBLE NET ATTACKING TECHNIQUE (EXPLOITATION PHASE)

62Two approaches are prepared for the Bubble-net behavior technique of the Humpback whales:

63 Shrinking encircling mechanism: by minimizing the value of a  in Eq. (33), this technique will be obtained. Accordingly, the updated position of the search agent could be evaluated by the first position and the obtained best location in the present iteration.  Spiral updating position: Humpback whales dive down and produce a stream of bubbles in a spiral shape around its goal (prey). In this approach the distance separating the whale from its prey is firstly computed, then a spiral equation between the location of the prey and the whale, which takes the spiral shape, is mathematically explained in Eq. (34).

64, b is a constant number for determining the shape the spiral, and l is a random number between [-1, 1] as given in [34]. Humpback whales swim around the prey inside a shrinking range and over a helixshaped way simultaneously. Then, two probabilities are considered to choose between them and can be mathematically modeled in the following formula:

65Where, p is a random number in [0, 1].

3) SCAN FOR PREY (INVESTIGATION STAGE)

66Besides the bubble-net mechanism, the Humpback whales search for hunting the prey arbitrarily in the iteration. The mathematical model is expressed in the following:

67The flowchart describing the operation of WOA is shown in Fig. 4.

B. WATER CYCLE ALGORITHM (WCA)

68Water cycle algorithm (WCA) is a developed metaheuristic optimization technique, which is a part of the evolutionary algorithms. The idea of the proposed WCA is inspired by nature and based on the watershed control process describing how rivers and streams flow into the sea. When it rains, the raindrops combine to form a flow of water, and the weak flow merged to create a powerful water current that systematically accumulates into a stream and runs towards the sea. In this cycle, some water leaks to the ground, some of which flow through the surface of earth, some evaporate and form rain creating new water droplets and streams, extending the distinction of the population. VOLUME XX, 2017 Comparable to other metaheuristic algorithms, the WCA optimization method begins with a random initial population, which termed the population of streams. First of all, rain or precipitation is assumed. Then, the best stream is selected to be the sea. After that, the good streams (N sr ) following the best one (sea) are selected as rivers [35,36]. Moreover, N sr represents the combination of rivers and sea. Taking into account the quantity of water flow, which represents the fitness/cost function, rivers and sea soak up these streams. By nature, streams run towards rivers and rivers in turn towards the sea, but some of these streams by a direct route flow towards the sea (Eq.38). The new positions of the streams and rivers have been updated according to the following [35]:

69where, rand is an arbitrarily number distributed uniformly between [0, 1], while C between [1,2]. For the exploration stage, when the distances among streams, rivers, and sea are less than the predefined maximum value (dmax), new streams are produced towards the rivers and sea (i.e., evaporation state). Figure 5 VOLUME XX, 2017 demonstrates the schematic diagram for WCA, in which circles correspond to the streams, stars to rivers, and the diamond to sea. The flowchart of the WCA optimization algorithm is shown in Fig. 6.

C. HYBRID PSOGSA OPTIMIZATION ALGORITHM

70The particle swarm optimization (PSO), developed in 1995 by Kennedy and Eberhart, is a population-based metaheuristic technique, whose concept is inspired by the flocking manner of the birds [37,38]. In this technique, a number of particles are used as candidate solutions flying in the search space to form a population searching for the global optimal solution. Through their paths, the position of each particle is barred by its best position, the personal best (pbest) and the global best (gbest). For each particle, the present location in the search space is represented by the current speed, and the distance to the personal best and global best are used to modify the position and speed of each particle, which is mathematically modeled as following [39]:

71In the above equation,

 

72i v n is the speed of "i th " particle in the iteration "n", w is the inertia weight, which is initially introduced in the algorithm. rand is a random number between [0, 1].

73  i x n represents the present position of the "i th " particle in the "n th " iteration. "c 1 " and "c 2 " are positive constants, which refer to the weighting factors responsible for changing the velocity of each particle towards pbest and gbest. Eq. , is a novel meta-heuristic optimization technique, whose concept is based on the laws of gravity and interaction of masses developed by Newton [37,38,40]. The theory says "there is a force of attraction between each particle and other particles in its surrounding universe, which is directly proportional to the product of the masses of subjected particles and inversely with the square of the spacing between these particles"

74In GSA during the evaluation process, the objects are taken as agents (elected solutions), where their performance is evaluated by their masses, which are proportional to the fitness function. In this process, all objects attracted to each other. In addition, the heavy masses have higher forces of attraction. Therefore, they have the higher fitness function and taken as the good optimal solution. Moreover, the heaviest mass moves in the search space slower than other worse solutions.

75In GSA the mass of each object is characterized by four indicators; the position of the mass X i , the mass of inertia M ii , the active gravitational mass M ai , and finally the passive gravitational mass M ip .

76At the initialization stage of the algorithm, a population of N masses, which is considered as candidate solution, is considered and the position of each mass in the search space is described as follows:

77  1 ,..., ,...

78According to the gravitational law of Newton, the gravitational force that mass j makes towards the mass i at any time t is given as [40]:

79where G(t) is gravitational constant at a specified time "t",

80 is a small constant, ( ) ij R t is Euclidean spacing between the two candidates i and j, aj M is the active gravitational mass, pi M is passive gravitational mass. The gravitational constant G is evaluated as:

81where G O is the initial value of gravitational constant, α is a descending coefficient, iter is present iteration, and "maxitere" is the maximum iterations number. The total force influencing the agent i is explained as follows:

82where, rand j is a random number ranges between [0, 1]. According to the law of motion, the accelerations of all agents are given as follows:

83where M i is the mass of the candidate solution "i", "t" is the current iteration, and "d" is the optimization problem dimension.

84For each iteration, the velocity and position of agents in each population are computed from the following: GSA is characterized by two important merits: (i) the capability of the technique to seek the entire search area "exploration", which can be implemented by proper selection of G o and α, and (ii) the ability to deed the optimal solution "exploitation", which is guaranteed by slow movement of heavy masses. According to the last equations from Eqs. (45) to (49), the operation process of GSA is continued until reaching the end criterion.

85To avoid the weakness of both techniques, particle swarm optimization and gravitational search algorithm are hybridized in parallel forming a new population-based meta-heuristic optimization algorithm called PSOGSA [37].

86The main advantage of PSOGSA is to merge the high efficiency of exploitation in PSO with the good exploration capability of GSA. The velocity and position of the search agents according to the combination of the two algorithms are calculated from the following: c is the acceleration coefficients, w is defined as a weight factor.

87In this study, in PSOGSA meta-heuristic optimization algorithm, the candidate solutions are taken as the agents of a randomly generated population. After initialization according to the procedure of GSA, the gravitational constant is computed, then the fitness function of all search agents is estimated. Then the force, the gravitational constant, the values of agent mass, and gravitational acceleration; have been estimated based on Eqs. (44) to (47). Then according to Eq. (50), the velocity of each search agent is calculated depending on the present acceleration and the best position. Finally, using Eq. (51), the position of all particles in the search space is updated. So, in each iteration, the best solution (gbest) and (pbest) for all objects are changed. The above procedure is repeated until the proposed system reaches the end criterion. The procedure of the hybrid PSOGSA optimization algorithm is summarized in the flowchart shown in Fig. 7.

D MOTH-FLAME OPTIMIZER

88Moth-flame optimizer (MFO) is a novel developed optimization technique, firstly implemented by Mirjalili in 2015 [41]. In the MFO optimization method, moths are assumed to be the elected solutions, while the variables of the optimization problem are taken as the position of these candidates in the search area. According to this, moths can fly in different areas (1-dimensional, 2-dimensional, 3dimensional or hyper-dimensional) by updating their position vector. As the MFO is a population-based algorithm, the following matrix introduces the set of generated moths [41,42]

89Where n refers to the number of moths and d for the coincided design variables.

90In addition, it is assumed that there is a matrix for storing fitness values as:

91In the MFO, both moths and flames are considered as the solution. The moths are the actual search agents, which execute the search space, while the flames act as the best location of the moths so far. In other words, flames can be assumed as flags or pins directed by moths in the process of searching the space. Then, each moth looks for nearby a flag (flame) and changes it to detect a superior solution. With this technique, a moth posses the best position [41].

92The MFO configuration has three approximation functions; the initialization function I; the main function P; and the termination function T. The overall frame of the MFO technique can be considered as [41,42]:

93The initialization function I randomly generates a population of moths with their fitness values as expressed in the following

94When the initialization process is finished, the P function starts operation until the termination function T is fulfilled. The logarithmic spiral function is considered as the main mechanism for updating the position of moths in accordance with their corresponding flame [43].

95The following formula is used for updating the position of each moth towards the corresponding flame:

96where M i , F j , and S indicate the i-th moth, the j-th flame, and the spiral function, respectively. The logarithmic spiral for the MFO main update mechanism is expressed as: ( , ) . . cos

97where D i , b, and t are the distance of the i-th moth for the j-th flame, a constant for explaining the form of the logarithmic spiral, a random number between [1,-1], respectively. D i is estimated from the following expression:

98The spiral function is considered to make sure that a moth flies nearby a flame and not blocked in the area between them. Figure 8 shows the mechanism that the moth uses to update its positions around the flame. Exploration stage occurs if the next position of moth lies outside the search space between it and the flame. On the other hand, the exploitation process takes place when the next location lies in the area between the moth and flame. The flowchart of the MFO algorithm is shown in Fig. 9:

99The following steps are used for more declaration of the MFO algorithm operation:

100 Assigning each moth a flame, and then updating the location of flames in each iteration.  To confirm that the moths never get lost in the search area between it and the corresponding flame and assuring the convergence of the MFO technique, the present best position obtained is stored as a guide for the moths in the next iteration.  The exploration and exploitation processes are balanced according to the adaptive number of flames.

101 The acceleration convergence nearby the corresponding flames over the iterations is influenced by the constant of adaptive convergence (r)

VII. THE STUDY CASE

102In this study, the proposed microgrid in this study is considered for Abu-Monqar village in Farafra oasis, New Valley governorate situated in the south-west of Egypt, in Western Desert. According to the geographical location, the VOLUME XX, 2017

103village is located at latitude 26.5 N, longitude 27.7 E, and 133m above the sea water level (see Fig. 10). It is about 250 kilometers from the El-Dakhla Oasis, 450 kilometers from El-Kharga Oasis and about 100 kilometers from the administrative center of Farafra Oasis, which is about 600 kilometers away from Cairo. It has a population of about 7 thousand people, the only region in the Arab Republic of Egypt, which did not reach the grid electricity and live on the electricity of diesel machines, which works about 14 hours a day. The data of the intensity of solar radiation over the horizontal surface and wind speeds were obtained from, NASA depending on the long-term average of meteorological parameters of 20 years of observation. The detailed potential of the solar radiation and wind speed in the selected site is shown in Fig. 11. The annual average radiation on the horizontal surface for this village is about 6.04 kWh/m 2 /day while its annual radiation ranges between 3.64kWh/m 2 /day and 8.12kWh/m 2 /day. The potential of wind energy in the south of Egypt was studied in [8]. The authors concluded that the wind speed is more persistent and blow over this region with frequencies from 67% to 87% over the year in two main sectors N and NNW with an average wind speed in the range of 6.8 to 7.9 m/s [8]. The main loads in this area are residential loads for lighting and other domestic facilities. Taking into account the short period of availability of electricity in the village, the maximum load observed was about 420 kW, while the average demand for electricity was 265 kW. Taking into consideration the nature of living in this region, a daily load curve has been proposed. The peak load occurs in the period from 19:00 to 22:00 o'clock as the major load of the selected area is the lighting. The monthly averaged load demand is shown in Fig. 12, while the suggested daily load curve for a certain day is presented in Fig. 13.

104The main goal of the optimization techniques is to minimize the objective functions of equation (25) and determine the best optimal size of the components of the RES microgrid, which are: (i) number of PV modules n PV , (ii) number of wind turbines n WT , (iii) number of battery storage banks n Batt , and (iv) number of diesel generators n DG . In this research, each optimization algorithm operates according to the following steps: A. Run the program of designing the RES based on the energy balance, which has three main steps: 1. Generation of the initial population. 2. Run the program of designing the RES described in equations from (1) to (23), as illustrated in the flowchart presented in Fig. 2 (1) to (23), as illustrated in the flowchart of Fig.2. 3. The evaluation process of the fitness function for all agents/positions presented in Eq. (25) 4. Check whether the proposed system meets the end criterion or not. If so, (i.e., "Yes"), the program will be stopped and will go to the next step, otherwise (i.e., "No"), the three previous processes, namely from "1" to "3", will be repeated. 5. Show the results such as sizing of RES and the best optimum values of COE, NPC, LPSP and Dummy load.

VIII. RESULTS AND DISCUSSION

105A small village located in the south west of Egypt deeply in Western Desert has been used for assessing the optimization of sizing a small-size isolated hybrid microgrid. Based on the existing data, the annual average wind speed in the selected site is about 5m/s and the average horizontal solar radiation is 6.04kWh/m 2 /day. The technical and economic specifications of PV, wind turbine, battery bank, and diesel generator, used in this study has been presented in Table I. In the present work, the rate of interest has been taken as 6%, while the lifetime of the system has been chosen as 25 years.

106The results were accomplished using MATLAB simulation program. The control parameters and the boundaries of the optimized variables are the same for the proposed optimization algorithms used in this study. The maximum number of iterations was set to 50 iterations and the maximum number of search agents is 20.

A. OPTIMAL COMBINATION OF THE SYSTEM COMPONENTS

107In this study, the size of the proposed microgrid is defined as the number of PV modules, the number of wind turbines, the number of battery banks, and the number of diesel generator units.

108In this study, the size of the proposed microgrid is defined by the number of (i) PV modules, (ii) wind turbines, (iii) battery banks, and (iv) diesel generator units. Table II shows the detailed results of the optimization process, while the optimization algorithms were evaluated considering 10 and 50 iterations. It can be seen in The results show that the WOA optimization method can VOLUME XX, 2017 capable to reach the minimum best optimal value of the objective function. Base on the results, a note should be highlighted, the PSOGSA is faster than the other three algorithms according to the elapsed time (s) of the program operation for producing its optimal solution. However, this optimal solution is higher than that of the WOA. Therefore, the elapsed time and the attitude of objective functions of WOA and PSOGSA illustrate the superiority of WOA overPSOGSA to find the optimum minimum objective function in a small number of iterations as illustrated in Fig. 14 and Table II. Moreover, in terms of acceptable solutions, the numerical results in tables and figures illustrate that the performance of WOA is faster and better compared to PSOGSA and other techniques. Form the simulation results, it can be inferred that the WOA predicts the minimum COE of the system with the least NPC and LPSP within the predefined limits. Moreover, WOA predicts the best COE of 0.18500434 $/kWh, which results in a net present cost of 5418863.798$ and ensure the value of LPSP of 9.07269e-07, which agree with the predefined value (<0.04). The same results are obtained when the optimization algorithms are limited to 10 iterations, but unfortunately, all the proposed techniques did not reach the optimal final value for the cost function. According to WOA algorithm, to ensure the minimum COE at the proposed location; 1400 PV modules, 15 wind turbines, (1.67941≈ 2) DG units and 336 battery banks are estimated. Moreover, the COE obtained by WOA shows that the proposed hybrid microgrid system supply energy to the isolated village with an acceptable cost. The comparison is clearly presented in Fig. 15, in which the components of the objective function for each optimization method are presented.

109Although WOA provides a minimal of COE, its fuel cost is the highest. The reason behind that can be clarified as that WOA gives the minimum value of battery storage units (i.e., 336 units), which forms a high cost of initialization and replacement. Accordingly, reducing the number of battery storage units leads to a reduction in COE. On the other side, decreasing the capacity of the storage system leads to a long operation of the diesel generator, which in turns consumes much fuel and raises the cost of fuel/year. Figure 16 shows the hourly variation of the generated power for the components of the proposed hybrid system at the optimum case of WOA. In this figure, the presented results are: the load demand (P load ), the total power generated from the renewable sources of energy (P PV +P WT ), the generated power from the diesel units (P DG ), the number of diesel generator units in operation every hour (DG units), dummy load power (P dummy ), charge and discharge power of the storage battery system (P CH &P DIS ), the state of charge of the battery bank system as percentage of the storage system capacity (SOC), and the fuel consumption of the diesel generator units. Due to the low wind speed in this area, the diesel generator units are daily operated with different degrees of generation to satisfy the demand for energy of the load during the hours of insufficient generation from the PV and wind turbine sources and low SOC for the battery system. While during the hours of high generation from the renewable sources the dummy load is operated to absorb the excess power over the demand of the load and the maximum limit of the storage system. For a better understanding of the energy management strategy behind the optimization algorithms, the daily simulation results of the hybrid system, taking into account the optimum operation conditions, are considered, as illustrated in Fig. 17. Figure 17 shows the simulation results of WOA for a certain day (e.g., starting from time instant 3296 in Fig. 16) in summer. From Fig. 17(a), it is obvious that the daily load curve has two peaks, the first peak around 13:00 o'clock, where the temperature is very high and there is a need for reducing the air temperature using available air conditioners. The second peak is around 17:00 o'clock after the sunset, as all workers/farmers back home. During the night and early hours, the power generated from the renewable sources are minimum so that the diesel generator are working with high capacity (i.e. the two proposed DG units by WOA are working together). While after 06:00 o'clock, when the sun rises and the output power from PV and wind turbines increases, only one DG unit in conjunction with renewable sources are enough to satisfy the demand of energy. During daytime between 12:00 and 17:00 o'clock when the power generated from the nontraditional sources is greater than the load demand, the DG is switched off. Consequently, the excess power is used to charge the battery banks as shown in Fig. 17(b). The battery starts charging until reaching its maximum allowable limit. Moreover, when the battery is fully charged as given by the SOC of the battery when reaches 100%, the excess power is consumed in the dummy load, as given in Fig. 17(b). After sunset, the battery starts to discharge its energy until reaching the SOC min and the DG starts to work again.

B. APPLICATION OF THE OPTIMAL CASE

110Author Name: Preparation of Papers for IEEE Access (February 2017) 20 VOLUME XX, 2017

IX. STATISTICAL ANALYSIS

111In this part, a detailed statistical analysis has been presented to provide a good explanation and assessment of the simulation results obtained by applying the proposed optimization techniques. Moreover, the performance stability of each proposed algorithm was tested in accordance with the application of sensitivity analysis. The present statistical study included, the maximum value of cost function, the minimum value, Mean value, Median, the Standard Deviation (SD), the Relative Error (RE), Root Mean Square Error (RMSE), Mean Absolute Error (MAE), and efficiency. These metrics have been evaluated as described in the following formulas:

112Where, F i refers to the cost function for each of the proposed techniques at each run, F min is the minimum recorded value of the objective function, and n R refers to the number of runs of the MATLAB model. To achieve this study and evaluate the performance of the proposed algorithm, the following parameters have been chosen as follows: search agents, number of iterations in each run and number of executions for the proposed algorithm are set to 10, 50, and 30, respectively. The convergence curves of proposed methods over the 30 executions are shown in Fig. 18. The statistical performance for WOA, WCA, MFO, and PSOGSA is summarized in Table III. As presented in Table III, the WOA optimization algorithm has an acceptable RMSE. In addition, the value of SD proved that there is no change in the obtained results over the operation circle, which in turn manifests the stability of the proposed algorithm. VOLUME XX, 2017

X. CONCLUSION

113Implementation of a hybrid microgrid system can be considered as the optimum solution for electrification in rural and isolated regions. Considering the meteorological data of the site, a simulation model for describing the operation of a hybrid microgrid system, based on PV/wind/diesel and battery storage, has been investigated. In this study, four optimization techniques are proposed to obtain the optimum design of an isolated hybrid microgrid system. The goal of this work is to cover the load demand of the proposed location with the minimum cost of energy and high reliability of the power supply. A comprehensive comparison study between WOA, WCA, MFO, and PSOGSA is presented, while WOA presented high operation efficiency which appeared in the best COE and speed of convergence. Moreover, statistical and sensitivity analysis have been applied to evaluate the performance and test the stability of the proposed optimization techniques. Statistical results and simulation analysis concluded that WOA is the most promising among the proposed methods in solving the optimization problem. In fact, this study is useful for the decision makers of New Valley, Egypt to think about the implementation of such hybrid systems as a convenient solution for electrification to reduce dependency on fossil fuels.

참고문헌 39건

  1. Substitution potential of wind energy in Egypt Energy Policy · Elsevier BV · 2002 10.1016/s0301-4215(02)00030-7
  2. Optimal design of a hybrid solar–wind-battery system using the minimization of the annualized cost system and the minimization of the loss of power supply probability (LPSP) Renewable Energy · Elsevier BV · 2010 10.1016/j.renene.2010.03.004
  3. Optimal sizing method for stand-alone hybrid solar–wind system with LPSP technology by using genetic algorithm Solar Energy · Elsevier BV · 2007 10.1016/j.solener.2007.08.005
  4. Optimal modeling and sizing of a practical hybrid wind/PV/diesel generation system 2014 10.1109/pedstc.2014.6799427
  5. Techno-economic analysis of an optimized photovoltaic and diesel generator hybrid power system for remote houses in a tropical climate Energy Conversion and Management · Elsevier BV · 2013 10.1016/j.enconman.2013.02.005
  6. Optimal Sizing of a Stand-alone Wind/Photovoltaic Generation Unit using Particle Swarm Optimization SIMULATION · SAGE Publishing · 2009 10.1177/0037549708101181
  7. Multi-objective optimization minimizing cost and life cycle emissions of stand-alone PV–wind–diesel systems with batteries storage Applied Energy · Elsevier BV · 2011 10.1016/j.apenergy.2011.04.019
  8. Optimal configuration assessment of renewable energy in Malaysia Renewable Energy · Elsevier BV · 2010 10.1016/j.renene.2010.07.024
  9. Size optimization of a PV/wind hybrid energy conversion system with battery storage using response surface methodology Applied Energy · Elsevier BV · 2008 10.1016/j.apenergy.2008.02.016
  10. GSA: A Gravitational Search Algorithm Information Sciences · Elsevier BV · 2009 10.1016/j.ins.2009.03.004
  11. Stand-alone hybrid wind-photovoltaic power generation systems optimal sizing AIP conference proceedings · American Institute of Physics · 2013 10.1063/1.4825738
  12. Size optimization of a PV/wind hybrid energy conversion system with battery storage using simulated annealing Applied Energy · Elsevier BV · 2009 10.1016/j.apenergy.2009.05.022
  13. Stochastic Performance Assessment and Sizing for a Hybrid Power System of Solar/Wind/Energy Storage IEEE Transactions on Sustainable Energy · Institute of Electrical and Electronics Engineers · 2014 10.1109/tste.2013.2288083
  14. Assessment of sustainability indicators for renewable energy technologies Renewable and Sustainable Energy Reviews · Elsevier BV · 2008 10.1016/j.rser.2008.03.008
  15. Optimal sizing of hybrid wind/photovoltaic/battery considering the uncertainty of wind and photovoltaic power using Monte Carlo 2012 10.1109/eeeic.2012.6221541
  16. Assessment of economic viability for PV/wind/diesel hybrid energy system in southern Peninsular Malaysia Renewable and Sustainable Energy Reviews · Elsevier BV · 2011 10.1016/j.rser.2011.08.028
  17. Water cycle algorithm – A novel metaheuristic optimization method for solving constrained engineering optimization problems Computers & Structures · Elsevier BV · 2012 10.1016/j.compstruc.2012.07.010
  18. Optimal unit sizing of Distributed Energy Resources in MicroGrid using genetic algorithm 2010 10.1109/iraniancee.2010.5506961
  19. A new optimizer using particle swarm theory 2002 10.1109/mhs.1995.494215
  20. Why Microgrids Are Moving into the Mainstream: Improving the efficiency of the larger power grid IEEE Electrification Magazine · IEEE Power & Energy Society · 2014 10.1109/mele.2013.2297021
  21. Optimal sizing of distributed energy resources in microgrid considering wind energy uncertainty with respect to reliability IEEE International Energy Conference · 2010 10.1109/energycon.2010.5771795
  22. Particle swarm optimization 2002 10.1109/icnn.1995.488968
  23. A feasibility study of a stand-alone hybrid solar–wind–battery system for a remote island Applied Energy · Elsevier BV · 2014 10.1016/j.apenergy.2014.01.090
  24. Design of isolated hybrid systems minimizing costs and pollutant emissions Renewable Energy · Elsevier BV · 2005 10.1016/j.renene.2005.11.002
  25. Water cycle algorithm for solving multi-objective optimization problems Soft Computing · Springer Science+Business Media · 2014 10.1007/s00500-014-1424-4
  26. Optimal sizing method for stand-alone hybrid PV/wind power generation system 2010
  27. Market financial analysis and cost performance for photovoltaic technology through international and national perspective with case study for Egypt Renewable and Sustainable Energy Reviews · Elsevier BV · 2016 10.1016/j.rser.2015.12.074
  28. The Whale Optimization Algorithm Advances in Engineering Software · Elsevier BV · 2016 10.1016/j.advengsoft.2016.01.008
  29. Multi-objective optimal power management and sizing of a reliable wind/PV microgrid with hydrogen energy storage using MOPSO Journal of Intelligent & Fuzzy Systems · IOS Press · 2016 10.3233/jifs-152372
  30. Reliability/cost-based multi-objective Pareto optimal design of stand-alone wind/PV/FC generation microgrid system Energy · Elsevier BV · 2016 10.1016/j.energy.2016.09.007
  31. A new hybrid PSOGSA algorithm for function optimization International Conference on Computer and Information Application · 2010 10.1109/iccia.2010.6141614
  32. Particle swarm optimization Swarm Intelligence · Springer Science+Business Media · 2007 10.1007/s11721-007-0002-0
  33. Impact of Optimum Allocation of Renewable Distributed Generations on Distribution Networks Based on Different Optimization Algorithms Energies · Multidisciplinary Digital Publishing Institute · 2018 10.3390/en11010245
  34. Optimal sizing of PV/wind/diesel hybrid microgrid system using multi-objective self-adaptive differential evolution algorithm Renewable Energy · Elsevier BV · 2018 10.1016/j.renene.2018.01.058
  35. Site selection of large-scale grid-connected solar PV system in Egypt 2018 10.1109/eiconrus.2018.8317214
  36. Economic Dispatch Solution Using Moth-Flame Optimization Algorithm MATEC Web of Conferences · EDP Sciences · 2018 10.1051/matecconf/201821403007
  37. A novel framework-based cuckoo search algorithm for sizing and optimization of grid-independent hybrid renewable energy systems International Journal of Green Energy · Taylor & Francis · 2018 10.1080/15435075.2018.1533837
  38. Whale Optimization Algorithm for Solving the Maximum Flow Problem 2018
  39. Moth-flame optimization algorithm: A novel nature-inspired heuristic paradigm Knowledge-Based Systems · Elsevier BV · 2015 10.1016/j.knosys.2015.07.006