Introduction

Contamination has emerged as a significant worldwide issue, primarily because of their detrimental effects on the well-being of living organisms (Liu et al. 2023; Chang et al. 2022; Yuan et al. 2023). Pollutants are widely distributed due to the swift expansion of industrialization and certain human actions (Liang et al. 2021; Tian et al. 2023; Kan et al. 2023; Zhang et al. 2023a). Among them, the greenhouse effect and air pollution challenges that carbon dioxide causes to the environment make it one of the most significant environmental issues (Li et al. 2022; Chen et al. 2023; Ravi et al. 2022). Several sources discharge carbon dioxide to the atmosphere, such as chemical and petrochemical activities, fossil fuel power plants, and refineries (Cheng et al. 2021; Liu et al. 2022; Li et al. 2023a, 2023b). Eliminating carbon dioxide from air can play a crucial role in decreasing air pollution and global warming (Zhang et al. 2023b; Li et al. 2023a, 2023b; Maniarasu et al. 2022). Multiple methods have been widely used for capturing CO2, including separation with membrane, absorption, and adsorption (Abdelhamid 2022; Gao et al. 2023). Among them, adsorption stands out as a desirable technology that can be developed in industrial scale due to its advantages such as low energy consumption, cost-effectiveness, and applicability over a wide range of pressures and temperatures (Bai et al. 2019; Hajilari et al. 2019). Choosing a satisfactory adsorbent for CO2 adsorption is of high significance. Miscellaneous types of materials have been applied for the CO2 adsorption process, including activated carbon, metal–organic frameworks, polymer-based materials, and zeolites (Mohammadi et al. 2021). However, activated carbon has been mostly recommended as an appealing material for CO2 capturing because of its advantageous characteristics, including large surface area, high porosity, easy and simple manufacturing, availability, and cost benefit (Hajilari et al. 2019). Over the past decades, the most commonly used materials for activated carbon fabrication are organic precursors that are rich in carbon. Therefore, the development of methods to convert used materials into activated carbon is of great interest and provides a promising future (Dong et al. 2022; Zhang et al. 2021; Hu et al. 2022). In this regard, a large number of researches have been recently reported on activated carbon production from biomass derivatives, including barley husks, pistachio shell, nutshells, cotton stalks, wood sawdust, corn cob, bagasse and rice husk (Lua et al. 2004; Medhat et al. 2021; Wang et al. 2023; Nahil and Williams 2012; Osasona et al. 2018; Zhang et al. 2020). The aforementioned materials have been found proper precursors due to their high strength and hardness in which these features are owing to their high lignin and carbon content (Cagnon et al. 2009; Hernandez et al. 2007). The most frequently used methods to convert bio-wastes to activated carbon are physical and chemical activation (Ayinla et al. 2019; Al-Swaidan and Ahmad 2011). In physical activation method, carbonized material is gasified by oxidizing gases, mostly steam and carbon dioxide, in the temperature range of 800–1000 °C (Mahapatra et al. 2012; Budinova et al. 2006). However, during the chemical activation process, materials are previously impregnated with a chemical (mainly H3PO4, ZnCl2, or KOH) in which chemical reagents act on the precursor being carbonized. Chemical activation can be conducted in two methods, including one-step or two-step activation. The one-step activation refers to subjecting chemically treated biomass precursors to the pyrolysis process for activated carbon production, while the two-step procedure means firstly carbonizing biomass precursors and then chemically treating them before pyrolysis. These two processes result in different pore structures, surface areas, and surface characteristics. The majority of activating reagents are bonded to biomass precursors during the one-step chemical activation process when the linkages in the botanical structure are broken following impregnation. Afterward, when carbonization occurs, due to the consumption of carbon atoms on active sites, the pore structures are developed. The two-step activation method, on the other hand, engages the biomass precursors through initial carbonization to form biochar with hierarchical pore structures because of the release of pyroligneous acids and gases. Some researchers confirmed that the one-stage activation procedure results in larger surface areas and microporosity. Heidari and colleagues revealed that an H3PO4 activating agent was utilized to produce activated carbon from Eucalyptus camaldulensis wood in a one-step activation procedure, giving a large surface area (1218 m2/g) and pore volume (0.6 cm2/g) (Heidari et al. 2019). Elmouwahidi et al. investigated the properties of olive-residue activated carbons using a one-step and two-step chemical method, respectively. In comparison to the BET surface area of biochar-derived activated carbons (1295 m2/g), biomass-derived activated carbons had a higher value (1390 m2/g) (Elmouwahidi et al. 2017). For activation by means of chemical reagents usually lower temperature range and less activation time is required, indicating the lower energy consumption of the chemical activation process that leads to lower cost for the final product. In addition, larger surface area and higher porosity can be accomplished (Wang and Liu 2017). Recently, many researchers investigated CO2 capture performance of agricultural waste-based activated carbons. Nagarajan et al. (2022) reported the fabrication of activated carbon derived from agro-waste to investigate CO2 capture capacity. They found carbon dioxide adsorption capacity reaching 5.225 mmol/g and the surface area of the prepared activated carbon to be 1220 m2/g. Yokoyama et al. (2019) showed that Stevia residue-based activated carbon has an acceptable surface area and carbon dioxide adsorption uptake of 874 m2/g and 117 mg/g, respectively. They also optimized activated carbon production conditions, including activation time, CO2 flow, and activation temperature using Response Surface Methodology. Alhassan et al. (2018) fabricated activated carbon from sugarcane bagasse to explore acid and base modification on CO2 adsorption capacity. They showed that the activated carbon modified with basic chemicals had the highest adsorption capacity of 148.5 mg/g. Ramesh et al. (2018) used cotton as a new precursor to produce porous activated carbon with satisfactory surface area and large CO2 uptake of 2.61 mmol/g. He et al. (2021) obtained activated carbon from rice husk to investigate its CO2 adsorption capacity. They obtained surface area, total pore volume and the maximum CO2 adsorption capacity of 1495.52 m2/g, 0.786 cm3/g and 5.83 mmol/g under optimum condition, respectively. The current work aims to transform agricultural waste, the lotus nut, into a low-cost, high-performance porous activated carbon with the objective of the largest specific surface area, hence maximum CO2 adsorption capacity. Lotus nut is an agricultural waste found abundantly in Khuzestan province of Iran, which has several merits to use for activated carbon production. Similar to some other biomass wastes, it has high strength and hardness making it suitable for processes with high pressures. According to our previous work, its carbon content (over 60%) is remarkably higher than that of other biomass derivatives resulting in larger yields (Mousazadeh et al. 2021). Using agricultural waste materials considerably reduces the production cost because the raw material is almost at no cost. One-step chemical activation was selected for the process because it was aimed to achieve the maximum surface, pore volume and the lowest energy consumption. Activated carbons synthesized using ZnCl2 and KOH as activation reagents, and their performance for CO2 adsorption was evaluated. Response Surface Methodology (RSM) was used to optimize critical production conditions, including the chemical to precursor ratio, activation time, and activation temperature. Moreover, the surface properties of prepared activated carbons were investigated using FT-IR and SEM analysis.

