1 Introduction

The systems where animals are raised under confined situations for more than 45 days a year are defined as animal feeding operations (AFO). Concentrated animal feeding operations (CAFO) is a term given by EPA to the large-sized AFOs and/or AFOs where animal wastewater (manure etc.) is stored in open ditches (manmade or natural) or released to the environment via water streams [1]. The animal manures stored in tanks or lagoons release large amounts of methane and other air pollutants (hydrogen sulfide, ammonia, and other particulate matter) in the atmosphere during the summer months [2,3,4,5]. Consequently, CAFOs are regulated under the National Pollutant Discharge Elimination System of EPA [1]. Anaerobic digestion (AD) is widely adopted to convert organic matter into biomethane or refined natural gas (a form of bioenergy and potential alternative to fossil fuels) at such farms [6, 7]. As of October 2019, a total of 287 anaerobic digesters were operating at animal farms across the US [1, 6, 7].

The AD process relies upon the intricate balance of various bacterial groups which carry out the four distinct phases of hydrolysis (substrate break down to simple organic and amino acids), acidogenesis (conversion of simple organic and amino acids to volatile fatty acids, H2 and CO2), acetogenesis (volatile fatty acids are converted to CH3COOH) and finally methanogenesis [8]. The microbial degradation is impacted by various factors such as inoculum, substrate, experimental and operational conditions [9, 10]. The anaerobic co-digestion is a process of treating more than one organic wastes in a suitable proportion and is known to improve process efficacy by balancing nutrients, diversifying microbial population and lowering toxins, balancing alkalinity, etc., and has been studied extensively [10,11,12,13]. The mono-digestion of animal manures is sometimes prone to process failures due to nutrient imbalance for the microbes owing to their low C/N ratios. The high C/N ratio of lignocellulosic feedstocks makes them feedstocks of choice as a co-substrate for AD with manures [14].

Texas is one of the major cotton (Gossypium hirsutum, G. barbadense) producing states in the US. Once picked from the farm cotton is further processed in gins to separate fiber, leaving behind cotton gin trash (CGT) as agro-industrial waste. According to Thomasson [15], ginning one bale (217–218 kg) of cotton yields about 37–147 kg of CGT [16], thus annually generating millions of tons of CGT in the states of Texas, Georgia, Arkansas, and Mississippi. The CGT, a byproduct of the cotton industry, mainly composed of clean lint (8–15%), hulls (18.5–32.9), stem (5.2–5.9), grass (0.1–1.1), seed (0–2.9%), motes (20.4–21.6%), small leaves (19.4–34.9%) [17] is abundantly available in cotton-growing regions of the US. Roughly two million tons of CGT are annually produced in the US. Being a major cotton producer, 99,473 tons of CGT is produced annually in Texas [18]. The traditional management strategies have been to use it for feeding and bedding for the animals or composting, followed by addition to the soil as humus. The presence of microbial pests (verticillium wilt in particular) and pesticide residues, low heating value [19] in energy production limit the recycling options of CGT [12, 13]. However, the urgency to lower fossil fuel consumption had the scientists investigating agro-industrial wastes such as CGT as potential renewable energy sources [22]. Consequently, CGT has been investigated as a bioenergy source through ethanol production, gasification, and anaerobic degradation [20]. The high chemical oxygen demand (COD) and volatile solid (VS) contents in CGT can be recovered as biomethane through anaerobic degradation [18, 20].

Many reports indicate that the co-digestion of organic wastes with crop residues improves the biochemical methane potential (BMP) over mono-digestion [11, 23,24,25]. Findings from previous studies indicate that having animal manures along with crop residues (or more than one crop residue) in an anaerobic digester meets the microbial nutritional requirements better, making the process more efficient [23, 25]. Zhang et al. [24] reported that the co-digestion of GM with wheat, rice, and corn straw yielded higher biomethane compared with GM mono-digestion.

Few studies have reported the effects of co-digesting animal manures (e.g., swine and cow manure) with cotton industry byproducts on the biomethane recovery during anaerobic digestion [23, 26, 27]. Funk et al. [27] co-digested CGT with swine manure (mixing ratios varying from 1:1–10:1) in a two-stage bioreactor. The optimum percentage for anaerobic co-digestion of different feedstocks is not universal and needs to be investigated in each case [13, 28].

