Uncertainty Quantification Module

Understand and Characterize Model Uncertainty

The Uncertainty Quantification Module is used for understanding the impact of model uncertainty — how the quantities of interest depend on variations in the inputs of a model. It provides a general interface for screening, sensitivity analysis, uncertainty propagation, and reliability analysis.

The Uncertainty Quantification Module can efficiently test the validity of model assumptions, convincingly simplify models, understand the key input to the quantities of interest, explore the probability distribution of the quantities of interest and discover the reliability of a design. The assurance of model correctness and increased understandings of the quantities of interest aid in reducing costs in production, development, and manufacturing.

The Uncertainty Quantification Module can be used with products throughout the COMSOL product suite for analyzing uncertainties in electromagnetics, structural, acoustics, fluid flow, heat, and chemical engineering simulations. You can combine it with the CAD Import Module, Design Module, or any of the LiveLink™ products for CAD.

The COMSOL Multiphysics UI showing some Uncertainty Quantification study results, with a Sobol index plot, Kernel Density Estimation graph, as well as a Confidence interval table.

Input Parameters and Quantities of Interest

When running an uncertainty quantification study, you define a set of quantities of interest in terms of a COMSOL Multiphysics® model solution. In this way, the quantities of interest are functions of the input parameters.

In the case of a structural analysis, the quantities of interest can be the maximum displacement, stress, or deflection angle. For a heat transfer or CFD analysis, the quantities of interest may be maximum temperature, total heat loss, or the total fluid flow rate. For an electromagnetics simulation, they may be resistance, capacitance, or inductance. Since the Uncertainty Quantification Module is applicable to any physics model computed with the COMSOL Multiphysics® software, as well as any mathematical expression of various solved-for field quantities, the choices for what can be your quantity of interest are endless.

Any uncertain model input, whether it be a physics setting, geometric dimension, material property, or discretization setting, can be treated as an input parameter, and any model output can be used to define the quantities of interest.


The Screening, MOAT study type implements a lightweight global screening method that gives a qualitative measure of the importance of each input parameter. The method is purely sample based, using the Morris one-at-a-time (MOAT) method, and requires a relatively small number of COMSOL model evaluations. This makes it an ideal method when the number of input parameters is too large to allow more computationally expensive uncertainty quantification studies.

For each quantity of interest, this MOAT method computes the MOAT mean and MOAT standard deviation for each input parameter. These values are presented in a MOAT scatter diagram. The ranking of the MOAT mean and MOAT standard deviations gives the relative importance of the input parameters. A high value of the MOAT mean implies that the parameter is significantly influencing the quantity of interest. A high value of the MOAT standard deviation implies that the parameter is influential and that it is either strongly interacting with other parameters or that it has a nonlinear influence, or both.

Sensitivity Analysis

The Sensitivity Analysis study type is used to compute how sensitive the quantities of interest are with respect to the input parameters. This study type includes two methods: the Sobol and correlation methods.

The Sobol method analyzes the entire input-parameter distribution and decomposes the variance of each quantity of interest into a sum of contributions from the input parameters and their interactions.

For each input parameter, the Sobol method computes the Sobol indices. The first-order Sobol index shows the variance of a quantity of interest attributed to the variance of each input parameters individually. The total Sobol index shows the variance of a quantity of interest attributed to the variance of each input parameters and its interaction with the other input parameters. The Sobol indices for each quantity of interest and all parameters are presented in a dedicated Sobol plot where the histograms are ordered by total Sobol index. The quantity of interest is most sensitive to the input parameter with the highest total Sobol index. The difference between the total Sobol index and first-order Sobol index for an input parameter measures the effect of the interaction between this input and others.

Compared to the screening method, sensitivity analysis is used to quantitatively analyze how uncertainties in the quantities of interest apportion to the different input parameters. This method requires more computational resources since the computation of accurate Sobol indices relies on a high-quality surrogate model.

The correlation method computes the linear and monotonic relationship between each input parameters and the quantities of interest. For sensitivity analysis based on the correlation method, four types of correlations are computed: bivariate, ranked bivariate, partial, or ranked partial correlation.

Uncertainty Propagation

The Uncertainty Propagation study type is used to analyze how the uncertainties of input parameters propagate to each quantity of interest by estimating their probability density function (PDF). The underlying physics that maps the input parameters to the quantities of interest through COMSOL Multiphysics® model evaluations is for most applications impossible to compute analytically.

For this reason, a Monte Carlo analysis is necessary to approximate the PDFs. Similar to the Sobol method, a surrogate model is used to dramatically reduce the computational cost of the Monte Carlo analysis. For each quantity of interest, a kernel density estimation (KDE) is performed and visualized as a graph, as an approximation of the PDF. Furthermore, based on this analysis, a confidence interval table gives you, for each quantity of interest, the mean; standard deviation; minimum; maximum; and the lower and upper bound values corresponding to confidence levels of 90%, 95%, and 99%.

Reliability Analysis

Compared to other uncertainty quantification study types, which investigate the overall uncertainty of the quantities of interest, the Reliability analysis, EGRA method addresses a more direct question. Given a nominal design and some specific uncertain inputs, what is the probability that the design fails? The failure can be a complete breakdown of the design, but it can also be phrased in terms of a quality criterion.

To ensure the reliability, the traditional approach of modeling and simulation is to use safety margins and worst-case scenarios. With a proper reliability analysis, it is possible to avoid overestimation and underestimation, since estimates of the actual probability can be made. A rough estimate can be drawn from the confidence interval table from the uncertainty propagation for each quantity of interest. But with reliability analysis, you can define a more sophisticated reliability criteria based on combinations of the quantities of interest and corresponding thresholds. The efficient global reliability analysis (EGRA) method used for the reliability analysis study efficiently directs the computational resources to the limit state that separates the failure and success of the design.

Surrogate Models and Response Surfaces

Sensitivity analyses computed with the Sobol method, uncertainty propagation, and reliability analysis all rely on an accurate Monte Carlo-type analysis. This often requires a large number of evaluations to achieve good accuracy. For realistic problems where a COMSOL Multiphysics® model evaluation might require significant resources and where the uncertainty quantification analysis involves several parameters, a Monte Carlo analysis conducted only with COMSOL Multiphysics® model evaluations is computationally infeasible. A key feature of the Uncertainty Quantification Module is its ability to train and use a so-called surrogate model, also known as a metamodel, for a particular UQ analysis to save computational resources.

A surrogate model is a compact mathematical model constructed to represent and evaluate the quantities of interest in the domain of interest defined by the input parameters. This model is completely independent of the underlying COMSOL Multiphysics® model and can, when trained properly, be used instead of the COMSOL Multiphysics® model to predict values for the quantities of interest for other values of the input parameters than those solved for. The process of constructing a surrogate model is typically adaptive and the surrogate model can approximate the original model to a high degree of accuracy. User-defined tolerances let you increase the accuracy of the surrogate models. A higher level of accuracy requires additional COMSOL Multiphysics® model evaluations.

Once a surrogate model has been built, you can make an independent verification to further test its validity, and you can quickly compute response surface data for the entire input parameters space. A response surface can then be visualized, where one quantity of interest is plotted versus two input parameters at a time.

COMSOL 是否能用于解决我的问题?

单击“联系 COMSOL”按钮,填写并提交相关信息,我们的工作人员将会尽快与您联系。

下一步:评估与试用 COMSOL® 软件