Abstract: The optimization of energy consumption has the potential to reduce the costs of wastewater treatment operations while maintaining water quality and complying with environmental regulations.