Materials and methods

Reagents

Chemical reagents used in the current study are KOH, ZnCl2, and HCl, which all were purchased from Merck Company and used as received. Lotus nuts were obtained from different parts in Ahwaz, Iran. They were sieved to a size range of 1–2 mm after being dried at 100 °C for one day.

Activated carbon preparation

The production procedure of activated carbon from lotus nut is shown in Fig. 1. To eliminate the initial moisture, lotus nuts were first dried at 100 °C for one day. Dried nuts were sieved to obtain a uniform material with a particle size of 1–2 mm. According to Table 1, 20 samples with different preparation conditions were made. Firstly, the previous material were originally treated with a saturated mixture of the chemical reagent (KOH or ZnCl2) at a mass ratio of 1–3. To do this, four grams of the precursor was added to 50 mL deionized water and chemical reagents were introduced to the mixture at amounts of 4, 8, and 12 gr. For 24 h, the mixture was agitated at room temperature, while maintaining a nearly constant volume of solution. After that, the pretreated sample was filtered and heated for two hours. Following that, the sample was heated in a tubular horizontal furnace under a N2 gas flow for 30, 90, and 150 min time intervals to achieve a temperature of 500, 650, 800 °C (heating rate 5 °C/min). After carbonization, the samples were thoroughly subjected to washing with hot and cold deionized water to eliminate any remaining chemicals. The extra refluxing step was performed before subjecting to washing for the carbonaceous material impregnated with ZnCl2, in order to completely eliminate chemical reagent residual. Activated carbons impregnated with KOH and ZnCl2 are expressed as ACK and ACZ, respectively, along with the text.

