Next Article in Journal
Green Practices for Global Supply Chains in Diverse Industrial, Geographical, and Technological Settings: A Literature Review and Research Agenda
Previous Article in Journal
Valuation of FinTech Innovation Based on Patent Applications
 
 
Font Type:
Arial Georgia Verdana
Font Size:
Aa Aa Aa
Line Spacing:
Column Width:
Background:
Article

Optimal Allocation and Economic Analysis of Battery Energy Storage Systems: Self-Consumption Rate and Hosting Capacity Enhancement for Microgrids with High Renewable Penetration

1
Center of Research Excellence in Renewable Energy and Power Systems, King Abdulaziz University, Jeddah 21589, Saudi Arabia
2
Department of Electrical and Computer Engineering, Faculty of Engineering, King Abdulaziz University, Jeddah 21589, Saudi Arabia
3
Power Electronics and Renewable Energy Research Laboratory, Department of Electrical Engineering, University of Malaya, Kuala Lumpur 50603, Malaysia
4
Department of Electrical Power and Machines, International Academy for Engineering and Media Science, Cairo 12411, Egypt
5
Electrical Engineering Department, College of Engineering at Wadi Addawaser, Prince Sattam bin Abdulaziz University, Wadi Addawaser 11991, Saudi Arabia
6
Electrical Engineering Department, Aswan Faculty of Engineering, Aswan University, Aswan 81542, Egypt
7
ETA Electric Company, Power Quality Department, 410 Al-Haram St., El Omraniya, Giza 12111, Egypt
*
Author to whom correspondence should be addressed.
Sustainability 2020, 12(23), 10144; https://doi.org/10.3390/su122310144
Submission received: 16 November 2020 / Revised: 29 November 2020 / Accepted: 1 December 2020 / Published: 4 December 2020

Abstract

:
Recent advances in using renewable energy resources make them more accessible and prevalent in microgrids (MGs) and nano grids (NGs) applications. Accordingly, much attention has been paid during the past few years to design and operate MGs with high renewable energy sources (RESs) penetration. Energy storage (ES) is the crucial enabler for reliable MG operation to help MGs become more resistant to disruptions, particularly with the increased penetration of RESs. In this regard, this paper formulates a two-stage optimization framework to improve a grid-connected MG performance. Firstly, the optimal allocation decisions of the battery ES systems (BESSs) are provided to enhance the self-consumption rate of the RESs and the hosting capacity (HC) of the MG. Secondly, an operation strategy with the results (number, location, and capacity) of the BESSs obtained from the first stage is handled as an objective function to minimize the MG’s total operation cost. The IEEE 33-bus radial system is modified to act as the MG with high RESs penetration. The problem is solved using a recent swarm intelligence optimization algorithm called the Harris hawks optimization (HHO) algorithm. The proposed optimal operation strategy considers numerous constraints, such as the charge-discharge balance, number and capacity limitations of the BESSs, and the different technical performance constraints of the MG. The results obtained verify the proposed optimization framework’s effectiveness for grid-connected MGs and validate the benefits gained from the appropriate allocation of BESSs. The results also indicate that oversized storage or using many unneeded storage units may adversely influence the MG’s total power losses.

1. Introduction

With the rapid development of the global economy and steady increase in the population, electricity demand is increasing dramatically, exacerbating the electricity crisis and increasing environmental pollution. Consequently, the widespread use of renewable energy sources (RESs) has expanded to meet electricity demand, boost transport electrification, support green energy promotion, and reduce the increased environmental pollution [1,2]. However, the overuse of RESs generation may result in numerous power quality (PQ) and reliability problems to power systems such as overloading of components in the system (devices, transformers, cables, lines, and motors), increased power losses, thermal overloading, overvoltage problems, harmonic distortion problems, protective equipment malfunctions, in addition to the increased hazards of exceeding the permissible short-circuit capacity limits [3,4,5]. Thus, enhancement of the hosting capacity (HC), which expresses the maximum generation capacity from the RESs that the power system can host without exceeding the operational limits, is important to increase the penetration level of RESs safely while satisfying the system operation constraints [5,6].
Also, to make the RESs a cost-effective facility and commoditized alternative for electricity production, RESs could be incorporated for self-consumption, i.e., the electricity produced from RES is not injected into the distribution or transmission grid and consumed by the RES owner (or associates with contracts with the RES owner) [7]. Thus, RES production prioritizes self-consumption and then exports to the rest of the distribution or transmission network when the RES production exceeds the total demand needs. This simple harmonization in consuming the electricity produced from RES can play an essential role in reducing the total operation cost and increasing profitability [8,9]. In this regard, increasing the self-consumption rate (SCR) of RESs and enhancing the HC of the power systems or grid-connected MGs is a must for smoothing energy transition from conventional fuel-based into renewable-based energy resources. Besides, other factors influence the output power of RESs, such as intermittency and geographic limitations [10].
Measures on the main grid side and energy storage (ES) have to be considered to overcome these RES issues and organize self-consumption efficiently. ES is regarded as a promising technology that can enhance system reliability and enhance the resiliency to disruptions and increase the hosted RESs penetration [11]. ES systems (ESSs) can provide multi-benefits for an electrical network, such as improving PQ performance and system reliability, improving HC, overcoming uncertainty issues associated with RESs, enhancing the system stability, decreasing the power import through peak times by feeding the peak loads, and reducing the total operation cost of the electrical network [11,12,13,14]. Currently, ESS applications are increasing in MG and distribution systems. MGs can integrate distributed generators (DGs), especially RESs, ESSs, and mixed electrical loads, and can operate either connected to the grid (grid-connected mode) or islanded without connection to the grid (islanded mode) [15,16].
At the peak load, a transformer’s overloading may occur because the transformer capacity is limited [17]. The traditional solution is to reinforce the transformer, i.e., increase the transformer capacity, but this depends on the availability of a standby transformer or investment costs [18]. Therefore, to decrease the transformer’s load rate, the load at peak time should be shed or transferred to off-peak times [17]. Thus, the choice of optimal location and appropriate size of ESSs and the reasonable schedule of energy generated by DGs, ESSs, and the main grid according to climatic conditions and load requirements is not only related to the reliability of the entire system’s power supply or electrical PQ but also extends to the economy and reliability of the system’s operation to a large extent.
It is of great significance to study the optimal allocation of ESSs. In this regard, many research works have been published in recent years to evaluate the optimal allocation of ESSs and manage energy to improve the MG’s technical and economic performance. Some studies have been devoted to obtaining only the optimal ESS capacity without considering the impact of the ESS location on the MG performance [19,20,21]. For instance, Mahmoud et al. [19] formulated a mixed linear integer model to get the battery ESS’s optimal size. The objective function aimed to maximize the profitable utilization of batteries and keep the operation protected. Wu et al. [20] suggested a two-stage stochastic mixed-integer programming approach for determining the optimal size of multiple types of DGs to realize economic benefits while considering uncertainties in grid disturbance, load, and renewable generation. Feng et al. [21] presented an optimization approach based on multi-attribute utility theory to determine a hybrid ESS (HESS) optimal capacity to benefit from their complementary characteristics. The optimization approach combines both isolated and grid-connected modes of MG operation in the optimization problem formulation. In the grid-connected mode, the objective function was to minimize the operation cost, while in the isolated mode, improving the MG reliability was the goal. Some studies have also been devoted to obtaining ESS’s optimal size and location to enhance MG performance [22,23,24,25]. For instance, Nojavan et al. [22] formulated a mixed-integer non-linear model to obtain ESS’s optimal allocation considering a demand response (DR) program. The multi-objective function aimed to minimize the total investment and operation cost and minimize load expectation loss. Mostafa et al. [23] presented an optimization method based on the symbiotic organism search to determine the optimal location and size of ESS by minimizing the MG’s total power loss while enhancing the MG voltage stability and the voltage profile of the MG buses. Chen and Duan [24] formulated an optimization approach based on the genetic algorithm for optimal allocation and economic analysis of ESSs and DGs in the MG, considering ESSs’ and DGs’ dynamic capacity adjustment to deal with the non-smooth cost functions to help supply the customer demand and secure the MG. The optimal allocation and economic analysis were determined. However, the HC in the presence of the ESSs was not discussed. Qiu et al. [25] formulated a two-stage stochastic planning model to allocate and analyze ESS presence in the MG, considering controllable loads. The optimal allocation decisions and economic analysis of the ESS were determined through a cost-benefit analysis approach. However, most of the existing studies have not investigated the impacts of ESSs-location, capacity, and number-on the SCR of the RESs, HC of the MG, and the transformer loading capacity.
To redress this gap, this paper formulates a two-stage optimization framework to improve a grid-connected MG performance. Firstly, the optimal allocation decisions of the battery ES systems (BESSs) are provided to enhance the SCR of the RESs and the HC of the MG. Secondly, an operation strategy with the results (location, number, and capacity) of the BESSs obtained from the first stage is handled as an objective function to minimize the total operation cost of the MG under investigation. The IEEE 33-bus radial system is modified to act as the MG with high RESs penetration. The problem is solved using a recent swarm intelligence optimization algorithm called the Harris hawks optimization (HHO) algorithm. The proposed optimal operation strategy considers numerous constraints, such as the charge-discharge balance, number and capacity limitations of the BESSs, and the different technical performance constraints of the MG. The main contribution of this work can be outlined as follows:
  • Investigation of the SCR of the RESs and HC of the MG in the presence of batteries.
  • Minimizing the total operation cost of the MG with high RESs penetration while optimizing the BESSs (location, capacity, and number) enhances the SCR of the RESs and HC of the MG.
  • Investigation of the impacts of the optimally allocated BESSs on the loading capacity of the main transformer feeding the MG.
  • Investigation of the impact of variation of efficiency and depth of discharge of the BESSs on the total operation cost and the power losses of the MG.
