Abstract
The power generation industry needs to adopt renewable energy so as to reduce the utilization of fossil energy and pollution emission. In renewable energy power generation, microgrid operation optimization needs to consider multiple objectives such as economy and environmental protection, which is a multi-objective optimization problem. Aiming at the multi-objective optimization problem, based on the Pareto optimal concept, a hybrid crossover multi-agent multi-objective evolutionary algorithm is proposed and applied to the multi-objective optimization problem of microgrid systems, in which the economical cost and environmental protection are considered. The simulation results under three operating conditions show that compared with the classical NSGA-â ¡ algorithm, the proposed algorithm can obtain higher quality Pareto optimal solution in a shorter time. The efficiency of the proposed algorithm in this problem is higher than that of the classical NSGA-â ¡ algorithm. It can provide a higher quality solution for the optimal operation of a microgrid.
Keywords
Introduction
According to the statistics of the International Energy Agency (IEA), the global energy related carbon dioxide emissions in 2019 were the same as those in 2018 (about 330
Microgrids are a key technology for applying clean and renewable energy [3]. It is a small power generation and distribution system composed of a variety of renewable energy, energy storage system and energy conversion devices. Normally, a typical microgrid system includes wind power, photovoltaic, fuel cell,diesel generator, battery, which can increase reliability of microgrid, and other power generation equipment [4]. It is important to coordinate the resources with daily management, so as to obtain the benefit from microgrid [5].
When solving the multi-objective problem of microgrid operation optimization, there are two types of methods: one is to convert the multi-objective problem into a single objective problem, such as weight method. In reference [7], considering the economic and environmental factors, a multi-objective optimal model of microgrid is constructed. Based on the fuzzy optimization theory, the maximum fuzzy satisfaction method is used to convert the nonlinear multi-objective optimization problem into a single objective optimization problem. Combined with the Tabu search idea, the PSO algorithm is improved to solve the multi-objective optimization problem Reference [8] designed a fuzzy adaptive particle swarm optimization algorithm, which converts the multi-objective microgrid operation optimization problem considering economic and environmental objectives into a single objective optimization problem by weight method In reference [9], aiming at the economic operation cost and environmental pollution cost of microgrid, NSGA-II algorithm and PSO algorithm are combined and a new method NSGA-IIPSO optimization algorithm is proposed, which can obtain a higher dominant solution set when solving the multi-objective optimization problem Reference [10] takes the total operation and maintenance cost and total CO
Another method is to use a hybrid intelligent algorithm based on Pareto optimization. Reference [14] designed a multi-objective particle swarm optimization method and applied it to a microgrid system containing micro turbine, wind turbine, solar cell, battery and diesel generator, considering the operation economy and pollution emission In reference [15], MOEA and dynamic multiconstraints handling strategy were combined to solve the multi-objective optimization problem, which includes the economic operation and the pollutant emission in the microgrid operation Reference [16] proposed a non dominated genetic algorithm based on coevolution theory and Beetle antenna, and applied it on economic and environmental multi-objective optimization for a microgrid system integrating cold, heat and electricity Considering the most practical constraints and the variable loads reference [17] used NSGA-II and PSO algorithm to minimize two objectives, including emissions and cost in combined heat and power microgrid simultaneously, and compared the simulation results.
In a word, for the microgrid optimal operation problem considering multiple objectives, the solution set of the problem can be obtained in one operation by using the Pareto optimal swarm intelligence method, which is more efficient than the weight method. In the process of algorithm design, generally speaking, the solution quality of hybrid intelligent method is a good choice. In addition, agents in the multi-agent system (MAS) can act individually and cooperatively, and search in different regions at the same time, so as to obtain a solution set with better distribution and higher quality [18, 19]. Therefore, this paper combines multi-agent technology with evolutionary strategy, designs agent exponential crossover and orthogonal crossover cooperation operators, agent neighborhood optimization operators, agent mutation operators, etc., and proposes a hybrid crossover multi-agent multi-objective evolutionary algorithm (HCMAMOEA). The algorithm is applied to the multi-objective optimization problem of microgrid considering economic operation and pollutant emission, which contains micro turbine, fuel cell, photovoltaic, wind turbine, and energy storage equipment. The simulation results show that the algorithm in this work can obtain the Pareto optimal solution better than the classical NSGA? algorithm in a short time, so as to provide guidance for the optimal operation of microgrid.
Objective functions of microgrid operation
The grid connected microgrid system in this paper includes micro turbine (MT), photovoltaic power (PV), fuel cell (FC), battery (BAT) and wind turbine (WT) [8, 14]. Various micro sources are connected to the power transmission bus and connected to the external power grid, so they can also interact with the external power grid. The structure is shown below in Fig. 1.
Microgrid system structure.
The multi-objective optimization problem of microgrid operation includes two objective functions, the operation cost objective and the microgrid pollutant emission objective [8, 9, 14].
Objective 1: Operating cost objective can be described as below:
Where,
Objective 2: The pollution emission objective can be described as below:
In the above formula,
(1) Balance constrain
Where
(2) Upper and lower bound constraints
Where
(3) Battery charge discharge rate limit [8, 14]
Where,
Multi-agent system is a collection of multiple single agents. The system cooperates to complete the problem to be solved by coordinating the behavior of a group of agents. For the multi-agent system in this work, in order to reduce the amount of calculation, a lattice with 3
Structure diagram of a multi-agent system.
In this work, multi-agent technology and evolutionary strategy are combined, multi-agent crossover operator, multi-agent neighborhood optimization operator, multi-agent self-learning operator, multi-agent mutation operator, and archive set optimization operator are designed respectively, and finally a hybrid crossover multi-agent multi-objective evolution algorithm (HCMAMOEA) is proposed.
For the multi-agent crossover operator, it can act on any two individuals in the agent architecture, while for the multi-agent neighborhood optimization operator and self-learning operator, it only acts on the individuals connected by solid lines.
Hybrid crossover combines conventional crossover and orthogonal crossover, so as to give full play to the respective characteristics of the two crossover methods. From this strategy, the search area is expanded and the optimal solutions are obtained. The strategy of combining orthogonal crossover and conventional crossover is as follows.
Let the multi-agent crossover operator act on the individual
(1) Implement the general crossover strategy on
Where,
(2) The orthogonal crossover strategy is implemented for newL
Upper and lower limit of the k-th variable defined by
Where
The upper and lower limits [min
Randomly generate
An orthogonal table
In this work, the orthogonal table
(3) Through conventional crossover and orthogonal crossover, the individuals with the highest dominance level are selected and added to the external archive set. Two of them were randomly selected to replace the original agent.
Compare the dominance of the individuals in the neighborhood of the agent
Multi-agent self-learning operator
Impose Cauchy random number perturbation on Max_Neighbor(
Take
Cauchy random number perturbation can be applied to Max_Neighbor(
In order to further improve the quality of solutions, the mutation operation is implemented on the variables of agents with the probability
Where,
Since the archive sets are the individuals with the highest level of dominance, there is no dominance relationship between them. By calculating the crowding distance of individuals in the archive set [25], individuals with large crowding distance are selected and performed Cauchy random perturbation, so as to make the individuals in the archive set have higher approximation and better distribution.
Steps of HCMAMOEA
The steps of HCMAMOEA designed in this paper are as follows:
Randomly generate 9 individuals on the 3 If the number of iterations Gen is an integer multiple of genset, randomly select two individuals and implement the multi-agent crossover operator including conventional crossover and orthogonal crossover, compare the generated new individuals with the individuals in the archive set respectively, and retain the solution with the highest dominance level; Implement multi-agent neighborhood optimization operator for individuals on the grid, select the individuals with the highest dominance level and compare them with the individuals in the archive set, and update the archive set; Implement the multi-agent self-learning operator on the individual on the grid; Implement multi-agent mutation operator for individuals on grid; Calculate the crowding distance for the individuals in the archive set, select the part with the largest crowding distance, perform Cauchy random number perturbation, calculate the objective function value for the newly generated individuals, compare it with the original individuals in the archive set, update the archive set, and return to Step 2; If the number of iterations Gen is equal to the maximum number of iterations, output the individual in the archive set and end the operation.
The overall algorithm flow chart is shown in Fig. 3.
Flow chart of HCMAMOEA.
In this microgrid system, there are three working modes: the first is the basic mode, the second is the maximum renewable energy output mode, and the third is the unrestricted power interaction mode, which is between microgrid and external power grid [8, 14]. In the first mode, the output of each micro source is adjusted by optimizing the two conflicting objective functions of economic cost and pollutant emission; In the second mode, photovoltaic and wind turbines work at the maximum power allowed by natural conditions, and the Pareto optimal solutions of the two objective functions of pollutant emission and economic cost are obtained by adjusting the output of other micro sources; In the third mode, the power interaction between microgrid and external power grid is no longer limited.
Operation cost and pollution emission of micro sources
Operation cost and pollution emission of micro sources
The Maximum allowable operating power of WT and PV under current day conditions
The start-up and shutdown cost, operation cost, and pollutant emission of micro sources are shown in Table 2, and the maximum allowable operating power of photovoltaic and wind power is shown in Table 3 [8, 14].
The purchase and sale price are shown in Table 2, and the load demand is shown in Fig. 4.
Daily peak to valley electricity price
Hourly power demand in a day.
This optimization problem includes different working modes, and the optimization variables include the actual output and operation and stop states of the equipments. In order to improve computational efficiency, the operation and stop states of the equipment are determined by the output of the equipment.
The simulation environment consists of hardware and software, the hardware is Intel (R) core (TM) i5-6300hq CPU, 8G memory, and the software is MATLAB 7.1.
In the first working mode, the hourly output of each micro source is reasonably optimized to minimize the cost and pollutant emission of the micro grid system as much as possible. In this mode, since the gas turbine and fuel cell have startup and shutdown costs, the startup and shutdown of gas turbine and fuel cell are determined according to the load distribution of gas turbine and fuel cell in each iteration. In the shutdown states, the load that does not meet the startup conditions shall be preferentially distributed to wind power, photovoltaic and other clean energy [26], in the order of wind, solar energy, storage battery and external power grid. Under this working mode, there are 24 * 5 independent variables, which respectively correspond to the output of 5 micro sources per hour in a day. The load demand subtracts the sum of the output of the first five micro sources, so as to determine the output of another source, from which the balance constrain is satisfied. The number of iterations of hybrid crossover multi-agent multi-objective evolutionary algorithm is 3000, the crossover operator acts once every 80 generations
In reference [27], several classical multi-objective evolutionary algorithms are compared. For 2-objective problems, NSGA-II algorithm can obtain higher quality solution sets in a short time. Therefore, the NSGA-II algorithm is selected for comparative research. The number of iterations of the NSGA-â ¡alogrithm is 600, the population size is 100 The results are shown in Fig. 4.
The pareto solutions obtained by HCMAMOEA and NSGA-II under the working mode 1.
Under this working condition, the running time of HCMAMOEA is 43 s and that of the NSGA-II alogrithm is 71 s. It can be seen from the results that HCMAMOEA can obtain a solution set better than the classical NSGA-II algorithm in a short time.
The compromise solution is calculated by the formula below [28].
Let the individual with the maximum value in Eq. (22) be the optimal compromise solution, where:
Table 5 shows the output of each micro source in every hour corresponding to the optimal compromise solution under working mode 1, in which the economic cost is 646.7871Ect and the pollution emission is 438.8846 kg.
Output of each micro source per hour corresponding to the optimal compromise solution under mode 1
Under this working condition, because the outputs of wind power and photovoltaic are in the maximum allowed power mode, only the output of gas turbine, fuel cell , battery, and external power grid need to be considered every hour. The sum of the current load demand minus the output of five micro sources is used as the output of the external power grid. If the output currently allocated to the gas turbine or fuel cell is lower than the minimum operating load, stop the gas turbine or fuel cell and allocate the output to the battery and external power grid. Under the current working mode, the number of actual equipment output variables is set to 24 * 3, the number of iterations of HCMAMOEA is set to 7000, the crossover operator acts once every 80 generations, the number of iterations of the NSGA-II algorithm is set to 600, and the population size is set to 100. The results are shown in Fig. 6.
The Pareto solutions obtained by HCMAMOEA and NSGA-II under the working mode 2.
Compared with NSGA-II algorithm, it can be seen from the simulation results that some solutions obtained by HCMAMOEA are dominant and the other is non dominant.
The solution time of HCMAMOEA is 52 s and that of the NSGA-II is 72 s. On the whole, in this working mode, this algorithm is slightly better than the classical algorithm.
Table 6 shows the output of each micro source in every hour corresponding to the optimal compromise solution under working mode 2, in which the economic cost is 786.1415Ect and the pollution emission is 339.6266 kg.
Output of each micro source per hour corresponding to the optimal compromise solution under mode 2
Under working mode 3, the power interaction between the microgrid and the external power grid is no longer limited. Therefore, the power exchanged between the microgrid and the external power grid is determined by subtracting the total output of the five micro sources from the load demand of the current time. Under this condition, if the load currently allocated to the gas turbine or fuel cell is lower than the minimum starting load, it will shut down and regenerate other equipment loads, and the sum of load demand minus other equipment loads will be used as the interactive power of microgrid and external power grid. Under the current working condition, the number of actual equipment output variables is set to 24 * 5, the number of iterations of HCMAMOEA is set to 3000, the crossover operator acts once every 80 generations, the number of iterations of the NSGA-â ¡ algorithm is set to 600, and the population size is set to 100. The results are shown in Fig. 7.
Under this working mode, the calculation time of HCMAMOEA algorithm is 31 s, while that of the NSGA-II algorithm is 173 s.
It can be seen from Fig. 7, the Pareto optimal solution of the problem obtained by HCMAMOEA algorithm is much better than the solution obtained by the NSGA-II algorithm.
Table 7 shows the output of each micro source in every hour corresponding to the optimal compromise solution under working mode 2, in which the economic cost is 682.3919Ect and the pollution emission is 420.9909 kg.
Output of each micro source per hour corresponding to the optimal compromise solution under mode 3
Output of each micro source per hour corresponding to the optimal compromise solution under mode 3
The pareto solutions obtained by HCMAMOEA and NSGA-II under the working mode 3.
From the optimal compromise solution of the results obtained under the three working modes, it can be seen that under working mode 2, the pollutant emission is the least, where the wind power and PV are working in maximum power mode. However, due to the operation cost of the two micro sources, the operation cost of the optimal compromise solution is the highest under the three working conditions. The optimal compromise solutions obtained under conditions 1 and 2 are relatively close, the operating cost of condition 1 is slightly lower than that of condition 3, and the pollutant emission is slightly higher than that of condition 3. The total electricity sales to the external power grid under the optimal compromise solution of working mode 1 is about 244 kwh, while the electricity sales to the external power grid under the optimal compromise solution of working mode 3 is about 349 KWH. Because the electricity sales price is lower than the micro source operating cost as a whole, Thus, the operation cost of condition 3 is slightly higher than that of working mode 1, and the pollution emission is lower than that of working mode 1.
Pareto optimal compromise solutions of different working modes
Aiming at the multi-objective optimization problem of microgrid operation, a hybrid cross multi-agent multi-objective evolutionary algorithm is designed and applied to the multi-objective optimization problem. Then this algorithm is compared with the classical multi-objective evolutionary algorithm NSGA-II. The conclusions are as follows:
Using the grid structure of an agent system, the orthogonal crossover method is combined with conventional crossover, the multi-agent hybrid crossover operator is designed, and a hybrid crossover multi-agent multi-objective evolutionary algorithm is proposed. The algorithm is applied to the multi-objective optimization problem of microgrid operation, and the results are better than the classical NSGA-II algorithm. Especially under conditions 1 and 3, the results obtained in a short time are obviously dominant compared with NSGA-II algorithm. The reason focuses on two aspects. One is the application of multi-agent structure in the algorithm designing. The structure has remarkable features, such as autonomy, distribution, coordination, etc. By the above characteristics, it is conducive to the design algorithm to find a higher quality solution set. The other reason is the application of hybrid strategy. In this algorithm, evolutionary strategy and multi-agent framework are mixed. The hybrid strategy mixes the advantages of different algorithms and give full play to their respective strengths, so that the high-quality solution of the problem can be found effictively. The optimal compromise solution of HCMAMOEA under three working modes is analyzed, and the results are consistent with the actual operating conditions.
Footnotes
Acknowledgments
This work was supported by the scientific research fund of Nanjing Institute of Technology (Grant No. YKJ201610).
Conflict of interest
The authors declare no conflict of interest.
Author contributions
Liheng Liu and Dongliang Zhang conceived and designed the experiments; Liheng Liu performed the simulation; Liheng Liu, Jinping Wang and Jin Yan analyzed the data; Liheng Liu wrote the paper.
