Skip to main content

Application of response surface methodology for color removing from dyeing effluent using de-oiled activated algal biomass



Conservation of the ecosystem is a prime concern of human communities. Industrial development should adopt this concern. Unfortunately, various related activities release lots of noxious materials concurrently with significant leakage of renewable resources. This work presents a new biosorbent activated de-oiled microalgae, Chlorella vulgaris, (AC) for biosorption of Acid Red 1 (AR1) from aqueous solution simulated to textile dyeing effluent. The biosorption characteristics of AC were explored as a function of the process parameters, namely pH, time, and initial dye concentration using response surface methodology (RSM).


Optimization is carried out using the desirability approach of the process parameters for maximum dye removal%. The ANOVA analysis of the predicted quadratic model elucidated significant model terms with a regression coefficient value of 0.97, F value of 109.66, and adequate precision of 34.32 that emphasizes the applicability of the model to navigate the design space. The optimization depends on the priority of minimizing the time of the process to save energy and treating high concentrated effluent resulted in removal % up to 83.5%. The chemical structure and surface morphology of AC, and the dye-loaded biomass (AB) were characterized by Fourier transform infrared spectroscopy (FTIR), scanning electron microscopy (SEM), energy-dispersive X-ray analysis (EDX), and transmission electron microscope (TEM). The activation process transforms the biomass surface into a regular and small homogeneous size that increases the surface area and ultimately enhances its adsorption capacity


The optimization of the process parameters simultaneously using RSM performs a high-accurate model which describes the relationship between the parameters and the response through minimum number of experiments. This study performed a step towards an integrated sustainable solution applicable for treating industrial effluents through a zero-waste process. Using the overloaded biomass is going into further studies as micronutrients for agricultural soil.


The demand for industrial products is accelerating because of population growth (Heffron et al. 2020). Dyes are necessary for coloring and finishing the final products’ packages of various industries such as textiles, leather, cosmetics, and food (Ribeiro and Veloso 2021; Tang et al. 2021). As a consequence of the variety of industrial products, enormous amounts of effluent discharge contaminated with dyes require treatment (Abdulrazzaq et al. 2021, Wang et al. 2021). The textile industry uses around 30% of synthetic dyes. This industry is developed globally, growing 1 trillion dollars, employing 35 million employees, and contributing 7% of the total world exports (Lellis et al. 2019; de Oliveira Neto 2021). Despite its high attention, this industry is an extremely global polluter as a consequence of the large amounts of the drained dyes in the textile effluents (da Silva et al. 2021).

The discharge of the untreated effluents overloaded with dyes into the water bodies is eco-destructive (Kishor et al. 2021). It prevents light penetration through water, causing a reduction in the photosynthesis rate of phytoplankton which affects the aquatic biota (Berradi et al. 2019; Watari et al. 2020). The dyes also act as carcinogenic, toxic, and mutagenic agents (Liang et al. 2020). It is rather difficult to treat dye effluent for such dyes of aromatic molecular structure as acid, basic, direct, and reactive dyes. The complex aromatic structure enhances molecular stability and tolerates biological degradability (Zhang et al. 2020).

Environmental regulations have grown more stringent all over the world. Therefore, the dye effluent should be treated carefully before discharge. There are several methods for color removal as coagulation and flocculation (Abdulrazzaq et al. 2021), membrane filtration (Mansor et al. 2020), foam separation (Soylu et al. 2020), and chemical precipitation (Shen et al. 2019). A novel approach based on activated carbon is the potential for dye removal. Some limitations are mentioned for this approach, such as the shortage of renewable resources and the difficulties in the regeneration of the substrate. The global demand for the production of activated carbon using alternative environmentally friendly resources has annually increased (Liu et al. 2020; Suhas et al. 2021).

Lately, the use of renewable raw materials, plenteously available and inexpensive to produce valuable activated carbon has attracted a lot of attention (Taer et al. 2021). Thermal activation can be done in two stages including carbonization and subsequently activation. Dehydration of the samples enhances the yield of carbonization as a consequence of the sufficient removal of the volatile compounds (Suganya et al. 2020).

