1 Introduction

Depending on developing technology and changing human needs, industries have increased their product range and diversity in many areas. Dyes are one of the raw materials used to respond to this diversity in all kinds of colored things and consumables, as well as in the medical sector. However, today, the textile industry, commercial dye production industry, and food sector have a large share in the use of dyes. Approximately 2% of dyes produced every year in the world are mixed into wastewater as a result of production activities, while the majority of dyes, 10%, are discharged from industries such as the textile industry, highlighting the magnitude of dye pollution discharged from the industry[1, 2]. When these wastewaters are discharged into the receiving environment without treatment, they disrupt the oxygen balance of the environment, reduce light transmittance, and put the living organisms at risk [3]. In addition, the discharge of this wastewater to receiving environments causes problems such as eutrophication. It endangers human and animal life by entering the food chain through the usual ecosystem cycle. Although there are major risk environments for wastewater, dyes containing toxic and carcinogenic active substances are risky for human life. In every respect, the treatment of these wastewaters is essential.

According to their chemical structures, dyes are divided into classes such as azo, nitro, and reactive. AFG is a cationic dye frequently used for dyeing wool, silk, leather, and fiber. Many studies have investigated the effectiveness of aerobic, anaerobic, adsorption, and advanced oxidation processes for the treatment of solutions containing dyes [4,5,6]. Krishnan et al. [7] investigated the removal of Reactive Brilliant Red X-3B (RBRX-3B), Direct Blue-6 (DB-6), and Direct Black-19 (DB-19) dyestuffs under aerobic conditions. Maximum removals of RBRX-3B, DB-6, and DB-19 were 31.2%, 71.5%, and 87.6%, respectively. Although effective yields are obtained in aerobic processes, hydraulic retention time requirements, large space requirements, and a large amount of sludge formation can be counted among the disadvantages of this system [8, 9]. Dye removal with advanced oxidation processes is a very successful and popular method.

The advanced oxidation processes (AOP) are based on the production of oxidative radicals as a result of a series of chemical and physical processes, and these radicals attack organic materials and break them down to intermediate or end products [10]. Hussain et al. [11] reported that the O2, HO2, OH radicals, and H2O2 play an essential role in AOP on the degradation of dyes.

Ozturk and Yilmaz [12] investigated the removal of Basic Red 13 (BR13) dye from aqueous environments with an electrochemical oxidation method. COD removal of 99.98% was achieved, and 7.91 kWh/m3 energy consumption was required. Although there was no secondary waste generation such as sludge, high energy consumption and expensive inert electrodes limit the system.

A study that investigated the AFG degradation mechanism by glow discharge electrolysis (GDE) technique was made by Quanfang et al. [13]. GDE is an electrolysis technique applied with several hundred volts [14]. OH, H, and O radicals can be formed to oxidize the organics in this process like the anodic oxidation process. The total organic carbon (TOC) removal and decolorization were 72.6% and 99.0% under 600 V discharge voltage for 120 min reaction time. However, electrolysis, electrooxidation, electrocoagulation, electro-Fenton processes, etc., have high removal efficiencies of pollutants. So, their applications may not be economical due to electricity use.

The Fenton process is an AOP application in which hydroxyl radicals are produced in the presence of ferrous ion and hydrogen peroxide in an aqueous medium. It is possible to convert pollutants into end products such as H2O and CO2 with hydroxyl radicals [15]. It is also chosen as a pretreatment process in which highly resistant pollutants are converted into intermediate products. The Fenton process has some disadvantages; external chemicals such as H2O2 constitute a large part of the operating cost [16], and sludge production after the reaction. However, Fenton processes are preferred due to the system's ease of operation, high pollutant removal efficiencies, and rapid results. Many studies reported high removal efficiencies for dye-containing wastewaters with Fenton and Fenton-like processes [17, 18]. The nanomaterials were frequently used for the removal of dyes with photocatalytic systems [19, 20] and heterogeneous Fenton (or Fenton-like) processes [21]. Mahmud et al. [22] used Fe3O4@SiO2 nanocatalyst to degrade malachite green with a heterogeneous Fenton-like process. They reported 96.18% removal of malachite green with magnetically separable catalyst. Modarresi-Motlagh et al. [23] investigated crystal violet (CV) removal with Fenton-like oxidation, and they reported 90–100% CV removal in a continuous stirred tank reactor. Tabai et al. [24] reported 100% degradation of Acid Orange 7 with a homogeneous Fenton-like system based on hydrogen peroxide and a recyclable Dawson-type heteropolyanion. Modak et al. [25] investigated the efficiency of a rotating packed bed reactor for methyl orange decolorization with a homogenous Fenton process. They stated over 90% methyl orange removal. As seen, the Fenton and Fenton-like processes are successful for treatment of dye-containing aqueous medias.

The efficiency of one process depends on the characteristics of the wastewater [26] and the optimization success of the system. Optimization can be summarized as improving the conditions in the most economical way to get the best results. As an engineering practice, there are many methods to optimize systems. Nowadays, it is possible to optimize systems with programs that often combine statistical and mathematical methods or artificial intelligence applications. Response surface methodology (RSM) is one of the statistical-mathematical optimization programs. RSM provides a significant advantage in terms of economy, which is one of the most critical issues of the optimization process, with a minimum number of consumables, time, and labor on a laboratory scale [27].

There are a limited number of studies in the literature about AFG removal, which is frequently used in acrylic fiber and knitted fabrics and with a need for investigation of removal from wastewaters.

As far as the authors are aware, there is no study investigating AFG removal with the Fenton process optimizing the operating conditions using RSM. The decolorization kinetics were investigated to understand the oxidation mechanism better. The high removal efficiency and economical application of the Fenton process in this study highlight the significance of the numerical optimization approach. The findings will contribute to a better understanding of the oxidation mechanism of dye-containing wastewaters and optimization of the Fenton process to treat wastewater containing AFG.

2 Material and Method

2.1 Preparation of Dye Solutions and Chemicals

AFG (C22H26Cl2N2) and methyl orange (C14H14N3NaO3S) were commercially purchased from Tokyo Chemical Industry (product number: A0867, purity:99%) and Sigma-Aldrich (USA) (CAS number: 547-58-0, purity: 99%). Concentrations varying from 100 to 500 mg/L were prepared from a stock solution of 1000 mg/L. 0.02 N NaOH (CAS number: 1310-73-2, purity: ≥ 98%) and 0.02 N HCl (CAS number: 7647-01-0, purity: 37%) were purchased from Sigma-Aldrich and used to set pH values of dye solutions. H2O2 (CAS No: 7722-84-1, purity: 30%) and FeSO4.7H2O (CAS number: 7782-63-0, purity: ≥ 99%) were provided from Sigma-Aldrich (USA). Binary dye solutions containing 50 mg/L methyl orange and AFG were prepared to investigate the process efficiency under mixed dye media. Also, real wastewater is provided from a textile industry in Malatya, Turkey. Characterization of dye solutions and wastewater is given in Table 1.

Table 1 Characterization of dye solutions and textile wastewater

2.2 Experimental Procedure

