Nano-Confined Carbon Dioxide Under Variable Thermodynamic Conditions