{"title":"Machine learning uncertainty framework applied to gas-liquid horizontal pipe flow","authors":"André Mendes Quintino, Milan Stanko","doi":"10.1016/j.ijmultiphaseflow.2025.105184","DOIUrl":null,"url":null,"abstract":"<div><div>Accurate multiphase pipe flow modeling (e.g. prediction of pressure drop and volume fraction) is important for several disciplines and industries. It is possible to develop pipe multiphase flow models using laboratory data or simulator output and machine learning techniques but their application is limited due to their black-box nature and subpar generalization performance. The effectiveness of these models can be improved by “teaching the models to know what they know” and outputting the prediction uncertainty together with a mean value. By giving a stochastic prediction, the model can inform the user about the uncertainty of its prediction, facilitating informed decision-making. In this work, we evaluate 3 machine learning frameworks and 3 parametrization strategies for the development of a stochastic data-driven gas-liquid pipe flow (pressure and holdup) model. This to ultimately determine which machine learning framework and parametrization strategy produces stochastic models that best fit the data set, capture its associated uncertainty and where the predicted uncertainty grows considerably in extrapolation scenarios, rendering the model useless. For this purpose, a steady-state two-phase horizontal flow synthetic dataset was created using a commercial multiphase flow simulator to train and validate three deep learning frameworks: deep ensembles, hyper-deep ensembles, and Monte Carlo dropout. The effect of the performance using different groups of input features to predict the pressure gradient and holdup is also evaluated, and the performance metrics are assessed based on in-domain (validation) and out-of-domain (extrapolation) cases, the latter consisting of a scale-up scenario (bigger diameter). Results indicate that all three frameworks accurately predicted the mean values. However, deep ensembles outperformed the other in predicting the uncertainty range. Additionally, the results show the feature importance of different dimensional and dimensionless inputs for the model training and prediction.</div></div>","PeriodicalId":339,"journal":{"name":"International Journal of Multiphase Flow","volume":"187 ","pages":"Article 105184"},"PeriodicalIF":3.6000,"publicationDate":"2025-02-19","publicationTypes":"Journal Article","fieldsOfStudy":null,"isOpenAccess":false,"openAccessPdf":"","citationCount":"0","resultStr":null,"platform":"Semanticscholar","paperid":null,"PeriodicalName":"International Journal of Multiphase Flow","FirstCategoryId":"5","ListUrlMain":"https://www.sciencedirect.com/science/article/pii/S030193222500062X","RegionNum":2,"RegionCategory":"工程技术","ArticlePicture":[],"TitleCN":null,"AbstractTextCN":null,"PMCID":null,"EPubDate":"","PubModel":"","JCR":"Q1","JCRName":"MECHANICS","Score":null,"Total":0}
引用次数: 0
Abstract
Accurate multiphase pipe flow modeling (e.g. prediction of pressure drop and volume fraction) is important for several disciplines and industries. It is possible to develop pipe multiphase flow models using laboratory data or simulator output and machine learning techniques but their application is limited due to their black-box nature and subpar generalization performance. The effectiveness of these models can be improved by “teaching the models to know what they know” and outputting the prediction uncertainty together with a mean value. By giving a stochastic prediction, the model can inform the user about the uncertainty of its prediction, facilitating informed decision-making. In this work, we evaluate 3 machine learning frameworks and 3 parametrization strategies for the development of a stochastic data-driven gas-liquid pipe flow (pressure and holdup) model. This to ultimately determine which machine learning framework and parametrization strategy produces stochastic models that best fit the data set, capture its associated uncertainty and where the predicted uncertainty grows considerably in extrapolation scenarios, rendering the model useless. For this purpose, a steady-state two-phase horizontal flow synthetic dataset was created using a commercial multiphase flow simulator to train and validate three deep learning frameworks: deep ensembles, hyper-deep ensembles, and Monte Carlo dropout. The effect of the performance using different groups of input features to predict the pressure gradient and holdup is also evaluated, and the performance metrics are assessed based on in-domain (validation) and out-of-domain (extrapolation) cases, the latter consisting of a scale-up scenario (bigger diameter). Results indicate that all three frameworks accurately predicted the mean values. However, deep ensembles outperformed the other in predicting the uncertainty range. Additionally, the results show the feature importance of different dimensional and dimensionless inputs for the model training and prediction.
期刊介绍:
The International Journal of Multiphase Flow publishes analytical, numerical and experimental articles of lasting interest. The scope of the journal includes all aspects of mass, momentum and energy exchange phenomena among different phases such as occur in disperse flows, gas–liquid and liquid–liquid flows, flows in porous media, boiling, granular flows and others.
The journal publishes full papers, brief communications and conference announcements.