"We cook the sludge at 37C for about 30 days, allowing the solids to break down," Mr Twose said. After this, the sewage sludge was dried and taken to landfill.
Mr Twose said sludge was now cooked using boilers, which ran off the methane this process produced - a self-contained process.
But about 57cu m of wasted methane was flared off hourly.
"Effectively, the unit we're putting in should stop all of that surfacing," Mr Twose said. "Then there will be a hot water jacket around [the engine] which collects heat to do what the boilers are doing at the moment. Instead of wasting the gas, we're getting electricity."
The WDC project, expected to cost about $200,000, was going ahead with a $79,600 grant from the Energy Efficiency Conservation Authority (EECA), meaning the project would have paid ratepayers back in less than three years.
Normally, technology bound for humans was first tested on animals. In this case, the opposite was true. EECA was keen on the project as farmers who collected their effluent in a tank could replicate the idea on a smaller scale.
"EECA will fund this so long as we're willing to open it up and let people come down and have a look. It's a pilot plant for the whole of Northland," Mr Twose said.
The plant treats the wastewater of more than 55,000 residents from Urquharts Bay to Otaika Valley - up to 21,000cu m a day. It could also treat an additional 100,000cu m during periods of heavy rainfall.