Next Article in Journal
Effect of One-Sided Surface Charring of Beech Wood on Density Profile and Surface Wettability
Next Article in Special Issue
A Hybrid Approach for an Efficient Estimation and Control of Permanent Magnet Synchronous Motor with Fast Dynamics and Practically Unavailable Measurements
Previous Article in Journal
Fault-Tolerant Active Disturbance Rejection Control of Plant Protection of Unmanned Aerial Vehicles Based on a Spatio-Temporal RBF Neural Network
 
 
Font Type:
Arial Georgia Verdana
Font Size:
Aa Aa Aa
Line Spacing:
Column Width:
Background:
Article

A Metaheuristic Harris Hawk Optimization Approach for Coordinated Control of Energy Management in Distributed Generation Based Microgrids

1
Department of Electrical Energy Engineering, Arab Academy for Science, Technology and Maritime Transport, Cairo 12577, Egypt
2
Department of Basic and Applied Sciences, Arab Academy for Science, Technology and Maritime Transport, Alexandria 21913, Egypt
*
Author to whom correspondence should be addressed.
Appl. Sci. 2021, 11(9), 4085; https://doi.org/10.3390/app11094085
Submission received: 31 December 2020 / Revised: 5 March 2021 / Accepted: 10 March 2021 / Published: 29 April 2021
(This article belongs to the Special Issue Control of Power Systems)

Abstract

:
Cost management of microgrids represents a real challenge since the power generation of microgrids is usually composed of different renewable and non-renewable sources. Additionally, it is always desired to make a connection between the microgrid and national grid to secure the load demand and to fit the regulations of liberated energy markets. Because of all these reasons, it is essential to develop a smart energy management unit to control different energy resources within the microgrid to achieve minimum operation costs. This paper presents a proposal for a smart unit for the cost management and operation of multi-source based microgrids. The proposed unit utilizes the Harris hawk optimization (HHO) algorithm which is used to optimize the cost of operation based on current load demand, energy prices and generation capacities. The proposed unit is tested on a microgrid with different energy resources using MATLAB while applying different operation scenarios. All simulation results show that the proposed unit succeeds in operating the microgrid at minimum cost. Obtained results are compared with other optimization algorithms and the proposed Harris hawk algorithm gives superior performance.

1. Introduction

The demand for renewable energy as a resource for electrical power is being increased rapidly. This is because of several reasons, including that they don’t have negative impacts on environment and have low operation costs when compared to classical power generation methods. However, there are a lot of limitations and challenges that must be surmounted to harness the energy from renewable resources effectively [1]. One of these challenges of renewable energy resources is that they must be installed in limited locations. Moreover, their output power depends on the current environmental and weather conditions, which means that they may not be able to supply the demand at certain times. All these limitations have directed researchers to a new concept of electric distribution, which is the microgrid (MG) [2,3]. A microgrid is a distribution network that supplies certain loads from different distributed energy resources (DERs), such as photovoltaic (PV), wind turbines (WT), diesel engine generators (DEGs), fuel cells (FC) and battery storage [4]. Additionally, a microgrid usually has a connection with the unified grid. This connection is established to enable the power exchange between the grids to maximize the load security. Furthermore, the microgrid can sell excess power to unified grids [5].
To get the maximum benefits of microgrids, it is important to have an energy management system (EMS) to be responsible for the operation and control of different DERs and power exchange between the microgrid [6,7] and the grid as shown in Figure 1.
The main role of the EMS is to decide the amount of energy that needs to be supplied by the DERs within the microgrid and to organize the power exchange between the unified grid and the microgrids. The decisions of the EMS are based on the ability of DERs and the current prices of energy. This means that the EMS must take accurate decisions to balance between increasing local production and maximizing economic revenue. Consequently, energy management of microgrids forms a highly constrained optimization problem and this optimization problem is usually considered an offline one [8].
From the above-mentioned explanation, it is clear that the EMS’s objective function depends on providing various types of data. Some of these data can be easily determined, such as the generation capacities of the grid and microturbines. However, most of them depend on forecasts and estimations such as loading limits, wind speed, solar irradiance, energy prices, etc. As a result, the researchers have followed two techniques in optimizing the EMS’s objective function [9,10].
The first is the deterministic approach: in this approach, all forecasted data are taken into consideration as they are assuming that they have very high accuracy. The other approach is the probabilistic approach in which all forecasted data are put in the form of variables. Each variable has a probability that resembles the accuracy of the forecast.
Researchers have applied many optimization algorithms to solve the EMS problem. One of the famous techniques is linear programming (LP) which considers the power balance and generation limits of the distributed generation units. However, this method suffers from one main disadvantage, which is a high computational burden [11,12,13].
One of the popular optimization techniques that have been incorporated in solving the EMS problem is dynamic programming (DP). The main advantage of this method is its ability to divide the EMS into smaller sub-problems. This means that the optimization technique will solve sequential problems instead of solving one sophisticated problem, which helps in reaching the optimum solution with quick and accurate performance. However, the operation of this algorithm is considered difficult since it includes a high number of recursive functions [14].
In [15], a genetic algorithm is used in optimizing the EMS’s objective function. This method has better computational burden when compared to LP. However, still the computational complexity exists.
Multi agent (MA) optimization has gained great researchers attraction in solving the EMS optimization problem. Although this method has relatively high accuracy considering many constrains, it suffers also from high computational complexity and time [16,17,18,19].
Particle swarm optimization (PSO) has attracted many researchers as well to use it in the optimization of the EMS problem. This method showed better results compared to previously mentioned methods in terms of accuracy and computational burden [15,20].
In [21], authors proposed the artificial bee colony (ABC) to solve the EMS problem. Although this method is considered quite simple and has robust performance, the formulation of the EMS problem to adapt between it and the algorithm is considered complex as this technique is suitable for objective functions that do not have high number of parameters.
This technique has directed many researchers to use various meta-heuristic optimization algorithms such as grey wolf optimization (GWO) [22], evolutionary algorithms (EA), etc.
Another research direction led by many researchers depends on coordinated control. In [23] a coordinated controller for a microgrid based on a predictive model and voltage control is presented. The main advantage of this method is that it needs less effort in the tuning of the controller. Authors of [24] also proposed a multi-layer coordinated control technique for the energy management of microgrids based on forecasting customer loading. Furthermore, another method of coordinated control is presented in [25]. This method depends on bi-level stochastic modelling.
Most of papers mentioned in literature have suffered from drawbacks (particularly in the modelling of the system) that can be summarized in the following points [11,12,15,21,22,26,27,28,29]:
  • Power losses are not taken into considered in some papers.
  • Battery charging and discharging intervals are not considered in some papers.
  • High computational complexity in some of the above indicated references.
