For this purpose, two central composite rotatable design (CCRD) 22 were applied aiming at investigating the effects of current density (CD) (16.3–57.5 mA/cm2) and the hydraulic retention time (HRT), where different times were evaluated for the aluminum electrode (31.8–88.2mL/min) and for iron electrode (61.8–118.2 mL/min).