HOW IS ENERGY STORAGE CAPACITY CALCULATED