Shale gas is a kind of unconventional gas,but it is difficult to exploit because of the low permeability and porosity of shale.In recent years,with the larger emission of CO 2 ,how to use CO 2 to enhanc shale gas recovery(CO 2-ESGR)and sequestrate CO 2 effectively is a topic of common concern.Besides the experiment and theory,Molecular simulation is another research method which can describe the competition adsorption law of CH 4 and CO 2 in a more profound and microscopic way.In the current work,molecular simulations have been carried out using a grand canonical Monte Carlo method and molecular dynamics method to study the competitive adsorption of CH 4 and CO 2 in the carbon-based slit pores of a given width.The burial depth,composition and other factors were studied,and the density distribution of CH 4 and CO 2 in the pore and the adsorption selectivity of CO 2 over CH 4 are also analyzed.The results indicated that adsorption amount of CO 2 is almost constant,while CH 4 sorption is increasingn with the increase of buried depth.Furthermore,under the same temperature and pressure,CO 2 has a higher adsorption capacity and isosteric heat.In the case of ratio of CH 4 :CO 2 =1:1,there is a large proportion of CO 2 in the pore wall.The CO 2 of adsorbate state is parallel to the pore surface.The higher CO 2 ratio,the larger selectivity of graphene for CO 2 relative to CH 4 ,which reflected the larger CO 2 adsorption capacity.