A METHOD FOR ENERGY STORAGE CAPACITY CONFIGURATION IN THE