MULTI TIMESCALE CAPACITY CONFIGURATION OPTIMIZATION OF ENERGY STORAGE