Modified Peng-Robinson equation of state for CO2/hydrocarbon systems within nanopores