Several microorganisms like yeasts, bacteria, fungi, and algae are used to develop cheaper alternatives (Cheng et al. 2020; Semião et al. 2020). In this respect, microalgae have high sorption capacity and high binding affinity due to their functional groups, such as amino, sulfate, phosphate, carboxyl, and hydroxyl groups (Khorasani and Shojaosadati 2019). The other merits of using microalgae as a feedstock are the rapid growth rate due to its high photosynthetic efficiency, and less land area required without competing with the food crops (Chew et al. 2021).

The efficiency of the biosorption process depends on several parameters like the concentration of dyes as the pollutant, pH solution, and the processing time (Adeogun et al. 2019). Optimization of these parameters requires a large number of experiments to evaluate the effect of each one. Therefore, response surface methodology (RSM) is the best route to optimize the three parameters simultaneously and investigate the interaction between the parameters (Khalifa et al. 2019). The RSM based on the central composite design (CCD) ensures the best fitting of the predicted model in case of significant curvature of the relation between the model parameters and the resulted response (Asfaram et al. 2016).

The previously reported researches tackled micro-organisms as biosorber in their live form or dried biomass. Asfaram et al. (2016) studied the potentiality of isolated Yarrowia lipolytica isf7 to remove malachite green from culture. The optimum dye removal % was 80% at pH 7, temperature 25 °C, 24 h, and 35 mg/L initial dye concentration with a sharp decrease in dye removal for alkaline pH above 7.5 and acidic pH below 5. Yeddou-Mezenner (2010) performed a kinetic study about the effect of waste P. mutilus dry biomass (50–215 µm) on removing Basic Blue 41 dye from aqueous solutions. The maximum percent removal was 65% at initial concentration 50 mg/L, pH 9–8, 30 °C, and 60 min.

To the best of our knowledge, there are no published reports on the application of the de-oiled activated carbon from algae in biosorption. Based on the integrated process to utilize the extracted oil out of Chlorella vulgaris in different industries, the residual biomass is used as an effective biosorbent via activation. The potentiality of the overloaded biosorbent as a nano-nutrient for agriculture is suggested for further research.

In this study, the biosorption of Acid red1 (AR1) dye from aqueous solutions using activated de-oiled microalgae dried biomass was studied. The pH of the effluent stream, the contact time, and the dye concentration as three parameters affecting the dye removal from a simulated dye effluent were studied and analyzed using CCD in RSM. Finally, a prediction model for the optimum dye removal percentage was derived considering the priority of minimizing the contact time at maximum concentration. Fourier transform infrared spectroscopy (FTIR) analysis was performed to elucidate the functional groups involved in the adsorption process. The change of the amorphous structure of biosorbent was to be investigated using scanning electron microscopy (SEM) analysis, and the elemental analysis was to be detected by energy-dispersive X-ray analysis (EDX).



Dry algal biomass of Chlorella vulgaris was acquired by the Algal Biotechnology Unit, National Research Center, Egypt. The microalga was defatted using ethanol in a ratio of 1:6 W/V. The extracted oil was used in other research work for biodiesel production, while the residual biomass (RB) was collected to examine its potentiality as a dye biosorbent. The used dye Acid Red 1 (AR1) of the structure illustrated in Fig. 1 was purchased from Sigma-Aldrich Company.

Fig. 1
figure 1

Dye structure

Preparation of biosorbent

Activation took place by adding 1 mL of 97% H2SO4 drop by drop to 10 g of RB and kept at room temperature for 24 h. The excess solution was clarified off, while the residue was air-dried and carbonized at 400 °C for 1 h in a muffle furnace. The dye solutions were prepared by dissolving a known amount of dye according to the requirements of each experiment (15–50) mg in a 1000-mL measuring flask with deionized double distilled water.

Batch adsorption study

Batch adsorption experiments were carried out in 1000-mL Erlenmeyer flasks containing 25 mL of dye solution with scheduled experimental design, and 2 g of AC. The flasks were agitated using a magnetic stirrer for the required time. After centrifugation at 3000 rpm for 5 min, the remaining dye concentration was measured using UV–Vis spectrophotometer at 600 nm. The adsorption efficiency as a reflection of the dye removal percentage and the adsorption capacity was calculated by Eqs. (1) and (2), respectively (Asfaram et al. 2016):

