Collaborative Distributed Energy Management Systems