원시데이터 수집 시스템
선정목록으로

Deep learning artificial neural network framework to optimize the adsorption capacity of 3-nitrophenol using carbonaceous material obtained from biomass waste

관련 산업용 섬유 · (10) 아라미드

기본 정보

저자
  1. Rasikh Tariq — Institute for the Future of Education, Tecnologico de Monterrey, Ave. Eugenio Garza Sada 2501, 64849, Monterrey, N.L., México
  2. Mohamed Abatal — Facultad de Ingeniería, Universidad Autónoma del Carmen, Avenida Central S/N Esq. con Fracc. Mundo Maya, C.P. 24115, Ciudad del Carmen, Campeche, México. mabatal@pampano.unacar.mx|||Facultad de Ingeniería, Universidad Autónoma del Carmen, Avenida Central S/N Esq. con Fracc. Mundo Maya, C.P. 24115, Ciudad del Carmen, Campeche, México
  3. Joel Vargas — Instituto de Investigaciones en Materiales, Unidad Morelia, Universidad Nacional Autónoma de México, Antigua Carretera a Pátzcuaro No. 8701, Col. Ex Hacienda de San José de la Huerta, C.P. 58190, Morelia, Michoacán, México
  4. Alma Yolanda Vázquez-Sánchez — Área Agroindustrial Alimentaria, Universidad Tecnológica de Xicotepec de Juárez, Av. Universidad Tecnológica No. 1000. Col. Tierra Negra Xicotepec de Juárez, 73080, Puebla, México
DOI
10.1038/s41598-024-70989-0
저널
Scientific Reports
발행년도
2024
발행기관
Nature Portfolio
피인용수
14
라이선스
cc-by-nc-nd
논문 유형
–
언어
–
원문 페이지
https://doi.org/10.1038/s41598-024-70989-0
토픽
Graphene research and applications
OpenAlex ID
W4402031829

평가 내용

관련도
관련
사업분야
산업용 섬유 · (10) 아라미드
부 분야
–
R&D 측면
–
확신도
–
근거 용어
–
판단 근거
임베딩 유사도 기반 평가로 '산업용 섬유 > 아라미드' 분야에 선정된 논문입니다.
R&D 활용 포인트
–
평가 입력
–

초록

The presence of toxic chemicals in water, including heavy metals like mercury and lead, organic pollutants such as pesticides, and industrial chemicals from runoff and discharges, poses critical public health and environmental risks leading to severe health issues and ecosystem damage; education plays a crucial role in mitigating these effects by enhancing awareness, promoting sustainable practices, and integrating environmental science into curricula to empower individuals to address and advocate for effective solutions to water pollution. However, the educational transformation should be accompanied with a technical process which can be eventually transferred to society to empower environmental education. In this study, carbonaceous material derived from Haematoxylum campechianum (CM-HC) was utilized for removing 3-nitrophenol (3-Nph) from aqueous solutions. The novelty of this research utilizes Haematoxylum campechianum bark and coconut shell, abundant agricultural wastes in Campeche, Mexico, for toxin removal, enhancing the adsorption process through artificial neural networks and genetic algorithms to optimize conditions and maximize the absorption efficiency. CM-HC's surface morphology was analyzed using scanning electron microscopy (SEM/EDS), BET method, X-ray powder diffraction (XRD), and pHpzc. Kinetic models including pseudo-first-order (PFO), pseudo-second-order (PSO), and Elovich were applied to fit the data. Adsorption isotherms were determined at varying pH (3-8), adsorbent dosages (2-10 g/L), and temperatures (300.15-330.15 K), employing Langmuir, Freundlich, Temkin, and Redlich-Peterson models. PSO kinetics demonstrated a good fit (R<sup>2</sup> > 0.98) for Ci = 50-100 mg/L, indicating a chemical adsorption mechanism. The Langmuir isotherm model exhibited the best fit, confirming chemical adsorption, with a maximum adsorption capacity (Q<sub>m</sub>) of 236.156 mg/g at T = 300.15 K, pH = 6, contact time = 3 h, and 2 g/L adsorbent dosage. Lower temperatures favored exothermic adsorption. Artificial neural networks (ANNs) were employed for deep learning, optimizing the predictive model for removal percentage. Correlation heat maps highlighted positive correlations between time, dosage, and removal percentage, emphasizing the impact of initial concentration on efficiency. ANN modeling, incorporating iterative optimization, yielded highly accurate predictions, aligned closely with experimental results. The study showcases the success of deep learning in optimizing adsorption processes, emphasizing the importance of diverse correlation algorithms for comprehensive insights into competitive adsorption dynamics. The 5-14-14-1 deep learning architecture, fine-tuned over 228 epochs, demonstrated strong performance with mean squared error (MSE) values of 4.07, 18.406, and 6.2122 for training, testing, and total datasets, respectively, and high R-squared values. Graphical analysis showed a solid linear correlation between experimental and simulated removal percentages, emphasizing the need to consider more than just testing data for optimization. Experimental validation confirmed a 98.77% removal efficiency, illustrating the effectiveness of combining deep learning with genetic algorithms, and highlighting the necessity of experimental trials to verify computational predictions. It is concluded that the carbonaceous material from Haematoxylum campechianum waste (CM-HC) is an effective, low-cost adsorbent for removing 3-nitrophenol from aqueous solutions, achieving optimal removal at pH 6 and 300.15 K with a maximum adsorption capacity of 236.156 mg/g, following Langmuir model and pseudo-second order kinetics. The validated ANN model offers a reliable tool for practical applications in environmental remediation, advancing both environmental science and educational innovation by integrating artificial neural networks and data science methodologies into student learning experiences.

본문 117,934자

