The Scientific World Journal / 2014 / Article / Alg 1

Research Article

Parameters Identification for Photovoltaic Module Based on an Improved Artificial Fish Swarm Algorithm

Algorithm 1

Procedure for the AFSA.
Procedure Artificial_Fish_Swarm_Algorithm
  AF_initialization()
  while the result is satisfied do
    switch (AF_foodconsistence())
    case value 1
     AF_Following();
    case value 2
     AF_Swarming();
    default
     AF_Searching();
    end switch
    AF_move()
    get_result();
  end while
end Artificial_Fish_Swarm_Algorithm