where P is a generic C x H y O z gas-phase species or a C x H y O * z adsorbate. We will start the derivations with the relative Gibbs free energy, which is more common in the ab initio thermodynamics literature. The Gibbs free energy G i of a species is defined as: