Potential routes for thermochemical biorefineries