본문 펼치기
## OPEN # Deep learning artificial neural network framework to optimize the adsorption capacity of 3‑nitrophenol using carbonaceous material obtained from biomass waste Rasikh Tariq <sup>1</sup> , Mohamed Abatal <sup>2</sup> <sup>*</sup> , Joel Vargas <sup>3</sup> & Alma Yolanda Vázquez‑Sánchez <sup>4</sup> The presence of toxic chemicals in water, including heavy metals like mercury and lead, organic pollutants such as pesticides, and industrial chemicals from runoff and discharges, poses critical public health and environmental risks leading to severe health issues and ecosystem damage; education plays a crucial role in mitigating these effects by enhancing awareness, promoting sustainable practices, and integrating environmental science into curricula to empower individuals to address and advocate for effective solutions to water pollution. However, the educational transformation should be accompanied with a technical process which can be eventually transferred to society to empower environmental education. In this study, carbonaceous material derived from _Haematoxylum_ _campechianum_ (CM-HC) was utilized for removing 3-nitrophenol (3-Nph) from aqueous solutions. The novelty of this research utilizes _Haematoxylum campechianum_ bark and coconut shell, abundant agricultural wastes in Campeche, Mexico, for toxin removal, enhancing the adsorption process through artificial neural networks and genetic algorithms to optimize conditions and maximize the absorption efficiency. CM-HC’s surface morphology was analyzed using scanning electron microscopy (SEM/EDS), BET method, X-ray powder diffraction (XRD), and pHpzc. Kinetic models including pseudo-first-order (PFO), pseudo-second-order (PSO), and Elovich were applied to fit the data. Adsorption isotherms were determined at varying pH (3–8), adsorbent dosages (2–10 g/L), and temperatures (300.15–330.15 K), employing Langmuir, Freundlich, Temkin, and Redlich–Peterson models. PSO kinetics demonstrated a good fit ­(R <sup>2</sup> > 0.98) for Ci = 50–100 mg/L, indicating a chemical adsorption mechanism. The Langmuir isotherm model exhibited the best fit, confirming chemical adsorption, with a maximum adsorption capacity ­(Qm) of 236.156 mg/g at T = 300.15 K, pH = 6, contact time = 3 h, and 2 g/L adsorbent dosage. Lower temperatures favored exothermic adsorption. Artificial neural networks (ANNs) were employed for deep learning, optimizing the predictive model for removal percentage. Correlation heat maps highlighted positive correlations between time, dosage, and removal percentage, emphasizing the impact of initial concentration on efficiency. ANN modeling, incorporating iterative optimization, yielded highly accurate predictions, aligned closely with experimental results. The study showcases the success of deep learning in optimizing adsorption processes, emphasizing the importance of diverse correlation algorithms for comprehensive insights into competitive adsorption dynamics. The 5-14-14-1 deep learning architecture, fine-tuned over 228 1Institute for the Future of Education, Tecnologico de Monterrey, Ave. Eugenio Garza Sada 2501, 64849 Monterrey, N.L., México. <sup>2</sup> Facultad de Ingeniería, Universidad Autónoma del Carmen, Avenida Central S/N Esq. con Fracc. Mundo Maya, C.P. 24115 Ciudad del Carmen, Campeche, México. <sup>3</sup> Instituto de Investigaciones en Materiales, Unidad Morelia, Universidad Nacional Autónoma de México, Antigua Carretera a Pátzcuaro No. 8701, Col. Ex Hacienda de San José de la Huerta, C.P. 58190 Morelia, Michoacán, México. <sup>4</sup> Área Agroindustrial Alimentaria, Universidad Tecnológica de Xicotepec de Juárez, Av. Universidad Tecnológica No. 1000. Col. Tierra Negra Xicotepec de Juárez, 73080 Puebla, México. <sup>*</sup> email: mabatal@pampano.unacar.mx epochs, demonstrated strong performance with mean squared error (MSE) values of 4.07, 18.406, and 6.2122 for training, testing, and total datasets, respectively, and high R-squared values. Graphical analysis showed a solid linear correlation between experimental and simulated removal percentages, emphasizing the need to consider more than just testing data for optimization. Experimental validation confirmed a 98.77% removal efficiency, illustrating the effectiveness of combining deep learning with genetic algorithms, and highlighting the necessity of experimental trials to verify computational predictions. It is concluded that the carbonaceous material from _Haematoxylum_ _campechianum_ waste (CM-HC) is an effective, low-cost adsorbent for removing 3-nitrophenol from aqueous solutions, achieving optimal removal at pH 6 and 300.15 K with a maximum adsorption capacity of 236.156 mg/g, following Langmuir model and pseudo-second order kinetics. The validated ANN model offers a reliable tool for practical applications in environmental remediation, advancing both environmental science and educational innovation by integrating artificial neural networks and data science methodologies into student learning experiences. Keywords 3-nitrophenol, Carbonaceous materials, _Haematoxylum campechianum_, Deep learning, Artificial neural network, Genetic algorithm, Educational innovation, Higher education, Computational thinking, Artificial intelligence The presence of toxic chemicals in water is a critical public health and environmental issue that poses serious risks to ecosystems and human health. Common water pollutants include heavy metals like mercury and lead, organic pollutants such as pesticides and pharmaceutical residues, and other industrial chemicals that can enter water supplies through agricultural runoff, industrial discharges, and inadequate waste management practices. The effects of these contaminants range from acute poisoning to long-term health issues like cancer, reproductive problems, and endocrine disruption. Education plays a pivotal role in addressing the challenges of water pollution by raising awareness about the sources and effects of contaminants and promoting sustainable ­practices <sup>1</sup> . Through formal and informal educational ­programs <sup>2</sup>, individuals and communities can learn about the importance of water conservation, pollution prevention, and the steps they can take to reduce their environmental footprint. Schools and universities can integrate environmental science into their curricula to equip tackle environmental challenges ­effectively <sup>3,4</sup> . By fostering a deeper understanding of the impacts of toxic chemicals in water and the importance of water quality, ­education <sup>4</sup> can empower individuals to participate in or advocate for conservation initiatives and policy changes. In such case of nitrophenolic compounds, defined by their benzene frameworks adorned with hydroxyl and nitro functional groups, serve as crucial precursors across various industrial realms, including but not limited to, the synthesis of herbicides, pesticides, fungicides, along with the manufacture of paints, dyes, pharmaceuticals, and ­explosives <sup>5</sup> . This advisory stems from their pronounced toxicity, diminished biodegradability, propensity for bioaccumulation, and oncogenic ­potential <sup>6,7</sup> . The improper release of industrial wastewaters laden with nitrophenols (NPs) and their derivatives, even in minimal concentrations, poses significant risks to human health, wildlife, and plant life in aquatic ­ecosystems <sup>8</sup> . Regulation of phenolic compounds on different water matrices has been considered by several organizations. For example, U.S. Environmental Protection Agency establishes the maximum nitrophenol compounds level equal to 10 ng/L in natural ­water <sup>7,9</sup> . Moreover, the World Health Organization (WHO) establish the maximum levels of 0.009 and 0.2 mg/L for some phenolic compounds as pentachlorophenol and 2,4,6-trichlorophenol, respectively, in drinking ­water <sup>10</sup> . In the case of rivers, lakes and related artificial or heavily modified water bodies, the European Union establish the maximum allowable concentrations of nonylphenol and pentachlorophenol equal to 0.002 and 0.001 mg/L, ­respectively <sup>11</sup> . In Mexico, The Official Mexican Standard (NOM), regulates the phenolic compounds with a maximum allowed in drinking water of 9.0 μg/L <sup>12</sup> . Previous studies have confirmed the presence of NP compounds in various environmental matrices, including ­groundwater <sup>13</sup>, ­precipitation <sup>14,15</sup>, sediment ­deposits <sup>16</sup>, as well as in the atmosphere and industrial ­discharges <sup>17</sup> . The urgent need for effective water purification strategies has led to the exploration of biosorbents for the removal of toxic contaminants from water. This approach is not only essential for protecting environmental health but also benefits from the integration of environmental education to enhance public awareness and involvement. Biosorbents, derived from biological materials, have demonstrated significant potential in adsorbing harmful substances from water. These natural adsorbents are advantageous due to their biodegradability, cost-effectiveness, and high efficiency in binding with various contaminants including heavy metals and dyes. Studies like those by Sarkar et al. <sup>18</sup> and Tebbutt and ­Woods <sup>19</sup> highlight the effectiveness of materials like modified clays, agricultural by-products, and engineered biochar in capturing and isolating pollutants from water bodies. Sarkar et al. <sup>18</sup> specifically reviewed the water quality management in the Ganges river, emphasizing the role of biosorbents in mitigating heavy metal pollution. They also stressed the importance of integrating environmental education to improve water resource management and enhance the sustainability of such interventions. Environmental education plays a pivotal role in enhancing the effectiveness of environmental remediation efforts by informing and engaging the public. For instance, Papavasileiou and ­Mavrakis <sup>20</sup> discussed projects implemented in Greek schools that focused on water-related issues, demonstrating how education can lead to better understanding and more proactive attitudes towards water conservation. Similarly, the work presented at the International Conference on New Water Culture by Mariolakos et al. <sup>21</sup> used mythology to make environmental education more accessible and engaging for students, thus fostering a deeper understanding of water’s critical role in ecosystems. Practical applications and case studies further illustrate the successful integration of biosorbents and education. The study by Sarkar et al. <sup>18</sup> on the Ganges river utilized educational initiatives to inform and mobilize local populations about pollution control and the importance of maintaining water quality. These educational efforts are crucial in areas where industrial and agricultural activities heavily influence water quality, as they empower local communities to participate in sustainable practices. In more recent studies, like that of ­Gebrekidan <sup>22</sup>, the systematic review of environmental education in Ethiopia revealed gaps in educational structures and emphasized the need for comprehensive educational frameworks to enhance environmental awareness and actions. This study highlights the necessity of embedding environmental education deeply within curriculums to cultivate a knowledgeable citizenry that can actively participate in environmental protection. In order to remove NPs compounds or reduce its concentration from the wastewater, numerous researchers have developed various techniques such as membrane ­technology <sup>23,24</sup>, chemical ­redox <sup>6,24</sup>, ­adsorption <sup>24–26</sup>, ­biodegradation <sup>24,27</sup> and ­bioremediation <sup>28</sup> . From the perspectives of operation, design, straightforwardness, and the ease with which adsorbent materials can be reused, the adsorption method stands out as significantly superior when contrasted with alternative ­approaches <sup>24</sup> . However, the use of this technique has been restricted for large-scale treatment due to the high cost of adsorbents. During a last decade, a significant research have been dedicated to the improvement of diverse varieties of cost-effective adsorbents aimed at eliminating phenolic compounds and other pollutants from water-based ­solutions <sup>25,29,30</sup> . These efforts have highlighted the utilization of natural materials such as ­clay <sup>31</sup>, ­zeolite <sup>32,33</sup>, and siliceous ­substances <sup>34</sup> for purification purposes. However, organic molecules removal was achieved by the modification of their external surface by ­surfactants <sup>32,35–37</sup> . The effectiveness of bioadsorbents, including _Phanerochaete chrysosporium_, the f _ungus Pleurotus sajor-caju_, and _Sargassum_, in eliminating chlorophenols has demonstrated that the adsorption capacity is enhanced by the increase in the number of electronegative groups ­present <sup>38,39</sup> . The peak adsorption capability ­(qm, mmol/g) for phenol, 2-chlorophenol, 4-chlorophenol, and 2,4,6-trichlorophenol when utilizing _Pleurotus sajor-caju_ as the adsorbent was recorded at 0.95, 1.24, 1.47, and 1.89, respectively. This highlights not only the efficacy of the adsorbent but also its potential for being reused across more than five adsorption cycles without a significant loss in ­capacity <sup>39</sup> . When treated with ­CaCl2, algal biomass was evaluated for its efficacy in removing chlorophenols, revealing that the maximum adsorption capacities ­(qm values) for phenol, 2-chlorophenol, and 4-chlorophenol stood at 4.6 mg/g, 79 mg/g, and 251 mg/g, respectively. Recently, activated carbon obtained from agriculture or industry residues has become a promising adsorbent to eliminate phenolic compounds because of its availability and the cheapness of precursor material. In the literature, it was reported the use of wood-based and ­lignite <sup>40</sup>, olive ­stones <sup>41</sup>, apricot stone ­shells <sup>42</sup>, palm seed ­coat <sup>43</sup> based-activated carbon is used for the elimination of phenolic mixes. The phenols uptake was found to be depended of various factors, such as the superficial characteristic of the activated carbon, molecular dimension, acidity and the solubility of adsorbate. Several ­research <sup>44–48</sup> is now available which has focused on the usage of artificial intelligence models to improve the removal percentage, and it can contribute towards ­sustainability <sup>49,50</sup> . Sarang et al. <sup>51</sup> delves into the effectiveness of a pseudo-emulsion hollow fiber strip dispersion technique in purifying industrial wastewater, with a particular emphasis on removing ethylparaben and diclofenac. This study employs an artificial neural network (ANN) as a predictive tool, estimating the success of the extraction process based on varied concentrations in the feed, carrier, and stripping phases, with extraction percentage being the key outcome measure. To assess the reliability of these models, statistical analyses such as root mean square error (RMSE) and mean absolute percentage error (MAPE) were utilized. The attainment of high regression values, 0.9956 for ethylparaben and 0.97562 for diclofenac, during the model training phase highlights the precision of the ANN in forecasting extraction outcomes. This precision suggests the method’s applicability in the design and optimization of systems for treating industrial effluents. Samadi–Maybodi et al. <sup>52</sup> explore the removal of sarafloxacin (SRF), an antibiotic pollutant, from water bodies using a magnetized metal-organic framework ­(Fe3O4/MIL-101(Fe)). The study applies response surface methodology (RSM) to determine optimal conditions for the adsorption of SRF, pinpointing an initial concentration of 10 ppm, a neutral pH of 7.0, an adsorbent amount of 20 mg, and a contact time of 40 min as the ideal parameters. The adsorption phenomena were found to align more accurately with the Langmuir isotherm model. In addition, the research developed an artificial neural network (ANN) to predict the removal efficacy of SRF, utilizing the Levenberg-Marquardt algorithm for model training. This model demonstrated significant predictive strength, showcased by high determination coefficients ­(R <sup>2</sup> ) during training (0.9995) and testing (0.9951) stages, alongside minimal mean squared errors (MSE), affirming its effectiveness as a predictive instrument for SRF adsorption rates. El-Metwally et al. <sup>53</sup> introduce an innovative approach employing a novel fungal system for lipase biosynthesis with the aim of converting oily residues into biodiesel, using _Aspergillus flavipes_ MH47297 to biosynthesize lipase from _Nigella sativa_, a by-product of agro-industrial processes. The study examines the influence of various factors such as cultural humidity, surfactant concentration, and inoculum density on lipase production, utilizing a Box-Behnken design (BBD) and ANNs in conjunction. This marked the inaugural application of ANNs in modeling the lipase biosynthesis process via semi-solid-state fermentation (SSSF). The optimized conditions predicted by the ANN closely matched the experimental outcomes, with the ANN model demonstrating superior precision over the BBD approach. Gas chromatography analyses confirmed the successful conversion of corn oil into biodiesel, illustrating the efficacy of the lipase produced. The investigation by Sathishkumar et al. <sup>54</sup> explores the application of sophisticated machine learning techniques to evaluate the process of catalytic reduction in water tainted with dangerous nitrophenols and azo dyes. This study makes use of a catalyst composed of palladium oxide-nickel oxide to address pollutants like 4-nitrophenol, 2,4-dinitrophenol, 2,4,6-trinitrophenol, methylene blue, rhodamine B, and methyl orange. The effectiveness of this catalyst in diminishing these contaminants was scrutinized through experiments conducted over varying durations. To estimate the catalyst’s performance, the research applied a range of machine learning models, including linear regression, support vector machines, gradient boosted machines, random forest, and XGBoost. The evaluation of these models was based on statistical measures such as root mean squared error, mean absolute error, and mean absolute percentage error. The findings demonstrated that the model using XGBoost provided the most precise predictions for 4-nitrophenol and 2,4-dinitrophenol, the model using random forest showed the highest efficacy for 2,4,6-trinitrophenol, methylene blue, and rhodamine B, and the model using support vector machines was particularly effective in predicting the reduction of methyl orange. Notably, the catalyst achieved a 98% reduction in a mixture of azo compounds within eight minutes, indicating its strong potential for real-life applications in water purification. In a comprehensive review by Georgin et al. <sup>55</sup>, the challenges and technological advancements in the remediation of 17β-estradiol (E2) through adsorption are explored. E2, a potent endocrine disruptor, has been shown to adversely affect aquatic biota and ecosystem health even at low concentrations. Georgin et al. identify a range of adsorbents such as graphene oxides, nanocomposites, and carbonaceous materials that have been effectively employed to remove E2 from water. The review emphasizes that the efficiency of these adsorbents is influenced by factors such as the pH and temperature of the medium, with acidic to neutral pH and ambient temperatures around 298 K being most favorable. They highlight the relevance of the Langmuir and Freundlich models in describing the adsorption isotherms, indicating predominantly low-energy, physical interactions during E2 adsorption. The review calls for the establishment of stringent national and international standards for E2 removal, pointing out the economic and sustainability challenges in implementing these technologies at a large scale. Another significant study by Ahmad et al. <sup>56</sup> focuses on the adsorption of bisphenol A (BPA), a common pollutant from plastic production. They introduce a novel hyper cross-linked resin, ICYN-PPA, characterized by its high adsorption capacity and fast kinetics, achieving equilibrium within 350 min. This resin, synthesized from commercially available materials, shows a remarkable adsorption capacity of 112.8 mg.g <sup>−1</sup> for BPA. Notably, ICYN-PPA’s thermal stability enhances its applicability in decontaminating BPA-laden effluents. The adsorption process, well represented by the Koble–Corrigan model, confirms the endothermic nature of the interaction, suggesting physical adsorption as the predominant mechanism. Gao et al. <sup>57</sup> investigated the removal of 4-nitrophenol (4-NP), a toxic byproduct of petrochemical industries, using MgCo-3D hydrotalcite nanospheres. These nanospheres, synthesized via the hot solvent method, displayed a maximum adsorption capacity of 131.59 mg.g <sup>−1</sup> . The adsorption process, which predominantly involved hydrogen bonding and electrostatic interactions, adhered to the Langmuir, Redlich–Peterson, and Sips models, indicating a monolayer physical adsorption. Their study also demonstrated the excellent regeneration performance of the nanospheres, maintaining significant adsorption capacity after multiple cycles. In a study by Adebayo and ­Areo <sup>58</sup>, a novel composite made from coconut shell and clay was used for the adsorption of phenol and 4-nitrophenol from wastewater. This composite showed exceptionally high adsorption capacities, particularly for phenol, with a ­Qmax of 1665 mg.g <sup>−1</sup> . The adsorption process, analyzed through various kinetic and equilibrium models, was best described by the Avrami fractional order and Liu isotherm. The study highlights the composite’s effectiveness, achieving over 86% removal efficiency for the tested effluents, underlining its potential as a low-cost and efficient solution for treating industrial wastewater. Khan et al. <sup>59</sup> conduct a detailed investigation into the potential of carbon material, sourced from the remnants of domestic fireworks, to capture Hexavalent chromium (Cr(VI)) from environments, a known toxic metal. This research meticulously examines how various factors, such as the length of the adsorption period, the acidity or alkalinity (pH) of the environment, the Cr(VI) solution’s warmth, and its initial amount, impact the material’s ability to adsorb the metal. To analyze, foresee, and enhance the adsorption mechanism, the study employs a sophisticated combination of response surface methodology and multiple regression analysis alongside an innovative artificial neural networks model integrated with particle swarm optimization. Findings from this integrated approach pinpoint the most effective adsorption scenario: a 94.7 min exposure period, with the Cr(VI) at 50.0 mg/L, at a temperature of 33.6 ℃, and in a highly acidic setting (pH 2). This scenario reached an apex adsorption rate of 1.37 mg.g <sup>−1</sup> . The study’s analytical comparison reveals artificial neural networks’ superiority in predicting outcomes over multiple regression analysis. Additionally, it aligns with the pseudo-first-order kinetic model in kinetic studies and identifies the Langmuir isotherm as the most accurate descriptor of this adsorption activity, indicating a primary reliance on physisorption. The thermodynamic analysis corroborates the adsorption’s beneficial, spontaneous, and heat-absorbing characteristics. Alatrista and colleagues’ ­research <sup>60</sup> systematically reviews 55 academic publications between 2011 and 2022, examining the role of metal-organic frameworks (MOFs) in phosphate adsorption processes. This comprehensive analysis indicates that the efficiency of MOFs in trapping phosphate relies on several critical elements, such as the particular variant of MOF used, its synthesis technique, any structural modifications made, and the conditions applied during its operational use. Despite the high theoretical capacity of many MOFs for phosphate adsorption, their practical application in phosphorus recovery over extended periods might be constrained due to the predominance of inner sphere complexation mechanisms. To predict the phosphate adsorption capacities effectively, the study employed machine learning techniques, particularly the use of artificial neural network (ANN) models, which took into account both operational parameters and synthesis characteristics. These models particularly emphasized the significance of the initial phosphate concentration and the use of modulator agents in the synthesis of MOFs. Aghav and colleagues’ ­study <sup>61</sup> delves into predicting the adsorption competition between phenol and resorcinol on a variety of carbonaceous materials, including activated carbon, wood charcoal, and rice husk ash, through the application of artificial neural networks. This investigation leverages a three-tiered feedforward neural network equipped with a backpropagation mechanism within MATLAB, aggregating data from 29 distinct batch experiments. Variables such as the amount of adsorbent used, initial phenol and resorcinol concentrations, the time span of contact, and the pH value were fed into the neural network to train it. The neural network then produces estimations on the efficiency of removing phenol and resorcinol. The precision of these artificial neural network predictions was rigorously evaluated using a suite of statistical indicators, including mean error, mean square error, root mean square error, and linear regression, all of which affirm the model’s reliability in foreseeing the adsorption dynamics of these substances based on experimental data. The novelty of this work is to use _Haematoxylum campechianum_ barks and coconut shell which are one of the most abundant agricultural wastes in Campeche State in Mexico, therefore, the work make use of local products for the removal of harmful toxins. The objective of this work is to improve the adsorption capacity of activated carbons obtained from _Haematoxylum campechianum_ bark and coconut shell as agriculture residues for the removal of 3-Nph from aqueous solutions by varying pH solution, contact time, dosage of adsorbent, concentration of 3-Nph, and temperature. Moreover, the study is enhanced by incorporating artificial neural networks, employing deep learning techniques to formulate an empirical regression model. Subsequently, data science methodologies and genetic algorithm optimization are applied to identify the optimal variable combination for maximizing the removal percentage. This distinctive approach sets this research apart from existing literature in the field. Materials and methods Chemicals 3-NpH was purchased from Sigma Aldrich ­(C5H5NO3, MW = 139.11 g/mol, purity, 99.9%, CAS: 554-84-7). The stock solution was prepared by dissolving 1.0 g of 3-NpH in 1000 mL of deionized water and stored in a brown bottle. Solutions between 25 and 1000 mg/L used for further experiments were prepared by dilution of synthetic stock solution. 0.1 N of HCl or 0.1 N of NaOH solutions were prepared to adjust the solution pH from 3 to 8. Preparation of carbonaceous material The carbonaceous material was produced from _Haematoxylum campechianum_ waste using the method described by Abatal et al. <sup>62</sup> . The bark of _Haematoxylum campechianum_ was chopped, ground and sieved. The material was then washed several times with deionized water at 50 °C to remove any residues and finally dried in an oven at 70 °C for 12 h. After pre-treatment, the material was dried in a deionized water oven at 50 °C for 12 h. The material was then washed several times with deionized water at 50 °C to remove any residues. After pre-treatment, 50 g of _Haematoxylum campechianum_ was placed in contact with 250 ml of H3PO4 at 50 °C for 3 h (chemical activation), then the filtered solid was dried at 70 °C for 12 h. The heat treatment was carried out at 50 °C for 12 h. The heat treatment was carried out as follows: 50 g of impregnated _Haematoxylum_ _campechianum_ was introduced into a muffle at 500 °C for 60 min, at 10 °C/min. The sample was then cooled to 25 °C. The carbonaceous material was washed with a 5% ­NaHCO3 solution to remove the residual ­H3PO4 and then with deionized water until the pH of the filtrate reached a value of 6–7. Finally, the carbonaceous material from Haematoxylum campechianum (CM-HC) was dried at 110 °C for 12 h and then stored in a closed glass bottle and placed in a desiccator. Characterization techniques The point zero of charge ­(pHpzc) of CM-HC was determined adding 0.1 g of each adsorbent to 50 mL of NaCl 0.01 M solution at previously adjusted pH value ­(pHinitial). Solutions pH of were adjusted from 2 to 12 by adding a drop of 0.1 N of HCl or 0.1 N of NaOH. The sample was agitated for 24 h at ambient temperature. Then, the samples were filtered and final solution pH ­(pHfinal) of each solution was measured. CM-HC sample was characterized by X-Ray Diffraction methods. The X-ray patterns were collected on an APD-2000 diffractometer using CuKα radiation at room temperature in a range 2θ = 5°–70°. Surface characteristics of CM-HC sample was studied by scanning electron microscopy (SEM) technique was performed to study the superficial structure of the samples before and after adsorption. Sorption study In this study, removal of 3-NpH by CM-HC was carried out using batch method. For kinetic study, the experiments were done by addition a mass 0.05 g of CM-HC to 10 mL of 3-NpH at different initial concentrations in a conical tube and agitated at 200 rpm in a multitube shaker apparatus (Model CVP-0228—Cyrlab). Initial concentrations of 3-NpH were 50 mg/L, 100 mg/L and 250 mg/L and contact time was varied from 5 to 1440 min. All tests were carried out in triplicate and the mean value was used in all cases. After each contacted time at T = 300.15 K and pH = 6, the samples were centrifuged for 5 min at 4500 rpm (Centrificient CRM Globe) in order to separate the adsorbent from aqueous phase. Before to measure the final concentrations of 3-Nph, absorbance (Abs.) of the samples with initial concentrations (Ci) of 3-Nph from 2 to 20 mg/L were measured using UV–visible spectrophotometer (Thermo Scientific Evolution 201/220) at λ = 273 nm. Calibration curve was obtained by the plotting of Abs. vs. Ci which gave a good correlation coefficient ­(R <sup>2</sup> = 1). The sorption capacity ­(qt, mg/g) and the removal efficiency (%) were calculated using the Eqs. (1) and (2), respectively: qt = <sup><u>Ci−Ct</u></sup> V (1) m %removal = <sup><u>Ci−Ct</u></sup> ∗ 100 (2) Ci ∗ 100 Where ­Ci (mg/L) is the initial concentration, ­Ct (mg/L) is the concentration at time t (min), ­qt (mg/g) is the adsorption capacity, V (L) is the volume and m (g) is the mass of the adsorbent. Table 1 gives the experimental conditions used to investigate the effects of contact times, solution pH, temperature, and dosage of adsorbents on the removal of 3-Nph. Kinetic models In order to investigate the mechanism involved in the adsorption of 3-Nph on CM-HC, experimental data were evaluated using four kinetic models, the pseudo-first order (PFO), pseudo-second order (PSO), and Elovich. The equations of PFO, PSO, and Elovich models are expressed by the Eqs. (3), (4), (5) respectively. qt = qe�1 − exp(−k1t�) (3) <u>k2qe</u> <sup>2</sup> <u>t</u> qt = (4) 1 + k2qet qt = β <sup><u>1</u></sup> <sup>ln(1 + αβt)</sup> (5) Where ­qe (mg/g) and ­qt (mg/g) are the amounts of 3-Nph adsorbed at equilibrium and at time t (min) respectively. k1� min1 - and k2( mgming <sup>), are the rate constants of pseudo-first, pseudo-second order, and intraparticle diffu-</sup> tively. k1� min1 - and k2( mgming <sup>), are the rate constants of pseudo-first, pseudo-second order, and intraparticle diffu-</sup> sion models respectively. β is the constant related to the extent of surface coverage (g/mg) and α is the theoretical adsorption capacity (mg/g.min). Isotherm models Experimental data were examined using nonlinear forms of the Langmuir, Freundlich, Temkin, and Redlich–Peterson isotherm models Eqs. (6), (7), (8), (9). min - <u>1</u> qe = <sup><u>qmKLCe</u></sup> (6) 1 + KLCe qe = KF Ce <sup>1/n</sup> (7) qe = BT ln(AT Ce) (8) <u>KRP</u> qe = Ce (9) 1 + αRPCe <sup>β</sup> where qe and ­qm are the solid phase sorbate concentration in equilibrium (mg/g), Ce is the equilibrium sorbate concentration in liquid phase (mg/L), ­KF is Freundlich constant (L/g) and 1/n is the heterogeneity factor. ­KRP (L/g), αRP (L/mg) and β are Redlich–Peterson isotherm constants. β is the exponent which lies between 1 and 0. In this study, solver add-in of Microsoft Excel was used to optimized the variance between the experimental data and predicted isotherms. Error functions Despite the use of coefficient of determination ­(R <sup>2</sup> ) by many studies to provide the best fitting, the nonlinear fits of kinetic and isotherm models were analyzed against the experimental data using error functions in order to verify the suitable model for the adsorption system. In this study, six error functions including the average <u>Experimental parameters</u> <u>Experiments</u> <u>pH</u> <u>Time(min)</u> <u>Ci(mg/L)</u> <u>Dosage (g/L)</u> <u>T (K)</u> <u>Contact times</u> <u>6</u> <u>15–1440</u> <u>50–250</u> <u>5</u> <u>300.15</u> <u>Solution pH</u> <u>3–8</u> <u>1440</u> <u>25–1000</u> <u>5</u> <u>300.15</u> <u>Temperature</u> <u>6</u> <u>1440</u> <u>25–1000</u> <u>5</u> <u>300.15–330.15</u> <u>Dosage</u> <u>6</u> <u>1440</u> <u>25–1000</u> <u>2–10</u> <u>300.15</u> Table 1. Values of contact times, solution pH, temperature and adsorbent dosage parameters used for experimental process. relative error (ARE), sum of square error (SSE), normalized standard deviation, Δq (%), Chi-square test ( χ <sup>2</sup> ), sum of absolute error (EABS), and root mean square error (RMSE) have been calculated employing the equations 10, 11, 12, 13, 14 and 15 ­respectively <sup>63</sup> . n i=1 <u>1</u> N <u>���(qe,expqe −,expqe,cal���</u> qe,exp ARE = - <u>1</u> ∗ 100 (10) ∗ 100 n (qe,exp − qe,cal) <sup>2</sup> SSE = - (qe,exp − qe,cal) <sup>2</sup> (11) i=1 ~~�~~ <u>1</u> <u>�</u> �� N - 1 n i=1 ( <sup><u>qe,exp</u></sup> <sup>−</sup> <sup><u>qe,cal</u></sup> ) 2 �q(%) = 100�� - ( <sup><u>qe,exp</u></sup> <sup>−</sup> <sup><u>qe,cal</u></sup> ) (12) qe,exp (qe,exp - qe,cal) <sup>2</sup> n i=1 χ <sup>2</sup> = - (13) qe,cal n i=1 ���(qe,exp − qe,cal��� EABS = - (14) - <u>1</u> �� N - 2 n i=1 (qe,exp − qe,cal) <sup>2</sup> RMSE = 100�� - (qe,exp − qe,cal) <sup>2</sup> (15) where ­qe,exp (mg/g) is the experimental adsorption capacity obtained from the Eq. (1) and ­qe,cal (mg/g) is the calculated adsorption capacity obtained from the nonlinear forms of PFO and PSO kinetic models or isotherm models (Langmuir and Freundlich), and n is the number of experimental data points. Adsorption and desorption study The recovery of 3-Nph and the regeneration of the adsorbent material are very important in adsorption processes, sustainability and cost-effectiveness of adsorbents. For this purpose, tree adsorption/desorption cycles were carried out using NaOH solution as desorbing agent. For the adsorption step, 100 mg of CM-HC were mixed in Erlenmeyer flasks with 50 mL of 3-Nph at 100 mg/L (Ci), and stirred for 24 h at T = 300.15 K. The mixture was then filtered and the final concentration of 3-Nph (Cf) in the supernatant was determined by UV–vis spectrophotometric analysis. The quantity of 3-Nph adsorbed after contact with AB-HC was calculated using Eq. (1). For desorption process, 50 mL of 0.2 M NaOH was added to 3-Nph-loaded CM-HC. The mixture was agitated at 300.15 K for 24 h. After this time, the sample was filtered and the residual concentration of 3-Nph was measured. The quantity of 3-Nph desorbed Qdes (mg/g) was calculated using this equation Eq. (16) qdes = <sup><u>CdesV</u></sup> (16) m Where, Cdes (mg/L) is the concentration of 3-Nphafter desorption, V(L) is the volume of NaOH solution, m (g) is the mass 3-Nph-loaded CM-HC. The regenerated CM-HC was rinsed for several time with deionized water and dried at 105 °C for 2 h before the next cycle of adsorption/desorption. Results and discussions Characterization of CM‑HC Figure 1 shows that the point of zero charge of CM-HC equal to 6.5. This result is similar with those obtained from other precursor materials such as _Dipterocarpus alatus_ (pHpzc = 6.3) <sup>64</sup>, rice husk (pHpzc = 6.8) <sup>65</sup> . Therefore, when the solution pH is above than the pHpzc (pH > pHpzc), the surface of CM-HC is negatively charged and the cationic species will be preferentially removed, whereas values of pH are below than pHpzc (pH < pHpzc), the charge of the surface of CM-HC will become positive and then anionic species are preferentially attracted via electrostatic ­interactions <sup>66</sup> . XRD diffraction pattern of CM-HC is presented in Fig. 2. It can be observed that HCAC has a semicrystalline structure related to the amorphous region between 10 and 40º corresponding to the carbonic fraction due to the preparation and characterization of activated carbons from different ­precursors <sup>67</sup> . Scanning electron microscope (SEM) analysis was carried out in order to investigate physical surface morphology of CM-HC. The SEM micrographs of CM-HC (Fig. 3) show that the particles of the synthesized activated carbon have a rough surface and an irregular shape with a variety of randomly distributed cavities which can Fig. 1. pHpzc of CM-HC. Fig. 2. XRD pattern of CM-HC. Fig. 3. SEM images and EDS analysis of CM-HC. provide easy access transport toward the adsorption ­sites <sup>68</sup> . The elemental composition of the activated carbon was performed by energy dispersive X-ray spectroscopy (EDS) is also shown in Fig. 3. In CM-HC, the material consists predominately of carbon and oxygen, the summary of these two elements to be 97.9% per weight. The rest of the composition (2.1%) corresponds to metallic fractions (Ca, K, Na and Mg). The mean pore diameter of CM-HC calculated by BET equations were 2.1382, with a surface area of 124.15 ­m <sup>2</sup> /g. The difference in the surface properties can be attributed to the type of biomass precursor. Beker et al., reported that the adsorption of phenols is carried out in ulramicropores and micropore with diameters between 0.7 and 2 ­nm <sup>69</sup> . Therefore, it is suspected that both adsorbents can be usefully used for removal of 3-nitrophenol from aqueous solution, due to the smaller molecular diameter of 3-Nph (0.6202 nm) <sup>70</sup> . Sorption study _Adsorption isotherms at different solution pH_ The study of pH effect on the removal of 3-NpH on MC-HC was performed at ambient temperature by adjusting the solution pH of 3-Nph at 3, 6 and 8. For each solution, initial concentration was varied from 25 to 1000 mg/L. Usually, at low pH values, anions are favorably adsorbed on the sorbent surface due to the presence of high concentration of ­H <sup>+</sup> ions, while at high pH values, cations are more adsorbed on the sorbent surface as a result of high concentration of ­OH <sup>−</sup> ­ions <sup>71</sup> . In addition, it well known that the degrees of dissociation and ionization of organic compounds as well as the adsorbent surface charge depended to the pH ­solution <sup>72</sup>, therefore, it is important to study the effect of pH solution on the adsorption of 3-NpH on MC-HC. Figure 4a–c show the adsorption isotherms of 3-Nph on MC-HC at initial pH 3, 6 and 8, respectively. It can be seen that the adsorption capacity increases between pH 3 and 6, and then decreases for pH 8. This suggests that, the interaction of 3-Nph with CM-HC is more favorable in the acid than alkaline medium. In previous researches, the uptake for phenols in certain pH range present a dome-shaped ­curve <sup>25,73</sup>, which is attributed to the change in nature of adsorbent (surface charge) and adsorbate species at different ­pH <sup>69</sup> . At pH between 3 and 6, the surface of CM-HC is positively charged ­(pHpzc(CM-HC) = 6.7. Furthermore, in this pH range, 3-NpH mainly present as neutral species (pKa (3-Nph) = 8.3 at 298 K), however the concentration Fig. 4. Plot of adsorption isotherms for 3-Nph on MC-HC at ( a ) pH = 3, ( b ) pH = 6 and ( c ) pH = 8. of its anionic form ­(C6H5NO <sup>−</sup> 3 <sup>) increases with increasing of solution pH and as consequently higher uptakes at</sup> pH = 6 compared to pH = 3, by means of electrostatic attractions between the surface charged positively and the anionic form of 3-NpH <sup>74,75</sup> . At pH = 8, the uptake of 3-Nph declined. This result can be attributed to the electrostatic repulsion force between the surface of CM-HC negatively charged and the abundance anionic form of 3-Nph. Previous investigations have reported similar behavior of ­phenol <sup>43,69,73,76</sup>, nitrophenols (2,4-dinitrophenol, 3-nitrophenl, 4-nitrophenol) <sup>42,76,77</sup> and chlorophenols (2,4-dichlorophenol, 2-chlorophenol, 4-chlorophenol) <sup>42,76</sup> adsorption on activated carbons. Nonlinear equations of Langmuir, Freundlich, Temkin, and Redlich-Peterson isotherm models were used to investigate the adsorption mechanism. Table 2 shows the equation´s parameters with their respective correlation coefficients ­(R <sup>2</sup> ). The results indicate that the Langmuir and Redlich-Peterson models were well described the adsorption data for CM-HC in the pH range studied with ­R <sup>2</sup> values between 0.9805 and 0.9985 compared to Freundlich model (0.9454 ≤ ­R <sup>2</sup> ≤ 0.9767) and Temkin (0.9768 ≤ ­R <sup>2</sup> ≤ 0.9954). This result suggests the formation of multilayers on the adsorbent surface where the interaction between phenols and surface of carbonaceous materials is due Van der Waals’ forces and π–π ­interactions <sup>42</sup> . As shown in Table 2, the maximum adsorption capacities, ­qmax calculated from Langmuir isotherm model were 100.523, 128.625, and 87.284 mg/g, at pH = 3, 8, and 8, respectively. The values of Redlich–Peterson exponential constant, β are close to unity (0.794–0.944), this indicates that the Redlich–Peterson model reduces to the Langmuir ­model <sup>78</sup> . As can be seen from Table 3, the calculated values of error functions APE, SSE, ∆q (%), χ <sup>2</sup>, EABS and RMSE from the experimental data were lowest for Langmuir and Redlich-Peterson than Temkin and Freundlich isotherms. This result proves the applicability of Langmuir and Redlich–Peterson isotherm models to describe the adsorption mechanism of 3-Nph on CM-HC. <u>Isotherm Model</u> <u>Parameters</u> <u>pH</u> <u>3</u> <u>6</u> <u>8</u> Langmuir Freundlich Temkin Redlich–Peterson <u>qmax (mg/g)</u> <u>100.523</u> <u>128.625</u> <u>87.284</u> <u>KL(L/mg) ­(10</u> <sup>−2</sup> <u>)</u> <u>2.222</u> <u>0.018</u> <u>0.022</u> <u>R</u> <sup>2</sup> <u>0.9805</u> <u>0.9974</u> <u>0.9974</u> <u>N</u> <u>2.738</u> <u>2.393</u> <u>2.806</u> <u>KF (mg/g)(L/mg)</u> <sup>1/n</sup> <u>10.487</u> <u>9.945</u> <u>9.255</u> <u>R</u> <sup>2</sup> <u>0.9767</u> <u>0.9634</u> <u>0.9454</u> <u>BT (L/mg)</u> <u>15.966</u> <u>22.476</u> <u>15.636</u> <u>AT (KJ/mol)</u> <u>0.654</u> <u>0.363</u> <u>0.371</u> <u>R</u> <sup>2</sup> <u>0.9768</u> <u>0.9865</u> <u>0.9954</u> <u>αRP (L/mg)</u> <u>0.175</u> <u>0.036</u> <u>0.036</u> <u>KRP (L/g)</u> <u>4.940</u> <u>2.760</u> <u>2.234</u> <u>β</u> <u>0.794</u> <u>0.916</u> <u>0.944</u> <u>R</u> <sup>2</sup> <u>0.9958</u> <u>0.9985</u> <u>0.9985</u> Table 2. Langmuir, Freundlich, Temkin, and Redlich-Peterson isotherm parameters for the adsorption of 3-Nph on CM-HC at different solution pH. <u>Error functions</u> <u>pH</u> <u>Model</u> <u>APE</u> <u>SSE</u> <u>∆q(%)</u> <u>χ</u> <sup>2</sup> <u>EABS</u> <u>RMSE</u> 3 6 8 <u>Langmuir</u> <u>17.466</u> <u>168.721</u> <u>0.280</u> <u>10.634</u> <u>25.801</u> <u>5.809</u> <u>Freundlich</u> <u>32.242</u> <u>201.919</u> <u>0.576</u> <u>8.463</u> <u>33.964</u> <u>6.355</u> <u>Temkin</u> <u>18.970</u> <u>128.320</u> <u>0.317</u> <u>4.894</u> <u>26.796</u> <u>5.066</u> <u>Redlich–Peterson</u> <u>9.735</u> <u>36.662</u> <u>0.174</u> <u>1.910</u> <u>13.184</u> <u>2.708</u> <u>Langmuir</u> <u>8.279</u> <u>33.754</u> <u>0.118</u> <u>1.274</u> <u>12.653</u> <u>2.598</u> <u>Freundlich</u> <u>57.478</u> <u>469.224</u> <u>1.052</u> <u>16.197</u> <u>54.511</u> <u>9.687</u> <u>Temkin</u> <u>10.216</u> <u>99.680</u> <u>0.151</u> <u>2.364</u> <u>21.640</u> <u>4.465</u> <u>Redlich–Peterson</u> <u>11.266</u> <u>19.640</u> <u>0.187</u> <u>1.191</u> <u>11.201</u> <u>1.982</u> <u>Langmuir</u> <u>5.980</u> <u>16.848</u> <u>0.093</u> <u>0.796</u> <u>9.010</u> <u>1.836</u> <u>Freundlich</u> <u>45.364</u> <u>358.738</u> <u>0.834</u> <u>13.418</u> <u>43.813</u> <u>8.470</u> <u>Temkin</u> <u>14.117</u> <u>29.922</u> <u>0.259</u> <u>4.633</u> <u>12.551</u> <u>2.446</u> <u>Redlich–Peterson</u> <u>8.078</u> <u>9.938</u> <u>0.136</u> <u>0.713</u> <u>7.716</u> <u>1.410</u> Table 3. Values of error functions of adsorption isotherm models of 3-Nph on CM-HC at different solution pH. _Effect of contact time on adsorption equilibrium_ The study of adsorption kinetics was done at ambient temperature without any adjustment of solution pH. Figure 5a–c show respectively the adsorbed amount of 3-NpH (mg/g) by MC-HC versus contact time (min) with 3-Nph initial concentration (Ci) at 50, 100 and 250 mg/L. It can be seen that within 120 min, 80.1%, 81.7%, and 65.3% of 50, 100, and 250 mg/L of 3-NpH were removed. The higher rate of 3-Nph adsorption in this first stage can be attributed to the availability of adsorption site on the adsorbent ­surface <sup>79</sup> . After this time, adsorption capacity was gradually increased as increase contacted time reaching equilibrium, which varied from 180 to 360 min depending to initial 3-Nph concentration (the faster equilibrium time was found for Ci = 50 mg/L). This result can be attributed to the more availability of the uncovered surface area of the adsorbents at low solute ­concentrations <sup>76,80</sup> . In this study, the equilibrium time was found to be minor compared to other equilibrium times reported by other studies for the removal of phenols using different carbonaceous ­materials <sup>81</sup> . For Ci = 50, 100, and 250 mg/L, the adsorption capacity reached 8.97, 17.38, and 41.37 mg/g, at equilibrium time, respectively. Experimental data were analyzed using nonlinearized equations of pseudo-first-order (PFO), pseudo- secondorder (PSO), and Elovich kinetic models. Table 4 displays the kinetic parameters of PFO ­(k1, ­qe), PSO ­(k2, ­qe), and Elovich (α,β) with their corresponding correlation coefficients ­R <sup>2</sup> . The results showed in Table 4 indicate that for Ci = 50 and 100 mg/L, pseudo-second order model displays higher coefficient regression ­(R <sup>2</sup> = 0.9840, 0.9892) in comparing to pseudo-first-order (0.9043, 0.8744) and Elovich ­(R <sup>2</sup> = 0.8182, 0.8839) models. Also, it can observe that the calculated adsorption capacities obtained for the PSO model ­(qe,cal = 9.05 and 17.26 for ­Ci = 50, 100 mg/L, respectively) are agree to experimental data ­(qe,exp = 8.97 and 17.38, mg/g for ­Ci = 50, 100 mg/L, respectively). As seen in Table 4, the rate constants ­(k2) decrease with increasing of initial concentration confirming that the adsorption process was faster for lower initial concentration. For ­Ci = 250 mg/L, it can be seen that the nonlinear Elovich curve pass near to experimental data (Fig. 5c). Also, Elovich model gives higher value of ­R <sup>2</sup> (0.9842) compared to PFO ­(R <sup>2</sup> = 0.7834) and PSO ­(R <sup>2</sup> = 0.9349) suggesting that the adsorption process is controlled by chemisorption mechanism. Fig. 5. Variation of adsorption capacity of MC-HC against contact time (min) at ( a ) Ci = 50 mg/L, (b) 100 mg/L and (c) 250 mg/L. <u>Ci (mg/L)</u> <u>Pseudo-First order</u> <u>Pseudo-second order</u> <u>Elovich</u> <u>qe, cal (mg/g)</u> <u>k1.10</u> <sup>−2</sup> <u>(1/min)</u> <u>R</u> <sup>2</sup> <u>qe, cal (mg/g)</u> <u>k2. ­10</u> <sup>−2</sup> <u>g/mg.min</u> <u>R</u> <sup>2</sup> <u>α g/mg.min</u> <u>β (g/mg)</u> <u>R</u> <sup>2</sup> <u>50</u> <u>8.677</u> <u>6.859</u> <u>0.9043</u> <u>9.054</u> <u>1.417</u> <u>0.9892</u> <u>1.617</u> <u>22.147</u> <u>0.8182</u> <u>100</u> <u>16.443</u> <u>6.398</u> <u>0.8744</u> <u>17.262</u> <u>0.648</u> <u>0.9840</u> <u>0.750</u> <u>1.316</u> <u>0.8839</u> <u>250</u> <u>36.244</u> <u>3.625</u> <u>0.7834</u> <u>39.266</u> <u>0.128</u> <u>0.9349</u> <u>0.206</u> <u>0.215</u> <u>0.9842</u> Table 4. PFO, PSO, and Elovich kinetic parameters for different initial concentrations of 3-Nph. Elsayed et al. <sup>82</sup> developed a biocomposite aerogel (Amf-CNF/LS) and investigated its efficacy in removing methylene blue (MB), rhodamine B (RhB), and cadmium ions ­(Cd <sup>2+</sup> ) from synthetic wastewater. The study specifically explored the influence of contact time and stirring speed on the adsorption process. The results showed that contact time significantly impacts the adsorption capacity, with rapid increases observed within the initial minutes of exposure, suggesting a high affinity between the aerogel and contaminants. The equilibrium was quickly reached, indicating the aerogel’s efficiency in fast contaminant uptake, which is beneficial for practical wastewater treatment applications where quick removal is necessary. Stirring speed was another critical factor that influenced the adsorption efficiency. Higher stirring speeds improved the mass transfer of the adsorbate molecules to the aerogel’s surface, enhancing the adsorption rate. This adjustment helped to minimize the boundary layer around the adsorbent, facilitating faster adsorbate uptake. As shown in Table 5, the values obtained from the six error equations considered in this study (Eq X to Eq X) are minor for PSO (for Ci = 50 and 100 mg/L) than PFO and Elovich models, while for Ci = 250 mg/L, the error function values were lower for Elovich than for PFO and PSO models. This confirms the results obtained from the nonlinear of PSO, PFO and Elovich models ­(R <sup>2</sup> ), and agree the feasibility of PSO model (for Ci = 50 and 100 mg/L) and Elovich model (for Ci = 250 mg/L). _Adsorption isotherms at different adsorbent dosage_ The effect of adsorbent dosage on the adsorption capacity of 3-NpH was investigated at ambient temperature using isotherm experiments without modifying solution pH. In this study, dosages of adsorbent were 2, 4, 8 and 10 g/L, and initial concentrations of 3-Nph were varying from 25 to 1000 mg/L. Figure 6a–d show the equilibrium relationships between the 3-Nph concentrations in solution ­Ce(mg/L) and the adsorptive capacities at different dosages of CM-HC. It can be seen that for all adsorbent dose, the adsorption capacities of 3-Nph ­(qe (mg/g)) increase with the increasing of ­Ce (mg/L). The experimental adsorption isotherms data were analyzed using nonlinear equations of Langmuir, Freundlich, Temkin, and Redlich–Peterson isotherm models. Table 6 presents the isotherm parameters with adsorbent dose from 2 to 10 g/L. The results indicate that the adsorption isotherm was depended of adsorbent dosage. According to correlation coefficients showing in Table 6, Freundlich and Redlich–Peterson isotherm models were best described to the sorption data for 2 g/L of adsorbent dose, whereas, for CM-HC dosage between 4 to 10 g/L, Langmuir and Redlich-Peterson isotherm models were well to describe the adsorption process. As seen in Table 6, it was found that the Langmuir constants ­KL increased from 0.309 × ­10 <sup>−2</sup> to 3.9217 × ­10 <sup>−2</sup> L/mg with increasing of adsorbent dosage from 2 to 10 g/L, which indicates the high affinity at low dosage of CM-HC. Additionally, it can be noted that the value of Freundlich constant 1/n (adsorption intensity) correspond to 2 g/L was lower compared than adsorbent dosages between 4 and 10 g/L, which means that the adsorption of 3-Nph is more favorably at lower adsorbent dosage. The Redlich–Peterson parameters presented in Table 6, show that for all values of adsorbent dosage, the exponent constant β is between 0 and 1, which indicates a good ­adsorption <sup>78</sup> . In addition, for dosage 4, 8 and 10 g/L, the values of β were close to unity (β = 1.003, 0.878, and1.0267), therefore, the Redlich–Peterson model reduces to the Langmuir model to describe the 3-Nph adsorption, whereas for dosage <u>Error functions</u> <u>Ci (mg/L)</u> <u>Model</u> <u>ARE</u> <u>SSE</u> <u>∆q (%)</u> <u>χ</u> <sup>2</sup> <u>EABS</u> <u>RMSE</u> 50 100 250 <u>PFO</u> <u>4.668</u> <u>1.395</u> <u>0.063</u> <u>0.192</u> <u>2.796</u> <u>0.482</u> <u>PSO</u> <u>1.799</u> <u>0.158</u> <u>0.026</u> <u>0.023</u> <u>0.769</u> <u>0.162</u> <u>Elovich</u> <u>6.743</u> <u>1.456</u> <u>0.070</u> <u>0.183</u> <u>3.198</u> <u>0.493</u> <u>PFO</u> <u>6.090</u> <u>7.255</u> <u>0.073</u> <u>0.512</u> <u>7.040</u> <u>1.100</u> <u>PSO</u> <u>2.184</u> <u>0.925</u> <u>0.027</u> <u>0.069</u> <u>2.479</u> <u>0.393</u> <u>Elovich</u> <u>4.281</u> <u>4.007</u> <u>0.051</u> <u>0.265</u> <u>5.124</u> <u>0.817</u> <u>PFO</u> <u>11.307</u> <u>110.394</u> <u>0.139</u> <u>4.026</u> <u>27.161</u> <u>4.289</u> <u>PSO</u> <u>6.036</u> <u>33.167</u> <u>0.080</u> <u>1.249</u> <u>14.123</u> <u>2.351</u> <u>Elovich</u> <u>2.438</u> <u>6.573</u> <u>0.031</u> <u>0.200</u> <u>5.966</u> <u>1.047</u> Table 5. Values of error functions of PFO, PSO and Elovich kinetic models of 3-Nph (Ci = 50, 100 and 250 mg/L) on CM-HC. Fig. 6. Adsorption isotherms of 3-Nph on CM-HC with dosage (a) 2 g/L, ( b ) 4 g/L, ( c ) 8 g/L and (d) 10 g/L. <u>Dosage (g/L)</u> <u>Isotherm Models</u> <u>Parameters</u> <u>2</u> <u>4</u> <u>8</u> <u>10</u> Langmuir Freundlich Temkin Redlich–Peterson <u>Qmax (mg/g)</u> <u>236.156</u> <u>101.302</u> <u>86.224</u> <u>79.441</u> <u>KL(L/mg)×10</u> <sup>-2</sup> <u>0.309</u> <u>1.906</u> <u>3.405</u> <u>3.9217</u> <u>R</u> <sup>2</sup> <u>0.9880</u> <u>0.9956</u> <u>0.9945</u> <u>0.9973</u> <u>n</u> <u>1.689</u> <u>2.639</u> <u>2.415</u> <u>2.357</u> <u>KF (mg/g)(L/mg)</u> <sup>1/n</sup> <u>3.705</u> <u>9.711</u> <u>9.083</u> <u>8.719</u> <u>R</u> <sup>2</sup> <u>0.9967</u> <u>0.9547</u> <u>0.9726</u> <u>0.9569</u> <u>BT (L/mg)</u> <u>27.858</u> <u>16.788</u> <u>13.212</u> <u>11.349</u> <u>AT (KJ/mol)</u> <u>0.169</u> <u>0.466</u> <u>1.126</u> <u>1.547</u> <u>R</u> <sup>2</sup> <u>0.8624</u> <u>0.9622</u> <u>0.9515</u> <u>0.9115</u> <u>αRP (L/mg)</u> <u>4.604</u> <u>0.018</u> <u>0.086</u> <u>0.033</u> <u>KRP (L/g)</u> <u>18.794</u> <u>1.916</u> <u>3.843</u> <u>2.985</u> <u>β</u> <u>0.421</u> <u>1.003</u> <u>0.878</u> <u>1.0267</u> <u>R</u> <sup>2</sup> <u>0.9966</u> <u>0.9956</u> <u>0.9966</u> <u>0.9974</u> Table 6. Langmuir and Freundlich isotherm parameters for the adsorption of 3-Nph on CM-HC at different dosages. 2 g/L, β < 1 (β = 0.421) and αRP, ­KRP >> 1 (αRP = 4.604 and ­KRP = 18.794), then the isotherm was approaching the Freundlich form, where ­KRP/αRP and (1- β) are related to ­KF and n Freundlich parameters, ­respectively <sup>83</sup> . Based on the values of error functions obtained by Eqs. (7), (8), (9), (10), (11), (12), it can observed from Table 7, that for adsorbent dosage 2 g/L, the Freundlich and Redlich–Peterson show the lowest values of APE, SSE, ∆q (%), χ <sup>2</sup>, EABS, and RMSE. In the case of adsorbent dosages from 4 to 10 g/L, Langmuir and Redlich–Peterson present the less values of error functions compared to Freundlich and Temkin isotherm models. These results were in agreement with the finding correlation coefficients and validate the studied isotherm models. As seen in Fig. 7a, it was found that as the amount of 3-NpH (mg/g) decrease from 236.156 to 79.441 mg/g when the adsorbent dose increases from 2 to 10 g/L. This result can be attributed to the split in the flux or the concentration gradient between solute concentration in the solution and the ­solute <sup>84</sup> . Figure 7b, shows that the removal percentage of 3-NpH increase by the increasing of the sorbents dosage, this result can be attribute to the increase of the number of sorption site available, thus allow the increasing of removal percentage of 3-NpH <sup>85</sup> . _Adsorption isotherms at different temperatures_ Adsorption isotherms of 3-NpH at temperatures 300.15, 313.15 and 330.15 K on CM-HC are shown in Fig. 8a–c, respectively. It can be seen that the temperature has a significant effect on the removal of 3-Nph. As shown in these figures, it can observe that the adsorption capacity of CM-HC decreases with increasing of temperature confirming that the adsorption process of 3-NpH on CM-HC is controlled by an exothermic reaction. Previous Dose <u>(g/L)</u> <u>Model</u> <u>Error functions</u> <u>APE</u> <u>SSE</u> <u>∆q (%)</u> <u>χ</u> <sup>2</sup> <u>EABS</u> <u>RMSE</u> 2 4 8 10 <u>Langmuir</u> <u>20.157</u> <u>202.234</u> <u>0.331</u> <u>17.856</u> <u>33.444</u> <u>6.360</u> <u>Freundlich</u> <u>9.897</u> <u>60.271</u> <u>0.171</u> <u>3.483</u> <u>18.477</u> <u>3.472</u> <u>Temkin</u> <u>36.529</u> <u>1712.042</u> <u>0.490</u> <u>24.908</u> <u>95.565</u> <u>18.504</u> <u>Redlich–Peterson</u> <u>10.139</u> <u>62.045</u> <u>0.179</u> <u>3.945</u> <u>18.330</u> <u>3.523</u> <u>Langmuir</u> <u>11.994</u> <u>34.540</u> <u>0.225</u> <u>4.320</u> <u>12.810</u> <u>2.628</u> <u>Freundlich</u> <u>28.452</u> <u>353.942</u> <u>0.429</u> <u>9.463</u> <u>43.842</u> <u>8.414</u> <u>Temkin</u> <u>21.776</u> <u>216.007</u> <u>0.320</u> <u>9.897</u> <u>32.619</u> <u>6.573</u> <u>Redlich–Peterson</u> <u>12.127</u> <u>34.528</u> <u>0.227</u> <u>4.415</u> <u>12.869</u> <u>2.628</u> <u>Langmuir</u> <u>15.593</u> <u>29.566</u> <u>0.273</u> <u>4.621</u> <u>11.721</u> <u>2.432</u> <u>Freundlich</u> <u>34.850</u> <u>147.949</u> <u>0.584</u> <u>6.908</u> <u>27.085</u> <u>5.440</u> <u>Temkin</u> <u>27.778</u> <u>218.128</u> <u>0.434</u> <u>13.598</u> <u>30.095</u> <u>6.605</u> <u>Redlich–Peterson</u> <u>12.387</u> <u>18.150</u> <u>0.199</u> <u>2.170</u> <u>10.333</u> <u>1.905</u> <u>Langmuir</u> <u>17.941</u> <u>10.984</u> <u>0.313</u> <u>4.535</u> <u>7.285</u> <u>1.482</u> <u>Freundlich</u> <u>39.794</u> <u>176.909</u> <u>0.582</u> <u>7.917</u> <u>31.924</u> <u>5.948</u> <u>Temkin</u> <u>48.302</u> <u>285.026</u> <u>0.801</u> <u>12.386</u> <u>36.244</u> <u>7.550</u> <u>Redlich–Peterson</u> <u>18.146</u> <u>10.637</u> <u>0.320</u> <u>4.941</u> <u>7.014</u> <u>1.459</u> Table 7. Values of error functions of adsorption isotherm models of 3-Nph on CM-HC at different dosage. Fig. 7. Effect of sorbents dosage (g/L), on the ( a ) amount of 3-NpH sorbed, qm (mg/g) and ( b ) percentage of 3-NpH removal; solution pH: 5.6.00; temperature: 297 K, agitation speed: 150 rpm; contact time: 24 h. Fig. 8. Adsorption isotherms of MC-HC at temperature (a) 300.15, (b) 313.15 and (c) 330.15 K. studies of adsorption of phenolic compounds showed an exothermic process using oil palm shell activated ­carbon <sup>86</sup>, carbon ­black <sup>87</sup>, cattail fiber-based activated ­carbon <sup>88</sup>, and anaerobic granular ­sludge <sup>89</sup> as adsorbents. In these studies, it was suggested that the increase of temperature may cause a breaking of attraction force between the adsorbate molecules and the active sites on the surface of carbonaceous materials leading to decrease of adsorption ­capacity <sup>90</sup> . The equilibrium data at temperature 300.15, 313.15 and 330.15 K were fitted using nonlinear equations of Langmuir, Freundlich, Temkin and Redlich–Peterson isotherm models. Table 8 shows the isotherm parameters with their correlation coefficients ­R <sup>2</sup> . It was found that for all temperatures studied, the ­R <sup>2</sup> for Langmuir and Redlich-Peterson isotherm models are higher than Freundlich, Temkin isotherm models. The maximum adsorption capacities of 3-Nph on CH-HC were 128.625 107.704, and 105.441 mg/g at 300.15, 313.15 and 330.15 K, respectively. Likewise, the values of Langmuir constant ­KL decrease with increasing of temperature, which indicate the higher affinity at lower temperature and confirming that the adsorption of 3-Nph is an exothermic nature. Furthermore, it can be noted that the values of parameter β are close to unity, confirming that the adsorption isotherms are best approaching to Langmuir model than Freundlich model. Table 9 presents the values of error functions. It can be observed that among four studied isotherm models, the Langmuir and Redlich–Peterson isotherm showed less values, confirming that the Langmuir model is the best fitted model for the range temperature studied. Adsorption mechanisms The proposed adsorption mechanisms of 3-Nph on CM-HC depended to the functional groups present on the surface on the adsorbent. In the recent study, we have found that the surface of CM-HC exhibits the following functional groups: OH, C=O, C–O, and C=C (aromatic ring) <sup>91</sup> . Therefore, electrostatic interaction can be carried out between the negative charge of OH, C=O, C–O groups with the positive charge of the nitrogen from 3-Nph. Also, the OH functional group may interact with the oxygen from phenol group by hydrogen bonding. Other interaction between the C=C group with the benzene from 3-nitrophenol by π–π interactions. Additionally, <u>Isotherm Models</u> <u>Parameters</u> <u>Temperature (K)</u> <u>300.15</u> <u>313.15</u> <u>330.15</u> Langmuir Freundlich Temkin Redlich–Peterson <u>Qmax (mg/g)</u> <u>128.625</u> <u>107.704</u> <u>105.441</u> <u>KL(L/mg) ­(10</u> <sup>−2</sup> <u>)</u> <u>1.804</u> <u>1.548</u> <u>0.939</u> <u>R</u> <sup>2</sup> <u>0.9974</u> <u>0.9842</u> <u>0.9766</u> <u>N</u> <u>2.393</u> <u>2.698</u> <u>2.455</u> <u>KF (mg/g)(L/mg)</u> <sup>1/n</sup> <u>9.945</u> <u>9.962</u> <u>6.813</u> <u>R</u> <sup>2</sup> <u>0.9634</u> <u>0.9742</u> <u>0.9141</u> <u>BT (L/mg)</u> <u>22.475</u> <u>16.664</u> <u>18.761</u> <u>AT (KJ/mol)</u> <u>0.363</u> <u>0.522</u> <u>0.178</u> <u>R</u> <sup>2</sup> <u>0.9865</u> <u>0.9744</u> <u>0.9586</u> <u>αRP (L/mg)</u> <u>0.035</u> <u>0.123</u> <u>0.0005</u> <u>KRP (L/g)</u> <u>2.759</u> <u>3.713</u> <u>0.629</u> <u>β</u> <u>0.917</u> <u>0.798</u> <u>1.379</u> <u>R</u> <sup>2</sup> <u>0.9985</u> <u>0.9971</u> <u>0.9843</u> Table 8. Langmuir and Freundlich isotherm parameters for the adsorption of 3-Nph on CM-HC at different temperatures. <u>Error functions</u> <u>T (K)</u> <u>Model</u> <u>APE</u> <u>SSE</u> <u>∆q (%)</u> <u>χ</u> <sup>2</sup> <u>EABS</u> <u>RMSE</u> 300.15 313.15 330.15 <u>Langmuir</u> <u>8.279</u> <u>33.754</u> <u>0.118</u> <u>1.274</u> <u>12.653</u> <u>2.598</u> <u>Freundlich</u> <u>57.478</u> <u>469.224</u> <u>1.052</u> <u>16.197</u> <u>54.511</u> <u>9.687</u> <u>Temkin</u> <u>10.216</u> <u>99.680</u> <u>0.151</u> <u>2.364</u> <u>21.640</u> <u>4.465</u> <u>Redlich–Peterson</u> <u>11.258</u> <u>19.641</u> <u>0.187</u> <u>1.190</u> <u>11.190</u> <u>1.982</u> <u>Langmuir</u> <u>18.906</u> <u>144.054</u> <u>0.299</u> <u>11.766</u> <u>24.773</u> <u>5.368</u> <u>Freundlich</u> <u>37.341</u> <u>235.752</u> <u>0.666</u> <u>9.589</u> <u>37.525</u> <u>6.867</u> <u>Temkin</u> <u>15.791</u> <u>142.297</u> <u>0.278</u> <u>4.066</u> <u>27.083</u> <u>5.335</u> <u>Redlich–Peterson</u> <u>9.271</u> <u>26.502</u> <u>0.160</u> <u>1.585</u> <u>11.177</u> <u>2.302</u> <u>Langmuir</u> <u>14.555</u> <u>182.855</u> <u>0.182</u> <u>4.808</u> <u>30.997</u> <u>6.047</u> <u>Freundlich</u> <u>51.710</u> <u>672.224</u> <u>0.910</u> <u>17.772</u> <u>62.448</u> <u>11.595</u> <u>Temkin</u> <u>20.789</u> <u>323.810</u> <u>0.339</u> <u>14.212</u> <u>36.983</u> <u>8.047</u> <u>Redlich–Peterson</u> <u>17.807</u> <u>122.489</u> <u>0.272</u> <u>11.221</u> <u>21.007</u> <u>4.950</u> Table 9. Values of error functions of adsorption isotherm models of 3-Nph on CM-HC at different temperatures. CM-HC has pores that may allow the 3-Nph molecules. Figure 9 shows the electrostatic interactions, hydrogen bonding, π–π interactions, and porous adsorption as a possible adsorption mechanism of 3-Nph onto CM-HC. Adsorption and desorption cycles Figure 10 shows the adsorption and desorption cycles of 3-Nph onto AB-HC. It can be seen that adsorption and desorption capacities ­(qads and ­qdes) of 3-Nph has decreased. The decrease in adsorption capacity can be attributed to the possible remnant of 3-Nph on the surface of the CM-HC due to the strong interaction between adsorbate and adsorbent, and incomplete desorption of 3-Nph using NaOH. In other studies, moderate adsorption of nitrophenols was observed after the first cycle, which is attributed to the destruction of the porous structure of the activated biochar under alkaline experimental conditions. To improve the reusability of CM-HC, it is suggested to use other eluents or even temperature of aqueous solution. Deep learning artificial intelligence framework to optimize the adsorption capacity of carbo‑ naceous material In this section, the focus centers on the implementation of a deep ­learning <sup>92</sup> artificial intelligence (AI) algorithm utilizing an artificial neural ­network <sup>93</sup> . Subsequently, optimization based on a genetic ­algorithm <sup>94</sup> is applied. This comprehensive procedure is executed methodically, with the initial step encompassing data visualization and description, followed by AI implementation and optimization. _Data visualization and description_ Regarding data visualization and description, the entire experimental dataset is initially formatted and consolidated into a structure, as illustrated in Table 10 <sup>95</sup> . Each column in this table contains variables such as time, initial Fig. 9. Adsorption mechanism of 3-Nph on CM-HC. Fig. 10. Adsorption and desorption cycles of 3-Nph on CM-HC. concentration, pH, dosage, temperature, and the fitness function (removal percentage). Each row corresponds to an individual experimental run, mirroring the real experimental procedure, which can be resource-intensive. For instance, the execution of experiment run no. 8 required 1440 min. Despite the substantial time investment, consolidating the database at this juncture proves beneficial. To elucidate the data description, violin plots (Fig. 11) are employed for each of the five variables and the removal percentage, the latter being the fitness function. The violin plot is chosen for its ability to convey data properties akin to a box and whisker plot, while also providing insights into data distribution. An alternative method for understanding data distribution is through histograms, as depicted in the scatter matrix of Fig. 12. The violin plot reveals distinctive patterns, such as a concentration of the time variable towards the upper end, aligning with the scatter matrix histogram. Furthermore, there is a noticeable concentration at the lower end, indicating durations less than 200 min. Notably, there is an abundance of experimentation for lower initial concentrations (< 200 units), a trend consistent with the scatter matrix results showcasing the highest data density in this range. <u>Experimental run no.</u> <u>Time</u> <u>Initial concentration</u> <u>pH</u> <u>Dosis</u> <u>temperature</u> <u>Removal percentage</u> <u>1</u> <u>15</u> <u>50</u> <u>6</u> <u>1</u> <u>300.15</u> <u>47.04</u> <u>2</u> <u>30</u> <u>50</u> <u>6</u> <u>1</u> <u>300.15</u> <u>61.87</u> <u>3</u> <u>60</u> <u>50</u> <u>6</u> <u>1</u> <u>300.15</u> <u>68.96</u> <u>4</u> <u>120</u> <u>50</u> <u>6</u> <u>1</u> <u>300.15</u> <u>80.01</u> <u>5</u> <u>180</u> <u>50</u> <u>6</u> <u>1</u> <u>300.15</u> <u>86.09</u> <u>6</u> <u>360</u> <u>50</u> <u>6</u> <u>1</u> <u>300.15</u> <u>86.94</u> <u>7</u> <u>720</u> <u>50</u> <u>6</u> <u>1</u> <u>300.15</u> <u>89.74</u> <u>8</u> <u>1440</u> <u>50</u> <u>6</u> <u>1</u> <u>300.15</u> <u>91.06</u> <u>.</u> <u>.</u> <u>.</u> <u>.</u> <u>.</u> <u>.</u> <u>.</u> <u>.</u> <u>.</u> <u>.</u> <u>.</u> <u>.</u> <u>.</u> <u>.</u> <u>.</u> <u>.</u> <u>.</u> <u>.</u> <u>.</u> <u>.</u> <u>.</u> <u>.</u> <u>.</u> <u>.</u> <u>.</u> <u>.</u> <u>.</u> <u>.</u> <u>82</u> <u>1440</u> <u>50</u> <u>6</u> <u>1</u> <u>330.15</u> <u>83.71</u> <u>83</u> <u>1440</u> <u>100</u> <u>6</u> <u>1</u> <u>330.15</u> <u>85.46</u> <u>84</u> <u>1440</u> <u>250</u> <u>6</u> <u>1</u> <u>330.15</u> <u>69.56</u> <u>85</u> <u>1440</u> <u>500</u> <u>6</u> <u>1</u> <u>330.15</u> <u>67.60</u> <u>87</u> <u>1440</u> <u>700</u> <u>6</u> <u>1</u> <u>330.15</u> <u>54.67</u> <u>87</u> <u>1440</u> <u>1000</u> <u>6</u> <u>1</u> <u>330.15</u> <u>37.78</u> Table 10. [General format of the experimental data. Data publicly available at: https://​dx.​doi.​org/​10.​6084/​m9.​](https://dx.doi.org/10.6084/m9.figshare.24545587) [figsh​are.​24545​587.](https://dx.doi.org/10.6084/m9.figshare.24545587) The pH variable exhibits its highest density just below the neutral point, with bottlenecks observed around pH values of 4–5 and 7. This aligns with the scatter matrix, emphasizing lower probability density at the ends compared to a peak at 6. The dosage and temperature graphs share a similar pattern, with higher probability distribution for lower dosages (< 2 units) and temperatures (< 305 K). However, as dosages and temperatures increase, the number of data points decreases. The removal percentage’s violin plot correlates intriguingly with the histogram distribution in the scatter matrix. The highest frequency of removal percentage occurs at approximately 90 units, with a noticeable reduction in data points beyond this threshold. The upper end of the 90-unit range exhibits a more substantial data distribution compared to the lower end, suggesting a potential combination of the five design variables yielding maximum removal percentage. It should be noted that the dataset used for the ANN analysis comprises 87 entries, which may be considered small for robust ANN applications. This limitation could potentially affect the generalizability of the model. To address this issue in future studies, we propose to expand the dataset through additional batch experiments to enhance the training process and improve the model’s accuracy and generalizability. Further, employing crossvalidation methods or increasing the diversity of the data points could also contribute to more reliable ANN predictions. These steps will help in mitigating the effects of the current dataset size and provide a more robust framework for ANN applications in adsorption batch experiments. In this phase, correlation heat maps incorporating coefficients from ­Pearson <sup>96</sup>, ­Spearman <sup>97</sup>, and ­Kendall <sup>98</sup> methods have been successfully implemented and are visually represented in Fig. 13. Notably, all three heat maps exhibit a correlation coefficient of 1 along the diagonal, indicating pairwise correlations such as time-time, initial concentration with initial concentration, among others. Conversely, the data situated above or below the diagonal represents a mirrored image. Consequently, it is appropriate to focus solely on interpreting one side of the correlation heat map. The primary emphasis of this discussion is on the significance of the correlation coefficient values and the distinctions arising from the implementation of different correlation methods. It is imperative to acknowledge that, in all instances, a positively correlated coefficient is exclusively observed for time and dosage, with Pearson correlation coefficients of 0.26 and 0.38, respectively. It can be asserted that the relationship between time and the removal percentage does not exhibit a strongly positive correlation; however, dosage demonstrates a more robust positive correlation with a coefficient of 0.38. Nonetheless, this interpretation undergoes notable variations when examining the Kendall correlation, which implies that time possesses a more potent correlation coefficient with the removal percentage compared to dosage—an observation similarly noted with the Spearman method. This leads to the conclusion that the determination of whether time or dosage more significantly influences the removal percentage is inconclusive. Nevertheless, all three algorithms consistently affirm the existence of a positive relationship. The correlation coefficient of pH, as determined by all three methods, is negative. However, its value is in close proximity to zero, signifying that pH is not the most robust or influential variable affecting the removal percentage. A parallel trend is observed for temperature, displaying a negative correlation coefficient, suggesting that lower temperatures are preferable for achieving higher removal percentages. The most substantial correlation is identified for the initial concentration concerning the removal percentage, with values of −0.59 for both Pearson and Spearman correlations, and −0.45 for the Kendall correlation. This indicates that the initial concentration emerges as the most influential parameter for the removal percentage, with lower initial concentrations proving more conducive to achieving favorable outcomes. Fig. 11. Violin plot of the variables and the fitness function. _Deep learning artificial neural network_ For enhanced accuracy and mitigating multicollinearity issues within the dataset, an advanced approach involving artificial neural networks (ANNs) <sup>99</sup> was implemented for deep learning ­purposes <sup>100,101</sup> . Previous attempts using traditional machine learning techniques such as multivariate regression analysis and support vector machine yielded unsatisfactory results, prompting the adoption of ANNs. The initial ANN configuration consisted of a single hidden layer comprising 10 neurons. Architecture optimization was pursued by employing the ­Adam <sup>102</sup> optimizer in ­Python <sup>103</sup>, within the Google Colab ­environment <sup>104</sup> . Fig. 12. Scatter matrix with histograms between the design variables and the fitness function. Despite multiple iterations, the mean square error (MSE) <sup>105</sup> ranged between 75.8409 and 156.8976, indicating suboptimal performance. To address this, manual iterations were conducted by varying the number of hidden layers and neurons, transitioning from a structure of 5-10-10-1 to 5-100-100-1. Unfortunately, this did not yield satisfactory results. The implementation was then transferred to ­MATLAB <sup>106</sup>, where the scaled conjugate ­method <sup>107</sup>, known for its suitability in regression fits for small and noisy datasets, was adopted. The optimized architecture identified was 5-14-14-1 (refer to Fig. 14). This architecture includes an input layer with five variables, two hidden layers with 14 neurons each utilizing a _tansig_ activation function, and an output layer representing the removal percentage with a linear activation function. The _Tansig_ function, or hyperbolic tangent sigmoid transfer function, is a popular activation function used in neural networks, particularly in the context of artificial neural networks (ANNs). Mathematically, it is defined as: tansig(x) = 1+e2 <sup>−2x</sup> <sup>−</sup> <sup>1, where x represents the input to the function. This function outputs values that range</sup> from −1 to 1, making it particularly useful for modeling data that have been normalized to this range. The _Tansig_ function is an S-shaped curve, similar to the logistic sigmoid function, but with outputs spread over a wider range on the y-axis. This characteristic allows the function to handle negative values more naturally and makes it beneficial for problems where the symmetry around zero can help in faster convergence of the learning Fig. 13. Coefficient of correlation of Pearson, Spearman, and Kendall. algorithm. The use of the _Tansig_ function in neural networks is advantageous because of its non-linear nature, which enables the network to learn complex patterns that linear models might not be able to capture. Additionally, the gradients of the _Tansig_ function are stronger for values in the range closer to zero, which can lead to more effective and efficient training phases, especially during backpropagation where gradients are used to update the weights. In the context of our ANN model used to analyze adsorption batch experiments, employing the _Tansig_ function as the activation helps the network in handling varying dynamics of the data while maintaining stable learning and convergence behaviors. This choice is crucial for the performance of our ANN, particularly given the constraints imposed by the relatively small size of the dataset. The iterative adjustment of bias and weight matrices in each epoch led to the optimal values at Epoch 228 (see Fig. 15), resulting in MSE values of 4.07, 18.406, and 6.2122 for the training, testing, and total datasets, respectively (refer to Table 11). The coefficient of determination, corresponding to R-squared values, for training, testing, and the total dataset were 0.98759, 0.94280, and 0.98108, respectively. This confirmed the efficacy of the selected architecture and convergence criteria. The output generated from this optimized model was saved for further analysis and interpretation. Upon establishing the architecture and statistical characteristics of the proposed artificial neural network (ANN) model, the subsequent phase involves a comprehensive graphical visualization to assess the model’s performance. While statistical indicators provide crucial insights, graphical representations offer additional nuances that may not be discernible through numerical metrics alone. In Fig. 16a, the regression fit graph portrays the relationship between the target variable (experimental removal percentage) and the model’s output (simulated removal percentage). Ideally, a perfect linear correlation between these variables signifies an impeccable goodness of fit. The linear fit equation reveals a slope of 1.00, indicating a consistent rate of change between the target and output. However, a bias of −0.56 is observed, implying a slight deviation of the y-intercept from the origin, a phenomenon rationalized by the scarcity of data points below a removal percentage of 50. Notably, the graph includes representations of both training and testing data. Strikingly, the statistical performance of the training dataset aligns more closely with the linear regression line than the testing data. Instances of substantial deviation from the regression line in the testing data caution against over-reliance on this subset for optimization, as poorly predicted points may lead to local ­optima <sup>47</sup> . Furthermore, adherence to key regression assumptions is imperative for robust model ­validation <sup>108</sup> . Figure 16b delves into the examination of normality, independence, and homoscedasticity of errors. The normality of errors is scrutinized using a QQ-plot, where the majority of data points closely adhere to the theoretical normal distribution line. However, six outlier data points, positioned at the extremes of the distribution, warrant careful consideration during the optimization phase. Independence of errors is assessed through a plot of residuals against experimental run (row number). The absence of a discernible pattern in this plot affirms the independence of errors. Intriguingly, the same six outlier data points identified earlier exhibit distinctive characteristics, emphasizing the need for meticulous handling during optimization. Finally, homoscedasticity of residuals is validated via a plot correlating predicted values with residuals. The absence of a defined pattern in this plot further confirms the homogeneity of residuals. Notably, the six outlier points exhibit unique behaviors in this context as well, underscoring their significance in the overall analysis. In conclusion, this multifaceted graphical analysis provides a comprehensive evaluation of the ANN model’s performance, ensuring a thorough understanding of its strengths and potential limitations in addressing the research objectives. The validation of our deep learning artificial neural network (ANN) is a critical step to ensure the reliability and accuracy of the model’s predictive capabilities. We employed a robust validation strategy that involves Fig. 14. Optimal deep learning architecture. splitting the data into distinct sets: training, testing, and validation. This separation ensures that the model is not only trained but also fine-tuned and tested against unseen data. During the training phase, the model’s parameters are adjusted to minimize the error on the training set. Then, the validation set is used to tune the hyperparameters and prevent the model from overfitting, which is critical given the relatively small dataset. The final model’s performance is assessed on a separate test set, which provides an unbiased evaluation of its predictive power. The mean square error (MSE) and the coefficient of determination ­(R <sup>2</sup> ) are calculated for each set to quantify the model’s accuracy and predictive performance. These metrics confirm whether the model can effectively generalize beyond the training data. Ensuring the repeatability of our ANN model involves detailed documentation of the model architecture, including the number of layers, the type of activation functions used (e.g., _Tansig_ ), and the optimization algorithms (e.g., scaled conjugate method). The iterative process of model training is set to reproducible conditions, with fixed seeds for random number generators and consistent training-validation-test splits. This practice is vital to achieve consistent results when the model is re-run under the same conditions or by other researchers. Additionally, the robustness of the model is tested through repeated runs, where the stability of the results (such 10 <sup>3</sup> 10 <sup>2</sup> 10 <sup>1</sup> 10 <sup>0</sup> Train Test Best 0 50 100 150 200 250 300 350 400 450 500 513 Epochs Fig. 15. Convergence criteria of the Mean Squared Error for the best architecture. <u>Source</u> <u>MSE</u> <u>MAPE</u> <u>SSE</u> <u>R</u> <sup>2</sup> <u>Training</u> <u>4.07</u> <u>1.7369</u> <u>301.18</u> <u>0.98759</u> <u>Testing</u> <u>18.406</u> <u>4.9067</u> <u>239.28</u> <u>0.94280</u> <u>Total</u> <u>6.2122</u> <u>2.2105</u> <u>540.46</u> <u>0.98108</u> Table 11. Statistical performance indicators for the best architecture. as MSE and ­R <sup>2</sup> values) is checked across different iterations to ensure that the outcomes are not anomalies but reproducible findings. _Optimization using genetic algorithm_ The employment of deep learning has facilitated the establishment of an empirical correlation between various tuning parameters and the fitness function, represented by the removal percentage. This correlation serves as a fitness function equation, enabling the formulation of an optimization problem. The objective of this optimization is to maximize the removal percentage by adjusting decision variables such as time, initial concentration, pH, dosis, and temperature. The decision variable bounds are defined as lower bound = [15, 50, 3, 1, 300.15] and upper bound = [1440, 250, 8, 10, 330.15]. To conform to typical optimization conventions geared towards minimization, the removal percentage is multiplied by −1. A noteworthy concern arises from the lack of a continuous dataset for digital twin modeling. Despite the high performance demonstrated during empirical modeling, the optimization process operates with a potential error margin due to the finite nature of the removal percentage (with a maximum value of 100). The optimization problem is expressed as follows: Minimize : −1 × removal percentage subject to lower bound ≤ �time, initial concentration, pH, dosis, temperature ≤ upper bound 0 ≤ removal percentage ≤ 100. Prior to mathematical optimization, a critical step involves visualizing the optimization data to identify potential regions for improvement. Given the multivariate nature of the data (six dimensions), a parallel coordinate Fig. 16. ( a ) Regression fitting for the optimal architecture. ( b ) Verification of the assumptions of the regression fit, including normality, independence, and homoscedasticity from left to right. plot is adopted (Fig. 17). In this plot, red lines signify a higher tendency for improved removal percentage. Analysis of the red lines indicates that lower temperatures, reduced dosis, moderate pH values, moderate initial concentration, and extended time are favorable for optimization. However, a formal algorithmic application is required to substantiate these observations. To address this, a single-objective genetic ­algorithm <sup>109</sup> implemented in MATLAB, utilizing the ‘ga’ function, is employed for optimization. The chosen parameters include a population size of 50, a maximum of 100 generations, and parallel computing. The results of this optimization process are tabulated in Table 12. In Table 12, simulation results stemming from data-driven optimization through a deep learning algorithm are presented. Notably, the simulated maximum removal percentage reaches 100.001, a theoretically ideal value with a tolerance level of 0.001. While this represents an idealized outcome, the simulation aids in identifying decision variable combinations leading to this optimality. However, acknowledging the inherent error margin in the digital twin modeling and optimization process, it is crucial to validate the true optimality through experimentation. A subsequent experiment, conducted under conditions aligning with the optimal points identified in simulation, yields a removal percentage of 98.77%. The percentage difference between this experimentally verified optimality and the simulated result is a mere 1.24%, demonstrating the success of applying deep learning with Fig. 17. Parallel coordinate plot. <u>Source</u> <u>Time</u> <u>Initial concentration</u> <u>pH</u> <u>Dosis</u> <u>Temperature</u> <u>Removal percentage</u> <u>Simulation</u> <u>1381.2912</u> <u>23.0771</u> <u>5.7939</u> <u>9.1888</u> <u>305.6714</u> <u>100.001</u> <u>Experimentation</u> <u>1440</u> <u>25</u> <u>6</u> <u>10</u> <u>300.15</u> <u>98.77</u> Table 12. Optimality based upon simulation and experimentation. genetic algorithm optimization. Consequently, it is recommended to prioritize experimental optimality for robust validation. Conclusion It is concluded that the carbonaceous material from _Haematoxylum campechianum_ waste (CM-CM) proved to be an effective low-cost adsorbent to remove 3-nitrophenol from aqueous solution. The experiment results show that the uptake capacity of 3-Nph by CM-HC is dependent of contact time, pH of solution, adsorbent dosage and temperature parameters. Removal of 3-Nph was found to be more favorable at pH = 6 and at T = 300.15 K. Over concentrations studied, adsorption equilibrium data showed the best fitted Langmuir model at all pH solutions, dosage of adsorbent and temperatures studied. The maximum adsorption capacity of CM-HC was calculated as 236.156 mg/g. The results of kinetic study show that for Ci (3-Nph) = 50–100 mg/L, the pseudo-second order model was best fit model to the adsorption of 3-Nph. Some other conclusions from the data analytics are following: 1. The relationship between time, dosage, and various environmental factors with the removal percentage is explored through correlation analysis using Pearson, Spearman, and Kendall methods. Despite differences in the strength of correlations between the methods, a consistent positive correlation exists between time and dosage with the removal percentage. The interpretation varies slightly among methods, highlighting the nuanced influence of correlation algorithms. Notably, the initial concentration emerges as the most influential parameter, emphasizing its significance in achieving favorable outcomes. The study suggests that determining whether time or dosage more significantly influences the removal percentage remains inconclusive, but the positive relationship is consistently affirmed by all three correlation algorithms. 2. The identified 5-14-14-1 architecture, fine-tuned over 228 epochs, demonstrated robust performance with mean squared error (MSE) values of 4.07, 18.406, and 6.2122 for training, testing, and total datasets, respectively. The coefficient of determination (R-squared) values further confirmed the efficacy of the selected architecture. The graphical analysis of the model’s performance revealed a well-fitted linear correlation between experimental and simulated removal percentages, with attention to potential pitfalls in relying solely on the testing dataset for optimization. The assessment of normality, independence, and homoscedasticity of errors provided a comprehensive understanding of the model’s strengths and limitations. 3. Through the approach of a single-objective genetic algorithm implemented in MATLAB, a theoretically ideal removal percentage of 100.001 was simulated, aiding in identifying decision variable combinations leading to optimality. The subsequent experimental validation under optimal conditions yielded a removal percentage of 98.77%, showcasing the success of combining deep learning with genetic algorithm optimization. However, it is emphasized that experimental validation is crucial to account for inherent error margins in digital twin modeling. The study recommends prioritizing experimental optimality for robust validation of the optimization results obtained through the integration of deep learning and genetic algorithms. This research not only contributes to the advancement of environmental science but also offers a unique opportunity for educational innovation. By incorporating artificial neural networks, deep learning, and data science methodologies into the study of adsorption processes for pollutant removal, students can engage in cuttingedge interdisciplinary approaches. The utilization of genetic algorithm optimization adds a practical dimension to their learning experience, fostering skills in optimization and critical thinking. This innovative integration of advanced technologies provides students with valuable exposure to real-world problem-solving, preparing them for future challenges in environmental engineering and promoting a forward-looking educational model. Overall, the combination of using biosorbents for environmental remediation and enhancing these efforts through educational programs presents a holistic approach to managing water pollution. The research underscores the importance of continuous research in biosorbent efficacy and advocates for robust educational programs that empower individuals with the knowledge and skills to make impactful environmental decisions. Future strategies should focus on expanding the availability of educational resources related to biosorbents and increasing public engagement through tailored educational programs that highlight the practical aspects of environmental stewardship (Supplementary Information). Data availability [The datasets generated and analysed during the current study are available in the figshare repository, [https://​](https://dx.doi.org/10.6084/m9.figshare.24545587) [dx.​doi.​org/​10.​6084/​m9.​figsh​are.​24545​587].](https://dx.doi.org/10.6084/m9.figshare.24545587) Received: 2 March 2024; Accepted: 22 August 2024 References 1. Sharma, N., Paço, A. & Upadhyay, D. Option or necessity: Role of environmental education as transformative change agent. _Eval. Progr. Plan._ 97, 102244 (2023). 2. Díaz-López, C. _et al._ Sensitivity analysis of trends in environmental education in schools and its implications in the built environment. _Environ. Dev._ 45, 100795 (2023). 3. Kroufek, R., Cincera, J., Kolenaty, M., Zalesak, J. & Johnson, B. “I had a spider in my mouth”: What makes students happy in outdoor environmental education programs. _Eval. Progr. Plan._ 99, 102326 (2023). 4. Xie, Y., Chen, Z., Tang, H., Boadu, F. & Yang, Y. Effects of executives’ pro-environmental education and knowledge sharing activities on eco-friendly agricultural production: Evidence from China. _J. Clean. Prod._ 395, 136469 (2023). 5. Arora, P. K., Srivastava, A. & Singh, V. P. Bacterial degradation of nitrophenols and their derivatives. _J. Hazard. Mater._ 266, 42–59 (2014). 6. Xiong, Z., Zhang, H., Zhang, W., Lai, B. & Yao, G. Removal of nitrophenols and their derivatives by chemical redox: A review. _Chem. Eng. J._ 359, 13–31 (2019). 7. Uberoi, V. & Bhattacharya, S. K. Toxicity and degradability of nitrophenols in anaerobic systems. _Water Environ. Res._ 69, 146–156 (1997). 8. Kidak, R. & Ince, N. H. Ultrasonic destruction of phenol and substituted phenols: A review of current research. _Ultrason._ _Sonochem._ 13, 195–199 (2006). 9. Moraes, F. C., Tanimoto, S. T., Salazar-Banda, G. R., Machado, S. A. S. & Mascaro, L. H. A new indirect electroanalytical method to monitor the contamination of natural waters with 4-nitrophenol using multiwall carbon nanotubes. _Electroanalysis_ 21, 1091–1098 (2009). 10. Guidelines for drinking-water quality: fourth edition incorporating the first and second addenda. Geneva: World Health Organi [zation. Licence: CC BY-NC-SA 3.0 IGO. https://​iris.​who.​int/​bitst​ream/​handle/​10665/​352532/​97892​40045​064-​eng.​pdf?​seque​](https://iris.who.int/bitstream/handle/10665/352532/9789240045064-eng.pdf?sequence=1) [nce=1. Accessed 29 Aug 2024 (2022).](https://iris.who.int/bitstream/handle/10665/352532/9789240045064-eng.pdf?sequence=1) 11. DIRECTIVE 2008/105/EC OF THE EUROPEAN PARLIAMENT AND OF THE COUNCIL of 16 December 2008 on envi ronmental quality standards in the field of water policy, amending and subsequently repealing Council Directives 82/176/EEC, 83/513/EEC, 84/156/EEC, 84/491/EEC, 86/280/EEC and amending Directive 2000/60/EC of the European Parliament and of [the Council. https://​eur-​lex.​europa.​eu/​legal-​conte​nt/​EN/​TXT/​PDF/?​uri=​CELEX:​32008​L0105. https://​eur-​lex.​europa.​eu/​legal-​](https://eur-lex.europa.eu/legal-content/EN/TXT/PDF/?uri=CELEX:32008L0105) [conte​nt/​EN/​TXT/​PDF/?​uri=​CELEX:​32008​L0105. Accessed 29 Aug 2024 (2008).](https://eur-lex.europa.eu/legal-content/EN/TXT/PDF/?uri=CELEX:32008L0105) 12. [In Spanish] NORMA Oficial Mexicana NOM-127-SSA1–2021, Agua para uso y consumo humano. Límites permisibles de la [calidad del agua. https://​agua.​org.​mx/​wp-​conte​nt/​uploa​ds/​2022/​05/​DOF-%​E2%​80%​93-​Norma-​Ofici​al-​Mexic​ana-​NOM-​127-​](https://agua.org.mx/wp-content/uploads/2022/05/DOF-%E2%80%93-Norma-Oficial-Mexicana-NOM-127-SSA1-2021-SEGOB.pdf) [SSA1-​2021-​SEGOB.​pdf . https://​agua.​org.​mx/​wp-​conte​nt/​uploa​ds/​2022/​05/​DOF-%​E2%​80%​93-​Norma-​Ofici​al-​Mexic​ana-​NOM-​](https://agua.org.mx/wp-content/uploads/2022/05/DOF-%E2%80%93-Norma-Oficial-Mexicana-NOM-127-SSA1-2021-SEGOB.pdf) [127-​SSA1-​2021-​SEGOB.​pdf. Accessed 29 Aug 2024 (2022).](https://agua.org.mx/wp-content/uploads/2022/05/DOF-%E2%80%93-Norma-Oficial-Mexicana-NOM-127-SSA1-2021-SEGOB.pdf) 13. Preiss, A. _et al._ Advanced high-performance liquid chromatography method for highly polar nitroaromatic compounds in ground water samples from ammunition waste sites. _J. Chromatogr. A_ 1216, 4968–4975 (2009). 14. Asman, W. A. H. _et al._ Wet deposition of pesticides and nitrophenols at two sites in Denmark: Measurements and contributions from regional sources. _Chemosphere_ 59, 1023–1031 (2005). 15. Belloli, R. _et al._ Nitrophenols in air and rainwater. _Environ. Eng. Sci._ 23, 405–415 (2006). 16. Schwarzbauer, J., Ricking, M. & Littke, R. Quantitation of nonextractable anthropogenic contaminants released from Teltow Canal sediments after chemical degradation. _Acta. Hydrochim. Hydrobiol._ 31, 469–481 (2004). 17. Harrison, M. A. J. _et al._ Nitrated phenols in the atmosphere: A review. _Atmos. Environ._ 39, 231–248 (2005). 18. Sarkar, S. K. _et al._ Water quality management in the lower stretch of the river Ganges, east coast of India: An approach through environmental education. _J. Clean. Prod._ 15, 1559–1567 (2007). 19. Tebbutt, T. H. Y. & Woods, D. R. A new approach to education and training in water and environmental management. _Water_ _Sci. Technol._ 38, 261–269 (1998). 20. Papavasileiou, H. & Mavrakis, A. Environmental education: Issue water: Different approaches in secondary general and technical lyceum in a social and environmental stressed area in Greece. _Procedia Technol._ 8, 171–174 (2013). 21. Mariolakos, I., Kranioti, A., Markatselis, E. & Papageorgiou, M. Water, mythology and environmental education. _Desalination_ 213, 141–146 (2007). 22. Gebrekidan, T. K. Environmental education in Ethiopia: History, mainstreaming in curriculum, governmental structure, and its effectiveness: A systematic review. _Heliyon_ 10, e30573 (2024). 23. Raza, W. _et al._ Removal of phenolic compounds from industrial waste water based on membrane-based technologies. _J. Ind._ _Eng. Chem._ 71, 1–18 (2019). 24. Mohamad Said, K. A., Ismail, A. F., Abdul Karim, Z., Abdullah, M. S. & Hafeez, A. A review of technologies for the phenolic compounds recovery and phenol removal from wastewater. _Process Saf. Environ. Prot._ 151 (257), 289 (2021). 25. Ahmaruzzaman, Md. Adsorption of phenolic compounds on low-cost adsorbents: A review. _Adv. Colloid Interface Sci._ 143, 48–67 (2008). 26. Nafees, M. & Waseem, A. Organoclays as sorbent material for phenolic compounds: A review. _Clean_ 42, 1500–1508 (2014). 27. Bo, L., Chen, S., Quan, X., Liu, X. & Zhao, H. Microwave assisted wet oxidation of p-nitrophenol. _Sci. China Ser. E Technol. Sci._ 48, 220–232 (2005). 28. Kasture, N. S. Bioremediation of nitroaromatics: An overview. _Int. J. Environ. Agric. Biotechnol._ 2, 2715–2719 (2017). 29. Bazrafshan, E., Mostafapour, F. K. & Mansourian, H. J. Phenolic compounds: Health effects and its removal from aqueous environments by low cost adsorbents. _Health Scope_ 2, 65–66 (2013). 30. Tran, V. S. _et al._ Typical low cost biosorbents for adsorptive removal of specific organic pollutants from water. _Bioresour. Technol._ 182, 353–363 (2015). 31. Banat, F. A., Al-Bashir, B., Al-Asheh, S. & Hayajneh, O. Adsorption of phenol by bentonite. _Environ. Pollut._ 107, 391–398 (2000). 32. Kuleyin, A. Removal of phenol and 4-chlorophenol by surfactant-modified natural zeolite. _J. Hazard. Mater._ 144, 307–315 (2007). 33. Abatal, M. & Olguin, M. T. Comparative adsorption behavior between phenol and p-nitrophenol by Na- and HDTMA-clinop tilolite-rich tuff. _Environ. Earth Sci._ 69 (2691), 2698 (2013). 34. Phan, T. N. T., Bacquet, M. & Morcellet, M. Synthesis and characterization of silica gels functionalized with monochlorotriazinyl β-cyclodextrin and their sorption capacities towards organic compounds. _J. Incl. Phenom._ 38, 345–359 (2000). 35. Wang, S. & Peng, Y. Natural zeolites as effective adsorbents in water and wastewater treatment. _Chem. Eng. J._ 156, 11–24 (2010). 36. Li, Y. _et al._ Adsorption behavior of phenol by reversible surfactant-modified montmorillonite: Mechanism, thermodynamics, and regeneration. _Chem. Eng. J._ 334, 1214–1221 (2018). 37. Alkaram, U. F., Mukhlis, A. A. & Al-dujaili, A. H. The removal of phenol from aqueous solutions by adsorption using surfactant modified bentonite and kaolinite. _J. Hazard. Mater._ 169, 324–332 (2009). 38. Wu, J. & Yu, H. Q. Biosorption of 2,4-dichlorophenol from aqueous solution by _Phanerochaete chrysosporium_ biomass: Isotherms, kinetics and thermodynamics. _J. Hazard. Mater._ 137, 498–508 (2006). 39. Denizli, A., Cihangir, N., Tüzmen, N. & Alsancak, G. Removal of chlorophenols from aquatic systems using the dried and dead fungus _Pleurotus sajor caju_ . _Bioresour. Technol._ 96, 59–62 (2005). 40. Colella, L. S., Armenante, P. M., Kafkewitz, D., Allen, S. J. & Balasundaram, V. Adsorption isotherms for chlorinated phenols on activated carbons. _J. Chem. Eng. Data_ 43, 573–579 (1998). 41. Caturla, F., Martín-Martínez, J. M., Molina-Sabio, M., Rodriguez-Reinoso, F. & Torregrosa, R. Adsorption of substituted phenols on activated carbon. _J. Colloid Interface Sci._ 124, 528–534 (1988). 42. Daifullah, A. A. M. & Girgis, B. S. Removal of some substituted phenols by activated carbon obtained from agricultural waste. _Water Res._ 32, 1169–1177 (1998). 43. Rengaraj, S., Moon, S. H., Sivabalan, R., Arabindoo, B. & Murugesan, V. Agricultural solid waste for the removal of organics: Adsorption of phenol from water and wastewater by palm seed coat activated carbon. _Waste Manag._ 22, 543–548 (2002). 44. Tariq, R. _et al._ Artificial intelligence assisted technoeconomic optimization scenarios of hybrid energy systems for water man agement of an isolated community. _Sustain. Energy Technol. Assess._ 48, 101561 (2021). 45. Tariq, R. _et al._ Digital twin models for optimization and global projection of building-integrated solar chimney. _Build. Environ._ [https://​doi.​org/​10.​1016/J.​BUILD​ENV.​2022.​108807 (2022).](https://doi.org/10.1016/J.BUILDENV.2022.108807) 46. Tariq, R. _et al._ Data engineering for digital twining and optimization of naturally ventilated solar façade with phase changing material under global projection scenarios. _Renew. Energy_ 187, 1184–1203 (2022). 47. Tariq, R., Abatal, M. & Bassam, A. Computational intelligence for empirical modeling and optimization of methylene blue adsorption phenomena using available local zeolites and clay of Morocco. _J. Clean. Prod._ 370, 133517 (2022). 48. Khanmohammadi, S., Musharavati, F. & Tariq, R. A framework of data modeling and artificial intelligence for environmental friendly energy system: Application of Kalina cycle improved with fuel cell and thermoelectric module. _Process Saf. Environ._ _Prot._ 164, 499–516 (2022). 49. Daniela-Abigail, H.-L. _et al._ Does recycling solar panels make this renewable resource sustainable? Evidence supported by environmental, economic, and social dimensions. _Sustain. Cities Soc._ [https://​doi.​org/​10.​1016/j.​scs.​2021.​103539 (2021).](https://doi.org/10.1016/j.scs.2021.103539) 50. Tariq, R. _et al._ Projecting global water footprints diminution of a dew-point cooling system: Sustainability approach assisted with energetic and economic assessment. _Renew. Sustain. Energy Rev._ 140, 110741 (2021). 51. Sarang, P., Kohli, H. P., Kumar, A. & Chakraborty, M. Artificial neural network approach towards the separation of ethylparaben and diclofenac using pseudo-emulsion hollow fiber strip dispersion technique. _Chem. Data Collect._ 40, 100890 (2022). 52. Samadi-maybodi, A. & Nikou, M. Removal of sarafloxacin from aqueous solution by a magnetized metal-organic framework; artificial neural network modeling. _Polyhedron_ 179, 114342 (2020). 53. El-metwally, M. M., Abdel-fattah, G. M., Al-otibi, F. O. & Saber, W. I. A. Heliyon application of artificial neural networks for enhancing _Aspergillus flavipes_ lipase synthesis for green biodiesel production. _Heliyon_ 9, e20063 (2023). 54. Sathishkumar, V. E., Ramu, A. G. & Cho, J. Machine learning algorithms to predict the catalytic reduction performance of eco toxic nitrophenols and azo dyes contaminants (invited article). _Alex. Eng. J._ 72, 673–693 (2023). 55. Georgin, J., Franco, D. S. P., Manzar, M. S., Meili, L. & El Messaoudi, N. A critical and comprehensive review of the current status of 17β-estradiol hormone remediation through adsorption technology. _Environ. Sci. Pollut. Res._ 31, 24679–24712 (2024). 56. Ahmad, T. _et al._ Enhanced adsorption of bisphenol-A from water through the application of isocyanurate based hyper crosslinked resin. _J. Mol. Liq._ 395, 123861 (2024). 57. Gao, F., Xu, X. & Yang, J. Removal of p -nitrophenol from simulated sewage using MgCo-3D hydrotalcite nanospheres: Capability and mechanism. _RSC Adv._ 12, 27044–27054 (2022). 58. Adebayo, M. A. & Areo, F. I. Removal of phenol and 4-nitrophenol from wastewater using a composite prepared from clay and _Cocos nucifera_ shell: Kinetic, equilibrium and thermodynamic studies. _Resour. Environ. Sustain._ 3, 100020 (2021). 59. Khan, H., Hussain, S., Fawad, S. & Gul, S. Environmental technology & innovation multivariate modeling and optimization of Cr (VI) adsorption onto carbonaceous material via response surface models assisted with multiple regression analysis and particle swarm embedded neural network. _Environ. Technol. Innov._ 24, 101952 (2021). 60. Alatrista, G., Pratt, C. & Hanandeh, A. E. Phosphate adsorption by metal organic frameworks : Insights from a systematic review, meta-analysis, and predictive modelling with artificial neural networks. _Chemosphere_ 339, 139674 (2023). 61. Aghav, R. M., Kumar, S. & Mukherjee, S. N. Artificial neural network modeling in competitive adsorption of phenol and resor cinol from water environment using some carbonaceous adsorbents. _J. Hazard. Mater._ 188, 67–77 (2011). 62. Abatal, M., Anastopoulos, I., Giannakoudakis, D. A. & Olguin, M. T. Carbonaceous material obtained from bark biomass as adsorbent of phenolic compounds from aqueous solutions. _J. Environ. Chem. Eng._ 8, 103784 (2020). 63. Alkurdi, S. S. A., Al-Juboori, R. A., Bundschuh, J., Bowtell, L. & Marchuk, A. Inorganic arsenic species removal from water using bone char: A detailed study on adsorption kinetic and isotherm models using error functions analysis. _J. Hazard. Mater._ 405, 124112 (2021). 64. Patawat, C. _et al._ Preparation of activated carbon from _Dipterocarpus alatus_ fruit and its application for. _RSC Adv._ 10, 21082– 21091 (2020). 65. Njewa, J. B., Vunain, E. & Biswick, T. Synthesis and characterization of activated carbons prepared from agro-wastes by chemical activation. _J. Chem._ 2022, 1–13 (2022). 66. Ausavasukhi, A., Kampoosaen, C. & Kengnok, O. Adsorption characteristics of congo red on carbonized leonardite. _J. Clean._ _Prod._ [https://​doi.​org/​10.​1016/j.​jclep​ro.​2015.​10.​034 (2015).](https://doi.org/10.1016/j.jclepro.2015.10.034) 67. Li, Z. _et al._ Adsorption of congo red and methylene blue dyes on an ashitaba waste and a walnut shell-based activated carbon from aqueous solutions: Experiments, characterization and physical interpretations. _Chem. Eng. J._ 388, 124263 (2020). 68. Maria, I., Manesco, R., Vieira, S. & Fernandes, M. Removal of tartrazine from aqueous solutions using adsorbents based on activated carbon and _Moringa oleifera_ seeds. _J. Clean. Prod._ 171, 85–97 (2018). 69. Beker, U., Ganbold, B., Dertli, H. & Gülbayir, D. D. Adsorption of phenol by activated carbon: Influence of activation methods and solution pH. _Energy Convers. Manag._ 51, 235–240 (2010). 70. Nakamura, N., Yamamoto, T., Kobayashi, H. & Yoshimura, Y. The crystal and molecular structure of 1,18-dibromooctadecane. _Cryst. Res. Technol._ 28, 953–957 (1993). 71. Huang, C. P. & Stumm, W. Specific adsorption of cations on hydrous γ-Al2O <sup>3</sup> . _J. Colloid Interface Sci._ 43, 409–420 (1973). 72. Kuśmierek, K. & Świątkowski, A. Adsorption of phenols on carbonaceous materials of various origins but of similar specific surface areas. _Separations_ 10, 422 (2023). 73. Khare, P. & Kumar, A. Removal of phenol from aqueous solution using carbonized _Terminalia chebula_ -activated carbon: Process parametric optimization using conventional method and Taguchi’s experimental design, adsorption kinetic, equilibrium and thermodynamic study. _Appl. Water Sci._ 2, 317–326 (2012). 74. Aksu, Z. & Tezer, S. Equilibrium and kinetic modelling of biosorption of remazol black B by _Rhizopus arrhizus_ in a batch system: Effect of temperature. _Process Biochem._ 36, 431–439 (2000). 75. O’Mahony, T., Guibal, E. & Tobin, J. M. Reactive dye biosorption by _Rhizopus arrhizus_ biomass. _Enzyme Microb. Technol._ 31, 456–463 (2002). 76. Rincón-Silva, N. G., Moreno-Piraján, J. C. & Giraldo, L. Equilibrium, kinetics and thermodynamics study of phenols adsorption onto activated carbon obtained from lignocellulosic material ( _Eucalyptus globulus_ labill seed). _Adsorption_ 22, 33–48 (2016). 77. Ioannou, Z. & Simitzis, J. Adsorption kinetics of phenol and 3-nitrophenol from aqueous solutions on conventional and novel carbons. _J. Hazard. Mater._ 171, 954–964 (2009). 78. Tshemese, S. J., Mhike, W. & Tichapondwa, S. M. Adsorption of phenol and chromium (VI) from aqueous solution using exfoli ated graphite: Equilibrium, kinetics and thermodynamic studies. _Arab.J. Chem._ 14, 103160 (2021). 79. Hameed, B. H., Tan, I. A. W. & Ahmad, A. L. Adsorption isotherm, kinetic modeling and mechanism of 2,4,6-trichlorophenol on coconut husk-based activated carbon. _Chem. Eng. J._ 144, 235–244 (2008). 80. Nadeem, M., Shabbir, M., Abdullah, M. A., Shah, S. S. & McKay, G. Sorption of cadmium from aqueous solution by surfactant modified carbon adsorbents. _Chem. Eng. J._ 148, 365–370 (2009). 81. Hao, Z., Wang, C., Yan, Z., Jiang, H. & Xu, H. Magnetic particles modification of coconut shell-derived activated carbon and biochar for effective removal of phenol from water. _Chemosphere_ 211, 962–969 (2018). 82. Elsayed, I., Schueneman, G. T., El-Giar, E. M. & Hassan, E. B. Amino-functionalized cellulose nanofiber/lignosulfonate new aerogel adsorbent for the removal of dyes and heavy metals from wastewater. _Gels_ 9, 154 (2023). 83. Nikkhah, A. A., Zilouei, H., Asadinezhad, A. & Keshavarz, A. Removal of oil from water using polyurethane foam modified with nanoclay. _Chem. Engi. J._ 262, 278–285 (2015). 84. Hamdaoui, O. Intensification of the sorption of rhodamine B from aqueous phase by loquat seeds using ultrasound. _Desalination_ 271, 279–286 (2011). 85. Ofomaja, A. E. & Ho, Y. S. Equilibrium sorption of anionic dye from aqueous solution by palm kernel fibre as sorbent. _Dyes_ _Pigments_ 74, 60–66 (2007). 86. Hamad, B. K., Noor, A. M. & Rahim, A. A. Removal of 4-chloro-2-methoxyphenol from aqueous solution by adsorption to oil palm shell activated carbon activated with ­K2CO3. _J. Phys. Sci._ 22, 39–55 (2011). 87. Domínguez-Vargas, J. R., Navarro-Rodríguez, J. A., de Heredia, J. B. & Cuerda-Correa, E. M. Removal of chlorophenols in aque ous solution by carbon black low-cost adsorbents. Equilibrium study and influence of operation conditions. _J. Hazard. Mater._ 169, 302–308 (2009). 88. Ren, L., Zhang, J., Li, Y. & Zhang, C. Preparation and evaluation of cattail fiber-based activated carbon for 2,4-dichlorophenol and 2,4,6-trichlorophenol removal. _Chem. Eng. J._ 168, 553–561 (2011). 89. Gao, R. & Wang, J. Effects of pH and temperature on isotherm parameters of chlorophenols biosorption to anaerobic granular sludge. _J. Hazard. Mater._ 145, 398–403 (2007). 90. Garba, Z. N. _et al._ An overview of chlorophenols as contaminants and their removal from wastewater by adsorption: A review. _J. Environ. Manag._ 241, 59–75 (2019). 91. Gamboa, D. M. P. _et al._ Sorption behavior of azo dye congo red onto activated biochar from _Haematoxylum campechianum_ waste: Gradient boosting machine learning-assisted Bayesian optimization for improved adsorption process. _Int. J. Mol. Sci._ 25, 4771 (2024). 92. Zhang, C. _et al._ Leaf water content determination of oilseed rape using near-infrared hyperspectral imaging with deep learning regression methods. _Infrared Phys. Technol._ 134, 104921 (2023). 93. Kang, I. K., Shin, T. Y. & Kim, J. H. Observation-informed modeling of artificial neural networks to predict flow and bleeding of cement-based materials. _Constr. Build. Mater._ 409, 133811 (2023). 94. Hu, Y. & Kelly, H. International journal of hospitality management the dark side of artificial intelligence in service: The “watching eye” effect and privacy concerns. _Int. J. Hosp. Manag._ 110, 103437 (2023). 95. Alma, Y. V. _et al._ Biosorption of Pb(II) using natural and treated _Ardisia compressa_ K. leaves: Simulation framework extended through the application of artificial neural network and genetic algorithm. _Molecules_ 28, 6387 (2023). 96. Asim, Y., Malik, A. K., Raza, B. & Shahid, A. R. A trust model for analysis of trust, influence and their relationship in social network communities. _Telemat. Inform._ 36, 94–116 (2019). 97. Rosada, M. _et al._ Eight weeks of a lower limb resistance training protocol and gait performance in patients with symptomatic mild to moderate knee. _J. Orthop. Sci._ [https://​doi.​org/​10.​1016/j.​jos.​2023.​07.​007 (2023).](https://doi.org/10.1016/j.jos.2023.07.007) 98. Abdallah, M. _et al._ Summer monsoon rainfall variations and its association with atmospheric circulations over Sudan. _J. Atmos._ _Sol. Terr. Phys._ 225, 105751 (2021). 99. Isik, G. & van Sark, W. G. J. H. M. Predictive modeling of PV solar power plant efficiency considering weather conditions: A comparative analysis of artificial neural networks and multiple linear regression. _Energy Rep._ 10, 2837–2849 (2023). 100. Li, K., Zhu, J., Ives, A. R., Radeloff, V. C. & Wang, F. Semiparametric regression for spatial data via deep learning. _Spat. Stat._ 57, 100777 (2023). 101. Tariq, R., Ali, M., Sheikh, N. A., Shahzad, M. W. & Xu, B. B. Deep learning artificial intelligence framework for sustainable desiccant air conditioning system: Optimization towards reduction in water footprints. _Int. Commun. Heat Mass Transf._ 140, 106538 (2023). 102. Shahade, A. K., Walse, K. H., Thakare, V. M. & Atique, M. Multi-lingual opinion mining for social media discourses: An approach using deep learning based hybrid fine-tuned smith algorithm with Adam optimizer. _Int. J. Inf. Manag. Data Insights_ 3, 100182 (2023). [103. Van Rossum, G., & Drake, F. L. Python 3 Reference Manual. Scotts Valley, CA: CreateSpace. https://​www.​python.​org/. Accessed](https://www.python.org/) 29 Aug 2024. (2009). [104. Google LLC. Google Colaboratory. Available at: https://​colab.​resea​rch.​google.​com/?​utm_​source=​scs-​index. Accessed 29 Aug](https://colab.research.google.com/?utm_source=scs-index) 2024 (2020). 105. Kim, B., Hwan, K. & Heo, S. Mean squared error criterion for model-based design of experiments with subset selection. _Comput._ _Chem. Eng._ 159, 107667 (2022). 106. MathWorks. MATLAB: The Language of Technical Computing (Version R2023a) [Software]. Natick, Massachusetts: The Math [Works, Inc. Available at:https://​www.​mathw​orks.​com/​produ​cts/​matlab.​html. Accessed 29 Aug 2024. (2023).](https://www.mathworks.com/products/matlab.html) 107. Tariq, R. _et al._ Digital twin models for optimization and global projection of building-integrated solar chimney. _Build. Environ._ 213, 108807 (2022). 108. Tariq, R., Torres-aguilar, C. E., Ahmed, N. & Ahmad, T. Data engineering for digital twining and optimization of naturally ventilated solar façade with phase changing material under global projection scenarios. _Renew. Energy_ 187 (1184), 1203 (2022). 109. Nadirgil, O. Carbon price prediction using multiple hybrid machine learning models optimized by genetic algorithm. _J. Environ._ _Manag._ 342, 118061 (2023). Acknowledgements The authors would like to thank Tecnológico de Monterrey for the financial support provided through the ‘Challenge-Based Research Funding Program 2023’, Project ID #IJXT070-23EG99001, entitled ‘Complex Thinking Education for All (CTE4A): A Digital Hub and School for Lifelong Learners.’ Author contributions All authors have contributed in all the parts from the conceptualization to the formal analysis and the write up of the article. Competing interests The authors declare no competing interests. Additional information Supplementary Information [The online version contains supplementary material available at https://​doi.​org/​](https://doi.org/10.1038/s41598-024-70989-0) [10.​1038/​s41598-​024-​70989-0.](https://doi.org/10.1038/s41598-024-70989-0) Correspondence and requests for materials should be addressed to M.A. Reprints and permissions information is available at www.nature.com/reprints. Publisher’s note Springer Nature remains neutral with regard to jurisdictional claims in published maps and institutional affiliations. Open Access This article is licensed under a Creative Commons Attribution-NonCommercial-NoDerivatives 4.0 International License, which permits any non-commercial use, sharing, distribution and reproduction in any medium or format, as long as you give appropriate credit to the original author(s) and the source, provide a link to the Creative Commons licence, and indicate if you modified the licensed material. You do not have permission under this licence to share adapted material derived from this article or parts of it. The images or other third party material in this article are included in the article’s Creative Commons licence, unless indicated otherwise in a credit line to the material. If material is not included in the article’s Creative Commons licence and your intended use is not permitted by statutory regulation or exceeds the permitted use, you will need to obtain [permission directly from the copyright holder. To view a copy of this licence, visit http://​creat​iveco​mmons.​org/​](http://creativecommons.org/licenses/by-nc-nd/4.0/) [licen​ses/​by-​nc-​nd/4.​0/.](http://creativecommons.org/licenses/by-nc-nd/4.0/) © The Author(s) 2024

섹션 본문 111문단 · 62,070자

(제목 없음)

1The presence of toxic chemicals in water, including heavy metals like mercury and lead, organic pollutants such as pesticides, and industrial chemicals from runoff and discharges, poses critical public health and environmental risks leading to severe health issues and ecosystem damage; education plays a crucial role in mitigating these effects by enhancing awareness, promoting sustainable practices, and integrating environmental science into curricula to empower individuals to address and advocate for effective solutions to water pollution.However, the educational transformation should be accompanied with a technical process which can be eventually transferred to society to empower environmental education.In this study, carbonaceous material derived from Haematoxylum campechianum (CM-HC) was utilized for removing 3-nitrophenol (3-Nph) from aqueous solutions.The novelty of this research utilizes Haematoxylum campechianum bark and coconut shell, abundant agricultural wastes in Campeche, Mexico, for toxin removal, enhancing the adsorption process through artificial neural networks and genetic algorithms to optimize conditions and maximize the absorption efficiency.CM-HC's surface morphology was analyzed using scanning electron microscopy (SEM/EDS), BET method, X-ray powder diffraction (XRD), and pHpzc.Kinetic models including pseudo-first-order (PFO), pseudo-second-order (PSO), and Elovich were applied to fit the data.Adsorption isotherms were determined at varying pH (3-8), adsorbent dosages (2-10 g/L), and temperatures (300.15-330.15K), employing Langmuir, Freundlich, Temkin, and Redlich-Peterson models.PSO kinetics demonstrated a good fit (R 2 > 0.98) for Ci = 50-100 mg/L, indicating a chemical adsorption mechanism.The Langmuir isotherm model exhibited the best fit, confirming chemical adsorption, with a maximum adsorption capacity (Q m ) of 236.156 mg/g at T = 300.15K, pH = 6, contact time = 3 h, and 2 g/L adsorbent dosage.Lower temperatures favored exothermic adsorption.Artificial neural networks (ANNs) were employed for deep learning, optimizing the predictive model for removal percentage.Correlation heat maps highlighted positive correlations between time, dosage, and removal percentage, emphasizing the impact of initial concentration on efficiency.ANN modeling, incorporating iterative optimization, yielded highly accurate predictions, aligned closely with experimental results.The study showcases the success of deep learning in optimizing adsorption processes, emphasizing the importance of diverse correlation algorithms for comprehensive insights into competitive adsorption dynamics.The 5-14-14-1 deep learning architecture, fine-tuned over 228

