The effect of process variables on pyrolysis in a freefall reactor