Multi-agent system architecture for smart home energy management and optimization | Synapse