Some of the naturally accumulated biomass and the massive production of waste by human activities have caused serious environmental problems. The degradation of biomass and waste is one of the main greenhouse gasses (GHG) emission sources. Pyrolysis is a technique that can convert the organic feedstock into char, bio-oil, and gas at 350 - 800 °C and in the absence of oxygen. The diversity of the pyro-products makes pyrolysis one of the most promising techniques for biomass and waste refineries. One of the main challenges of the technique is that the unfavorable physical and/or chemical properties of the feedstock would increase the energy and cost required for the whole refinery process. Combining feedstock pretreatment with a pyro-refinery...