Under the patronage of:

Journal Metrics

Impact factor (2022): 2.1

75th percentile
Powered by  Scopus

More about CiteScore

Source Normalized Impact per Paper (SNIP): 0.474

SCImago Journal Rank (SJR): 0.377


Multi-Objective Optimal Dispatching and Operation Control of a Grid Connected Microgrid Considering Power Loss of Conversion Devices

Original scientific paper

Journal of Sustainable Development of Energy, Water and Environment Systems
Volume 10, Issue 3, September 2022, 1090404
DOI: https://doi.org/10.13044/j.sdewes.d9.0404
Marouane Lagouir , Abdelmajid Badri, Yassine Sayouti
Faculty of Science and Technology (FSTM), Hassan II University of Casablanca, Mohammedia, Morocco


This paper proposes a novel daily energy management system for optimization dispatch and operation control of a typical microgrid power system. The multi-objective optimization dispatch problem is formulated to simultaneously minimize the operating cost, pollutant emission level as well as the power loss of conversion devices. While satisfying the system load and technical constraints, ensure high penetration of renewable energy and optimal scheduling of charging/discharging of battery storage system based on a fuzzy logic approach. The weighted sum method is adopted to obtain Pareto optimal solutions, then a fuzzy set theory is employed to find the best compromise solution. Ant lion optimizer method is considered to solve the formulated problem. To prove the efficacy and robustness of the proposed algorithm, a comparison of the performance of ant lion optimizer algorithm with other known heuristic optimization techniques has been investigated. The results obtained show that the proposed algorithm outperforms the other heuristic techniques in solving the multi-objective optimization dispatch problem. They also reveal that a better compromise between the considered contradictory objective functions is achieved when priority is given to the generation of the internal microgrid’s sources with an equivalent contribution rate of 68.45% of generated power from both fuel cell and micro-turbine, whereas the contribution rate of external grid is limited to 11.72%.

Keywords: Energy management system; Microgrid; Multi-objective optimization dispatch; Operating cost; Pollutant emission level; Power loss; Weighted sum method; Fuzzy set theory; Ant lion optimizer

Creative Commons License
Views (in 2024): 415 | Downloads (in 2024): 93
Total views: 2408 | Total downloads: 1017

Nowadays, with the rapid development of renewable energy technology and flexibility required in modern power systems. The integration of renewable energy sources (RESs) into the existing distribution network has become the focus of several current studies. Microgrid (MG) seems to be an effective and promising technology for penetration of RESs. A MG can be described as an integrated energy system consisting of distributed energy resources (DERs), battery storage system (BSS), and loads. It can operate either in grid connected mode through purchasing or selling power from orto the main grid [1], or in standalone operation mode in case of emergencies or remote areas.

A typical MG generally incorporates an energy management system (EMS) as a crucial component for power management optimization, to improve power supply quality, and efficient control of MG operations.

The multi-objective optimization dispatch (MOOD) problem and operation control of MG have been addressed in several studies. And various objective functions with constraints are developed.

The authors in [2] propose the design and implementation of a fuzzy logic energy management system for a polygeneration MG.To show the superior performance of the proposed approach, a comparison with an ON/OFF management strategy has been discussed. The obtained simulation results reveal that the fuzzy logic approach can efficiently manage the overall energy of the MG system and provides a considerable decrease in the size of the installed components.Having already demonstrated its relevance for dealing with complex challenges in MG system, Vivas et al.propose in [3] a multi-objective fuzzy logic based EMS for energy management and operation control of a typical MG. In addition to responding to the load demand, the developed fuzzy logic controllerguarantees a considerable cost saving and it can also prolong the lifespan of the installed devices (li-ion battery bank and hydrogen system). The research in [4] also confirms the potential of the fuzzy logicfor energy management of a standalone hybrid renewable energy system over 25 years. The results show that the developed EMS optimizes the utilization costs, also it guaranteesan extended lifetime of the battery and hydrogen system.

In Nwulu et al. [5], the implementation of a novel control approach to optimize the dynamic economic and emission dispatch (DEED) problem has been discussed, by considering the integration of a game theory based demand response (DR) program into the optimization problem. The obtained results indicate the practical benefits of the developed model compared with independent optimization of DR or DEED. Aghajani et al. [6] proposed a multi-objective particle swarm optimization (MOPSO) method for day-ahead energy management, considering operation cost and emission rate as objective functions.The achieved results are compared with non-dominated sorting genetic algorithm II (NSGA-II), showing the superior performance of the proposed method. Murty et al. [7] propose a novel approach for economic-environmental optimization dispatch. Beside the technical constraints consideration and the integration of DR in the optimization problem, the authors provide a fuzzy interference system for optimal charging/discharging of BSS. The global criterion method is used to formulate the multi-objective optimization problem (MOOP), then the performance of the proposed methodology is compared with other heuristic optimization techniques.

Nowadays, a number of novels and hybrid evolutionary and heuristic optimization algorithms have been introduced to handle the MOOD problem. In Wang et al. [8], a novel hybrid multi-objective fireworks algorithm with gravitational search operator (MFAGSO) has been proposed to solve the operation cost and pollutant emission as competing objectives inside a typical grid connected MG for 24-h period. An improved strength Pareto evolutionary algorithm (ISPEA2) [9] is also suggested to solve the MOOD problem. Considering the fuel cost and emission as two objective functions to be minimized. Furthermore, a fuzzy based membership function is employed to extract the best compromise solution from the obtained Pareto optimal set. The superiority of the proposed method is verified by comparing the results obtained using the ISPEA2 with those of other methods employed in the literature. Hou et al. [10] propose the implementation ofmulti-objective seeker optimization algorithm (MSOA) with a decision making based on fuzzy membership function to obtain the Pareto optimal set and to find the best compromise solution. The multi-objective economic dispatching model includes the economy of MG, the efficiency of photovoltaic system utilization as well as the security of the connect-line between MG and main grid.

