Introduction

The shortage of drinking water is a major problem in the southern communities of Tunisia. In these regions, the traditional sources of fresh water are insufficient to meet the demand and are being stressed by competing uses, such as irrigation and industrial needs (Walha et al. 2007). However, in recent times and with the development of desalination processes, there has been an increasing interest in using brackish waters as a source of potable water. Desalination is a process that removes dissolved minerals from seawater or brackish water or treated waste water. These processes create more valuable water by converting saline waters into a resource (Reig et al. 2014; McGovern et al. 2014a; Tanaka et al. 2015). Several desalination methods have been developed to obtain fresh drinking water. There are mainly two families of desalination technologies used throughout the world today. They include thermal (evaporative) and membrane technologies. Membrane methods are less energy intensive than thermal methods and since energy consumption directly affects the cost effectiveness and feasibility of using desalination technology, membrane methods such as reverse osmosis (RO) and electrodialysis (ED) are attracting great attention lately (Sadrzadeh and Mohammadi 2008; McGovern et al. 2014b). ED is a membrane process for the separation of ions across charged membranes from one solution to another under the influence of an electrical potential difference used as a driving force (Sadrzadeh and Mohammadi 2008).

This process has been widely used to produce drinking water from brackish and sea water (Fidaleo and Moresi 2005; Lee et al. 2006; Jing et al. 2012; Galama et al. 2014; Zourmand et al. 2015; Reig et al. 2016a, b; Monohar et al. 2017). It has been also used in treatment of industrial effluents (Ghyselbrecht et al. 2013), purification of amino acids and other organic compounds (Elisseeva et al. 2002) and to remove heavy metals from waste water (Nemati et al. 2017).

Many factors influence the ED performance such as applied potential (Elmidaoui et al. 2002; Banasiak et al. 2007), salt concentration (Banasiak et al. 2007; Shady et al. 2012), flow rate of dilute compartment and temperature (Sadrzadeh and Mohammadi 2008; Ben Sik Ali et al. 2010a; Shady et al. 2012).

A literature survey revealed that DR was increased with the applied potential but it was decreased at high values of salt concentration (Banasiak et al. 2007; Sadrzadeh and Mohammadi 2008; Shady et al. 2012). Sadrzadeh and Mohammadi (2008) and Ben Sik Ali et al. (2010a) observed that the salt percent removal increases when the flow rates decrease. They suggested that for low flow rates the residence time of ions in the dilute compartment increases. On the other hand, Elmidaoui et al. (2002) demonstrated that DR increased with increasing flow rates. The authors attributed this result to the decrease in the thickness of the boundary layers adjacent to the membrane surfaces with increasing solution velocity.

In most previous studies, the effect of some parameters on ED process is determined by varying one parameter by time, maintaining all the other parameters constant (Elmidaoui et al. 2002; Kabay et al. 2008; Ben Sik Ali et al. 2010a, b). Then the best value achieved by this procedure is fixed and other parameters are varied by time. The disadvantage of this univariate procedure is that the best conditions cannot be attained, because the interaction effects between the parameters are discarded. Moreover, conventional methods are time consuming and require a large number of experiments to determine the optimum conditions. These drawbacks of the conventional methods can be eliminated by studying the effect of all parameters using a factorial design. In fact, this methodology determines which factors have significant effects on a response as well as how the effect of one factor varies according to the level of the other factors (Meski et al. 2011; Balbasi 2013; Azza et al. 2015). Its most important advantages are not only the effects of individual parameters but also the interaction of two or more variables can also be derived (Montgomery 2001). This is not possible in a classical one factor at a time of experiment.

Therefore, the aim of this work is to study the performance of the ED process on brackish water desalination. To be made, a 23 full factorial design was used to investigate the effects of operating parameters (applied potential, flow rate and salt concentration) on the ED efficiency. This efficiency is evaluated by the demineralization rate (DR) and the specific power consumption (SPC). Experiments were carried out with synthetic solutions of NaCl at different concentrations for checking the optimal conditions. Then, real brackish water was treated by ED using the optimal conditions.

