Multi-phase decompression modeling of CO2 pipelines