Introduction

Due to increased water demand, water shortage is going to get worse in the forthcoming years. Water scarcity is already a fact of life in arid and semi-arid regions where agricultural, domestic and industrial water demands compete for this limited resource. Continuous population growth, rising living standards, rapid industrialization and urbanization have limited the freshwater sources available for agricultural practices (Katz and Dosoretz 2008). Conventionally biologically treated sewage water may not meet the requirements for the discharge and permissible limit of wastewater for its reuse. These processes are, therefore, being ruled out due to requirement of large space, long residence time and skilled technicians. However, even after treatment, secondary treated sewage (STS) effluent contains organic matter and nutrients which cause eutrophication and increase the oxygen demand of the surface water (Sharma 2013).

Sewage treatment deserves ample documentation due to the environmental impact caused by such wastewater if directly discharged into water bodies. In addition, due to an increase in the scarcity of clean water (Aiyuk et al. 2006) there is an urgent need for proper management of available water resources. Some of the goals of environmental protection and resource conservation concepts are the use of treated wastewater, residues emanating therefrom and other treatment by-products (Lettinga et al. 2001; Yi 2001).Conventional treatment methods often induce chemical reactions with the use of coagulants, flocculants and other additives that aid in the removal or sedimentation of inorganic and organic contaminants present in wastewater. It has been reported in the literature that nitrates can be removed from wastewater through their adsorption onto the surfaces of hydroxide precipitates, which are generated from metals and released by the electrodes (Hua et al. 2003; Huanga et al. 2009).

In the electrolytic process of the treatment of biologically treated municipal wastewater (BTMW), Al electrodes are dissolved during electrocoagulation (EC) to produce hydroxides and poly hydroxides of aluminum as coagulants which combine and subvert the organic and inorganic impurities in BTMW.

The electrochemical dissolution has been reported to have stronger affinity to capture the pollutants in the wastewater, causing more coagulation than that from conventional Al coagulants. Additionally, the gas bubbles that evolve due to the water electrolysis can cause flotation of the pollutants and the coagulated materials. Therefore, electro-flotation may also play an important part in an electrolytic cell. Although the Al(OH)3 produced by the anodic Al dissolution is more effective in coagulating the pollutants in wastewater, the passivation of Al anodes and impermeable film formed on cathodes may and does interfere with the performance of electro-coagulation and electro-flotation (Holt et al. 2005). The present study has been focused to find out the treatability of BTMW in terms of NO3 and SO4 2− removal by EC under various operating conditions using Al electrodes and also to assess the economics of electrode and energy consumption during the EC.

Materials and methods

Collection of BTMW samples

The samples of BTMW were collected from the outlet of activated sludge process (ASP) of the sewage treatment plant (STP), Jagjeetpur, Haridwar (Uttarakhand), India, and brought to the laboratory and then used for EC using Al–Al electrode combination. The pH of BTMW was adjusted before the electrochemical process and was maintained by adding the required amount of H2SO4 (1 M) or NaOH (1 M).The characteristics of BTMW are given in Table 1.

Table 1 Characteristics of BTMW

Electrolytic experimental set up

A rectangular Reactor with external dimensions of height = 30 cm, width = 7 cm, length = 11 cm and wall thickness = 10 mm was constructed with glass. The experimental set up consisted of a glass chamber as a Reactor with a capacity of 2.0 L sample. Each time, the BTMW sample of 2.0 L was collected and placed in an electrolytic cell (Chopra and Sharma 2012). Al–Al electrode combination was connected to their respective anode and cathode leading to the D.C Power supply (LMC electronics, India 0–500 V and 0–2 A) and energized for a required duration of time at different voltages and currents. All the experiments were performed at room temperature (30 ± 2 °C) and at a constant stirring speed (100 rpm) to maintain the uniform mixing of BTMW sample during the EC. Before conducting the experiment, the electrodes were washed with water, dipped into diluted HCl (5 % v/v) for 5 min, thoroughly washed with water and then finally rinsed twice with distilled water. Electrodes were dipped into BTMW samples with different electrode areas (80, 120 and 160 cm2) and different inter electrode distances (0.5, 1.0, 1.5, 2.0 and 2.5). The different voltages (5–40 V) were applied for different operating times (10–80 min). After applying the particular voltage for a particular time period, i.e., after each batch experiment, the treated samples were allowed to settle for different times (30, 60 and 90 min).

