1 Introduction

There are thousands of various chemicals and other toxic substances in effluents discharged by industry. These contain organic and inorganic pollutants, which cause deoxygenation by promoting microbial activity, or material that is directly toxic to the lives in aquatic and human ecosystems. Therefore, it is of significant importance to treat these wastewaters (McKay 1995).

Coloured dyes are important pollutants that make up the wastewater body. The textile industry discharges a large number of coloured effluents annually. Approximately 2% of produced dyes and colourants are discharged in effluents of the total annual world dye production of over 700,000 t. The dyes in wastewaters bring both detrimental aesthetic effects and some are toxic or even carcinogenic. Reactive acidic dyes are widely used in the textile and other industries due to the increasing use of cellulosic fibres. Common methods for the treatment of textile effluents include adsorption, coagulation, advanced oxidation, flocculation and biological treatment. Adsorption is widely recognised as an effective method for the wastewater treatment (Pereira et al. 2003).

Adsorption is growing in popularity due to its potential for rapid treatment and the fact that it can produce a very high quality treated water. It is a method to treat wastewater in a sufficient and reasonably low cost. The selection of the adsorbent is the key factor to control the efficiency and operational cost of the treatment plant. An ideal adsorbent should have a large adsorption capacity, a fast adsorption rate, low raw material and production cost, and can be regenerated and reused easily (McKay 1995).

Adsorption processes are characterised by the adsorption kinetics and an adsorption equilibrium isotherm. Both isotherm and kinetic data are important tools to understand the mechanisms of adsorption and are necessary for the design of adsorption treatment plant (Ip et al. 2010).

Tartrazine adsorption has been carried using hen feather, chitosan (Saime et al. 2010) melamine formaldehyde-tartaric acid adsorbent, coconut husks, fly ash, saw dust, bagasse, and biomass such as fungus and algae (Fauzia et al. 2015).

Commercially available activated carbon (AC) adsorbents (Robinson et al. 2001) are usually derived from natural materials such as wood, coconut shell, lignite or coal, but almost any carbonaceous material may be used as precursor for the preparation of carbon adsorbents. Because of its availability and cheapness, coal is the most commonly used precursor for AC production (Rozada et al. 2003). Coal is a mixture of carbonaceous materials and mineral matter, resulting from the degradation of plants. The sorption properties of each individual coal are determined by the nature of the original vegetation and the extent of the physical–chemical changes occurring after deposition. Coal-based sorbents have been used (Karaca et al. 2004; Venkata et al. 2002; McKay et al. 1999) with success for dye removal. However, since coal is not a pure or sustainable material, it has a variety of surface properties and thus different sorption properties.

Plentiful renewable agricultural biomass raw materials are available for adsorption and active carbon production; these include wood (Poots et al. 1976), bagasse pith (McKay 1998; McKay et al. 1997; Chen et al. 2001; Valix et al. 2004; Chan et al. 2009). Bamboo Mui et al. 2010a, b), biomass and agrowaste (Cha et al. 2016), chickpeas (Habila et al. 2015), hickory biochars (Pezoti et al. 2014), kudzu (Nadeem et al. 2006), pine cones (Ding et al. 2016, Allen et al. 2004; Hadi et al. 2011) and rice husk (Wang et al. 2015). Other forms of natural wastes which have been used for textile dye removal include chitosan from seafood shell waste (Abbasi and Habibi 2016; Cho et al. 2015) and hydroxyapatite (Lemlikchi et al. 2015) from bone char. These waste materials have little or no economic value and often present a disposal problem. Therefore, there is a need to valorise these low-cost by-products. Consequently, their conversion into activated carbons or alternative adsorbents would add economic value, help reduce the cost of waste disposal and most importantly provide a potentially inexpensive alternative to the existing commercial activated carbons.

Other agricultural solid wastes from cheap and readily available resources such as date pits (Banat et al. 2003), durian seed (Ahmad and Ahmad 2014) pith (Ho and McKay 1999a, b; McKay et al. 1987), waste bio-mass (Dawood et al. 2013), corn-cob (Robinson et al. 2002), barley husk (Robinson et al. 2002), walnut shell (Heibati et al. 2014), pine cone (Sen et al. 2011), wheat straw and wood chips have also been successfully employed for the removal of dyes from aqueous solution. In the present study, we have produced novel activated carbons from pecan nut shells using steam activation and applied this carbon to remove tartrazine from wastewater. In this work, a series of experimental studies has been carried out using an alternative activated carbon adsorbent for the removal of tartrazine dye. The activated carbon was obtained from an agricultural precursor (pecan nut shells) (NAC-857-H2O). The equilibrium modelling is very important to explore the capacity of the adsorbents. The experimental equilibrium data was used to test four equilibrium isotherm models to find out which model fits the best and then the best fitting model is used to minimise the mass of adsorbent used so as to save money in industry application. Besides, the kinetic modelling of the batch contact time data is extremely important to predict the optimum design of batch adsorbents to remove pollutants from effluents. The experimental contact time data was used to test a set of kinetic models to establish which model fits the data best and fits the mechanistic system the best. The contact time was optimised as well.

2 Experimental Section

2.1 Raw Materials

The pecan nuts shells from Carya illinoinensis were obtained from local producers in Chihuahua, Mexico. The shells presented a light brown coloration; they were dried in an oven at 105 ± 5 °C and then they were cracked into fragments between 0.5 and 1 cm of diameter and they were used in those conditions for carbonisation or activation process. A simple characterisation of the raw materials prior carbonisation and activation process was performed and the thermal characteristics were measured by TGA analysis (SDT Q600). About 2 mg of sample material was heated from 25 to 700 °C until no further weight loss was detected. Also moisture and total ash contents were determined.

2.2 Characteristics of the Adsorbate

Tartrazine, also named acid yellow 23, is widely used as colourant in food, drugs and cosmetics. It is now designated as carcinogenic and causing allergic reactions (National Centre for Biotechnology Information 2015). It has a molecular formula as C16H9N4Na3O9S2, it is water soluble and it has a mass of 534.4 g/mol. It is found in certain brands of fruit squash, fruit cordial, coloured fizzy drinks, instant puddings, cake mixes, custard powder, soups, sauces, ice cream, ice lollies, sweets, chewing gum, marzipan, jam, jelly, marmalade, mustard, yoghurt and many convenience foods together with glycerine, lemon and honey products. It is cheaper than beta carotene and therefore used as an alternative to beta carotene to achieve a similar colour. Tartrazine is also reputed to catalyse hyperactivity and other behavioural problems, asthma, migraines, thyroid cancer, etc. Because of its recently attributed hazardous health effects, foods and drinks containing Tartrazine are now avoided. It is a bright orange-yellow powder. In water, the solubility is 20.0 g/100 mL at 25 °C (2.0 × 105 mg/L). The spectral property is 425 nm in water for the maximum absorption waveband.

2.3 Activated Carbon Production

The pecan nut shells and peanut hulls were dried for 24 h and then were heated at 10 °C min−1 up to 857 °C under a nitrogen flow rate (0.5 L min−1); the maximum temperature was selected because that temperature value was very closer to that one reported for activated carbons prepared from another agricultural by-product. After the desired temperature was reached, steam was introduced into the furnace equipped with a quartz reactor, the steam activation was performed by injection of water with a peristaltic pump at the entrance of the quartz vessel (0.7mL min−1) for 80 min; the water drops were carried into the reactor by the gas used to maintain the inert atmosphere (N2). Then, heating was stopped and the samples were left to cool under the nitrogen atmosphere in the reactor. These conditions were optimised from a previous study (Torres-Pérez et al. 2015) and designed to follow a sustainable production process with the utilisation of local and abundant resources, a direct activation process was used and the activating agent was totally innocuous (water).

The steam activated material was called NAC-857-H2O for the one prepared at 857 °C with steam activation. After the carbonisation process was finished, the materials were crushed in a hammer mill and the particles were sieved, the particle sizes used for tartrazine removal experiments were between 0.50–1.00 mm; this step was done in order to obtain similar particle sizes to those of granular commercial activated carbons. This fraction was washed with distilled water (10 g L−1) until the pH remained constant, finally they were filtered and dried at 105 ± 5 °C with mass yields around 33.6%.

2.4 Adsorption Isotherms

Batch adsorption isotherms were conducted with 125 mL of synthetic solutions from 10 to 50 mg L−1 of tartrazine dye and 0.125 g of carbonaceous materials. The bottles were sealed and placed on an orbital shaker for 5 days at 20 °C. After shaking, the equilibrium pH was measured and recorded, the samples were decanted and the concentration of tartrazine in the aqueous media was determined by UV/Vis with a spectrophotometer (7315, Jenway®). Analytical measurements were obtained with a quantification limit of 0.2 mg L−1 and a detection limit of 0.1 mg L−1. It has been verified, that no dye adsorption occurs on the wall of the plastic bottles.

2.5 Equilibrium Isotherm Models

When the amount of solute, being adsorbed, onto the adsorbent is equal to the amount being desorbed, equilibrium is established and the equilibrium solution concentration remains unchanged. Plotting solid phase concentration against liquid phase concentration graphically generates the equilibrium isotherm. The equilibrium isotherm equations in Table 1 show the relationship between the concentration of a solute in the fluid (wastewater) phase and the concentration on the solid phase (adsorbent). It is the most convenient and direct way to investigate the adsorption capacity for an adsorbent to an adsorbate (Ip et al. 2010).

Table 1 Adsorption isotherm models and the corresponding equations

The isotherm Eqs. (1) to (4) are presented in Table 1 and the assumptions underlying the four models and the method of analysis have been presented previously (Ho et al. 2002).

2.6 Sorption Kinetics

Batch contact time experiments were conducted at room temperature (20 °C) by stirring 0.5 g of the pecan nut derived carbonaceous materials with 500 mL of tartrazine solutions (50 mg L−1) for NAC-857-H2O at 150 rpm; the initial concentration was established in order to have a representative and similar dye presence in water than those found in food and cosmetic industry wastewaters. Initial pH values were close to 7.0 in both cases and were recorded at the end of the experiment. The equilibrium time was considered accomplished when no more changes occurred at the X-axis by plotting Ct versus time (t). The tartrazine azo dye concentrations in the solutions were determined using a Jenway® UV/Visible spectrophotometer Model 7315 at 425 nm, the maximum adsorption wavelength of the dye.

2.7 Batch Adsorption Kinetics Models

In order to investigate the mechanism of adsorption and potential rate controlling steps such as chemical reaction, diffusion control and mass transport processes, kinetic models have been used to test experimental data. The kinetic models for batch adsorption can be divided into two categories: (i) pseudo-kinetic chemical reaction controlled models and (ii) mass transfer controlled models. In the present study two kinetic models have been selected to describe the adsorption kinetics and are represented by Eqs. (5) and (6).

2.8 Pseudo-First-Order Kinetic Model (Lagergren 1898)

$$ \frac{d{q}_{\mathrm{t}}}{dt_{\mathrm{t}}}={k}_1\left({q}_{\mathrm{e}}-{q}_{\mathrm{t}}\right) $$
(5)

Pseudo-second order kinetic model (Ho and McKay 1999a, b)

$$ \frac{d{q}_{\mathrm{t}}}{dt_{\mathrm{t}}}={k}_2{\left({q}_{\mathrm{e}}-{q}_{\mathrm{t}}\right)}^2 $$
(6)

Integrating and rearranging (6) provides Eq. (7):

$$ \frac{t}{q_{\mathrm{t}}}=\frac{1}{k_2{q}_{\mathrm{e}}^2}+\frac{1}{q_{\mathrm{e}}}\mathrm{t} $$
(7)

If the pseudo-second-order equation is applicable, the plot of t/qt against t in Eq. (7) should give a linear relationship. This equation provides an advantage that the adsorption capacity of qe can be obtained from the slope of the linear plot. The applications of this model are widely used in fitting the kinetic data for various systems (McKay and Ho 1999; Ho et al. 2000); the values are shown in Table 2.

Table 2 Values of k2, qe, and n in pseudo-second kinetic model equation

2.9 Batch Optimization Model-Activated Carbon Mass

A single-stage adsorption operation, can seldom achieve the desired level of adsorbate removal although single-stage operation has high operating flexibility. A multistage process, i.e. smaller separate batches of adsorbent with filtration between each stage, is more desirable in order to enhance the carbonaceous material efficiency, minimise the total amount of AC used and make the process more economic. The more the batches, the greater the savings are. However, the filtration expense and handling cost are also higher. It is therefore seldom economical to use more than two stages. It is necessary to determine the minimum amount of AC required in the two-stage operation by the following procedure.

A schematic flowsheet for a two-equilibrium-stage adsorption operation is shown in Fig. 1. The same amount of solution, Ls, is treated in each stage by different amounts of AC, Ss1 and Ss2, in the two stages, respectively. The concentrations of the solution are reduced from C0 to C1 and C1 to C2, respectively.

Fig. 1
figure 1

Schematic flowchart of two-equilibrium-stage operation

The material balance for stage 1 is shown as follows:

$$ {L}_{\mathrm{s}}\left({C}_0\hbox{--} {C}_1\right)={S}_{\mathrm{s}1}\ \left({q}_1\hbox{--} {q}_0\ \right) $$
(8)

And for stage 2, the material balance is as follows:

$$ {L}_{\mathrm{s}}\left({C}_1\hbox{--} {C}_2\right)={S}_{\mathrm{s}2}\ \left({q}_2\hbox{--} {q}_0\ \right) $$
(9)

q0 is the concentration of the adsorbate at the beginning stage and q0 is always equal to zero as fresh activated carbon is used in each stage; q1 and q2 are the concentrations of the adsorbates of material leaving the stage 1 and 2, respectively.

According to equilibrium isotherm modelling, the Langmuir-Freundlich isotherm was selected to express the adsorption equilibrium based on the least SSE in the model application. This model was used to determine the minimum amount of activated carbon required for the two-stage process.

The Langmuir-Freundlich isotherm is as follows:

$$ {q}_{\mathrm{e}}=\frac{q_{\mathrm{m}}{K}_{\mathrm{lf}}{C}_{\mathrm{e}}^{\frac{1}{n_{\mathrm{lf}}}}}{1+{K}_{\mathrm{lf}}{C}_{\mathrm{e}}^{\frac{1}{n_{\mathrm{lf}}}}} $$
(10)

The material balance for stage 1 became,

$$ \frac{S_{\mathrm{s}1}}{L_{\mathrm{s}}}=\frac{C_0-{C}_1}{q_1-{q}_0} $$
(11)
$$ \frac{S_{\mathrm{s}1}}{L_{\mathrm{s}}}=\frac{\left({C}_0-{C}_1\right)\left(1+{a}_{\mathrm{LF}}{C}_1^{n_{\mathrm{LF}}}\right)}{K_{\mathrm{LF}}{C}_1^{n_{\mathrm{LF}}}} $$
(12)

and for stage 2, it becomes as follows:

$$ \frac{S_{\mathrm{s}2}}{L_{\mathrm{s}}}=\frac{C_1-{C}_2}{q_2-{q}_0} $$
(13)
$$ \frac{S_{\mathrm{s}2}}{L_{\mathrm{s}}}=\frac{\left({C}_1-{C}_2\right)\left(1+{a}_{\mathrm{LF}}{C}_2^{n_{\mathrm{LF}}}\right)}{K_{\mathrm{LF}}{C}_2^{n_{\mathrm{LF}}}} $$
(14)

The total amount of adsorbent used was as follows:

