Development of an ammonia pretreatment that creates synergies between biorefineries and advanced biomass logistics models