Fig. 1
figure 1

Activated carbon preparation flow chart

Table 1 Experimental design matrix, corresponding parameters and responses for ACK and ACZ production

Experimental design

It is necessary to limit the number of experiments due to the high expense of research (Lu et al. 2022). RSM is an appropriate strategy for modeling and process optimization when numerous independent factors impact a response of interest (Roosta et al. 2014). The design of experiments was constructed using RSM in Central Composite Design (CCD) space. According to previous research works, the most important process variables for activated carbon production from biomass waste are activation time, activation temperature, and chemical to precursor ratio (Mousazadeh et al. 2021). Therefore, independent variables chosen for the current work are activation time (A), activation temperature (B), and chemical ratio (C), where each factor has three levels (low, center, high). The experiment layout was set after applying the level of variables and the test domain, and 20 runs were generated. The complete design and corresponding parameters, as well as the experimental domain and level of variables, are summarized in Tables 1 and 2. The following quadratic polynomial model was selected for the anticipation of the mathematical relationship between process variables and the corresponding responses (Hajati et al. 2014).

$$Y=\beta 0+\sum_{i=1}^{k}{\beta }_{i}{X}_{i}+\sum_{i=1}^{k}{\beta }_{ii}{X}_{i}^{2} + \sum_{i=1}^{k-1}{\sum }_{j=2}^{k}{\beta }_{ij}{X}_{i}{X}_{j}$$
(1)

where y refers to the predicted response, \({X}_{i}\) to \({X}_{j}\) coded variables,\({\beta }_{0}\) denotes the constant coefficient, \({\beta }_{i}\) is the linear term coefficients,\({\beta }_{ij}\) is the quadratic coefficients, and k is the number of variables that are involved in the activated carbon preparation. The analysis of variance (ANOVA) was used to determine the statistical significance of each term as well as the developed models.

Table 2 Level of variables and experimental domain for activated carbon production

Results and discussion

Statistical study

The impact of three independent variables of activated carbon production conditions, such as activation time (A), activation temperature (B), and chemical to precursor ratio (C), was investigated based on CCD, the overall design, as well as BET surface area results, are illustrated in Table 1. Both ACZ and ACK exhibited a high BET surface area; however, better results were obtained for ACK. By applying several regressions, the mathematical correlation between surface area and the preparation variables of activated carbons were found to be a polynomial quadratic model for both adsorbents. The results of obtained models in terms of ANOVA for both adsorbents are shown in Tables 3 and 4. Calculated P and F values were evaluated to assess the significance of each variable. Model terms are considered significant when the P-value is less than 0.0500 and the F-value is large (Demim et al. 2014). Therefore, the model terms A, B, C, A2, B2, C2 with low p-values are significant for ACK. Similar terms were appeared to have the most significant impact on the surface area of ACZ; in this case, A2, B2, C2, AB, A, B, and C are important parameters of the constructed model. According to F and p values displayed in Tables 3 and 4, the relationship between activated carbon synthesis conditions and BET surface area is significant for both adsorbents revealing the high conformance of constructed models for prediction of preparation results. The lack of fit values, however, for ACK and ACZ were calculated to be 1.74 and 2.42, respectively, and are not statistically significant. In addition, the comparison between predicted R2 values (\({R}_{pre}^{2}\)= 0.9796 and \({R}_{pre}^{2}\)= 0.9485 for ACK and ACZ, respectively) and adjusted R2 values (\({R}_{adj}^{2}\)= 0.9891 and \({R}_{adj}^{2}\)= 0.9836 for ACK and ACZ, respectively) as well as the coefficients of determination (\({R}^{2}\)= 0.9942 and \({R}^{2}\)= 0.9914 for ACK and ACZ, respectively) clearly convey the satisfactory agreement of actual data with those predicted by the models (Table 5). Therefore, it can be deduced that the constructed models were well fitted with the experimental data. The linear plots of predicted responses versus actual ones are presented in Fig. 2a, b. These plots with high coefficients of determination satisfactorily confirm the aforementioned explanations. The ultimate models in terms of variables which had the most impact on specific surface area are presented as follows (Eqs. (1)–(2)):

