Dynamic Fitting Method for Wellbore Multiphase Flow with Exponentially Weighted Parameter Updating

Yan Ji, Xinrui Zhang, Mingchun Wang, Yupei Liu, Tianhao Wang, Z. Z. Xing, Guoqing Han, Xiaolong XiangProcesses 2025

TL;DR

This paper introduces a novel dynamic fitting method for wellbore multiphase flow that combines physics-based models with an adaptive parameter updating strategy. By integrating historical data with real-time measurements using an Exponentially Weighted Moving Average (EWMA), the method achieves robust and accurate flow predictions, even with low-frequency data or during data interruptions, which is crucial for optimizing oil and gas production.

What Problem Does This Paper Address?

Accurately modeling multiphase flow (oil, gas, and water) within oil and gas wellbores is essential for efficient production optimization and real-time control. Traditional methods often rely on static correlations or require high-frequency data, making them brittle. These methods struggle when production conditions change rapidly, data acquisition is intermittent (common due to cost and bandwidth limitations), or when encountering data anomalies. This can lead to inaccurate predictions, compromising critical decisions like liquid loading warnings and artificial lift optimization. The paper aims to bridge this gap by developing a dynamic fitting method that is both accurate and resilient to these real-world operational challenges.

Methods

The proposed method integrates several key components:

  • Physics-Based Foundation: It starts with established multiphase flow theoretical frameworks, specifically referencing the Beggs-Brill model, to describe the pressure and temperature gradients within the wellbore.
  • Target Parameter Identification: Through sensitivity analysis (Sobol method), the study identifies the liquid holdup factor ($H_l$) and the friction factor ($f_{tp}$) as the most influential parameters for fitting.
  • Optimization Algorithm: Particle Swarm Optimization (PSO) is employed to efficiently search for the optimal values of these target parameters, enabling rapid and accurate fitting.
  • Adaptive Parameter Updating (EWMA): This is the core innovation. An Exponentially Weighted Moving Average (EWMA) mechanism is used to dynamically update the fitting parameters. EWMA balances the influence of new, real-time data with historical data, providing a smooth and stable parameter evolution. This is crucial for handling low-frequency data and mitigating the impact of noisy or missing measurements.

Datasets

The study utilizes a dataset from Block XX of a Southern China oilfield. This dataset comprises historical production data from a representative flowing well (XX23-5) with diverse artificial lift methods and production scenarios. The data sampling interval is noted as 24 hours, characteristic of routine oilfield operations.

Key Insights and Ideas

  • The Power of EWMA for Robustness: The EWMA mechanism is the standout feature, effectively creating a "memory" for the fitting process. This allows the model to maintain stability and continuity even when data is sparse or interrupted, preventing the drastic parameter jumps seen in other methods.
  • Balancing Act: Accuracy vs. Stability: The paper highlights the trade-off between fitting accuracy and parameter stability. The EWMA approach, with a carefully chosen smoothing factor ($\alpha$), successfully navigates this trade-off, offering a good balance for low-to-medium frequency data.
  • Sensitivity Analysis is Key: Identifying the most sensitive parameters ($H_l$ and $f_{tp}$) is crucial for efficient and effective fitting. This targeted approach avoids over-parameterization and focuses computational effort where it matters most.
  • Generalizability: The fitting mechanism is designed to be independent of specific well types or flow modeling frameworks, suggesting broad applicability across various oil and gas production scenarios.

Key Results

  • Superior Accuracy: The proposed dynamic fitting method (Method C) achieved an average Mean Absolute Percentage Error (MAPE) of 1.32% and Root Mean Square Error (RMSE) of 0.16 MPa on the field data. This is significantly better than static fitting methods (Method A).
  • Enhanced Stability: The method demonstrated remarkable stability, with an average Mean Relative Change Percentage of Fit Coefficient (MRCP-FC) of 26%. This is substantially lower than the 62.46% average for the full-parameter update method (Method B), indicating much less fluctuation in fitted parameters.
  • Resilience to Data Issues:
    • Data Interruption: Method C maintained a relatively higher predictive accuracy during data gaps by continuing operation with smoothed parameters, unlike Method B which failed to update.
  • Abnormal Data: Methods A and C, by incorporating historical data, effectively mitigated the influence of abnormal data points, whereas Method B was susceptible to outliers.
  • Efficiency: PSO provided efficient fitting, with an average of 82 iterations and 3.1 seconds per fit compared to other methods.

Limitations and Future Work

  • Accuracy Trade-off: While Method C offers superior stability, its accuracy (MAPE and RMSE) is slightly higher than Method B, which prioritizes instantaneous accuracy. The paper suggests that for high-quality, high-frequency data, the smoothing factor ($\alpha$) can be increased to improve sensitivity and accuracy.
  • Data Frequency: The study focuses on low-to-medium frequency data (24-hour intervals). The performance with even lower frequencies or more erratic data acquisition might require further investigation.
  • Future Work: The authors suggest that the EWMA mechanism can ensure normal fitting progress during data interruptions and better suppress non-physical parameter oscillations when encountering abnormal data. This implies that further exploration into optimizing the EWMA parameters for different data quality scenarios is warranted.

Summary updated

Abstract

Accurate dynamic characterization of wellbore multiphase flow is fundamental for production optimization and real-time control in oil and gas wells. Addressing technical constraints of existing dynamic fitting methods, this study proposes a novel dynamic fitting methodology integrating physical mechanisms with exponentially weighted parameter updating. The approach leverages multiphase flow theory to target the liquid holdup factor and friction factor as correction parameters for dynamic fitting. It incorporates Particle Swarm Optimization to achieve rapid and accurate fitting and introduces an Exponentially Weighted Moving Average mechanism to dynamically update parameters. By fusing historical data with real-time data, the Exponentially Weighted Moving Average method balances instantaneous responsiveness with long-term stability. Empirical validation using a dataset from Block XX of a Southern China oilfield demonstrates the superior accuracy of the fitting method under low-to-medium frequency data conditions. During data interruptions or anomalous disturbances, the method maintains high accuracy while exhibiting a low mean relative change percentage; it effectively suppressed the non-physical jumps of the fitting coefficients and maintained stable and accurate fitting.
BibTeX
@inproceedings{ji2025dynamic,
  author = {Yan Ji and Xinrui Zhang and Mingchun Wang and Yupei Liu and Tianhao Wang and Z. Z. Xing and Guoqing Han and Xiaolong Xiang},
  title = {{Dynamic Fitting Method for Wellbore Multiphase Flow with Exponentially Weighted Parameter Updating}},
  booktitle = {Processes},
  year = {2025},
  doi = {10.3390/pr13092894},
}
Figure