Materials and methods

Chemicals reagents

Analytical grade sodium chloride (NaCl) and sodium sulphate Na2SO4 are used to produce solution with known amounts of salts and electrode rinse solution, respectively. KCl is used to calibrate conductivity cell. Ethylene diamine tetraacetic acid (EDTA), sulphuric acid (H2SO4,), barium chloride (BaCl2), hydrochloric acid (HCl) sodium hydroxide (NaOH), sodium fluoride (NaF) and glacial acid acetic (CH3COOH) are used to analyze the real water. Each solution was prepared using distilled water. All chemicals were purchased from Sigma-Aldrich.

Real water sample

Brackish water studied was sampled from the south of Tunisia during February 2013. The physicochemical characteristics of the sample water are given in Table 1. It is a brackish water of low salinity (total dissolved salts (TDS) <3000 mg L−1). The fluoride concentration largely exceeds 1.5 mg L−1, the recommended value by World Health Organization (WHO). Moreover, the recommended values of 400 mg L−1 for sulphate and 250 mg L−1 for chloride are also exceeded. Therefore, this water is not suitable for drinking.

Table 1 Physicochemical characteristics of brackish water sample

Electrodialysis equipment and membranes

The ED setup consists of a power DC, a concentrate reservoir, a dilute reservoir, a rinsing electrode reservoir and three pumps (Heidolph D-93309) equipped each with a flow-meter (PC Cell GmbH) and three valves to control the feed flow rate in the compartment of ED cell. Figure 1 shows a simplified scheme of ED setup working in batch recirculation mode.

Fig. 1
figure 1

Scheme of the ED installation

The ED cell was a PC Cell ED 64-004 (Germany) used as a conventional electrodialysis unit with two compartments: the dilute and the concentrate. ED cell was made by two polypropylene blocks supporting electrodes. One electrode was made of Pt/Ir-coated Ti stretched (anode) and the other of Ti stretched metal (cathode). The membranes and spacers were stacked between the two electrode-end blocks. The ED stack was formed by 10 repeating sections called cell pairs. A cell pair consists of the following:

  • cation exchange membrane (PC-SK);

  • dilute flow spacer (0.5 mm);

  • anion exchange membrane (PC-SA);

  • concentrate flow spacer (0.5 mm).

Spacers were made in plastic and were placed between the membranes to form the flow paths of the dilute and concentrate streams. The spacers were designed to minimize boundary layer effects and were arranged in the stack so that all the dilute and concentrate streams are manifold separately. For each membrane, the active surface area was 64 cm2. The flow channel width between two membranes was 0.5 mm determined by the thickness of intermembrane spacers. The main characteristics of used membranes are given in Table 2, which were supported by the manufacturer. The stack was equipped with three separate external plastic reservoirs: the first served to concentrate solution, the second to dilute solution and the third to rinse electrode solution. The fluid circulation was achieved using three pumps equipped with flow-meters. Experiments were performed in batch recirculation mode at room temperature.

Table 2 Characteristics of the PC cell standard cation and anion exchange membranes

Experimental procedure

During all experiments, the volume of dilute, concentrate and rinsing electrode solutions was 1 L each. 0.1 M Na2SO4 was used as electrode rinse solution circulating in electrode compartment, to prevent the generation of chlorine or hypochlorite, which could be hazardous for the electrodes. Flow rate of electrode rinse solution was fixed at 100 L h−1 for all experiments. However, the dilute flow rate solution was varied between 20 and 90 L h−1 and the concentrate one was fixed at 90 L h−1 for all experiments. Before the onset of the desalination test, NaCl aqueous solution at the same concentration was introduced in dilute and concentrate compartments. The experiment started at time of the potential application, which was varied between 5 and 12 V. For these potentials, the ED system operates under the limiting current. Ionic conductivity was recorded in time. It was measured using a consort D 292 conductivity meter equipped with a D292 conductivity cell. Prior to ED experiment, the conductivity cell was calibrated at 298 K with KCl standard solution at 0.01 and 0.1 M of 1.4 and 12.67 mS cm−1, respectively (cell constant = 0.5 cm−1). Dilute and concentrate solutions were circulated through the ED cell until the desired product conductivity (≈0.5 mS cm−1) was achieved in the dilute one. This value is equivalent to the good quality water. After every experiment, ED cell was cleaned with circulation of 0.1 M HCl solution during 15 min to remove any deposits, followed by circulation of distilled water.