Table 3 Analysis of variance for ACK
Table 4 Analysis of variance for ACZ
Table 5 Model summary statistics
Fig. 2
figure 2

a Predicted values vs actual data for ACK, b Predicted values vs actual data for ACZ

$${Y}_{1}=2.81+0.1950A+0.1760B+0.2220C-0.0582{A}^{2}-0.1632{B}^{2}-0.1032{C}^{2}$$
(2)
$${Y}_{2}=2.26-0.0470A-0.0282B-0.0290C-0.1262AB-0.0813{A}^{2}-0.02853{B}^{2}-0.0613{C}^{2}$$
(3)

Effect of preparation variables on the BET surface area

The combined impact of activation time (A), activation temperature (B), and chemical ratio (C) on the specific surface area of adsorbents were investigated using response surface methodology (RSM). The 3D plots are shown in Figs. 3 and 4 as a function of two independent variables, while the other variables are at the fixed level. According to ANOVA results presented in Tables 3 and 4, activation time was appeared to have the most impact on the specific surface area of ACZ while activation temperature and chemical impregnation ratio showed less impact. The quadratic function of chemical ratio and activation time exhibited a similar effect on the surface area of ACZ. In contrast, the quadratic function of activation temperature had an appreciable impact on surface area (due to the largest F value of 286.57 between quadratic functions). It is obvious that the interaction between activation temperature and activation time has the largest impact on the SBET of ACZ. In the case of ACK, on the other hand, activation time and activation temperature demonstrated a great impact on the surface area, and the highest effect was observed for chemical ratio with the largest F value of 539.55. The square terms of variables, however, owing to lower F values, exhibited less impact on the surface area of ACK. Activated carbons under optimal conditions are presented in Table 6.

Fig. 3
figure 3

Three-dimensional plots of the effect of activated carbon ACK preparation variables on BET surface area

Fig. 4
figure 4

Three-dimensional plots of the effect of activated carbon ACZ preparation BET surface area

Table 6 Textural properties of activated carbons under optimal conditions

Activation temperature versus activation time

The parallel impact of activation time and activation temperature on the process at a constant chemical ratio of 2 is shown in Figs. 3a and 4a. Figure 4a shows that when the activation temperature was increased, the surface area was dramatically enhanced and an additional increase in the activation temperature resulted in a decrease in the specific surface area. A similar result was obtained for ACK at a temperature of 500–650 °C, followed by a slight decrease in surface area at activation temperatures larger than 650 °C. The positive effect of lower temperatures can be perceived by the development of the pore structure of ACs because of the release of volatiles from the matrix during carbonization. In comparison, the reduction of specific surface area at higher temperatures can be the result of the widening of micropores and the formation of mesopores and macropores (Ahmad and Alrozi 2010; Ip et al. 2008).

Activation temperature versus chemical ratio

