1 Introduction

Recent years have seen economic growth leading to increased rates of energy production. The continued growth in demand is linked to the use of existing fossil fuel resources, which can still be used for the next few decades. The use of fossil fuels is becoming increasingly inadequate (among other things, through the high costs of production and exploration, as well as environmental aspects) [1]. This situation is leading to increased interest in renewable energy sources (RES), which are steadily increasing their share of energy production year on year [2]. The RES sector gaining year on year is biogas plants. Europe was one of the leaders in obtaining energy in the form of biogas from biogas plants in 2021. There are approx. 19,000 biogas plants in Europe, producing about 167 TWk of “green energy” per year in the form of biogas [3]. More than 70% of biogas plants located in the European Union use waste from the agri-food and livestock industry for biogas production (e.g. animal waste such as manure or slurry, agricultural waste (e.g. corn silage) and also energy crops) [3, 4].

As an agricultural country with a strongly developed agricultural sector together with an extensive agri-food industry, Poland also has the potential to develop agricultural biogas production [5,6,7,8]. This makes agricultural biogas plants the fastest growing and most promising branch of the renewable energy production sector, specifically in agricultural areas. In 2021, 134 installations were registered in the register of agricultural biogas producers, allowing the production of approximately 540 million m3 of biogas per year. From year to year, the number of operational biogas plants in Poland is increasing systematically. In just 1 year of biogas production alone, almost 5 million tonnes of raw materials were used, of which more than 87% was waste from the agriculture and food industry [9].

In published research, a variety of tests relating to the fermentation process for biogas production can be found for various substrates treated as mono-substrates (e.g. agricultural, industrial or municipal waste, as well as sewage sludge) [10,11,12,13]. However, not every type of feedstock is suitable for direct mono-fermentation due to imbalances in the proportions of nutrients, a lack of diverse microorganisms and adverse effects on the process. A technological alternative increasingly used for methane fermentation is co-digestion. This consists of the mixing of two or more different feedstocks (e.g. sewage sludge together with agricultural, industrial or municipal waste) in one digester at the same time [14,15,16]. Co-digestion enables the potential of the existing digesters to be utilised, the efficiency of the biogas plant to be increased and therefore the energy effect to be greater than that of the mono-fermentation of the product concerned [11, 17,18,19,20]. Co-digestion provides a way to utilise waste and at the same time increase methane production and has the potential to reduce some of the problems that arise with mono-fermentation. It is also one method of increasing the energy self-sufficiency of wastewater treatment plants [15, 21,22,23]. The strategy is in line with the principles of sustainable development [18, 24]. However, a fundamental element of the co-digestion process is the selection of co-substrates with a composition balanced in relation to the main feedstock of the process; the feedstocks used should provide the required balance of nutrients in the feedstock, improve the C/N ratio and dilute compounds inhibiting or toxic to the fermentation process when using the basic feedstock [18, 21, 25, 26]. Feedstocks with a higher carbon/nitrogen (C/N) ratio, such as straw or corn silage, can be used for co-digestion with substrates with a lower C/N ratio, e.g. pig manure or food waste, to achieve a nutrient balance and avoid inhibition of the methane fermentation process [11, 23, 27, 28]. Research has shown, for example, that the use of animal manure with other, different co-substrates (e.g. corn silage) can increase biogas production between 25% and even 400%, compared with the fermentation of the same feedstock in mono-fermentation [16, 29]. Although the co-digestion process has many advantages, its implementation requires the observance of a specific environmental regime and a number of parameters at an optimum level for the microorganisms carrying out the process [11, 20].

The methane fermentation process transforms only part of the organic components contained in the waste into bioenergy. The resulting by-product of biogas production (digestate) is a mass rich in nutrients, such as nitrogen and phosphorus, and can be used as a “green fertiliser” [30, 31]. However, some test results show that it cannot always be treated as a safe product. The digestate may contain toxic contaminants in the form of heavy metals, organic pollutants (e.g. from pesticides or pharmaceuticals) or pathogenic bacteria that can be introduced into the soil during fertilisation [32,33,34]. The heavy metals that are found in the feedstock are not removed during the fermentation process and, in addition, their concentration increases because of the reduction in feedstock mass. It is therefore necessary to assess the heavy metal content to limit the increase in their concentration in the digestate or in the soil above the regulatory limit values [32, 34, 35]. Pathogens found in the feedstock are not fully removed during mesophilic fermentation. Salmonella bacteria have been found in the digestate, as well as the particularly dangerous bacterium L. monocytogenes. Therefore, the use of digestate containing pathogens may pose a threat to the health of food users, as well as contribute to environmental contamination (e.g. crops, soils, groundwater) [33, 34]. The balance of the benefits of using fertiliser digestate for the soil against its possible toxicity should be analysed despite these risks [34].

Another environmental risk arising from the increase in the number of agricultural biogas plants is the significant increase in the amount of digestate produced, as a result of the large amount of feedstock often brought to the biogas plant from distant areas. The most common solution is to use the produced digest directly to fertilise agricultural fields located close to the biogas plant. This can cause over-fertilisation of these farmlands, resulting in environmental pollution (e.g. with nitrogen and phosphorus compounds) [36,37,38,39]. It is economically unviable to manage the hydrated digestate on sites located further away from the agricultural biogas plant because of the high cost of transport[40]. A solution to this problem could be to separate the digestate into solid and liquid fractions and then manage the dewatered (solid) fraction and the leachate separately [41, 42]. The solid fraction is most often used to produce compost and used as a fertiliser [43, 44]. However, a significant problem may be the management of the liquid fraction (leachate) which accounts for more than 80% of the digestate mass. The leachate contains high concentrations of nitrogen and phosphorus [45, 46], and incorrect management (e.g. overdosing, leading to soil over-fertilisation) can lead to nutrients leaching from the soil or infiltrating into groundwater, thus contaminating nearby rivers and adversely affecting the development of aquatic flora and fauna [39, 47].

A review of the literature indicated that the concentration of total nitrogen in the liquid fraction of the digestate can be between 1000 and 3100 mg N/L, mainly in the form of ammonium nitrogen [48, 49]. At the same time, leachates from digestate dewatering contain high concentrations of phosphorus about 1500 mg P/L [48], with low concentrations of bioavailable organic matter [50]. In the literature, though, the information on organic nitrogen fractions and their contribution to the liquid fraction of the digestate is missing. Therefore, the leachate should be treated before being discharged into the environment. In the case of biogas plants located next to wastewater treatment plants, the leachate is most often discharged into the main line of the treatment plant. Increased nitrogen loading, however, means increased energy consumption for aeration, which reduces or even eliminates the positive energy and environmental effects associated with increased biogas production [51, 52]. The solution to this problem is to treat the leachate in a separate treatment plant focused on nitrogen removal. The use of anammox bacteria is most commonly used for this, in one variant of the deammonification system [51, 53]. Another very interesting solution is the treatment of leachate using microalgae biomass. This method not only ensures efficient removal of nitrogen and phosphorus, but also enables the production of biomass that can be used for biofuel production. Such a solution is therefore in line with the idea of a circular economy and makes it possible to fully exploit the energy potential contained in leachate [54, 55]. Furthermore, for this solution, it would be important to study the fraction of organic nitrogen present in the leachate from the dewatering of the digestate.

The aim of this study was to determine the changes of organic nitrogen fractions in the liquid fraction of digestate in an agricultural biogas plant during the mono- and co-digestion processes. The products of the agriculture and food industry were selected for testing the fermentation processes. Based on 2018 data, these wastes accounted for more than 75% of the feedstocks most commonly used in Polish agricultural biogas plants [9]. The correctness of the fermentation process was verified by determining the biogas production.

2 Materials and methods

2.1 Materials

For research purposes, agricultural waste and waste from the food industry were used as feedstock for the fermentation process:

  • Agricultural lignocellulosic waste in the form of corn silage.

  • Food waste in the form of distillery residue.

  • Animal manure in the form of cattle slurry.

Material collected from a well-operating biogas plant located in central Poland was used as inoculum.

Three mono-fermentation batch tests were performed. The reactor feedstock consisted of 20% inoculum and 80% of the tested substance diluted with water to approx. 4% TS (mass proportions). In addition, a control test was performed with inoculum alone. Four co-digestion batch tests were then performed using the same substrates as for mono-fermentation. In the case of co-digestion, two experiments were additionally performed, differing in the proportion of substrate and inoculum. The tests marked A used 20% inoculum and 80% agricultural substrate feedstock, and the tests marked B used 80% inoculum and 20% agricultural substrate feedstock. The feedstock characteristics for each test are shown in Table 1.

Table 1 Feedstock composition of the reactors for the individual tests

2.2 Research methodology

2.2.1 Fermentation process

Tests were conducted at laboratory scale on a test station comprising two anaerobic digestion (AD) reactors built with horizontal cylindrical chambers of size a diameter d = 30.5 cm and length l = 60 cm (Fig. 1). The reactors were operated in a batch (non-flow) system. The chamber volume was 44 L (active 30 L). At all times during the test, the reactors were hydrodynamically mixed using external pumps and a temperature was set at 37 °C. The fermentation process was carried out for 28 days. Samples for the analyses were taken at the beginning and end of the tests.

Fig. 1
figure 1

Laboratory AD reactors: A—temperature meter, B—digester, C—gas volume meter, D—manometer, E—vortex pumps, F—inlet and outlet of liquid from recirculating thermostat

2.2.2 Analyses of biogas

During the test, the volume of biogas produced (with a Ritter MGC1 gas meter (Ritter Apparatebau (Germany)) and its composition (in terms of CH4 and CO2) (with a Geotech GA5000 meter (Geotechnical Instruments (UK)) was checked 3–5 times a week.

2.2.3 Analyses of digestion

Three independent samples of the digestate were each taken at the beginning and end of the methane fermentation process. Dry matter as a fraction of total solids (TS) was determined for the each initial and final sample (triplicate sets of measurements).

The rest of the collected samples were mechanically separated into solid and liquid phases. The mechanical separation was carried out using a Jouan C3i laboratory centrifuge (Thermo Electron Corporation). A centrifugation speed of 4000 rpm and a centrifugation time of 30 min were taken, following the methodology presented in an earlier publication [48].

2.2.4 Analysis of the liquid fraction of the digestate

Analyses of the liquid fraction of the digestate included the forms of total nitrogen (TN), i.e. ammonium nitrogen (NH4-N) and organic nitrogen (ON). Each determination was repeated three times. With regard to organic nitrogen, concentration analyses of the individual fractions were carried out. For this process, the reject water was filtered through Millipore nitrocellulose filters (Billerica, MA) with pore sizes of 0.1, 0.45 and 1.2 μm. For reject water (TNRW) and selected filtrate, determination of total nitrogen (TN0.1 and TN1.2) was also performed using a TOC analyser with TN determination attachment (SHIMADZU Corporation, Japan). The detailed description of Shimadzu method for TN measurement was presented in previous publication [56]. In addition, ammonium nitrogen (NH4-N) concentrations were determined in the filtrate formed by filtration through a 0.45-μm pore size filter using Hach Lange cuvette tests on a DR20000 spectrophotometer. The analytical methodology used by Hach Lange (Germany) and SHIMADZU (Japan) was based on the Standard Methods for Examination of Water and Wastewater [57].

2.2.5 Sequencing of organic nitrogen

Organic nitrogen, due to its physical state, can be divided into particulate organic nitrogen (PON), colloidal organic nitrogen (CON) and dissolved organic nitrogen (DON). On the basis of the results obtained from the analyses of the liquid fraction of the digestate, the concentrations of the individual organic nitrogen fractions were calculated from the following relationships [58]:

$$\mathrm{PON }= {\mathrm{TN}}_{\mathrm{RW}} - {\mathrm{TN}}_{1.2}$$
(1)
$$\mathrm{CON }= {\mathrm{TN}}_{1.2} - {\mathrm{TN}}_{0.1}$$
(2)
$$\mathrm{DON }= {\mathrm{TN}}_{0.1} - {\mathrm{NH}}_{4}-\mathrm{N}$$
(3)

2.2.6 Concentrations in the hydrated feedstock

Calculations of the concentrations in the feedstock with the addition of water were carried out based on a mass balance to assess the transformation of nitrogen compounds with respect to the feedstock excluding the influence of the transformation taking place in the inoculum (Eq. 4):

$$C= \frac{{C}_{\mathrm{LF}}-{C}_{\mathrm{control}}\bullet {\eta }_{\mathrm{control}}}{{\eta }_{\mathrm{feedstock}}+ {\eta }_{{\mathrm{H}}_{2}\mathrm{O}}}$$
(4)

where:

C:

Concentration in diluted substrates at the beginning or the end of individual test

Ccontrol:

Concentration in test C (inoculum alone) at the beginning or the end of test

CLF:

Concentration in the liquid fraction of individual test at the beginning or the end of test

ηcontrol:

Share of inoculum weight in the feedstock

ηfeedstock:

Share of substance weight in the feedstock

η H2 O:

Share of water weight in the feedstock

3 Results and discussion

3.1 Biogas and methane production analysis

Table 2 shows the biogas and methane production potential for mono-fermentation of agricultural feedstocks and for the control test.

Table 2 Biogas and methane production rates for mono-fermentation tests

For the control test, biogas and methane production rates were low, reflecting the limited availability of organic matter and the use by microorganisms of feedstocks with lower fermentability. At the same time, the volumes of specific biogas and methane production rates are similar to values obtained in earlier tests for inoculum from a biogas plant located in a sewage wastewater treatment plant (0.075 m3 biogas/kg TS, 0.040 m3 CH4/kg TS) [20].

On the basis of the analysis carried out, corn silage was found to be the best feedstock in relation to unit biogas production. Each TS kilogram of this feedstock produced approx. 0.40 m3 biogas and 0.2 m3 methane. The other two feedstocks were characterised by similar values for biogas (0.26–0.28 m3) and methane (0.16–0.17 m3) production potential from each kilogram of TS. The obtained volumes of biogas and methane production rates for all the feedstocks tested are similar to the values presented in the literature. For cattle slurry, Santa et al. [59] tested biogas production as a function of dry matter content and cattle diet. At 8% dry matter in the input, they obtained between 0.11 and 0.15 m3 biogas/kg TS after 20 days of fermentation. In a review paper by Weiland [60], biogas production from corn silage was reported at 0.23 m3 per ton wet matter. In contrast, a test by Gunes et al. [61] on the fermentation of distillery and brewery wastes yielded 0.18 m3/kg TS. On the basis of a comparison of the biogas and methane production values obtained with those presented in the research literature, it can be concluded that the course of the fermentation process is correct. This provides the composition of the obtained digestate as measured for analyses of the transformation of nitrogen compounds. Table 3 summarises the specific biogas and methane production rates for the co-digestion tests of the analysed feedstocks.

Table 3 Biogas and methane production rates for co-digestion tests

The results show a major difference in biogas production rates between tests A and B. For tests with 20% of inoculum, the unit values for biogas and methane production are about 300% higher for the co-digestion of a feedstock containing distillery residue and corn compared with a feedstock containing slurry and corn. In tests with 80% of inoculum, values about 150% higher were obtained. This may be due to the availability of organic carbon for the microorganisms and thus the effect on microbial consortia and their adaptability. Such a large difference in values for co-digestion, with comparable volumes of unit biogas and methane production for tests with slurry and distillery residue mono-fermentation, indicates a significant positive effect of the feedstock composition prepared in this way on methane bacterial activity. The work of Wojcieszak et al. [62] presents tests on the adaptive effect of corn silage inoculum, which wereobtained from different sites, for methane production. The results obtained indicate that for different compositions of consortia that adapt during the process, different values of methane concentrations in the produced biogas were obtained [62]. The adaptability of the microbial consortia may result in differences in production rates and biogas composition despite using the same inoculation and inoculum.

Figure 2 shows the course of change in the proportion of methane in the biogas produced for the co-digestion tests. The course of the change in the proportion of methane in the biogas shows that for tests with 20% inoculum (tests A1 and A2), a gradual increase in the proportion of methane can be observed, which stabilises at a level of more than 60% by the end of the experimental time. The trend in the concentration of carbon dioxide is different. At the beginning of the test, its share in the biogas is high (more than 80%) and then decreases as the proportion of methane increases. In these experiments, the microorganisms multiply in the fermenter and undergo successive growth phases, which have an impact on the progression of the different methane fermentation phases. Such tests make it possible to trace the dynamics of gaseous product production as the number of microorganisms increases. The results obtained confirm the correct course of growth in size and composition of the biogas. In the case of tests with 80% of inoculum (tests B1 and B2), we observe an immediate (after 2 days) increase in the proportion of methane in the biogas to a value of 60–70% and subsequent stabilisation with slight changes in the methane content of the biogas produced. The trend is similar for the proportion of carbon dioxide, which peaks after 2 days (approximately 40%) and remains at this level until the end of the test. For experiments with 80% of inoculum, we can observe what is the effect of the feedstocks added as the input on the biogas production rate with a high concentration of microorganisms. In this case, the consortium of microorganisms is in a stationary growth phase and, after nutrient depletion, moves to a die-off phase. In this case, a decrease in the amount of biogas produced will be observed, with a stable proportion of methane. This is confirmed by the presented research results.

Fig. 2
figure 2

Changes in the share of methane and carbon dioxide in biogas: (A) test A1, (B) test A2, (C) test B1, (D) test B2

3.2 Transformation of nitrogen in the liquid fraction

Table 4 shows the concentrations of total nitrogen and ammonium nitrogen in the liquid fraction at the beginning and after 28 days of mono-fermentation, and for the control test. Figure 3, on the contrary, shows the concentrations and the increase or decrease of these values during fermentation, including the influence of inoculum transformations. The concentration of total nitrogen in the liquid fraction depended on the separation of the solid fraction by centrifugation. The initial concentration of total nitrogen in the control test was 829.1 mg N/L, of which ammonium nitrogen accounted for 643 mg NH4-N/L. A higher concentration of ammonium nitrogen was shown for the inoculum from the municipal biogas plant in Swarzewo: 867 mg NH4-N/L [20]. After 28 days of fermentation, an increase of 15.8% in total nitrogen and 26.7% in ammonium nitrogen was found. The increase in these values was due to the decomposition of residual organic matter contained in the inoculum and the transition of nitrogen to the liquid fraction and the ammonification process. In the mono-fermentation tests, initial total nitrogen concentrations depended on the feedstock. Relatively high values were found for feedstocks in the form of cattle slurry (2067.0 mg N/L) and distillery residue (1868.3 mg N/L), and considerably lower values for corn silage (358.0 mg N/L). These differences are due to the characteristics of the batches, including the presence of the dissolved fraction. For all three feedstocks, there was an increase in total nitrogen concentration at the end of the test. Recalculating the concentrations, considering the transformations taking place in the inoculum, the increase in TN concentration for the hydrated feedstocks was relatively small (8–9%), while for the corn silage, it exceeded 20%. This means that for slurry and distillery residue, most of the transformations were related to the nitrogen in the dissolved fraction, while for corn silage, the effect of the decomposition of the feedstock solids was significant (Fig. 3A).

Table 4 Contents of nitrogen forms for the mono-fermentation and control tests
Fig. 3
figure 3

Concentration of nitrogen compounds (calculated from mass balance) in the liquid fraction of feedstock and digestate for the tested feedstocks in mono-fermentation tests; (A) TN, (B) NH4-N

For the evaluation of organic nitrogen transformations, the concentration of ammonium nitrogen was important (Fig. 3B). Ammonium nitrogen is formed during hydrolysis of proteins and urea contained in the feedstock and is the predominant form of nitrogen in the liquid fraction. An increase in the concentration of ammonium nitrogen indicates that the process is proceeding correctly. The initial concentration of ammonium nitrogen in the tests depended on its concentration in the feedstock initially dissolved with water to obtain a constant TS value of 4%. Considering the proportion of nitrogen contained in the inoculum, the highest concentration of ammonium nitrogen was characterised by slurry (1778.0 mg NH4-N/L). The initial concentration in distillery residue was more than 3.5 times lower (497.4.0 mg NH4-N/L), and by far the lowest for corn silage (96.3 mg NH4-N/L). As a result of hydrolysis and ammonification of the organic matter contained in the feedstocks, there was an increase in ammonium nitrogen concentration after 28 days of fermentation. A particularly high increase was found for the distillery residue (by 271.7%) and this despite the relatively high initial values. By far, the lowest increase was recorded for cow slurry (16.8%), which could be due to the ammonification process in the storage tank from which this feedstock was taken. For corn silage, the increase was 44.7%, which, with a very low initial value, resulted in the lowest concentration for the three feedstocks tested (139.4 mg NH4-N/L). The concentrations of ammonium nitrogen in the mono-fermentation tests are similar to previous research. In the research literature, ammonium nitrogen concentrations vary between 500 and 3100 mgNH4-N/L or 1730 and 2100 mg NH4-N/L [48, 49], depending on the feedstocks used. Ammonium nitrogen accounted for 30 to 75% of total nitrogen at the beginning of the test, and at the end, its percentage had increased to 60–80% of total nitrogen. Similar shares of ammonium nitrogen in relation to total nitrogen can be found in the research literature, e.g. from 16 to 72% for leachates from agricultural biogas plants [49]; from 60 to 90% for pure feedstocks of slurry, distillery residue, corn silage or fruit and vegetable waste [48].

In the research literature, information on nitrogen transformations is mainly restricted to TN and ammonium nitrogen concentrations. However, the results of analyses of the organic nitrogen fraction are limited. In the control test, the initial organic nitrogen fraction contribution was similar. During the 28 days of fermentation, there was more than a 30% decrease in the DON fraction and a 20% decrease in CON. These values are correlated with an increase in ammonium nitrogen concentration, indicating that ammonification mainly affects the DON fraction, which is simultaneously fed from the hydrolysis of CON and PON. Taking into account the limited access to feedstock in this test, it can be concluded that DON after fermentation consists of organic compounds not susceptible to ammonification under digester conditions.

After the start of the mono-fermentation tests, different fractions of organic nitrogen predominated. For slurry, it was the PON fraction (almost 56%);for corn silage, it was the CON fraction (almost 64%); for distillery residue, it was the dissolved DON fraction (almost 80%). After 28 days of fermentation, the percentage distribution of organic nitrogen fractions changed significantly. The greatest change occurred with regard to the DON contained in the distillery residue. A decrease from an initial value of 1325.8 mg N/L to 139.2 mg N/L (concentrations after taking into account the effect of the inoculum) was found. This represents a removal efficiency of 90%. The decrease in DON concentration was due to ammonification, which is associated with a simultaneous significant increase in ammonium nitrogen concentration for this feedstock. Also in the slurry test, a decrease in the proportion of DON was found, but much lower (by 35%). This may support the conclusion from the analysis of ammonium nitrogen concentrations, that there is an intensive process of hydrolysis and ammonification of nitrogen compounds in the storage tank of this feedstock. Only in the test with corn silage was an increase in DON concentration found (by more than 100%), which may be due to the very low initial concentrations of this fraction and the significant proportion of nitrogen compounds not susceptible to ammonification. In the case of slurry and distillery residue, the concentration of CON increased significantly, and in the case of corn silage, PON which became dominant in the liquid fraction of the digestate (Fig. 4A). This increase is a measure of the transformation of nitrogen compounds in the hydrolysis of the solids and individual fractions during the 28-day fermentation. In tests conducted by Tuszynska et al. [63], the proportion of individual organic nitrogen fractions was similar. In the samples containing slurry, as well as in the sample with corn silage, the predominant fractions were the suspended solids and colloidal fractions. Their combined share was almost 80%. In previous tests of leachates from sludge digestion, much lower concentrations of individual organic nitrogen fractions, i.e. 52.0, 72.0 and 61.3 mgN/L, were obtained for DON, CON and PON, respectively [20]. Even lower values for DON (24.6–29.5 mg N/L) and CON (33.7–38.5 mgN/L) concentrations were obtained for digester leachate at two large wastewater treatment plants located in northern Poland [58]. Also lower DON concentrations (28.8 mgN/L, for DON defined as 0.45 µm sieve filtrate) were obtained for mesophilic sludge digestion from the Kelowna WWTP (British Columbia, Canada) [64]. Galvagno et al. [65] show a significant increase in DON concentration (also defined as 0.45 µm sieve filtrate) during sludge methane digestion (from 61.7 to 210 mgN/L) with a significant increase in ammonium nitrogen concentration from 330 to 1186 mg NH4-N/L. In subsequent tests of methane digestion of sewage sludge from two wastewater treatment plants located in Canada, it also showed high final concentrations of DON in the digestate (85.7 and 204 mg N/L) [65]. In comparison, digestion of fruit and vegetable wastes yielded relatively high final concentrations of CON fraction (average 331.0 mgN/L) and DON (average 200.6 mgN/L) [48].

Fig. 4
figure 4

Concentration of organic nitrogen fraction (calculated from mass balance) in the liquid fraction of feedstock and digestate for the tested feedstocks in mono-fermentation tests; (A) PON, (B) CON, (C) DON

The results of determining the concentrations of nitrogen compounds at the beginning of the co-digestion test and after 28 days of the process are presented in Table 5. The determined values of the initial concentrations of nitrogen forms are similar to the theoretical values determined from the mass balance taking into account the concentrations during the mono-fermentation tests (Figs. 5 and 6). The differences in concentration values are within ± 20%, indicating a similar composition of the inoculum and the agricultural feedstocks used in both test series. In tests A1 and B1, higher initial concentrations of ammonium nitrogen were found compared to tests A2 and B2, which was due to the use of cattle slurry in the inoculum. For the tests with 20% inoculum (A1 compared to A2), 160% higher values were obtained, while for the tests with 80% inoculum (B1 compared to B2), the difference is lower (114%) which is due to the much higher proportion of inoculum. The differences in ammonium nitrogen concentrations calculated for the values obtained from the mass balance, i.e. taking into account the effect of the inoculum (Fig. 5B), are much higher at 192 and 256%, respectively. In contrast, tests A2 and B2 showed significantly higher concentrations of the DON fraction compared to tests A1 and B1, which is related to the properties of the broth used as co-substrate. For tests with 20% inoculum (A1 compared to A2), values 1130% higher were obtained, while for tests with 80% inoculum (B1 compared to B2), the difference is lower (340%), which is also due to the significantly higher proportion of inoculum. The differences in DON concentrations calculated for the values obtained from the mass balance, i.e. taking into account the effect of inoculum (Fig. 6C), are much higher, yet similar for the two tests, at 1440 and 1630%, respectively.

Table 5 Nitrogen compound contents for co-digestion tests
Fig. 5
figure 5

Concentration of nitrogen compounds (calculated from mass balance) in the liquid fraction of feedstock, digestate and changes of concentration for the tested feedstocks in co-fermentation tests; (A) TN, (B) NH4-N

Fig. 6
figure 6

Concentration of organic nitrogen fraction (calculated from mass balance) in the liquid fraction of feedstock, digestate and changes of concentration for co-fermentation tests; (A) PON, (B) CON, (C) DON

During the 28-day co-digestion of cattle slurry and corn silage, a 21.9% increase in ammonium nitrogen concentration (from 603.8 to 735.8 mg NH4-N/L) and a 23.7% increase in TN concentration (from 784.4 to 970.0 mgN/L) were found with 20% inoculum (A1 test) (values for concentrations calculated from the mass balance, taking into account the effect of inoculum). This increase is similar to the values obtained in the mono-fermentation tests for both inputs used. Significantly higher concentration increases were found for the test with 80% inoculum and the same batch composition (test B1). These were 50.3% for ammonium nitrogen and 74.9% for TN, respectively. At the same time, the final concentrations determined from the mass balance (1570.8 mgN/L and 1006.7 mg NH4-N/L) are close to the literature values for fermentation of cow dung and corn silage (from 1900 to 25,000 mg N/L and from 650 to 840 mg NH4-N/L [66]. The greater increase in ammonium nitrogen concentration for tests with 80% inoculum, compared with tests with 20% inoculum, is due to the limited access of microorganisms to the organic feedstock, resulting in the use of compounds with less susceptibility to anaerobic decomposition. The effect of hydrolysis and ammonification of these organic compounds on the significant increase in ammonium nitrogen and TN concentrations in the liquid fraction of the digestate became apparent when the concentrations were recalculated based on a formula taking into account the effect of inoculum in the mass balance (formula 4). For values determined directly for the liquid fraction of the digestate, the increase is much smaller (13.5% for ammonium nitrogen and 12.1% for TN, respectively) and can be considered negligible.

The influence of methane fermentation microorganisms on the trend in the hydrolysis of macromolecular compounds is also confirmed for the organic nitrogen fraction. An increase in the removal efficiency of the DON fraction was found from about 10% for the test with 20% inoculum (A1) to almost 20% for the test with 80% inoculum, and this despite the expected higher hydrolysis rate of the CON fraction to DON. At the same time, a greater increase in the CON fraction (from 160% for the A1 test to 220% for the B1 test) and PON (from a decrease of 50% for the A1 test to an increase of 150% for the B1 test) was observed after 28 days of co-digestion, confirming the higher degree of defragmentation and hydrolysis of the solids present in the input and their transition to the liquid fraction, an effect that is more pronounced for the broth and corn silage co-digestion tests. Broth is characterised by high initial concentrations of DON, which resulted in high concentrations of this fraction at the start of the A2 (548 mg N/L) and B2 (181 mg N/L) tests (Table 5).

After taking into account the effect of inoculum and converting from mass balance, the initial concentrations in the hydrated feedstock (distillery residue and corn silage) were 617 and 681 mgN/L for test A2 and B2, respectively (Fig. 6C). After 28 days of fermentation, an increase in CON and PON fraction concentrations was found for both tests, with a significant decrease in DON fraction concentrations. Furthermore, for these tests, the effect of the initial proportion of inoculum is evident. With limited access to feedstock (test with 80% inoculum share), the microorganisms hydrolyse compounds that are difficult to biodegrade in methane fermentation. This process results in an increase in the concentration of the PON fraction, a 218% increase compared to a 52% increase for a test with 20% inoculum participation, and CON (132% increase compared to a 55% increase, respectively) (Fig. 6A, B). Similar to the distillery residue mono-fermentation test, a decrease in the concentration of the DON fraction is observed. For similar process conditions (20% inoculum share), the efficiency of the ammonification process of the DON fraction is comparable, 89% in the M2 test and 84% in the A2 test. In contrast, during tests with 80% inoculum participation, the efficiency of the process is clearly higher and exceeds 98%, resulting in a final DON concentration of 34 mg N/L (value after taking into account the effect of inoculum). With limited access to organic compounds in the B2 test, it can be assumed that this is the non-biodegradable fraction of DON in the digesters. A high degree of ammonification of organic nitrogen results in a significant increase in ammonium nitrogen concentration. The final NH4-N concentrations (after mass balance conversions) were 1298 and 1573 mg NH4-N/L for test A2 and B2, respectively (Fig. 5B). Compared to the initial concentrations, this represents an increase of 313% (test A2) and as much as 502% (test B2). Comparison of the increase in ammonium nitrogen concentration with the decrease in DON concentration indicates that the ammonification also included DON formed by hydrolysis of PON and CON. The concentration of this additionally generated DON fraction is 418 and 643 mgN/L, which is 70% or 90% of the remaining DON at the end of the test, for test A2 and B2, respectively.

An open issue, which requires analysis in further tests, is the evaluation of the biodegradability of residual DON under aerobic conditions. The answer to this question will contribute to the possibility of evaluating the migration of DON to water in surface water or groundwater as a result of using the liquid fraction of the digestate for irrigation/fertilisation of agricultural crops. The biodegradability of DON under aerobic conditions is also important for assessing the impact of the final treatment of the liquid fraction of digestate from agricultural biogas plants in the bioreactors of municipal wastewater treatment plants. Previous tests of sludge co-digestion with vegetables and with vegetables and flotate from on-site wastewater treatment plants (for the agri-food industry) showed an increase in CON concentrations (from 34.4 to 98 mgN/L and 101 to 126.6). At the same time, a significant decrease in DON concentrations was found (by 67.4 mgN/L and 82.2 mgN/L, respectively).

4 Conclusions

This study determined changes in the organic nitrogen fraction in the liquid fraction of digestate in laboratory tests of mono- and co-fermentation processes. Tests were carried out on the digestate from the fermentation of three agricultural and food wastes: distillery residue, cattle slurry and corn silage.

An analysis of the volume of biogas and methane production per unit showed that the fermentation process was stable in all tests, with a typical biogas production volume. An analysis of the mono-fermentation results showed that corn silage was the preferred feedstock in biogas production. The resulting specific biogas and methane production rates for all the feedstocks analysed were similar to values presented in the literature. During the co-digestion process, a combination of cattle slurry and corn silage was shown to be the preferred feedstock for biogas and methane production. During tests with 20% inoculum, a steady increase in the proportion of methane was observed until a value of about 60–70% was reached at the end of the 28-day test. This type of test allowed the fermentation trend to be evaluated with increasing microbial counts. At the higher inoculum proportion (80%), an immediate increase in the proportion of methane in the biogas to a value of approx. 60–70% was observed. For most of the test period, this proportion remained stable, with a slight decreasing trend. In tests with 80% inoculum, the effect of the feedstocks added in the input on the fermentation process was analysed at high microbial concentration.

In the mono-fermentation tests, the beginning total nitrogen concentrations depended on the feedstock. The highest nitrogen concentrations were found for the feedstock in the form of cattle slurry (2067.0 mg N/L) and significantly lower for corn silage (358.0 mg N/L). These differences are due to the characteristics of the feedstocks, including the forms of nitrogen in the dissolved fraction. For all three feedstocks, an increase in total nitrogen concentration was recorded at the end of the test, confirming the correct trend of the methane fermentation process. Of significance in terms of evaluating the transformation organic nitrogen were the changes in ammonium nitrogen concentration values. As a result of hydrolysis and ammonification of organic matter contained in the feedstocks, there was an increase in ammonium nitrogen concentration after 28 days of fermentation. The lowest increase was recorded for cow slurry (16.8%) and the highest for distillery residue (44.7%). However, considering the initial ammonium nitrogen concentration in each of the inputs, it was the distillery residue that showed the lowest final ammonium nitrogen concentration of 139.4 mgNH4-N/L. Furthermore, the analysis of organic nitrogen fractions showed that different fractions of organic nitrogen predominated in each of the feedstocks. For slurry, it was the PON fraction (almost 56%); for corn silage, it was the CON fraction (almost 64%); for distillery residue, it was the dissolved DON fraction (almost 80%). After 28 days of fermentation, the percentage distribution of organic nitrogen fractions changed significantly. The greatest change occurred with regard to the DON contained in the distillery residue. An approx. 90% decrease in DON concentration was shown for this feedstock, which, undergoing ammonification, contributed to the highest increase in ammonium nitrogen concentration.

In tests of the co-digestion process, the initial concentrations of nitrogen forms are similar to those found in the mono-fermentation tests. In particular, higher initial values for ammonium nitrogen concentrations were found for the tests using cattle slurry, and higher initial concentrations of the DON fraction were found for the tests using distillery residue. Proper evaluation of the transformation of nitrogen forms for the tests with 20 and 80% inoculum participation required the calculation of concentrations from the mass balance taking into account the effect of changes taking place in the inoculum itself (control test). After 28 days of fermentation, increases in ammonium nitrogen concentrations were found in all tests. Significantly greater increases in concentration were found for tests with 80% inoculum and the same feedstock composition compared to tests with 20% inoculum. On this basis, it can be concluded that with limited access to organic feedstock, microorganisms also use compounds with lower biodegradability in anaerobic conditions.

The results obtained require further verification for other digester feedstock compositions in municipal and agricultural biogas plants. Another important issue for further testing is the biodegradability of the DON contained in the liquid fraction of the digestate under aerobic conditions. This process will take place in the ground environment after application of leachate to agricultural fields and in the activated sludge chambers at the final management of leachate in municipal wastewater treatment plants (e.g. in winter).