A CONFIGURATION METHOD FOR ENERGY STORAGE