Bicarbonate-Hydrogen Peroxide System for Treating Dyeing Wastewater: Degradation of Organic Pollutants and Color Removal

The textile industry is a global economic driving force; however, it is also one of the most polluting industries, with highly toxic effluents which are complex to treat due to the recalcitrant nature of some compounds present in these effluents. This research focuses on the removal of Chemical Oxygen Demand (COD), color, Total Organic Carbon (TOC), and Ammoniacal Nitrogen (N-NH3) on tannery wastewater treatment through an advanced oxidation process (AOPs) using sodium bicarbonate (NaHCO3), hydrogen peroxide (H2O2) and temperature using a central composite non-factorial design with a surface response using Statistica 7.0 software. All experiments used a 500 mL reactor with 300 mL of tannery wastewater from a company in Cúcuta, Colombia. The physicochemical characterization was done to determine the significant absorbance peaks about the color in the wavelengths between 297 and 669 nm. Statistical analysis found that the concentration of NaHCO3 affects the removal of color and N-NH3; however, it did not affect COD and TOC. The optimal process conditions for removing the different compounds under study were: NaHCO3 1 M, H2O2 2 M, and 60 °C, with efficiencies of 92.35%, 31.93%, 68.85%, and 35.5% N-NH3, COD, color, and TOC respectively. It can be concluded that AOPs using H2O2 and NaHCO3 are recommended to remove color and N-NH3.


Introduction
The textile industry is one of the largest in the world, uses more than 8000 chemical products in diverse textile manufacturing processes, and generates large amounts of wastewater [1]. The toxic potential of dyes and colorants was underestimated in comparison to other substances in water effluents until recent years [2]. Azo-type dyes are the most common substances in these effluents [3], along with other substances such as polyvinyl alcohol (PVA), carboxymethylcellulose, surfactants, organic processing acids, sulfur, formaldehyde, detergents, oil, dispersants, NaNO 3 , NaCl, and the salts of Na 2 SO 4 [4]. The dyes used in these processes may contain heavy metals such as chromium, copper, and cobalt; chemicals such as caustic soda, sodium carbonate, and salts [5][6][7][8]; because of  T1  T2  T3  T4  T5  T6  T7  T8  T9  T10  T11  T12  T13  T14  T15  T16  T17  T18  T19  Where P = parameter, C = control and T = treatment.
The experiments were carried out in 500 mL reactors using a working volume of 300 mL of residual dyeing water; the temperature and agitation were controlled using the agitation plate, where these factors were adjustable, and the temperature was estimated utilizing a thermocouple coupled to the stir plate. The dyeing water was decanted in 1 L cones to remove solids. The reaction time of the process was one h. The data obtained were analyzed using the Statistica 7.0 Software to get response surface and Pareto graphs. The equations of each variable with the optimal conditions of the process for removal of COD, TOC, color, and N-NH 3 were subsequently established.

COD Determination
The quantification of the COD was determined by the method 5220 C-Closed reflux of the standard methods edition 23 [27], using potassium dichromate as an oxidant agent in an acid medium. For this, its digestion was carried out by adding 1.5 mL of digester solution and 3.5 mL of catalyst solution to 2.5 mL of sample; it was stirred in the vortex, heated for 2 h at 150 • C, and let cool to room temperature. Subsequently, absorbance measurements were made in a TERMO GENESYS UV-Visible spectrophotometer at a wavelength of 610 nm, and COD was determined. The COD calibration curve was generated from 5 patterns of potassium acid phthalate, made up of 5 concentrations 0, 50, 100, 250, and 500 mg L −1 . Each experiment was carried out by duplicate.

TOC Determination
For the quantification of TOC, A TORCH TOC analyzer from TELEDYNE, Cincinnati, USA, was used. The operating conditions were sample volume of 0.5 mL, water chase volume of 1.0 mL, injection line rinse on, injection line rinse volume of 0.5 mL, acid volume of 0. 5

Determination of N-NH 3
It used the 4500-NH 3 F Phenate method. For this, 1 mL of phenol solution, 1 mL of sodium nitroprusside solution, and 2.5 mL of oxidizing solution were added to the sample, mixing well after each addition. The samples were covered with a paraffin film to ensure color development. Samples were left at room temperature (22)(23)(24)(25)(26)(27) • C) in dim light for one h to allow the color to develop. The color is stable for 24 h. Absorbance at 640 nm was measured in a Model DR3900 UV-VIS Spectrophotometer, HACH, Ames, LA, USA. The calibration curve was made using a mother solution of ammonium chloride, which was obtained by dissolving 3.819 g of NH 4 Cl anhydrous (dried a 100 • C) in 1000 mL (1.00 mL = 1.00 mg N = 1.22 mg NH 3 ). The calibration curve was designed for 0-50 mg L −1 .

Determination of Color
To determine color, a scan was performed in a GENESYS spectrophotometer, THERMO, Massachusetts, USA. The scan was performed on each sample starting from a wavelength of 250 to 750 nm at a temperature of 25 • C; the behavior of the curve determined the absorbance peaks. The interval or separation of the measurements was calibrated in "1 nm". To measure the baseline of the spectra, deionized water was used, and later, to run the analyses, the standard and post-treatment problem samples were used.

Physicochemical Characterization
The results of the physicochemical characterization of wastewater from the dye industry and the comparison with research done by other authors are shown in Table 3. The recollected wastewater from the dye industry has many pollutants, such as chemical compounds and solids. Very high values were reported for COD (598 mg L −1 ), chloride (850.67 mg L −1 ), total solids (1367 mg L −1 ), and sulfates (385 mg L −1 ). The wastewaters from textile industries have an intense color due to the chemical dyes used in the dyeing process, a large number of suspended solids (SS), fluctuating pH (4-9), and a high COD concentration [27][28][29][30][31][32][33]. However, the composition and concentration of these compounds are highly variable for textile wastewater, depending on the manufacturing processes, type of fibers, amount of water used in the process, and chemical products [27,28], parameters like turbidity, color, COD, SS, conductivity, pH, salinity and chemical elements, may fluctuate accordingly with the part of the process or installation [34]. This could be explained since weaving, assembly, dyeing, washing, ironing, and finishing are the most common steps in the manufacturing process, the dyeing process where dyes are used which generate a large part of the contaminant load [32]. The most abundant dyes are the azo-type, which is characterized by the existence of at least an azo bond R-N = N − R', in which R and R' can be aryl or alkyl and which has an aromatic ring, which generates the presence of nitrogenous compounds in the water [29]. Some textile wastewater can already have bicarbonate loads between 541 ± 5.50 mg L −1 [30]. When comparing the results of Table 3 with the Colombian standard for liquid discharges, Resolution 0631 of 2015 [35], it was determined that the samples of this study exceed the maximum permitted level of discharge for the manufacture of textile products, where for COD the permissible limit is from 400 mg L −1 O 2 , total suspended solids (TSS) of 50 mg L −1 and chloride 1200 mg L −1 . Therefore, these samples harm human health and the environment's well-being.  Figure 1 shows the changes in color removal in each treatment evaluated. Figure 2 shows the removal efficiencies achieved in each treatment for each parameter assessed.  Figure 1 shows the changes in color removal in each treatment evaluated. Figure 2 shows the removal efficiencies achieved in each treatment for each parameter assessed.  According to the spectrophotometric scanning of the wastewater sample, it was found that the highest absorbance values were found at 297 nm and 673 nm. For color removal, experiments 11, 13, 6, 18, 16, and 2 had the highest removal percentages reaching values of 61.05%, 63.15%, 61.4%, 61.05%, 58.8%, 59.45%, respectively, as shown in Figure  2 and visually evidenced in Figure 1. Likewise, the color reductions were not only at the wavelength of 297 nm, where the highest absorbance peak was present ( Figure 3); the scans made from a range of 250 nm to 750 nm show significant color reductions in the wavelength of 673 where treatments 11, 13, 6, 18, 16, 2 achieved the removal of up to 98%. According to the spectrophotometric scanning of the wastewater sample, it was found that the highest absorbance values were found at 297 nm and 673 nm. For color removal, experiments 11, 13, 6, 18, 16, and 2 had the highest removal percentages reaching values of 61.05%, 63.15%, 61.4%, 61.05%, 58.8%, 59.45%, respectively, as shown in Figure 2 and visually evidenced in Figure 1. Likewise, the color reductions were not only at the wavelength of 297 nm, where the highest absorbance peak was present ( Figure 3); the scans made from a range of 250 nm to 750 nm show significant color reductions in the wavelength of 673 where treatments 11, 13, 6, 18, 16, 2 achieved the removal of up to 98%. According to the spectrophotometric scanning of the wastewater sample, it was found that the highest absorbance values were found at 297 nm and 673 nm. For color removal, experiments 11, 13, 6, 18, 16, and 2 had the highest removal percentages reaching values of 61.05%, 63.15%, 61.4%, 61.05%, 58.8%, 59.45%, respectively, as shown in Figure  2 and visually evidenced in Figure 1. Likewise, the color reductions were not only at the wavelength of 297 nm, where the highest absorbance peak was present ( Figure 3); the scans made from a range of 250 nm to 750 nm show significant color reductions in the wavelength of 673 where treatments 11, 13, 6, 18, 16, 2 achieved the removal of up to 98%. Previous studies have indicated that residual organic carbon in dyehouse wastewater is mainly related to refractory organic compounds, unlike COD which is related to organically bound and inorganic constituents [36,37]; Likewise, it has been reported that TOC is independent of the oxidation state of organic matter and only measures organic carbon Previous studies have indicated that residual organic carbon in dyehouse wastewater is mainly related to refractory organic compounds, unlike COD which is related to organically bound and inorganic constituents [36,37]; Likewise, it has been reported that TOC is independent of the oxidation state of organic matter and only measures organic carbon converted to CO 2 [38], suggesting that the observed changes in COD-TOC removal may be related to the degree of changes in the structure of organic compounds after oxidation, which given the complexity of the wastewater matrix generates different intermediary compounds during the oxidation process [39]; this may explain the differences in COD and TOC removals presented in this study. Some authors have reported by spectrophotometric analysis that peaks at wavelengths between 240 nm-488 nm are characteristic of the Acid Orange (AO 8) dye; Likewise, it has been reported that the absorbance curves in the visible region at 488 nm are associated with the extended chromophore composed of aromatic groups connected through azo bonds, on the other hand, the absorption peaks at 310 and 229 nm in the ultraviolet region are due to the naphthalene ring and benzene ring structures in the dye molecule; it is evident from Figure 1 that the decrease of the observances in these regions indicates the destruction of the azo bonds and benzene rings in the dye present in these regions of the spectrum [40].
It has been reported the degradation of methylene orange (MO) and methylene blue (MB) using HCO 3 − /H 2 O 2 as a catalyst, finding that, for MO, the main absorption spectrum at 464 nm decreases after 30 min, and a new band appears at 251 nm, which would indicate the formation of intermediate products for MB. Authors reported that the absorption bands were present for the wavelengths of 664, 298, and 245 nm and decreased until disappearing after 1 h of treatment. In this case, as evidenced in Figure 3, absorbance peaks similar to those reported for MB were found, which allows intuiting that this is the main dye present in the evaluated effluents [41]. The BAP system is a method that takes advantage of natural activators to increase the profitability of H 2 O 2 -based AOPs; this reaction system, in comparison with other AOPs, is recognized for generating many more ROSs (Reactive Oxygen Species), including peroxymonocarbonate (HCO − 4 ), superoxide ion (O .− 2 ), singlet oxygen ( 1 O 2 ), hydroxyl radical (OH), and carbonate radical (CO .− 3 ), which is substrate-dependent (Equations (1)-(6)); this feature has allowed this system to be taken as a successful technology for the oxidative transformation of organic compounds such as azo dyes [42], aliphatic amines [43], aryl sulfide [44,45], and chlorophenols [36,39,41]. Similar results were found in this work. It should be noted that the previously described works were with synthetic wastewater. In contrast, in this work, real dyeing wastewater was used, evidencing the degradation of azo compounds or aromatic groups that could be present in the wastewater. treated with NaHCO 3 and H 2 O 2 .
The data obtained from the experimental procedure were studied by Pareto analysis and Surface Response Methodology using STATISTICA 7.0 Software. Figure 4a, corresponding to the Pareto graph, shows that the most influential variable in color removal was the concentration of HCO 3 . Related to H 2 O 2 vs. HCO 3 , it was observed that it is bicarbonate at concentrations greater than 0.4 M that exerts a significant effect either at low or high concentrations of H 2 O 2 , as shown in Figure 4b. In the case of the relation between T vs. H 2 O 2 , the peroxide exerts a bleaching effect on wastewater from dyeing independent of temperature, at least from concentrations of 1.4 M where temperature can have significant effects at 30 • C and 80 • C as can be seen in Figure 4c, for obtaining removals of 40 to 50% respectively. Concerning T vs. HCO 3 , it is HCO 3 that has a favorable effect on the removal of dyes over the temperature; from a concentration above 0.4 M of HCO 3, the temperature becomes a determining factor in color removal for efficiencies greater than 40%. However, its effect is not very different in ranges from 40 • C to 80 • C if the concentrations of HCO 3 are high, according to Figure 4d. Other investigations have achieved degradation of the reactive brilliant red dye X-3B in synthetic wastewater using a cobalt(II)/bicarbonate complex (HCO 3 − /H 2 O 2 at 30% w/w, with concentrations of Co 2+ of 5 µmol L −1 , HCO 3 − 10 mmol L −1 , X-3B 67.5 µmol L −1, and H 2 O 2 4 mmol L −1 ); where a pH of 8.2 did not achieve good color removal results using only ions Co 2 + in the absence of HCO 3 when using only low concentrations of HCO 3 − at ten mmol L −1 the ratio of degradation was slow; nevertheless, the 85% of the dye was eliminated. When simple cobalt salt was added to the HCO 3 solution, the discoloration rate increased, corresponding to a positive effect of bicarbonate on color removal, as occurred in this investigation [46]. Zhao et al. [47] reported using H 2 O 2 and HCO 3 under low-frequency ultrasonic irradiation to degrade acid orange dye 8 (AO 8). It studied the effect of H 2 O 2 /CO 3 and ultrasonic irradiation on the AO 8 removal. It reached removals of 3.50%, 6.06%, 15.90%, 65.30%, and 90% when using ultrasound, H 2 O 2 /ultrasound, CO 3 /ultrasound, H 2 O 2 /CO 3 , and H 2 O 2 /CO 3 /ultrasound respectively. It was evidenced that the CO 3 radical played a significant role in the activated discoloration by ultrasound; again, bicarbonate denoted a positive effect on removals as in the case of our research. This behavior was attributed to the fact that direct pyrolytic fragmentation of AO 8 within bubbles and the supercritical phase reaction at the gas-liquid interface do not dominate its decolorization. when using ultrasound, H2O2/ultrasound, CO3/ultrasound, H2O2/CO3, and H2O2/CO3/ultrasound respectively. It was evidenced that the CO3 radical played a significant role in the activated discoloration by ultrasound; again, bicarbonate denoted a positive effect on removals as in the case of our research. This behavior was attributed to the fact that direct pyrolytic fragmentation of AO 8 within bubbles and the supercritical phase reaction at the gas-liquid interface do not dominate its decolorization.

