Energy storage bms management system strategy