Experimental and modeling analysis of a batch gasification/pyrolysis reactor