The Fenton experiments focused on removing COD from various aqueous media. The first of these is aqueous solutions containing only AFG. Since this study focused on the removal of AFG dye, the optimization of the experimental system was carried out only for operational conditions where COD removal from AFG-containing solutions was investigated. The second contaminant medium is the binary dye solution. The binary dye solution contains a mixture of AFG and methyl orange dye at certain concentrations (50 mg/L). The removals of AFG and methyl orange dye from binary solution under optimized conditions are discussed. In this experimental system, the aim is to demonstrate AFG removal under conditions optimized for AFG in the presence of any dye. Finally, COD and particular dye removal efficiencies were investigated under optimized conditions for real textile industry wastewater in Malatya, Turkey. The operating parameters for each experimental system are ferrous ion concentration (50–300 mg/L), H2O2 concentration (50–600 mg/L), pH of the solution (2.5–5.0), reaction time (15–60 min), and initial AFG concentration (C0, 100–500 mg/L). All operating parameters were adjusted to desired values for 500 mL aqueous mediums. The pH was adjusted to the desired value using 0.02 N HCl or 0.02 N NaOH. After the pH adjustment, Fe2+ ions were added and mixed in the first stage, and H2O2 was added in appropriate doses in the second stage. After the addition of Fe2+ ions and H2O2, the reaction was started by mixing the solutions in the Jartest device (Velp Scientifica, JLTA, Italy) at 150 rpm for 60 min. At the end of the reaction, the pH value of the solution was set to 7 for the iron sludge precipitation for 30 min[28]. Then, 20 mL of supernatant phase is taken from this solution and centrifuged at 8000 rpm. The remaining concentrations of H2O2 and COD in the aqueous solutions after centrifugation were determined. In addition, the amount of sludge formed for all three test systems under optimized conditions was calculated. Analyzing methods are given in Sect. 2.3

2.3 Analyzing Methods

System efficiency was calculated for both COD and dye removal. The well-known Eq. 1 was used to calculate COD and dye removal efficiencies. While C0 refers to the solutions' initial COD and dye concentration (mg/L), Ct refers to the COD and dye concentration in wastewater samples taken at time t. AFG and methyl orange removal efficiencies were analyzed at a wavelength of 522 nm and 462 nm, respectively. The UV–Vis scan of AFG, methyl orange, and binary dye solutions are shown in Fig. S1.

$${\text{Removal efficiency}} \, \left( \% \right) = \frac{{\left( {C_{0} - C_{t} } \right)}}{{C_{0} }} \times 100$$
(1)

pH was analyzed with a multimeter (WTWmulti340i). Dissolved oxygen (DO) and temperature of solutions were analyzed with a multimeter (YSI 556 MPS). A jar test machine was used for batch experiments (Velp JL T6). All experiments were conducted with 150 rpm of stirring speed. A UV–Vis spectroscope (WTW photolab 6100 vis) was used to determine the COD and AFG concentrations in solutions taken at different time intervals. COD analysis was conducted according to the closed reflux colorimetric method [29], and AFG analysis was determined at a wavelength of 522 nm. Total nitrogen (TN) analysis was made a cell test method (based on peroxydisulfate oxidation/2,6-dimethylphenol) by using a spectrophotometer (WTW photolab 6100 vis) at a wavelength of 320 nm. The H2O2 concentrations remaining in the solution after the reaction [30] were quickly read due to possible COD interference according to the method determined by Talinli and Anderson [31] and Benatti et al. [32].

Total dissolved solids (TDS) is an important parameter that shows the measure of all inorganic and organic substances found in mineral, ionized, and dissolved forms in solution [33, 34]. TDS in a water sample can be measured gravimetrically in ppm (parts per million) or mg/L [35]. In this study, TDS analyses were made according to the Standard Methods for the Examination of Water and Wastewater [36]. Briefly, 150 mL of glass beakers was dried in an oven for 24 h at 180 °C. The dried glass beakers were cooled for 2 h in a desiccator and then weighed; 100 mL of samples was filtered with 0.45-µm cellulose acetate membrane (Product No: 10404006, Whatman Int. Ltd., UK). The filtered samples were transferred to the glass beaker. Then samples were evaporated in an oven for 24 h at 180 °C. The dried and cooled glass beakers were weighed again to calculate TDS concentration. TSS analyses were made according to the Standard Methods for the Examination of Water and Wastewater [36] based on the gravimetric method. Under vacuum, the 100 mL of samples was filtered with a 1.2-µm filter (Cat No: 1822–047, Whatman Int. Ltd., UK). Then filter papers were dried in an oven for 24 h at 103 °C before filtering the samples to provide the constant weight. After the filtering process, the filter papers were dried in an oven for 2 h at 103 °C. The dried and cooled filters were weighed again to calculate TSS concentration. All analyzes were performed in triplicate.

2.4 Calculation of Fenton Sludge

The sludge formation was analyzed for three experiment sets. One and second sets were conducted under the optimized conditions for aqueous solutions containing only AFG dye and for binary dye solutions. The last set was conducted under optimized conditions for real textile wastewater. At the end of these experiments, the pH values of solutions were set as 7.0 to provide precipitation of iron. After this procedure, the solution was filtered under vacuum using a 0.7-µm filter (Cat No: 1825-047, Whatman Int. Ltd., UK). Then the filter paper was dried in an oven (Memmert UN 110) for 1 h, and the weight of dried sludge was measured [37].

2.5 Optimization Pathway

Optimization is frequently used in engineering to obtain maximum output from a system within certain constraints. It can be summarized as optimizing system conditions to operate a system with most efficiency. Today, optimization can be achieved with many statistical and mathematical programs. Design expert 13® is a software package from Stat-Ease Inc. that includes many optimization procedures such as Box–Behnken, central composite design for response surface applications. Also, it includes Plackett–Burman and Taguchi designs under factorial designs, and other custom and composite design models. Optimizing more than one variable for one or more responses, determining the individual, interaction and quadratic effects and effect levels of each variable or variables on the response/s, statistical analysis of the data and the established models, optimizing the parameters by adjusting them in the desired ranges, estimating data without experiment from model equations (within parameter limits), and determining the reliability level of this estimation are possible with the Design expert 13® software. Design expert 13® offers numerical and graphical optimization options for models with the program, and the experimenter can determine the optimum points by performing the optimization using the matrix method [27].

RSM examines the relationship between system inputs and output variables based on factorial contributions from coefficients using a regressive model [38] and meets expectations in many aspects in an optimization procedure. Central composite design (CCD) was used to optimize the system as a response surface application in this study. An experimental system is optimized while ensuring economy with minimum chemical consumption, time spent, and labor, along with maximum system efficiency. In addition, determining the most critical parameters affecting the system, fixing the parameters that do not have much effect on the system, narrowing the intervals of the optimization parameters, and approximating the optimum response are possible with the analysis of variance (ANOVA) test. It is possible to determine to what extent the change of 1 unit in each operating parameter affects the system output or outputs with the p-value using the ANOVA test. In addition, the reliability and adequacy of the model can be determined in the specified space [39]. One of the essential advantages of RSM is predicting the results without experimenting with the specified parameter ranges and reaction environment. It is possible to analyze how close these estimated values in the RSM space are to the experimental data for each optimization procedure. With RSM, a quadratic equation including the effects of individual, interaction, and quadratic effects of system inputs on system output or outputs is obtained (Eq. 2) [40] with the Design expert 13® program.

