Pyrolysis and Thermal Annealing of Coal and Biomass in CO2-Rich Atmospheres