Introduction

Nowadays, the excessive use of pharmaceutical products and dyes due to the entry of some of these compounds into the environment has raised concerns worldwide. About 100,000–200,000 tons of antibiotics and 7 million tons of dyes are used annually in the world1,2. Dyes are also used in various textile, food, paper, cosmetic and pharmaceutical industries, and about 10 to 15% of these dyes enter the aquatic ecosystem during the dyeing process3,4. In recent years, without any restrictions, these materials have been discharged continuously to the environment. Although their entry into aquatic environments may be low, their continuous navigation due to the cumulative effect can be considered a potential risk to aquatic ecosystems and their microorganisms5. Enrofloxacin (ENF) is a synthetic antibacterial drug from the carboxylic acid derivative of fluoroquinolone. Enrofloxacin is a collaborative group of antibiotics in the production and consumption worldwide that is used to treat various infectious diseases in humans and animals6. The presence of these drugs in the environment leads to the ecological toxicity and development of antibiotic-resistant pathogens that potentially threaten ecosystem function and human health7,8. Rhodamine B (RhB) is a purple-pink seed pigment. RhB is used in various industries such as textile, printing, and leather industries9. It is also often used as a pigment routing in water to determine the direction and speed of transmission. The toxicity of this dye has been proven for humans and animals, and if swallowed, it irritates the eyes, skin, and respiratory system. Also, according to research, RhB is a carcinogen for living organisms, especially humans10. Accordingly, there is a need for an efficient system to remove these compounds from the aquatic environment. So far, various methods such as separation membrane, chemical oxidation, and biodegradation have been used to remove organic compounds11,12,13,14,15,16. Most of these techniques can produce secondary pollutants, or at least they are time-consuming. The adsorption process using cheap and available adsorbents is one of the most efficient, easiest, and most economical methods for removing dye and drug17,18. The advantages of this method are high efficiency, low operating costs, ease of use, and adaptation to the environment19,20. Since the adsorption performance is directly dependent on the quality and cost-effectiveness of the adsorbent, various attractions, including activated carbon21, zeolite22, clay23, and graphene oxide (GO)24, have been studied in recent decades. Researchers have highly regarded the use of GO in adsorption processes. GO is considered a suitable inexpensive adsorbent due to its ease of access, ion exchangeability, and unique physicochemical properties25. GO is a two-dimensional material made of a single layer, with a hexagonal and crystalline structure, on the plates of oxygen groups. This substance has a high ability to interact with substances due to the presence of oxygen groups. It is also biocompatible and can be used as an adsorbent to remove a variety of contaminants26. In one study, Karimi-Maleh et al. (2020) prepared reduced graphene–iron oxide (rGO–Fe3O4). rGO-Fe3O4 was used to remove phenazopyridine from wastewater samples. The results showed that in the best laboratory conditions and at pH = 6, phenazopyridine removal was more than 91%27. Bezerra Araujo et al. (2019) used graphene oxide (GO) as an adsorbent to remove Methylene Blue (MB) dye from natural textile wastewater. Studies have shown that GO can remove approximately 85% turbidity and more than 60% of dye from an actual sample in 30 min to treat natural textile wastewater in 30 min. The results showed that GO could be considered an excellent option for textile wastewater treatment28. In another study, Huang et al.29 synthesized Cu2O-reduced graphene (Cu2O/rGO) nanocomposites through the in-situ wet-reduced method. This adsorbent was evaluated to remove rhodamine B (RhB) solution under visible light. Cu2O/rGO nanocomposites showed high efficiency so that the rate of RhB removal was more than 95%. This study showed that Cu2O/rGO nanocomposites could be successfully used to remove RhB from aqueous solutions29. In recent years, one of the most effective methods to remove pollutants from the water and wastewater is sonochemistry or ultrasound. The sonochemistry system can convert contaminants into by-products with less toxicity or harm to microorganisms30,31. Sonochemical reactions are caused by high-intensity sound radiation at frequencies that produce cavitation. Thus, cavitation acts as a concentrator of energy emitted by ultrasound into the micro-reactor, which acts as a hot spot. Ultrasound waves increase chemical and physical changes in a liquid medium through the production and subsequent destruction of cavitation bubbles. These bubbles are produced and disintegrated sequentially to produce the energy needed for chemical and mechanical effects. Therefore, using a sonochemistry system increases mass transfer, reduces time, and increases process efficiency, which can play a valuable role in removing contaminants32,33. Today, in most cases, response surface methodology (RSM) is used to optimize processes whose response is affected by more than two variables. RSM is a set of statistical and mathematical methods used to increase the efficiency of a process in which responses are affected by several variables34. RSM tries to find a way to estimate the interactions, quadratic effects, and even the local form of the studied response changes using a suitable experimental design. RSM has several benefits, including reducing the number of test steps, reducing time, reducing costs, and saving raw materials35. Therefore, as it was pointed out, this study aims to evaluate the efficiency of GO in removing ENF and RhB from environmental water samples. RSM is also used to increase process efficiency and optimize the factors affecting the removal rate.

Results and discussion