$$\hat{y}_{n} = \beta_{0} + \mathop \sum \limits_{i = 1}^{n} \beta_{i} x_{i} + \mathop \sum \limits_{i = 1}^{n} \beta_{ii} x_{i}^{2} + \mathop \sum \limits_{i = 1}^{n} \mathop \sum \limits_{J = i + 1}^{n} \beta_{ij} x_{i} x_{j} + \varepsilon$$
(2)

While \({x}_{i}\mathrm{symbolizes \, the \, level \, of \, independent \, input},{ \beta }_{i}\),\({\beta }_{ij}\) and \({\beta }_{ii}\) represent the linear, interaction, and quadratic effect of terms, \({\beta }_{0}\) ε \(\mathrm{is the constant response valu}\) e representing the random error, and n is the number of independent factors. There are three design points in CCD [41]. These are fractional factorial, center, and axis points [3]. The number of experiments in CCD can be determined by Eq. 3[42].

$$2^{k} + 2k + c$$
(3)

Here, c stands for the number of repeated experiments in the center (8 in this study), and k is the number of independent variables in the system (5 in this study). There are three types of design points in CCD. Independent variables were selected as ferrous ion concentration (mg/L) (coded as A), H2O2 concentration (mg/L) (coded as B), pH of solution (coded as C), reaction time (min) (coded as D), and initial AFG concentration (C0, mg/L) (coded as E). The maximum, minimum, and center points for these variables are given in Table 2.

Table 2 Range of independent parameters

Optimization with CCD in RSM can be performed by various methods such as graphical [43], matrix [27], and numerical [41]. With the numerical optimization method, the best values for inputs and outputs in the design space are offered to the experimenter with desirability levels. One of the most critical issues in numerical optimization is determining the input and output targets. All independent parameters were targeted as 'in range' except for ferrous ion concentration and H2O2 concentration in this study. Ferrous ion concentration and H2O2 concentration factors were targeted as 'minimize' to reduce the excessive use of chemicals for an economical approach. Both output parameters were targeted as 'maximize.' Then, the most suitable solution was selected according to the desirability values.

3 Results

3.1 CCD Matrix, Regression Analysis, and Model Analysis

The experimental matrix designed by RSM, both experimental and predicted results, is shown in Table 3. The effects of the five coded parameters on removal (%) of COD and AFG defined as system outputs were investigated. As a result of 50 experimental sets, the coded model equations for both outputs are shown in Eqs. 4 and 5. With the help of these equations, it is possible to estimate the outputs by entering the inputs within the value ranges introduced to the system. The accuracy of this estimation is examined with both experimental and model validation analyses. Table 3 shows the corresponded error (ε) values that can be calculated the differences between experimental and predicted values for both responses. As seen from Table 3, predicted values are generally close to experimental values, which can be interpreted as established model success for predicting the actual values. The model reliability can be more interpreted with ANOVA tests (see Table 6).

Table 3 CCD matrix and experimental results

The maximum results were obtained for COD removal and AFG removal in the experimental set in run 39 (Table 3). This can give the experimenter insight into estimating the optimum points of each parameter [41]. At the same time, it is possible to estimate ranges of values close to the optimum point from 3D plots (see Figs. 2 and 3). The relationship between system outputs and inputs was explored with the empirical coded model given in Eqs. 4 and 5. The positive and negative values indicate the synergistic and antagonist effects between system outputs and inputs, respectively [44]. For both system outputs, the effects of individual factors are synergistic, except for the initial AFG concentration, while the effects of all quadratic parameters are antagonistic. The interaction effects of the parameters exhibited both synergistic and antagonistic properties.

$$\begin{aligned} & {\mathbf{COD}} \, {\mathbf{Removal}} \, \left( \% \right)\left( {{\mathbf{Coded}}} \right) \\ &\quad = {91}.{72} + {8}.{88}\left[ {\mathbf{A}} \right] \, + {11}.{24}\left[ {\mathbf{B}} \right] \, + {6}.{4}0\left[ {\mathbf{C}} \right] \\ & \qquad + {5}.{13}\left[ {\mathbf{D}} \right] \, - {9}.{24}\left[ {\mathbf{E}} \right] \, + {5}.0{7}\left[ {{\mathbf{AB}}} \right] \, \\ & \qquad - {3}.{18}\left[ {{\mathbf{AC}}} \right] \, - 0.{4}0[{\mathbf{AD}}] \, - 0.{37}\left[ {{\mathbf{AE}}} \right] \, + {1}.{7}0\left[ {{\mathbf{BC}}} \right] \, \\ & \qquad - 0.{61}\left[ {{\mathbf{BD}}} \right] \, + {2}.{11}\left[ {{\mathbf{BE}}} \right] \, {-}{1}.{31}\left[ {{\mathbf{CD}}} \right] \, \\ & \qquad + {1}.{26}\left[ {{\mathbf{CE}}} \right] \, + 0.{12}\left[ {{\mathbf{DE}}} \right] \, {-}{3}.{84}\left[ {\mathbf{A}} \right]^{{\mathbf{2}}} - {1}.{278}\left[ {\mathbf{B}} \right]^{{\mathbf{2}}} \\ & \qquad {-}{7}.{12}\left[ {\mathbf{C}} \right]^{{\mathbf{2}}} {-}{3}.{63}\left[ {\mathbf{D}} \right]^{{\mathbf{2}}} {-}{1}.{66}\left[ {\mathbf{E}} \right]^{{\mathbf{2}}} \\ \end{aligned}$$
(4)
$$\begin{aligned} & {\mathbf{AFG}} \, {\mathbf{Removal}} \, \left( \% \right)\left( {{\mathbf{Coded}}} \right) \\ &\quad = {98}.{38} + {4}.{82}\left[ {\mathbf{A}} \right] \, + {6}.{37}\left[ {\mathbf{B}} \right] \, + {4}.{16}\left[ {\mathbf{C}} \right] \, + {4}.0{3}\left[ {\mathbf{D}} \right] \, \\ & \qquad {-}{7}.{92}\left[ {\mathbf{E}} \right] \, + {3}.{33}\left[ {{\mathbf{AB}}} \right] \, {-}{2}.{91}\left[ {{\mathbf{AC}}} \right] \, \\ & \qquad {-}{3}.{39}\left[ {{\mathbf{AD}}]} \right] \, + {2}.{25}\left[ {{\mathbf{AE}}} \right] \, + {2}.{14}\left[ {{\mathbf{BC}}} \right] \, + {2}.{47}\left[ {{\mathbf{BD}}} \right] \, \\ & \qquad + {3}.{73}\left[ {{\mathbf{BE}}} \right] \, {-}0.0{5}\left[ {{\mathbf{CD}}} \right] \, + {3}.{15}\left[ {{\mathbf{CE}}} \right] \, \\ & \qquad + {1}.{3}0\left[ {{\mathbf{DE}}} \right]{-}0.{4}\left[ {\mathbf{A}} \right]^{{\mathbf{2}}} - {1}.{55}{\mathbf{B}}]^{{\mathbf{2}}} \\ &\qquad {-}{2}.{99}\left[ {\mathbf{C}} \right]^{{\mathbf{2}}} {-}{1}.{32}\left[ {\mathbf{D}} \right]^{{\mathbf{2}}} {-}{1}.{75}\left[ {\mathbf{E}} \right]^{{\mathbf{2}}} \, \\ \end{aligned}$$
(5)