$$ \frac{S_{\mathrm{s}1}+{S}_{\mathrm{s}2}}{L_{\mathrm{s}}}=\frac{1}{K_{\mathrm{LF}}}\left(\frac{\left({C}_0-{C}_1\right)\left(1+{a}_{\mathrm{LF}}{C}_1^{n_{\mathrm{LF}}}\right)}{C_1^{n_{\mathrm{LF}}}}+\frac{\left({C}_1-{C}_2\right)\left(1+{a}_{\mathrm{LF}}{C}_2^{n_{\mathrm{LF}}}\right)}{C_2^{n_{\mathrm{LF}}}}\right). $$
(15)
$$ \frac{d\left[\left({S}_{\mathrm{s}1}+{S}_{\mathrm{s}2}\right)/{L}_{\mathrm{s}}\right]}{d{C}_1} $$
(16)

was set equal to zero in order to determine the minimum total adsorbent required. Thus, the equation becomes as follows:

$$ \frac{1}{K_{\mathrm{LF}}}\left[{n}_{\mathrm{LF}}\frac{1}{C_1^{n_{\mathrm{LF}}}}\left(\frac{C_0}{C_1}+1\right)+\frac{1}{C_1^{n_{\mathrm{LF}}}}\right]=\frac{1}{K_{\mathrm{LF}}{C}_2^{n_{\mathrm{LF}}}} $$
(17)
$$ \mathrm{Let}\;X={\left(\frac{C_1}{C_2}\right)}^{b_{\mathrm{F}}}-{b}_{\mathrm{F}}\frac{C_0}{C_1}-1+{b}_{\mathrm{F}}. $$
(18)

The intermediate concentration, C1, was determined by setting the value of X in Eq. (18) to be zero using the solver add-in with Microsoft Excel spreadsheet. Thus, the amount of adsorbent required for each stage could be determined by Eqs. (12) and (13).

The required amounts of adsorbent to reduce the final effluent concentration to 1, 5 and 10% of the original concentration and 0.5, 1, 2, 5 and 10 ppm were investigated, respectively.

3 Results and Discussion

As a result of the carbonisation/activation process of pecan nut shells, an activated carbon was obtained and the material was designates NAC-857-H2O; this material was used in all the equilibrium and isotherm studies.

3.1 Equilibrium Studies

The isotherm constants have been determined and the fitting results of equilibrium isotherm models of the azo dye (Tartrazine) are as shown in Table 3. The SSE values were obtained using Microsoft Solver.

Table 3 Summary of equilibrium isotherm constants of tartrazine acid yellow 23 dye for different isotherms

As can be seen from Table 3, the SSE values of Freundlich and Langmuir-Freundlich isotherms were the lowest which means they are the best fitting models. This result can also be seen clearly from Fig. 2 where the curve of Langmuir-Freundlich isotherm fits best with the plots of the experimental data.

Fig. 2
figure 2

Equilibrium isotherms for tartrazine acid yellow 23 dye system

Thus, Langmuir-Freundlich isotherm was used for the mass optimization. The intermediate concentration, C1, was determined by setting the value of X in Eq. (18) to be zero using the solver add-in with Microsoft Excel Spreadsheet. Thus, the amount of adsorbent required for each stage could be determined by Eqs. (12) and (13).

The required amount of activated carbon to reduce the final effluent concentration to 1, 5 and 10% of the original concentration and 0.5, 1, 2, 5 and 10 ppm were investigated, respectively. Tables 4, 5, 6, 7, 8, 9, 10, and 11 show the summary of the optimised amounts of the required activated carbon obtained from pecan nut shells for different initial dye concentrations.

