Introduction

Significant amounts of waste will still be disposed of in landfills even with the best reduction separation and recycling programs (Veli et al. 2021). Hence, one of the permanent and mandatory components of all waste management systems whether large or small is final disposal which mainly includes sanitary landfilling (Vilar et al. 2011). Leachate is a liquid that is released due to the entry of water such as rainwater runoff drainage or groundwater into the landfill or can be produced because of water seepage and moisture from inside of the landfill to out of it (Peng 2017). Important and influential factors on leachate quality include waste composition temperature and humidity available oxygen landfill site decomposition stage of organic materials in the waste and most importantly age of the leachate (Singh and Tang 2013). The decomposition of organic material takes place in 5 steps, which, respectively, include the initial adaptation phase transition phase acidic phase methane fermentation phase and supplementary or maturation phase (Jiang et al. 2021). Due to the high activity of acid-producing bacteria, which are categorized as obligate and facultative anaerobes, the leachate produced in the acidic phase decomposes organic material and produces large amounts of acid, which leads to a decrease in the pH of leachate (Mirghorayshi et al. 2021). This type of leachate contains high concentrations of COD TOC BOD and heavy metal ions and also has high electrical conductivity (EC) (Kurtoğlu, Akkaya, and Bilgili 2020). The leachate produced after entering the methane fermentation phase changes due to the activity of anaerobic microorganisms called methane-forming microorganisms and converts acetic acid and hydrogen gas to methane and carbon dioxide. The amount of produced acid at this stage decreases compared to the previous stage, so the pH will increase (Nain et al. 2021). At this stage, the heavy metal ions in the leachate are deposited and their concentrations decrease due to the increase in solution pH (Kawai et al. 2012). Due to the reduction of biodegradable organic materials, gas production will decrease in the supplementary stage and the amount of humic acid and folic acid will increase. Considering the steps mentioned earlier, it can be concluded that the process of changes in the production of complex organic materials and the reduction of biodegradability can multiply the management problems of leachate produced in the landfill (Liu et al. 2022; Yang et al. 2022).

Waste leachate is classified according to the age of the landfill site and is divided into three categories: old intermediate and young. The qualitative characteristics of each of which are presented in Table 1 (Amor et al. 2015; Tejera et al. 2021).

Table 1 Qualitative characteristics of leachate types resulting from landfill sites

Leachate pollutions are released from waste because of physical chemical and biological processes (Shi et al. 2021). The produced leachate has the potential to cause many environmental problems. It pollutes the environment when coming in contact with surface water groundwater or the soil around it (Wijekoon et al. 2022).

Municipal solid waste contains a large microbial population and may also be contaminated by pathogenic microorganisms (Zhao et al. 2021). Waste often contains animal waste and carcasses sewage sludge and sometimes hospital waste. Therefore, they are a suitable environment for the growth of pathogenic microorganisms and are considered a serious health risk (Sawamura et al. 2010). Some of the dangerous chemicals identified in leachate include diethyl phthalate, dioctyl phthalate, benzyl butyl phthalate, 2-methyl naphthalene, 2-vinyl naphthalene, naphthalene, acenaphthylene, acenaphthene, fluorene, and Methoprene, which are categorized as the priority pollutants (Li et al. 2016). Leachate quality determines the treatment process. Due to its high BOD/COD ratio, young leachate has a high biodegradability, so using biological processes will be more justified than other physical and chemical processes (Anna Tałałaj et al. 2021); whereas due to low biodegradability processes such as coagulation and flocculation (Cheng et al. 2021) membrane processes adsorption (Zielińska et al. 2020) and advanced oxidation (Pisharody et al. 2022) should be used for old leachate. Using these methods solely has disadvantages such as the need for high materials and energy and high cost therefore we use hybrid processes to overcome these difficulties (Kusworo et al. 2021). Integration of flocculation and advanced oxidation processes is one of the hybrid processes that has received a lot of attention in recent years (Vedrenne et al. 2012; Li et al. 2016; Mohsen Behnezhad 2021; Wu et al. 2021).

Advanced statistical design is frequently used for characterization optimization and modeling of a specific treatment. Here, in order to investigate correlated factors in the leachate treatment process and their optimization, we used response surface methodology (RSM) a combination of mathematical and statistical tools. The RSM might generate significantly more information from only a small number of experiments than could conventional optimization techniques (Roudi et al. 2021).

