Vapor-liquid equilibrium estimation of n-alkane/nitrogen mixtures using neural networks

Guang Lin, Suman Chakraborty, Yixuan Sun, Guang Lin 0001, Li QiaoJ. Comput. Appl. Math 2022

Abstract

Predicting the vapor-liquid equilibrium (VLE) of nitrogen and heavy hydrocarbons is a critical task in chemical engineering, particularly for high-pressure combustion and oil recovery applications. Traditional methods, such as the Peng-Robinson Equation of State (PR-EOS), face challenges due to their reliance on empirical Binary Interaction Parameters (BIPs) and iterative computational overhead. This paper explores the development of deep learning models to estimate VLE for Type III binary and ternary mixtures. By incorporating physics-based constraints like the critical locus, the proposed neural network (NN) models achieve superior accuracy and computational efficiency compared to traditional thermodynamic equations.

Introduction

In industries involving liquid-fueled combustion or enhanced oil recovery, understanding the phase behavior of mixtures—specifically the pressure and temperature conditions for vapor-liquid equilibrium—is essential. For "Type III" binary mixtures, such as nitrogen mixed with heavy alkanes (e.g., n-decane), phase behavior is notoriously complex. The standard PR-EOS approach suffers from two primary drawbacks: the requirement for temperature-dependent BIPs, which are often unavailable or difficult to measure, and the high computational cost of iterative solvers required for real-time simulations in complex combustion models.

Methodology

The researchers developed three distinct neural network architectures to address these challenges:

  1. DD-Int (Interpolation Model): A unified model trained on experimental data augmented through linear interpolation.
  2. DD-Ind-T (Temperature-Specific Model): A model trained on synthetic data generated by smaller, isotherm-specific sub-models to capture the "shape" of phase behavior at specific temperatures.
  3. DD-Ind-T-v2 (Physics-Infused): The most advanced model, which incorporates the physical boundary of the critical locus—the point where liquid and gas become indistinguishable. By scaling pressure outputs based on these physical limits, the model ensures thermodynamically consistent predictions.

For binary systems, the input layer typically resides in $\mathbb{R}^2$ (representing temperature and composition), feeding into a series of hidden layers as shown in Figure 1.

Neural network architecture for binary system VLE prediction.

To handle more complex ternary systems (e.g., methane/n-decane/nitrogen), the input space is expanded to $\mathbb{R}^3$. Furthermore, specialized activation functions are employed at the output layer to respect physical bounds: a sigmoid activation is used for mole fractions to constrain values between 0 and 1, while no activation is used for pressure, as illustrated in Figure 2.

Neural network architecture for ternary system VLE prediction with specialized output activations.

Results and Discussion

The NN models demonstrated significant improvements over traditional methods. For the n-decane/nitrogen ($C_{10}/N_2$) system, the neural networks maintained pressure estimation errors below 3.4%, whereas the PR-EOS model exhibited errors as high as 10.6%. Vapor phase mole fraction estimation errors were generally kept under 3%.

Key findings include:

  • BIP Independence: The models learn phase behavior directly from raw data, bypassing the need for empirical Binary Interaction Parameters.
  • High-Pressure Accuracy: Unlike EOS models that often struggle near the critical point, the NNs accurately "trace" the complex non-linear slopes of the vapor phase.
  • Ternary Scalability: The architecture successfully scaled to a three-component system, achieving an $R^2$ of 0.9957 for pressure estimation.
  • Physics Consistency: The "v2" model successfully predicted smooth phase envelopes even in regions lacking experimental data by respecting the critical locus boundary, effectively "filling in the gaps" of the physical map.

Conclusion

Neural networks provide a robust, non-iterative alternative to traditional thermodynamic equations for VLE estimation. By integrating physical constraints into data-driven architectures, these models overcome the limitations of data scarcity and empirical parameter dependency. While the models show slight sensitivity to isotherms with very few data points, they offer a fast and highly accurate path forward for real-time engineering simulations.

Summary updated

BibTeX
@article{lin2022vapor,
  author = {Guang Lin and Suman Chakraborty and Yixuan Sun and Guang Lin and Li Qiao},
  title = {{Vapor-liquid equilibrium estimation of n-alkane/nitrogen mixtures using neural networks}},
  journal = {J. Comput. Appl. Math},
  year = {2022},
  doi = {10.1016/j.cam.2021.114059},
}
Figure