Introduction

During the past decades, dyes have substantially ravaged aquatic environments and human health. Indeed, approximately 15% of the total dyestuff (over 7 × 105 tons is produced worldwide annually) is lost during the dyeing process in different textile industries and comes out with their waste water (Dutta et al. 2014). Therefore, effective removal of hazardous dyes from polluted water has become a critical point to be resolved. A number of techniques have been adopted to remove dyes, such as chemical precipitation, aerobic and anaerobic microbial degradation, ion exchange, membrane separation, electrochemical treatment, flocculation, reverse osmosis, and adsorption (Li et al. 2015b, 2016). In comparison with other techniques, adsorption could be considered as an effective, attractive, and promising process owing to its ease of operation, simplicity, suitability to treat concentrated dye wastes, selectivity, wide-ranging availability, and inexpensive nature (Li et al. 2015a).

In recent years, many adsorbents prepared on the basis of agricultural wastes and by-products such as sugarcane bagasse (Zhang et al. 2011), Luffa cylindrica fibers (Kesraoui et al. 2016), pineapple leaf (Rahmat et al. 2016), or sunflower seed hull (Hameed 2008) have been reported and applied for the removal of ionic and nonionic dye molecules from water.

In recent papers, the utilization of agricultural by-products as bioadsorbents was widely discussed in terms of capacity of pollutant uptake, isotherm, and kinetic models and thermodynamic aspects, revealing that the solution pH, the nature of the dye, and the chemical composition of adsorbents greatly affect the adsorption phenomenon (Módenes et al. 2015).

Regarding the great diversity of cheap, environmentally benign, and abundant agricultural by-products, other efficacious bioadsorbents could be considered as interesting for the uptake of hazardous pollutants from aqueous solutions. So, even if agricultural wastes have no remarkable industrial and commercial use, almond shell could be regarded as a potential low-cost bioadsorbent (Maaloul et al. 2017). As per the literature survey and to the best of our knowledge, not enough work has been reported on the application of almond shells as biosorbents in the uptake of anionic [Eriochrome Black T (EBT)] and cationic [Malachite Green (MG)] dyes (Senturk et al. 2010; Calero et al. 2013; Deniz 2013).

EBT and MG were chosen as model dyes because both are hazardous, carcinogenic, and toxic. Indeed, it is well known that EBT (sodium 1-[1-hydroxynaphthylazo]-6-nitro-2-naphthol-4-sulfonate) is a typical mono-azo anionic dye. EBT is widely used in the textile, paper, printing, food, and pharmaceutical industries, as well as in research laboratories. In addition, MG (4-{[4-(dimethylamino)phenyl](phenyl)methylidene}-N,N-dimethylcyclohexa-2,5-dien-1-iminium chloride) is one of the most commonly used dyes for silk, paper, cotton, and leather dyeing as well as for the production of paints, varnishes, and printing inks. It is therefore of prime importance to eliminate such toxic pollutants from industrial effluents before they are discharged into the aquatic environment (Gautam et al. 2015).

The purpose of this study was to evaluate the likelihood of using milled Tunisian almond shell (TAS) as a low-cost adsorbent of hazardous dyes. The selected dyes are common pollutants in the environment, but nevertheless they are less studied compared to other dyes such as Methylene Blue (Chairunnisa et al. 2016; Saghanejhad Tehrani and Zare-Dorabei 2016) and Red Congo dyes (Dawood and Sen 2012; Mota et al. 2015). The physicochemical properties and the composition of the prepared bioadsorbents were studied with the help of characterization methods. In addition, the adsorption isotherms, kinetics, and thermodynamic parameters for the removal of EBT and MG dyes by milled almond shells are also discussed.

Experimental

Materials

All solvents utilized in this work were of analytical grade and commercially available. EBT and MG were purchased from Panreac AppliChem and Loba Chemicals, respectively, and used without additional purification. Chemical structures and characteristics of EBT and MG are summarized in Table 1. For the adsorption experiments, stock solutions of dyes were prepared by dissolving appropriate quantities of EBT and MG in 1000 mL of distilled water. The working solutions were freshly prepared by diluting stock solutions (1000 mg L−1). The pH of solutions was adjusted to the desired values by adding either 0.1 M HCl and/or NaOH.

Table 1 Chemical structures and some properties of EBT and MG dyes used in this study

Preparation of the bioadsorbent

Almond shells were supplied by a local farmer and originated from almond trees (Prunus dulcis) cultivated in the region of Sfax (Tunisia). TAS were washed thoroughly with running tap water, rinsed with distilled water, and then crushed into small pieces. Crushed TAS were then air-dried at room temperature (ca. 22 °C) for 24 h followed by an oven drying at 55 °C until constant weight. They were then milled in a Retsch SM100 mill (Retsch GmbH, Germany). The TAS powder was sieved to obtain various size fractions of less than 100, 100–200, 200–315, 315–400, 400–500, and greater than 500 μm using wire sieves with aperture sizes of 0.1, 0.2, 0.315, 0.4, and 0.5 mm, respectively. Biosorbents were stocked in a desiccator for further use without any additional chemical or physical modifications.

Analysis

Dye concentration was calculated using a PG T60 UV–Vis spectrophotometer (PG Instruments Ltd., UK) at the maximum wavelength of each dye (529 nm for EBT and 616 nm for MG) based on the linear calibration curve obtained by plotting absorbance toward EBT or MG concentration over the desired concentration range. The pH of the solutions was measured by an Orion Star A211 pH meter (Thermo Fisher Scientific, USA). The infrared spectra were obtained by a Spectrum Two (PerkinElmer, USA) spectrophotometer using a pyroelectric deuterated glycine sulfate (DTGS) detector. An attenuated total reflection (ATR) attachment with a diamond crystal was used. Measurements were performed in the 450–4000 cm−1 wavenumber range with a resolution of 2 cm−1.

The chemical composition of TAS was determined according to the methods of the Technical Association of Pulp and Paper Industry (TAPPI). The amount of holocellulose (cellulose + hemicelluloses) of the TAS powder was determined according to the titration method (TAPPI T19m-54). The α-cellulose was separated from the holocellulose by an alkali extraction using the TAPPI standard method T203 om-88. The amount of lignin in the TAS powder was quantified by reaction with sulfuric acid according to the TAPPI T222 om-88 standard method. Measurements were performed in triplicate.

Surface morphology observations of the bioadsorbents were performed using scanning electron microscopy (SEM) employing an XL30 device (Philips Co., Netherlands) operated at a 15-kV accelerating potential. X-ray diffraction (XRD) measurements were performed on an X’Pert Pro X-ray diffractometer (PANalytical, Netherlands). The diffracted intensity of the Cu Kα radiation (λ = 0.154 nm, 45 kV, 40 mA) was evaluated in the 10–60° 2θ range. The BET surface areas of biosorbents were evaluated using an ASAP 2420 (Micrometrics Instrument Corp., USA) surface area analyzer where the utilized gaseous adsorbate was N2. Thermogravimetric (TG) and derivative thermogravimetric (DTG) curves of TAS were obtained by using a thermogravimetric analyzer (TGA/DSC3+, Mettler Toledo, USA) under the following experimental conditions: initial temperature 30 °C, final temperature 900 °C, heating rate 10 °C min−1, and nitrogen flow rate 100 mL min−1.

The pHzpc of the bioadsorbent was obtained by the powder addition method (Chan et al. 2016).

A 0.01 M NaCl solution was prepared, then the initial pH was adjusted in the 2–12 range by adding either 0.1 N HCl and/or NaOH. Fifty-milliliter aliquots of he prepared 0.01 M NaCl solutions were taken in 250-mL Erlenmeyer flasks. Then, 0.2 g of the bioadsorbent was suspended in each solution. The suspensions were left for 24 h, and the final pH was then evaluated (Banerjee et al. 2016). The point of zero charge (pHzpc) is the point where the ΔpH (= pHfinal − pHinitial) is zero (Leng et al. 2015).

Batch biosorption experiments

The adsorption study of EBT and MG on the TAS powder was performed by the batch equilibrium method. A predetermined amount of TAS (0.1 g) was suspended in 50 mL of various concentrations of the biosorbent in a stoppered 100-mL flask and maintained under isothermal conditions at 320 rpm. Initial concentrations of TAS in the experimental environment were adjusted to the desired values in the 0.1–12 g L−1 range. The adsorption study was performed at 22, 30, and 40 °C. The resultant solution was then centrifuged (Z 32 HK, HERMLE Labortechnik, Germany) at 10,000 rpm for 5 min to extract the TAS powder from the liquid phase. The concentration of EBT and MG in the solution was evaluated spectrophotometrically at 529 and 616 nm, respectively, after an equilibrium time of 300 min.

The percentage of EBT and MG dyes removed was computed using the Eq. 1:

$$ {\text{Dye}}\, {\text{removal}}\left( \% \right) = 100 \times \left( {C_{0} - C_{\text{e}} } \right)/C_{0} . $$
(1)

The amount of dye uptake q e (mg dye per gram of biosorbent) by the TAS was estimated by Eq. 2:

$$ q_{\text{e}} = \left( {C_{0} - C_{\text{e}} } \right)V/W , $$
(2)

where C 0 and C e are respectively initial and equilibrium dye concentration (mg L−1), V is the volume of the solution added (L), and W is the amount of almond shell powder (g).

In experiments of batch kinetic biosorption, a predetermined amount (0.5 g) of the bioadsorbent and 250 mL dye solution (100 mg L−1) were placed in a stoppered 500-mL conical flask and maintained at 22 ± 2 °C and under an agitation rate of 320 rpm. At different time intervals, the solution was separated from the bioadsorbent and concentrations of EBT and MG were determined spectrophotometrically at 529 and 616 nm, respectively. The amount of the biosorbed dye, q t (mg g−1) at time t on the TAS, was computed by Eq. 2 (Bhatt et al. 2012). All experiments were carried out at least two times and mean values were considered for the purpose of evaluation.

Error analysis

The validity of each model was analyzed by the coefficient of determination (R 2) and the Person’s Chi-square test (χ 2) (Eq. 3) as well as the normalized standard deviation Δq (Eq. 4):

$$ \chi^{2} = \left( {q_{\text{e,exp}} - q_{\text{e,cal}} } \right)^{2} /q_{\text{e,cal}} $$
(3)
$$ \Delta q\left( \% \right) = 100\sqrt {\mathop \sum \nolimits \left[ {(q_{\text{e,exp}} - q_{\text{e,cal}} )/q_{\text{e,exp}} } \right]^{2} /(N - 1)} , $$
(4)

where q e,exp is the experimental value of biosorption capacity (mg g−1), q e,cal is the calculated biosorption capacity (mg g−1), and n is the number of measurements. The best suitable model can be determined when the R 2 value is equal to or near 1, whereas the Chi-square test (χ 2) and the normalized standard deviation (Δq) are as small as possible.

Results and discussion

Characterization of the bioadsorbent

The functional groups responsible for the adsorption of EBT and MG on the cell surfaces of adsorbent are studied by FTIR spectrophotometry. The FTIR spectra of TAS, EBT-loaded TAS, and MG-loaded TAS are shown in Fig. 1. The spectrum of TAS before the dye sorption processes (Fig. 1a) contains a series of peaks associated with functional groups in the TAS lignocellulosic structure. A characteristic broad band of stretching vibrations of C–H and O–H groups in the 3650–3000 cm−1 range shows the principal functional groups found in lignocellulosic materials. The FTIR spectrum of TAS shows a characteristic peak at 1731 cm−1 from the C=O stretching of methyl ester and carboxylate groups in pectin. This peak could be also associated with the ester linkage of the lignin and hemicellulose carboxylic group or hemicellulose acetyl and uronic ester groups (Xiao et al. 2015). Peaks in the wavenumber range from 1240 to 1450 cm−1 could be attributed to TAS surface structures containing C–O–H, C–O, and C–H bonds that are associated with carboxylic acids (Módenes et al. 2015). In the “fingerprint” region, absorbance bands are assigned to the lignin at 2850 cm−1 corresponding to the C–H stretching vibration and in the range 1615–1500 cm−1 originating from aromatic skeletal vibration. The double peak at 2920 and 2852 cm−1 could be attributed, respectively, to the symmetric and asymmetric C–H stretching vibrations in methyl and methylene of aliphatic chains. The peaks at 3270, 2902, and 710 cm−1 may be related to the existence of cellulose I β (monoclinic crystalline structure of cellulose) in the TAS material. These results were in good agreement with the chemical composition of the TAS powder. The major components of TAS were lignin (30.1 ± 0.5 wt%) and α-cellulose (29.9 ± 0.7 wt%). Hemicellulose was another major component (25.1 ± 0.7 wt%).

Fig. 1
figure 1

FTIR spectra of a TAS powder, b EBT-loaded TAS, and c MG-loaded TAS

Even if it is difficult to identify in which adsorption sites the EBT and MG dyes were linked to the TAS particle surfaces, a signature of dye adsorptions may be related to the modification of peak bands through spectra after the biosorption. Peak bands in ATR-FTIR spectra of TAS before and after the adsorption of dyes are comparatively different, suggesting that the bonding of pollutants molecules to TAS particle surfaces may be at the origin of a slight alteration of peak bands (Módenes et al. 2015). The TAS FTIR spectrum differed from those obtained for the EBT and MG dye sorption (Fig. 1b, c), principally at the 1733–782 cm−1 range, identifying some altered peak bands at 1733, 1660–1580, 1508, 1340–1315, 1107, and 782 cm−1.

The textural characteristics of adsorbents, such as the pore volume and the surface area, play a key role in the biosorption process of pollutant molecules. The BET surface area characterization showed that the bioadsorbent has a specific surface area of about 1.65 m2 g−1. In addition, for the porosity measurement, the Barrett–Joyner–Halenda (BJH) pore size distribution was deduced from the N2 isotherm which indicated that about 30% of pores fall into the macroporous category (greater than 50 nm). The TAS characterization showed that the average pore diameter and pore volume were equal to 34.3 nm and 0.0086 cm3 g−1, respectively. The large number of macropores with a significant volume of pores facilitates the removal of an important amount of EBT and MG molecules from the aqueous solution (Banerjee et al. 2016).

The X-ray diffractogram (Fig. 1Sa in supplemental material) of TAS powder clearly shows peaks generally attributed to cellulosic materials at 2θ equal to 16°, 22°, and 34° after reflections on the (101), (002), and (040) planes, respectively (Banerjee et al. 2016). The broad and diffuse appearance of the peaks suggests the amorphous nature of the sample. Figures 1Sb and 1Sc in the supplemental material represent diffraction peaks after EBT and MG uptake. It could be observed that the intensity of peaks becomes slightly weaker which may be due to surface adsorption of EBT and MG onto TAS particles. However, no change in the position of peaks was noted which suggests that no phase transformation was observed after EBT and MG dye adsorption (Banerjee et al. 2016).

The degradation pattern and thermal stability of the TAS were studied by thermogravimetric analysis (TGA). Thermogravimetric (TG) and derivative thermogravimetric (DTG) curves of TAS are shown in Fig. 2S (attached in supplemental material). The initial weight loss (60–120 °C) was ascribed to the desorption of water molecules from TAS particles. The weight loss in the initial steps was about 8%. The second weight loss (31%) between 210 and 330 °C could be attributed to the depolymerization of hemicelluloses, the cleavage of glycosidic linkages of cellulose, and the decomposition of some portions of lignin. The weight loss (41%) between 330 and 400 °C was ascribed to the deterioration of cellulose and lignin. As a result of the complexity of lignin’s structure, its degradation took place above 400 °C (Ali et al. 2016).

Surface morphologies of native and dye-loaded TAS were investigated by SEM. The SEM images of TAS, EBT-loaded TAS, and MG-loaded TAS are shown in Fig. 2a–d, respectively. Figure 2a and b reveal the porous characteristics and surface texture of TAS particles. It is apparent in the micrographs that the bioadsorbent is porous and a few well-developed cavernous porous structures were easily seen. These deep large sized pores most likely play a major role in the accommodation of dye molecules from liquid phase to solid surface. Figures 2c and d show that the change in textural properties of TAS after EBT and MG adsorption, respectively, is due to the accumulation of dyes onto the bioadsorbent surface indicating that the adsorption phenomena occurred.

Fig. 2
figure 2

SEM images of a, b TAS powder, c EBT-loaded TAS, and d MG-loaded TAS

The evaluation of the pHzpc of the bioadsorbent gives an idea about the electrical neutrality of the material at a specific pH value. In this work, the pHzpc of TAS particles was found to be 5.3 (Fig. 3).

Fig. 3
figure 3

pHzpc determination curve

Effect of particle size

The biosorption of EBT and MG dyes was studied at six various particle sizes, greater than 500, 500–400, 400–315, 315–200, 200–100, and less than 100 μm. The dye uptake at the aforementioned particle sizes was 24.98, 25.89, 25.76, 26.80, 27.06, and 30.68% for EBT and 75.74, 85.32, 88.91, 92.10, 93.86, and 96.73% for MG, respectively.

The results in Fig. 4 show that for both dye solutions, the decrease in TAS particle size increases the dye removal. It could be easily deduced that the decrease of the TAS particle size leads to a better accessibility to pores and a larger exposed surface area. Indeed, the number of diffusion paths is increased as a consequence of exposed channels on the particle surface. Consequently, the ability of molecules to penetrate internal pores of TAS particles is very high and the number of adsorption sites is increased, thus resulting in the improvement of the dye uptake from solutions (Ali et al. 2016). All further experiments were carried out with TAS particle size less than 100 µm as these showed sufficient adsorption capacity.

Fig. 4
figure 4

Effect of TAS particle size on EBT and MG adsorption

Effect of almond shell powder dosage

The effect of the TAS concentration on dye uptake was studied for 11 adsorbent dosages in the 0.1–12 g L−1 range. Figure 5a shows that the adsorbed MG concentration increased from 46 to 97 mg L−1 while the quantity of the adsorbed dye per unit mass diminished from 464 to 8 mg g−1 by increasing the concentration of the bioadsorbent from 0.1 to 12 g L−1. The same tendency was also noticed for the EBT dye as shown in Fig. 5b. Indeed, it has previously been reported that an increase in the biosorbent concentration leads to an increase in the number of available sorption sites and therefore results in an increase of biosorbed dye concentration (Lin et al. 2009). However, TAS particle aggregation could result from a high biosorbent concentration. Such biomass aggregation may imply a decrease in the total surface area of the bioadsorbent and an increase in the diffusional path length, thus causing a decrease in the quantity of a dye removed per unit weight of TAS (Özer et al. 2005). Therefore, taking the elimination efficiency of EBT and MG dyes and economy into consideration at the same time, a dosage of 2 g L−1 was selected for further studies.

Fig. 5
figure 5

Effect of the biosorbent dosage on the biosorption of a MG and b EBT by TAS

Effect of pH

The pH is one of the parameters that greatly affect both aqueous chemistry and surface active sites of the bioadsorbents. The removal of EBT and MG dyes at various pH is depicted in Fig. 6. The influence of the aqueous environment pH on the bioadsorption was studied by changing the pH in the 2–11 range.

Fig. 6
figure 6

Effect of solution pH on the biosorption of EBT and MG by TAS

The pHzpc of TAS is about 5.3 as observed from the Fig. 3. At pH higher than pHzpc the bioadsorbent surface has a negative charge and at lower pH it has a positive charge. As seen in Fig. 6, the EBT uptake capacity at higher pH was lower than that at lower pH, which could be interpreted as being due to the surface charge of the TAS. Below the pHzpc, the TAS surface (mainly oxygen-containing groups linked to the H+) is positively charged and anionic EBT dye adsorption occurs easily (Leng et al. 2015). On the contrary, when the TAS surface is negatively charged at pH > pHzpc, the electrostatic repulsion between negatively EBT species and negatively charged TAS is increased, and this results in a decrease of the anionic dye biosorption (Attallah et al. 2016).

In theory, considering the electrostatic interaction between the dye and the adsorbent, the maximum adsorption efficiency for MG should be obtained at around the pH value of 6. However, a consistent amount of MG uptake (around 48.5 mg g−1) was observed over the whole pH range from 4 to 11. Thus, one can say that the adsorption process of MG was not mainly controlled by the electrostatic interaction, suggesting existence of π–π stacking interaction and/or hydrophobic interactions between the triarylmethane dye and the lignocellulosic material. In addition, low pH values (pH < 4) were disadvantageous for MG uptake by TAS, which could be attributed to the competition between the excess of H+ ions and the cationic dye for binding sites (Attallah et al. 2016).

Effect of initial dye concentration

Figure 7 shows that the quantity of MG and EBT adsorbed increased (from 12 to 95 mg g−1 and from 5 to 31 mg g−1, respectively) with the increase of the initial dye concentration (25–200 mg L−1). This occurred because, at higher initial concentrations, the concentration gradient between the bulk solution and the bioadsorbent surface is higher, thus promoting external mass transfer. In parallel, at high values of the initial dye concentration, internal mass transfer is promoted. A similar tendency was reported by Pavan et al. (2014).

Fig. 7
figure 7

Effect of the EBT and MG dye concentration on the biosorption capacity (q e) using TAS

Effect of contact time

The effect of the contact time on EBT and MG adsorption by TAS at pH 4.8 ± 0.2, temperature of 22 °C, and bioadsorbent dosage of 2 g L−1 is given in Fig. 8. This result indicates that the biosorption efficiency for all initial EBT and MG concentrations in the 25–200 mg L−1 range increases and then becomes constant (at equilibrium) as a function of the contact time. Indeed, it is possible to observe in Fig. 8, that for all dye solutions (EBT and MG) more than 96% of saturation was achieved within 15 min, while only 3% was adsorbed until 300 min. This occurred because, at the initial adsorption stages, TAS has a large available surface area, compared with the concentration of dyes, favoring a high biosorption rate. However, after initial adsorption stages (after 15 min) a competition occurred between dye molecules for the adsorption sites on the surface of TAS, resulting in a decrease in the adsorption rate (Santos and Boaventura 2016).

Fig. 8
figure 8

Effect of contact time on biosorption of EBT and MG by TAS

Biosorption kinetics

To identify the mechanism of bioadsorption, the removal rate, and the control of the steps involved in the process, two kinetic models (the pseudo-first and pseudo-second order) can be adopted. The pseudo-first-order kinetic model (Lagergren 1898) is given by Eq. 5:

$$ \ln \left( {q_{\text{e}} - q_{t} } \right) = \ln q_{\text{e}} - k_{1} t, $$
(5)

where k 1 is the pseudo-first-order rate constant (min−1). The k 1 and q e,cal parameters can be determined from the slope and intersection of the lines of ln(q e − q t) versus t.

The pseudo-second-order kinetic model (Ho and McKay 1999) is given by Eq. 6:

$$ t/q_{t} = 1/k_{2} q_{\text{e}}^{2} + t/q_{\text{e}} , $$
(6)

where k 2 is the pseudo-second-order rate constant (g mg−1 min−1). Similarly to the pseudo-first-order kinetic model, the k 2 and q e,cal parameters were deduced from the linear and angular coefficients of the equations formed by regressing t/q t versus t, respectively. These values are summarized in Table 2.

Table 2 Kinetic parameters for EBT and MG adsorption onto TAS at various concentrations

The linear fits of the kinetics results (Table 2) reflect that the pseudo-second-order model exhibits higher R 2 and lower Δq and χ 2 values, compared to the pseudo-first-order model. In addition, equilibrium adsorption capacities computed on the basis the pseudo-second-order model are in agreement with the experimental data for both dyes. This proves that bioadsorption kinetics are well described by the pseudo-second-order model and are dependent on the quantity of the dye taken up by the bioadsorbent and the amount adsorbed at equilibrium.

In this work, the intraparticle mass transfer diffusion model (Weber and Morris 1963) was investigated.

$$ q_{t} = k_{\text{id}} t^{0.5} + C_{i} , $$
(7)

where i is the number of the linear piecewise function, k id (mg g−1 min−1/2) is the intraparticle diffusion rate constant, and C i (mg g−1) is the intercept related to the boundary layer thickness.

If the data of the entire adsorption process fits well with the intraparticle diffusion (i is only equal to 1) and C is zero, the intraparticle diffusion is the unique limiting step; otherwise, the larger the intercept, the greater the contribution of the film diffusion in the rate controlling. As shown in Fig. 3S (in supplemental material), the whole EBT and MG adsorption processes show two linear sections in a curve, suggesting multiple steps take place during the bioadsorption process. The piecewise fitting parameters of the intraparticle diffusion are listed in Table 3. The values of C i for each linear portion are not zero, showing that intraparticle diffusion participates in EBT and MG dye biosorption, but is not the sole rate-controlling step. Indeed, film diffusion may also be involved in the biosorption process. At the beginning of biosorption (the first segment in Fig. 3S), film diffusion drives the mass transfer of dyes from the bulk solution to the external surface of TAS particles. In the second stage (the second segment in Fig. 3S) of the biosorption process, equilibrium is reached and the intraparticle diffusion fades out the biosorption of dyes molecules (Leng et al. 2015).

Table 3 Various calculated parameters of intraparticle diffusion model for various initial dye concentrations

Biosorption isotherms

Isotherm studies may give an idea about the way that adsorbates interact with bioadsorbents, which is the main element for designing a desired environment of adsorption. Three well-known models were utilized in this work so as to describe the adsorption process, namely Freundlich (Eq. 8) (Freundlich 1906), Langmuir (Eq. 9) (Langmuir 1918), and Temkin (Eq. 10) (Temkin and Pyzhev 1940) isotherm models:

$$ \ln q_{\text{e}} = \ln k_{\text{F}} + \frac{1}{n}\ln C_{\text{e}} $$
(8)
$$ 1/q_{\text{e}} = 1/q_{\text{m}} + 1/k_{\text{L}} q_{\text{m}} C_{\text{e}} $$
(9)
$$ q_{\text{e}} = k_{\text{T}} \ln C_{\text{e}} + k_{\text{T}} \ln f, $$
(10)

where q m (mg g−1) is the theoretical maximum adsorption capacity; k L, k F, and k T are the adsorption constants of Langmuir, Freundlich, and Temkin models, respectively; n and f are the Freundlich linearity index and the Temkin isotherm constant, respectively.

It is well known that the Langmuir adsorption isotherm is established on the basis of the hypothesis that pollutants molecules are bound to the adsorbent surface at specific and homogenous sites in the absence of any interaction between them. In addition, all active sites have the same affinity for dye molecules and the biosorption attains its maximum level after the appearance of a monolayer of pollutant molecules on the bioadsorbent surface. This model usually describes the equilibrium uptake isotherms of homogeneous surfaces. Contrary to the Langmuir model, the Freundlich model presupposes that the surface energy of the bioadsorbent is heterogeneous. Indeed, the Freundlich adsorption isotherm is established on the basis of the hypothesis that the strength of binding decreases with the increasing degree of bonding to active sites. Moreover, it is presupposed that the first occupied active sites are those with strongest binding energies. The value of n informs about the heterogeneity degree of the biosorption sites. In fact, as the slope 1/n tends toward zero, the surface site heterogeneity increases. The Temkin model is an appropriate model for the sorption based on strong electrostatic interactions between opposite charges (Liu et al. 2015). This model suggests that the uptake heat of the adsorbate molecules in the biosorbed layer would decrease linearly with the coverage.

All the coefficients of the isotherm model related to the biosorption of EBT and MG dyes are given in Table 4. It was found that the R 2 values for the Freundlich model are relatively higher than those of the Langmuir and Temkin models. This suggests that the Freundlich model is more applicable for describing the EBT and MG adsorption isotherm data. This result is also supported by the lower Δq and χ 2 values. Moreover, the values of n > 1 obtained from the Freundlich model signify that adsorption of EBT and MG dyes on TAS was favorable. Therefore, all these results signify that the biosorption process follows acceptably the Freundlich isotherm model in comparison to Langmuir and Temkin isotherm models, which suggests that the surface of TAS particles is heterogeneous and has an unequal distribution of binding energies on accessible active sites.

Table 4 Isotherm parameters for EBT and MG adsorption onto TAS

The maximum biosorption capacity (q m) values, computed from the Langmuir model, of TAS particles and various adsorbents studied in the literature are summarized in Table 5. This study showed that the maximum biosorption capacity of TAS particles is 123.92 and 126.90 mg g−1 for EBT and MG, respectively. It can be seen that the TAS particles exhibit superior EBT and MG uptake capacity to that of previously reported adsorbents such as eucalyptus bark (Dave et al. 2011), magnetite/pectin nanoparticles (Attallah et al. 2016), Avena sativa (oat) hull (Banerjee et al. 2016), and magnetic litchi pericarps (Zheng et al. 2015). Thus, these results show that TAS, which is a readily available and cheap by-product, can be utilized as a potential adsorbent to reduce the concentration of EBT and MG dyes from contaminated water.

Table 5 Maximum adsorption capacities of EBT and MG on various adsorbents

Biosorption thermodynamics

Data were recorded at three temperatures: from 22 to 40 °C. A decrease of the amount of EBT and MG dyes adsorbed onto TAS was observed with increasing temperature. This study shows that thermodynamic parameters including the changes in free energy (ΔG 0), enthalpy (ΔH 0), and entropy (ΔS 0) are pertinent parameters for the description of the thermodynamic behavior of the uptake of EBT and MG onto TAS.

For such equilibrium reactions, K D, the distribution constant, is given by (Barka et al. 2013)

$$ K_{\text{D}} = q_{\text{e}} /C_{\text{e}} . $$
(11)

The Gibbs free energy is

$$ \Delta G^{0} = - RT\ln K_{\text{D}} , $$
(12)

where R is the universal gas constant (8.314 J mol K−1) and T is solution temperature in kelvin.

The enthalpy (ΔH 0) and entropy (ΔS 0) of biosorption were estimated from the slope and intercept of the plot of lnK D versus 1/T, respectively.

$$ \ln K_{\text{D}} = - \Delta G^{0} /RT = - \Delta H^{0} /RT + \Delta S^{0} /RT. $$
(13)

The distribution coefficient, K D of both dye systems decreased with elevating temperature, showing that the substantivity of EBT and MG dyes on TAS is highly dependent on temperature. High temperatures enhanced the solubility of pollutants in bulk solution much more than adsorbent particles (Chan et al. 2016). As shown in Table 6, the negative enthalpy value (ΔH 0) indicates that the dye biosorption on TAS is exothermic. The typical value for physisorption usually lies below 80 kJ mol−1, which agrees with values obtained for adsorption of EBT and MG onto TAS. In addition, the negative entropy value (ΔS 0) reveals that the molecules of EBT and MG dyes in the adsorbed phase of TAS have lower randomness than pollutants molecules in bulk solution. The free energy changes (ΔG 0) are negative for MG, showing that the biosorption process is possible and spontaneous. In contrast, positive values of ΔG 0 were obtained in this work for EBT with raising temperature. The positive ΔG 0 shows that the biosorption of EBT by TAS is a thermodynamically reversible, non-spontaneous, or unfavorable reaction. The increase in EBT and MG free energy values with the temperature augmentation suggested that the dye uptake was less favorable with increasing temperature.

Table 6 Thermodynamic parameters for the adsorption of EBT and MG on TAS at different temperatures

Conclusion

TAS was identified as a suitable bioadsorbent for EBT and MG uptake in batch experiments. The batch study parameters, pH of solution, bioadsorbent particle size and dosage, contact time, initial dye concentration, and temperature were found to influence the uptake process. The pH experiments indicated that the major uptake takes place in the pH range 2–5 for EBT and 4–11 for MG. The adsorption rate was fast within 15 min and reached uptake equilibrium for both dyes. The adsorption kinetics and isotherm studies showed that uptake processes for both dyes are well fitted to pseudo-second-order kinetics and the Freundlich isotherm model. Thermodynamic studies confirmed that the uptake process was exothermic (ΔH 0 < 0 for EBT and MG). The biosorption of both dyes was accompanied by a decrease in the entropy due to the orderly arrangement of the dye molecules on the TAS surface. In addition, the negative values of ΔG 0 proved the spontaneity of the MG uptake process. However, positive values of ΔG 0 showed that the uptake of the EBT dye by TAS is not a spontaneous reaction. Moreover, the biosorption process may be realized at ambient temperatures (ca. 22 °C) with best results.

Taking into consideration all the results obtained in this work, we concluded that the Tunisian almond shells may be used as alternatives to expensive adsorbents used for the removal of toxic dyes such as EBT and MG.