Text this: Wastewater minimization in multipurpose batch plants with a regeneration unit : multiple contaminants