Introduction

Due to the environmental degradation caused by anthropogenic activities and the population growth, which will have increased by two billion more people by 2050 (United Nations and CEPAL 2016); food resources and energy sources have been raised around the world as prevailing concerns for the new millennium.

To solve these concerns intensive agriculture or green agriculture was developed; it produced larger amounts of food in smaller areas of land, but with serious consequences of contamination of soil, surface water, and groundwater; as in the case of the Valencian community where 60% of its wells registered nitrate values higher than 50 mg \({\text{NO}}_{3}^{ - }\)/L (Ribó-Herrero 2004) because of the leaching effect of inorganic fertilizers used intensively.

Whether it is added breeding of ruminant animals, which is responsible for emitting 35–40% of anthropogenic methane annually (Steinfeld et al. 2006) with the environmental problem generated by the organic waste in the agricultural sector, the sought solutions should go by the hand with goal seven and goal two of the 2030 agenda for Latin America and the Caribbean, which promote the access of a sustainable energy and developing a sustainable agriculture, respectively (United Nations and CEPAL 2016).

Bio-digesters are framed of those objectives with providing renewable energy thanks to it can capture the methane, which is produced in the enteric fermentation of ruminants, with treating the bovine manure; and with its effluents it returned nutrients to the soil as organic fertilizer (Pérez-Pérez et al. 2016), without allowing the accumulation and the escape of nitrogen in small farmland (Koneswaran and Nierenberg 2008); because the effluents are a very appreciated by-product for the fertilization of fields, by its fermentation process.

The process known specifically as methanogenic fermentation in which the organic matter is decomposed by anaerobic microorganisms in four contiguous phases; the organic molecules composed of several carbons are synthetized up to molecules composed of a single carbon such as CH4 and CO2 (Dublein and Steinhauser 2008; MIERGIA/PNUD/FAO/GEF 2011).

Bio-digesters have had great worldwide development since the 1950s as an affordable energy and as a response to climate change mitigation; 7 million bio-digesters were approximately implemented from 1973 to 1983 in the rural localities of China, and for the 2005 20 million of bio-digesters were in operation; in India 2.5 million biogas plants were registered in 2008 (Dublein and Steinhauser 2008). But the initiative in Latin America for this same year was not very encouraging (Dublein and Steinhauser 2008); despite that the design of the flexible membrane bio-digester was promoted in Colombia, Costa Rica, Perú, Argentina, México, Chile and including Ecuador with more advances which the bio-digester launched in 1981 in Taiwan (Martí-Herrero 2011).

Despite the great advantages that flexible membrane bio-digesters or plastic plug-flow bio-digesters (PPFB) present, there still are limitations due to the presence of pathogens. This limitation is due to the work temperature handled because the plug-flow bio-digester does not have heating systems which control its temperature in the thermophilic range (50 °C); range in which the presence of Coliforms and parasites is completely inhibited. In mesophilic ranges (35 °C) the reduction of Coliforms is estimated at 66% (FAO 1992), but the PPFBs does not reach neither of these two ranges of temperature. They commonly work at psychrophilic range (25 °C) which is not enough to eliminate the risk that the exponential value of Coliforms present (VIOGAS 2016) The reason why is suggested proper practices to use it or further treatment for bio-digester effluents (Yen-Phi et al. 2009).

As further treatment, bio-fermentation with mountain effective microorganism (MEM) is analyzed. Since this process intensifies the beneficial microbial activity with controlling the pathogen proliferation and it inhibits the microorganism which accelerate the putrefaction of organic material (Medina et al. 2015). In this process are generated some alcohols and lactic acids which promote pH decrease, and the organic materials become nutrients in better assimilation forms for plants (Campo-Martínez et al. 2014).

Additionally, the bio-fermentation is framed as a practice of sustainable agriculture for helping to maintain the local eco-systemic balance due to the mountain effective microorganisms are collected in the forest mulch of each region. They can be scattered in the same region where they are collected, and they help with the mineralization of elements and the formation of the organic matter of the soils (Argüello-Arias 1996) inside farmland.

The reason why the first objective was to analyze the viability of implementation of a plastic plug-flow bio-digester in a small dairy farm; assessing the compound and quantitative of biogas generated, assessing the macronutrient content into the effluent and assessing whether the Coliforms present in the bio-digester effluent comply with World Health Organization guide, that suggested the effluents might have less 1000 E. coli/100 mL for irrigation of wastewater without restriction (WHO 2006). It will not comply with this regulation; a post-treatment effluent would be practice for complying it. The reason what the second research objective was raised, and it was to assess a bio-fermentation with mountain effective microorganism as post-treatment to reduce the E. coli number. Because in rural areas it is usual gather MEM and added them into biofertilizer, but existing reports are few which talk about the skill of MEM for treatment wastewater, Bio-digestion and bio-fermentation were chosen as alternatives for the treatment of bovine manure; taking to account the rural socio-economic reality in which the project was implemented. And both alternatives must have been affordable and technologies of easy application.

Methods

Experimental site

The research was conducted inside the facilities of a dairy farm which keeps seven calves stabled and nine cows in milking production; characterizing it as a small-scale farm. The farm located in San Miguel de los Bancos, province of Pichincha, into the Choco forest of Ecuador. The forest extends through Panama, Colombia, Ecuador and Perú.

For editing a map (Fig. 1) with the coordinates of the farm boundaries (Table 1) was utilized geographical information of the Instituto Espacial Ecuatoriano (2013) and the tools provided by the package QGis 2.18.16.

Fig. 1
figure 1

Location and boundaries of the farm

Table 1 Boundaries of the farm

The canton is in the foothills of the Andes mountain range, the reason why the weather tends to be from a rainy wet forest (GAD municipal de San Miguel de los Bancos 2013). According to the maps downloaded from the Instituto Espacial Ecuatoriano portal web (2013); in the farm the average precipitation is between 4000 and 4100 mm for an area of 19.1 ha and 3900–4000 mm for an area of 22.6 ha. The average temperature is 21–22 °C in the 41.7 ha of the farm.

Operation conditions and experimental units

Inside of the farm a plastic plug-flow bio-digester (PPFB) was implemented with a length of 11.4 m, a diameter of 1.6 m and with a volumetric capacity of 22.9 m3. The three-fourths of the PPFB volume stored water with bovine manure and the one-fourth remaining stored the biogas; volumetric proportion suggested by Martí-Herrero (2008) for constructing this type of biodigester. In addition, an extern biogas reservoir was adapted with 5:1 volume proportion between bio-digester volume and reservoir volume.

Nearby at the bio-digester a tank of 80 L was adapted a tank for second fermentation (TSF) process; in the tank lid one half inch hole was done to connect: a tank adapter, 45th elbow of half inch and stopper of half inch. This conditioning was created to release the gas accumulated from fermentation, because a good fermentation needs an anaerobic system that is totally air tight. For validating the air tightness in the tank, the gas accumulation was observed through a bio-fermentation of molasses. Action realized two consecutive times (Fig. 2).

Fig. 2
figure 2

Air tightness test for TSF

Bio-fermentation was realized with a dissolution of 1.89 L of molasses with 50 L of water mixing with 17 kg of primary forest mulch. It is the inoculum of bacteria and fungi commonly called mountain effective microorganisms or MEM (Cruz 2010) which decompound the organic matter and return the nutrients to the soil into the forest (CATIE 2012).

TSF was let ferment with molasses, water and forest mulch for 15 days, the surplus gas was release when uncovering the stopper. Then the TSF was fed with 15 L of the bio-digester effluent for two times every 7 days until gauged it. Once gauged, it was left to ferment for 7 days more before for taking a sample and carry it to the laboratories.

Chemical and microbiological analysis

The sampling method utilized for the chemical analyzes of the plug-flow bio-digester effluents (PFB-E) was simple random sampling; samples that was taken by 63 days. Seven samples were analyzed which of one was discarded because it had chemical values more dispersed than the other samples. The sampling was realized in the 31, 38, 42, 53, 59, and 63 day. We started sampling at 30 day taking in account the biogas production has peaks at this time (Yen-Phi et al. 2009).

The sampling method utilized for the chemical analyses of effluents of the tank for a second fermentation (E-TSF) was the judgment sampling; the final point for take a sample was established when the liquid got a pH ≤ 4 (Medina et al. 2015) This pH was got coincidentally 7 days after the tank gauged.

We analyzed all effluent samples inside the environmental engineering laboratories which belong to the Facultad de Ingenierías en Geología Minas Petróleos y Ambiental of the Universidad Central del Ecuador. Only the parameters of temperature and pH was measured in situ; for measuring pH we utilized pH tests strips Macherey & Nagel Ref 921 10.1 and for determining the temperature we used a digital thermometer with an appreciation of ± 0.1 °C.

The chemical parameters analyzed for PFB-E and E-TSF were total nitrogen, calcium, magnesium, sodium, potassium and phosphate (Table 2). Each equipment used had a white sample and it did the self-calibration curve before the measurement of each parameter; all of this for reliability of data obtained.

Table 2 Chemical parameter and methods utilized

For the microbiological analysis of the PFB-E and E-TSF, PetrifilmTM plates of the commercial company 3 M were used. The plates were allowed to count colony forming units (CFU) by the color change of the medium where colonies of coliform were red and E. coli colonies were blue. The method is validated for the official method 991.14 of the Association of Official Analytical Chemists (AOAC).

Referring the biogas analysis; a sample was directly taken from the biogas reservoir, the sample was sent to the investigation area of the career—Chemistry engineering of the Universidad Central del Ecuador. The type of test performed was gas chromatography under the methodology/RGA/ASTM D-1945/ASTM D-1946.

Descriptive statics of the samples

Seven samples of effluents were taken of the plug-flow bio-digester to calculate their mean, typical error, median, range, minimum, and maximum of the macronutrients content; and one sample was taken of the tank of second fermentation (Table 3) Microsoft Excel 2016 was used to calculate the central tendency and to plot the relation of pH vs number of E. coli presented in Fig. 4.

Table 3 Static analysis carried out of the sample effluents

Results and discussion

The installation of plastic plug-flow bio-digester (PPFB) demonstrated the viability of applying this technology in small scale farm in contrast that the knowledge of bio-digester projects only are economically viable for big farms. Because it works at environmental temperature which decrease operating cost and investment costs of the system. Even if plug-flow bio-digester effluent have E. coli, the post-treatment with mountain effective microorganism (MEM) was successful which allowed to eliminated E. coli, become a good alternative to stabilize bovine manure in little period, and obtain new benefit of effluent treated as biofertilizer.

Bio-digester operating

The plastic plug-flow bio-digester (PPFB) maintained 21.4 °C as average work temperature which found in the maximum psychrophilic range (Lagrange 1979) because it worked at environmental temperature without heating systems. The pH mode was 8 which matches with the pH range of 6.0–8.3 reported by Sosa (2015) who assessed eight small scale biodigester. So the PFB did not need pH controls as it was framed within the optimal range of 7.8–8.2, for the development of the methanogenic microorganisms (MIERGIA/PNUD/FAO/GEF 2011). Development that was validated by a biogas production of 52.55% mol of methane content (Table 4). Acceptable methane content taking in account that Dublein and Steinhauser (2008) referred a 55% mol methane as general feature composition of biogas, and it was higher than the minimum methane content to be flammable which is 45%. Bio-digester has demonstrated the feasibility of the use with a good methane production (Njuguna et al. 2018).

Table 4 Percentage composition of biogas sample produced in PPFB

Becoming an affordable alternative for rural areas because it works without active devices or heating system (Martí-Herrero 2011) which decreases the operating cost. Contrasting the statement which Koneswaran and Nierenberg supported that anaerobic digesters are not economically viable (2008).

The daily biogas outputs were estimated as 4.20 m3/day which was verified by keeping full biogas reservoir; the reservoir biogas had 4.75 m3 of volume. The biogas production estimated in liter per kilogram of manure feed, and per day of the bio-digester was 0.93 L/kg/day which is higher than the production reported by Pandey and Sopir (2012) whom achieved 0.12 L/kg/day with a thermophilic batch biodigester.

With the biogas produced, it could feed a kitchenette and blowtorch for more than 5 h uninterruptly. According to Martí-Herrero (2008) who sustain a kitchen consumes 170 L/h approximately; with the current biogas production can feed the kitchen for 24 h; or it can produce 6.48 kW/day if the biogas connects to a thermal transformer which consumes 620 L/KW (CEPIS 1996).

The plug-flow bio-digester effluent (PFB-E) showed measurable number of macronutrients in mg/L. The average values were: 751 total nitrogen mg/L, 15.3 phosphate mg/L, 114 potassium mg/L, 253 Calcium mg/L, 180 Magnesium mg/L and 74.2 sodium mg/L (Table 5). But by the presence of Coliforms in the PFB-E same results that got Yet-Phi et al. who suggested that hydraulic relation of time of 30 days are not enough to meet with the advice of WHO (2006) for founding it without restriction to use.

Table 5 Macronutrient content of the bio-digester effluents

The number of E. coli was in the range of 7.00 × 105–2.00 × 105 CFU/100 mL. Range outside of the 1 × 103E. coli/100 mL suggested by WHO for agricultural use without restriction (2006). But in the research, the number of E. coli was reduced when existed a decrease of pH 8 to pH 7 (Fig. 3). This can be explained because E. coli are adapted to alkaline medium which are provided by (Peralta-Veran et al. 2016). And their growth slowed down with a shift in their external pH due to the relation existing between membrane H + conductance and the pH of the growth medium (Akopyan and Trchounian 2006).

Fig. 3
figure 3

E. coli and pH of the PPFB-E

The reason why a second fermentation was chose such as solution, and following the suggestion of other authors which prompt a post-treatment the bio-digester effluent (Yen-Phi et al. 2009; Velho et al. 2012) It was practiced a fermentation with mountain effective microorganism as alternative to control the number of E. coli present inside of the PFB-E,

Bio-fermentation of effluents with mountain effective microorganism

E. coli and Coliforms present in the plug-flow bio-digester effluents (PFB-E) was eliminated in 100%, can be seen how in Fig. 4. Thanks to the second fermentation practiced with mountain effective microorganism (MEM). This phenomenon can explained with the growth of lactic acid bacteria (LAB), yeast and phototropic bacteria that became antagonism microorganisms. Because LAB effectively fermented carbohydrates existent in the effluent, and they produced enough quantities of lactic acids, acetate, ethanol, succinate and formate (Hammes and Hertel 2009) which allowed to decrease pH inside the tank of second fermentation (TSF) and inhibited the growth of pathogen bacteria (Vandenverg 1993) Due to few microorganism are adapted to live with this growth-inhibiting factors (Servin 2004) and it is the main mechanisms of microbial antagonism to impede the growth of Coliforms which are naturally developed in alkaline mediums inside an animal digest tract (Peralta-Veran et al. 2016; Rashid and West 2007).

Fig. 4
figure 4

Coliforms in the PPFB-E (left) and Coliforms in the E-TSF (right)

Another factor that could take the credit of eliminating coliform bacteria, and other authors suggested, it could be the bacteriocins generated by LAB. Due to the bacteriocins have antimicrobial activity which can inhibit the growth of bacteria which do not have a similar metabolism system to resist it (Vandenverg 1993; Servin 2004; Alvarez-Sieiro et al. 2016; Adetoye et al. 2018) The elimination of E. coli was more successful than the research of Rashid and West (2007) whom obtained a decrease of 95% of fecal Coliforms with the use of effective microorganism.

The decrease of pH since 7.0 to 4.0 was achieved in only 7 days with helping of MEM. Result that was close to the work of Peralta-Veran et al. (2016) whom accomplished a pH = 4.02 in 5 days with a consortium of lactic acid bacteria. The importance of this post-treatment was the efficiency and viability the treatment, it only does not for its cheap and easy acquisition of materials; how are the molasses and forest mulch with mountain effective microorganism (MEM), but also the post-treatment eliminated the risk for human health that E. coli presented before. It becomes as a good alternative for treatment of bovine wastewater in a little period in comparison with other alternatives of stabilization of bovine manure (Peralta-Veran et al. 2016) And it allows to obtain a new benefit with the effluent treated as organic fertilizer (Cruz 2010).

Due to the post-treated effluent maintain appreciable content of mineral, how can see in the Table 6, and where is presented a comparison between macronutrients constituent of PFB-E and the effluent of the tank of the second fermentation (E-TSF). Where can appreciate a less decrease of total nitrogen, potassium and magnesium: with values of 500 mg TN/L, 111.00 mg K/L and 101.25 mg /L, respectively; but an increase of content of phosphate, calcium and sodium with values of 221.87 mg PO43−/L, 196.8 mg Na/L, 500 mg Ca/L since molasses contributed more nutrients upon the effluents, similar results were reported by Medina et al. (2015) in their studies, and suggested the fermentation process gives better nutritive properties to the effluent. In comparison with other works, the macronutrients found in the effluent were the same (Peralta-Veran et al. 2016, Medina et al. 2015) but with quantitative differences. Therefore, the effluent constitution would be directly correlated with the diet of dairy cattle and nutrient content of raw materials treated (Criollo et al. 2011; Peralta-Veran et al. 2016) rather than the process used for treatment organic waste.

Table 6 Comparison of the macronutrient load between the effluent produced in bio-digester and the effluent produced in the tank of second fermentation with MEM

The post-treated effluent could stimulate the development of plants thanks to the work of MEM which are an antagonistic microorganism group as mention above. Because it also competes with phytopathogens of plants and suppression their growth for their fast proliferation and quick consumes of carbon, nitrogen and other nutrients of the soil (Fatunbi and Ncube 2009; Vásquez et al. 2009) Mineralizing the organic matter present in the soil and leaving nutrients in available forms for plants. Although in research cannot directly experiment in soil or with crops, but one example of this natural skills that MEM was demonstrated by Fatunbi and Ncube (2009) who achieved an increase of 51% and 99% of net mineralization of nitrogen in two different organic materials with helping of effective microorganism.

Taking in account the practice of post-treated wastewater with MEM, it is a viable alternative how the research showed. It could disseminate more people will worry about the primary forest existing inside the dairy farms, and they generate a better planification to conserve the forest and to extract benefit of it, such as the case of MEM, by the hand with the milk production.

Conclusion

The research showed the viability for implementing a plastic plug-flow bio-digester inside of small-scale farm for the treatment of bovine manure. The benefits were to produce biogas with 52.55% mol of methane content, which was burned and utilized as thermic energy inside the farm; action that reduces the negative impact which the free methane does in the environment and provides affordable energy. In addition, bio-digester effluents have a measurable content in hundreds of mg/L of macronutrients, but with a E. coli range which was outside the suggestion of WHO for unrestricted wastewater use in agriculture. The reason why the effluent was treated with mountain effective microorganism by a second fermentation which eliminated E. coli presence and maintained content of nitrogen, potassium, calcium, magnesium, sodium and phosphate. Effluent post-treated by a second fermentation which became a biofertilizer without risk human health and the same time it provides the management of a sustainable agriculture.