The invention relates to the technical field of
chemical process simulation, in particular to a gas-liquid flash calculation method and device, a medium and a product. The method comprises the following steps: acquiring initial parameters of a multi-component
system, performing composition
estimation on the multi-component
system based on a preset thermodynamic equation, determining a
liquid phase fugacity coefficient and a
gas phase fugacity coefficient of each component, performing
lower limit constraint on the fugacity coefficients, and determining a
phase equilibrium constant of each component based on the constrained fugacity coefficients. The method comprises the following steps: constructing a
gas phase fraction solving equation through a
phase equilibrium constant and a feeding
molar fraction, and determining a
target expression corresponding to the
gas phase fraction solving equation based on a relative size between a current gas
phase fraction and a preset threshold value, so as to iteratively carry out mixed solving on the
target expression to update the gas
phase fraction until the gas
phase fraction meets a preset convergence condition, the gas-liquid flash calculation result representing that the current
phase composition of the multi-component
system meets the gas-liquid two-
phase equilibrium condition is obtained, so that the efficiency and the accuracy of gas-liquid flash calculation are improved.