1 Introduction

Phosphorus (P) is one of the necessary nutrients for plant growth (Vaclav 2000), and effective input of P is urgent in agriculture to secure soil fertility and crop yield. However, phosphate ore, the main feedstock for P fertilizer production, is a non-renewable resource and may be depleted in the coming decades as the demand for P increases (Cui et al. 2020; Hao et al. 2013; Heilmann et al. 2014). Thus, it is necessary to develop P alternative resources. In contrast to the limited terrestrial phosphorus resource, eutrophication of water has been a common issue worldwide (Gorzelnik et al. 2023). According to the 2021 China Ecological Environment Status Bulletin, the proportion of eutrophic lakes and reservoirs in China was up to 27.3%. Therefore, reclaiming excess P from water and applying it to P-deficient soils would be an appropriate strategy to achieve both the restoration of eutrophic water and the alleviation of the pressure from P deficiencies. The constructed wetland is an inexpensive and environmental-friendly water remediation technology that is widely used for the efficient removal of P from eutrophic water and wastewater (Ge et al. 2019). However, the operation of the constructed wetlands could produce a large amount of wetland plant (WP) waste. According to the 2nd National Wetland Resources Investigation, China's constructed wetland area is 6.75 million hectares, which could generate about 107 Mt of WP biomass annually (Cui et al. 2016). It is necessary to regularly harvest and dispose of WP to prevent the residues from decaying and releasing phosphorus into the water, which causes secondary pollution. Compared to the total P (0.08–4.62 mg g−1) in general agricultural residues, grass, and wood (Yang et al. 2021), the WP contained more P (2.6–8.9 mg g−1) (Cui et al. 2020, 2019; Liu et al. 2011). However, the water-soluble phosphorus was the main form in WP, and the direct application has a potential risk of P leaching (Cui et al. 2020; Yu et al. 2022). Thus, it is crucial to explore and design a reasonable process of WP resource utilization for the industrialization of artificial eco-wetlands. The appropriate utilization of these P-enriched WP is essential to prevent secondary pollution and to achieve P recovery from water.

Biochar, a carbon-rich solid, is obtained from pyrolysis of biomass under oxygen-limited conditions (Kambo and Dutta 2015). It has gained much attention in recent years due to its potential for soil improvement and increasing crop yields (El-Naggar et al. 2019). Growing focus has been given to the role of biochar in the soil P cycle (El-Naggar et al. 2019; Tan and Lagerkvist 2011). Traditional pyrolysis (Kambo and Dutta 2015) and torrefaction (Yek et al. 2021) technologies require biomass with low moisture content, while wetland plants have high moisture content, resulting in increased energy consumption. Noteworthy, wet thermochemical treatments such as hydrothermal carbonization (HTC) and wet torrefaction have demonstrated significant potential in terms of energy efficiency and environmental sustainability (Osman et al. 2023). Wet torrefaction is conducted under normal pressure with the merit of low cost, and HTC requires a short residence time with the generation of valuable hydrochar (Akbari et al. 2020; Babinszki et al. 2020). Therefore, HTC emerged as a promising technique for the treatment of biomass waste with high moisture content, as well as the production of hydrochar. Previous study showed that the hydrochar derived from WP had a P content exceeding 20 mg g−1 (Cui et al. 2020), surpassing that of biochar derived from wood (0.14–0.60 mg g−1), grass (0.59–4.73 mg g−1), and general crop straw (1.2–16.6 mg g−1) (Robinson et al. 2018; Sun et al. 2018; Xu et al. 2016; Yang et al. 2021). However, the migration of P to the liquid product was evident during HTC (Cui et al. 2019). Compared to the high recovery of P in pyrolysis biochar, the recovery of P in hydrochar was less, with approximately 60% for microalgae (Ekpo et al. 2016b), 30–80% for Napier grass (Cui et al. 2019), and little for distiller's grains at 200°C (Heilmann et al. 2011b). The efficient P enrichment on hydrochar is the key to achieving P resource recovery during the HTC.

Current studies have shown that the recovery of P in hydrochar during HTC is influenced primarily by the nature of the feedstock and reaction conditions, such as temperature, residence time, and liquid phase medium (Chen et al. 2022; Ekpo et al. 2016a, 2016b; Ghanim et al. 2018; Heilmann et al. 2011a; Huang et al. 2018; Huang and Tang 2016). Organic P (phytic acid and monoester phosphorus) and polyphosphate in solid waste could be converted to orthophosphate by hydrolysis after HTC treatment (Chen et al. 2022). Insoluble phosphates could be formed owing to the presence of metal cations such as calcium (Ca), aluminum (Al), iron (Fe), and magnesium (Mg) in the feedstock, which would contribute to the fixation of the P in hydrochar. Animal manures had a higher metal content (2.6–5.1%) (Heilmann et al. 2011a, 2011b) than microalgae and distiller's grains (< 0.5%) (Heilmann et al. 2014), which led to the fact that manure derived hydrochar was the primary P enrichment product, whereas almost all P from microalgae and distiller’s grains were concentrated in liquid products. The recovery of P in the sewage sludge-derived hydrochar increased to 95% with the addition of CaCl2, and more P was retained as Ca-P in hydrochar (Zheng et al. 2020). Besides, the pH of the liquid-phase medium has a significant effect on the migration and transformation of P during the HTC process. The addition of 0.1 M H2SO4 to swine manure in HTC treatment resulted in 80% P recovery in the liquid product, while 87–95% P recovery in hydrochar was achieved with the addition of NaOH, CH3COOH and HCOOH (Ekpo et al. 2016a). The low pH could inhibit the reaction of metals with P to form insoluble P thereby reducing the solid-phase recovery of P (Zheng et al. 2020). The temperature of HTC affects P conversion and recovery as well. However, the effect of temperature on the solid-phase P recovery from hydrochar varied with feedstock properties. The relationships between the HTC temperature and P recovery for the poultry manure, pig manure, and cow manure were non-correlated, significant positive correlated, and weak positive correlated, respectively (Heilmann et al. 2014). Similarly, the effect of HTC temperature on P recovery from WP derived hydrochar varied with the species (Cui et al. 2020). Hence, the efficient P enrichment on hydrochar is expected to be achieved through regulating the key HTC parameters, such as liquid phase medium and temperature, and the migration and speciation mechanism of P during the HTC process is imperative for the targeted reclamation of P.

