Simulating smart grid using a two-layer multiagent framework | IEEE Conference Publication | IEEE Xplore