Introduction

Highly concentrated nitrogenous wastewater with an ammonium concentration between 500 and 2000 mg/L is discharged from several human activities; fertilizer industry effluents, and agricultural runoff being the major contributors (Nancharaiah et al. 2019). The fertilizer industry is an intense water-consuming industrial sector with considerable wastewater generation that can contaminate both water and soil (Singh et al. 2006). Agricultural pollution from non-point sources has long been recognized as another important factor affecting eutrophication levels (Zhang et al. 2004). This is particularly due to the presence of high levels of agrochemicals, including nitrogen and phosphorus (Cui et al. 2002) as a result of widespread application of chemical fertilizers. According to the Indian Standards Guide for Treatment and Disposal of Effluents of Fertilizer Industry (IS 9841:1981, reaffirmed 2005), effluents from both the nitrogenous and phosphatic fertilizer industry contain high amounts of ammonium and nitrates and phosphates together with negligible COD. As per the standard, the ammonium nitrogen content in effluents from ammonium and urea plants varies in the range of 200–1500 and 500–2000 mg/L, respectively. In the case of fertilizer effluents, presence of phosphorus in high concentration also requires proper treatment and biological removal is one of the most cost-effective methods compared to other physico-chemical treatments (Krishnaswamy et al. 2011).

The use of fertilizers for higher crop production is constantly increasing and its demand is estimated to elevate at 1.4% annually from 2016 to 2022 (FAO 2019). Commonly used fertilizers tend to have low uptake efficiency by plants, leading to runoff, leaching, and volatilization (Azeem et al. 2014). Diammonium phosphate [(NH4)2HPO4] is the diammonium salt of phosphoric acid, which is widely used as a fertilizer due to the presence of both nitrogen and phosphorus (Lu et al. 1987). When applied to crops, ammonium and phosphorus leach into agricultural runoff (Ye et al. 2018), contaminating various other water resources. This runoff accounts for up to 52% and 54% of total nitrogen and phosphorus loading in China, respectively (Zhang et al. 2004). Agricultural-intensive places in India have been shown to contain large amounts of urea and DAP (diammonium phosphate) residues in canal, lake, and groundwater, the latter being present in relatively higher concentrations (Divya and Belagali 2012). India is often considered to be the world’s largest consumer of DAP (Maqsood et al. 2022), in addition to being one of the most widely used fertilizers worldwide (Zhou et al. 2020).

In the case of biological treatment of effluents characterized by high levels of ammonium and phosphorus, immobilization or attachment of nitrifying consortia in gel beads or solid surfaces, respectively, avoids the inhibitory effect of several by-products, including free ammonia (NH3), and improves overall nitrogen removal capacity (Liu et al. 2019). Apart from that, these have additional advantages of effective biomass separation from treated effluent, higher biomass retention, effective removal of nutrients and contaminants, and ability to tolerate toxic pollutants and fluctuating loads (Nancharaiahet al. 2019). Attempts have been made to biologically reduce the phosphorus content of fertilizer industry effluents, as reviewed by de Bashan and Bashan (2004). In order to effectively treat the ever-increasing agricultural runoff with biological methods, vegetative drainage ditches can be used, but there remains a need to improve their properties for efficiency optimization (Kumwimba et al. 2018). Runoffs with low TN and TP concentration can be treated using suspended biomass in wetlands, which can be a cost-effective method (Spangler et al. 2019), but for higher loads, attached growth processes have to be installed. Agricultural wastewater with high COD was treated in a packed bed reactor with carriers with a specific surface area of 322 m2/m3 (Cramer et al. 2021). Effluent from ammonium nitrate producing industry was treated using a two-stage reactor consisting of an anaerobic filter and a pond for separate removal of nitrate and ammonium content, respectively (Shivaraman et al. 2001). von Ahnen et al. (2015) attempted to remove urea, ammonium, and nitrite using a moving bed biofilter and determined the kinetics. Nitrate residues in effluent have been successfully treated in a moving bed bioreactor (MBBR) via denitrification (Van Aken et al. 2022).

