“…Metaheuristic algorithms such as the Genetic Algorithm, Particle Swarm Optimization, Differential Evolution, Whale Algorithm, Fireworks Algorithm, are nature-inspired optimization techniques that proved their performance in problems regarding the optimization of operation conditions in electrical networks. In the latest years, they were applied for integrating electric vehicles and distributed generation into smart grids [36], optimal reconfiguration of distribution networks [37], optimal power flow analysis in DC distribution networks [38], reliability improvement [39], optimal consumption planning [40]. In the paper, a Genetic Algorithm was used to determine the optimal buses and phases of connection for a fixed number of storage units (batteries), with the aim of reducing the energy losses over a time interval of 24 hours, according to the assumptions and scenarios described in Section 1.…”