Introduction

Nowadays, water quality is deteorating due to large number of pollutants which needs great priority due to concern from Malaysia is getting polluted and needs priority concern from the authorities and local government. One of the factors of the water pollution occurrence is the rapid growth in the manufacturing industry and the beginning of usage of synthetic chemicals major sources since the early twentieth century (Owa 2013). Generally, the sources of water pollution are from agriculture, sewer system, commercial, domestic waste and industrial waste (Molva 2004). The industrial process produces a lot of products and by-products which have severe risks and health issues to human beings such as carcinogenic, mutagenic and toxicity properties (Elwakeel et al. 2018; Elwakeel et al. 2015; Pradeep et al. 2015). In addition, the industrial wastewater from the manufacturing halogenated organics release a very high concentration of the hazardous compound, and the amount of concentration may reach as high as hundreds of mg/L (Pradeep et al. 2015). There are also many other types of industrial wastes that have organic material which has difficulties to be removed using conventional biological treatment processes (Farhod 2010). Wastewater refers to all discharge liquid waste or sewage from the domestic and commercial areas (Amoatey and Bani 2011). The sources of wastewater are from the mixture of agriculture, sewer, commercial, domestic and industrial activities (Gami et al. 2014). Globally, approximately two million tons of wastewater from industrial, sewage and agricultural waste are produced in the world every day (Taylor 2003). There is also approximately 1500 km3 amount of wastewater produced annually, which is six times more than the amount of water in all existing rivers in the world (Taylor 2003). Major industries are widely using certain chemicals and organic materials to produce their desired product. Each process of production in the industry could produce different hazardous waste due to the long steps taken, which involve a lot of reactions (Pradeep et al. 2015). To consider waste as a hazardous substance, it must be reactive, corrosive, ignitable and toxic (Sihem et al. 2012). Based on a study made by Molva ,2014, there is around 95% of the chemical that has been acknowledged as hazardous and toxic chemical by referring to its amount of production, exposure and living side effects (Molva 2004). One of the top listed chemicals which is classified as the toxic and hazardous chemical is phenolic compound. Phenol is usually used as a raw material in the industry to produce a lot of chemical products such as petrochemicals, pesticides, dyes, pharmaceuticals and plastics (Abdelwahab and Amin 2013).

Phenolic compounds have a high concentration of toxic and can be absorbed directly into the human body. United States Environmental Protection Agency (USEPA) (Bohdziewicz et al. 2012) and European Union (Chakraborty et al.) clarified that phenol is one of the pollutions that must be under priority concern due to its toxicity (Jiboury 2013). In a study, phenol has been classified by USEPA to be the 11th out of 126 chemicals as a priority pollutant due to their level of toxicity (Farhod 2010). Another government environmental agencies like World Health Organization (WHO) (Panagos et al. 2013) (Hsieh et al. 2008), European Council Directive (Tziotzios et al. 2005), Japan Ordinance Law No. 15 (Dahalan 2014), United Arab Emirates (UAE) (Al Zarooni and Elshorbagy 2006), Department of Environment (DOE) in Malaysia (Gupta and Ahmad 2012) and Argentina based on Law 24051 have provided certain regulation of phenol concentration before releasing it to the environment (Coniglio et al. 2008).

Therefore, elimination of phenol is a necessity to protect the environment and human beings (Abdelwahab and Amin 2013). The technology of phenol removal and treating the wastewater is growing extensively (Karri et al. 2017a). But every technology has its own disadvantage in terms of infrastructure and efficiency of the removal process. Therefore, magnetic biochar is invented for phenol removal and other types of hazardous wastes in the wastewater. Magnetic biochar is a new magnetic carbon adsorbent which is produced from different types of biomass that shows the good magnetic property (Mubarak et al. 2016). There are three different methods of synthesis of magnetic biochar, which are pyrolysis method, co-precipitation method and calcination method (Thines et al. 2017b). Recently, many studies showed that usage of magnetic biochar for environmental application for removal of heavy metals and dyes from wastewater (Chakraborty et al. 2005; Elgarahy et al. 2019; Qiu et al. 2009). The example types of biomass that have been used as magnetic biochar are corn cob (Ma et al. 2015), cereal by-product (Sihem et al. 2012), paper mill sludge (Devi and Saroha 2014), sawdust (Dakhil 2013), olive mill waste (Abdelkreem 2013) and palm kernel shell (Karri et al. 2017a; Karri and Sahu 2018; Karri et al. 2017b; Mubarak et al. 2016). The materials can be found widely as agricultural waste, and they contain a high amount of mineral and high porosity size (Thines et al. 2017b). The size of porosity could affect the adsorption rate of the organic material. Therefore, the higher the porosity size of the magnetic biochar, the higher the adsorption rate (Ayotte et al. 2001). The usage of magnetic biochar would not jeopardize the environment as the source of it is from agricultural material waste. One of the advantages of using magnetic biochar is can be simply removed from the soil matrix whenever the necessity ascends using simple principles of magnetism synthesised palm.

