Research Article
A Master-Slave Salp Swarm Algorithm Optimizer for Hybrid Energy Storage System Control Strategy in Electric Vehicles
Initialize the salp population xi (i=1, 2, ..., n) considering ub and lb | while (end condition is not satisfied) | Calculate the fitness of each search agent (salp) | Sort the salps in ascending order of fitness and make the bottom half the slave population. | The slave population learn from the master population by equations (vi) and (vii) | F=the best search agent | Update c1 by Eq. (iii) | for each salp (xi) | if (i= =1) | Update the position of the leading salp by Eq. (ii) else | Update the position of the follower salp by Eq. (v) end | end | Amend the salps based on the upper and lower bounds of variables | end | return F |
|