Model summary statistics and the sequential model sum of squares tables for both responses are shown in Table 4 and Table 5, respectively. In Table 4, the 'quadratic' model is suggested for both responses, and the 'cubic' model is aliased. The fact that the Adjusted R2 and Predicted R2 values are close to each other is one of the most important factors in recommending a model. Accordingly, the 'cubic' model cannot be used for modeling data [41, 45]. In addition, it can be concluded that 'linear' and '2FI' models cannot be used to model experimental data. The F value is another parameter determining model selection. A large F value indicates the selectability of the model. In Table 5, the highest F value was obtained for the 'quadratic vs. 2FI' model in both responses. The p-value is a factor that is often used in determining the effectiveness of a model or parameter. It is clear from Table 4 that 99.99% effect was obtained for the 'quadratic vs. 2FI' model. When the p-value is analyzed for response 2, the 'Linear' model has 99.99% significance. However, it is not recommended by the system. 'Adjusted R2,' 'Predicted R2,' 'p-value,' and F values should be evaluated together when deciding on the model. Therefore, the p-value obtained for the second response becomes insignificant when Table 4 is examined. This is because there is no R2 consistency for the linear model; as a result, it can be concluded that the 'quadratic' model is valid for both system outputs.

Table 4 Model summary statistics for Response 1 and Response 2
Table 5 The sequential model sum of squares for response 1 and response 2

The predicted vs. actual graphs are informative in verifying how successful the model is in predicting responses. Figure 1a and b shows predicted vs actual plots for responses 1 and 2. The closeness of the experimental and predicted data to the line reveals the model's success in predicting the data. The colored boxes above and below the line represent each experimental and predicted data, respectively. Experimental data are the actual values taken as responses (COD and AFG removal). Predicted values are the estimated COD and AFG values from the established quadratic model with Eqs. 4 and 5. As can be seen, the experimental and predicted data are located close to each other around the line. Therefore, it can be concluded that the established quadratic model successfully predicts both responses in the working ranges. The relationship between the data estimated by the system and the level of residuals for response 1 and response 2 are given in Fig. 1c and d, respectively. The scattered colored boxes represent the result of the experimental sets and the estimated data for each response. Externally studentized residual plot helpful to evaluate the significance outlier of the points. In this evaluation, the outside red lines are defined as outlier points [46]. A residual is an error that is the difference between the predicted values (scatterplot) and the observed values (regression line) [46]. A distribution close to the zero axis indicates the closeness of the estimates to the experimental data, while it indicates that the residuals are minimal. As seen, the range of residual values between −3 and + 3 are within the acceptable limits [47], and the variance of observed values is constant [48]. Based on these data, it can be said that the variance of the actual values is constant, the input parameters in the model do not need to be transformed, and the established model is satisfactory and valid [49].

Fig. 1
figure 1

Graph of predicted values vs. actual values for a COD removal, b AFG removal, predicted values vs. externally studentized residuals for c COD removal and d AFG removal

3.2 Effect of Independent Parameters on Responses

The most important indicator in determining the degree of influence of parameters affecting an experimental system in CCD is the ANOVA table (Table 6). As shown in Table 6, it is clear at p < 0.0001 that the model established for both responses is significant. The F values for the 1st and 2nd responses are 34.28 and 31.91, respectively. This situation indicates that the established quadratic regression is significant [41]. It is noteworthy that the effect significance of the system parameters for both responses is the same for the important parameters. The order of importance of the independent parameters for COD removal was H2O2 Conc. > Initial AFG Conc. > Fe Conc. > pH > time, while the order of significance for AFG removal was: Initial AFG Conc. > H2O2 Conc. > Fe Conc. > pH > time (Table 6, F-values). These results are confirmed by the perturbation plots displayed for both responses in Fig. S2. The perturbation plot is useful for comparing the effects of all factors at a given point in the design space. The midpoint of all factors (i.e., code 0) is set as the reference point (Fig. S2). As clear in Fig. S2(a), the main effective factor with high steepness for COD removal is B (H2O2 Conc.) while the main factor on AFG removal is E (Initial AFG Conc.) (Fig. S2b). COD and AFG removal efficiencies were less sensitive for reaction time. Also, Table 6 shows that system parameters 'individual' effects are significant for both responses with p < 0.0001. Values greater than 0.1000 indicate that the model terms are not meaningful, so it can be said that the 'interaction' and 'quadratic' effects of the parameters affect both responses less significantly compared to the individual effects (except CC for COD removal, BE for AFG removal). Additionally, Pareto analysis is very useful for testing the impact of parameters on response. Figure S3 shows the effect of terms and their interactions with 95% confidence lines. The percentage effect of each term was calculated from Eq. (6) [42].

$$\begin{array}{*{20}c} {P_{i} = \left( {\frac{{\beta_{i}^{2} }}{{\sum \beta_{i}^{2} }}} \right) \times 100} & {i \ne 0} \\ \end{array}$$
(6)

The Pi and βi are the percentage effect and coefficient of each term. As seen, terms have both positive ( +) and negative (−) effects on the AFG and COD removals. While the terms to the right of the line are significant, the terms to the left are not significant on the responses. It is clear from Fig. S3a the terms BE, BC, CD, CE, AA, DD, BB, BD, EE, AD, AE, and DE have insignificant effects on COD removal efficiency that are confirmed with the ANOVA test (p-value, see Table 6). The terms BC, EE, BB, DD, BB, DE, AA, and CD have insignificant effects on AFG removal efficiency. The results are in good agreement with ANOVA tests. The maximum percentage effects for AFG and COD removal were calculated as 25.22% (for E term) and 25.88% (for B term), respectively. It is clear from Table 6 that the lack of fit values is 2.57 and 3.01 for the first and second response, respectively, which means that the lack of fit values only occurs with a probability of 10.10% and 6.93%, respectively, due to noise. The Adequate Precision values express the signal-to-noise ratio from the fit statistics parameter (Table 6), for COD and AFG removals are 21.502 and 22.024. It can be concluded that the signal is sufficient when a value greater than 4 is desired[18]. In the signal-to-noise ratio, the noise shows the value that should be reduced while the signal represents the value that should be maximized [50]. If the signal is more than the noise, the noise can be neglected. According to all results, the parameters individually affect both responses to a significant degree, the quadratic model established is valid, and this model can be used to navigate the design space.

Table 6 Analysis of variance for response 1 and response 2

