Intelligent Control of Battery Energy Storage for Multi-Agent Based Microgrid Energy Management | Synapse