Smart Grid Ecosystem Modeling Using a Novel Framework for Heterogenous Agent Communities | Synapse