Keywords

1 Introduction

In recent years, along with the implementation of smart grid strategy, distributed generation has been recognized worldwide. Market penetration is still very low, but the field is undergoing rapid growth. Therefore, actively studying the distributed energy development model in the smart grid environment is of great significance for the future large-scale development of distributed energy and eases the energy crisis [1].

The combination of main power grids and distributed power generation is recognized as the most important way which is able to save the investment, reduce energy consumption and improve power system reliability and flexibility [1]. When a large number of distributed generations in the planning scheme, a large number of random changes in the power system appears, and improves the complexity of the system [2]. To address this issue, in this paper, the improved clonal selection algorithm is applied to optimize the distribution network, trying to establish a comprehensive, robust distribution network system.

2 Distributed Generations

Distributed generation (DG) is a small unit which is dispersed installed on the user side, both independent of the public grid directly provide electrical power for the around user, and access to distribution networks with the public grid to provide users with small generators of electricity [3]. These small units include fuel cells, small gas turbine or gas turbine and fuel cell hybrid device.

DG plays the role of load shifting and load balancing. It can compensate for the lack of security and stability of large power grids, avoid large-scale power outage, and provide users with more secure and stable supply of electricity [3].

3 Mathematical Model of Distributed Power Distribution Planning

In the distribution network planning, according the decision variables can be divided into two types, one is the single planning and another is coordinated planning [2]. Single planning is to optimize the installation location and capacity of distributed generation equipment in the condition of the feeder lines and substation configuration does not change; the coordinated planning is for global optimization planning, and includes the feeder lines. This paper focuses on the former.

3.1 Multi-Goal Programming Objective Function

In this paper, we focus on the distributed power distribution planning problem, mainly to consider economy and security. Ultimately, we establish the multi-objective model for the objectives of the network minimum network loss, minimum average deviation of the node voltage and the minimum total investment cost [4]. The objective function of the total investment cost φ is as follows:

$$ \hbox{min} \varphi = \sum\nolimits_{i = 1}^{{\mathop n\nolimits_{DG} }} {(\mathop C\nolimits_{i1} } + \mathop C\nolimits_{i2} )\mathop P\nolimits_{DGi} $$
(68.1)

In the formula, nDG is the number of distributed generation equipment installed; PDGi is the DG rated capacity installed in the node i; C1, C2 were distributed device unit capacity of node i overall equipment costs and installation costs.

The objective function of the network minimum loss is as follows:

$$ \hbox{min} \mathop P\nolimits_{loss} = \sum\nolimits_{i = 1}^{N} {\mathop R\nolimits_{i} (\mathop P\nolimits_{i}^{2} + \mathop Q\nolimits_{i}^{2} )} /\mathop {\left| {\mathop U\nolimits_{i} } \right|}\nolimits^{2} $$
(68.2)

Ploss is the loss of active network; N is the number of slip; Ri is the slip resistance; Pi, Qi, Ui, respectively, for node i active power, reactive power and voltage.

The objective function of the average deviation is as follows, Ui* is the rated voltage of the node i:

$$ \hbox{min} \mathop U\nolimits_{ad} = \frac{1}{N}\sum\nolimits_{i = 1}^{N} {\left| {\mathop U\nolimits_{i} - \mathop U\nolimits_{i}^{*} } \right|} $$
(68.3)

3.2 Constraint Conditions

The Equality constraints are the distributed generation access with the grid system power balance equation:

$$ \left\{ \begin{gathered} \mathop P\nolimits_{Gi} + \mathop P\nolimits_{Di} - \mathop P\nolimits_{Li} = \mathop U\nolimits_{i} \sum\nolimits_{j = 1}^{N} {\mathop U\nolimits_{j} (\mathop G\nolimits_{ij} \cos \mathop \delta \nolimits_{ij} + \mathop B\nolimits_{ij} \sin \mathop \delta \nolimits_{ij} )} \hfill \\ \mathop Q\nolimits_{Gi} + \mathop Q\nolimits_{Di} - \mathop Q\nolimits_{Li} = \mathop U\nolimits_{i} \sum\nolimits_{j = 1}^{N} {\mathop U\nolimits_{j} (\mathop G\nolimits_{ij} \sin \mathop \delta \nolimits_{ij} - \mathop B\nolimits_{ij} \cos \mathop \delta \nolimits_{ij} )} \hfill \\ \end{gathered} \right. $$
(68.4)
$$ \left\{ \begin{gathered} \mathop {\left| {\mathop U\nolimits_{i} } \right|}\nolimits^{\hbox{min} } \le \left| {\mathop U\nolimits_{i} } \right| \le \mathop {\left| {\mathop U\nolimits_{i} } \right|}\nolimits^{\hbox{max} } \hfill \\ \left| {\mathop I\nolimits_{i} } \right| \le \mathop {\left| {\mathop I\nolimits_{i} } \right|}\nolimits^{\hbox{max} } \hfill \\ \mathop P\nolimits_{DGi}^{\hbox{min} } \le \mathop P\nolimits_{DGi} \le \mathop P\nolimits_{DGi}^{\hbox{max} } \hfill \\ \sum\nolimits_{i = 1}^{{\mathop n\nolimits_{DG} }} {\mathop P\nolimits_{DGi} \le \alpha \sum\nolimits_{i = 1}^{N} {\mathop P\nolimits_{LDi} } } \hfill \\ \end{gathered} \right. $$
(68.5)

In this formula, PGi, QGi is the injected generator active power and reactive power of i; PDi, QDi is injected distributed generation; PLi, QLi is the active power and reactive power; Ui and Uj are the voltage of the first node i and the end node j.

The inequality constraints include: the node voltage upper and lower limits, and the distributed power generation capacity, the maximum limit of the slip power.

3.3 Transform the Multiple Objectives into Single Objective

For the reunification of the dimension of each sub-goal, we introduced the general linear piecewise function to represent the fuzzy membership function for each sub-goal [5].

$$ \mathop \mu \nolimits_{i} = \left\{ \begin{gathered} 1,(\mathop f\nolimits_{i} \le \mathop f\nolimits_{i}^{*} ) \hfill \\ \frac{{\mathop f\nolimits_{i}^{ - } - \mathop f\nolimits_{i} }}{{\mathop f\nolimits_{i}^{ - } - \mathop f\nolimits_{i}^{*} }},(\mathop f\nolimits_{i}^{*} \le \mathop f\nolimits_{i} \le \mathop f\nolimits_{i}^{ - } ) \hfill \\ 0,(\mathop f\nolimits_{i} \ge \mathop f\nolimits_{i}^{ - } ) \hfill \\ \end{gathered} \right. $$
(68.6)
$$ {\hbox{max}} \lambda = \hbox{min} \left\{ {\mathop \mu \nolimits_{1} ,\mathop \mu \nolimits_{2} ,\mathop \mu \nolimits_{3} } \right\} $$
(68.7)

In this formula, μi is the corresponding sub-goals of the membership; f i is the maximum function value of the corresponding sub-goals; f *i , optimized to get the best target for the corresponding sub-goals; n is the value of overall satisfaction.

4 Hybrid Immune Algorithm

Artificial immune algorithm is mainly used in the operation mechanism of the artificial immune system to solve practical problems. The clonal selection algorithm in this paper is also based on immune algorithm.

4.1 Clonal Selection Algorithm

Clonal selection algorithm simulates the mechanism of biological immune system [6] (Fig. 68.1). Generally we put the objective function to be optimized and constraints as the antigen and the algorithm steps are as follows:

Fig. 68.1
figure 1

Standard clonal selection algorithm processes

  • Step 1 Initialization: randomly generated N-antibody corresponds to a possible solution.

  • Step 2 Classification: N antibody decomposition of m and r antibody composed of two in part Am, Ar, respectively, into the memory set of antibodies and the rest, the antibodies who can enter the memory set have a higher affinity.

  • Step 3 Cloning: select the k-affinity antibodies were cloned; the number of clones is proportional to their affinity.

  • Step 4 Mutation: mutation operation on the cloned antibodies and the mutation rate is inversely proportional to affinity.

  • Step 5 Reselect: recalculate the affinity of the mutated antibodies to formulate the new memory set.

  • Step 6 Demise: simulated biological clonal selection process 5 % of B cells die a natural death.

  • Step 7 Check whether it meets the termination condition, if terminate, otherwise go to step 2 into the next iteration.

4.2 Improved Clonal Selection Algorithm

The study found that the algorithm has several obvious shortcomings:

  1. 1.

    High-frequency variation rate lack the automatic adjustment feature.

  2. 2.

    The lack of memory bank.

  3. 3.

    Lack of collaboration and communication between the antibodies.

4.2.1 Particle Swarm Optimization (PSO)

Compared with the artificial immune algorithm, particle swarm optimization algorithm has a lot to learn from its advantages. The standard particle swarm optimization algorithm solves the optimization problems through the cooperation and competition between particle swarm individual [7]. Each individual in the population referred to as particles, each particle represents the problem to be optimized a possible solution.

Update position and velocity with the following formula:

$$ \left\{ \begin{aligned} \mathop v\nolimits_{1} (t + 1) &= \,\omega \mathop v\nolimits_{1} (t) + \mathop c\nolimits_{1} \mathop R\nolimits_{1} (\mathop p\nolimits_{1} (t) - \mathop x\nolimits_{1} (t)) + \mathop c\nolimits_{2} \mathop R\nolimits_{2} (\mathop p\nolimits_{g} (t) - \mathop x\nolimits_{1} (t)) \\ \mathop x\nolimits_{1} (t + 1) &= \, \mathop x\nolimits_{1} (t) + \mathop v\nolimits_{1} (t + 1) \\ \end{aligned} \right. $$
(68.8)

In this formula, ω is the Inertia coefficient, c1 and c2 are the acceleration constant; R1 ~ U (0, 1) and R2 ~ U (0, 1) are two independent random functions.

4.2.2 Hybrid Immune Algorithm

In this paper, we use the particle swarm optimization to compensate for clonal selection algorithm’s shortcomings, such as the long training time, and to reduce the population size; at the same time, we use the clonal selection algorithm’s diversity to compensate for the shortcomings of PSO to improve search accuracy.

Through the clonal selection, each antibody has used its own historical information, therefore when introduce the evolution equation of particle swarm optimization algorithm, we should only consider approaching the global optimum, then we use PSO formula which is mentioned above, so that evolution has a more clear direction to improve the convergence rate, while taking advantage of the variation in the immune algorithm and demise the operation to ensure that the diversity of antibodies, both the use of the cloning algorithm to maintain the advantages of antibody diversity, but also advantage of the characteristics of group information sharing in the PSO algorithm (Fig. 68.2).

Fig. 68.2
figure 2

Improved clonal selection algorithm processes

Consider each antibody as a particle in the particle swarm optimization, at the beginning of the clonal selection algorithm, determine the affinity vector F of random initial population of AN, then order to do the steps of the clonal selection algorithm, and then update the velocity and position of existing antibody using the PSO algorithm, the limit does not exceed the boundary, and update Pg, the guidance of antibodies to high frequency variation, followed by clonal selection algorithm receptor editing process.

4.3 Hybrid Immune Algorithm to Solve the Problem of Distribution

In this paper, in order to solve the planning problem of distributed power distribution in the distribution network, simplifying the problem to determine the distributed power distribution network in the location and capacity. We use real number encoding method to express the location and capacity of distributed power variables, and assume that the distributed power installed in the load node, and one can only install one distributed power. The radial distribution network allows N nodes to install, distributed power building programs use a set of variables C = {c1, c2… cn} to represent [1]. The magnitude of ci, illustrates the construction of distributed power corresponding to the load node i, if ci = 0 indicates the load of node i is not the construction of distributed power; if ci = 2 indicates 20 kVA, and so on.

Using HIA to find the optimal solution, we first need to solve the problem how to initial antibody population. Generally is generated randomly, but the number of such infeasible solutions would be too large, in turn affect the search vegetarian range and convergence speed. Therefore when we generate the initial antibody population must be restrained by some constraints. The first one is the total capacity of the distributed power can not exceed the maximum capacity of planned distribution network to new load, and verify the capacity of each power must be within the rated range. All of the N antibodies should be generated in this way.

In the solution process, the HIA starting from the initial antibody population based on the affinity function, and then selection, cloning, mutation; PSO algorithm is used to achieve the exchange of information between individuals and guidie high frequency variation. The specific process is as follows [5] (Fig. 68.3).

Fig. 68.3
figure 3

Hybrid immune algorithm processes

5 Numerical Example

We use the IEEE 33 node distribution test system to verify the algorithm. It is a pure radial distribution network; has 33 nodes, 32 branches.

The total active and reactive powers of the load were 298 MW and 129 Mvar. HIA parameter is set to: the number of antibody M = 60, the maximum number of iterations to 100, and an accuracy of d = 0.0001. Calculated using HIA in the previous section, the first randomly generated 60 solutions within the constraints, to calculate the antigen–antibody affinity according to the objective function (68.7), and iteratively until the termination condition. By the above calculation, the simulation results are as follows: the location of 30 is the best access location of the distributed power, at this time the system active power loss for 82.1820 kW optimized active power loss decreased rate of 54.53 %. In order to verify the effectiveness and superiority of the HIA, the algorithm with the standard PSO calculations were compared the results in the table.

It can be seen from Table 68.1 that the calculated results are basically the same in HIA and PSO, it proves that a HIA for distributed power supply location and constant volume is feasible and effective. The DG’s access makes the active power loss is much lower, it is indicate that the DG’s access could greatly reduce the active power loss if the location and constant volume is planned reasonably. Shown in Fig. 68.4 for the convergence of two algorithms in the optimization process, in this paper, the HIA have a certain improvement in convergence and adaptability than the standard PSO.

Table 68.1 IEEE 33 node test system
Fig. 68.4
figure 4

HIA and PSO convergence curve

6 Conclusion

In the rapid development of smart grid, distributed power generation equipment has begun large-scale applications; an access to a variety of distributed power securely and reliably has important significance [3]. This article is just start on this point; it adopts the multi-objective optimization model of distribution network planning, and uses HIA in distribution planning. HIA mainly uses the clonal selection theory as the mechanism, and considers the PSO algorithm as the guidance for high-frequency variation, which can adjust the direction of the variability during the optimization process; this can improve the computational efficiency of the algorithm and avoid falling into local optimum too early. In order to verify the algorithm, we used the IEEE 33 node test system for simulation and put the results to compare with the standard PSO algorithm; proved its effectiveness and efficiency.

As a preliminary study, this paper only consider distributed power distribution planning problem in a pure environment, although we used multi-objective optimization methods, there still have many influencing factors did not taken into account, and need for the further research.