Analytical method

Na+ and K+ were analyzed by atomic emission spectroscopy using a “Sherwood 410” spectrophotometer. Ca2+ and Mg2+ amounts were determined using a conventional colorimetric EDTA titration. HCO3 was determined using a conventional colorimetric sulphuric acid (H2SO4) titration. Nitrate concentration was measured by UV spectrophotometric method. Chloride analysis was measured by potentiometric titration using an automatic titrator (Metrohm 809). Sulphate concentration was determined by gravimetric analysis using BaCl2 in acidified medium. Fluoride concentration was determined using ion selective electrode (ISE 6.0502.150 fluoride ion electrode) in conjunction with a standard reference electrode connected to a Metrohm 781 pH/Ion-meter. To avoid possible interference resulting from changes in solution pH and conductivity, a total ionic strength adjustment buffer (TISAB) solution was used. It contained 58 g of NaCl and 57 mL of glacial acetic acid and their pH was regulated at 5.5 value using NaOH. The fluoride samples and the fluoride standard were diluted by addition of TISAB solution with a molar ratio of 1:1. pH meter (consort D 291) was used for measuring pH solutions.

Data analysis

To investigate the influence of the salt concentration, applied potential and flow rate on the ED efficiency, the DR was calculated after 12 min of ED application using the following equation (Elmidaoui et al. 2001):

$${\text{DR (}}\% ) { = 100}\left[ {1 - \left( {\frac{{S_{t} }}{{S_{0} }}} \right)} \right],$$
(1)

where S t (mg L−1) is the salinity in the dilute compartment and S 0 (mg L−1) is the initial salinity in the feed phase. The salinity was calculated from conductivity (Rodier et al. 2009).

The specific power consumption (SPC) is also an important parameter of electrodialytic desalination. It can be described as the energy needed to treat unit volume of solution. The SPC was calculated for each experimental condition using the following equation (Kabay et al. 2008).

$${\text{SPC}} = \frac{{E\mathop \smallint \nolimits_{0}^{t} I\left( t \right)d{\text{t}}}}{{V_{\text{D}} }},$$
(2)

where E is the applied potential, I is the current, V D is the volume of dilute stream and t is the time.

Statistical method

Factorial design determines the effect of multiple variables on a specific response and it can be used to reduce the number of experiments in which multiple factors must be investigated simultaneously (Montgomery 2001). In experimental design, responses are measured at all combinations of the experimental parameters levels. This statistical design methodology allows measuring not only the main effect of each parameter, but also the interaction effect among all the parameters. The determination of interaction effects of parameters may be important for successful system optimization (Montgomery 2001). Today, the most used experimental design is the 2n factorial designs, where each variable is investigated at two levels.

In this study, a 23 full factorial design was carried out to investigate the performance of the ED process to reduce salt concentration from brackish water. Initial salt concentration (C), dilute feed flow rate (Q) and applied potential (E) were chosen as a relevant parameters for ED optimization. The responses were expressed in terms of percent of demineralization rate (DR) and specific power consumption (SPC). Operating parameters, experimental range and coded levels are given in Table 3.

Table 3 Experimental range and levels of independent variables

A total of 12 experiments were performed according to a two level-three factor (23) full factorial (8 points of the factorial design and 4 center points to establish the experimental errors). The chosen variables for this work were set at two levels and coded as (+1) and (−1) for high and low level, respectively. Since interactions between these factors could be important, a linear polynomial model with first order was postulated by the following equation Eq. (3):

$$Y = \beta 0 + \beta_{1}E + \beta_{2}C + \beta_{3}Q + \beta_{12}E.C + \beta_{13}E.Q + \beta_{23}C.Q + \beta_{123} E.C.Q,$$
(3)

where Y is the response, β 0 is the constant term, β 1, β 2 and β 3, are the linear coefficients which indicate the effect of applied potential (E), salt concentration (C) and flow rate (Q), respectively. Coefficients β 12, β 13, β 23 describe the interacting effects of applied potential-salt concentration, applied potential-flow rate and salt concentration-flow rate. Coefficient β 123 implies the interacting effect of applied potential-salt concentration-flow rate, while the E, C and Q are the independent coded variables (Turan et al. 2011).

The analysis of experimental results was achieved with statistical and graphical analysis software (Minitab Release 16, 2006). This software was used for regression analysis of the data obtained and to estimate the coefficients of regression equations.

Results and discussions

Statistical analysis and modeling

A series of experiments were conducted by considering the 23 full factorial design. Table 4 presents the experimental responses measured at two levels of the studied parameters.

Table 4 Full factorial design matrix for desalination efficiency

As shown by Table 4, the best combination of the factors for the highest demineralization rate occurs at run 6 where a higher applied potential, a lower salt concentration and a higher flow rate are used. This result agrees with that obtained in the previous studies (Kabay et al. 2002; Banasiak et al. 2007; Kabay et al. 2008; Shady et al. 2012).

Concerning the SPC, the values varied between 0.4 and 15.96 Wh L−1. The lowest value of the SPC was obtained during the runs 3 and 5. The increase of salt concentration and applied potential determined an increase of SPC. Similar result was observed by Ben Sik Ali et al. (2010a) and Kabay et al. (2002). Whereas a slight variation of SPC was observed when flow rate varied from low to high value. This result was in accordance with those of Kabay et al. (2002) which have reported that there is no any considerable effect of flow rate on the SPC.

A linear regression model was fitted for the experimental data using the Minitab statistical software. It was used to investigate the main effects of factors, the interactions, the coefficient standard deviations and various statistical parameters of the fitted models. These parameters, for each response (DR and SPC) are shown in Tables 5 and 6.

Table 5 Estimated effects and coefficients for DR (coded units)
Table 6 Estimated effects and coefficients for SPC (coded units)
Table 7 Optimization of factors influencing the ED efficiency by the classical method optimization

The effect is the difference between the responses of two levels (high and low level) of factors; the regression model coefficients are obtained by dividing the effects by two. The standardized effects (T) are obtained by dividing the regression coefficients by the standard error coefficient (Alimi et al. 2014). Substituting the coefficients β, in Eq. (3) by the respective values from Tables 5 and 6, we get:

$${\text{DR}} = 47.06 + 20.92E - 13.05C + 4.17Q - 0.73E.C + 0.5E.Q + 0.67C.Q + 3.51E.C.Q$$
(4)
$${\text{SPC}} = 5.4437 + 4.9062E + 2.2063C - 0.3862Q + 2.1438E - 0.4237EQ - 0.1687C.Q - 0.2812E.C.Q$$
(5)

The p value is the probability value that is used to determine the effects in the model that are statistically significant. The significance of the data is judged by its p value being closer to zero. For a 95% confidence level the p value should be less than or equal to 0.05 for the effect to be statistically significant (Alimi et al. 2014). The Pareto plot presents the absolute values of the effects of main factors and the effects of interaction of factors. A reference line is drawn to indicate that factors which extend past this line are potentially important (Antony 2003). The effects that are above the reference line are statistically significant at 95% confidence level. It can be seen from Figs. 2 and 3 that applied potential had the greatest effect on the DR and SPC.

