A tool to evaluate the fertiliser value and the environmental impact of substrates from wastewater treatment.