2The investigation by Sathishkumar et al. 54 explores the application of sophisticated machine learning techniques to evaluate the process of catalytic reduction in water tainted with dangerous nitrophenols and azo dyes.This study makes use of a catalyst composed of palladium oxide-nickel oxide to address pollutants like 4-nitrophenol, 2,4-dinitrophenol, 2,4,6-trinitrophenol, methylene blue, rhodamine B, and methyl orange.The effectiveness of this catalyst in diminishing these contaminants was scrutinized through experiments conducted over varying durations.To estimate the catalyst's performance, the research applied a range of machine learning models, including linear regression, support vector machines, gradient boosted machines, random forest, and XGBoost.The evaluation of these models was based on statistical measures such as root mean squared error, mean absolute error, and mean absolute percentage error.The findings demonstrated that the model using XGBoost provided the most precise predictions for 4-nitrophenol and 2,4-dinitrophenol, the model using random forest showed the highest efficacy for 2,4,6-trinitrophenol, methylene blue, and rhodamine B, and the model using support vector machines was particularly effective in predicting the reduction of methyl orange.Notably, the catalyst achieved a 98% reduction in a mixture of azo compounds within eight minutes, indicating its strong potential for real-life applications in water purification.

3In a comprehensive review by Georgin et al. 55 , the challenges and technological advancements in the remediation of 17β-estradiol (E2) through adsorption are explored.E2, a potent endocrine disruptor, has been shown to adversely affect aquatic biota and ecosystem health even at low concentrations.Georgin et al. identify a range of adsorbents such as graphene oxides, nanocomposites, and carbonaceous materials that have been effectively employed to remove E2 from water.The review emphasizes that the efficiency of these adsorbents is influenced by factors such as the pH and temperature of the medium, with acidic to neutral pH and ambient temperatures around 298 K being most favorable.They highlight the relevance of the Langmuir and Freundlich models in describing the adsorption isotherms, indicating predominantly low-energy, physical interactions during E2 adsorption.The review calls for the establishment of stringent national and international standards for E2 removal, pointing out the economic and sustainability challenges in implementing these technologies at a large scale.Another significant study by Ahmad et al. 56 focuses on the adsorption of bisphenol A (BPA), a common pollutant from plastic production.They introduce a novel hyper cross-linked resin, ICYN-PPA, characterized by its high adsorption capacity and fast kinetics, achieving equilibrium within 350 min.This resin, synthesized from commercially available materials, shows a remarkable adsorption capacity of 112.8 mg.g −1 for BPA.Notably, ICYN-PPA's thermal stability enhances its applicability in decontaminating BPA-laden effluents.The adsorption process, well represented by the Koble-Corrigan model, confirms the endothermic nature of the interaction, suggesting physical adsorption as the predominant mechanism.Gao et al. 57 investigated the removal of 4-nitrophenol (4-NP), a toxic byproduct of petrochemical industries, using MgCo-3D hydrotalcite nanospheres.These nanospheres, synthesized via the hot solvent method, displayed a maximum adsorption capacity of 131.59 mg.g −1 .The adsorption process, which predominantly involved hydrogen bonding and electrostatic interactions, adhered to the Langmuir, Redlich-Peterson, and Sips models, indicating a monolayer physical adsorption.Their study also demonstrated the excellent regeneration performance of the nanospheres, maintaining significant adsorption capacity after multiple cycles.In a study by Adebayo and Areo 58 , a novel composite made from coconut shell and clay was used for the adsorption of phenol and 4-nitrophenol from wastewater.This composite showed exceptionally high adsorption capacities, particularly for phenol, with a Q max of 1665 mg.g −1 .The adsorption process, analyzed through various kinetic and equilibrium models, was best described by the Avrami fractional order and Liu isotherm.The study highlights the composite's effectiveness, achieving over 86% removal efficiency for the tested effluents, underlining its potential as a low-cost and efficient solution for treating industrial wastewater.

