Measuring COD in WWTP