Process and economic analysis of pretreatment technologies