Analytical methods

NO3 and SO4 2−of BTMW were analyzed before and after EC following the Standard methods (APHA 2005). The calculation of NO3 and SO4 2− removal efficiency after EC was carried out using the following formula:

$$ \begin{aligned} \hfill \\ {\text{CR }}\% \, = \frac{{C_{\text{o}} \, - \, C}}{{C_{\text{o}} }} \, \times \, 100{ ,} \hfill \\ \hfill \\ \end{aligned} $$
(1)

where C 0 and C are concentrations of wastewater before and after electrolysis.

Calculation of operating cost

The cost of energy and electrode material was taken into account for the calculation of the operating cost (US $/m3) of EC using the following formula described by Ghosh et al. (2008):

$$ {\text{Operating\, cost}} = a\mathop C\nolimits_{\text{energy}} + b\mathop C\nolimits_{\text{electrode}}, $$
(2)

where C energy (kWh/m3) and C electrode (kg Al/m3) are the consumption quantities for the NO3 and SO4 2− removal. “a” electrical energy price 0.01 US$/kWh, “b” electrode material price 3.5 US$/kg for Al electrode cost due to electrical energy (kWh/m3) was calculated as:

$$ \mathop C\nolimits_{\text{energy}} = \frac{{U \times I \times \mathop t\nolimits_{\text{EC}} }}{v} $$
(3)

Cost for electrode (kg Al/m3) was calculated using the following equation:

$$ \mathop C\nolimits_{\text{electrode}} = \frac{{I \times t \times \mathop M\nolimits_{\text{w}} }}{z \times F \times v}, $$
(4)

where U is cell voltage (V), I is current (A), t EC is time of electrolysis (s) and v the volume (m3) of BTMW water, M W the molecular mass of aluminum (26.98 g/mol), z the no of electrons transferred (z = 3 for Al) and F is Faraday’s constant (96,487 C/mol).

Results and discussion

The results on NO3 and SO4 2− removal efficiency of BTMW by EC at different operating conditions like voltage/current density, EC time, inter electrode distance, electrode area, pH and settling time are shown in Figs. 1, 2, 3, 4, 5 and 6.

Fig. 1
figure 1

% removal (with standard error) of NO3 and SO4 2− using Al–Al electrode combination with different current densities at constant operating conditions (EC time: 30 min, inter electrode distance: 1.0 cm, electrode area: 80 cm2, pH: 7.5, settling time: 30 min)

Fig. 2
figure 2

% Removal (with standard error) of NO3 and SO4 2− using Al–Al electrode combination with different EC at constant operating conditions (current density: 1.68 A/m2, inter electrode distance: 1.0 cm, electrode area: 80 cm2, pH: 7.5, settling time: 30 min)

Fig. 3
figure 3

% Removal (with standard error) of NO3 and SO4 2− using Al–Al electrode combination with different inter electrode distance at constant operating conditions (current density: 1.68 A/m2, EC time: 40 min, electrode area: 80 cm2, pH: 7.5, settling time: 30 min)

Fig. 4
figure 4

% Removal (with standard error) of NO3 and SO4 2− using Al–Al electrode combination with different electrode area at constant operating conditions (current density: 1.68 A/m2, EC time: 40 min, inter electrode distance: 0.5 cm, pH: 7.5, settling time: 30 min)

Fig. 5
figure 5

% Removal (with standard error) of NO3 and SO4 2− using Al–Al electrode combination with different pH at constant operating conditions (current density: 2.65 A/m2, EC time: 40 min, inter electrode distance: 0.5 cm, electrode area: 160 cm2, settling time: 30 min)

Fig. 6
figure 6

