Share from 0:00
0:00
/

A field guide to the Biogas Line

Every item in a WWTP biogas line, and the mistakes clients keep making with each one. Save it.

A few days ago, someone in our Water MBA WhatsApp group asked a simple question: does anyone know a real expert in biogas for wastewater treatment plants?

I read it and thought: I have exactly that, sitting in a folder.

A workshop I recorded with Pedro Sánchez (no, not that one you think if you are from Spain…) that I never published publicly. So I am taking the opportunity now.

Pedro has two things that rarely come together.

He is a natural teacher, the kind who draws a digester on screen with a mouse to make a point land.

And he has real ground experience along the whole biogas line, from A to Z, across more than 60 countries.

When we prepared the session, my brief to him was very concrete.

Could you take 1h30 and walk us through the key concept of each item in the line, plus the typical client pitfalls you keep finding, for real, every time?

That is what follows. It is “long” on purpose.

Save it, because if you work on wastewater projects, sooner or later you will need it.

From by-product to main product

Pedro is Head of Sales at EnviroTec, an Austrian company specialised in biogas treatment and conditioning, mostly on wastewater treatment lines.

He has been doing this for about ten years.

For decades, biogas in a WWTP was something that happened to you.

You digested sludge because you needed to stabilise it, and gas came out as a side effect to get rid of.

That changed in the last three or four years.

Today many plants design the biogas line targeting a specific gas quality. Biogas is no longer a by-product. It is one of the main products.

The problem, in Pedro’s words, is that interest grew faster than knowledge.

There is plenty of general expertise around, but not much specialised expertise.

That gap is exactly what this session tries to close.

The scope: everything between the digester and the consumer

Pedro frames his work as the stretch between the anaerobic digester and whoever uses the gas.

That consumer can be a CHP engine, a boiler or, increasingly, a biomethane upgrading unit.

He prefers the word conditioning to cleaning.

Conditioning means giving the gas the right condition for the role it has to play.

That includes methane content and H2S, but also pressure, particles, moisture, and having the right amount of gas at the right time.

It works exactly like water treatment. Inlet quality depends on your sludge and your digestion process. Outlet quality depends on your consumer.

The line in between is the bridge.

The line at a glance

Before going item by item, Pedro showed a general P&ID of a typical line. In order, from left to right:

  1. Digester, with its roof equipment: gas hood, pressure relief valves, foam trap.

  2. Gravel filter, to catch the coarsest stuff: sand, dust, foam, water.

  3. Desulfurisation, usually a biological scrubber, taking H2S down to roughly 100–200 ppm.

  4. Chiller, because the gas leaving the scrubber is fully saturated with water.

  5. Activated carbon, the fine H2S polishing, down to virtually 0–5 ppm.

  6. Gas holder, the buffer between an unstable biological process and a consumer that needs stability.

  7. Condensate pots at every low point of the pipework.

  8. Flare, on a branch, to burn whatever cannot be used.

  9. Booster blower, to give the consumer the pressure it needs.

  10. Ceramic filter, for the finest particles, right before the consumer.

Not every plant needs every item, and the order can change.

But if you hold this sequence in your head, the rest of the essay will click into place.

1. The digester roof: one hood to rule them all

Pedro opened with a picture of the Aguas Claras WWTP in Bello, Colombia, built by Acciona and Hyundai, with its six egg-shaped digesters.

Digester shape (cylindrical, egg-shaped, cylinder with cones) is not his scope. But his scope starts right on top of it.

A digester needs a set of accessories to be operated and monitored: inspection windows, pressure safety valves, a foam trap, manholes.

The industry standard is to group them all in a gas hood (or gas dome), a stainless steel piece usually placed in the centre of the roof.

One detail worth knowing: a vertical agitator in the centre transmits large forces to the hood, making it thicker and more expensive.

A common fix is to put the agitator directly on the concrete in the centre and shift the hood slightly to one side.

Pressure relief: hydraulic or mechanical

Every closed volume in the biogas line can suffer over- and under-pressure: the digester, the post-digester, the gas holder.

So every closed volume needs a pressure relief device.

There are two main families.

The hydraulic type is a water lock. If pressure rises too much, the liquid blows off and the gas vents. If vacuum forms, the liquid is sucked in and atmospheric air relieves it.

The mechanical type uses weights or a spring. Only when a set pressure pushes or pulls on the disc does it open to atmosphere. It can be fitted with a flame arrestor, in case of an atmospheric deflagration.

