摘要:Biowaste materials could be considered a renewable source of fertilizer if methods for recovering P from waste can be developed. Over the last few decades, there has been a high level of interest in using biochar to remove contaminants from aqueous solutions. This study was conducted using a range of salts that are commonly found in biogas slurry (ZnCl<sub>2</sub>, FeCl<sub>3</sub>, FeCl<sub>2</sub>, CuCl<sub>2</sub>, Na<sub>2</sub>CO<sub>3</sub>, and NaHCO<sub>3</sub>). Experiments with a biogas digester and aqueous solution were conducted at pH nine integration with NH<sub>4</sub><sup>+</sup>, Mg<sup>2+</sup>, and PO<sub>4</sub><sup>3−</sup> molar ratios of 1.0, 1.2, and 1.8, respectively. The chemical analysis was measured to find out the composition of the precipitate, and struvite was employed to remove the aqueous solutions. The study found that the most efficient removal of phosphate and ammonium occurred at pH nine in Tongan sludge urban biochar and rice biochar, respectively. Increasing the concentration of phosphate and ammonium increased the phosphate and ammonium content. Moreover, increasing the biochar temperature and increasing the concentration of phosphate and ammonium increased the efficiency of the removal of ammonium and phosphate. The removal efficiency of ammonium and phosphate increased from 15.0% to 71.0% and 18.0% to 99.0%, respectively, by increasing the dose of respective ions K<sup>+</sup>, Zn<sup>2+</sup>, Fe<sup>3+</sup>, Fe<sup>2+</sup>, Cu<sup>2+</sup>, and CO<sub>3</sub><sup>2</sup>.The elements were increased from 58.0 to 71.0 for HCO<sub>3</sub><sup>−</sup> with the increasing concentration from 30 mg L<sup>−1</sup> to 240 mg L<sup>−1</sup>.This study concluded that phosphate and ammonium can be recovered from mushroom soil biochar and rice biochar, and phosphate can be effectively recovered via the struvite precipitation method.