The Textile industry is an important sector of our economy. One of the main industries consumes large quantities of water and produces large volumes of wastewater. Furthermore, with this point of view, many industries throw its wastewater in the environment. Therefore, the major tasks are providing clean water to all living organism. There is an urgent need to innovate more effective and inexpensive technique for treatment of wastewater. One of the most serious causes of disease and serious environmental problems is dye wastewater in general that consists of a number of contaminants, including acids, bases, dissolved and suspended solids, toxic and non-biodegradable compounds, which are conspicuous even at low concentrations and need to be removed before the wastewater can be discharged to environment  . Electrocoagulation (EC) is an attractive technique for the treatment of effluent in which there is an in-situ generation of coagulant by the dissolution of sacrificial anode. The application of current leads to the generation of hydroxide ions at the anode and hydrogen gas at the cathode. The generation of the hydroxide ions leads to the formation of flocs, which settles the pollutant and can be easily removed by sedimentation. There is formation of gas bubbles, which help the lighter pollutants to be removed by flotation . Experiments done in Textile wastewater contained a significant amount of bio dye compounds including Reactive Black 5 (RB5) as an Azo dye which causes serious damage to the environment and aquatic life in receiving water resources by . An excessive intake of fluoride causes severe dental or skeletal fluorosis. Therefore,  revealed a maximum hardness removal by electrocoagulation process and applied the influence of fluoride ions on hardness removal. Another attempt  removed COD from Textile Mill Wastewater by Electro-Coagulation Process using SS/Al as Composite Hydrogel and compared (SS-Ti) and Aluminium-Titanium (Al-Ti) for removal of COD from Textile Mill. As well,  treated tannery wastewater sample to remove or reduce the pollutants load by using electrocoagulation technique using an electrode of aluminum nanoparticles.  treated wastewater from industrial pulp and paper recycling using electrocoagulation. Aluminum (Al) and Iron (Fe) electrodes were used as the electrochemical cell set up. On the other hand,  treated the surface water by Electrocoagulation-Electro flotation process in internal loop airlift reactor and evaluated of the performance of the treatment by measuring the electrolysis time, the effect of the initial electrical conductivity on the reduction of the turbidity and the electrical energy consumption.  selected Anodes (Al and Fe) and cathode (graphite and Ti/RuO2) materials for purification of the acid whey using electrocoagulation technique.  selected a model dye as Remazol Black B and treated by Electrocoagulation Process Coupled with Bentonite as an Aid Coagulant and Natural Adsorbent and results showed that it’s effective method for dye removal from colored wastewater.  investigated that another type of waste water causes of disease and serious environmental problems is abattoir wastewater by electrocoagulation (EC) process using iron electrodes and its result. Results showed that EC technique using Fe-Fe electrodes is effective in abattoir wastewater treatment.
Therefore, instead of Conventional treatment technologies, such as chemical coagulation, biological methods and advanced oxidation processes, such as ozonation and UV/H2O2 that cannot purify dying effluent.   all of previous methods have some limitations and problems. Biological treatment by activated sludge offers high efficiencies in COD removal, but does not completely eliminate the color of the wastewater and frequently operational problems such as bulking appear. Chemical oxidation by ozone, or a combination of UV-radiation and ozone and H2O2, has great interest, but the costs are still very high due to the high doses required. Coagulation-flocculation process has been found to be cost effective, easy to operate and energy saving treatment alternatives, but the coagulation process does not work well for soluble dyes. we can used promising electrocoagulation treatment technology method that that used electrons only employed agents in ECF being responsible for facilitating wastewater treatment  Mechanism of the electro coagulation process By using aluminum electrodes are:
Al3+ and OH− ions generated by electrode reactions (1) and (2) react to form various monomeric species, which finally transform into Al(OH)3(s) according to complex precipitation kinetics:
Freshly formed amorphous Al(OH)3(s) “sweep flocs” exhibit large surface areas which are beneficial for a rapid adsorption of soluble organic compounds and for trapping colloidal particles. Finally, these flocs are removed easily from aqueous   medium by sedimentation or by flotation cathode
The main purpose of this work is to study the electro coagulation process efficiency for treatment real waste water from a local factory which used reactive dyes and determined of the important variables such as electrical current, initial pH on removal dye (Figure 1).
2. Material and Method
2.1. Analytical Measurements
The Textile wastewater used in this study is obtained from a tank containing a mixture of exhaust dyeing solutions at a textile factory and was stored in deep freezer with preservatives. The composition of the wastewater is shown in Table 1. COD, total suspended solids (TSS), total organic carbon (TOC) and turbidity were carried out according to the Standard Methods for Examination of Water and Wastewater . The COD samples were analyzed using a Shimadzu Model UV-160 double beam spectrophotometer. The pH was measured with a pH Metera (Lovibondp). Conductivity was determined A Jenway Conductivity Meter (Model 4200) was employed to determine the conductivity, The pH and conductivity were adjusted to a desirable value using NaOH, and NaCl (Merck), respectively The various characteristics of Textile effluent are shown in Table 1.
Figure 1. Mechanism of electrocoagulation adopted from .
Table 1. Characteristics of wastewater from textile mill.
where Ci is the initial dye concentration (mg/L) and Cf is the final dye concentration (mg/L). In this study, each treatment was repeated twice and the absorbance measurement of each sample was repeated three times and all of the data in the Figures.
2.2. Experimental Set up
Electrolysis cell consists of a power supply system and a magnetic stirrer unit. The electrolysis cell made of borosil glass beaker with an effective volume of 1L and Bipolar electrode in serial connections (BP-S). The Aluminum cathode and Aluminum anode consist of pieces of size 10 cm × 5 cm × 1 mm separated by a space of 1 cm and dipped in the wastewater. Experiments in a bipolar batch reactor (Figure 2), with four aluminum electrode connected the electrodes are connected to the positive and negative terminals of the DC power supply (Range 30 V/3A) and no electrical connection between the inner electrodes, A magnetic stirrer was used to provide mixing of the solution as shown in Figure 2. In this study, an effect of electrical current, pH and Electrolysis time is studied. All the runs were performed at constant temperature of 25˚C. In each run, 500 cm3 of the wastewater solutions was placed into the electrolytic cell. The electrical current was adjusted to a desired value and the coagulation was started. At the end of electrocoagulation, the solution was filtered and the filtrate was centrifugated at 2000 rpm, and then was analyzed. Before each run, electrodes were washed with acetone to remove surface grease, and the impurities on the aluminum electrodes surfaces were removed by dipping for 5 min. Electrical energy consumption (Ec) in KWh/m3 dye wastewater was estimated using equation reported by  described below:
where (V) is the voltage in Volt, (I) is the electrical current in Ampere, (t) is the reaction time in hour and (m3) is the volume of the wastewater (reactor) in cubic meter. Bipolar electrode in serial connections (BP-S): In this connection mode, the outer electrodes are connected to the power supply and there is the no electrical connection between the inner electrodes.  reported that MP-P mode is the most cost effective for aluminum electrodes.
3. Results and Discussion
3.1. Effect of pH
The pH of the medium changes during the electrocoagulation process, as observed by many investigators such as   , so pH is a significant operating parameter influencing the performance of electrocoagulation influencing the performance of electrocoagulation process      . Generally, this change depends on the type of electrode material dye effluent Hence, for examination the effect of initial pH of solution on the performance of process, the samples were adjusted to the desired value (3, 5, 7, 10, 12) for each experiment by adding either sodium hydroxide or dilute sulfuric acid. As shown in Figure 3(a) and Figure 3(b), the pH of the solution changes during the process. The efficiency of removals was low either at low pH or at high pH (3 and 12) and On the other hand, the experimental results showed that when pH of the dye solution was between 5 and 10. The optimal pH was 7 with removals efficiency (98.1%, 62%), color removal and COD removal efficiency respectively at which higher dye removal efficiency could be reached. Also, pH 10 removal efficiency (97.5% 54%) color removal and COD removal efficiency respectively and hence this pH is approximately pH of real effluent of reactive dyes fabric as indicated in Table 1. Therefore, adjustment of initial pH before treatment is not required in this treatment using Aluminum anode. Further increasing the pH 12 resulted in a reduction of dye removal efficiency. This behavior was ascribed to the amphoteric character of aluminum hydroxide which does not precipitate at very low pH . Furthermore, high pH leads to the formation of , which is soluble and useless for adsorption of dye  .
Figure 2. Temperature controllers, 3-Magntic stirrer, 4-EC cell, 5-cathod, 6-Anod, 7-Power supply.
Figure 3. (a). Effect of initial pH on the decolorization efficiency (electrical current = 750 mA, 1 cm distance between anodes. (b). Effect of initial pH on COD efficiency (electrical current = 750 mA, 1 cm distance between anodes.
3.2. Effect of Electrical Current
Electrical current is of high significance within all electrocoagulation/flotation processes affecting the reaction rate through the determination of coagulant dosage and bubble generation rates, bubble size, floc growth, collisions among particles and thereby, influencing the ECF efficiency . According to Faraday’s law, dissolution of electrode is related to the total charge passed which implies that the amount of adsorbent produced in the electrochemical reactor would be proportional to the electrical current . In addition, electrical current is the prime factor determining the separation mechanism . Thus, in this study, the impact of electrical current on Reactive dye color removals from aqueous synthetics has been examined. As expected, it was observed that at a constant reaction time, the color removal efficiency increased significantly by the increases of electrical current and that was agree with . An electrical current varying within 300 - 900 mA was investigated and the results are depicted in Figure 4(a) and Figure 4(b). As it is demonstrated, decolorization Efficiency increased by rising the electrical current reaching to the maximum at 900 mA. This is ascribed to the fact that at higher electrical current, more oxidation occurs within the anodes followed by higher coagulation and flocculation. Moreover, increasing electrical current brings about greater bubble density having smaller size, which effectively promotes pollutant removal by electroflotation  . It was observed that the process significantly shown the effect of electrical current in 20 min reaction time as the color of the wastewater undergoes individual decreases by increasing the electrical current. In the present work, the highest decolorization efficiency after 120 min reaction time was obtained, 750 mA was selected because it produced relatively high efficiency along with being less energy consuming and more economical.
3.3. Effect of Electrical Current on Kinetic Evaluation
Figure 5(a) presents the linear plot of lnC/C0 versus time and demonstrates that organic matter degradation as a function of the electrical current follows a first order reaction and that the COD removal rate is directly proportional to the applied electrical current. The linear plot of 1/C0 versus time is also illustrated in Figure 5(b). Likewise, demonstrate that the reaction kinetic is more likely to
Figure 4. (a) Effect of electrical current on decolorization (pH = 10), 1 cm distance between anodes. (b) Effect of electrical current on COD (pH = 10), 1 cm distance between anodes.
Figure 5. (a) Effect of electrical current on organic matters removal kinetics. (b). Effect of electrical current on organic matters removal kinetics.
follow the first order. The first order kinetic equation is as follows . lnC/C0 = −kt where C0 is the initial concentration of organic matters, C is the remained organic matters after the reaction, k is the rate constant and t is the reaction time.
3.4. Energy Consumption
Energy consumption is a fundamental factor in all electrochemical processes including ECF being associated with operating cost of the process   , Electrical current relates with the electrical energy consumption. In the current work, electrical energy consumption per cubic meter of the wastewater undergoing ECF process was calculated through the following equation where V, I and t stand for average voltage of the ECF system (V), electrical current intensity (A) and reaction time (h), there was no considerable difference between 750 mA and 900 mA in color removal efficiency. Hence, 750 mA is economically more feasible owing to its low electrical energy consumption.
This study investigated an Electro-Coagulation treatment method for treatment textile Reactive dye wastewater from Textile Mill using Aluminum anode and cathode. The removal efficiency depends on release of electrons from the electrodes. This can be done by increasing the electrical current, where the amount of ions generated can be increased, which leads to higher efficiency. Using various operational variables such as electrocoagulation time, electrical current and pH were investigated. The result showed that 98.5% color removal efficiency was achieved at pH = 10 and applied current of 750 mA. 54% - 65% COD removal efficiency was achieved with 750 mA, 900 mA respectively with amount of electrical energy Consumption = 6 kWh/m3 without adding any chemicals to the real effluent. Finally, according to findings of this study, it can be concluded that electrocoagulation process can obtain the highest favorable color removal which can make a recycle for waste water, but in case of COD removal, the author recommends adding a help method to complete treatment which agrees with restricted environment.