OPTIMAL CONFIGURATION OF USER SIDE ENERGY STORAGE