1 Introduction

Wastes from pharmaceutical products are a worldwide concern due to their contribution to environmental pollution, particularly wastewater effluents (Rac et al. 2014). When not handled properly, the waste by-products in pharmaceuticals can adversely affect the water sources and pose a significant threat to human health and the environment (Ahmad et al. 2020b). This problem has been increasingly alarming due to its rampant use (Souza et al. 2021). One of the most profoundly used medicines produced by pharmaceutical industries is non-steroidal anti-inflammatory drugs (NSAID). Among the NSAIDs, Ibuprofen (IBP) is the most consumed worldwide, bringing emerging undesirable concentrations into water bodies affecting aquatic life and public health (Wang and Yang 2020). Some adverse effects are cell oxidative imbalance, changes in growth rate, reproduction, and behavior of various aquatic organisms (Chopra and Kumar 2020).

There are attempts to remove the presence of IBP in water, such as but not limited to: using electro-peroxide in carbon cloth filter with a 64.87% removal rate (Yang et al. 2020), modified chitosan at 33% removal efficiency (Phasuphan et al. 2019), and persulfate process with 85% removal (Oba et al. 2021a). Another known method of removing contaminants in the water is adsorption, a more advantageous process because it does not need sophisticated equipment and is easy to use. Using activated carbon as an adsorbent is the best option for removing pharmaceutical pollutants considering its unique characteristics such as high capacity and porosity (Ahmed 2017). A recent study has concentrated on employing agricultural wastes as adsorbents because these contain carbon chains, amine groups, and carboxyl and hydroxyl groups that can easily attach to the surface of pollutant ions (Solomon et al. 2020). Among the potential candidates as an adsorbent in removing contaminants in the water is Acacia sawdust, a waste by-product of the wood processing industry. The sawdust of Acacia has a desirable porous feature, high carbon content, and low ash content (Jamoussi et al. 2020), making it a promising precursor for producing activated carbon with higher efficiency in the removal of contaminants in wastewater (Oladimeji et al. 2021). In another study, Acacia sawdust was found to be among the top three most efficient biosorbent in the elimination of hazardous contaminants [Cr(VI)] from aqueous matrices with 74.11% efficiency (Ahmed 2017). A similar study using sawdust treated with NaOH and H2SO4 revealed efficient removal of heavy metals from aqueous solution: Cr(VI) (111.61 mg/g), Pb(II) (52.38 mg/g), Hg(II) (20.62 mg/g), and Cu(II) (5.64 mg/g) (Meena et al. 2008). Besides, Acacia sawdust successfully removed textile dyes from wastewater with an adsorption capacity of 267.04 mg/g onto basic sawdust acacia and 6.19 and 230.76 mg/g onto acidic sawdust acacia, respectively, for Brilliant Blue and Methylene Blue sorption (Tounsadi et al. 2020). Hence, the potential of waste Acacia sawdust can be explored to remove pharmaceutical products that are recently found in water bodies.

This study exploits the use of Acacia sawdust from the wood processing industry as a low-cost biomaterial to remove the NSAID compound, particularly IBP, from an aqueous solution. Specifically, it evaluated the efficiency of activated carbon from Acacia sawdust in removing IBP. Furthermore, the process was optimized; considering adsorption contact time, adsorbent dose, and initial IBP concentration; using the central composite design of Design Expert software. The adsorption mechanisms were investigated through isotherm and kinetic studies.

2 Materials and methods

2.1 Sawdust collection, acid modification, and carbonization

The Acacia sawdust was collected at the lumbering/sawmill industry in Misamis Oriental, Philippines. Such sawdust was dried at 105 °C and then, sieved to obtain a fine form (Oladimeji et al. 2021). Only particles of 40–60 mm diameter were used in the study.

Chosen dried sawdust was chemically modified by soaking in H3PO4 for 24 h in a 65% (v/v) concentration at room temperature. Afterward, the excess solution was removed, and the chemically modified sawdust was carbonized using a muffle furnace at 600 °C for 1 h (Oladimeji et al. 2021). The activated carbon was washed thoroughly with distilled water until pH 7 was reached. The washed activated carbon was then oven-dried at 105 °C for 12 h.