In this research study, a palm kernel magnetic biochar is used to test the adsorption capacity for phenol removal from wastewater together with the single factor optimization and statistical optimization of the process parameters like pH, agitation speed, contact time and magnetic biochar dosage. The study of isotherm and kinetic model are investigated. The thermodynamic study for phenol removal and characterization of magnetic biochar were also investigated in this research.

Materials and methods

Materials

The source of the palm kernel magnetic biochar production is similar to previous research work (Thines et al. 2017a). Meanwhile, the source of the phenol crystal is purchased from Sigma-Aldrich Malaysia with assistance from the Curtin laboratory staff.

Purification of palm kernel magnetic biochar

The palm kernel magnetic biochar sample is taken from the supervisor, and it is left soaked for 1 day. Then, the magnetic biochar is filtered with distilled water until it reaches its neutral pH value. Then, it was dried in a Memmert oven at 80 °C for 24 h. Once the sample becoming dry, it is stored in a bottle which is closed tightly. The purpose of purification is to dehydrate the palm kernel magnetic biochar until it can achieve constant weight.

Preparation of stock solution and reagents

The stock solution of phenol was prepared by diluting the phenol crystal with the mass of 0.01 g into 1 L of distilled water to produce phenol solution of 10 mg/L which is set to become initial concentration and used in the batch adsorption studies. One hundred millilitres of 0.1 M of hydrochloric acid (HCl) and 100 mL of 0.1 M of sodium hydroxide (NaOH) solution were prepared to diverge the pH of phenol solution from pH 4, pH 6 and pH 8.

Batch adsorption studies

A series of experiment has been done by having a consistent value of the initial concentration of phenol solutions of 10 mg/L. The process parameters like agitation speed, pH value, agitation time and adsorbent dosage, as shown in Table 1, are varied to find the optimum condition for the adsorbent to give the maximum adsorption capacity. For each set of experiment, it has been done using 100 mL of 10 mg/L of phenol solution and the experiment is carried out using 100 mL of the conical flask at the room temperature. The mixing of the phenol solution and the adsorbent is being done using the KS-501 IKA WERKE Orbital Shaker with a different set of process parameters.

Table 1 Parameters used in batch adsorption studies

After the mixing process, the phenol solutions are filtered using Whatman filter paper with a diameter of 125 mm. The filtered phenol solutions are placed into closed tight tube; meanwhile, the adsorbents are transferred in zip lock bags for further tests. The absorbance of filtered phenol solution is measured by using Perkin Elmer UV-VIS Spectrophotometer at a wavelength of 270 nm together with a standard phenol solution and distilled water. The result of the final concentration of the phenol solution is gained from the final absorbance values, and the concentration is calculated using Beer’s Law at the end of all the test. Then, the percentage of removal of phenol and the adsorption capacity is calculated using Eqs. 1 and 2 shown below:

$$ \mathrm{Percentage}\ \mathrm{Removal}\ \mathrm{of}\ \mathrm{Phenol}=\frac{C_i-{C}_f}{C_i}\times 100 $$
(1)
$$ \mathrm{Adsorption}\ \mathrm{Capacity}\ \left({q}_t\right)=\frac{\left[\left({C}_i-{C}_f\right)\ V\right]}{M} $$
(2)

Where qt is adsorption capacity (mg/g) at time t, Ci is phenol solution initial concentration (mg/L), Cf is phenol solution final concentration (mg/L), M is palm kernel magnetic biochar weight (g) and V is volume of the phenol solution (L).

