3.2.2. Product Characterization
The diffractograms in
Figure 2 show the phase analysis of some of the products obtained through the Doehlert design. All experiments presented struvite as the main phase. In some cases, struvite analogs were also formed (Runs 1, 7, and 8). The formed struvite analog acts as a compensatory phase and is not detrimental to the synthesis objective because it has K in its composition, which is a highly valuable nutrient [
52], and it contributes to the recovery of phosphorus from wastewater for use as a slow-release fertilizer.
Due to the formation of struvite as the main phase in all the samples, the adopted experimental region constituted the optimal synthesis region (thermodynamically stable region for struvite). This fact is corroborated by the elemental chemical analysis of the products, which quantitatively shows the presence of the elements that make up the struvite (
Table 6). The high values of P in the products expressed by P
2O
5 varied between 46 and 51%, while the values of Mg expressed by MgO were between 25.4 and 30.2%, and the values of ammonium + hydroxyls expressed by the loss on ignition were between 5.2 and 19.1%. The variations in the loss on ignition levels were mainly due to the formation of K-struvite in some experimental runs, which is confirmed both by the phase analysis and by the K
2O values, which increased at the expense of the loss on ignition values in runs 1, 7, and 8. This increase was due to the isomorphic substitutions between K
+ and NH
4+ that occur in the struvite structure.
The FTIR chemical analysis of the functional groups showed great similarity in the responses of the products obtained.
Figure 3 shows the results of experimental runs 3 and 7, and the bands characteristic of struvite are exposed.
Wide, asymmetric, and well-structured bands were observed in the region between 3500 and 2300 cm
−1. These bands are attributed to the vibrations of asymmetric stretching of the OH
− group and vibrations of symmetric and asymmetric stretching of the N–H bond of the NH
4+ group (
Figure 3) [
47,
53]. These bands have wide and asymmetric shapes due to the forces of the hydrogen bonds in the struvite structure, mainly those attributed to water molecules, and the possible overlapping of bands caused by the presence of various functional groups [
53]. The bands located in the ranges of 3500 to 3000 cm
−1 are characteristic of the stretching vibrations of the H-O-H molecules of crystallization water, while the bands observed at the wavelength ~2360 cm
−1 are attributed to the stretching vibrations of the H-O-H of the crystallization water molecules cluster [
53,
54,
55]. Deformational vibrations of the flexion mode of the H-O-H molecule refer to the bands present between 1680 and 1600 cm
−1 [
53,
56]. A band positioned at ~760 cm
−1 indicates vibrations related to weak H bonds between water molecules.
The infrared spectra also show two bands characteristic of the NH
4+ functional group. The band close to 1475 cm
−1 is attributed to the deformation vibrations in the plane of the H–N–H bond, while the band located in the region between 905 and 895 cm
−1 can be attributed to the H bond of the ammonium-water interaction [
57] and/or the deformation vibration of the O–H fragment bound to Mg
2+ [
54]. The ionic group (PO
4)
3− was identified through the bands that are attributed to the strong asymmetric stretching vibrations of the P-O bond (~1005 cm
−1), the symmetrical deformation vibrations in the plane of the O–P–O bond (~570 cm
−1), and the asymmetric strain vibrations in the plane of the O–P–O bond (~460 cm
−1) [
53,
56,
57,
58]. The formation of small bands at positions ~436 cm
−1 and ~690 cm
−1 can be attributed to the vibrations of metal-oxygen (Mg–O ) bonds [
54,
58,
59].
The products obtained in the Doehlert experiments also showed very similar thermal behaviors and were divided into three thermal response groups.
Figure 4 shows the DSC-TG representative curves of the three groups: group 1, which corresponds to runs 1, 7, and 8 and contains struvite and the struvite analog, as represented by run 1 in
Figure 4a; group 2, which corresponds to runs 2, 5, 12, 13, and 15 and contains struvite alone, as represented by run 2 in
Figure 4b and group 3, which corresponds to runs 3, 4, 6, 9, 10, 11, and 14 and contains struvite alone, but with a difference in the content of the events in relation to group 2, as represented by run 6 in
Figure 4c.
Struvite undergoes decomposition at low temperatures (above 40 °C) and is affected by the heating rate [
60]. Thus, by using a heating rate of 5 °C/min, the first decomposition events in the DSC curves appeared between 55.6 and 105 °C. The endothermic peaks at ~60 °C were observed only in the samples of group 1, which correspond to the presence of the struvite analog, while the endothermic event at ~100 °C occurred markedly in all samples because it corresponds to the presence of struvite in all products. This event (single, double, or even multiple) corresponds to the collapse of the struvite family structure, and the simultaneous loss of ammonia with the loss of structural water [
61,
62]. When the water loss precedes the loss of ammonia, an intermediate monohydrate crystalline phase called dittmarite (MgNH
4PO
4·H
2O) is formed, as shown in Equation (6).
The TG curves (
Figure 4) show that the main mass loss occurred between 50 and 110 °C. However, the curves are constant only at ~300 °C, because struvite shows significant water loss above 60 °C and is completely transformed into dittmarite at approximately 100 °C. Thus, the dittmarite is then thermally stable between 90 °C and 230 °C and completely dehydrated at ~300 °C. Heating above 300 °C transforms the dittmarite into an amorphous phase, Equation (7) [
62,
63]. The mass loss values were between 40 and 51.5% (
Table 7), thus corroborating the consecutive losses of water and ammonia. Similar values were observed by Frost et al. (2004) [
60], who found mass losses of ~42% during struvite decomposition. For those products considered to have a high conversion into struvite (Runs no. 2 and no. 3), the values obtained can be considered equal to the theoretically predicted value of 51.42%; 44.08% corresponds to water loss, while 7.34% represents the loss of NH
4 [
60].
Exothermic peaks at ~650–720 °C were also observed in the DSC curves. Group 1 (
Figure 4a) is marked by the presence of a multiple event with a low formation energy; group 2 (
Figure 4b) also presented a multiple event in this region but with higher energies and group 3 (
Figure 4c) presented a simple event with a higher formation energy. These exothermic events represent the phase transformation of the material structure, in which the amorphous phase is transformed into the crystalline form of magnesium pyrophosphate (Mg
2P
2O
7) (Equation (8)) [
47,
62,
63,
64].
The reaction heat values involved in the endothermic reactions between 55.6 and 105 °C are highlighted in
Figure 4 (Δ
H = −A·m
−1·K
−1, see also Equation (2)), for the representatives of the three groups observed, and
Table 7 shows the values for all products. The products of group 1 had the lowest enthalpy values (823–918 J·g
−1), which can be explained by the fact that the corresponding precipitates consist of both struvite and the struvite analog so that the amount of ammonia is lower when compared to the amount of ammonia in “true” struvites; this is due to the replacement of NH
4+ with K
+ in the solid solution. Thus, the other two groups of products with similar thermal profiles, with only “true” struvite, presented enthalpies of decomposition higher than 1015 J·g
−1.
The particle size distribution was similar for most products, i.e., a very fine material but with well-developed particles. Product no. 2 (
Figure 5a) had a D90 of 22 μm; it was the finest product and had two modes, the smallest of which represented the population of ultrafines (D10 of 5 μm). The other products had D90 values between 80 and 130 μm, as can be observed for product no. 7 in
Figure 5b, a result similar to that of the other products.
The mean diameter was 16.3 μm for product no. 2, and it was between 48.7 and 53.8 μm for the other products. Similar results for particle sizes were found by Kozik et al. (2013) [
65], who noted mean particle diameter values between 12.6 and 50.2 μm. The aforementioned authors attributed the particle size variations to variations in the pH and mixing time. Thus, by establishing a fixed mixing time, there were no major changes in the particle diameter of the products obtained in the design.
The morphology of the products is shown in the micrographs of
Figure 6a–c (run 2) and d-f (run 7). In the analyzed products, crystals characteristic of the struvite orthorhombic structure were formed, which confirms the analysis of the obtained phases. Most crystals had simple needle-shaped morphologies. Some crystals presented their morphology as X-shaped twin crystals with dendritic growth (
Figure 6b) and as larger crystals with faceted structures (
Figure 6f). These changes in morphology may be due to the structural remnants caused by transitions during synthesis [
3]. The crystals formed in the product of run 7, which has struvite and K-struvite, did not show large differences when compared to the crystals formed in run 2, in which only struvite was found. This finding explains why there is no structural change between the phases, with only an ionic change occurring at the NH
4+ site [
66].
3.2.3. Statistical Modeling and Analysis
The recovery of phosphorus from wastewater through precipitation processes and struvite crystallization is sometimes a joint process that depends on the physicochemical conditions. Thus, a statistical analysis involving the factors screened in the PB-12 design was performed with a second-order design. The pH (X
1), the molar ratio N/P (X
2), and the initial P concentration (X
3) were then analyzed in a three-factor Doehlert matrix (
Table 5), and the responses were the recovery rate of P (
Prec) and the enthalpy of the endothermic peak of struvite decomposition (Δ
H). Investigations of the individual and combined effects of the factors were performed using Statistica software (version 9.0). The coefficients of the second-order regression models for both responses were determined, and the response surfaces and contour lines were obtained to analyze the functional relationships between the levels and the responses and to perform a simultaneous optimization by applying the desirability function within the stipulated experimental domain.
Table 8 shows the ANOVA of the Doehlert design for the two responses.
The phosphorus recovery results indicate that all the factors studied in the linear forms, together with the quadratic forms of the terms X1 (pH) and X3 (P concentration), were significant (p < 0.05) and should, therefore, be considered in the elaboration of the model. In addition, none of the interactions between the factors were significant, indicating that, for the high phosphorus recovery rates, the factors act in isolation, without the dependence of one in relation to the others, however, each factor is individually important for obtaining better yields in the process as a whole. Regarding the thermal decomposition of struvite, the pH (X1), the N/P ratio (X2), their respective second-order effects (X12 and X22), and the interactions between the pH and the ratio N/P (X1 X2) and between the N/P ratio and the initial P concentration (X2 X3) were significant. The P concentration was a noninfluential factor in its independent (X3) and quadratic (X32) forms; in addition, its interaction with pH (X1 X3) was also not statistically significant.
Table 8 shows that the regression models proposed for both the phosphorus recovery and enthalpy variation responses did not lack fit and that their respective coefficients of multiple determination, R
2 = 0.985 and R
2 = 0.968, were able to explain more than 96% of the experimental variabilities. Thus, the fitted models obtained for
Prec (Equation (9)) and Δ
H (Equation (10)) can predict the formation of struvite with the desired quality because, as indicated by the values of the coefficients of determination, the correlation between the experimental values and those predicted by the models is significant for both responses.
The response surfaces of the effects of the pH (
X1), the N/P ratio (
X2), and the initial P concentration (
X3) on phosphorus recovery and the enthalpy of decomposition are shown in
Figure 7. Greater phosphorus recoveries were obtained for a pH close to 10, N/P ratios equal to or greater than 4, and a P concentration equal to 250 mg/L, as shown in
Figure 7a–c. The values determined for the pH and the N/P ratio are consistent with the results of other optimization studies on phosphorus recovery, which have shown that the pH should be higher than 9.5, and the N/P ratio should be above 2 [
33,
34]. The response surface graphs in
Figure 7d–f show that for greater enthalpies of the endothermic peak indicative of struvite decomposition, the synthesis conditions should include pH values between 9 and 10, N/P ratios greater than 2.5, and phosphorus concentrations greater than 60 mg/L.
Simultaneous Optimization
Table 9 shows the parameters used in the global desirability function for a better struvite yield, considering phosphorus recovery and the enthalpy variation of the endothermic peak, which represents the decomposition of the formed structure.
The analysis of the global desirability function in
Figure 8 allowed us to determine the operational conditions to maximize the precipitation of struvite from wastewater. Thus, the pH should be 10.2, the molar ratio N/P should be equal to or greater than 4, and the initial phosphorus concentration should be 183.5 mg/L. The results indicate a global desirability coefficient of 0.99965, which is considered excellent [
67].