Optimization of a transcritical CO2 heat pump cycle for