Formation of CO precursors during char gasification with O2, CO2 and H2O