The rest of the paper is organized as follows: Section 2 describes the MG configuration. Section 3 explains the HC and its formulation. Section 4 provides the mathematical formulation of the problem. In Section 4, we present the HHO, which is used to solve the optimization problem. Section 5 presents the simulation results and discusses them. Finally, Section 6 presents a summary of the work done, the study’s conclusions, and future concerns to be investigated.

2. Microgrid Configuration

The approach proposed in this work is employed on a modified IEEE 33-bus system introduced in [26]. The MG considered in this work comprises five photovoltaic (PV) units and five wind turbines (WTs), in addition to the MG central controller (MGCC), as shown in Figure 1. The MGCC is responsible for energy management (EM) of the main grid (utility), PV, and WT and the charging and discharging process of the BESSs to achieve the minimum MG’s operating cost. The data of PV and WT units obtained from [26] are presented in Table 1.

2.1. Photovoltaic (PV) System

The PV cell is the elementary construction utilized in the manufacture of a PV unit, in which the PV cells are connected in series and parallel to build a PV module. The output power of PV mainly depends on the operating conditions represented by the temperature and solar irradiation, as represented by Equation (1) [2].
P h P V = M P V P R P V ( W W 0 ) ( 1 T c o f f ( T a m b i e n t 25 ) ) η v η R
where P h P V , P R P , and M P V are the output of the PV, rated power of the PV, and the number of PV units, respectively. W , W 0 , T c o f f , and T a m b i e n t are the global irradiance, standard solar irradiance under standard test conditions, the temperature coefficient of the maximum power of the PV, and the ambient temperature. η v and η R denote the inverter efficiency and the relative efficiency of the PV, respectively.

2.2. Wind Turbine (WT) Unit