In this study, the response surface method (RSM) was used for investigating the mentioned cases and central composite and miscellaneous modules were chosen through others. The advantages of the mentioned methods are examining the effects of different variables on each other and reducing the number of experiments without abridging their statistical validity, which reduces time and costs (Vilar et al. 2011; Singh and Tang 2013; Peng 2017; Jiang et al. 2021).

Carlos Amor et al. first used the coagulation and flocculation process and then the Fenton and Photo-Fenton processes for leachate. Their results indicated that if the coagulation and flocculation process is used before the Fenton process, the COD rate will be reduced by 89% in 96 h and the COD rate is reduced by 75% in the photo-Fenton process (Amor et al. 2015). Jiuyi Li et al. first passed the leachate through nanoporous membranes, and then, further treatment of concentrated material was carried out using coagulation and flocculation process followed by Fenton and photo-Fenton. The results showed that more than 90% of COD and TOC were removed through this process (Li et al. 2016). In addition, Michel Vedrenne et al. first used the coagulation and flocculation process along with photo-Fenton, and then, the resulting supernatant was subjected with the bacterium Artemia salina in order to the leachate purification. The removal percentages of TC, NH4, and COD were reported to be 95%, 64%, and 56%, respectively. The amounts of heavy metal ions in the final output were also determined and the removal percentages of lead(II) and arsenic(III) have been reported to be 85% and 49%, respectively (Vedrenne et al. 2012). Andrea Colombo et al. also used the biological process after the photo-Fenton process such that by combining these two processes they were able to bring the amount of waste leachate to the environmental discharge standards (Colombo et al. 2019). Therefore, as shown in Fig. 1 this study was conducted to combine the coagulation and flocculation process along with photo-Fenton and optimization the experiment by response surface methodology (RSM) (a combination of mathematical and statistical technique) to reduce the waste leachate contamination and facilitate its biological treatment.

Fig.1
figure 1

Schematic diagram of the process to treatment leachate of Akhtar Abad landfill

Materials and methods

Characteristics of landfill leachate

Akhtarabad landfill located in Akhtarabad village near Safa Dasht city has an area of 200 hectares, and 5 hectares of it is occupied annually for waste disposal. On average, 700–1000 tons of waste is dumped daily from three cities of Mallard Shahriyar and Quds with a production rate of 800 g per person per day of waste. The amount of moisture in this waste is 68–75%, and the amount of decomposable organic matter is 70%. In this area, 24 springs and 38 aqueducts have been identified that are used for drinking water agriculture and fish and livestock breeding. Due to the high probability of leachate leakage from the landfill to groundwater in this area, it is necessary to consider appropriate methods to reduce pollution or completely decontaminate leachate because some pollutants can directly or indirectly endanger human life health because of their high bioaccumulation properties in living organisms.

In this study, the leachate obtained from Akhtarabad landfill located in Akhtarabad village was collected in polyethylene containers and immediately delivered to the Water and Wastewater Laboratory of the Faculty of Environment and Energy Tehran-Iran Azad University of Research Sciences. To maintain the qualitative characteristics, the samples were kept at 4° C until the experiments were performed (de Morais and Zamora 2005). To homogenize the qualitative characteristics, the samples were mixed well before the experiments. The leachate properties were measured thrice, and the average values are shown in Table 2.

Table 2 Qualitative characteristics of leachate sampled from Akhtarabad landfill

Based on the obtained results from the analysis, the leachate is of the mature type (Table 1). Therefore, it is not decomposed by conventional biological methods and other physical or chemical procedures must be used.

The chemicals used in this study include \({\mathrm{FeSO}}_{4}.{\mathrm{H}}_{2}\mathrm{O}\) (85%)\({\mathrm{FeCl}}_{3}{.6\mathrm{H}}_{2}\mathrm{O}\) \({\mathrm{H}}_{2}{\mathrm{O}}_{2}\) (30%w/w) sulfuric acid (97%), and sodium hydroxide. All of them were in analytical grade and purchased from Merck Company. To weigh chemicals, Sartorius-PRACTUM113-13 digital balance was used. The solution’s pH values were fitted by a Grison-2D pH meter. The relative clarity of the solution was measured by a WTW-TURB355 Turbidity meter. The UV−Vis spectra of the solutions were recorded by a DR 5000 spectrophotometer. For uniform stirring of the solutions a JI-M6c jar test device was used. Total organic carbon (TOC) is also determined by a Hatch-DRB: Digital Reactor Block.

