1 Introduction

The textile industry is a fastly growing manufacturing sector with an incredibly increasing of its demand across the globe [1]. This factory has complex processes with many water-intensive operational units such as sizing, de-sizing, sourcing, bleaching, mercerizing, dyeing, printing, and functional finishing [2]. The commonly used raw materials and synthesized fibers in the factory are cotton, flax, rayon, linen, silk, mohair, wool, polyester, polyamide, nylon, and acrylic [3]. Many chemicals are also consumed in the factory including dyes, salts, etc. [4]. Dyes are organic compounds that serve as a main coloring agent in the textile factory. Normally, dyeing of 1 kg of cotton required about 0.04 kg of dyes, 0.6 kg salts, and 150 L of treated water [5]. Globally, the annual dye production is about 7 × 105 t with 100,000 different types of dyestuffs [6, 7]. Every year, about 5000 t of dyeing stuff is dumped into the nearby environment without proper treatment [8]. Dyes are the major pollutants in textile industrial wastewater which can cause an unpleasant and toxicological effect on living organisms even at low concentrations < 1 ppm [7, 9]. These chemicals have the potential to cause severe public and environmental health problems. Additionally, the public health problems such as reproductive system defect, dysfunction of the kidneys, liver, brain, and nervous system were commonly reported [10]. Generally, textile industrial wastewater is composed of a high concentration of pollutants that has the potential to cause toxicological, mutagenic, and carcinogenic effects.

The high water consumption in a textile industrial production process is another challenge for water sustainability. Recently, high industrial water consumption and pollution have a substantial contribution to water scarcity. Water scarcity which is 1000 m3 per person per year will affect the life of 4.8–5.7 billion by 2050, globally [11,12,13]. Fabrication demanded a water quantity of 30–308 L/kg of the product but the water consumption sometimes can reach up to 933 L/kg [14, 15]. The textile industry is discharging a huge volume of high-strength wastewater which can be rated about 200–350 m3 per ton of finished product [16, 17]. This wastewater is composed of dyes and other chemicals that can contribute to a high concentration of COD (up to 8000 mg/L) [5, 18]. Actually, textile industrial wastewater compositions are significantly influenced by types of fabric produced, chemical types consumed, equipment used in the processes, and the fabric weight [19]. The direct discharge of textile industrial wastewater is restricted by environmental regulatory agencies. The legislations of many industrial effluent discharging standards were restricted unless the effluent is properly treated [20]. The typical nature of the textile industrial wastewater is a recalcitrant, toxic, non-biodegradable, mutagenic, carcinogenic, colorful, and environmentally unacceptable effluent [3].

Many conventional wastewater treatment efforts have been made to remediate textile industrial wastewater through physicochemical treatment methods such as coagulation, flocculation, sedimentation, filtration, and biological methods such as oxidation pond, activated sludge, trickling filter. But, such treatment technologies are not effective to prevent environmental pollution and public health problem [20]. The disadvantages of these technologies are the requirement of large quantities of chemicals, low treatment efficiencies, and a huge volume of sludge production [21, 22]. Sometimes such treatment technologies can also produce toxic secondary byproducts which are other environmental pollution burdens. Furthermore, biological wastewater remediation is very poor since it focused only on the dissolved matter and the biodegradability index is also very low (0.10–0.29) [2, 23]. All these factors have limited the application of these technologies to clean up the high-strength wastewater of the textile industry. Therefore, there is a shift to advanced wastewater treatment technologies.

