A Hybrid Modelling and Simulation Framework for Energy-Efficient Operation of Heated Crude Oil Pipelines Under Small-Batch and Multi-Condition Operation
Abstract
1. Introduction
1.1. Background
1.2. Related Work
1.3. Contributions
- System-Level Workflow Integration for Non-Steady Operations Driven by Closed-Loop Industrial Data: Addressing the disconnection among state perception, trend prediction, and control execution in traditional control modes, this study constructs the first closed-loop engineering workflow that directly bridges real-time high-noise SCADA data streams with minute-level optimal control actions. It provides a highly adaptive and robust energy-efficient operational scheme for heated crude oil pipelines facing intense multi-condition perturbations and spatial fluid property discontinuities.
- Dynamic Integration of Thermal-Hydraulic Parameters Balancing Real-Time Calibration and Sequential Assimilation: By coupling sliding-time-window inverse problem solving with sequential data assimilation, this approach effectively resolves the long-standing “model-to-pipe mismatch” challenge caused by continuous boundary shifts and spatial rheological heterogeneity under multi-variety batch sequencing. It dynamically calibrates overall heat transfer and friction coefficients without relying on black-box machine learning algorithms, successfully suppressing forward mathematical cumulative tracking errors in traditional numerical forecasting.
- Multi-Objective Control Constraint Reformulation Based on Adaptive Composite Risk Penalization: To overcome numerical bottlenecks where strict nonlinear hard constraints frequently lead to solver divergence or computational timeouts under high-frequency scheduling cycles, a risk-aware mathematical programming formulation is introduced to restructure continuous spatio-temporal constraint violations into a composite soft-constraint risk penalty. By prioritizing macro-scale, system-wide thermal safety during rolling horizon iterations, this method thoroughly rectifies the conservative overestimation of temperature margins common in experience-driven operations, maximizing the compression of thermal energy redundancy while rigorously maintaining the global safety baseline.
1.4. Paper Organization
2. Problem Description
2.1. Problem Setting Under Small-Batch and Multi-Condition Operation
2.2. Model Assumptions
3. Architecture and Key Methods of the Hybrid Modelling and Simulation Framework
3.1. Overall Architecture and System Integration
3.2. Operating-State Perception and Online Parameter Inversion
3.3. Rapid Transient Simulation and Data Assimilation
3.4. Multi-Objective Optimization and Adaptive Control
4. Case Study
4.1. Pipeline Description and Operating Conditions
4.2. Data Sources, Reference Baseline, and Evaluation Methods
4.3. Results and Analysis
4.3.1. Historical Operating-Condition Backtracking Test
4.3.2. Online Parallel and Open-Loop Test
4.3.3. Evaluation of Optimization Benefits Under a Controlled Scenario
4.3.4. Application of Closed-Loop Rolling Optimization Under Variable Operating Conditions
5. Conclusions
- (1)
- An overall architecture of the dynamic optimization control architecture is constructed, consisting of an operating-state perception layer, a physics- and data-driven model layer, and a multi-objective coordinated decision-execution layer. Its integration mode with the SCADA platform, the relationship between data flow and control flow, and the hierarchical closed-loop execution logic are clarified. This architecture extends the traditional monitoring- and alarm-oriented control mode into a closed-loop system covering state identification, trend prediction, optimization decision-making, and execution feedback, thereby providing a system foundation for the intelligent operation of high-pour-point, high-viscosity, and high-wax-content crude oil pipelines under complex operating conditions.
- (2)
- To address the inability of fixed-parameter models to accurately reflect the actual thermo-hydraulic state, an online parameter inversion method based on inverse problem solving is established and validated under a representative operating condition. The results show that after online identification is introduced, the overall heat transfer coefficient and friction correction factor of each interstation pipe section are corrected to different extents, the total temperature drop along the line is revised from 33.12 °C to 35.65 °C, the minimum station-inlet oil temperature is revised from 24.77 °C to 21.61 °C, and the minimum safety margin is revised from 4.77 °C to 1.61 °C. This demonstrates that online parameter identification can effectively reduce the overestimation of temperature safety redundancy caused by the fixed-parameter assumption and make the model state closer to the actual operating boundary, thereby providing a more credible model basis for subsequent simulation-based prediction and optimization control.
- (3)
- On the basis of parameter inversion, a transient thermo-hydraulic coupling simulation and data assimilation method is constructed and used for thermo-hydraulic state reconstruction and optimization of high-pour-point, high-viscosity, and high-wax-content crude oil pipelines. The results show that, without violating temperature and pressure safety constraints, the total energy consumption decreases from 11,715.65 kW to 11,287.43 kW after optimization is introduced, corresponding to a reduction of 3.66%. This verifies the capability of the proposed method to optimize economic operation within the safe, feasible domain.
- (4)
- Under time-varying boundary conditions, the application potential of rolling optimization control is further verified. Rolling optimization can dynamically adjust equipment operating levels according to changes in inlet flow rate, inlet temperature, and ambient temperature, and can effectively reduce cumulative heating energy consumption while satisfying the minimum station-inlet temperature and pressure constraints, thereby mitigating the excessive heating caused by conservative static control. This indicates that, for the heated transportation of high-pour-point, high-viscosity, and high-wax-content crude oil, rolling optimization oriented toward boundary disturbances is more capable of balancing safety margin and overall energy consumption than a fixed steady-state scheme.
Author Contributions
Funding
Informed Consent Statement
Data Availability Statement
Acknowledgments
Conflicts of Interest
Appendix A
| Symbol | Meaning | Unit |
|---|---|---|
| Comprehensive operating state vector at time k | — | |
| Pressure state vector at discrete nodes | MPa | |
| Flow-rate state vector at discrete nodes | m3/h | |
| Temperature state vector at discrete nodes | °C | |
| Parameter vector to be identified | — | |
| Operating state vector of pumps, valves, furnaces, and other equipment | — | |
| Auxiliary state vector related to heat loss and risk | — | |
| SCADA observation vector | — | |
| Observation mapping matrix | — | |
| Measurement noise vector | — | |
| Optimal parameter vector obtained by online inversion | — | |
| Length of the sliding time window | — | |
| Observation weight matrix | — | |
| Regularization coefficient | — | |
| Regularization operator | — | |
| Prior parameter vector | — | |
| Predicted observations calculated by the physics-based model | — | |
| Crude oil density | kg/m3 | |
| Cross-sectional area of the pipeline | m2 | |
| Pipeline mileage | m | |
| Mass flow rate | kg/s | |
| Internal pipeline pressure | Pa or MPa | |
| Friction factor along the pipeline | — | |
| Inner pipeline diameter | m | |
| Gravitational acceleration | m/s2 | |
| Pipeline inclination angle | rad | |
| Specific heat capacity of crude oil | J/(kg·°C) | |
| Internal oil temperature | °C | |
| Soil temperature | °C | |
| Overall heat transfer coefficient | W/(m2·°C) | |
| Volumetric expansion coefficient | °C−1 | |
| Heating-furnace inlet pressure | MPa | |
| Heating-furnace outlet pressure | MPa | |
| Heating-furnace inlet temperature | °C | |
| Heating-furnace outlet temperature | °C | |
| Local resistance coefficient of the heating furnace | — | |
| Heating-furnace power | kW | |
| Heating-furnace efficiency | — | |
| Pump inlet pressure | MPa | |
| Pump outlet pressure | MPa | |
| Pump inlet temperature | °C | |
| Pump outlet temperature | °C | |
| Pump pressure rise | Pa or MPa | |
| Pump head | m | |
| Pump rotational speed | r/min | |
| Rated pump rotational speed | r/min | |
| Pump characteristic fitting coefficient | as defined | |
| Pump efficiency | — | |
| Forecast state | — | |
| Analysis state after assimilation | — | |
| Control input vector | — | |
| Process noise vector | — | |
| State transition function | — | |
| Data-assimilation gain matrix | — | |
| Oil temperature at the key location at the prediction time | °C | |
| Minimum safe oil temperature | °C | |
| Temperature safety margin | — | |
| Pressure safety margin | — | |
| Multi-objective control cost function | — | |
| Comprehensive energy consumption per unit oil throughput | — | |
| Number of operations of key equipment, such as pumps and furnaces | times | |
| Upper limit on the number of operations | times | |
| Pressure risk penalty function | — | |
| Temperature risk penalty function | — | |
| Weight coefficient in the objective function | — | |
| Composite penalty function | — | |
| Length of the violating pipeline segment in the r-th section | m | |
| Actual length of the n-th pipeline section | m | |
| Number of violating pipeline segments | — | |
| Number of violating devices | — | |
| Total number of heating furnaces | — | |
| Total number of pumps | — | |
| Total number of valves | — | |
| Number of discrete steps in the prediction horizon | — | |
| Penalty coefficient | — | |
| Penalty coefficient | — | |
| Single-step instantaneous operational evaluation score | — | |
| Number of newly added equipment switching actions at the current step | times | |
| Pressure-violation penalty term | — | |
| Temperature-violation penalty term | — | |
| Objective weight coefficient | — |
References
- Li, Z.; Liang, Y.; Liao, Q.; Zhang, B.; Zhang, H. A review of multiproduct pipeline scheduling: From bibliometric analysis to research framework and future research directions. J. Pipeline Sci. Eng. 2021, 1, 395–406. [Google Scholar] [CrossRef]
- Alnaimat, F.; Ziauddin, M. Wax deposition and prediction in petroleum pipelines. J. Pet. Sci. Eng. 2020, 184, 106385. [Google Scholar] [CrossRef]
- Yu, P.; Lei, Y.; Gao, Y.; Peng, H.; Deng, S.; Liu, Y.; Lv, X.; Zhao, H. Study on the Operation Safety and Reliability of a Waxy Hot Oil Pipeline with Low Throughput Using the Probabilistic Method. ACS Omega 2020, 5, 33340–33346. [Google Scholar] [CrossRef]
- Saniere, A.; Henaut, I.; Argillier, J.-F. Pipeline transportation of heavy oils, a strategic, economic and technological challenge. Oil Gas Sci. Technol. 2004, 59, 455–466. [Google Scholar] [CrossRef]
- Li, Z.; Liang, Y.; Liang, Y.; Liao, Q.; Wang, B.; Huang, L.; Zheng, J.; Zhang, H. Review on intelligent pipeline technologies: A life cycle perspective. Comput. Chem. Eng. 2023, 175, 108283. [Google Scholar] [CrossRef]
- Hart, A. A review of technologies for transporting heavy crude oil and bitumen via pipelines. J. Pet. Explor. Prod. Technol. 2014, 4, 327–336. [Google Scholar] [CrossRef]
- Bekibayev, T.; Zhapbasbayev, U.; Ramazanova, G. Optimal regimes of heavy oil transportation through a heated pipeline. J. Process Control 2022, 115, 27–35. [Google Scholar] [CrossRef]
- Dunia, R.; Campo, A.; Guzman, R. Study of pressure and temperature developing profiles in crude oil pipe flows. J. Pet. Sci. Eng. 2011, 78, 486–496. [Google Scholar] [CrossRef]
- Yuan, Q.; Gao, Y.; Luo, Y.; Chen, Y.; Wang, B.; Wei, J.; Yu, B. Study on the optimal operation scheme of a heated oil pipeline system under complex industrial conditions. Energy 2023, 272, 127139. [Google Scholar] [CrossRef]
- Yang, M.; Huang, Y.; Dai, Y.-H.; Li, B. An efficient global optimization algorithm for heated oil pipeline problems. Ind. Eng. Chem. Res. 2020, 59, 6638–6649. [Google Scholar] [CrossRef]
- Wei, L.; Lei, Q.; Zhao, J.; Dong, H.; Yang, L. Numerical simulation for the heat transfer behavior of oil pipeline during the shutdown and restart process. Case Stud. Therm. Eng. 2018, 12, 470–483. [Google Scholar] [CrossRef]
- Jiang, W.; Wang, J.; Varbanov, P.S.; Yuan, Q.; Chen, Y.; Wang, B.; Yu, B. Hybrid data-mechanism-driven model of the unsteady soil temperature field for long-buried crude oil pipelines with non-isothermal batch transportation. Energy 2024, 292, 130354. [Google Scholar] [CrossRef]
- Lonje, B.M.; Liu, G. Review of wax sedimentations prediction models for crude-oil transportation pipelines. Pet. Res. 2022, 7, 220–235. [Google Scholar] [CrossRef]
- Kim, J.; Han, S.; Seo, Y.; Moon, B.; Lee, Y. The development of an AI-based model to predict the location and amount of wax in oil pipelines. J. Pet. Sci. Eng. 2022, 209, 109813. [Google Scholar] [CrossRef]
- Azevedo, L.F.A.; Teixeira, A.M. A critical review of the modeling of wax deposition mechanisms. Pet. Sci. Technol. 2003, 21, 393–408. [Google Scholar] [CrossRef]
- Guo, L.; Xu, X.; Lei, Y.; Wang, L.; Yu, P.; Xu, Q. Study on the viscoelastic-thixotropic characteristics of waxy crude oil based on stress loading. J. Pet. Sci. Eng. 2022, 208, 109159. [Google Scholar] [CrossRef]
- Martinez-Palou, R.; Mosqueira, M.L.; Zapata-Rendon, B.; Mar-Juarez, E.; Bernal-Huicochea, C.; de la Cruz Clavel-Lopez, J.; Aburto, J. Transportation of heavy and extra-heavy crude oil by pipeline: A review. J. Pet. Sci. Eng. 2011, 75, 274–282. [Google Scholar] [CrossRef]
- Lin, J.; Chen, L.; Sun, Q.; Xu, C.; Liu, G.; Zhong, Y.; Shao, K. A physics-informed reinforcement learning approach for multiproduct pipeline pump scheduling optimization. J. Pipeline Sci. Eng. 2025. [Google Scholar] [CrossRef]
- Wang, P.; Yu, B.; Deng, Y.; Zhao, Y. Operation optimization of heated oil transportation pipeline. In Proceedings of the International Conference on Pipelines and Trenchless Technology, Beijing, China, 19–22 October 2011; pp. 721–729. [Google Scholar] [CrossRef]
- Liu, Y.; Cheng, Q.; Gan, Y.; Wang, Y.; Li, Z.; Zhao, J. Multi-objective optimization of energy consumption in crude oil pipeline transportation system operation based on exergy loss analysis. Neurocomputing 2019, 332, 100–110. [Google Scholar] [CrossRef]
- Yan, Y.; Castro, P.M.; Liao, Q.; Liang, Y. An effective decomposition algorithm for scheduling branched multiproduct pipelines. Comput. Chem. Eng. 2021, 154, 107494. [Google Scholar] [CrossRef]
- Sidki, M.; Tchernev, N.; Féniès, P.; Ren, L.; Elfirdoussi, S. Multiproduct pipeline scheduling: A comprehensive bibliometric analysis and a systematic literature review. Comput. Chem. Eng. 2025, 192, 108911. [Google Scholar] [CrossRef]
- Chen, Z.; Liu, H.; Yuan, Q.; Liu, H.; Zhao, Y.; Chen, Y.; Li, J.; Yu, B. Intelligent optimization of operation schemes for a crude oil pipeline system under a variable-electricity-price policy. Energy 2025, 338, 138720. [Google Scholar] [CrossRef]
- Zhou, M.; Zhang, Y.; Jin, S. Dynamic optimization of heated oil pipeline operation using PSO-DE algorithm. Measurement 2015, 59, 344–351. [Google Scholar] [CrossRef]
- Wang, H.; Xu, Y.; Shi, B.; Zhu, C.; Wang, Z. Optimization and intelligent control for operation parameters of multiphase mixture transportation pipeline in oilfield: A case study. J. Pipeline Sci. Eng. 2021, 1, 367–378. [Google Scholar] [CrossRef]
- Evensen, G. The ensemble Kalman filter: Theoretical formulation and practical implementation. Ocean Dyn. 2003, 53, 343–367. [Google Scholar] [CrossRef]
- Zhang, Y.; Wang, B.; Huang, X. Online optimization of heated-oil pipeline operation based on neural network system identification. J. Pipeline Syst. Eng. Pract. 2020, 11, 04019040. [Google Scholar] [CrossRef]
- Du, J.; Li, H.; Zheng, J.; Shen, J.; Liao, Q.; Liang, Y.; Zio, E. Towards parameter identification in pipeline hydraulics: Integrating data-driven discovery and knowledge embedding. npj Artif. Intell. 2026, 2, 6. [Google Scholar] [CrossRef]
- Meza, E.B.M.; Souza, D.G.B.; Copetti, A.; Sobral, A.P.B.; Silva, G.V.; Tammela, I.; Cardoso, R. Tools, technologies and frameworks for digital twins in the oil and gas industry: An in-depth analysis. Sensors 2024, 24, 6457. [Google Scholar] [CrossRef]
- Chen, B.-Q.; Videiro, P.M.; Soares, C.G. Opportunities and challenges to develop digital twins for subsea pipelines. J. Mar. Sci. Eng. 2022, 10, 739. [Google Scholar] [CrossRef]
- Li, B.; Gai, J.; Xue, X. The Digital Twin of Oil and Gas Pipeline System. IFAC-PapersOnLine 2020, 53, 710–714. [Google Scholar] [CrossRef]