In this paper, the Harris hawk optimization (HHO) is used in solving the EMS optimization problem in a grid connected microgrids. The algorithm is applied to a highly constrained objective function which takes into consideration many important constraints such as power balance, generation power capacities, spinning reserve and energy storage limits (including charging and discharging rates). The proposed algorithm shows an improved performance compared to other algorithms used previously in literature in terms of speed of convergence and minimization of cost of operation when compared head-to-head and applied to same test bench. The proposed HHO algorithm may form a good optimization technique for solving other optimization problems in the power and energy fields.
The rest of this paper is organized as follows: Section 2 shows the problem formulation of the EMS optimization problem, while Section 3 explains the HHO algorithm and its application to the proposed EMS optimization algorithm. In Section 4 the results of applying the proposed EMS optimization algorithm to a real microgrid with two different operating scenarios are presented. In Section 5 and Section 6, respectively, the discussion and conclusion are presented for the evaluation of the effectiveness of the proposed EMS algorithm.

2. EMS Problem Formulation

The EMS problem is defined as minimizing the operational cost of the microgrid by means of adjusting the generation parameters of different DERs and the utility grid. The optimization problem also considers open market prices for energy received from the grid and DERs.

2.1. Objective Function

As mentioned before, the objective function of the EMS is to minimize the operation cost of the microgrid as shown in Equation (1):
F x m i n = m i n   x t = 1 N T i = 1 N G [ B G i ( P G i t ) + M P t · P G r i d t ]
where P G i t is the generated active power of the generator i at time t. P G r i d t is the power exchanged between the utility grid and the microgrid at time t. B G i is the cost per kW of the active power generated by the ith DER. M P t is the market price of active power exchanged between the utility grid and the local microgrid.
NT is the total hours included in the objective function which is usually a 24 h period and NG is the total number of distributed generation units including storage units.

2.2. Constraints of the Objective Function

