Research Article

A Novel Optimization Algorithm for Modifying the Parameter Unit of Solar PV Cell

Algorithm 1

Modified whale optimization
Initializing the Whale, A population;
Calculate each search agent’s ability:
while ()
 for each search agent
 Upgrade , , , , and ;
  if ()
  if ()
   Upgrade the current search agent position by Equation (3)
  else if ()
   Upgrade the current search agent position by Equation (9)
end if
else if ()
 Upgrade the current search agent position by Equation (7)
  end if
 Carry on the levy flight using Equation (17) for each agent
  end for
With a pattern search to the best agent Lead_ position:
Check that a research officer energy out there the research space and revise it;
Compute the fitness of each search agent;
Upgrade Lead_ position if there is a better solution;
end while
get back Lead_ position: