Anaerobic digestion of biomass, urban solid wastes and sludges