Nitrogen (N) and phosphorus (P) contamination in wastewater pose significant environmental challenges. Recovering these elements as struvite not only mitigates environmental pollution but also aligns with sustainable development goals by recycling valuable resources. This research hypothesizes that optimized recovery methods can enhance the efficiency and effectiveness of struvite crystallization, addressing existing challenges in conventional techniques. To achieve optimal removal and recovery of N and P from sewage, a response surface model was employed. This model allowed for the identification of optimal process conditions and the elucidation of interactions among various components. Key variables impacting struvite recovery were identified using the Plackett–Burman design, while the central composite design was used for further optimization. The study determined the optimized parameters for phosphate recovery to be an Mg:P ratio of 1:2, pH of 10.5, additive concentration of 350 ppm, and a precipitation time of 30 min. Thermogravimetric analysis indicated that the residual amounts were below 50%. Additionally, the size and surface morphology of the final product were influenced by the process parameters, particularly the Mg:P ratio and pH. An inexpensive, quick, and efficient method to recover struvite fertilizer with a minimum demand of time and chemicals is established toward SDG 2 and 6.

  • N and P recovery as struvite from sewage wastewater is a solution for environmental sustainability.

  • The response surface model was applied to enhance the recovery of N and P.

  • Key variables influencing struvite recovery were identified and optimized.

  • N and P content of the recovered struvite meets the requirements of the fertilizer.

  • A conservative cost estimate based on operating costs: the struvite sale price is 350 $/ton, 43 lower than commercial P-fertilizer.

Phosphorus (P) stands as an indispensable component of life, without any viable replacement (Chowdhury et al. 2017). Phosphate is typically derived from phosphate mineral rock, a scarce resource projected to be exhausted shortly (Li et al. 2019a). Simultaneously, the efficiency of current phosphorus utilization is maximum with a minimal amount of phosphorus being reused or recycled (Li et al. 2019b). During the leaching, the phosphorus enters rivers, lakes, and the ocean, resulting in eutrophication and red flood (Numviyimana et al. 2020). This large-scale discharge of nutrients can be mitigated by P removal techniques such as physical methods like adsorption, filtration, chemical precipitation, or ion exchange as well as biological methods using plant uptake or microbial degradation techniques (Ramasahayam et al. 2014; Perera et al. 2019). Recent past growing interest in economically justified concepts for P recovery using low-cost biochar adsorption (Maroušek et al. 2020). However, the recovery rate of nitrogen (N), and P from wastewater using these available methods did not contribute to the efficient use of nutrients for food security (Szymańska et al. 2020). Sometimes the suitability of recovered products like sludge as a fertilizer is debated due to the contaminants. Among the technological solutions for nutrient recovery from waste streams available in the literature (Ren et al. 2016), struvite precipitation and ammonia stripping are identified in systematic maps of technologies from domestic wastewater/agriculture waste streams/livestock wastes (Rodríguez Arredondo et al. 2015).

A notable feature in the precipitation of struvite is the simultaneous retrieval of ammonia and phosphate from nutrient-rich wastewater (Rufí-Salís et al. 2022). This method entails crystallization in the presence of magnesium, resulting in the formation of magnesium ammonia phosphate, commonly referred to as struvite (MgNH4PO4·6H2O) (Yu et al. 2017). Struvite is a magnesium-rich, slow-releasing fertilizer rich in magnesium, ammonium, and phosphate and has a mica-like crystal with a white to yellowish plate appearance. Additionally, it finds application as both a construction material and an adsorbent (Uysal et al. 2014). On the one hand, the cost of N, P fertilizer has increased several times in the last 5 years for various reasons (Krishnamoorthy et al. 2021). India is primarily aligned with agriculture, being the foundation of the country's economy (Talboys et al. 2016). The government is allocating a budget for supplying N, P fertilizer at a subsidized rate. Therefore, the traditional fertilizers can be substituted with struvite which would simultaneously support a circular economy.

Literature reports on the studies of the economy of struvite have been discussed by Josef Marousek. The report states that more than 2.5 kg of P can be recovered from the 80 mg P L−1 environment per 100 kg of modified biochar (Maroušek et al. 2020). The cost of production (213 € 1 kg Pe− 1) is approximately 3% less than what the farmers are ready to pay for the same product (Maroušek & Gavurová 2022). In another report on the effect of change of struvite sale price on the profit share had examined for the optimum conditions, and the investment and operating costs were determined. The net profit is predicted when the struvite sale price is raised to 560 V/ton, with a payback period of approximately 6 years (Yetilmezsoy et al. 2017). Few reports on the sale of recovered struvite at higher prices in the range of US$ 100–450 depending upon the operating conditions and environmental discharge standard.

However, the recovery of phosphorus and nitrogen through struvite crystallization exhibits significant promise in addressing the diminishing of mineral phosphorus resources mitigating environmental pollution in nearby streams (Sun et al. 2023), and completing the P loop. Another advantage of struvite as fertilizer over conventional P mineral fertilizer is its slow-releasing rate which can completely avoid run-off when rain falls soon after the application (Shalaby et al. 2015). Low P availability to plant nutrition is associated with the complexity of struvite crystal formation that is driven by process conditions. Furthermore, the decomposition process is mainly from a form of struvite, a complex mineral present during the preparation, and conditioning of soil, crop response to struvite, etc. (Stávková & Maroušek 2021). Compared to traditional fertilizer, P solubility is limited in struvite that can avoid the P adsorption or immobilization into soil particle surfaces (Latifian et al. 2012). Concurrently, it increases the P concentration for early crop growth and later stages when crop P demand is high (Zin et al. 2020).

In light of these facts, an alternate source of fertilizer production is necessary to fulfill the demand for fertilizer (Lavanya & Ramesh 2021). In this regard, the beneficiation of nutrients from waste streams to form P-rich compounds as fertilizer is attractive in economies as well moving to fulfill sustainable development goals (SDG) 2 and 6 (Wang et al. 2021; Moyo et al. 2023). Therefore, from the beneficial use of struvite under a reduced application rate of P whilst maintaining the yield with minimum environmental impact, this study aims to produce struvite from wastewater with a method of low-cost, efficient, and convenient operation (Martinon 2023; Trotta et al. 2023).