$$\hbox{Dye Removal} \%=\frac{C_{{\rm o}} - C_{{\rm f}}}{C_{{\rm f}}} \times 100$$
$$q=\frac{C_{{\rm o}} - C_{{\rm f}}}{X} \times V$$

where Co is the initial dye concentrations (mg/L), Cf (mg/L) is the final dye concentrations (mg/L), q is the amount of a dye adsorbed (mg/g), V is the solution volume (L), and X is the adsorbent dosage (g/L).

Experimental design

The process parameters, namely initial dye concentration (D), pH (P), and contact time (T), were optimized using response surface method (RSM). The relationship between the parameters and the response was determined using central composite design (CCD) in RSM using Design Expert-6.0.8 software during a trial period. The examined range of the pH was 3–10, while the range of dye concentration was 15–50 mg/L, and the range of contact time was 30–110 min. The selected ranges as shown in Table 1 have been chosen based on preliminary experiments. The parameters presented in Table 1 were five levels coded as − α, − 1, 0, + 1, + α, respectively. The total number of experiments was 20 with eight factorial points (23), six axial points (2 × 3), and six replicate points according to CCD.

Table 1 Matrix for the central composite design (CCD)

The mathematical relationship between the parameters and the response was to be approximating by the following second-order polynomial model (El-Mekkawi et al. 2019)


where Y is the predicted response (dye removal %); a0 is the intercept regression constant; a1, a2, …. a23 are regression coefficients; and X1, X2 and X3 are the independent variables investigated. The analysis of variance (ANOVA) was to be performed to justify the significance and fitting of the developed regression model.

Measurements for characterization of the algal biosorbent

Fourier transform infrared (FTIR) spectroscopy analysis

The functional groups of RB, the activated de-oiled algae (AC), and those overloaded with dye (AB) were detected using FTIR spectrophotometer Model-JASCO FT/IR-4700 in the infrared spectral range of 400–4000 cm−1 wavelength (Brangule et al. 2020). FTIR figures the information specific to the groups that explain the interactions of the group with the dye molecule.

Scanning electron microscope (SEM) & energy-dispersive X-ray spectroscopy (EDX)

Morphological analysis was performed using SEM (Model, Joel JAX-480A) with an accelerating voltage of 30 kV and magnification between 10.000X and 400.000X (Ahmed et al. 2019). The EDX unit was used to evaluate the carbon w% in AC and detect the elements in AB (Sastre de Vicente et al. 2020).

High-resolution transmission electron microscope (TEM)

The particle sizes of algal biomass samples RB and AC were examined under a high-resolution transmission electron microscope [(JEM-1230) JEOL] (Zohoorian et al. 2020).


The results revealed that the dye removal percent of AR1 is 3.4% using RB, and it achieved 96% using AC at the same conditions of operation. These conditions are 15 mg/L initial dye concentration and 3 pH for 1 h. Therefore, the model describes the relationship between the parameters affecting the dye removal process is applied for AC as biosorbent.

Description and analysis of the model

The model results for the design points show a significant curvature; thus the axial points are used to fit the model. The quadratic model is selected depending on the statistical results of the suggested model as summarized in Table 2. The probability F-value revealed that the suggested model is significant, while the error function is not significant. The ANOVA analyses of the quadratic model in Table 3 show that the model terms are the linear factors (D, P, T) and the quadratic factor P2. The statistical analyses revealed that the regression coefficient R2 is 0.97 and that the adjusted R2 is in reasonable agreement with the predicted R2. The value of Prob > F is less than 0.05, whereas the lack of fit is not significant.

Table 2 Suggested model summary statistics
Table 3 ANOVA results for the CCD

In addition to the linear relationship of the normal plot of the residuals illustrated in Fig. 2a, the actual values of the response are represented versus the predicted values in Fig. 2b. The data points are spread out from the mean referring to the high variance as the coefficient of variation (C.V.) is greater than one as elucidated in Table 4. Therefore, the model can accurately predict the relationships between the model terms within the selected range. The regression equation in terms of the actual variables is as follows:

Fig. 2
figure 2

a Normal plot of the residuals, b actual values of the response versus the predicted values: c simultaneous effect of initial dye concentration and effluent pH on Dye removal % at the center value of time, and the model contour, d interaction relationships between the model parameters

Table 4 Statistical analysis for the response
$$Removal \%=111.1621-0.45771 D-5.38829 P+0.075686 T+0.39671 {P}^{2}$$

The model graph and its contour are exhibited in Fig. 2c. It represents the effect of pH on the model in a parabolic shape that reflects on the contour graph while Fig. 2d elucidates the nonexistence of any interaction in the design boundaries.

Optimization of the model solutions

The actual values of the experimental results are very close to the predicted values of the model; this congruency cause a linear relationship as illustrated in Fig. 2b. Meanwhile, the maximum dye removal percent 98% is achieved at 15 mg/L dye concentration, 110 min, and 3 pH; 97% dye removal is achieved at 10 pH. Remarkably, 96% dye removal is progressed at 32.5 mg/L initial dye concentration, 12.39 pH, and 70 min. The optimization of the three parameters and their response simultaneously is such difficult; therefore, the derived model is the best route for optimization.

The optimization of the model parameters is achieved by defining the priority of each parameter using the Design-Expert software to achieve maximum response. The results of the predicted model revealed that the optimum conditions to achieve 83.5% dye removal are 37.87 mg/L initial dye concentration and 3 pH for 30 min. Remarkably, the same results are achieved at 10 pH at a confidence interval of 95% and a prediction interval of 95%. The adsorption capacity calculated using Eq. 2 is 15.8 mg/g. Contrastingly, for 100% desirability, the operating conditions are 15 mg/L initial dye concentration, pH 3, and 110 min are required to achieve 100% dye removal. The optimum conditions should consider the priority of treating high concentrations of pollutants at minimum time as discussed in detail in Discussion section.

Characterizations of de-oiled algal biosorbent

Fourier transform infrared spectroscopy (FTIR)

FTIR analysis in Fig. 3 illustrates the functional groups of RB, AC, and AB. The presence of weak secondary amines -NH and primary amines –NH2 is proved by the peaks ranging from 3758.58 to 3830.9 cm−1 (Tan et al. 2018; Déniel et al. 2020; Silva et al. 2020). The border absorption peaks at wavelength 3156.90–3275.50 cm−1 elucidate the existence of stretching hydroxyl group –OH (Kumar et al. 2019) that found in all samples with a higher-intensity value for biosorbent RB.

Fig. 3
figure 3

FTIR bands for RB, AC, and AB

The stretching –CH group and aliphatic –CH2 group have a leading role in the adsorption process (Asemani et al. 2020). The peaks at 2924.52–2965.02 cm−1 are exhibiting the presence of –CH2 group with asymmetric stretching in AC more than RB. The methyl symmetric stretching –CH group exists in both AC and AB at wavelength 2880.17 cm−1.

Sulfur exists as –SH group at the wavelength 2372.01 cm−1 for sample AC. The –NO as symmetric stretching vibration group appears at wavelength 1542.77 cm−1 for RB. The nitro group is strongly electron-withdrawing; this elucidates the lower efficiency of RB than AC as biosorbent for AR1. The IR spectrum at 1094.4–1092.48 cm−1 is illustrating the Si–O group (Asemani et al. 2020).

Scanning electron microscope (SEM)/(EDX)

Figure 4 illustrates the microstructural and morphological changes in each of RB, AC, and AB algal biomass that was analyzed using scanning electron microscopy (SEM). The shape of RB shows a smooth and irregular surface with random heterogeneous sizes. The surface of AC has a regular and small homogeneous size that increases the surface area and ultimately enhanced its adsorption capacity. On the other hand, the AB has elongated regular fiber bundles with a smooth distinct surface. The carbon w% is measured and examined using EDX analysis. The most significant result is the increase of carbon w% in AC by 29%.

Fig. 4
figure 4

SEM images of RB, AC, and AB