In addition to the changes in P during HTC, the changes in soil P after the application of hydrochar to the soil are worthy of note. Contributions of available P to the soil after hydrochar application are controlled by both endogenous P and extraneous soil media (Prendergast-Miller et al. 2014; Qian et al. 2013; Yang et al. 2021). Nevertheless, the role of intrinsic P in biochar in influencing soil P cycling received little attention. At present, the determination of available P content in soil has been done mostly by chemical leaching, which cannot reflect the actual soil conditions, or model dynamically the supply process of P from the solid phase to soil solution after application (Yang et al. 2021). Unlike the leaching method, the gradient diffusion in thin film (DGT) technique can simulate the dynamic process of P in the ambient medium under in situ conditions (Li et al. 2019), which is based on the principle of free diffusion and can accurately assess the biological effectiveness of P and can better predict the plant response to P (Heidari et al. 2017).

In this study, C. indica, a typical wetland plant was selected as feedstock for the production of hydrochars at different temperatures (200–260°C) and liquid media (H2O, NaOH, and CaCl2 solutions) to achieve the efficient recovery of P. The P speciation in C. indica and the derived hydrochars were analyzed in detail by P K-edge X-ray absorption near edge structure (P-K edge XANES), 31P liquid nuclear magnetic resonance (31P NMR) spectroscopy and sequential chemical extraction. The DGT technology was employed to explore the availability of P in the soil after hydrochar application. The main objective of this study was to achieve the efficient recovery of P from WP via the HTC under different temperatures and reaction media, with special emphasis on the migration mechanisms of P under different liquid media and the effect of hydrochar addition on soil available P.

2 Materials and methods

2.1 Materials and hydrothermal treatments

The C. indica (CI) was collected from the constructed wetland in Tianjin, China (38°55′58″ N, 117°41′58″ E). After being washed and air-dried for one week, the harvested biomass was chopped into about 3 cm pieces. The chopped sample was dried at 80°C and ground into powder smaller than 0.45 mm by a pulverizer (YK-1000 A, China).

Hydrothermal carbonization was carried out in a high-pressure stirred reactor (MMJ-200, Japan). Hydrochar was prepared by mixing 10.0 g of CI with 100.0 mL of deionized water. In contrast, 1 M NaOH solution and 0.015 M CaCl2 solution were substituted for deionized water in the hydrothermal process. After sealing the reactor, nitrogen (N2) was applied to purge air, and the stirring speed was set to 120 rpm. The hydrothermal reaction was conducted at the preset temperatures of 200°C, 220°C, 240°C, and 260°C, respectively, and sustained the peak temperature for 120 min. Then, the reactor was cooled naturally to room temperature. The solid residue (i.e., hydrochar) was collected by filtration and dried at 105°C to a constant weight. The dried hydrochar was weighed and ground to pass through a 0.25 mm stainless steel sieve. The liquid products were kept frozen at -20°C for further analysis. The derived hydrochar was denoted as Liquid Solvent-Hydrothermal temperature (i.e., WH200-260, CH200-260, and NH200-260).

2.2 P K-edge XANES analysis

The P-K edge XANES spectra were measured at Beijing Synchrotron Radiation Facility (BSRF) Line 4B7A of Intermediate Energy Station. Twelve phosphorus-containing compounds were selected for the phosphorus standard samples, namely aluminium phosphate (AlPO4), ferrous phosphate (FePO4), magnesium hydrogen phosphate (MgHPO4), calcium hydrogen phosphate (CaHPO4), monocalcium phosphate (Ca(H2PO4)2), calcium phosphate tribasic (Ca3(PO4)2), hydroxylapatite (HAP), octacalcium phosphate (OCP), tripotassium orthophosphate (K3PO4), potassium dihydrogen phosphate (KH2PO4), dipotassium hydrogen phosphate (K2HPO4), and phytic acid sodium. The biomass and its derived hydrochars were ground into fine powder. The above standard and test samples were blown uniformly onto phosphorus-free Kapton tape with thin films formed. The XANES data were collected in fluorescence mode with a scanning range of 2120–2200 eV. An iterative linear combination fit (LCF) was performed on the XANES spectra to derive the most probable forms of phosphorus in the samples, and the residual factor (R-factor) was used to assess the goodness of fit, where the fit with the smallest R-value was considered to be the best fit.

2.3 31P NMR spectroscopy analysis

The extraction of 0.8 g sample was performed with 20 mL of 0.05 M EDTA-0.25 M NaOH solution at 25 °C for 16 h, followed by centrifugation and filtration. To determine the extraction efficiency, 2 mL of the filtrate was taken to measure the P content. Then, the remaining filtrate was freeze-dried and 0.3 g of the lyophilized powder was redissolved in 0.1 mL of 1 M NaOH and 0.6 mL of D2O. The sample was completely mixed before centrifugation for NMR analysis. A 400 NMR spectrometer (Bruker Avance III) was used to measure the 31P NMR spectra of the supernatant at 162 MHz. NUTS software was applied to calculate the relative abundance of P species and the area integration of 31P NMR spectra of EDTA-NaOH extracts was performed.

