An innovative procedure for assessing the environmental footprint of wastewater treatment plants