The parallel impact of activation temperature and chemical to precursor ratio on the BET surface area at constant activation time of 90 min is conveyed in Figs. 3c and 4c. For ACZ, the increase in chemical ratio and activation temperature promotes an enhancement in the surface area, while the high level of activation temperature and chemical ratio negatively impact the specific surface area. This could be the result of deterioration of pore structure and the extensive burn-off of carbon content that unfavorably influenced the quality of pores (Gratuito et al. 2008). On the other hand, for ACK, by increasing activation temperature and chemical ratio surface area of the adsorbent improved. At high levels of chemical ratio and activation temperature, responses tend to increase even at levels greater than experimental design. The higher level of chemical ratio and activation temperature can have a positive effect on the promotion of pore networks; however, it means the higher consumption of chemicals and energy, which is a disadvantage from an economic point of view. The proposed mechanism for the KOH activation process consists of three main stages. The first region pertains to the carbon gasification and the formation of potassium oxide, which occurs in the temperature range of 80–250 °C, the possible reactions are stated in Eqs. (46). Consumption of carbon atoms on active sites due to the gasification reaction leads to the development of pore structure. The second stage is related to the formation of potassium carbonates between 250 and 680 °C, as represented in Eq. (7). The final stage takes place at a temperature range higher than 680 °C, as shown in Eqs. (810). At this stage, the reduction of K2O by hydrogen or carbon atoms leads to the promotion of greater microporosity and higher surface area (Alhamed et al. 2015; Parshetti et al. 2015; Tan et al. 2015). In fact, most of the micropore networks are generated at this stage, where the depletion of carbons during K2O reduction leaves a void space that contributes to the development of microporosity (Wang et al. 2012). Also, the metallic potassium formed from the reduction of K2O alters from solid to vapor phase, the potassium vapor passes through carbon lattices that leads to the formation of pore structures. Another possible reaction that seldom occurs during the activation process is stated in Eq. (10) (Li et al. 2017).

$$ {\text{2KOH }} \to {\text{ K}}_{{2}} {\text{O }} + {\text{ H}}_{{2}} {\text{O}} $$
(4)
$$ {\text{C }} + {\text{ H}}_{{2}} {\text{O }} \to {\text{ CO }} + {\text{ H}}_{{2}} $$
(5)
$$ {\text{CO }} + {\text{ H}}_{{2}} {\text{O }} \to {\text{ CO}}_{{{2 } + }} {\text{H}}_{{2}} $$
(6)
$$ {\text{K}}_{{2}} {\text{O }} + {\text{ CO}}_{{2}} \to {\text{ K}}_{{2}} {\text{CO}}_{{3}} $$
(7)
$$ {\text{K}}_{{2}} {\text{CO}}_{{3}} \to_{ } {\text{K}}_{{2}} {\text{O }} + {\text{ CO}}_{{2}} $$
(8)
$$ {\text{K}}_{{2}} {\text{O }} + {\text{ H}}_{{2}} \to {\text{ 2K }} + {\text{ H}}_{{2}} {\text{O}} $$
(9)
$$ {\text{K}}_{{2}} {\text{O }} + {\text{ C }} \to {\text{ 2K }} + {\text{ CO}} $$
(10)

Chemical ratio versus activation time

The impact of activation duration and chemical ratio on the surface area at a constant activation temperature of 650 °C is shown in Fig. 4b, c. The surface area of ACZ was slightly increased by increasing activation time. However, longer duration caused a moderate reduction in the surface area. Figure 4b shows that prolonged activation time resulted in an increase in the specific surface area. Even though a lengthy time interval may result in a huge surface area, it is not financially viable since the high activation temperature must be kept for an extended period of time.

Process optimization

A numerical optimization approach based on RSM was used to improve the activated carbon production parameters with the goal of maximizing the surface area. The optimal conditions for ACK were activation temperature of 726 °C, activation time of 134 min, and the chemical reagent ratio of 2.78. However, these optimum conditions were 70 min, 653 °C, and 1.74 for ACZ. In addition, the maximum surface area was found to be 1117.94 and 920.92 m2/g for ACK and ACZ, respectively. To explore the validation of the optimization process, activated carbons were prepared under optimum settings. The surface area of the fabricated activated carbons under optimum preparation conditions was appeared to be 1115.32 m2/g and 912.51 m2/g for ACK and ACZ, respectively. The specific surface area obtained at optimum conditions matched well with the predicted responses obtained from the constructed models. Table 7 includes an overview of activated carbons derived from other biomass wastes. According to this table, the specific surface area obtained for the as-synthesized activated carbons shows that lotus nut has promising potential for activated carbon production. For instance, the surface area obtained for ACK and ACZ was larger than that of rice husk, garlic peel, and coconut shell. Considering the abundance of lotus nut in Iran, its high strength and hardness, large CO2 adsorption capacity, and high carbon content, it is clear that lotus nut can be assigned as a new alternative for activated carbon production with large surface areas.