2.4 Extraction and chemical analysis of phosphorus

In this study, H2SO4-H2O2 digestion, sequential extraction analytical, and ammonium molybdate spectrophotometry were applied to determine the different forms of P content in the biomass and the derived hydrochars. Total P (TP) in the samples was determined by ammonium molybdate spectrophotometry after pre-digestion treatment with H2SO4-H2O2, while inorganic P (IP) content was determined by 1 M HCl extraction for 16 h. Organic P (OP) content was determined by calculating the difference between TP and IP. The derived liquid product from HTC was digested with potassium persulfate and then TP was determined by spectrophotometry.

The different P forms of the feedstock and the derived hydrochars were analyzed by a modified sequential chemical extraction procedure. In this experiment, 0.2 g of sample was extracted sequentially with 30 mL of deionized water, 0.5 M NaHCO3, 0.1 M NaOH, and 1 M HCl and then shaken at 25 °C for 16 h. After centrifugation and filtration, the P concentration was determined with a UV spectrophotometer (UV-6000PC, METASH). The four forms of P were corresponding to H2O-P, NaHCO3-P, NaOH-P and HCl-P, and the P content of the solid residue after extraction was called Res.-P. The analysis of all treatments was performed in triplicate.

The recovery of TP from hydrochars after HTC was calculated by Eq. (1):

$$R=\left(\frac{{P}_{HC}}{{P}_{FS}} *Y\right)*100\%$$
(1)

where PHC is the TP content in the hydrochars, PFS is the TP content in the feedstock, and Y represents the yield of hydrochars.

2.5 Characterization of hydrochars

The yield of hydrochar is the ratio of the derived solid product to the feedstock biomass. Ash content was determined by heating the samples in a muffle furnace at 750°C for 5 h. The pH of hydrochars was measured with a pH meter (PHS-3C, Lei-ci) at a fixed mass/volume ratio of 1:20 for hydrochar to deionized water (Inyang et al. 2010). The elemental compositions (considering C, H, N, and S) of the samples were determined by an elemental analyzer (Flash-EA112, Thermo), and the O content was calculated by mass balance. After being digested by mixed acid solution, K, Ca, Na, Mg, Fe, and Al contents in the hydrochars were measured by inductively coupled plasma mass spectrometer (ICP-MS, Agilent 7500a). The information on the surface functional groups of the samples was analyzed by Fourier transform infrared spectra (FTIR, IRAffinity-1S) at 2 cm−1 resolution in the range of 500 cm−1–4000 cm−1.

2.6 DGT analysis

The changes in the available P content of soils after hydrochar additions were investigated by the diffusive gradient in thin film (DGT) technology. The ZrO-Chelex (DC/F-Z-05) DGT device used in the study was purchased from Nanjing ZhiSense Environmental Technology Co. The soils were collected from a farm in Tianjin, China. The maximum water holding capacity and TP content of the soil were 43.73% and 1.28 mg g−1, respectively. In this study, 10 g of air-dried soil sample was taken as a blank control treatment and 3% of the hydrochars was mixed in each experimental treatment. After that, ultra-pure water was added to the mixed soil samples to approximately 80% of the maximum field capacity. The samples were mixed thoroughly and kept at 25°C for 48 h. Subsequently, the treated soil was placed in the inner cavity of the DGT device with a clean plastic spoon, so that the soil was in contact with the exposed surface of the DGT device. The soil was added until the inner cavity was filled (about 6 g). The filled DGT device was transferred to a self-sealing bag with a little deionized water, and the bag was kept semi-closed. After 24 h of deployment at 25°C, the DGT device was removed and the surface was cleaned with ultrapure water. The device was separated to place the adsorption layer into 10 mL of 1 M NaOH for 24 h, and the P content of the extract was determined by molybdenum antimony ammonium spectrophotometry. The available P content of the soil determined by the DGT device was calculated based on the above P concentration and the DGT device sample parameters. The DGT-P concentration was calculated as described in the Supporting Information.

2.7 Statistical analysis

Statistical analysis was performed using SPSS 25.0. A one-way analysis of variance (ANOVA) was performed to compare two factors (temperature and liquid medium) that affected the characteristics and P speciation in the hydrochar. The Tukey HSD was used to test for significant differences among the corresponding index means. Pearson coefficient was used to analyze the correlation (p < 0.01). Figures were plotted by Origin 2023.

3 Results and discussion

3.1 Enrichment of P in hydrochars during HTC

3.1.1 P content in the hydrochars

The content of total phosphorus (TP) inorganic phosphorus (IP) and organic phosphorus (OP) in pristine biomass was 2.70 mg g−1, 2.19 mg g−1 and 0.51 mg g−1, respectively. The TP content in the hydrochars produced with deionized water (WHs) rose from 0.28 mg g−1 to 6.96 mg g−1 with increasing temperature (F = 6492.0, p < 0.01), and that in CaCl2-modified hydrochar (CHs) and NaOH-modified hydrochar (NHs) elevated from 2.62 and 7.31 mg g−1 to 7.01 and 22.84 mg g−1 (FCHs = 4615.1, p < 0.01; FNHs = 4266.3, p < 0.01). The TP content in NH260 was up to 22.84 mg g−1, which was much higher than that in the biochar derived from wood (0.14–0.60 mg g−1), grass (0.59–4.73 mg g−1), and general crop straw (1.2–5.6 mg g−1) (Robinson et al. 2018; Sun et al. 2018; Xu et al. 2016). Polymer hydrolysis and P precipitation formation may account for P accumulation in high-temperature-derived hydrochar (Cui et al. 2020; Dai et al. 2015; Ekpo et al. 2016b). The TP content in the hydrochars showed a trend of NH > CH > WH at the same HTC temperature. In comparison with the deionized water medium, the alkaline condition facilitated the conversion of P to various precipitates during HTC process (Zheng et al. 2020), and the presence of Ca2+ in the CaCl2 medium made it easier to reach the saturation of Ca-P crystallization. Additionally, as shown in Fig. 1, the IP fraction of hydrochar accounted for 82.1–99.7% of the TP content, especially for NHs (≥ 97.8%), which was higher than the pristine biomass (81.1%). The results suggested that the HTC process exhibited a preference for the decomposition of OP, which was further enhanced by the presence of metal ions Ca2+ and NaOH. Consequently, this led to an elevation in the content of IP in hydrochar, aligning with previous findings (Cui et al. 2020; Zheng et al. 2020).

