The inevitability of energy storage has been placed on a fast track, ensued by the rapid increase in global energy demand and integration of renewable energy with the main grid. Undesirable fluctuations in the output of. In the wake of worldwide unabated demands for clean, sustainable energy, renewable. Battery management systems (BMS) monitor and control the charging and discharging of battery packs. BMS facilitates pragmatic utilization of electricity generated in Gri. Introduction of distributed energy sources with storages in grid increases reliability of Grid. The controllers for grid connected and islanded operation of microgrid is investigated in [1. Under on-grid operational mode, the microgrid is enabled to exchange power with the Grid. Initially, the grid voltage is checked and if it is within limits the time period is verified. The microgrid is an independent network, which is capable of delivering power to the loads connected to it. In the off-grid mode, the first parameter checked is the state of the time period i.