Thermodynamic analysis of biomass gasification and torrefaction door M.J. Prins