Another indicator where parameter effects can be observed in parallel with the ANOVA result is 3D graphics. Figure 2 and Fig. 3 show the combined effects of system parameters on responses. Fe and H2O2 concentrations on COD and AFG removal can be observed in Figs. 2a and 3a, respectively. The operation conditions for the Figs. 2a and 3a are pH: 3.75, time: 37.5 min and AFG concentration: 300 mg/L, Fe2+ concentrations: 50–300 mg/L and of H2O2 concentrations: 50–600 mg/L. When Fe2+ conc. increased from 50 mg/L to 300 mg/L, the efficiency of COD removal increased. Also, COD removal efficiency increases when H2O2 conc. increases from 50 mg/L to 600 mg/L in a similar way. The removal of COD and AFG reaches almost 100% efficiency as observed in Figs. 2a and 3a.

Fig. 2
figure 2

Combined effect of a H2O2 Conc. and Fe.2+ Conc. b Reaction time and pH c Initial AFG Conc. and H2O2 Conc. on COD removal (%)

Fig. 3
figure 3

Combined effect of a H2O2 Conc. and Fe.2+ Conc. b Reaction time and pH c Initial AFG Conc. and H2O2 Conc. on AFG removal (%)

The increased COD and AFG removal efficiency with increasing H2O2 concentration can be attributed to the greater production of •OH and •OOH in the wastewater (Eqs. 7 and 8).

$${\text{Fe}}^{2 + } + {\text{H}}_{2} {\text{O}}_{2} \to {\text{Fe}}^{3 + } + \bullet {\text{OH}} + {\text{ OH}}^{ - }$$
(7)
$${\text{Fe}}^{{3 + }} + {\text{H}}_{2} {\text{O}}_{2} \to {\text{Fe}}^{{2 + }} + \bullet {\text{OOH}} + {\text{ H}}^{ + }$$
(8)

The generated radicals, shown in Eqs. 7 and 8, attack the C–H bonds of organic pollutants (symbolized by S) and initiate a series of chain reactions (Eqs. 913) [51]. Youssef et al. [51] stated that these chain reactions produce free radicals, and organic radicals react with dye molecules and convert them to nontoxic end products.

$${\text{SH}} + \bullet {\text{OH}} \to \bullet {\text{S}} + {\text{H}}_{2} {\text{O}}$$
(9)
$${\text{SH}} + 2 \bullet {\text{OOH}} \to \bullet {\text{SOO}} + \bullet {\text{SO}} + {\text{H}}_{2} {\text{O}}$$
(10)
$$\bullet {\text{SOO}} + {\text{SH}} \to {\text{SOOH}} + {\text{S}}$$
(11)
$$\bullet {\text{SO}} + {\text{SH}} \to {\text{SOH}} + {\text{S}}$$
(12)
$$2 \bullet {\text{SOO}} \to {\text{SOOS}} + {\text{O}}_{2}$$
(13)

In addition to the increase in the oxidation of organic pollutants with the increasing concentration of H2O2, the so-called scavenging effect can be observed when H2O2 is dosed at amounts greater than a critical H2O2 concentration (Eq. 14) [52].

$${\text{H}}_{2} {\text{O}}_{2} + \bullet {\text{HO}} \to \bullet {\text{HO}}_{2} + {\text{H}}_{2} {\text{O}}$$
(14)

As can be seen from Eq. 14, H2O2 dosing above the critical concentration causes the consumption of radicals. The consumption of HO radicals, a powerful oxidizer, was reflected as a decrease in removal efficiencies. The HO2 radical, which is formed due to the scavenging reaction of H2O2 with HO, has a much lower oxidizing capacity than HO radical. Additionally, the produced HO2 radicals can react with HO radicals (Eq. 15). Consequently, these reactions cause a decrease in HO radicals.

$$\bullet {\text{HO}}_{2} + \bullet {\text{HO}} \to {\text{H}}_{2} {\text{O}} + {\text{O}}_{2}$$
(15)

All the reactions based on the scavenging of HO radicals occur because of dosing of H2O2 above a critical concentration. But in this study, as shown in Figs. 2a and 3a, decreasing removal efficiencies with increasing H2O2 concentrations were not observed. According to this observation, the critical concentration of H2O2 was not reached in this study.

Similarly, COD and AFG removal efficiencies increased when Fe concentration increased from 50 to 300 mg/L (Figs. 2a and 3a). Increasing Fe concentration causes H2O2 to decompose into more HO radicals (Eq. 7). This results in more produced HO radicals oxidizing the dye molecules (Eqs. 913). As seen from Eqs. 4 and 5, the Fe concentration symbolized by 'A' has a positive coefficient, indicating that the COD and AFG removal efficiencies are higher at higher Fe concentrations. In addition to individual effects, for interaction effects, there is high efficiency for both responses in increasing Fe and H2O2 combinations. The positive 'AB' coefficient also confirms this interpretation in Eq. 4 and Eq. 5.

Figures 2b and 3b shows the combined effect of pH and time on COD and AFG removal efficiencies. The operation conditions for Figs. 2b and 3b are Fe2+ concentration: 175 mg/L, H2O2 concentration: 325 mg/L, AFG concentration: 300 mg/L, pH values: 2.5- 5, reaction times: 15–60 min. The instability of H2O2 in alkaline environments and the decrease in oxidizing capacity led to the investigation of the homogeneous Fenton process in more acidic conditions. For this reason, in this study, the effect of pH was investigated in the range of 2.5 to 5. When the pH value increased from 2.5 to 3.75, both removal efficiencies increased considerably. The presence of H2O3+ at pH < 3 leads to an increase in the stability of H2O2; so, the generation of HO radicals is restricted [53, 54]. Equation 16 [55] shows that H+ scavenges the HO radicals in severe acidic environments.

$$\bullet {\text{HO}} + {\text{H}}^{ + } + {\text{e}}^{ - } \to {\text{H}}_{2} {\text{O}}$$
(16)

However, at pH above 3.75, removal efficiencies started to decrease slowly for both responses. As can be seen from Table 3, maximum removal efficiencies were observed at pH 3.75 in experiment 39. This can be explained by the rapid decomposition of H2O2 by iron ions into hydroxyl radicals, leading to a rapid increase in COD and color removal efficiencies. The slightly decreased removal efficiencies at pH values above pH 3.75 can be attributed to the reduced oxidation potential of HO radicals and lower production rate of HO radicals because of hydrolysis of Fe3+ [52]. Similar observations were reported in the literature [52, 55, 56].

It is possible to see the effect of reaction time in Figs. 2b and 3b. The removal efficiencies for both responses increased significantly when the reaction time increased from 15 to 37.5 min. This situation can be attributed to the high amount of HO radicals in the medium in the early stages of the reaction [57]. This can result in rapid oxidation. Güneş and Cihan [58] reported in their study that with increasing reaction time, sufficient H2O2 can participate in the reaction to oxidize the pollutants. The low removal efficiencies observed at reaction times of less than 37.5 min may be related to insufficient HO radicals in the solution. In addition, it may be associated with the short reaction of organic substances with these radicals and the stopping of the reaction before the organic substances were sufficiently oxidized. When the reaction time increased from 37.5 to 60 min, a slow change was observed in the removal efficiencies for both responses. This situation can be explained by the decreased amount of HO radicals in the later stages of the reaction and the corresponding decrease in the pollutant concentration [57, 59].

