Research Article

Distributed Optimal Day-Ahead Scheduling in a Smart Grid: A Trade-Off among Consumers, Power Suppliers, and Transmission Owners

Algorithm 2

Day-ahead scheduling of power suppliers.
Require: ;
 (1) while do
 (2)  ;
 (3)  while do
 (4)   ;
 (5)   ;
 (6)   ;
 (7)  end while
 (8)  ;
 (9)  while do
 (10)   ;
 (11)   ;
 (12)   ;
 (13)  end while
 (14) end while
 (15) ;
 (16) Return ;