Structural characterization of the graphene oxide (GO)

The SEM image of the GO is shown in Fig. 1a. As can be seen in Fig. 1a, the prepared GO has sheets of different shapes and sizes, but their thickness is the same. Also, GO has a layered and laminated structure. Generally, such a shape is observed in GO in the form of layers36. Figure 1b shows the XRD pattern from GO prepared by the Hammers method. In this model, a peak of GO at 2θ equal to 11.6 degrees indicates that GO has been synthesized37. The average particle diameter of 15 nm was obtained according to the Scherrer equation and XRD data.

Fig. 1: Characterization of GO.
figure 1

a SEM image. b XRD pattern of GO.

Regression model equation establishment

The RSM can be used for experimental modeling to investigate the relationship between experimental and predicted results. The range of test variables is coded according to CCD, and the ENF and RhB deletion values obtained are shown according to the test design performed in Supplementary Table 1. The predicted values showed that they have a reasonable correlation with the experimental values. The data were fitted to various linear, quadratic, and cubic models to obtain regression equations. As shown in Table 1, the quadratic model is the most suitable model for the adsorption process. The regression coefficients (R2 > 0.99 and R2-adj > 0.99 for both models) mentioned in Table 1 for the quadratic model indicate a well-fitting model.

Table 1 Statistical parameters for different models.

Based on CCD, the experimental relationship between input variables and experimental results is provided by quadratic polynomial equations (Eqs. 1 and 2). The resulting equations based on coded factors are:

$$\begin{array}{l} \% {\rm{R}}({\rm{ENF}})=+63.83+6.40\ast {X}_{1}-8.97\ast {X}_{2}-7.78\ast {X}_{3}+5.87\ast {X}_{4}+7.41\ast {X}_{5}-0.81 \\ \ast\,{X}_{1}{X}_{2}-1.99\ast {X}_{1}{X}_{3}-0.50\ast {X}_{1}{X}_{4}+1.54\ast {X}_{1}{X}_{5}+0.85\ast {X}_{2}{X}_{3}+1.75\ast {X}_{2}{X}_{4}-0.49 \\ \ast\,{X}_{2}{X}_{5}+2.40\ast {X}_{3}{X}_{4}-2.43\ast {X}_{3}{X}_{5}-2.1\ast {X}_{4}{X}_{5}-1.83\ast {X}_{1}^{2}-1.12\ast {X}_{2}^{2}-1.31\ast {X}_{3}^{2}-5.29 \\ \ast\,{X}_{4}^{2}-1.63\ast {X}_{5}^{2}\end{array}$$
(1)
$$\begin{array}{l} \% {\rm{R}}({\rm{RhB}})=+66.00+7.36\ast {X}_{1}-6.92\ast {X}_{2}-5.97\ast {X}_{3}+4.26\ast {X}_{4}+5.13\ast {X}_{5}+0.05 \\ \ast\,{X}_{1}{X}_{2}-0.59\ast {X}_{1}{X}_{3}+0.19\ast {X}_{1}{X}_{4}+0.03\ast {X}_{1}{X}_{5}+0.34\ast {X}_{2}{X}_{3}-0.18\ast {X}_{2}{X}_{4}-0.87 \\ \ast\,{X}_{2}{X}_{5}-0.64\ast {X}_{3}{X}_{4}-0.50\ast {X}_{3}{X}_{5}+0.68\ast {X}_{4}{X}_{5}-3.69\ast {X}_{1}^{2}-1.86\ast {X}_{2}^{2}-1.55\ast {X}_{3}^{2}-3.79 \\ \ast\,{X}_{4}^{2}-1.47\ast {X}_{5}^{2}\end{array}$$
(2)

In this equation, %R represents the removal rate, X1, X2, X3, X4, and X5 are the coded variables, representing the GO amount, ENF concentration, RhB concentration, pH of solution, and sonication time, respectively.

Analysis of variance (ANOVA)

The accuracy and importance of the selected model and the simultaneous effect of operational parameters in the process were evaluated by ANOVA analysis in Table 2. The results of ANOVA analysis showed that the proposed model has a statistically significant relationship with linear conditions concerning the one-way analysis of variance, which is P ≤ 0.05. Also, the main operational parameters and the interaction of some parameters are simultaneously quite significant (P ≤ 0.05). The p-value level plays the most crucial role in determining whether the interaction of variables is significant or not. On the other hand, the F-value measures the deviation of the data from the average value38,39. The F values for the ENF model and the RhB model were 424.08 and 1721.34, respectively. This means that the variance of each variable is significant compared to the error variance and all the main parameters play an essential role in the response. Also, the adjusted correlation coefficient (R2-Adj) for ENF and RhB was equal to 0.9963 and 0.9991 respectively, indicating the statistical model’s accuracy.

Table 2 Analysis of variance (ANOVA) results of remove ENF and RhB.

