Abstract
Investigation of the environmental/economic optimal operation management of a microgrid (MG) as a case study for applying a novel modified multi-objective grey wolf optimizer (MMOGWO) algorithm is presented in this paper. MGs can be considered as a fundamental solution in order for distributed generators’ (DGs) management in future smart grids. In the multi-objective problems, since the objective functions are conflict, the best compromised solution should be extracted through an efficient approach. Accordingly, a proper method is applied for exploring the best compromised solution. Additionally, a novel distance-based method is proposed to control the size of the repository within an aimed limit which leads to a fast and precise convergence along with a well-distributed Pareto optimal front. The proposed method is implemented in a typical grid-connected MG with non-dispatchable units including renewable energy sources (RESs), along with a hybrid power source (micro-turbine, fuel-cell and battery) as dispatchable units, to accumulate excess energy or to equalize power mismatch, by optimal scheduling of DGs and the power exchange between the utility grid and storage system. The efficiency of the suggested algorithm in satisfying the load and optimizing the objective functions is validated through comparison with different methods, including PSO and the original GWO.
Keywords
Introduction
Recent increases in energy prices and environmental concerns have led to the penetration of renewable distribution generators (DGs) in distribution systems [1]. Microgrid (MG) is a concept resulted from the need of reliable power systems with clean energy sources which can make it easy to have a satisfactory communication and optimal energy management of the power system [2]. A review of modelling, planning and energy management of an MG is presented in [3]. Since control and operation management of MGs are midway through improvement, diverse techniques are proposed in order for optimization of these networks. Consequently, more precise energy source scheduling in MGs considering different objectives seems to be required. Various researches have been conducted dealing with optimal operation scheduling considering different constraints and objectives [4–12].
The choice of optimization technique depends on several different factors; therefore, different methods such as mathematical programming based optimization approaches and meta-heuristic algorithms can be proposed to solve problems [13, 14]. The lambda iterative method, gradient projection method, linear/non-linear programming interior point methods, dynamic programming, etc. can be named as examples of mathematical programming based methods. On the other hand, meta-heuristic algorithms are proper alternatives to mathematical programming. In the case of solving multi-objective optimization problems, the major motivation of employing meta-heuristic algorithms instead of mathematical programming approaches is the ability of meta-heuristics in finding different solutions in the Pareto optimal front in just one execution of the algorithm, while the mathematical programming methods apply a sequence of independent executions. Furthermore, meta-heuristic algorithms are not sensitive to the continuity and formation of the Pareto front [13].
In the MGs’ environmental∖economic management a certain number of DG units are supposed to supply the load while minimum levels of cost and emission are satisfied under considered constraints [12]. When minimization of both environmental pollutants’ emission and energy cost comprise the objectives, the problem will be multi-objective, since these objective functions are conflicting. Multi-objective optimization approaches are developed for the sake of achieving Pareto optimal solutions of the conflicting objectives such that the operator is capable of making a trade-off among the set of optimal solutions. Some papers are devoted to the multi-objective economic∖emission optimal operation of MGs, applying different meta-heuristic algorithms [5, 15–19]. A krill herd (KH) algorithm is suggested in [5] for stochastic optimal operation management of a grid-connected MG. In [15] optimization of the environmental economic problem in MG is considered and multi-objective mesh adaptive direct search is presented to minimize the total cost. A multi-objective bi-level optimal operation model for distribution network and MGs is suggested in [16] and the problem is solved using a self-adaptive genetic algorithm and nonlinear programming. In [17] a θ-PSO algorithm is applied to deal with the MG’s energy management problem. Authors in [18] proposed a θ-krill herd algorithm. A multi-objective PSO is used in [19] in order to optimize MG’s short-term performance. The superiority of an optimization algorithm in solving multi-objective problems is revealed from its robustness and fast convergence to a well-distributed Pareto-optimal front over the course of time. In comparison with other meta-heuristic algorithms, the grey wolf optimizer (GWO) algorithm, introduced by Mirjalili et al, manifests approximately proper search speed and convergence in solving some optimization problems [20]. In this paper, in order to investigate the multi-objective optimal operation management (MOOM) problem, a modified multi-objective GWO (MMOGWO) algorithm is proposed. Most of algorithms are needy to onerous tuning process of control parameters which is not required in MMOGWO that makes it superior among all other algorithms. Accordingly, the following objectives are met in the paper: A novel algorithm is proposed comprising three modifications. The first modification is in the size of population which leads to a variable population. Consequently, trapping in local optima is avoided and the algorithm’s convergence speed is increased. Two other modifications are imposed in the mutations as is described in Section 4.3, which lead to the increase of the accuracy and convergence capability of the algorithm. A novel method for controlling the size of repository is applied such that the algorithm’s speed improved while the search space becomes immense which leads to finding the optimum global (best compromised) solution faster and more precisely. Since the ON/OFF states of DGs are taken in to account, a mixed-integer problem is solved in the article. Two different objective functions are assumed. An exquisite Pareto front of optimal solutions is achieved while the computational time is very low. The effectiveness of the proposed approach is affirmed by applying it on the typical MG of [12]. Additionally, the robustness of the algorithm, as its other outstanding feature, is highlighted through the simulation results.
Problem formulation
In the considered MOOM problem, optimal allocation of power generation set points besides proper On∖Off states of DG units are defined such that the objective functions, namely the operating cost and emission of the MG, are minimized while several constraints are satisfied [12].
Cost and emission minimization
In order to consider total operation cost as the first objective function the following should be satisfied:
in which
Note that the utility has to buy all electrical power produced by RES units, consequently RESs’ output powers (
As the second objective, the environmental pollutants should be minimized as the following [12]:
where
where
- Power balance
One of the most important requirements in MG management is the balance of electricity demand and supply, hence [12]:
where
- Battery limits
In order to consider the limitation on charge and discharge rates of the storage devices during each time intervals, along with limits on the state of charge (SOC) of each storage device the following equation and constraints are mentioned for a typical battery [21]:
where is the SOC of the sth storage at the end of one-hour interval which is associated to the time t as the following:
in which
- Real power constraint
Power generations for each dispatchable DG are limited as:
The power exchange with utility grid is constrained as follows:
Constraints on the rate of charge and discharge of the battery during an hour are considered as the following:
Characterization of multi-objective optimization
In a typical multi-objective problem, a number of objective functions are simultaneously optimized. In most of the situations, these objective functions are conflict which is a barrier to select an optimum solution for all the objective functions. In most cases, multi-objective problems have more than one optimal solution, which are called the non-dominated solutions. Within the whole search space, the non-dominated solutions are expressed as Pareto-optimal which establish the Pareto-optimal set or Pareto-optimal front. Considering a multi-objective minimization problem, while meeting a number of equality and inequality constraints, a solution X1 dominates X2 if the following conditions are satisfied [13, 14]:
where f i (X) is the ith objective function, X is the vector of the optimization variables, and n is the number of objective functions [13, 14]. In order to assess the suitable particles to be stored in the repository of non-dominated solutions, the concept of Pareto-optimal is employed [13, 14].
Since the size of repository is limited, a finite number of solutions can be accumulated. In this paper, repository size is controlled through a novel distance-based method.
When the number of non-dominated solutions in the repository exceeds a predefined value, namely N L , they are sorted ascending according to one of the objective functions, and the first and the last of the sorted non-dominated solutions are assumed as A and B, respectively. The pseudo-code of the proposed method for controlling the size of repository is as shown in Table 1. In this table Nnon-dom is the number of non-dominated solutions, f i is the objective function and M is the number of objective functions.
The pseudo-code of the proposed method for controlling the size of repositor
The pseudo-code of the proposed method for controlling the size of repositor
As was mentioned, the Pareto front should be scattered uniformly. Additionally, considering each objective function to be minimized independently, the best solution of each should be obtained. In order to achieve these goals, particles should be refrained to accumulate in populated domains. Hence, the proposed method of [21] is applied to improve the properties of Pareto optimal front and to select the global best compromised solution. In this technique, objective functions are normalized such that relatively equal significance is provided to the both objectives as follows:
where f1 and f2 are objective functions cost and emission, respectively. Initial guess for ω1 and ω2 is equal to 0.5.
A brief overview on original GWO algorithm
A swarm-intelligence algorithm impressed by the hierarchical hunting manner of grey wolves, namely GWO, is presented by Mirjalili et al. [20]. The social hierarchy of grey wolves is classified in four groups including the group leader, alpha (α), as the first level, beta (β) as the second level who cooperates alpha in decision making, while the third best solution is called delta (δ) which comes after alpha and beta but leads the fourth hierarchy, omega (ω), which should defer to other three dominant levels. The hunting mechanism of grey wolves is as follows [20]: Tracking, chasing, and approaching the prey. Pursuing, encircling, and harassing the prey until it stops moving. Attacking the prey
In the optimization process ωs randomly update their positions around the prey according to the estimated position of the prey by α, β and δ. The encircling is then performed as follows:
k indicates the current iteration, Xp,k is the position vector of the prey, X k is the position vector of a grey wolf, D is the distance between Xp,k and X k , while A and C represent the discrimination weight coefficient of search agent, and random mutation coefficients, respectively and are calculated as following:
where r1 and r2 are random vectors in [0, 1], a is linearly decreased from 2 to 0 over the course of iteration.
Hunting the prey as the last step of the procedure is guided by α, while β and δ participate in this step. α, β and δ have better knowledge about the potential position of the prey. The position of each grey wolf is updated as follows:
where A1, A2 and A3 are respectively decisive weight coefficients of α, β and δ, values of which decrease progressively.
In this paper in order to investigate a bi-objective problem to optimize both the total cost and emission simultaneously, a multi-objective GWO (MOGWO) should be applied. Accordingly, X
α
, X
β
and X
δ
are not fixed for each member and are selected randomly from the repository as is described. If the number of non-dominated solutions in the repository is more than three, after being sorted according to one of the objective functions the repository is divided into three equal sections. X
α
is selected randomly from the first section which is from the first non-dominated solution in the repository up to the
This procedure leads to an intelligent selection of X α , X β and X δ where all three sections of the repository take part in the output Pareto front and consequently the actual Pareto optimal set is obtained.
Modified multi-objective GWO algorthim (MMOGWO)
In order to achieve a real Pareto optimal front in the MOOM problem, the original GWO should be enhanced. Consequently, three modifications, one in the size of population and the two others in the mutations, are augmented to improve the convergence ability and the accuracy of the approach.
- Modification I
To increase the convergence speed of the algorithm, the size of population is considered variable and changes as follows:
where Nmin and Nmax are the minimum and maximum populations respectively, and itermax is the maximum number of iteration. A prominent feature of the proposed modification is that the selection of a variable population size leads to the increase of the population in each iteration, therefore, the population size is not fixed which helps to avoid trapping in local optima. As a result, the accuracy and convergence capability of the algorithm will improve.
- Modification II
In addition to the described modification in the previous section, the second modification is applied to improve the accuracy of the proposed approach. Five constants k1 ≠ k2 ≠ k3 ≠ k4 ≠ k5, unequal to i, are chosen randomly from the population, while three constants
where after sorting the repository, the first non-dominated solution is selected as X b est and in each iteration the best non-dominated solutions are selected in turn as X b est such that all repository members take part in the population generation, while X w orst is the most dominated solution in the population.
- Modification III
In order to increase the convergence speed of the algorithm the third modification is augmented according to the pseudo code of Table 2.
The pseudo-code of modification III
In order to apply the proposed algorithm on the MOOM problem in an MG, the following steps should be taken.
However, in order to consider the states of all units,
If Equation (23) is satisfied, a random population for continuous variables based on the achieved U i s and according to Equation (2) must be generated as Equation (24).
while the power constraints in Equations (8–10) should be satisfied.
Since in the considered problem some limitations, such as battery constraints, depend on previous and future hours, constraints change in different hours of the day as follows:
The limitation of the released energy in the discharging mode and the stored energy in charging mode are mentioned in Equations (25 and 26), respectively, while Equation (28) demonstrates the power discharged by the battery in the discharge mode, and the power charged by the grid in the charging mode. Using Equations (28 and 29), the maximum and minimum rates of charging and discharging mode can be calculated [22].
If
If
The flowchart of the proposed algorithm is illustrated in Fig. 1.

Flowchart of the proposed algorithm.
The effectiveness of the proposed MMOGWO algorithm is verified in this section where two cases are investigated. The MG of Fig. 2 is considered as the test system. A 24-hour scheduling scheme is assumed for the analysis of the simulated system in order to clarify the performance of each power unit. Besides, the unity power factor is considered for all DGs, thus they just produce active power. The decision about power exchange between the MG and the utility, which is allowed at any hour in a day in order to more profitably exploit the market, is taken by MG central controller (MGCC). The data for the hourly active power of PV and WT, forecasted load demand and the utility power production bid, besides the entire bid data for all DGs along with the power market are available in [12]. PV and WT units do not consume any fuel at the times they produce electrical power during the day, consequently, the utility has to buy all electrical power produced by these units [12]. A Pareto-optimal set is attained for the two incompatible objectives (cost and emission) in each case. It is worth mentioning that applying the proposed approach for controlling the size of repository leads to the extraordinary fast convergence of the proposed MMOGWO that makes it superior among all other existing algorithms. The proposed method was implemented in MATLAB 8.1 and solved in a laptop with Core i5 CPU and 4GB RAM. The number of population and maximum iteration are both considered 100.

A typical MG test system [12].
In this section, it is assumed that PV and WT (as non-dispatchable units) are in service at all hours during the day and are accepted to exploit at their maximum available output powers. This is while the ON∖OFF states of dispatchable DGs (i.e. FC and MT) are considered. Therefore, in the algorithm process, the solutions for dispatchable units are compared with their minimum limit powers and if lower, the power will be put to zero. In this case no limits on the battery’s initial charge is considered. The Pareto optimal front of this case is revealed in Fig. 3, and results for three algorithms, including original GWO, PSO, and the proposed MMOGWO, are compared. The best compromised solution along with the values of the points where cost and emission are minimum are depicted. It is observed that in solving the MOOM problem, in addition to fast convergence, the proposed MMOGWO algorithm is able to properly find the points where the objective functions are in their minimum values, and the Pareto optimal front maintains between these points, while one deficiency of the two other algorithms in dealing with the considered MG energy management problem is the incapability to detect these points. Evidently, when the cost function is at its minimum value, 281.3 €, the emission is 862.8 kg. Besides, when emission decreases to 455.9 kg, cost equals 857.2 €. The best compromised solution is calculated according to the procedure described in section 3.3 where the cost and emission objective functions are 373.4 € and 566 kg, respectively.
In order to justify the robustness and effectiveness of the proposed MMOGWO algorithm, the program is executed four times and results of these four different executions in the first case are revealed in Fig. 4. Obviously, the achieved Pareto optimal sets in all four runs are approximately similar. It can be concluded that since the numbers of non-dominated solutions saved in the repository in different runs of the program, which are 150, 150, 147 and 149 respectively for the first, second, third and fourth runs, are very close, the proposed algorithm is robust. Thereupon, not only can the proposed algorithm increase the convergence speed but also it decreases quiescence which results in getting away from local optimums. Consequently, the proposed MMOGWO proposes more robust and qualified solutions.

Comparison of the objective functions Pareto optimal fronts of MMOGWO, original GWO and PSO algorithms for the first case

Four different executions of MMOGWO algorithm (first case).
The power dispatch in the best compromised solution obtained using MMOGWO in this case is presented in Tables 3 in details. From these results, it is concluded that all equality and inequality constraints are satisfied. In the dispatch of the battery, when the battery is charging the values of power are negative, while during the discharging hours the values of power are positive. However, for the utility the negative values are representative of delivering energy to the upstream network, while the positive values are related to the times when energy is purchased from the upstream network. According to Table 3, since there is no limit on the battery charge, and the bid of the battery is less than other units, it sells power up to its maximum value in all hours of the day. Additionally, since the price of FC is less than MT, the purchased power from FC in different hours of the day is more. The MT power is limited on its permissible minimum value in most of hours because of the high price of power in comparison with other units.
MMOGWO best compromised solution of the first and second cases
As is expected, it is evidently obvious from Table 4 that when cost is the only considered objective function, it is significantly lower (which is equal to 269.85 €;) in comparison with the case that the ON/OFF states of dispatchable units is not considered where it is 278.25 €. According to Table 4, in the first 8 hours of the day, it is more economical when MT is in OFF mode.
MMOGWO optimal solution achieved in the first case where the cost is reduced to 269.85 €
In the second scenario the battery initial charge is expected to be zero. The Pareto optimal solutions for this case are illustrated in Fig. 5, where the best compromised solution along with the points where the two objective functions are minimum for the proposed MMOGWO are revealed, besides a comparison between three algorithms, original GWO, PSO, and MMOGWO, is performed. The minimum cost is equal to 484 €, while emission is 1114 kg; in Emission-minimum, the emission is reduced to 950.9 kg, while cost equals 944.4 €. The conflict of the two objectives can be concluded from these obtained values. Consequently, the detailed dispatch of the best compromised solution for the second case is tabulated in Table 3. In this case, the best compromised solution is when the cost and emission objective functions are 643.7 € and 1026 kg, respectively. It is obvious from Table 3 that in the first 7 hours of the day, the local load is supplied by purchasing from the utility grid and even from MT, while the energy surplus is stored in the battery. At hour 8, the battery starts to discharge for the load being supplied, where in this case, the energy surplus is sold to the upstream network. At hour 13 energy is purchased from the upstream network since the market price is low and as the market price is at maximum value at hour 14 this stored energy is sold to the utility at the next hour. Then, at hour 16 the battery is completely discharged. From hour 17 to 24 during which the market price is approximately low, the power is purchased from the upstream network and the battery is not charged nor discharged. Since the price of FC is less than other units, it sells power up to its maximum value in all hours of the day.

Comparison of the objective functions Pareto optimal fronts of MMOGWO, original GWO and PSO algorithms for the second case.
In Fig. 6a comparison between four executions of the algorithm in the second case is shown. Obviously, the achieved Pareto optimal sets in all four runs are approximately similar. As is obvious from Fig. 6, the numbers of non-dominated solutions saved in the repository in different runs of the program, which are 180, 178, 179 and 177 respectively for the first, second, third and fourth runs, are very close. Consequently, the robustness of the proposed MMOGWO algorithm in the second case can be justified through the results of Fig. 6.

Four different executions of MMOGWO algorithm (second case).
When the initial charge of the battery is zero, a strict restriction on the battery charge and discharge is put on. Consequently, the most adjustable scenario is when the battery has initial charge. Because of the more realistic performance of the battery in the second case, more power is purchased from MT, comparatively. In both cases, in most hours a large amount of power is bought from FC since it is less expensive. In first hours of the day where the market price is lower, the system operator purchases power from the utility. This power can be utilized in order to supply local loads or can be stored in the storage device. However, in peak hours, the stored power can be sold to the utility in a much higher price.
The superiority of an optimization algorithm in solving multi-objective problems is concluded from the appropriate and fast convergence, while attaining exact Pareto front. Moreover, the robustness of an optimization algorithm can be another criterion in order to prove the effectiveness of the method. Consequently, as is concluded from the obtained results and by comparing the Pareto optimal sets of three algorithms in solving the MOOM problem, the priority of the proposed MMOGWO algorithm along with its robustness and accuracy is justified. Accordingly, it is proved that the proposed MMOGWO has successfully fulfilled these assumed criteria, and it can significantly achieve the exceptional solution in comparison with other methods in solving MOOM problem of an MG.0
The new MMOGWO algorithm was proposed in order to deal with the multi-objective optimal operation management in a typical MG. Three modifications were added to the original GWO which result in more accurate and faster performance of the suggested approach. The variable population size resulted from the first modification avoids trapping in local optima, while the two other modifications were augmented to the mutation procedure in order to increase the convergence speed and robustness of the algorithm. Additionally, a novel method was applied for controlling the size of repository which generates a well-distributed Pareto front in a very low computational time. As a result, the accuracy and speed of the algorithm will improve. It is obvious from the results that an exceptional Pareto optimal set was achieved while applying the presented method comparing with original GWO and PSO algorithms. Two different scenarios were considered in order to justify the effectiveness of MMOGWO. Simulation results manifest that the proposed method is able to deal with mixed-integer problems. Future works can include the following: Investigating the stochastic MG optimal operation management while considering the uncertainties of renewable resources using the proposed algorithm. Studying the effects of elements of the future smart grid, such as electric vehicles, in the considered MG energy management.
Footnotes
Acknowledgments
This work was supported in part by Royal Academy of Engineering Distinguished Visiting Fellowship under Grant DVF1617∖6∖45.
