Simulation of coal pyrolysis by solid heat carrier in a moving-bed pyrolyzer