% Removal (with standard error) of NO3 and SO4 2− using Al–Al electrode combination with different settling times at constant operating conditions (current density: 2.65 A/m2, EC time: 40 min, inter electrode distance: 0.5 cm, electrode area: 160 cm2, pH: 7.5)

Effect of current density

Current density was found to be one of the most important parameter of electrolytic process that could drastically affect the removal efficiency of nitrate and sulphate from BTMW. It not only determines the coagulant dose but also the bubble size generation and floc formation which can influence the treatment efficiency of electrolytic technology. As the rate of bubble-generation increases, the bubble size decreases with increase in current density and both of these trends are beneficial in terms of high pollutant removal efficiency by H2 flotation (Can et al. 2003; Kobya et al. 2006; Tezcan Un et al. 2009; Song et al. 2008).With high current, the coagulant dosage rate increased resulting in a greater amount of precipitate in the stable stage. Likewise, the bubble density increases resulting in a greater upward momentum flux and thus there is faster removal of pollutant and coagulant by flotation (Holt et al. 2001). The higher production rate of hydrogen allowed by higher current favored the flotation of the flocculated matter (Khemis et al. 2006).

We observed that the removal percentage of NO3 and SO4 2−increased progressively with an increase in the current density from 0.16 to 1.68 A/m2 corresponding to its constant voltages (5–40 V), and it was indicated that the maximum removal of NO3 (46.7 %) and SO4 2− (59.9 %) of BTMW effluent was with the operating conditions of EC time: 30 min, inter electrode distance: 1.0 cm, electrode area: 80 cm2, pH: 7.5 and settling time: 30 min (Fig. 1). This was due to the fact that as the current increased, more Al(OH)3 was produced, which contributed to greater removal of NO3 and SO4 2− from BTMW by precipitation and flotation. Thus, the higher values of current electrolysed the higher mass of Al during EC, thereby indicating that applied current density to the EC was directly related to the electrocoagulation. (This was in accordance with Faraday’s Law of Electrolysis). It was observed that applied voltage varying from 10 to 25 V, the maximum percent removal of NO3 from drinking water was 84 % at 25 V (Kumar and Sudha 2010). The increase in NO3 removal efficiency has been reported with an increase of the electrical potential from 10 to 40 V for aqueous solution (Malakootian et al. 2011). The cell voltage increases gradually with the increase in current densities as can be expected from the rate of metal oxidation resulting in a greater amount of precipitate being formed during the electrolytic treatment that increases the removal of pollutants from wastewater. There was a slight increase in the temperature with the increase in current densities because of poor conductivity of the solution as also reported by us (Chopra and Sharma 2015) and others (Asaithambi and Matheswaran 2011).

Effect of EC time

It has been observed that as the EC time increases, the concentration of metal ions and their hydroxide flocs increase (Daneshvar et al. 2006; Zaroual et al. 2006; Daneshvar et al. 2007). More bubbles are generated at higher currents that improve the degree of mixing of Al(OH)3 and phenol which enhance floatation ability of the cell with a consequent increase in the phenol removal efficiency (Golder et al. 2007).

The EC time influenced the treatment efficiency of EC. With an increase in EC time, the anodic electrode dissolution led to release of metal ions and the cathode released OH, which formed their hydroxides into BTMW. The removal of NO3 and SO4 2− increased progressively with an increase in the EC time from 5 to 40 min with the operating conditions of current density: 1.68 A/m2, inter electrode distance: 1.0 cm, electrode area: 80 cm2, pH: 7.5 and settling time: 30 min. The maximum removal of NO3 (53.95 %) and SO4 2− (69.15 %) was observed at optimum EC time of 40 min, beyond which there was no significant removal in NO3 and SO4 2− (Fig. 2).

Effect of inter electrode distance

It has been reported that increasing the distance between electrodes increases electric resistance against the current flowing between anode and cathode (Andrzejm 1980; Dima et al. 2003 ). As the electrode gap becomes less, there is a low mixing of the fluid between electrodes and that remains not sufficient to increase in concentration-polarization layer on electrode surface. With the result, these effects can increase electric potential or resistance of electrodes, thereby diminishing the NO3 removal efficiency subsequently (Tsai et al. 1997; Lee et al. 2006).

