Economic Dispatch for an Agent-Based Community Microgrid | Synapse