How to choose:

  • Flow and precision. Hydraulic handles bigger flows and lets you set relief pressures precisely. That is why it dominates in WWTPs. Mechanical is designed to a worst case, with less freedom.

  • Frost. Mechanical needs heating, or it can freeze.

  • Space. Hydraulic is much bigger. Mechanical is compact and can sit on a small hood or another instrument.

  • Consumables. Mechanical consumes nothing. Hydraulic needs its water and glycol fill.

  • Lifespan. Hydraulic is stainless steel and lasts longer.

When I asked whether the mechanical type could be made fully in stainless steel, the answer was neat. The casing, yes. The weight, no.

It must be lead, because you need a lot of weight on a small disc, and steel is not dense enough.

Pitfall: designing the roof as an afterthought. Pedro’s plea here was to think of the operator, ten years ahead.

What will make their life easier? That, he says, is our long-term contribution to the sector.

2. The foam trap: the item nobody planned

This is the device that most catches his clients’ attention, because in many plants it simply was not foreseen.

Foam forms on top of the digester, especially when the feed carries a lot of nitrogen compounds. If that foam travels into the gas line, it blocks pipes, builds up pressure losses and creates trouble downstream.

The common answer in WWTPs is a ring of water sprinklers inside the digester roof.

When foam is detected, it rains.

Pedro’s point, backed by conversations with very experienced operators, is that this barely works.

Droplets cross the foam one by one, punch small holes where they hit, and never really wash the foam layer down.

The foam trap takes a different approach:

  • The gas is forced through a small cross-section before leaving the digester.

  • Foam is detected there, with a photoelectric sensor (an emitter and receiver with a light beam) or a capacitive rod.

  • When foam appears, a plain water spray flushes it back into the digester. No antifoam, just water.

The key insight is simple.

If foam does not leave the digester, foam is not a problem.

A thin layer on the sludge surface can be evacuated through the floating scum door on the side.

So why spend so much water, so inefficiently, fighting foam that does not bother you?

The sprinkler ring can stay as a complement.

But maintaining rings inside the digester is a nightmare, because you have to empty it to reach them.

Pedro’s view: do it from outside whenever you can.

Pitfall: “I didn’t plan a foam trap, and now I have foam.” Pedro hears this constantly.

As plants accept more substrates to boost gas yield, foam cases grow.

The good news is that it can be retrofitted, mounted on the side of the digester or on legs above the roof, with the washed foam sent through a siphon to the condensate or drainage line.

3. The gravel filter: the cheapest headache-saver in the line

The second item that surprises clients is almost embarrassingly simple. A tank with a wall in the middle and a bed of gravel.

The gas enters, is forced down, crosses the gravel and goes up and out.

Raw gas leaving the digester is saturated with water and may carry foam, dust and sand.

This purely mechanical device traps particles, foam and water. It even acts as a flame arrestor if a flashback occurs.

Maintenance is trivial. You see it is dirty when the differential pressure across it rises. Open the lid, take the gravel out, wash it with pressurised water, put it back. That is it.

Cheap in capex, extremely cheap in opex.

When Pedro explains it, clients say “I want one of those now”.

Pitfall: designers often put only a condensate trap after the digester. A condensate trap is the same vessel without the gravel. Fine particles and foam are not retained and travel downstream.

Where does that hurt? Typically in buried pipes that were not laid perfectly straight and sag a little. Sand and dust accumulate at the low point, harden into dry sludge, reduce the pipe section, change gas velocity and pressure, and eventually block the line.

Pedro’s recommendation is unambiguous: install a gravel filter right after the digester, before anything else.

4. Desulfurisation: the jewel in the crown

In tenders, this whole block is called biogas cleaning.

The two main enemies are sulfur, in the form of hydrogen sulfide (H2S), and water.

Cleaning is done with two technologies: desulfurisation and cooling/drying.

For desulfurisation, three families are common in WWTPs, and often two are combined.

In-digester dosing.

You add ferric chloride, iron salts or oxygen directly into the digestion process.

  • Very low capex: you buy almost nothing.

  • High opex: you dose continuously, forever.

  • It interferes with the process: corrosion with ferric chloride, explosion risk if you overdo the oxygen.

  • Coarse result: it is hard to go below 300–500 ppm H2S.

Scrubbers, biological or chemical.