During the present study, inter electrode distance was an effective factor in the EC of BTMW. The percentage removal of NO3 and SO4 2− increased progressively with decrease in inter electrode distance from 2.5 to 0.5 cm, whereby it exhibited the maximum removal of NO3 (53.50 %) and SO4 2− (70.29 %) with a distance of 0.5 cm between the electrodes, each having an electrode area of 80 cm2 with the operating conditions of current density: 1.68 A/m2, EC time: 40 min, electrode area: 80 cm2, pH: 7.5 and settling time: 30 min. After that the removal efficiency of NO3 and SO4 2− was almost constant as the inter electrode distance increased from 0.5 to 1.5 cm (Fig. 3). Similar observations have also been reported by Li et al. (2008) for the removal of COD which decreases with the decrease in distance between electrodes of the same composition. This is because that the shorter distance speeds up the anion discharge on the anode and improves the oxidation. It also reduces resistance, electricity consumption and the cost of the wastewater treatment. Ghosh et al. (2008) have observed that with the increase of inter electrode distance, the percentage removal of dye products from wastewater decreased. At a lower inter electrode distance, the resistance encountered by the current flowing in the solution medium decreased, thereby, facilitated the electrolytic process resulting in enhanced dye removal. Nandi and Patel (2013) also observed that with weak inter electrode distance of 1 cm, there was maximum dye removal of 99.59, 89.98 and 76.14 % for three different current densities of 41.4, 27.8 and 13.9 A/m2, respectively.

Effect of electrode area

An increase in the electrode area causes corresponding increase of coagulants. The entire effectiveness of the coagulation process depended on the appropriate amount of coagulant (Daneshava et al. 2005). Logistical relationship between electrode geometric area (AG) and copper removal efficiency indicated that an increase in copper removal was related to an increase in AG, reaching to an optimal value of 35 cm2 with an asymptotic value of ≈80 % (Escobara et al. 2006). The removal efficiency of TD, BOD and COD has been attributed to a greater EA that produced larger amount of anions and cations from the anode and cathode. The greater the EA, the greater the rate of flock formation, which in turn influenced the removal efficiency of ET (Chopra and Sharma 2013). Similarly, in the present study it was observed that with an increase in electrode area from 80 to 160 cm2, the current density increased from 1.68 to 2.65 A/m2 with a corresponding constant voltage of 40 V which resulted in an increase in the removal % of NO3 and SO4 2−. The maximum removal of NO3 (61.14 %) and SO4 2− (77.94 %) was achieved with maximum electrode area of 160 cm2 with the following operating conditions of current density: 1.68 A/m2, EC time: 40 min, inter electrode distance: 0.5 cm, initial pH: 7.5 and settling time: 30 min (Fig. 4).

Effect of pH

pH is an important operating factor influencing the electro-coagulation process (Lin and Chen 1997; Chen et al. 2000; Gurses et al. 2002; Kobya et al. 2003). It is the removal efficiency of colloidal particles in the pH range of 4–7 that leads to the formation of amorphous hydroxide precipitates and other aluminum hydroxo complexes with hydroxide ions and polymeric species (Bayramoglu et al. 2004). It has been shown that pH is an important factor in EC and its variation is usually caused by the solubility of metal hydroxides. The pH of the effluent increases for acidic influent after electro-coagulation and decreases for alkaline influent. The hydroxy radicals which may be produced as a result of dissociation of water under certain electrochemical reactions are known to be one of the most reactive aqueous radical species and these radicals have the ability to oxidize almost all of the organic compounds because of their high affinity value of 136 kcal (Chen and Hung 2007). In fact, hydroxyl radical is an extremely potent oxidizing agent with a short half-life, and is able to oxidize organic compound by hydrogen abstraction reaction, by redox reaction and/or by electrophilic addition to pi systems resulting in a cascade of free radical reactions leading to oxidative degradation of pollutants (Oturan 2000). However, electrolysis using Al electrodes leads to the formation of ionic complexes, and formation of hydroxyl radical, to the best of our knowledge, has not been demonstrated. The Al3 + ions on hydrolysis generated the aqueous complex Al (H2O) 3+6 , which was predominant at pH < 4. Between pH 5 and 6; the predominant hydrolysis products were Al(OH) +2 and Al(OH) +2 between pH 5.2 and 8.8, the solid Al(OH)3 was more prevalent and above pH 9, the soluble species Al(OH)4 were the predominant and were the only species present above the pH 10 (Gomes et al. 2007).

