Introduction

The mineral industry, all around the world, employs a physicochemical technique called froth flotation, especially for the concentration of sulfide-containing complex ore deposits. This flotation method is a three-phase system comprising solid minerals, liquid water molecules and air bubbles. It relies on the differences between the surfaces of the natural mineral particles (Harjanto et al. 2021). The principle idea behind this physicochemical separation is to render the desired (valuable) mineral’s surface hydrophobic and the undesired particles hydrophilic. Once this surface rendering process is completed, the hydrophobic (air-avid) particles are attached themselves to air bubbles and rise upward altogether by under SGair bubbles < SGwater. On the other hand, the hydrophilic (water-avid) particles prefer to contact water molecules instead of air bubbles (Farrokhpay 2011). The concentration is effectuated by simply removing of top froth layer that involves valuable hydrophobic particles.

The flotation reagents, which make a mineral’s surface hydrophobic, are called as collector. There are varying types of collectors that are specifically designed depending on the physical and chemical properties of the targeted minerals. Xanthate is the most common collector for the flotation of complex sulfide ores (Chen et al. 2021). This reagent is categorized as an anionic collector with a combination of carbon dioxide, sodium hydroxide and alcohol. It presents a mild acid property in an aqueous medium. The number of carbon in its molecular structure determines its collecting power in the flotation process (Kang and Hu 2017). Xanthates with a carbon number of 2 or less provide a weak floatability to the sulfide ores, and they are only applicable to easily floatable minerals. However, xanthates with a larger number of carbon lead to a longer hydrocarbon chain in their molecular structure. Once these longer hydrocarbon chains adsorb on the mineral surface, forming head-to-tail extension into the water, the solid matter becomes more hydrophobic. It also results in higher recoveries considering the process efficiencies (Chen et al. 2021).

Xanthate can be used for several mineral flotation plants industrially. For example, pyrite concentration can be done by the xanthate application at slightly acidic pH values (Mu et al. 2015). Galena processing plants also benefit from the xanthate collecting ability at a pH of 7–9 (Vučinić et al. 2006). Many other sulfide minerals that contain copper and sulfur can be enriched easily since there is a high affinity between Cu++ on the surface and xanthate molecules (Bowden and Young 2016). Although sphalerite has a low floatability, xanthate can be used to make this mineral hydrophobic provided that its surface is initially activated with Cu++ ions. As it can be understood from these mineral industries that compulsorily rely on the vast amount of the collector consumption, there is an overgrowing worldwide demand for xanthate as well as copper, lead, zinc, etc. Shen et al. (2020) estimated that the global annual xanthates consumption, just by the mining companies, will be over 370,000 tons in 2025.

The continuous increase in xanthate consumption may lead to detrimental occupational health and safety risks, environmental hazards and non-sustainable production (Shen et al. 2016). When xanthates are discharged from a processing plant or leaked from tailing ponds, they can easily mix with the underground water reservoir, natural spring waters or riverine/lake ecosystems. The presence of xanthates in such water bodies results in severe contamination. Xu et al. (1988) studied and proved the bioaccumulation of xanthate in aquatic organisms. For example, the plant called Lemna Minor can absorb xanthate with a bioaccumulation factor as high as 1000 (Xu et al. 1988). The cellular uptake of heavy metals like cadmium, lead copper also increased in direct proportion to the bioaccumulation of xanthate. This co-tendency was explained by the high chemical affinity between the heavy metals and xanthates. As a result, the contamination of xanthate becomes more hazardous since it carries strong complexes of heavy metals with it (Boening 1998).

Furthermore, the toxic effect of xanthate on aquatic organisms was studied in the literature. Bertillas et al. (1985) proved that the presence of xanthates in water bodies was severely toxic to fish, algae and bacteria. Nevertheless, it was observed (Bertillas et al. 1985) that there is an excellent increase in metal toxicity in the presence of heavy metals and xanthates /up to 3.5 times for fish 25 times for algae). In addition to its indirect metal toxication effect, xanthates can be hydrolyzed in the human body, degrading into alcohol and carbon disulfide. In particular, the latter degradation product can cause acute toxicity with several health issues like reproductive effect and neurological problems DeMartino et al. 2017). The handling, transportation and application of xanthate should be carried out very carefully because the previously mentioned carbon disulfide can be released with an intensive decomposition of xanthate in an alkali media. This undesirable decomposition during the process can affect sustainable production (loss of reagent), and it releases very toxic (and flammable) gas in the working area.

