Research Article
Optimal Design of Grid-Connected Solar Photovoltaic System Using Selective Particle Swarm Optimization
| for each particle | | { | | Initialize particle | | } | | Do until maximum iterations or minimum error criteria | | { | | For each particle | | { | | Calculate Data fitness value | | If the fitness value is better than PBest | | { | | Set PBest = current fitness value | | } | | If PBest is better than GBest | | { | | Set GBest = PBest | | } | | } | | For each particle | | { | | Calculate particle Velocity | | Use GBest and Velocity to update particle Data | | } |
|