Fig. 1
figure 1

The recovery and content of P in the hydrochars derived at different temperatures and reaction media. Hydrochars prepared with deionized water, CaCl2 solution, and NaOH solution as the liquid media at different temperatures were represented as WHs, CHs, and NHs, respectively. Error bars represent standard deviation observed for triplicate experiments. Different lowercase letters on the column indicate significant differences among different treatments in the same reaction medium, and different capital letters indicate significant differences among different treatments in the same reaction temperature (P < 0.01)

3.1.2 Effect of temperature and liquid medium on the recovery of P in hydrochars

As shown in Fig. 1, the TP recovery rate of NHs was the highest, up to 73.22–108.59%, followed by CHs with 47.22–79.27%, and only 4.87–70.20% of P was recovered in WHs. The recovery of TP varied with different HTC temperatures and liquid medium. The TP recovery of WHs and CHs was significantly associated with the rise of temperature (rWHs = 0.957, p < 0.01; rCHs = 0.832, p < 0.01). Similarly, the recovery of P from microalgae, manure and digestate in the liquid product was shown to decrease with increasing temperature (Ekpo et al. 2016b). As for the HTC of wetland plants, previous study reported that the TP recovery of Napier Grass increased with increasing temperature, while the recovery of H. verticillata and M. spicatum was mainly dependent on the feedstock rather than temperature (F = 2.1, P = 0.20) (Cui et al. 2020, 2019). However, the TP recovery of NHs was not significantly correlated with the HTC temperature in this study (r = 0.514, P = 0.087). Hence, the increase in temperature had an impact on P retention in hydrochar, but it varied depending on the HTC liquid medium and feedstock. The TP recoveries of WHs and CHs produced at lower temperatures (200–220 °C) were lower than 50%. It indicated that the lower temperature diverted most of the P to the liquid product, which was consistent with previous studies (Cui et al. 2019). As the temperature increased, polymer cleavage occurred and the conversion of organic phosphorus to orthophosphate was more complete, resulting in a significant increase in TP recovery and facilitating P accumulation in solid product (Dai et al. 2015). It was found that the TP recovery of the NHs prepared at higher temperatures (220–260°C) varied from 97–109%, indicating that most of the P was enriched in the hydrochar with the presence of NaOH during HTC process. Previous study found that the P recovery of sludge-derived hydrochar increased from 78 to 91% when the pH was varied from 3 to 13 (Zheng et al. 2022). These results imply that higher reaction temperature and alkaline reaction medium are favorable for P retention in the solid product during HTC.

Notably, as described in Fig. 1, the recovery of TP at the same temperature showed significant differences between the different mediums (r200 = 0.991, p < 0.01; r220 = 0.988, p < 0.01; r240 = 0.972, p < 0.01; r260 = 0.908, p < 0.01, respectively). After HTC treatment, the organic P in solid waste could be turned into orthophosphate (ortho-P) by hydrolysis (Chen et al. 2022; Huang and Tang 2016). The liquid conditions of HTC provided sufficient contact of P with metal cations. In addition, the initial ortho-P in the feedstock and the generated ortho-P would interact with endogenous or applied cations to form fresh inorganic P species via precipitation or adsorption to be enriched in the hydrochar. As shown in Table 1, the total contents of metals such as Ca, Mg, Fe, and Al in hydrochars produced by different media varied from 19.92- 27.18 mg g−1 (WHs), 29.44–37.15 mg g−1 (CHs) and 40.06–118.90 mg g−1 (NHs), respectively. The dissolution and formation of more stable species during HTC resulted in an increase in the content and recovery of P in hydrochars (Huang et al. 2018). For CaCl2-mediated HTC, Ca2+ enhanced the precipitation of P to form insoluble phosphates. These phosphates existed in colloidal form or attached to the hydrochar by electrostatic interaction, which strengthened the enrichment of P in the hydrochars. The recovery of TP was greatly improved. During the HTC of sewage sludge, the addition of calcium caused most of the free P in the process water to be immobilized in the hydrochar (Zheng et al. 2020). In addition to temperature and Ca2+, pH had a significant impact on the migration transformation of P between solid and liquid products as well as the recovery of TP during the HTC process. Higher pH inhibited the migration of P to the liquid products and promoted the precipitation of P with cations, which dramatically improved the TP recovery in hydrochar (Zheng et al. 2020).

Table 1 The metal concentrations of C. indica and the derived hydrochars at different temperatures and reaction media

As mentioned above, the recovery of P in hydrochar significantly depended on the liquid medium (F = 32.2, p < 0.01) instead of temperature (F = 2.8, p = 0.057). Higher HTC temperatures, CaCl2, and NaOH liquid medium were favorable to enhance the enrichment of P and improved the recovery of TP in hydrochar, and the alkaline modification showed the greatest improvement. In addition, higher HTC temperature, the addition of Ca2+, and alkaline modification were also beneficial to the enhancement of IP content in hydrochar.