The application of advanced wastewater treatment technology for the treatment of the textile industrial wastewater was very effective, particularly the most commonly known technologies such as precipitation, membrane separation, ion exchange, reverse osmosis, advanced oxidation processes (Fenton, ozonation, etc.), electrocoagulation, filtration, adsorption, photocatalytic, disinfection, and electrodialysis are very practical [22, 24,25,26]. However, the implementation of these technologies are not evenly distributed across the globe because of certain limitations such as energy-intensive process, expensiveness of the technologies, requiring high operational and capital inputs, needing advanced technologies, low thermal and chemical resistivity, membrane fouling, and requirement of the skilled man powers [27, 28]. However, electrodialysis treatment was effectively removed COD, salt, and color from textile industrial wastewater. But this technology is not applied practically at a large scale [29]. Among other treatment technologies, adsorption is a promising wastewater treatment method [1, 30, 31]. Additionally, it is considered as a flexible, simple to design, environmentally friendly, economically feasible, and efficient treatment technology [32, 33]. However, the practical application of this technology in the water and wastewater treatment sector is limited because commercially activated carbon is very expensive and the effectiveness of locally prepared adsorbent is not completely understood. The low treatment performances, intensive preparation time, cost, regeneration challenge, and adsorption capacity are among the major challenging factor for such technology. Even though many efforts have been made to develop effective, low-cost, and efficient adsorbents across the globe, the studies are still under investigation [26]. Therefore, the current studies are shifting to other treatment technologies such as electrochemical methods, particularly for non-degradable pollutants like textile industrial wastewater. Practically, the removal mechanism of the electrochemical method is the degradation (breakdown) of the pollutants through the oxidation and reduction processes at the points of the electrodes.

The electrochemical method is an advanced oxidation process that is capable of degrading organic materials into CO2 and H2O. This treatment method is a green technology that has recently attracted the attention of the researchers and scientific community. Efficient electrochemical decolorization performance (99%) for methylene blue removal from textile industrial wastewater was reported [34, 35]. Additionally, decolorization of textile wastewater using anodic oxidation with the graphite anode coated with lead dioxide and graphite anodes were found to be 96.2% and 68.3%, respectively [34]. The major advantages of this technology are no sludge generation, simple equipment design, easy operation, advancing reaction by electrons, low cost of construction, and effective mineralization of pollutants. Additionally, increasing the current density will cause the rapid degradation of the pollutants many folds which will be resulted in maximum removal efficiency. However, the anode material, the type of contaminant, reaction time, type, and concentration of electrolytes are the main operational parameters that are significantly affecting the treatment efficiency [34]. Currently, special attention was given to the electrochemical method and many outstanding research outcomes are displayed which are mainly focused on emerging micropollutants particularly the persistent organic pollutants [36,37,38]. Therefore, this study was aimed to develop an electrochemical electrode for the degradation of chemical oxygen demand of the textile industrial wastewater through an optimization approach that was studied by design expert software version 12. The full factorial experimental design of the three factors with three-level of reaction time (12, 16, and 20 min) pH (4, 6, and 7), and concentration of electrolyte (2, 4, and 6 g/L) was well applied. The interaction effect of the three factors of the electrochemical treatment methods was also thoroughly investigated.

2 Materials and Methods

2.1 Wastewater Sample Collection and Characterization

The wastewater sample was collected from Bahir Dar Textile industrial Share Company. Composite sampling techniques were used to collect wastewater samples three times a day which was mixed to get a representative sample in terms of physicochemical compositions. The total generation and discharge of wastewater from the textile industrial process were 400–480 m3/day. A sample container of a polyethylene plastic material was thoroughly washed with detergents and soaked in 10% HNO3. Then, it was repeatedly washed with distilled de-ionized water. The icebox cooling materials were used to transport the sample to Addis Ababa Science and Technology University for analysis purposes. Finally, the wastewater was preserved in a refrigerator at 4 °C until its analysis was performed. The analysis of each wastewater parameter and the corresponding testing method was indicated in Table 1.

Table 1 Certain physicochemical parameters of textile industrial wastewater and their corresponding testing methods

2.2 Electrolyte Preparation

