Distributed and Decentralized Control of Residential Energy Systems Incorporating Battery Storage | Synapse