The invention provides a method for predicting a
memory effect of a
natural gas hydrate, belongs to the technical field of
intelligent modeling and prediction of the
natural gas hydrate, and aims to realize accurate modeling and intelligent identification of a
memory effect behavior in a
hydrate formation and dissociation process. The method comprises the following steps: S1, collecting experimental data, including a plurality of variable characteristics influencing the
memory effect, such as synthesis temperature, dissociation pressure, synthesis pressure, synthesis-
decomposition cycle index,
decomposition temperature and the like, and constructing a training
data set by taking
nucleation time as a dependent variable; s2, preprocessing the experimental data, completing missing value filling, abnormal value
elimination and
standardization processing, and obtaining a standardized sample; s3, constructing a prediction model based on support vector regression,
random forest, XGBoost,
polynomial regression and other algorithms, and improving prediction performance by adjusting model hyper-parameters; and S4, a graphic
visual interface is constructed based on Python and PyQt5, a user can input experimental conditions and select a model, and a
system automatically predicts a memory effect and judges whether a
nucleation promoting behavior exists according to the memory effect. The method integrates key modules such as
feature engineering, active learning, hyper-parameter optimization and
visual interaction, has high precision, high adaptability and good expansibility, and is suitable for various thermodynamic application scenes such as
natural gas hydrate
phase change behavior prediction,
energy storage and transportation optimization,
carbon sequestration process regulation and control and the like.