The ant lion optimizer (ALO) is a newly developed algorithm by Seyedali Mirjalili [11] that has been successfully applied forhandlingthe MOOD problem in MG power system [12]. Van et al. [13] propose the implementation of ALO algorithm for handling the optimal economic load dispatch (ELD) problem. The authors consider challenging constraints such as spinning reserve constraint, ramp rate limits, prohibited operating zones of generating units. Three case studies have been investigated. The obtained results are compared with other heuristic methods to prove the efficacy of ALO method. In [14], ALO was used to solve the ELD problem, while considering the application of DR as virtual power plant in the formulated optimization problem. In this study, the overall operating cost, system losses and emission levels are considered as objective functions to be minimized. Then, the performance of ALO was verified by a comparative study with particle swarm optimization (PSO) and artificial immune system (AIS). The authors in [15] also suggest the use of ALO method to deal with the multi-objective of both total operating cost and total pollutant emission. Two scenarios are proposed: the first one is operating all the installed DERs and main grid within specified limits, while the second scenario is operating both RESs at their rated powers. The obtained simulation results were compared with those provided using well-known heuristic optimization algorithms like PSO, grey wolf optimizer (GWO) method and whale optimization algorithm (WOA). They also prove that the proposed ALO algorithm can significantly minimize the operating cost and emission in the studied MG while satisfying the specified constraints.

Previous works rarely consider the power loss of conversion devices in the formulated optimization problem. According to [16], this power loss may vary between 2% and 16% of conversion power. Therefore, in this work it is considered as one of the objective functions to be minimized.

This paper aims at day-ahead optimizing dispatch and coordinated control of a MG power system. The developed EMS is designed to operate in two-level architecture. The highest layer with the function of the control and optimal charging - discharging power of the BSS. Whilethe lower layer is implemented in order to solve the multi-objective optimization dispatch problem. The formulated problem involves the minimizing of three contradictory objective functions representing: the overall operating cost, the emissions level of (NOx, SO2, CO2), and the power loss of the conversion devices, taking into account the technical constraints of the system [17]. Ant lion optimizer algorithm is selected for handling the MOOD problem. To validate the robustness and efficiency of the proposed approach, the performance of ALO is compared with other well-known heuristic algorithms, including artificial bee colony (ABC) [18], WOA [19] and PSO technique.


The configuration of the proposed MG power system in grid connected mode is shown in Figure 1. In this system three different energy sources are considered: renewable energy sources, conventional energy sources (CESs), and energy storage system (ESS). The RESs combine photovoltaic (PV) panels with wind turbine (WT) unit, while CESs contain a diesel generator (DG), a fuel cell (FC), and a micro-turbine (MT). Due to the flexible charging-discharging characteristics of BSS, it is used as a backup to maintain power balance and to improve the reliability of the system [20]. The MG is connected to the main grid through a point of common coupling (PCC). While the interconnection to the common DC bus is ensured through power conversion devices. All the components are connected through an information bus to a centralized EMS developed for ensuring secure, reliable, and economical operation of the MG system [21].

Power generation resources

The PV and WT power outputs are not available all the time, and their performance is affected by weather conditions. In order to ensure a continuous availability of power and reduce the operating cost of the system a battery bank is used as a backup.

The mathematical modelling of the power generated from both RESs and battery storage system parameters constrains are detailed hereafter.

Configuration of the studied grid connected microgrid (MG)

PV power system.

The power generated from the PV unit is primarily depends on the incident irradiance G and cell temperature T. It is expressed as follows [17], [22], [23]:


where TSTC and GSTC represent, respectively the temperature and irradiance under standard test conditions, and αT is the temperature coefficient.

WT power system.

Based on the wind speed V and the rated power PWT,R of WT unit. The output power PWT can be calculated as follows given as [22], [24], [25]:


where, VCI, VCO, VR indicate the cut-in, cut-out and rated wind speed, respectively.

It is to be noted that both PV panels and WT modules are assumed to be equipped with a maximum power point tracking (MPPT) system in order to increase the generation from RESs, making it beneficial from an economic point of view.

Battery storage system.

In the studied MG system, a lithium-ion battery bank of 240 V, 400 Ah is chosen as ESS. This technology is characterized by its larger storage capacity, high efficiency, fast charging capability, prolonged life cycle, and high-energy density [26]. State of charge (SoC) of the battery is considered as an important parameter to be controlled. The variation of the battery SoC with the charging, discharging process is expressed by eq. (3) given as [26], [27]:

SoCt=SoC0+1Qtotfidt (3)

where totfidt and Q represent respectively, the instantaneous and total capacity of the battery bank in Ah.

In order to extend the cycle life of the BSS, monitoring its SoC is needed to prevent it from any overcharging or under-discharging. Thus the battery's SoC is constrained between the minimum and maximum limits given as follows [22], [28]:

SoCMinSoCtSoCMax (4)

where SoCMin and SoCMax are the lower and upper limits of the battery SoC, respectively.

The output power of the battery storage at time t should should be maintained within the minimum and maximum limits as follows [29]:

PBSSminPBSS(t)PBSSmax (5)

It should be noticed that in each time step, the BSS must be in one operating mode only. Positive value of PBSS corresponds to a battery in discharging mode, negative value refers to the charging mode. Stop mode corresponds to a battery generation equal to zero whenever the battery SoC is less than 10%, or in case when the battery reaches a maximum SoC (SoCMax=80%) and the supply of both RESs match the DC load demand.


