Water and wastewater treatment plants