3.1. FSW Treatment Under Nutrients’ Reduction
The effects of nutrient concentration were independently evaluated for two key nutrients over two stages. While the experiments were conducted under different lights, preliminary analysis suggested that the general trends and patterns of the chemical variables were similar. Thus, the results from different lighting setups were combined. Conditions with high CV values (greater than 15%) were examined and contributing factors were discussed. Overall, the chemical properties of the six setups exhibited similar trends for carbon and nutrient assimilation at each stage. COD removal over the first stage was significantly higher than the second stage, as seen in
Figure 2. This indicates that the concentration reduction of a key macronutrient negatively affects the activity and assimilation of the biomass. The COD removal rates reached an average of 235.7 mg-COD (L.d)
−1 and 179.6 mg-COD (L.d)
−1 for P1 and N1 sets, respectively, over the first stage. COD efficiencies dropped during the second stage to reach 50.3 mg-COD (L.d)
−1 and 134.9 mg-COD (L.d)
−1 for P2 and N2 sets, respectively, over the same period of time. The CV was acceptable for most conditions, except P2, which indicates that light type becomes more influential in the system, leading to inconsistent COD removals under the reduction of P. Research groups have reported similar trends where low nutrient concentration or deficiency negatively affected the removal of organics, with N having the most noticeable effects [
16,
17]. However, given that nutrients remained at the end of each stage, it is more likely that light availability became the limiting factor during the second stage. Higher cell concentrations were observed at the end of the first stage compared with the first stage, which could have reduced light penetration, and potentially restricted the metabolic activities. Fradinho et al. [
18] observed that PPB growth decreased significantly under limited light availability, confirming that higher biomass density can restrict illumination penetration and therefore metabolic activity.
The removal of N from the media was lower during the second stage, as observed in
Figure 3, while P removal increased over the second stage regardless of the nutrient concentration tested. The P reduction condition showed a decrease in N removal efficiency, with values decreasing from 59.9 mg-N L
−1 during P1 to 27.6 mg-N L
−1 during P2, despite a constant initial N concentration. This trend aligned with a simultaneous decline in carbon removal efficiency, suggesting a possible correlation between the N and organics uptake. P removal efficiency declined, decreasing from 6.0 mg-P L
−1 to 3.5 mg-P L
−1 removal during the second stage, as the initial P concentration was lowered during P2. While the improvement in P removal efficiency was notable, the values suggest that P was likely not a limiting factor. Other conditions such as alkalinity may have played a role in inhibiting nutrient assimilation. Similarly, the N reduction condition showed a drop in N removal efficiency from 58.1 mg-N L
−1 to 13.2 mg-N L
−1 under lower N concentrations, during the second stage, while P removal efficiency doubled, increasing from 6.1 mg-P L
−1 to 11.0 mg-P L
−1 under N reduction conditions. Additionally, the second stage showed a higher variability (19.1–23.7%) between the N and P removal conditions, indicating that the light type has a more significant role in directing the metabolic activities during the concentration reduction of one nutrient. Considering that N was not fully depleted, it is likely that biomass growth continued through a metabolic pathway that favors PHA or Poly-P accumulation triggered by an imbalance in nutrient availability rather than absolute depletion. However, the high variance observed could also be due to differences in initial biomass concentrations in each stage, given that the biomass was carried over from the first to the second stage. Studies have shown that PPB can continue to grow at lower rates under low N availability by reallocating energy and carbon fluxes while simultaneously storing PHAs [
8,
19], which indicates a partial metabolic shift toward carbon storage.
In this study, P reduction appeared to have a greater effect on carbon assimilation than N reduction. However, due to the presence of residual P concentrations at the end of the experiment, the lower initial pH value used in P2 likely played a larger role in directing this trend. The initial pH was set to slightly neutral in the range of 7.2–7.5 and increased to 9.3–9.8 by the end of the first stage for both P1 and N1. In contrast, for the P2 set, the initial pH was set lower at 6.2–6.8 to introduce an additional stress factor during the second stage. This adjustment affected organic uptake rates significantly, with the pH reaching only 7.3–7.5 by the end of the experiment, while low carbon assimilation was also observed. The N2 condition was set at a neutral pH to encourage faster PHA accumulation, as studies have reported that higher pH environments facilitate the uptake of organic acids by bacteria, thereby influencing by-product generation. The final pH for N2 reached 9.7–9.9; these alkaline conditions are unfavorable for most metabolic activities, with increased energy demands for pH homeostasis and cell maintenance [
20,
21]. This suggests that higher metabolic activities took place before the pH reached moderate to highly alkaline conditions.
The presence or reduction of N did not affect the assimilation of VFAs, but effects for P were observed. In accordance with carbon removal trends, the removal of VFAs was more pronounced during the P1 treatment compared with P2 (
Figure 4). Nutrient availability during P1 showed a preference for acetate, propionate, and valerate consumption, with 91%, 96%, and 100% removal of acetate, propionate, and valerate assimilated from the initial 371 mg-acetate L
−1, 94 mg-propionate L
−1, and 85 mg-valerate L
−1, respectively. P reduction during P2 showed that the production of iso-butyrate was absent as the compound was not detected at the beginning or the end of the P2 stage, while an abundance of P in the medium resulted in an increased iso-butyrate production in the medium, with a value of 86 mg-iso-butyrate L
−1 at the end of P1. The enhanced VFA removals during P1 were likely attributed to the more favorable pH conditions, which increased the PPB metabolic activities and organic carbon uptake efficiency. In contrast, the removal values significantly dropped during the second stage and were most likely linked to the initial pH values, as discussed previously. The lower initial pH values observed in P2 (6.2–6.8) may have negatively influenced enzyme activity and transport mechanisms, which may have limited VFA assimilation. Previous studies have confirmed that pH variations can influence organic substrate uptake in PPB and alter metabolic pathways, resulting in different VFA removals [
18]. Overall, various VFA assimilations were observed over both stages and wes more likely due to pH-induced metabolic constraints. However, no significant difference was observed between the end of each set of the experiment.
Overall, a single-stage operation displayed better nitrogen removal efficiencies, whereas a two-stage setup with a reduction in one nutrient concentration hindered organic uptake and consequently affected other metabolic activities. However, an extended period of N reduction appeared to enhance P uptake from the medium, resulting in higher P removal efficiencies. This indicates that, while single-stage setups are more effective for nitrogen recovery, nutrient imbalance may favor P recovery dynamics. In nitrogen-rich environments, microbial communities prioritize N assimilation, which can affect other nutrient uptakes. However, under N-reduced conditions, the bacteria may shift toward alternative pathways that affect P utilization.
3.2. Biomass Growth
VSS measurements were used to evaluate the biomass growth at the end of each stage. The results are summarized in
Figure 5. Biomass accumulation trends indicated that a large percentage of biomass accumulation happened during the first stage under nutrient availability, while limited growth took place during the second stage under nutrient reduction. P reduction conditions resulted in slightly higher biomass accumulation compared with N reduction during the first stage. Biomass growth averaged 1343 mg-VSS L
−1 under P1 compared with only 911 mg-VSS L
−1 under N1. During the second stage, biomass accumulation reached 1408 mg-VSS L
−1 under P2 and 1182 mg-VSS L
−1 under N2. Given that the initial conditions of the first stage were identical for P1 and N1, the difference in biomass accumulation observed was attributed to variations in initial biomass concentration rather than operational conditions. P reduction led to minimal additional growth, suggesting that P presence was a key limiting factor. In contrast, N reduction allowed for continued biomass accumulation but at a slower rate compared with the first stage. Slower biomass growth rates were frequently reported under nutrient reduction [
7,
8,
22]. Another important factor influencing biomass accumulation in the second stage was limited light penetration due to increased biomass density. As cell concentrations increased, light penetration likely decreased, reducing the efficiency of phototrophic growth. This phenomenon has been previously observed in PPB systems, where higher biomass densities limited light availability and subsequently slowed down metabolism [
18]. Overall, the presence of nutrients played a critical role in supporting growth, while nutrient reduction in addition to limited light penetration led to varying degrees of restriction.
The substrate-to-biomass conversion ratio (COD
biomass/COD
substrate) averaged 0.39–0.49 mg-COD
biomass (mg-COD
consumed)
−1 for P reduction and 0.24–0.33 mg-COD
biomass (mg-COD
consumed)
−1 for N reduction over the first stage (calculated from VSS using a conversion factor of 1.35 [
23]). These ratios were less than the near-to-perfect conversion ratio of 1 achieved by Alloul et al. [
23], suggesting that not all organic carbon was converted into biomass. During the second stage, the substrate-to-biomass conversion ratio dropped to 0.21–0.38 mg-COD
biomass (mg-COD
consumed)
−1 for P reduction, indicating a further shift away from biomass growth. These values imply that a portion of organics was redirected toward other activities such as catabolism or by-product storage. The former would be associated with a strong presence of chemoheterotrophic bacteria within the community. However, the ratio increased to 0.26–0.52 mg-COD
biomass (mg-COD
consumed)
−1 for N reduction during the second stage, indicating that a larger fraction of the organics was utilized toward biomass growth compared with the first stage. This was likely due to a reduction in maintenance energy demands, leading to more efficient biomass production.
Biomass accumulation showed only a minor increase from P1 to P2, increasing from an average of 1343 mg-VSS L
−1 to 1408 mg-VSS L
−1, despite a lower initial pH during P2. The limited growth in P2 suggested that the slightly acidic environment could also be detrimental to biomass growth. In contrast, there was a significant increase in biomass accumulation from 911 mg-VSS L
−1 under N1 to 1182 mg-VSS L
−1 under N2, alongside a slightly alkaline pH. In addition to N2, both N1 and P1 also showed good growth, but, as a result, all three reached an alkaline final pH that exceeded 9.37, which could have influenced the biomass metabolic activities. Under alkaline conditions, microbial communities can shift toward pathways that enhance NH
4+ and P assimilation, supporting continued biomass growth even under nutrient limitation and depletion. This pH shift has been observed previously and is reported to slow down biomass growth while simultaneously promoting by-product synthesis [
20,
24].
Nutrient availability directly affected biomass accumulation, as both P and N were essential for microbial growth. The yield of biomass per P consumed (Y
VSS/P) was significant during the nutrient abundance stage but decreased considerably during P2 from 225.9 to 19.1 mg-VSS (mg-P)
−1. Similarly, under N reduction, Y
VSS/P dropped from 152.0 to 26.5 mg-VSS (mg-P)
−1 during the second stage. The results suggest that P utilization for biomass production became less efficient due to the reduced microbial growth and metabolic shifts that prioritize cell maintenance and survival overactive growth. The lower Y
VSS/P values indicate that biomass may have adapted by redirecting available resources toward stress response strategies such as storage of intracellular by-products based on changes in stoichiometric removals [
25]. Shifts in nutrient availability alter how P was utilized by cells, with balanced ratios promoting biomass growth and imbalanced conditions favoring alternative pathways. Additionally, the yield of biomass per N consumed (Y
VSS/N) decreased from 22.5 mg-VSS (mg-N)
−1 to 2.5 mg-VSS (mg-N)
−1 under P reduction conditions but increased from 15.7 mg-VSS (mg-N)
−1 to 21.9 mg-VSS (mg-N)
−1 under N reduction. The results indicate a slightly more efficient usage of N under N reduction conditions, likely as a reaction to optimize cell growth.
3.3. Light Wavelength Impact
Exposure to different light wavelengths can affect PPB growth and metabolic activities. High biomass accumulation was observed under L1, where an additional exposure to far-red wavelengths (700–770 nm) supported PPB growth at a rapid pace regardless of nutrient concentrations. The significant growth can be attributed to the additional far-red wavelengths but also to reduced competition from other microorganisms such as microalgae, which are known to thrive under shorter wavelengths [
26]. L2, in contrast, lacked sufficient IR intensity, and its spectral range overlapped more with microalgal optimal growth wavelengths, suggesting that competition with microalgae for light could be a factor in the reduced biomass accumulation. Additionally, lower biomass growth values were observed under the L3 lights, which could be explained by the presence of strong UV peaks below 400 nm. Studies have demonstrated that, while PPB can tolerate UV to a degree, excessive UV radiation may cause photodamage, reduce photosynthetic efficiency, and limit overall metabolic activity [
10]. Overall, the broad range of visible wavelengths provided by L1 (400–850 nm) resulted in the highest biomass content, while additional UV and IR wavelengths as seen in L3 did not provide further enhancement in biomass growth. Many studies showed that far-red (700–770 nm) wavelengths enhanced PPB growth significantly. However, the VSS values observed in this study were lower than those typically reported under NIR exposure. For instance, Qi et al. [
12] achieved a biomass concentration of 1625 mg-VSS L
−1 at 850 nm NIR LED, whereas, in this study, the maximum VSS concentrations were 1371 mg-VSS L
−1 under P reduction and 1047 mg-VSS L
−1 under N reduction using the L3 light source. While Qi et al. [
12]’s experiment was conducted over a shorter duration of 6 days with a higher initial substrate concentration of 4000 mg-COD L
−1, this study used a lower COD concentration of 2400 mg-COD L
−1, fed twice over a longer period of 14 days. Given the extended experimental time and similar total organic loading of this study, higher biomass might be expected if conditions were optimal. However, the lower biomass observed under L3 suggests that factors beyond substrate and duration may have negatively impacted bacterial metabolism and counteracted the expected benefits of IR. The simultaneous presence of UV in L3 could be a possible explanation for the reduced overall biomass accumulation. This supports the conclusion that, while IR wavelengths promote biomass growth, the presence of shorter-wavelength UV radiation may disrupt microbial metabolic processes and ultimately limit overall biomass yield.
The highest organics removal was observed under L2 lights over the first stage, reaching 73.2% and 57.8% COD removal for P1 and N1, respectively, despite the light type having a lower impact on biomass growth. N reduction showed no significant difference in COD removal based on light type during the N2 stage, as COD removal hovered at 36% to 39%. However, P reduction resulted in a doubling of organics removal compared with other light types under similar testing conditions. A comparison between COD: N:P ratios of influent (beginning of stage 1) and effluent (end of stage 2) for each nutrient condition is presented in
Table S1. Findings by Zhou et al. [
11] indicated that red LED (650 nm) light achieved the highest COD removal and outperformed the incandescent lamp and white light (400–700 nm). Qi et al. [
12] found that an NIR wavelength of 850 nm resulted in the highest COD removal efficiency of 70.6%, whereas longer IR wavelengths led to lower organic degradation efficiency. Additionally, Yu et al. [
27] demonstrated that full-spectrum light (400–2500 nm) achieved high COD removal, exceeding 90%, while IR light alone performed worse. Our results are in line with the literature findings, where longer wavelengths improved COD removal, but longer IR wavelength exposure, such as in L3, did not enhance carbon degradation efficiency.
In terms of VFAs, the profiles varied slightly based on the light type used (
Figure 3). Acetate degradation was dominant in all the conditions tested, suggesting a preference for acetate as a primary source of organics. VFA profiles of L1 and L3 showed comparable trends for P1 and N1, with minor variations in individual VFA concentrations. However, the L2 profile exhibited a distinct pattern regarding the consumption of iso-butyrate. Under P1 conditions, iso-butyrate production occurred, reaching 153.1 mg L
−1, but under N1 conditions, iso-butyrate was completely depleted. Despite similar testing conditions, this suggests that L2 might trigger different metabolic pathways depending on the interaction with the initial culture. Overall, L1 showed the highest removal concentrations for each individual VFA for all P1, P2, and N1. However, L2 displayed the highest VFA degradation values under N reduction, suggesting that N might play a more significant role in VFA uptake in the absence of the far-red range. Previous studies have reported that VFA consumption fluctuates depending on the type of light and light cycling, with far-red and IR ranges being associated with higher VFA removal efficiencies [
26]. However, our findings indicate that this trend is not universal. This study showed that UV and IR ranges did not result in the highest VFA removals, suggesting that light wavelengths alone do not influence VFA degradation. Additional factors such as microbial community shifts and/or retention time might play a larger role in influencing VFA consumption [
23].
During the first stage, N and P removal values averaged 59.0 mg-N L−1 and 6.0 mg-P L−1, respectively, with minimal variations across different light wavelengths. However, in the second stage, following N or P reduction, N removal decreased significantly, with L1 achieving the highest values of 15.5 mg-N L−1 under N2 and 35.1 mg-N L−1 under P2. On the other hand, P removal trends differed between the two stages. Under P reduction, P removal decreased, with L3 showing the highest value 4.35 mg-P L−1. However, under N reduction, P removal increased, reaching a maximum of 13.0 mg-P L−1 under L3. This suggests that an imbalance of nutrients can trigger other metabolic activities to adapt to light conditions.
The results suggest that lights with red and/or far-red wavelengths, such as L1, are the most suitable for biomass growth and N removal. A narrow visible range, such as L2, resulted in moderate biomass growth and chemical characteristics, while a full spectrum of light that included UV and IR ranges did not improve biomass growth performance or the organics uptake, but it did improve P recovery under N reduction conditions only. Additionally, these findings indicate that under nutrient availability, nutrient removal seems to be governed by biomass growth rather than light conditions. However, under nutrient imbalance, exposure to red wavelengths such as L1, or longer wavelengths, such as those in L3, can improve nutrient assimilation, suggesting that specific spectral ranges may aid metabolic adaptation under reduced nutrient concentrations.
3.4. PHA Accumulation
PHA accumulation was measured at the end of the second stage. The results summarized in
Figure 6 show significant variation across the three light types. The highest PHA content was recorded under L3, with values of 10.0% CDW and 12.6% CDW for P2 and N2, respectively. This suggests that a full spectrum of light is optimal for PHA accumulation. L1 resulted in moderate PHA accumulation, while the lowest biopolymer productivity was observed under L2, with values of 3.4% CDW and 4.4% CDW for P2 and N2, respectively, confirming that a narrow light spectrum is suboptimal for PHA accumulation. It is clear that light wavelengths play a substantial role in PHA accumulation in PPB. An inverse relationship between biomass growth and PHA accumulation was observed. The lowest biomass growth resulted in the highest PHA content, especially under L3. Higher PHA accumulation was previously observed in conditions with low biomass content [
28]. This implies that a maximal biomass is not required to achieve the highest PHA content, but it reaffirms the role of light quality in regulating the pathways of carbon usage for biomass growth and by-product accumulation.
N reduction resulted in higher PHA content compared with P reduction, irrespective of the light condition. This was a result of reduced nitrogenase activity from the environment, which diverted metabolic pathways from N assimilation and biohydrogen production toward carbon storage. This study’s final N concentrations ranged between 49.4 and 57.3 mg-N L
−1 for P2, while the final concentrations for N2 ranged between 17.9 and 21.6 mg-N L
−1. The literature suggests that nitrogenase inhibition begins at N concentrations as low as 0.36 mg-N L
−1 [
29] and is completely repressed at concentrations exceeding 36 mg-N L
−1 [
30], indicating nitrogenase may be partially active for N2 but fully repressed for P2. P reduction resulted in 10.0% CDW. Although less effective than N reduction, our results suggest that PHA production can still be significant under P reduction. Multi-step approaches involving P reduction have been previously investigated, with P cycling resulting in 20% PHA/VSS content [
31] and combined N and P reduction resulting in the highest PHA content of 23.4% CDW [
32]. Two-step setups have been shown to be beneficial for PHA accumulation, as demonstrated by Vincenzini et al.’s work [
8].
PHA accumulation is primarily governed by the light type. High PHA content does not correlate with high COD removal, particularly under N reduction, where carbon uptake is directed toward intracellular storage rather than cell growth. This is supported by Montiel-Corona and Buitrón’s work [
16], which investigated the impact of N and P deficiency on PHA accumulation. The group reported that the absence of N resulted in 6.8% PHA and 39% COD removal, while P deficiency resulted in 3.8% PHA and 52% COD removal. These findings highlight that, while P reduction promotes a direct link between organics uptake and PHA accumulation, N reduction induces a metabolic shift where carbon is preferentially stored rather than utilized for biomass growth.