This invention discloses a method for calculating the three-phase
phase equilibrium of oil, gas, and water at the nanoscale, relating to the field of
shale oil reservoir development technology. The method includes the following steps: receiving input parameters; constructing a total pressure model of the confined fluid at the nanoscale based on the input parameters; constructing a three-phase
pressure equilibrium model among the oil, gas, and water phases at the nanoscale based on the total pressure model; constructing a
phase stability test model, and determining whether phase separation occurs in the
system under given
temperature and pressure conditions based on the tangent plane distance function; when the
phase stability test model determines that phase separation has occurred, calculating the
phase fraction and composition of the oil-gas-water three phases by iteratively solving for the conditions satisfying the three-phase
pressure equilibrium model and the equality of the fugacity of each phase component, and outputting the results. This invention can accurately and stably predict the
fluid phase state in the nanopores of
shale oil reservoirs, providing key
technical support for its component
simulation and efficient development.