A distributed wardrop control algorithm for load balancing in smart grids