Batch pyrolysis of cotton stalks for evaluation of biochar energy potential