Distributed Optimal Energy Management in Microgrids | Synapse