A separate tower filled with packing material. The gas passes through and the H2S is absorbed by bacteria or by caustic soda.

  • Result: around 100–200 ppm H2S.

  • Capex is significant (in the order of €100,000–200,000).

  • Biological opex is very low, around €5,000–10,000 a year, because the bacteria do the work.

  • Chemical opex is high, because you dose caustic soda continuously. It makes sense mainly with very high H2S, 10,000–15,000 ppm, where it may be the only option.

  • Operation differs: chemical behaves like a machine, predictable dosing. Biological needs follow-up of pH and redox, and if the bacterial community collapses, it takes a long time to recover.

Adsorption media, mainly activated carbon.

Used for the final polishing, down to virtually 0–5 ppm. Excellent result, but expensive to run as the main cleaning step. More on this below.

Inside the biological scrubber

The biological route relies on our friends the Thiobacillus bacteria. In the presence of oxygen, they oxidise H2S to sulfate.

So you create the perfect home for them: a column with packing, inoculated with bacteria, with a liquid recirculation and a blower adding air.

The sulfate leaves through the bottom. It is very acidic at first, but once diluted it can even be used in agriculture.

The downside is the air. Adding oxygen dilutes the biogas and lowers its methane percentage a little.

Pitfall: installing a biological scrubber where nobody can run it. Pedro knows plants where the unit was commissioned, nobody knew how to operate it a few months later, and it has been stopped for years.

In remote areas without skilled operators, think twice.

5. The chiller and the humidity trap

After the scrubber, the gas has around 100–200 ppm of H2S and a new problem: it is 100% saturated with water vapour.

The chiller is, essentially, an air conditioner. A refrigerant is compressed, its temperature drops, and a heat exchanger cools the biogas with it. Simple principle.

Why does cooling clean? Because colder gas has less capacity to carry things. Water condenses, and particles drop out with it.

The standard target is around 10 °C. If you have siloxanes, consider going down to 3–5 °C. It costs more energy, but it saves you engines.

A quick note on siloxanes.

They are silicon compounds that, once burned in an engine, precipitate as hard silica deposits that damage engines and turbines.

They show up where the influent carries industrial wastewater, and in tourist areas, because they are common in detergents and cleaning products.

Think of hotels and apartments cleaned every few days.

When I asked whether the chiller is usually redundant (1+1), the answer was “almost never”. Downtime affects the process, but it is not critical.

Relative humidity: the number that decides your carbon bill

This is the part Pedro called critical.

Activated carbon only works well if the gas is dry in terms of relative humidity, not absolute.

So the trick is: cool the gas to remove water, then reheat it, typically to around 20 °C, with a small heat exchanger fed with hot water.

You do not remove more water by reheating, but you increase the gas’s capacity to hold it, so relative humidity drops.

The sweet spot is around 40–70% RH, ideally about 50%. Going drier is energy-hungry and does not pay off.

Miss this window and two things happen. The carbon adsorbs much less H2S, so you need more carbon and opex skyrockets.

And wet carbon turns into a sticky, muddy mass that you literally have to scrape out of the vessel.

Two shortcuts for small plants

  • Heat only, skip the chiller. For plants well under 200 m³/h of biogas, you can skip cooling and simply heat the wet gas, for example from 25 to 40 °C, before the carbon. Less efficient, but the capex saved on the chiller pays for the extra carbon. Pedro was offering exactly this for a plant in Tanzania.

  • Let the blower do it. If you need a blower anyway, compressing the gas heats it. Under the right conditions, the blower can do both jobs.

6. Activated carbon: polishing, not brute force

Activated carbon is a porous material, like a sponge full of tiny cavities. The gas crosses the bed and H2S gets trapped in the pores.

It is the finest H2S removal you can get. It is also expensive.

Activated carbon costs roughly €3/kg in Europe.

The day of our recording, a client had called Pedro using about 30,000 kg a year, close to €100,000 a year in carbon alone.

That is why carbon should be the polishing step, not the main cleaning, when H2S or gas flow are high.

Design and operation tips

  • Choose a vessel you can empty. Pedro prefers vessels with a bottom discharge: a forklift puts a pallet underneath, you open the valve, and the spent carbon drops out. Refill from the top. Manual designs leave carbon stuck inside that is very hard to remove.

  • Install sampling ports at several heights. Inlet, middle and top. When the analyser starts reading H2S near the outlet, it is time to replace.

  • Use the multi-chamber trick. When H2S breaks through, empty only the lower, spent half. Move on with the old half still working and fill the top half with fresh carbon. Escaping H2S gets caught by the fresh layer. Repeat at every change. The goal is to reach about 60% adsorption capacity, meaning H2S trapped by weight relative to carbon weight.

More than H2S

Activated carbon also removes siloxanes and VOCs (volatile organic compounds).