The removal of NO3 and SO4 2− from BTMW effluent with its different initial concentrations of pH 5–8.5, operating conditions of current density: 2.65 A/m2, EC time: 40 min, inter electrode distance: 0.5 cm, electrode area: 160 cm2 and settling time: 30 min indicated that the removal of NO3 increased from 57.66 to 63.14 % with an increase in the pH from 5 to 7.0, while the removal of SO4 2− increased from 71.78 to 78.49 % with an increase in pH from 5 to 7.5. However, the increase in pH of BTMW to more than 7.0 decreased the  % removal of NO3 , whereas the removal  % of SO4 2− decreased with the increase in pH more than 7.5 (Fig. 5).

Effect of settling time

The effect of settling time on removal efficiency after EC has not been given due consideration so far. There appears to be little work with regard to the settling time on the BTMW treatment during electrolysis. During the present study, it was interesting to note that the removal efficiency with the constant operating conditions of current density: 2.65 A/m2, EC time: 40 min, electrode area: 160 cm2 and pH: 7.5 improved with an increase of settling time from 30 to 90 min of BTMW. The maximum removal of NO3 (63.21 %) and SO4 2− (79.98 %) was found to be at the settling time of 60 min. Beyond which there was almost no more significant removal (Fig. 6). However, our earlier study has also reported the maximum removal of COD (92.35 %) at the settling time of 60 min and that of BOD (84.88 %) at the settling time of 30 min (Sharma and Chopra 2013). It was also interesting to note that the EC of BTMW brought down the concentration of NO3 from 123.45 to 36.47 mg/l to the desirable limit (45 mg/l) of BIS (1991) standard of drinking water. Though the concentration of SO4 2− of BTMW was already within permissible limit of BIS, EC further brought down the removal of SO4 2− from 142.34 to 28.92 mg/l.

Economic evaluation

Electrical energy and electrode consumption are the important parameters in the economic evaluation of EC process. In EC process, the operating cost mainly included the cost of electrodes and electrical energy as well as labor, maintenance, sludge dewatering and their disposal. The removal of NO3 and SO4 2− during EC, energy consumption increased from 64.32 to 101.76 kWh/m3 with an increase in electrode area (80–160 cm2) and current density (1.68–2.65 A/m2) that resulted in increase of the electrode consumption from 14.985 × 10−5 to 23.71 × 10−5 kg/m3. The cost was found to be 1.01 $ on the basis of energy and electrode consumption with the optimum operating conditions (Table 2).

Table 2 Operating cost using Al–Al electrode combination at different electrode area and current density (EC time: 40 min, inter electrode distance: 0.5 cm, pH: 7.5 and settling time: 60 min.)

Conclusion

The removal of NO3 and SO4 2− from BTMW using Al electrodes was found to depend on voltage/current density, EC time, inter electrode distance, electrode area and initial pH during the EC. The maximum removal of NO3 (63.21 %) and SO4 2− (79.98 %) was with the optimal operating conditions of current density: 2.65 A/m2, EC time: 40 min, electrode area: 160 cm2 and pH: 7.5. The higher values of current electrolysed the higher mass of Al during EC, thereby indicating that applied current density to the EC was directly related to the electrolysis. The EC removed the concentration of NO3 from the BTMW below to the desirable limit of the BIS/WHO standards of drinking water. The operating cost was 1.01 US $/m3 in terms of energy and electrode consumption. There was no need of pH adjustment of the BTMW during EC as the optimal removal of NO3 and SO4 2− was close to the neutral pH of 7.0