Research Article

Distributed Real-Time Pricing Method Incorporating Load Uncertainty Based on Nonsmooth Equations for Smart Grid

Algorithm 1

Update load of consumption by each user.
Step 1 Initialization
Step 2 for each
Receive from energy provider;
Update the consumption value by solving (42);
Send to energy provider.
Step 3 Repeat Step 2 until the pricing time ends or the electricity supply and demand are in balance.