A Distributed Algorithm for Resource Allocation in Smart Grid | IEEE Conference Publication | IEEE Xplore