All the experiments were conducted in jar test containers (250 ml) at ambient temperature. FeCl3 was selected as the coagulant and the experiments were designed by design-expert software using response surface method and 3-level factorial miscellaneous module. The variables investigated in the coagulation and flocculation process including coagulation dosage of 1 5.05 and 100 \({\mathrm{g L}}^{-1}\) and pH range of 5–11. A total of 13 experiments with 4 center points (pH = 8 and coagulant dosage = 5.05 \({\mathrm{g L}}^{-1}\)) were considered in this study. The experiments are ordered based on Std in order to prevent the alignment of center points and determine the accuracy of laboratory studies. The pH and dosage factors are abbreviated as A and B, respectively. In the response section, removal of TOC and COD is expressed as percentages. The coagulation and flocculation process takes place in three stages, which are fast mixing slow mixing and precipitation, respectively. In fast mixing, the samples are stirred for 2 min at 150 rpm, then the slow mixing commences at 40 rpm for 20 min, and finally they are allowed to precipitate without stirring for 30 min.

In the next step, photo-Fenton experiments were conducted at room temperature in jar test containers. Software designed 60 experiments with 12 central points for this step. Independent variables were classified into two categories: quantitative and qualitative. Quantitative variables consist of pH range of 3–11 coagulant dosage in the range of 5–60 \({\mathrm{mg L}}^{-1}\) 1.25–5% of \({\mathrm{H}}_{2}{\mathrm{O}}_{2}\) and reaction time of 5–120 min. Voltage was defined as a qualitative variable because it was evaluated at two levels (14 and 14 + 9 V).

The stated values are placed in 5 levels, which are named \(+\mathrm{a }+1 0 -1 -\mathrm{a}\) for the design experiment. After removing the supernatant from the leachate provided from the previous step, it stirred well and then poured into jar test containers. At first, the pH of the solutions was adjusted by 0.1 M solutions of NaOH and sulfuric acid. Then, after the addition of \({\mathrm{FeSO}}_{4}{.7\mathrm{H}}_{2}\mathrm{O},\) they were stirred at 300 rpm for 5 min to achieve a homogenous solution. After that, by adding hydrogen peroxide, the solution was stirred at 200 rpm for a certain time and UV–Vis light was emitted. In order to prevent the interference effect of hydrogen peroxide in COD analysis solution, pH values increased to 8 and stirred for 25 min at 100 rpm and then the sample was placed in a water bath at 50 \(^\circ{\rm C} \) for 30 min (Vilar et al. 2011).

Separated supernatant was used to measure the COD and TOC removal percentage. For investigating the biological treatability, firstly the sludge from the wastewater treatment plant was placed in Plexiglass activated sludge pilot with an inner diameter of 10 cm and 25 cm of height. Four hundred milliliters of sludge with suspended solids (SS) 0.6–0.8 kgss/kgCOD and %1–2% dry solids (DS) were poured into the reactor then the supernatant from the photo-Fenton process was added into the reactor up to the volume of 1500 ml. The pH was adjusted to 7, and the amount of oxygen in the reactor was determined by the oxygen probe. The total duration of the experiments was 72 h, and the type of biological treatment system was extensive aeration. In order to determine the COD removal percentage, the reactor was sampled every 24 h.

Results and discussion

Coagulation and flocculation process

This process was optimized by the miscellaneous module of the response surface method and used to determine the optimal values of the mentioned parameters to the COD and TOC removal. Table 3 depicts the test results. According to this table, the highest removal efficiencies of COD and TOC were 30% and 63%, respectively, obtained at pH 11 and 100 \({\mathrm{g L}}^{-1}\) of coagulant. Table 3 demonstrates that the percentage of COD and TOC removal has increased with increasing pH and coagulant concentration. Additionally, in acidic pH and low concentrations of coagulant, the difference in removal percentage has been significant and around 40%. However, the percentage of COD removal is only about 30%. Jing Xu et al. stated that in the CF/PF process, which is optimized by the response surface method, in addition to reducing COD and TOC of the leachate, the amount of color was also reduced with 100% of removal percentage at 1 M of\({\mathrm{H}}_{2}{\mathrm{O}}_{2}\) and 17.5 mM of \({\mathrm{Fe}}^{2+}\) (Xu et al. 2017).

Table 3 Experimental matrix by 3-level factorial design and actual responses in COD and TOC removal (%) in coagulation and flocculation process

In the fit summary section, the cubic vs quadratic model was selected as the best model for determining the COD removal efficiency and the sum of squares, df, the mean square, F-value, and P-value prob > F parameters were 1.67, 2, 0.83, 1.47, and 0.3140, respectively. However, this model is not useful due to the applying a large number of different parameters. Therefore, the model shown as alised is discarded and the proposed model by the system in which the quadratic vs 2FI with the sum of squares, df, mean square, F-value, and P-value prob > F parameters, respectively, equal to 144.99, 2, 72.45, 112.85, and < 0.0001 were considered. In the fit summary section, for the TOC removal the cubic vs quadratic model is the best and the sum of squares, df, mean square, F-value, and P-value prob > F parameters were 4.83, 2, 2.42, 0.053, and 0.9492, respectively. Nevertheless, due to the length of the fitted model for the reasons mentioned earlier, it was discarded and the proposed model by the system, in which the quadratic vs 2FI with the sum of squares, df, mean square, F-value, and P-value prob > F parameters were, respectively, equal to 997.53, 2, 498.76, 14.90, and 0.0030, was considered.

ANOVA analysis was used for graphical analysis in order to investigate the interactions between variables and responses of the experiments (Vilar et al. 2011). This analysis is summarized in Tables 4 and 5 for COD and TOC removal.

Table 4 ANOVA results for response surface quadratic model for COD removal (%) in coagulation and flocculation process
Table 5 ANOVA results for response surface quadratic model for TOC removal (%) in coagulation and flocculation process

The F-value of the model is equal to 152.87, which implies the model is significant. There is only a 0.01% chance that a “F-value Model” this large could occur due to noise. “prob > F” values less than 0.05 indicate that the model terms are significant. In this case, A, B, A2, B2 are significant model terms. The “lack of fit F-value” of 0.81 implies the lack of fit is not significant relative to the pure error. There is a 55.22% chance that a “lack of fit F-value” this large could occur due to noise. Nonsignificant lack of fit is good.

The F-value of the model equal to 17.54 implies the model is significant. There is only a 0.08% chance that a “F-value” this large could occur due to noise. “prob > F” values less than 0.05 indicate that model terms are significant. In this case, A, B, A2 are significant model terms. The “lack of fit F-value” of 0.79 implies the lack of fit is not significant relative to the pure error. There is a 55.72% chance that a “lack of fit F-value” this large could occur due to noise. Nonsignificant lack of fit is good.

Based on the obtained results in the ANOVA tables, the R2 values for the COD and BOD removal percentage are 0.9909 and 0.9261, respectively, which indicate the high reliability of the fitted model. In general, R2 values above 0.8 indicate that the proposed model is acceptable. The coefficient of variation (CV), which is defined as the ratio of the standard deviation percentage to the mean, is used as a criterion for the repeatability of the models. A model can be defined as repeatable if its CV in our study is less than 10%. Coefficient of variations for COD and TOC removal percentages of 4.87% and 20.89% was calculated, which were acceptable for COD removal. The “pred R-squared” of 0.9571 is in reasonable agreement with the “adj R-square” of 0.9844 for COD removal. The “pred R-squared” of 0.7391 is in reasonable agreement with the “adj R-square” of 0.8733 for TOC removal.

Equations 1 and 2 show the models fitted with a 95% confidence level to remove COD and TOC

$$\begin{aligned} COD \, {\text{Removal}}& = 40.38745 - 10.34721pH + \, 1.68677\\&\quad \times 10^{ - 4} Dose - \, 3.36700 \times 10^{ - 6} \left( {Dose \times pH} \right) \\&\quad + \, 0.78927 \, pH^{2} {-} \, 5.69963 \times 10^{ - 10} Dose^{2} \end{aligned}$$
(1)
$$\begin{aligned} {\text{TOC Removal}} &= {1}02.95158 - {27}.{97}0{6}0{\text{pH }}+ 1.60920 \\&\quad \times {1}0^{{ - {4}}} {\text{Dose }}{-}{ 1}.{17845} \times {1}0^{{ - {6}}} \left( {{\text{Dose}} \times {\text{pH}}} \right)\\&\quad + { 2}.0{\text{6513 pH}}^{{2}} {-}{ 1}.{\text{39324 Dose}}^{{2}} \end{aligned}$$
(2)

Figure 2 shows the experimentally obtained COD and TOC removal percentage values versus the values obtained from the models. As can be seen, the experimentally obtained values are close to the trend line, indicating that the values are near to those obtained from the models.

Fig. 2
figure 2

Predicted versus actual data obtained by experimental design by RSM. A COD removal and B TOC removal

Figure 3 reveals the perturbation curves for COD and TOC removal. In this figure, the changes of the parameters around the central point are investigated, and it can be considered as a helpful tool for better analysis of contour and 3D surface curves. For both responses, the removal efficiency of COD and TOC decreases initially with increasing solution pH values.

Fig.3
figure 3

perturbation plots for COD and TOC removal (%) in coagulation and flocculation process: A pH (5–11) and B FeCl3 dosage (1–100 \({\mathrm{g L}}^{-1}\))

Before reaching the central point, the rate of reduction in efficiency decreases due to the reduction in the slope until the curve changes in the opposite direction. As can be seen, the intensity of the changes in the removal of TOC is greater than that of COD, which is due to the greater slope. The amount of coagulant has also been investigated in these two curves and revealed that the rate of COD and TOC removal efficiency also increases by increasing the coagulant dosage. As depicted in Fig. 2, the slope of the COD removal curve is greater than that of the TOC removal.

Figure 4 indicates the contour and 3D surface curves. As can be observed, initially with increasing the solution pH, the removal efficiency decreases and then increases, while increasing the amount of coagulant leads to an increase in the removal process efficiency.

Fig. 4
figure 4

Three-dimension surface and contour plots for COD and TOC removal effect of pH and coagulant dosage in coagulation and flocculation process

Photo-Fenton process

After optimizing the conditions for the coagulation and flocculation process by design experiment software and miscellaneous module to find the optimal parameters of the photo-Fenton process, the experiments were designed by central composite module at response surface method. Quantitative independent parameters included the concentrations of \({\mathrm{FeSO}}_{4}{.7\mathrm{H}}_{2}\mathrm{O}\) and \({\mathrm{H}}_{2}{\mathrm{O}}_{2} \left(\mathrm{mg }{\mathrm{L}}^{-1}\right),\) and the pH and reaction time (min), which are represented by the letters A, B, C, and D, respectively. Voltage V was considered as a qualitative parameter denoted by the E letter. The experiment was designed to assess the removal percentages of COD and TOC, and out of 60 experiments, 12 were considered as the central point. The reason for using two types of iron compounds in these two processes is to prevent the increase of chloride and sulfate concentrations and their negative effects (Vedrenne et al. 2012; Xu et al. 2017). The results are presented in Table 6.

Table 6 Experimental matrix by central composite design and actual responses in COD and TOC removal (%) in photo-Fenton process

According to Table 6, the highest COD removal efficiency was 34%, which was obtained in \({\mathrm{FeSO}}_{4}{.7\mathrm{H}}_{2}\mathrm{O}=32.5 {mg L}^{-1},\) \({\mathrm{H}}_{2}{\mathrm{O}}_{2}=2.19 {mg L}^{-1},\) pH = 9, reaction time = 33.75 min, and voltage = 14 V. The highest removal efficiency for TOC equal to 68% was also obtained in \({\mathrm{FeSO}}_{4}{.7\mathrm{H}}_{2}\mathrm{O}=5 {mg L}^{-1},\) \({\mathrm{H}}_{2}{\mathrm{O}}_{2}=3.13 {mg L}^{-1},\) pH = 7, reaction time = 62.5 min, and voltage = 14 V.

In the fit summary section, the cubic vs. quadratic model was considered as the best model for COD removal and the sum of squares, df, mean square, F-value, and P-value prob > F values were, respectively, equal to 10.60 18 0.59 0.75, and 0.7256. However, this model is not usable due to applying lots of parameters. Therefore, the model shown as aliased was discarded and another model proposed by the system was used, which was named quadratic vs 2FI and the sum of squares, df, mean square, F-value, and P-value prob > F values were, respectively, equal to 774.77, 4, 193.69, 279.03, and < 0.0001. For TOC removal, it is stated in the fit summary section that the cubic vs quadratic model is the best because the sum of squares, df, mean square, F-value, and P-value prob > F parameters are 53.81, 18 2.99, 1.05, and 0.4541, respectively. For the reasons given earlier, the model shown as alised is discarded and the model proposed by the system, which was named quadratic vs 2FI with the sum of squares, df, mean square, F-value, and P-value prob > F values, respectively, equal to 2411.94, 4, 602.98, 206.78, and < 0.0001, is considered. Additional information about the fitted model is presented in Tables 7 and 8.

Table 7 ANOVA test for response surface quadratic model for COD removal (%) in photo-Fenton process
Table 8 ANOVA test for response surface quadratic model for TOC removal (%) in photo-Fenton process

The F-value of 210.25 implies that the model is significant. There is only a 0.01% chance that a “F-value” this large could occur due to noise. Values of “prob > F” less than 0.05 indicate that model terms are significant. In the case of A, B, C, D, E, AB, AC, AD, AE, BC, BE, CD, and DE, A2, B2, C2, D2 are significant model terms. The “lack of fit F-value” of 0.80 implies that the lack of fit is not significant relative to the pure error. There is a 69.86% chance that a “lack of fit F-value” this large could occur due to noise. Nonsignificant lack of fit is good.

The F-value of 177.47 implies that the model is significant. There is only a 0.01% chance that a “F-value” this large could occur due to noise. Values of “prob > F” less than 0.05 indicate that the model terms are significant. In the case of A, B, C, D, E, AB, AC, AD, AE, BC, BE, CD ,and DE, A2, B2, C2, D2 are significant model terms. The “lack of fit F-value” of 1.53 implies that the lack of fit is not significant relative to the pure error. There is a 24.23% chance that a “lack of fit F-value” this large could occur due to noise. Nonsignificant lack of fit is good.

Based on obtained results in the ANOVA table, the correlation coefficients \(\left({\mathrm{R}}^{2}\right)\) for the calculation of the COD and TOC removal were 0.9901 and 0.9883, respectively, which indicates the high reliability of the fitted model. The CV percentages for calculating the COD and TOC removal efficiencies were 3.63% and 3.91%, respectively, which is less than 10% for both models and indicates its repeatability.

The “pred R-squared” of 0.9783 is in reasonable agreement with the “adj R-square” of 0.9854 for COD removal.

The “pred R-squared” of 0.9715 is in reasonable agreement with the “adj R-square” of 0.9827 for TOC removal.

Equations below show fitted models with a 95% confidence level to removing COD and TOC at 14 and 14 + 9 Volts.

14 V

COD removal = -29.12158 + 0.77284 FeSO4 + 0.21323 H2O2 + 12.12792 pH + 0.38922 Time + 0.033939 (FeSO4 × H2O2)-0.061364(FeSO4 × pH) – 2.21344 × 10–3(FeSO4 × Time)-6.95652 \(\times {10}^{-3}\)(H2O2 × Time) + 0.86667(H2O2 × pH) –0.016304 (pH × Time) – 0.012011(FeSO4)2 – 1.37481(H2O2)2–0.78646 (pH)2- 1.76434 \(\times {10}^{-3}\)×(Time)2

TOC removal =  + 37.83574 -0.17034 FeSO4 -7.23665 H2O2 + 12.48632 pH + 0.16117 Time- 0.070303 (FeSO4 × H2O2)-0.073864(FeSO4 × pH) –5.53360 × 10–4(FeSO4 × Time) + 1.48333(H2O2 × pH) –3.47826 × 10–3 (H2O2 × Time) + 0.042935 (Time × pH)- 0.015455(FeSO4)2 – 0.90667(H2O2)2–1.54297 (pH)2- 2.77883 \(\times {10}^{-3}\)×(Time)2

