A transport model for the pyrolysis of moist wood