Simple precipitation techniques can produce struvite, but it is important to understand the key factors of its nucleation and growth, in addition to the particular mechanics of crystallization that lead to its formation (Campos et al. 2023). Widely investigated studies in the literature are on optimal pH (Moussa et al. 2011), temperature, stirring rate, and supersaturation level (Zhang et al. 2018) including the effects of external ions like calcium ions (Ca2+) (Capdevielle et al. 2013) and K+. Similarly, the sources of waste streams are different, including municipal wastewater (Qiu & Ting 2014), agro-industrial wastes, swine wastewater (Huang et al. 2014), and human urine (O'Neal & Boyer 2013). Of all of these sources, sewage contains a lot of nitrogen and phosphorus but little magnesium (Mg). Therefore, amending the Mg source is necessary to get a substantial recovery of P. Magnesium obtained from a variety of salts, including seawater, brucite, MgCl2 (magnesium chloride) (Zhou et al. 2021), and magnesite. According to reports utilizing bittern as a source of Mg (Addagada 2020) can reduce the cost as well, struvite precipitation was able to reach as much as 98% of the phosphate from sewage effluent (Wang et al. 2023).

From the process point, it is clear that to achieve the largest output from wastewater, it is practically necessary to optimize the struvite precipitation process. However, the standard procedure for figuring out the ideal circumstances for struvite precipitation is incredibly time-consuming and labor-intensive because only one parameter is changed at a time while the others are kept constant (McIntosh et al. 2022). Given the above, the response surface methodology (RSM), which is one of the most used techniques is followed in this study to examine the impact of pH, ammonium, phosphate, magnesium, and calcium concentrations on the recovery of phosphate from actual sewage wastewater.

The economic viability of struvite recovery is pivotal for its widespread adoption. Studies emphasize the dual importance of profitability and environmental sustainability in attracting investment and overcoming the traditional barriers to technology adoption (Martinon 2023; Trotta et al. 2023). By closing the phosphorus loop and supporting global SDG related to food security and water quality (Wang et al. 2021; Moyo et al. 2023), struvite precipitation aligns with broader sustainability agendas.

In conclusion, struvite recovery from wastewater represents a compelling solution to the urgent challenges posed by phosphorus depletion and environmental degradation. Its potential to transform wastewater into a valuable resource underscores the need for continued research and investment to optimize its efficiency and economic feasibility.

Sample collection

Sewage wastewater was gathered from the effluent from the primary treatment unit in a nearby wastewater treatment plant. Citric acid (99%), sodium hydroxide (99%), and magnesium chloride hexahydrate (99%) were procured from Sigma Aldrich and all chemicals used in the experimentation were analytical grade. After collection, the wastewater underwent analysis and was stored in a 25 L storage tank for 24 h to facilitate the settling of unwanted particles. The physicochemical characterization of the wastewater is detailed in Table S1. To assess the consistency of struvite production, sampling was done at 10-day intervals over 2 months at an interval of 10 days for 2 months. N and P levels were analyzed for the samples and the respective concentration is shown in Table 1. The total nitrogen (N) and phosphorus (P) are 160 ± 30 and 80 ± 20 mg/L well within the range for the precipitation reaction for the struvite formation. The formation of struvite is represented in the following equation.
(1)
Table 1

Nitrogen and phosphorus concentrations at different periods in the waste stream

DaysTotal N (mg/L)Total P (mg/L)
10 160.5 ± 18 35 ± 0.9 
20 149 ± 25 39 ± 08 
30 150.5 ± 10 32 ± 10 
40 168 ± 30 36.5 ± 15 
50 165 ± 35 40 ± 20 
60 155 ± 20 38.5 ± 18 
DaysTotal N (mg/L)Total P (mg/L)
10 160.5 ± 18 35 ± 0.9 
20 149 ± 25 39 ± 08 
30 150.5 ± 10 32 ± 10 
40 168 ± 30 36.5 ± 15 
50 165 ± 35 40 ± 20 
60 155 ± 20 38.5 ± 18 

Experimental procedure

In the current study, six beakers, each with a working volume of 500 mL were utilized for the precipitation of struvite, magnesium ammonium phosphate (MgNH4PO4.6H2O). The trials were conducted following the experimental plan. The sewage wastewater was added, and mixed with the MgCl2 solution at room temperature, and sodium hydroxide solution was utilized for obtaining the required pH. The Whatman filter paper with a pore size of 40 μm was used to screen the contents once the struvite precipitation had completed. The precipitate was dried at room temperature until it reached consistent weights. A sample of the reaction was taken, and it was promptly stopped and acidified with a 0.1 M hydrochloric acid (HCl) solution to evaluate the remaining phosphate concentration (Hussain et al. 2022).

Experimental design

The optimization of chemical reactions and the influent parameters are common applications of the RSM, which is a blend of statistical and mathematical methodologies. The Plackett–Burmann design (PBD) model was used in this study (Shim et al. 2020), and the experimental data collected was analyzed using the Minitab software (Minitab Inc., USA) to determine the factors that affect the result, specifically the percentage of phosphate removal. The statistical model takes into account the interaction between the various parameters that affect the recovery of phosphate (Song et al. 2018).

In the current study, the PBD model is utilized to screen the operating variables. The mutual interaction amongst the following influencing variables is examined pH, Mg:P (ratio of magnesium to phosphate), temperature, stirring rate, additive concentration (citric acid concentration), seed dosage, and precipitation time at two levels as listed in Table S2. In the present study, the selected additive parameter is basically citric acid. The effect of this concentration is considered as one of the factors affecting the precipitation and size of the products. Sevgi Polat et al. studied the effect of the concentration and found to have an impact on the crystal growth stage. In view of this, it is treated as a separate factor in the factorial analysis because the levels of each factor are interdependent and cannot be isolated. This approach ensures that the interactions between factors are accurately captured, providing a more realistic representation of the experimental conditions. The range of the values for the variables was fixed based on the results obtained from the batch scale experiment and the screened variables were further optimized using a central composite design (CCD). The independent variables such as A: pH; B; Mg:P; C: time of precipitation and D: additive concentration were chosen based on the two-level screening using the PBD approach. Thirty distinct experimental sets, each one with three replications, were conducted according to the CCD experimental design matrix, with the following predetermined values such as pH of 7–11, Mg:P ratio of 1–2, precipitation time of 20–60 min, and additive concentration of 100–500 mg/L. Results on recovery percentage were observed and compared to the predicted value. Equation (2) was used to estimate the phosphate recovery percentage.
(2)
where Ci is the initial concentration; Cf is the final concentration

The results from experiments performed in this study were examined with respect to the chemical combinations, which met the fertilizer producer industry's receiving environment discharge standards and were economically compared based on the operating parameters summarized in Table S6.

Struvite characterization

Struvite synthesized using batch mode was subjected to mineral phase identification through X-ray diffraction (XRD) and Micro Raman spectroscopy. Field emission scanning electron microscopy (FESEM) with energy-dispersive X-ray (EDAX) was used to examine the morphological phase arrangement of the crystals that had formed. The crystalline content and phase composition of struvite were obtained using the XRD technique. The X-ray Diffractometer (Shimadzu, Japan), test model XRD-6000 is used for XRD at 40 kV and Cu K-alpha wavelengths: 1.54060 and 1.54439 Å (BRUKER USA D8 Advance, Davinci). Thermal stability was studied from thermogravimetric analysis/differential thermal analysis (TGA/DTA) in the temperature range from 30 to 350 °C at different heating rates under the N2 atmosphere. All the experiments were conducted in duplicate to achieve the best accuracy. STA 2500 regulus-TGA-differential scanning calorimetry (DSC) thermal analyser is employed for thermograms and used in estimating the kinetics of the disintegration. Scanning electron microscopy (SEM) was performed using a high-resolution field emission electron microscope (Thermo-scientific Apreo S) to investigate the microstructure of struvite at elevated temperatures. The EDS study was done to recognize the composition and purity of the struvite obtained. It is a chemical microanalysis approach utilized in conjunction with SEM. The measurement of the wavelength and intensity of inelastically scattered light from molecules is known as Raman spectroscopy. The energy of the molecule vibrations causes the wavelengths of the Raman scattered light to differ from the incident light. The technique is used to find out the various functional groups that are Raman active. The BRUKER USA D8 Advance with Davinci served as the instrument model for the study, utilizing laser wavelengths of 325, 532, 633, and 785 nm, with a resolution of 0.4 cm−1 at 532 nm.

Optimization of P recovery efficiency by RSM

The experiments were conducted using the Plackett–Burman Design (PBD) model, and the resulting data were analyzed with the Minitab software package (Minitab Inc., USA) to identify the factors influencing the outcome, particularly the degree of phosphate removal. This statistical model considers the interconnected relationships among the various parameters affecting phosphate recovery. Statistical analyses were conducted using Design Expert 7.1.6 statistical software (Stat-Ease, Inc., Minneapolis, MN, USA), which included the analysis of variance (ANOVA) and multiple regressions (Sathiasivan et al. 2019).

Optimization of the process condition for struvite through response surface methodology

In the Plackett–Burman design experiments, 12 distinct trials were conducted to investigate 11 factors associated with 9 process parameters, including two dummy factors. Trial-7 had the maximum phosphate removal while Trial-9 had the lowest, according to the results shown in Table S3. To determine the confidence level and calculate the p-value, an ANOVA was performed on the response data. According to Table 2, the p-value at a 90% confidence level was determined to be the benchmark to identify the significant and comparatively non-significant parameters. Statistical analysis indicates that pH, Mg:P ratio, additive concentration, and precipitation time have a significant impact on struvite yield. According to their p-values, stirring rate, revolutions per minute (rpm), seed dosage (g/L), and temperature (°C) are insignificant.

Table 2

Statistical analysis of Plackett–Burmann experimental design on phosphate recovery

TermsCoefficientT-valueP-valueConfidence level (%)
Constant 73.917 68.64 0.000  
pH 3.750 3.48 0.025 98 
Mg:P 3.417 3.17 0.034 97 
Temperature 0.250 0.23 0.828 17 
Stirring rate −0.583 −0.54 0.617 38 
Additive concentration 2.583 2.40 0.074 93 
Seed dosage −1.250 −1.16 0.310 69 
Precipitation time 2.750 2.55 0.063 94 
TermsCoefficientT-valueP-valueConfidence level (%)
Constant 73.917 68.64 0.000  
pH 3.750 3.48 0.025 98 
Mg:P 3.417 3.17 0.034 97 
Temperature 0.250 0.23 0.828 17 
Stirring rate −0.583 −0.54 0.617 38 
Additive concentration 2.583 2.40 0.074 93 
Seed dosage −1.250 −1.16 0.310 69 
Precipitation time 2.750 2.55 0.063 94 

Figure 1 shows the Pareto chart for the experimental data and the parameters were screened out which were less than the benchmark confidence level of 90%. The chart indicates that temperature, aeration rate, reaction time, pH level, and Mg:P ratio significantly influenced the struvite recovery (Jabr et al. 2019; Moh et al. 2019).
Figure 1

Pareto chart showing the impact of a process variable on the phosphate recovery.

Figure 1

Pareto chart showing the impact of a process variable on the phosphate recovery.

Close modal
The optimal conditions for achieving the highest struvite yield were determined through additional experiments employing the central composite experimental design (CCD). In this design, 30 different trials, detailed in Table S4, were conducted to investigate four factors such as Mg/P ratio, pH, precipitation time, and additive concentration. Throughout the experiments, stirring rate, temperature, and seed dosage were maintained constant, while the values obtained were subsequently analyzed through multiple linear regression. The efficacy of the established model is assessed using ANOVA. The corresponding ANOVA chart, featuring interaction parameters and ‘P’ values (representing phosphate recovery), is provided in Table S5. Equation (3) provides the correlation between the significant variables influencing phosphate recovery.
(3)

The results of the ANOVA demonstrate that the linear and squared terms in the second-order polynomial model have a high significance (p ≤ 0.005), which accurately represents the association for phosphate recovery. The findings show that the factors (pH, additive concentration, pH with additive concentration, and Mg:P ratio with additive concentration) have a major effect on the recovery of phosphate. Notably, a reasonable agreement is indicated by a correlation coefficient of 0.97 between the predicted and experimental values.

Interaction between phosphate recovery and process variables

Three-dimensional response surface plots were used to display the CCD-based results. The phosphate recovery concerning precipitation time and pH is represented in Figure 2(a), Mg:P and pH in Figure 2(b) and 2(c) are between additive concentration and pH. When precipitation duration and additive concentration are held constant, it is clear from Figure 2(a) that phosphate recovery increases as pH rises from 8 to 10.5. Phosphate recovery is negatively impacted by a subsequent rise in pH. According to Lavanya & Sri Krishnaperumal Thanga (2021), the recovery of almost 74% at pH 10.5 is consistent with observations in the literature. Chen et al. (2018) have suggested that the increased recovery of P at higher pH levels can be explained by the decreased solubility of struvite. However, after pH 10.5, the formation of magnesium phosphate appears to hinder the output of struvite (Barbosa et al. 2016). For the Mg:P ratio, where precipitation is concerned, a similar pattern is shown. Under well-stirred conditions, the formation of struvite is completed within approximately 10 min at pH 8–10.5. Subsequently, crystal growth and settling occur. Notably, at higher pH levels, the crystals are larger and settle more rapidly. However, the extent to which all formed struvite settles depends on the duration allowed for settling, potentially resulting in a lower apparent yield (Numviyimana et al. 2020).
Figure 2

Phosphate removal efficiency as a function of interaction within (a) pH and precipitation time, (b) pH and Mg:P, and (c) pH and additive concentration.

Figure 2

Phosphate removal efficiency as a function of interaction within (a) pH and precipitation time, (b) pH and Mg:P, and (c) pH and additive concentration.

Close modal

The combined effects of pH and Mg:P on the response are shown in Figure 2(b), with the other two variables held constant. Phosphate recovery is seen to increase up to around half an hour into the precipitation period. Phosphate recovery does not significantly increase with further time extensions, indicating that the maximal phosphorous recovery can be reached in around 30 min at a pH of 10.5 and an additive concentration of 350 ppm. The response surface plot, shown in Figure 2(c), illustrates the effect of pH and additive concentration. It shows that up to 10.5 pH and 350 ppm additive concentration rises simultaneously, and phosphorous recovery increases. After that, the yield percentage decreases.

Similarly, the interaction effects of the Mg:P ratio and precipitation time on phosphate recovery are shown in Figure 3(a). The elimination of phosphate was not very effective during short periods of precipitation. A precipitation time of 30 min proved adequate for the settling of the formed struvite. When the time was shorter, precipitation may not have been complete, likely due to insufficient settling time. Beyond 30 min, there was no substantial increase in the percentage of phosphate recovery. Figure 3(b) investigates the effects of additive concentration and Mg:P ratio. Phosphate recovery of 79% was achieved at a Mg:P ratio of 1.2 and 350 ppm additive concentration. Struvite crystal formation is inhibited by increased Mg/P ratio (>1.2) and additive concentration (>350 ppm), which lowers phosphate recovery. Figure 3(c) shows the relationship between additive concentration and precipitation time. These results show that in the selected spot, an optimum yield of about 75% recovery is seen close to the central values of precipitation time (30 min) and additive concentration (350 ppm).
Figure 3

Phosphate removal efficiency as a function of interaction within (a) additive concentration and Mg:P; (b) precipitation time and Mg:P; and (c) precipitation time and additive concentration.

Figure 3

Phosphate removal efficiency as a function of interaction within (a) additive concentration and Mg:P; (b) precipitation time and Mg:P; and (c) precipitation time and additive concentration.

Close modal

Based on the aforementioned observations, it can be concluded that the CCD predicts a maximum yield of approximately 89% phosphate recovery under conditions of pH 10.5, additive concentration of 350 ppm, Mg/P ratio of 1.2, and a precipitation time of 30 min. In agreement with these predictions, a recovery of about 93% under similar conditions of about 26 °C was reported (Kumari et al. 2019). The significance of pH 10.5 is highlighted, as it favors the formation of magnesium phosphate, thereby diminishing struvite formation. Moreover, an increase in additive concentration beyond 350 ppm results in reduced struvite formation, possibly due to excess ammonium ions forming soluble ammonium phosphate, thereby reducing phosphate recovery as struvite. A validation experiment conducted with sewage wastewater yielded approximately 85% phosphate recovery, as indicated in Table 3. These findings suggest promising phosphate recovery from sewage wastewater.

Table 3

Percentage of phosphate recovery

SampleRecovery of phosphate %
Trial 1Trial 2Trial 3Mean
Wastewater (real-time) 89 81 87 85 
SampleRecovery of phosphate %
Trial 1Trial 2Trial 3Mean
Wastewater (real-time) 89 81 87 85 

The following conclusions were drawn from a comparison of RSM cum CCD techniques and traditional optimization. In the classical method, stirring was employed without considering additive concentration. Stirring likely facilitated the escape of ammonia, thereby diminishing phosphate recovery as struvite. Additionally, stirring may have favored the formation of ammonium phosphate, as struvite nuclei could potentially be sheared. Consequently, the optimum parameters differed between the two approaches. Nevertheless, for continuous production, the conditions derived from CCD have been adopted.

The parameters examined included pH (ranging from 7 to 11), Mg/P ratio (from 1 to 2), and precipitation time (spanning 20–60 min), and the optimal point was identified. The CCD experimental design matrix, following the PBD experiments to identify significant variables, revealed that, in addition to precipitation time, pH, Mg:P ratio, and additive concentration also influence struvite formation. Accordingly, 30 distinct experimental sets were conducted within the predefined range of values. The discussed results covered the Mg:P ratio (1–2), pH (8–11), additive concentration (100–500 ppm), and precipitation time (20–60 min). With a statistically significant correlation factor of 0.92 considered, the observed findings were as follows: (i) At pH 10.5, 350 ppm of additive concentration, 1.2 magnesium-to-phosphate ratio, and 30 min of precipitation duration, the highest struvite yield (89%) was attained. (ii) Higher pH values than 10.5 promoted the production of magnesium phosphate, which decreased the quantity of struvite that formed. (iii) The synthesis of struvite was inhibited by an increase in additive concentration above 350 ppm, presumably due to an excess of ammonium ions.

Economic considerations

Struvite precipitation from wastewater presents a promising economic opportunity for the recovery of nutrients from wastewater by reducing operational costs, generating revenue from recovered products, and contributing to environmental sustainability. However, its economic feasibility depends on several factors, including initial capital investment, operating costs, and market demand. The precipitation cum crystallization technique would be a suitable method of producing struvite fertilizer where N and P source from the raw feed of wastewater with zero cost. Since the relationship between phosphate content in raw feed and struvite production was non-linear as well, the ion concentration and ion–ion interaction became significant. For this reason, optimization studies must be conducted to maximize the N and P recovery as struvite with minimal amendment of magnesium source and alkali. With this background, the process conditions reported in this study and by other authors (Maroušek & Maroušková 2021) that the economic analysis was done for input chemical costs and the mass balance. The current report findings imply that the struvite precipitation modeling score R2 is close to 1 with no negative impact on the final analysis suggesting the constructed model depicted better P removal efficiency compared to other results reported. The operating cost considering the chemical prices for the present study was found to be 0.36 USD as shown in Table S6. The production cost of diammonium phosphate (DAP) is approximately 0.44 USD, which is higher than that of recovered struvite. Commercial DAP relies on non-renewable rock phosphate as its raw material, whereas struvite production utilizes diversified raw feedstock, with a potential benefit in the physio-chemical treatment of wastewater containing nutrients. Furthermore, by optimizing the maintenance practice, improving industrial operation performance, and shifting standards toward supply–demand in this area, the adaptation of artificial intelligence (AI) and related technologies can help to transform positive cash flow change to project Industry 4.0 (Dvorský et al. 2023; Kliestik et al. 2023).

Purity and crystal size of struvite

Figure 4 displays the sample XRD pattern that was analyzed using the CRYSTAL IMPACT Match XRD program (Version 3.14–238 for Windows 64-bit). The red line represents the standard struvite. The sample has a density of 1,801 kg/m3, and its phase purity is determined to be 84%. These results align well with the space group analysis, revealing the sample's ortho-rhombic nature with lattice parameters a = 6.9950 Å, b = 6.1420 Å, and c = 11.2180 Å (Polat & Sayan 2019).
Figure 4

Power XRD diffraction of struvite.

Figure 4

Power XRD diffraction of struvite.

Close modal

SEM–EDS

The surface and elemental composition of the struvite sample are shown in Figure 5. The precipitation and crystallization process resulted in a mixture of rod, brick, and rectangular crystal morphologies, which are visible with an average crystal size of 10 μm for the batch procedure depicted in Figure 5(a). The results of this study verified earlier research on the morphology of struvite crystals derived from wastewater (Martinon 2023). In Figure 5(b), the energy dispersive X-ray spectroscopy (EDS) spectra of struvite crystals are depicted. The chemical analysis of the produced struvite crystals indicates the presence of magnesium (Mg), phosphate (P), ammonium (N), and oxygen (O), exhibiting a Mg:P ratio of 1.1, consistent with the specified chemical composition.
Figure 5

SEM image (a) and EDS analysis (b) of struvite sample.

Figure 5

SEM image (a) and EDS analysis (b) of struvite sample.

Close modal

Raman spectroscopy

The Raman spectra of struvite (Figure 6) showed a notable peak at 1,400 cm−1 for ammonium vibration and four principal peaks vibrations υ1–944, υ2–424, υ3–736, υ4–840, and 227, 331 cm−1 in lattice mode) for phosphate vibrations. These Raman shifts are confirmed from literature results (Sathiasivan et al. 2021).
Figure 6