To simulate the real response of a microgrid against the decisions of the EMS, it is essential to put many constraints that are mandatory for smooth operation of the microgrid.
The first constraint is that all active power generated by all DERs and the grid must equal the load active power as per Equation (2).
i = 1 N G P G i t + P G r i d t = D = 1 N D [ P L D t ]
where P L D t is the value of the load active power at time t, ND is total number of load levels.
Additionally, it is important to include the generation limits for each DER and the utility grid as illustrated in Equations (3) and (4). These are mandatory to guarantee stable operation of the microgrid.
P G i , m i n t P G i t P G i , m a x t
P G r i d , m i n t P G r i d t P G r i d , m a x t
where P G i , m i n t and P G i , m a x t are the generating limits of the generator i at time t while P G r i d , m i n t and P G r i d , m a x t are the generating limits of the utility grid at time t.
To keep the system running with high reliability, it is essential to include a portion of the microgrid generation capacity as spinning reserve, especially if most of the DERs are from renewable resources that may suffer from output instability. Equation (5) describes how the criteria of spinning reserves are met.
i = 1 N G P G i , m a x t + P G r i d , m a x t D = 1 N D [ P L D t + R t ]
where R t is the scheduled spinning reserve at time t.
One of the important constraints for energy storage elements is the limitation of charge and discharge cycles, especially the time interval needed for each cycle. The amount of energy stored in the battery is calculated based on the following rule:
W e s s , t = W e s s , t 1 + η c h a r g e P c h a r g e Δ t 1 η d i s c h a r g e P d i s c h a r g e Δ t
{ W e s s , m i n W e s s , t W e s s , m a x P c h a r g e , t P c h a r g e , m a x ;   P d i s c h a r g e , t P d i s c h a r g e , m a x
where W e s s is the amount of energy stored in the battery. P c h a r g e is the allowed rate of charge while P d i s c h a r g e is the allowed rate of discharge. Δ t is a predefined time period in which the rate of charge or discharge is allowed.

2.3. Calculation of Energy Cost and Bids for the Microgrid Elements

According to the EMS objective function mentioned in Equation (1), the main role of the EMS is to reduce the energy cost of the microgrid. Because of this, it is very important to calculate the energy cost of each source used in the microgrid and the energy price of the utility grid.
Regarding the fuel cell and the microturbine, the bid price is calculated according to (8):
B G = C f u e l · P G η G + C i n v
where B G is the bid price in €/h and C f u e l is the price of fuel in €/kW h. P G is the electrical output power in kW. η G is the efficiency of the generation unit. C i n v is the payback amount of the cost of investment of the generation unit which can be get from (9) as follows:
C i n v = A C P G n o m A P
where P G n o m is the nominal generation power of the generation unit. AP is the annual energy production in kW h/kW. AC is the annual investment cost which is based on the following rule:
A C = i ( 1 + i ) n ( 1 + i ) n 1 + I C
where i is the interest rate, n is the depreciation period and I C is the installation cost.

3. Proposed HHO-Based EMS

Harris hawk optimization is a metaheuristic optimization which was proposed in [30], and its mathematical model is inspired from the cooperative behavior of Harris hawks in hunting, chasing and besieging their victims. The HHO is based on population optimization without having any gradients which gives it competitive edge over other techniques in terms of speed of conversion.
The HHO consists of two main phases: exploration and exploitation. Additionally, there is a transition phase though which the algorithm is switched from exploration to exploitation.
In the exploration phase, Harris hawks start to search randomly for victims as per the following equation:
X ( t + 1 ) = { X r a n d ( t ) r 1 | X r a n d ( t ) 2 r 2 X ( t ) | q 0.5 ( X r a b b i t ( t ) X m ( t ) ) r 3 ( L B + r 4 ( U B L B ) ) q < 0.5
where X ( t + 1 ) is the location of the hawks in the iteration ( t + 1 ) , X r a b b i t ( t ) is the location of the rabbit (the victim), r 1 to r 4 and q are random numbers that can vary between 0 and 1, X r a n d ( t ) represents a hawk which is chosen randomly and X m is the average location of the current population of hawks which can be calculated from Equation (12):
X m ( t ) = 1 N i = 1 N X i ( t )
where X i ( t ) indicates the position of each hawk at iteration t while N represents the total number of hawks.
As mentioned above, after finishing the exploration stage, there is a transient stage before moving to the exploitation stage. At this transient stage, it is necessary to model the energy of the rabbit as per Equation (13):
E = 2 E 0 ( 1 t T )
where E is the escaping energy of the rabbit, T is the maximum number of iterations and E 0 is the initial state of the rabbit energy. The value of E 0 is varying between −1 and 1 based on the physical fitness of the victim. When E 0 goes towards −1, this means that the victim is losing its energy and vice versa.
According to the behavior of rabbits, the relation between the rabbit energy and the time is inversely proportional. This means that as long as t increases, the E is decreased. Based on E , Harris hawks also decide to either search different areas to detect the location of the rabbit when | E | 1 or move forward to the exploitation phase.
In the exploitation phase, there are two behaviors that need to be modelled. The first is the soft besiege in which the rabbit energy is still high and can run fast; in this condition Harris hawks try to softly follow and put it under surveillance until it starts to get exhausted. The second behavior is the hard besiege; the prey in this behavior is tired and has no sufficient energy to escape. As a result, the Harris hawks in this mode form closed circles to make a sudden attack. Figure 2 shows Harris hawk attack patterns.
To mathematically model the two behaviors, let r be the percentage of the successful escape of the rabbit. If | E | 0.5 and r 0.5 , this means that the rabbit has relatively high escaping energy and at the same time the chance of successful escape is higher than 50%. This means that the Harris hawks will perform a soft besiege and will update their location according to Equation (14):
X ( t + 1 ) = Δ X ( t ) E | J   X r a b b i t ( t ) X ( t ) |
where Δ X ( t ) is the position difference between the rabbit and the hawks. This value can be calculated as follows:
Δ X ( t ) = X r a b b i t ( t ) X ( t )
where J is a random number that represents the jump strength that can be met from Equation (16) as follows:
J = 2 ( 1 r 5 )
where r 5 is a random number that varies between 0 and 1.
If | E | 0.5 and r < 0.5 , this means that the rabbit has high energy. However, the chance of successfully escaping is not big. In this case, the Harris hawks will perform a soft besiege but with progressive and rapid dives. The next movement of the hawks will be updated according to:
Y = X r a b b i t ( t ) E | J   X r a b b i t ( t ) X ( t ) |
The hawks then will compare the current position with the previous dive to evaluate which is better. If the previous dive is better, the hawks will use it. If not, the hawks will then apply new dive using the levy flight (LF) equation:
Z = Y + S · L F ( D )
where D is the problem dimension and S is a random vector with size of 1 × D. The LF function can be calculated according to (19) as noted in [31]:
L F = 0.01 ( u · σ | v | 1 β )
where u and v are random numbers that vary between 0 and 1. β is a constant value of 1.5. σ is calculated using:
σ = ( ( 1 + β ) sin ( π β 2 ) ( 1 + β ) 2 · β · 2 β 1 2 ) 1 β
The Harris hawks will then evaluate the positions Y and Z and then select the best position based on (21):
X ( t + 1 ) = { Y ,   F ( Y ) < F ( X ( t ) ) Z ,   F ( Z ) < F ( X ( t ) )
where only the better location of either Y or Z will be used to update the hawk’s position.
If | E | < 0.5 and r 0.5 , this means that the rabbit has relatively low energy but it has a moderate chance of a successful escape. In this condition, the hawks will perform a hard besiege and will update their equation based on Equation (22):
X ( t + 1 ) = X r a b b i t ( t ) E | Δ X ( t ) |
If | E | < 0.5 and r < 0.5 , this means that the victim has low energy and also has a low chance to escape. In this situation, the hawks will also perform a hard besiege but with progressive rapid dives at which the next position of the hawks will be updated using Equation (21). Z will be calculated from Equation (18) and Y will be calculated using Equation (23) as follows:
Y = X r a b b i t ( t ) E | J   X r a b b i t ( t ) X m ( t ) |
The proposed EMS uses the HHO in evaluating the optimum values for generated powers from different DGs within the microgrid. The HHO in this optimization problem will consider the DG-generated powers as the location of the Harris hawks and the prey will represent the energy cost. Figure 3 shows a flowchart of the proposed HHO algorithm while Figure 4 shows a flowchart for the proposed EMS algorithm.

4. Simulation Results

To validate the effectiveness of the proposed algorithm, a microgrid is simulated using MATLAB. The output power of its DG units and grid is set by the proposed EMS. The simulated microgrid consists of PV, WT, DEG, FC, battery storage and a connection to the utility grid. This benchmark has been used by previous research [31] and has been chosen to be simulated in this paper in order to be able to compare obtained results with previous research results available in literature. Table 1 shows the minimum and maximum output power of each element of the microgrid as well as coefficients of bid functions, where the negative sign indicates direction of power flow. Table 2 presents sample forecast values for the load demand and DG units’ powers along with market price. Two case studies are simulated to evaluate the effectiveness of the proposed HHO-based EMS on different operating conditions. Cost is expressed in units of euro cents (€ ct).

4.1. Case Study 1

In this case, the PV and WT will supply their maximum available generating power according to the hourly forecast. The proposed EMS controls and sets the output power of the other DG units to decrease the generating cost and according to their corresponding power limits and constraints.
The results of the proposed algorithm are tabulated in Table 3. When observing the behavior of the proposed EMS during the first and last eight hours of the day, results show that during these periods the proposed EMS depends on the FC and the utility grid for generating the largest portion of output power. This occurs because the energy price during these periods is low which means that generating electricity from the utility grid is cheaper than the DEGs. This is not the case at midday, when the EMS mainly depends on the PV, WT and DEG units as the energy price of the utility grid is expensive.

4.2. Case Study 2

In this case, the output power of all DG units including PV and WT are controlled by the EMS within their constrains and power limits. The results of this case, which are shown in Table 4, show a huge reduction in the total cost of energy compared to that of case 1. The reason for this is that the EMS fully controls DG units aiming to reduce the total cost. This leads to higher dependency on the utility grid during low energy bids.
Results of both cases show the HHO algorithm functions properly during different modes of operation for the EMS. Figure 5, which indicates the conversion curve sample of the HHO algorithm, clearly shows the effectiveness of the proposed method as the conversion rate is fast during both cases.

5. Discussion and Analysis

In order to validate the obtained results confidently, it is important to compare the results of HHO algorithm in both cases with earlier research results that used the exact microgrid simulation model but with different optimization algorithms, such as fast surrogate-assisted particle swarm optimization (FSAPSO) and several modified PSO algorithms [31]. Table 5 shows the obtained results of the HHO algorithm along with results of other previously proposed algorithms in literature. Number of objective function evaluations (OFE) carried out till best solution is reached is indicated where it is equal to 1× number of agents × iterations. Additionally, the number of algorithm iterations needed till best solution is reached is indicated in the table along the trials number. Although there is a lack in information in [31], it can be noted that the proposed HHO algorithm successfully reaches lower operating costs with lower iterations. It is suggested as future work to take into consideration other constraints such as PV lifetime and power degradation, and battery state of health and power degradation, where some modifications can be made to power constraints, mentioned earlier in Table 1, accordingly, to give more realistic results especially for long term simulations.

6. Conclusions

Power generation cost optimization is considered one of the main problems facing modern microgrids having different energy resources and interconnections. In this paper, the generation cost optimization problem with all its constraints is explained in detail. A new optimization technique, Harris hawk optimization, is presented thoroughly as a proposed solution to the energy management optimization problem. The proposed algorithm is tested using MATLAB simulation on a benchmark microgrid and results are compared with previous research. The Harris hawk algorithm succeeded in achieving much-improved results as it produced the lowest generation cost in comparison with other widely used optimization algorithms. Obtained results indicate that the Harris hawk algorithm should be tested further on other applications in the field of power and energy management as it may form a strong and reliable computation algorithm.

Author Contributions

M.A. contributed to the research framework, checked, and revised draft paper; H.Y.D. collected the data and wrote the draft manuscript, checked, and revised the paper; A.A.E.-B. supervised the whole process. All authors have read and agreed to the published version of the manuscript.

Funding

This research received no external funding.

Conflicts of Interest

The authors declare no conflict of interest.

Nomenclature

The following symbols are used in this manuscript:
F x m i n minimum operation cost
B G i cost per kW of active power generated by i
P G i t generated active power of i
ttime
P G r i d t power exchange between utility grid and microgrid
M P t market price of active power exchanged
NTtotal hours
NGtotal number of distributed generations
NDtotal number of load levels
MGMicrogrid
P L D t load active power at time t
P G i , m i n t minimum generation limit of generator i at time t
P G i , m a x t maximum generation limit of generator i at time t
P G r i d , m i n t minimum generation limit of utility grid at time t
P G r i d , m a x t maximum generation limit of utility grid at time t
R t cheduled spinning reserve at time t
W e s s , t energy stored in battery
W e s s , m i n minimum energy to be stored in battery
W e s s , m a x maximum energy to be stored in battery
P c h a r g e rate of charge
P d i s c h a r g e rate of discharge
P c h a r g e , m a x max charge
P d i s c h a r g e , m a x max discharge
Δ t predefined time for charge or discharge
η c h a r g e charge efficiency
η d i s c h a r g e discharge efficiency
B G bid price
C f u e l price of fuel
P G output power
η G generation unit efficiency
C i n v payback amount
P G n o m nominal power generation
B G bid price
APannual energy production
A C annual investment cost
I C installation cost
X ( t + 1 ) location of hawk at iteration t+1
X r a b b i t ( t ) location of rabbit
X r a n d ( t ) random choice of hawk
X m average location of current population of hawks
X i ( t ) position of hawk i at iteration t
N total number of hawks
E escaping energy of rabbit
E 0 initial energy of rabbit
T maximum number if iterations
rpercentage of successful rabbit escape
Δ X ( t ) position difference between rabbit and hawks
J jump strength
r 1   to   r 5 ,   q random numbers between 0 and 1
LFlevy flight
Y, Znext movement update
D problem dimension
Srandom vector with size 1 × D
u, vlevy flight random value between 0 and 1
β constant of value 1.5

References

  1. Renewables. International Energy Agency, IEA. 2019. Available online: https://www.iea.org/topics/renewables/ (accessed on 30 September 2020).
  2. Parhizi, S.; Lotfi, H.; Khodaei, A.; Bahramirad, S. State of the art in research on microgrids: A review. IEEE Access 2015, 3, 890–925. [Google Scholar] [CrossRef]
  3. Lasseter, R.H. MicroGrids. In Proceedings of the 2002 IEEE Power Engineering Society Winter Meeting, New York, NY, USA, 27–31 January 2002; pp. 305–308. [Google Scholar]
  4. Afgan, N.H.; Carvalho, M.G. Sustainability assessment of a hybrid energy system. Energy Policy 2008, 36, 2903–2910. [Google Scholar] [CrossRef]
  5. Hatziargyriou, N.; Asano, H.; Iravani, R.; Marnay, C. Microgrids: An Overview of Ongoing Research, Development, and Demonstration Projects. IEEE Power Energy 2007, 5, 78–94. [Google Scholar] [CrossRef]
  6. Lasseter, R.H. CERTS Microgrid. In Proceedings of the 2007 IEEE International Conference on System of Systems Engineering, San Antonio, TX, USA, 16–18 April 2007. [Google Scholar]
  7. Stanton, K.N.; Giri, J.C.; Bose, A. Energy management. In Systems, Controls, Embedded Systems, Energy, and Machines; CRC Press: Boca Raton, FL, USA, 2017. [Google Scholar]
  8. Shi, W.; Li, N.; Chu, C.C.; Gadh, R. Real-Time Energy Management in Microgrids. IEEE Trans. Smart Grid 2017, 8, 228–238. [Google Scholar] [CrossRef]
  9. Su, W.; Wang, J. Energy Management Systems in Microgrid Operations. Electr. J. 2012, 25, 45–60. [Google Scholar] [CrossRef]
  10. Gildardo Gómez, W.D. Metodología para la Gestión Óptima de Energía en una Micro red Eléctrica Interconectada. Ph.D. Thesis, Universidad Nacional de Colombia, Medellín, Colombia, 2016. [Google Scholar]
  11. Taha, M.S.; Mohamed, Y.A.R.I. Robust MPC-based energy management system of a hybrid energy source for remote communities. In Proceedings of the 2016 IEEE Electrical Power and Energy Conference (EPEC), Ottawa, ON, Canada, 12–14 October 2016. [Google Scholar]
  12. Sukumar, S.; Mokhlis, H.; Mekhilef, S.; Naidu, K.; Karimi, M. Mix-mode energy management strategy and battery sizing for economic operation of grid-tied microgrid. Energy 2017, 118, 1322–1333. [Google Scholar] [CrossRef] [Green Version]
  13. Delgado, C.; Dominguez-Navarro, J.A. Optimal design of a hybrid renewable energy system. In Proceedings of the 2014 Ninth International Conference on Ecological Vehicles and Renewable Energies (EVER), Monte-Carlo, Monaco, 25–27 March 2014. [Google Scholar]
  14. Wu, N.; Wang, H. Deep learning adaptive dynamic programming for real time energy management and control strategy of micro-grid. J. Clean. Prod. 2018, 204, 1169–1177. [Google Scholar] [CrossRef]
  15. Li, H.; Eseye, A.T.; Zhang, J.; Zheng, D. Optimal energy management for industrial microgrids with high-penetration renewables. Prot. Control Mod. Power Syst. 2017, 2, 1–14. [Google Scholar] [CrossRef] [Green Version]
  16. Anvari-Moghaddam, A.; Rahimi-Kian, A.; Mirian, M.S.; Guerrero, J.M. A multi-agent based energy management solution for integrated buildings and microgrid system. Appl. Energy 2017, 203, 41–56. [Google Scholar] [CrossRef] [Green Version]
  17. Kumar Nunna, H.S.V.S.; Doolla, S. Energy management in microgrids using demand response and distributed storage—A multiagent approach. IEEE Trans. Power Deliv. 2013, 28, 939–947. [Google Scholar] [CrossRef]
  18. Dou, C.X.; Liu, B. Multi-agent based hierarchical hybrid control for smart microgrid. IEEE Trans. Smart Grid 2013, 4, 771–778. [Google Scholar] [CrossRef]
  19. Karavas, C.S.; Kyriakarakos, G.; Arvanitis, K.G.; Papadakis, G. A multi-agent decentralized energy management system based on distributed intelligence for the design and control of autonomous polygeneration microgrids. Energy Convers. Manag. 2015, 103, 166–179. [Google Scholar] [CrossRef]
  20. Azaza, M.; Wallin, F. Multi objective particle swarm optimization of hybrid micro-grid system: A case study in Sweden. Energy 2017, 123, 108–118. [Google Scholar] [CrossRef]
  21. Marzband, M.; Azarinejadian, F.; Savaghebi, M.; Guerrero, J.M. An optimal energy management system for islanded microgrids based on multiperiod artificial bee colony combined with markov chain. IEEE Syst. J. 2015, 11, 1712–1722. [Google Scholar] [CrossRef] [Green Version]
  22. Ei-Bidairi, K.S.; Nguyen, H.D.; Jayasinghe, S.D.G.; Mahmoud, T.S. Multiobjective Intelligent Energy Management Optimization for Grid-Connected Microgrids. In Proceedings of the 2018 IEEE International Conference on Environment and Electrical Engineering and 2018 IEEE Industrial and Commercial Power Systems Europe (EEEIC/I&CPS Europe), Palermo, Italy, 12–15 June 2018. [Google Scholar]
  23. Hu, J.; Shan, Y.; Xu, Y.; Guerrero, J.M. A coordinated control of hybrid ac/dc microgrids with PV-wind-battery under variable generation and load conditions. Int. J. Electr. Power Energy Syst. 2019, 104, 583–592. [Google Scholar] [CrossRef] [Green Version]
  24. Mahmud, K.; Sahoo, A.K.; Ravishankar, J.; Dong, Z.Y. Coordinated multilayer control for energy management of grid-connected AC microgrids. IEEE Trans. Ind. Appl. 2019, 55, 7071–7081. [Google Scholar] [CrossRef]
  25. Wang, Z.; Chen, B.; Wang, J.; Begovic, M.M.; Chen, C. Coordinated energy management of networked microgrids in distribution systems. IEEE Trans. Smart Grid 2014, 6, 45–53. [Google Scholar] [CrossRef]
  26. Helal, S.A.; Najee, R.J.; Hanna, M.O.; Shaaban, M.F.; Osman, A.H.; Hassan, M.S. An energy management system for hybrid microgrids in remote communities. In Proceedings of the 2017 IEEE 30th Canadian Conference on Electrical and Computer Engineering (CCECE), Windsor, ON, Canada, 30 April–3 May 2017. [Google Scholar]
  27. Chaouachi, A.; Kamel, R.M.; Andoulsi, R.; Nagasaka, K. Multiobjective intelligent energy management for a microgrid. IEEE Trans. Ind. Electron. 2013, 60, 1688–1699. [Google Scholar] [CrossRef]
  28. Abedini, M.; Moradi, M.H.; Hosseinian, S.M. Optimal management of microgrids including renewable energy scources using GPSO-GM algorithm. Renew. Energy 2016, 90, 430–439. [Google Scholar] [CrossRef]
  29. Wasilewski, J. Optimisation of multicarrier microgrid layout using selected metaheuristics. Int. J. Electr. Power Energy Syst. 2018, 99, 246–260. [Google Scholar] [CrossRef]
  30. Heidari, A.A.; Mirjalili, S.; Faris, H.; Aljarah, I.; Mafarja, M.; Chen, H. Harris hawks optimization: Algorithm and applications. Future Gener. Comput. Syst. 2019, 97, 849–872. [Google Scholar] [CrossRef]
  31. Anvari-Moghaddam, A.; Seifi, A.; Niknam, T.; Pahlavani, M.A. Multi-objective Operation Management of a Renewable Micro Grid with Back-up Micro Turbine/Fuel Cell/Battery Hybrid Power Source. Energy Int. J. 2011, 36, 6490–6507. [Google Scholar] [CrossRef]
Figure 1. Example of a microgrid with an energy management system (EMS) based on Harris hawk optimization (HHO) proposed in this paper.
Figure 1. Example of a microgrid with an energy management system (EMS) based on Harris hawk optimization (HHO) proposed in this paper.
Applsci 11 04085 g001
Figure 2. Harris hawk prey attack patterns.
Figure 2. Harris hawk prey attack patterns.
Applsci 11 04085 g002
Figure 3. HHO algorithm flowchart.
Figure 3. HHO algorithm flowchart.
Applsci 11 04085 g003
Figure 4. The flowchart of the proposed EMS.
Figure 4. The flowchart of the proposed EMS.
Applsci 11 04085 g004
Figure 5. Convergence curves for the HHO algorithm for (a) Study Case 1 sample, (b) Study Case 2 sample.
Figure 5. Convergence curves for the HHO algorithm for (a) Study Case 1 sample, (b) Study Case 2 sample.
Applsci 11 04085 g005
Table 1. Power limits and coefficients of bid functions of the installed distributed generation (DG) units.
Table 1. Power limits and coefficients of bid functions of the installed distributed generation (DG) units.
IDDGMinimum Power (kW)Maximum Power (kW) a i (€ct/kw h2) b i (€ct/kw h) c i (€ct/h)
1PV02502.5840
2WT01501.0730
3MT63000.4570
4FC33000.2940
5Battery−303000.380
6Utility−30300-0
Table 2. The forecast values of load demand, market price, wind and photovoltaic (PV) power production.
Table 2. The forecast values of load demand, market price, wind and photovoltaic (PV) power production.
Time (h)Load (KW)MP (cent/KW h)WT (KW)PV (KW)
1520.231.7850
2500.191.7850
3500.141.7850
4510.121.7850
5560.121.7850
6630.20.9150
7700.231.7850
8750.381.3050.2
9761.51.7853.75
108043.097.525
117848.77510.45
1274410.4111.95
13721.53.91523.9
147242.3721.05
157621.7857.875
16801.951.3054.225
17850.61.7850.55
18880.411.7850
19900.351.3020
20870.431.7850
21781.171.30050
22710.541.30050
23650.30.9150
24560.260.6150
Table 3. Results of Case Study 1.
Table 3. Results of Case Study 1.
Time (h)Power (KW)Cost (€ ct/h)
PVWTDEGFCBatteryUtility
101.785629.9998−15.78483014.379
201.785630−17.7853012.419
301.7856.000429.9992−17.78453010.919
401.785630−16.7853010.699
501.7856.003629.9966−11.78533012.5996
600.915630−3.9153017.0561
701.7856302.2153021.219
80.21.30563016.209521.285527.7272
93.751.785303030−19.53516.2328
107.5253.09303030−20.615−25.7698
1110.458.77529.407929.483729.8834−30−50.1183
1211.5910.41223030−30−48.6075
1323.93.91514.1853030−3047.6609
1421.052.3726.739621.918929.9215−30−33.0295
157.8751.785303030−23.668.8743
164.251.305303030−15.5315.9642
170.551.785303030−7.33532.8655
1801.7856303020.209433.1655
1901.30263022.6983032.0843
2001.7856303019.212733.1398
2101.3005303030−13.300519.7639
2201.3005303030−20.300524.3632
2300.915630−1.914993020.8161
2400.615629.9816−10.59663015.9898
Total cost (€ct)270.413
Table 4. The best solutions obtained for solving EOM problem for Case Study 2.
Table 4. The best solutions obtained for solving EOM problem for Case Study 2.
Time (h)Power (KW)Cost (€ ct/h)
PVWTDEGFCBatteryUtility
100629.9956−13.99563013.1424
200627.7428−13.74283011.3761
308.39565.6058.3953011.7681
400.203624.0398−9.0398309.9746
500.95946.1085317.104228.827913.684
600629.9911−2.99113016.4228
700629.99574.004283019.9824
800629.981426.316812.701926.382
9015303030−296.525
105.759215303029.2408−30−55.3818
11315303030−30−62.223
122.468111.847929.936129.861529.8725−29.9861−67.0539
13012.919329.07093029.9981−29.98832.3731
142.01259.9875303030−30−70.1531
15015303030−29−7.975
16015303030−251.275
1700303030−530.93
1800630302231.982
19006.00043024.001729.997831.182
2000630302131.992
21014.999929.999829.999829.9998−26.999218.435
2200303030−1923.67
2300629.9999−0.99993020.182
24006.000810.16579.836929.996617.2679
Total cost (€ct)75.7596
Table 5. Comparison of the obtained simulation results for the MG—Case 1 & 2 [31].
Table 5. Comparison of the obtained simulation results for the MG—Case 1 & 2 [31].
CaseMethodNumber of AgentsBest Solution ObtainedOFE’s NeededIterations to ConvergeTrials Carried Out
Case 1PSO [31]-277.3237Up to 16,000-20
FSAPSO [31]-276.7867Up to 16,000-20
CPSO-T [31]-275.0455Up to 16,000-20
CPSO-L [31]-274.7438Up to 16,000-20
AMPSO-T [31]-274.5507Up to 16,000-20
AMPSO-L [31]-274.4317Up to 16,000-20
Proposed HHO50270.413Up to 750015020
Case 2GA [31]-162.9469Up to 16,000-20
PSO [31]-162.0083Up to 16,000100020
FSAPSO [31]-161.5561Up to 16,00075020
CPSO-T [31]-161.0580Up to 16,000-20
CPSO-L [31]-160.7708Up to 16,000-20
AMPSO-T [31]-159.9244Up to 16,000-20
AMPSO-L [31]-159.3628Up to 16,000-20
Proposed HHO5075.7596Up to 800016020
Publisher’s Note: MDPI stays neutral with regard to jurisdictional claims in published maps and institutional affiliations.

Share and Cite

MDPI and ACS Style

Abdelsalam, M.; Diab, H.Y.; El-Bary, A.A. A Metaheuristic Harris Hawk Optimization Approach for Coordinated Control of Energy Management in Distributed Generation Based Microgrids. Appl. Sci. 2021, 11, 4085. https://doi.org/10.3390/app11094085

AMA Style

Abdelsalam M, Diab HY, El-Bary AA. A Metaheuristic Harris Hawk Optimization Approach for Coordinated Control of Energy Management in Distributed Generation Based Microgrids. Applied Sciences. 2021; 11(9):4085. https://doi.org/10.3390/app11094085

Chicago/Turabian Style

Abdelsalam, Mahmoud, Hatem Y. Diab, and A. A. El-Bary. 2021. "A Metaheuristic Harris Hawk Optimization Approach for Coordinated Control of Energy Management in Distributed Generation Based Microgrids" Applied Sciences 11, no. 9: 4085. https://doi.org/10.3390/app11094085

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