Research Article
Research on Microgrid Scheduling Based on Improved Crow Search Algorithm
Algorithm 1
Proposed crow search algorithm.
Input: Population size , maximum number of iterations , flight distance , the probability of consciousness . | (1) | Initialize the memory of each crow. | (2) | Evaluate fitness function. | (3) | whiledo | (4) | fori = 1; i < N; i + + do | (5) | Randomly selected crows. | (6) | Defining the probability of consciousness. | (7) | ifthen | (8) | | (9) | else | (10) | | (11) | end if. | (12) | end for. | (13) | Check the feasibility of the new location | (14) | Evaluate the new location of the crow and update the memory | (15) | end while. |
|