Research Article
A Novel Bio-Inspired Algorithm Applied to Selective Harmonic Elimination in a Three-Phase Eleven-Level Inverter
Algorithm 3
Black widow optimizer algorithm (BWOA).
| (1) | Begin procedure | | (2) | Generate the initial population | | (3) | while iteration Max Number of Iterations do | | (4) | Initialization random of parameters and , where 0.4 m 0.9 and −1.0 1.0 | | (5) | ifthen | | (6) | | | (7) | else | | (8) | | | (9) | end if | | (10) | Compute pheromone for each search agent by equation (12) | | (11) | Update search agents that have low pheromone value, Algorithm 1, equation (13) | | (12) | Calculate fitness value of the new search agents | | (13) | ifthen | | (14) | | | (15) | end if | | (16) | | | (17) | end while | | (18) | Display , the best optimal solution | | (19) | end procedure |
|