OPTIMAL CONFIGURATION OF SHARED ENERGY STORAGE SYSTEM IN MICROGRID