3.2 Transformation of P during HTC

3.2.1 P K-edge XANES spectrum analysis

The forms of phosphorus in C. indica and the derived hydrochars were determined by P K-edge XANES. The XANES spectra of phosphorus and the linear superposition fitting (LCF) results in different phosphorus forms and relative abundances were shown in Figs. 2 and 3. The R-factor and χ2 of XANES spectral LCF were presented in Table S1. According to the fitting results, the main phosphorus compounds in C. indica were Ca(H2PO4)2, K3PO4, AlPO4, CaHPO4, and FePO4. After HTC treatment, K3PO4 was not detected in the derived hydrochars, while MgHPO4 and hydroxyapatite (HAP) appeared. This indicated that the soluble inorganic phosphates in the biomass were transferred to the liquid phase and combined with metal ions such as calcium, magnesium, and iron to form more stable insoluble phosphate in the hydrochars during the HTC process (Han et al. 2019; Huang et al. 2018). The dissolution and recrystallization of phosphate during the HTC process were greatly affected by liquid medium and reaction temperature.

Fig. 2
figure 2

Relative abundances of different P species in C. indica and the derived hydrochars at different temperatures and reaction media, as quantified by linear combination fitting of their XANES spectra

Fig. 3
figure 3

Linear combination fittings of XANES spectra of C. indica and derived hydrochars at different temperatures and reaction media

AlPO4, CaHPO4, Ca(H2PO4)2, FePO4, and MgHPO4 were the main P species in WH200. With increasing HTC temperature to 240 and 260°C, CaHPO4, Ca(H2PO4)2, and FePO4 became the dominant compounds with the elimination of AlPO4 and MgHPO4, and the corresponding proportion varied with the reaction temperature. Moreover, high Mg content favored the production of MgHPO4, while high P content preferred that of MgPO4 (Chen et al. 2021). With increasing temperature, the Mg/P of WHs gradually decreased (37.6–1.6) and the pH gradually increased (5.1–6.8), which led to the disappearance of MgHPO4 and AlPO4. Similar to the WHs, CaHPO4, Ca(H2PO4)2, and FePO4 were the major P species in the CaCl2 modified hydrochars (CHs), and relative abundance of CaHPO4 and Ca(H2PO4)2 were up to 46.4–64.0% and 20.0–37.5%, respectively. However, the proportion of CaHPO4 in CHs was higher than that in WHs (17.9–42.0%) at the same HTC temperature. This indicates that the addition of CaCl2 promoted the transformation of Ca(H2PO4)2 to CaHPO4 owing to the increase in Ca/P ratio. Verma and Murugavel have shown that the Ca/P ratio of 1:1 facilitates the production of CaHPO4 compared to 1:2 (Verma and Murugavel 2020). Moreover, the acidic liquid medium also favored the formation of CaHPO4 (Zheng et al. 2020). While for the NaOH-mediated HTC process, the main P species was HAP with a high proportion of 74.3%-81.5%, and no CaHPO4 and Ca(H2PO4)2 was detected in the NHs derived at high temperatures (> 200°C), implying that the CaHPO4 and Ca(H2PO4)2 were transformed to HAP under alkaline condition during HTC process. Previous study reported that Ca-P complexes could be transformed into thermodynamically preferred HAP during the HTC of sludge (Zheng et al. 2020), which was consistent with the results of this study. Similarly, HAP-P accounted for 48.4–75.5% of the total P content in the hydrochars derived from animal manure (Huang et al. 2018). Generally, high proportion of HAP required high reaction temperature during pyrolysis or incineration (Huang et al. 2018; Huang and Tang 2016), and the NaOH-mediated HTC could greatly promote the formation of HAP with lower energy consumption as compared with the abovementioned dry thermal techniques. Additionally, MgHPO4 (0–18.9%) and FePO4 (6.2–7.9%) were detected in the NHs, and the formation of MgHPO4 was enhanced by high HTC temperature.

XANES spectra showed that Ca-P was the dominant P compound in the C. indica biomass and the derived hydrochars. As confirmed by LCF results, Ca-P accounted for 65.5% of the total P content in the feedstock and 40.6–92.4% for the hydrochars. It is noteworthy that the Ca-P proportion of NHs even reached 74–92%, which was much higher than that of hydrochars derived from sewage sludge (13–32%) (Huang and Tang 2016) and animal manure (63.1–75.5%) (Huang et al. 2018). In addition to high Ca content in biomass (Table 1), high temperature and alkaline medium favored the synthesis of Ca-P compounds as well. High homogeneous Ca-P content in the C. indica derived hydrochars is beneficial to the further reclamation of P resource. Moreover, the type and concentration of the metal as well as the pH of the liquid medium significantly determined the affinity of phosphorus to metal cations, and the combination of P with Ca or Mg was particularly facilitated by increasing HTC temperature, adding Ca2+, and alkaline liquid medium.

3.2.2 Speciation of P in hydrochars