In this section, the mathematical formulation of the MOOD problem, is to minimize simultaneously the objective functions F1, F2 and F3 subject to equality and inequality constraints. The decision variable includes the power of dispatchable sources and the exchanged power with the main grid.

Objective functions

In the studied MG, three conflicting objective functions are considered to be minimized: The operating cost of MG system is defined as the first objective function, followed by the pollutant gas emissions cost of nitrogen oxide, sulfur dioxide and carbon dioxide (NOx, SO2 and CO2) respectively, and the third objective function is the power loss cost of the conversion devices.

The linear additivity of the objective functions is not applicable to solve the MOOD problem [30]. Therefore, the price penalty factor (PPF) is considered to transform the multi-objective optimization problem into a single-objective problem. Then a weighting approach based on the weighted sum method is applied to find the Pareto front solutions [31].

Mathematically the MOOD problem is formulated by eq. (6) given as [32]:

minOFMGt=124ω1F1+ω2F2+ω3F3 (6)

where, ωi is the weight coefficient related to the objective function Fi.

Operating cost function.

The primary concern of the studied MG system is to minimize the operating cost. It incorporates four terms representing the fuel cost of generators, start-up cost, operation & maintenance (O&M) cost, and exchanged power cost with the main grid, given as [22], [23], [33]-[35]:

F1=i=1N{CFi(Pi)+OMi(Pi)+STCi}+(CPERSE) (7)

  • Fuel cost of diesel generator

The fuel cost consumed by the diesel generator is expressed as a quadratic function of the active power given as [22], [23], [28], [33], [35]:

CFDG(PDG(t))=αDG+βDGPDG(t)+γDGPDG2(t) (8)

where, αDG, βDG, γDG are cost coefficients of the DG.

  • Fuel or gas cost of fuel cell and micro-turbine

The cost of the fuel or natural gas consumed by the FC or the MT units, respectively is calculated as follows [34], [35]:

CFi(Pi(t))=CiiPiηi (9)

where Ci is the fuel or natural gas price of generating unit i (FC or MT), and ηi represent the efficiency of the generating unit i.

It is worth mentioning that by substituting the efficiency curve, which associates the efficiency to the generated power in eq. (9), the fuel or natural gas cost consumed by FC or MT unit can be approximated as a quadratic function of the actual output power, similar to the mathematical model of DG but with different cost coefficients [35].

  • Operation and maintenance cost

The O&M cost of each conventional energy source is expressed as a linear function of the actual output power Pi given as [22], [34]:

OMi=i=1NKOMiPi (10)

where KOMi is O&M cost coefficient of each generating unit i.

  • Start-up cost

Depending on the time period that a CES has been off before its start-up. The start-up cost of each generating unit i is expressed as follows [22], [23], [33]. Figure 2 represents the start-up cost of DG, FC and MT, respectively:

STCi=σi+δi[1exp(Toff,iτi)] (11)

where σi and δi represent respectively, the hot and cold start-up cost of generating unit i in $/h. τi is the constant of unit cooling time of generating unit i. Finally, Toff,i refers to the unit shutdown duration in h.

Start-up cost of the dispatchable sources as a function of the time the unit has been off

  • Exchanged power cost with the main grid

In the grid connected mode, the cost of exchanging power with the main grid can be mathematically expressed using the following equations [34], depending on whether the MG purchase or sell power from or to the connected main grid.

In this work, the day-ahead electricity price profile is chosen similar to the oneproposed in [35] as depicted in Figure 3:

CPE=Cp×max(PDPi,0)RSE=Cs×max(PiPD,0) (12)

where, CPE and RSE represent respectively, the cost of purchasing and revenue of selling electricity to the main grid.

Pollutant gas emissions cost function.

The pollutant gas emissions cost of NOx, SO2 and CO2, respectively, is defined as the second objective function to be minimized. It is expressed as a linear function of the produced power [32], [36]:

F2=i=1Nk=1Mχk(EFi,kPi)+k=1Mχk(EFGrid,kPGrid) (13)

Table 1 shows the operating cost parameters and the emission rate coefficients of both CESs and the main grid used in this study. Moreover, the externality cost for NOx, SO2 and CO2 emissions is set at 9.1714, 2.1617 and 0.0305 $/kg, respectively. As specified in [7], [22], [33]-[35]. Detailed input parameters of the studied MG components are given in Appendix 1.

Operating cost and emission rate


Fuel or gas cost coefficients

Start-up cost

O&M cost

Emission rate [kg/MWh]


Pi [kW]

αi [$/h]

PBSS(t) ≤

γi [$/kWh]

σi [$/h]

δi [$/h]


KOMi [$/kWh]




PBSSmax [$/kWh]









































Day-ahead real time pricing signal

Power loss cost function.

The third term of the MOOD problem of eq. (6) represents the power loss cost of the conversion devices. Mathematically it is expressed as follows [16]:

F3=i=1NClossiPlossi=i=1NσlossiClossiPi (14)

In this study, it is assumed that the coefficient related to the power loss of converters is set at 2% for the FC unit, 4% when the power is generated from DG or MT unit. Finally, this coefficient is increased to 6% in case of exchanging power with the main grid.

Pareto dominance

In the search space, a set of solutions called feasible solutions, can be obtained, according to different combinations of weight coefficients ω1, ω2 and ω3 respectively. Figure 4 illustrated the various combinations of weight coefficients obtained for 150 generations.

Where for each generated combination, the following constraint should be taken into account:

