HOW CAN ENERGY STORAGE CONFIGURATION BE OPTIMIZED