Biogas production has boomed in Germany due to legislative improvements. As of 2011, over 9000 biogas plants produced 9.2 TWh of electricity annually, equivalent to 2.9% of Germany's electricity generation. Continuous stirred-tank reactors and plug flow digesters are commonly used to produce biogas from agricultural residues and food waste. Future development requires reducing costs through improved technology and exploiting multiple markets for heat, electricity, and fuel to increase total efficiency and utilization of biogas.