Compared with traditional fossil energy, renewable and clean energy such as wind energy and solar energy are safe, pollution-free, widely distributed and conducive to small-scale decentralised utilisation [1]. With the growth of these clean and renewable energies, distributed generation has created a steadily increasing amount of research interest. To improve security, stability and power quality, it is an effective way to exert the efficiency of distributed generation system in the form of a microgrid [2].
A microgrid is an automatic and stand-alone system, which can realise self-control, safeguard and administration. From the macroscopic view, a microgrid can be seen as a ‘virtual’ power supply source or a load in the network. The optimal configuration of a microgrid is one of the key issues to ensure the economic and reliable operation of the microgrid. It is generally necessary to consider the following aspects: economic indicator, self-power supply capacity indicator and environmental protection indicator in the microgrid allocation optimisation problem. The economic indicator mainly reflects the economy of microgrid operation, such as the construction of distributed generation, operation and maintenance costs, replacement costs and fuel costs [3]. The load power shortage rate indicator refers to the power supply performance of the microgrid, which reflects the ability of the microgrid to meet the load requirements of the microgrid in an independent state. Environmental protection indicator refers to the environmental benefits of microgrid operation. Through environmental protection indicators, the advantages of the environmental protection benefits of the microgrid can be measured. In addition, targets such as power loss minimisation and voltage profile improvement are also considered. Therefore, the optimal configuration of the microgrid is a multi-objective optimisation problem.
In the optimisation of capacity allocation, the economic requirement can be considered separately according to specific needs [4, 5]. In this situation, the allocation problem is a single objective optimisation problem. However, in most cases, multiple objectives should be considered. When optimising multiple objective functions, multiple objectives can be integrated according to certain weights and then solved by the single-objective optimisation method [6]. A multi-objective optimisation algorithm based on Pareto optimal solution can also be used to solve the problem [7]. In this process, the Pareto solution set of the problem to be optimised can be obtained by a single run. Compared with the weight method, the latter can get the solution set more comprehensively and efficiently. In fact, the weight method takes only a small part in solving multi-objective optimisation problems, and the rest employ the Pareto front method.
In the process of solving the multi-objective capacity allocation problem, many algorithms have been designed and applied. Compared with the basic intelligent algorithm, a hybrid intelligent algorithm has many outstanding advantages in solution quality, problem processing scale and convergence speed, and therefore it may be more suitable for solving such problems [8,9,10]. Meanwhile, the utility of agents for solving problems has aroused much concern these years. The concept of agents and their generation, which constructs a multi-agent system (MAS) and allows different search spaces to be explored simultaneously, thereby achieving solutions with more diversity and high quality [11].
In view of the advantages of hybrid intelligent algorithms and the multi-agent approaches, approaches with multi-agent technology are a good choice in the process of hybridisation [9]. In this study, a differential multi-agent multi-objective evolutionary algorithm (DMAMOEA) was designed by combining differential evolution strategy and multi-agent technology, which is used to solve the capacity optimisation problem of the microgrid including wind turbine, photovoltaic equipment and battery storage, considering the two objectives of economy and load outage rate.
Comparing the results with the classical multi-objective evolutionary algorithm – Non-dominated Sorting Genetic Algorithm II (NSGA-II), the quality of the final solution set and solution time of the designed algorithm is better than that of the classical algorithm. Subsequently, some representative solution in the solution set is analysed and the effectiveness of microgrid implementation is also illustrated.
In this work, the optimal allocation model of microgrid capacity includes three kinds of equipment: photo-voltaic power production facility, wind power production facility and storage battery. The output models of the three kinds of equipment are as follows.
The power output of the photovoltaic array can be described as follows as in Eq. (1) [12]:
The output power of a wind turbine fluctuates with the fluctuation of wind speed. Thus, the actual distribution of wind speed must be obtained to calculate the power output of the wind turbine. It can be pointed out that the wind speed distributed on the ground is different from the height of the measuring point. The real-time wind speed data provided by the Meteorological Bureau are generally measured near the altitude of 9 m. To get the actual output power of the wind turbine, the measured wind speed should be converted into the speed at the height of the rotating shaft of the wind turbine. The conversion can be roughly calculated by the following equation: [13, 14].
The remaining electricity of the battery at time
The residual electric quantity can be described as under when the battery discharges or charges [15].
The power outputted from wind turbines and solar photovoltaic power generation equipment is related to local weather conditions, which are random and cannot be adjusted artificially. Battery energy storage systems can be charged and discharged within a certain range and can supplement the difference between renewable energy (wind turbine and photovoltaic power generation) and load demand according to specific conditions. In addition, by connecting power lines, the microgrid can exchange energy with the main network, sell surplus power to the main network or purchase power from the main network to satisfy the load demand of the microgrid. In this work, the overall energy control strategy is to use the power of wind turbine and photovoltaic unit preferentially in the microgrid system, and the battery plays the role of energy buffer and system standby.
A year is divided into 8760 h. Assuming that the output power of wind turbine and photovoltaic remains constant within an hour, the difference between the system load demand and the total wind and photovoltaic power generation is calculated according to the mathematical model of each micro-source.
In this case, there are some operation principles with the microgrid. They are mentioned below:
If the power generated by renewable energy generation equipment equals the load demand of the microgrid, the batteries don’t charge or discharge, and no energy interacts between the microgrid and main network. If the power generated by the renewable energy equipment surplus the load demand in the microgrid, the batteries should be charged preferentially with the allowance state of the batteries. If there is still surplus power, it will be sold to the external power grid as far as possible within the power limit of tie-line backward transmission, and the remaining power will be the system energy spillover. If the net load is greater than zero, the renewable energy generation power is insufficient. Under the conditions of the batteries discharge power and the state are allowed, they are preferentially used to balance the load in a microgrid. When the power which is discharged by the batteries cannot meet the load demand, the left power is purchased from the main network to ensure power balance in the microgrid.
In the actual micro-grid operation process, it is necessary to consider not only the economics of the microgrid but also power supply reliability and environmental protection. In this work, the economy and power supply reliability are considered in the multi-objective planning and design of the microgrid, which is a two-objective optimisation problem. The optimised independent variables are the number of photovoltaic power generation equipment
The cost of Net Present Value (
The ability of microgrid to meet the load demand in microgrid independently is defined as the self-balancing rate of microgrid, that is, the proportion of annual power supply of microgrid equipment to the annual power consumption of load, which is shown as the equation below [3, 7].
Number of micro-sources constrain
Limitation of interaction ability with the external power grid
To prevent the influence on the stability of the external power grid, the power interaction limit between the microgrid and external power grid is set.
Power balance constrain be described below.
Battery charging and discharging power and depth constraint
Multi-agent search strategy has attracted much concern for its promising computational model in optimisation problems in these years. The agent can be seen as a physical or abstract entity, which has the perception, interaction and problem-solving ability [17]. Multiple agents compose the MAS. The MAS has remarkable features, such as autonomy, distribution, coordination, etc. By virtue of self-organisation ability, learning ability and reasoning ability, the multi-agent search strategy for optimisation problems achieved good results.
In this section, a DMAMOEA for a multi-objective microgrid allocation optimal problem is proposed based on the concept of the Pareto method. In this algorithm, several operators for a multi-objective problem are designed, such as neighbourhood Pareto preferred operator, neighbourhood differential evolution operator, mutation operator, etc. By these operators, the agents in MAS interact with each other and produce feasible solutions for the multi-objective microgrid allocation problem. The non-dominated solutions produced in each generation are kept in the archive set. To guarantee the uniformity of the archive set, the solutions with larger crowding distances are further optimised. The simulation results demonstrated the effectiveness of DMAMOEA.
In the structure of MAS, each agent stands for a feasible solution, which is a real-valued vector. All the agents are fixed on a squared network. The structure of the network is shown in Fig. 1. Each agent can only interact with the agent's neighbourhood.
The neighbourhood of Agent Local Env
The neighbourhood Pareto preferred operator is designed to determine the dominance relations among the individuals in the local environment of agent
Randomly select three solutions in the neighbourhood agent
In the mutation process, if
After the mutation operation, the crossover operation is executed. This operation can be described in the equation below. In this equation,
To further maintain the distribution of the population, the mutation operation is performed on all the variables of agents in the lattice with mutation probability
To maintain the distribution of the solution in the archive set, crowding distance is introduced to estimate the crowding degree of the solutions, as shown in Fig. 2. Taking the
The procedure of DMAMOEA can be summarised as follows:
Step 1: Let Step 2: Distribute all the individuals on a
Step 3: If the iteration number reaches the set value ( Step 4: Implement the neighbourhood Pareto preferred operator on the agents on the lattice sequentially, and the best solution Step 5: Implement the neighbourhood differential evolution operator on each agent; Step 6: Implement the mutation operator on Q( Step 7: Calculate the crowding distance of all the solutions in
If the iteration number is less than the set value, go back to Step 3.
This procedure is shown in Fig. 3.
Take a certain year in a certain region as an example, its power consumption load, wind speed, sunlight intensity and the price of electricity are shown in Figs 4–7.
The capacity of the fan is 30 kW, the capacity of the photovoltaic equipment is 1 kW, and the single battery capacity is 50 kW h. The value of initially installing cost, operating and maintaining cost, the replacement cost of each item of equipment is shown in Table 1. The upper and lower limit of battery power is 0.3 and 0.8, and the default initial power is 0.5. The interactive power consumption with the grid is 10% of the maximum power consumption in the period.
Calculation of the cost of decigrams
Unit price | 8870 $/kW | 8790 $/kW | 1200 $/kW |
Operation and maintenance cost | 7.7 $/kW h | 5.5 $/kW h | 7 $/kW h |
Replacement cost | 0 $/KW | 0 $/KW | 1200/set |
Compared with other multi-objective optimisation algorithms, the NSGA-II algorithm has some advantages in solution efficiency and result division [18]. Therefore, the classical NSGA-II algorithm and the algorithm proposed in this article are used to optimise the problem.
In this study, the running CPU is Core i5-6300 CPU, the memory is 8 Gb, and MATLAB software is also used. In terms of parameter setting, the DMAMOEA is set to 16 agents, the archive set scale is 200 and the number of iterations is 100; the population number of NSGA-II is 200, and the number of iterations is 70. The simulation result is shown in Fig. 8.
As can be seen from Fig. 8, the results of the two algorithms coincide. To evaluate the approximation degree of the results of the two algorithms to the real Pareto optimal solution, generation distance is used to evaluate the results of the two algorithms. The equation of generation distance is described as follows [18]:
In this study, the ideal solution set is represented by the non-dominated solution set of the two solution sets obtained by the two algorithms. Generation distance is the average value of the sum of the minimum distance of each solution in the solution set and the solution in the ideal solution set. The smaller the value is, the better the result is. Fig. 9 is a column comparison diagram of generation distance obtained by DMAMOEA and NSGA-II running 10 times respectively. In terms of the operation time, DMAMOEA takes an average of 52 s, while NSGA-II takes about 66 s. Therefore, the DMAMOEA is superior to the traditional NSGA-II in terms of operation time and the approximation of the final solution set.
Table 2 shows some representative results of DMAMOEA algorithm. Taking Solution 1 as an example, using the Environmental Benefit Analysis Method [7], the representative results are obtained and the results are shown in Table 3.
Some representative results of DMAMOEA algorithm
Solution 1 | 260 | 41 | 241 | 6.585×106 | 0.01839 |
Solution 2 | 250 | 80 | 221 | 6.372×106 | 0.01867 |
Solution 3 | 237 | 55 | 231 | 6.059×106 | 0.01912 |
Solution 4 | 228 | 43 | 63 | 5.567×106 | 0.2413 |
Solution 5 | 216 | 31 | 16 | 5.197×106 | 0.2457 |
Environmental benefits of Solution 1
CO2 | CO | SO2 | NOx | Total | |
---|---|---|---|---|---|
Pollution reduction (103Kg) | 88,122 | 127.65 | 817.81 | 532.03 | 89,600 |
Cost saving of pollution treatment(103$) | 326.05 | 20.425 | 793.27 | 686.32 | 1826.1 |
From Tables 1 and 2, the following conclusions can be drawn:
In terms of Solution 1 and Solution 2, there is some difference in the number of micro sources. Between the two solutions, the number of wind turbines and batteries in Solution 1 is more than that in Solution 2, while the photovoltaic equipment is less than that in Solution 2. Therefore, although the investment increases, the dependence of microgrids on the external network is reduced. From Solution 3 and Solution 4, the number of wind turbines, photovoltaic equipment and batteries in Solution 3 is increased, especially the number of batteries is increased from 63 to 231. Therefore, the energy storage capacity of the microgrid is further enhanced, so that the microgrid can meet its load demand much better. Considering the environmental benefits, and taking Solution 1 as an example, the environmental benefits obtained are shown in Table 3. In this table, through the implementation of microgrids, the total emission of pollutants is reduced by 89,600 tons, the environmental protection cost is saved by US $1,826,100, and the environmental protection benefit is obvious, which fully reflects the benefit of the implementation.
In this article, a DMAMOEA was proposed to optimise the two objectives allocation of microgrid system with photovoltaic, wind power and battery. The two optimisation objectives are the economy index which including investment, maintenance and replacement of the micro sources and the rate of load power shortage index which reflects the degree of dependence on the external power grid. At the end of the article, the optimisation results of this proposed algorithm are compared with the classic algorithm NSGA-II, and the following conclusions are reached:
A DMAMOEA is designed by combining differential evolution strategy and multi-agent technology. In the capacity optimisation model of microgrid, two goals of economy and reliability are considered. The optimisation results of the designed algorithm are compared with that of the classic multi-objective evolutionary algorithm NSGA-II, which shows that DMAMOEA has a shorter solution time and a better solution set than the NSGA-II algorithm.