Modeling of thermochemical conversion of waste biomass