Table 7 An overview of other activated carbons derived from agricultural waste

Characterization

Due to a large number of adsorbent samples, the BET analysis as well as textural properties, including average pore width, surface area, and total pore volume were only reported under optimal conditions. Also, the structural properties of ACK and ACZ prepared under optimum conditions were analyzed using FTIR spectroscopy and SEM methods.

BET analysis

The N2 adsorption isotherms of both ACK and ACZ samples prepared at optimum conditions are displayed in Fig. 5. The shape of both isotherms is very similar. According to IUPAC classifications, the isotherms might be categorized as type I isotherm. As can be seen from Fig. 5, for both types of adsorbents, adsorption of nitrogen molecules mostly takes place in the low-pressure range (p/p0 < 0.2) while at higher relative pressures, nitrogen gas adsorption tends to level off and is rather small. The existence of large adsorption capacity at low relative pressures followed by a limiting value indicated by the plateau at relative pressures above 0.2 is due to the higher volume of narrow pores, particularly micropores, that they cannot accommodate more than a single molecular layer. Although both samples exhibit type I isotherm, ACK shows a higher volume of N2 adsorption in comparison with ACZ. For ACZ, the presence of a wider adsorption knee indicates the contribution of wider micropores and small mesopores in adsorption of nitrogen molecules, while for ACK, there is less increase in adsorption capacity at higher relative pressures indicating that the nitrogen molecules mostly adsorbed in micropores. Figure 5 also conveys the difference in the pore size distribution of ACK and ACZ. According to this figure, the pore structure of ACK is mostly dominated by micropores with pore width less than 15 Å. However, ACZ exhibits more volume of pores at pore width ranging between 10 and 20 Å. The generation of larger micropores in ACZ is due to acid attack mechanism of ZnCl2 activation process in which chemical agent acts as an acid catalyst leading to bond cleavage reactions and destruction of the botanical structure of precursor (Yahya et al. 2015). However, using KOH as a chemical reagent makes it possible to tailor the pore structure more accurately with narrower pore distribution. Both activating reagents assist specific surface area enlargement, KOH having more impacts on creating micropores and increasing specific surface area. Some textural properties, including average pore width average pore width, surface area, and total pore volume are also recorded in Table 6. High pore volume and surface area are obtained for ACK and ACZ under optimal preparation conditions.

Fig. 5
figure 5

N2 adsorption–desorption of ACK and ACZ, pore size distribution of ACK and ACZ

FTIR analysis

The surface characteristic of activated carbons was analyzed using FTIR spectroscopy. The FTIR spectra of both ACK and ACZ under optimum preparation conditions are presented in Fig. 6. The IR spectra graphs of both samples exhibit almost similar results. The broad and intense peaks around 3430 cm−1 are attributed to the O–H stretching vibrations of hydroxyl groups or the existence of (N–H) amine groups (Shafeeyan et al. 2010). The presence of bands at 1620 cm−1 is derived from alkene (C=C) or amide groups (Shafeeyan et al. 2010; Guo and Lua 2003). The peaks observed at 1385 cm−1 are attributed to the bending of C–H group (Yakout and El-Deen 2016). Peaks around 1120 cm−1 are attributed to C–O and C–N bonds (Shafeeyan et al. 2010). Also, peaks around 620 cm−1 correspond to aromatic C–H groups (Yakout and El-Deen 2016). As the FTIR results show, nitrogen-containing functionalities may exist on the surface of activated carbons. These groups help to increase the surface basicity of activated carbons making the surface of activated carbons suitable for CO2 adsorption (Plaza et al. 2009).

Fig. 6
figure 6

FTIR spectra of ACZ and ACK

SEM analysis

