OPTIMIZED CONFIGURATION OF SHARED ENERGY STORAGE IN RENEWABLE ENERGY