Modelling of adsorption isotherm and kinetic study

The adsorption isotherm and kinetic study for removal of phenol is investigated by having phenol solutions at different concentrations (10 mg/L, 20 mg/L, 30 mg/L, 40 mg/L, 50 mg/L, 60 mg/L, 70 mg/L) and constant parameters like magnetic biochar dosage 0.6 g, maximum contact time of 100 min, agitation speed of 180 rpm and pH of phenol solution of pH 8. The samples are taken at a certain time interval and are filtered using filter paper. The final concentrations of the samples are analysed to determine the residual amount of phenol left in the aqueous solutions.

The inherent adsorption mechanisms can be identified by fitting the equilibrium experimental data to the conventional isotherms. Table 2 summarizes several isotherm models which expressed in non-linear forms. Most of the researchers use the linear form, for simplicity of evaluating the isotherm parameters by fitting the data to the conventional kinetic models. In this study, two conventional kinetic models, which are pseudo-First and Second order, and two intraparticle diffusion models, namely Boyd and Weber–Morris, kinetic models, were investigated. The respective expressions that describe the kinetic models are presented in Table 3, respectively.

Table 2 Various forms of isotherm models for single component expressed non-linear forms
Table 3 Summary of different conventional types of kinetics used to estimate the adsorption rate

Characterization of palm kernel magnetic biochar

For the physical structure and morphology of palm kernel magnetic biochar before and after adsorption are tested using field emission scanning electron microscope (FESEM). For the effect of the surface functional group of the palm kernel, magnetic biochar is tested using the Fourier transform infrared spectrophotometer (FTIR). Lakeshore-7300 vibrating sample magnetometer (VSM), the saturation magnetization of palm kernel magnetic biochar, is tested to see magnetic field and magnetization of the adsorbents.

Results and discussion

Effect of dosage

A series of experiments has been made to identify the optimum condition for the dosage of magnetic biochar needed to be used for the removal of phenol. The amount of dosage of magnetic biochar being used in these experiments are 0.2 g, 0.4 g and 0.6 g. The result is calculated from the initial concentration of phenol solution and the final concentration of phenol solution after being removed by magnetic biochar at a certain amount of the dosage. The expected outcome of this experiment is that the percentage of removal of phenol increases as the number of magnetic biochar increases. From the graph in Fig. 1, it is shown that the highest percentage occurs at a dosage of 0.6 g of removal of phenol which is 90.7% occurs at the highest amount of dosage, which is 0.6 g. The reason is that the higher the amount of dosage used in the reaction, the higher the number of the active site available for phenol to adsorb to the surface of palm kernel magnetic biochar (Gao et al. 2017) (Shahamat et al. 2014). Once the active side of the magnetic biochar is fully occupied, the desorption process occurs, which can be seen at a dosage amount of 0.8 g by carrying out a set of experiment.

Fig. 1
figure 1

Effect of dosage

Effect of agitation speed

The experiment is also being done by varying the speed of the orbital shaker once the magnetic biochar intact with phenol solution, which are 80 rpm, 130 rpm and 180 rpm. The results are calculated from the initial concentration of phenol solution and phenol concentration after being removed by magnetic biochar at a certain speed. The expected result of the experiment is that the removal percentage of the phenol will increase as the speed of the orbital shaker increases. From the graph in Fig. 2, it is shown that the highest percentage of removal of phenol which is 90.7% occurs when the speed of the shaker is at 180 rpm. It is because the higher speed of the orbital shaker affects the rate of diffusion of phenol molecules that become higher when it is surrounding the magnetic biochar particle due to the high speed and reducing the liquid boundary layer thickness (Asmaly et al. 2015) (Archana et al. 2016) (Kargari and Abbassian 2015). Once the rate of diffusion of phenol molecule at optimum speed has achieved, a set of experiment has been carried out to identify desorption process has occurred which can be seen at the orbital shaker speed at 200 rpm.

Fig. 2
figure 2

Effect of agitation speed

Effect of contact time

The effect of contact time for removal of phenol is shown in Fig. 3. A series of experiments are also being carried out by varying the amount of time contact of phenol solution and magnetic biochar, which are 10 min, 30 min and 50 min. The result is calculated from the initial concentration of phenol solution and the final concentration of phenol being removed by magnetic biochar by the certain duration of contact time. The expected result of the experiment would be as the contact time of the phenol solution, and magnetic biochar increase, the removal percentage of phenol will increase. Figure 3 shows that the highest percentage of removal of phenol which is 90.7% occurs when the contact time is at 50 min. This is because as the contact time increases, phenol compound and magnetic biochar have a longer time to interact between each other (Gholizadeh et al. 2013) (Abdel-Ghani et al. 2014) (Dilekoglu 2016). A set of experiment has been carried out to identify the desorption process of phenol solution occurrence, which then occurs at the contact time of phenol solution and palm kernel magnetic biochar reach 80 min.

Fig. 3
figure 3

Effect of contact time

Effect of pH for removing phenol

The experiment has also been done by changing the value of pH of the phenol solution, which is from 4 to 9. The results are calculated from the initial concentration of phenol solution based on their pH values and the final concentration of phenol being removed by magnetic biochar at certain pH values. The expected result of this experiment is that as the value of pH of phenol solution increased, the removal percentage of phenol will increase. From the graph in Fig. 4, it is shown that the highest percentage of removal of phenol which is 90.7% occurs when the pH values are at pH 8. The reason for the effect of the pH of the phenol solution is because of the surface properties of the palm kernel magnetic biochar compared to the other types of carbon adsorbents and the concentration difference of [OH] and [H+] in the phenol solution (Yap et al. 2017) (Alam et al. 2009b) (Said et al. 2013). The palm kernel magnetic biochar has a positive active side, which could reduce its adsorption capacity when it is under a low pH solution setting (Alam et al. 2009a) (Zhang et al. 2017). A set of experiment has been carried out to show the desorption process for phenol removal occurred after it has achieved its optimum condition, which is pH 9.

Fig. 4
figure 4

Effect of pH

Statistical analysis for removal of phenol

The statistical analysis for the percentage of removal of phenol is being done using Design-Expert software. The number of runs needed is generated by the design of experiment (DOE) by referring to the process parameters inserted, as shown in Table 1. The study is needed to determine the highest percentage of removal of phenol and the most optimum condition for the removal of phenol. The analysis of the removal of phenol is continued by carrying out “analysis of variance” (ANOVA) as shown in Table 4.

Table 4 ANOVA for removal of phenol

From the result generated by the ANOVA application in Table 4, the result of fisher F-test is 17.40; it shows that the model is significant. Fisher F-test shows the evaluation of the mean square of the residuals (errors). The value of F is high, which shows that the model is highly efficient; meanwhile, the low p value shows that the regression model is highly significant. The lack of fit shows insignificant result from the error occurs during the experiment does not affect the efficiency of the model. The model equation that progressed for the phenol removal in aqueous solution by using palm kernel magnetic biochar is shown in Eq. 3 as follows:

$$ \mathrm{Percentage}\ \mathrm{of}\ \mathrm{Removal}\ \mathrm{of}\ \mathrm{Phenol}\ \left(\%\right)=90.50-7.42\ \mathrm{A}+10.49\ \mathrm{B}+10.62\ \mathrm{C}+10.70\ \mathrm{D}-0.38\kern0.5em \mathrm{A}\mathrm{B}+4.82\ \mathrm{A}\mathrm{C}-0.81\ \mathrm{A}\mathrm{D}-1.97\ \mathrm{B}\mathrm{C}-1.29\ \mathrm{B}\mathrm{D}-1.34\ \mathrm{C}\mathrm{D}-12.24\ {\mathrm{A}}^2-4.19\ {\mathrm{B}}^2-8.84\ {\mathrm{C}}^2-5.34\ {\mathrm{D}}^2 $$
(3)

Subsequently, the variable generated A, B, C, D, AB, AC, AD, BC, BD, CD, A2, B2, C2, D2 are important terms model. Where A is the pH values, B is the amount of dosage of magnetic biochar, C is the agitation speed of the orbital shaker and D is the contact time. Based on Eq. 3, the negative signs indicate antagonistic effect values; meanwhile, the positive signs indicate synergistic effect values. Figure 5 shows the 3-D plot of interaction of process parameters for removal of phenol.

Fig. 5
figure 5

3-D plot of phenol removal using magnetic palm kernel. a Interaction of dosage and time. b Interaction of agitation speed and pH. c Interaction of agitation speed and time

From the observation of the 3-D interaction plot for the dosage of magnetic biochar against time, the highest percentage of removal is obtained at the end, which is 60 min and 0.8 g of dosage, respectively. It is because of the higher number the dosage of magnetic biochar used in the reaction, the number of active site concentration available for phenol to adsorb to the surface of magnetic biochar which leads to an adjustment of the electrostatic charge and removal of the H+ ions. Meanwhile, the pH of phenol solution affects the adsorption rate and the percentage of removal of phenol in the aqueous solution as observe to the 3-D plot interaction between pH against speed due to the surface properties of the palm kernel magnetic biochar compared to the other types of carbon adsorbents and the concentration difference of [OH] and [H+] in the phenol solution. For the 3-D interaction plot of contact time against the agitation speed of the shaker, the highest percentage of removal of phenol occurs at the middle point, which is 60 min and 200 rpm. The longer the contact time between the phenol solution with the magnetic biochar which makes it have a longer time to interact with each other and allow more adsorption to occur to the active site of the magnetic biochar.

Characterization of palm kernel magnetic biochar using FESEM analysis

FESEM, field emission scanning electron microscopy, is the equipment used to perceive the physical surface morphology, which is palm kernel magnetic biochar. The FESEM model used in this research is FEI Quanta 400. FESEM is used to observe the structure of the raw or pure palm kernel magnetic biochar and the after phenol adsorption of magnetic biochar at the magnification scale of 500 nm and 10 μm (Yap et al. 2017; Mubarak et al. 2016; Anyika et al. 2017). Figure 6 a and b show the FESEM image of palm kernel magnetic biochar before phenol adsorption and Fig. 6c, d shows the FESEM image of palm kernel magnetic biochar after phenol adsorption. Nitrogen gas is used as diffusion oxidizing agent for the carbonaceous matrix as it also assists in the removal of the carbon consumption and impurities which leads to porosity widening during the chemical activation (Mubarak et al. 2016). The opening of the microporosity on the biochar surface leads to larger pores formation, and the porous structure is widened for FESEM images result at different magnification scale (Ruthiraan et al. 2017, 2019).

Fig. 6
figure 6

a, b Before adsorption of FESEM. c, d After adsorption of phenol

Characterization of palm kernel magnetic biochar using FTIR analysis

The effect of the surface functional group of the palm kernel magnetic biochar is tested using the Fourier transform infrared spectrophotometer (FTIR) using a Perkin Elmer model. The equipment is to identify the adsorption of phenol in the magnetic biochar by observing the chemical reactivity of the surface of magnetic biochar and porosity of the magnetic biochar (Mubarak et al. 2016). The chemical reactivity of the surface could be seen specifically in the arrangement of chemisorbed oxygen by different functional groups (Anyika et al. 2017). The result of the graph is to see the difference between the wavenumber and transmittance percentage of the non-adsorbed magnetic biochar and adsorbed magnetic biochar. Figure 7 a shows the result of the surface functional group and transmittance value at certain wave number for palm kernel magnetic biochar without any adsorption of phenol component. Meanwhile, Fig. 7b shows the result of the surface functional group and transmittance value at the certain wave number for palm kernel magnetic biochar after adsorption of phenol components.

Fig. 7
figure 7

a FTIR adsorption spectra for a magnetic palm kernel biochar before and b magnetic palm kernel biochar after phenol adsorption

From the graph of FTIR images above, it shows that the functional group of pure magnetic biochar and magnetic biochar after phenol adsorption can be impregnated on the surface of palm kernel magnetic biochar. From Fig. 7a, the band of the plots for pure magnetic biochar located at 3746.2 cm−1 and 3610.2 cm−1 is related to single bond stretch component, C-H. The band which located at 2153 cm−1 and 2024.7 cm−1 is related to triple bond components (alkynes), C ≡ C. Then, the band which is located at 1737 cm−1 and 1700.3 cm−1 is related to double bond components (ketone or aldehyde), C=O. Meanwhile, the band located at wavenumber 1543.3 cm−1 is related to double bond component (alkene), C=C. Lastly, the predicted function group at wave number 562.2 cm−1 would be C-H.

From the FTIR image after phenol adsorption shown in Fig. 7b, the band located at wave number 3746.2 cm−1 has the single bond stretch component, C-H and the band located at wave number 3728 cm−1 also has the single bond stretch component which is O-H. Next, the band located at wave number 2919.5 cm−1 and 2851.5 cm−1 has the single stretch bond components (carboxylic acid), O-H. Next, the band located at wave number 2155.5 cm−1 has a triple bond component (alkyne), C ≡ C. Next, the band located at wave number 1543.3 cm−1 has a double bond component (alkene), C=C. Lastly, the predicted functional group using FTIR image at wave number 695.62 cm−1 and 559.6 cm−1 would be C-O components. Based on the comparison with the previous researches, the result of this FTIR images shows good arrangement as predicted.

Characterization of palm kernel magnetic biochar from saturation magnetization

The magnetic properties of palm kernel magnetic biochar are carried out from the measurement of coercivity (Gauss) and saturation magnetization (emu/g) at room temperature (Mubarak et al. 2016). The result is recorded in the graph of magnetization (emu/g) against the magnetic field (A. et al.) which is shown in Fig. 8. The curve slope of the graph shows the magnetic properties of pure palm kernel magnetic biochar and palm kernel magnetic biochar after phenol adsorption. From the curve, the magnetization of the palm kernel magnetic biochar after phenol adsorption is slightly higher compared to the pure one is due to the presence of additional superparamagnetic constituents (Baig et al. 2016) which is also affected from size of grain, density of both magnetic biochar, A-B exchange contact and anisotropy (Lee et al. 2001; Mubarak et al. 2016; Zhang et al. 2013). The smaller value of magnetization (emu/g) for pure palm kernel magnetic biochar is due to the presence of non-magnetic carbon, weak magnetic properties and small particle size compared to the after phenol adsorption’s magnetic biochar (Wu et al. 2015). The increasing magnetization value leads to increasing crystallinity structure (Tao et al. 2008). From the previous researches, the materials that have superparamagnetic behaviour should be widely applied for treating the environment especially for the removal of chemical contaminants (Xin et al. 2016) (Zhang et al. 2013).

Fig. 8
figure 8

Saturation magnetization of magnetic palm kernel biochar and magnetic palm kernel biochar after phenol adsorption

Adsorption isotherm study for removal of phenol

To interpret the phenol adsorption onto the magnetic biochar, the most appropriate isotherm model has to be identified. In this regard, the conventional isotherm models summarized in Table 2 were investigated. Generally, as reported in many recent studies (Alam Khan and Ahmad 2016; Inyinbor et al. 2016; Rincón-Silva et al. 2016), the parameters of the isotherm models are obtained by linearizing the corresponding non-linear expression, and the parameters are determined by fitting a regression line. However, due to this linearization procedure, the characteristics of non-linear isotherm models are meddled, and sensitivity is misinterpreted (Tran et al. 2017). Therefore, to uphold the non-linear nature, the model (non-linear) parameters need to be estimated with an appropriate technique (Karri et al. 2017b; Karri et al. 2018; Lingamdinne et al. 2018).

To identify the inherent mechanisms of phenol adsorption onto the magnetic biochar, the experimental data is validated with four conventional isotherms namely, Freundlich, Langmuir, Redlich–Peterson and Sips isotherms. Figure 9 depicts the performance of each isotherm model, when evaluated by both linear and non-linear approaches. It can be observed that the experimental data perfectly follow Langmuir isotherm model, which has resulted with R2 of 0.97 and 0.98 for both linear and non-linear approaches, respectively. Hence, the model predicted values lie on the x-y line. It is also observed that the non-linear Langmuir model predictions also have high correlation with experimental values. It is also observed that the phenol adsorption process follows Freundlich isotherm model which resulted in R2 of 0.99. Since the adsorption process follows both Langmuir and Freundlich isotherm models, so the experimental data is further validated on the typical hybrid isotherm (Redlich–Peterson) model. This isotherm model has three isotherm constants (KR, aR and α) and hence called 3-parameter isotherm model. The performance of all the identified four isotherms that depicts the phenol adsorption onto biochar is shown in Fig. 10. The quality of performance presented in this figure establishes that the phenol adsorption process using magnetic palm kernel biochar follows the Freundlich and Langmuir isotherm models.

Fig. 9
figure 9

Comparison of linear and non-linear isotherms against the measured values

Fig. 10
figure 10

Performance of different isotherms depicting the phenol adsorption onto biochar

To further confirm these observations, the non-linear statistical metrics which quantifies the magnitudes of the errors and provides a scale for quantifying good measure of accuracy is evaluated for all the model predicted results. The non-linear statistical metrics evaluated here are average relative error (ARE), sum of absolute error (SAE), root means square error (RMSE), hybrid fractional error (HYBRID) and Marquardt’s percentage std dev (MPSD). These metrics are shown in Table 5, for all the four isotherm models. All the statistical values thus resulted are within the acceptable limits and better for non-linear expressions. Since the RMSE is lower and R2 is higher for Freundlich isotherm model, so phenol adsorption process using magnetic palm kernel biochar follows this isotherm model. The maximum adsorption capacity (qm) is 10.02 mg/g, which shows that adsorption is likely to occur in room temperature.

Table 5 Statistical metrics of four isotherm models when evaluated both linear and non-linear approach

Adsorption kinetic studies for removal of phenol

Kinetic modelling is an approach to estimate the sorption rate as well as to find best suitable adsorption rate expressions that represent possible mechanisms. In general, the overall rate of adsorption is assumed to be due to the adsorption rate of the solute on the surface of the adsorbent and due to intraparticle diffusion. The mechanism of adsorption process be influenced by the chemical and/or physical characteristics of the adsorbent. Several forms of kinetic models have been proposed in literature to describe the adsorption mechanism. In this research study, the conventional kinetic models (pseudo-first order, second order) and intraparticle diffusion models namely Weber–Morris and Boyd are investigated. The non-linear expressions of the above four kinetic models are given in Table 6. In this study, the kinetic modelling study was conducted at different concentrations (10 mg/L, 20 mg/L, 30 mg/L, 40 mg/L, 50 mg/L, 60 mg/L and 70 mg/L). All these experiments are carried at a constant values like magnetic biochar dosage of 0.6 g, maximum contact time of 100 min, agitation speed of 180 rpm and pH of 8.

Table 6 Statistical metrics of four kinetic models when evaluated both linear and non-linear approach for concentration of 10 mg/L

To investigate the adsorption rate, the kinetic modelling is done for each concentration. The identified four kinetic models are fitted to the experimental data as shown in Fig. 11. The results presented in this figure are for concentration of 10 mg/L. It can be observed the traditional fitting of linearized kinetic model using least square methods results in inferior model predictions. The non-linear model predictions for all the kinetic models are very appreciable and significant. It can be observed that the pseudo-second-order model perfectly depicts the kinetics of phenol adsorption.

Fig. 11
figure 11

Comparison of linear and non-linear kinetic model predictions against the measured values for concentration of 10 mg/L

To further confirm these observations, the non-linear statistical metrics which quantifies the magnitudes of the errors and provides a scale for quantifying good measure of accuracy is evaluated for all the kinetic model predicted results. These metrics are shown in Table 6, for all the four kinetic models. All the statistical values thus resulted are within the acceptable limits and better for non-linear expressions.

To investigate the influence of increase in phenol concentration on the kinetic modelling, the results are presented for only pseudo-first and second-order kinetics for all the concentrations as Table 7. It can be observed that, as the concentration increased, the model fit is getting inferior. From the table, the R2 values produced from the pseudo-second-order values are higher compared to the pseudo-first order. The increment of the qe shows that as the concentration of phenol solution increases, the removal of phenol increases. Results show that the capability of the adsorption phenol obeying pseudo-second-order model.

Table 7 Pseudo-first-order model and pseudo-second-order model kinetic parameters

Variation of adsorption capacity against contact time

