The new challenges for climate change adaptation include achieving energy neutrality by 2050. Therefore, national strategic plans state the need to overcome deficiencies in energy and process efficiency in treatment plants, renewable energies, GHG emissions and by-products for the improvement of processes with an impact on energy and climate objectives, and circular economy. In particular, both urban and industrial WWTPs, large consumers of these resources, as well as largely responsible for water management in our environment, have been called to lead the energy transition with high standards of demand, as reflected in the new Commission Directive, now in preparation, regarding effluent quality. The higher energy consumption associated with increasingly worse performances, the difficulty to find solutions that minimize the energy consumption of the automation system and the uncertainty, due to the difficulty to quantify the energy expenditure of that stage make it necessary to address these limitations with the implementation of this project.