Fig. 2
figure 2

Pareto chart for standardized effects for DR

Fig. 3
figure 3

Pareto chart for standardized effects for SPC

Based on data presented in Table 5 and graphical Pareto chart in Fig. 2, the effect of interaction of two factors which were statistically insignificant was discarded. The final empirical model for DR in term of coded parameters is given by Eq. (6):

$${\text{DR}} = 47.06 + 20.92E - 13.05C + 4.17Q + 3.51E.C.Q$$
(6)

And based on data presented in Table 6 and graphical Pareto chart in Fig. 3, the final empirical model for SPC in term of coded variables is given by Eq. (7):

$${\text{SPC}} = 5.4437 + 4.9062E + 2.2063C - 0.3862Q + 2.1438E.C - 0.4237E.Q - 0.1687C.Q - 0.2812E.C.Q$$
(7)

The goodness of fit of the model was evaluated by the coefficient of determination (R 2). The determination of very useful R 2 is allowed by calculation of the ratio of the sum of squares of the predicted responses to the sum of squares of the observed responses (Srinivasan and Viraraghavan 2010). It is suggested that R 2 should be close to 1 for a good fit model (Boubakri et al. 2013). The estimated model for both DR and SPC had satisfactory R 2 more than 99%. In the case of DR, fitting is very good (R 2 = 99.75%) and only 0.25% of total variance was not explained by the model. For the SPC (R 2 = 99.99%), which presents a high value and only 0.01% of a total variance was not explained by the model.

Main effects plot

The main effects are shown in Figs. 4 and 5, for DR and SPC, respectively. It indicates the relative strength of effects of various factors. A main effect is present when the mean response changes across the level of a factor. The sign of the main effect indicates the direction of the effect (Srinivasan and Viraraghavan 2010).

Fig. 4
figure 4

Main effects plot for DR

Fig. 5
figure 5

Main effects plot for SPC

As shown in Fig. 4, the potential had a positive effect on desalination efficiency. In fact an increase of applied potential from low to high level resulted in increasing DR by 41.84%.

At higher salt concentration values, it can be observed that the DR has a considerable dependence on the feed solution in the range of 5.5–10 g L−1. Effectively at some hydrodynamic and electrical conditions an increase of the initial salt concentration leads to a decrease of the DR. This result can be explained by the concentration polarization phenomenon which is more important at high concentration (Sadrzadeh and Mohammadi 2008). As demonstrated in previous studies (Kabay et al. 2002; Banasiak et al. 2007; Sadrzadeh and Mohammadi 2008; Ben Sik Ali et al. 2010a), the number of ions transported through the membranes are almost the same but total amounts of salts are quite different from the different treated solution. As known, the calculation of DR depends strongly on the initial feed concentration and the amount of transported ions. So, the DR evolves reciprocally to the initial feed concentration at some hydrodynamic and electrical conditions. Increasing concentration from low to high level resulted in 26% decrease in DR (Fig. 4).

At high flow rate, the increase in the DR with flow rate may be attributed to the decrease in the thickness of the boundary layers adjacent to the membranes surfaces with increasing solution velocity. In the present case, Fig. 4 shows a slight increase (8.33%) in DR when flow rate increases from low to high level likely because the thickness of the boundary layers adjacent to the membranes surfaces does not change significantly when flow rates vary from 20 to 90 L h−1. Similar results were demonstrated by Kabay et al. (2002).

In the case of SPC, applied potential and the initial salt concentration have a positive effect on this response. But the flow rate had a slight negative one. As a general trend, an increase of applied potential and initial salt concentration from low to high level resulted in increasing SPC by 9.81 and 4.41 Wh L−1, respectively.

Interaction effects plot

The interaction plot is a graphical tool which plots the mean response of two factors at all possible combination of their settings. If the lines are non-parallel, it is an indication of interaction between the two factors (Antony 2003). Parallel lines indicate that there is no interaction between two factors. The interaction effect plots are shown in Figs. 6 and 7, for DR and SPC, respectively.

