OPTIMAL CONFIGURATION STRATEGY OF ENERGY STORAGE ACCESSING TO