The platinum-iron anode electrode was prepared from waste materials that were damped at Bahir Dar Textile industrial share company whereas the cathode was prepared from a knife handle at ‘torno bet’. A similar size of both the anode and the cathode electrodes was designed and prepared. Accordingly, the dimensions of the electrodes were 50 mm in length, 10 mm in width, and 5 mm in depth. Two treatment systems (duplicated treatments) were used for the degradation of the textile industrial wastewater throughout the study and the overall setup of the study experiment was indicated in Fig. 1. The platinum-iron electrode surface was successively polished using sandpaper on roughing stone using water as a cleaning agent. The alloy substrate surface was cleaned by sandpaper again and again and then treated with 98% sulfuric acid (1.5 mg/L) to remove any oxides. Finally, the prepared electrode was soaked in nitric acid 6.3 M for 5 min and then, it was chemically treated by boiled oxalic acid solution (100 g/L) for 7 min. In the end, it was polished with sandpaper and dried at a temperature of 40 °C. Electrolysis was carried out using the platinum-iron alloy electrode using a sodium chloride solution (2–6 mg/L) which was prepared from an analytical graded chemical in the laboratory. The electrochemical degradation of the textile industrial wastewater which contained a high concentration of chemical oxygen demand was performed in a 250 mL Pyrex glass beaker. This treatment system composed of the platinum-iron electrode which was used as a working electrode while stainless steel served as a cathode electrode. The electrodes are connected to a DC power supply with a model FESTO (15.4 V), while the current measurements readout performed using the digital multimeter.

Fig. 1
figure 1

Electrochemical degradation of chemical oxygen demand in the textile industrial wastewater

2.3 Experimental Design

Full factorial experimental was performed throughout the study period with the three selected experimental factors with the three levels as indicated in Table 2. The experimental design of the study was formulated as a 33 which is expected to generate 27 runs but the number of experimental runs reduced to 20 runs using Design Expert 12 but these values were fixed based on previous experimental studies [39]. The predicted COD removal was studied using the quadratic regression model and response surface methodology method. During the experiment period, the initial COD concentration of 1730 mg/L at room temperature was used throughout the experiment. However, the COD removal values were expressed as an independent variable that was evaluated using electrochemical method performance in percentages (%). The level of each factor was designated as lower, middle, and higher with ‘−1’, ‘0’, and ‘+1’, respectively [32, 40].

Table 2 The full factorial experimental design of electrochemical with the three factors and three levels

The COD concentration of textile industrial wastewater was determined using the HANNA digester and COD analyzer according to the standard methods for the examination of water and wastewater. The COD removal percentage was calculated using Eq. 1.

$$ \% R = \left( {\frac{{{\text{COD}}_{{\text{i}}} - {\text{COD}}_{{\text{f}}} }}{{{\text{COD}}_{{\text{i}}} }}} \right) \times 100 $$
(1)

where %R is the COD removal percentage, CODi (mg/L) is the initial COD concentration and CODf (mg/L) is the final COD concentration [41].

The regression analysis was carried out using the quadratic model equation and the response surface methodology was also used to plot the relationship between the dependent and independent variables. In addition to experimental values, the main and interaction effects of the predicted values on the COD removals were well studied. Compared to the linear and cubic regression models, the quadratic regression model was well described as the experimental data. A detailed explanation was given by Eq. 2.

$$ Y_{{{\text{COD}}}} = _{0} +_{1} A +_{2} B +_{3} C +_{11} A^{2} +_{22} B^{2} +_{33} C^{2} +_{12} AB +_{13} AC +_{23} BC $$
(2)

where YCOD is the predicted COD removal, A, B, and C are the contact time, pH, and electrolyte concentration, respectively. But β0 is intercepted, β1, β2, β3, are linear coefficient, β11, β22, β33, are the squared coefficients, β12, β13, β23, are the interaction coefficients. Finally, the electrochemical degradation of chemical oxygen demand of wastewater was tested using ANOVA analysis for the quadratic regression model. In this ANOVA test, the significance of the regression model was checked at a 95% confidence level.

3 Results and Discussion

3.1 Characteristics of Wastewater

The physicochemical properties of textile industrial wastewater were studied and the results of the findings were compared with the Ethiopian industrial effluent discharging limits as shown in Table 3. Total solids of 6437.3 ± 3.0 mg/L and pH 6.9 ± 0.2 were found in the textile industrial wastewater. These high concentrations can be attributed to the chemicals and other raw materials utilized in the textile fabrication process. The pH of the effluent was relatively within the acceptable ranges which was safe to be discharged in this regard. The common pH range of textile industrial wastewater was from 5.5 to 11.8 [19]. However, the concentration of the total solids was beyond the maximum permissible limit of Ethiopian industrial effluent discharging limits of 50 mg/L. Therefore, the effluent has a significant effect on the environment and is urgently required to undergo intensive wastewater treatment technologies. Similarly, the concentration of the total suspended solids was found to be 5224.0 ± 2.0 mg/L. Discharging such high concentrations into water bodies can block the penetration of the sunlight which in turn affects the physicochemical characteristics of the water bodies.

