OPTIMAL BATTERY MANAGEMENT SYSTEMS BMS FOR