In order to validate the proposed model, various analyses were performed on it. As opposed to the data predicted by the model in Supplementary Fig. 1a, b, the graph of the experimental data shows that the values are uniformly and consistently aligned along a straight line and have a high correlation. In the statistical analysis of experimental data, it is necessary to check that the data have a normal distribution. In the normal distribution, the points related to the data are very close to each other and follow a straight line. The normal probability graph is shown in Supplementary Fig. 1c, d. According to these diagrams, since the errors were normally distributed, the models were meaningful, and the predicted responses were consistent with the actual information40,41.

The effect of model parameters

Figure 2a, b show the effect of pH, respectively, along with the effect of the amount of adsorbent and the ENF concentration on the ENF removal process. As can be seen, with increasing the amount of adsorbent, the removal efficiency increases dramatically. High dye/drug adsorption occurs in order to increase the amount of adsorbent due to the increase in the number of active sites, increase in the adsorbent surface, and the presence of a strong driving force42. Also, at low pHs, the positive charge density at the adsorbent surface increases, and between the positive charge level of the adsorbent and the analyte molecules, the electrostatic attraction force decreases significantly. As a result, with decreasing electrostatic attraction, the access of drug and dye molecules to the active sites of adsorbent is reduced, and the removal rate is low43. According to the results, the highest amount of drug and dye removal was observed at pH 7. Figure 2d shows the changes in the dye adsorption process by adsorption affected by RhB concentration and sonication time changes. The results show that as the RhB concentration decreases and the sonication time increases, the dye removal efficiency increases and these changes have a gentle trend regarding the reaction time. Increasing the contact time leads to an increase in the chance of dye molecules colliding with the adsorbent surface and the amount of dye removal efficiency increases. These results are in line with the findings of Duhan and Kaur (2021), who examined the removal of methylene blue using nano-structured polyaniline as an adsorbent44. On the one hand, since its active surface is constant for a certain amount of adsorbent, with increasing RhB concentration, the removal efficiency decreases due to the lack of active sites in the adsorbent surface. On the other hand, adsorbents have limited adsorption places, and when they are concentrated more, they are saturated faster, and as a result, there is a decline in efficiency. As dye concentration increases more, and dye adsorption on adsorbents is disrupted, the removal efficiency is declined. The results are in line with Shabaan et al.‘s (2020) studies that removed cationic and anionic dyes using multiwall carbon nanotubes45. Pérez-Ramírez et al. (2019) also obtained similar results in a study to remove cationic and anionic dyes using one- and two-dimensional carbon nanomaterials as adsorbents46.

Fig. 2: The response surface plots.
figure 2

The influence of interaction term between variables onto removal of ENF (a, b) and RhB (c, d). X1: GO amount, X2: ENF concentration, X3: RhB concentration, X4: pH of solution, and X5: sonication time.

The effect of ultrasonic power

Ultrasonic power is one of the effective parameters in cavitation activity and increasing the removal of pollutants. For this purpose, dye/drug solutions were placed under optimal conditions in an ultrasonic bath, and different powers (10%, 30%, 50%, 70%, and 90%) with a frequency of 25 kHz. Figure 3 shows the effect of ultrasonic power on the removal of ENF and RhB. The removal efficiency of dye/drug in an aqueous solution depends on the ultrasonic power. Dye/drug removal percentage increases with increasing ultrasonic power. The increase in dye/drug removal and the increase in ultrasonic power can be explained by the number of active cavitation bubbles. As the ultrasonic power increases, the acoustic amplitude increases as the ultrasonic energy is transferred into the solution. The bubble pulses and collapses rapidly, and the number of cavities in the bubbles increases due to this amount of energy. As a result, high levels of hydroxyl radicals are released in the dye/drug solution. Similar results have been observed by Naddeo et al. (2020) in the study of the effect of ultrasonics on the removal of emerging contaminants (ECs) from environmental water samples. In this study, Naddeo et al. Stated that the removal efficiency of ECs increased with increasing ultrasonic power. The researchers attributed the increase in efficiency at low power levels to the effect of ultrasonic power on cavitation and the number of bubbles47. In addition, Özyonar et al. (2020) examined the removal of dispersing and reactive dyes by ultrasound-assisted electrocoagulation processes. They stated that the production of radical hydroxide in solution increases with increasing ultrasonic power. In addition, they reported that the decomposition efficiency decreases due to insufficient fall of cavitation bubbles and acoustic plate production with further increase in power48.

Fig. 3: The effect of ultrasonic power on the removal of ENF and RhB.
figure 3

Removal conditions: adsorbent amount: 0.24 g, RhB concentration: 10 mg L−1, ENF concentration: 10 mg L−1, sonication time: 23 min, and pH: 7. Error bars represent standard deviations.

Optimization

Process optimization is of particular importance because of its direct impact on the result and the economic conditions of the process. Using numerical optimization, the response was performed for five variables in the range of independent variables, the results of which are presented in Table 3. In this method, the factors that have a positive impact on the process are maximized, and at the same time, the factors that have a negative impact are minimized. Therefore, the target functions are set in such a way that the maximum removal percentage is achieved. Optimization was performed using the numerical optimization section in Design-Expert software. This optimization method has been performed in many other types of research and has valid results49,50. Since the optimization is based on the information obtained from the experiments and on the surface response model with 95% confidence, it could be implemented in this study.

