Adsorption mechanisms of methylene blue and methyl orange on activated carbon: scientific interpretation and modeling simulation Authors: Hedi Jedli, Souhail Mohammed Bouzgarrou, Rym Hassani, Ehab Sabi, Leila Jamel, Khalifa Slimi Published: 2026 ABSTRACT AbstractActivated carbon was produced from olive waste to investigate the adsorption behavior of methylene blue (MB) and methyl orange (MO) dyes in aqueous solutions. The adsorbent was characterized using X-ray diffraction and scanning electron microscopy, and adsorption isotherms were measured at three different temperatures. A statistical physics framework was employed to analyze the adsorption mechanisms of the dyes on the carbon surface. The steric, energetic, and thermodynamic characteristics of the most relevant advanced were analyzed in detail. The number of active sites for MB was determined to range from 1.32 to 1.78, while for MO it ranged from 1.23 to 1.62, indicating that the orientation of dye molecules on the adsorbent is influenced by temperature. Overall, MB shows a slightly higher adsorption capacity than MO. Moreover, increasing the temperature reduces adsorption, indicating that the process is exothermic for both dyes. Moreover, adsorption energy values ranging from 9.85 to 18.90 kJ/mol indicate that physical interactions are responsible for the adsorption process. Thermodynamic characteristics demonstrated that deyes adsorption onto the AC adsorbent is spontaneous and feasible.Keywords: Activated carbon, Methylene blue, Methyl orange, Physical modelingSubject terms: Chemistry, Environmental sciences, Materials science, Nanoscience and technology Introduction Dyes are synthetic chemical compounds that impart color by chemically attaching to various materials, including textiles, paper, and animal fibers. They are widely used across numerous industrial sectors, such as textile manufacturing, printing, paper production, plastics, and leather processing. In addition, dyes are commonly found in everyday consumer products, including pharmaceuticals, food items, cosmetics, and personal care products1,2. Although synthetic dyes are widely used, they can pose significant environmental and health risks. Industrial effluents containing these dyes often introduce toxic compounds into water bodies, which can disrupt microbial ecosystems and threaten the health of humans and animals, with some dyes exhibiting potential carcinogenic properties3. Specifically, exposure to dyes such as methylene blue (MB) and methyl orange (MO) has been linked to several health hazards in humans. These include inflammation of the leptomeninges, increased heart rate, neuronal cell damage, and gastrointestinal effects such as nausea and vomiting4,5. Overall, the presence of dyes in the environment is a major concern because of their toxic effects on human health and their contribution to environmental pollution. To mitigate these impacts, a variety of treatment methods can be applied to remove or degrade organic dyes in water. Among these, ultrafiltration, ozonation, oxidation, and adsorption are the most widely used techniques for dye removal6–8. The adsorption process is widely acknowledged as an effective and competitive approach for removing dyes from polluted water. This method is preferred due to its simplicity, high efficiency, and the flexibility to utilize a variety of adsorbent materials8. A variety of adsorbent materials can be employed to remove dyes from aqueous solutions, including biomass-derived materials, multiwalled carbon nanotubes, activated carbon, and zeolites9–11. In this context, activated carbon is one of the most widely employed adsorbents for removing dyes from aqueous solutions12. Although it is extensively used in water and wastewater treatment as well as in various industrial applications, the adsorption of organic pollutants using activated carbon remains costly due to both the price of the adsorbent and the expenses associated with its regeneration13. Several studies have demonstrated that activated carbon derived from olive waste (e.g., olive stones or pomace) possesses favorable textural properties for adsorption, including high specific surface area and significant porosity, which enhance its interaction with aqueous pollutants. Chemically activated olive waste can be optimized to achieve a large surface area and functional surface groups, making it competitive with conventional commercial adsorbents14. This material has been successfully used to remove heavy metals, such as Fe(III) with over 99% efficiency15 and hexavalent chromium (Cr(VI))16, confirming its potential as a low-cost and sustainable adsorbent. Moreover, the valorization of agricultural olive residues has been shown to produce activated carbon with an exceptionally high specific surface area (> 1857 m²/g), which is highly effective for the adsorption of pharmaceutical micropollutants17. Similarly, sulfuric acid–modified Cupressus sempervirens cones (H2SO4-CSC) efficiently removed methylene blue, following pseudo-second-order kinetics, with spontaneous and endothermic adsorption best described by the Sips isotherm18. These findings highlight the technical efficiency and environmental benefits of converting agricultural olive waste into effective adsorbents for water treatment within a circular economy framework. In this study, activated carbon derivied from olive waste (AC) were used as an adsorbent to investigate the adsorption of methylene blue (MB) and methyl orange (MO), two common dye pollutants frequently present in wastewater. The use of theoretical modeling is essential for elucidating the underlying mechanisms of adsorption-based dye removal. Traditionally, classical models have been employed for this purpose, For instance, isotherm models and equations such as Langmuir, Freundlich, Temkin, Dubinin–Radushkevich Redlich-Peterson (RP) and Sips have been widely applied to analyze dye adsorption systems19–24. However, their interpretations are often limited due to the simplifying assumptions underlying these models. Therefore, classical models offer only a partial understanding of the adsorption process. By contrast, models developed using the grand canonical framework of statistical physics represent a powerful alternative for investigating the adsorption of these dyes onto the adsorbent. Therefore, the aim of this study was to examine the adsorption of two specific dyes (MB and MO) onto the promising adsorbent activated carbon and to interpret the results using physical models, providing a comprehensive understanding of the adsorption process. For this purpose, adsorption isotherms were experimentally determined at varying temperatures, and a Statistical physical model was applied to interpret the statistical parametrs such as the number of adsorbed ions per active site (n), the density of receptor sites (), the removed amount at saturation () and the energetic aspect (). Experimental section Preparation of activated carbon and characterization Activated carbon was prepared from olive waste using a modified method23. The olive waste were washed, dried at 100 °C for 24 h, then crushed and sieved to obtain particles of 200–400 μm. The powder was impregnated with 85% phosphoric acid (H₃PO₄) at a 1:1 weight ratio and heated at 100 °C for 24 h. After washing with deionized water and sodium bicarbonate (NaHCO₃) to neutralize acidity, the material was thermally treated at 600 °C for 4 h. The final activated carbon was washed with distilled water and dried at 100 °C. The AC was characterized by XRD using a Philips MPD1880–PW1710 diffractometer to evaluate the crystallinity of the adsorbent. The measurements were carried out using CuKα radiation (λCuKα) at a scanning rate of 2° min⁻¹ over a 2θ range of 2°–80°, with a step size of 0.02°. The surface morphology of the sample were examined using scanning electron microscopy coupled with energy-dispersive X-ray spectroscopy (SEM–EDS, JSM-6360LV, JEOL). Adsorption experiments The adsorption tests were performed using batch experiments. In each experiment, 50 mL of dye solution with an initial concentration of 100 mg L⁻¹ was transferred into a glass container, and the solution pH was adjusted between 2 and 10 using diluted nitric acid (HNO₃). A specific mass of adsorbent ranging from 0.01 to 0.9 g was added to the solution, and the mixture was subjected to sonication at ambient temperature for contact times between 5 and 170 min. The UV spectrometer was employed for absorbance measurements at λmax = 664 nm. The adsorption quantity was determined using the following expression (10)24: where is the quantity adsorbed, is the initial dye concentration of MB (mg L⁻¹), is the final concentration of MB (mg L⁻¹), V is the volume of the solution (L), and m is the mass of the adsorbent (g). Physical modeling The isothermal adsorption profiles of MB and MO were analyzed using three fitting frameworks presented in Table 1: a monolayer model (Model 1), a bilayer model involving two distinct adsorption energies (Model 2), and a saturated multilayer model (Model 3)25. These models were established based on the grand canonical distribution derived from probabilistic formalism. The adsorption energies can be calculated using the following equations26: Table 1The advanced statistical physics models25.ModelEquationModel 1 where C1/2 is the concentration at half-saturation (mg.L− 1)Model 2 where C1/2 (mg.L− 1) is the concentration at half-saturation.Model 3 where C1 and C2 are the half-saturation concentration (mg.L− 1) The advanced statistical physics models25. where C1/2 is the concentration at half-saturation (mg.L− 1) where C1/2 (mg.L− 1) is the concentration at half-saturation. where C1 and C2 are the half-saturation concentration (mg.L− 1) where (mg L⁻¹) represents the solubility of MB, MO dye in water. Results and discussion Characterization of the AC Figure 1 illustrates the XRD pattern of the AC, revealing two prominent peaks at approximately 2θ = 24° and 43°. These peaks are assigned to the (002) and (100) planes of disordered carbon, confirming the predominantly amorphous nature of the material16,19. The surface morphology of the AC, as shown in Fig. 2, reveals a rough and highly porous structure. The abundance of pores and cavities increases the available surface area, thereby promoting the adsorption of dye molecules onto the AC5,20. The BET surface area and total pore volume of the studied activated carbon are 1565 m²·g⁻¹, with a micropore volume (Vmicropore) of 0.649 cm³·g⁻¹, a mesopore volume (Vmesopore) of 0.027 cm³·g⁻¹, and a total pore volume of 0.676 cm³·g⁻¹. XRD spectrum of the AC16,19. SEM image of the AC5. Physical statistical interpretations The selected models were fitted to the experimental adsorption data of the dye, and the corresponding results are presented in Table 2. The coefficient of determination (R²) was used to assess the accuracy of each model. As shown in Table 2, Model 3 exhibited an R² value greater than 0.99, indicating that the multilayer model with saturation best represents the dye adsorption mechanism and provides the most accurate fit to the adsorption isotherm data. Table 2The advanced statistical physics models AM1, AM2, AM3.AdsorbentModelAM1AM2AM3T (K)R2R2R2MB3030.9940.990 0.9993130.9950.9910.9983230.9910.9930.999 MO3030.9910.9910.9993130.9890.9920.9993230.9810.9910.999 The advanced statistical physics models AM1, AM2, AM3. This model assumes that the adsorption of MB and MO dyes onto the AC adsorbent occurs through a multilayer process, involving the formation of a finite number of adsorbate layers. To characterize the adsorption interactions, the model considers two types of adsorption energies: dye–dye interactions and dye–adsorbent surface interactions. The first energy is associated with the formation of the initial adsorbate layer, whereas the second corresponds to the formation of a limited, variable number of subsequent layers. According to this model, the total number of dye molecule layers formed is expressed as: 1 + N₂25,26. Number of molecules per site (n) The parameter has a steric significance, providing insight into the adsorption behavior of MB and MO dyes on AC adsorbent. The value of n also reflects the orientation of dye molecules on the adsorbent surface. When n is below 1, the molecule tends to adsorb in a parallel (horizontal) orientation, interacting with multiple adsorption sites. Conversely, when n exceeds 1, the molecules are primarily adsorbed in a non-parallel (vertical) orientation, engaging in a multimolecular adsorption mode. As shown in Table 1, Most of the calculated n values exceed 1, suggesting that both dyes predominantly interact with a single adsorption site, adopting a non-parallel orientation27,28. An aggregation phenomenon was observed during adsorption (molecules remain as monomers when n is near 1 and form dimers when n approaches 2), but it occurs to a limited extent. This low level of aggregation can be attributed to temperature, which was insufficient to significantly activate the system before adsorption (Fig. 3). The effect of temperature on this parameter is shown in Fig. 4. In general, increasing the temperature caused n to decrease, after a slight rise at the lowest temperature. This indicates that higher temperatures do not significantly promote aggregation. In addition, the decrease in n may change the orientation of the dyes on the adsorbent surface, leading to either a parallel alignment or a combination of parallel and non-parallel orientations. Result of fitting isotherms data of (a) MB adsorption and (b) MO onto AC with AM3. Effect of temperature on the n parameter for MB and MO dyes. The density of sites The change in the parameter with temperature is presented in Fig. 5. In contrast to parameter n, the density parameter exhibited an opposite trend. Specifically, as n increased, decreased, and vice versa. For instance, the rise of n with increasing temperature may result in a reduction of the available space the adsorbent, particularly through a decrease in the number of occupied receptor sites. Effect of temperature on the Dm parameter for the MB and MO dyes. The maximum adsorption capacity The parameter Qm is influenced by the variation of the parameters n and . According to the fitting results presented in Table 3, the MB dye exhibits a slightly higher adsorption compared with MO dye; however, the difference in their adsorption capacities remains relatively small. Furthermore, the maximum adsorption capacity ranges from 198.62 to 235.21 mg/g for MB dye and from 136.6 to 193.21 mg/g for MO dye. The influence of temperature on this parameter is illustrated in Fig. 6. It is evident that temperature plays a significant role in determining the adsorption behavior of MB and MO dyes. In addition, an increase in temperature leads to a decrease in the maximum adsorption capacity, indicating that the adsorption process of both dyes is exothermic27,28. Table 3Statistical Physics Parameters for MB and MO Adsorption on AC.AdsorbentT (K) n (mg.g− 1) (mg.g− 1)(kJ.mol− 1) (kJ.mol− 1)MB2981.7856.32235.2118.9015.613031.5460.74209.6215.4111.443131.3269.17198.6211.8510.42MO2981.6250.31193.2116.8213.523031.4158.62182.3213.3210.323131.2365.01169.610.259.85 Statistical Physics Parameters for MB and MO Adsorption on AC. Effect of temperature on the Qm parameter for the MB and MO dyes. Adsorption energies The estimation of adsorption energy is helpful for understanding the adsorption mechanism of MB and MO on AC. The adsorption energies were determined at different temperatures using the half-saturation concentrations and applying Eqs. (3) and (4). The obtained results are summarized in Table 3; Fig. 7. The calculated adsorption energies indicate that the adsorption of MB and MO on AC occurs primarily through physical adsorption, as all values were below 40 kJ/mol27. It is also important to consider these energy values in relation to the amount of adsorbent used per litre of solution, since the adsorption capacity and the apparent interaction energy can be influenced by the adsorbent dosage. A higher adsorbent loading per litre generally provides more available active sites, which can affect the equilibrium distribution of dye molecules and consequently the calculated energy parameters. Effect of temperature on the of adsorption energy (a) ( ) and (b) for the MB and MO dyes. It was also observed that ΔE₁ and ΔE₂ are negative at all adsorption temperatures, indicating that the adsorption process is exothermic27. This is consistent with the observed influence of temperature on the adsorption capacities. As anticipated, ΔE₁ values were greater than ΔE₂, as ΔE₁ represents the interactions between MB or MO molecules and the active sites on AC, while ΔE₂ accounts for interactions between the adsorbed MB or MO molecules themselves. The entropy of adsorption (S) The S analysis provides valuable insight into the degree of structural organization and the randomness of the adsorbed species. Equation (12) is derived by relating the grand canonical partition function to the grand thermodynamic potential J28, as expressed by: Figure 8 shows the variation of S as a function of equilibrium concentration. The curves exhibit a similar pattern that can be divided into two distinct regions. In the first region, corresponding to low concentrations, entropy increases, indicating a higher degree of disorder within the system. In the second region, observed at higher concentrations, entropy decreases. This behavior can be explained by the adsorption mechanism. At low concentrations, dye molecules have access to numerous vacant active sites, which allows greater freedom of movement and a more random spatial distribution, thereby increasing disorder. In contrast, at elevated concentrations, the activated carbon (AC) surface approaches monolayer saturation, limiting the availability of adsorption sites. As a result, the adsorbed molecules adopt a more organized arrangement, leading to a reduction in entropy27,28. The evolution of entropy as a function of equilibrium (a) MB and (b) MO concentrations. The total internal energy (Eint) The Eint reflects the overall energetic state of the adsorption system and provides insight into the interactions occurring between adsorbate molecules and the adsorbent surface. It is defined as28: where is the grand canonical partition function, , and is the chemical potential. Figure 9 depicts the evolution of the Eint during the adsorption of dye molecules onto activated carbon (AC) at various temperatures. The Eint remains negative across all conditions, confirming the exothermic nature of the adsorption process. In addition, increasing pressure results in a further decline in internal energy, indicating the release of energy as dye molecules gradually occupy the available adsorption sites. This trend reflects the progressive stabilization of the system during adsorption and supports the spontaneous interaction between the dye molecules and the AC surface27,28. Internal energy variation as a function of equilibrium (a) MB and (b) MO concentrations. Gibbs free energy (G) The G parameter is an essential thermodynamic parameter for assessing the spontaneity of an adsorption process. It can be expressed as follows28: where is the chemical potential (J/mol) and is adsorbed quantity (mg/g) . Figure 10 illustrates the dependence of Gibbs free energy on temperature for the adsorption of dyes onto activated carbon (AC). The negative values of confirm that the adsorption process occurs spontaneously. However, the absolute value of decreases with increasing temperature, indicating that thermal agitation weakens the driving force of adsorption and reduces its degree of spontaneity. Gibbs free enthalpy variation as a function of equilibrium (a) MB and (b) MO concentrations. Regeneration of the adsorbent The regeneration tests of the AC (Fig. 11) highlight its excellent reusability, as it maintains effective adsorption performance over more than seven successive cycles without any significant reduction in efficiency. The adsorption capacity exhibits only a slight decrease between the first and seventh cycles, demonstrating the material’s stability and consistent effectiveness during repeated use. Regeneration efficiency of the AC. Conclusion Activated carbon was synthesized from olive waste and utilized to investigate the adsorption behavior of methylene blue and methyl orange. Modeling analysis revealed that, for both dyes, the adsorption data were best described by a multilayer model with saturation. The steric, energetic, and thermodynamic parameters resulting from these model gave the appropriate fit of the dyes-AC interaction were thoroughly interpreted. The orientation of the dyes on the adsorbent surface was evaluated using the n parameter, suggesting a non-parallel alignment. Moreover, the observed variation in adsorption capacity was mainly attributed to differences in the n values. The calculated adsorption energies were negative and below 40 kJ·mol⁻¹, suggesting that the process is both exothermic and governed by physisorption. A decrease in temperature led to an increase in Qm, further supporting the exothermic character of the adsorption. Thermodynamic parameters, including entropy, Gibbs free energy, and internal energy, confirmed that the adsorption of dyes onto the AC adsorbent occurs spontaneously .This study demonstrates the potential of olive-waste-derived activated carbon as an efficient and sustainable adsorbent for dye removal from aqueous solutions. These findings also suggest promising opportunities for further material optimization to enhance adsorption performance and target emerging contaminants. Acknowledgements This research is supported by Princess Nourah bint Abdulrahman University Researchers Supporting Project number (PNURSP2026R897), Princess Nourah bint Abdulrahman University, Riyadh, Saudi Arabia. Author contributions Jedli Hedi: Conceptualization, data curation, investigation.Souhail Mohammed bouzgarrou, Rym methodology, Leila Jamel: Validation, visualization, Conceptualization.Ehab Sabi: AcquisitionKhalifa Slimi: Writing–review & editing. Funding No Funding. Data availability Data available from the corresponding author on reasonable request. Declarations Competing interests The authors declare no competing interests. Footnotes Publisher’s note Springer Nature remains neutral with regard to jurisdictional claims in published maps and institutional affiliations. Contributor Information Hedi Jedli, Email: jedli.hedi@gmail.com. Souhail Mohammed Bouzgarrou, Email: s_bouzgarrou2002@yahoo.fr, Email: souhailbouzgarrou@jazanu.edu.sa. References Associated Data Data Availability Statement Data available from the corresponding author on reasonable request.