Optimization of an Integrated Production Model Using Long Short‑Term Memory and Model Predictive Control under Constraints

Digital Technologies Research and Applications

Article

Optimization of an Integrated Production Model Using Long Short‑Term Memory and Model Predictive Control under Constraints

Fadaei, M., Ameri, M. J., Rafiei, Y., Al‑Alimi, A., Hatami Golmakani, H., & Vafadar Eidgahi, M. M. (2025). Optimization of an Integrated Production Model Using Long Short‑Term Memory and Model Predictive Control under Constraints. Digital Technologies Research and Applications, 4(3), 97–112. https://doi.org/10.54963/dtra.v4i3.1604

Authors

  • Mehdi Fadaei

    Department of Petroleum Engineering and Geoenergy Engineering, AmirKabir University of Technology, Tehran 1591634311, Iran
  • Mohammad Javad Ameri

    Department of Petroleum Engineering and Geoenergy Engineering, AmirKabir University of Technology, Tehran 1591634311, Iran
  • Yousef Rafiei

    Department of Petroleum Engineering and Geoenergy Engineering, AmirKabir University of Technology, Tehran 1591634311, Iran
  • Aiman Al‑Alimi

    Department of Petroleum Engineering and Geoenergy Engineering, AmirKabir University of Technology, Tehran 1591634311, Iran
  • Hamed Hatami Golmakani

    Department of Petroleum Engineering and Geoenergy Engineering, AmirKabir University of Technology, Tehran 1591634311, Iran
  • Mohammad Mahdi Vafadar Eidgahi

    Department of Petroleum Engineering, Petroleum University of Technology, Abadan, Khuzestan 6318714317, Iran

Received: 12 September 2025; Revised: 9 October 2025; Accepted: 15 October 2025; Published: 11 November 2025

The optimization of hydrocarbon production is vital in the petroleum industry. Slug flow, however, can lead to production stoppages due to damage to surface equipment. As reservoir pressure declines during oil production, slug flow may occur in surface pipelines. Therefore, developing intelligent separators and implementing effective flow regime control methods are crucial for achieving this goal. This study constructs a smart laboratory pilot to collect experimental data, including liquid level, separator pressure, input mass flow rates, and control signals, under Model Predictive Control (MPC). We employ machine learning techniques, specifically Long Short-Term Memory (LSTM), to develop proxy models for a 3D reservoir simulation, significantly reducing computational time. The LSTM proxies are then integrated into a comprehensive production model that includes a horizontal gas-liquid separator equipped with an MPC controller. The controller efficiently regulates the separator's liquid level and operating pressure in real-time. Experimental results demonstrate that the proposed system effectively mitigates slug flow by adjusting separator pressure, maintaining stable operation across various flow regimes. In a 20-year field-scale simulation, the integrated LSTM-MPC system increased cumulative oil production by approximately 40% compared to a non-optimized system. This study presents a novel approach that combines data-driven reservoir modeling with advanced control strategies, offering a significant improvement in production optimization and flow assurance for the petroleum industry.

Keywords:

Optimization Integrated Model Long Short‑Term Memory Model Predictive Control

