A study on pyrolysis of wood of different sizes at various temperatures and pressures