Table 3 Physicochemical characteristics of the wastewater sample

COD and BOD5 are the major indicators of the organic and oxidizable components in textile wastewater. The concentration of these parameters is indicated in Table 3. The COD concentration was found to be 1730.0 ± 2.0 mg/L whereas the BOD5 value of 430.0 ± 3.0 mg/L was recorded. This is clearly showed that the textile industrial wastewater was highly loaded with organic matter which might be associated with the raw materials and chemicals utilized in the production process. The biodegradability index (BI) is the degree of biodegradability of the wastewater which is described in the form of BOD5 to COD ratio. In line with this, the BI of 0.6 refers to the fairly degradable and biological treatment is effective whereas the BI values between 0.3 and 0.6 required additional support like seeding of acclimatized microorganisms are mandatory. However, the BI values below 0.3 are challenging to remediate such wastewater through the biological process. The BI of this study was 0.25 and the wastewater treatment through the biological process is a big challenge. Therefore, shifting toward physicochemical treatment was the right decision. Generally, COD and BOD5 were by far beyond the guideline set by the Ethiopian Ministry of the Environment, Forest, and Climate Change at which the recommended levels of COD and BOD5 of effluents are 60 and 250 mg/L, respectively. This wastewater has great potential to cause environmental pollution which leads to developing appropriate wastewater treatment not to discharge the effluent irresponsible.

3.2 Experimental Results Analysis

The results of COD removal from the textile industrial wastewater were displayed in Table 4. The maximum COD removal of 94.1% was obtained at the optimum experimental condition of the three independent factors which are the reaction time of 16 min, pH 6, and NaCl electrolyte concentration 6 g/L at the given experimental setup. Only a single experiential was found, out of the twenty experiments which resulted in a removal performance of less than 80%. Similarly, twelve experimental runs had results that were associated with more than 90% COD removal efficiencies. This indicated that the three factors with the three levels are equivalently influenced by the removal of the COD. However, the minimum COD removal of 65.9% was obtained at the experimental condition of the reaction time 12 min, pH 4, and NaCl electrolyte concentration 2 g/L. The three experimental factors with their level values were significantly influenced the COD removal. Shifting the values of the three factors from the lower to higher values resulted in increasing COD degradation by 27.2%. Many COD removal values were almost close to each other and the efficiencies were also very high. These high removals were attributed to the change in both the main and interaction effects that enhanced the degradation efficiency. This maximum removal efficiency was very encouraging and could comply with the maximum permissible discharging limits for textile industrial effluent. The initial COD concentration of 1730 mg/L was reduced to 102.1 mg/L at a removal efficiency of 94.1% which is by far below the COD concentration of 250 mg/L, the maximal permissible discharging limit for textile industrial wastewater set by the Ethiopian Ministry of the Environment, Forest, and Climate Change.

Table 4 The levels of electrochemical experimental factors and their corresponding COD removal

3.3 Regression Analysis for COD Removal

The regression model was used to check the impact of the three and four ways of interactions on COD removal. But such interactions were insignificant at a 95% confidence interval. Hence, such expressions were excluded from Eq. 3 since they have no significant impact on COD removal. Only the main and two-way interactions were evaluated for the efficiency of treatment performance. The summary of the significant terms on COD removal was indicated in Eq. 2. This equation can be used to make predictions about the response variable for a given level of each factor. The equation can be also useful for identifying the relative impact of the factors on COD degradation by comparing their corresponding coefficients of the factors. Two important terms were used to evaluate the prediction power of the regression model. The regression coefficient of determination (R2) is the power of explaining the degree of variability made by the model whereas the p-value is used to differentiate statistically significant and non-significant terms in the model equation. The regression model well predicted the 85% of COD removal variation since the R2 of this study was 0.85. The ANOVA test was indicated in Table 5. The p-values for these factors were less than 0.05 at which the ANOVA test was performed (95% confidence interval). All those terms were statistically significant. This depicted the good fitness of the model with the experimental data.

$$ Y_{{{\text{COD}}}} = 88.87 + 3.61A + 2.96 B + 5.14 C + 2.47AB + 4.45 AC - 2.05BC $$
(3)

where YCOD is the predicted COD removal (treatment performance in %), A is the contact time, B is the pH and C is electrolyte concentration whereas the two-way interactions of AB, AC, and BC refer to the reaction time with pH, the reaction time with electrolyte concentration and the pH with electrolyte concentration, respectively. The degree of each main and interaction effect on COD removal was determined by the coefficient of the regression term with the positive sign refer synergistic effect whereas the negative sign refers to antagonistic. Based on the value of the coefficient, the regression of the impact on COD removal in the order of C > AC > A > B > AB > BC irrespective of the sign of the coefficient. But the interaction effect between the B and C was inversely proportional to the COD removal. The degree of impact on COD removal was increased by increasing the values of the coefficient of the regression. This regression analysis indicated that the main and two-way interaction effects were directly increasing with the degradation of the COD from textile industrial wastewater whereas a single interaction effect (BC) was suppressed the treatment performance.

Table 5 ANOVA test to identify the significant and non-significant terms in COD removal

The comparison of predicted and the actual value is depicted in Fig. 2. The plot of the predicted value against the actual indicated that the promising association between the two results. The predicted value in the plot helps the degree of relying on the model supporting the accuracy of the model prediction. The plot described a good correlation between the two values. This was approximately indicating the even distribution and good correlation defined by the model. This means that the abnormality in prediction by the model is nearly negligible. External residuals of the experimental operation were used to check whether a run is consistent assuming the chosen model holds.

Fig. 2
figure 2

The predicted COD degradation percentages against the actual plots for COD degradation percent

3.4 The Effect of Each Factor on COD Removal

The removal efficiency of COD removal was increased directly with increasing reaction time indicated in Fig. 3. But, increasing the reaction time resulted in increasing in COD removal which indicated the equilibrium time is beyond 20 min. It was expected that a further increase in the reaction time that improves the degradation of COD removal. Therefore, the reaction time is one of the most important parameters that influence the degradation of COD removal. It is also possible to analyze the effect of the pH on COD removal efficiencies (Fig. 3). When the pH increased from 4.0 to 5.2, the COD removals were increased by 2.38%. But, when the pH of the solution increased from 6.4 to 7.0, the change in COD reduction was insignificant which attributed to the increment of 1.16%. This last section shows the gradual increase in removal efficiency which might be closer to the equilibrium condition. The electrochemical degradation recorded values indicated that pH was insignificantly affected the COD removal during this experimental condition. After this pH point, the production of OH ions is greater than H+ ions resulting in a shift of pH to the basic region in which COD removal could not favor. In some cases, the interpretation of pH effects on the COD degradation process is a difficult task due to the role of the pH interaction with many components in the degradation system. Increasing electrolyte concentration increased the removal efficiency of COD as indicated in Fig. 2. More than 90% of COD degradation was achieved between 4.2 and 5.2 g/L electrolyte concentration. Increasing NaCl concentration increases the degradation efficiency as the process generates HOCl/OCl redox which was directly associated with COD removal. Further increase in NaCl concentration of more than 6 g/L has a slight effect on COD removal. In another experiment with no addition of the electrolyte solution, it was checked the degradation of COD and decolorization of the textile industrial wastewater was negligible.

Fig. 3
figure 3

The effect of reaction time (a), pH (b), and electrolyte (c) on COD removal from textile wastewater

3.5 The Interaction Effects on COD Removal

3.5.1 Reaction Time and pH

Investigation of the interactive effects of the independent factors is the most important power of the full factorial design. The interaction effect of the reaction time and pH on the degradation of chemical oxygen demand was examined and the results of the findings were demonstrated in Fig. 4. The response surface plots and their corresponding contour plots of COD removals were generated, keeping one independent factor as a constant. The values of the two factors were varied gradually within the experimental ranges. This work was carried out at a constant electrolyte concentration of 4 mg/L. The pattern of the interaction was in an increasing manner which resulted in the increasing degradation values of the chemical oxygen demand. The prediction area was varied from green, yellow, and red in the increasing order of the degradation of COD concentration. Increasing the reaction time to 19.97 and pH to 6.95 generate the interaction effect that resulted in degradation of COD removal of 92.95% keeping the electrolyte concentration constant at 4 g/L. The minimum predicted value of COD degradation was 65.9% at the minimum reaction time of 14 min and pH 4.6. Actually, the degradation of COD removal from textile wastewater aimed to reduce the chemical concentration and environmental pollution loads. The maximum predicted and experimental values are in good agreement which reflected the response surface methodology was successfully described the experimental facts.

Fig. 4
figure 4

The interaction effect of reaction time and pH on COD removal

3.5.2 Reaction Time and Electrolyte Concentration

The interaction effect of the reaction time and electrolyte concentration on degradation of COD from textile industrial wastewater was investigated. The response surface plots of the COD removal performance were examined and the study result was displayed in Fig. 5. This interaction was positively enhanced the degradation performance to a certain extent at the steady-state and then after expected to be constant. Increasing both the reaction time and electrolyte concentration to 12.03 min and 5.97 g/L improved the COD removal efficiency to 94.72% showed in the darkest red region of the graph. Both of the factors, the reaction time and electrolyte concentration have effectively influenced the changes in COD concentration as shown in the curved prediction area of the 3D surface. This gradually changing the factors with increasing of the response variable was clearly observed from both the surface and contour plots. These predicted values were closely similar to the experimentally observed values of COD degradation. This implies that the prediction of the model was in a good fit with the experimental values.

Fig. 5
figure 5

Interaction effect of the reaction time and electrolyte concentration on COD degradation

3.5.3 H and Electrolyte Concentration

The interaction effect of the pH and electrolyte concentration on COD degradation was investigated and the trend of the interactions was depicted in Figure 6. When the pH and electrolyte concentration increased, the degradation of COD was increased up to 94 %. This maximum COD removal was achieved at pH 6.95 and the electrolyte concentration of 6 g/L at the constant reaction time of 16 minutes. This interaction was positively enhanced the degradation performance to a certain extent to reach the steady-state after which no further degradation is expected. The individual factor less influenced the reduction in COD concentration from textile industrial wastewater which was the range of 1–2%, whereas the interaction effects of the factors more significant than the individual parameter in the reduction in COD concentration. This indicates that the individual interactions had a less significant effect compared to interaction effects which aggravate the degradation processes of COD removal. It can be seen from the sketch that both the pH and electrolyte concentration affected the COD removal from textile industrial wastewater.

Fig. 6
figure 6

Interaction effect of reaction time and electrolyte concentration on COD degradation

4 Conclusions

The expansion of the textile industry has a significant contribution to the economic development of many nations but the untreated discharge from such a factory is severely impacting freshwater and public health in many places. In line with this, the characteristics of textile industrial wastewater indicated the COD concentration was beyond the maximum permissible discharging limits. Hence, the textile industrial wastewater required intensive treatment efforts to protect the environment and public health. Electrochemical degradation was applied for COD reduction and the corresponding treatment performance of 94.1% was recorded at the optimum experimental condition of reaction time 16 min, pH 4, and electrolyte concentration 6 g/L, whereas the minimum COD removal value of 65.9% was obtained under different experimental condition. This is maximum COD reduction from initial COD concentration of 1.730–102.4 mg/L was recorded. This final COD concentration is below the Ethiopian industrial effluent discharging limit (250 mg/L) and the treated effluent has to be used for various purposes including irrigation. Electrolyte concentration was the most dominant factor in this treatment process that reflected by the regression model. The predicted COD values are nearly the same as the experimental values which imply the model was satisfactorily describing the experimental reality. The main and two-way interaction effects were directly increasing with the degradation of the COD concentration, whereas the single interaction effect of pH and electrolyte concentration suppressed the treatment performance. Generally, the COD electrochemical degradation was encouraging and the modified electrodes were a promising candidate to intervene in textile industrial wastewater pollution.