Research Article

A User-Oriented Pricing Design for Demand Response in Smart Grid

Algorithm 2

Customer algorithm.
Input: , , , , , .
Output: , .
(1)Initialize: , randomly.
(2)while receive information from utility company do
(3) Update optimal responsive price .
(4) Update power rate constraints by (1)–(3).
(5) Construct customer i utility function .
(6) Calculate optimal response by (10).
(7) Send optimal response to utility company.
(8) Receive electricity price from utility company.
(9)end while
(10)End