Introduction

According to data from the United Nations Food and Agriculture Organization (FAO) [1], cassava production (Manihot esculenta Crantz) is found in more than 100 countries, recording an average growth of 13.9% in the last 5 years and reached 242 million tons in 2017. Nigeria is the world’s largest producer with 45 million tons per year, followed by Thailand, with 30.1 million tons per year, and Brazil, responsible for 26.6 million tons per year.

A large part of this production, about 60%, is destined to produce flour. From this manufacture, we have the manipueira as residue [2,3,4]. Manipueira is the wastewater from the cassava pressing process that produces derivatives, with a high content of organic material. In this way, the manipueira needs treatment so that it can be discarded without causing damage [5,6,7,8].

The pollution generated by this effluent is directly linked to its high BOD (Biochemical Oxygen Demand) load and the presence of hydrocyanic acid in its composition. The presence of hydrocyanic acid in its composition differentiates the manipueira from other agro-industrial residues [9].

According to Fioretto [10], 3 kg of mass of grated and pressed cassava generate 1 l of manipueira and when dumped erroneously causes pollution equivalent to a population of 230 to 300 inhabitants.

As a solution to this problem, in recent years, the anaerobic treatment of agro-industrial effluents has increased, solving the wastewater problem of cassava in a very comprehensive way. This process generates as biogas by-product, which can promote the energy optimization of the use of the manipueira from the generated biofuel, leading to an environmental sustainability in the sector [11,12,13].

To use the most of biogas energy potential, it can be applied in a cogeneration system. Cogeneration can be defined as an intelligent arrangement of the process of converting a fuel into mechanical energy which, by means of waste heat recovery processes, increases the overall efficiency of fuel processing, generating not one but two forms of energy. The most common forms of energy produced by cogeneration systems are thermal energy and mechanical energy, which is usually converted into electrical energy through a generator or alternator [14, 15].

There are several technologies for the energy conversion of biogas; among them, “Otto cycle” engines with internal combustion are the technologies most commonly found in the literature. In general, the motors have higher electrical conversion efficiency, although it also has severe restrictions on heat recovery from low temperature levels.

However the use of turbines gas in cogeneration provides an overall efficiency of approximately 75% which can be justified from of the total energy to the fuel used in combustion, about 30% is converted into mechanical energy, approximately 50% is contained in the exhaust gases (which are expelled from temperatures of the order of 500–600 ° C)[14,15,16].

In this way, this article aims to analyze the energy and economic efficiency of the biogas production from the manipueira produced in a large plant, using biogas as a source of energy in the feeding of a cogeneration system composed of a gas turbine and heat recovery system, where the purpose is to generate electric and thermal energy.

Methodology

The study of the energy and economic feasibility of this article was based on the EDUCOGEN (The European Association for the Promotion of Cogeneration) plant [17], where a biodigester was associated with the electric power generation process, as shown in Fig. 1.

Fig. 1
figure 1

Plant to produce electric and thermal energy using biogas

Figure 1 begins with the entry of the manipueira into the biodigester. As a result of the anaerobic digestion process there is compost and biogas. Before use of the biogas produced, a cleaning process must be carried out, so a filter is introduced into the system, which removes traces of hydrogen sulfide (H2S) present.

To continue the flow of the plant, air (point 1) is sucked in and compressed by compressor (point 2), then mixed with fuel and burned in the combustion chamber. The resulting gas (point 3) is expanded in the turbine blades, producing work. The work produced gives rise to mechanical power, which is used to drive the generator, providing electricity.

The exhaust gases from the turbine (point 4) are directed to the heat recovery, where they will be used for steam generation (point 6). The steam produced is available as a form of thermal energy for use in the process. Once used, this heat flow returns to the system (point 7) and is pumped to the heat exchanger (point 8). Finally, the exhaust gases (point 5) released.

Energy Analysis

The most classical way of determining the thermal performance of cogeneration plants is through the use of the first law of thermodynamics. This analysis allows to define, from the point of view of energy, the performance of each equipment, as well as the overall performance of the system. [18,19,20].

In general, the first law is expressed by the Equation (1) shown below:

$$ \overset{\cdotp }{Q}-\overset{\cdotp }{W}={\sum}_{output}{\overset{\cdotp }{m}}_s\left({h}_s+\frac{v_s^2}{2}+g{z}_s\right)-{\sum}_{input}{\overset{\cdotp }{m}}_e\left({h}_e+\frac{v_e^2}{2}+g{z}_e\right) $$
(1)

Where:

\( \overset{\cdotp }{Q} \): the heat added to the control volume under analysis (kW)

\( \overset{\cdotp }{W} \): work done by the control volume (kW)

\( \overset{\cdotp }{m} \): the mass flow of fluid (kg/s)

h: the enthalpy of the fluid (kJ/kg)

v: the velocity of the fluid (m/s)

z: the portion of the control surface with fluid passage (m)

g: the acceleration of gravity (m/s2)

Since the studied plant was not considering kinetic and potential energy differences, the Equation (2) shows the first law of thermodynamics simplified:

$$ \overset{\cdotp }{Q}-\overset{\cdotp }{W}={\sum}_{output}{\overset{\cdotp }{m}}_s{h}_s-{\sum}_{input}{\overset{\cdotp }{m}}_e{h}_e $$
(2)

The data analyzed below were determined under conditions of ambient temperature of 25 ° C, sea level, and with 60% relative humidity.

Initial Considerations

According to Madeira et al. [9], a large industry processes about 22,000 tons/day cassava to produce dry flour, generating 6,600,000 liters per year of manipueira. This allows the formation of approximately 2160 kg per day of biogas.

The biogas composition produced from the cassava effluent, determined by gas chromatography, is given in 81% CH4 and 19% CO2, according to Lamaison [21] with LHV (lower heating value) of 25,000 kJ/kg.

Thus, the specific mass of biogas can be calculated according to Equation (3), proposed by Xavier [22]:

$$ {\rho}_{biogas}={\rho}_{CH_4}\left(\%{CH}_4\right)+{\rho}_{CO_2}\left(\%{CO}_2\right) $$
(3)

where the specific mass of CH4 and CO2 is 0.72 kg/m3 and 1.96 kg/m3 respectively

For energy analysis, the operating conditions of each stage of the system were studied, mainly analyzing the input and output temperatures and the efficiency of each equipment (Table 1).

Table 1 Description of the operating conditions of equipment in different stages of the plant

Calculations of Air and Fuel Mass Flow

The mass flow of inlet fuel (biogas) at the combustion chamber is shown by the Equation (4):

$$ {\overset{\cdotp }{m}}_{comb}=0.044435\ kg/s $$
(4)

According to Antunes [23], the mass flow of fuel (mcomb) is given by the Equation (5):

$$ {\overset{\cdotp }{m}}_{comb}=\frac{{\overset{\cdotp }{m}}_{gas}\times \left({h}_3-{h}_2\right)}{PCI\times {\eta}_{cc}-{h}_3} $$
(5)

where:

$$ {h}_2={Cp}_{gas}\left({T}_2\right)\times \left({T}_2-{T}_1\right) $$
(6)
$$ {h}_3={Cp}_{gas}\left({T}_3\right)\times \left({T}_3-{T}_1\right) $$
(7)

According to Xavier [22], the specific heat of gases from the combustion of biogas as a function of temperature (Cpgas,), can be found by the Equation (8):

$$ {Cp}_{gas}(T)=1.044-\frac{4.490\times T}{10^5}+\frac{5.332\times {T}^2}{10^7}-\frac{2.616\times {T}^3}{10^{10}} $$
(8)

where:

$$ {\overset{\cdotp }{m}}_{g\overset{\hbox{'}}{\mathrm{a}}s}=0.9074\ \frac{kg}{s} $$
(9)

The mass air flow (\( {\overset{\cdotp }{m}}_{ar} \)) is given by Equation (10):

$$ {\overset{\cdotp }{m}}_{ar}={\overset{\cdotp }{m}}_{g\overset{\hbox{'}}{\mathrm{a}}s}-{\overset{\cdotp }{m}}_{comb} $$
(10)

where:

$$ {\overset{\cdotp }{m}}_{ar}=0.8630\ \frac{kg}{s} $$
(11)

The stoichiometric ratio (rest) is given by Equation (12):

$$ rest=\frac{{\overset{\cdotp }{m}}_{ar}}{{\overset{\cdotp }{m}}_{comb}}=19.4 $$
(12)

Calculation of the Generated Electric Power

According to Xavier [22], the power supplied by the fuel (Ecomb) is given through the fuel mass flow (\( {\overset{\cdotp }{m}}_{comb} \)) and LHV (lower heating value) as shown in Equation (13):

$$ {E}_{comb}={\overset{\cdotp }{m}}_{comb}\times LHV $$
(13)

Parallel to this study, Pérez [18] says that the power supplied by the fuel (Ecomb) can also be found by Equation (14):

$$ {E}_{comb}=\frac{E_p}{\eta_t} $$
(14)

In this way, the electric power (\( {\overset{\cdotp }{W}}_e\Big) \) can be defined as shown in Equation (15):

$$ {E}_p={\overset{\cdotp }{W}}_e\times {\eta}_e $$
(15)

where Ep is equivalent to the electrical power produced by the system. The efficiency of electric power generation (ηge) is given by Equation (16):

$$ {\eta}_{ge}={\eta}_t\times {\eta}_e $$
(16)

Calculation of Recovered Thermal Power

The thermal power recovered from the exhaust gases, Erc, can be found by Equation (17) [18]:

$$ {E}_{rc}={\overset{\cdotp }{m}}_{gas}\times {Cp}_{gas}\left({T}_{4m}\right)\times \left({T}_4-{T}_5\right) $$
(17)

where, according to Pérez [18], T4m is the average temperature between the exhaust gas temperature when exiting the turbine (T4) and the outlet temperature of the heat recuperator (T5).

The energy balance operated in the heat recovery system can be obtained by Equation (18) [18]:

$$ {\eta}_{rc}=\frac{E_v}{E_{rc}} $$
(18)

where, the power of heat provided in the form of steam, Ev, is given by Equation (19):

$$ {E}_v={\overset{\cdotp }{m}}_v\times \left({h}_6-{h}_8\right) $$
(19)

According to Antunes [23], \( {\overset{\cdotp }{m}}_v \) is defined as the mass flow rate of steam generated (h6), with a saturated vapor enthalpy at the outlet temperature of the heat recovery system unit (T5) and h8 as the enthalpy of compressed liquid at T8 which is the temperature of the flow that returns to the process.

The heat generation yield (ηgc) is determined by Equation (20):

$$ {\eta}_{gc}=\frac{{\overset{\cdotp }{m}}_v\times \left({h}_6-{h}_7\right)}{E_{comb}} $$
(20)

where, according to Antunes [23], h7 can be determined by the enthalpy of the temperature T7.

Calculation of Overall System Efficiency

As the cogeneration system involves the production of more than one form of energy, the global efficiency of the system (ηG) must be defined accounting for the electric and thermal power produced, as shown in Equation (21) adapted from Coronado [24]:

$$ {\eta}_G=\frac{E_p+{E}_v}{E_{comb}} $$
(21)

In this way, it is possible to determine how close the system is to achieving the maximum energy utilization that is available by the fuel, being an essential parameter for the analysis of a cogeneration system.

Results of the Energy Analysis

The results found during the energy analysis are presented in Table 2, as well as the parameters calculated during the development of the applied methodology.

Table 2 Energy analysis parameters

Analyzing the results obtained, it is possible to evaluate the energy distribution of the system that is composed by the percentage of energy produced by the microturbine, its conversion in to electric energy, and the heat flow that can be recovered, in view of the performance of the proposed plant using biogas as biofuel, as shown in Fig. 2.

Fig. 2
figure 2

Distribution of microturbine energy production

Thus, only 31.5% of the available energy is converted into electrical energy, and about 41.3% is recovered through the cogeneration system. Of this total recovered, 75% was converted into thermal energy in the form of steam.

The losses represent 16% of the available fuel energy, encompassing natural convection, conduction, and radiation heat losses as well as turbine output losses and compressor losses (the most critical point in the system).

According to Silva [25], the overall efficiency of a cogeneration system using gas turbine ranges from 60–85%, while the yield of electric power production ranges from 15–35% and the thermal efficiency ranges from 40–59%.

In addition to the data previously described, two relationships can be defined between thermal energy production and electric energy, as shown in Table 3.

Table 3 Relationship between the production of thermal and electrical energy

The ratio \( \frac{{\overset{\cdotp }{\boldsymbol{m}}}_{\boldsymbol{v}}}{{\boldsymbol{E}}_{\boldsymbol{p}}} \) represents how much steam is capable of being produced for each kW of electrical energy generated by the system and can be used as a parameter for future system design.

The ratio \( \frac{{\boldsymbol{E}}_{\boldsymbol{v}}}{{\boldsymbol{E}}_{\boldsymbol{p}}} \) shows that for every 1 kW of electrical energy that is produced, about 1.21 kW of thermal energy is recovered and converted to useful heat in the form of steam. According to Silva [24], the heat/electricity ratio of a generic cogeneration system using a gas turbine ranges from 1.2 to 2.

The biogas energy conversion technology usually used in cogeneration systems is the Otto cycle internal combustion engines, such as the configuration suggested by Xavier [22], with an overall efficiency of about 57% and \( \frac{{\boldsymbol{E}}_{\boldsymbol{v}}}{{\boldsymbol{E}}_{\boldsymbol{p}}} \) ratio equal to 0.6144. When comparing these results with those obtained in this study, overall yield of 72.65% and \( \frac{{\boldsymbol{E}}_{\boldsymbol{v}}}{{\boldsymbol{E}}_{\boldsymbol{p}}} \) ratio equal to 1.2083, it can be concluded that the use of microturbines to gas has been shown to be more efficient, guaranteeing a significant improvement in of the fuel.

In this way, the use of gas microturbines is considered a technological innovation when compared to Otto cycle engines, guaranteeing energy advantages.

Economic Analysis

The methodology adopted follows the procedures described by Antunes [23], considering suggestions from Xavier [22] and Silveira [26] and the particularities of the studied plant.

This methodology contains the calculation of the production costs of the system based on the investment value, fuel cost, and maintenance cost. Subsequently, the values of annual revenue related to the installation of the system are calculated in substitution of the conventional systems of production of electric and thermal energy.

Investment Costs

The investment cost of the plant under study is defined as the cost of purchasing equipment and its cost of installation. Thus, it is necessary to determine the costs of the gas turbine system (involving compressor, combustion chamber, gas turbine, generator electrical and other accessories), the heat recovery system, and the biodigester used.

Thus, the Equation (22) defines the total investment cost of the plant (IT), which will be given in US$ [18]:

$$ {I}_T=1.3\times \left({I}_{STG}+{I}_{RC}+{I}_B\right) $$
(22)

Being the multiplicative factor 1.3 referring to the equipment installation costs considered as 30% of the initial investment.

The investment cost of the gas turbine system (ISTG,), given in US$, is determined by the Equation (23) [18]:

$$ {I}_{STG}=0.00002\times {\overset{\cdotp }{W}}_e^2-0.2078\times {\overset{\cdotp }{W}}_e+982.65 $$
(23)

The Equation (24) shows the investment cost of the heat recovery system (IRC), given in US$, is considered as [22]:

$$ {I}_{RC}=6996+\left(211.5\times {\overset{\cdotp }{m}}_v\right) $$
(24)

To determine the initial investment cost of the biodigester (IB), it is necessary to size it. According the methodology of Ghiandelli [27], the required parameters are the HRT (hydraulic retention times), equal to 45 days, and the availability of feedstock, 6.600.000 \( \frac{l}{year} \) of manipueira. Once that the biodigester volume is calculated, it is necessary to evaluate the required gasholder size. The proportion between total biodigester volume and gasholder is equal to 3:1.

Finally, the capacity required for the biodigester is approximately 1125 m3, and the investment cost is approximately 16,724.00 US$ (see Table 4) [28]. So, the total investment cost (IT) is 396,183.40 US$.

Table 4 Budget of biodigestor with a volume of 1125 m3 [28]

Maintenance Cost

According to Silveira [26] and Antunes [23], the maintenance cost of the gas microturbine system (CMSTG) and the cost of maintaining the heat recovery system (CMRC) are obtained by Equation (25) and (26):

$$ {CM}_{STG}=0.015\frac{US\$}{kWh} $$
(25)
$$ {CM}_{RC}=0.008\ \frac{US\$}{kWh} $$
(26)

The annual maintenance cost of the digesters was estimated at 2.5% of the initial value [29], so the CMB is approximately 0.00017 \( \frac{US\$}{kWh} \).

Annualized Cost of Production

In order to determine the annualized costs of electricity (Cel) and annualized costs for steam production (Cv), in US$/kWh, of the plant studied, the Equations (27) and (28) proposed by Antunes are used [23]:

$$ {C}_{el}=\frac{\left({I}_T-{I}_{RC}\right)\times f}{H\times {E}_p}+\frac{C_{comb}\times \left({E}_{comb}-{E}_{rc}- Per/2\right)}{E_p}+{CM}_{STG}+{CM}_B $$
(27)
$$ {C}_v=\frac{I_{RC}\times f}{H\times {E}_v}+\frac{C_{comb}\times \left({E}_{rc}+ Per/2\right)}{E_v}+{CM}_{RC}+{CM}_B $$
(28)

Thus, the annuity factor (f), in 1/year, given by the Equation (29) [23]:

$$ f=\frac{q^k\times \left(q-1\right)}{q^k-1} $$
(29)

where:

$$ q=1+\frac{j}{100} $$
(30)

where “k” is the amortization period, given in years and “j” is the annual interest rate, set at 12% for this present study [18, 22, 25].

The energy losses (Per), in kW, can be calculated by Equation (31) [23]:

$$ Per={E}_{comb}-{E}_p-{E}_{rc} $$
(31)

The produced electricity (Ep), the residual heat of the gases (Erc), the heat recovered in vapor form (Ev), and the power supplied by the fuel (Ecomb) refer to the data obtained from the energy analysis.

The annual operating period (H) equals 7608 h, considering that the analyzed plant is of large scale, it operates in 3 shifts, operating 24 h a day from Monday to Saturday, excluding Sundays for equipment maintenance and rest of employees.

According to Xavier [22], the cost of fuel (Ccomb), biogas, is estimated to be 0.019 US$/kWh.

The amortization period (k) is determined according to the variables mentioned above, through an iterative procedure.

Annual Revenue

The annual revenue from the installation of the cogeneration system is determined by the sum of the gains associated with the production of electricity and useful heat [26].

The annual gain due to the production of electricity (Gpel), in US$/year, is given by Equation (32):

$$ {G}_{pel}={E}_p\times H\times \left({P}_{el}-{C}_{el}\right) $$
(32)

The value of the purchase price of the electric energy (Pel) used was US$ 0.154/kWh [22].

Similarly, the annual gain due to steam production (Gpv), in US$/year, can be determined by the Equation (33):

$$ {G}_{pv}={E}_v\times H\times \left({C}_v\right) $$
(33)

The expected annual revenue (R), in US$/year, is given by the sum of the gains due to the production of electricity and due to the production of steam by the cogeneration system, as shown in Equation (34):

$$ R={G}_{pel}+{G}_{pv} $$
(34)

The value of the amortization period (k) is determined when a revenue value greater than or equal to zero is obtained [26].

Economic Analysis Results

The results found during the economic analysis are presented in Table 5, as well as the parameters calculated during the development of the applied methodology.

Table 5 Economic analysis parameters

The first parameter to be analyzed is the total investment cost of the plant, being equal to approximately US$ 465,106.00 that is1322.3 US$/kW of electricity produced. Figure 3 shows that the distribution of the value according to the investments made, showing that most of the initial cost, is related to the gas turbine system.

Fig. 3
figure 3

Distribution of costs with the initial investment

Other parameters to be analyzed are the costs of production of electric and thermal energy, where the values of 0.1534 US$/kW and 0.0382 US$/kW, respectively, were considered, considering the plant already amortized.

The graphs in Fig. 4 and Fig. 5 show the cost of energy production, in US$/kW, as a function of the amortization period in years.

Fig. 4
figure 4

Cost of electricity production (UU$/kWh) in a cogeneration system

Fig. 5
figure 5

Cost of production of thermal energy (UU$/kWh) in the form of steam in a cogeneration system

The production costs, both for electricity and for thermal energy, decrease over the years because, although fuel costs are adopted as constant values, the cost related to the initial investment in the plant decreases with time according to the amortization. This behavior is also related to the annuity factor, which is dependent on the annual interest rate considered (12%).

Another factor that influences the distribution of production cost curves is the annual plant operation period (H), considered in this study as a fixed value of 7806 hours per year.

Finally, the annual revenue behavior will be according to the damping period. The amortization period found is approximately 1.5 years. For a cogeneration plant using an internal combustion engine of the Otto Cycle fueled by biogas, Xavier [22] says that the damping period is around 2 years and when fed with another fuel such as natural gas, it is between 3 and 4 years.

The improved performance of biogas can be explained by its low cost, resulting in greater annual savings in plant installation and rapid return on investment.

Conclusion

The technologies of anaerobic digestion and the use of biogas are effective in the treatment and valorization of the manipueira, reducing the environmental impact caused by the undue disposal of this effluent. In addition, the results obtained during the economic and energy analysis guarantee the potential for biofuel.

From the use of cogeneration, there is an increase in the overall efficiency of the system, making the fuel has its energy potential better utilized. In addition, the proposed plant obtained significant results when compared to another configuration, where the ratio between heat/electricity and amortization period were more satisfactory using the gas turbine. Thus, the results obtained during the energy analysis ensure that the proposed configuration is capable of being implemented.

Another important conclusion is the short amortization period due to the use of a low-cost fuel and high-energy potential, ensuring the proposed economic viability configuration.

Finally, it is expected that, in the future, industrial effluents with a high-energy potential such as the one studied, instead of being discarded, will play a relevant role in world energy production, aiming increasingly for sustainability.