Quantitative-XRD method is employed to analyze struvite contents in precipitates.
Struvite content is with a negative linear correlation to Ca/Mg molar ratio.
PH ≥ 10.0 adversely affects struvite and hydroxyapatite crystallization.
Fe3+ is a more effective inhibitor for struvite crystallization compared to Ca2+.