Table 3 Optimum conditions derived by RSM.

Adsorption isotherms study

Isotherm is a mathematical (experimental or analytical) relation that concludes information about the properties of a solid surface, how the analyte is placed on the adsorbent (physical or chemical), and the presence or absence of interaction or competition between adsorbents for adsorption by establishing a relationship between the amount of analyte adsorbed by the adsorbent and the amount remaining in the solution in equilibrium. Therefore, different concentrations were selected for each of the contaminants, and the adsorption of these different concentrations under optimal conditions of other effective parameters following the proposed method was investigated. Then the desired isotherm was determined to describe how the adsorption concerning the value of the correlation coefficient for the linear state of the equations of conventional isotherms. Supplementary Table 2 shows the constant values of the isotherm and the correlation coefficient based on the linear equations of different isotherms for the absorption of ENF and RhB using GO. According to the values of R (0.228 for ENF and 0.109 for RhB) and qmax (45.035 for ENF and 107.230 for RhB) calculated for both analytes, it can be concluded that the uptake of ENF and RhB by GO is in good agreement with the Langmuir-Freundlich isotherm.

Kinetic study

The adsorption rate and mechanism were investigated based on kinetic studies in the adsorption process. Therefore, different times were selected for each of the pollutants. Surface absorption was investigated under optimal conditions from other effective parameters under the proposed method. Then, the desired kinetic model was determined to investigate the kinetic and the mechanism of adsorption according to the correlation coefficient values for the linear mode of different kinetic equations. Supplementary Table 3 shows the constant kinetic values and the correlation coefficient based on the linear equations of varying kinetics for the adsorption of ENF and RhB using GO. The kinetic analysis was performed at four different times if the values for the other parameters were constant. Fitting of ENF and RhB adsorption kinetics models by GO shows the pseudo-second-order kinetic model with a higher correlation coefficient (R2 = 0.9959 for ENF and R2 = 0.9991 for RhB) compared to pseudo-first-order, intraparticle diffusion, and Elovich models describe test data better. qe value obtained based on a pseudo-second-order kinetic model for ENF and RhB were 12426 mg g−1 and 12500 mg g−1, respectively.

Thermodynamic study

The thermodynamic study was performed according to the proposed method by temperature changing process between 25 °C and 40 °C. The enthalpy and entropy of the adsorption were calculated using the slope \((-\frac{\varDelta {\rm{H}}\,^\circ }{R})\) and the intercept \((\frac{\Delta {\rm{S}}^\circ }{R})\) of the logKc diagrams versus \((\frac{1}{{\rm{T}}})\), respectively. The values of these variables are reported in Supplementary Table 4. The results show that the values of ∆G° obtained from the thermodynamic study are negative and indicate that the nature of ENF and RhB uptake is spontaneous by GO. A positive value of ∆H° also indicates that the adsorption process of ENF and RhB is endothermic. Also, the positive ∆S° suggests a decrease in the degree of freedom of the adsorbed analytes at the GO adsorption sites.

Reusability of spent adsorbent

Reuse of used adsorbents is essential to protect the environment and reduce costs. For this purpose, adsorbent reuse was studied in successive cycles. As shown in Fig. 4, the adsorption efficiency gradually decreases with an increasing number of adsorbent reuse cycles. This decrease in contaminant removal efficiency can be related to blockage of pores, reduction of adsorbent sites, and loss of active adsorbent levels after each cycle51. As can be seen in Fig. 4, after four cycles of adsorbent application, the removal efficiencies of ENF and RhB were 83 and 78%, respectively. These results show that GO can be used multiple times, and the cost of adsorbent preparation can be reduced.

Fig. 4: Effect of regeneration cycles on the removal of ENF and RhB.
figure 4

Removal conditions: adsorbent amount: 0.24 g, RhB concentration: 10 mg L−1, ENF concentration: 10 mg L−1, sonication time: 23 min, and pH: 7. Error bars represent standard deviations.

Interference studies

In order to demonstrate the method’s selectivity for the removal of ENF and RhB, the effect of several different ions on the removal efficiency was investigated. For this purpose, a certain amount of ENF and RhB along with disturbing ions in different concentrations were analyzed according to the method mentioned in the adsorption experiments section, and their effect on the removal efficiency of ENF and RhB was investigated. The results are shown in Supplementary Table 5. Anything that results in a ±5% error in adsorption is known as a disturbing ion. It is observed that the cations and anions studied under optimal conditions do not interfere with the removal of ENF and RhB.

Simultaneous removal of ENF and RhB in actual samples

In order to evaluate the efficiency of the method in the analysis of actual samples containing ENF and RhB in water samples such as tap water, river water, and hospital waste was used. In order to do so, instead of using distilled water, environmental water samples were used, and similar to the method mentioned in the adsorption experiments section, experiments were performed. Finally, the percentage of ENF and RhB removal was calculated by Eq. 3. The results of examining the actual sample are given in Table 4. The results of the analysis of different actual samples showed that there was no interference with the excipients in the actual textile wastewater samples.

Table 4 %Removal and RSD in different water samples (N = 3).

Conclusion

This study showed the effectiveness of GO adsorbent in removing ENF and RhB from aqueous solutions. SEM and XRD analysis confirmed the nature and structure of GO. CCD-based RSM was used to examine the effective parameters of the process simultaneously. The results and statistical analysis showed that with increasing sonication time, increasing pH, and increasing the amount of adsorbent, the efficiency of the removal process increases. Also, increasing the concentration reduces the removal efficiency. The analysis of variance (ANOVA) showed that the quadratic model was proportional and significant for the removal process. Under optimal conditions (RhB concentration 10 mg L−1, adsorbent amount 0.24 g, sonication time 23 min, ENF concentration 10 mg L−1, and pH 7), the removal efficiency was 98.16% for ENF and 92.55% for RhB. The adsorption of ENF and RhB onto GO followed pseudo-second-order kinetics and the equilibrium data fitted well with Langmuir-Freundlich isotherm. The maximum adsorption capacity (qmax) was found to be 45.035 mg g−1 and 107.230 mg g−1 for ENF and RhB, respectively. The adsorbtion process onto the GO occurred spontaneously (−ΔG°), in an endothermic nature (+ΔH°), and with increased randomness (+ΔS°). The results of the reusability study showed that up to 4 reuse of the adsorbent, no significant change in its efficiency was observed. The method’s efficiency for the analysis of environmental water samples containing ENF and RhB also showed that the above method could remove more than 84.51% of ENF and RhB from complex samples. Overall, the results showed that GO could be used as a high-availability, practical, and cost-effective adsorbent with optimized process operating conditions by CCD to simultaneously remove ENF and RhB from environmental water samples.

Methods

Materials and instruments

Analytical grade reagents were used during the present study. ENF was provided by Sigma-Aldrich. RhB was bought at Merck. Stock solutions of drug (1000 mg L−1) and dye (1000 mg L−1) in double-distilled water were prepared. At different stages, working solutions were prepared and used by diluting these solutions. Sodium hydroxide (0.1 M) and hydrochloric acid (0.1 M) were also used to adjust the pH of the solutions during the experiments. The characteristics of drug and dye are listed in Supplementary Table 6. UV/Vis spectrophotometer (Model: 2120 UV plus, Optizen) was used to measure the concentration of drug and dye in solution. The pH of the solution was measured with a pH meter (Model: Hanna Instruments HI 2210). An Ultrasonic Cleaner (Model: TI-H-10-MF2 Heated, Power consumption: 1000 W, Ultrasonic power effective: 200 W, Two operating frequencies: 25 kHz and 45 kHz, Heating Power: 800 W, Maximum filling volume: 8.6 L) was used to investigate the effect of sound waves on the efficiency of the process. X-ray diffraction analysis (XRD) (Model: Siemens, D5000 using Cu Kα radiation) was used to identify the crystal phase of GO sheets. In order to study the morphology and characteristics of the surface, a scanning electron microscope (SEM) (Model: KYKY-EM 3200) has been used. Statistical analysis of multivariate equations was performed using Design Expert statistical software (Version 10), and the effect of variables was determined.

Preparation of graphene oxide (GO)

In this method, the synthesis of graphene oxide (GO) as an adsorbent was performed by the Hummers method52,53. In order to prepare GO, 1 g of graphite powder and 0.5 g of sodium nitrate were poured into an Erlenmeyer flask. Then 23 mL of sulfuric acid was added to the Erlenmeyer flask and placed in an ice bath for 1 h on a shaker (1200 rpm). After 1 h, 3 g of potassium permanganate was slowly added to the contents of the Erlenmeyer flask. After homogenizing the solution, the Erlenmeyer flask was removed from the ice bath and stirred at room temperature for 12 h at 1200 rpm for 46 min. In the end, 100 mL of distilled water and 10 mL of hydrogen peroxide were added to the solution (to decompose metal ions). The GO was then washed with 250 mL of 5% hydrochloric acid and then several times with distilled water. Finally, the supplied GO was placed inside the oven at 50 °C for 72 h to dry.

Adsorption experiments

In order to investigate the uptake of ENF and RhB by GO, specific amounts of GO (0.1–0.3 g) were poured into 250 mL Erlenmeyer flask according to the experimental design. This Erlenmeyer flask already had 50 mL of the specified concentration of ENF (5–25 mg L−1) and 50 mL of the specified concentration of RhB (5–25 mg L−1). The pH of the solution was adjusted in the desired range (2–10). Erlenmeyer flask and its contents were placed in an ultrasonic bath at the time specified by the software (5–25 min). Also, after this time, the solution was centrifuged (3000 rpm) for 5 min. Finally, the upper part of the solution was sampled. The adsorption of the solutions was read using the UV/Vis spectrophotometer at 270 nm and 555 nm for ENF and RhB, respectively. The removal efficiency of ENF and RhB from Eq. 3 was determined.

$$\% \,{\rm{R}} = \frac{{{\rm{c}}}_{{\rm{o}}}-{{\rm{c}}}_{{\rm{e}}}}{{{\rm{c}}}_{{\rm{o}}}}\,\times \,100$$
(3)