Transmission electron microscope (TEM)

The results of TEM illustrated that the particle size of the used RB is over 200 nm as illustrated in Fig. 5 while the particle size of AC is in the range of 12–31 nm. This analysis is used to figure the effect of activation process that enhances reduction of the particle size. This contributes in explanation of the wide difference between RB and AC performance as biosorbent.

Fig. 5
figure 5

TEM images of RB, and AC

Eco-friendly environmental disposal of wastes:

EDX analysis detected several elements in AB as illustrated in Fig. 6. These elements as C, O, Na, Si, P, S, and Ca are mixed to agricultural soil as shown in Fig. 6. The plant growing in soil mixed with AB samples is significant. This prospective function of over-loaded biomass as micro-nutrients for agricultural soil needs more study for a long period with further analyses.

Fig. 6
figure 6

Elemental analysis for AB using EDX and its reflection on plant


Description and analysis of the model

The quadratic model is selected depending on the model summary statistics in Table 2. The cubic model is aliased, which prevents the proper navigation and transformation for the cubic model. Meanwhile, the quadratic model has the maximum values of R2, Adj. R2, and Pred. R2; they are 0.97, 0.96, and 0.94, respectively. It also has a minimum PRESS value that indicates the predictive ability of the model. The probability function of the model elucidated Prob > F smaller than 0.05 for both linear and polynomial models. However, the sequential sum of squares favors the highest order polynomial, where the additional terms are significant and the model is not aliased while the probability function of the lack of fit is significant for both linear and factorial models that elucidate high error for both.

In Table 3, the model F value of 109.66 implies the model is significant. The model terms D, T, P2 are significant for Prob > F smaller than 0.05. Despite the term P is not significant, it is required to support hierarchy. In Table 4, the adequate precision ratio of 34.32 indicates an adequate signal-to-noise ratio that elucidates that this model can be used to navigate the design space. The coefficients of the actual factors in the model equation are to be displayed in six decimal places without any approximation; this action is necessary to justify the required accuracy as much as possible.

The normal probability plot of the studentized residuals is illustrated in Fig. 2a elucidates the normality of residuals distribution. The actual values of experiments versus the predicted values through the model calculations in Fig. 2b are very close using linear regression. The model graph and its contour in Fig. 2c represents the effect of the term P2 on the response. Either low or high pH reflects increasing the percent removal, while neutrality exists at the vertex point. The absence of interaction between the parameters as illustrated in Fig. 2d emphasizes the ability of the model to navigate the design space.

The main target of developing the predicting model is to optimize the process parameters to achieve maximum the percent removal. Thus, the highest importance has been given to the response, followed by the process parameters. The logical goal is to treat maximum dye concentration during the minimum time, whereas neutral solutions have a lower response than acidic and ones alkaline, i.e., pH has lower importance. The lower response area, as shown in the 3D model graph Fig. 2c and its contour, is located at the bottom of the convex while the response increases through navigation the curve from neutral pH towards acidic or alkaline region. Contrastingly, the desirability function to approach 100% dye removal results in having to change operating conditions to be the lowest boundary of the model limits for initial dye concentration and pH, and the highest limits for time. This approach decreased the adsorption capacity by half while increasing the water purification by 17%. Particularly, selecting a specific approach should follow the industrial requirements and the environmental aspects.

Characteristics of de-oiled biosorbent

FTIR analysis contributes to the explanation of biosorption mechanism through the description of their functional group. The presence of secondary amines –NH and primary amines -NH2 in RB, and AC clarified the ability of algal biosorbent to form the positive cations performing ionic pond with AR1 ions (Tan et al. 2018; Déniel et al. 2020; Silva et al. 2020). The stretching ponds in the –CH group and aliphatic -CH2 group have a central role in the adsorption process as they possess a high ability to form free radicals that attract the AR1 ions (Asemani et al. 2020). The increasing of carbon w% in AC detected by EDX emphasizes the presence of an aliphatic CH2 group and stretching CH group in AC.

