Role of lithium-ion batteries in microgrid system | Synapse