In this work, an alternative electricity-based treatment, which has not been previously practiced in the published literature to eliminate xanthate contamination in water, was experimented. The primary objective (1) was to investigate the applicability of the electrocoagulation process for the treatment of xanthate-containing water. Secondly (2), three different metal electrodes were attached to the electrocoagulation reactor to reveal the metal-dependent performance of the process, comparatively. Thirdly (3), the statistical models were estimated using response surface methodology based on the experimental data. Thereafter (4), the effect of the parameters (pH and electrical current) on the treatment efficacy was explained one by one for each electrode type. Finally (5), the optimization study was conducted to determine the best-operating conditions and metal type for this physicochemical process.

Material and methods

Xanthate, which is a typical collector used for the flotation of complex sulfide ores in the mineral industry (Ackerman et al. 1987), was procured from a local supplier (ECS Kimya). However, in this work, xanthate was preferred to mimic a specific aqueous contaminant generated in mineral processing plants. The required amount of xanthate pellets were mixed and wholly dissolved in 1 L of distilled water (TDS < 1 ppm) at 1000 rpm. The resultant stock solution had a concentration of 2 mM.

SOIF UV-5100H Single Beam Spectrophotometer (UV/VIS 200–1000 nm) was used to determine xanthate concentration. The xanthate-containing solution was firstly analyzed between 250 and 340 nm. The output spectrum between these wavenumbers was stated, and a unique peak was identified at 301 nm. The previous research papers (Prestidge et al. 1994; Fornasiero et al. 1995; Grano et al. 1997; Sun and Forsling 1997; Hao et al. 2008; Agorhom et al. 2014) also confirm this same peak value of xanthate. The spectrophotometric analysis to determine xanthate concentration was conducted at 301 nm. In the next stage, varying concentrations from the pure water to the xanthate-containing stock solution were tested, and the corresponding absorbance values were plotted. A linear model was obtained after a statistical regression between the collected data points with a large R2-value of 0.9956. This model identified the variation in the data with the following equation: y = 0.0888x + 0.0037. Based on this linear equation between the absorbance and the concentration, all required concentrations were estimated, contributing to the performance evaluation of the electrocoagulation experiments.

Three different sets of experiments were carried out considering the previously mentioned setups in published literature (Akansha et al. 2020; Balouchi et al. 2020). The chemical compositions of the aluminum, iron and copper electrodes were 99.95%-Al, 98.6%-Fe and 99.5%-Cu. Aluminum, iron and copper electrodes were separately tested to remove the aqueous xanthate. These experimental setups are shown in Fig. 1. 150 mL representative samples was taken from the xanthate-containing stock solution. Then, they were put into 200-ml beakers for each experiment and vigorously mixed with the help of the magnetic stirrer beneath the beaker. Following that, the desired metal electrode was dipped into this solution. The electrodes were wired to GWINSTEK Power Supply for the completion of the circuit of the electrocoagulation reactor.

Fig. 1
figure 1

Experimental setup of electrocoagulation

