How to decrease the carbon footprint of wastewater treatment?