Most practical to be generated and used at the source of the waste.
This is because the energy needed to compress the gas for transport, or
convert it into electricity is excessive, reducing the efficiency of
biogas energy production.
For safety, basic precautions (see below) must be adhered to.