2.2 Analytical methods of Acacia sawdust properties

The moisture content of the as-received Acacia sawdust was determined using an oven. Four samples were dried in an oven at 105 °C. The mass of the sample was determined from time to time. On a dry basis, the moisture content was computed when there was no significant change in the mass of the sample. The density was determined by calculating the quotient of the mass and volume of the sample of Acacia sawdust. The as-received Acacia sawdust has a density of 26 kg/m3 and a moisture content of 55.26 ± 4.62%.

The activated carbon from Acacia sawdust was analyzed using a scanning electron microscope (SEM) and Fourier-transformed infrared (FTIR) spectroscopy methods (Chakraborty et al. 2018), (Pagalan et al. 2020).

2.3 Preparation of Ibuprofen solution

Ibuprofen (IBP) was used as a contaminant in this study. The aqueous solution was made by dissolving Ibuprofen in distilled water at a predetermined dosage. Through a series of dilutions from a prepared 1000 ppm stock solution, the IBP concentration of each run, according to the design of the experiment, was prepared.

The efficiency (R) of activated carbon from Acacia sawdust in removing Ibuprofen in water was quantified using Eq. (1):

$${\text{ASAC removal efficiency}} \left( {R,\% } \right) = { }\frac{{C_{o } - C_{f} }}{{C_{o} }} \times100\% { }$$
(1)

where \({C}_{o}\) and \({C}_{f}\) are the initial and final equilibrium concentration (ppm) of Ibuprofen in the solution.

2.4 Parametric study and batch experiment

A calibration was first done by analyzing the absorbance of known concentrations of IBP (100–500 ppm). Such absorbances with their corresponding concentrations were plotted in a Cartesian plane using MS Excel, and the resulting trendline equation was used in computing the unknown concentration of IBP during preliminary and batch experiments. Simply, the absorbance (x) was inputted in the generated trendline equation (y = mx + b) to get the unknown IBP concentration (y).

The modeling of the removal of IBP contaminants was achieved by first doing preliminary runs, which were done before the batch experiment. In the preliminary runs, also known as parametric runs, the effects of each chosen variable were carefully studied independently. In this study, the chosen variables that have undergone a parametric study are initial Ibuprofen concentration (200–600 ppm), adsorbent dose (0.05–0.30 g), and contact time (20–70 min). These ranges of chosen variables' values are based on results of previous studies whereby optimum removal efficiencies were derived at these numbers.

After each run, the samples were filtered through a 0.45 μm membrane filter. The filtrate's absorbance with dissolved IBP was measured using a UV–Vis spectrophotometer set at 480 nm. An algorithm established from previously executed calibration experiments at known concentrations was used to calculate the residual IBP concentration.

The result of the parametric study became the basis of the design of the experiment using Design-Expert software. With this software and considering the data trend, experimental runs were generated considering the chosen variables in removing Ibuprofen, such as the effects of initial concentration, adsorbent dose, and contact time.

The experiment runs were carried out in a 250 mL Erlenmeyer flask with a working volume of 100 mL. The desired dose of activated carbon from Acacia sawdust was mixed in the aqueous solution with a predetermined IBP concentration. It was stirred using a magnetic stirrer according to a predetermined contact time based on the design of the experiment. All experimental results were entered into the Design-Expert program for statistical analysis and optimization.

After each run, the mixture was separated through filtration using filter paper. A UV–Vis spectrophotometer set at 480 nm wavelength determined the solution's absorbance. The residual Ibuprofen concentration was determined using the linear equation from the calibration curve firstly prepared for the purpose. After that, all the experiment results were entered into the Design Expert software for statistical analysis and optimization.

2.5 Statistical analysis

The experimental data were analyzed through analysis of variance that is built-in in the Design Expert software. It generated the best-fit response surface model; and the p values of variables (initial concentration, adsorbent dose, and contact time). The analysis was supplemented by rotatable 3D charts displaying 3D response surfaces.