4Khan et al. 59 conduct a detailed investigation into the potential of carbon material, sourced from the remnants of domestic fireworks, to capture Hexavalent chromium (Cr(VI)) from environments, a known toxic metal.This research meticulously examines how various factors, such as the length of the adsorption period, the acidity or alkalinity (pH) of the environment, the Cr(VI) solution's warmth, and its initial amount, impact the material's ability to adsorb the metal.To analyze, foresee, and enhance the adsorption mechanism, the study employs a sophisticated combination of response surface methodology and multiple regression analysis alongside an innovative artificial neural networks model integrated with particle swarm optimization.Findings from this integrated approach pinpoint the most effective adsorption scenario: a 94.7 min exposure period, with the Cr(VI) at 50.0 mg/L, at a temperature of 33.6 ℃, and in a highly acidic setting (pH 2).This scenario reached an apex adsorption rate of 1.37 mg.g −1 .The study's analytical comparison reveals artificial neural networks' superiority in predicting outcomes over multiple regression analysis.Additionally, it aligns with the pseudo-first-order kinetic model in kinetic studies and identifies the Langmuir isotherm as the most accurate descriptor of this adsorption activity, indicating a primary reliance on physisorption.The thermodynamic analysis corroborates the adsorption's beneficial, spontaneous, and heat-absorbing characteristics.

