天然气全生命周期产量预测关键技术

Key technologies for production forecasting of natural gas throughout its life cycle

  • 摘要: 准确预测天然气井产量对开发决策优化具有重要意义. 现有预测方法大多侧重整体建模,难以适应天然气井“增产–稳产–减产”的生命周期演变特征;且现有数据驱动模型大多忽略储层渗流场随时间演化的物理规律,难以准确反映物性的时序变化. 本文从生命周期视角出发,提出气井产量预测方法(Full life cycle gas production forecast model,FGPM). 首先,通过断点检测算法划分气井生命周期,结合产量相对波动率判别气井生产阶段;随后,构建基于编码–解码结构的预测模型,针对生产阶段进行特征匹配训练,并集成为全生命周期模型;最后,从模型超参数优化和渗流规律融合两方面展开模型优化. 实验证明:(1)全生命周期模型相较于单一周期模型预测精度更高. 与LSTM、GRU、TCN和TimeMixer等方法对比,FGPM的预测精度分别提升了28.47%、26.55%、29.63%和41.20%. (2)面向FGPM设计的优化措施对模型性能提升起正向作用:(a)优化超参数后的模型,其百分比误差(MAPE)、平均绝对误差(MAE)和均方根误差(RMSE)分别降低了9.9%、16.2%和19.4%;(b)融合渗流规律约束的FGPM,其MAPE仅为4.874479%,模型性能得到进一步提升.

     

    Abstract: The accurate prediction of natural gas well production is of paramount significance for optimizing development and operational decisions. Most existing forecasting methodologies predominantly emphasize holistic modeling approaches, which struggle to adapt to the characteristic lifecycle evolution pattern of gas wells—typically encompassing the "production increase", "stable production", and "production decline" phases. Furthermore, prevalent data-driven models often overlook the physical principles governing the temporal evolution of reservoir seepage fields, thereby failing to accurately capture time-dependent variations in reservoir properties. To address these limitations, this paper proposes a gas well production prediction method (Full life cycle gas production forecast model, FGPM) from a lifecycle perspective. The proposed methodology begins by segmenting the gas well lifecycle using a breakpoint detection algorithm (Pruned exact linear time, PELT), and subsequently identifies the specific production phase based on the relative fluctuation rate of production data (PELT-V). Next, a prediction model based on an encoder–decoder (ED) architecture is constructed. This model is trained using phase-specific feature matching and ultimately integrated into a comprehensive full-lifecycle forecasting framework. Finally, model optimization is conducted from two key aspects: hyperparameter tuning (Improved Artificial Fish Swarming Algorithm, IAFSA) and integration of seepage flow principles. The experimental outcomes are as follows: (1) The PELT algorithm, combined with the relative volatility of daily gas production, can effectively divide the production data into three stages, namely, increase, stable, and decline. (2) To verify the accuracy and reliability of FGPM, it was comprehensively compared with long short-term memory (LSTM), gated recurrent unit (GRU), and temporal convolutional network (TCN). The experimental results show that the FGPM performs particularly well in the task of forecasting daily natural gas production, achieving an MAPE of 5.82489%, an MAE of 0.552519, and an RMSE of 0.685578, all of which outperform the three classical network models. Compared with the multiscale fusion-based time series forecasting model TimeMixer, FGPM also demonstrates superior predictive performance, which fully demonstrates the superior performance of FGPM in the prediction of natural gas daily production. (3) To evaluate the contribution of each module in FGPM, multiple ablation experiments were designed. In Experiment 1, the PELT-V algorithm was removed, and the IAFSA-ED model was used for prediction to verify the effectiveness of the lifecycle division strategy. In Experiment 2, both IAFSA and PELT-V were removed, and only the ED model was used to validate the effectiveness of PELT-V and IAFSA. In Experiment 3, the proposed FGPM model was applied for prediction. The ablation results show that the prediction performance of the IAFSA-ED model is significantly better than that of the original ED model, demonstrating the advantage of the proposed IAFSA. Furthermore, compared with the IAFSA-ED model, FGPM achieves reductions of 6.79%, 16.06%, and 9.37% in MAPE, MAE, and RMSE, respectively, which clearly confirms the positive impact of the proposed PELT-V lifecycle division strategy on prediction performance. (4) Finally, the effect of introducing physical parameters on further improving prediction performance was investigated. Compared with the purely data-driven FGPM, the FGPM incorporating flow-mechanism constraints achieves better predictive performance, with MAPE, MAE, and RMSE reaching 4.874479%, 0.63981, and 0.797082, respectively. In summary, accurate life-cycle division of gas wells has a significant impact on improving the performance of downstream prediction tasks. Compared with using a single model to represent the entire life cycle, a stagewise ensemble modeling approach can comprehensively exploit the differences in production characteristics across different periods, thereby achieving lower prediction errors. Moreover, hyperparameter optimization algorithms offer clear advantages in enhancing the model predictive performance, and the integration of physical information with data-driven methods can effectively improve the prediction accuracy.

     

/

返回文章
返回