The numerical optimization function of the central composite design using Design Expert software determined the most desirable solutions. Actual laboratory experiment runs were done to assess the combination of values of the chosen variables.

2.6 Isotherm and kinetic studies

The optimum conditions established through numerical optimization were used in the isotherm study, which was done according to classical methods such as Langmuir (Langmuir 1918) and Freundlich (Freundlich 1906). The optimum adsorbent dose and contact duration values were kept constant throughout the experiments, while the initial Ibuprofen concentration was the variable. Each run was replicated three times. Eq. (2) was used to examine the Langmuir isotherm, while Eq. (3) was employed in plotting Freundlich isotherm model:

$$\frac{1}{{q_{e} }} = \left[ {\frac{1}{{bQ_{O} }}} \right]\frac{1}{{C_{e} }} + { }\frac{1}{{Q_{o} }}$$
(2)
$${\text{log}}q_{e} = {\text{ log}}K_{f} + { }\frac{1}{n}{\text{log}}C_{e}$$
(3)

where \(Qe\) is the amount of adsorbate adsorbed per unit mass of adsorbent (mg/g), \(Qo\) is the adsorption capacity (mg/g), \(b\) is the energy of adsorption (L/mg), \(Ce\) is the equilibrium concentration of the adsorbate (mg/L), \(Kf\) is the Freundlich capacity factor, and \(1/n\) is the intensity variable.

The kinetic study was based on optimum conditions established using variable contact time. Like another study (de Luna et al. 2017), the experimental data, in triplicate, were used for first- and second-pseudo-order kinetics. The first-order and second-order kinetic equations are shown in Eqs. (4 & 5)

$$InC_{t} = InC_{o} - k_{1} t$$
(4)
$$\frac{1}{{C_{t} }} = \frac{1}{{C_{o} }} + k_{2} t$$
(5)

where \({C}_{0}\) is the initial concentration of Ibuprofen (g/L), \({C}_{t}\) is the concentration of reaction time (mg/L), t is the contact time (min), \({K}_{1}\) is the first-order rate constant (h−1), and \({K}_{2}\) is the rate constant of second-order (min/L).

3 Results and discussion

3.1 Characteristics of carbonized Acacia sawdust

Activated carbon's surface structure and pore distribution from Acacia sawdust were determined using scanning electron microscopy or SEM (Fig. 1). The analysis showed that the activation process using H3PO4 caused modification of the structures of Acacia sawdust by burning its particles, resulting in numerous pores on the adsorbent. It is also observed in another study showing the same characteristics (Ahmad et al. 2020a, b). A similar study using coconut husk activated carbon revealed a successful removal of IBP with evidence that such compound stuck onto the pores of the adsorbent (Solomon et al. 2020). This result is likewise observed in the removal of IBP using ASAC, whereby the IBP compound was trapped in the adsorbent (Fig. 1b). As observed, the ASAC is surrounded by numerous small particles, most likely IBP. It implied that IBP removal using ASAC was successful as the micropores accommodated the IBP compound and permanently stuck onto the surface.

Fig. 1
figure 1

SEM images of a pristine, and b spent ASAC

The functional groups on the surface of the ASAC are primarily responsible for the IBP adhesion that occurs via adsorption (Chakraborty and Halder 2020). Like in Fig. 2, the FTIR analysis enables one to make accurate predictions about the presence of functional groups on the surface of sorbents before and after IBP adhesion (Wahab et al. 2010). The identified bands of the FTIR spectra are presented in Table 1. The peak at 3327 cm−1 and 3359 cm−1 indicated the O–H stretching of the bonded hydroxyl groups. It is an indication that alcohol is present in ASAC. The same result was found in the previous study, whereby -OH groups were found in 3470 cm−1 (Li et al. 2017) and 3336 cm−1 (Zhu et al. 2009) of the surface of activated carbon.

Fig. 2
figure 2

FTIR spectra of a) pristine and b spent ASAC

Table 1 FTIR spectral characteristics of ASAC before and after adsorption

Asymmetry was observed at 2197 cm−1 and 2202 cm−1 due to the stretching of numerous bonds (–N=C=O asym. stretch) and the stretching of nitrogen bonds. This result implied that the ASAC adsorbent has a possible composition of cyanide, isocyanate, and thiocyanate (Tran et al. 2021). This outcome postulated that nitrogen molecules may have bonded to the ASAC surface at 2300–1990 cm−1 (Coates and Ed 2000), and numerous bond chemistries have accumulated. At 1984.24 cm−1and 1959.29 cm−1, there was a clear indication of C-O stretching consisting of oxygenated groups such as alcohol, phenols, and ethers. It showed that such oxygenated compounds with C–O stretching are present on the ASAC surface.

The notable C–H stretch was seen in 1750–1680 cm−1, indicating a carboxylic acid group. Particularly, the detected peak of 1689.13 cm−1 in the spent ASAC only indicated the presence of the carboxylic acid group. Such a band can be ascribed to propionic acid (Guedidi et al. 2017), which in this study is Ibuprofen. This peculiar band is expected because of the deposition of Ibuprofen (propionic acid) in the matrices of ASAC during adsorption. This outcome that can be observed only in the spent ASAC manifested the physical attachment of IBP onto the ASAC during adsorption.

The C=C stretch, observed at 1560.02 cm−1 and 1557.56 cm−1, suggests the presence of aromatic groups. Previous work reported the same findings whereby 1575 cm−1 was ascribed to aromatic C=C stretching vibrations (Tran et al. 2021). The -SO3 stretch band due to ether groups at 1300–1000 cm−1 occurred at 1276.21 cm−1 and 1290.16 cm −1, indicating the presence of silanol. This band relates to surface silanol's H-bonded Si–O stretching mode (Tripp and Hair 1993), and 1132 cm−1 or 1035 cm−1 as Si–O-Si stretching (Airoldi and Alcântara 1995). The O–H deformation was found within 1300–1000 cm−1, indicating the existence of hydroxyl groups. The actual peaks were observed at 1143.53 cm−1 and 1143.08 cm−1, ascribing the presence of alcohols (primary and secondary) and aliphatic ethers. This observation was also reported in another study postulating that 1050 cm−1 and 1200 cm−1 vibrations can be attributed to alcohols, phenols, acids, or esters (Zheng et al. 2014; Sun et al. 2015).

