Multi-Agent Systems for Resource Allocation and Scheduling in a Smart Grid | Synapse