5Alatrista and colleagues' research 60 systematically reviews 55 academic publications between 2011 and 2022, examining the role of metal-organic frameworks (MOFs) in phosphate adsorption processes.This comprehensive analysis indicates that the efficiency of MOFs in trapping phosphate relies on several critical elements, such as the particular variant of MOF used, its synthesis technique, any structural modifications made, and the conditions applied during its operational use.Despite the high theoretical capacity of many MOFs for phosphate adsorption, their practical application in phosphorus recovery over extended periods might be constrained due to the predominance of inner sphere complexation mechanisms.To predict the phosphate adsorption capacities effectively, the study employed machine learning techniques, particularly the use of artificial neural network (ANN) models, which took into account both operational parameters and synthesis characteristics.These models particularly emphasized the significance of the initial phosphate concentration and the use of modulator agents in the synthesis of MOFs.

6Aghav and colleagues' study 61 delves into predicting the adsorption competition between phenol and resorcinol on a variety of carbonaceous materials, including activated carbon, wood charcoal, and rice husk ash, www.nature.com/scientificreports/through the application of artificial neural networks.This investigation leverages a three-tiered feedforward neural network equipped with a backpropagation mechanism within MATLAB, aggregating data from 29 distinct batch experiments.Variables such as the amount of adsorbent used, initial phenol and resorcinol concentrations, the time span of contact, and the pH value were fed into the neural network to train it.The neural network then produces estimations on the efficiency of removing phenol and resorcinol.The precision of these artificial neural network predictions was rigorously evaluated using a suite of statistical indicators, including mean error, mean square error, root mean square error, and linear regression, all of which affirm the model's reliability in foreseeing the adsorption dynamics of these substances based on experimental data.The novelty of this work is to use Haematoxylum campechianum barks and coconut shell which are one of the most abundant agricultural wastes in Campeche State in Mexico, therefore, the work make use of local products for the removal of harmful toxins.The objective of this work is to improve the adsorption capacity of activated carbons obtained from Haematoxylum campechianum bark and coconut shell as agriculture residues for the removal of 3-Nph from aqueous solutions by varying pH solution, contact time, dosage of adsorbent, concentration of 3-Nph, and temperature.Moreover, the study is enhanced by incorporating artificial neural networks, employing deep learning techniques to formulate an empirical regression model.Subsequently, data science methodologies and genetic algorithm optimization are applied to identify the optimal variable combination for maximizing the removal percentage.This distinctive approach sets this research apart from existing literature in the field.

Chemicals

73-NpH was purchased from Sigma Aldrich (C 5 H 5 NO 3 , MW = 139.11g/mol, purity, 99.9%, CAS: 554-84-7).The stock solution was prepared by dissolving 1.0 g of 3-NpH in 1000 mL of deionized water and stored in a brown bottle.Solutions between 25 and 1000 mg/L used for further experiments were prepared by dilution of synthetic stock solution.0.1 N of HCl or 0.1 N of NaOH solutions were prepared to adjust the solution pH from 3 to 8.

Preparation of carbonaceous material

8The carbonaceous material was produced from Haematoxylum campechianum waste using the method described by Abatal et al. 62 .The bark of Haematoxylum campechianum was chopped, ground and sieved.The material was then washed several times with deionized water at 50 °C to remove any residues and finally dried in an oven at 70 °C for 12 h.After pre-treatment, the material was dried in a deionized water oven at 50 °C for 12 h.The material was then washed several times with deionized water at 50 °C to remove any residues.

9After pre-treatment, 50 g of Haematoxylum campechianum was placed in contact with 250 ml of H3PO4 at 50 °C for 3 h (chemical activation), then the filtered solid was dried at 70 °C for 12 h.The heat treatment was carried out at 50 °C for 12 h.The heat treatment was carried out as follows: 50 g of impregnated Haematoxylum campechianum was introduced into a muffle at 500 °C for 60 min, at 10 °C/min.The sample was then cooled to 25 °C.The carbonaceous material was washed with a 5% NaHCO 3 solution to remove the residual H 3 PO 4 and then with deionized water until the pH of the filtrate reached a value of 6-7.Finally, the carbonaceous material from Haematoxylum campechianum (CM-HC) was dried at 110 °C for 12 h and then stored in a closed glass bottle and placed in a desiccator.

Characterization techniques

10The point zero of charge (pH pzc ) of CM-HC was determined adding 0.1 g of each adsorbent to 50 mL of NaCl 0.01 M solution at previously adjusted pH value (pH initial ).Solutions pH of were adjusted from 2 to 12 by adding a drop of 0.1 N of HCl or 0.1 N of NaOH.The sample was agitated for 24 h at ambient temperature.Then, the samples were filtered and final solution pH (pH final ) of each solution was measured.CM-HC sample was characterized by X-Ray Diffraction methods.The X-ray patterns were collected on an APD-2000 diffractometer using CuKα radiation at room temperature in a range 2θ = 5°-70°.Surface characteristics of CM-HC sample was studied by scanning electron microscopy (SEM) technique was performed to study the superficial structure of the samples before and after adsorption.

Sorption study

11In this study, removal of 3-NpH by CM-HC was carried out using batch method.For kinetic study, the experiments were done by addition a mass 0.05 g of CM-HC to 10 mL of 3-NpH at different initial concentrations in a conical tube and agitated at 200 rpm in a multitube shaker apparatus (Model CVP-0228-Cyrlab).Initial concentrations of 3-NpH were 50 mg/L, 100 mg/L and 250 mg/L and contact time was varied from 5 to 1440 min.All tests were carried out in triplicate and the mean value was used in all cases.

12After each contacted time at T = 300.15K and pH = 6, the samples were centrifuged for 5 min at 4500 rpm (Centrificient CRM Globe) in order to separate the adsorbent from aqueous phase.Before to measure the final concentrations of 3-Nph, absorbance (Abs.) of the samples with initial concentrations (Ci) of 3-Nph from 2 to 20 mg/L were measured using UV-visible spectrophotometer (Thermo Scientific Evolution 201/220) at λ = 273 nm.Calibration curve was obtained by the plotting of Abs. vs. Ci which gave a good correlation coefficient (R 2 = 1).

