Improving energetically operational procedures in wastewater treatment plants