a survey on the communication architectures in smart grid .
Multi-agent systems in a distributed smart grid: Design and implementation