31P liquid NMR was employed to determine the P forms in C. indica biomass and the derived hydrochars. In this study, the TP content extracted by EDTA-NaOH was between 0.2–13.0 mg g−1 and the TP recovery was 47.2–99.6% as shown in Table S2. With the increase in HTC temperature, the extraction efficiency of hydrochar modified by NaOH decreased significantly from 99.6% to 47.2%. The relatively low P extraction rate was possibly attributed to the existence of P in a compact and unextractable form (Xu et al. 2016). As depicted in Fig. 4, orthophosphate (ortho-P, ∼5.6 ppm) and monoester-P (4–5 ppm) were detected. Incidentally, the peak of ortho-P was weak in WH200 owing to the little P content (0.2 mg g−1) in the extract solution. The major P species in C. indica were ortho-P (92.50%) and monoester-P (7.50%), while monoester-P was not identified in the hydrochars, suggesting that most of the P was transformed to ortho-P during HTC process. Similarly, the conversion of organic phosphates to orthophosphate occurred during the HTC of animal manure (Huang et al. 2018). The elimination of monoester-P peak in all hydrochars indicates that some organic P species in biomass were easily decomposed during HTC process (Cui et al. 2020; Huang and Tang 2016). As shown by 31P NMR spectra, there was no significant difference in the species of phosphorus among the hydrochars derived at different temperatures and liquid mediums, all of which were orthophosphates, corroborated mutually with P-XANES spectra. As distinct from the biochar derived from WP, pyrophosphate was not found in the hydrochar in the present study, which may be attributed to the presence of liquid during HTC allowing for a more complete conversion of P (Cui et al. 2019; Yu et al. 2022).

Fig. 4
figure 4

31P NMR spectra of C. indica and the derived hydrochars at different temperatures and reaction media (a) H2O, (b) CaCl2 and (c) NaOH

3.2.3 Sequential extraction and chemical speciation of P

The percentages of P in different chemical forms of C. indica and derived hydrochar were presented in Fig. 5. The recovery of P after sequential extraction ranged from 89% to 107%, which evidenced the reliability of the improved sequential phosphorus extraction method in this study. The percentage of H2O-P in the pristine biomass was up to 67%, much higher than that in sewage sludge (21–26%) (Huang and Tang 2016), animal manure (18–44%) (Huang et al. 2018) and crop straw (25–49%) (Xu et al. 2016). Hence, the direct application of C. indica with higher H2O-P content to soil had a high risk of P loss, which might cause the eutrophication of water. After HTC treatment, the H2O-P proportion (1–64%) in the derived hydrochars was lower than that in the biomass, reducing the risk of P leaching loss during the application of hydrochars. At the same liquid medium, the H2O-P fraction in hydrochar significantly decreased with increasing temperature (FWHs = 1041.5, p < 0.01; FCHs = 10.5, p < 0.01; FNHs = 295.5, p < 0.01, respectively), implying that the stabilization of P in hydrochar was promoted by HTC temperature. This temperature-dependent trend was in accordance with previously reported HTC of animal manure (Huang et al. 2018) and sewage sludge (Huang and Tang 2016). The addition of CaCl2 and NaOH during HTC process further enhanced the stabilization of P in the hydrochars, especially NH240 and NH260 with only 1% of H2O-P.

Fig. 5
figure 5

Distribution of different P pools by sequential extraction of C. indica and the derived hydrochars at different temperatures and reaction media. Error bars represent standard deviation observed for triplicate experiments

The proportion of NaHCO3-P elevated in WHs but reduced in CHs and NHs compared to that of 17.78% in C. indica. With increasing temperature, there was an increase in the proportion of NaHCO3-P in WHs, while a decrease was observed in CHs and NHs. This indicated that some water-soluble phosphorus in the feedstock was converted to less stable P in the HTC process with deionized water as liquid medium and the modification of CaCl2 and NaOH enhanced the complexation of P with the metal, resulting in the less-stable P form decreased with the increase of temperature. The NaOH-P percentage in hydrochars was higher than that of the feedstock, indicating that part of phosphorus would gradually transform into moderately unstable phosphorus during the HTC process. Moreover, it gradually reduced at a certain temperature (220°C-260°C) in the hydrochar derived under deionized water conditions. A similar phenomenon was found in NHs, while the opposite phenomenon was observed in CHs. The content of NaOH-P increased after HTC, indicating the increase of P species formed by the combination of phosphorus and Al/Fe (Qian et al. 2019). After the HTC process, the content of HCl-P in hydrochar elevated with the increasing temperature until HCl-P became the dominant form of phosphorus. HCl-P has been considered to be the calcium/magnesium forms of phosphorus which was the stable form (Xu et al. 2016). Except for the highest percentage of HCl-P in CH200, the proportion of HCl-P in NHs was higher than that in WHs or CHs under the same temperature. The residual phosphorus (Res.-P) in hydrochar was lower than that in C. indica (4%), which should be caused by the stable decomposition of organic P (Cui et al. 2020), and a large number of difficult-to-release organic P was converted into inorganic phosphorus and migrated to the liquid phase.

These results indicated that phosphorus in wetland plant was essentially stabilized after HTC, however, the degrees of stabilization varied with temperature and liquid medium. The increase in temperature contributed to the transformation of phosphorus into a more stable phosphorus form, and the change of liquid medium enhanced it. The main chemical form of NHs were NaOH-P and HCl-P (71.82–92.31%), in good agreement with the XANES results. The content of Fe/Al-P determined by XANES was correlated with that of NaOH-P (r = 0.696, p < 0.01), and a significant correlation was observed between HAP and HCl-P in hydrochar (r = 0.931, p < 0.01). Compared with Al-P and Fe–P, inorganic phosphorus was more likely to combine with calcium, magnesium, and other metals to form stable phosphates such as Ca-P and Mg-P under the condition of higher HTC temperature, abundant Ca2+, and alkaline liquid medium, which was consistent with the P K-edge XANES spectrum analysis mentioned above.

3.3 Characterization of C. indica and the derived hydrochars

3.3.1 Basic characteristics

