Smart energy management system for optimal microgrid economic operation | Synapse