The bio-solids left after the anaerobic digestion process may be of high bio-fertilizer value, depending upon the organic wastes and other digester components [29]. Nitrate, ammonium, and orthophosphate are the main plant-available forms of nitrogen and phosphorus in warm aerobic soils under normal pH conditions [30]. The effluents left after AD are well-studied for the plant available nutrients [31,32,33]. Kafle and Chen [34] analyzed the influents and effluents of five animal manures and compared mineral nitrogen, phosphorus, the total ammonical nitrogen (TAN), total nitrogen (TN), total Kjeldahl nitrogen (TKN), and total phosphate (PO4−3). The biochemical methane potential (BMP) tests are used to determine the suitability of a given substrate for anaerobic co-digestion [4, 35]. To the best of our knowledge, no previous studies are reporting the BMP of GM–CGT co-digestion in different mixing ratios.

The objectives of this study were to investigate the BMP, biodegradability, and synergistic effect index of GM–CGT co-digestion at different mixing ratios (compared with mono-digestion of each substrate). The process was simulated utilizing the modified Gompertz equation. The liquid fraction effluents left after AD was evaluated for their bio-fertilizer quality by determining the available N and P forms.

2 Materials and methods

2.1 Chemicals, substrates, and inoculum

All the analytical grade chemicals were purchased from Thermo Fisher Scientific Inc. (Waltham, MA, USA) or HACH Company (Loveland, Colorado, USA).

Goat manure was collected from the International Goat Research Center, Prairie View A&M University. It was dried at 80 °C passed through Willy mill, sieved (2 mm), and stored at 4 °C. The weathered CGT (from three months of cotton ginning) was collected from Varisco-Court Gin Co. (5354 Steel Store Rd, Bryan, TX, 77807). The samples were collected from weathered, transition, and core layers and well-mixed to obtain a uniform gin waste. It was passed through Willy mill, sieved (2 mm) to obtain uniform-sized particles, and stored at 4 °C until further analysis. The fresh inoculum obtained from the Prairie View wastewater treatment plant (operating at 36 ± 1 °C) was de-gassed [36,37,38] for a week and used for the assays.

2.2 Substrate characterization

The proximate analysis of well-mixed feedstocks and inoculum in triplicates was carried out per method 2540 [39] using a Lindberg Blue M electric furnace (Fisher Scientific, Pittsburgh, PA).

The ultimate analysis/elemental composition (C, H, N, and S) of the feedstocks was determined with the Flash 2000 elemental analyzer (Elementar Americas Inc., Ronkonkoma, NY) utilizing BBOT (C, H, N, and S; 72.5%, 6.1, 6.5 and 7.5%, respectively) as a standard compound. In compositional analysis lignin, cellulose, and hemicellulose contents were determined by thermogravimetric analysis in the PerkinElmer Diamond TG/DTG system.

For chemical analysis, triplicates of 1.0 g of each feedstock (wet weight w/w) were diluted 100 fold with deionized (DI) water in 250-mL Erlenmeyer flasks, stirred (hot plate and magnetic stir bars) for 30 min, and centrifuged (Thermo Scientific, Waltham, MA, USA) for 15 min at 5000 rpm. The pH of the supernatant was determined, appropriately diluted, and analyzed utilizing HACH kits; TNT 870, TNT 836, TNT 846, TNT 872, molybdovandate test N tube (Method 10127), and TNT880 for alkalinity, nitrate, orthophosphate, total phosphorus, and volatile acids and total Kjeldahl nitrogen (TKN), respectively, utilizing DRB 200 reactor and DR 3900 spectrophotometer (Loveland, Colorado). The pure compounds, 500 mg/L PO4, 1000 mg/L CH3COOH, 25,000 mg/L CaCO3, 500 mg/L NO3, and 10 mg/L NH4–N, were diluted as needed and used as standards to determine total phosphorus, volatile acids, alkalinity, nitrate, ammonium, and TKN, respectively. Blank was adjusted by deionized (DI) water. To equate with treatments, the triplicate concentrations (mg/L) were multiplied by 10 and reported as mean ± SD (Table 1).

Table 1 Characteristics of goat manure (GM) and cotton gin trash (CGT)

2.3 Biochemical methane potential tests

The effect of co-digesting GM with CGT on the biomethane recovery was determined by running BMP tests for 62 days in 250-mL serum bottles (Fisher Scientific, Pittsburgh, PA). The tests were conducted as described by Zhang et al. [40]. There were total 36 batch reactors, having blank, GM and CGT mono-digestions and their co-digestion with varied ratios (GM/CGT; 90:10, 80:20, 70:30, 60:40, 50:50, 40:60, 30:70, 20:80 and 10:90) in triplicates. The organic loading rate was TS at 10%. Blank bioreactors contained all ingredients except the substrate. Inoculum to substrate ratio (ISR) of 0.03–0.04 (VS basis) was maintained in all mono- and co-digestions. The ISRs of 0.005, 0.007, 0.01, 0.02 and 0.04 (on VS basis) were tested on GM (unpublished data), and statistically similar yields were observed at ISRs of 0.005, 0.007, 0.01, 0.02 and 0.04. In our previous study [41], we reported that CGT yielded similar values of BMP at 0.02 and 0.03 ISRs. An equal (as that of inoculum) volume of trace medium [35] was added to each bioreactor. The working volume of 100 mL in each bioreactor was achieved by adding DI water. The pH of the bioreactors was in the optimum range [9]. The bioreactors were purged with N2 (99.9% purity) for five minutes, sealed with straight plug stoppers, and secured using aluminum crimp seals (Fisher Scientific, Pittsburgh, PA) for biomethane sampling and maintaining the anaerobic conditions, respectively. The bioreactors were incubated at 36 °C ± 1.

The biomethane volume was measured with one of the volumetric techniques or liquid displacement method. According to Holliger et al. [36], if the volumetric method involves absorption of CO2 in an alkaline solution, direct methane values are obtained, compositional analysis of biogas is not required. The pH of DI water was adjusted to 10:30 with 0.5 M NaOH solution and added to a large container, holding an inverted cylinder filled with the same solution. The biomethane was read by recording the initial and final volumes of the inverted graduated cylinder. The batch reactors were manually shaken once a day before collecting data to mix the contents to avoid the formation of dead zones inside [36]. The daily gas measurements were continued until the total biomethane production during three consecutive days was less than 1% of the previously accumulated [36].

2.4 Theoretical maximum biomethane yield

From the chemical formula of the feedstocks (Table 1), the theoretical maximum biomethane yields (TMYs) of GM and CGT were determined by Boyle’s equation [42] (Eq. 1), which is a modification of the original Buswell Muller’s [43] original equation after including N and S to obtain NH3 and SO2 fractions.

$${\text{C}}_{a} {\text{H}}_{b} {\text{O}}_{c} {\text{N}}_{d} {\text{S}}_{e} + \left( {a - \frac{b}{4} - \frac{c}{2} + \frac{{3d}}{4} + \frac{e}{2}} \right){\text{H}}_{2} {\text{O}} \to \left( {\frac{a}{2} + \frac{b}{8} - \frac{c}{4} - \frac{{3d}}{8} - \frac{e}{4}} \right){\text{CH}}_{4} + \left( {\frac{a}{2} - \frac{b}{4} + \frac{c}{4} + \frac{{3d}}{8} + \frac{e}{4}} \right){\text{CO}}_{2} + d{\text{NH}}_{3} + e{\text{H}}_{2} S$$
(1)
$${\text{TMY}}~\left( {{\text{mL~CH}}_{4} /{\text{g}}_{{{\text{vs}}}} } \right) = \frac{{22400 \times \left[ {\left( {\frac{a}{2}} \right) + \left( {\frac{b}{8}} \right) - \left( {\frac{c}{4}} \right) - \left( {\frac{{3d}}{8}} \right) - \left( {\frac{e}{4}} \right)} \right]}}{{12a + b + 16c + 14d + 32e}}$$
(2)

2.5 Modeling methane production

The anaerobic degradation process or bacterial growth in the bioreactors can be described by fitting the modified Gompertz equation. The original equation (based on the exponential relationship between specific growth rate and population density) was developed by Causton [44], and further modified by Gibson et al. [45] to describe bacterial growth rate in terms of exponential and lag phase duration. Lay et al. [46] further assumed that the specific growth rate of methanogenic bacteria is directly proportional to the methane production rate in its current version as described below:

$$P\left( t \right) = P_{0} \times \exp \left\{ { - \exp \left[ {\frac{{R_{{\text{m}}} e}}{{P_{0} }}\left( {\lambda - t} \right) + 1} \right]} \right\}$$
(3)

P(t) = The accumulated methane (mL/gvs, minus the blank) at digestion time t (days); P0 = Maximum cumulative methane production (mL/gvs); Rm = Maximum daily rate of biomethane production (mL/gvs/days), or specific growth rate of bacteria; λ = lag phase (days), minimum time to produce biomethane or time for bacterial acclimatization; e = Mathematical constant 2.718.

2.6 Biodegradability

The anaerobic biodegradability (BD) of a substrate is its volatile fraction that is converted to biomethane during AD. The BD of a co-digestion (at each mixing ratio) was determined using cumulative biomethane yield (EMY) from the experimental and theoretical biomethane (TMY, Eq. 1) employing Eq. (4) as described by Li et al.[47].

$${\text{BD}}~\left( \% \right) = \frac{{{\text{EM}}Y_{{{\text{co}}}} }}{{\left( {{\text{TM}}Y_{1} \times X_{1} } \right) + \left( {{\text{TM}}Y_{2} \times X_{2} } \right)~}} \times 100~~$$
(4)

EMYco = The biomethane potential of co-digestion; TMY1 = Theoretical biomethane potential of GM; TMY2 = Theoretical biomethane potential of CGT; X1 = Volatile solid fraction of GM; X2 = Volatile solid fraction of CGT.

2.7 Synergistic effect index

The synergistic effect index (SEI) for the anaerobic co-digestions was determined as described by Li et al. [47] in equation below.

$${\text{SEI}}~\left( \% \right) = \frac{{{\text{EM}}Y_{{{\text{co}}}} - \left( {{\text{EM}}Y_{1} \times X_{1} + X_{2} \times ~{\text{EM}}Y_{2} } \right)}}{{\left( {X_{1} \times {\text{EM}}Y_{1} + X_{2} \times {\text{EM}}Y_{2} } \right)~}} \times 100$$
(5)

EMYco = The biomethane potential of co-digestion; X1 = The VS fractions of GM in the co-digestion; X2 = The VS fraction of CGT in the co-digestion; EMY1 = The biomethane potential of GM; EMY2 = The biomethane potential of CGT.

2.8 Data analysis

The experimental data were processed in Microsoft Excel 2010 (Microsoft, USA). The biomethane volume was converted to dry gas volume at STP by multiplying with a dry biomethane factor of 0.838, as described by Richards et al. [48]. The blank (d-1; 20 ± 1 and d-2; 3.7 ± 0.6 mL) value was subtracted from treatments to neutralize the inoculum.

The model fit was evaluated by calculating the relative root-mean-square error (rRMSE) as described by Kafle et al. [34] utilizing Eq. 6.

$$r{\text{RMSE}} = ~\left( {\frac{1}{m}~\mathop \sum \limits_{{j = 1}}^{m} \left( {\frac{{d_{j} }}{{Y_{j} }}} \right)^{2} } \right)^{{\frac{1}{2}}}$$
(6)

where m is the number of data pairs, j is jth values, Y is measured methane yield (mL/gvs), and d is the deviations between measured and predicted methane yield.

All of the data were analyzed using the general linear model (GLM) and analysis of variance procedure of Statistical Analysis System (SAS® 9.2, SAS Institute Inc., Cary, NC, USA), and statistically significant treatment means were separated using the least significant difference (LSD) test at 5% probability.

3 Results and discussion

3.1 Properties of goat manure and cotton gin trash

The proximate, ultimate, and compositional characteristics of feedstocks and inoculum are presented in (Table 1). The data values confirm that these agro wastes and inoculum are suitable for anaerobic degradation [9]. The C/N ratio of GM; 15.7 ± 0.7 is in the reported range of 13–20 [34, 40, 49]. The C/N ratio of CGT 36.3 ± 0.9 is also in the range of 28.0–51.3 in previous studies [20, 50, 51].

3.2 Daily biomethane production