The fundamental physicochemical properties of C. indica and the derived hydrochars were shown in Table 2. The yield of hydrochar varied from 11.43% to 48.70%. With increasing temperature, the yield of hydrochar significantly decreased under the same liquid medium (FWHs = 660.2, p < 0.01; FCHs = 469.2, p < 0.01; FNHs = 746.0, p < 0.01). This is due to the fact that the polymers (such as hemicellulose and cellulose) in the biomass undergo cleavage to produce liquid products and low molecular weight gas phase products such as CO2, CO, H2O, and H2 (Lu et al. 2014) as the temperature increased. The yield of CHs was the highest, followed by WHs and the lowest in NHs at the same temperature. This phenomenon is due to the fact the alkaline condition contributed to the depolymerization of lignocellulose (Wang et al. 2022), while the Ca ions in the process water could be combined with other ions and retained in the hydrochar by adsorption or precipitation (Zheng et al. 2020). The results indicated that temperature and liquid medium were the main factors affecting the yield of hydrochar.

Table 2 Physicochemical properties of C. indica and the derived products at different conditions

As shown in Table 2, with elevating HTC temperature, the pH of WHs and CHs significantly increased (FWHs = 6238.4, p < 0.01; FCHs = 3678.5, p < 0.01), while NHs significantly decreased (FNHs = 146.7, p < 0.01). After applying HTC with deionized water and CaCl2 solution as liquid medium, the pH of hydrochar and liquid product were acidic, while the pH became alkaline with NaOH solution as HTC liquid medium. The solubilization of alkali metals and the preservation of oxygenated acidic functional groups during the hydrothermal carbonization process (Cui et al. 2022; Irfan et al. 2016), as well as the attachment of organic matter from the liquid medium (Reza et al. 2015), should be responsible for the change on the pH of the hydrochar. At low temperature, cellulose and hemicellulose were usually degraded into simple organic acid products. With the increasing temperature, lignin began to decompose and generate slightly acidic phenolic substances, coupled with the consumption of organic acids and the formation of ammonium and other alkaline products (Ekpo et al. 2016a), which could explain the increasing pH of hydrochar at higher temperature. As for NaOH-mediated HTC, it was possible that the alkaline liquid medium promoted the leaching of lipids and proteins, and further, the rise in temperature promoted the hydrolysis of macromolecular organic matter in biomass into short-chain fatty acids (Zhang et al. 2022), and the generated acidic liquid products neutralized part of the alkalinity. The pH had a significant effect on the migration of phosphorus between solid and liquid products. Higher pH would inhibit the migration of phosphorus to liquid products and promote the precipitation of phosphorus with cation, facilitating the enrichment of phosphorus in hydrochar, which is evidenced by the significant correlation between the pH value and P recovery rate (r = 0.813, p < 0.01).

Compared with the ash content of biomass (15.18%), the ash content of WHs and CHs significantly decreased, while the ash content of NHs significantly increased. As opposed to the yield, the ash content significantly elevated with increasing temperature (FWHs = 152.6, p < 0.01; FCHs = 73. 8, p < 0.01; FNHs = 494.6 p < 0.01). It is conspicuous that NHs had a low yield from 11.43% to 27.06% and high ash content from 17.07% to 36.73%. This is because HTC promoted the occurrence of demineralization reaction, and the release of organic matter with high boiling point resulted in the accumulation of mineral elements. Acidic liquid medium was conducive to the release of minerals so that the metal ions in biomass transferred to the liquid phase. The alkaline liquid medium inhibited the dissolution behavior of metal ions, which was conducive to the occurrence of precipitation reaction, hence the ash content in hydrochar increased significantly.

With increasing HTC temperature, the content of C and N increased, while the O content decreased, and the H content was relatively stable in the hydrochars (Table 2). The content of N in WHs and CHs was higher than that in the feedstock. It showed that the metal ion Ca2+ and higher HTC temperature were favorable for the conversion of N in the liquid to more stable compounds migrating into hydrochars, while the alkaline condition would inhibit it (Ekpo et al. 2016a). As shown in Fig. 6, dehydration and decarboxylation were the major reactions performed during HTC. The H/C and O/C atomic ratios of hydrochar decreased with the increasing reaction temperature with the same liquid medium, suggesting that the aromatic structures and hydrophobic surfaces of hydrochar were enhanced at higher HTC temperature.

Fig. 6
figure 6

Van Krevelen diagram of C. indica and the derived hydrochars

3.3.2 Functional groups

The FTIR spectra of the C. indica biomass and the derived hydrochar were depicted in Fig. 7. As shown in the FTIR spectra, the functional groups were effectively preserved on the surface of the hydrochar from C. indica biomass by HTC. The functional groups in hydrochar exhibited a distinct temperature-dependent evolution. The characteristic peaks of C-O and C–O–C (1032–1159 cm−1) in WHs and CHs gradually weakened with increasing HTC temperature, indicating the degradation of hemicellulose and cellulose (Dai et al. 2013). The gradual weakening of broad peaks around 3400 cm−1 suggested a loss of -OH groups in hydrochar due to dehydration reactions (Keiluweit et al. 2010). The C = O and C = C absorption bands weaken around 1611 and 1510 cm−1 with increasing temperature due to the catalyzed condensation reaction (Yang et al. 2015). The characteristic peaks of CaCl2-modified hydrochars exhibited a slight reduction in intensity of typical functional groups (e.g., -OH, C-O, and C–O–C) compared to WHs, indicating that CaCl2 could disrupt hydrogen bonding between adjacent cellulose polymer strands (Lynam et al. 2012). Cellulose and hemicellulose underwent further degradation, particularly in the presence of the catalytic salt. However, a more pronounced alteration was observed in NHs, where peak intensities of functional groups (e.g., C-O, and C–O–C) were enhanced. This enhancement could be attributed to an increase in the pH of the liquid medium, which promoted organic matter cleavage and retention of oxygen-containing functional groups (Yang et al. 2015). In comparison with WHs, an obvious shift occurred at the peak of C = C at 1580 cm−1 for NHs, belonging to aromatic groups was attributed to the conjugation effect resulting from increased aromatic ring structures (Liu et al. 2024). In summary, different HTC conditions such as temperature, metal ions, and pH of the liquid medium significantly influenced the functional group evolution, resulting in changes of the physicochemical properties of the hydrochar.

