1 Introduction

In recent times, the worldwide consumption of useable water had increased due to the surge in human population [1]. As a result of this, developing and third world countries who have inadequate financial resources have their special attention on the pollution of water as an environmental issue which causes shortage of water supply [2]. Meanwhile, large volume of wastewater contains contaminant comprising of pathogens, heavy metals, nutrients and suspended solids which are harmful and dangerous for human and the environment. [3, 4]. If they are kept untreated, safely disposed back to the sea or reused of the wastewater will be prevented [5]. Drinking water supplies have been identified to have thousands of chemicals which are potentially hazardous to human health at relatively high concentrations as maintained by World Health Organization 2004 [6].

Safe and pure water is extremely important for human health and welfare, and water must undergo for purification and treatment to reach the world standard of drinking water before consumption. Different water purification and treatment methods are used to make water safe and healthy to the consumer. The treatment method used depends on the character of the raw water. A major problem with treatment of surface water is due to large seasonal variation in turbidity [7]. Water treatment method in many developed countries is based on arbitrary guidelines, they particularly relate to the dosage of chemicals which is not a good approach. In the treatment of these large volumes of water for drinking purposes, the following processes are always employed in sequential order and these include flocculation, sedimentation, filtration and disinfection [1]. Moreover, previous study proposed different natural coagulants for the treatment of water for safe drinking viz ferric sulphate, aluminium sulphate and ferric chloride which called synthetic coagulant [8]. On the other hand, there is a natural coagulant which is usually recommended in place of synthetic coagulants, because the synthetic coagulant have side effect to environment due to chemical involved in this coagulant. Recently, there is an increase in the research of plant to be used as natural coagulant for various traditional water purification systems. However, there are also several other plants which can act as natural coagulant in water treatment such as peanut seeds, watermelon seeds, Vigna unguiculata, Parkinsonia aculeata, Cicer arietinum and Dolichos lablab, Cassia alata and Opuntia ficus-indica. [9].

The M. oleifera is an important commodity plant which has been traditionally used for the treatment of water in tropical area of the world [10]. Therefore, M. oleifera seeds provide a lot of advantages compared to conventional coagulants towards the water treatment. The advantages of M. oleifera are cost-effective, eco-friendly, no pH alteration required, no necessity for alkalinity addition and reduction in sludge volumes [11]. Although many researchers studied the use of M. oleifera as bio-coagulants, none had employed the use of its residue for the treatment of water [12,13,14]. This study therefore investigated the use of M. oleifera seed residue as bio-coagulant for water treatment. The effects of treatment factors such as dosage, high speed time, high speed, low speed and low speed time on the residual turbidity were carefully examined.

2 Material and method

2.1 Sample collection and preparation of Moringa seed power

The M. oleifera seed was purchased from Mitomasa Sdn. Bhd., Kuala Lumpur. The seeds were de-husked and the kernel was then dried at room temperature for 1 day and pulverized to a fine powder using a GrindoMix domestic grinder. The fine powder was then sieved through a 2 mm-mesh. It is important to note that the seed powder has a strong affinity to attract moisture during or after grinding; this makes it a necessity to dry the power at 40 °C for 10 min to reduce moisture content. The seeds powder was thereafter left to cool and packed into clean sealed polythene bags after drying. The bag was kept in a chiller at 4 °C to maintain freshness and dryness for further use. Moreover, the water sample was collected from Belat River, Kuantan, Malaysia, and different dosage of M. oleifera seeds powder was used to test the water quality status.

2.2 Design of experiment

In this study, the effect of variables such as dosage, high speed time, high speed, low speed and low speed time on the residual turbidity were evaluated using the response surface methodology (RSM). Design–Expert 7.0 software® (Version 7.1.6, Stat-Ease Inc., Minneapolis, USA) was used for the experimental design and analysis of the results. The high speed and the high speed time were fixed at 100 rpm and 6 min, respectively [2]. However, according to the results obtained from the preliminary studies conducted, three independent factors, viz low speed (40–80 rmp), low speed time (20– 60 min) and dosage (0.25–1.25 mg/L), were optimized using the response surface methodology (RSM) for optimal water turbidity (Table 1).

Table 1 Coded and actual design range

2.3 Jar test procedure

The clear water sample (500 mL) was divided into six different beakers and then placed into the Jar Test apparatus. A known quantity of the seed powder was mixed with each water sample in the Jar Test apparatus and operated at a constant high speed time of 100 rpm and 6 min. Other parameters such as the low speed, dosage and low speed time were applied in accordance with the experimental design matrix. The paddles and the water was left to settle down for 1 h and the clear water was collected into conical flask and stored at 4 °C for further analysis [15].

3 Results and discussion

3.1 Preliminary investigation of best particle sizes and coagulant quantity (turbidity test)

This research was conducted to determine the best particle sizes and M. oleifera seeds powder (MOSP) dosage for the water treatment. This was achieved by varying the amount of MOSP (0.00–10.0 g) at different particle sizes (2 mm, 1 mm, 500 μm and 250 μm). The highest turbidity removal was obtained at an average particle size of 2 mm. However, at particle sizes below 2 mm, agglomeration tends to occur due to the sticking together of the particles. This explains why at particle sizes 1 mm, 500 μm and 250 μm, the turbidity removal was lower when compared with 2 mm as presented in Fig. 1.

Fig. 1
figure 1

Turbidity removal of water treated with MOSP

Singh [16] corroborated the occurrence of agglomeration where sintering or coalescence takes place instead of settling as in the case of coagulation. However, finely divided M. oleifera powder presented a larger surface area for coagulation site but care must be taken to select the best particle size without resulting to agglomeration of the particles [17]. The result obtained therefore indicated that the coagulant concentration exceeded the optimum dosage with an increased turbidity due to the neutralization and precipitation of all the colloidal suspension at optimum dosage [18]. On the other hand, using an excess mass of MOSP coagulant beyond 0.05 g reduces the interaction between the treated water and the oppositely charged colloidal particles.

3.2 Optimization study of operating parameters in water treatment

Table 2 presents the experimental design and results for the optimization of water turbidity under the effects of three parameters, namely, low speed (A), low speed time (B) and dosage (C). The results obtained from experimental design placed the optimum condition at low speed, low speed time and dosage as 40 rpm, 60 min and 0.75 mg/L, respectively. Under this condition, the predicted (theoretical) residual turbidity was 4.73 NTU.

Table 2 Experimental design and results obtained from optimization

Furthermore, the quadratic and interaction regression coefficients of the models were evaluated using Design–Expert software®. The result of the ANOVA for the optimization of the residual turbidity shows that the quadratic model is significant at 95% confidence level (p < 0.05). Moreover, the low speed time (B) and dosage (C) were both significant, whereas the low speeds (A) were not significant factors in the optimization of residual turbidity. Additionally, AB, AC, BC, A2 and B2 were insignificant interactions, while only C2 has a significant contribution to the response setting. The statistical analysis gives many comparative measures for the model selection and this indicated that the quadratic model has a significant contribution with lower standard deviation (1.93) and higher coefficient of regression (R2 = 0.9847). The lack of fit is not significant in relation to the pure error. It is pertinent to note that an insignificant lack of fit is desirable for the adequacy of all the model terms. It indicated that the model is adequate to describe the observed data (Table 3).

Table 3 Analysis of variance for response surface quadratic model

Figure 2a shows the result of interaction effects between the low speed and low speed time. The result obtained revealed that the residual turbidity decreased with a low speed time between 50 and 70 min when a low speed varied between 30 and 50 rpm. However, Fig. 1b indicated that the M. oleifera residual dosage was used between 0.5–1.00 mg/L against the low speed of 50–70 rpm. The low speed mixing time decreased between 30 and 50 min when the dosage was between 0.5 and 1.00 mg/L as presented in Fig. 1c.

Fig. 2
figure 2

Interaction plot a low speed and low speed mixing time, b dosage and low speed and c dosage and low speed time

3.3 Validation of predictive model

In this study, the response was correlated using three parameter settings with quadratic model and the coefficient of regression. The significance of the three variables (i.e. low speed, low speed time and dosage) on the residual turbidity was evaluated using the Design–Expert® software. It should be noted that the single parameters indicated the effect of that particular factor, whereas with two variables represent the interaction between those two factors, while the second-order terms indicated their quadratic effects. The positive and negative sign is an indication of synergistic and antagonistic effects of the terms, respectively [4]. From the result generated, the regression model for the residual turbidity is presented in Eq. (1) below.

$$\begin{aligned} {\text{Turbidity}} & = 30.342 + 0.0673{\text{A}} - 0.954{\text{B}} - 23.654{\text{C}} + 0.0132{\text{B}}^{2} \\ & \quad + 18.765{\text{C}}^{2} - 0.0002{\text{AB}} - 0.0787{\text{AC}} - 0.0463{\text{BC}} \\ \end{aligned}$$
(1)

The above model was validated by conducting a replicate experiment for the residual turbidity. The optimal condition was generated from the Design–Expert software with a single solution. Under this condition a number of replicate experiments were performed and a comparison between the observed and predicted results from the model equation was made, with the minimum residual turbidity selected as the optimum condition. The results obtained from experimental design placed the optimum condition at low speed, low speed time and dosage as 40 rpm, 60 min and 0.75 mg/L, respectively. Under this condition, the predicted (theoretical) residual turbidity was 4.73 NTU. A close agreement between the theoretical and experimental best residual turbidity was estimated using Equ. [2].

$${\text{Percentage}}\;{\text{Error}} = \mathop \sum \limits_{n = 1}^{3} \left| {\frac{{{\text{Theoretical}}_{\text{Turbidity}} - {\text{Experimental}}_{\text{Turbidity}} }}{{{\text{Theoretical}}_{\text{Turbidity}} }}} \right| \times 100$$
(2)

The percentage error was used to examine the validity of the best response setting in the wastewater treatment using a residual M. oleifera. Shan et al. [15] reported that for the best condition to be valid, the percentage error must not exceed 10% at 95% confidence level. The test shows that there is no significant difference between the theoretical and experimental turbidity settings with a percentage error value of 1.6913. The percentage error obtained is therefore negligible when compared with the 10% cut-off value at 95% confidence. The lower turbidity (< 5 NTU) achieved from this study confirmed the potential of this important eco-friendly natural product for the treatment of water.

4 Conclusion

The significance of parameters such as dosage, high speed time, high speed, low speed and low speed time on the residual turbidity was succinctly investigated. The ANOVA result generated shows a significant quadratic model with a 95 % confidence level (p < 0.05) in the optimization of the residual turbidity. The low speed time (B) and dosage (C) were both obtained as significant factors, while the low speeds (A) were not significant factors in the optimization of residual turbidity for water treatment using M. oleifera seed powder. Under the optimal condition, the water turbidity was less than the recommended value (< 5.0 NTU) which invariably validated the efficacy of M. oleifera powder in the treatment of river water for both domestic and industrial use.