HCO 3
− activated H 2 O 2 system has many advantages for wastewater treatment, including simple operation, no secondary pollution, strong oxidation capacity, and no reaction selectivity. Regarding the influence of temperature on color removal, there are few reported works; Li et al. [24] carried out experiments at room temperature for the degradation of Acid Orange 7 (AO7) dye at 90 rpm, finding efficiencies of degradation of 33.92 ± 0.86% in 3 h at conditions 0.1 M H 2 O 2 , 0.5 M HCO 3 and pH 8.6. Kan et al. [20] evaluated the elimination of AO7 at different temperature values, using an initial concentration of AO7 of 5 mg L −1 , H 2 O 2 dose of 0.004 mol L −1 , and HCO 3 dose of 0.007 mol L −1 . When the reaction temperature was 298 K, the removal efficiency of AO7 in the H 2 O 2 system was only 9% in a reaction time of 60 min; the removal rate increased proportionally with temperature, reaching 12% at 328 K. However, the AO7 removal efficiency increased when bicarbonate was added to the process, reaching 30% removal at 298 K and 90% at 398 K in 30 min. The results of this work, like those reported by Kan et al. [20], demonstrated that at high temperatures, reactions occur quickly because the reactants can favorably overcome the energy barrier of the reaction. Similarly, it has been reported that the increase in the reaction temperature favors the decomplexization of Cu-EDTA, which leads to the removal of the color [23].
Under the evaluated conditions in Table 2, the COD removal percentages were 27.2%, 25.84%, and 23.08%, as shown in Figure 2. As seen in the Pareto graph (Figure 5a), bicarbonate is the most influential variable for COD removal; however, it is not significant enough. The analysis of the surface response concerning H 2 O 2 vs. HCO 3 for COD removal shows that the best results are achieved for high concentrations of both H 2 O 2 and HCO 3 in the order of 2 M and 1.2 M, respectively; at low concentrations, the effects of COD removal are not efficient as shown in Figure 5b. When the T vs. HCO 3 relation is evaluated, the high concentration of bicarbonate enhances the COD removal, and temperatures between 70 and 80 • C favor excellent results at different bicarbonate concentration levels, as shown  [20] reported 72% of COD removal after 60 min of oxidation treatment of synthetic wastewater with Acid Orange II (AO II) dye, using an HCO 3 − /H 2 O 2 system, 180 rpm. It was reported that high temperatures increased the reaction speed, achieving 98.5% of degradation at 54.85 • C. The reaction rate augmented from 0.014 min −1 to 0.106 min −1 as the reaction temperature increased from 24.85 • C to 54.85 • C using activated H 2 O 2 with bicarbonate. Thus, temperature proves to be a determining factor in COD removal, as the results obtained in our research. In addition, it has been reported that the efficiency of COD removal is linked to the pH values; the processes with bicarbonate and peroxide maintain a pH between 8.5 and 9 due to the buffering action of the carbonate/bicarbonate [48,49] behavior very similar to the results obtained in the present investigation where the final pH was maintained at values between 8.5 and 9 after adding the bicarbonate; it has been indicated that at low pH with a high concentration of H 2 SO 4 in the wastewater, it is possible to remove the hydroxyl radical by sulfate, thus reducing the degradation efficiency [49,50]. Finally, the structure of the dye is also an essential factor; cationic dyes by adsorption have a high removal efficiency at high pH, while the negatively charged anionic ones present a better efficiency of COD elimination at neutral or weakly acidic pH; it has been reported that the use of bicarbonate can be inefficient in the elimination of COD bound to anionic dyes because the pH value changes the effect of carbonate and bicarbonate anions. After all, some anions are radical scavengers in the pH range of 8-8.6 [51].  For the removal of N-NH3, it is observed that in almost all the experiments, it was 80-90%; the best removal efficiencies were 91.15%, 91.73%, and 90.44%, respectively, for experiments 1, 8, and 7, according to Figure 2c. From the Pareto diagram for N-NH3 removal (Figure 6a), the concentration of HCO3 is the most influent variable over the process; regarding the response surface graphs for the H2O2 vs. HCO3 ratio, at low concentrations, both variables have a significant effect, at concentrations of 0.4 M of bicarbonate and 0.6 M of peroxide (Figure 6b). The relation between T vs. HCO3 revealed that the temperature between 30 °C and 40 °C at low concentrations of HCO3, like 0.3 M, is efficient, as shown in Figure 6c. In the case of the relation among T vs. H2O2, temperatures between 30 °C and 40 °C at low concentration of H2O2, such as 0.6 M, exhibits the best conditions for the removal of N-NH3; however, after high values of peroxide at a temperature of 80 °C, good conditions are also presented for removals greater than 85%, as can be seen in Figure 6d. There is no evidence in the literature regarding the influence of the concentration of HCO3 in the elimination of N-NH3. Nevertheless, Ruffino and Zanetti [52] reported the removal of N-NH3 by the bromide-enhanced ozonation process (BEO), using NaHCO3 as a buffer. It was indicated that bicarbonate hinders the acidification of the environment by the action of N-NH3, interfering with the formation of nitrates and bromates by capturing OH ions. On the other hand, direct and indirect oxidation transforms organic matter into simpler forms, such as N-NH3 or nitrite and nitrate during AOPs, due to the oxidation of the azo groups of the dyes. A study by photo-Fenton found, after 5 min of reaction, nitrification processes with the formation of N-NH3 of 2 mg L −1 at 15 min and later nitrate formation at 20 min due to the attack of highly oxidizing radicals in textile wastewater [53]. Regarding the influence of H2O2 on the removal of N-NH3, the elimination of N-NH3 from 39.0 to 81.2% has been reported using H2O2 in the treatment of domestic wastewater, so the application of H2O2 gave rise to the optimization of the nitrification process and elimination of N-NH3 thanks to the release of oxygen radicals, which could explain the good results for wastewater from dyeing in our study [54].  There is no evidence in the literature regarding the influence of the concentration of HCO 3 in the elimination of N-NH 3 . Nevertheless, Ruffino and Zanetti [52] reported the removal of N-NH 3 by the bromide-enhanced ozonation process (BEO), using NaHCO 3 as a buffer. It was indicated that bicarbonate hinders the acidification of the environment by the action of N-NH 3 , interfering with the formation of nitrates and bromates by capturing OH ions. On the other hand, direct and indirect oxidation transforms organic matter into simpler forms, such as N-NH 3 or nitrite and nitrate during AOPs, due to the oxidation of the azo groups of the dyes. A study by photo-Fenton found, after 5 min of reaction, nitrification processes with the formation of N-NH 3 of 2 mg L −1 at 15 min and later nitrate formation at 20 min due to the attack of highly oxidizing radicals in textile wastewater [53]. Regarding the influence of H 2 O 2 on the removal of N-NH 3 , the elimination of N-NH 3 from 39.0 to 81.2% has been reported using H 2 O 2 in the treatment of domestic wastewater, so the application of H 2 O 2 gave rise to the optimization of the nitrification process and elimination of N-NH 3 thanks to the release of oxygen radicals, which could explain the good results for wastewater from dyeing in our study [54].  [55]; H 2 O 2 can interfere with COD measurements, increase toxicity and decrease the biodegradability of the sample masking the actual behavior of the treated sample; authors have reported that wastewater constituents include a wide variety of organic (carbohydrates, proteins, etc.) and inorganic (phenols, carbonate, sulfates, nitrite, sulfides, chloride) compounds, which react with H 2 O 2 either competing with organic pollutants for oxidation or forming respective radicals with lower oxidation potential [56,57]. Finally, some components of dyeing wastewater may favor the efficacy of certain AOPs. Figure 7b shows the final pH of the process; all treatments started with sample pH 6.1; it is evident that most treatments were in the range of 8.3-8.8 being 8.2, the lowest value (T16) and 11.3 (T17). Authors have reported that some amounts of HCO 3 − can decompose into CO 2 or CO 3 2− in acidic conditions <4.5 or in strongly alkaline conditions > 11, which could decrease the amount of H 2 O 2 activating factor [49,58], hence it is possible to obtain a higher decolorization yield in a low alkaline condition (8)(9) in an oxidative HCO 3 − -H 2 O 2 process [59]. Similarly, it has been indicated that common pH values in the HCO 3 − -H 2 O 2 system promote the formation of HCO 4 but do not lead to the formation of ·OH 2 , and high pH values promote the generation of ·OH 2 and HCO 4 − ; although, if the pH exceeds values above 11 it can affect the presence of H+ and the formation of 1 O 2 ., hence, maintaining a slightly alkaline pH condition allows for an efficient HCO 3 − _ H 2 O 2 system [44]. presence of H+ and the formation of 1 O2., hence, maintaining a slightly alkaline pH condition allows for an efficient HCO3 − _ H2O2 system [44]. From the information reported in Figure 2d, it can be seen that experiments 9, 12, and 13 recorded TOC removal percentages of 40.37%, 38.60%, and 47.65%, respectively. The Pareto diagram (Figure 8a) shows no parameter had a significant effect, but the most excellent result corresponds to bicarbonate. In the relation between H2O2 vs. HCO3, shown in Figure 8b, and the connection between H2O2 vs. HCO3, shown in Figure 8b, the optimal conditions for TOC removal are found in the use of 1.4 M of H2O2 and values of 0.5 of HCO3 for an approximate 20% removal. Regarding the relationship T vs. HCO3 (Figure  8c), reductions of 50% using 0.6 M HCO3 at temperatures relatively close to 30 °C; however, there are good removals at 90 °C using lower amounts of bicarbonate. Finally, the link between T vs. H2O2 (Figure 8d) exhibits that at high H2O2 concentrations, among 1.8 and 2.4 M, Good removals of TOC are obtained (around 60% at 30 °C). However, at temperatures over 90 °C would be possible to achieve high removals without the effect of H2O2 due to the bicarbonate effect over the process. Real textile wastewater with initial TOC values of 60-65 mg L −1 and 30 mg L −1 were subjected to the electrocoagulation method and adsorption, obtaining removals of 42% where problems have been reported due to the use of excessive amounts of adsorbents that can decrease the performance [60]. Hybrid treatments could also be a good option for TOC elimination since hydrodynamic cavita- From the information reported in Figure 2d, it can be seen that experiments 9, 12, and 13 recorded TOC removal percentages of 40.37%, 38.60%, and 47.65%, respectively. The Pareto diagram (Figure 8a) shows no parameter had a significant effect, but the most excellent result corresponds to bicarbonate. In the relation between H 2 O 2 vs. HCO 3 , shown in Figure 8b, and the connection between H 2 O 2 vs. HCO 3 , shown in Figure 8b, the optimal conditions for TOC removal are found in the use of 1.4 M of H 2 O 2 and values of 0.5 of HCO 3 for an approximate 20% removal. Regarding the relationship T vs. HCO 3 (Figure 8c), reductions of 50% using 0.6 M HCO 3 at temperatures relatively close to 30 • C; however, there are good removals at 90 • C using lower amounts of bicarbonate. Finally, the link between T vs. H 2 O 2 (Figure 8d) exhibits that at high H 2 O 2 concentrations, among 1.8 and 2.4 M, Good removals of TOC are obtained (around 60% at 30 • C). However, at temperatures over 90 • C would be possible to achieve high removals without the effect of H 2 O 2 due to the bicarbonate effect over the process. Real textile wastewater with initial TOC values of 60-65 mg L −1 and 30 mg L −1 were subjected to the electrocoagulation method and adsorption, obtaining removals of 42% where problems have been reported due to the use of excessive amounts of adsorbents that can decrease the performance [60]. Hybrid treatments could also be a good option for TOC elimination since hydrodynamic cavitation has been combined with Fenton's reagent, obtaining removals of TOC, COD 48%, and 38% of TOC and COD, respectively [61]. Nonetheless, the cost of this process should be reviewed since conventional AOPs with other equipment are usually expensive [19]. When using electrocoagulation, 54% of the removal of TOC in real wastewater was obtained at optimal operating conditions: current density of 10 mA cm −2 , pH 7 for 10 min. Photo-Fenton process was applied at pH 4.3, Fe 2 + at a concentration of 1.1 mM, and H 2 O 2 at 9.7 mM during 60 min and 100 rpm; the electrocoagulation + photo-Fenton process achieved 72% of TOC removal [62]. Nanoparticles have also removed TOC in real and synthetic textile wastewater. To degrade Reactive Orange 107 (RO107), Sono-Fenton dye was used with magnetite nanoparticles (Fe 3 O 4 ); the optimal conditions for complete decolorization of RO107 were 0.8 g L −1 of nanoparticles, pH 5, 10 mM of H 2 O 2 , and 300 W of ultrasonic power reaching removals of 87 and 66.54%, for synthetic and real wastewater respectively [63]. The increase of H 2 O 2 dosage from 50 to 400 µM in the removal of metronidazole exhibited a positive and significative effect over the speed of the process [64].