The two most critical independent parameters were selected and used during the electrocoagulation experiments: the pH of the solution (X1) and the applied electrical current (X2). The desired value of the solution pH was adjusted by using 0.1 M NaOH or 0.1 M HCl. The minimum (− 1), intermediate (0) and maximum (1) values of the solution pH were 5, 7 and 9, respectively. The desired values of the applied electrical current were adjusted by using a digital panel of the power supply. The minimum (− 1), intermediate (0) and maximum (1) values of the applied electrical current were 0.1 A, 0.35 A and 0.6 A, respectively. The experimental design + response surface methodology had been implemented to statistically analyze the effect of these parameters on the xanthate removal % (Y). The face-centered central composite design method, as one of the most commonly preferred fractional factorial designs in the literature (Bhattacharya 2021), was used for the systematic investigation of these process parameters, especially in the water treatment discipline (Karimifard and Moghaddam 2018; Nasseri et al. 2020; Saber et al. 2021). For the statistical evaluation and modeling of the obtained experimental data, Design Expert (Demo Ver.) software was used. The software generated a certain number of random runs for the central composite design, and the related experimental template was determined as stated in Table 1. Once all required experimental results were completed in the laboratory, the xanthate removal % was introduced to the software as the response values (Table 1):

  1. 1.

    The best models for each experimental setup were designated regarding the statistical indicators.

  2. 2.

    The response surfaces were formed within the experimental boundaries.

  3. 3.

    The parameters were optimized for the maximum removal percentages of xanthate.

Table 1 Face-centered central composite experimental design

With the help of this statistical work, the effect of the parameters on the responses, the proper electrode selection, the highest performance achievements for each electrode (aluminum, iron or copper) was aimed to be revealed for the treatment of this harmful chemical used frequently in the mining industry.

Results and discussion

Three electrocoagulation experiments were carried out with three different electrodes, aluminum, iron, copper. The mechanism of the process was tried to be explained with previously published adsorption/surface precipitation works since there is no current direct study related to the xanthate electrocoagulation in the literature.

Firstly, the aluminum electrodes were tested since this material was frequently used in wastewater treatments (Sharma et al. 2021; Sürme and Demirci 2014; Nyangi 2021). Figure 2 shows that the maximum removal efficiency of xanthate was only 4% in this case of electrocoagulation. Almost no chemical affinity was observed between aluminum released from the electrode and the aqueous xanthate. The color of the solution could not be cleared. The worst electrocoagulation performance was obtained with aluminum within the studied range of the parameters. Although the literature (Rezaei et al. 2018; Amrollahi et al. 2019; Salarirada et al. 2021) indicated that the removal of xanthate is possible through its adsorption on the aluminum-activated solid surfaces like Al–bentonite, Al–activated carbon, etc., this experimental work showed that the direct precipitation with aluminum-based electrocoagulation was not possible. Iron was used as a second electrode material (Fig. 3). While the removal performance of the iron-based electrocoagulation was insufficiently low at pH 9, it became much better with a level of 80% at pH 6.5 comparing to the aluminum electrode. Noirant et al. (2019) claimed that the xanthate chemisorption is possible through iron on mineral surfaces. Deng et al. (2021) confirmed this and reported that iron xanthate can be formed on the pyrite surface. Another study (Amin et al. 2019) tested and proved that xanthate with aqueous iron in the absence of electricity was possible. The chemical affinity between the iron released from the electrodes and xanthate was affirmed with the literature, also. The copper electrode was tested as a third and final treatment. At pH 9, the copper-based electrocoagulation produced a proficient outcome of 100% removal of xanthate. The electrical current at 0.6 A also contributed to the success of the process. In the other physicochemical process like froth flotation, the dissolved copper can be used as an activator for sulfide minerals (Bu et al. 2019). Once the mineral surface was activated, the adsorption of xanthate can be enabled (Wang et al. 2019). This means that the xanthate chemisorbed itself on the particle through this copper (Xia et al. 2019). The copper ions have a strong complexation ability with xanthate as proved in this work. As a result, a superior removal of xanthate can be achieved with only copper electrodes rather than aluminum and iron.

Fig. 2
figure 2

Electrocoagulation by using aluminum electrodes

Fig. 3
figure 3

Electrocoagulation by using iron electrodes

After the completing of the laboratory tests, three collected data sets were statistically analyzed, and the different regression models were tested. The linear, 2FI, quadratic and cubic models’ suitability was checked for each data set based on the p-value and R2 as shown in Table 2. The first regression model that belongs to the electrocoagulation via aluminum electrodes were merely linear (p-value < 0.0001 and R2 = 0.9506). On the other hand, the second (p-value < 0.0011 and R2 = 0.9858) and third models (p-value < 0.0202 and R2 = 0.9911) that represent the electrocoagulation via iron and copper electrodes were suggested in quadratic form. The minimal coefficients of the estimates of the linear model refer that pH levels (X1) and electrical current (X2) had almost no mathematical contribution on xanthate removal % (Y) throughout the electrocoagulation process when aluminum electrodes were used. Nonetheless, the coefficients of the estimates in Model-2 and Model-3 were higher, proving that the selected independent variables (X1 and X2) had a substantive practical effect on the response (Y) in the presence of iron and copper electrodes.

Table 2 Comparison of the linear, 2FI, quadratic and cubic models

The suggested linear and quadratic models in Table 2 was investigated in detail and it was observed that some terms were statistically nonsignificant. These terms with a p-value > 0.05 were discarded from the initial models in Table 3, aiming for a higher capability for the modeling and optimization work. All terms in the initial Model-1 had a p-value < 0.05 and no improvement was required for this simple linear model. Also, the p-value of Model-1 more minor than 0.0001 confirmed the statistical significance of the estimated model. For Model-2, AB and B2 in Model-2 and A2 in Model-3 were omitted since they had a p-value of 0.2606, 0.0664 and 0.1010, respectively. All remaining terms had a statistical significance for this study, and they were included in the mathematical models.

Table 3 ANOVA tables and omission of nonsignificant terms

ANOVA tables of the improved models indicated that the mathematical expressions are statistically significant since their p-values were smaller than 0.05, as shown in Table 3. This statement confirms that the models were capable of the proper representation of three experimental data sets. According to these models’ R2, adjusted-R2 and predictive-R2 values, the substantial amount of the total variation in the collected data sets was efficiently explained. For instance, all R2-indicators were very close to the ideal/perfect case expounded by R2 = 1. Adeq Precisions were also tested, and the resultant ratios showed a little noise and a high level of signal for each one. Therefore, adequate precision (20.785, 23.684 and 30.153, respectively) was proved for the estimated models since they were higher than the reference value 4.

The normal plots of the residuals were used as diagnostic tests to analyze the models graphically. As shown in Fig. 4, the residuals mostly intensified close to the red-colored straight lines, and there were no outlier data points throughout the plots. Since there was no non-normal error distribution, the normality assumptions were checked as valid. The proven normality and homoscedasticity (Fig. 5) provided an excellent ability to correctly forecast the xanthate removal percentages. The comparative plots of the observed versus the estimated response values (Fig. 6) showed that all data points followed a 45° angle line. This tendency endorsed the successful model fittings and the high level of prediction power of the linear and quadratic models.

Fig. 4
figure 4

Electrocoagulation by using copper electrodes

Fig. 5
figure 5

Studentized residuals of the models (a Model-1, b Model-2, c Model-3)

Fig. 6
figure 6

Predicted versus actual (experimental) values (a Model-1, b Model-2, c Model-3)

The most common electrodes used in previously published electrocoagulation studies (Aitbara et al. 2016; Safwat et al. 2019; Zini et al. 2020) are aluminum electrodes. The solid aluminum electrodes dissolved and hydrolyzed into varying aqueous species under electrical current during the electrocoagulation process. The hydrolysis products of aluminum have been found very efficient for wastewater treatment. They form polynuclear species (Bertsch and Parker 1996) like Al2(OH)24+, Al2(OH)5+, Al3(OH)45+, Al8(OH)20(H2O)54+, Al6(OH)12(H2O)126+, Al54(OH)144(H2O)3618+ and Al13O4(OH)24(H2O)127+ and these active aqueous phases can chemically interact and eliminate target matters in most wastewater, efficiently (Hu et al. 2016; Palacios et al. 2016). Based on this fact, the aluminum electrodes were tested for the removal of xanthate, and their results were stated in Fig. 7. The percentages of the xanthate removal were almost zero at pH 9, and the increase in the electrical current by no means improved it. While pH reduced from 9 down to 5, a very slight variation was observed, xanthate removal efficiency was only around 3%, and the yellow-colored water contaminated by xanthate could not be treated with the aluminum electrodes. Although the dissolved aluminum forms potent coagulating agents, as mentioned above, they could not form insoluble compounds with xanthates. Conclusively, the expected sequence of the precipitation and coagulation failed throughout the studied range of the parameters.

Fig. 7
figure 7

Effect of individual factors and their synergistic interaction effect on xanthate removal when aluminum electrodes were implemented (Model-1)

Secondly, iron electrodes were attached to the electrocoagulation reactor, and the test results were summarized in the contour plots. The better xanthate removal efficiencies were obtained by using iron electrodes compared to the former aluminum electrodes. According to the generated lines in Fig. 7, the removal efficiencies were only between 24 and 42% at pH 9. The dissolved iron from the anode could not ably react with xanthate at this pH level. Iron ions principally precipitate as xanthate-free oxide forms (Sheikh and Leja 1977). When the solution pH was adjusted to 6 and 7, a more efficient xanthate removal was observed since the co-precipitation of iron and xanthate took place instead of iron oxide phases. Nonetheless, Fig. 8 shows that the electrical current was significant, as much as the solution pH. The increase in the electrical current to 0.6 A at pH 6.5 expressively enhanced the efficiency of the process up to 82%. The previous researchers carried out the thermodynamic calculations about a similar system containing iron xanthate–water (Sheikh 1972). They found out that ferric xanthate Fe(EX)3(solid) can be observed regardless of whether Fe2+, Fe3+, EX and (EX)2 are used as reactants under the relevant conditions, and it was clear that ferric xanthates are only stable in severe acidic conditions (Wang et al. 1989). On the other hand, hydroxyl ferric xanthates Fe(OH)n(EX)3-n(solid) is precipitated since they are more stable around the neutral pH levels (Sheikh and Leja 1977). Based on this, the red-colored region on Figs. 8 and 10, which was obtained by using the iron electrodes at around I = 0.6 A and pH 6.5, thermodynamically corresponded to the precipitation zone of hydroxyl ferric xanthates. As a result, a more considerable amount of xanthates could be removed from water via iron electrodes due to the formation of the stable hydroxyl ferric xanthates, for instance, Fe(OH)2(EX)(solid).

Fig. 8
figure 8

Effect of individual factors and their synergistic interaction effect on xanthate removal when iron electrodes were implemented (Model-2)

Thirdly, the copper electrodes were also tested to treat of the xanthate-contaminated water. However, the previously mentioned aluminum and iron electrodes have been more commonly used in the related literature and studies (Shah et al. 2021). As shown in Fig. 9, the implementation of the copper electrodes in the reactor easily removed 48–58% of the xanthate even though the lowest level of electrical current was applied. Since the higher energy made more copper dissolve into the solution from the solid electrodes, this precipitating and coagulating agent in this system became more concentrated. As a result, much better results were obtained when the current increased up to 0.6 A, according to Model-3. As discussed in the previous cases, the solution pH was also critical for the electrocoagulation with the copper electrodes. When NaOH was incrementally added into the solution, a progressive improvement for the process was observed. The best results (Fig. 9) were experienced at pH 9, reaching an almost complete xanthate removal level.

Fig. 9
figure 9

Effect of individual factors and their synergistic interaction effect on xanthate removal when iron electrodes were implemented (Model-3)

The aqueous chemistry of the copper–xanthate–water system contributes to the comprehension of the process. The interaction of aqueous copper and xanthate resulted in varying complexes in the form of cuprous and cupric species. These complexations were substantiated through several paths as a function of pH. Between pH 6 and 9, monovalent copper can form Cu(I) ethyl xanthate species in water.

$$ {\text{Cu}}^{ + } + {\text{X}}^{ - } \to {\text{CuX}} $$
(1)

Another chemical reaction path reported in the literature (Voigt et al. 1994) was about the divalent copper. The hydroxyl species of Cu(II) can react with aqueous xanthate, and as a result, they form dixantogen, Cu(I) ethyl xanthate and Cu(II) ethyl xanthate (Scendo 2005). These reactions (2, 3) are not restricted to acidic and neutral pH levels (Voigt et al. 1994) in contradiction to the previously mentioned aqueous systems of iron and xanthate. When pH increased up to 9 as in this study, the reactions (2, 3) became more dominant. In this case, the performance of the process was mainly governed by the given reactions as follows.

$$ {\text{Cu}}^{ + + } + 2X^{ - } \to {\text{Cu}}X + 1/2X_{2} $$
(2)
$$ 4{\text{Cu}}^{ + + } + 8X^{ - } \to 2{\text{Cu}}X_{2} + 2{\text{Cu}}X + 1/2X_{2} $$
(3)

The results of the experiments showed good parallelism with this specific literature information, and the performance of xanthate removal substantially improved up to ~ 100% by increasing pH to 9 thanks to the formation of both cupric xanthate and cuprous xanthate (Chang et al. 2002).

It should be noted that, in the scope of this work, all experiments were carried out with the clean electrodes, and also, the duration of the electrocoagulation process was limited. However, there can be a high tendency for the surface precipitation of cupric xanthate and/or cuprous xanthate (Souto et al. 1996) on the copper electrodes. If the above precipitation reactions take place on the electrodes, the thin film growth of copper xanthate (Scendo 2005) can prevent the dissolution of copper ions from the electrodes, affecting the efficiency. Although the surface coverage of the electrodes always generates technical difficulties in any electrocoagulation process, the high affinity between the copper electrode and xanthate ions should be specifically considered for further similar researches.

After the effect of the parameters on the response was determined for each experimental setup and the related statistical model, the maximum removal percentages obtained with aluminum, iron and copper electrodes were determined at this stage of the work. The desirability studies were carried out for this purpose. The desirability contours were generated between 0 and 1 based on the response surfaces (Fig. 10) constructed on the previously estimated statistical equations (Table 4). In this contour map, 0 refers to non-desirable conditions, and 1 indicates the maximum desirability depending on the declared case-specific target (Maximization or Minimization of Removal Percentages) given in Table 5. When the minimization was targeted for the response variable, the aluminum, iron and copper electrodes could only remove 0%, 26.00% and 45.00% of the total aqueous xanthate. The main reasons for these low-efficient treatments were linked to the low electrical current application at 0.1 A and inappropriate aqueous chemistry, including the solution pH and the type of the hydrolyzable cation dissolved from the electrode.

Fig. 10
figure 10

Optimization work and the related response contours for the models (a Model-1 for aluminum electrode; b Model-2 for iron electrode; c Model-3 for copper electrode)

Table 4 Statistical models
Table 5 Results of the optimization studies for varying target values

On the other hand, to find out the most efficient process conditions for the highest removal percentages, the response variable was explicitly targeted to 100% (Desirability = 1) for each model, as stated in Table 5. The lowest desirability of 0.037 was estimated for this target when aluminum electrodes were used in the experiments. This value was very close to non-desirable zero, and it proved that aluminum electrodes yielded a result far from being acceptable with a removal% of only 3.67. The next maximum desirability was determined as 0.77 for Model-2: Electrocoagulation with iron electrodes (Table 4). The attachment of iron electrodes to the electrocoagulation reactor significantly enhanced the xanthate removal performance up to 82.34%. The desirability work signified the solution pH at 6.54 and the electrical current at 0.60 A to reach this high removal rate. Notwithstanding the formation of hydroxyl ferric xanthates (Wang et al. 1989; Kydros et al. 1994) at these optimized values of the parameters, the aimed response percentages of 100% could not be achieved within the studied ranges. Nonetheless, the copper electrodes for the treatment were found very beneficial for the removal of xanthate. The desirability was estimated as 1 within a very narrow confidence of interval. Table 4 and Fig. 10 prove that a complete xanthate removal (100%) was succeeded by using copper electrodes instead of the iron and aluminum ones. The statistical optimization recommended the use of the highest level of pH (9) and the highest electrical current (0.59 A) for the efficacious electrocoagulation treatment. This statistical finding was tested three times in the laboratory, and the outcome, as shown in Fig. 11, checked the success of the water treatment under these optimized conditions. Xanthate was precipitated in the form of a yellow-colored solid matter (Fig. 12), and these residues sedimented very fast due to the optimized electrocoagulation process, leaving a clear supernatant.

Fig. 11
figure 11

Initial xanthate solution and the clean supernatants obtained with copper electrodes (pH 9 and 0.6 A and desirability = 1)

Fig. 12
figure 12

Yellow-colored precipitates obtained with copper electrodes (pH 9 and 0.6 A and desirability = 1)

In conclusion, the electrocoagulation method was qualified as a useful alternative technique for eliminating xanthate originated from mineral processing plants that focus on the concentration of complex sulfide ores. Furthermore, the performance tests based on the statistical methods proved that the aluminum electrodes used commonly for many other treatment purposes in the literature (Sillanpaa 2020) were not suitable for the removal of this harmful aqueous contaminant. Instead, the copper electrodes were designated the most effective ones for the electrocoagulation of xanthates among the followings:

$$ {\text{Removal}}\%_{{\text{Al electrodes}}} < {\text{Removal}}\%_{{\text{Fe electrodes}}} < {\text{Removal}}\%_{{\text{Cu electrodes}}} $$

Conclusion

The mineral industry globally consumes a significant amount of xanthate to make sulfide particles’ surface hydrophobic for the purpose of concentration. The discharged hazardous xanthate from the froth flotation plants contaminates the water bodies and causes health and safety issues, including infertility, toxicity, organ damage, corrosivity/irritation, etc. For this reason, in this study, the aqueous xanthate was aimed to be treated via electrocoagulation.

Three separate experimental setups were carried out with three different metal electrodes, namely aluminum, iron and copper, and three different statistical models were estimated via RSM. The most capable models were determined (all p-values for the models < 0.0015 and all adjusted R2-values > 0.95) after the statistically nonsignificant terms were omitted from the mathematical models. Then, the performance evaluation and the optimization work were done by using response surfaces constructed based on the proposed linear and quadratic mathematical models (p-values of < 0.0001, 0.0011 and 0.0202, respectively).

The first model was about the effect of aluminum electrodes in the removal of xanthate. It was revealed that the increase in the solution pH from 5 to 9 generated a linear response surface indicating no change in the removal percentages. Similarly, the applied electrical current between 0.1 and 0.6 A did not succeed either. Aluminum ions released from the electrodes could not trigger the precipitation of xanthate during the electrocoagulation. The implementation of the aluminum electrodes was failed (Removal% = 3.67%) for this specific separation purpose since the maximum desirability was calculated as only 0.0037.

The second model showed a better performance for iron electrodes than the aluminum ones. 60% of the total xanthate was removed at 0.35 A when pH was 5. This removal % was enhanced up to only 82.34% by adjusting the parameters. pH and electrical current were increased to 6.54 and 0.6 A, respectively, to reach this percentage (Desirability = 0.77). Nevertheless, the targeted desirability of 1 could not be met by this set of electrodes. On the other hand, at the alkaline pH, the performance of the process diminishes since the aqueous iron dissolved from the electrodes precipitated in the xanthate-free form. At pH 9, the yellow-colored water could not be cleared sufficiently due to the lack of stable hydroxyl ferric xanthates Fe(OH)2(EX) (solid).

Thirdly, an uncommon copper electrode for the electrocoagulation was tested. Copper ions had a great affinity for xanthate molecules, and they formed Cu(I) ethyl xanthate and Cu(II) ethyl xanthate precipitates during the electrocoagulation. The related response surfaces showed that both input parameters contributed to the precipitation and sedimentation process. Whereas the lowest pH and electrical current levels produced the removal percent of 45%, the highest levels of these parameters managed to remove 100% of aqueous xanthate (Desirability = 1). Following the treatment, a very clear supernatant was obtained with a fast-sedimenting yellow-colored residue since copper ions have a strong complexation ability with xanthate. Consecutively, this combined statistical and experimental work manifested that the separation of hazardous xanthate from the water was possible using the electrocoagulation cell attached with copper electrodes. As a result, a superior removal of xanthate can be achieved with only copper electrodes rather than aluminum and iron.