Research Article

Real-Time Pricing-Based Scheduling Strategy in Smart Grids: A Hierarchical Game Approach

Algorithm 1

Distributed electricity scheduling.
Input:   = 0.1; = 0.1; ; ; ;
;
Output: Optimal ; ; ;
While     do
  
  While     do
     ;
     ;
    for all     do
      ;
    end for
  end while
  while     do
    ;
    ;
   for all     do
     ;
   end for
  end while
end while