9 + 14 V

COD removal = -43.67437 + 0.90012 FeSO4 + 2.25768 H2O2 + 12.12792 pH + 0.44139 Time + 0.033939 (FeSO4 × H2O2)-0.061364(FeSO4 × pH) – 2.21344 × 10–3(FeSO4 × Time)-6.95652 \(\times {10}^{-3}\)(H2O2 × Time) + 0.86667(H2O2 × pH) –0.016304 (pH × Time) – 0.012011(FeSO4)2 – 1.37481(H2O2)2–0.78646 (pH)2- 1.76434 \(\times {10}^{-3}\)×(Time)2

TOC removal = -7.19582 -0.14178 FeSO4 -0.54113 H2O2 + 13.59049 pH + 0.16842 Time- 0.070303 (FeSO4 × H2O2)-0.073864(FeSO4 × pH) –5.53360 × 10–4(FeSO4 × Time) + 1.48333(H2O2 × pH) –3.47826 × 10–3 (H2O2 × Time) + 0.042935 (Time × pH)- 0.015455(FeSO4)2 – 0.90667(H2O2)2–1.54297 (pH)2- 2.77883 \(\times {10}^{-3}\)×(Time)2

Figure 5 reveals the COD and TOC removal percentages obtained through laboratory experiments versus the values obtained from the RSM models in photo-Fenton process. As can be seen, the values attained experimentally are closer to the straight line, which can be assumed that the values obtained experimentally are close to the values obtained from the models. In addition, Fig. 5 shows that the COD removal percentage results were more consistent than TOC.

Fig. 5
figure 5

Predicted versus actual data obtained by experimental design by RSM in photo-Fenton process A COD removal and B TOC removal

Figure 6 shows the perturbation curves of the COD and TOC removal percentages. In these curves, the changes of the parameters around the central point at 14 and 14 + 9 V are examined, which can be considered as a subsidiary tool for analyzing contour and 3D surface curves. According to Fig. 5 for both responses, the removal efficiency decreases with the increasing amount of \({\mathrm{FeSO}}_{4}{.7\mathrm{H}}_{2}\mathrm{O}\), which can be due to the conversion of Fe+2 to Fe+3, which ultimately increases water turbidity and reduction of light penetration. As depicted, the curve slope at voltage 14 is higher than 14 + 9 V, which can be deduced that the changes of the variables at 14 V are more obvious in the COD and TOC removal. COD removal percentages in different amounts of \({\mathrm{H}}_{2}{\mathrm{O}}_{2}\) at 14 + 9 V show a steady trend, but at 14 V with a slight slope with increasing \({\mathrm{H}}_{2}{\mathrm{O}}_{2}\) the removal percentage decreases. The effect of increasing hydrogen peroxide is such that at 14 + 9 V the TOC removal percentage increases with a slight slope, while at 14 V, the removal percentage decreases with a greater slope. The oxidation of organic substances in the leachate by hydroxyl radicals produced from a reaction between H2O2 and iron followed the reaction below (Eq. 3) (Roudi et al. 2021).

$$ \text{OH}^{ \bullet } + \, \text {organic \, substances} \; \to \text{Oxidation \, products} $$
(3)
Fig. 6
figure 6

Perturbation plots for COD and TOC removal (%) in photo-Fenton process at 14 and 14 + 9 V t: A FeSO4 (5-60 mg \({mg L}^{-1}\)), B H2O2 (1.25–5 \({mg L}^{-1}\)), C pH (3–11), and D time (5-120 min)

The effect of pH was also investigated at voltages 14 and 14 + 9 V, and it was found that with increasing the solution pH, the removal efficiency of COD and TOC first increases and then decreases, which is more evident in voltage 14 V. The reaction time also affects the COD and TOC removal efficiency in such a way that by increasing this parameter, the removal percentage increases slightly, which is more intense at 14 + 9 V.

In order to determine the effect of the studied parameters on each other and better understand the perturbation diagrams, the results of this step are shown in Fig. 7 by 3D and contour diagrams.

Fig. 7
figure 7figure 7

