Research Article
Optimal Planning of Communication System of CPS for Distribution Network
Algorithm 1
CPSND planning based on binary PSO algorithm.
Input: , , | Output: Planned topology | (1) Initialize the algorithm parameters: ; //is the Maximum number of | Iterations, the Number of particles, and the learning factors | and and the upper and lower bounds of weights. | (2) Initialize particles’ position and flight speed ; // is the position vector and | produced by , who represents the possible communication link. | (3) Initialize P_best and G_best; //P_best is the optimal fitness value | among a particular particle and G_best is the global optimal value. | (4) For (; ; ) | (5) For (; ; ) | (6) Calculating inertia weight according to formula (7); | (7) Update particles’ position and flight speed according to formula (6); | (8) If () | (9) Update P_best; | (10) End | (11) End | (12) If (P_best ≤ G_best) | (13) Update and G_best | (14) End | (15) End | (16) Output the planned topology . |
|