Text this: Use of energy storage systems in the optimal operation of distribution networks