MBBR is a promising technology for treating a wide variety of effluents and several studies have evaluated the performance of MBBR in removing carbon, nitrogen, and phosphorus. The ratio of carbon, nitrogen, and phosphorous is almost always maintained at around 100:5:1 (Iannacone et al. 2019) or multiple stages of aerobic and anaerobic reactors have been used (Tsuneda et al. 2001). In the process of biological nitrogen and phosphorus removal, the steps of denitrification and dephosphorylation require organic carbon, which is not inherently present in fertilizer industry effluents. Thus, aid of an external carbon source is often necessary which increases the treatment cost. An interesting approach for that would be utilization of internal carbon through endogenous decay of microbial cells of the biofilm, though its rate is comparatively less than that with external sources (Rittmann and McCarty 2001). Proper adjustment of biomass content in the reactor significantly increases the denitrification rate using endogenous carbon (Bhattacharya and Mazumder 2019). Studies have been reported to successfully remove nitrogen from wastewater without organic carbon content by simultaneous nitrification and denitrification in aerobic MBBR where denitrification occurs in the deeper layer of thick biofilms and organic carbon is provided from endogenous biomass degradation (Bhattacharya and Mazumder 2021). In such systems, phosphorus removal can be achieved along with denitrification due to the formation of anoxic zones in deeper biofilm (Iannacone et al. 2020). Although biofilm thickness of 150 µm is required to form anoxic zones due to DO concentration gradient in aerobic biofilm reactors (Van Loosdrecht and Henze 1999), this value depends on bulk liquid DO concentration, hydro-dynamics, and biofilm density. Oxygen penetration depth is thus observed to vary between 50 and 500 µm for significant aerobic nitrification and anoxic denitrification to occur in the same reactor (Liu et al. 2020; Piculell et al. 2016). It has been observed that simultaneous nitrification-endogenous denitrification requires significantly less carbon and oxygen by 45% and 35%, respectively, for successful removal of TN and phosphorus in constructed wetlands (Zaman et al. 2021; Wang et al. 2021).

Enhanced biological phosphorus removal (EBPR), performed by phosphorus accumulating organisms (PAO) removes phosphorus in alternating anaerobic and aerobic phases (Salehi et al. 2019). Apart from the accumulation of phosphorus, polyphosphate synthesis can take place under aerobic conditions and is usually carried out by denitrifiers (Shi and Lee 2006). Denitrifying P-accumulating bacteria (DPB), also known as denitrifying phosphorus accumulating organisms (DNPAO), use nitrate or nitrite to remove phosphorus (Barak and Van Rijn 2000) even in the absence of organic carbon under anoxic conditions (Tsuneda et al. 2001). A study conducted in MBBR with alternating aerobic and anoxic conditions showed 100%, 75%, and 62% removal efficiencies of dissolved organic carbon, phosphorus, and total nitrogen, respectively, under optimal conditions of DO ranging between 0.2 and 3 mg/L, C/N ratio of 3.6, and HRT of 24 h (Iannacone et al. 2020). Effective combined removal of carbon, nitrogen, and phosphorus via nitrite using aerobic granular sludge has been achieved in municipal wastewaters characterized by low C/N ratio of around 3.8 (Campo et al. 2020).

The aim of this study is to evaluate the occurrence of SND using DAP-spiked wastewater, which would give an idea of the role of MBBR in treating fertilizer industry effluents or agricultural runoff that resemble real-world conditions. One of the challenges in establishing such reactions in the reactor is the absence of carbon in the wastewater, which is not supplied externally. The extent and efficacy of the procedure are compared with the results obtained from previous literatures under sufficient carbon. As the phosphorus content is usually high, an attempt was made to demonstrate the reduction of phosphorus together with SND, resulting in biological nutrient removal from wastewater based on internal carbon. As can be observed from the earlier literature, the treatment of wastewater containing DAP residues using an MBBR has never been investigated, which is an important area in the present aspect that deserves due attention. Establishing kinetics would further aid in the process design of the reactor for treating fertilizer industry effluents and agricultural runoff. In addition, research on removing ammonium from agricultural runoff coupled with high phosphorus content is also extremely limited. This study would be helpful in understanding the process and gaining insight into the efficiency of simultaneous nitrogen and phosphorus removal in a single system for wastewater with limited organic carbon.

Materials and methods

Prepared of DAP-spiked wastewater

Commercial-grade DAP (purity 99%) was procured from a fertilizer store. As observed, DAP is not readily soluble in water and therefore available DAP granules were crushed into fine particles using a pestle and mortar to pass through a 2-mm sieve. The powdered DAP was then dissolved in water to obtain the desired concentration. The solution was dull white or greyish white in colour with a pH in the range of about 7.9 \(\pm\) 0.02. The synthetic wastewater was characterized for the relevant parameters according to the procedures outlined in the American Public Health Association (APHA) Standard Methods (Eaton et al. 2005). The results of the characterization are presented in Table 1. The attached biomass in the carriers was determined according to the procedure followed by Herbert et al. (1971) using Folin-Ciocalteu reagent. Minor modifications were made to the amount of alkali copper reagent to be added for colour development of the protein.

Table 1 Results of characterization of DAP containing wastewater