SEM method was used to investigate the surface morphology of produced activated carbons under optimal preparation conditions (Fig. 7). SEM images illustrate the porous structure of both ACK and ACZ. Heterogeneous and irregular pore structure with channel-like shapes can be observed for both samples. ACK exhibits a higher number of pores than ACZ, hence higher surface area was obtained for ACK. In the sample activated with KOH, the formation of narrower and deeper pore network is also visible. However, larger pores exist on the surface of ACZ; it can be due to the degradation of the botanical structure of precursor, leaving empty spaces that contribute to the porosity of the activated carbon. The presence of small white particles may be related to chemical reagents residual.

Fig. 7
figure 7

a SEM images of ACK on the scale of 1 µm (left) and 200 nm (right). b SEM images of ACZ on the scale of 1 µm (left) and 200 nm (right)

CO2 Adsorption isotherms

The capability of prepared activated carbons for CO2 adsorption was investigated under room temperature condition. A manometric adsorption apparatus was used to perform the CO2 adsorption procedure, which is schematically shown in Fig. 8. The activated carbons were degassed overnight in a vacuum oven at 180 °C. They were then immediately moved to the adsorption cell to perform the adsorption test. The experimental conditions for CO2 adsorption test were a pressure range of 0–5 bar, the adsorbent dose of 0.1 g, and room temperature (27 °C). The corresponding adsorption isotherms are recorded in Fig. 9. According to this figure, the adsorption capacity increases with increasing pressure. There is a steep increase in the CO2 adsorption capacity onto ACK at pressures lower than 1 bar following by a slight improvement over 1–5 bar pressure range. The sharp increase below atmospheric pressure indicates that CO2 molecules, firstly, occupied micropores of the ACK, and then multilayer adsorption occurred in wider micropores and mesopores at higher pressures. The isotherm shape of the ACZ is slightly different. There is a wide adsorption knee in the sub-atmospheric region following by a significant increase at pressures above 1 bar. The wider adsorption knee at a pressure of 0–2 bar indicates the contribution of wide micropores and narrow mesopores in the CO2 adsorption. The existence of a dramatic increase in adsorption capacity above atmospheric pressure indicates the presence of multilayer adsorption in mesopores and wide micropores.

Fig. 8
figure 8

Schematic diagram of manometric adsorption apparatus

Fig. 9
figure 9

Adsorption isotherms of CO2 gas onto ACK and ACZ

Conclusion

The present work illustrated the fabrication of activated carbons from lotus nuts via a one-step chemical activation method using KOH (ACK) and ZnCl2 (ACZ) as chemical activating reagents. RSM was successfully employed to optimize the most important activated carbon preparation conditions. Quadratic polynomial models were obtained to describe the mathematical correlation between BET surface area and variables influencing activated carbon production. The optimum preparation conditions for ACK were obtained to be activation temperature of 726 °C, activation time of 134 min, and the chemical reagent ratio of 2.78. However, optimum variables for ACZ preparation were 70 min, 653 °C, and 1.74. The largest specific surface area achieved at optimum preparation conditions was 1115.32 m2/g and 912.51 m2/g for ACK and ACZ, respectively. The SEM images indicated that the use of KOH as an activating agent results in deeper and narrower pores, while larger pores were visible for the activated carbon prepared by ZnCl2. The FTIR analysis revealed that the nitrogen-containing functional groups exist on the surface of prepared activated carbons. Also, the obtained results showed the excellent capability of prepared activated carbons for CO2 adsorption. One area that requires further research is the optimal feedstock selection for activated carbon production. Different types of agricultural waste have varying properties, which can affect the effectiveness of the process. For example, the size and shape of the material, as well as its elemental composition, can influence porosity formation during activation. Additionally, the complexity of the manufacturing process can be reduced if the feedstock is chosen based on its material properties. Further research is also needed to optimize the production process. The end product should be of high quality, and the process should be cost-effective. Optimizing the production process can involve improving the efficiency of the activation, introducing new catalysts, or increasing the yield during the process. Investigation of the heating process including microwave and traditional furnace heating considering the high energy demand of traditional tube furnaces is also of significant importance in optimizing the production process. With the right approach, activated carbon production from agricultural waste can become a more viable and cost-effective alternative to traditional activated carbon production.