13The sorption capacity (q t, mg/g) and the removal efficiency (%) were calculated using the Eqs.(1) and ( 2 Where C i (mg/L) is the initial concentration, C t (mg/L) is the concentration at time t (min), q t (mg/g) is the adsorption capacity, V (L) is the volume and m (g) is the mass of the adsorbent.Table 1 gives the experimental conditions used to investigate the effects of contact times, solution pH, temperature, and dosage of adsorbents on the removal of 3-Nph.

Kinetic models

14In order to investigate the mechanism involved in the adsorption of 3-Nph on CM-HC, experimental data were evaluated using four kinetic models, the pseudo-first order (PFO), pseudo-second order (PSO), and Elovich.The equations of PFO, PSO, and Elovich models are expressed by the Eqs.( 3), ( 4), (5) respectively.

15Where q e (mg/g) and q t (mg/g) are the amounts of 3-Nph adsorbed at equilibrium and at time t (min) respectively.k 1 1 min and k 2 ( g mgmin ), are the rate constants of pseudo-first, pseudo-second order, and intraparticle diffusion models respectively.β is the constant related to the extent of surface coverage (g/mg) and α is the theoretical adsorption capacity (mg/g.min).

Isotherm models

16Experimental data were examined using nonlinear forms of the Langmuir, Freundlich, Temkin, and Redlich-Peterson isotherm models Eqs. ( 6), ( 7), ( 8), (9).

17where qe and q m are the solid phase sorbate concentration in equilibrium (mg/g), Ce is the equilibrium sorbate concentration in liquid phase (mg/L), K F is Freundlich constant (L/g) and 1/n is the heterogeneity factor.K RP (L/g), α RP (L/mg) and β are Redlich-Peterson isotherm constants.β is the exponent which lies between 1 and 0. In this study, solver add-in of Microsoft Excel was used to optimized the variance between the experimental data and predicted isotherms.

Error functions

18Despite the use of coefficient of determination (R 2 ) by many studies to provide the best fitting, the nonlinear fits of kinetic and isotherm models were analyzed against the experimental data using error functions in order to verify the suitable model for the adsorption system.In this study, six error functions including the average (1)

19(3)

20(5) where q e,exp (mg/g) is the experimental adsorption capacity obtained from the Eq.(1) and q e,cal (mg/g) is the calculated adsorption capacity obtained from the nonlinear forms of PFO and PSO kinetic models or isotherm models (Langmuir and Freundlich), and n is the number of experimental data points.

Adsorption and desorption study

21The recovery of 3-Nph and the regeneration of the adsorbent material are very important in adsorption processes, sustainability and cost-effectiveness of adsorbents.For this purpose, tree adsorption/desorption cycles were carried out using NaOH solution as desorbing agent.For the adsorption step, 100 mg of CM-HC were mixed in Erlenmeyer flasks with 50 mL of 3-Nph at 100 mg/L (Ci), and stirred for 24 h at T = 300.15K.The mixture was then filtered and the final concentration of 3-Nph (Cf) in the supernatant was determined by UV-vis spectrophotometric analysis.

22The quantity of 3-Nph adsorbed after contact with AB-HC was calculated using Eq.(1).For desorption process, 50 mL of 0.2 M NaOH was added to 3-Nph-loaded CM-HC.The mixture was agitated at 300.15 K for 24 h.After this time, the sample was filtered and the residual concentration of 3-Nph was measured.

23The quantity of 3-Nph desorbed Qdes (mg/g) was calculated using this equation Eq. ( 16)

24Where, Cdes (mg/L) is the concentration of 3-Nphafter desorption, V(L) is the volume of NaOH solution, m (g) is the mass 3-Nph-loaded CM-HC.The regenerated CM-HC was rinsed for several time with deionized water and dried at 105 °C for 2 h before the next cycle of adsorption/desorption.

Characterization of CM-HC

25Figure 1 shows that the point of zero charge of CM-HC equal to 6.5.This result is similar with those obtained from other precursor materials such as Dipterocarpus alatus (pHpzc = 6.3) 64 , rice husk (pHpzc = 6.8) 65 .Therefore, when the solution pH is above than the pHpzc (pH > pHpzc), the surface of CM-HC is negatively charged and the cationic species will be preferentially removed, whereas values of pH are below than pHpzc (pH < pHpzc), the charge of the surface of CM-HC will become positive and then anionic species are preferentially attracted via electrostatic interactions 66 .

26XRD diffraction pattern of CM-HC is presented in Fig. 2. It can be observed that HCAC has a semicrystalline structure related to the amorphous region between 10 and 40º corresponding to the carbonic fraction due to the preparation and characterization of activated carbons from different precursors 67 .

27Scanning electron microscope (SEM) analysis was carried out in order to investigate physical surface morphology of CM-HC.The SEM micrographs of CM-HC (Fig. 3) show that the particles of the synthesized activated carbon have a rough surface and an irregular shape with a variety of randomly distributed cavities which can (q e,exp − q e,cal q e,exp * 100

28( q e,exp − q e,cal q e,exp )

29(q e,exp − q e,cal ) 2 q e,cal

30(q e,exp − q e,cal

31(q e,exp − q e,cal ) 2 (16) www.nature.com/scientificreports/provide easy access transport toward the adsorption sites 68 .The elemental composition of the activated carbon was performed by energy dispersive X-ray spectroscopy (EDS) is also shown in Fig. 3.In CM-HC, the material consists predominately of carbon and oxygen, the summary of these two elements to be 97.9% per weight.The rest of the composition (2.1%) corresponds to metallic fractions (Ca, K, Na and Mg).

32The mean pore diameter of CM-HC calculated by BET equations were 2.1382, with a surface area of 124.15 m 2 /g.The difference in the surface properties can be attributed to the type of biomass precursor.Beker et al., reported that the adsorption of phenols is carried out in ulramicropores and micropore with diameters between 0.7 and 2 nm 69 .Therefore, it is suspected that both adsorbents can be usefully used for removal of 3-nitrophenol from aqueous solution, due to the smaller molecular diameter of 3-Nph (0.6202 nm) 70 .

Adsorption isotherms at different solution pH

33The study of pH effect on the removal of 3-NpH on MC-HC was performed at ambient temperature by adjusting the solution pH of 3-Nph at 3, 6 and 8.For each solution, initial concentration was varied from 25 to 1000 mg/L.

34Usually, at low pH values, anions are favorably adsorbed on the sorbent surface due to the presence of high concentration of H + ions, while at high pH values, cations are more adsorbed on the sorbent surface as a result of high concentration of OH − ions 71 .In addition, it well known that the degrees of dissociation and ionization of organic compounds as well as the adsorbent surface charge depended to the pH solution 72 , therefore, it is important to study the effect of pH solution on the adsorption of 3-NpH on MC-HC.

35Figure 4a-c show the adsorption isotherms of 3-Nph on MC-HC at initial pH 3, 6 and 8, respectively.It can be seen that the adsorption capacity increases between pH 3 and 6, and then decreases for pH 8.This suggests that, the interaction of 3-Nph with CM-HC is more favorable in the acid than alkaline medium.In previous researches, the uptake for phenols in certain pH range present a dome-shaped curve 25,73 , which is attributed to the change in nature of adsorbent (surface charge) and adsorbate species at different pH 69 .

36At pH between 3 and 6, the surface of CM-HC is positively charged (pH pzc (CM-HC) = 6.7.Furthermore, in this pH range, 3-NpH mainly present as neutral species (pKa (3-Nph) = 8.3 at 298 K), however the concentration www.nature.com/scientificreports/ of its anionic form (C 6 H 5 NO − 3 ) increases with increasing of solution pH and as consequently higher uptakes at pH = 6 compared to pH = 3, by means of electrostatic attractions between the surface charged positively and the anionic form of 3-NpH 74,75 .At pH = 8, the uptake of 3-Nph declined.This result can be attributed to the electrostatic repulsion force between the surface of CM-HC negatively charged and the abundance anionic form of 3-Nph.Previous investigations have reported similar behavior of phenol 43,69,73,76 , nitrophenols (2,4-dinitrophenol, 3-nitrophenl, 4-nitrophenol) 42,76,77 and chlorophenols (2,4-dichlorophenol, 2-chlorophenol, 4-chlorophenol) 42,76 adsorption on activated carbons.

37Nonlinear equations of Langmuir, Freundlich, Temkin, and Redlich-Peterson isotherm models were used to investigate the adsorption mechanism.Table 2 shows the equation´s parameters with their respective correlation coefficients (R 2 ).

38The results indicate that the Langmuir and Redlich-Peterson models were well described the adsorption data for CM-HC in the pH range studied with R 2 values between 0.9805 and 0.9985 compared to Freundlich model (0.9454 ≤ R 2 ≤ 0.9767) and Temkin (0.9768 ≤ R 2 ≤ 0.9954).This result suggests the formation of multilayers on the adsorbent surface where the interaction between phenols and surface of carbonaceous materials is due Van der Waals' forces and π-π interactions 42 .As shown in Table 2, the maximum adsorption capacities, q max calculated from Langmuir isotherm model were 100.523,128.625, and 87.284 mg/g, at pH = 3, 8, and 8, respectively.The values of Redlich-Peterson exponential constant, β are close to unity (0.794-0.944), this indicates that the Redlich-Peterson model reduces to the Langmuir model 78 .

39As can be seen from Table 3, the calculated values of error functions APE, SSE, ∆q (%), χ 2 , EABS and RMSE from the experimental data were lowest for Langmuir and Redlich-Peterson than Temkin and Freundlich isotherms.This result proves the applicability of Langmuir and Redlich-Peterson isotherm models to describe the adsorption mechanism of 3-Nph on CM-HC.The study of adsorption kinetics was done at ambient temperature without any adjustment of solution pH. Figure 5a-c show respectively the adsorbed amount of 3-NpH (mg/g) by MC-HC versus contact time (min) with 3-Nph initial concentration (Ci) at 50, 100 and 250 mg/L.It can be seen that within 120 min, 80.1%, 81.7%, and 65.3% of 50, 100, and 250 mg/L of 3-NpH were removed.The higher rate of 3-Nph adsorption in this first stage can be attributed to the availability of adsorption site on the adsorbent surface 79 .After this time, adsorption capacity was gradually increased as increase contacted time reaching equilibrium, which varied from 180 to 360 min depending to initial 3-Nph concentration (the faster equilibrium time was found for Ci = 50 mg/L).This result can be attributed to the more availability of the uncovered surface area of the adsorbents at low solute concentrations 76,80 .In this study, the equilibrium time was found to be minor compared to other equilibrium times reported by other studies for the removal of phenols using different carbonaceous materials 81 .For Ci = 50, 100, and 250 mg/L, the adsorption capacity reached 8.97, 17.38, and 41.37 mg/g, at equilibrium time, respectively.Experimental data were analyzed using nonlinearized equations of pseudo-first-order (PFO), pseudo-secondorder (PSO), and Elovich kinetic models.Table 4 displays the kinetic parameters of PFO (k 1 , q e ), PSO (k 2 , q e ), and Elovich (α,β) with their corresponding correlation coefficients R 2 .

40The results showed in Table 4 indicate that for Ci = 50 and 100 mg/L, pseudo-second order model displays higher coefficient regression (R 2 = 0.9840, 0.9892) in comparing to pseudo-first-order (0.9043, 0.8744) and Elovich (R 2 = 0.8182, 0.8839) models.Also, it can observe that the calculated adsorption capacities obtained for the PSO model (q e,cal = 9.05 and 17.26 for C i = 50, 100 mg/L, respectively) are agree to experimental data (q e,exp = 8.97 and 17.38, mg/g for C i = 50, 100 mg/L, respectively).As seen in Table 4, the rate constants (k 2 ) decrease with increasing of initial concentration confirming that the adsorption process was faster for lower initial concentration.For C i = 250 mg/L, it can be seen that the nonlinear Elovich curve pass near to experimental data (Fig. 5c).Also, Elovich model gives higher value of R 2 (0.9842) compared to PFO (R 2 = 0.7834) and PSO (R 2 = 0.9349) suggesting that the adsorption process is controlled by chemisorption mechanism.Elsayed et al. 82 developed a biocomposite aerogel (Amf-CNF/LS) and investigated its efficacy in removing methylene blue (MB), rhodamine B (RhB), and cadmium ions (Cd 2+ ) from synthetic wastewater.The study specifically explored the influence of contact time and stirring speed on the adsorption process.The results showed that contact time significantly impacts the adsorption capacity, with rapid increases observed within the initial minutes of exposure, suggesting a high affinity between the aerogel and contaminants.The equilibrium was quickly reached, indicating the aerogel's efficiency in fast contaminant uptake, which is beneficial for practical wastewater treatment applications where quick removal is necessary.Stirring speed was another critical factor that influenced the adsorption efficiency.Higher stirring speeds improved the mass transfer of the adsorbate molecules to the aerogel's surface, enhancing the adsorption rate.This adjustment helped to minimize the boundary layer around the adsorbent, facilitating faster adsorbate uptake.

41As shown in Table 5, the values obtained from the six error equations considered in this study (Eq X to Eq X) are minor for PSO (for Ci = 50 and 100 mg/L) than PFO and Elovich models, while for Ci = 250 mg/L, the error function values were lower for Elovich than for PFO and PSO models.This confirms the results obtained from the nonlinear of PSO, PFO and Elovich models (R 2 ), and agree the feasibility of PSO model (for Ci = 50 and 100 mg/L) and Elovich model (for Ci = 250 mg/L).

Adsorption isotherms at different adsorbent dosage

42The effect of adsorbent dosage on the adsorption capacity of 3-NpH was investigated at ambient temperature using isotherm experiments without modifying solution pH.In this study, dosages of adsorbent were 2, 4, 8 and 10 g/L, and initial concentrations of 3-Nph were varying from 25 to 1000 mg/L.Figure 6a-d show the equilibrium relationships between the 3-Nph concentrations in solution C e (mg/L) and the adsorptive capacities at different dosages of CM-HC.It can be seen that for all adsorbent dose, the adsorption capacities of 3-Nph (q e (mg/g)) increase with the increasing of C e (mg/L).

43The experimental adsorption isotherms data were analyzed using nonlinear equations of Langmuir, Freundlich, Temkin, and Redlich-Peterson isotherm models.Table 6 presents the isotherm parameters with adsorbent dose from 2 to 10 g/L.The results indicate that the adsorption isotherm was depended of adsorbent dosage.According to correlation coefficients showing in Table 6, Freundlich and Redlich-Peterson isotherm models were best described to the sorption data for 2 g/L of adsorbent dose, whereas, for CM-HC dosage between 4 to 10 g/L, Langmuir and Redlich-Peterson isotherm models were well to describe the adsorption process.As seen in Table 6, it was found that the Langmuir constants K L increased from 0.309 × 10 −2 to 3.9217 × 10 −2 L/mg with increasing of adsorbent dosage from 2 to 10 g/L, which indicates the high affinity at low dosage of CM-HC.Additionally, it can be noted that the value of Freundlich constant 1/n (adsorption intensity) correspond to 2 g/L was lower compared than adsorbent dosages between 4 and 10 g/L, which means that the adsorption of 3-Nph is more favorably at lower adsorbent dosage.The Redlich-Peterson parameters presented in Table 6, show that for all values of adsorbent dosage, the exponent constant β is between 0 and 1, which indicates a good adsorption 78 .In addition, for dosage 4, 8 and 10 g/L, the values of β were close to unity (β = 1.003, 0.878, and1.0267),therefore, the Redlich-Peterson model reduces to the Langmuir model to describe the 3-Nph adsorption, whereas for dosage www.nature.com/scientificreports/ 2 g/L, β < 1 (β = 0.421) and α RP , K RP >> 1 (α RP = 4.604 and K RP = 18.794), then the isotherm was approaching the Freundlich form, where K RP /α RP and (1-β) are related to K F and n Freundlich parameters, respectively 83 .

44Based on the values of error functions obtained by Eqs. ( 7), ( 8), ( 9), ( 10), ( 11), (12), it can observed from Table 7, that for adsorbent dosage 2 g/L, the Freundlich and Redlich-Peterson show the lowest values of APE, SSE, ∆q (%), χ 2 , EABS, and RMSE.In the case of adsorbent dosages from 4 to 10 g/L, Langmuir and Redlich-Peterson present the less values of error functions compared to Freundlich and Temkin isotherm models.These results were in agreement with the finding correlation coefficients and validate the studied isotherm models.

45As seen in Fig. 7a, it was found that as the amount of 3-NpH (mg/g) decrease from 236.156 to 79.441 mg/g when the adsorbent dose increases from 2 to 10 g/L.This result can be attributed to the split in the flux or the concentration gradient between solute concentration in the solution and the solute 84 .Figure 7b, shows that the removal percentage of 3-NpH increase by the increasing of the sorbents dosage, this result can be attribute to the increase of the number of sorption site available, thus allow the increasing of removal percentage of 3-NpH 85 .

Adsorption isotherms at different temperatures

46Adsorption isotherms of 3-NpH at temperatures 300.15, 313.15 and 330.15K on CM-HC are shown in Fig. 8a-c, respectively.It can be seen that the temperature has a significant effect on the removal of 3-Nph.As shown in these figures, it can observe that the adsorption capacity of CM-HC decreases with increasing of temperature confirming that the adsorption process of 3-NpH on CM-HC is controlled by an exothermic reaction.Previous studies of adsorption of phenolic compounds showed an exothermic process using oil palm shell activated carbon 86 , carbon black 87 , cattail fiber-based activated carbon 88 , and anaerobic granular sludge 89 as adsorbents.In these studies, it was suggested that the increase of temperature may cause a breaking of attraction force between the adsorbate molecules and the active sites on the surface of carbonaceous materials leading to decrease of adsorption capacity 90 .The equilibrium data at temperature 300.15, 313.15 and 330.15K were fitted using nonlinear equations of Langmuir, Freundlich, Temkin and Redlich-Peterson isotherm models.Table 8 shows the isotherm parameters with their correlation coefficients R 2 .It was found that for all temperatures studied, the R 2 for Langmuir and Redlich-Peterson isotherm models are higher than Freundlich, Temkin isotherm models.

47The maximum adsorption capacities of 3-Nph on CH-HC were 128.625 107.704, and 105.441 mg/g at 300.15, 313.15 and 330.15 K, respectively.Likewise, the values of Langmuir constant K L decrease with increasing of temperature, which indicate the higher affinity at lower temperature and confirming that the adsorption of 3-Nph is an exothermic nature.Furthermore, it can be noted that the values of parameter β are close to unity, confirming that the adsorption isotherms are best approaching to Langmuir model than Freundlich model.Table 9 presents the values of error functions.It can be observed that among four studied isotherm models, the Langmuir and Redlich-Peterson isotherm showed less values, confirming that the Langmuir model is the best fitted model for the range temperature studied.

Adsorption mechanisms

48The proposed adsorption mechanisms of 3-Nph on CM-HC depended to the functional groups present on the surface on the adsorbent.In the recent study, we have found that the surface of CM-HC exhibits the following functional groups: OH, C=O, C-O, and C=C (aromatic ring) 91 .Therefore, electrostatic interaction can be carried out between the negative charge of OH, C=O, C-O groups with the positive charge of the nitrogen from 3-Nph.Also, the OH functional group may interact with the oxygen from phenol group by hydrogen bonding.Other interaction between the C=C group with the benzene from 3-nitrophenol by π-π interactions.Additionally, www.nature.com/scientificreports/CM-HC has pores that may allow the 3-Nph molecules.Figure 9 shows the electrostatic interactions, hydrogen bonding, π-π interactions, and porous adsorption as a possible adsorption mechanism of 3-Nph onto CM-HC.

Adsorption and desorption cycles

49Figure 10 shows the adsorption and desorption cycles of 3-Nph onto AB-HC.It can be seen that adsorption and desorption capacities (q ads and q des ) of 3-Nph has decreased.The decrease in adsorption capacity can be attributed to the possible remnant of 3-Nph on the surface of the CM-HC due to the strong interaction between adsorbate and adsorbent, and incomplete desorption of 3-Nph using NaOH.In other studies, moderate adsorption of nitrophenols was observed after the first cycle, which is attributed to the destruction of the porous structure of the activated biochar under alkaline experimental conditions.To improve the reusability of CM-HC, it is suggested to use other eluents or even temperature of aqueous solution.

Deep learning artificial intelligence framework to optimize the adsorption capacity of carbonaceous material

50In this section, the focus centers on the implementation of a deep learning 92 artificial intelligence (AI) algorithm utilizing an artificial neural network 93 .Subsequently, optimization based on a genetic algorithm 94 is applied.This comprehensive procedure is executed methodically, with the initial step encompassing data visualization and description, followed by AI implementation and optimization.

Data visualization and description

51Regarding data visualization and description, the entire experimental dataset is initially formatted and consolidated into a structure, as illustrated in Table 10 concentration, pH, dosage, temperature, and the fitness function (removal percentage).Each row corresponds to an individual experimental run, mirroring the real experimental procedure, which can be resource-intensive.

52For instance, the execution of experiment run no.8 required 1440 min.Despite the substantial time investment, consolidating the database at this juncture proves beneficial.

53To elucidate the data description, violin plots (Fig. 11) are employed for each of the five variables and the removal percentage, the latter being the fitness function.The violin plot is chosen for its ability to convey data properties akin to a box and whisker plot, while also providing insights into data distribution.An alternative method for understanding data distribution is through histograms, as depicted in the scatter matrix of Fig. 12.

54The violin plot reveals distinctive patterns, such as a concentration of the time variable towards the upper end, aligning with the scatter matrix histogram.Furthermore, there is a noticeable concentration at the lower end, indicating durations less than 200 min.Notably, there is an abundance of experimentation for lower initial concentrations (< 200 units), a trend consistent with the scatter matrix results showcasing the highest data density in this range.The pH variable exhibits its highest density just below the neutral point, with bottlenecks observed around pH values of 4-5 and 7.This aligns with the scatter matrix, emphasizing lower probability density at the ends compared to a peak at 6.The dosage and temperature graphs share a similar pattern, with higher probability distribution for lower dosages (< 2 units) and temperatures (< 305 K).However, as dosages and temperatures increase, the number of data points decreases.

55The removal percentage's violin plot correlates intriguingly with the histogram distribution in the scatter matrix.The highest frequency of removal percentage occurs at approximately 90 units, with a noticeable reduction in data points beyond this threshold.The upper end of the 90-unit range exhibits a more substantial data distribution compared to the lower end, suggesting a potential combination of the five design variables yielding maximum removal percentage.

56It should be noted that the dataset used for the ANN analysis comprises 87 entries, which may be considered small for robust ANN applications.This limitation could potentially affect the generalizability of the model.To address this issue in future studies, we propose to expand the dataset through additional batch experiments to enhance the training process and improve the model's accuracy and generalizability.Further, employing crossvalidation methods or increasing the diversity of the data points could also contribute to more reliable ANN predictions.These steps will help in mitigating the effects of the current dataset size and provide a more robust framework for ANN applications in adsorption batch experiments.

57In this phase, correlation heat maps incorporating coefficients from Pearson 96 , Spearman 97 , and Kendall 98 methods have been successfully implemented and are visually represented in Fig. 13.Notably, all three heat maps exhibit a correlation coefficient of 1 along the diagonal, indicating pairwise correlations such as time-time, initial concentration with initial concentration, among others.Conversely, the data situated above or below the diagonal represents a mirrored image.Consequently, it is appropriate to focus solely on interpreting one side of the correlation heat map.The primary emphasis of this discussion is on the significance of the correlation coefficient values and the distinctions arising from the implementation of different correlation methods.It is imperative to acknowledge that, in all instances, a positively correlated coefficient is exclusively observed for time and dosage, with Pearson correlation coefficients of 0.26 and 0.38, respectively.It can be asserted that the relationship between time and the removal percentage does not exhibit a strongly positive correlation; however, dosage demonstrates a more robust positive correlation with a coefficient of 0.38.Nonetheless, this interpretation undergoes notable variations when examining the Kendall correlation, which implies that time possesses a more potent correlation coefficient with the removal percentage compared to dosage-an observation similarly noted with the Spearman method.This leads to the conclusion that the determination of whether time or dosage more significantly influences the removal percentage is inconclusive.Nevertheless, all three algorithms consistently affirm the existence of a positive relationship.The correlation coefficient of pH, as determined by all three methods, is negative.However, its value is in close proximity to zero, signifying that pH is not the most robust or influential variable affecting the removal percentage.A parallel trend is observed for temperature, displaying a negative correlation coefficient, suggesting that lower temperatures are preferable for achieving higher removal percentages.The most substantial correlation is identified for the initial concentration concerning the removal percentage, with values of −0.59 for both Pearson and Spearman correlations, and −0.45 for the Kendall correlation.This indicates that the initial concentration emerges as the most influential parameter for the removal percentage, with lower initial concentrations proving more conducive to achieving favorable outcomes.For enhanced accuracy and mitigating multicollinearity issues within the dataset, an advanced approach involving artificial neural networks (ANNs) 99 was implemented for deep learning purposes 100,101 .Previous attempts using traditional machine learning techniques such as multivariate regression analysis and support vector machine yielded unsatisfactory results, prompting the adoption of ANNs.The initial ANN configuration consisted of a single hidden layer comprising 10 neurons.Architecture optimization was pursued by employing the Adam 102 optimizer in Python 103 , within the Google Colab environment 104 .To address this, manual iterations were conducted by varying the number of hidden layers and neurons, transitioning from a structure of 5-10-10-1 to 5-100-100-1.Unfortunately, this did not yield satisfactory results.The implementation was then transferred to MATLAB 106 , where the scaled conjugate method 107 , known for its suitability in regression fits for small and noisy datasets, was adopted.

58The optimized architecture identified was 5-14-14-1 (refer to Fig. 14).This architecture includes an input layer with five variables, two hidden layers with 14 neurons each utilizing a tansig activation function, and an output layer representing the removal percentage with a linear activation function.

59The Tansig function, or hyperbolic tangent sigmoid transfer function, is a popular activation function used in neural networks, particularly in the context of artificial neural networks (ANNs).Mathematically, it is defined as: tansig(x) = 2 1+e −2x − 1 , where x represents the input to the function.This function outputs values that range from −1 to 1, making it particularly useful for modeling data that have been normalized to this range.The Tansig function is an S-shaped curve, similar to the logistic sigmoid function, but with outputs spread over a wider range on the y-axis.This characteristic allows the function to handle negative values more naturally and makes it beneficial for problems where the symmetry around zero can help in faster convergence of the learning algorithm.The use of the Tansig function in neural networks is advantageous because of its non-linear nature, which enables the network to learn complex patterns that linear models might not be able to capture.Additionally, the gradients of the Tansig function are stronger for values in the range closer to zero, which can lead to more effective and efficient training phases, especially during backpropagation where gradients are used to update the weights.In the context of our ANN model used to analyze adsorption batch experiments, employing the Tansig function as the activation helps the network in handling varying dynamics of the data while maintaining stable learning and convergence behaviors.This choice is crucial for the performance of our ANN, particularly given the constraints imposed by the relatively small size of the dataset.

60The iterative adjustment of bias and weight matrices in each epoch led to the optimal values at Epoch 228 (see Fig. 15), resulting in MSE values of 4.07, 18.406, and 6.2122 for the training, testing, and total datasets, respectively (refer to Table 11).

61The coefficient of determination, corresponding to R-squared values, for training, testing, and the total dataset were 0.98759, 0.94280, and 0.98108, respectively.This confirmed the efficacy of the selected architecture and convergence criteria.The output generated from this optimized model was saved for further analysis and interpretation.

62Upon establishing the architecture and statistical characteristics of the proposed artificial neural network (ANN) model, the subsequent phase involves a comprehensive graphical visualization to assess the model's performance.While statistical indicators provide crucial insights, graphical representations offer additional nuances that may not be discernible through numerical metrics alone.

63In Fig. 16a, the regression fit graph portrays the relationship between the target variable (experimental removal percentage) and the model's output (simulated removal percentage).Ideally, a perfect linear correlation between these variables signifies an impeccable goodness of fit.The linear fit equation reveals a slope of 1.00, indicating a consistent rate of change between the target and output.However, a bias of −0.56 is observed, implying a slight deviation of the y-intercept from the origin, a phenomenon rationalized by the scarcity of data points below a removal percentage of 50.Notably, the graph includes representations of both training and testing data.Strikingly, the statistical performance of the training dataset aligns more closely with the linear regression line than the testing data.Instances of substantial deviation from the regression line in the testing data caution against over-reliance on this subset for optimization, as poorly predicted points may lead to local optima 47 .

64Furthermore, adherence to key regression assumptions is imperative for robust model validation 108 .Figure 16b delves into the examination of normality, independence, and homoscedasticity of errors.The normality of errors is scrutinized using a QQ-plot, where the majority of data points closely adhere to the theoretical normal distribution line.However, six outlier data points, positioned at the extremes of the distribution, warrant careful consideration during the optimization phase.Independence of errors is assessed through a plot of residuals against experimental run (row number).The absence of a discernible pattern in this plot affirms the independence of errors.Intriguingly, the same six outlier data points identified earlier exhibit distinctive characteristics, emphasizing the need for meticulous handling during optimization.Finally, homoscedasticity of residuals is validated via a plot correlating predicted values with residuals.The absence of a defined pattern in this plot further confirms the homogeneity of residuals.Notably, the six outlier points exhibit unique behaviors in this context as well, underscoring their significance in the overall analysis.

65In conclusion, this multifaceted graphical analysis provides a comprehensive evaluation of the ANN model's performance, ensuring a thorough understanding of its strengths and potential limitations in addressing the research objectives.

66The validation of our deep learning artificial neural network (ANN) is a critical step to ensure the reliability and accuracy of the model's predictive capabilities.We employed a robust validation strategy that involves splitting the data into distinct sets: training, testing, and validation.This separation ensures that the model is not only trained but also fine-tuned and tested against unseen data.During the training phase, the model's parameters are adjusted to minimize the error on the training set.Then, the validation set is used to tune the hyperparameters and prevent the model from overfitting, which is critical given the relatively small dataset.The final model's performance is assessed on a separate test set, which provides an unbiased evaluation of its predictive power.The mean square error (MSE) and the coefficient of determination (R 2 ) are calculated for each set to quantify the model's accuracy and predictive performance.These metrics confirm whether the model can effectively generalize beyond the training data.

67Ensuring the repeatability of our ANN model involves detailed documentation of the model architecture, including the number of layers, the type of activation functions used (e.g., Tansig), and the optimization algorithms (e.g., scaled conjugate method).The iterative process of model training is set to reproducible conditions, with fixed seeds for random number generators and consistent training-validation-test splits.This practice is vital to achieve consistent results when the model is re-run under the same conditions or by other researchers.Additionally, the robustness of the model is tested through repeated runs, where the stability of the results (such Prior to mathematical optimization, a critical step involves visualizing the optimization data to identify potential regions for improvement.Given the multivariate nature of the data (six dimensions), a parallel coordinate plot is adopted (Fig. 17).In this plot, red lines signify a higher tendency for improved removal percentage.Analysis of the red lines indicates that lower temperatures, reduced dosis, moderate pH values, moderate initial concentration, and extended time are favorable for optimization.However, a formal algorithmic application is required to substantiate these observations.To address this, a single-objective genetic algorithm 109 implemented in MATLAB, utilizing the 'ga' function, is employed for optimization.The chosen parameters include a population size of 50, a maximum of 100 generations, and parallel computing.The results of this optimization process are tabulated in Table 12.

68In Table 12, simulation results stemming from data-driven optimization through a deep learning algorithm are presented.Notably, the simulated maximum removal percentage reaches 100.001, a theoretically ideal value with a tolerance level of 0.001.While this represents an idealized outcome, the simulation aids in identifying decision variable combinations leading to this optimality.However, acknowledging the inherent error margin in the digital twin modeling and optimization process, it is crucial to validate the true optimality through experimentation.

69A subsequent experiment, conducted under conditions aligning with the optimal points identified in simulation, yields a removal percentage of 98.77%.The percentage difference between this experimentally verified optimality and the simulated result is a mere 1.24%, demonstrating the success of applying deep learning with

Conclusion

70It is concluded that the carbonaceous material from Haematoxylum campechianum waste (CM-CM) proved to be an effective low-cost adsorbent to remove 3-nitrophenol from aqueous solution.The experiment results show that the uptake capacity of 3-Nph by CM-HC is dependent of contact time, pH of solution, adsorbent dosage and temperature parameters.Removal of 3-Nph was found to be more favorable at pH = 6 and at T = 300.15K.Over concentrations studied, adsorption equilibrium data showed the best fitted Langmuir model at all pH solutions, dosage of adsorbent and temperatures studied.The maximum adsorption capacity of CM-HC was calculated as 236.156 mg/g.The results of kinetic study show that for Ci (3-Nph) = 50-100 mg/L, the pseudo-second order model was best fit model to the adsorption of 3-Nph.Some other conclusions from the data analytics are following: 1.The relationship between time, dosage, and various environmental factors with the removal percentage is explored through correlation analysis using Pearson, Spearman, and Kendall methods.Despite differences in the strength of correlations between the methods, a consistent positive correlation exists between time and dosage with the removal percentage.The interpretation varies slightly among methods, highlighting the nuanced influence of correlation algorithms.Notably, the initial concentration emerges as the most influential parameter, emphasizing its significance in achieving favorable outcomes.The study suggests that determining whether time or dosage more significantly influences the removal percentage remains inconclusive, but the positive relationship is consistently affirmed by all three correlation algorithms.2. The identified 5-14-14-1 architecture, fine-tuned over 228 epochs, demonstrated robust performance with mean squared error (MSE) values of 4.07, 18.406, and 6.2122 for training, testing, and total datasets, respectively.The coefficient of determination (R-squared) values further confirmed the efficacy of the selected architecture.The graphical analysis of the model's performance revealed a well-fitted linear correlation between experimental and simulated removal percentages, with attention to potential pitfalls in relying solely on the testing dataset for optimization.The assessment of normality, independence, and homoscedasticity of errors provided a comprehensive understanding of the model's strengths and limitations.3. Through the approach of a single-objective genetic algorithm implemented in MATLAB, a theoretically ideal removal percentage of 100.001 was simulated, aiding in identifying decision variable combinations leading to optimality.The subsequent experimental validation under optimal conditions yielded a removal percentage of 98.77%, showcasing the success of combining deep learning with genetic algorithm optimization.However, it is emphasized that experimental validation is crucial to account for inherent error margins in digital twin modeling.The study recommends prioritizing experimental optimality for robust validation of the optimization results obtained through the integration of deep learning and genetic algorithms.This research not only contributes to the advancement of environmental science but also offers a unique opportunity for educational innovation.By incorporating artificial neural networks, deep learning, and data science methodologies into the study of adsorption processes for pollutant removal, students can engage in cuttingedge interdisciplinary approaches.The utilization of genetic algorithm optimization adds a practical dimension to their learning experience, fostering skills in optimization and critical thinking.This innovative integration of advanced technologies provides students with valuable exposure to real-world problem-solving, preparing them for future challenges in environmental engineering and promoting a forward-looking educational model.

71Overall, the combination of using biosorbents for environmental remediation and enhancing these efforts through educational programs presents a holistic approach to managing water pollution.The research underscores the importance of continuous research in biosorbent efficacy and advocates for robust educational programs that empower individuals with the knowledge and skills to make impactful environmental decisions.Future strategies should focus on expanding the availability of educational resources related to biosorbents and increasing public engagement through tailored educational programs that highlight the practical aspects of environmental stewardship (Supplementary Information).

72https://doi.org/10.1038/s41598-024-70989-0www.nature.com/scientificreports/

Fig. 1 .

73Fig. 1. pH pzc of CM-HC.

Fig. 2 .Fig. 3 .

74Fig. 2. XRD pattern of CM-HC.

Fig. 4 .

75Fig. 4. Plot of adsorption isotherms for 3-Nph on MC-HC at (a) pH = 3, (b) pH = 6 and (c) pH = 8.

Fig. 5 .

76Fig. 5. Variation of adsorption capacity of MC-HC against contact time (min) at (a) Ci = 50 mg/L, (b) 100 mg/L and (c) 250 mg/L.

Fig. 6 .

77Fig. 6.Adsorption isotherms of 3-Nph on CM-HC with dosage (a) 2 g/L, (b) 4 g/L, (c) 8 g/L and (d) 10 g/L.

Fig. 7 .

78Fig. 7. Effect of sorbents dosage (g/L), on the (a) amount of 3-NpH sorbed, qm (mg/g) and (b) percentage of 3-NpH removal; solution pH: 5.6.00;temperature: 297 K, agitation speed: 150 rpm; contact time: 24 h.

Fig. 8 .

79Fig. 8. Adsorption isotherms of MC-HC at temperature (a) 300.15,(b) 313.15 and (c) 330.15 K.

Fig. 9 .

80Fig. 9. Adsorption mechanism of 3-Nph on CM-HC.

Fig. 10 .

81Fig. 10.Adsorption and desorption cycles of 3-Nph on CM-HC.

Fig. 11 .

82Fig. 11.Violin plot of the variables and the fitness function.

Fig. 12 .

83Fig. 12. Scatter matrix with histograms between the design variables and the fitness function.

Fig. 13 .

84Fig. 13.Coefficient of correlation of Pearson, Spearman, and Kendall.

Fig. 14 .

85Fig. 14.Optimal deep learning architecture.

86Minimize : −1 × removal percentage subject to lower bound ≤ time, initial concentration, pH, dosis, temperature ≤ upper bound 0 ≤ removal percentage ≤ 100.

Fig. 15 .

87Fig. 15.Convergence criteria of the Mean Squared Error for the best architecture.

Fig. 16 .

88Fig. 16.(a) Regression fitting for the optimal architecture.(b) Verification of the assumptions of the regression fit, including normality, independence, and homoscedasticity from left to right.

Fig. 17 .

89Fig. 17.Parallel coordinate plot.

Table 1 .

90Values of contact times, solution pH, temperature and adsorbent dosage parameters used for experimental process.

Table 2 .

91Langmuir, Freundlich, Temkin, and Redlich-Peterson isotherm parameters for the adsorption of 3-Nph on CM-HC at different solution pH.

Table 3 .

92Values

93of error functions of adsorption isotherm models of 3-Nph on CM-HC at different solution pH.Vol.:(0123456789) Scientific Reports | (2024) 14:20250 | https://doi.org/10.1038/s41598-024-70989-0www.nature.com/scientificreports/Effect of contact time on adsorption equilibrium

Table 4 .

94PFO, PSO, and Elovich kinetic parameters for different initial concentrations of 3-Nph.

Table 5 .

95Values

96of error functions of PFO, PSO and Elovich kinetic models of 3-Nph (Ci = 50, 100 and 250 mg/L) on CM-HC.Vol.:(0123456789) Scientific Reports | (2024) 14:20250 | https://doi.org/10.1038/s41598-024-70989-0www.nature.com/scientificreports/

Table 6 .

97Langmuir and Freundlich isotherm parameters for the adsorption of 3-Nph on CM-HC at different dosages.

98Vol:.(1234567890) Scientific Reports | (2024) 14:20250 | https://doi.org/10.1038/s41598-024-70989-0

Table 7 .

99Values of error functions of adsorption isotherm models of 3-Nph on CM-HC at different dosage.

Table 8 .

100Langmuir and Freundlich isotherm parameters for the adsorption of 3-Nph on CM-HC at different temperatures.

10195.Each column in this table contains variables such as time, initial

Table 9 .

102Values of error functions of adsorption isotherm models of 3-Nph on CM-HC at different temperatures.

103Vol.:(0123456789) Scientific Reports | (2024) 14:20250 | https://doi.org/10.1038/s41598-024-70989-0

Table 10 .

104General format of the experimental data.Data publicly available at: https:// dx.doi.org/ 10. 6084/ m9.figsh are.24545 587.

105Vol.:(0123456789) Scientific Reports | (2024) 14:20250 | https://doi.org/10.1038/s41598-024-70989-0www.nature.com/scientificreports/Deep learning artificial neural network

106Optimization using genetic algorithmThe employment of deep learning has facilitated the establishment of an empirical correlation between various tuning parameters and the fitness function, represented by the removal percentage.This correlation serves as a fitness function equation, enabling the formulation of an optimization problem.The objective of this optimization is to maximize the removal percentage by adjusting decision variables such as time, initial concentration, pH, dosis, and temperature.The decision variable bounds are defined as lower bound = [15, 50, 3, 1, 300.15] and upper bound = [1440, 250, 8, 10, 330.15].To conform to typical optimization conventions geared towards minimization, the removal percentage is multiplied by −1.A noteworthy concern arises from the lack of a continuous dataset for digital twin modeling.Despite the high performance demonstrated during empirical modeling, the optimization process operates with a potential error margin due to the finite nature of the removal percentage (with a maximum value of 100).The optimization problem is expressed as follows:

107Vol.:(0123456789) Scientific Reports | (2024) 14:20250 | https://doi.org/10.1038/s41598-024-70989-0www.nature.com/scientificreports/as MSE and R 2 values) is checked across different iterations to ensure that the outcomes are not anomalies but reproducible findings.

Table 11 .

108Statistical performance indicators for the best architecture.

109Vol:.(1234567890) Scientific Reports | (2024) 14:20250 | https://doi.org/10.1038/s41598-024-70989-0

Table 12 .

110Optimality based upon simulation and experimentation.

111Vol:.(1234567890) Scientific Reports | (2024) 14:20250 | https://doi.org/10.1038/s41598-024-70989-0www.nature.com/scientificreports/

참고문헌 94건

  1. Microwave assisted wet oxidation of p-nitrophenol Science China Technological Sciences · Springer Science+Business Media · 2005 10.1360/03ye0604
  2. (제목 없음) Journal of inclusion phenomena and molecular recognition in chemistry · Springer Science+Business Media · 2000 10.1023/a:1008169111023
  3. Quantitation of Nonextractable Anthropogenic Quantitation of Nonextractable Anthropogenic Sediments after Chemical Degradation Acta hydrochimica et hydrobiologica · Wiley · 2003 10.1002/aheh.200300511
  4. Specific adsorption of cations on hydrous γ-Al2O3 Journal of Colloid and Interface Science · Elsevier BV · 1973 10.1016/0021-9797(73)90387-1
  5. Water quality management in the lower stretch of the river Ganges, east coast of India: an approach through environmental education Journal of Cleaner Production · Elsevier BV · 2006 10.1016/j.jclepro.2006.07.030
  6. Reactive dye biosorption by Rhizopus arrhizus biomass Enzyme and Microbial Technology · Elsevier BV · 2002 10.1016/s0141-0229(02)00110-2
  7. Water, mythology and environmental education Desalination · Elsevier BV · 2007 10.1016/j.desal.2006.05.061
  8. Effects of pH and temperature on isotherm parameters of chlorophenols biosorption to anaerobic granular sludge Journal of Hazardous Materials · Elsevier BV · 2006 10.1016/j.jhazmat.2006.11.036
  9. Removal of oil from water using polyurethane foam modified with nanoclay Chemical Engineering Journal · Elsevier BV · 2014 10.1016/j.cej.2014.09.077
  10. Ultrasonic destruction of phenol and substituted phenols: A review of current research Ultrasonics Sonochemistry · Elsevier BV · 2006 10.1016/j.ultsonch.2005.11.004
  11. REMOVAL OF SOME SUBSTITUTED PHENOLS BY ACTIVATED CARBON OBTAINED FROM AGRICULTURAL WASTE Water Research · Elsevier BV · 1998 10.1016/s0043-1354(97)00310-2
  12. Biosorption of 2,4-dichlorophenol from aqueous solution by Phanerochaete chrysosporium biomass: Isotherms, kinetics and thermodynamics Journal of Hazardous Materials · Elsevier BV · 2006 10.1016/j.jhazmat.2006.02.026
  13. The Crystal and Molecular Structure of 1,18‐dibromooctadecane Crystal Research and Technology · Wiley · 1993 10.1002/crat.2170280713
  14. Artificial neural network modeling in competitive adsorption of phenol and resorcinol from water environment using some carbonaceous adsorbents Journal of Hazardous Materials · Elsevier BV · 2011 10.1016/j.jhazmat.2011.01.067
  15. Adsorption isotherm, kinetic modeling and mechanism of 2,4,6-trichlorophenol on coconut husk-based activated carbon Chemical Engineering Journal · Elsevier BV · 2008 10.1016/j.cej.2008.01.028
  16. Advanced high-performance liquid chromatography method for highly polar nitroaromatic compounds in ground water samples from ammunition waste sites Journal of Chromatography A · Elsevier BV · 2009 10.1016/j.chroma.2009.04.055
  17. Adsorption of phenolic compounds on low-cost adsorbents: A review Advances in Colloid and Interface Science · Elsevier BV · 2008 10.1016/j.cis.2008.07.002
  18. Preparation and evaluation of cattail fiber-based activated carbon for 2,4-dichlorophenol and 2,4,6-trichlorophenol removal Chemical Engineering Journal · Elsevier BV · 2011 10.1016/j.cej.2011.01.021
  19. Nitrophenols in Air and Rainwater Environmental Engineering Science · Mary Ann Liebert, Inc. · 2006 10.1089/ees.2006.23.405
  20. Adsorption kinetics of phenol and 3-nitrophenol from aqueous solutions on conventional and novel carbons Journal of Hazardous Materials · Elsevier BV · 2009 10.1016/j.jhazmat.2009.06.098
  21. Sorption of cadmium from aqueous solution by surfactant-modified carbon adsorbents Chemical Engineering Journal · Elsevier BV · 2008 10.1016/j.cej.2008.09.010
  22. Intensification of the sorption of Rhodamine B from aqueous phase by loquat seeds using ultrasound Desalination · Elsevier BV · 2011 10.1016/j.desal.2010.12.043
  23. Removal of phenol from aqueous solution using carbonized Terminalia chebula-activated carbon: process parametric optimization using conventional method and Taguchi’s experimental design, adsorption kinetic, equilibrium and thermodynamic study Applied Water Science · Springer Nature · 2012 10.1007/s13201-012-0047-0
  24. Adsorption of phenol by bentonite Environmental Pollution · Elsevier BV · 2000 10.1016/s0269-7491(99)00173-6
  25. Nitrated phenols in the atmosphere: a review Atmospheric Environment · Elsevier BV · 2004 10.1016/j.atmosenv.2004.09.044
  26. The removal of phenol from aqueous solutions by adsorption using surfactant-modified bentonite and kaolinite Journal of Hazardous Materials · Elsevier BV · 2009 10.1016/j.jhazmat.2009.03.153
  27. Environmental Education: Issue Water: Different Approaches in Secondary General and Technical Lyceum in a Social and Environmental Stressed Area in Greece Procedia Technology · Elsevier BV · 2013 10.1016/j.protcy.2013.11.024
  28. Wet deposition of pesticides and nitrophenols at two sites in Denmark: measurements and contributions from regional sources Chemosphere · Elsevier BV · 2005 10.1016/j.chemosphere.2004.11.048
  29. Removal of chlorophenols in aqueous solution by carbon black low-cost adsorbents. Equilibrium study and influence of operation conditions Journal of Hazardous Materials · Elsevier BV · 2009 10.1016/j.jhazmat.2009.03.075
  30. Removal of chlorophenols from aquatic systems using the dried and dead fungus Pleurotus sajor caju Bioresource Technology · Elsevier BV · 2004 10.1016/j.biortech.2003.11.029
  31. Equilibrium and kinetic modelling of biosorption of Remazol Black B by Rhizopus arrhizus in a batch system: effect of temperature Process Biochemistry · Elsevier BV · 2000 10.1016/s0032-9592(00)00233-8
  32. Adsorption of phenol by activated carbon: Influence of activation methods and solution pH Energy Conversion and Management · Elsevier BV · 2009 10.1016/j.enconman.2009.08.035
  33. Adsorption Isotherms for Chlorinated Phenols on Activated Carbons Journal of Chemical & Engineering Data · American Chemical Society · 1998 10.1021/je970217h
  34. Agricultural solid waste for the removal of organics: adsorption of phenol from water and wastewater by palm seed coat activated carbon Waste Management · Elsevier BV · 2002 10.1016/s0956-053x(01)00016-2
  35. Removal of phenol and 4-chlorophenol by surfactant-modified natural zeolite Journal of Hazardous Materials · Elsevier BV · 2006 10.1016/j.jhazmat.2006.10.036
  36. Adsorption of substituted phenols on activated carbon Journal of Colloid and Interface Science · Elsevier BV · 1988 10.1016/0021-9797(88)90189-0
  37. A New Indirect Electroanalytical Method to Monitor the Contamination of Natural Waters with 4‐Nitrophenol Using Multiwall Carbon Nanotubes Electroanalysis · Wiley · 2009 10.1002/elan.200804522
  38. Phenolic Compounds: Health Effects and Its Removal From Aqueous Environments by Low Cost Adsorbents Health Scope · Kowsar Medical Institute · 2013 10.17795/jhealthscope-12993
  39. Natural zeolites as effective adsorbents in water and wastewater treatment Chemical Engineering Journal · Elsevier BV · 2009 10.1016/j.cej.2009.10.029
  40. Typical low cost biosorbents for adsorptive removal of specific organic pollutants from water Bioresource Technology · Elsevier BV · 2015 10.1016/j.biortech.2015.02.003
  41. Equilibrium sorption of anionic dye from aqueous solution by palm kernel fibre as sorbent Dyes and Pigments · Elsevier BV · 2006 10.1016/j.dyepig.2006.01.014
  42. Adsorption characteristics of Congo red on carbonized leonardite Journal of Cleaner Production · Elsevier BV · 2015 10.1016/j.jclepro.2015.10.034
  43. Equilibrium, kinetics and thermodynamics study of phenols adsorption onto activated carbon obtained from lignocellulosic material (Eucalyptus Globulus labill seed) Adsorption · Springer Science+Business Media · 2015 10.1007/s10450-015-9724-2
  44. Toxicity and degradability of nitrophenols in anaerobic systems Water Environment Research · Wiley · 1997 10.2175/106143097x125290
  45. Removal of tartrazine from aqueous solutions using adsorbents based on activated carbon and Moringa oleifera seeds Journal of Cleaner Production · Elsevier BV · 2017 10.1016/j.jclepro.2017.09.237
  46. Adsorption behavior of phenol by reversible surfactant-modified montmorillonite: Mechanism, thermodynamics, and regeneration Chemical Engineering Journal · Elsevier BV · 2017 10.1016/j.cej.2017.09.140
  47. Magnetic particles modification of coconut shell-derived activated carbon and biochar for effective removal of phenol from water Chemosphere · Elsevier BV · 2018 10.1016/j.chemosphere.2018.08.038
  48. Removal of phenolic compounds from industrial waste water based on membrane-based technologies Journal of Industrial and Engineering Chemistry · Elsevier BV · 2018 10.1016/j.jiec.2018.11.024
  49. A trust model for analysis of trust, influence and their relationship in social network communities Telematics and Informatics · Elsevier BV · 2018 10.1016/j.tele.2018.11.008
  50. Removal of nitrophenols and their derivatives by chemical redox: A review Chemical Engineering Journal · Elsevier BV · 2018 10.1016/j.cej.2018.11.111
  51. An overview of chlorophenols as contaminants and their removal from wastewater by adsorption: A review Journal of Environmental Management · Elsevier BV · 2019 10.1016/j.jenvman.2019.04.004
  52. Bacterial degradation of nitrophenols and their derivatives Journal of Hazardous Materials · Elsevier BV · 2013 10.1016/j.jhazmat.2013.12.011
  53. Removal of sarafloxacin from aqueous solution by a magnetized metal-organic framework; Artificial neural network modeling Polyhedron · Elsevier BV · 2020 10.1016/j.poly.2019.114342
  54. Adsorption of congo red and methylene blue dyes on an ashitaba waste and a walnut shell-based activated carbon from aqueous solutions: Experiments, characterization and physical interpretations Chemical Engineering Journal · Elsevier BV · 2020 10.1016/j.cej.2020.124263
  55. Carbonaceous material obtained from bark biomass as adsorbent of phenolic compounds from aqueous solutions Journal of environmental chemical engineering · Elsevier BV · 2020 10.1016/j.jece.2020.103784
  56. Preparation of activated carbon from <i>Dipterocarpus alatus</i> fruit and its application for methylene blue adsorption RSC Advances · Royal Society of Chemistry · 2020 10.1039/d0ra03427d
  57. Inorganic arsenic species removal from water using bone char: A detailed study on adsorption kinetic and isotherm models using error functions analysis Journal of Hazardous Materials · Elsevier BV · 2020 10.1016/j.jhazmat.2020.124112
  58. Projecting global water footprints diminution of a dew-point cooling system: Sustainability approach assisted with energetic and economic assessment Renewable and Sustainable Energy Reviews · Elsevier BV · 2021 10.1016/j.rser.2021.110741
  59. Adsorption of phenol and chromium (VI) from aqueous solution using exfoliated graphite: Equilibrium, kinetics and thermodynamic studies Arabian Journal of Chemistry · Elsevier BV · 2021 10.1016/j.arabjc.2021.103160
  60. Artificial intelligence assisted technoeconomic optimization scenarios of hybrid energy systems for water management of an isolated community Sustainable Energy Technologies and Assessments · Elsevier BV · 2021 10.1016/j.seta.2021.101561
  61. Multivariate modeling and optimization of Cr(VI) adsorption onto carbonaceous material via response surface models assisted with multiple regression analysis and particle swarm embedded neural network Environmental Technology & Innovation · Elsevier BV · 2021 10.1016/j.eti.2021.101952
  62. Summer monsoon rainfall variations and its association with atmospheric circulations over Sudan Journal of Atmospheric and Solar-Terrestrial Physics · Elsevier BV · 2021 10.1016/j.jastp.2021.105751
  63. Does recycling solar panels make this renewable resource sustainable? Evidence supported by environmental, economic, and social dimensions Sustainable Cities and Society · Elsevier BV · 2021 10.1016/j.scs.2021.103539
  64. Data engineering for digital twining and optimization of naturally ventilated solar façade with phase changing material under global projection scenarios Renewable Energy · Elsevier BV · 2022 10.1016/j.renene.2022.01.044
  65. Digital twin models for optimization and global projection of building-integrated solar chimney Building and Environment · Elsevier BV · 2022 10.1016/j.buildenv.2022.108807
  66. Mean squared error criterion for model-based design of experiments with subset selection Computers & Chemical Engineering · Elsevier BV · 2022 10.1016/j.compchemeng.2022.107667
  67. Synthesis and Characterization of Activated Carbons Prepared from Agro-Wastes by Chemical Activation Journal of Chemistry · Hindawi Publishing Corporation · 2022 10.1155/2022/9975444
  68. A new approach to education and training in water and environmental management Water Science & Technology · Pergamon Press · 1998 10.2166/wst.1998.0476
  69. Artificial neural network approach towards the separation of ethylparaben and diclofenac using pseudo-emulsion hollow fiber strip dispersion technique Chemical Data Collections · Elsevier BV · 2022 10.1016/j.cdc.2022.100890
  70. A framework of data modeling and artificial intelligence for environmental-friendly energy system: Application of Kalina cycle improved with fuel cell and thermoelectric module Process Safety and Environmental Protection · Elsevier BV · 2022 10.1016/j.psep.2022.06.029
  71. Computational intelligence for empirical modeling and optimization of methylene blue adsorption phenomena using available local zeolites and clay of Morocco Journal of Cleaner Production · Elsevier BV · 2022 10.1016/j.jclepro.2022.133517
  72. Removal of <i>p</i>-nitrophenol from simulated sewage using MgCo-3D hydrotalcite nanospheres: capability and mechanism RSC Advances · Royal Society of Chemistry · 2022 10.1039/d2ra01883g
  73. Deep learning artificial intelligence framework for sustainable desiccant air conditioning system: Optimization towards reduction in water footprints International Communications in Heat and Mass Transfer · Elsevier BV · 2022 10.1016/j.icheatmasstransfer.2022.106538
  74. Sensitivity analysis of trends in environmental education in schools and its implications in the built environment Environmental Development · Elsevier BV · 2022 10.1016/j.envdev.2022.100795
  75. Option or necessity: Role of environmental education as transformative change agent Evaluation and Program Planning · Elsevier BV · 2023 10.1016/j.evalprogplan.2023.102244
  76. The dark side of artificial intelligence in service: The “watching-eye” effect and privacy concerns International Journal of Hospitality Management · Elsevier BV · 2023 10.1016/j.ijhm.2023.103437
  77. Amino-Functionalized Cellulose Nanofiber/Lignosulfonate New Aerogel Adsorbent for the Removal of Dyes and Heavy Metals from Wastewater Gels · Multidisciplinary Digital Publishing Institute · 2023 10.3390/gels9020154
  78. Effects of executives' pro-environmental education and knowledge sharing activities on eco-friendly agricultural production: Evidence from China Journal of Cleaner Production · Elsevier BV · 2023 10.1016/j.jclepro.2023.136469
  79. Machine learning algorithms to predict the catalytic reduction performance of eco-toxic nitrophenols and azo dyes contaminants (Invited Article) Alexandria Engineering Journal · Elsevier BV · 2023 10.1016/j.aej.2023.04.007
  80. Carbon price prediction using multiple hybrid machine learning models optimized by genetic algorithm Journal of Environmental Management · Elsevier BV · 2023 10.1016/j.jenvman.2023.118061
  81. “I had a spider in my mouth”: What makes students happy in outdoor environmental education programs Evaluation and Program Planning · Elsevier BV · 2023 10.1016/j.evalprogplan.2023.102326
  82. Phosphate adsorption by metal organic frameworks: Insights from a systematic review, meta-analysis, and predictive modelling with artificial neural networks Chemosphere · Elsevier BV · 2023 10.1016/j.chemosphere.2023.139674
  83. Adsorption of Phenols on Carbonaceous Materials of Various Origins but of Similar Specific Surface Areas Separations · Multidisciplinary Digital Publishing Institute · 2023 10.3390/separations10080422
  84. Eight weeks of a lower limb resistance training protocol and gait performance in patients with symptomatic mild to moderate knee osteoarthritis Journal of Orthopaedic Science · Elsevier BV · 2023 10.1016/j.jos.2023.07.007
  85. Biosorption of Pb(II) Using Natural and Treated Ardisia compressa K. Leaves: Simulation Framework Extended through the Application of Artificial Neural Network and Genetic Algorithm Molecules · Multidisciplinary Digital Publishing Institute · 2023 10.3390/molecules28176387
  86. Semiparametric regression for spatial data via deep learning Spatial Statistics · Elsevier BV · 2023 10.1016/j.spasta.2023.100777
  87. Application of artificial neural networks for enhancing Aspergillus flavipes lipase synthesis for green biodiesel production Heliyon · Elsevier BV · 2023 10.1016/j.heliyon.2023.e20063
  88. Leaf water content determination of oilseed rape using near-infrared hyperspectral imaging with deep learning regression methods Infrared Physics & Technology · Elsevier BV · 2023 10.1016/j.infrared.2023.104921
  89. Predictive modeling of PV solar power plant efficiency considering weather conditions: A comparative analysis of artificial neural networks and multiple linear regression Energy Reports · Elsevier BV · 2023 10.1016/j.egyr.2023.09.097
  90. Observation-informed modeling of artificial neural networks to predict flow and bleeding of cement-based materials Construction and Building Materials · Elsevier BV · 2023 10.1016/j.conbuildmat.2023.133811
  91. Enhanced adsorption of bisphenol-A from water through the application of isocyanurate based hyper crosslinked resin Journal of Molecular Liquids · Elsevier BV · 2023 10.1016/j.molliq.2023.123861
  92. A critical and comprehensive review of the current status of 17β-estradiol hormone remediation through adsorption technology Environmental Science and Pollution Research · Springer Science+Business Media · 2024 10.1007/s11356-024-32876-z
  93. Environmental education in Ethiopia: History, mainstreaming in curriculum, governmental structure, and its effectiveness: A systematic review Heliyon · Elsevier BV · 2024 10.1016/j.heliyon.2024.e30573
  94. Sorption Behavior of Azo Dye Congo Red onto Activated Biochar from Haematoxylum campechianum Waste: Gradient Boosting Machine Learning-Assisted Bayesian Optimization for Improved Adsorption Process International Journal of Molecular Sciences · Multidisciplinary Digital Publishing Institute · 2024 10.3390/ijms25094771