Equilibria in reactions of CO and CO2 with dissolved oxygen and carbon in liquid iron