Optimum Process Conditions
As a result of the statistical analysis, the respective equations were obtained to determine the optimal conditions for the statistical analysis. In each equation presented in Table  4, T corresponds to the temperature (°C), P to the H2O2 concentration (Molar), B to the HCO3 concentration (Molar), and Z to the removal efficiency (%).

Optimum Process Conditions
As a result of the statistical analysis, the respective equations were obtained to determine the optimal conditions for the statistical analysis. In each equation presented in Table 4, T corresponds to the temperature ( • C), P to the H 2 O 2 concentration (Molar), B to the HCO 3 concentration (Molar), and Z to the removal efficiency (%). From Equations (1)- (12), the optimum conditions were calculated for achieving the highest removal efficiencies. These conditions were 1 M of HCO 3 , 2 M of H 2 O 2 at 35%, and 60 • C of temperature. Figure 9 shows the validation results between the expected value yielded by the experimental design and those obtained experimentally using six repetitions. To determine statistical significance, multiple t-tests were used for data 1, using the Holm Sidak method, with alpha = 0.05. Each row was analyzed individually without assuming a consistent SD number of t-tests: 6. It was found that there are significant differences between what was obtained experimentally and what was expected for the TOC and COD tests. However, it was found that the value was higher in what was obtained experimentally compared to what was expected. This made it possible to establish that the operating conditions obtained were optimal to get the highest removal values for each parameter evaluated.
From Equations (1)- (12), the optimum conditions were calculated for achieving the highest removal efficiencies. These conditions were 1 M of HCO3, 2 M of H2O2 at 35%, and 60 °C of temperature. Figure 9 shows the validation results between the expected value yielded by the experimental design and those obtained experimentally using six repetitions. To determine statistical significance, multiple t-tests were used for data 1, using the Holm Sidak method, with alpha = 0.05. Each row was analyzed individually without assuming a consistent SD number of t-tests: 6. It was found that there are significant differences between what was obtained experimentally and what was expected for the TOC and COD tests. However, it was found that the value was higher in what was obtained experimentally compared to what was expected. This made it possible to establish that the operating conditions obtained were optimal to get the highest removal values for each parameter evaluated. Then, the AOP treatment was done at these conditions for 1 L of dyeing wastewater at 700 rpm. The results of removal percentages are shown in Table 5 for each parameter evaluated.

Parameter
% of Removal N-NH3 92.35 Figure 9. Results of the validation between the expected value yielded by the experimental design and the value obtained experimentally, with n = 6. * Significant differences.
Then, the AOP treatment was done at these conditions for 1 L of dyeing wastewater at 700 rpm. The results of removal percentages are shown in Table 5 for each parameter evaluated.  Table 5 shows that the optimization increased COD removal up to 31.95% in a time of 60 min; the most significant reduction occurred in the first 20 min of the reaction, as shown in Figure 8; after this time, COD does not vary significantly. It is fundamental to indicate that there are still no reports of COD removal in real wastewater from dyeing using bicarbonate processes with peroxide; there are reports from other AOPs, where the authors have implemented UV/chlorine systems to remove COD in this type of effluents reaching removal percentages in the range of 24.2-29.3% [49]. Kiani et al. [65] reported using peroxydisulfate/CuO and activated carbon under optimum pH seven conditions, achieving 72.1% COD removal percentages in wastewater from dyeing. However, there was a high performance with the use of sulfate radical-based POPs; the side effects in their application are unknown. Some authors have reported essential aspects that affect COD removal percentages and COD analytics in processes with H 2 O 2 as an oxidizing agent; if removal percentages are low, there may be excess H 2 O 2 , generating residues that do not react in the effluent, which increases the COD concentration of the wastewater [66]. Likewise, inorganic species with reducing capacity, such as nitrite, chloride and H 2 O 2 , can interfere with COD analysis [67]. Figure 10 shows the removal kinetics of the optimal H 2 O 2 and bicarbonate process, where the behavior of the COD, TOC, color, and N-NH 3 parameters was analyzed every 10 min.  Table 5 shows that the optimization increased COD removal up to 31.95% in a time of 60 min; the most significant reduction occurred in the first 20 min of the reaction, as shown in Figure 8; after this time, COD does not vary significantly. It is fundamental to indicate that there are still no reports of COD removal in real wastewater from dyeing using bicarbonate processes with peroxide; there are reports from other AOPs, where the authors have implemented UV/chlorine systems to remove COD in this type of effluents reaching removal percentages in the range of 24.2-29.3% [49]. Kiani et al. [65] reported using peroxydisulfate/CuO and activated carbon under optimum pH seven conditions, achieving 72.1% COD removal percentages in wastewater from dyeing. However, there was a high performance with the use of sulfate radical-based POPs; the side effects in their application are unknown. Some authors have reported essential aspects that affect COD removal percentages and COD analytics in processes with H2O2 as an oxidizing agent; if removal percentages are low, there may be excess H2O2, generating residues that do not react in the effluent, which increases the COD concentration of the wastewater [66]. Likewise, inorganic species with reducing capacity, such as nitrite, chloride and H2O2, can interfere with COD analysis [67]. Figure 10 shows the removal kinetics of the optimal H2O2 and bicarbonate process, where the behavior of the COD, TOC, color, and N-NH3 parameters was analyzed every 10 min.    Figure 11 shows the catalytic process before and after under optimization conditions. Most of the dyes used in the textile industry are synthetic and can be classified into azo, anthraquinone, sulfur, phthalocyanine, and triarylmethane groups; according to their chemical structure and their mode of application, can be classified as reactive, direct, dispersed, primary and vat dyeing [68]. Usually, azo dyes are the most common and constitute 70% of the dyes used in textile wastewater; these are formed by one or more azo bonds, connecting aromatic amines, which makes them rich in nitrogen [3]; the preceding explains the considerable concentrations of N-NH 3 in the wastewater from the tanneries. Several studies have reported using different AOPs to remove N-NH 3 ; processes such as Fenton can mineralize contaminants up to 75.8% N-NH 3 in 60 min [69]. In the same way, an electro-oxidation process has been reported to improve the elimination of N-NH 3 , achieving removal percentages of up to 90% [70]. Finally, Suryawan et al. [71] said the use of ozone in textile wastewater reached elimination percentages of N-NH 3 of 46% and 62%. The bicarbonate and hydrogen peroxide system evaluated in this work shows better results concerning the oxidation process and removal of N-NH 3 than the AOPs applied in tanneries water reported in the literature. Most of the dyes used in the textile industry are synthetic and can be classified into azo, anthraquinone, sulfur, phthalocyanine, and triarylmethane groups; according to their chemical structure and their mode of application, can be classified as reactive, direct, dispersed, primary and vat dyeing [68]. Usually, azo dyes are the most common and constitute 70% of the dyes used in textile wastewater; these are formed by one or more azo bonds, connecting aromatic amines, which makes them rich in nitrogen [3]; the preceding explains the considerable concentrations of N-NH3 in the wastewater from the tanneries. Several studies have reported using different AOPs to remove N-NH3; processes such as Fenton can mineralize contaminants up to 75.8% N-NH3 in 60 min [69]. In the same way, an electro-oxidation process has been reported to improve the elimination of N-NH3, achieving removal percentages of up to 90% [70]. Finally, Suryawan et al. [71] said the use of ozone in textile wastewater reached elimination percentages of N-NH3 of 46% and 62%. The bicarbonate and hydrogen peroxide system evaluated in this work shows better results concerning the oxidation process and removal of N-NH3 than the AOPs applied in tanneries water reported in the literature.
The results obtained concerning the removal of TOC show an efficiency of 35.6%, which reaches a steady state around 40 min of process. Different processes have been reported for the removal of TOC in textile wastewater, most of them synthetic, biological processes and membrane filtrations can reach removals of 44% and 80%, respectively, but in high process times of the order of 30 h and five h are necessary, which is attributed to the degradability of the dyes present in these residual effluents [31,35]. This phenomenon can explain the need to increase the reaction time to achieve more excellent removal according to the results of this work. In Percarbonate/Ultrasound/UV processes, TOC removal percentages were achieved from 32% to 48.6% [72]. The removal of the Orange II (OII) dye and TOC has been reported by advanced oxidation processes using reduced graphene oxide (RGO) as catalysts in the presence of UV/Vis/H2O2 radiation, reaching removal percentages of 97.7% and 87.9%, respectively in 90 min [73]. These results were relevant considering that no studies have evaluated the effect of NaHCO3 and H2O2 together with parameters such as temperature in real textile wastewater since most studies work with synthetic water with dyes [23][24][25]47,74].
The color removals occurred immediately upon adding the reagents to the residual water during the 10 min of reaction, as illustrated in Figure 10, wherein the following 50 min of reaction, the removal percentages are maintained, the absorbances were in a range of 0.55, and 0.62 ABS for 68.85% color reduction. Figure 12 shows the absorbance reduc- The results obtained concerning the removal of TOC show an efficiency of 35.6%, which reaches a steady state around 40 min of process. Different processes have been reported for the removal of TOC in textile wastewater, most of them synthetic, biological processes and membrane filtrations can reach removals of 44% and 80%, respectively, but in high process times of the order of 30 h and five h are necessary, which is attributed to the degradability of the dyes present in these residual effluents [31,35]. This phenomenon can explain the need to increase the reaction time to achieve more excellent removal according to the results of this work. In Percarbonate/Ultrasound/UV processes, TOC removal percentages were achieved from 32% to 48.6% [72]. The removal of the Orange II (OII) dye and TOC has been reported by advanced oxidation processes using reduced graphene oxide (RGO) as catalysts in the presence of UV/Vis/H 2 O 2 radiation, reaching removal percentages of 97.7% and 87.9%, respectively in 90 min [73]. These results were relevant considering that no studies have evaluated the effect of NaHCO 3 and H 2 O 2 together with parameters such as temperature in real textile wastewater since most studies work with synthetic water with dyes [23][24][25]47,74].
The color removals occurred immediately upon adding the reagents to the residual water during the 10 min of reaction, as illustrated in Figure 10, wherein the following 50 min of reaction, the removal percentages are maintained, the absorbances were in a range of 0.55, and 0.62 ABS for 68.85% color reduction. Figure 12 shows the absorbance reduction of the problem sample after treatment, showing the removal of 100% of the color at the 673 nm wavelength and 68.85% at the 297 nm wavelength. An essential factor in removal times is the concentration of the dye in the residual effluents; Some research has highlighted that the removal of methylene blue (MB) and methylene orange (MO) requires more reaction time at higher concentrations of these compounds [41]. One of the characteristics of the dyeing wastewater evaluated in this study is the concentration of chlorides present; it has been reported that chlorides have a dual effect; they can be inhibitors or accelerators in the decolorization kinetic process of dyeing wastewater even in concentrations higher than 5 mM up to 500 Mm [74]; however it has also been indicated that processes such as ozonation [75], and UV/TiO 2 [26], can be affected in the decolorization rate in this range of chloride concentrations; for the case of this study, the chloride concentration was 14. 55 mM and it was evidenced that color removal was not significantly affected; similar results were reported when NaCl was added to a UV/H 2 O 2 process, where the removal rate was not significantly affected; the slight decrease in decolorization efficiency is because of hydroxyl radical scavenging of the chloride ion (Equations (19) and (20)) [76].
tion was 14. 55 mM and it was evidenced that color removal was not significantly affected; similar results were reported when NaCl was added to a UV/H2O2 process, where the removal rate was not significantly affected; the slight decrease in decolorization efficiency is because of hydroxyl radical scavenging of the chloride ion (Equations (19) and (20)) [76].

