Research Article

Renewable Generation (Wind/Solar) and Load Modeling through Modified Fuzzy Prediction Interval

Algorithm 1

 Get Initial Parameters (fuzzy model weights, cost function,
variables count, variables range, max iteration, population
size, inertial weight and damping ratio, personal and
global learning coefficient)
for 1 to population size do
 Initialize the position [30], velocity, personal and global
 best of each particle based on the cost function.
end for
repeat
for 1 to population size do
  Update velocity of a particle using (9)
  Update position, velocity and cost of each particle
  Apply minor limits for the velocity of each particle
  if particle cost ≤ particle best cost then
   update personal best
   if particle best cost ≤ best solution cost then
    Update global best
   end if
  end if
end for
 Best cost of iteration best solution cost
 Update inertial weight
until Maximum iteration & minimum error achieve