Computer simulation of an industrial wastewater treatment process