| Reference | Focuses on Oil Pipelines | Modelling Method Employs Transient Modelling | Methodological Coverage | |||
|---|---|---|---|---|---|---|
| Online Parameter Identification | Simulation | Optimization -Based Control | Safety Assurance | |||
| [1] | Yes | No | √ | |||
| [2] | Yes | No | √ | √ | ||
| [3] | Yes | No | √ | √ | ||
| [4] | Yes | No | √ | √ | ||
| [5] | Yes | No | √ | √ | √ | √ |
| [6] | Yes | No | √ | √ | ||
| [7] | Yes | No | √ | √ | √ | |
| [8] | Yes | Yes | √ | √ | ||
| [9] | Yes | No | √ | √ | √ | |
| [10] | Yes | No | √ | √ | ||
| [11] | Yes | Yes | √ | √ | ||
| [12] | Yes | Yes | √ | √ | ||
| [13] | Yes | No | √ | √ | ||
| [14] | Yes | No | √ | |||
| [15] | Yes/Partial | No | √ | √ | ||
| [16] | No | No | √ | |||
| [17] | Yes | No | √ | √ | ||
| [18] | Yes | No | √ | √ | ||
| [19] | Yes | No | √ | √ | √ | |
| [20] | Yes | No | √ | √ | √ | |
| [21] | Yes | No | √ | |||
| [22] | Yes | No | √ | |||
| [23] | Yes | No | √ | √ | ||
| [24] | Yes | Yes | √ | √ | ||
| [25] | Yes | No | √ | √ | ||
| [26] | No | Yes | √ | √ | ||
| [27] | Yes | No | √ | √ | √ | |
| [28] | Yes/Partial | Yes | √ | √ | ||
| [29] | No | No | √ | √ | ||
| [30] | Yes/Partial | No | √ | √ | √ | |
| [31] | Yes | No | √ | √ | √ | |
| This paper | Yes | Yes | √ | √ | √ | √ |
| Segment | Baseline Overall Heat Transfer Coefficient K/W·(m2·°C)−1 (m2·°C)−1 | Identified Overall Heat Transfer Coefficient K/W·(m2·°C)−1 (m2·°C)−1 | Baseline Friction Correction Factor f | Identified Friction Correction Factor | Temperature RMSE/°C | Temperature MAE/°C | Pressure RMSE/kPa | Pressure MAE/kPa |
|---|---|---|---|---|---|---|---|---|
| A–B | 0.858 | 1.0137 | 1.0203 | 1.4036 | 0.862 | 0.718 | 23.157 | 22.884 |
| B–C | 0.858 | 0.9138 | 1.339 | 2.11 | 1.178 | 1.131 | 2.265 | 2.238 |
| C–D | 0.8235 | 1.1894 | 1.106 | 1.6691 | 0.802 | 0.801 | 8.287 | 8.189 |
| D–E | 0.813 | 0.9757 | 1.0279 | 2.1002 | 0.408 | 0.375 | 53.564 | 52.931 |
| E–F | 0.858 | 0.9499 | 1.7998 | 2.6168 | 0.197 | 0.197 | 101.653 | 100.452 |
| Station | Literature Baseline Inlet Oil Temperature/°C | Online-Identified Simulated Inlet Oil Temperature/°C | Literature Baseline Outlet Oil Temperature/°C | Online-Identified Simulated Outlet Oil Temperature/°C | Minimum Safe Inlet Oil Temperature/°C |
|---|---|---|---|---|---|
| A | 27.9 | 27.9 | 58 | 58 | — |
| B | 39.27 | 36.8 | 39.27 | 36.8 | 20 |
| C | 27.92 | 25.85 | 31.82 | 29.75 | 20 |
| D | 24.77 | 21.61 | 30.77 | 27.61 | 20 |
| E | 25.26 | 22.29 | 35.16 | 32.19 | 20 |
| F | 24.88 | 22.35 | — | — | 20 |
| Metric | Total Energy Consumption/kW | Pumping Power Consumption/kW | Heating Energy Consumption/kW | Total Temperature Drop Along the Line/°C | Minimum Station-Inlet Oil Temperature/°C | Minimum Safety Margin/°C | Terminal-Station Inlet Pressure/kPa | Temperature Constraint Satisfied | Pressure Constraint Satisfied |
|---|---|---|---|---|---|---|---|---|---|
| Literature baseline | 11,715.65 | 757.54 | 10,958.11 | 33.12 | 24.77 | 4.77 | 5781.08 | Satisfied | Satisfied |
| Online identification optimization | 11,287.43 | 757.54 | 10,529.89 | 36.01 | 20.67 | 0.67 | 2700.7 | Satisfied | Satisfied |
Disclaimer/Publisher’s Note: The statements, opinions and data contained in all publications are solely those of the individual author(s) and contributor(s) and not of MDPI and/or the editor(s). MDPI and/or the editor(s) disclaim responsibility for any injury to people or property resulting from any ideas, methods, instructions or products referred to in the content. |
© 2026 by the authors. Licensee MDPI, Basel, Switzerland. This article is an open access article distributed under the terms and conditions of the Creative Commons Attribution (CC BY) license.
Share and Cite
Guo, Y.; Li, C.; Lv, Y.; Li, L.; Lu, Y.; Wen, K. A Hybrid Modelling and Simulation Framework for Energy-Efficient Operation of Heated Crude Oil Pipelines Under Small-Batch and Multi-Condition Operation. Modelling 2026, 7, 115. https://doi.org/10.3390/modelling7030115
Guo Y, Li C, Lv Y, Li L, Lu Y, Wen K. A Hybrid Modelling and Simulation Framework for Energy-Efficient Operation of Heated Crude Oil Pipelines Under Small-Batch and Multi-Condition Operation. Modelling. 2026; 7(3):115. https://doi.org/10.3390/modelling7030115
Chicago/Turabian StyleGuo, Yi, Chun Li, Yang Lv, Liuxiao Li, Yangfan Lu, and Kai Wen. 2026. "A Hybrid Modelling and Simulation Framework for Energy-Efficient Operation of Heated Crude Oil Pipelines Under Small-Batch and Multi-Condition Operation" Modelling 7, no. 3: 115. https://doi.org/10.3390/modelling7030115
APA StyleGuo, Y., Li, C., Lv, Y., Li, L., Lu, Y., & Wen, K. (2026). A Hybrid Modelling and Simulation Framework for Energy-Efficient Operation of Heated Crude Oil Pipelines Under Small-Batch and Multi-Condition Operation. Modelling, 7(3), 115. https://doi.org/10.3390/modelling7030115

