One type of biogas is produced by anaerobic digestion or fermentation of biodegradable materials such as biomass, manure, sewage, municipal waste, green waste and energy crops. This type of biogas comprises primarily methane and carbon dioxide. The other principal type of biogas is wood gas which is created by gasification of wood or other biomass. This type of biogas is comprised primarily of nitrogen, hydrogen, and carbon monoxide, with trace amounts of methane.
The gases methane, hydrogen and carbon monoxide can be combusted or oxidized with oxygen. Air contains 21% oxygen. This energy release allows biogas to be used as a fuel. Biogas can be used as a low-cost fuel in any country for any heating purpose, such as cooking. It can also be used in modern waste management facilities where it can be used to run any type of heat engine, to generate either mechanical or electrical power. Biogas can be compressed, much like natural gas, and used to power motor vehicles and in the UK for example is estimated to have the potential to replace around 17% of vehicle fuel. Biogas is a renewable fuel, so it qualifies for renewable energy subsidies in some parts of the world.
Ancient Persians observed that rotting vegetables produce flammable gas. In 1859 Indians built the first sewage plant in Bombay. Marco Polo has mentioned the use of covered sewage tanks in China. This is believed to go back to 2,000–3,000 years ago in ancient China. This idea for the manufacturing of gas was brought to the UK in 1895 by producing wood gas from wood and later coal. The resulting biogas was used for gas lighting in street lamps and homes.
Biogas is practically produced as landfill gas (LFG) or digester gas.
A biogas plant is the name often given to an anaerobic digester that treats farm wastes or energy crops.
Biogas can be produced utilizing anaerobic digesters. These plants can be fed with energy crops such as maize silage or biodegradable wastes including sewage sludge and food waste. During the process, an air-tight tank transforms biomass waste into methane producing renewable energy that can be used for heating, electricity, and many other operations that use any variation of an internal combustion engine. There are two key processes: Mesophilic and Thermophilic digestion.
Landfill gas is produced by wet organic waste decomposing under anaerobic conditions in a landfill. The waste is covered and mechanically compressed by the weight of the material that is deposited from above. This material prevents oxygen exposure thus allowing anaerobic microbes to thrive. This gas builds up and is slowly released into the atmosphere if the landfill site has not been engineered to capture the gas. Landfill gas is hazardous for three key reasons. Landfill gas becomes explosive when it escapes from the landfill and mixes with oxygen. The lower explosive limit is 5% methane and the upper explosive limit is 15% methane. The methane contained within biogas is 20 times more potent as a greenhouse gas than carbon dioxide. Therefore uncontained landfill gas which escapes into the atmosphere may significantly contribute to the effects of global warming. In addition landfill gas' impact in global warming, volatile organic compounds (VOCs) contained within landfill gas contribute to the formation of photochemical smog.
The composition of biogas varies depending upon the origin of the anaerobic digestion process. Landfill gas typically has methane concentrations around 50%. Advanced waste treatment technologies can produce biogas with 55–75% CH4  or higher using in situ purification techniques As-produced, biogas also contains water vapor, with the fractional water vapor volume a function of biogas temperature; correction of measured volume for water vapor content and thermal expansion is easily done via algorithm.
In some cases biogas contains siloxanes. These siloxanes are formed from the anaerobic decomposition of materials commonly found in soaps and detergents. During combustion of biogas containing siloxanes, silicon is released and can combine with free oxygen or various other elements in the combustion gas. Deposits are formed containing mostly silica (SiO2) or silicates (SixOy) and can also contain calcium, sulfur, zinc, phosphorus. Such white mineral deposits accumulate to a surface thickness of several millimeters and must be removed by chemical or mechanical means.
Practical and cost-effective technologies to remove siloxanes and other biogas contaminants are currently available.
Biogas can be utilized for electricity production on sewage works, in a CHP gas engine, where the waste heat from the engine is conveniently used for heating the digester; cooking; space heating; water heating; and process heating. If compressed, it can replace compressed natural gas for use in vehicles, where it can fuel an internal combustion engine or fuel cells and is a much more effective displacer of carbon dioxide than the normal use in on-site CHP plants.
Methane within biogas can be concentrated via a biogas upgrader to the same standards as fossil natural gas, and becomes biomethane. If the local gas network allows for this, the producer of the biogas may utilize the local gas distribution networks. Gas must be very clean to reach pipeline quality, and must be of the correct composition for the local distribution network to accept. Carbon dioxide, water, hydrogen sulfide and particulates must be removed if present. If concentrated and compressed it can also be used in vehicle transportation. Compressed biogas is becoming widely used in Sweden, Switzerland, and Germany. A biogas-powered train has been in service in Sweden since 2005.
Biogas has also powered automobiles. In 1974, a British documentary film entitled Sweet as a Nut detailed the biogas production process from pig manure, and how the biogas fueled a custom-adapted combustion engine.
In the UK, sewage gas electricity production is tiny compared to overall power consumption - a mere 80 MW of generation, compared to 70 GW on the grid. Estimates vary but could be a considerable fraction from digestion of.
In addition to the UK, methane biogas derived from cow manure is also being tested in the U.S. According to a 2008 study, collected by the Science and Children magazine, methane biogas from cow manure, also known as cow power, would be sufficient to produce 100 billion kilowatt hours enough to power millions of homes across America. Furthermore, methane biogas has been tested to prove that it can reduce 99 million metric tons of greenhouse gas emissions or about 4% of the greenhouse gases produced by the United States.
Domestic biogas plants convert livestock manure and night soil into biogas and slurry, the fermented manure. This technology is feasible for small holders with livestock producing 50 Kg manure per day, an equivalent of about 6 pigs or 3 cows. This manure has to be collectable to mix it with water and feed it into the plant. Toilets can be connected. Another precondition is the temperature that affects the fermentation process. With an optimum at 36 C° the technology especially applies for those living in a (sub) tropical climate. This makes the technology for small holders in developing countries often suitable.
Depending on size and location, a typical brick made fixed dome biogas plant can be installed at the yard of a rural household with the investment between 300 to 500 US $ in Asian countries and up to 1400 US $ in the African context. A high quality biogas plant needs minimum maintenance costs and can produce gas for at least 15–20 years without major problems and re-investments. For the user, biogas provides clean cooking energy, reduces indoor air pollution and reduces the time needed for traditional biomass collection, especially for women and children. The slurry is a clean organic fertilizer that potentially increases agricultural productivity.
Domestic biogas technology is a proven and established technology in many parts of the world, especially Asia. Several countries in this region have embarked on large-scale programmes on domestic biogas, such as China and India. The Netherlands Development Organisation, SNV, supports national programmes on domestic biogas that aim to establish commercial-viable domestic biogas sectors in which local companies market, install and service biogas plants for households. In Asia, SNV is working in Nepal, Vietnam, Bangladesh, Cambodia, Lao PDR, Pakistan and Indonesia, and in Africa in Rwanda, Senegal, Burkina Faso, Ethiopia, Tanzania, Uganda and Kenya.
In Pakistan and India biogas produced from the anaerobic digestion of manure in small-scale digestion facilities is called gober gas; it is estimated that such facilities exist in over two million households in India and in hundreds of thousands in Pakistan, particularly North Punjab, due to the thriving population of lifestock . The digester is an airtight circular pit made of concrete with a pipe connection. The manure is directed to the pit, usually directly from the cattle shed. The pit is then filled with a required quantity of wastewater. The gas pipe is connected to the kitchen fireplace through control valves. The combustion of this biogas has very little odour or smoke. Owing to simplicity in implementation and use of cheap raw materials in villages, it is one of the most environmentally sound energy sources for rural needs. One type of these system is the Sintex Digester. Some designs use vermiculture to further enhance the slurry produced by the biogas plant for use as compost.
The Deenabandhu Model is a new biogas-production model popular in India. (Deenabandhu means "friend of the helpless.") The unit usually has a capacity of 2 to 3 cubic metres. It is constructed using bricks or by a ferrocement mixture. The brick model costs approximately 18,000 rupees and the ferrocment model 14,000 rupees, however India's Ministry of Non-conventional Energy Sources offers a subsidy of up to 3,500 rupees per model constructed.
The European Union presently has some of the strictest legislation regarding waste management and landfill sites called the Landfill Directive. The United States legislates against landfill gas as it contains these VOCs. The United States Clean Air Act and Title 40 of the Code of Federal Regulations (CFR) requires landfill owners to estimate the quantity of non-methane organic compounds (NMOCs) emitted. If the estimated NMOC emissions exceeds 50 tonnes per year the landfill owner is required to collect the landfill gas and treat it to remove the entrained NMOCs. Treatment of the landfill gas is usually by combustion. Because of the remoteness of landfill sites it is sometimes not economically feasible to produce electricity from the gas. However, countries such as the United Kingdom and Germany now has legislation in force that provide farmers with long term revenue and energy security.
Gober gas (also spelled gobar gas, from the Urdu, Punjabi and Hindi word gober for cow dung) is biogas generated from cow dung. A gober gas plant is an airtight circular pit made of concrete with a pipe connection. First, manure is dumped in the pit. Then, water or wastewater is added to the manure and the concoction is sealed in the airtight concrete pit with a gas pipe leading to stove unit in the kitchen serving as the only egress for gas. When the control valve on the gas pipe is opened the biogas is combusted for cooking in a largely odourless and smokeless manner. After the anaerobic microbial process has been exhausted, the residue left in the concrete pit is often used as fertiliser. Owing to the process's simplicity in implementation and use of cheap raw materials, it is often regarded as one of the most environmentally sound energy sources for rural needs.
In India and Pakistan, gober gas is generated using countless household micro plants (an estimated more than two million in India and hundreds of thousands in Pakistan). The concept is also rapidly growing in Pakistan and flourishes in rural Northern Punjab. The Government of Pakistan subsidises the construction of movable gas chamber biogas plants by up to 50%.
Raw biogas produced from digestion is roughly 60% methane and 29% CO2 with trace elements of H2S, and is not high quality enough if the owner was planning on selling this gas or using it as fuel gas for machinery. The corrosive nature of H2S alone is enough to destroy the internals of expensive plant. The solution is the use of a biogas upgrading or purification process whereby contaminants in the raw biogas stream are adsorbed or scrubbed , leaving 98% methane per unit volume of gas. There are four main methods of biogas upgrading , these include water washing , pressure swing adsorption , selexol adsorption and chemical treatment. The most prevalent method is water washing where high pressure gas flows into a column where the carbon dioxide and other trace elements are scrubbed by cascading water running counter-flow to the gas. This arrangement can deliver 98% methane with manufacturers guaranteeing maximum 2% methane loss in the system. It takes roughly between 3-6% of the total energy output in gas to run a biogas upgrading system.
Gas-grid injection is the injection of biogas into the methane grid (natural gas grid). Injections includes biogas: until the breakthrough of micro combined heat and power two-thirds of all the energy produced by biogas power plants was lost (the heat), using the grid to transport the gas to customers, the electricity and the heat can be used for on-site generation  resulting in a reduction of losses in the transportation of energy as typical energy losses in natural gas transmission systems range from 1–2% the current energy losses on a large electrical system range from 5–8%.
[[File:|thumb|Biogas-bus in Bern, Switzerland]] Biogas means a gas produced by the anaerobic digestion or fermentation of organic matter in an environment without oxygen. The organic matter can be manure, sewage sludge, municipal solid waste, biodegradable waste or any other biodegradable feedstock. Biogas is mainly methane and carbon dioxide.
Depending on where it is produced, biogas is also called:
Biogas can be used as a vehicle fuel or for generating electricity. It can also be burned directly for cooking, heating, lighting, process heat and absorption refrigeration.
Biogas production by anaerobic digestion is popular for treating biodegradable waste because valuable fuel can be produced while destroying disease-causing pathogens and reducing the volume of disposed waste products. The methane in biogas burns more cleanly than coal, and produces more energy with less emissions of carbon dioxide. The harvesting of biogas is an important role of waste management because methane is a greenhouse gas with a greater global warming potential than carbon dioxide. The carbon in biogas was generally recently extracted from the atmosphere by photosynthetic plants, so releasing it back into the atmosphere adds less total atmospheric carbon than the burning of fossil fuels.
The composition of biogas varies depending upon the origin of the anaerobic digestion process. Landfill gas typically has methane concentrations around 50%. Advanced waste treatment technologies can produce biogas with 55-75%CH4 .
|Carbon dioxide, CO2||25-50|
|Hydrogen sulphide, H2S||0-3|