Table 4 Minimum total adsorbent mass Ss1 + Ss2 for removal of tartrazine acid yellow 23 dye using Langmuir-Freundlich isotherm (C2 = 1% C0)
Table 5 Minimum total adsorbent mass Ss1 + Ss2 for removal of tartrazine acid yellow 23 dye using Langmuir-Freundlich isotherm (C2 = 5% C0)
Table 6 Minimum total adsorbent mass Ss1 + Ss2 for removal of tartrazine acid yellow 23 dye using Langmuir-Freundlich isotherm (C2 = 10% C0)
Table 7 Minimum total adsorbent mass Ss1 + Ss2 for removal of tartrazine acid yellow 23 dye using Langmuir-Freundlich isotherm (C2 = 0.5 ppm)
Table 8 Minimum total adsorbent mass Ss1 + Ss2 for removal of tartrazine acid yellow 23 dye using Langmuir-Freundlich isotherm (C2 = 1 ppm)
Table 9 Minimum total adsorbent mass Ss1 + Ss2 for removal of tartrazine acid yellow 23 dye using Langmuir-Freundlich isotherm (C2 = 2 ppm)
Table 10 Minimum total adsorbent mass Ss1 + Ss2 for removal of tartrazine acid yellow 23 dye using Langmuir-Freundlich isotherm (C2 = 5 ppm)
Table 11 Minimum total adsorbent mass Ss1 + Ss2 for removal of tartrazine acid yellow 23 dye using Langmuir-Freundlich isotherm (C2 = 10 ppm)

From the Tables 4, 5, 6, 7, 8, 9, 10, and 11, it can be inferred that the total amount of activated carbon needed for the adsorption increases as the value of C0 increases and they are in a proportional relationship. C1 also has a linear relationship with C0. It was also observed that more adsorbent is required in the first stage than in the second stage. This is because the decrease in concentration is much larger in first stage than in second stage.

For the kinetic studies and contact time optimization of tartrazine acid yellow 23 dye on NAC-857-H2O Activated Carbon, the settings used for the analysis are shown in Table 12. The pseudo-second order model was employed to determine the contact time optimization as it had a good correlation with experimental data as shown in Table 13.

Table 12 The settings of the variables used in contact time optimization analysis
Table 13 Values of k1, qe, and n in pseudo-second kinetic model equation

The parameter fit for the pseudo-second order model was describing by using the next equations

$$ {q}_t=\frac{q_e^2 kt}{1+{q}_e kt} $$
(19)

in which the parameters k and q e are fitted by

$$ \left\{{}_{q_e={A}_{qe}{c}_0^{B_{qe}}}^{k={A}_k{c}_0^{B_k}}\right., $$
(20)

and the fitted values parameters were 0.0917, − 0.8611, 0.6397 and 0.8385 for Ak, Bk, Aqe and Bqe, respectively (Figs. 3 and 4).

Fig. 3
figure 3

Curve of k value versus C0

Fig. 4
figure 4

Curve of qe value versus C0

For the determination of the optimization time for the pseudo-second order model, from the second order model Eq. (21):

$$ {q}_t=\frac{q_e^2 kt}{1+{q}_e kt} $$
(21)

The minimum time required to achieve an adsorption of qt can be derived as follows

$$ t=\frac{1}{kq_{\mathrm{e}}^2\left(1/{q}_{\mathrm{t}}-1/{q}_{\mathrm{e}}\right)}=\frac{q_{\mathrm{t}}}{kq_{\mathrm{e}}\left({q}_{\mathrm{e}}-{q}_{\mathrm{t}}\right)} $$
(22)

where,

  1. (a)

    C0 = 0.1 mg/L, S = 0.5 g, L = 0.5 L, R = 90% (Fig. 5)

Fig. 5
figure 5

Time optimization for tartrazine acid yellow 23 dye with 90% removal (C0 = 0.1 mg/L)

  1. (b)

    C0 = 0.1 mg/L, S = 0.5 g, L = 0.5 L, R = 95% (Fig. 6)

Fig. 6
figure 6

Time optimization for tartrazine acid yellow 23 dye with 95% removal (C0 = 0.1 mg/L)

  1. (c)

    C0 = 0.1 mg/L, S = 0.5 g, L = 0.5 L, R = 99% (Fig. 7)

Fig. 7
figure 7

Time optimization for tartrazine acid yellow 23 dye with 99% removal

  1. (d)

    (C0 = 0.1 mg/L)(d) C0 = 0.1 mg/L, S = 0.5 g, L = 0.5 L, comparison (Fig. 8)

Fig. 8
figure 8

Comparison of contact time needed for different percentage of removal (C0 = 0.1 mg/L)

  1. (e)

    C0 = 0.2 mg/L, S = 0.5 g, L = 0.5 L, R = 90% (Fig. 9)

Fig. 9
figure 9

Time optimization for tartrazine dye with 90% removal (C0 = 0.2 mg/L)

  1. (f)

    C0 = 0.2 mg/L, S = 0.5 g, L = 0.5 L, R = 95% (Fig. 10)

Fig. 10
figure 10

Time optimization for tartrazine acid yellow 23 dye with 95% removal (C0 = 0.2 mg/L)

  1. (g)

    C0 = 0.2 mg/L, S = 0.5 g, L = 0.5 L, R = 99% (Fig. 11)

Fig. 11
figure 11

Time optimization for tartrazine dye with 99% removal (C0 = 0.2 mg/L)

  1. (h)

    C0 = 0.2 mg/L, S = 0.5 g, L = 0.5 L, comparison (Fig. 12)

Fig. 12
figure 12

Comparison of contact time needed for different percentage of removal (C0 = 0.2 mg/L)

Figures 5, 6, 7, 8, 9, 10 and 11 show the two individual adsorption curves for the removal of tartrazine acid yellow 23 and the third curve is the resultant of the two-stage batch adsorber demonstrating the significant reduction in contact time that can be achieved. Figure 12 shows the contact time minimization curves for an initial tartrazine concentration of 0.2 mg/L to achieve three different percentage removals, namely, 90, 95 and 99%. The results show that the contact time is much lower for larger amounts of activated carbon used and lower initial tartrazine dye concentration. This is because more active sites were provided to take place when more activated carbon was used; therefore, a shorter contact time was needed. The condition was similar for low initial dye concentration. There was a significant difference between the number of sites and the number of dye molecules, so a shorter contact time was needed.

Obviously, for a higher percentage of dye removal or higher initial dye concentration, a longer contact time was required. To solve this problem, more carbon can be used so that more active sites were provided for the reaction. Therefore, the contact time can be reduced. If the amount of carbonaceous material was too small, a higher fractional dye removal may never be reached. Since the rate of the azo dye removal process was rapid initially, the activated carbon had already reached equilibrium with the dye molecules and it was unable to continue the process; therefore, the dye to activated carbon ratio must be considered in order to achieve a higher percentage of removal.

Usually, the contact time for stage 1 was shorter than that for stage 2. This is because the rate of the process was much faster in stage 1 since the dye concentration was very high initially. The activated carbon from pecan nut shells in stage 1 reached equilibrium quickly. In stage 2, the dye concentration has been already reduced; the rate of adsorption was limited by the amount of dye remained in the solution, which is much lower than in stage 1. Hence, a longer contact time was needed.

4 Conclusion

For the adsorption of tartrazine dye on the pecan shell derived activated carbon, the Langmuir-Freundlich equilibrium isotherm model provides the best fit with the experimental data. The total amount of activated carbon needed for the adsorption increased as the value of C0 goes up and these two parameters exhibit a linear relationship. It was also observed that more adsorbent material is required in the first stage than in the second stage. This is because the decrease in concentration is much larger in first stage than in the second stage.

The contact time is much lower for larger amounts of activated carbon being used and for lower initial concentrations of the adsorbate. This is because more active sites were provided for adsorption to take place when more adsorbent was used. It was much easier for the adsorbate to attach onto the sites for exchange. As a result, a shorter contact time was needed. The condition was similar for low initial adsorbate concentrations.

For the two-stage batch adsorber analysis, usually, the contact time for stage 1 was shorter than that for stage 2. This is because the rate of the process was much faster in stage 1 since the adsorbate concentration was very high initially. The adsorbent in stage 1 reached equilibrium quickly. In stage 2, the adsorbate concentration had been already reduced; the rate of ion exchange process was limited by the amount of adsorbate ions remained in the solution. Hence, a longer contact time was needed. By varying the pecan derived carbon masses in each of the two stages the minimum total mass of carbon can be determined.

The minimum total contact time for a given set of parameters can be obtained by minimization of the kinetic rate equations.