BATTERY ENERGY MANAGEMENT SYSTEM