A Review of Multi-agent Based Energy Management Systems.