Thermal decomposition of carbonate