The daily biomethane yields for mono- and the co-digestions of GM and CGT peaked at d-6 (Fig. 1a & b). The daily peak values of 17.6 ± 0.8, 18.9 ± 1.7, 17.3 ± 3.0, 12.8 ± 6.3, 12.5 ± 0.2, 11.8 ± 1.3, 10.2 ± 1.7, 10.7 ± 1.1, and 9.1 ± 3.7 mL/gvs, respectively, were observed on d-6 for the anaerobic digesters containing 100, 90, 80, 70, 60, 50, 40, 30, and 20% GM, respectively (Fig. 1a & b). The co-digestion with 10% GM yielded maximum daily biomethane on d-9. The maximum daily biomethane yield of 9.0 ± 0.9 mL/gvs was observed on d-13 from the CGT mono-digestion. The daily peaks signify that 6.1, 6.0, 5.2, 3.6, 4.0, 3.5, 2.9, 2.8, 2.2, 3.1, and 2.0% of the added VS was degraded in anaerobic digestions having GM and CGT mixing ratios of 100:0, 90:10, 80:20, 70:30, 60:40, 50:50, 40:60, 30:70, 20:80, and 10:90 and 0:100. The second daily peaks of 12.3 ± 4.6 and 10.2 ± 0.8 mL/gvs were observed on d-8 and d-9 for co-digestions with 70 and 80% CGT. After the second peak, the biogas yield in all co-digestions declined steadily until 15–17 d. After 17 d, no additional peaks were observed in co-digestions. Our findings corroborate with those of Kafle and Chen [34], who reported the biomethane peak value of 18 mL/gvs at d-7 in GM during 55 d anaerobic mono-digestion. Zhang et al. [52] reported two daily peaks of 8 and 11 mL/gvs at 13 and 25 d in GM mono-digestion.

Fig. 1
figure 1

Daily biomethane yields (mL/gvs) for goat manure (GM) and cotton gin trash (CGT) mixing ratios of 90:10, 80:20, 70:30, 60:40, 50:50 (a); and 40:60, 30:70, 20:80 and 10:90 (b). The error bars represent the standard deviation. Each dot on the chart represents the mean of three values. Cumulative biomethane yields (mL/gvs) for goat manure (GM) and cotton gin trash (CGT) mixing ratios of 100:0, 90:10, 80:20, 70:30, 60:40 and 50:50 (c); and 40:60, 30:70, 20:80, 10:90 and 0:100 (d). The error bars represent the standard deviation. Each dot on the chart represents the mean of three values

3.3 Cumulative biomethane production and biodegradability

The cumulative biomethane yield from mono- and-co-digestions of GM and CGT at the end of BMP assays is shown in Fig. 1. The biomethane yield of 274.1 ± 7.8 mL/gvs was observed in the mono-digestion of GM. The BMP values of 261.4 ± 4.8 and 262.6 ± 4.2 mL/gvs were observed in GM–CGT co-digestions at the mixing ratios of 10 and 20% CGT, respectively. The co-digestion of GM and CGT with 10 and 20% CGT yielded similar (P ˂ 0.0001) biomethane as that of GM mono-digestion. The co-digestions having GM and CGT in proportions of 70:30, 60:40, 50:50, 40:60, 30:70, 20:80 and 10:90 yielded 236.2 ± 17.8, 203.5 ± 1.1, 197.4 ± 3.8, 204.0 ± 14.2, 206.0 ± 8.4, 186.7 ± 1.9 and 189.0 ± 7.1 2 mL/gvs biomethane, respectively. As a general rule, an increase in the CGT percentage in a co-digestion significantly lowered the biomethane yield. Statistically similar (P ˂ 0.0001) biomethane yields of 203.5 ± 1.1, 197.4 ± 3.8, 204.0 ± 14.2, and 206.0 ± 8.4 mL/gvs were observed for the co-digestion of GM with 40–70% of CGT (Fig. 1c & d).

The technical digestion time (T80–90) is defined as the time taken to obtain 80–90% of the BMP of a given substrate [34]. An increase in CGT in co-digestion increased the T80–90 and was between those of the GM and CGT mono-digestions. The T80–90 of mono-digestions of GM and CGT was 24–39, and 41–50 d, respectively. Kafle and Chen [34] reported T80–90 of 31–37 d for GM mono-digestion. The T80–90 for the co-digestions with 10, 20, 30, 40, 50, 60, 70, 80, and 90% GM was found to be 36–47, 33–47, 30–44, 34–44, 31–43, 30–42, 30–43, 28–41, and 26–39 d, respectively.

There are no reports of anaerobic digestion of GM with CGT to date. However, previous studies have reported the biomethane potential of GM with other agricultural wastes such as wheat straw (WS), corn stalks (CS), and rice straw (RS) [40, 53] swine, and dairy cow manure [23, 27]. Zhang et al. [52] reported biomethane yields of 225.5, 261.6, 331.2, and 324.3 mL/gvs from 55 days of GM mono-digestion and co-digestions having missing ratios of GM/WS 30:70, GM/CS; 70:30, and GM/RS; 50:50, respectively, under mesophilic conditions. Funk et al. [27] reported that CGT and cow manure yielded maximum biomethane at mixing ratios below the value of 5:1 in a two-stage bioreactor. Macias-Corral et al. [23] stated that the co-digestion of CGT with cow manure in 5:1 ratio enhanced biomethane yield to 87 m3/ton than the value of 62 m3/ton in cow manure mono-digestion by utilizing the microbial diversity and nutrients in each substrate. Zhang et al. [52] reported that co-digesting GM with WS, RS, and CS improved the biomethane over GM mono-digestion by improving the C/N ratio. The C/N ratios of GM and CGT were 15.7 ± 0.7 and 36.3 ± 0.9, respectively (Table 1). The biomethane yield in the GM mono-digestion and co-digestions having 10 and 20% CGT was 274 ± 7.8, 261.4 ± 4.8, and 262.6 ± 4.2 mL/gvs, respectively, and statistically similar. The optimum C/N ratio to support anaerobic digestion for biomethane production was 15.7–19.8 in this study. Siddiqui et al. [54] reported that the optimum C/N ratio for biogas production is 15, while other researchers [55, 56] reported it to be between 16 and 25. Some studies reported the optimum value of the C/N ratio for anaerobic degradation to be in the range of 20–35 [57,58,59].

The biodegradability and synergistic effect index (SEI) of the anaerobic digestions are provided in Table 2. The BDs of GM and CGT mono-digestions were 94.5 ± 2.7 and 37.6 ± 0.8%, respectively. As expected, the biodegradability decreased as the proportion of CGT in the co-digestion was increased. The highest SEI of 15.6 ± 4.7% was observed in the GM co-digestion with 70% CGT.

Table 2 Theoretical and experimental biomethane potential, biodegradability (BD), and synergistic effect index (SEI) of goat manure (GM) and cotton gin trash (CGT) anaerobic digestions

Goat manure and CGT used in the BMP assays have high lignin contents of 17.6 and 32.7% of TS, respectively (Table 1.). Lignin is one of the most recalcitrant components of plant-based agro-wastes and is not easily degraded during anaerobic digestion [47]. Triolo et al. [60] also stated that the lignin content of organic manures and energy crops is negatively correlated to their BMP. The acid-insoluble fraction of CGT is reported to be 21–25% [61,62,63]; thus, low biodegradability of the co-digestions containing a higher proportion of CGT may be attributed to the high lignin content of the substrates. However, the EMY of 169.6 ± 3.5 mL/gvs (Table 2) in CGT mono-digestion is within the range of 80–242 mL/gvs in pretreated cotton stalks reported by Adl et al. [64].

Although, Kafle and Chen [34] reported that the BMP of animal manures is negatively correlated with the manure lignin content, we report a higher BD value of 94.5 ± 2.7%. It may be because the GM for this study was thermally treated at 80 °C, which may have further softened the lignin, thus contributing to higher biodegradability. Lignocellulosic biomass of agricultural origin is subjected to various pre-treatments such as hot water, weak alkali, or acid treatment, along with a mild increase in temperature [64,65,66]. These pre-treatments aim to loosen the cell walls of the recalcitrant plant components, such as lignin. In a previous study [41] we reported similar BMP values in control, hot water, and alkali pretreated CGT. The CGT in our study was collected from a pile outside the gin mill (weathered for more than 3 months). During the period it was piled up in the open, it had been exposed to environmental factors, and it was considered as a pretreatment before the BMP assays. As mentioned before the BMP of 169.6 ± 3.5 mL/gvs in CGT are in the range observed by Adl et al. [64] after pretreatment of cotton residues. The storage of CGT may have enhanced BMP yield.

3.4 Modeling biomethane production