Figures 2c and 3c shows the combined effect of initial AFG concentration and H2O2 concentration. The operation conditions for Figs. 2b and 3b are Fe2+ concentration: 175 mg/L, pH values: 3.75, reaction time:37.5 min., H2O2 concentrations: 50–600 mg/L, AFG concentrations: 100–500 mg/L. The removal efficiencies for both responses decreased significantly when the initial AFG concentration increased from 100 to 500 mg/L. This decrease can be attributed to the non-parallel relationship between increasing pollutant concentration and hydroxyl radicals in the medium. In other words, the amount of organic molecules to be attacked by radicals is higher at 500 mg/L compared to 100 mg/L, and the insufficient amount of radicals in parallel can explain this situation. On the other hand, Zhang and Zhang [60] attributed a similar observation to the occurrence of side reactions, especially due to non-specific oxidation of main intermediates and competitive consumption of hydroxyl radicals, as reported by Murugananth et al. [61].

3.3 Numerical Optimization

Efficiency and economy are essential in system optimization. Optimization in RSM can be done numerically, graphically, and by the matrix method. The advantage of numeric optimization is that the experimenter can set the limits of the optimization conditions. This means limiting the parameters as desired to obtain a more economical and effective result depending on the experimental conditions, the nature of the process, and other environmental conditions. For this purpose, system input and output parameters can be set as 'target,' 'minimize,' 'maximize,' and 'in range.' The system offers many solutions that include different input–output parameters with different 'desirability' values. The experimenter should first pay attention to the 'desirability' value when choosing a solution. The closer this value is to 1.00 means that the solution is more consistent with ​​ reflecting the actual.

Maximizing the removal efficiency and minimizing the system costs as much as possible are the criteria to be considered. For this, the consumption of Fe2+ and H2O2 concentrations among system consumables was minimized to reduce system cost. Also, the pH parameter was chosen as the 'target' for the natural wastewater pH to reduce the cost. Other system parameters were targeted as 'in range.' On the other hand, COD and AFG removal efficiencies were maximized.

The system parameters were numerically optimized with these conditions: Fe2+: 50 mg/L, H2O2: 50 mg/L, pH 3.75, R. time: 42.54 min, C0: 100 mg/L. The desirability of these selected conditions was 0.977. Under these conditions, the COD removal efficiency predicted by the system is 80.5%, and the AFG removal efficiency is 94.11%.

In order to verify the system optimization, an experiment was carried out under the numerically optimized conditions, and COD and AFG removal efficiencies were experimentally found to be 81.01% and 94.33%. In this case, we can say that the established model is valid, and the experimental data support the data predicted by the system.

According to the authors' best knowledge, there is no study investigating the removal of AFG (Basic Red 13) dye with the Fenton process. For this reason, the comparison of this study, which was carried out with the classical Fenton process, with other Fenton processes is given in Table 7. Fenton processes are known as advanced oxidation processes and are known as good practices in removing organic pollutants since H2O2 is broken down into H2O and O2 and converted into nontoxic products. Minimizing the use of additional chemicals (such as H2O2, FeSO4⋅7H2O), which is among the general disadvantages of Fenton processes, also affects the applicability of the process. Another limiting factor for homogeneous Fenton processes is sludge formation, but it is possible to reuse the sludge for other applications. Fenton sludge contains densely Fe(OH)3, and it has many application areas, the synthesis of magnetic heterogeneous Fenton catalysts and the recovery of Fe2+ from Fenton sludge, etc. (see Sect. 3.5). As seen in Table 7, Nguyen et al. [62] achieved good efficiencies for dyestuff and organic matter removal using magnetic waste iron slag composite and iron sludge as catalysts. The heterogeneous Fenton processes eliminate the use of iron (II) sulfate. Still, the industrial-scale catalyst synthesis may be more costly than using iron (II) sulfate for the homogenous Fenton process. Homogeneous Fenton processes have advantages such as applying at high organic loadings, operational simplicity, simple equipment, and facilities and providing a coagulation treatment by the co-precipitation of certain contaminants. In heterogeneous Fenton processes, it has system-limiting features such as the synthesis of the catalyst in the industrial scale as a costly procedure, the contribution degree of catalyst to oxidation, the reuse procedure, the possibility of decreasing the catalyst activity over time.

Table 7 Comparison of Fenton treatments for wastewaters containing dye

The success of Fenton processes for the removal of dyestuffs was again proven in this study. As seen from Table 7, although Fenton processes were successful for dye removal and removal of organic matter fractions such as COD or total organic carbon (TOC), homogeneous Fenton processes generally showed high performance for the removal of both pollutant fractions. Rodrigues et al. [63] optimized the process conditions, where they investigated the removal of PRH dye and TOC by the Fenton process. With the central composite design approach, they determined that the ferrous ion dosage and temperature parameters had positive and negative effects. On the other hand, they efficiently optimized the system to increase the targeted dye removal to 99.6%. As observed in this study, organic matter mineralization (TOC) was less observed in their study. This may be due to the longer reaction times required for organic matter mineralization. Hsueh et al. [52] reported (Table 7) that 99% removal was obtained for RM5B, RB5, and OG dyes removal with the Fenton process, while TOC removal was reported as only 40% with 480 min reaction time. They explained that TOC removal takes place with a slow reaction rate. In this study, homogeneous Fenton process optimization was performed only for AFG removal, and AFG removal was achieved as 94.33%. However, the Fenton process for binary dye solution and real textile wastewater under the optimized conditions for AFG and dyestuff removal was not observed to be high. This is related to which target pollutant removal is optimized according to which output parameter. Similarly, it will be possible to maximize system efficiency and to optimize system parameters when the optimization procedure is carried out for binary solution and real textile wastewater. For this reason, it would be better to use the concept of 'suitable process for the pollutant' and ' sucsessful system optimization' instead of the term ‘best process.’ As a result, it can be concluded that homogeneous Fenton processes are suitable for wastewater containing AFG.

3.4 Decolorization Kinetics

In this study, oxidation of organic pollutants by HO radicals was investigated by the well-known kinetic models of pseudo-first-order (PFO) and pseudo-second-order (PSO) models. Also, the BMG model was applied, as developed by Behnajady et al. [69]. The general rate law for organic molecules is displayed in Eq. 17 [66, 70];

$$r = - \frac{{dC_{{{\text{AFG}}}} }}{dt} = k_{{{\text{HO}}}} C_{{{\text{HO}}}} C_{{{\text{AFG}}}} + \mathop \sum \limits_{i} k_{{{\text{oxi}}}} C_{{{\text{oxi}}}} C_{{\text{AFG }}}$$
(17)

oxi corresponds to oxidants except for •HO. •HOO is one of the radical species which has lower oxidation capacity than •HO. Because the concentration of •HO could be measured directly, it was assumed to be constant under some conditions. So, the concentration of •HO was considered to be a part of the apparent constant (kapp), which can be expressed by the PFO reaction (Eq. 18) [66, 70]. Here, Ct AFG and C0 AFG represent the remaining AFG concentration in the sample at t time and initial AFG concentration, respectively. kapp1 is the apparent rate constant for PFO reaction kinetics. With a graph plotting ln(Ct AFG/C0 AFG) versus t, kapp1 (min−1) can be calculated from the slope of the line.