Cl + • H → HOCl
HOCl Another critical factor in eliminating dyes in textile waters is pH; it has been estimated that at a pH of 4.5 to 7.3, the bicarbonate ions released interact with the dyes allowing their degradation [77,78]. About the other pollutants, it was found that the removal was above 80% (nitrites, N-NH3, sulfates, iron, BOD, total solids, and suspended solids); for the other parameters evaluated in the characterization, the removal was between 42% and 77% as shown in Figure 13; it is essential to note that all the concentration and removal values obtained comply with the current regulations for the discharge of this type of wastewater.  Another critical factor in eliminating dyes in textile waters is pH; it has been estimated that at a pH of 4.5 to 7.3, the bicarbonate ions released interact with the dyes allowing their degradation [77,78]. About the other pollutants, it was found that the removal was above 80% (nitrites, N-NH 3 , sulfates, iron, BOD, total solids, and suspended solids); for the other parameters evaluated in the characterization, the removal was between 42% and 77% as shown in Figure 13; it is essential to note that all the concentration and removal values obtained comply with the current regulations for the discharge of this type of wastewater. The perspective on the use of the bicarbonate/peroxide system in the treatment of dyehouse effluents lies in the determination of the cost-effectiveness ratio; in the literature, there is little data on the costs associated with hydrogen peroxide activation due to its The perspective on the use of the bicarbonate/peroxide system in the treatment of dyehouse effluents lies in the determination of the cost-effectiveness ratio; in the literature, there is little data on the costs associated with hydrogen peroxide activation due to its dependence on the effluent and the characteristics of the process itself [77,78]; however, some works report costs associated with the operation, reagent consumption, and electricity consumption ( Table 6).
For the treatment of coloring effluents, it has been reported that ozone alone is more expensive than other processes, such as H 2 O 2 /UV and ozone/UV, due to electrical consumption. Treating these effluents with bicarbonate decreases energy costs by having a lower energy consumption, and the construction of the reactors is usually cheaper than photocatalytic reactors [79]. The use of the Bicarbonate/peroxide complex allows for obtaining some chemically oxidative species such as OH, O 2 , and O 2 -; and therefore, they could be simultaneously used for the decomposition of organic pollutants present in dyeing effluents [80,81], being a potentially cheaper technology than those currently evaluated.

Conclusions
The Advanced Oxidation Processes using H 2 O 2 and NaHCO 3 showed promising results for removing color, N-NH 3 , and to a lesser extent, the reduction of COD and TOC. Even though the reaction temperatures that showed a relative efficiency are between 50 • C and 80 • C, the energy expenditure could be a limitation in a scaled process; nevertheless, thanks to the analysis of the surface response, it can be detailed that by increasing the concentrations of NaHCO 3 and temperature it can be obtained excellent results. On the other hand, to get high removals of N-NH 3 after the treatment, concentrations of peroxide and low temperatures are necessary. Therefore, the appropriate type of treatment should be prioritized according to the intended use of the treated effluent since the dyeing water treated with AOPs could be used for the potential cultivation of microalgae, given the high amounts of nitrates that can be generated by oxidation and degradation as a secondary treatment; in this way, the conditions that favor the oxidation of N-NH 3 should be used; on the other hand, if what is sought is the removal of color and the COD, other conditions should be analyzed, more research is required to evaluate the potential use of the treated water and some other parameters that may favor the treatment of said water. Funding: This research was supported by Universidad del Valle (Colombia) with the project "Evaluation of a coupled system for advanced oxidation of industrial effluents and production of microalgae to obtain high value-added metabolites. ID CI 21144" and Newton Fund Institutional Links, ID 527624805.
Institutional Review Board Statement: Not applicable.

Informed Consent Statement: Not applicable.
Data Availability Statement: Not applicable.