References

  1. Fadaei, M.; Ameri, M.J.; Rafiei, Y. Constraint Optimization of an Integrated Production Model Utilizing History Matching and Production Forecast Uncertainty through the Ensemble Kalman Filter. Sci. Rep. 2024, 14, 13589.
  2. Fadaei, M.; Ameri, M.J.; Rafiei, Y.; et al. Experimental Design and Manufacturing of a Smart Control System for Horizontal Separator Based on PID Controller and Integrated Production Model. J. Pet. Explor. Prod. Technol. 2024, 14, 1943–1965.
  3. Liu, J.; Zhang, T.; Sun, S. Review of Deep Learning Algorithms in Molecular Simulations and Perspective Applications on Petroleum Engineering. Geosci. Front. 2024, 15, 101735.
  4. Zeedan, A.; Abd, A.; Abushaikha, A.S. Reservoir Simulations: A Comparative Review of Machine Learning Approaches. IEEE Access 2025, 13, 167999–168033.
  5. Zhang, Y.; Wang, H.; Li, X. Deep Learning-Based Production Forecasting in Unconventional Reservoirs Using LSTM with Attention Mechanism. J. Pet. Sci. Eng. 2023, 220, 111200.
  6. Alom, M.Z.; Taha, T.M.; Yakopcic, C.; et al. A State-of-the-Art Survey on Deep Learning Theory and Architectures. Electronics 2019, 8, 292.
  7. Chen, L.; Wang, K.; Liu, M. Real-Time Model Predictive Control for Multiphase Flow in Petroleum Production Systems. Comput. Chem. Eng. 2022, 165, 107956.
  8. Rodriguez, M.; Smith, J.; Johnson, P. Advanced Slug Flow Mitigation Using Machine Learning and Adaptive Control Strategies. Chem. Eng. Res. Des. 2023, 189, 234–247.
  9. Hong, J.; Wang, Z.; Li, J.; et al. Effect of Interface Structure and Behavior on the Fluid Flow Characteristics and Phase Interaction in the Petroleum Industry: State of the Art Review and Outlook. Energy Fuels 2023, 37, 9914–9937.
  10. Nnabuife, S.G.; Tandoh, H.; Whidborne, J.F. Slug Flow Control Using Topside Measurements: A Review. Chem. Eng. J. Adv. 2022, 9, 100204.
  11. Song, S.; Liu, X.; Li, C.; et al. Dynamic Simulator for Three-Phase Gravity Separators in Oil Production Facilities. ACS Omega 2023, 8, 6078–6089.
  12. Aimacaña-Cueva, L.; Gahui-Auqui, O.; Llanos-Proaño, J.; et al. Advanced Control Algorithms for a Horizontal Three-Phase Separator in a Hardware in the Loop Simulation Environment. Lect. Notes Netw. Syst. 2022, 468, 399–414.
  13. Backi, C.J.; Krishnamoorthy, D.; Skogestad, S. Slug Handling with a Virtual Harp Based on Nonlinear Predictive Control for a Gravity Separator. IFAC-PapersOnLine 2018, 51, 120–125.
  14. Hochreiter, S.; Schmidhuber, J. Long Short-Term Memory. Neural Comput. 1997, 9, 1735–1780.
  15. Wang, Y.; Zhao, K.; Hao, Y.; et al. Short-Term Wind Power Prediction Using a Novel Model Based on Butterfly Optimization Algorithm–Variational Mode Decomposition–Long Short-Term Memory. Appl. Energy 2024, 383, 123313.
  16. Arhadi, A.; Zamanifar, A.; Alipour, A.; et al. A Hybrid LSTM–GRU Model for Stock Price Prediction. IEEE Access 2025, 13, 3586558.
  17. Ji, C.; Zhang, C.; Suo, L.; et al. Swarm Intelligence-Based Deep Learning Model via Improved Whale Optimization Algorithm and Bi-Directional Long Short-Term Memory for Fault Diagnosis of Chemical Processes. ISA Trans. 2024, 149, 102014.
  18. Anderson, T.; Lee, J.; Smith, R. Digital Transformation in Upstream Oil and Gas: A Comprehensive Review of AI and Machine Learning Applications. J. Pet. Sci. Eng. 2023, 221, 111156.
  19. Clark, P.; Walker, S.; Roberts, M. Optimization of Gas-Liquid Separators Using Advanced Model Predictive Control Strategies. Chem. Eng. Sci. 2023, 267, 118347.
  20. Nguyen, H.; Tran, T.; Park, S. A Comparative Study of Advanced Control Strategies for Three-Phase Separators in Offshore Applications. J. Process Control 2023, 128, 103027.
  21. De Medeiros, M.L.B.; de Oliveira Junior, A.M.; Fonseca, R.R. Gain Scheduling Control Applied to Oil and Gas Separator Level Loop. Res. Soc. Dev. 2021, 10, e55010414397.
  22. Dlima, M.F. Nonlinear Model Predictive Control of Gravity Separators. Master's Thesis, Norwegian University of Science and Technology, Trondheim, Norway, 2017.
  23. Li, Z.; Li, Y.; Wei, G. Optimization of Control Loops and Operating Parameters for Three-Phase Separators Used in Oilfield Central Processing Facilities. Fluid Dyn. Mater. Process. 2023, 19, 719–732.
  24. Luo, X.; He, L.; Liu, X.; et al. Influence of Separator Control on the Characteristics of Severe Slugging Flow. Pet. Sci. 2014, 11, 300–307.
  25. R Azmi, P.A.; Yusoff, M.; Mohd Sallehud-din, M.T. A review of predictive analytics models in the oil and gas industries. Sensors 2024, 24, 4013.‏

Copyright © UK Scientific Publishing Limited.