THE ARCHITECTURE OF BATTERY ENERGY STORAGE