The build of an efficient, low cost, and environmentally friendly heat and power generation system for the use in single family detached dwellings, wastewater treatment plants, or landfills, is the objective of this project. This system is based on the solid oxide fuel cell and is designed to operate with biogas. We have successfully proved the advantages of this system over the traditional and other fuel cell-based systems developed in the United States and Europe, through computer simulation.