Method for the determination of residual carbon dioxide saturation using reactive ester tracers