$$\ln \frac{{C_{{t {\text{AFG}}}} }}{{C_{{0 {\text{AFG}}}} }} = - k_{{{\text{app}}1}} t$$
(18)

The PSO kinetic model can be summarized by Eq. 19, where kapp1 is the apparent rate constant for the PSO reaction kinetic.

$$\frac{1}{{C_{{t {\text{AFG}}}} }} = \frac{1}{{C_{{0 {\text{AFG}}}} }} + k_{{{\text{app}}2}} t$$
(19)

Behnajady et al. [69] derived a mathematical model to fully use the results for real applications (Eq. 20). m and b represent the characteristic constants of the BMG model. With a plot drawn of (t/(1− Ct AFG/C0 AFG)) versus t, b and m can be calculated from the slope and intercept of the line, respectively.

$$\frac{t}{{1 - {\raise0.7ex\hbox{${C_{{t {\text{AFG}}}} }$} \!\mathord{\left/ {\vphantom {{C_{{t {\text{AFG}}}} } {C_{{0 {\text{AFG}}}} }}}\right.\kern-\nulldelimiterspace} \!\lower0.7ex\hbox{${C_{{0 {\text{AFG}}}} }$}}}} = m + bt$$
(20)

The kinetic experiments for the effect of initial AFG concentration on AFG removal rate were conducted under the conditions: Fe2+: 50 mg/L, H2O2: 50 mg/L, and pH 3.75, which were determined as optimum. Effect of H2O2 concentration on AFG removal rate was explored under the conditions: Fe2+: 50 mg/L, C0: 100 mg/L, and pH 3.75. Additionally, the effect of Fe2+ concentration on AFG removal rate was investigated under the conditions: C0: 100 mg/L, H2O2: 50 mg/L, and pH 3.75. For all kinetic studies, the samples were taken at nine different time intervals between 5 and 60 min. The regression coefficients and kinetic model constants calculated are shown in Table 8.

Table 8 Kinetic model parameters and correlation coefficients (R2) for the decolorization of AFG

Figure 4 shows the effect of initial AFG, H2O2, and Fe2+ concentrations on AFG removal efficiencies with different reaction times. As shown in Fig. 4a, the same concentration of hydroxyl radicals attacks the pollutant with increasing dose reflected as a decrease in the AFG removal rate. For all concentrations of AFG, H2O2, and Fe2+ in the first 5 min, the reaction occurred rapidly and generally showed a slowing trend after 40 min (Fig. 4a–c). The degradation of dyes with homogenous Fenton processes typically depends on two steps [71]; one is the rapid degradation of dyes depending on the reaction between H2O2 and Fe2+ (Eq. 7). The second step is a reaction between H2O2 and Fe3+ (Eq. 8), where relatively slow degradation occurs. The accumulated Fe3+ concentrations promote the generation of •HOO, which has a low oxidation capacity on organic compounds [72]. •HOO attacks the dye molecules and degrades them to intermediate products and/or end products (Eqs. 913). Jafari et al. [73] reported that the decolorization of AFG (BR13), a cationic dye, occurs after breaking the azo bond and reported the intermediates they detected by GC–MS technique as a result of the oxidation of BR13 by sonoelectrochemical process (in present of TiO2 nanoparticles). Figure 4b shows the increased AFG removal efficiencies with increased H2O2 concentrations related to more OH radicals attacking the C-H bonds of AFG molecules (Eqs. 913). The AFG removal was achieved slow degradation for all H2O2 and Fe2+ concentrations after 40 min which may be related to the second oxidation step of the Fenton process (Fig. 4b and c).

Fig. 4
figure 4

The effects of a initial AFG, b H2O2, and c Fe.2+ concentrations on AFG removal efficiencies with different reaction times

Beldjoudi et al. [74] reported that the degradation rate of dyes mainly depends on the HO radical concentration and H2O2 concentration. This situation was confirmed with the increased kinetic coefficients with increasing Fe2+ concentrations (Table 8). As clear from Table 8, increasing kinetic coefficients with increasing H2O2 concentrations indicate that the reaction rate increases. Therefore, increasing radicals increased the rate of AFG removal while the AFG concentration was constant (Fig. 4b). Most studies [75, 76] have reported an inverse relationship between increasing H2O2 concentrations and organic matter removal, with a series of side reactions resulting in the scavenging of radicals (Eqs. 14,15). However, this situation was not observed in this study because the critical H2O2 concentration was not reached.

As seen in Table 8, With increasing AFG concentration, the apparent rate constants for PFO and PSO decrease. When the correlation coefficients between PFO and PSO are compared, PSO has relatively higher correlation coefficients. The decrease in kinetic coefficients with increasing AFG concentrations may suggest that the reaction between oxidative radicals and dye molecules and the intermediate and/or end converted products are less favoured by loaded organic pollutants. Li et al. [77] stated that the produced hydroxyl radical concentrations were the same because of constant H2O2 and Fe2+ dosages even the concentrations of dye increase. When AFG concentrations change from 50 to 500, the 1/m and 1/b values decrease. So, this situation can be attributed to the increasing amount of AFG dye molecules that need to be oxidized. Insufficient radicals result in lower dye removal and lower degradation rate of dye molecules. Behnajady et al. [69] reported that higher 1/m values indicate a faster initial degradation rate for dye molecules. Also, they stated that when t is infinite or long, 1/b has theoretical maximum dye removal fraction, which means the same as the maximum oxidation capacity of the Fenton process at the end of the reaction. As seen from Table 8, 1/b values, in other words, maximum oxidation capacities increased with increasing H2O2 and Fe2+ concentrations. As a result of increased H2O2 and Fe2+ concentrations, the produced radical concentrations increased and accelerated the AFG degradation rate. Zhang et al. [78] stated that the 1/b values around 1 indicate Fenton oxidation has a potentially high oxidation capacity for pollutants. So, it can be said that the maximum oxidation capacities were achieved for 600 mg/L of H2O2 concentrations and 400 mg/L of Fe2+ concentrations.

The highest R2 values were obtained for the BMG model for all AFG, H2O2, and Fe2+ concentrations. So, the best-fitted model for AFG degradation is the BMG model. Many studies reported the best fitting model as BMG for dye degradation with Fenton oxidation [71, 79, 80].

3.5 Fenton Sludge Generation

Sludge generation is among drawbacks of the homogenous Fenton process [81]. The Fenton process typically involves the formation of hydroxyl radicals after Fe2+ catalyzed reaction with H2O2 (Eq. 7). After the oxidation of organic substances by hydroxyl radicals, the pH value of the solution/wastewater is alkalized, and Fe(OH)3 is formed in this process (Eq. 21). The Fe(OH)3 flocs formed have a structure that can absorb organic and inorganic pollutants.

$${\text{Fe}}^{3 + } + {\text{OH}}^{ - } \to {\text{Fe}}\left( {{\text{OH}}} \right)_{3} \downarrow$$
(21)

According to the results, the generated sludge under optimized conditions for AFG dye solution, binary dye solution, and real textile wastewater was 0.110 ± 0.02 g/L (6% (v/v), 0.108 ± 0.01 g/L (5% (v/v)), and 0.120 ± 0.03 g/L (7% (v/v)), respectively. The real textile wastewater contains more organic pollutants than dye solutions. More Fe2+ and H2O2 doses will be required for higher removal efficiencies, resulting in more sludge production. Since the doses of Fe2+ and H2O2 are constant in the solution, the formed sludge amounts are close to each other for aqueous environments.

Fenton sludge has toxic nature [82]. In a facility where the homogeneous Fenton process is applied, the first thing to do is to optimize the system to reduce sludge formation. Then, the sludge use evaluation for another application should be investigated before the sludge formed is disposed of. There are beneficial uses of Fenton sludge reported in many studies such as magnetic catalyst synthesis from ferric sludge by hydrothermal method [83], Fe2+ regeneration from Fenton sludge to remove pharmaceuticals from the municipal wastewater by Fenton process [84], and synthesis of catalyst using Fenton sludge as an iron source and application on the Fenton-based process for phenol removal [85].

3.6 Homogenous Fenton process performance for a binary dye solution and real textile wastewater

In order to explore the AFG removal performance of homogeneous Fenton processes in the presence of other dyes, binary solution studies were performed. For this purpose, a solution containing 50 mg/L methyl orange and AFG was treated under optimized conditions (Fe2+: 50 mg/L, H2O2: 50 mg/L, pH 3.75, R. time: 42.54 min.). According to a previous study, the concentration of non adsorbed dyes was analyzed with UV–Vis spectroscopy [86]. After Fenton process treatment, COD removal efficiency was calculated as 53% for binary dye solution. The performance of the Fenton process based on dye and COD removal efficiencies was decreased in the presence of other dyes compared to aqueous solutions that contain only AFG dye. The AFG (C22H26Cl2N2) removal efficiency decreased from 94.33% to 68% in the presence of methyl orange (C14H14N3NaO3S) dye. However, the removal efficiency for methyl orange from the binary solution was calculated as 73%. These results highlight that the decomposition and/or degradation of pollutants depends on their chemical properties. It should be noted that binary solution purification conditions were run under AFG-optimized conditions. Therefore, these results also emphasize the importance of the optimization processes being specific to the pollutant characteristics/treatment process.

The effectiveness of the Fenton process on the removal of certain dyes from real textile industry wastewater was investigated under the optimized conditions (Fe2+: 50 mg/L, H2O2: 50 mg/L, pH 3.75, R. time: 42.54 min.). The characteristic of wastewater is given in Table 1. The UV–Vis scan was conducted for wastewater before and after the Fenton processes. Results are shown in Fig. S4. According to the λ (nm) values, three types of dye were estimated with the wavelengths of 410, 484, and 627 nm, which may correspond to the Reactive Yellow 86 [87], Acid Orange 7 [88], and Reactive Green 19 [89], respectively. As seen from Fig. S4, the absorbance of each dye decreased after the Fenton process, which shows the removal of dyes from wastewater. According to the results, Reactive Yellow 86 (RY86), Acid Orange 7 (AO7), and Reactive Green 19 (RG19) removals were calculated as 62.72%, 51.73%, and 39.39%, respectively. Additionally, COD removal for real textile wastewater was found as 42%.

Satisfactory yields for the removal of certain dyes from a real textile industry wastewater under AFG-optimized conditions have not been obtained because the optimized conditions for a solution containing AFG may not be suitable for aqueous media containing other dye(s) and/or wastewater. In addition, while the pollutions for AFG and binary solutions were dyes, there are complex pollutants in real wastewater. It is clear much more Fe2+ and H2O2 are required to oxidize complex pollutants, emphasizing the need for more hydroxyl radicals. It can be said that Fenton processes can be applied as pretreatment for AFG containing solutions and textile wastewaters. Considering the high removal efficiency obtained only for AFG-containing solutions in this study (94.33%), it can be said that successful results can be obtained when the optimization procedure is carried out specifically for the target pollutant and wastewater/solution type. The results emphasize that optimizing a process is very important to increase the removal efficiency even using a traditional process.

3.7 Cost Estimation

The cost estimation of the homogeneous Fenton process for the laboratory-scale treatment of wastewater containing AFG is based on chemical usage. The chemicals used are FeSO4·7H2O, H2O2, NaOH, and HCl. Prices of chemicals were determined as a result of market research for August 2021. Total cost calculation was estimated with Eq. 22 [90].

$${\text{Total}}\;{\text{Cost}}~\left( {\frac{\$ }{{{\text{m}}^{3} \;{\text{treated}}\;{\text{waste}}\;{\text{water}}}}} \right) = ~\$ {\text{Fe}}^{{2 + }} + \$ {\text{H}}_{2} {\text{O}}_{2} + \$ {\text{NaOH + }}\$ {\text{HCl}}$$
(22)

The prices were determined as 125 $/MT, 150 $/MT, 250 $/MT, and 250 $/MT for H2O2, FeSO4·7H2O, NaOH, and HCl respectively. To achieve 94.33% dye removal and 81.01% COD removal, the total experimental cost to treat one m3 AFG solution was calculated as $ 0.26 at the laboratory scale. It should be noted that these cost calculations are for conditions optimized for a single AFG solution with a low COD load. Asghar et al. [91] optimized with Taguchi coupled with principal component analysis (PCA) to treat textile industry wastewater with the homogeneous Fenton process. They reported that the experimental cost was reduced by $54/m3. Pliego et al. [92] reported that these costs depend on the capacity of the wastewater plant, the nature and concentration of pollutants, and reactor properties for a full-scale system. Industrial wastewaters have high organic loads (COD, TOC), and it may be possible to treat this wastewater on an industrial scale with much higher costs. In this case, it will be possible to optimize the operating parameters according to the high-efficiency low-cost principle. This study demonstrated that one of the best practices for cost and system optimization is RSM.

4 Conclusion

The homogeneous Fenton process was investigated and optimized with a central composite design to remove AFG and COD. The established quadratic model was reliable and sufficient to predict the experimental data. The operating parameters significantly affected AFG and COD removal individually. Optimum conditions were determined as Fe2+: 50 mg/L, H2O2: 50 mg/L, pH 3.75, R. time: 42.54 min, C0: 100 mg/L. Under these conditions, COD and AFG removals were determined experimentally as 81.01% and 94.33% and confirmed theoretically. According to the kinetic results, the rapid oxidation for AFG removal occurred in 5 min and slow oxidation was observed after 40 min. The performance of the Fenton treatment was evaluated for binary solutions containing Methyl Orange and AFG and for real textile wastewater containing Reactive Yellow 86, Acid Orange 7, and Reactive Green 19 dyes. The generated sludge for AFG dye solution, binary dye solution, and real textile wastewater was 0.110 ± 0.02 g/L (6% (v/v), 0.108 ± 0.01 g/L (5% (v/v)), and 0.120 ± 0.03 g/L (7% (v/v)), respectively. The experimental cost estimation based on chemical consumption was calculated as $0.26 for 1 m3 of AFG solution treatment. In this study, the high removal efficiencies of AFG-containing solutions in which numerical optimization is applied, and low removal efficiencies observed in binary and real wastewater where numerical optimization is not applied highlight the importance of the optimization procedure. High removal efficiencies can be achieved by providing the optimization procedure for solutions or wastewaters containing various dyes.