Research Article

Joint Radio Resource Allocation and Base Station Location Selection in OFDMA Based Private Wireless Access Networks for Smart Grid

Algorithm 2

Utility function calculation.
Require: , .
Ensure: and .
 ()    for   to   do
 ()     for   to   do
 ()      for   to   do
 ()       initialize ;
 ()       delete from devices which are not feasible in slot anymore;
 ()       while    do
 ()        determine device with the lowest satisfaction ratio in ;
 ()        put into ;
 ()        delete and devices connected to it from ;
 ()    end while
 ()    calculate ;
 ()    recover ;
 ()    update satisfaction ratio of all devices in ;
 ()   end for
 ()   calculate ;
 ()   calculate ;
 ()  end for
 () end for