BMS ROLE IN BATTERY PACKS AND ENERGY STORAGE SYSTEMS