ωi0 and i=13ωi=1 (15)

Assumed that X1 and X2 are two solutions of the MOOP, X1 is considered to dominate X2 if and only if:

{Fi(X1)Fi(X2)i{1,2,NO}Fi(X1)Fi(X2)i{1,2,NO} (16)

In the search space, the non-dominated solutions are considered as Pareto solutions. The Pareto front consists of non-dominated solutions [37].

Different combinations of weight coefficients for 150 generations

Best compromise solution based on fuzzy logic theory

To achieve better compromise solution between the contradictory objective functions of eq. (6), a fuzzy approach is employed to select the appropriate combination of weight coefficients.

In this approach, each objective function Fi is converted into a fuzzy membership function, representing the degree of membership in the fuzzy sets. Mathematically, this is formulated using the following equation:

μ(Fi)={1 FiFiminFimaxFiFimaxFiminFiminFiFimax0 FiFimax (2)

The next step in the fuzzy approach involves calculating the sum of the membership function values for all objective functions, then the effectiveness of each non-dominated solution can be rated with respect to all the non-dominated solutions (M), by normalizing its values over the total sum given as follows [10], [38]:

μk=i=1NOμk(Fi)k=1Mi=1NOμk(Fi) (18)

The solution that attains a maximum normalized membership μk in the fuzzy set i.e. max {μk; k = 1, 2, . . . , M}, is chosen as the best non-dominated solution [38].

System constraints

During the operation of the MG system, several constraints should be considered.

To maintain power balance, the total power supplied by all MG's components, including the exchanged power with the main grid and the BSS must be equal to the actual load demand and the power loss, as shown in eq. (19):

PD(t)+Ploss(t)=PGrid(t)+PCESs(t)+PBSS(t)+PRESs(t) (19)

Each power generation resource can supply power within its specific range, according to the following constraints:



This work aims at developing a centralized control system for a day-ahead power management optimization and control of a typical MG system. The model is designed to operate in a two-level control architecture. The upper layer comprises two fuzzy logic control (FLC) subsystems. The first subsystem is implemented in order to define the participation of RESs, monitoring the battery SoC, the decision to start-up or shutdown the three CESs, load curtailment control in case of a grid failure, and the interactive mode between the main grid and the studied MG [39]. Whilst the second fuzzy logic controller is employed to ensure optimal scheduling of charging/discharging of the BSS [7], [40]. This FLC subsystem includes four inputs representing battery SoC, operating state of the battery (charging or discharging mode), normalized electricity prices (NEP) and normalized net power (NNP), that is defined as the difference between actual power demand and the available power from both RESs, and has two outputs representing the optimal charging/discharging power of BSS, and its next charging/discharging mode, respectively.

To describe the membership functions low, medium, high and very high, of the NEP's input respectively, the following abbreviations L, M, H and VH are used. The terms HC/D, MC/D and LC/D, in output membership function stand for high, medium and low charging or discharging of BSS. Finally, the abbreviations NE, ZO and PO, respectively correspond to negative, zero and positive normalized net power.

Figure 5 presents the structure of the fuzzy interference system for optimal charging/discharging of BSS. Finally, the detailed fuzzy scheduling rules for BSS are shown in Table 2.

The multi-objective optimization dispatch problem is solved using ALO algorithm, implemented in the bottom layer. Considering the minimizing of the operating cost, emissions level and power loss of conversion devices as objective functions. The obtained simulation results of the proposed ALO algorithm were compared with those provided from other heuristic optimization methods include PSO, ABC and WOA algorithm.

Structure of fuzzy logic control subsystem based optimal charging/discharging of BSS

Fuzzy rules based battery storage system optimal scheduling





Charging Mode

Discharging Mode

Charging Mode

Discharging Mode

Charging Mode

Discharging Mode








Low SoC







Medium Low














Medium High















In this section, to validate the effectiveness of the developed EMS, simulation is carried out for a day-ahead energy scheduling of a typical MG. Modelling and simulation of the optimization problem were conducted using MATLAB/Simulink environment, during 24 h and with a time step of ΔT=15 min. The aim of this study is the operation control and the optimization dispatch of the MG system in grid connected mode. Considering the minimizing simultaneously of the operating cost, emissions level and power loss of conversion devices. It is worth mentioning that the maximum supply capacity of DG, FC, and MT is set to 40 kW, 50 kW and 65 kW, respectively. The maximum imported power from the main grid is limited to 50 kW. Finally, the maximum charging and discharging power of BSS is fixed to 20 kW, while 10% and 80% are considered as the lower and upper limits on the SoC of the BSS. Finally, a comparison results with other well-known optimization algorithms include basic PSO, ABC and WOA approaches is detailed. The obtained simulation results are described hereafter.

Analysis of Pareto front

A set of solutions called feasible solutions can be produced by assigning various combinations of weight coefficients (ω1, ω2 and ω3) to the formulated objective function as shown in Figure 6. Then, the formula provided in eq. (16) is applied in order to capture the Pareto optimal solutions only as illustrated in Figure 7. The results show that over 150 different combination of weight coefficients, only 57 combinations are kept to compose the Pareto optimal set. Finally, a fuzzy set approach is adopted for selection of the best compromise solution from the obtained Pareto optimal set.

Obtained feasible solutions under the proposed scheduling policy

Obtained non-dominated solutions under the proposed scheduling policy

According to the results better compromise between the contradictory objective functions is achieved when ω1 = 0.0892, ω2 = 0.1209 and ω3 = 0.7899 respectively. Figure 8, Figure 9 and Figure 10, respectively show the Pareto front obtained along with the compromise solution. Considering in each plot the evolution of two objectives simultaneously.

It is to be mentioned that the combination of weights related to the best compromise solution will be used in the following subsection for daily simulation of the MG operation.

Evolution of the emissions level as a function of the operating cost

Evolution of the power loss as a function of the operating cost

Evolution of the power loss as a function of the emissions level

Microgrid running under grid connected mode

The optimal sizing of the PV and WT unites is beyond the focus of this research work. Moreover, although the power generation of both PV and WT unites do not depend on fossil fuel, their price still higher than the other generation sources. This is due to their high capital cost [8]. In this study, the maximum PV and WT power values were 30 kW and 35 kW, respectively. Additionally, it is assumed that both RESs are equipped with a maximum power point tracking system, and they generate power without any emission of pollutants. The generation of both RESs, the optimal charging/discharging power of BSS, and the SoC evolution during the daily running simulation are shown in Figure 11. In this scenario, the battery is initially charged to 50% of SoC, and the load demand is primarily supplied by both RESs and the BSS during discharging mode.

Output power of RESs and optimal charging/discharging of BSS

It can be observed that, the battery's SoCevolution is maintained within the pre-established range, avoiding the operation under extremes charge/discharge cycles. During the daily MG operation, the combination output power of the two RESs and the battery power supply during discharging cycles are not enough to fulfil the load demand. Therefore, the first FLC subsystem involves the three CESs in the energy management, while permit importing power from the main grid. Figure 12 shows the optimal output power of the three dispatchable sources represented by DG, FC and MT, as well as the imported power from the main grid, respectively. It can be seen that, under grid connected mode, a better compromise between the contradictory objective functions is achieved when the generated power from FC unit and MT unit, respectively is primarily used. The DG unit, though, was dispatched less time with fewer generation,only when the demand becomes higher, or at high-price periods when the main grid offers a high purchase electricity price, as it is the case from 20 h p.m. The considered load profile involves three kinds of demands, including residential load, commercial load and industrial load, with a total energy demand of 11.15 MWh. Figure 13 reveals the total system power balance between the required and satisfied power, it is obvious that no demand reduction is required, and the different power generation sources are able to cater the demand while considering the MOOD problem. The contribution rate of each power generation source in the studied MG is shown in Figure 14. It is clearly seen, that the total load demand is supplied by 38.22% FC unit, 30.23% MT generator. Contrary, the contribution rate of the DG is limited to 2.41%, as it has the highest operating cost and pollutant emission level. In addition, Figure 15 represents the emissions level of NOx, SO2 and CO2, respectively for a daily simulation time. It can be seen that an almost 42.54% of these emissions are caused by CO2 pollutant, followed by the emission of NOx. Whereas the emission of SO2 is limited to 17.66% of the total daily emissions. Table 3 summarized the obtained simulation results, compared with the previously published work [40], based on the analytic hierarchy process (AHP) [41] technique for weight determination, and according to a priory preference of the objective functions. It is clear that, from an economic point of view, importing power from the main grid is more beneficial, it provides a cost saving of 33.47%, however the emissions level and the power loss of conversion devices related to the obtained weights using AHP method become higher, with an increase of 29.87% for emissions level and 8.54%, for the power loss. Moreover, by comparing the power imported from the main grid using both approaches, it is obvious that the proposed approach allows a maximum generation from the internal MG's sources and less energy dependence from the main grid. Which is desirable, especially in case of unexpected grid failure.

Therefore, if no prior preference is required, the fuzzy set seems to be an effective tool to find the best compromise solution.

Optimal power generation of CESs and the main grid

Microgrid system power balance

Contribution of each generation source in power management

It is worth mentioning that, in order to confirm the validity and effectiveness of the proposed methodology to deal with the MOOD problem in a DC microgrid, the simulations are performed for a typical daily load profile, varying between about 60.8 kW and 204.7 kW. However, there is no reason why the studied MG power system cannot be extended, either by including new generating units or by changing the daily load profile or the capacity of the installed generation sources.

In summary, it appears that the developed energy management system is flexible, scalable and easy to adapt to future needs, depending on the user's requirements.

Emission type level under the proposed scheduling policy

Simulation results obtained for a daily microgrid operation under grid connected mode

Output Variables

Using fuzzy set forweights determination

Using AHP for weights determination

Data Percentile (%)

Daily Fitness Cost [$/day]



Daily Operating Cost [$/day]




Daily Emission levels [kg/day]




Daily Power Loss of conversion [kWh]




Daily Power Generated by RESs [kWh]




Daily Power Generated by CESs [kWh]




Daily Exchanged Power with the grid [kWh]




Daily Emission level of NOx [kg/day]




Daily Emission level of SO2 [kg/day]




Daily Emission level of CO2 [kg/day]




Comparison results

This section is dedicated to comparing the results achieved using ALO algorithm and the other heuristic methods to solve the MOOD problem. The number of population size and the maximum number of iterations are set to Np = 40, and 100, respectively.

Table 4 and Figure 16 show the performance comparison based on daily MG operation, calculated for 30 trial runs. It is clear that the proposed ALO approach is more costeffective, it has the strong ability to avoid premature convergence and find optimal solutions compared to the other proposed algorithms. From the obtained best cost, worst cost, mean cost, median cost and standard deviation values, that the proposed method has the best performance and provides better robustness and stability. Therefore, the obtained results indicate the outperformance of ALO algorithm over the PSO, ABC and WOA heuristic techniques.

Daily comparison of algorithms for 30 runs


Best cost [$/h]

Worst cost [$/h]

Mean cost [$/h]

Median cost [$/h]

Standard deviation [$/h]

Computational time [s]





























The comparison of the performance of ALO algorithm with other heuristic techniques in terms of the convergence characteristics based on a fixed load demand and a maximum number of iterations of 200 is illustrated in Figure 17. Compared to the other algorithms, it is shown that, the ALO approach converges better to the global optimal solution. Also the proposed algorithm provides good performance in terms of convergence speed and time, since it requires less time and fewer iterations to converge to the global optimal solution. Also by comparing the computational time for a daily simulation of MG operation, it can be concluded that ALO method is computationally efficient, since it provides the second best computational time.

In summary, the ALO algorithm seems to become a promising solution for dealing with complex optimization problems in modern power system due to its superior performance in terms of stability, good convergence and computational time.

Comparison of algorithms using box plot for 30 trial runs

Comparison of the convergence of the algorithms based on a fixed load demand


In this study, a new EMS for operation control and optimization dispatch of a grid connected MG is proposed. Considering the minimizing simultaneously of the operating cost, emissions level and power loss of conversion devices.

The proposed EMS is designed to operate in two layers' architecture, combining two fuzzy logic subsystems in the highest level, implemented in order to optimize scheduling of battery's charging/discharging cycles, monitoring the SoC of the BSS and the interactive mode between the main grid and the studied MG. While the bottom hierarchy level of the proposed EMS contains an ALO algorithm dedicated to solve the multi-objective optimization dispatch problem.

The effectiveness of the proposed ALO method to deal with the formulated MOOD is validated by comparing the results of those provided by PSO, ABC, and WOA heuristic techniques. The obtained simulation results demonstrate the outperformance of ALO in terms of the convergence speed, stability, and computational time. It can be summarized that the proposed methodology guarantees a real time operation control and optimization dispatch of MG, considering technical, economic and environmental tasks simultaneously.



fuel or natural gas price of generating unit i (FC or MT)



penalty of the power loss cost function



price of the purchased power



price of the sold power



fuel cost of the DG



cost of purchasing electricity



emission factors of the main grid for emission type k



emission factors of the generating unit i for emission type k


Fmin, Fmax

value of each objective function Fi



factor reflecting shading, and wiring losses


incident irradiance of the PV under Standard Test Conditions



O&M cost coefficient for each generating unit i



emission types (NOx or SO2 or CO2),



number of generating units



considered objective functions



actual output power of WT



actual output power of DG



load demand



produced power from generator i



produced power from main grid



power loss of conversion device related to the generating unit i



battery bank total capacity



revenue of selling electricity



unit shutdown duration



PV cell temperature under Standard Test Conditions



rated, cut-in and cut-out wind


Greek letters

αDG, βDG, γDG

cost coefficients of DG



cold start-up cost of generating unit i



efficiency of generating unit i



normalized membership


hot start-up cost of generating unit i



power loss of generating unit i


constant of unit cooling time of generating unit i


externality costs of emission type k




Artificial Bee Colony


Analytic Hierarchy Process


Artificial Immune System


Ant Lion Optimizer


Battery Storage System


Conventional Energy Sources


Direct Current


Dynamic Economic Emission Dispatch


Distributed Energy Resources


Diesel Generator


Demand Reduction


Economic Load Dispatch


Energy Management System


Energy Storage System


Fuel Cell


Fuzzy Logic Control


Improved Strength Pareto Evolutionary Algorithm


Multi-objective Fireworks Algorithm with Gravitational Search Operator




Multi-Objective Optimization Dispatch


Multi-Objective Optimization Problem


Multi-Objective Particle Swarm Optimization


Maximum Power Point Tracking


Multi-Objective Seeker Optimization Algorithm




Normalized Electricity Prices


Normalized Net Power


Non-Dominated Sorting Genetic Algorithm


Operation and Maintenance


Point Of Common Coupling


Price Penalty Factor


Particle Swarm Optimization




Renewable Energy Sources


State of Charge


Whale Optimizer Algorithm


Wind Turbine

  1. Parisio A., Rikos E., Glielmo L., A Model Predictive Control Approach to Microgrid Operation Optimization, IEEE Trans. Control Syst. Technol., Vol. 22 (5), pp 1813-1827, 2014, https://doi.org/https://doi.org/10.1109/TCST.2013.2295737
  2. Kyriakarakos G., Dounis A., Arvanitis K., Papadakis G., A Fuzzy Logic Energy Management System for Polygeneration Microgrids, Renew. Energy, Vol. 41 , pp 315-327, 2012, https://doi.org/https://doi.org/10.1016/j.renene.2011.11.019
  3. Vivas F., Multi-Objective Fuzzy Logic-based Energy Management System for Microgrids with Battery and Hydrogen Energy Storage System, Electronics, Vol. 9 (7), pp 1074, 2020, https://doi.org/https://doi.org/10.3390/electronics9071074
  4. García P., Torreglosa J., Fernández L., Jurado F., Optimal Energy Management System for Stand-alone Wind Turbine/Photovoltaic/Hydrogen/Battery Hybrid System with Supervisory Control based on Fuzzy Logic, Int. J. Hydrogen Energy, Vol. 38 (33), pp 14146-14158, 2013, https://doi.org/https://doi.org/10.1016/j.ijhydene.2013.08.106
  5. Nwulu N., Xia X., Multi-Objective Dynamic Economic Emission Dispatch of Electric Power Generation Integrated with Game Theory based Demand Response Programs, Energy Convers. Manag., Vol. 89 , pp 963-974, 2015, https://doi.org/https://doi.org/10.1016/j.enconman.2014.11.001
  6. Aghajani G., Ghadimi N., Multi-Objective Energy Management in a Micro-grid, Energy Reports, Vol. 4 , pp 218-225, 2018, https://doi.org/https://doi.org/10.1016/j.egyr.2017.10.002
  7. Murty V., Kumar A., Multi-Objective Energy Management in Microgrids with Hybrid Energy Sources and Battery Energy Storage Systems, Prot. Control Mod. Power Syst., Vol. 5 (2), 2020, https://doi.org/https://doi.org/10.1186/s41601-019-0147-z
  8. Wang Z., Zhu Q., Huang M., Yang B., Optimization of Economic/Environmental Operation Management for Microgrids by Using Hybrid Fireworks Algorithm, Int. Trans. Electr. Energy Syst., Vol. 27 (12), 2017, https://doi.org/https://doi.org/10.1002/etep.2429
  9. Yuan X., Multi-Objective Optimal Power Flow based on Improved Strength Pareto Evolutionary Algorithm, Energy, Vol. 122 , pp 70-82, 2017, https://doi.org/https://doi.org/10.1016/j.energy.2017.01.071
  10. Hou H., Multi-Objective Economic Dispatch of a Microgrid Considering Electric Vehicle and Transferable Load, Appl. Energy, Vol. 262 , pp 114489, 2020, https://doi.org/https://doi.org/10.1016/j.apenergy.2020.114489
  11. Mirjalili S., The Ant Lion Optimizer, Adv. Eng. Softw., Vol. 83 , pp 80-98, 2015, https://doi.org/https://doi.org/10.1016/j.advengsoft.2015.01.010
  12. Abualigah L., Shehab M., Alshinwan M., Mirjalili S., Elaziz M., Ant Lion Optimizer: A Comprehensive Survey of Its Variants and Applications, Arch. Comput. Methods Eng., Vol. 28 (3), pp 1397-1416, 2021, https://doi.org/https://doi.org/10.1007/s11831-020-09420-6
  13. Van T., Snasel V., Nguyen T., Antlion Optimization Algorithm for Optimal Non-Smooth Economic Load Dispatch, Int. J. Electr. Comput. Eng., Vol. 10 (2), pp 1187-1199, 2020, https://doi.org/https://doi.org/10.11591/ijece.v10i2.pp1187-1199
  14. Hatata A., Hafez A., Ant Lion Optimizer Versus Particle Swarm and Artificial Immune System for Economical and Eco? Friendly Power System Operation, Int. Trans. Electr. Energy Syst., Vol. 29 (4), 2019, https://doi.org/https://doi.org/10.1002/etep.2803
  15. Fathy A., Abdelaziz A., Single and multi-objective operation management of micro-grid using krill herd optimization and ant lion optimizer algorithms, Int. J. Energy Environ. Eng. 2018 93, Vol. 9 (3), pp 257-271, 2018, https://doi.org/https://doi.org/10.1007/S40095-018-0266-8
  16. Wu X., Cao W., Wang D., Ding M., A Multi-Objective Optimization Dispatch Method for Microgrid Energy Management Considering the Power Loss of Converters, Energies, Vol. 12 (11), pp 2160, 2019, https://doi.org/https://doi.org/10.3390/en12112160
  17. Taha M., Abdeltawab H., Mohamed Y., An Online Energy Management System for a Grid-Connected Hybrid Energy Source, IEEE J. Emerg. Sel. Top. Power Electron., Vol. 6 (4), pp 2015-2030, 2018, https://doi.org/https://doi.org/10.1109/JESTPE.2018.2828803
  18. Karaboga D., Akay B., A Comparative Study of Artificial Bee Colony Algorithm, Appl. Math. Comput., Vol. 214 (1), pp 108-132, 2009, https://doi.org/https://doi.org/10.1016/j.amc.2009.03.090
  19. Mirjalili S., Lewis A., The Whale Optimization Algorithm, Adv. Eng. Softw., Vol. 95 , pp 51-67, 2016, https://doi.org/https://doi.org/10.1016/j.advengsoft.2016.01.008
  20. García P., García C., Fernández L., Llorens F., Jurado F., ANFIS-Based Control of a Grid-Connected Hybrid System Integrating Renewable Energies, Hydrogen and Batteries, IEEE Trans. Ind. Informatics, Vol. 10 (2), pp 1107-1117, 2014, https://doi.org/https://doi.org/10.1109/TII.2013.2290069
  21. Hossain M., Pota H., Squartini S., Zaman F., Guerrero J., Energy Scheduling of Community Microgrid with Battery Cost Using Particle Swarm Optimisation, Appl. Energy, Vol. 254 , pp 113723, 2019, https://doi.org/https://doi.org/10.1016/j.apenergy.2019.113723
  22. Moradi H., Esfahanian M., Abtahi A., Zilouchian A., Optimization and Energy Management of a Standalone Hybrid Microgrid in the Presence of Battery Storage System, Energy, Vol. 147 , pp 226-238, 2018, https://doi.org/https://doi.org/10.1016/j.energy.2018.01.016
  23. Wang T., He X., Deng T., Neural Networks for Power Management Optimal Strategy in Hybrid Microgrid, Neural Comput. Appl., Vol. 31 (7), pp 2635-2647, 2019, https://doi.org/https://doi.org/10.1007/s00521-017-3219-x
  24. Shen J., Jiang C., Liu Y., Wang X., A Microgrid Energy Management System and Risk Management Under an Electricity Market Environment, IEEE Access, Vol. 4 , pp 2349-2356, 2016, https://doi.org/https://doi.org/10.1109/ACCESS.2016.2555926
  25. Kiptoo M., Lotfy M., Adewuyi O., Conteh A., Howlader A., Senjyu T., Integrated Approach for Optimal Techno-Economic Planning for High Renewable Energy-based Isolated Microgrid Considering Cost of Energy Storage and Demand Response Strategies, Energy Convers. Manag., Vol. 215 , pp 112917, 2020, https://doi.org/https://doi.org/10.1016/j.enconman.2020.112917
  26. Faisal M., Hannan M., Ker P., Rahman M., Begum R., Mahlia T., Particle Swarm Optimised Fuzzy Controller for Charging-Discharging and Scheduling of Battery Energy Storage System in MG Applications, Energy Reports, Vol. 6 , pp 215-228, 2020, https://doi.org/https://doi.org/10.1016/j.egyr.2020.12.007
  27. Al-Sakkaf S., Kassas M., Khalid M., Abido M., An Energy Management System for Residential Autonomous DC Microgrid Using Optimized Fuzzy Logic Controller Considering Economic Dispatch, Energies, Vol. 12 (8), pp 1457, 2019, https://doi.org/https://doi.org/10.3390/en12081457
  28. Jin X., Mu Y., Jia H., Wu J., Jiang T., Yu X., Dynamic Economic Dispatch of a Hybrid Energy Microgrid Considering Building based Virtual Energy Storage System, Appl. Energy, Vol. 194 , pp 386-398, 2017, https://doi.org/https://doi.org/10.1016/j.apenergy.2016.07.080
  29. Reddy S., Momoh J., Realistic and Transparent Optimum Scheduling Strategy for Hybrid Power System, IEEE Trans. Smart Grid, Vol. 6 (6), pp 3114-3125, 2015, https://doi.org/https://doi.org/10.1109/TSG.2015.2406879
  30. Wu H., Zhuang H., Zhang W., Ding M., Optimal Allocation of Microgrid Considering Economic Dispatch based on Hybrid Weighted Bilevel Planning Method and Algorithm Improvement, Int. J. Electr. Power Energy Syst., Vol. 75 , pp 28-37, 2016, https://doi.org/https://doi.org/10.1016/j.ijepes.2015.08.011
  31. Abdullah M., Bakar A., Rahim N., Mokhlis H., Modified Particle Swarm Optimization for Economic-Emission Load Dispatch of Power System Operation, Turkish J. Electr. Eng. Comput. Sci., Vol. 23 (Sup.1), pp 2304-2318, 2015, https://doi.org/https://doi.org/10.3906/elk-1307-204
  32. Liu H., Ji Y., Zhuang H., Wu H., Multi-Objective Dynamic Economic Dispatch of Microgrid Systems Including Vehicle-to-Grid, Energies, Vol. 8 (5), pp 4476-4495, 2015, https://doi.org/https://doi.org/10.3390/en8054476
  33. Alvarado-Barrios L., Rodríguez del Nozal A., Tapia A., Martínez-Ramos J., Reina D., An Evolutionary Computational Approach for the Problem of Unit Commitment and Economic Dispatch in Microgrids under Several Operation Modes, Energies, Vol. 12 (11), pp 2143, 2019, https://doi.org/https://doi.org/10.3390/en12112143
  34. Mohamed F., Koivo H., Online Management Genetic Algorithms of Microgrid for Residential Application, Energy Convers. Manag., Vol. 64 , pp 562-568, 2012, https://doi.org/https://doi.org/10.1016/j.enconman.2012.06.010
  35. Nemati M., Braun M., Tenbohlen S., Optimization of Unit Commitment and Economic Dispatch in Microgrids based on Genetic Algorithm and Mixed Integer Linear Programming, Appl. Energy, Vol. 210 , pp 944-963, 2018, https://doi.org/https://doi.org/10.1016/j.apenergy.2017.07.007
  36. Wu H., Liu X., Ding M., Dynamic Economic Dispatch of a Microgrid: Mathematical Models and Solution Algorithm, Int. J. Electr. Power Energy Syst., Vol. 63 , pp 336-346, 2014, https://doi.org/https://doi.org/10.1016/j.ijepes.2014.06.002
  37. Feng J., Zhang J., Wang C., Jiang R., Xu M., Multi-Objective Economic Scheduling of a Shipboard Microgrid Based on Self-Adaptive Collective Intelligence DE Algorithm, IEEE Access, Vol. 8 , pp 73204-73219, 2020, https://doi.org/https://doi.org/10.1109/ACCESS.2020.2988530
  38. Mondal S., Bhattacharya A., nee Dey S., Multi-Objective Economic Emission Load Dispatch Solution Using gravitational Search algorithm and considering wind Power Penetration, Int. J. Electr. Power Energy Syst., Vol. 44 (1), pp 282-292, 2013, https://doi.org/https://doi.org/10.1016/j.ijepes.2012.06.049
  39. Lagouir M., Badri A., Sayouti Y., Development of an Intelligent Energy Management System with Economic Dispatch of a Standalone Microgrid, J. Electr. Syst., Vol. 15 (4), pp 568-581, 2019
  40. Lagouir M., Badri A., Sayouti Y., Multi-Objective Optimization Dispatch Based Energy Management of A Microgrid Running Under Grid Connected and Standalone Operation Mode, Int. J. Renew. Energy Dev., Vol. 10 (2), pp 333-343, 2021, https://doi.org/https://doi.org/10.14710/IJRED.2021.34656
  41. Triantaphyllou E., Mann S., Using the Analytic Hierarchy Process for Decision Making in Engineering Applications: Some Challenges, Int. J. Ind. Eng. Theory, Appl. Pract., Vol. 2 (1), pp 35-44, 1995