The accurate estimations of processes in gas engineering need a high degree of accuracy in calculations of gas properties. One of these properties is gas density which is straightly affected by pressure and temperature. In the present work, the Adaptive neuro fuzzy inference system (ANFIS) algorithm joined with Particle Swarm Optimization (PSO) to estimate gas density in terms of pressure, temperature, molecular weight, critical pressure and critical temperature of gas. In order to training and testing of ANFIS-PSO algorithm a total number of 1240 experimental data were extracted from the literature. The statistical parameters, Root mean square error (RMSE), coefficient of determination (R2) and average absolute relative deviation (AARD) were determined for overall process as 0.14, 1 and 0.039 respectively. The determined statistical parameters and graphical comparisons expressed that predicting mode is a robust and accurate model for prediction of gas density. Also the predicting model was compared with three correlations and obtained results showed the better performance of the proposed model respect to the others.
In the gas engineering the accurate calculation for pipeline and gas reservoirs requires great accuracy in estimation of gas properties. The gas density is one of major properties which are dependent to pressure, temperature and composition of gas. In this work, the Least squares support vector machine (LSSVM) algorithm was utilized as novel predictive tool to predict natural gas density as function of temperature, pressure and molecular weight of gas. A total number of 1240 experimental densities were gathered from the literature for training and validation of LSSVM algorithm. The statistical indexes, Root mean square error (RMSE), coefficient of determination (R2) and average absolute relative deviation (AARD) were determined for total dataset as 0.033466, 1 and 0.0025686 respectively. The graphical comparisons and calculated indexes showed that LSSVM can be considered as a powerful and accurate tool for prediction of gas density.