Fig. 6
figure 6

Interaction effects plot for DR

Fig. 7
figure 7

Interaction effects plot for SPC

In the case of DR, there are no significant interactions between all factors. In the case of SPC, Fig. 7 shows positive interaction between applied potential and salt concentration. But a negative interactive effect was observed between applied potential and flow rate as well as between salt concentration and flow rate. An increase of the concentration value from 1 to 10 g L−1 increased the SPC by 11 Wh L−1 (from 4 to 15 Wh L−1) at 12 V. Increasing the flow rate from 20 to 90 L h−1 enhances the decrease of SPC by 2 Wh L−1 (from 12 to 10 Wh L−1) at 12 V. Also, the increase of flow rate from low to high level decreases the SPC value by 1 Wh L−1 (from 8 to 7 Wh L−1) at 10 g L−1.

Normal probability plot of residuals

One of the key of assumptions for the statistical analysis of data from experiments is that the data that come from a normal distribution (Antony 2003). The normality of the data can be checked by plotting a normal probability plot of the residuals. If the points on the plot fall fairly close to a straight line, the data are normally distributed (Antony 2003). The normal probability plot of the residuals with a 95% confidence level for DR and SPC are shown in Figs. 8 and 9. It can be seen that for DR and SPC, the experimental points fall fairly close to the straight line. Therefore, the data from the experiments come from a normally distributed population, and they were reliable.

Fig. 8
figure 8

Normal probability plot of the residuals for DR

Fig. 9
figure 9

Normal probability plot of the residuals for SPC

Treatment of the real water sample

Finally, the application of electrodialysis was performed on the real brackish water (Table 1) using the optimal parameters. The flow rate and applied potential were fixed at 90 L h−1 and 12 V, respectively. The physicochemical characteristics of treated water are given in Table 8. Then, the results were compared with those obtained using classical method of optimization (E = 18 V, Q = 40 L h−1) (Table 7).

Table 8 Physicochemical characteristics of treated water

As shown in Fig. 10 which describes the polarization curve for the real water sample, for the applied potential of 12 V at 90 L h−1 or 18 V at 40 L h−1, the value of limit current density was not reached. pH variation due to the reaction of water dissociation into H3O+ and OH is then avoided and this limits the probability of fouling and/or scaling formation.

Fig. 10
figure 10

Polarization curves, I = f (E)

Desalination of brackish water was achieved and the concentrations of different species in the obtained treated water are below the amount recommended by WHO. An 85.5% of DR was obtained after 24 min of ED application with 14.76 Wh L−1 of SPC for E = 18 V and Q = 40 L h−1. Whereas, DR tends to 84% obtained after 27 min of ED application with 6.72 Wh L−1 of SPC for E = 12 V and Q = 90 L h−1. So, we can clearly observe the advantage of full factorial design which manifests in decreasing SPC.

Conclusions

The results from the presented study showed that the desalination of brackish water using electrodialysis process is depending on several parameters. A series of full factorial design experiments varying initial salt concentration, applied potential and feed flow rate were performed to optimize the demineralization rate and the specific power consumption.

The applied potential and the salt concentration have a significant effect on the process efficiency and mainly on demineralization rate. It was also found that the decrease of salt concentration induces better performance. On the other hand, the specific power consumption was mostly influenced by initial salt concentration and applied potential. The significant interactions found are between applied potential and salt concentration for the SPC. The factorial experiment design method is undoubtedly a good technique for studying the influence of major process parameters on response factors by significant reducing the number of experiment and henceforth, saving time, energy and money. During this study we were able to obtain high values of demineralization rate going to 82.24%.

Electrodialysis process was applied for the treatment of real brackish water sample. The concentrations of different species in the obtained treated water are below the amounts recommended by World Health organization for drinking water.