An algorithm for the allocation of distribution system demand and energy losses | IEEE Journals & Magazine | IEEE Xplore