The C-O stretch, which can be used to determine whether alcohol groups are present, was observed in 1150 cm−1 and 1000 cm−1. Actual peaks were found in 1063.92 cm−1, 1064.75 cm−1, 1026.00 cm−1, and 1022.67 cm−1, indicating the presence of ethers, phenols, and alcohol. As described in the previous works, the band in this range, like 1028 cm−1, can be attributed to the elongation vibration of C–O bonds in alcohols, phenols, and ethers (Li et al. 2020; Oba et al. 2021b). The presence of an aromatic group can be observed from the peaks found in the band between 860 and 800 cm−1. The actual peaks at 810.13 cm−1 and 810.19 cm−1 indicated that ASAC contains aromatics, including alcohol. This result is supported by the previous finding, stating that the bands at 875–750 cm−1 were attributed to aromatic C–H out-of-plane bending vibrations, suggesting the occurrence of aromatization (including alcohol condensation and dehydration (Li et al. 2017). An out-of-plane C–H vibration bond was observed at 736.26 cm−1 and 736.56 cm−1, signifying the presence of alkenes in ASAC. The same finding was articulated in a prior study, with 786 cm−1 and 707 cm−1 peaks corresponding to alkenes' C–H bending vibrations (Caglayan and Aksoylu 2013).

Overall, the identified functional bands of O–H, C–O, and COOH groups provide sites for interaction for hydrogen bonding between ASAC and IBP. In contrast, the aromatic regions indicated by the C–C stretch enable interaction via π-stacking (Omorogie et al. 2021). This means that Van der Waals and hydrogen bonding interactions with the carboxylic groups of IBP were mediated by oxygeneous functional groups. The ASAC's oxygeneous functional groups (such as carbonyl, phenolic, and others) can form a donor–acceptor contact with IBP's aromatic ring [16]. The mechanism of IBP adsorption, in the case of adsorbents containing an H-donor functional group (–OH), can be based on the complexation between a hydrogen bond and an anionic IBP conjugate (H-acceptor) [13]. Additionally, any lone pair of oxygen electrons on an oxygenated ASAC adsorbent can form donor–acceptor complexes via a dipole moment with IBP molecules. In effect, such carbonyl groups of stronger dipole moment donated the electron, which can be accepted by the IBP aromatic ring (Mattson et al. 1969). These interactions are fundamental for binding IBP onto ASAC, which is responsible for the good IBP adsorption capacity.

3.2 Optimization of experimental conditions

At variable adsorbent dose (0.05–0.30 g), the removal percentage increases from 44.4 to 91.1% (Fig. 3). An increase in adsorbent dose provided additional active sites for adsorbates to occupy. According to a study of date stone biochar for sorptive removal of Ibuprofen, most of the unoccupied active site was initially accessible, resulting in IBP distribution to the unrestricted active site of the adsorbents' surface area (Chakraborty et al. 2020). The removal of IBP that peaked at 91.1% suggested that 0.30 g ASAC would serve as the main basis in the range of the mass of adsorbent dose when designing the experiment for batch adsorption of IBP.

Fig. 3
figure 3

Ibuprofen removal rate at a variable ASAC adsorbent dose (Constant: 60 min contact time, 300 IBP initial concentration)

At variable contact times (20—70 min), the removal of IBP increases as the contact time also increases from 66.7% to 88.9% (Fig. 4). Based on the trend of the IBP removal rate using ASAC at variable contact time, it can be implied that IBP can best be removed at 50–70 min. The same was used as the basis in the design of the experiment for batch adsorption of IBP.

Fig. 4
figure 4

Ibuprofen removal rate at variable contact time (Constant: 0.25 g ASAC adsorbent dose, 300 IBP initial concentration)

At variable initial IBP concentrations (200–600 ppm), there is an increasing trend of IBP removal from 83.3 to 94.4% (Fig. 5). Because more IBP surrounds the active sites of the produced ASAC adsorbent in the solution at higher initial concentrations, the steadiness of the adsorption capacity of activated carbon increases as the IBP concentrations increase, thereby improving the adsorption activities. In the related study of the removal of diclofenac using Isabel grape bagasse, published elsewhere, similar effects of diclofenac initial concentration to removal rate were found whereby dosage from 15 to 30 mg/L resulted in a shorter equilibrium period (100 to 80 min), with elimination percentages ranging from 16.4 to 22.8 (de Luna et al. 2017). It further postulated that the interaction between the adsorbent and the adsorbate was increased as the concentration was raised, resulting in larger removal percentages. The initial study's findings at different IBP concentrations suggested that removal rates are rising even at higher concentrations, with a 94.4% removal rate at 600 ppm—the basis of the design of the experiment.

Fig. 5
figure 5

Ibuprofen removal rate at variable initial IBP concentration (Constant: 0.25 g ASAC adsorbent dose, 50 min contact time)

3.3 Efficiency of Acacia sawdust activated carbon in the removal of IBP

Through optimization of experimental conditions, the 0.25 g adsorbent dose, 50 min contact time, and 500 ppm of IBP initial concentration were considered as the center points (coded level 0) in the making of the design of the experiment using the central composite design of the response surface methodology (Table 2). With these chosen factors, 20 runs were generated, ready for batch experimentation to determine the efficiency of Acacia sawdust activated carbon in removing Ibuprofen.

Table 2 Experimental range and level of independent factor

The batch experiments were conducted following the CCD experimental design (Table 3). It was discovered that the ASAC effectively removed Ibuprofen from aqueous solutions between 72.22 and 100%. These findings revealed that the interplay of the operating variables impacts ASAC's Ibuprofen removal efficiency.

Table 3 Result of the batch experiment of Ibuprofen removal using ASAC

Table 4 shows that Ibuprofen removal using ASAC can be reliably simulated (p value = 0.0001). The Prob > F is also significant, with only a 0.01% chance of error when using ASAC to predict the percentage removal of IBP from an aqueous solution. Using the generated quadratic equation, the results were 99.99% reliable and precise in predicting the desired outcome value of percent IBP removal. A p value of 0.9399 for a non-significant lack of fit indicated that the data were well-fit and the model developed was reliable. Moreover, the model's R2 value of 0.9399 supported the claim that the model equation, Eq. (6), could estimate the percentage of Ibuprofen removed using ASAC.

$$\begin{aligned} y & = 236.51649 - 980.36538A + 0.63978B - 0.18691C \hfill \\ & \quad + 1.38887AB + 1.66665AC - 0.00138887BC \hfill \\ & \quad + 305.19175A^{2} - 0.000703456B^{2} - 0.000193541C^{2} \end{aligned}$$
(6)
Table 4 Analysis of variance of the removal of Ibuprofen using Acacia sawdust activated carbon

Considering the algebraic signs of the terms of the equation, the positive sign of B means increasing the contact duration independently of IBP and ASAC in an aqueous solution, resulting in a higher percent removal. On the other hand, the negative coefficient of ASAC adsorbent dose (A) and initial IBP concentration (C) could independently reduce the removal efficiency. Only the interaction of AC (p value = 0.0001) can be statistically explained as having substantial impacts among the three interacting variables (AB, AC, and BC). Increasing the numeric coefficient of AC would lead to an increased percent removal of Ibuprofen. Additionally, the term C2 with a negative numerical coefficient is significant (p value = 0.0067), indicating the reduction in the removal rate of Ibuprofen from the aqueous solution using ASAC.

3.4 Interactive effects of the significant variables in the removal of IBP using ASAC

According to Fig. 6, the increase in ASAC dose at high IBP concentration showed an increasing trend in the aqueous solution's removal percentage. More adsorbent means more active sites for the IBP and ASAC to interact, leading to the sticking of IBP onto ASAC surfaces. At lower IBP concentrations, the percent removal is generally high. This observation can be attributed to successful adsorption, considering that low concentration means the available active sites of ASAC successfully accommodated a few IBP particles in the solution. A study also shows a similar effect of the interaction with initial concentration and adsorbent dose in Prosopis juliflora activated carbon (PJAC) whereby adsorptive uptake of ofloxacin indicated that, at low PJAC dosage, the percentage uptake was less. However, as the PJAC dose was increased, the proportion of ofloxacin uptake gradually increased up to some point and eventually decreased thereafter (Kaur et al. 2022). Additionally, the availability of more ofloxacin explained the variance in the removal rate's increasing trend with concentration.

Fig. 6
figure 6

Effect of adsorbent dose and initial dose of Ibuprofen removal by Acacia sawdust activated carbon

3.5 Result of numerical optimization

According to the optimization outcome generated by the software using the batch experiment data, the best conditions that would result in an optimum theoretical IBP yield of 99.39% are at 0.20 g adsorbent dose, 60 min contact time, 400 ppm initial IBP concentration (Table 5). The actual result shows 98.61 ± 1.39% IBP removal in an aqueous solution with a percent error of 0.78% from the theoretical value. The predicted 99.39% and an actual 98.61 ± 1.39% IBP removal rates were significantly close.

Table 5 Optimum conditions to efficiently remove Ibuprofen using Acacia sawdust activated carbon

3.6 Isotherm and kinetic modeling

The interaction between IBP and ASAC via adsorption was investigated via an isotherm study employing a constant adsorbent dose of 0.20 g, contact time of 60 min, and variable IBP concentrations of 300, 400, 500, 600 and 700 ppm.

The result showed that the Langmuir model provided the best fit in explaining the adsorption mechanism between IBP and ASAC with an R2 value of 0.9787, way higher than the R2 of 0.8446 of the Freundlich model (Fig. 7). This finding suggested that the adsorption mechanism was monolayer adsorption on the surface of the homogeneously organized adsorbent (Priyantha et al. 2015; Aurich et al. 2017). The IBP molecules stick onto the surface of the ASAC in a single layer, implying that a greater volume of ASAC adsorbent would result in higher IBP adsorption efficiency. A review on the removal of IBP via numerous adsorbents also showed Langmuir model as the best-fitted isotherm that explained the removal of IBP (Oba et al. 2021a).

Fig. 7
figure 7

Isotherm analysis result using a Langmuir model, b Freundlich in the removal of IBP using ASAC

The isotherm constants of the two isotherm models are shown in Table 6. With the most fitted Langmuir model, the adsorption capacity of ASAC achieved an adsorption capacity of 121.95 mg/g. A gram of ASAC can efficiently remove 121.95 mg of IBP in an aqueous solution.

Table 6 Isotherm constants and correlation coefficients

The result is a little lower than the IBP adsorption uptake using rice husk acid-AC (239.8 mg/g) but got better adsorption efficiency than palm shell AC (100.6 mg/g), activated coco husk (76.92 mg/g), unmodified palm shell AC (72.70 mg/g), acid-functionalized bean husk (50.0 mg/g), pinewood biochar (10.74 mg/g) and activated apple wood biochar (2.50 mg/g) (Table 7). Therefore, the ASAC brings a huge potential for activated carbon production with a higher ability to remove IBP from an aqueous solution.

Table 7 Adsorption capacities of different organic adsorbents for aqueous IBP uptake

The most appropriate kinetic model was determined by conducting experimental kinetic runs under the optimum conditions of the initial IBP concentration of 400 ppm, adsorbent dose of 0.20 g, and variable contact time (30–70 min). Figure 8 illustrates the results of the experimental runs of the kinetic model analysis with corresponding kinetic constants shown in Table 8.

Fig. 8
figure 8

Kinetic models showing a pseudo-first-order, and b pseudo-second order in the removal of IBP using ASAC

Table 8 Kinetic model constants and correlation coefficients in the removal of IBP using ASAC

The results showed that the pseudo-first-order was the fittest model for IBP uptake from aqueous solution via adsorption with a correlation coefficient (R2) of 0.9863, way better than R2 of 0.2275 for the pseudo-second-order model. There is strong evidence that physisorption took place, and it also shows that diffusion was in charge of the adsorption process while the experiment was conducted (Simonin 2016). The type of reaction is directly related to the concentration of the reactants (Baek et al. 2010). Similar research employing rape straw biomass fiber/-CD/Fe3O4 as an adsorbent in removing IBP discovered that hydrogen bond forces and electrostatic interaction are involved in the adsorption process, suggesting that physisorption is crucial in the removal of IBP (Wu et al. 2021). This work can be interpreted by saying that IBP removal using ASAC happened through the physical bonding of IBP molecules onto the surface of ASAC through Van der Waals forces. Like the study using waste coffee residue in removing IBP, it can be concluded that adsorption progressed spontaneously and endothermically and was mainly controlled by the pore-filling effect, hydrogen bonding, and ππ EDA interaction (Shin et al. 2021).

4 Conclusion

The use of waste Acacia sawdust from the wood processing industry has been exploited and proven to be among the low-cost biomaterial in the removal of Ibuprofen, a non-steroidal anti-inflammatory drug that is found in water bodies as a pollutant. The Acacia sawdust is a promising precursor in producing Acacia sawdust activated carbon (ASAC) to remove Ibuprofen and may be other NSAIDs in an aqueous solution. With H3PO4, the Acacia sawdust was chemically modified, with ASAC showing better pore structures desirable for adsorption. The IBP adsorption onto ASAC was successful because the functional groups, such as O–H, C–O, and COOH, reacted in various ways. Compared to other activated carbons employed in removing IBP, the results revealed a high adsorption capacity of 121.95 mg/g. Because of the active adsorption sites, the IBP removal rate is high at high ASAC dosages. More ASAC results in more elimination of the IBP compound since IBP was linked to the ASAC active sites in a monolayer (Langmuir isotherm). The physical adsorption (physisorption) explained how the adsorption mechanism removed IBP using ASAC (pseudo-first-order kinetics).