Sizing of electric power generation systems from biogas through the generator staggering methodology
- 78 Downloads
We developed the generator scheduling methodology proposed in this work to make electricity generation more efficient in installations that have a variable biogas production profile. The method was applied at the Baldo/CAERN sewage treatment plant. In this application we retrieved a Net Present Value of R$ 46,356,973,80 for the generation system during 20 years, with a Cost Benefit Index of 2.85, which showed the large financial profitability of the project, derived from the efficient usage of the biogas provided by the developed methodology.
KeywordsRenewable sources Biogas Wastewater treatment plant Upflow anaerobic sludge blanket Electric generators
The generation of electric energy is fundamental for the maintenance of humanity’s current standard of living, as well as for the economic and, even, social development of any country. With an ever-increasing world demand, the insertion of renewable energy sources into the global energy matrix is indispensable. This insertion aims at both meeting higher consumption demands and causing less environmental impact, specially when compared to mainstream sources currently in use, such as coal, oil and natural gas (which utilize finite fossil resources), or hydroelectric plants (which cause major environmental impacts). Adding to all this, it is still necessary to consider the large emission of carbon dioxide from fossil fuels burning, which impacts the atmosphere, aggravating and accelerating global warming.
Biogas is a renewable source of energy obtained through the process of biomass decomposition in anaerobic environment . This process occurs by the natural action of the bacteria in the digestion of organic matter, resulting in generation of methane. This way, because of the presence of methane, biogas has a calorific factor, which can generate energy through the process of burning .
Biogas produced at Sewage Treatment Plants (STP), which uses anaerobic reactors, landfills and similar facilities is often disposed directly into the environment or burned in flares. Noting that this burning has a great calorific value that can be used for generating electric energy, it was decided to develop this work in order to take advantage of this potential.
This work fits in the field of electric power generation from biogas, using electric generators coupled to internal combustion engines (MCI). Biogas is flared within the MCI, which in turn provides the torque required for generator rotation. The generator will then produce electricity that can be used to feed the internal loads of the facility or be injected directly into the utility grid. The biogas to be used may come from any facility, such as sewage treatment plants, landfills and so on.
The main objective of this work is to present the generator scheduling methodology, which applies to installations that have a variable biogas production profile, to implement this routine in a software and to apply it in the sizing of the Baldo WWTP generation system. Presenting the results obtained.
3 Existing methodologies
Currently, in installations where the biogas production profile is variable, power generation systems are designed to operate with a constant generation power. This way, the variations in the volumetric flow rate of the biogas produced are not taken into account and, consequently, neither is the available power through this flow for the generation system at any given time.
Currently, there are methods that calculate an average hourly volumetric flow rate of annual biogas production and from this value the value of the nominal generation power is obtained and, consequently, the potential of electric power generation in a given period . This method estimates the annual production of biogas through specific formulas or measurements, determining an annual average volumetric flow rate and, through this, a constant value of power for the generation system and, consequently, of energy generated in a certain time interval. This method does not take into account the profile of biogas production at each moment of the year considered. Up to a period of minutes may be sufficient to cause instability and cause the generation system to stop due to lack of biogas, or the waste of the excess produced if it is above the nominal capacity of the generation system, as no calculation of the minimum storage reserve to ensure the necessary stability was made.
In another method, a set of point measurements of the volumetric flow of biogas produced is performed to estimate an average value of this flow and, consequently, of the generation power. From these values an average monthly power generation is estimated, which can be extrapolated for a longer period . In this method an average biogas production flow rate is estimated through a set of point measurements performed. Similar to the previous work, this method does not take into account the profile of biogas production in the simulation period considered and, as a minimum storage reserve was not calculated to guarantee the necessary stability, there will be waste of biogas produced at certain times, and the estimated value of energy generated will not be reached.
4 Biogas and UASB Biodigester characteristics
Biogas is colorless, insoluble and of low density, consisting mainly of methane, carbon dioxide and other gases in lower concentrations. It is obtained through the anaerobic decomposition of organic matter. This process is performed by microorganisms (bacteria), that do not need dissolved oxygen in the water or the air to survive. They “breathe” the oxygen that is part of the complex carbon molecules that make up the lipids, carbohydrates and proteins (biomass). When they remove the oxygen, they break these molecular chains into smaller ones, like methane and carbon dioxide. The main component of biogas, when one thinks of its use as fuel, is methane. The higher the concentration, the purer the biogas is and the greater is its calorific value .
Understanding the biogas composition is the first step in quantifying its caloric power, especially regarding the available methane concentration and, this way, determining the power generation potential. Through the discovery of the composition and the gases present, it is also determined the appropriate treatments to remove unwanted substances in the combustion process or those aggressive to the equipment.
To perform the anaerobic digestion of the organic matter, a equipment called Biodigester is used . The Upflow Anaerobic Sludge Blanket (UASB) is a world-wide spread equipment, mainly in countries of hot weather, for the treatment of domestic sewage in treatment plants. With internal retention of sludge, this Biodigester has, in a way, revolutionized the sewage treatment, since it started offering many advantages inexistent that until then, such as the low operating cost and the exploitation of biogas and sludge generated. The operating principle of this equipment is based on the upward flow of the affluent to be treated, which crosses a bed of active biomass (sludge), being discarded after passing through a system of deflector plates placed at the top of the Biodigester, that separates the biogas and directs it to the collector .
The bacteria present in the sludge are responsible for the purification of the organic matter. This mechanized process generates two byproducts: sludge and biogas. As sludge is the agent responsible for the degradation of the matter, it must be kept inside the reactor to start and continue the treatment process, periodically removing the excess produced .
5 Generator staggering methodology
When it is not possible or impracticable to control biogas production;
When the installation of a large reserve for biogas storage aiming at the amortization of the variations of its production is not feasible, or it is sought to reduce the installation costs of the generation system by implementing a smaller reserve;
The generation system does not work at flows below its required flow rate and if there is not sufficient storage reserve available, this biogas will be wasted;
For flow rates above the flow required by the generation system, this overflow potential is wasted if there is also insufficient storage available for this overflow volume in the reserve;
The generation system will only use biogas production more efficiently when the production flow is equal to (or very close to) the flow required by the generation system;
Assembling a biogas storage reserve large enough to account for variations in biogas production is often not achievable. For its implementation, it is necessary that there is sufficient space inside the installation (which often does not happen), as well as the costs of storing a large volume can make the deployment of the generation system unfeasible, or reduce its profit margin. In these cases, with the generator staggering method, in addition to greater efficiency in the use of biogas, a smaller biogas storage reserve may be conceived, which will increase the financial return and help to enhance the economic viability of the system of generation deployment.
This proposal allows the use of one or a set of generators operating at any moment according to the reading of the volumetric flow of biogas produced at that moment and the available storage. In this way, the generation system operates as long as possible within the biogas production range, with the greatest possible proximity between the amount of flow produced and the flow used by the generators.
Due to the need to adapt the power of the generation system to the biogas production profile of the installation, this proposal allows the staggering (modulation) of the generation power to adapt to the generation potential available by the biogas produced. Thus, it is sought that the generation system operates as long as possible within the biogas production interval, with the closest possible proximity between the biogas flow produced by the installation and the flow required by the generation system.
To visualize the application of this method, observing once more Fig. 1, the blue curve represents the volumetric flow of biogas production in the installation and the yellow curve represents the biogas flow consumed by the generation system. It is observed that the flow profile required by the generation system tends to follow the behavior of the biogas production curve. The closer these two curves are, the lower are the biogas losses (purple curve). The generation system is limited by its rated power (orange curve).
Thus, the term “staggering” was used to inform hat the generators will operate according to an algorithm of choice that defines, according to the produced flow, which generator(s) should work at that moment, in order to maximize the generated amount of energy.
Example of staggering of generators according to their nominal flows
Staggering of generators
G2 + G3
G1 + G2
G1 + G3
G1 + G2 + G3
The generation system will be composed of a set of generators with certain powers, which, along or individually, can generate energy in several flow ranges. Thus, the effect of the biogas production variation is mitigated throughout the day, allowing the system to operate in a wider range of flow values, seeking the highest possible efficiency.
The algorithm for the staggering system chooses a particular combination of initial generators. From this, and according to the volumetric flow rates of biogas production, it is determined which generator(s) should operate in every hour in a stepwise way, aiming to maximize the usage of biogas. This procedure is repeated for the entire reported biogas production period. The generated hourly energy is obtained as a function of the flow consumed by this generator(s). At the end of the reported production period, the net present value (NPV) of the generator combination is calculated. This procedure is repeated for other combinations of generators and, through an optimization method, the best combination of generators to be used is determined, according to the highest NPV presented.
The remaining biogas stock is checked every hour according to the volumetric flow produced and consumed by the generators, and is stored in the reservoir. When the reservoir is full, the surplus is counted as loss. It is necessary to consider the installation of a minimum storage, specially to give stability to the generation system. This allows a minimum operating autonomy to the generators when the volumetric flow of production is small, and it also provides the storage of the excess biogas produced when it cannot be used. The residual storage value is the volume below which the generation system becomes inoperative.
Simulation of the operation of electricity generation systems from biogas;
Sizing of electric power generation systems from biogas;
Operation of the actual functioning of electricity generation systems from biogas;
6 Main characteristics of Baldo sewage treatment plant
The generator staggering methodology was applied in the Baldo STP. It is the largest sewage treatment plant in the state of Rio Grande do Norte, receiving and treating about 30% of all sewage produced in the city of Natal (its capital).
The Baldo STP treatment system consists of preliminary, primary, secondary and tertiary treatments. The preliminary treatment aims to remove all solid waste present in the tributary through the coarse grid, fine grid and sand box. The effluent is then directed to eight UASBs, which represent the primary treatment step, removing about 65% of the organic load. After leaving the UASBs, the secondary treatment system begins, consisting of mechanically oxygenated aerobic reactors associated with secondary decanters. Tertiary treatment consists of anoxic chamber and final ultraviolet disinfection.
Sludge returning from the secondary decanter to the UASBs guarantees a great advantage in the production of biogas, since the Chemical Oxygen Demand (COD) of the sludge is around 5.000 mg/L, while that of the raw sewage is 500 mg/L. As the production of biogas is directly related to the effluent’s COD, this sludge from the secondary settler provides a large increase in biogas production.
The Baldo STP substation is made of two transformers, one of 1500 kVA and one of 750 kVA. Each transformer has a single secondary circuit, there being no communication between the loads that each one feeds .
7 Software implemented with the methodology of staging generators
The Software for Analyzing the Generation of Electricity from Biogas (SAGGAS) was developed for the design and simulation of energy generation systems from biogas, according to the methodology of staggering generators. According to the production data and the characteristics of the biogas and the installation, the program scales the generators, obtains the possible energy value to be generated, the associated costs and performs the financial analysis for the stipulated period. Thus, the choice of generators is performed with the goal of maximizing the NPV during the time considered in the analysis. The values of initial investment, maintenance, equipment replacement, equipment life, financial rates and other factors inherent to the system are included in the program to perform the calculations.
SAGGAS has ten interface tabs for data entry and visualization of results by the user, which are:
Register of generators;
Costs, fees and tariffs;
Characteristics of the installation;
Sizing of generators;
Potential of generation;
Payback and accumulated NPV;
Biogas utilization profile;
8 Sizing and simulation of the Baldo STP generation system
For biogas production, the Baldo STP has eight UASBs, each one with an independent volumetric flowmeter installed at its outlet. For this study we used the latest available measurement history, which corresponds to the period from 27/05/2012 to 22/09/2012.
In this data, reactor 06 showed zero measurements of biogas production, possibly the meter was damaged. The possibility of considering for this reactor the average production of the others was verified, however, to perform the sizing more conservatively, we decided to disregard it. Reactor 03 presented low biogas production values, this may have been caused by a poor sewage distribution between reactors, wrong positioning of the reading sensor, or perhaps due to some defect in the meter. In this case, as there were measurement data, even with low values compared to the others, we decided to keep them.
The average value of volumetric biogas flow obtained for the Baldo STP was 1240.60m3/h. The repair of the meters and the consequent accurate verification of the current production would be very appropriate, both to confirm the values used here and to measure the current production, because the sewage inflow has increased during this time. Also noting that the production data was collected less than a year after the station started working, when the bacterial colony was not yet fully developed, which decreases biogas production compared to the current colony, already stabilized.
Biogas analysis made on 29/04/2013 by CTGAS-ER
Biogas analysis made on 31/10/2017 by CTGAS-ER
Higher Calorific Power
Biogas analysis made on 11/12/2017 by CTGAS-ER
Biogas characteristics of Baldo STP
Inferior Calorific Power (MJ/m3)
Available Energy (kWh/m3)
A pressure transducer must be installed inside each gasometer to monitor the volume occupied, providing this information to the supervisory system, as well as a lightning protection system (LPS) that protects the entire surface of the gasometers.
For the removal of moisture and consequent increase in the efficiency of biogas flaring, the dehumidifier cooling method will be used. Each generator will have its own dehumidifier as a way to treat only the biogas that will be used. This individualization will provide energy savings and facilitate system maintenance and operation.
As a way of decreasing the concentration of hydrogen sulfide gas to an acceptable level, a micro-aeration system will be used, which will inject air in a controlled manner inside the upper UASBs. This system will have a pressure transducer that will monitor the interior of the reactors, indirectly providing data on biogas production. It will be connected to a frequency inverter that activates an injection compressor, thus enabling the control of air dosing.
In order to demonstrate the application of the developed methodology, it was carried out the sizing and simulation of the electric energy generation system from the biogas produced at Baldo STP.
Substation characteristics and contracted demand for the Baldo WWTP
Transformer 1 (kVA)
Transformer 2 (kVA)
Anual hired demand(kW)
New hired demand (kW)
Power factors used in SAGGAS for the Baldo WWTP project
Induction generator =
Syncronic generator =
Green tariff values charged by COSERN
Active consumption on the edge (R$)
Active consumption out of the edge (R$)
Active demand (R$)
Blue tariff values charged by COSERN
Active consumption on the edge (R$)
Active consumption out of the edge (R$)
Active demando on the edge (R$)
Active demando out of the edge (R$)
Generators registered in SAGGAS for simulation
Values obtained by SAGGAS for the generators at Baldo STP
The green tariff modality was chosen because it has a lower associated cost, considering the use of generation at the tip. The hired demand is expected to increase from the present 650–2000 kW, as a way to make better use of biogas generation potential. In the proposed generation power range for this project, it will be classified as a distributed mini-generation, connected to the distribution network through the installation of the consumer unit, as it is found in the range between 75 kW and 5 MW .
Costs for the generation system at Baldo STP
Unit cost (R$)
Manpower and accessories
System for H2S removal
To compose the cost with biogas analysis, it was considered that two analyzes will be performed every year. The durations of each cost are predefined by the program, as shown in its respective columns. A 20-years period was chosen as the range of analysis of the system, because this is the longest lifespan of all equipment of the system . As the gasometer is the only equipment that has a durability of less than this time, its replacement value is considered at each end of its life cycle (10 years). The power and value of the generators are automatically obtained by executing the program and choosing the best setting.
It is observed that the biggest cost for the project implementation is the maintenance cost, mainly due to the generators. To mitigate this value, a squirrel cage rotor induction generator can be used to compose the generator set, due to its greater robustness. However, due to the fact that no national production line could be found for this type of equipment in this power range, adjustments would be required, which, judging by the amount to be invested, would add some uncertainty to the project. So, it was decided to use only synchronous generators.
In the future, if the use of squirrel cage rotor induction generators is more reliable, it is recommended that at least generator 4 associated with the 750 kVA transformer should be synchronous. This consideration is necessary for the installation’s most important loads are connected to this transformer; this way, this generator could supply power to the STP during an interruption in the power supply by the energy company.
Simulation data of the energy generation and biogas utilization obtained for Baldo STP
Biogas volume used (m3)
Biogas percentage use (%)
Total of generated energy (kW/h)
Mean of monthly generation (kW/h)
Daily average loss of biogas (m3)
NPV and CBI obtained during the 20 years
NPV income (R$)
NPV expenses (R$)
NPV accumulated over the course of 20 years
NPV accumulated (R$)
NPV = R$ 46,356,973.80 (for the period of 20 years of operation of the system)
CBI = 2.85
Percentage of 67.42% of the use of biogas produced in the STP
Generating an average of 1,088,983.80 kW/h of energy per month
The energy generated is sufficient to meet the entire energy consumption of Baldo’s STP, and the rest, being injected into the distribution network, can be used to reduce demands in other locations, within the tariff compensation system. The financial return is very satisfactory, with the initial investment being paid off already during the second year of operation of the system.
It is possible to conclude from the presented data that the staggering generator methodology optimizes the generation of electric energy from the biogas, providing the increase of the biogas volume used by the generation system and the maximization of the NPV compared to a system using a constant generating power. Thus, this method is efficient for systems that have biogas production with variable profile and impossibility of large storage reservoirs.
As a suggestion for future works, the development of a computer program to manage the actual operation of the generation system through the generator staggering method would be very pertinent. Biogas that cannot be used by the generation system can be used for other purposes, such as supplying the company’s vehicle fleet or injecting it into the city’s natural gas network. The development of specific projects for squirrel cage rotor and induction generator sets would be very pertinent as well, since they may result in the reduction of maintenance costs, which are quite significant.
In short, it is observed that this work presented a different method for the sizing of energy generation systems from biogas, through the staggering of generators. This methodology allows to optimize the volume of biogas used by the generation system and to maximize the obtained profit (NPV), by choosing the best combination for the generators that will be part of the generation system. This method was implemented in SAGGAS, a software that measures the generators and simulates the operation of the system, presenting the total energy that can be generated and the economic and financial feasibility of the investment. It is hoped that the method of staggering generators may contribute in the future to the encourage the use of biogas as a renewable source of electric power generation, bringing benefits to companies, society and the environment.
Compliance with ethical standards
Conflict of interest
The authors declare that they have no confict of interest.
- 1.BRASIL (2015) Agência Nacional de Energia Elétrica. Resolução Normativa 687, de 2015. Altera a Resolução Normativa nº 482, de 17 de abril de 2012, e os Módulos 1 e 3 dos Procedimentos de Distribuição – PRODIST. Brasília, DF, 26Google Scholar
- 2.BRASIL, Ministério de Minas e Energia. Pinho JT, et al. (2008) Sistemas Híbridos. Brasília, DF, 396Google Scholar
- 3.CAERN. Companhia de Águas e Esgotos do Rio Grande do Norte. Disponível em http://adcon.rn.gov.br/ACERVO/caern/DOC/DOC000000000017758.PDF. Acesso em 25 July 2018
- 4.CCEE. Câmara de Comercialização de Energia Elétrica. Disponível em https://www.ccee.org.br/portal/faces/pages_publico/onde-atuamos/fontes?_afrLoop=536710192977525&_adf.ctrl-state=3k0thiohl_1#!%40%40%3F_afrLoop%3D536710192977525%26_adf.ctrl-state%3D3k0thiohl_5. Acesso em: 04 out. 2017
- 5.Chernicharo CAL (2007) Reatores Anaeróbios. 2. ed. Belo Horizonte. Departamento de Engenharia Sanitária e Ambiental, UFMG, 5, 377Google Scholar
- 6.CIBIOGÁS (2017) Centro Internacional de Energias Renováveis–Biogás. Disponível em https://cibiogas.org/biogas. Acesso em 13 dezembro de
- 8.Fisher JR, Iannotti EL, Porter JH, Garcia A (1979) Producing methane gas from swine manure in a pilot-size digester. Trans ASAE St Joseph 22(2):4–370Google Scholar
- 9.Hidrata YS, Craveiro AM, Soares HM (1986) Aplicação de reatores de fluxo ascendente com leito de lodo (RAFA) no tratamento de efluentes líquidos e produção de energia. In: Simpósio Nacional sobre Fontes Novas e Renováveis de Energia, Anais I. BrasíliaGoogle Scholar
- 10.Neto CF, et al. (2013) Correlação entre a formação de biogás, volume de esgoto afluente e remoção de dqo numa ete em escala real. ABESGoogle Scholar
- 11.NOTAS de aula (2018) Disciplina: Máquinas Térmicas. Instituto de Física, UFRGS, Porto AlegreGoogle Scholar
- 12.Oliveira LRP (2005) Biodigestor. Seminários técnicos de suinocultura. GoiâniaGoogle Scholar
- 13.WEG (2017) Alternadores para grupo geradores—linha industrial. Catálogo, Grupo WEG, Jaguará do Sul, dezembro deGoogle Scholar
- 14.Zilotti HAR (2012) Potencial de produção de biogás em uma estação de tratamento de esgoto de Cascavel para a geração de energia elétrica. Universidade Estadual do Oeste do Paraná, CascavelGoogle Scholar