The adsorption capacity study of removal of phenol is being conducted by using the optimum condition result extracted from the Design-Expert software which is pH value of pH 8, agitation speed of 180 rpm, magnetic biochar dosage of 0.6 g and contact time of 100 min. The concentration of phenol solution is varied from 10 to 70 mg/L, and the maximum contact time for the experiment is 100 min. The phenol samples are being taken at a time interval of 10 min, 30 min, 50 min, 70 min, 90 min and 100 min and being filtered. Then, the absorbance and concentration of the samples are tested using UV-VIS spectrophotometer, and the result of the adsorption capacity is calculated and plotted into a graph which is shown in Fig. 12.

Fig. 12
figure 12

Adsorption capacity (qt) versus contact time (t) with different initial phenol solution concentration in mg/L

From this graph, it can be observed that the equilibrium state is achieved after 60 min of the reaction time of magnetic biochar and phenol solution. Based on the results, it shows that the equilibrium condition is achieved at 60 min at an increasing amount of concentration of phenol solution. The graph also shows that the higher the concentration of the phenol solution, the higher the values of the adsorption capacity.

Thermodynamic analysis

In the thermodynamic analysis, the study is all about energetic change information that occurs during the adsorption process. The estimated temperatures are used to find the Gibbs free energy (∆G) value that occurs during the reaction. The other parameters like enthalpy (∆H) and entropy (∆S) are calculated based on the following equations (Garba et al. 2016; Rincón-Silva et al. 2015).

$$ K=\frac{\mathrm{Ce}}{\mathrm{qe}} $$
$$ \ln K=\left(-\frac{\Delta H{}^{\circ}}{\mathrm{RT}}\right)+\left(\frac{\Delta S{}^{\circ}}{R}\right) $$
$$ \Delta G=-\mathrm{RT}\ \mathrm{lnK} $$

Where T is the temperature in unit Kelvin (K), K is equilibrium constant which is equal to Ce/qe, qe is the amount of phenol in aqueous solution adsorbed per unit mass of palm kernel magnetic biochar used, Ce is the equilibrium concentration of phenol in aqueous solution and R is universal gas constant (8.314 J/mol K−1). The calculated values of enthalpy (∆H), entropy (∆S) and Gibbs free energy (∆G) are shown in the table below. Based on the result, the negative values of Gibbs free energy (∆G) for the adsorption of phenol on the surface of magnetic biochar at different temperatures show that the adsorption process occurs spontaneously and favour toward thermodynamics. Meanwhile, based on the values of entropy (∆S), it shows that the unpredictability occurs at the solid-solution surface which relates to the increasing number of phenol ions attached to active sides at the magnetic biochar (Gundogdu et al. 2012; Milonjić 2007; Rincón-Silva et al. 2015). The enthalpy values results show that the reaction that occurs in the adsorption process is lowly endothermic and lowly exothermic. Table 8 shows the thermodynamic study for phenol adsorption.

Table 8 Thermodynamic study for phenol adsorption

Comparison value of maximum adsorption capacity of phenol using magnetic biochar from previous researches

A study on the comparison of the value of the maximum adsorption capacity of phenol using other types of magnetic biochar is made by referring to the literature. The capability of the palm kernel magnetic biochar for removal of phenol is proven by comparing the maximum adsorption capacity (qm) with other magnetic biochar, which is shown in detail in Table 9. The highest qm value using another type of magnetic biochar reported starting from Lantana camara (HCl treated) followed by wastewater treatment plant sludge, Lantana camara (KOH treated) and then palm kernel magnetic biochar. The difference of qm values is due to different properties of magnetic biochar like surface area, porosity, functional group and structure.

Table 9 Review on phenol removal using magnetic biochar

Conclusions

The magnetic palm kernel biochar has proven excellent adsorption characteristics for removal of phenol from wastewater. Statistical analysis reveals that the optimum conditions for the highest removal of phenol were recorded to have pH 8, magnetic biochar 0.6 g, contact time 60 min and agitation speed of 180 rpm. Magnetic palm kernel biochar emerge as a better promising adsorbent in the removal of phenol as the removal percentage is more than 93.39.9% with maximum adsorption capacities (qm) of 10.84 mg/g. Both Langmuir and Freundlich isotherm models match the experimental data very well and adsorption kinetic obeyed pseudo-second. Hence, magnetic-based biochar is a potential candidate for wastewater treatment.