Energy Management in Microgrids Using Demand Response and Distributed Storage—A Multiagent Approach | Synapse