1 Introduction

Biochar is a high temperature-pyrolytic biomass-derived carbon-rich material produced in an anoxic environment, and it has a variety of outstanding features (e.g., wide source of raw materials, high specific surface area (SSA), developed porosity, rich functional groups, and high content of stable carbon), thus its application to soils has attracted widespread attention (Weber and Quicker 2018; ** down. The water-saturated biochar samples with filters were dried at 105 ℃ for 12 h and weighed. Along with the biochar samples, blank filter paper was put through the same procedure to calculate the amount of water absorbed by the filter. The WHC of biochar was calculated using Eq. (1):

$${\text{WHC}}\, = \,\left( {m_{sb} {-}m_{fp} {-}m_{bc} } \right)/m_{bc}$$
(1)

where msb (g), mfp (g), and mbc (g) were the masses of the water-saturated biochar with filter paper, the water-saturated filter paper, and the dry biochar, respectively.

To measure evaporation of biochar-bound water, the method similar to WHC measurement was used: after the biochar samples were saturated with water, they were dried in an oven at 40 ℃ (40 ℃ is a common temperature in scorching weather) and weighed every 15 min until the sample weight reached an equilibrium. The evaporation of biochar-bound water is equal to the water retention without filter paper at each time (WRt) divided by WHC (Fig. 1). The evaporation kinetics of biochar-bound water are calculated using first-order kinetic equation:

$${\text{WR}}_{t} /{\text{WHC}}\, = \,{\text{exp }}({-}k_{{\text{e}}} \, \times \,t)$$
(2)

where, t (min) is the weighing time, WRt (g g–1) is the water retention without filter paper at the time t, ke (min–1) is the first-order kinetic constant. In this study, the fitting coefficient (R2) > 0.85 for the first-order kinetic equation indicated that the biochar-bound water evaporation data was suitable for the first-order kinetic equation.

Fig. 1
figure 1

Evaporation kinetics of biochar-bound water. Biochars: a AW – wheat straw biochar produced in air-limitation, b NW – wheat straw biochar produced in N2-flow, c CW – wheat straw biochar produced in CO2-flow, d AP – pine sawdust biochars produced in air-limitation, e NP – pine sawdust biochars produced in N2-flow, and f CP – pine sawdust biochars produced in CO2-flow. The numbers 300, 450, 600, and 750 represent the pyrolytic temperature

2.4 Statistical analysis and molecular simulation

To testify the effects of the studied properties of the biochars on the biochar’s WHC and evaporation of biochar-bound water, the correlation analysis between the properties of the biochars and the WHC or first-order kinetic constant, ke (min–1) of the evaporation of biochar-bound water was conducted. The hierarchical partitioning method was used to analyze the importance of the biochar properties in controlling the WHC and water evaporation. The R package "rdacca.hp" introduces the concept of hierarchical partitioning to assign individual effects to each explanatory variable under all possible model subsets, providing a new quantitative index for evaluating the relative importance of linear explanatory variables in the hierarchical partitioning (Lai et al. 2022). In addition, it has become an important tool for importance quantification of factors. In this experiment, this R software package was used to study the relative importance of the studied biochar properties to WHC and ke values with the properties of biochar as explanatory variables and WHC and ke values as response variables (Lai et al. 2022).

To clarify the controlling mechanism, the electrostatic potential charge of the main biochar functional groups was calculated by molecular simulation. Part of the molecular structure of biochar was drawn by ChemOffice 2004. The charges of different atoms (e.g., alkyl carbon, pyridinic nitrogen, amine-nitrogen, pyrrolic nitrogen, hydroxyl oxygen, and carbonyl oxygen) on biochar were simulated and calculated in DFT (B3LYP) method using GaussView 5.0. The electrostatic potential charge of atoms in different biochar chemical groups is shown in Table 1.

Table 1 Electrostatic potential charges of atoms in different chemical groups on biochar

The variability of different biochar properties was calculated using the equation: variability = standard deviation/average value. Greater temperature variability value indicated a greater influence of pyrolysis temperature on the studied properties of the biochars (Zhao et al. 2013). The correlation between the properties of the biochars, with their WHC and evaporation of water was analyzed by Origin2023a. SPSS 25.0 software was used to analyze the significance of differences. The equation fitting of the data was carried out using Sigmaplot 12.5. The plot was performed in Origin 2023a software.

3 Results and discussion

3.1 Biochar properties

The studied biochar (24 types) properties (main chemical compositions, functional groups, pH, polarity, graphitization, and SSA) are summarized in Fig. 2 and Additional file 1: Table S1. The content of hydrogen in the studied biochar samples was changed from 0.70 ± 0.00 to 4.75 ± 0.02 wt.%, of carbon—from 7.39 ± 0.02 to 76.31 ± 0.02 wt.%, of nitrogen—from 0.14 ± 0.01 to 1.23 ± 0.03 wt.%, of oxygen—from 8.22 ± 0.29 to 32.45 ± 0.32 wt.% and of ash—from 6.49 ± 0.05 to 83.27 ± 0.25 wt.%. The variability of these parameters was 0.45, 0.28, 0.69, 0.39, and 0.75, respectively (Fig. 2a–e, Fig. 3). The ratios H/C and (O + N)/C are respectively used to indicate aliphiticity and polarity of biochar. The ratios increase with increasing aliphiticity or polarity. For the studied biochars, the H/C ratio ranged from 0.23 to 1.36, while (O + N)/C ratio ranged from 0.1 to 0.87, and their variability was 0.50 and 0.57, respectively (Fig. 2f, g, Fig. 3). The pH of the studied biochars ranged from 5.05 ± 0.07 to 10.93 ± 0.01 (with variability of 0.16). The SSA of the biochars changed from 0.16 to 423.78 m2 g–1 while micropore area – from 0 to 392.62 m2 g–1, and their variability was 1.63 and 1.62 (Fig. 2i, j, Fig. 3), respectively. In the FTIR spectrum (Additional file 1: Fig. S1), the signals of some typical functional groups (e.g., -COOH, and -OH) could be found for the biochars produced at the low pyrolytic temperatures (300 – 450 ℃), while they were not present in the biochars of the high pyrolytic temperatures (600 – 750 ℃), with an exception of wheat straw biochar from air-limitation pyrolysis where the composition of the functional groups did not change with an increase in the pyrolytic temperature. The semi-quantification of C = C/C–C, C–O, and C = O groups based on the XPS analysis indicated that the carbon content of C = C/C–C, C–O, and C = O groups was from 32.0 to 71.9, from 7.81 to 24.2, and from 2.13 to 9.78, respectively, with variability of 0.11, 0.31, and 0.38, respectively (Fig. 2k–m, Fig. 3). Based on the publications, S (1185 cm–1) and V (1460 cm–1) bands indicate aliphatic/amorphous carbon, while D (1345 cm–1) and G (1590 cm–1) bands indicate aromatic/graphitic carbon (Chen et al. 2014; Kim et al. 2011). The (ID + IG)/(IS + IV) ratio, which increases with the increasing aromaticity, can be applied to characterize the aromaticity of biochars. For the studied biochars, this ratio changed from 0.14 to 0.44 with a variability of 0.24 (Fig. 2n, Fig. 3).

Fig. 2
figure 2

The properties of biochars. Biochars: AW – wheat straw biochar produced in air-limitation, CW – wheat straw biochar produced in CO2-flow, NW – wheat straw biochar produced in N2-flow, AP – pine sawdust biochars produced in air-limitation, CP – pine sawdust biochars produced in CO2-flow, and NP – pine sawdust biochars produced in N2-flow. SSA – specific surface area

Fig. 3
figure 3

The variability of the biochars' properties. SSA – specific surface area

In conclusion, the variability for most of the measured properties of the biochars was moderate – greater than 0.25, suggesting that the properties are related to the biochar production conditions, thus can be used to quantify the importance of the studied properties of the biochars for their WHC and the evaporation of biochar-bound water (Zhao et al. 2013).

3.2 The mechanism and importance of various biochar properties to its WHC

Of all the studied biochars, wheat straw biochar produced in N2-flow at 300 ℃ (WHC – 8.0 g g–1) was characterized by the highest WHC, while the pine sawdust biochar produced in CO2-flow at 600 ℃ (WHC – 1.8 g g–1) by the lowest WHC (Fig. 4a, b). Under the same conditions (pyrolytic temperature and atmosphere), the pine sawdust biochar always exhibited lower WHC values than wheat straw biochar. This result was consistent with the results of Wiersma et al. (2020). The WHC values of the wheat straw biochars and the pine sawdust biochar N2-flow generally declined with the elevating pyrolytic temperature, which was related to the decreasing (O + N)/C ratio (hydrophilic site) and increasing aromaticity (hydrophobic site) of the biochars (Additional file 1: Table S1) (Suliman et al. 2017; Hien et al. 2021). Meanwhile, at 300–450 ℃, biochar produced in N2-flow and air-limitation exhibited greater WHC values than that produced in CO2-flow except the pine sawdust biochar produced at 450 ℃. This may be due to the higher H/C value (aliphaticity) of this type of biochar (Additional file 1: Table S1), which can provide more weak hydrogen bond sites (Hien et al. 2021; Gilli and Gilli 2014). At 600–750 ℃, biochars produced in air-limitation had the maximum WHC values, but wheat straw biochars produced in CO2-flow at 750 ℃ presented the highest WHC.

Fig. 4
figure 4

a, b The WHC of biochars, c Correlation between the properties and the WHC of biochars, d The importance of properties to the WHC of biochars. Biochars: AW – wheat straw biochar produced in air-limitation, CW – wheat straw biochar produced in CO2-flow, NW – wheat straw biochar produced in N2-flow, AP – pine sawdust biochars produced in air-limitation, CP – pine sawdust biochars produced in CO2-flow, and NP – pine sawdust biochars produced in N2-flow. Different lowercase letters indicate the significant differences in the spectral index among different pyrolysis temperatures, and different uppercase letters indicate the significant difference in the spectral index among different pyrolysis atmospheres (Tukey test, p < 0.05). “*” indicates a significant correlation. SSA – specific surface area

The correlation analysis was further used to evaluate the roles of various studied biochar properties on the biochars’ WHC. The results are shown in Fig. 4c. The WHC of the biochars showed a significant negative correlation (p < 0.05) with the biochar carbon content, pH, SSA, and micropore area, and a significant positive correlation (p < 0.05) with hydrogen, nitrogen, and oxygen contents, H/C ratio, and (O + N)/C ratio. High carbon content combined with low H/C and (O + N)/C indicates high aromaticity, low polarity, and high hydrophobicity of biochar surface, resulting in the lower WHC of biochar (Mao et al. 2019; Adhikari et al. 2023). According to the data in Additional file 1: Table S1, the biochars produced at high pyrolytic temperatures (600–750 ℃) were characterized by high SSA and micropore area. When produced at these high temperatures, the biochars had low values of H/C and (O + N)/C ratios (high aromaticity and low polarity), thus high SSA and micropore area exposed more aromatic carbon and hydrophobic sites and that finally resulted in lower WHC of the biochars. Higher hydrogen content and H/C value indicate more aliphatic carbon (e.g., alkylate carbon). According to the molecular simulation, the hydrogen of the aliphatic structure with weakly positive charge (hydrogen charge is about − 0.171–0.223) could be a donor of hydrogen bond to link to the H2O molecule (oxygen of H2O with the charge of − 0.653 can be the receptor of hydrogen bond) (Table 1 and Fig. 5e) (Gilli and Gilli 2014). Hence, hydrogen content and H/C value presented a significantly positive correlation with the WHC of biochar. High nitrogen, and oxygen content, as well as values of (O + N)/C ratio characterize biochars with higher content of polar functional groups (Suliman et al. 2017; Adhikari et al. 2022, 2023). According to the XPS analysis, the biochar nitrogen was mainly in pyridinic and pyrrolic forms, while oxygen was in the form of C = O and C–O bonds (Fig. 5, Additional file 1: Fig. S2 and S3). These forms of nitrogen and oxygen have strong negative charge (nitrogen charge from − 0.552 to − 0.835, oxygen charge from − 0.505 to − 0.618) (Table 1) and unshared electronic pairs, which could be a receptor of hydrogen bond to link to H2O molecule (hydrogen of H2O with charge of 0.326 can be the donor of hydrogen bond) (Gilli and Gilli 2014) (Fig. 5e). Therefore, nitrogen content, oxygen content, and (O + N)/C values all had significantly positive correlations with the WHC of the biochars. The biochars' pH values had a negative correlation with the biochars' WHC (Fig. 4c) presumably because high pH transformed most of the H2O molecules into the form of OH which generates strong electrostatic repulsion of the negatively charged nitrogen- and oxygen-containing groups of the biochars.

Fig. 5
figure 5

For wheat straw biochar produced in N2-flow at 300 ℃: a Fourier transform infrared (FTIR) spectra of biochar; b Raman spectra of biochar; c N1s peak in X-ray photoelectron spectroscopy (XPS) spectra of biochar; d C1s peak in X-ray photoelectron spectroscopy (XPS) spectra of biochar; e Molecular structure simulation of biochar

The hierarchical partitioning method was adopted to quantify the importance of the studied properties of the biochars to its WHC. Interestingly, though nitrogen content was the lowest (from 0.18 ± 0.03 to 1.23 ± 0.03 wt.%; Fig. 2b) in the element compositions of biochars, it played the most important role (importance – 0.31) in the WHC of the biochars than the other studied parameters, including carbon, oxygen, hydrogen, and ash content, pH, and SSA, which had relatively similar importance (0.02–0.09). On one hand, H2O can be attached to the surface of biochar mainly via the hydrogen bond. Nitrogen in the biochars was mainly in the form of pyridinic and pyrrolic nitrogen (nitrogen charge—from − 0.823 to − 0.552) (Fig. 5 and Additional file 1: Fig. S3) which had a greater ability to form hydrogen bonds than aliphatic hydrogen (hydrogen charge—from 0.171 to 0.223) and oxygen (C = O and C–O) (oxygen charge—− 0.505), bind more easily to H2O molecules (hydrogen charge—0.326, oxygen charge—− 0.653) (Gilli and Gilli 2014). On the other hand, nitrogen content had high variability (0.69) compared to the other studied properties (carbon—0.28; hydrogen—0.45; oxygen—0.39) with varied pyrolytic conditions (Fig. 3). Thus nitrogen content could make a more significant change in WHC of the biochars than the other studied properties. Though ash content and SSA had higher variability (0.75 and 1.63, respectively) than nitrogen content (0.69), their importance in affecting the WHC of the biochar was lower than that of nitrogen content. That was because ash had no significant correlation with the WHC of biochar, and SSA is not conducive to increasing the WHC of biochar. Above all, nitrogen-containing groups were the most important factor in affecting the WHC of biochar, thus increasing the nitrogen content in biochar could be an effective way to improve its WHC.

3.3 The mechanism and importance of various biochar properties in controlling the evaporation of biochar-bound water

As shown in Fig. 6a, b, wheat straw biochar-bound water had lower ke (from 0.0167 ± 0.0026 to 0.0261 ± 0.0029 min–1) than pine sawdust biochar-bound water (from 0.0193 ± 0.0024 to 0.0326 ± 0.0030 min–1) under the same pyrolytic conditions. Oxygen- and nitrogen-containing functional groups form strong hydrogen bonds with H2O and possibly it is the most important factor in reducing the evaporation of biochar-bound water. However, oxygen content in the wheat straw biochar was from 8.22 ± 0.29 to 32.45 ± 0.32 wt.% (mean 22.19 wt.%) and did not differ much from its content in pine sawdust biochar from 9.98 ± 0.11 to 28.15 ± 0.21 wt.% (mean 18.51 wt.%). Therefore, lower ke of wheat straw biochar-bound water must have been related to the higher content of nitrogen-containing functional groups of which it was from 0.27 ± 0.02 to 1.23 ± 0.03 wt.%, (mean–0.92 wt.%) in wheat straw biochar and from 0.19 ± 0.04 to 0.37 ± 0.02 wt.% (mean–0.22 wt.%) in pine sawdust biochar. The negatively charged nitrogen-containing groups (mainly the pyridinic and pyrrolic nitrogen, Fig. 5) could be important hydrogen bond receptor to reduce the evaporation of biochar-bound water. Furthermore, the evaporation of biochar-bound water generally increased with the elevating pyrolytic temperatures. For instance, in the pyrolytic atmosphere of N2-flow, wheat straw biochar produced at 300–450 °C had lower ke (from 0.0167 ± 0.0026 to 0.0180 ± 0.0025 min–1) than that produced at 600–750 °C (from 0.0237 ± 0.0023 to 0.0261 ± 0.0029 min–1); likewise, pine sawdust biochar produced at 300–450 ℃ had lower ke (from 0.0240 ± 0.0027 to 0.0240 ± 0.0026 min–1) than that produced at 600–750 ℃ (ke from 0.0283 ± 0.0024 to 0.0308 ± 0.0029 min–1). The primary reason for that must have been the fact that with the elevating temperature, the nitrogen and oxygen contents in biochars were decreasing, while the carbon content (hydrophobic structure) was increasing. An exception was the wheat straw biochar produced in air-limitation, which exhibited higher ke at 300 ℃ (0.0250 ± 0.0021 min–1) than at 450 – 750 ℃ (from 0.0197 ± 0.0031 to 0.0225 ± 0.0037 min–1), though the former had the highest nitrogen and oxygen contents in all the wheat straw biochars produced in air-limitation. Wheat straw biochar produced at 300 ℃ in air-limitation also presented the highest H/C content (aliphatic hydrogen). Aliphatic hydrogen could form weaker hydrogen bonds with H2O molecules than nitrogen- and oxygen-containing groups, resulting in easier evaporation of H2O molecules. Hence, the wheat straw biochar produced at 300 ℃ in air-limitation exhibited a high ke. Wheat straw biochar produced at 300–450 ℃ in N2-flow exhibited the lowest ke for all the studied biochars (Fig. 6a), which further confirmed that nitrogen- and oxygen-containing groups were the primary factor to reduce the evaporation of biochar-bound water. In addition, pine sawdust biochar produced in CO2-flow at 750 ℃ (ke – 0.0221 ± 0.0033 min–1) exhibited the lowest ke than the biochars produced at 300 – 600 ℃ (ke of the other biochars – from 0.0263 ± 0.0020 to 0.0326 ± 0.0030 min–1). It could be seen from Additional file 1: Table S1 that the pine sawdust biochar produced at 750 ℃ in CO2-flow had about the same elemental composition as the pine sawdust biochars produced at 300 – 600 ℃ in CO2-flow, but presented a significantly higher SSA (424 m2∙g–1) compared to all the other biochars where micropore area varied from 0.17 to 129 m2∙g–1. Hence, it could be suggested that SSA was the important factor to reduce the evaporation of water bound to pine sawdust biochar produced at 750 ℃ in CO2-flow (Lataf et al. 2022; Gray et al. 2014).

Fig. 6
figure 6

a, b The evaporation kinetic constant (ke) of biochar-bound water, c Correlation between the properties and ke of biochar-bound water, and d The importance of properties to ke of biochar-bound water. Biochars: AW – wheat straw biochar produced in air-limitation, CW – wheat straw biochar produced in CO2-flow, NW – wheat straw biochar produced in N2-flow, AP – pine sawdust biochars produced in air-limitation, CP – pine sawdust biochars produced in CO2-flow, and NP – pine sawdust biochars produced in N2-flow. “*” indicates a significant correlation. SSA – specific surface area

The correlation analysis was further used to explore the main controlling mechanisms on the evaporation of biochar-bound water (Fig. 6c). The ke value of biochar-bound water showed significantly positive correlations with the biochar carbon content, pH, C–C or C = C, and significant negative correlations with nitrogen, and oxygen contents, H/C and (O + N)/C ratios, and with C = O group content. Higher content of carbon in C–C or C = C groups (aliphatic and aromatic carbon) represented higher hydrophobicity of biochar surface (Mao et al. 2019; Adhikari et al. 2023) thus increasing the repulsion between the surface of biochar and H2O molecules, eventually supporting the evaporation of biochar-bound water. High pH indicates that H2O molecules are mainly present in the form of OH which generates strong electrostatic repulsion with the negatively charged nitrogen- and oxygen-containing groups of biochar resulting in an increased repulsion between the surface of biochar and H2O molecules and causing enhanced evaporation of biochar-bound water. For the studied biochars, nitrogen was dominated by pyridinic and pyrrolic forms (Additional file 1: Fig. S3), and oxygen was mainly in the forms of C = O and C–O bonds (Additional file 1: Fig. S2). These forms of nitrogen and oxygen have strong negative charges (from –0.84 to –0.51) (Table 1) and unshared electronic pairs. They can serve as receptors of hydrogen bond to link H2O molecules together (hydrogen of H2O as the donor of hydrogen bond) (Gilli and Gilli 2014) (Fig. 5). Thus nitrogen and oxygen content, C–O and (O + N)/C values could reduce the evaporation of biochar-bound water. Likewise, higher H/C values represent more aliphatic carbon (e.g., alkylate carbon), and the hydrogen of the aliphatic structure is weakly positively charged. It can be a donor of hydrogen bond to link to the H2O molecule (oxygen of H2O as a receptor of hydrogen bond) (Gilli and Gilli 2014) (Fig. 5). Thus, the H/C ratio has a significant negative correlation with the evaporation of biochar-bound water.

As specified above, the correlation analysis can help to explore the relationship between the evaporation of biochar-bound water and some of its controlling parameters such as certain properties of biochar. Still, the quantitative importance of biochar’s various properties to the evaporation of biochar-bound water remains unclear. Herein, the hierarchical partitioning was adopted by introducing the hierarchical partitioning method to quantify the importance of biochar’s studied properties to the evaporation of biochar-bound water (Lai et al. 2022). The results are shown in Fig. 6d. In this study, oxygen, nitrogen, and carbon contents had approximately the same high importance (from 0.09 to 0.10) for the evaporation of biochar-bound water. The primary reason was that H2O binding to biochar surface mainly relied on the strong hydrogen bond between oxygen- and nitrogen-containing functional groups and H2O molecules. Meanwhile, more carbon atoms indicated fewer oxygen- and nitrogen-containing functional groups (carbon content presented a significantly negative correlation with oxygen and nitrogen contents, Additional file 1: Fig. S4). Besides, hydrogen content, ash, and SSA presented a relatively low importance (< 0.05) for the evaporation of biochar-bound water, and the correlation was insignificant (p > 0.05) (Fig. 6c, d). In addition, H/C and pH were significantly correlated with the evaporation of biochar-bound water, but they had lower importance to the evaporation of biochar-bound water. Though higher H/C represented more aliphatic hydrogen (as the hydrogen bond donor) which could also form hydrogen bond with H2O molecules, the hydrogen bond is very weak (Gilli and Gilli 2014). The H/C ratio thereby played a secondary important role in the evaporation of biochar-bound water. The biochar-bound water molecules (water molecules binding with nitrogen- and oxygen-containing groups) were mainly in the form of H2O rather than OH (Gilli and Gilli 2014) (Fig. 5), thus pH presented a low importance for the evaporation of biochar-bound water. Consequently, increasing oxygen and nitrogen content in biochar is an effective way to reduce the evaporation of biochar-bound water.

4 Conclusions

This study found that nitrogen- and oxygen-containing groups as well as aliphatic hydrogen improved the WHC of the studied biochars and decreased the evaporation of biochar-bound water. Biochar nitrogen was mainly in pyridinic and pyrrolic forms and oxygen was in the form of C = O and C–O; these forms of nitrogen and oxygen could be receptors of hydrogen bonds to link to H2O molecules. Aliphatic hydrogen could be a donor of hydrogen bond to link to the H2O molecule. Nitrogen content (importance – 0.31) played a most important role in the WHC of the biochars than the other studied parameters (including carbon, oxygen, hydrogen, ash contents, pH, and SSA importance from 0.02 to 0.09). Furthermore, in all the studied biochar properties, nitrogen, oxygen, and carbon content had the highest importance for the evaporation of biochar-bound water. Consequently, producing biochar rich in nitrogen- and oxygen-containing groups (especially nitrogen-containing groups) and amending them into the soil can be an effective way to maintain soil moisture. In addition, this study mainly focused on exploring the mechanism of the effect that biochar properties have on its WHC and biochar-bound water evaporation by using a laboratory simulation experiment. The future direction of the study could be a field experiment with the application of nitrogen-rich biochar into a real soil environment, elucidating the mechanism for nitrogen-rich biochar-soil interaction affecting the soil WHC and water evaporation.