The output power of wind turbines (WTs) relates to the wind speed in a specific location and the power curve (given by the manufacturer data of the WTs), which is expressed as a function categorized into four parts as represented in Equation (2). The hourly wind speed is estimated using the Weibull distribution function from data provided in [2].
P h W T = { 0 v W T , h < v W T c u t i n P R W T ( ( v t W T ) 3 ( v c u t i n W T ) 3 ( v r a t e d W T ) 3 ( v c u t i n W T ) 3 ) v W T c u t i n   v W T , h < v R W T P R W T v R W T v t W T < v W T c u t o u t 0 v t W T v W T c u t o u t
where P h W T and P R W T are the output and rated powers of the WTs, respectively. v W T , h , v R W T , v W T c u t i n , and v W T c u t o u t express the time-step (hourly) wind speed at hour h, rated speed of the WT, cut-in speed of the WT, and the cut-out speed of the WT.

2.3. Battery Energy Storage System (BESS)

There are various types of battery storage (BS) technologies with different technical features, such as lead-acid (LA), lithium-ion (Li-ion), sodium-sulfur (NaS), nickel-cadmium (NiCd), and others [27]. Each BESS has its own features that may positively impact the HC measure, PQ performance metrics, peak load reduction, grid stability, and EM of MGs in different ways [2]. The cost and technical parameters of BS technologies, namely, NaS, Li-ion, NiCd, and LA, are presented in Table 2. It is notable from Table 2 that the Li-ion battery has a higher capital cost compared to the other battery types. The LA battery has lower efficiency and lifetime than the other batteries. The NaS battery has high efficiency (greater than 90%) and a long lifetime. NiCd has low efficiency, short lifetime, and high capital cost. Regarding NaS batteries, liquid sulfur and liquid sodium are used as positive and negative electrodes. The solid beta alumina ceramic is used as an electrolyte [2,28].
In the literature, some works recently investigated the cost model of different types of ES systems. For instance, Mostafa et al. [13] introduced an ES cost model that considers ES technologies and technical characteristics in an integrated framework that considers the ES technical and economic characteristics supported by in-market insight. It was proven that the NaS battery provides the lowest cost values compared to the values provided by the other batteries because of its high efficiency, long lifetime, and low replacement costs. Besides, Mostafa et al. [2] introduced an economic analysis model for optimal EM of MGs considering various RESs and BESS, and it was found that the NaS batteries are more substantial in decreasing the MG’s operating cost than the other batteries due to their high efficiency and long lifetime. This is why the NaS battery was used in this work.
The capital cost ( B S c ) of the BESS depends on the power ( P B S ) and energy ( E B S ) capacities as given in Equation (3).
B S c =   ( C P ×   P B S ) + ( C E ×   E B S )
where C P in ($/kW) and C E in ($/kWh) are the specific unit costs associated with the power and energy capacities of the BESS.

2.4. Operation Cost of the Grid

The operation cost of the grid ( C g r i d ) relates to the output power of the grid ( P h g r i d ) at hour h and the market energy price ( b h g r i d ) in ($/kW) at the same hour, as represented by Equation (4).
C g r i d =   b h g r i d ×   P h g r i d

3. Hosting Capacity (HC)

In the past, the electrical network was characterized by the unidirectional power flow from the primary grid to electrical loads. Nowadays, conventional power flow directions have changed dramatically due to the widespread use of DG technologies, particularly RESs such as PV and WT units [29]. However, the high penetration of RESs may adversely affect the electrical system’s performance and result in numerous problems. Thus, enhancement of the HC of electrical systems, which expresses the maximum generation capacity from the RESs that the power system can host without exceeding the operational limits, is essential to increase the penetration level of RESs safely without exceeding any functional constraint. Figure 2 shows the concept of HC after the integration of RESs into a system. It is clear that supporting the HC of the power system helps increase the RES penetration level while satisfying the system operation constraints.
Mathematically, HC of RESs ( H C R E S s ) represents the ratio between the total injected output power by the RESs ( P R E S s ) and the apparent load power ( S l o a d ), as given in Equation (5) [30].
H C R E S s ( % ) = P R E S s S l o a d × 100
Also, the SCR of RESs ( ψ ) represents the ratio between the actual energy provided by the RESs ( E R E S s ) and the overall RESs energy produced ( E R E S s r a t e d ), as given in (6) [31]. In other words, the SCR refers to the share of the RESs produced energy used directly or indirectly to satisfy the local demands, in which SCR of 1 means that the full RESs production is used locally (e.g., the case for either a small RES capacity or a large RES capacity combined with BESS). H denotes the daily 24 h horizon.
ψ ( h ) =   E R E S s , h E R E S s , h r a t e d ,   h H
From Equations (5) and (6), it can be noted that increased SCR using ES solutions leads to an increase in the HC, especially in the presence of batteries. Thus, supporting ES solutions’ usage might be a good measure to promote the HC improvement in MGs and power systems. Furthermore, ES can enable the full grid-related benefits from self-consumption if ESSs are set right in a cost-effective manner.

4. Problem Formulation

This section presents the formulation of the two-stage optimization framework to find the optimal allocation of ESSs and the optimal operation strategy of the MG to enhance the SCR of the RESs, improve the HC, and minimize the total operation cost of the MG. It should be mentioned that the objective functions proposed in this work are not formulated in the literature. The mathematical formulation of the studied problem is given as follows:

4.1. Objective Function

The objective function (OF) is formulated in two stages. In the first stage, the optimal allocation decisions of BESSs were prepared to enhance the SCR of all RESs in the MG, as well as the HC, as given in Equation (7), where ψ ( x ) denotes the SCR of all RESs in the MG in the presence of batteries. In the second stage, the optimal operation strategies were prepared for the MG while considering the results of the first stage (location, size, and number of BESSs) to minimize the total operation cost of the MG as given in Equation (8) where T c o s t ( x ) expresses the operation cost of the utility ($/kWh), generation costs of WT and PV ($/kWh), and the total cost of BESSs per day ( B S C D ) ($/day).
O F 1 =   m a x ψ ( x ) = h = 1 H ( E R E S s , h E R E S s , h r a t e d )
O F 2 =   m i n T c o s t ( x )   = h = 1 H ( ( b h g r i d ×   P h g r i d ) + ( b h W T ×   P h W T ) + ( b h P V ×   P h P V ) ) + B S C D
where E R E S s , h and E R E S s , h r a t e d represent the total energy generated from the RESs used in the MG at time h and the overall produced RESs energy at the same time h , respectively, where h is the time step in hours, and H denotes the 24 h horizon. P h g r i d , P h W T , and P h P V are the output powers of the grid, WT, and PV at h , respectively.   b h g r i d , b h W T , and b h P V are the market energy price and the bidding prices of the WT and PV ($/kWh) at h , respectively [2].
Recalling Equation (3), the capital cost ( B S c ) of the BESS depends on the P B S and E B S ; therefore, to obtain the replacement number of the BESS during the project lifetime; first, the total number of cycles performed through the BESS ( B c y c l e s ) is calculated by Equations (9) and (10) to determine the battery lifetime. Then, Equation (11) is used to get the lifetime of BESS ( L i f e B S ) depending on the life cycle of the battery ( B L i f e c y c l e s ) and B c y c l e s as given in [2,13].
n B ( h , j ) =   ( y a ( h ) y a ( h 1 ) ) y a ( h ) ,       h H , j D  
B c y c l e s =   j = 1 D h = 1 H n B ( h , j )
L i f e B S =   B L i f e c y c l e s B c y c l e s
where n B ( h , j ) indicates the cycles as a function of h and j, where j is the working day and j   ϵ   D where D denotes the total number of working days per year, set to 365 in this study. y a ( h ) is a binary variable that shows the status of the BESS at h and j, in which y a is equal to 0 when the BESS is discharging and 1 when the BESS is charging. Hence, the replacement number of BESS ( R N B S ) during the project lifetime ( Z ) can be expressed as given in Equation (12).
R N B S =   Z L i f e B S
Accordingly, the B S C D ($/day) can be obtained using Equation (13).
B S C D =   1 D ( i ( 1 + i ) Z ( 1 + i ) Z 1 ×   B S c   × R N B S )
where i is the interest rate used in financing the BESS.
The objective functions are subject to the following constraints:

4.2. Constraints

4.2.1. Power Limits of RESs

The generated power of the WT and PV units should be bounded by the upper and lower limits, as given in Equations (14) and (15) [2].
P h , m i n W T     P h W T     P h , m a x W T , h
P h , m i n P V     P h P V     P h , m a x P V , h
where P h ,   m i n W T and P h , m i n P V are the minimum generated power by the WT and PV units, respectively. On the other hand, P h , m a x W T and P h , m a x P V are the maximum generated power by the WT and PV units, respectively [23].

4.2.2. Power Balance Limit

The sum of power generated from the utility, WTs, PVs, and power discharged ( P D I S , h B S ) from or the power charged to the battery ( P C H , h B S ) should equal the total power demand ( P h L O A D ) , as given in (16).
P h W T +   P h P V + P h g r i d + P D I S , h B S = P h L O A D + P C H , h B S + b = 1 N b P b , h l o s s e s ,   h H
where P b , h l o s s e s and N b denote the active power loss of the b th line and the number of lines in the MG.

4.2.3. Load Flow Constraints

The power flow technique is implemented using two matrices—the branch-current to bus-voltage (BCBV) matrix and the bus injection to branch-current (BIBC) matrix. This technique is efficient when dealing with radial distribution systems. Details of the formulation of this technique can be found in [32]. The solution of the load flow of the MG can be determined by solving the following equations iteratively. The complex load ( S j ) at each bus ( j ) is represented by Equation (17). The corresponding equivalent current injection of each bus ( I j ) is specified using S j and the node voltage V j as given in Equation (18). The solution can be determined by iteratively solving the following equations, where i t denotes the iteration number.
S j = P j + j Q j ,                   j = 1 , 2 , . q
I j i t = ( P j + j Q j V j i t ) *
Δ V j i t + 1 =   [ M M ] ×   I j i t
V i i t + 1 =   V i i t + Δ V i i t + 1
where ( M M ) is the multiplication matrix of BCBV and BIBC matrices.

4.2.4. Voltage Limit

The root-mean-square (RMS) value of the voltage at each bus must be in its acceptable range, as represented by Equation (21).
V m i n b u s V b u s V m a x b u s
where V m i n b u s and V m a x b u s represent the minimum and maximum voltage limits. The minimum and maximum voltage limits are considered as 0.95 and 1.05 p.u., respectively, in this study.

4.2.5. Line Capacity Constraint

The current flow in the MG’s branches is limited by its thermal limit, as given in Equation (22).
I R M S l i n e I R M S l i n e m a x
where I R M S l i n e and I R M S l i n e m a x represent the total current flowing in the line and the line’s maximum current carrying capacity, respectively.

4.2.6. BESS Limits

The BESS constraints should be considered in the problem formulation. The constraint of P C H h B S with respect to the maximum charging capacity limit ( P C H h B S m a x ) is represented by Equation (23) [2].
P C H h B S   P C H h B S m a x ,     h H
Similarly, Equation (24) represents the constraint of the P D I S h B S with respect to the maximum discharging capacity limit ( P D I S h B S m a x ) .
P D I S h B S   P D I S h B S m a x ,     h H
Besides, the state of charge of the BESS ( S O C h   ) at h should be bounded by its upper and lower limits; thus:
S O C m i n h S O C h     S O C m a x h ,     h H
where S O C m i n h and S O C m a x h denote the minimum and maximum state of charge (SOC) of the BESS at h , respectively.
Also, the current hth S O C h is a function of the previous S O C h 1 as well as the discharge and charge quantity at h, as given in (26). The initial SOC ( S O C i n ) is taken into account at the first hour (h = 1) as given in Equation (26). η B S and Δ h denote the BESS efficiency and length of the period (usually one hour), respectively.
S O C h = { S O C i n +   Δ h   η B S   P C H , h B S     Δ h   P D I S , h B S ,                                                     h = 1 S O C h 1 +   Δ h   η B S   P C H , h B S     Δ h   P D I S , h B S ,               h 2 ,   h H
However, the SOC at the end of the scheduling horizon must equal the initial SOC to maintain the SOC constant at the beginning of the scheduling horizon, as expressed in Equation (27).
S O C h =   S O C i n ,     h = H
Finally, the amount of the discharged power must equal the amount of the charged power while taking into account the battery efficiency η B S as expressed in Equation (28).
h = 1 H P D I S , h B S =   h = 1 H P C H , h B S ×     η B S

4.3. Harris Hawks Optimization (HHO) Algorithm

In 2019, Heidari et al. suggested a new novel population-based optimization technique called the Harris hawks optimization (HHO) [33,34]. The mathematical model of HHO mimics the hunting method of Harris hawks (large and lanky raptors with long legs and relatively long tails). A few hawks jump on a prey, often a rabbit, from different locations to shock it. In this coordinated attack, a leader hawk is surrounding the prey. The hawks can adjust their hunting methods based on the hunting environment and the rabbit’s capability to escape. Algorithmically, the Harris hawks’ hunting method depends on three phases—exploration (investigation), a changeover from exploration to exploitation, and globalization of search (exploitation). In the exploration process, the hawks scan the surrounding environment depending on their sharp vision to find rabbits. They perch randomly on the way in high places and wait to see a rabbit. When the hawks see a rabbit, they can attack it via two strategies. The first strategy relies on the cooperation between all hawks to shock the rabbit, while the second one relies on allowing the leader of the hawks to attack the rabbit based on the rabbit’s capability to escape and the leader hawk’s decision.
If an equal chance (q) is considered for each strategy, the hawks can sit based on the positions of the neighboring hawks to ensure a harmonized attack, as expressed in Equation (29), under the condition of q < 0.5. Otherwise, the hawks sit in random locations under the condition of q ≥ 0.5.
H   ( i t + 1 ) = { H r a n d ( i t ) β   | H r a n d ( i t ) 2 τ   H ( i t ) | q 0.5 ( H B e s t ( i t ) ( 1 M   i = 1 M H i ( i t ) ) φ   ( L B + γ   ( U B L B ) ) q < 0.5
where H ( i t ) represents the location vector of hawks at iteration it, H ( i t + 1 ) defines the location vector of hawks in the iteration i t + 1 , H r a n d ( i t ) represents a randomly selected hawk from the current population, H B e s t ( i t ) represents the position of prey (rabbit), M represents the total number of the hawks, L B and U B represent the upper and lower bounds of variables, and β , τ , φ , γ , and q are random numbers generated in the range of (0,1).
Further, HHO can transfer from the exploration phase to the exploitation one by using the rabbit escaping energy (E), where the energy of the rabbit can be expressed as follows:
E = 2   E o ( 1 i t i t , m a x   )
where i t , m a x represents the maximum number of iterations, and E o denotes the rabbit’s random initial energy generated in the range of (−1,1) at each iteration. The HHO exploitation process has been modeled depending on the rabbit escaping energy and its escaping probability p, in which the successful escape occurs when the value of p is less than 0.5, and the unsuccessful escape occurs when p equal or greater than 0.5. According to the rabbit’s escape scenario, the Harris hawks’ hunting technique has two strategies: hard besiege or soft besiege to attack the rabbits. In the soft besiege, p ≥ 0.5 and | E | ≥ 0.5, the rabbit tries to escape using random misleading jumps, but finally, it fails. During these attempts, the hawks encircle the rabbit softly to make it more tired and then execute a sudden attack on it. This behavior is modeled as given in (31) and (32).
H ( i t + 1 ) =   Δ H ( i t ) E | ( R × H B e s t ( i t ) ) H ( i t ) | .  
Δ H ( i t ) =   H B e s t ( i t ) H ( i t )
where Δ H ( i t ) is the difference between the H B e s t ( i t ) and the H ( i t ) in iteration i t . R expresses the random escape strength of the rabbit. On the other hand, in the hard besiege, p ≥ 0.5 and | E | < 0.5, i.e., the rabbit is tired and has low escape energy, and the hawks encircle the rabbit to execute a sudden attack. Equation (33) represents this behavior. A simple illustration of this step with one hawk is depicted in Figure 3, in which the main phases of the HHO can be shown in Figure 3. More advanced details about soft and hard siege tactics can be employed, as presented in [33]. The HHO algorithm flowchart is shown in Figure 4.
H ( i t + 1 ) = H B e s t ( i t ) E | Δ H ( i t ) |

5. Results and Discussion

For the MG shown in Figure 1, Table 3 presents the bids of PV and WT units, in addition to the cost factors, efficiency, and lifecycle of the NaS batteries, which are used in this study.
Figure 5 shows the hourly predicted output power of the overall RESs, total load before and after the RESs connection, and the rated active power of the main transformer feeding the MG on a typical day.
It is clear from Figure 5 that whenever DGs’ output power increases, the main grid’s output power decreases. It can also be seen from the same figure that a power reverse occurs when the total output power of the overall RES production is greater than the total load demand, as noted in the periods from hour 3 to hour 5, hour 7, and from hour 12 to hour 14. Besides, the overloading of the main transformer may occur when the total output power of the RESs is low, and the load demand is high. Figure 6 shows the hourly SCR of the RESs connected without integrating any NaS batteries (base case). The SCR of the WT and PV does not equal 100% at all the hours. The SCR of WT ranges between 87.7% to 95.0% from hour 3 to hour 5 and equals 96.6% at hour 7. Also, the SCR of PV is 32.4% to 70.9% in the period from hour 13 to hour 14. To make the WT and PV more cost-effective for electricity production, the MG seeks to make the SCR of the WT and PV equal 100% at all hours during the day.
Accordingly, this work firstly determines the optimal allocation of BESSs to maximize the SCR of all the RESs connected while enhancing the HC of the MG. Secondly, using the results obtained from the first stage, the total operating cost of the MG with the batteries connected is minimized on the investigated typical day. Five cases are analyzed to show the effect of the increased number of BESSs on the MG performance. Case 1: One BESS (NaS type) is installed; Case 2: Two BESSs are installed; Case 3: Three BESSs are installed, Case 4: Four BESSs are installed, and Case 5: Five BESSs are installed. Table 4 presents the optimal location and size of the BESSs obtained by the HHO algorithm in the five cases to maximize the SCR. After integrating one NaS battery or more to the MG, the SCR of the WT and PV increased to 100% at all hours during the day. In this regard, the BESS positively enhances the SCR of the RESs, then prices for applications in the MG may reduce, making such battery solutions more attractive to prosumers and operators alike.
Figure 7 shows the HC in the studied MG without NaS battery connection and NaS battery connection in the five cases. It can be seen that more RESs penetration can be supported by the increase in the number of batteries. As the RESs penetration increases from 9.33 MW in the base case without NaS battery connection to 10.75 MW in Case 1, 11.66 MW in Case 2, 12.25 MW in Case 3, 12.12 MW in Case 4, and to 11.73 MW in Case 5. It is clear from Figure 7 that HC of RESs considerably improves with integrating BESSs; besides, it can be seen from the same figure that the change in the number of BESSs has a significant effect on the HC.
Once we got the optimal BESS location, size, and number, the optimal energy management of the MG is determined by reducing the operating costs to assess the impact of the BESSs on the system performance from an economic point of view.
Table 5 shows the results calculated for the operating cost of the MG with and without the BESS connection, in which the operating cost of the grid, PV, WT, the cost of each BESS, the total cost of BESS per day, and the total operating cost of the MG per day, are presented. It should be noted that the total operating cost in the base case represents are the costs associated with the MG upgrades and energy losses. BESS’s total cost per day consists of the battery’s capital and replacement costs during the project lifetime, in which the project lifetime is taken as 35 years, and the interest rate is set to 0.02 in this study. Recalling the life cycles of the NaS presented in Table 3 and the total number of cycles performed through the NaS battery per year, L i f e B S of the NaS battery is calculated to know the replacement number of the NaS battery through the project’s lifetime, and the results obtained using the HHO algorithm are given in Table 5. Further, the percentage of saving in the operating costs in each case is calculated with respect to the corresponding operating cost of the base case.
The results show that the total operating cost of the MG depends considerably on the number of BESS connected to the MG. It is clear from Table 5 that Case 3, with three BESSs integrated into the MG, provides the best saving percentage in the operating costs (31.7%). Figure 8 shows the optimal output powers of the grid, PV, WT, and BESS in Case 3 at each hour during the day. Also, Figure 9 shows the SOC of the three BESS at each hour during the day. Figure 8 and Figure 9 show that the three BS units charge in the periods with low market prices and when the total load is not high to satisfy the MG technical performance constraints (such as the period from hour 1 to hour 7). When the BS units are fully charged, the BS units begin to discharge during the periods when the energy market price is high to minimize the MG’s operating cost, such as the period from hour 16 to hour 21.
The transformer overloads may occur when the total output power of RESs is low and the total connected loads are high. The rated capacity ( S T r r a t e d ) and power P T r r a t e d of the transformer in the studied MG are 3500 kVA and 2976 kW, respectively. Figure 10 shows the transformer load rate in the investigated cases and the base case.
It is notable from Figure 10 that if the MG operates with no BESS, the transformer is overloaded from hour 8 to hour 11 and from hour 15 to hour 18. However, the transformer load rate does not exceed the transformer’s rated power after integrating the RESs in the MG with BESSs. Consequently, storage plays a critical role in reducing the transformer load rate because it helps shift the load from peak hours to off-peak (valley) hours. Therefore, storage can be used to defer transformer reinforcement plans.
It is worthy to note from Figure 8 to Figure 10 that the BESSs charged in the periods with a low market price and light load demands (such as the first periods); therefore, in the cases with storage units connected, the power losses of the MG increases in these periods above the base case, as shown in Figure 11. It is also apparent in Figure 11 that the power losses are constant in all the investigated cases in the period from hour 8 to hour 12 because the SOC of BESSs is constant. However, the power losses decreased from hour 15 to hour 19 because the BESSs discharged.
The costs of energy losses differ based on the corresponding power losses value in each case. Accordingly, Figure 12 shows the total power losses of the MG during the day. It is notable from Figure 12 that total power losses of the MG during the day in Case 5 (1696.7 kW) exceeds the total power losses in the base case (1571.7 kW), and this indicates that oversized storage or using many unneeded storage units may adversely influence the total power losses of the MG.
Figure 13 shows the voltage profile of the MG buses at four selected durations with different loadings—at the fourth hour (51% loading) presented in Figure 13a, at the 10th hour (100% loading) shown in Figure 13b, at the 14th hour (88% loading) shown in Figure 13c, and the 21st hour (68% loading) shown in Figure 13d. It is worthy to note from Figure 13a that the MG’s voltage profile in the base case with no storage is almost 1 per unit at all buses at the fourth hour because of the light loading. In the case of integrating storage in the MG, the BESSs charge at the fourth hour because the market price is low; thus, the buses’ voltage profile decreases below the base case without violating the voltage limits. It is notable from Figure 13b that the MG’s voltage profile at the 10th hour is the same in all cases because the SOC of the batteries is constant. Also, it can be seen from Figure 13c that the voltage profile of the MG at the 14th hour gets lower because of the BESSs charging in this hour. Finally, it is clear from Figure 13d that the MG’s voltage profile at the 21st hour enhanced beyond the base case because of the discharging of the BESSs. In this regard, the storage can improve the MG’s voltage profile at any particular hour.
The number of charging/discharging cycles and depth of discharge of BESS have an important influence on the storage’s lifetime. Datasheets of the BESS manufacturers are used to get the relationship between the number of charging/discharging cycles and the depth of discharge (DOD) of the NaS battery. Therefore, the effect of variation of these factors on the total operation cost and the total power losses was investigated. Table 6 shows the lifecycles obtained for the various DOD values [27].
It can be seen from Table 6 that the number of cycles of the batteries increases with the decrease of the permitted DOD value. Thus, the expected lifecycle of NaS will increase, and both the replacement number and total cost of NaS batteries will decrease. However, this does not mean the MG’s total operation will be reduced because it depends on other factors, such as the output power of the RESs and the power imported/exported from the grid [35,36,37].
Figure 14 shows the variation of the total operation cost of the MG values and the percentage of saving with different efficiency and DOD values according to the NaS battery characteristics. It can be seen from Figure 14 that the total operation cost of MG decreases with the increase in storage efficiency. For example, increasing the storage efficiency from 75% to 95% would make the MG’s total operation cost decrease from $141,157.1 to $132,122.2 at 100% DOD. Typically, it can be seen from the same figure that the percentage of saving increases with the increase of the efficiency of the storage system. Increasing the efficiency from 75% to 95% would increase the savings portion from 26.9% to 31.6% at 100% DOD.
It is also clear from Figure 14 that the total operation cost of MG increases with the decrease in DOD of storage. For example, decreasing DOD from 100% to 50% would make MG’s total operation cost increase from $132,122.2 to $157,170.2 at an efficiency of 95%. Typically, it can be seen from the same figure that the percentage of saving decreases with the decrease of the DOD of storage. Besides, decreasing the DOD from 100% to 50% would make the percentage of saving decline from 31.6% to 18.6% at an efficiency of 95%. We can also see from Figure 14 that the NaS battery with efficiency equals 95%, and 100% DOD had provided the best operation cost.
Figure 15 shows the MG’s total power losses per day with different efficiency and DOD values. It is clear from Figure 15 that the MG’s total daily power losses decrease with the increase in storage efficiency. For example, increasing efficiency from 75% to 95% would make the MG’s total power losses increase from 1632.8 kW to 1500.5 kW per day at 100% DOD. Typically, it can be seen from the same figure that the total power losses of the MG per day decrease with the decrease in DOD of storage. For example, decreasing DOD from 100% to 50% would make the MG’s total power losses per day drop from 1500.5 kW/day to 1364.9 kW/day at an efficiency of 95%. It can be seen from the figure that the total power losses of the MG per day considerably decrease with the increase in the storage efficiency or decrease in the DOD.

6. Conclusions

Energy storage is the crucial enabler for reliable MGs operation. In this regard, this paper formulated a two-stage optimization framework to improve a grid-connected MG performance. The optimal allocation decisions of the BESSs using the HHO algorithm were provided to enhance the SCR of the RESs and the HC of the MG. Further, an operation strategy with the results (number, location, and capacity) of the BESSs obtained was handled as an objective function to minimize the MG’s total operation cost. The contribution of this work can be outlined as follows:
  • This work’s optimization framework is useful for decision-makers who want to address the storage economic feasibility while enhancing to-date energy performance metrics such as the SCR and the HC.
  • The obtained results show that the optimum number, location, and size of BESS strengthen the performance of the MG, support the SCR of the RESs, and improve the HC.
  • The increased SCR using storage solutions leads to an increase in the HC, especially in the presence of batteries. Thus, supporting storage solutions might be a good measure to promote HC improvement in MGs and power systems.
  • The total operating cost of the MG can be decreased considerably when a BESS is integrated into the MG, which can realize the better cost-effective performance of the systems and MGs with high penetration of RESs.
  • The results show that the optimal number of BESSs should be investigated to achieve the minimum MG operating cost.
  • Transformer overloads may occur due to high load demands or low output power from RESs. Thus, the impact of energy storage on the load rate of the power transformer that links the grid and the MG was investigated, and we have found that energy storage can play a vital role in reducing the transformer overloading rate; therefore, it can be used to defer transformer size reinforcement plans.
  • The total operation cost of MG decreases with the increase in storage efficiency. The percentage of saving increases with the increase of the efficiency of the storage system. Increasing the efficiency from 75% to 95% would increase the savings portion from 26.9% to 31.6% at 100% DOD.
  • The total operation cost of MG increases with the decrease in DOD of storage. Thus, the percentage of saving decreases with the decrease of the DOD of storage.
  • The total power losses of the MG per day considerably decrease with the increase in the storage efficiency or decrease in the DOD.
  • The results obtained declare that oversized storage or using many unneeded storage units may adversely influence the MG’s total power losses.
Finally, future works will address research and development activities for storage and demand management to push SCR and HC progress in MGs with high renewable penetration. Also, other optimization algorithms can be used to solve the problem presented in this work.

Author Contributions

M.H.M., S.H.E.A.A., A.A., Z.M.A., and M.R. designed the problem under study, performed the simulations and obtained the results. Further, A.A., Y.A.-T., and S.M. visualized, organized, and refined the manuscript in the present form. All authors have read and agreed to the published version of the manuscript.

Funding

This research was funded by the Deanship of Scientific Research (DSR) at King Abdulaziz University, Jeddah, under grant no. (RG-21-135-39). The authors, therefore, acknowledge with thanks to DSR technical and financial support.

Acknowledgments

The authors acknowledge with thanks Deanship of Scientific Research (DSR) at King Abdulaziz University, Jeddah, Saudia Arabia, for their technical and financial support.

Conflicts of Interest

The authors declare no conflict of interest.

References

  1. Srivastava, A.; Van Passel, S.; Laes, E. Assessing the success of electricity demand response programs: A meta-analysis. Energy Res. Soc. Sci. 2018, 40, 110–117. [Google Scholar] [CrossRef]
  2. Mostafa, M.H.; Aleem, S.H.E.A.; Ali, S.G.; Abdelaziz, A.Y.; Ribeiro, P.F.; Ali, Z.M. Robust Energy Management and Economic Analysis of Microgrids Considering Different Battery Characteristics. IEEE Access 2020, 8, 54751–54775. [Google Scholar] [CrossRef]
  3. Sinsel, S.R.; Riemke, R.L.; Hoffmann, V.H. Challenges and solution technologies for the integration of variable renewable energy sources—A review. Renew. Energy 2020, 145, 2271–2285. [Google Scholar] [CrossRef]
  4. Aleem, S.H.E.A.; Elmathana, M.T.; Zobaa, A.F. Different Design Approaches of Shunt Passive Harmonic Filters Based on IEEE Std. 519-1992 and IEEE Std. 18-2002. Recent Patents Electr. Electron. Eng. 2013, 6, 68–75. [Google Scholar] [CrossRef]
  5. Ismael, S.M.; Aleem, S.H.E.A.; Abdelaziz, A.Y.; Zobaa, A.F. State-of-the-art of hosting capacity in modern power systems with distributed generation. Renew. Energy 2019, 130, 1002–1020. [Google Scholar] [CrossRef]
  6. Ding, F.; Mather, B. On Distributed PV Hosting Capacity Estimation, Sensitivity Study, and Improvement. IEEE Trans. Sustain. Energy 2017, 8, 1010–1020. [Google Scholar] [CrossRef]
  7. Liu, N.; Chen, Q.; Lu, X.; Liu, J.; Zhang, J. A Charging Strategy for PV-Based Battery Switch Stations Considering Service Availability and Self-Consumption of PV Energy. IEEE Trans. Ind. Electron. 2015, 62, 4878–4889. [Google Scholar] [CrossRef]
  8. Talavera, D.; De La Casa, J.; Muñoz-Cerón, E.; Almonacid, G. Grid parity and self-consumption with photovoltaic systems under the present regulatory framework in Spain: The case of the University of Jaén Campus. Renew. Sustain. Energy Rev. 2014, 33, 752–771. [Google Scholar] [CrossRef]
  9. Luthander, R.; Widén, J.; Nilsson, D.; Palm, J. Photovoltaic self-consumption in buildings: A review. Appl. Energy 2015, 142, 80–94. [Google Scholar] [CrossRef] [Green Version]
  10. Mostafa, M.H.; Aleem, S.H.E.A.; Ali, S.G.; Abdelaziz, A.Y. Day-Ahead Optimal Scheduling for Grid-Connected Microgrid with Energy Storage Systems. In Proceedings of the 21st International Middle East Power Systems Conference (MEPCON), Cairo, Egypt, 17–19 December 2019; pp. 828–833. [Google Scholar] [CrossRef]
  11. Rohit, A.K.; Rangnekar, S. An overview of energy storage and its importance in Indian renewable energy sector: Part II—Energy storage applications, benefits and market potential. J. Energy Storage 2017, 13, 447–456. [Google Scholar] [CrossRef]
  12. Katsanevakis, M.; Stewart, R.A.; Lu, J. Aggregated applications and benefits of energy storage systems with application-specific control methods: A review. Renew. Sustain. Energy Rev. 2017, 75, 719–741. [Google Scholar] [CrossRef] [Green Version]
  13. Mostafa, M.H.; Aleem, S.H.E.A.; Ali, S.G.; Ali, Z.M.; Abdelaziz, A.Y. Techno-economic assessment of energy storage systems using annualized life cycle cost of storage (LCCOS) and levelized cost of energy (LCOE) metrics. J. Energy Storage 2020, 29, 101345. [Google Scholar] [CrossRef]
  14. Mahani, K.; Nazemi, S.D.; Jamali, M.A.; Jafari, M.A. Evaluation of the behind-the-meter benefits of energy storage systems with consideration of ancillary market opportunities. Electr. J. 2020, 33, 106707. [Google Scholar] [CrossRef]
  15. Zia, M.F.; Benbouzid, M.; Elbouchikhi, E.; Muyeen, S.M.; Techato, K.; Guerrero, J.M. Microgrid Transactive Energy: Review, Architectures, Distributed Ledger Technologies, and Market Analysis. IEEE Access 2020, 8, 19410–19432. [Google Scholar] [CrossRef]
  16. Mostafa, M.H.; Aleem, S.H.E.A.; Ali, S.G.; Abdelaziz, A.Y. Energy-management solutions for microgrids. In Distributed Energy Resources in Microgrids; Elsevier: Amsterdam, The Netherlands, 2019; pp. 483–515. [Google Scholar] [CrossRef]
  17. Li, C.; Zhou, H.; Li, J.; Dong, Z. Economic dispatching strategy of distributed energy storage for deferring substation expansion in the distribution network with distributed generation and electric vehicle. J. Clean. Prod. 2020, 253, 119862. [Google Scholar] [CrossRef]
  18. Mehrjerdi, H.; Rakhshani, E.; Iqbal, A. Substation expansion deferral by multi-objective battery storage scheduling ensuring minimum cost. J. Energy Storage 2020, 27, 101119. [Google Scholar] [CrossRef]
  19. Mahmoud, T.S.; Ahmed, B.S.; Hassan, M.Y. The role of intelligent generation control algorithms in optimizing battery energy storage systems size in microgrids: A case study from Western Australia. Energy Convers. Manag. 2019, 196, 1335–1352. [Google Scholar] [CrossRef]
  20. Wu, D.; Ma, X.; Huang, S.; Fu, T.; Balducci, P. Stochastic optimal sizing of distributed energy resources for a cost-effective and resilient Microgrid. Energy 2020, 198, 117284. [Google Scholar] [CrossRef]
  21. Feng, X.; Gu, J.; Guan, X. Optimal allocation of hybrid energy storage for microgrids based on multi-attribute utility theory. J. Mod. Power Syst. Clean Energy 2017, 6, 107–117. [Google Scholar] [CrossRef]
  22. Nojavan, S.; Majidi, M.; Esfetanaj, N.N. An efficient cost-reliability optimization model for optimal siting and sizing of energy storage system in a microgrid in the presence of responsible load management. Energy 2017, 139, 89–97. [Google Scholar] [CrossRef]
  23. Mostafa, M.H.; Ali, S.G.; Aleem, S.H.E.A.; Abdelaziz, A.Y. Optimal Allocation of Energy Storage System for Improving Performance of Microgrid Using Symbiotic Organisms Search. In Proceedings of the Twentieth International Middle East Power Systems Conference (MEPCON), Cairo, Egypt, 18–20 December 2018; pp. 474–479. [Google Scholar] [CrossRef]
  24. Chen, C.; Duan, S. Optimal allocation of distributed generation and energy storage system in microgrids. IET Renew. Power Gener. 2014, 8, 581–589. [Google Scholar] [CrossRef] [Green Version]
  25. Qiu, J.; Zhao, J.; Zheng, Y.; Dong, Z.; Dong, Z. Optimal allocation of BESS and MT in a microgrid. IET Gener. Transm. Distrib. 2018, 12, 1988–1997. [Google Scholar] [CrossRef]
  26. Kim, S.W.; Kim, J.; Jin, Y.G.; Yoon, Y.T. Optimal Bidding Strategy for Renewable Microgrid with Active Network Management. Energies 2016, 9, 48. [Google Scholar] [CrossRef] [Green Version]
  27. Alsaidan, I.; Khodaei, A.; Gao, W. A Comprehensive Battery Energy Storage Optimal Sizing Model for Microgrid Applications. IEEE Trans. Power Syst. 2018, 33, 3968–3980. [Google Scholar] [CrossRef]
  28. Wang, D.; Qiu, J.; Reedman, L.; Meng, K.; Lai, L.L. Two-stage energy management for networked microgrids with high renewable penetration. Appl. Energy 2018, 226, 39–48. [Google Scholar] [CrossRef]
  29. Zheng, Y.; Niu, S.; Shang, Y.; Shao, Z.; Jian, L. Integrating plug-in electric vehicles into power grids: A comprehensive review on power interaction mode, scheduling methodology and mathematical foundation. Renew. Sustain. Energy Rev. 2019, 112, 424–439. [Google Scholar] [CrossRef]
  30. Diaaeldin, I.M.; Aleem, S.H.E.A.; El-Rafei, A.; Abdelaziz, A.Y.; Zobaa, A.F. Enhancement of Hosting Capacity with Soft Open Points and Distribution System Reconfiguration: Multi-Objective Bilevel Stochastic Optimization. Energies 2020, 13, 5446. [Google Scholar] [CrossRef]
  31. Gudmunds, D.; Nyholm, E.; Taljegard, M.; Odenberger, M. Self-consumption and self-sufficiency for household solar producers when introducing an electric vehicle. Renew. Energy 2020, 148, 1200–1215. [Google Scholar] [CrossRef]
  32. Teng, J.-H. A direct approach for distribution system load flow solutions. IEEE Trans. Power Deliv. 2003, 18, 882–887. [Google Scholar] [CrossRef]
  33. Heidari, A.A.; Mirjalili, S.; Faris, H.; Aljarah, I.; Mafarja, M.; Chen, H. Harris hawks optimization: Algorithm and applications. Futur. Gener. Comput. Syst. 2019, 97, 849–872. [Google Scholar] [CrossRef]
  34. Aleem, S.H.E.A.; Zobaa, A.F.; Balci, M.E.; Ismael, S.M. Harmonic Overloading Minimization of Frequency-Dependent Components in Harmonics Polluted Distribution Systems Using Harris Hawks Optimization Algorithm. IEEE Access 2019, 7, 100824–100837. [Google Scholar] [CrossRef]
  35. Abdolaziz Mohamed, M.; Almalaq, A.; Mahrous Awwad, E.; El-Meligy, M.A.; Sharaf, M.; Ali, Z.M. A Modified Balancing Approach for Renewable Based Microgrids Using Deep Adversarial Learning. IEEE Trans. Ind. Appl. 2020. [Google Scholar] [CrossRef]
  36. Rozlan, M.B.M.; Zobaa, A.F.; Abdel Aleem, S.H.E. The optimisation of stand-alone hybrid renewable energy systems using HOMER. Int. Rev. Electr. Eng. 2011, 6, 1802–1810. [Google Scholar]
  37. Gong, X.; Dong, F.; Mohamed, M.A.; Abdalla, O.M.; Ali, Z.M. A Secured Energy Management Architecture for Smart Hybrid Microgrids Considering PEM-Fuel Cell and Electric Vehicles. IEEE Access 2020, 8, 47807–47823. [Google Scholar] [CrossRef]
Figure 1. The microgrid (MG) under study.
Figure 1. The microgrid (MG) under study.
Sustainability 12 10144 g001
Figure 2. Hosting capacity (HC) idea and the effect of its enhancement on renewable energy sources (RESs) penetration.
Figure 2. Hosting capacity (HC) idea and the effect of its enhancement on renewable energy sources (RESs) penetration.
Sustainability 12 10144 g002
Figure 3. The main phases of Harris hawks optimization (HHO).
Figure 3. The main phases of Harris hawks optimization (HHO).
Sustainability 12 10144 g003
Figure 4. Flowchart of the HHO algorithm.
Figure 4. Flowchart of the HHO algorithm.
Sustainability 12 10144 g004
Figure 5. Total load, total output power of the RESs, and rated power of transformer feeding the MG.
Figure 5. Total load, total output power of the RESs, and rated power of transformer feeding the MG.
Sustainability 12 10144 g005
Figure 6. The self-consumption rate (SCR) rate of the WT and PV without battery energy storage system (BESS) connection.
Figure 6. The self-consumption rate (SCR) rate of the WT and PV without battery energy storage system (BESS) connection.
Sustainability 12 10144 g006
Figure 7. HC values of the studied MG in different cases.
Figure 7. HC values of the studied MG in different cases.
Sustainability 12 10144 g007
Figure 8. Optimal hourly output powers of the grid, PV, WT, and the three batteries storage (BSs).
Figure 8. Optimal hourly output powers of the grid, PV, WT, and the three batteries storage (BSs).
Sustainability 12 10144 g008
Figure 9. State of charge (SOC) of the three BSs.
Figure 9. State of charge (SOC) of the three BSs.
Sustainability 12 10144 g009
Figure 10. Transformer loading rate in different cases.
Figure 10. Transformer loading rate in different cases.
Sustainability 12 10144 g010
Figure 11. Hourly power losses in different cases.
Figure 11. Hourly power losses in different cases.
Sustainability 12 10144 g011
Figure 12. Total power losses per day of different cases.
Figure 12. Total power losses per day of different cases.
Sustainability 12 10144 g012
Figure 13. The voltage profile of the MG at four durations; (a) at the 4th hour; (b) at the 10th hour; (c) at the 14th hour; and (d) at the 21st hour.
Figure 13. The voltage profile of the MG at four durations; (a) at the 4th hour; (b) at the 10th hour; (c) at the 14th hour; and (d) at the 21st hour.
Sustainability 12 10144 g013aSustainability 12 10144 g013b
Figure 14. Parameter variation with efficiency and DOD; the total operation cost per day and the saving percentage.
Figure 14. Parameter variation with efficiency and DOD; the total operation cost per day and the saving percentage.
Sustainability 12 10144 g014
Figure 15. Total daily power loss variation with different efficiency and DOD values.
Figure 15. Total daily power loss variation with different efficiency and DOD values.
Sustainability 12 10144 g015
Table 1. The location and size of the photovoltaic (PV) and wind turbine (WT) units.
Table 1. The location and size of the photovoltaic (PV) and wind turbine (WT) units.
RES TypePropertiesValues
PVLocation (Bus)0709112133
Size (MW)0.240.360.360.360.6
WTLocation0612181931
Size (MW)1.20.60.60.961.2
Table 2. Cost factors, efficiency, and lifecycle of sodium-sulfur (NaS), lithium-ion (Li-ion), nickel-cadmium (NiCd), and lead-acid (LA).
Table 2. Cost factors, efficiency, and lifecycle of sodium-sulfur (NaS), lithium-ion (Li-ion), nickel-cadmium (NiCd), and lead-acid (LA).
BatteryCapital Power Cost ($/kW)Capital Energy Cost ($/kWh)Efficiency (%)LifecycleLifetime (Years)
NaS35030095400015
Li-ion90060098300010
NiCd5004008550009
LA2002007035007
Table 3. Bids of the PV and WT, and the cost factors, efficiency, and lifecycle of the NaS batteries [2,13].
Table 3. Bids of the PV and WT, and the cost factors, efficiency, and lifecycle of the NaS batteries [2,13].
ParameterValue
RESBid of the PV ($/kWh)2.8
Bid of the WT ($/kWh)1.72
NaS BatteryCapital power cost ($/kW)350
Capital energy cost ($/kWh)300
Efficiency (%)95
Life cycles4000
Lifetime (years)15
Table 4. Optimal allocation of the BESS (number, location, power, and energy).
Table 4. Optimal allocation of the BESS (number, location, power, and energy).
CaseNumber of BESSsLocationPower (MW)Energy (MWh)
1162.17013.020
22140.6403.840
291.0106.060
3331.72010.320
140.5593.354
300.7804.680
4460.5683.408
140.5003.000
240.9235.538
300.6874.122
5550.4292.574
61.0906.540
130.3291.974
160.2111.266
260.7434.458
Table 5. Numerical results obtained without/with BESS.
Table 5. Numerical results obtained without/with BESS.
CaseCost B S c R N B S B S C D   T a t a l   B S C D   T c o s t Saving
($/day)($)($/day)($/day)($/day)(%)
Without BESS193,310.8-193,310.8-
1148,979.34,665,50031533.81533.8150,513.1622.1
2159,896.91,376,0003452.31166.2161,063.116.6
2,171,5003713.9
3129,924.23,698,00031215.82162.3132,086.531.7
1,201,8503395.1
1,677,0003551.4
4137,678.71,221,2003401.51893.1139,571.827.8
1,075,0003353.4
1,984,4503652.4
1,477,0503485.6
5135,957.3922,3503303.21980.7137,93828.6
2,343,5003770.5
707,3503232.6
453,6503149.1
1,597,4503525.21
Table 6. Lifecycles for the various depth of discharge values [27].
Table 6. Lifecycles for the various depth of discharge values [27].
DOD (%)Number of Cycles
10040,000
9050,000
8060,000
7070,000
6090,000
50100,000
Publisher’s Note: MDPI stays neutral with regard to jurisdictional claims in published maps and institutional affiliations.

Share and Cite

MDPI and ACS Style

Rawa, M.; Abusorrah, A.; Al-Turki, Y.; Mekhilef, S.; Mostafa, M.H.; Ali, Z.M.; Aleem, S.H.E.A. Optimal Allocation and Economic Analysis of Battery Energy Storage Systems: Self-Consumption Rate and Hosting Capacity Enhancement for Microgrids with High Renewable Penetration. Sustainability 2020, 12, 10144. https://doi.org/10.3390/su122310144

AMA Style

Rawa M, Abusorrah A, Al-Turki Y, Mekhilef S, Mostafa MH, Ali ZM, Aleem SHEA. Optimal Allocation and Economic Analysis of Battery Energy Storage Systems: Self-Consumption Rate and Hosting Capacity Enhancement for Microgrids with High Renewable Penetration. Sustainability. 2020; 12(23):10144. https://doi.org/10.3390/su122310144

Chicago/Turabian Style

Rawa, Muhyaddin, Abdullah Abusorrah, Yusuf Al-Turki, Saad Mekhilef, Mostafa H. Mostafa, Ziad M. Ali, and Shady H. E. Abdel Aleem. 2020. "Optimal Allocation and Economic Analysis of Battery Energy Storage Systems: Self-Consumption Rate and Hosting Capacity Enhancement for Microgrids with High Renewable Penetration" Sustainability 12, no. 23: 10144. https://doi.org/10.3390/su122310144

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

Article Metrics

Back to TopTop