Research Article

Parameter Estimation of Solar PV Using Ali Baba and Forty Thieves Optimization Technique

Algorithm 1

The pseudocode of AFT.
(1) are the upper and lower bounds of dimension, is the position, and is the number of thieves.
(2) Initialization of best position and global best position.
(3) Evaluate the fitness function
(4)
(5)while () do do
(6)  
(7)  
(8)  
(9)   
(10)    
(11)     
(12)    Else
(13)     
(14)    end if
(15)    
(16)   end if
(17)  end for
(18)  
(19)   Check, evaluate and update the new positions
(20)   Evaluate and update the solutions for &
(21)  end for
(22)
(23)end while