OPTIMAL CONFIGURATION OF ENERGY STORAGE IN DISTRIBUTION NETWORK