The mathematical models are integral to experimental research to optimize the process and evaluate digester performance. The models are classified as white-box, grey-box, and black box depending upon the amount of prior information required [67]. The algebraic equations (e.g., Buswell equation) which describe the biochemical reactions utilizing known information (eg chemical composition) are non-dynamic white-box models. The black-box models link input to output without requiring any knowledge of the biochemical reactions. The grey-box or mechanistically driven models require physical interpretation of the parameters by estimation, which is adjustable. Most of the dynamic models describing anaerobic digestion are in this category [67]. In this study, the anaerobic digestion process was optimized and evaluated by the non-dynamic white-box model; Boyle’s equation (Eq. 1), and by fitting the cumulative data to the modified Gompertz equation (Eq. 3.). The modified Gompertz model was validated by calculating the coefficient of determination (R2) and rRMSE. The parameters obtained by fitting the data are given in Table 3. The predicted, and experimental biomethane values were similar as described in Fig. 2. The 20, 50, and 60% additions of CGT (to GM) in co-digestion significantly lowered the lag phase compared to GM mono-digestion. These observations are consistent with the feedstock properties, with GM having a higher proportion of soluble/readily available fraction of volatile solids for microbial consumption while CGT provided carbon (being a high C/N ratio of the two substrates). The maximum and similar daily rates of biomethane production (Rm) were observed in GM mono-digestion and a 10% co-digestion with CGT. As the proportion of CGT in a co-digestion rose, the maximum daily rate decreased. In the co-digestions of 10, 20, 40, and 50% CGT, the Rm values were 5.9, 6.1, 6.4, and 6.7 (Table 3.), respectively, and statistically similar (P ˂ 0.0001). The high R2 values of 0.986–0.990 prove that the modified Gompertz equation fits very well with the cumulative data and hence the anaerobic digestion of GM–CGT. The least R2 value of 0.986 was observed in CGT mono-digestion and GM co-digestion with 10% CGT. The rRMSE values varied between 0.487 and 1.663. Similar rRMSE values for observed and modified Gompertz model predicted biomethane from the anaerobic digestion of organic wastes had earlier been reported by Srivastava et al. [68].

Table 3 Gompertz parameters and experimental biomethane from goat manure (GM) and cotton gin trash (CGT) anaerobic digestions
Fig. 2
figure 2figure 2

The modified Gompertz model-simulated and experimental biomethane yields (mL/gvs) in co-digestions having different proportions of goat manure (GM) and cotton gin trash (CGT)

3.5 Phosphate and nitrate in liquid fraction of effluents

The PO4 concentration in the liquid fraction of the animal manure digestates varies between 110–125 mg/L [69]. The observed PO4 concentration of digestate from GM’s mono-digestion was 178.7 ± 37.2 mg/L. However, the PO4 and NO3 concentration in the liquid fraction of the digestate (Table 4) was lower than feedstocks in all treatments. The concentrations were in proportion to the quantity of feedstocks in each mixing ratio. The animal manures are known to have high organic N and P contents, which usually are not in the available forms but during the anaerobic degradation process, the unavailable forms of N and P are solubilized to available forms by the microbial populations carrying out the anaerobic digestion process [70]. The availability of nutrients in the digestate and animal slurries depends upon their pH which is affected by the concentration of various ions (released during organic matter degradation or added in the form of micronutrients) in the solution [29]. The pH of the digestates was between 6.8 and 7.0. Moller and Sommer [71] reported that most of the phosphorus and organic nitrogen stays in the solid fraction of the digestate, while the liquid fraction contains most of the inorganic nitrogen. The inorganic nitrogen may be in the NH4+ form, while PO4 may be in the solid fraction of the digestate.

Table 4 Phosphate (PO4–P) and nitrate (NO3–N) concentrations in the liquid fraction of digestate from goat manure (GM) and cotton gin trash (CGT) mono and co-digestions

4 Conclusion

This research was aimed at improving the performance of digesters at goat CAFOs by incorporating cotton gin trash; another agro-waste. The GM and CGT were anaerobically digested, the process performance was optimized and evaluated utilizing suitable models. Despite high non-degradable contents, the GM co-digestion with 10 and 20% CGT yielded statistically similar biomethane as that of GM. The high experimental biomethane yield (94% of the theoretical value) in GM mono-digestion indicates high performance without process inhibition, which might be aided by its thermal treatment. The farms operating GM mono-digestions may incorporate CGT (10–20%) and mitigate the twin problems of environmental pollution from GM and CGT disposal at goat farms and cotton gins, respectively. Although CGT incorporation did not improve biomethane yield over GM mono-digestions, the values observed were in the range reported by other researchers after pretreatment of cotton residues. The liquid fraction of the digestate had negligible nitrate and phosphate concentrations. Thus, this study may provide valuable information to the researchers in this field as there are no reports investigating these feedstocks together. Future studies will focus on pre-treatments to soften the lignin content of the CGT before co-digesting with GM and evaluating effluents on crops as potential biofertilizers.