Raman spectra of struvite.

Figure 6

Raman spectra of struvite.

Close modal

TGA/DTA

The most important stage in maintaining the fragility and crystal size of struvite precipitate is drying. An example of the dried struvite sample's TGA/DTA curve is presented in Figure 7. About 110 °C was the temperature at which the struvite sample's TGA revealed moisture loss. Between 220 and 300 °C, a 50% mass loss was noted, indicating an ammonia breakdown. Thus, struvite fertilizer application in fields without structural alteration was validated by thermal analysis. Overall mass loss was due to ammonia and water upon heating in the 100–300 °C ranges (Pal et al. 2015). With increasing temperature, the rate of mass loss increased. While mass loss happened more quickly at 100 °C, it happened slowly at 60 °C. As temperature rises, the percentage of mass loss likewise increases, and mass loss stabilizes at greater temperatures. One possible explanation for the 1% mass loss at 60 °C could be the surface of the crystalline powder sample releasing adsorbed water. The reduction in mass of 45% at 100 °C was attributed to the breakdown of monohydrate dittmarite struvite, induced by the liberation of H2O (s). This view is consistent with earlier research that suggested struvite thermally decomposed to dittmarite in the air at 103 °C (Equation (4)). There was a 50% overall mass loss at 250–300 °C. Consequently, the measured mass loss suggested that all volatiles had been completely removed from the struvite structure, and that might have been related to the reaction (Heraldy et al. 2017).
(4)
Figure 7

Thermogram of struvite TGA/DTA.

Figure 7

Thermogram of struvite TGA/DTA.

Close modal

According to reports, struvite decomposes at a temperature of 125 °C. Because of this, the total mass loss was ascribed to the volatile emission of H2O (g) and NH3 (g) during heating in the 100–300 °C range.

The production of magnesium ammonium phosphate, struvite was performed from the phosphate-containing wastewater. RSM cum CCD model was applied to investigate the impact of four different independent factors after screening on the removal of P. The experimental data were interpreted using the polynomial regression model which has a coefficient of determination R2 value of 0.97 and the maximum P removal was estimated to be up to 85% within the range studied. The Pareto solutions based on the removal of P comprised a minimum precipitation time of 30 min Mg: P ratio of 1:2 and the additive concentration of 350 ppm. According to the analysis, pH and Mg:P parameters are essential in P removal efficiency. Considering the economic viability of the present study, despite DAP remains a widely used fertilizer with a well-established market, struvite offers a more economical and environmentally friendly alternative. Struvite's lower production costs, reduced hazardous considerations, and sustainable use of raw materials with optimized process conditions make it an increasingly attractive option in the context of growing environmental awareness and cost-efficiency demands.

The authors extend their sincere gratitude to the management of SRM Institute of Science and Technology for their invaluable support in facilitating this research.

In the future, the optimization algorithm which precisely determines the P recovery can be implemented.

All relevant data are included in the paper or its Supplementary Information.

The authors declare there is no conflict.

Addagada
L.
2020
Enhanced phosphate recovery using crystal-seed-enhanced struvite precipitation: Process optimization with response surface methodology
.
Journal of Hazardous, Toxic, and Radioactive Waste
,
24
(
4
),
04020027
.
https://doi.org/10.1061/(asce)hz.2153-5515.0000519
.
Barbosa
S. G.
,
Peixoto
L.
,
Meulman
B.
,
Alves
M. M.
&
Pereira
M. A.
2016
A design of experiments to assess phosphorous removal and crystal properties in struvite precipitation of source separated urine using different Mg sources
.
Chemical Engineering Journal
,
298
,
146
153
.
https://doi.org/10.1016/j.cej.2016.03.148
.
Campos
P. V.
,
Angélica
R. S.
,
Faria
L. J. G. D.
&
Paz
S. P. A. D.
2023
Phosphorus recovery from wastewater aiming fertilizer production: Struvite precipitation optimization using a sequential Plackett–Burman and Doehlert Design
.
Processes
,
11
(
9
),
2664
.
https://doi.org/10.3390/pr11092664
.
Capdevielle
A.
,
Sýkorová
E.
,
Biscans
B.
,
Béline
F.
&
Daumer
M. L.
2013
Optimization of struvite precipitation in synthetic biologically treated swine wastewater – determination of the optimal process parameters
.
Journal of Hazardous Materials
,
244–245
,
357
369
.
https://doi.org/10.1016/j.jhazmat.2012.11.054
.
Chen
Y.
,
Liu
C.
,
Guo
L.
,
Nie
J.
&
Li
C.
2018
Removal and recovery of phosphate anion as struvite from wastewater
.
Clean Technologies and Environmental Policy
,
20
(
10
),
2375
2380
.
https://doi.org/10.1007/s10098-018-1607-2
.
Chowdhury
R. B.
,
Moore
G. A.
,
Weatherley
A. J.
&
Arora
M.
2017
Key sustainability challenges for the global phosphorus resource, their implications for global food security, and options for mitigation
.
Journal of Cleaner Production
,
140
,
945
963
.
https://doi.org/10.1016/j.jclepro.2016.07.012
.
Dvorský
J.
,
Bednarz
J.
&
Blajer-Gołębiewska
A.
2023
The impact of corporate reputation and social media engagement on the sustainability of SMEs: Perceptions of top managers and the owners
.
Equilibrium. Quarterly Journal of Economics and Economic Policy
,
18
(
3
),
779
811
.
doi:10.24136/eq.2023.025
.
Heraldy
E.
,
Rahmawati
F.
,
Heriyanto
&
Putra
D. P.
2017
Preparation of struvite from desalination waste
.
Journal of Environmental Chemical Engineering
,
5
(
2
),
1666
1675
.
https://doi.org/10.1016/j.jece.2017.03.005
.
Huang
H.
,
Yang
J.
&
Li
D.
2014
Recovery and removal of ammonia-nitrogen and phosphate from swine wastewater by internal recycling of struvite chlorination product
.
Bioresource Technology
,
172
(
2014
),
253
259
.
https://doi.org/10.1016/j.biortech.2014.09.024
.
Hussain
M. N. N.
,
Letchoumanane
P.
,
Sivaraman
P.
&
Sathiasivan
K.
2022
Effective recovery of struvite from wastewater by electrochemical process
.
Desalination and Water Treatment
,
251
,
146
156
.
https://doi.org/10.5004/dwt.2022.28328
.
Jabr
G.
,
Saidan
M.
&
Al-Hmoud
N.
2019
Phosphorus recovery by struvite formation from al Samra municipal wastewater treatment plant in Jordan
.
Desalination and Water Treatment
,
146
,
315
325
.
https://doi.org/10.5004/dwt.2019.23608
.
Krishnamoorthy
N.
,
Dey
B.
,
Unpaprom
Y.
,
Ramaraj
R.
,
Maniam
G. P.
,
Govindan
N.
,
Jayaraman
S.
,
Arunachalam
T.
&
Paramasivan
B.
2021
Engineering principles and process designs for phosphorus recovery as struvite: A comprehensive review
.
Journal of Environmental Chemical Engineering
,
105579
.
https://doi.org/10.1016/j.jece.2021.105579
.
Kumari
S.
,
Jose
S.
&
Jagadevan
S.
2019
Optimization of phosphate recovery as struvite from synthetic distillery wastewater using a chemical equilibrium model
.
Environmental Science and Pollution Research
,
26
(
29
),
30452
30462
.
https://doi.org/10.1007/s11356-019-06152-4
.
Latifian
M.
,
Liu
J.
&
Mattiassona
B.
2012
Struvite-based fertilizer and its physical and chemical properties
.
Environmental Technology
,
33
(
24
),
2691
2697
.
https://doi.org/10.1080/09593330.2012.676073
.
Lavanya
A.
&
Ramesh
S. K. T.
2021
Crystal seed-enhanced ammonia nitrogen and phosphate recovery from landfill leachate using struvite precipitation technique
.
Environmental Science and Pollution Research
,
28
(
43
),
60569
60584
.
https://doi.org/10.1007/s11356-021-14950-y
.
Lavanya
A.
&
Sri Krishnaperumal Thanga
R.
2021
Effective removal of phosphorous from dairy wastewater by struvite precipitation: Process optimization using response surface methodology and chemical equilibrium modeling
.
Separation Science and Technology
,
56
(
2
),
395
410
.
https://doi.org/10.1080/01496395.2019.1709080
.
Li
B.
,
Bicknell
K. B.
&
Renwick
A.
2019a
Peak phosphorus, demand trends and implications for the sustainable management of phosphorus in China
.
Resources, Conservation and Recycling
,
146
,
316
328
.
https://doi.org/10.1016/j.resconrec.2019.03.033
.
Li
B.
,
Huang
H. M.
,
Boiarkina
I.
,
Yu
W.
,
Huang
Y. F.
,
Wang
G. Q.
&
Young
B. R.
2019b
Phosphorus recovery through struvite crystallisation: Recent developments in the understanding of operational factors
.
Journal of Environmental Management
,
248
,
109254
.
https://doi.org/10.1016/j.jenvman.2019.07.025
.
Maroušek
J.
&
Gavurová
B.
2022
Recovering phosphorous from biogas fermentation residues indicates promising economic results
.
Chemosphere
,
291
,
133008
.
https://doi.org/10.1016/j.chemosphere.2021.133008
.
Maroušek
J.
&
Maroušková
A.
2021
Economic considerations on nutrient utilization in wastewater management
.
Energies
14
(
12
),
3468
.
https://doi.org/10.3390/en14123468
.
Maroušek
J.
,
Kolář
L.
,
Strunecký
O.
,
Kopecký
M.
,
Bartoš
P.
,
Maroušková
A.
,
Cudlínová
E.
,
Konvalina
P.
,
Šoch
M.
,
Moudrý Jr
J.
,
Vaníčková
R.
&
Vrbka
J.
2020
Modified biochars present an economic challenge to phosphate management in wastewater treatment plants
.
Journal of Cleaner Production
,
272
,
123015
.
https://doi.org/10.1016/j.jclepro.2020.123015
.
Martinon
T. L. M.
2023
The urgent recognition of phosphate resource scarcity and pollution
.
RSC Sustainability
,
1
(
7
),
1594
1598
.
https://doi.org/10.1039/d3su90040a
.
McIntosh
S.
,
Hunt
L.
,
Thompson Brewster
E.
,
Rose
A.
,
Thornton
A.
&
Erler
D.
2022
Struvite production from dairy processing waste
.
Sustainability
,
14
(
23
),
15807
.
https://doi.org/10.3390/su142315807
.
Moussa
S. B.
,
Tlili
M. M.
,
Batis
N.
&
Amor
M. B.
2011
Influence of temperature on struvite precipitation by CO2-degassing method
.
Journal of Crystal Research and Technology
,
260
(
3
),
255
260
.
https://doi.org/10.1002/crat.201000571
.
Moyo
L. B.
,
Simate
G. S.
,
Mamvura
T. A.
&
Danha
G.
2023
Recovering phosphorus as struvite from anaerobic digestate of pig manure with ferrochrome slag as a magnesium source
.
Heliyon
,
9
(
4
),
e15506
.
https://doi.org/10.1016/j.heliyon.2023.e15506
.
Numviyimana
C.
,
Warchoł
J.
,
Izydorczyk
G.
,
Baśladyńska
S.
&
Chojnacka
K.
2020
Struvite production from dairy processing wastewater: Optimizing reaction conditions and effects of foreign ions through multi-response experimental models
.
Journal of the Taiwan Institute of Chemical Engineers
,
117
,
182
189
.
https://doi.org/10.1016/j.jtice.2020.11.031
.
O'Neal
J. A.
&
Boyer
T. H.
2013
Phosphate recovery using hybrid anion exchange: Applications to source-separated urine and combined wastewater streams
.
Water Research
,
47
(
14
),
5003
5017
.
https://doi.org/10.1016/j.watres.2013.05.037
.
Pal
P.
,
Abrar
I.
&
Kumar
R.
2015
Managing hazardous municipal wastewater: A membrane-integrated hybrid approach for fast and effective treatment in low-temperature environment
.
Journal of Membrane and Separation Technology
4
(
2
),
53
65
.
https://doi.org/10.6000/1929-6037.2015.04.02.3
.
Perera
M. K.
,
Englehardt
J. D.
&
Dvorak
A. C.
2019
Technologies for recovering nutrients from wastewater: A critical review
.
Environmental Engineering Science
,
36
(
5
),
511
529
.
https://doi.org/10.1089/ees.2018.0436
.
Polat
S.
&
Sayan
P.
2019
Application of response surface methodology with a Box–Behnken design for struvite precipitation
.
Advanced Powder Technology
,
30
(
10
),
2396
2407
.
https://doi.org/10.1016/j.apt.2019.07.022
.
Qiu
G.
&
Ting
Y. P.
2014
Direct phosphorus recovery from municipal wastewater via osmotic membrane bioreactor (OMBR) for wastewater treatment
.
Bioresource Technology
,
170
,
221
229
.
https://doi.org/10.1016/j.biortech.2014.07.103
.
Ramasahayam
S. K.
,
Guzman
L.
,
Gunawan
G.
&
Viswanathan
T.
2014
A comprehensive review of phosphorus removal technologies and processes
.
Journal of Macromolecular Science, Part A
,
51
(
6
),
538
545
.
https://doi.org/10.1080/10601325.2014.906271
.
Ren
W.
,
Zhou
Z.
,
Wan
L.
,
Hu
D.
,
Jiang
L. M.
&
Wang
L.
2016
Optimization of phosphorus removal from reject water of sludge thickening and dewatering process through struvite precipitation
.
Desalination and Water Treatment
,
57
(
33
),
15515
15523
.
https://doi.org/10.1080/19443994.2015.1072059
.
Rodríguez Arredondo
M.
,
Kuntke
P.
,
Jeremiasse
A. W.
,
Sleutels
T. H. J. A.
,
Buisman
C. J. N.
&
Ter Heijne
A.
2015
Bioelectrochemical systems for nitrogen removal and recovery from wastewater
.
Environmental Science: Water Research and Technology
,
1
(
1
),
22
33
.
https://doi.org/10.1039/c4ew00066h
.
Rufí-Salís
M.
,
Petit-Boix
A.
,
Leipold
S.
,
Villalba
G.
,
Rieradevall
J.
,
Moliné
E.
,
Gabarrell
X.
,
Carrera
J.
&
Suárez-Ojeda
M. E.
2022
Increasing resource circularity in wastewater treatment: Environmental implications of technological upgrades
.
Science of the Total Environment
,
838
.
https://doi.org/10.1016/j.scitotenv.2022.156422
.
Sathiasivan
K.
,
Ramaswamy
J.
&
Rajesh
M.
2019
Optimization studies on the production of struvite from human urine – waste into value
.
Desalination and Water Treatment
155
,
134
144
.
https://doi.org/10.5004/dwt.2019.24063
.
Sathiasivan
K.
,
Ramaswamy
J.
&
Rajesh
M.
2021
Struvite recovery from human urine in inverse fluidized bed reactor and evaluation of its fertilizing potential on the growth of Arachis hypogaea
.
Journal of Environmental Chemical Engineering
9
(
1
),
104965
.
https://doi.org/10.1016/J.JECE.2020.104965
.
Shalaby
M. S.
,
El-Rafie
S.
,
Hamzaoui
A. H.
&
M'nif
A.
2015
Modeling and optimization of phosphate recovery from industrial wastewater and precipitation of solid fertilizer using experimental design methodology
.
Chemical and Biochemical Engineering Quarterly
,
29
(
1
),
35
46
.
https://doi.org/10.15255/CABEQ.2014.2107
.
Shim
S.
,
Won
S.
,
Reza
A.
,
Kim
S.
,
Ahmed
N.
&
Ra
C.
2020
Design and optimization of fluidized bed reactor operating conditions for struvite recovery process from swine wastewater
.
Processes
,
8
(
4
).
https://doi.org/10.3390/PR8040422
.
Song
W.
,
Li
Z.
,
Liu
F.
,
Ding
Y.
,
Qi
P.
,
You
H.
&
Jin
C.
2018
Effective removal of ammonia nitrogen from waste seawater using crystal seed enhanced struvite precipitation technology with response surface methodology for process optimization
.
Environmental Science and Pollution Research
,
25
(
1
),
628
638
.
https://doi.org/10.1007/s11356-017-0441-0
.
Stávková
J.
&
Maroušek
J.
2021
Novel sorbent shows promising financial results on P recovery from sludge water
.
Chemosphere
,
276
,
130097
.
https://doi.org/10.1016/j.chemosphere.2021.130097
.
Sun
L.
,
Yang
Y.
,
Yuan
W.
,
Wu
X.
&
Cui
Z.
2023
Environmental technology & innovation struvite purity prediction by response surface methodology and chemical equilibrium modeling combination
.
Environmental Technology & Innovation
29
,
103016
.
https://doi.org/10.1016/j.eti.2023.103016
.
Szymańska
M.
,
Sosulski
T.
,
Bożętka
A.
,
Dawidowicz
U.
,
Wąs
A.
,
Szara
E.
,
Malak-Rawlikowska
A.
,
Sulewski
P.
,
van Pruissen
G. W. P.
&
Cornelissen
R. L.
2020
Evaluating the struvite recovered from anaerobic digestate in a farm bio-refinery as a slow-release fertiliser
.
Energies
,
13
(
20
).
https://doi.org/10.3390/en13205342
.
Talboys
P. J.
,
Heppell
J.
,
Roose
T.
,
Healey
J. R.
,
Jones
D. L.
&
Withers
P. J. A.
2016
Struvite: A slow-release fertiliser for sustainable phosphorus management?
Plant and Soil
,
401
(
1–2
),
109
123
.
https://doi.org/10.1007/s11104-015-2747-3
.
Trotta
S.
,
Adani
F.
,
Fedele
M.
&
Salvatori
M.
2023
Nitrogen and phosphorus recovery from cow digestate by struvite precipitation: Process optimization to maximize phosphorus recovery
.
Results in Engineering
,
20
,
101478
.
https://doi.org/10.1016/j.rineng.2023.101478
.
Uysal
A.
,
Demir
S.
&
Sayilgan
E.
2014
Optimization of struvite fertilizer formation from Baker's yeast wastewater: Growth and nutrition of maize and tomato plants
.
Environmental Science and Pollution Research
3264
3274
.
https://doi.org/10.1007/s11356-013-2285-6
.
Wang
X.
,
Gao
Y.
&
Chu
G.
2021
Optimization and characterization of polyphosphate fertilizers by two different manufacturing processes
.
ACS Omega
6
(
29
),
18811
18822
.
https://doi.org/10.1021/acsomega.1c01999
.
Wang
J.
,
Xue
L.
,
Hou
P.
,
Hao
T.
,
Xue
L.
,
Zhang
X.
,
Sun
T.
,
Lobanov
S.
&
Yang
L.
2023
Struvite as P fertilizer on yield, nutrient uptake, and soil nutrient status in the rice–wheat rotation system: A two-year field observation
.
Agronomy
,
13
(
12
).
https://doi.org/10.3390/agronomy13122948
.
Yetilmezsoy
K.
,
Ilhan
F.
,
Kocak
E.
&
Akbin
H. M.
2017
Feasibility of struvite recovery process for fertilizer industry: A study of financial and economic analysis
.
Journal of Cleaner Production
152
,
88
102
.
https://doi.org/10.1016/j.jclepro.2017.03.106
.
Yu
R.
,
Ren
H.
,
Wu
J.
&
Zhang
X.
2017
A novel treatment process of struvite with pretreated magnesite as a source of low-cost magnesium
.
Environmental Science and Pollution Research
,
24
(
28
),
22204
22213
.
https://doi.org/10.1007/s11356-017-9708-8
.
Zhang
T.
,
Wang
Q.
,
Deng
Y.
&
Jiang
R.
2018
Recovery of phosphorus from swine manure by ultrasound/H2O2 digestion, struvite crystallization, and ferric oxide hydrate/biochar adsorption
.
Frontiers in Chemistry
,
6
,
1
15
.
https://doi.org/10.3389/fchem.2018.00464
.
Zhou
S.
,
Dong
M.
,
Ding
X.
,
Xue
X.
&
Yang
H.
2021
Application of RSM to optimize the recovery of ammonia nitrogen from high chromium effluent produced in the medium industry using struvite precipitation
.
Journal of Environmental Chemical Engineering
,
9
(
6
),
106318
.
https://doi.org/10.1016/j.jece.2021.106318
.
Zin
M. M. T.
,
Tiwari
D.
&
Kim
D. J.
2020
Maximizing ammonium and phosphate recovery from food wastewater and incinerated sewage sludge ash by optimal Mg dose with RSM
.
Journal of Industrial and Engineering Chemistry
,
86
,
136
143
.
https://doi.org/10.1016/j.jiec.2020.02.020
.
This is an Open Access article distributed under the terms of the Creative Commons Attribution Licence (CC BY-NC-ND 4.0), which permits copying and redistribution for non-commercial purposes with no derivatives, provided the original work is properly cited (http://creativecommons.org/licenses/by-nc-nd/4.0/).

Supplementary data