SEM analysis illustrates the change in the microstructure of AC and AB. The regular and small homogeneous size of AC increases the surface area and ultimately enhanced its adsorption capacity while the elongated regular fiber bundles with a smooth distinct surface of AB elucidate the adsorption process for the surface and the core absorption inside the biosorbent particle.

The reduction of nanoparticle size of AC, as figured by TEM analysis, increases the active sites and encourages rapid contact between the dye molecules and the binding sites (Zohoorian et al. 2020). This analysis explains the wide variation in RB and AC performance as the dye removal percent using RB and AC are 3.4%, and 96%, respectively. These results are integrated with that detected by SEM analysis, where the morphology and the homogeneous shape of AC facilitate the dye removal.

The desorption process is necessary to complete the process cycle. However, several obstacles contradict this process; some of them are related to the cost and the other is related to the environment (Farooq et al. 2018). The minor elements included in such material enhance its potentiality to be used as a micro-nutrient for agricultural soil. Further research has to be performing to cover the plant requirements and human health.


The recent research is concerned with applying micro-organisms in dye removal from textile wastewater. Microalgae are a potential source for several industries. The extracted oil from C. vulgaris is suitable for biofuel and biomedical. Thus; using de-oiled microalgae in integrated industries enhance its potentiality. The activation process transforms the biomass surface into a regular and small homogeneous size that increases the surface area and ultimately enhances its adsorption capacity. The simultaneous optimization of the process parameters is achieved by CCD in RSM. This method decreases the number of essential experiments and provides a predicting model with a CI of 95%. Further experiments are encouraged to be performing to study more process parameters as the AC amount and process temperature. The reusability of dye-loaded bio sorbent as micro-nutrient is an important economical aspect to avoid the obstacles of the desorption process and provide a useful by-product.

Availability of data and materials

All data generated or analyzed during this study are included in this published article [and its supplementary information files].



Dye-loaded biomass


Activated de-oiled microalgae


Acid Red 1 dye


Analysis of variance—statistics


Central composite design


Confidence interval


Coefficient of variance


Energy-dispersive X-ray analysis


Fourier transform infrared spectroscopy


De-oiled microalgae


Response surface method


Scanning electron microscopy


Transmission electron microscope


Download references


This paper was supported by the National Research Centre in Egypt; we highly appreciate the central laboratories for conducting the tests in this research.


The National Research Centre, Dokki, Egypt, has provided this research a financial support Grant Number “12010203”.

Author information

Authors and Affiliations



“SA Abo El-Enin and RA conceptualized the main idea of this work. SA Abo El-Enin and SA El- Mekkawi prepared the de-oiled activated carbon. RA and FA performed the characterization analyses of the biosorbent and the dye adsorption experiments. SA El- Mekkawi performed the statistical analysis of the CCD; she is also the corresponding author. All authors contributed to writing the manuscript. All authors read and approved the final manuscript.

Corresponding author

Correspondence to Samar A. El-Mekkawi.

Ethics declarations

Ethics approval and consent to participate

Not applicable.

Consent for publication

Not applicable.

Competing interests

The authors declare that they have no competing interests.

Additional information

Publisher's Note

Springer Nature remains neutral with regard to jurisdictional claims in published maps and institutional affiliations.

Rights and permissions

Open Access This article is licensed under a Creative Commons Attribution 4.0 International License, which permits use, sharing, adaptation, distribution and reproduction in any medium or format, as long as you give appropriate credit to the original author(s) and the source, provide a link to the Creative Commons licence, and indicate if changes were made. The images or other third party material in this article are included in the article's Creative Commons licence, unless indicated otherwise in a credit line to the material. If material is not included in the article's Creative Commons licence and your intended use is not permitted by statutory regulation or exceeds the permitted use, you will need to obtain permission directly from the copyright holder. To view a copy of this licence, visit

Reprints and permissions

About this article

Check for updates. Verify currency and authenticity via CrossMark

Cite this article

El-Mekkawi, S.A., Abdelghaffar, R.A., Abdelghaffar, F. et al. Application of response surface methodology for color removing from dyeing effluent using de-oiled activated algal biomass. Bull Natl Res Cent 45, 80 (2021).

Download citation

  • Received:

  • Accepted:

  • Published:

  • DOI: