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.
 Ballaa, W., Essadki, A.H., Gourich, B., Dassaa, A. and Chenik, H. (2010) Electrocoagulation/Electroflotation of Reactive, Disperse and Mixture Dyes in an External-Loop Airlift Reactor. Journal of Hazardous Materials, 184, 710-716.
 El-Ashtoukhy, E.S.Z. and Amin, N.K. (2010) Removal of Acid Green Dye 5 from Wastewater by Anodic Oxidation and Electrocoagulation—A Comparative Study. Journal of Hazardous Materials, 79, 113-119.
 Mahajan, R., Khandegar, V. and Saroha, A.K. (2013) Treatment of Hospital Operation Theatre Effluent by Electrocoagulation. International Journal of Computer and Electrical Engineering, 4, 104-107.
 Naraghi, B., Baneshi, M.M., Amiri, R., Dorost, A. and Biglari, H. (2018) Removal of Reactive Black 5 Dye from Aqueous Solutions by Coupled Electrocoagulation and Bio-Adsorbent Process. Electronic Physician, 10, 7086-7094.
 Mahammedrafi, P. (2018) An Experimental Study of Electrocoagulation Process Applied for Influence of Fluoride Ions on Hardness Removal. International Journal of Engineering Research and Application, 8, 33-38.
 Majumder, S. and Rida, U. (2017) Removal of COD from Textile Mill Wastewater by Electro-Coagulation Process Using SS/Al as Composite Hydrogel Electrode. International Journal of Innovative Research in Science, Engineering and Technology, 6, 17242-17250.
 Osman, A.T., Elamin, M.R. and Almalki, M.H. (2017) Treatment of Tannery Wastewater with Nano-Electrocoagulation Process. Journal of Environmental & Analytical Toxicology, 7, 508.
 Zazouli1, M.A., Ahmadi, M. and Charati, J.Y. (2017) Pretreatment of Paper Recycling Plant Wastewater by Electrocoagulation Using Aluminum and Iron Electrodes. Journal of Materials and Environmental Sciences, 8, 2140-2146.
 Bejjany, B., Lekhlif, B., Eddaqaq, F., Dani, A., Mellouk, H. and Digua, K. (2017) Treatment of the Surface Water by Electrocoagulation-Electroflotation Process in Internal Loop Airlift Reactor: Conductivity Effect on Turbidity Removal and Energy Consumption. Journal of Materials and Environmental Sciences, 8, 2757-2768.
 Prieto-García1, F., Callejas-Hernández, J., Prieto-Méndez, J. and Marmolejo-Santillán, Y. (2017) Electrocoagulation of Whey Acids: Anode and Cathode Materials, Electroactive Area and Polarization Curves. Journal of Electrochemical Science and Engineering, 7, 89-101. https://doi.org/10.5599/jese.381
 Sajjadi, S.A., Pakfetrat, A. and Irani, M. (2017) Removal of Remazol Black B Dye by Electrocoagulation Process Coupled with Bentonite as an Aid Coagulant and Natural Adsorbent. Iranian Journal of Health, Safety & Environment, 5, 1058-1065.
 Eyvaz, M., Kirlaroglu, M., Selami Aktas, T. and Yuksel, E. (2009) The Effects of Alternating Current Electrocoagulation on Dye Removal from Aqueous Solutions. Chemical Engineering Journal, 153, 16-22. https://doi.org/10.1016/j.cej.2009.05.028
 Mollah, M.Y.A., Morkovsky, P., Gomes, J.A.G., Kesmez, M., Parga, J. and Cocke, D.L. (2004) Fundamentals, Present and Future Perspectives of Electrocoagulation. Journal of Hazardous Materials, 114, 199-210.
 Kobya, M., Can, O.T., Bayramoglu, M. and Sozbir, M. (2004) Operating Cost Analysis of Electrocoagulation of Textile Dye Wastewater. Separation and Purification Technology, 37, 117-125.
 Mollah, M.Y.A., et al. (2004) Treatment of Orange II Azo-Dye by Electrocoagulation (EC) Technique in a Continuous Flow Cell Using Sacrificial Iron Electrodes. Journal of Hazardous Materials, 109, 165-171.
 Santhosh, P., RevathI, D. and Saravanan, K. (2015) Treatment of Sullage Wastewater by Electrocoagulation Using Stainless Steel Electrodes. International Journal of Chemical Sciences, 13, 1173-1186.
 APHA (2005) Standard Methods for the Examination of Water and Wastewater. 21st Edition, American Public Health Association/American Water Works Association/Water Environment Federation, Washington DC.
 Ghanbari, F., Moradi, M., Eslami, A. and Emamjomeh, M.M. (2014) Electrocoagulation/Flotation of Textile Wastewater with Simultaneous Application of Aluminum and Iron as Anode. Environmental Processes, 1, 447-457.
 Kobya, M., Ulu, F., Gebologlu, U., Demirbas, E. and Oncel, M.S. (2011) Treatment of Potable Water Containing Low Concentration of Arsenic with Electrocoagulation: Different Connection Modes and Fe-Al Electrodes. Separation and Purification Technology, 77, 283-293.
 Chen, X., Chen, G. and Yue, P.L. (2000) Electrocoagulation and Electroflotation of Restaurant Wastewater. Journal of Environmental Engineering, 126, 858-863.
 Chen, G., Chen, X. and Yue, P.L. (2000) Electrocoagulation and Electroflotation of Restaurant Wastewater. Journal of Environmental Engineering, 126, 858-863.
 Adhoum, N. and Monser, L. (2004) Decolourization and Removal of Phenolic Compounds from Olive Mill Wastewater by Electrocoaqulation. Chemical Engineering and Processing: Process Intensification, 43, 1281-1287.
 Zhu, J., Zhao, H. and Ni, J. (2007) Fluoride Distribution in Electrocoagulation Defluoridation Process. Separation and Purification Technology, 56, 184-191.
 Modirshahla, N., Behnajady, M.A. and Mohammadi-Aghdam, S. (2008) Investigation of the Effect of Different Electrodes and Their Connections on the Removal Efficiency of 4-Nitrophenol from Aqueous Solution by Electrocoagulation. Journal of Hazardous Materials, 154, 778-786.
 Kumar, P.R., Chaudhari, S., Khilar, K.C. and Mahajan, S.P. (2004) Removal of Arsenic from Water by Electrocoagulation. Chemosphere, 55, 1245-1252.
 Holt, P.K., Barton, G.W. and Mitchell, C.A. (2005) The Future for Electrocoagulation as a Localised Water Treatment Technology. Chemosphere, 59, 355-367.
 Daous, M. and El-Shazly, A. (2012) Enhancing the Performance of a Batch Electrocoagulation Reactor for Chromium Reduction Using Gas Sparging. International Journal of Electrochemical Science, 7, 3513-3526.
 Khaled, B., Wided, B., Bechir, H., Elimame, E., Mouna, L. and Zied, T. (2015) Investigation of Electrocoagulation Reactor Design Parameters Effect on the Removal of Cadmium from Synthetic and Phosphate Industrial Wastewater. Arabian Journal of Chemistry, in press.
 Elmorsi, T.M., Riyad, Y.M., Mohamed, Z.H. and Abd El Bary, H.M. (2010) Decolorization of Mordant Red 73 Azo Dye in Water Using H2O2/UV and Photo-Fenton Treatment. Journal of Hazardous Materials, 174, 352-358.
 Emamjomeh, M.M. and Sivakumar, M. (2009) Review of Pollutants Removed by Lectrocoagulation and Electrocoagulation/Flotation Processes. Journal of Environmental Management, 90, 1663-1679.
 Eslami, A., Moradi, M., Ghanbari, F. and Mehdipour, F. (2013) Decolorization and COD Removal from Real Textile Wastewater by Chemical and Electrochemical Fenton Processes: A Comparative Study. Journal of Environmental Health Science and Engineering, 11, 31.