Three-dimension surface and contour plots for COD and TOC removal (%) A E Effect of pH and FeSO4 at H2O2 (\({mg L}^{-1}\)) = 3.13, time (min) = 62.50, voltage (V) = 14 B F Effect of pH and H2O2 at FeSO4 (\({mg L}^{-1}\)) = 32.50, time (min) = 62.50, voltage (V) = 14 C G Effect of time and pH at FeSO4 (\({mg L}^{-1}\)) = 32.50 H2O2 (\({mg L}^{-1}\)) = 3.13, voltage (V) = 14 D H Effect of time and H2O2 at FeSO4 (\({mg L}^{-1}\)) = 32.50, pH = 7, voltage (V) = 14

Biological process

As mentioned, initially leachate had little opportunity for biodegradation due to its low \({\mathrm{BOD}}_{5}/\mathrm{COD}\) ratio. However, after the supernatant was treated by coagulation–flocculation and photo-Fenton processes, this ratio reached above 0.4 indicating that organic materials in addition to being converted to water and carbon dioxide can be decomposed into the biodegradable materials. Figure 8 reveals a comparison of two treated leachates with extensive aeration (EA) and a hybrid process (CF/PF/EA). Based on this figure, when the extensive aeration process is used, the COD removal percentage in the biological reactor over 72 h is 25%, while this parameter at the same time is equal to 85% for the hybrid process. Figure 8 shows that after 24 h, the COD/COD0 ratio was reduced to half from around 1 and reached 0.2 after 72 h, which shows the effectiveness of the hybrid process(CF/PF) as pretreatment of Extended aeration.

Fig. 8
figure 8

Comparing the yield of COD removal from leachate using only the extended aeration (EA) process vs. hybrid process consist of coagulation and flocculation, photo-Fenton and extended aeration( CF/PF/EA).

According to the obtained results, sludge bacteria from the hybrid process have a greater ability to remove organic compounds, which can be attributed to the ability to convert complex organic materials into simpler materials. In addition, the slope line of the hybrid process (Fig. 7) is greater than the EA process, which indicates that the decomposition rate of organic materials by bacteria in the resulting leachate is higher than that of the raw leachate. It was also found that raw leachate bacteria lose their ability to decompose organic materials after 36 h, whereas this action lasts up to 72 h by bacteria in the hybrid process (relaxation time).

Conclusion

The management of mature leachate is difficult due to the presence of non-biodegradable materials, so this problem can be overcome to some extent by using physicochemical method. This study examined hybrid processes (CF/PF) and their interaction using response surface methodology (RSM) with central composite design and how they affected the treatment of landfill leachate with extended aeration. Coagulation and flocculation experiments were designed by miscellaneous module, and then, the central composite module was used to design experiments in the photo-Fenton process. Coagulation and flocculation process had advantages such as increasing light penetration due to reducing water, coloring, turbidity, and the amount of sludge produced, which have increased the efficiency of the photo-Fenton process. Using CF process initially led to the removal efficiencies of 30% COD and 63% TOC at pH 11 and coagulation dosage of 100 \({\mathrm{g L}}^{-1}\). Then, in the photo-Fenton process removal efficiencies of 34% COD and 68% TOC were obtained (at pH = 7 coagulant dosage = 5 \({\mathrm{mg L}}^{-1}\) \({\mathrm{H}}_{2}{\mathrm{O}}_{2}\)=3.13 \({\mathrm{mg L}}^{-1}\) reaction time = 62.5 min and voltage = 14 V). The correlation coefficients \(\left({R}^{2}\right)\) obtained in the coagulation and flocculation process for removing COD and TOC were equal to 0.9909 and 0.9261, respectively, while in the photo-Fenton process was 0.9901 for COD removal and 0.9881 for TOC removal. Treated leachate resulting from the hybrid process was biologically treated for 72 h to evaluate the effectiveness of this process. The COD removal percentage before and after the hybrid process was 25% and 85%, respectively. The COD/COD0 ratio decreased from about 1 in the extended aeration process to 0.2 in the hybrid processes after 72 h, which reveals the effectiveness of the CF/PF processes. According to the results, the combination of the coagulation and flocculation photo-Fenton and extended aeration could be considered as an efficient strategy in leachate treatment.