Influence of cooling and heating rate on CO2 condensation and