Within the European energy-saving goals envisaged by the “20-20-20” strategy one or more algorithms have been identified with the purpose of optimizing smart power grids’ behavior and minimizing energy dissipation, thus reducing the environmental impact of distribution.