INTELLIGENT BATTERY MANAGEMENT SYSTEMS FOR GRID SCALE ENERGY STORAGE