1. Introduction
In today’s society, the energy crisis and environmental protection problems have become more and more serious. Traditional fossil energy cannot meet the goals of sustainable human development. Distributed power generation technology based on renewable energy has attracted more and more attention. Distributed generators (DG) refers to a small generator set that is designed, installed, and operated in a distribution network with capacities ranging from a few kilowatts to tens of megawatts [
1]. Due to its high reliability, and clean, environmentally friendly, and flexible installation location, DG plays an increasingly important role in the distribution network.
With the promotion and popularization of DG and the stricter requirements of users for power quality, the traditional AC distribution network has revealed its inability to accept new energy [
2,
3,
4]. In recent years, the development of power electronic devices has made great progress. The continuous improvement of converter devices has accelerated the research on related technologies of DC distribution networks. Compared with AC distribution networks, DC distribution networks have a larger power capacity, and the power loss is reduced, thus, the power quality becomes higher, and the distributed power source has easier access. This has made it more and more popular with scholars. If a DC distribution network is used, the converter used for DG access is saved greatly, and the energy loss is reduced; also, the DC bus has no phase and frequency synchronization problems, making the control of the distributed power supply simple and reliable [
5]. Therefore, there is an urgent need to study the problem of DG access to AC /DC distribution networks.
When the DG is connected to the distribution network, the direction of the system power changes, which causes changes in the distribution network loss, so that the network loss is not only related to the load, but also related to the location and quantity of the DG. At the same time, due to the intermittent nature, volatility and randomness of DG, it inevitably affects the safe, stable and reliable operation of the distribution network. If the penetration rate of the distributed power supply is too high or the location of the access distribution network is improperly selected, it will not improve the environmental protection and economy of the grid operation, but will affect the safe and stable operation of the system. Therefore, it is necessary to plan the construction of the distribution network with DG.
At present, the problem of distribution network planning with DG has been studied from different perspectives. El-Khattam et al. [
6] compared the difference between the distribution network with DG planning and traditional distribution network planning, and elaborated the DG planning problem from the aspects of economy and reliability. Zeng et al. [
7] adopted the two-layer scene planning to solve the optimal distribution network planning scheme. Li et al. [
8] established the objective function by reducing the network loss and improving the power quality, and adopted an intelligent algorithm to solve the DG location and capacity determined problem. Zhu D et al. [
9] mainly considered DG and utilized the uncertainty of load growth to establish the distribution network planning model with DG and grid as the planning object. Guo et al. [
10] comprehensively considered the stochastic volatility of DG and load, and used the opportunity constrained programming method to comprehensively optimize the configuration of DG. Rau N S et al. [
11] used the gradient method to find the optimal solution of DG installation and configuration problems, but found it was easy to fall into local parts. Wang et al. [
12] considered the location and capacity of DG and the expansion planning of the distribution network, and used a combination of genetic algorithm, branch exchange and simulated annealing algorithm to solve the model. Mei et al. [
13] used the improved particle swarm optimization algorithm with simulated annealing algorithm to solve the problem of DG site selection and volume calculation based on the optimal network loss. Ye et al. [
14] used the adaptive mutation particle swarm optimization algorithm to plan the location and volume of DG without considering the load-added nodes. However, at this stage, distribution network planning with DG mainly stays in the AC power distribution stage, and there is very limited research content on AC/DC distribution network planning. At the same time, most of the literature on the planning process is mainly based on the rated capacity of DG, and does not take the timing characteristics of the DG and the load into account. This causes deviations in the actual planning problem, and it is necessary to fully consider the DG and load timing characteristics in the planning process.
In recent years, more and more research including the application of heuristic intelligent optimization algorithms has been carried out. Genetic algorithms (GA) and ant colony algorithms (ACO) serve as two mainstream algorithms, and each of them has unique advantages. The genetic algorithm draws on the biological evolutionary law of nature to optimize the solution of the problem by simulating the evolution process of biological genes. The ant colony algorithm mimics real-world ant colony behavior. The algorithm simulates group behavior composed of simple individuals and seeks optimal results through group behavior.
Therefore, this paper establishes a DG access AC/DC distribution network planning model that takes environmental costs and timing characteristics into account, and optimizes the type, location and capacity of DG in the distribution network. At the same time, this paper studies the ideas and methods of GA and ACO to solve the problem, and analyzes the solution process. Then, by combining and improving the two algorithms, a GA-ACO algorithm is proposed and applied to the model solution.
5. Model Solving
In this paper, a GA-ACO algorithm is used to solve the model. The genetic algorithm mimics the generation and evolution process of all life intelligences. Using group search technology, through the genetic manipulation of selection, crossover and mutation of the current population, new groups are generated, and the population is gradually evolved to a state containing, or close to, the optimal solution. The ant colony algorithm searches for optimal solutions by simulating the processes that ant colonies use to search for food. Ants leave pheromones on the path they walk. The more ants that pass along the path, the more pheromones they leave, and the greater the probability that later ants will choose the path, thus forming a positive feedback mechanism, and finding the optimal solution.
The genetic algorithm has a large-scale and diverse initial population, so that global optimization is performed at the beginning of the algorithm, and the genetic algorithm is scalable and easy to combine with other algorithms. However, in the late stage of the genetic algorithm, the feedback information cannot be easily used, and a large number of redundant iterations are generated, which affects the convergence speed and accuracy of the algorithm. The ant colony algorithm has a fast convergence rate and good global convergence. In particular, when the pheromone is accumulated to a certain extent, the algorithm can quickly find the optimal solution. However, the disadvantage is that the accumulation of pheromones is slow at first, and it is easy to fall into the local optimum at the beginning.
Based on the advantages and disadvantages of the above two algorithms, the two algorithms can be combined to make up for their respective shortcomings. In this paper, the genetic algorithm is used to generate the initial solution, then these initial solutions are transformed into the pheromone distribution in the ant colony algorithm. Finally, the positive feedback mechanism of the ant colony algorithm is used to search for the optimal solution. The GA-ACO algorithm solution flow chart is shown in
Figure 6.
5.1. Genetic Algorithm Solving
In this paper, we use binary coding. Each chromosome is regarded as a planning scheme. Each chromosome contains NDG elements. The first NMT elements represent the installed number of MT. The intermediate Npv elements represent the number of PV installations at each PV node to be selected; the last Nwg elements represent the number of WG installed at each WG node to be selected.
(1) Initial Population
The initial population of the genetic algorithm is randomly generated. To solve this model, a certain chromosome in the initial population does not meet the constraints. Combined with the planning model, the initial population is required to fully satisfy the system capacity constraints. Therefore, it is necessary to carry out innate elimination, and the individuals who do not satisfy the constraints are eliminated and regenerated until the number of individuals satisfy the constraints and reach the requirements of the initial population.
(2) Selection Operator
According to the fitness value, the individuals in the population are selected to obtain the parent sample. This paper uses the optimal individual preservation and roulette strategy to select operators. That is, the individual with the highest fitness is saved as a parent. For the remaining individuals, the roulette method is used to calculate the selected probability of each individual’s fitness to select the retained individual. That is, the more it satisfies the target condition, the easier it is to be inherited by the offspring, but other individuals have offspring with a small probability to prevent the algorithm from falling into local optimum and guarantee global convergence.
(3) Crossover Operator
For individuals in the population, cross operations are performed according to a certain crossover probability, and corresponding mutation operations are performed according to the probability of a certain mutation generating a next generation population. In this paper, the crossover operation uses a two-point crossover operator, and the mutation operation uses a single-point mutation operator.
(4) Eliminate
Because the genetic algorithm generates the randomness of the individual, the generated offspring may not satisfy the constraint. This paper sets a penalty function. When the mismatching of the offspring is higher, the degree of the penalty is larger, making the gene of the offspring difficult for the next generation to inherit, thus ensuring the innate superiority of the population.
5.2. Ant Colony Algorithm Solving
(1) Pheromone Initialization
According to the location selection of the DGs, assuming that there are
N installable DGs nodes, and the DGs capacity that may be installed on the node
i is
ni, then a similar matrix as shown in
Figure 7 can be generated.
After
T generation genetic optimization by genetic algorithm,
m better solutions are obtained. Then the
m preferred solutions are converted into the location and capacity of the ant colony algorithm, as shown in
Figure 8. These location capacities are connected to form
m paths, and update the pheromones on those paths. The number of ants is also set to
m.
M slaves are placed on
m paths and the previous update pheromone are used as the initial value of the pheromone.
(2) Loop Iteration
In each iteration, ant
k (
k = 1, 2, 3, …,
m) determines the direction of their transition based on the pheromone on each path. The tabu table,
tabuk is used to record the location capacity of the ants. The ant determines the transition probability based on the pheromone and path heuristic information on each path.
Pij(
t) represents the probability that ant
k is transferred from position
i to position
j at time
t:
where
(
k = 1, 2, 3, …,
m) represents the position that the ant
k next allows to select.
is a heuristic information factor, and represents the importance of the motion trajectory, that denotes the role that information accumulated by ants during exercise plays in the selection of ant movements.
has a value range of (0,5).
is the heuristic factor of expectation, which is the importance of characterizing the visibility of the path, that is, the role that the ant plays in the ant selection path during the movement. The value range of
is (0,5).
represents the pheromone strength on the path (i, j) at time t. Where i is the beginning location and j is the end location. is a heuristic function, which is generally the reciprocal of the sum of the DG installation cost at location j and the distributed power source operating cost.
(3) Pheromone Update
According to the expected value of each capacity of each node and the pheromone concentration value on the path, the transition probability of the n-th ant at each capacity point on the node is calculated, and then the path is selected.
In order to prevent excessive heuristic pheromone and flooding the heuristic information, the residual pheromone is updated after the ant completes an ergodic operation on all
m position capacities. According to Equations (27) and (28), adjusting the amount of information on the path (
i,
j) at time
t+1
where
is the pheromone volatilization coefficient,
is the pheromone residual coefficient, and
is in the range of (0, 1).
represents the pheromone increment on the path (
i,
j) during the current cycle,
=0 at the initial time.
represents the number of pheromones left by the
k-th ant in the path (
i,
j).
where
Q represents the pheromone strength, and its value affects the convergence speed of the algorithm.
Lk represents the total cost of the path taken by the
k-th ant in this cycle.
6. Case Analysis
In this paper, the IEEE-33 standard node distribution network is used as an original network for analysis [
21]. The distribution network structure is shown in
Figure 9.
6.1. Case Parameters
In
Figure 9, 0-33 is the node number, and L1-L33 are the line numbers. The node and line basic data are shown in
Table 1.
Based on the original AC distribution network, the following changes were made to simulate the AC/DC distribution network: the AC lines between node 20 and node 21, node 23 and node 24, node 31 and the node 32 change into the DC lines. Capacitors with a value of 1 are modified at nodes 20, 21, 23, 24, 31, 32. The VSCs are installed after the three DC lines, and the configuration parameters of the converter station are consistent: the rated capacity is 2MVA, the resistance is 0.5 Ω, and the reactance is 1.5 Ω.
The MT candidate nodes are 2, 6, 10, and 14, the PV candidate nodes are 21, 24, and 32, and the WG candidate nodes are 22 and 25. The maximum current carrying capacity of the AC line is 5000 kVA, and the maximum current carrying capacity of the DC line is 2500 kVA. The node voltage is allowed to range from 0.9 to 1.1 p.u., and the three types of DG are rated at 0.1 MW. The number of access nodes to be selected for all three DGs is limited to 15. The discount rate r is taken as 0.1, the DG recovery period is taken as 20, the unit net loss is taken as 0.017 million yuan/(MW h), and the greenhouse gas emission intensity per unit MT is taken as 724.6 kg/(MW h). The environmental protection value of greenhouse gases is taken as 0.023 yuan/kg, and the fine for greenhouse gas emissions from MT is taken as 0.01 yuan/kg. The parameters of the genetic algorithm are: the population individual is 100, the number of iterations is 20, the crossover rate is 0.5, and the mutation rate is 0.1. The ant colony algorithm parameters are: the number of ants is 60, the pheromone concentration retention coefficient is 0.9, and the information heuristic factor and the expected heuristic factor are both 1, at the initial moment , the number of iterations is 60.
According to [
22], it is assumed that DG’s investment, operation and maintenance, fuel cost and environmental subsidies are as shown in
Table 2.
6.2. Result Analysis
(1) Consider Timing Characteristics
By simulating the timing characteristics of DG and the load, this paper draws a plan that is more in line with the actual operation of the AC/DC distribution network. If the timing characteristics of DG and load are not considered, the output of DG in the system remains unchanged, and the output is based on the rated capacity. The two planning schemes considering the timing characteristics and disregarding the timing characteristics are shown in
Table 3 and
Table 4.
It can be seen from the above results that the algorithm avoids including the MT if the timing characteristics are not considered. This is because although the investment and maintenance cost of gas MT are low, the environmental cost is too high, and the environmental subsidies for PV and WG are very high, the overall cost of MT is higher than that of PV and WG. However, the fact that the gas turbine is not added is obviously contrary to the actual situation, because in fact, the PV and WG outputs have strong volatility. If only these two types of DG are installed, there will be a certain period of time when the power supply does not meet the demand and this affects the reliable operation of the power grid. Therefore, it is necessary to consider the timing of DG.
(2) Algorithm Comparison
In order to verify the effectiveness of the GA-ACO algorithm, the genetic algorithm, ant colony algorithm and GA-ACO algorithm were used to optimize the DG access to the AC/DC distribution network. Since the results calculated by each of the algorithms in each iteration are different, this study performed 10 experiments on each of the three algorithms and took the average of the results. The final costs of the three algorithms are shown in
Table 5 and the optimization curve for the three optimization algorithms is shown in
Figure 10.
From the table and the figure we can see that the genetic algorithm at the beginning of the optimization results is better than the ant colony algorithm, and the convergence speed is faster than the ant colony algorithm before the 20th generation, because the genetic algorithm has a wide range of search capabilities at the beginning of the search. The ant colony algorithm takes a long time to accumulate pheromones at the beginning. In the 20th generation of the iterations, the redundant iterations generated by the genetic algorithm in the later stage affect the convergence speed and fall into the local optimal solution. The convergence speed of the ant colony algorithm starts to accelerate, and the convergence is completed at about 40 generations. However, because the initial pheromone accumulation is not complete, the global optimal solution cannot be searched. The GA-ACO algorithm combines the advantages of both algorithms. At the beginning, it uses a wide range of genetic algorithms to search for pheromones, and then uses the ant colony algorithm to help the whole optimization process maintain a faster convergence speed and not fall into local parts optimal, then, the global optimal solution is found around the 60th generation.
(3) Considering Load Growth
Load growth is also taken into consideration in this paper. It is assumed that all loads will increase by 50% in the next 15 years [
23]. The number of access nodes to be selected for all the three DGs will increase to 30. What is more, the line capacity will double. The simulation results are shown in
Table 6 and
Figure 11.
It can be seen that by considering the load growth, the model can still reasonably reflect the actual situation and this further verifies the effectiveness of the hybrid algorithm in convergence speed and convergence.