The prediction uncertainty in simulators for industrial processes is due to uncertainties in the input variables and uncertainties in specification of the models, in particular the closure laws. In this work, the uncertainty in each closure law was modeled as a random variable and the parameters of its distribution were optimized to correctly quantify the uncertainty in predictions. We have developed two methods for optimization, based on the integrated quadratic distance and the energy score. The proposed methods were applied to the commercial multiphase flow simulator LedaFlow with the liquid volume fraction and pressure gradient as output variables. Two datasets were analyzed. Both describe two-phase gas-liquid flow, but are otherwise fundamentally different. One is gas-dominated stratified/annular flow and the other is liquiddominated slug flow. The closure law for the gas-wall friction factor is decisive for the gas-dominated predictions, and the estimated relative standard deviation is 4.5 % or 8.0 % depending on method. The liquid-dominated study showed that the liquid-wall friction factor and the slug bubble velocity are the closure laws with the greatest impact. Moreover, the estimated relative standard deviation in the liquid-wall friction factor is 5 %, and the deviation in the slug bubble velocity is 4 %. We used direct measurements of the slug bubble velocity to validate the estimated uncertainty.