For siloxanes, it is today the only viable technology. If you have siloxanes or VOCs, you need carbon, whatever you do for H2S.

An important nuance: there are carbons optimised for H2S, for siloxanes or for VOCs, but none is selective.

A siloxane-optimised carbon will still adsorb H2S and use up capacity.

Identify your most problematic pollutant, pick the carbon that maximises it, and let your carbon supplier help you.

Pedro also mentioned alternatives such as iron pellets. They do not need prior cooling, but they can cause sudden temperature rises, which you must manage carefully.

7. Gas storage: letting the line breathe

Digestion is a biological process, not a machine. Production can swing by 20, 30, even 50%. The consumer, however, wants a steady flow at steady pressure.

The gas holder sits in between and works like a lung: it inflates and deflates so that what goes out stays constant.

The standard: the double membrane gas holder

Around 99% of plants use it. It is called double but has three membranes: a bottom membrane fixed to a concrete slab, an inner membrane holding the biogas, and an outer membrane holding air.

An air blower runs 24/7 to keep the outer membrane fully inflated.

It protects the inner one from wind, rain and snow, like a shelter, and it pressurises the gas, typically 10–50 mbar.

As with every closed volume, it carries a pressure relief valve.

Why it wins:

  • Price. Almost the cheapest option.

  • Maintenance. Everything is outside. You do not stop the plant, and an opened membrane vents to open air.

  • Safety. That last point matters. Enclosed spaces with biogas are dangerous: CO2 is heavier than air and displaces oxygen, and once H2S is removed, the gas has no smell to warn you. Coal miners used canaries for a reason.

Membranes are PVC-coated and UV-protected. Sun is not the issue. Mechanical aggression is.

The alternatives

  • Top-mounted double membrane. Same concept, mounted directly on the digester. Cheaper, because you save the digester roof, the foundation and the space. But any repair means opening and emptying the digester. Common in agricultural and solid-waste plants and some industrial WWTPs, very rare in municipal ones. Pedro’s argument: look at the big picture, 20% more capex makes sense over 10 years of operation.

  • Pressureless gas holder. A steel tank with a membrane bag hanging inside. Popular in Germany and Austria in the 1990s. Still chosen where membranes are at risk: conflict areas, typhoon zones (EnviroTec installed several in Japan), or aggressive atmospheres, like North African sites with desert sand and coastal salt.

  • Weighted gas holder. A heavy disc pressing down on a membrane. An engineering marvel of the 1980s, and it still appears in some tenders. But it can cost ten times a double membrane holder. It is on its way out.

8. The flare: burning money, wisely

Nobody wants to flare biogas. It is energy, and burning it is burning money.

But sometimes you cannot use it: maintenance, a fault, or simply too much gas because the digester received more sludge or warmed up.

Venting is not an option either. Biogas is flammable, and methane is a far stronger greenhouse gas than CO2, roughly 27–30 times over a century.

There are three families.

Open flares.

The flame is visible, like a big candle. Rare in WWTPs, but accepted in several countries.

EnviroTec has installed them in France, Serbia and Mongolia, and most of the existing ones in Spain are open, thanks to a pioneer who brought US-style technology in the 1990s.

They are safe; you just need clearance around them or to put them up on a building.

Mid-temperature flares (natural draft).

Closed or semi-closed. The gas burns at its own combustion temperature, which can be monitored but is not controlled.

Whether the flame is hidden or the tip is visible is purely aesthetic, often for neighbours. These are the industry standard, around 90% of flares.

High-temperature flares (forced combustion).

Burning above 1,000 °C with air flaps controlling combustion, reaching around 99% combustion efficiency. They cost roughly 60% more, up to double.

When is high temperature justified?

The logic is the one we always come back to: best technology versus what makes the project viable.

If the flare is for emergencies, maybe 100 hours a year, why pay much more for a few extra points of efficiency?

High-temperature flares make sense when flaring is the main duty, not the emergency:

  • Phased plants without a consumer yet. Municipal WWTPs are often built in phases. If phase 1 has gas but no CHP, the flare burns continuously. Pedro sees this disappearing, but it has happened until very recently.

  • Dirty or unstable gas, like landfill gas, where you do not really know what will arrive.

The new debate: emissions

Today’s concern is NOx and CO. Mid-temperature flares do meet typical limits; Pedro showed 126 against a 200 limit for CO, and 15 against 200 for NOx.

But they cannot be certified, because with natural draft the result depends on the gas arriving as specified. So some buyers go high-temperature when budget allows.