where Co (mg L−1) and Ce (mg L−1) are the initial and equilibrium concentrations of the drug or dye in solution, respectively. Also, adsorption equilibrium capacity (qe) was obtained via the Eq. 4:

$${\rm{q}}_{{e}}\,=\,\frac{V\,({C}_{0}-{C}_{e})}{m}$$
(4)

In this Equation, V (L) is the volume of the analyte solution, and m (g) is the adsorbent mass.

Adsorption isotherms

Equilibrium adsorption isotherm models are essential requirements for the design of adsorption systems and the adsorbent-absorbed interactions that provide the necessary information about the adsorbent capacity. Isotherm models are plotted as the number of milligrams absorbed per gram of adsorbent versus the equilibrium concentration of adsorbent54. So, the experimental data were analyzed by the Langmuir, Freundlich, Langmuir-Freundlich, Redlich-Peterson, Toth, and Khan models.

Langmuir isotherm

The Langmuir isotherm is one of the most prominent isotherm models in the literature. It describes the nonlinear equilibrium between the amount of adsorbed analyte and its excess amount in solution at a constant temperature. The Langmuir isotherm shows that adsorbed analyte increases with increasing concentration until the adsorbent surface becomes saturated. In other words, adsorption increases with increasing analyte concentration as long as available sites are available. However, a further increase in analyte concentration does not increase the amount of analyte adsorption on the adsorbent when these sites are occupied. The Langmuir isotherm is described as Eq. 5:

$${\rm{q}}_{{e}}\,=\,\frac{{K}_{L}\times {C}_{e}\times {{\rm{q}}}_{{\rm{max}}}}{1+({K}_{L}\times {C}_{e})}$$
(5)

where, qe (mg g−1) is the adsorbed ions per unit mass of adsorbent at equilibrium, ce (mg L−1) is the equilibrium concentration of the species, qmax (mg g−1) is the maximum adsorption capacity, and kL (L mg−1) is the Langmuir coefficient related to the binding energy.

Freundlich isotherm

The Freundlich isotherm model is the main known relation that describes the adsorption process. This model is for multi-layer absorption. This isotherm is also used to adsorption on heterogeneous surfaces by interacting between adsorbed molecules. The application of the Freundlich isotherm also suggests that the adsorption energy decreases exponentially during the completion of the adsorption sites on the adsorbent surface. The Freundlich isotherm is expressed as Eq. 6.

$${\rm{q}}_{{e}}\,=\,{\rm{K}}\,\times \,{{\rm{C}_{e}}}^{1/{\rm{n}}}$$
(6)

where, qe (mg g−1) is the adsorbed ions per unit mass of adsorbent at equilibrium, n is the absorption intensity, Ce (mg L−1) is the equilibrium concentration, and K is the constant associated with the adsorption capacity at a unit concentration (mg g−1) (L mg−1)1/n.

Langmuir–Freundlich isotherm

The Freundlich isotherm considers the surface heterogeneity, and the Langmuir isotherm justifies the experimental surface adsorption process. The Langmuir-Freundlich isotherm is presented as Eq. 7 from integrating these two isotherms.

$${\rm{q}}_{{e}}=\frac{{({\rm{K}}\times {{\rm{C}}}_{e})}^{{\rm{n}}}\times {{\rm{q}}}_{{\rm{max}}}}{1+{({\rm{K}}\times {{\rm{C}}}_{{\rm{e}}})}^{{\rm{n}}}}$$
(7)

where, qe (mg g−1) is the adsorbed ions per unit mass of adsorbent at equilibrium, n is the non-uniformity factor of the surface, Ce (mg L−1) is the equilibrium concentration, K is the Langmuir- Freundlich constant, and qmax (mg g−1) is the maximum theoretical concentration of the adsorbed single-layer in the adsorbent.

Redlich-Peterson isotherm

The Redlich-Peterson isotherm is a combination of the Langmuir and Freundlich isotherms differently, and the parameters of both isotherms are considered. The Redlich-Peterson isotherm is defined in Eq. 8.

$${\rm{q}}_{{e}}\,=\,\frac{{\rm{K}}\times {{\rm{C}}}_{e}\times {{\rm{q}}}_{{\rm{max}}}}{1+{({\rm{K}}\times {{\rm{C}}}_{{\rm{e}}})}^{{\rm{n}}}}$$
(8)

where, qe (mg g−1) is the adsorbed ions per unit mass of adsorbent at equilibrium, n is the non-uniformity factor of the surface, Ce (mg L−1) is the equilibrium concentration, K is the constant of Redlich-Peterson, and qmax (mg g−1) is the maximum adsorption capacity.

Toth isotherm

The Toth isotherm is defined for adsorption on a non-uniform surface without lateral interactions, and asymmetric energy distribution is related to low absorption energy. The Toth isotherm is defined in Eq. 9:

$${\rm{q}}_{{e}}\,=\,\frac{{\rm{K}}\times {\rm{C}}\times {{\rm{q}}}_{{\rm{max}}}}{{(1+{({\rm{K}}\times {\rm{C}})}^{{\rm{n}}})}^{1/{\rm{n}}}}$$
(9)

In this equation, qe (mg g−1) is the adsorbed ions per unit mass of adsorbent at equilibrium, n is the non-uniformity factor of the surface, Ce (mg L−1) is the equilibrium concentration, K is constant Toth, and qmax (mg g−1) is the maximum adsorption capacity.

Khan isotherm

GO proposed the khan isotherm investigate the adsorption of the desired analytes. The Khan isotherm equation can show the properties of the Langmuir and Freundlich isotherms. For example, the Langmuir equation is obtained if 1 is placed in the equation instead of n. The Freundlich equation is also concluded if (K × Ce) is much larger than the unit. The Khan isotherm is defined in Eq. 10:

$${\rm{q}}_{{e}}\,=\,\frac{{\rm{K}}\times {{\rm{C}}}_{e}\times {{\rm{q}}}_{{\rm{max}}}}{{(1+({\rm{K}}\times {{\rm{C}}}_{{\rm{e}}}))}^{{\rm{n}}}}$$
(10)

where, qe (mg g−1) is the adsorbed ions per unit mass of adsorbent at equilibrium, n is the non-uniformity factor of the surface, Ce (mg L−1) is the equilibrium concentration, K is Khan constant, and qmax (mg g−1) is the maximum adsorption capacity.

Kinetic experiments

In adsorption reactions, information about the final state of a system, such as adsorbent capacity and reaction equilibrium constant, can be obtained by using thermodynamic data. However, the study of adsorption kinetics provides information on the reaction path, mechanism of adsorption and adsorption rate55. Adsorption and desorption are time-dependent processes. Awareness of adsorption rate and desorption rate is required to design and evaluate the adsorption system. To justify the mechanism, a series of adsorption processes on removing pollutants, pseudo-first-order, pseudo-second-order, Elovich, and intraparticle diffusion models, were investigated.

Pseudo first-order kinetics

The first velocity equation for adsorption in a solid-liquid system based on adsorbent capacity was proposed in early 1898 by Lagergren as Eq. 1156:

$$\frac{d{q}_{t}}{dt}={k}_{1}({q}_{e}-{q}_{t})$$
(11)

Equation 12 is concluded by integrating Eq. 11 and creating boundary conditions (t = 0, qt = 0) and (t = t, qt = qt):

$$\,\mathrm{Log}({{\rm{q}}}_{{\rm{e}}}\,-\,{{\rm{q}}}_{{\rm{t}}})=\,\mathrm{Log}({{\rm{q}}}_{{\rm{e}}})-\frac{{{\rm{k}}}_{1}}{2.303}t$$
(12)

where, qe (mg g−1) and qt (mg g−1) are the amount of analyte absorbed in equilibrium and at time t, respectively. k1 (min−1) is the pseudo-first order rate constant. k1 and qt can can be determined from the slope and intercept of the plot log(qeqt) versus of time.

Pseudo second-order kinetics

The pseudo-second-order kinetic model was proposed experimentally for the ion exchange process in 1984 by Blanchard57. Hu and McKay (1999) then used this equation for the adsorption process58. The pseudo-second-order kinetic equation for an adsorption system is described as Eq. 13.

$$\frac{{{\rm{dq}}}_{{\rm{t}}}}{{\rm{dt}}}={{\rm{k}}}_{2}{({{\rm{q}}}_{{\rm{e}}}-{\rm{q}}_{{\rm{t}}})}^{2}$$
(13)

Equation 14 was created by integrating the above equation and creating boundary conditions t = 0, qt = 0 and t = t, qt = qt:

$$\frac{{\rm{t}}}{{{\rm{q}}}_{{\rm{t}}}}=\frac{1}{{{\rm{k}}}_{2}{{\rm{q}}}_{{\rm{e}}}^{2}}+\frac{{\rm{t}}}{{{\rm{q}}}_{{\rm{e}}}}$$
(14)

where, qt (mg g−1) is the adsorption capacity at time t, qe (mg g−1) is the adsorption capacity at equilibrium time, t (min) is time, and k2 (g mg−1 min−1) is pseudo-second-order rate constant. k2 and qe can be obtained from the intercept and the slope of the equation, respectively, by drawing a linear plot \(\frac{t}{{q}_{t}}\) in terms of time.

Intraparticle diffusion model

The adsorption process is transferred in two stages, i.e., the adsorbed molecule is transferred from the solution to the adsorbent surface. It penetrates from the adsorbent surface into it in the next step. The second stage is a slow process in this kinetics, which determines the rate. The linear form of intraparticle kinetics is expressed as Eq. 15:

$${q}_{{e}}\,=\,{k}_{{\rm{diff}}}{{\rm{t}}}^{0.5}+{\rm{C}}$$
(15)

where, kdiff (mg g−1 min1/2) is the intra-particle penetration rate constant, qt (mg g−1) is the adsorption capacity in time, t (min) is time, and C is the thickness of the boundary layer. Multiple lines are obtained using the qt diagram relative to t1/2, which in this case indicates that the infiltration process is multi-stage. The slope and the intercept can be calculated directly from this line.

