Modified nernst model for on-line control of the chemical oxidation decoloring process