In order to produce electric power and waste heat, it uses gas generated by fermenting food waste and animal husbandry waste water. The sludge produced in the process of pretreatment and fermentation is used as feed or compost after the process of drying and carbonization.