Pedro’s view: for a flare running around 100 hours a year, the emissions are negligible. The extra capex is hard to justify.

Last stop: the ceramic filter

Right before the consumer, if required, a vessel with ceramic candles catches the finest particles and dust still in the gas. Then the gas is ready for its job.

The pitfall checklist

If you only keep one part of this essay, keep this one. These are the recurring mistakes Pedro finds on real projects.

  1. No foam trap. Foam appears once more substrates come in. Plan it, or retrofit it from outside.

  2. Relying on sprinkler rings inside the digester. They barely wash foam, and maintaining them means emptying the digester.

  3. A condensate trap where a gravel filter should be. Sand and dust travel on and block sagging buried pipes.

  4. Condensate pots missing at low points. Condensate blocks pipes and freezes in winter.

  5. Biological desulfurisation without skilled operators. It works beautifully until the bacteria die and nobody notices.

  6. Using activated carbon as the main H2S removal. At high H2S or flow, opex explodes.

  7. Feeding carbon with wet gas. Outside 40–70% RH, capacity drops and the bed turns to mud.

  8. Ignoring siloxanes. Check for industrial discharges and tourist-area detergents. Chill deeper and choose the right carbon.

  9. Carbon vessels that cannot be emptied easily. Spent carbon stuck inside is a maintenance nightmare.

  10. Saving 20% capex on a top-mounted gas holder and paying for it with digester shutdowns for every repair.

  11. Over-specifying the emergency flare. A high-temperature flare that runs 100 hours a year rarely pays back.

  12. Forgetting the operator. Accessibility, compact layouts, one point of operation on the roof. Design for the person who will be there in 10 years.

What I took away

Three things stayed with me.

First, this is the knowledge gap in action.

Biogas lines are not exotic technology. A gravel filter is a tank with stones. A foam trap is a narrow pipe with a sensor and a water nozzle.

Yet they are routinely missing, because specialised know-how has not kept pace with the new interest in biogas.

The money is there. The knowledge is what is missing.

Second, every project is tailored.

Inlet gas, consumer requirements, climate, operator skills and budget all interact. Changing one item affects the others.

That is exactly why it pays to bring in a specialist early, not when foam is already coming out of the gas line.

Third, the direction of travel.

Many plants now design the line for a target gas quality, and biomethane upgrading is starting to appear in WWTPs.

Pedro thinks that in five to ten years it may be the main thing. I wrote

BIOMETHANE in capital letters in my notes, and I hope we can do a follow-up session on it.

Thank you, Pedro, for your time, your generosity and your patience with my questions.

And to whoever asked in the WhatsApp group: here is your expert. Pedro is happy to be contacted directly, or through The Water MBA.

In Pedro’s words

On biogas becoming a main product

  • “Biogas was still sometimes just seen as a by-product, or something you have to get rid of.” (~03:00)

  • “There is a lot of general expertise, but there is not that much specialised expertise.” (~03:30)

  • “Many wastewater plants now design the biogas line targeting a certain biogas quality.” (~1:34:00)

On conditioning

  • “I like the word conditioning: giving the gas the right condition to play the role you want it to play.” (~06:00)

  • “It’s also having the right amount of gas in the right timeframe, when you need it.” (~06:20)

On designing for the operator

  • “Please think of the operator. Let’s think 10 years ahead. What is going to make their life easier?” (~14:30)

  • “I think we have to see through the trees, and realise that 20% more capex is going to make sense in 10 years of operation.” (~1:16:20)

On foam

  • “If foam doesn’t leave the digester, foam is not a problem.” (~27:50)

  • “Many clients come to me and say: I didn’t plan a foam trap, but now I have foam problems.” (~29:40)

On the gravel filter

  • “It’s cheap in capex, it’s extremely cheap in opex, and it saves an amount of headaches.” (~38:10)

  • “I recommend very much to install a gravel filter right after the digester. The first thing, before anything.” (~38:50)

On activated carbon and humidity

  • “Guys, this is critical. If we don’t get this, the activated carbon phase doesn’t work well.” (~58:00)

  • “If the gas is not dry, the carbon gets like mud. Getting it out of the filter is a nightmare.” (~58:30)

On flares and viability

  • “We have to look at the best technologies, but also at what makes the projects economically viable.” (~1:23:40)

  • “How much emissions are you going to throw to the atmosphere if a flare burns 100 hours per year? It’s minimal.” (~1:29:40)

Discussion about this video

User's avatar

Ready for more?