Elovich model

The Elovich model has been widely proposed to explain the adsorption kinetics and chemical adsorption of gases on solid adsorbents. Elovich model explains the adsorption kinetics of ion exchange. In other words, this is the best process kinetic expression when the adsorption mechanism is ion exchange. Elovich model is in the form of Eq. 16.

$$\frac{{{\rm{dq}}}_{{\rm{t}}}}{{\rm{dt}}}{={\rm{\alpha }}{\rm{e}}}^{-\beta {q}_{t}}$$
(16)

Equation 17 is obtained from Eq. 16 assuming αβt >> 1 and integration using boundary conditions (t = 0, qt = 0) and (t = t, qt = qt):

$${q}_{{t}}=\frac{1}{{\rm{\beta }}}\,{\rm{In}}\,({\rm{\alpha }}{\rm{\beta }})+\frac{1}{{\rm{\beta }}}{\rm{lnt}}$$
(17)

where, α (mg g−1 min−1) is the initial adsorption rate constant, β (mg g−1) is a parameter related to the amount of surface coating and activation energy for chemical adsorption, qt (mg g−1) is the adsorption capacity at time and t (min) is time. \(\frac{1}{{\rm{\beta }}}\) and ln(αβ)\(\frac{1}{{\rm{\beta }}}\) can be obtained from the slope and intercept, respectively, by plotting the linear graph qt versus lnt.

Thermodynamic study

In thermodynamics mainly relies on the initial and final state of the system. So, the thermodynamic parameters of the system can be obtained by having initial and final values. Analysis of thermodynamic studies reveals the reaction of entropy changes (ΔS°), enthalpy changes (ΔH°) and free energy changes (ΔG°), whether it is spontaneous or non-spontaneous, and whether it is endothermic or exothermic reactions. The values of thermodynamic parameters, including ΔS°, ΔG°, and ΔH°, are obtained using Eqs. 1821:

$${{\rm{K}}}_{{\rm{c}}}\,=\,\frac{{C}_{s}}{{C}_{e}}$$
(18)
$$\varDelta {{\rm{G}}}^{^\circ }=-{{\rm{RTlnK}}}_{{\rm{c}}}$$
(19)
$$\varDelta {{\rm{G}}}^{^\circ }=\varDelta {{\rm{H}}-{\rm{T}}\Delta {\rm{S}}}^{^\circ }$$
(20)
$$\log \,{{\rm{K}}}_{{\rm{c}}}\,=\,\frac{\Delta \,{\rm{S}}^\circ \,}{2.303R}-\frac{\Delta {\rm{H}}^\circ \,}{2.303R}\left(\frac{1}{T}\right)\,$$
(21)

where, Kc is the equilibrium constant, Cs (mg L−1) is the adsorbed concentration of the analyte on the solid surface, Cc (mg L−1) is the residual concentration of analyte on the solid surface, ΔG° is free energy changes, R is the gas constant (8.314 J mol−1 K−1) and T (K) is the absolute temperature. The values ΔH° and ΔS° are obtained from the slope and latitude from the origin of the curve lnKd versus \(\frac{1}{T}\). According to the results, the values of ΔG° indicate that the process is spontaneous if it is negative. Positive values of ΔH° suggest that it is endothermic and positive values of ΔS° show an increase in irregularity in the adsorbent surface for the desired contaminant.

Modeling and optimization using RSM

In this study, CCD based on RSM was used to optimize, determine the effect of independent variables and the simultaneous interaction between these variables on response performance (removal efficiency ENF and RhB) Design Expert software. In this design, X1 (GO amount), X2 (ENF concentration), X3 (RhB concentration), X4 (pH of solution), and X5 (sonication time) were the five variables affecting the response. Then, based on the number of variables and their levels, the experimental design table was determined. Different states in terms of solution pH, GO amount, sonication time, ENF concentration, and RhB concentration were determined, and experiments were performed by considering the inserted codes. All measurements were repeated three times. The design includes 16 factorial design points, 10 axial points, 6 central points, and a total of 32 experiments. Central points are a method for estimating and evaluating experimental error and measuring the lack of Fit. The response functions (Y) are a function of the coded variables and are represented by quadratic polynomials in Eq. 22:

$$Y={b}_{0}+\mathop{\sum }\limits_{i=1}^{4}{b}_{i}{x}_{i}+\mathop{\sum }\limits_{i=1}^{4}{b}_{ii}{{x}_{i}}^{2}+\mathop{\sum }\limits_{i=1}^{3}\mathop{\sum }\limits_{j=i+1}^{4}{b}_{ij}{x}_{i}{x}_{j}$$
(22)

The coefficients of the polynomial model are expressed as b0 (fixed expression), bi (linear effects), bii (quadratic effects), and bij (interaction effects). The significance of each sentence in the regression equation was investigated. RSM statistical design and analysis of variance were used to compare means, and the results were considered significant with a probability of P ≤ 0.05.