Reactor setup

To evaluate nitrogen removal via SND, studies using a laboratory-scale MBBR were conducted at the Environmental Engineering Laboratory of Civil Engineering Department, I.I.E.S.T, Shibpur, India, using DAP-spiked wastewater. An MBBR was designed with a vertical height of 63 cm and a diameter of 20 cm, and cylindrical octahedral polypropylene bio-carriers with fins with a specific surface area of 8.9 cm2/cm3 were used for the study (Bhattacharya and Mazumder 2021). The biomass used in the study was initially obtained from the soil of leguminous plants, later dissolved in water to separate soil particles, and cultured in laboratory-scale reactors for growth and enrichment of the biomass. Biomass was allowed to grow on the surface of these carriers as biofilms in these reactors, and as the biofilm reached an observable thickness of around 1–1.5 mm, the carriers were selected for experimental studies. In the biological treatment of wastewater, use of soil bacteria has been shown to be advantageous and as such bacteria isolated from garden soil have been successfully used to treat ammonium and nitrate fertilizer effluents in fixed film units (Shivaraman et al. 2001). Both batch and continuous studies were conducted to evaluate the performance and the process kinetics of removing nitrogen from DAP-spiked wastewater. Temperature and DO were maintained at 30 ± 2℃ and 5 mg/L, respectively, throughout the studies. The presence of high DO in the reactor should ensure that there is no oxygen limitation (Iannacone et al. 2020).

Experimental conditions for batch study

Batch studies were conducted over a period ranging from 82 to 48 h and parameters were monitored at a 6-h interval. During the study, 25% carrier filling ratio was considered and the initial total equivalent suspended biomass was varied between 200 and 2570 mg/L. pH in the reactor was maintained within 7.8–8.3 without the need for external chemical adjustment, which is considered optimal for the activities of both nitrifiers and denitrifiers (Rittmann and McCarty 2001). During the batch study, the initial operating conditions in the reactor are as shown in Table 2.

Table 2 Operational conditions for treatment of DAP containing wastewater in batch MBBR process

Development of Monod’s kinetics

The detailed derivation for evaluating Monod’s kinetic parameters is described in the study by Bhattacharya and Mazumder (2021). To determine the kinetic coefficients of nitrification in DAP containing wastewater, the initial and final NH4-N and biomass concentration and the batch period were taken into account. Accordingly, the values of \(\frac{\uptheta X}{({N}_{O}-N)}\) are plotted against that of \(\frac{1}{N}\) to determine k and KN respectively from the slope and intercept. Similarly, the values of \(\frac{({X}^{\mathrm{^{\prime}}}-X)}{X.\theta }\) are plotted with respect to those of \(\frac{{N}_{o}-N}{X\uptheta }\) to find the values of Y and kd, respectively, from the slope and intercept.

Experimental conditions for continuous study

Continuous study in MBBR was initiated after enrichment of acclimated biomass in the laboratory-scale reactors. Wastewater spiked with DAP with an ammonium concentration of about 500 mg/L was prepared by diluting the stock solution of the same. To investigate the feasibility of SND for the DAP-containing wastewater, the MBBR was operated with varying HRT and attached biomass concentration. The carrier filling ratio (CFR) was maintained at 35% throughout the continuous study; this increase relative to the batch study is due to the absence of any suspended biomass in the reactor. HRT and pH in the reactor were maintained respectively between 18 and 24 h and 7.8 to 8.3. The operating parameters for this continuous study are listed in Table 3, identifying the variation of different parameters in each run. DAP has a high phosphorus content and therefore an attempt was made to examine the removal of phosphorus from the spiked wastewater and to analyse the applicability of MBBR for the complete treatment of DAP-spiked effluent prior to safe disposal. It was observed that the removal of phosphorus after the one-step treatment in MBBR was insignificant. Therefore, a continuous 2nd-stage operation was conducted at similar operating conditions including HRT, using the effluent from the 1st-stage operation for residual phosphorous removal. The operating conditions of the second stage are also listed in Table 3. This was performed to verify that the reactor was efficient for removing both ammonium and phosphorus from low carbon wastewater. A comparison of the results obtained in the case of a DAP-doped sample with those obtained from nitrogenous feed would give an idea of the implementation of the process in practice for effluents with and without high phosphorus content. For all continuous runs, a quasi-steady state was considered, which was resembled by varying two consecutive values within a maximum of 5%.

Table 3 Operational conditions of the continuous study for two stages MBBR system with DAP containing wastewater having initial NH4-N conc. around 500 mg/L

Development of overall reaction rate of ammonium oxidation

In case of substrate removal from industrial wastewater, the overall reaction rate can be calculated using the following equation which illustrates the kinetics of oxidation (Eckenfelder and O’Connor 2013).

$$\frac{{S}_{o}-{S}_{e}}{{f}_{b}{X}_{v}t}=K\frac{{S}_{e}}{{S}_{o}}$$

where

S o :

influent ammonium concentration, mg/L

S e :

effluent ammonium concentration, mg/L

f b :

constant = 1.0 for no influent VSS

X v :

active volatile biomass concentration, mg/L

t :

time, days

K :

overall rate constant, /day

Since the DAP-spiked wastewater resembles effluent from the nitrogenous fertilizer industry, this equation can be used to evaluate the process kinetics from the data obtained from the continuous studies. In the case of SND, the stepwise quantification related to the formation and utilization of nitrate and nitrite is not evaluated from the single reactor and therefore only the reaction rate related to ammonium is considered. The nitrifying biomass responsible for the process is obtained by scraping the outer surface of the carrier and used in the equation as equivalent suspended biomass (mg/L). A graph is plotted with (\(\frac{{S}_{o}-{S}_{e}}{{f}_{b}{X}_{v}t}\)) on the Y-axis with respect to (\(\frac{{S}_{e}}{{S}_{o}}\)) on the X-axis to obtain the rate constant (K) from the slope of the curve. The value of this rate constant K varies with the type of industrial effluent, especially the biodegradable material, and with temperature of the reaction.

Calculation of SND efficiency

From the experimental data obtained, SND efficiency can be calculated by the following equation (Dobbeleers et al. 2017)

$${\mathrm{SND}}_{\mathrm{eff}}=\left(1-\frac{{\mathrm{NO}}_{{2}_{\mathrm{e}}}+ {\mathrm{NO}}_{{3}_{\mathrm{e}}}}{{\mathrm{NH}}_{{4}_{\mathrm{i}}}-{\mathrm{NH}}_{{4}_{\mathrm{e}}}}\right)\times 100\mathrm{\%}$$

where,

NO2e:

nitrite concentration in effluent, mg/L as N

NO3e:

nitrate concentration in effluent, mg/L as N

NH4i:

ammonium concentration in influent, mg/L as N

NH4e:

ammonium concentration in effluent, mg/L as N

Identification of bacterial species

In order to identify the different bacterial species in the biofilm grown on the surface of carriers, metagenomic analysis was conducted. Biomass attached to the carriers was first isolated from the bio-carriers. During individual extraction, randomly selected carriers were washed with sterile water using a sterilized glass pipette. 16S rDNA was used as a gene marker for the analysis as it helps to identify the different responsible genera and species in the biofilm and also to predict the functional potential of the community. PCR was conducted on extracted DNA via barcoding using Ligation Sequencing Kit 1D (SQK-LSK109) and PCR Barcoding Expansion Pack 1–96 (EXP-PBC096). The workflow was designed to BLAST base called sequence against the NCBI 16S bacterial database, which contains 16S sequences from different organisms. This analysis was performed by YaazhXenomics Laboratory, Coimbatore, Tamil Nadu, India.

Result and discussion

Results obtained from the batch study

Batch studies were performed to assess the feasibility of the process of both nitrogen and phosphorus in MBBR under limited organic carbon, along with the establishment of reaction kinetics that would illustrate the relationship between biomass and substrate. Batch studies with different ammonium and phosphorus loadings with different HRTs and biomass concentrations reflect the trend of phosphorus and nitrogen species reduction over time. The experimental data obtained were analysed according to Monod’s approach to evaluate the removal efficiency and kinetic parameters. The CFR and DO concentration of 35% and 5 mg/L were kept constant throughout the study. For MBBR, the DO requirements for nitrification are comparatively higher (about 3–5 mg/L) than those required in suspended growth reactors (1–2 mg/L) (Jenkins and Wanner 2014). Increasing the oxygen content beyond 5 mg/L results in accumulation of nitrate as a by-product of nitrification instead of being converted to nitrogen gas due to inconvenience in denitrification, resulting in poor SND efficiency (Wang et al. 2020).

Concentration profiles for recorded parameters

Several parameters including different nitrogen species, phosphorus, TOC concentration, alkalinity, and pH were regularly monitored to understand the process. Figure 1 shows the change in ammonium concentration with time as observed during studies with variable initial ammonium and phosphorus concentration. It can be observed that the main ammonium conversion for all batches was completed within 55 h from the initiation of the batches and a particular trend can be noticed. NH4-N removal recorded during the study ranged from 86 to 94%, confirming the results obtained with synthetic wastewater without high phosphorus loading (Bhattacharya and Mazumder 2021). Sufficient nitrite and nitrate were present in the reactor during the study showing low total nitrogen removal and hence low SND efficiency. A high DO concentration in the reactor ensured that no DO deficiency hindered the nitrification. This aerobic condition is essential not only for reducing ammonium concentrations, but also for phosphorus, along with establishing a dominance of DNPAOs over DNBs (Jenaet al. 2016). Nitrification process supplies the required nitrate for further phosphorus reduction in anoxic phase. This study is performed with excess phosphorus, similar to that of Kuba et al. (1996) in two-phase systems as it confirms the presence of sufficient phosphorus for nitrifier growth in the reactor.

Fig. 1
figure 1

Profile of ammonium nitrogen during batch studies using DAP-spiked wastewater

No organic carbon was added to the influent wastewater spiked with DAP and therefore, the initial TOC concentration obtained from the batches, as shown in Figure S1 (in the supplementary file), is from the microbial cells. In the early hours of the runs, organic carbon utilization was comparatively low due to the delay in commencement of denitrification. Within 12–15 h of the batch runs, the organic carbon reduction rate increased rapidly revealing the use of carbon, thereby exhibiting excellent denitrifying activity. The intercellular carbon was then supplied constantly and a steady TOC concentration was observed in the reactor, indicating a balance between supply and uptake of TOC. Ninety-three to ninety-eight percent of TOC removal was obtained from the batches. Similar results have been observed with biodegradable carriers under organic carbon deficient conditions (Chu and Wang 2011). Similar studies conducted in absence of organic carbon suggest denitrification using intracellular and/or extracellular biopolymers as carbon sources (Cui and Jahng 2004). In the case of external carbon addition, denitrifying activity is higher at a C/N ratio of 4.2, while the highest nitrifying activity is recorded at the lowest C/N ratio used in the study (Iannacone et al. 2019). This rapid decrease in TOC results in a limitation of readily available carbon in the reactor, which would affect denitrification as well as denitrifying dephosphatation for simultaneous nitrogen and phosphorus removal (Iannacone et al. 2020). To achieve complete denitrification, a COD:NO3 ratio between 3 and 6 is often recommended (Van Rijn et al. 2006), and insufficient organic carbon content in the reactor can cause nitrite accumulation (Chu and Wang 2011). This is reflected in the data observed in Fig. 3, which shows higher TN concentration along with low ammonium. When higher ammonium levels are introduced, the COD removal percentages reflect the heterogeneous activity of aerobic bacteria, which is corroborated by a similar acclimation study by Zhang et al. (2021) using fertilizer industry wastewater with gradually replacing synthetic carbon-enriched feed.

The reduction in phosphorus concentration over time during the batch study of treating DAP-spiked wastewater in MBBR is demonstrated in Fig. 2. Denitrifying dephosphatation enables the removal of phosphorus and nitrogen with minimal COD requirements, minimal DO consumption, and the lowest sludge production. DO is only required for nitrification of ammonium (Kuba et al. 1996). In the present study, maximum and minimum phosphorus removal of 56.5% and 37.7%, respectively, was achieved, with removal efficiency decreasing as the load increased. An average total phosphorus removal of 15–55% is generally obtained along with removal of other nutrients in MBBR (Saidulu et al. 2021; Nhut et al. 2020). The main reasons that single-stage MBBR did not achieve high TP removal are longer retention times for the nitrifiers, nitrate inhibition, and competition for carbon sources for denitrification and phosphorus removal (Chen et al. 2020). Iannacone et al. (2020) concluded that under stable aerobic conditions, phosphorus uptake was negligible due to the deficiency of nitrite, which was not the case in the present study. The nitrogen species profile indicated denitrification and thus presence of anoxic zones in deeper biofilm layers (Bhattacharya and Mazumder 2021). Denitrifying PAOs use nitrate as electron acceptors and therefore can be reduced together with denitrification under anoxic conditions (Ma et al. 2013). Under optimized conditions of DO, organic carbon (500 COD mg/L), and phosphorus (12.5 mg PO4-P/L), phosphorus removal of about 95.8% was achieved in a laboratory-scale batch MBBR system (Kermani et al. 2009).

Fig. 2
figure 2

Profile of phosphorus concentration during batch studies with DAP-spiked wastewater

Development of kinetics

Nitrification in a biological reactor is quantified using process kinetics, which depend on a number of parameters including substrate and DO concentrations, organic matter, temperature, pH, alkalinity, salinity, and turbulence (Chen et al. 2006). The experimental data obtained from the batch study is used to evaluate kinetic coefficients for ammonium oxidation since ammonium is the rate-limiting substrate for SND (Chen et al. 2006). Evaluating the data using Monod’s kinetics, half saturation coefficient and specific substrate utilization in terms of ammonium nitrogen are evaluated as 231.34 mg/L and 0.74/day, respectively, as obtained from Figure S2 (in the supplementary file), which largely depends on biomass properties and experimental conditions and therefore varies largely when compared to other works (Poduska and Andrews 1975). Figure S3 (in the supplementary file) derives the yield coefficient and endogenous decay rate, respectively, as 0.8466 and 0.002/day. A low endogenous decay coefficient indicates lesser biomass decay, which contributes to a lower organic carbon supply, which explains the low rates of denitrification and phosphorus removal. Kermani et al. (2009) used the Stover-Kincannon model to calculate half saturation constants and maximum specific substrate utilization rates of 43.305 g/L-day and 35.088 g/L-day respectively for nitrogen and 8.50 g/L-day and 7.71 g/L-day for phosphorus removal in anoxic, aerobic, and anaerobic reactor setup. The maximum growth rate (µmax) is calculated to be 0.626/day, which describes the biomass growth and determines both nitrification rate (Barker and Dold 1997) and the minimum required HRT of the reactor (Antoniou et al. 1990).

SND, TN, and TP removal efficiencies

SND, TN, and phosphorus removal efficiencies obtained from the batch studies under different initial concentrations of ammonium and phosphorus are shown in Fig. 3. In all cases, high ammonium nitrogen removal efficiency was obtained while both TN removal efficiency and SND efficiency were found to be considerably low. The reason for this is that the reactor was operated under highly aerobic conditions with DO around 5 mg/L. The biofilm formed on the carriers was not uniformly thick enough to provide anoxic zones and as such denitrification was impaired. Both the suspended biomass and thin layer of attached biofilm on the outer surface and the inner surface attributed to the high ammonium oxidation and thus to high nitrification. Biomass sloughing from the carriers resulted in limited depth in biofilms to support anoxic regions, affecting both denitrification and phosphorus removal. Phosphorus removal efficiency obtained from the study corroborates the results obtained by previous researchers on nutrient removal in MBBR. In order to achieve a better removal and SND efficiency, higher attached biomass needs to be provided for continuous studies. Another reason for the low efficiency can be attributed to the absence of acclimatization of biomass with DAP-spiked wastewater.

Fig. 3
figure 3

SND, TN, TP, and ammonium removal efficiencies obtained during batch studies with DAP-spiked wastewater

Continuous studies using DAP-spiked wastewater

Treating industrial wastewater on a real scale requires a continuous inflow into the system, which requires evaluation of the process in continuous mode. Previous studies have shown that continuous operation in MBBR satisfactorily removes carbon, nitrogen, and phosphorus from municipal wastewater (Leyva-Díaz et al. 2020). Since high removal efficiencies in terms of total nitrogen and phosphorus were not achieved during batch studies, continuous studies in MBBR are evaluated by introducing a second reactor under similar conditions to obtain better removal. Previous SND studies in an aerobic/anoxic MBBR to treat phosphorus and nitrogen showed up to 100%, 68%, and 72% COD, TN, and phosphorus removal, respectively, at a C/N ratio of 4.2 (Iannacone et al. 2019). The present study attempted to investigate the effect of HRT and biomass density on nutrient removal from DAP-spiked wastewater. Phosphorus and SND removal in single-stage MBBR was observed to be low in batch studies and did not meet standard wastewater disposal limits. Therefore, the potential of two-stage MBBR with similar conditions of CFR, pH range, and temperature will be explored during the study.

Concentration profiles recorded during continuous mode of operation

Nitrification in MBBR was particularly efficient with a DO of around 5 mg/L and HRT in the range of 18 to 24 h showed a satisfactory removal between 90 and 96% in all cases, even at a high ammonium concentration of about 500 mg/L, as shown in Fig. 4. The vertical line at 102 h shows the end of the 1st stage of MBBR and commencement of the 2nd stage. However, not much removal was achieved in the second stage as it had already entered a steady state about 100 h after the runs began. At the end of the second stage, about 96–99% ammonium removal was achieved in all cases, confirming the applicability of MBBR for removing ammonium from DAP containing wastewater.

Fig. 4
figure 4

Ammonium concentration profile for continuous studies with DAP-spiked wastewater

Phosphorus removal in MBBR for DAP-spiked wastewater was observed to be relatively low compared to nitrogen removal, as can be seen in Fig. 5, where a vertical line at 102 h indicates the initiation of the 2nd stage. Several reasons can be attributed to this; the most important one being the biomass, which was initially acclimatized only to a high ammonium concentration. In addition, the C:N:P ratio required for phosphorus removing organisms was not maintained in the reactor, where there was apparently no organic carbon and both ammonium and phosphorus were present in relatively equal concentrations. At the end of the first-stage operation in MBBR, the phosphorus removal efficiency was observed to range from 47 to 56%. As this effluent still contained phosphorus concentration too high to be disposed of, a second-stage MBBR was implemented, similar to the first-stage reactor, to further increase the overall removal efficiency. Phosphorus removal at the end of the two-stage reactor was in the range of about 64–70%, with effluent phosphorus still being too high to dispose. Therefore, a polishing treatment unit is proposed to remove the residual phosphorus from the wastewater. As previously discussed, phosphorus removal can be attributed to PAO and EBPR organisms, which are reported to accumulate phosphorus up to 4–8% in full-scale water treatment plants, compared to only 2% in typical activated sludge (Orhon and Artan 1994). This value can reach up to 10% in laboratory-scale reactors with synthetic wastewater (Crocetti et al. 2000). Limiting organic carbon increases competition between denitrifying heterotrophs and PAOs, often resulting in limited phosphorus removal (Wang et al. 2019). EBPR can also remove 85% phosphorus from domestic wastewater by metabolizing polyhydroxybutyrate (PHB) stored in cells under anoxic conditions (Tchobanoglous et al. 2003).

Fig. 5
figure 5

Phosphorus concentration profile obtained during continuous studies in MBBR with DAP-spiked wastewater

Removal efficiencies with respect to TN, TP, SND, and ammonium nitrogen

Figure 6 shows ammonium, TN, and phosphorus removal efficiencies along with SND efficiencies obtained from the continuous studies in two consecutive stages. Each bar for each species represents the cumulative removal along with individual efficiencies as marked on the graph. SND efficiency in the first stage varied between 78 and 84.3%, which increased to the range of 88.3% and 95.4% at the end of the two-staged removal system. Total nitrogen removal was also significantly improved at the end of the second stage, ranging from 88 to 95.1%, which at the end of single-staged treatment ranged between 70.5 and 81.4%. This removal efficiency, obtained in both stages, depends directly on the HRT as well as the biomass density in the reactor. The efficiencies were quite high compared to the existing studies, unless external organic carbon was used. It was experimentally reported that an increase in C/N ratio from 4.3 to 7.4 improved the SND efficiency from 55 to 98% (Bueno et al. 2018). Similar results were obtained in the case of SND in SBBR using biodegradable carriers, where TN removal efficiency dropped drastically from 89.2 ± 5.2% to 58.1 ± 3.5% as COD/N decreased from 7.6 to 2.8 (Feng et al. 2018). A comparison of removal efficiencies for biological treatment of fertilizer industry effluents in different reactor systems is presented in Table 4.

Fig. 6
figure 6

Ammonium N, TN, phosphorous removal, and SND efficiencies obtained from continuous study with DAP-spiked wastewater

Table 4 Nitrogen and phosphorus removal efficiencies of biological treatment of fertilizer industry wastewater in various reactor systems

Reaction rate of overall ammonium nitrogen oxidation

To determine the overall ammonium oxidation rate, the specific ammonium removal rates (\(\frac{{S}_{o}-{S}_{e}}{{f}_{b}{X}_{v}t}\)) for various continuous runs are plotted with respect to ammonium nitrogen remaining fraction (\(\frac{{S}_{e}}{{S}_{o}}\)) as shown in Figure S3 (in the supplementary file). The slope of best-fit line in this graph is calculated as 7.641/day, which represents the overall removal rate constant for ammonium nitrogen oxidation in the DAP-spiked wastewater. The value of overall ammonium oxidation rate indicates moderate removal of ammonium nitrogen over the time period. However, it is observed to be about a third of the overall removal rate for effluents with high organic nitrogen (K = 22.2) at 22 \(^\circ{\rm C}\) as mentioned by Eckenfelder and O'Connor (2013). However, effluents spiked with DAP did not contain organic nitrogen and the data evaluated are representative of wastewater with high inorganic nitrogen and phosphorus. The overall reaction rate is also largely temperature dependent and therefore for more comprehensive applications of this parameter, the effect of temperature on microbial kinetics must be considered in process design (Leong et al. 2011).

Bacteriological analysis of the biofilm

The carriers used in the study had thick biofilms on the inner surface and thinner biofilm on the outer surface exposed to hydraulic shear. For the inner surface biofilm, thickness of more than 1 mm would be thick enough to form anoxic zones for denitrification and phosphorus removal. Identification of bacterial species on the surface carriers, as shown in Figure S4 (in the supplementary file), reflected the dominance of aerobic nitrifying species on the outer carrier surface and more species diversity on the thick inner biofilm, protected from hydraulic shear. The abundance of various dominant bacteria genera in respective inner and outer surface biofilm growing on the carrier is shown in the figure. For both biofilms, proteobacteria was the most predominant group with gamma-proteobacteria dominating others which is commonly observed to play a crucial role in plant-biome interaction (Prasedya et al. 2022). Stenotrophomonas under the family Xanthomonadaceae is the dominant genus observed in the biofilm growing on the outer surface of the carrier which has shown biofilm forming (Ulrich et al. 2021) and nitrifying abilities including heterotrophic nitrification and partial nitrification (Qiao et al. 2020). Pelomonas is often predominant in nitrifying reactors (Zhou et al. 2016), often supporting high nitrogen removal in membrane reactors (Zhong et al. 2017) and biofilm reactors undergoing SND (Wu et al. 2020). Bosea has denitrification genes (nir, nor, and nos) and actively responsible for nitrate reduction in heterotrophically hypoxic conditions (Dandie et al. 2007). Dokdonella is reported to be responsible for removing nitrogenous compounds, mainly through denitrification (Palma et al. 2018; Zhang et al. 2021). Nitrococcus, found mainly on the outer surface biofilm, is a well-known nitrifier, specifically an ammonium oxidizing bacterial genus (Arp et al. 2007). Ralstonia, isolated from outer surface of the carriers, is another plant growth–promoting rhizobacteria (PGPR) with phosphate solubilizing and denitrifying properties, extensively found in cultivation soils (Han et al. 2012).

Among the dominant bacteria in the inner surface biofilm of the carrier, Rhodanobacter, commonly, a denitrifying bacterial genus (van den Heuvel et al. 2010), has been reported to undergo complete denitrification (Green et al. 2010). Chujaibacter has been reported to play a crucial role in denitrification (Prasedya et al. 2022) with potential genus for ammonium oxidation in MBBR-MBR systems (Rodriguez-Sanchez et al. 2018). The species of Mycolicibacter obtained in the biofilm is categorized under Terrae clade and are commonly identified as major players in denitrification (Mun et al. 2008). Species of Luteibacter has been reported to convert nitrate to nitrite under aerobic conditions (Wang et al. 2011). Tetrasphaera is a dominant polyphosphate-accumulating genus that has been isolated from wastewater treatment plants undergoing EBPR (Nguyen et al. 2011; Nielsen et al. 2019). This genus is often abundantly found in full-scale biological treatment plants with significant phosphorus removal. Frateuria is commonly identified as a potassium-solubilizing bacteria in soil and might be associated with simultaneous nitrogen fixation though the exact pathway is yet to be determined (Subhashini 2015). All these bacterial genera isolated from both outer and inner surface of biofilm carriers are characterized for exhibiting properties for nitrification, denitrification, and phosphorus removal. It is, however, interesting to note that majority of the species are attributed towards nitrogen removal and that of phosphorus removal is particularly limited. This corroborates with the experimental results of restricted phosphorus removal in the system.

Conclusion

With the increasing use of fertilizers for production, effluents from fertilizer industry and agricultural runoff are characterized by high phosphorus and ammonium content. Since both are nutrients, biological treatment processes for these effluents are particularly efficient and cost-effective, although the lack of sufficient organic carbon for the biological processes requires external addition of carbon sources, which in turn increases treatment costs. In an attempt to solve this challenge, the effectiveness of MBBR when organic carbon is supplied from endogenous degradation of the biomass is investigated. With a filling ratio of 35%, novel bio-carriers were used to support the growth of thicker biofilms on the inner surface. Batch studies performed with DAP-spiked wastewater demonstrate the feasibility of treatment in MBBR with approximately 95% ammonium reduction for a batch period of around 85 h. Denitrification and phosphorus removal occurs in the deeper layers of the biofilm, which are anoxic due to DO depletion. However, denitrification and phosphorus removal was not efficient due to low organic carbon content, resulting in low SND efficiency. With the aim of improving the treatment efficiency, continuous studies were conducted using a two-stage aerobic MBBR, which achieved approximately 90% SND efficiency with over 60% phosphorus removal. The effluent after two-stage treatment still contained high levels of phosphorus, which could not be safely disposed of without any tertiary treatment. The study shows successful application of MBBR to treat high DAP-containing wastewater as a biological treatment unit, which can be followed in conjunction with a polishing step. The present study investigated the biological speciation of the biofilms which further illustrated the occurrence of the biochemical processes in the reactor system.