THE ROLE OF THE BATTERY MANAGEMENT SYSTEM