Fig. 7
figure 7

FTIR spectra and spectroscopic assignment of C. indica and the derived hydrochars at different temperatures and reaction media (a) H2O, (b) CaCl2 and (c) NaOH

3.4 Effect of endogenous-P in hydrochars on soil available P

DGT technique was used to analyze the available P to plants in soil mixed with hydrochar (Fig. 8). The concentration of DGT-P (CDGT-P) in the soil with hydrochar addition (108–201 μg·L−1) was higher than that in the control soil (103 μg·L−1), which indicated that the addition of hydrochar elevated the available P content in soil. Similarly, an increase in soil DGT-P content was found in the application of biochar derived from sludge (Vogel et al. 2017) and animal manure (Bruun et al. 2017). With increasing HTC temperature, the increase in CDGT-P elevated from 5.00% and 10.30% to 54.00% and 36.84% with the application of WHs and CHs, respectively, suggesting that the available P content in the hydrochar increased with the increasing reaction temperature. As for the hydrochar prepared with NaOH as the liquid medium, the growth rate of soil DGT-P content fluctuated between 39.43% and 55.88% with the rising HTC temperature after applying hydrochar to the soil. Despite the significant increase in the TP content of NHs with increasing temperature, the P species became more stable. This resulted in a fluctuating trend of available P content in NHs. The correlational analysis between DGT-P and NaHCO3/NaOH-P as well as the various P species fitted by linear superposition with P K-edge XANES was carried out. Generally, NaHCO3-P and NaOH-P were considered the potentially available P in soil. As a result, CDGT-P was correlated with the content of NaOH-P content (r = 0.654, p < 0.01), whereas it was not correlated with NaHCO3-P content (r = 0.483, p = 0.111) and total contents of NaOH-P and NaHCO3-P (r = 0.337, p = 0.108). In contrast, Menezes-Blackburn et al. reported that the correlation between CDGT-P and NaHCO3-P (r = 0.57, p < 0.01) was significant in 32 soils (Menezes-Blackburn et al. 2016). Notably, CDGT-P was significantly correlated with the Fe/Al-P (r = 0.795, p < 0.01) determined by XANES. The Fe/Al-P were demonstrated to be a source of available P for soils (Wu et al. 2014). Hence, DGT-P showed a good agreement with the chemically extracted P and different P species in the assessment of available P in soil, but the specific correspondence varied with the application conditions such as soil properties, biochar type, and climate conditions. Among all the hydrochars, NHs showed the best effect on the CDGT-P improvement at the same HTC temperature, which could be attributed to higher available phosphorus content in NHs.

Fig. 8
figure 8

DGT concentration of P in soil and its mixture with 3% hydrochars. Error bars represent standard deviations observed for triplicate experiments

Therefore, combining the DGT, XANES, and the chemical extraction results, higher HTC temperature and alkaline modification could improve the P availability of hydrochar during the soil application process, which could provide theoretical support for the target design of the P-enriched hydrochar. Moreover, considering the unique alkaline property of NaOH-modified hydrochar (pH =  ~ 10.5), it has good potential for the improvement of acid soils via pH modification and P promotion. In addition to the P species in hydrochar, the migration and transformation of P during the soil application process should be further determined to achieve the efficient utilization of P.

4 Conclusions

It is essential to elucidate the evolution of phosphorus during hydrothermal carbonization of wetland plants to achieve efficient reclamation and reutilization of phosphorus. This work highlighted the migration and transformation of phosphorus in typical wetland plant during hydrothermal carbonization and further analyzed the effect of endogenous-P in hydrochar on soil available P. The targeted enrichment and 100% recovery of phosphorus in hydrochar were achieved by changing HTC conditions. In general, the enrichment of P in hydrochar was facilitated by elevated temperature, which was further enhanced by metal ions Ca2+ and alkaline liquid medium. P K-edge XANES, 31P-liquid NMR, and sequential extraction analyses indicated that temperature, metal ions and the pH of the liquid medium were important in shaping the phosphorus forms. More stable P compounds such as hydroxyapatite dominated in hydrochar with elevating the reaction temperature, addition of exogenous calcium ions, and alkaline medium. Hence, it is possible to regulate the species of phosphorus in hydrochar and achieve efficient recovery by changing the HTC temperature and the liquid medium. The application of hydrochar led to an increase in soil available P content, which was attributed to the abundance of different available endogenous P forms in the hydrochar. Naturally, the fertilization potential of hydrochar still depended on a variety of factors such as soil properties, microbial activity, and climate conditions. Considering that the P in wetland plant biomass was absorbed from wastewater or eutrophic water, the derived hydrochar is a promising shuttle to transfer the surplus P in the water body to P-deficient soil. Moreover, the P-enriched hydrochar from wetland plant could be an alternative phosphorus fertilizer to alleviate the shortage of phosphate ore. Hence, the target design of P-enriched hydrochar from wetland plant via changing the liquid medium and reaction temperature is a promising win–win strategy. Furthermore, future studies are needed to determine the fertilization potential of the P-enriched hydrochar via field trial prior to the large-scale soil application.