The Uncertainty Quantification Study
The Uncertainty Quantification study () contains tools for setting up UQ studies of different types for evaluating the uncertainty and sensitivity in a simulation model with respect to some input parameters with variations described by some statistical distribution. To add an Uncertainty Quantification study, right-click a Study node and choose Uncertainty Quantification. You can only have one Uncertainty Quantification node in each study.
At the top of the Settings window, you can use the Compute action button to run the study. The effect of this action is determined by the Compute action settings as described below.
The Settings window contains the following sections:
Uncertainty Quantification Settings
At the top of this section, use the Compute action list to select one of the following: Compute and analyze; Improve and analyze; Analyze only; or Analyze only, including verification data. For the Screening, MOAT UQ study type, when there is no previous data to use, the only option will be Compute and analyze, but when the QoI table has been populated, Analyze only can also be selected. For the Correlation UQ method, when there is no previous data to use, the only option will be Compute and analyze, but when the QoI table has been populated, Improve and analyze and Analyze only can also be selected. For surrogate model based UQ methods, when the surrogate function is new, the only option will be Compute and analyze, but when the surrogate function has been populated, Improve and analyze and Analyze only can also be selected. Improve and analyze appends data (to the Quantities of Interest table) and analyzes the total amount of data. Analyze only performs the UQ analysis based on the data and surrogate function as is, and does not perform any new COMSOL model evaluations. When verification has been performed, Analyze only, including verification data is also an option. This option considers the union of data from the trained surrogate function and the verification table.
From the UQ study type list, choose one of the following main study types for the UQ:
Sensitivity analysis. See Using the Sensitivity Analysis Study Type. For this study type, also choose a method from the Method list: Sobol (the default) or Correlation.
Reliability analysis, EGRA. See Using the Reliability Analysis Study Type.
From the Output table group usage list, choose Automatic (the default) or Manual. For Manual, you can choose any existing table group or New from the Output table group list to use an existing table group or create a new table group for the table data output from the UQ study. Automatic automatically generates an output table group for each UQ study type. When you switch between different UQ study types, the result table group automatically points to the output table group corresponding to the study type. The Clear previous result tables checkbox is selected by default. Clear it to keep existing result tables.
For all UQ study types except Screening, MOAT, there are also settings under Surrogate model settings:
From the Surrogate model list, choose one of these surrogate models:
The following surrogate models are available for the Sensitivity analysis and Uncertainty propagation UQ study types.
Sparse polynomial chaos expansion. This method compares the leave-one-out cross-validation error for its polynomial to the Relative tolerance. The method starts from the lowest possible polynomial order and then increases it, while still fulfilling the Q norm (default: 0.5), until the error is smaller than the tolerance and the surrogate model construction is done. If the maximum polynomial degree is reached without the tolerance criteria being reached, the surrogate model construction terminates, but a warning is printed to the Log window. The setting for the maximum polynomial degree can be set on the Job Configurations level; see Uncertainty Quantification Job Configurations. The q-norm is real valued in the interval [0, 1], which determines the mixed terms included in the expansion. Mixed terms means terms that involve more than one parameter. A q-norm of 0 means that no mixed terms are used for the polynomial, while 1 allows mixed terms of the same combined order as the nonmixed terms. Also, from the PCE function list, choose New to create a new Polynomial Chaos Expansion function or choose any existing Polynomial Chaos Expansion function. See Surrogate Models — Polynomial Chaos Expansion for more information.
Adaptive sparse polynomial chaos expansion (the default for Sensitivity analysis). This method finds the q-norm automatically during the surrogate model construction. This mechanism favors a small q-norm. The leave-one-out cross-validation error cannot be used to find new sampling points for the adaptation process. Instead, new sampling points are added with the LHS method, and a new error estimate is computed. The adaptation process is terminated if the error is smaller than the Relative tolerance. See the theory section Surrogate Models — Polynomial Chaos Expansion for more information.
Gaussian process. This surrogate model uses the standard deviation as its built-in error estimate. This error estimate can be computed for any GP evaluation point. An optimization approach is used to find the maximum error in the input parameter domain. Use the Optimization method for error estimation list: Direct (the default) or Monte Carlo. The Direct method is normally preferred because it is faster and gives a better estimate. In each iteration of this method, the number of GP evaluations can change. Initially, only a few evaluations are done, but the number can quickly grow. Therefore, you can set a bound, both on the number of iterations and the total number of GP evaluations. Enter values in the Maximum number of surrogate evaluations for optimization (default: 10,000) and Maximum number of optimization iterations fields (default: 500). The Monte Carlo method can be used for comparison with the Direct method. If the error obtained from the optimization approach is not smaller than the Relative tolerance, a warning is printed to the Log window. For this surrogate model, also specify a covariance and a mean. From the Covariance list, choose Squared exponential, Matérn 3/2 (the default), Matérn 5/2, Neural network, or Spectral mixture. From the Mean list, choose Constant (the default), Linear, or Quadratic. Also, from the Gaussian Process function list, choose New to create a new Gaussian Process function or choose any existing Gaussian Process function. See Surrogate Models — Gaussian Process for more information.
Adaptive Gaussian process. This is the only applicable surrogate model for Reliability analysis, EGRA. This method also uses the GP standard deviation for error estimation. Here, the same optimization methods as for the GP can be used to find the maximum. If the error obtained from the optimization approach is smaller than the Relative tolerance (default: 0.001), the adaptation iterations are terminated. The error estimate is used to add new sampling points, one at a time. For Reliability analysis, EGRA, the error estimation can be seen as a weighted error where the region for the QoIs away from the threshold are down-weighted to be less important. This means that most new points will be added close to the threshold, to enhance the quality of the surrogate model for this analysis. See the Theory section Reliability Analysis — Efficient Global Reliability Analysis for more information on this weighting.
When a surrogate model has been computed, you will, at the bottom of this section, find a Verify action list: Compute and verify, Improve and verify, and Verify only. Next to this list, you find an action button that executes the action selected. The Compute and verify action independently adds new sampling points, considering the ones you have already used for the surrogate model buildup. For these, new COMSOL model evaluations are performed. This data is then used to compute error estimates for the surrogate model. These error estimates are done independently of any surrogate model built-in error estimates and should be seen as an independent quality test of the surrogate model. Notice that no new UQ analysis data is produced by this action. It will therefore not affect these results. The Improve and verify action can be used when an initial verification computation has already been done. It can be used to further add verification sampling points and COMSOL model evaluations to extend the verification. The Verify only action uses an existing verification table and only performs the verification error estimation, without adding any new sampling points or performing any new COMSOL model evaluations. This action can be useful, for example, if there is some COMSOL table with computational results for the same parameters and the same QoIs from a previous computation. See the section Surrogate Model Verification for more information.
Quantities of Interest
From the Quantities of interest table list, choose New to create a new table, or choose any of the available tables. This table will be used to store not only sampling points but also the model evaluation of the quantities of interest (QoIs) for these points. This data serve as a building block for the surrogate models. This table is used when the compute action is Analyze only. It can also be used as a starting point for the compute action Improve and analyze. This table is used for all UQ analyses, and is not put in the Output table group.
The Solution selection list contains the solution in a COMSOL model to use as the QoI. Choose Automatic (the default), Summation, Minimum, Maximum, Use first, or Use last. The Automatic solution to use will be the last solution for time-dependent and parametric solutions, while for eigenvalue and eigenfrequency solutions, it will be the first solution. You can override this mechanism by selecting any of the other methods. For Summation, the QoI is defined as the summation of the Expression over all the solutions. For Maximum (or Minimum), the QoI is defined as the maximum (or minimum) of the expression taken over all the solutions. Also note that evaluation operators like at() and with() can be used in the expression, making it possible to evaluate even more general quantities from dynamic solutions. This setting only applies to global QoIs.
The Outer solution selection list is available when the UQ study is using a parametric sweep, function sweep, or material sweep in the same study. The choice refers to the solutions in the parametric sweep type study to use as the QoI. Choose Summation (the default), Minimum, or Maximum. For Summation, the QoI is defined as the summation of the QoIs over all the solutions computed in the parametric-sweep-type studies. For Maximum (or Minimum), the QoI is defined as the maximum (or minimum) of the QoIs taken over all the parametric sweep solutions. This setting only applies to global QoIs.
For Reliability analysis, EGRA with multiple QoIs, choose All true (the default) or Any true from the Probability for conditions list. With All true, the condition for each QoI must be fulfilled. With Any true, the condition for at least one QoI must be fulfilled.
For all UQ studies the QoI table includes at least the following columns:
Name — The name of the QoI, from which function names in the surrogate models and column headers in the UQ tables are derived. If no name is given, the default name will be QoI1, QoI2, QoI3, … depending on the row index in the QoI table.
Expression — The expression of the QoI, this has to be scalar for global QoI but can depend on study-dependent inputs for study-dependent QoI.
Include study-dependent input — From the list in this column, you can select Reduce to single global output to define a global QoI. If you select Configure study-dependent input the QoI can depend on study-dependent inputs such as time, frequency and other parameters defined in the study.
For Reliability analysis, EGRA, the True if and Threshold columns are also required. The value for True if defines the relationship between the expression and the threshold. Larger than threshold means that the reliability probability is defined as the condition that the value of the expression is larger than the threshold. Smaller than threshold is the opposite condition. For study-dependent QoI the threshold can depend on study-dependent inputs such as time and frequency.
Underneath the table various settings are available - for each quantity of interest - based on whether the quantity of interest is global or study-dependent.
For global QoI the Individual solution selection setting is available. From the list in this column, you can use a specific solution for that QoI. The default, From “Solution selection”, takes the solution from the Solution selection list above the table.
For study-dependent QoI, from the Time selection, Frequency selection, Eigenfrequency selection, or Eigenvalue selection list, specify a selection for the corresponding solver parameter. For a time-dependent simulation, a Time selection can be selected, for a frequency-dependent simulation, a Frequency selection can be selected, and so forth. Choose from Summation, Minimum, Maximum, Use last, Use first, and All. For eigenvalue and eigenfrequency simulations the default is Use first; otherwise, the default is All. For Summation, the quantity of interest is defined as the summation over all inner solutions. For Maximum (or Minimum), the quantity of interest is defined as the maximum (or minimum) of the expression over all inner solutions. For Use last (or Use first), the quantity of interest is defined as the expression evaluated with the last (or first) inner solution. Select all inner solutions with All.
If the parameter is time or frequency you can also choose List. The quantity of interest is then defined as the expression evaluated at the values specified in List. Select with Method how the quantities of interest should be evaluated, Snap to closest evaluates with the closest computed solution. Interpolation will interpolate between the closest computed solutions. Extrapolation is not supported with this setting, instead NaN (Not-a-Number) will be written to the QoI table. It is recommended to solve for exactly the times and frequencies you want to evaluate the QoI for and only use this setting to select a specific subset. Ranges and vector-valued expressions can be used; see Entering Ranges and Vector-Valued Expressions in the COMSOL Multiphysics Reference Manual for more on ranges and vector-valued expressions.
If the parameter is eigenfrequency or eigenvalue you can instead choose Manual. In the Indices list you can specify which eigenfrequencies or eigenvalues to select. Here, 1 represents the first mode as ordered by the eigenfrequency/eigenvalue solver, 2 represents the second mode and so forth. Ranges and vector-valued expressions can be used.
Input Parameters
In this section, you define the input parameters for the UQ study and their related settings.
For each input parameter, from the Source type list, choose Analytic (the default) or Data (for the Sensitivity analysis, Correlation, Uncertainty propagation, and Reliability analysis, EGRA study methods only). See the Sampling Settings section below for information about the data generation settings.
The Input Parameters Table
Under Input parameters, specify the input parameters for the UQ study in the table below, which contains the following columns:
In the Parameter column, choose any existing global parameter as an input parameter.
In the Source type column, choose Analytic or Data.
In the Parameter description column, the distribution type and bound are automatically populated when Analytic is chosen from the Source type list, the data source type and the number of input data points are automatically populated when Data is chosen from the Source type list.
When Analytic is chosen for Source type, the analytic distribution settings are shown under the table:
In the Distribution list, choose the distribution for the input parameter: Uniform (the default), Normal(μ,σ), LogNormal(μ,σ), Gamma(k,θ), Beta(α,β), Weibull(λ,k), or Gumbel(μ,β). All distributions except the uniform distribution have two distribution parameters shown under the Distribution list, such as the Mean and Standard deviation for a normal distribution and Shape and Scale for a gamma distribution. You specify the distribution parameters in the corresponding text field. All distributions except the uniform distribution and beta distribution have CDF-Lower, CDF-Upper shown under the Distribution list.
In the CDF-Lower list, choose the cumulative distribution function level for your lower bound: 30%, 10%, 1%, 0.1% (the default), 1E-4, 1E-5, 1E-6, 1E-7, or Manual. These bounds automatically compute a lower bound by using the inverse cumulative distribution function.
In the CDF-Upper list, choose the cumulative distribution function level for your upper bound: 70%, 90%, 99%, 99.9% (the default), 1-1E-4, 1-1E-5, 1E-6, 1-1E-7, or Manual. These bounds automatically compute an upper bound by using the inverse cumulative distribution function.
For Manual bounds, you can enter bounds and units for the input parameter in the Lower bound, Upper bound, and Unit columns. For the bounds, you can use unit syntax such as 0.45[mm], and for the unit, add its abbreviation, such as Pa for pascal.
You can edit the table using the buttons under the table:
In general, use the Move Up (), Move Down (), and Delete () buttons and the fields under tables to edit the table contents. Or right-click a table cell and select Move Up, Move Down, or Delete.
The Add button () adds a new input parameter to the list.
Use the Clear Table button () to clear the entire table.
For all GP-type surrogate function based UQ methods expect the Sobol method, under Input parameters, specify the input parameters correlation settings for the UQ study in the table below, which contains the following columns:
In the Correlation group column, choose any existing input parameters belong to the same correlation group.
In the Correlation matrix column, enter the upper-triangle and diagonal elements of the symmetric positive semidefinite correlation matrix. Each off-diagonal element of the correlation matrix should be between 1 to 1, and the diagonal element of the correlation matrix should be 1. For a correlation group with three input parameters p1, p2 and p3 in successive order, the matrix element (1, 2) represents the correlation between p1 an p2. Likewise, the matrix element (1, 3) represents the correlation between p1 and p3, and the matrix element (2, 3) represents the correlation between p2 and p3. Due to the symmetric nature of the correlation between parameter pairs, the correlation matrix is symmetric.
In the Active column, select the checkbox for active group.
You can edit the table using the buttons under the table:
In general, use the Delete () buttons and the fields under tables to edit the table contents. Or right-click a table cell and select Delete.
The Add button () adds a new correlation group to the list.
Use the Clear Table button () to clear the entire table.
Use the Edit button () to edit the correlation matrix.
Sampling Settings
Depending on how you choose other settings, you will have different options for sampling settings for data generation. This section is available unless you chose Analyze only for the Compute action.
Data Generation from Analytic source type
When you have chosen Analytic for all input parameters, the following additional settings are available (except for the Screening, MOAT study):
From the Number of input points type list, choose Automatic (the default) or Manual. The Manual type gives you the possibility to specify the Initial number of input points, which is the number of points generated and simulated (with the COMSOL model) before the adaptation starts. The Maximum number of input points is the total number of input points used by the adaptation. Both of these numbers are important for the adaptation process. The initial number needs to be large enough to cover the sampling space and the complexity in the QoIs. Otherwise, there is a risk that the adaptation algorithm is not adding new input points correctly. An appropriate number depends not only on the dimension of this space, which is the same as the number of input parameters, but also on how large this space is in relation to the variation of the QoIs. The maximum number of input points puts a limit to the whole process. If the adaptation process has not terminated fulfilling the tolerance criteria when this limit is reached, a warning is printed in the Log window. When adaptation is not used, there is only one setting, the Number of input points, which dictates the exact size of the training data. Choosing this number will naturally be a tradeoff between surrogate model quality and training cost. Notice that the number of COMSOL model evaluations will be the same as the number of input points. The Automatic method chooses these numbers based on the number of input parameters and the compute action used. The number used for these properties can be inspected in the user interface, but they cannot be edited. Table 3-1 lists the default and automatic values for the different compute actions.
5m
For the Screening, MOAT study, the following additional settings are available:
The number of input points appears as a convenience below the Input parameter data generation method list. This number is equal to the number of COMSOL model evaluations. The formula is (m + 1)r, where r is the repetition number and m the number of input parameters.
In the Repetition number field, enter the desired number of repetitions. Each repetition uses different start points for the Morris sampling technique from which one-at-a-time is changed to produce new sampling points (default: 4). See the Theory section Data Sampling — Morris Sampling.
Choose a value for the Partition level, which specifies how many grid lines are used in each parameter dimension: 4 (the default), 6, 8, 10, or 12. See Data Sampling — Morris Sampling in the Theory chapter.
For all UQ study types where at least one input parameter has chosen Analytic from the Source type, specify the following additional settings:
From the Random seed type list, choose Automatic (the default) to generate a random seed automatically (which is then displayed below), Manual to enter a seed in the Initial random seed field, or Current computer time to use that time as the random seed. A random seed is used not only the first time sampling data is generated but also for subsequent generation, for example, for the Improve and analyze compute action. To avoid the same sampling data being generated over and over again, another random seed is used for subsequent runs. The Automatic method adds 1 to the seed each time you run the study, so that subsequent runs never use the same seed.
Data Generation Using Data source type
When you have chosen Data, you can choose the data source.
From the Data source list, choose Specified values (the default) or Result table.
When you have chosen Result table, you can choose the input parameter data source table and select the data Column from the table where the Column list is automatically populated with the table’s column headers.
When you have chosen Specified values for all the input parameters, you can choose the sweep type.
From the Sweep type list, choose Specified combinations (the default) or All combinations. These sweep types work exactly as if a parametric sweep study type was used for the input parameters.
The Number of input points is computed based on the number of data points from Specified values or number of data points in the selected table Column, where the number of Specified values and number of data points in table Column should be the same. When All combinations is chosen from the Sweep type list, the Number of input points are the multiplication of the number of data points of each Specified values.
Surrogate-Based Monte Carlo Analysis
The Surrogate-Based Monte Carlo Analysis section is available for surrogate models used in Sensitivity analysis, Uncertainty propagation, and Reliability analysis, EGRA. For Sensitivity analysis, it is available for the Adaptive Gaussian process and Gaussian process surrogate models. Sensitivity analysis, Uncertainty propagation, and Reliability analysis, EGRA are all sample-based analyses, which means that a large number of samples are often required to achieve high accuracy of the analysis results. Given the computational cost, it is always forbidden to run a large number of COMSOL model evaluations to a large-scale simulation problem. Here, Monte Carlo analysis performs repeated evaluations using the surrogate model with random input parameter values, according to their distribution settings. A COMSOL model evaluation is only needed to build the surrogate model and is not needed in this analysis.
By default, the Monte Carlo parameters source is set to From surrogate model. Change it to Manual enable a separate Monte Carlo parameters table below, where you can specify parameters for the Monte Carlo analysis.
When From surrogate model is chosen for the Monte Carlo parameters source or Source type for all parameters are Analytic when Manual is chosen for the Monte Carlo parameters source, you can enter a suitable number of samples for the Monte Carlo analysis (default: 10,000 samples) in the Number of samples field. Otherwise, the Number of samples field is automatically populated based on the number of samples from Specified value or data Column selected from the surrogate-based Monte Carlo analysis data source table.
When you have selected a Reliability analysis, EGRA study type and From surrogate model is chosen for the Monte Carlo parameters source or Source type for all parameters are Analytic when Manual is chosen for the Monte Carlo parameters source, you can choose Importance sampling (the default) or Latin hypercube sampling. With the latter, the same Number of samples field appears. With Importance sampling selected, you can enter an Initial number of samples (default: 1000), a Maximum number of samples (default: 10,000), and a Relative tolerance (default: 0.05).
If desired, select the Monte Carlo random seed checkbox to enter a random seed in the Monte Carlo random seed field. Another seed can be used to generate another set of random samples, to check how sensitive the UQ analysis result is to the particular set used. Ideally, the results should not change much. If they do, you should consider increasing the number of samples.
When Manual is chosen for the Monte Carlo parameters source, the Monte Carlo parameters setting table is shown under Monte Carlo parameters source list.
From the Source type list, choose Analytic (the default) or Data. All settings related to the Manual settings for the Monte Carlo parameters source are the same as those in the Input Parameters section with one difference, where the difference is that Nominal value can be selected from the Data source list. When Nominal value is selected, you can specify a nominal value of the corresponding parameter to be used for the Monte Carlo analysis.
Using Manual settings for the Monte Carlo analysis other than what has been specified under input parameters is an advanced feature, and needs to be used with some care. The specification given here will be used for the UQ analysis. It is therefore possible to modify the specification for the input parameters and get new UQ analysis results through the compute action Analyze only, without making any new COMSOL model evaluation. Notice, however, that this will only be accurate if the surrogate model is also an accurate model for the new input parameter specification. One simple case where this approach can fail is if the surrogate model is constructed or trained for a smaller domain with stricter bounds, and here is used for a significantly larger domain that involves extrapolation.
Surrogate Model Verification
The error estimation for the surrogate models are estimations based on the trained surrogate function. The verification error here defined the error, which directly measures how well the surrogate model predicts the QoIs unknown to the model. The Surrogate Model Verification section is only available for surrogate models used in Sensitivity analysis, Uncertainty propagation, and Inverse uncertainty quantification. It is not available for Reliability analysis, EGRA because the surrogate model for reliability analysis is not optimized for the global accuracy.
From the Verification quantities of interest table list, choose New for a new table, or choose an existing table. This table will contain the verification sample points, as well as COMSOL model evaluation of the QoIs, followed by the surrogate model predictions. The verification analysis will also produce the root mean square (RMS) of the difference between the model evaluations and the predictions as well as the relative RMS difference. These numbers can be found in the UP verification error table under the UQ analysis table group, one row per QoI. The RMS difference can be found in the Verification error column and the relative RMS difference in the Relative verification error column.
By default, the Verification parameters source is set to From surrogate model. Change it to Manual enable a separate verification parameters table below, where you can specify parameters for the surrogate model verification. This can be useful, for example, if you want to verify the surrogate model in a certain part of the input parameter domain by using other bounds. Notice, however, that the surrogate model is trained under certain conditions and assumptions regarding the input parameters, so it is natural that the predictability (and error) for other input parameter settings is not as good.
When From surrogate model is chosen for the Verification parameters source or Source type for all parameters are Analytic when Manual is chosen for the Verification parameters source, you can enter the desired number of verification points (default: 10) in the Number of verification points field. This is the number of independent COMSOL model evaluations performed for the verification of a surrogate model. The sampling of points will be different from the one used to build the model. For example, another random seed will be used. Otherwise, the Number of verification points field is automatically populated based on the number of points from Specified value or data Column selected from the surrogate model verification data source table.
From the Random seed type list, choose Automatic (the default) to generate a random seed automatically (that initial random seed is then display below), choose Manual to enter a seed in the Initial random seed field, or choose Current computer time to use that time as the random seed.
Surrogate-Based Response Surface
In this section, you can generate response surface data for your surrogate function, which can be used from results for visualization. In this section, you can use the Response Surface button and generate a filled COMSOL table. The filled format of the data makes it possible to use a Table Surface plot and select two parameters at a time and one QoI. When the table and plot are generated, it is possible to change the two parameters to use and the QoI to visualize. All this is set up for you by the action.
The filled-data structure can be controlled in the four-column table found at the top of the section. The first column, Parameter, contains the input parameters. This column is dictated by the surrogate function and cannot be changed. If the surrogate function has been trained, then this column will be populated automatically. If the surrogate function has not been trained, it will be empty, and no response surface data can be generated. The second column is the Point generation method. For each parameter in this column, you can select Distribution, Specified values, or Both. For Distribution, the Distribution resolution column can be used to prescribe how many points should be used in this parameter dimension. The actual distribution function will here be used to add points close to the mean value. For the Specified values method, the Parameter value list column can be used to specify freely which points to use. The Both method combines the methods and adds points based on the last two columns. Notice that filled data means that all combinations of values for the parameters will be generated or predicted. So, for example, if 5 points are generated for m parameters, 5m rows are generated in the Response surface data table.
The target table for the data generation can be set by Response surface data table. Since the table data can be large, there are also settings for how to store the table. Select one of the methods in the Store table list: In Model, On file, or In model and on file. See Table 3-1 for more information. When a file is used, you also have to give a filename in the Filename field. There is also a Maximum file size (MB) setting where you can limit how much data is stored from the data generation.
The Table Surface plot can be selected from the Response surface plot group.
Experimental DATA SETTINGS
In this section, you can specify the experimental data source for the inverse uncertainty quantification study.
From the Experimental data table list, choose an existing table that contains the experimental data. This table should contain data columns of measured experimental parameters and the corresponding QoIs.
Under Experimental data table, specify the data Type for each data column of the table:
In the Column column, the table’s column header is automatically populated.
In the Type column, choose Quantity of interest, Experimental parameters, or Ignored column.
In the Setting column, the user selected QoI from the Expression in the quantities of interests settings and experimental parameter from the Parameter in the input parameters settings will be automatically populated.
When Quantity of interest is chosen from the Type list, the Name list and Measurement uncertainty type are shown under the table. The Name list is automatically populated with the Expression in the quantities of interests settings, and the Measurement uncertainty type defaults to Calibrated. If you change the Measurement uncertainty type to Experimental Data, an input field appears where you can specify a positive measurement uncertainty; when Experimental parameters is chosen from the Type list, the Name list and Unit field are shown under the table, where the Name list is automatically populated with the Parameter in the input parameters settings; when Ignored column is chosen from the Type list, the corresponding data column is ignored in the uncertainty quantification study.
No repeated QoI expressions or input parameters should be used as the Quantity of interest and Experimental parameters respectively. Once the experimental data settings are specified, the Parameter description column from the input parameters settings table will be populated with label of calibration parameter or experimental parameter. The input parameters that are not selected as experimental parameters are labeled as calibration parameters. Since the goal of the inverse uncertainty quantification is to compute the posterior distribution of the calibration parameters, at least one input parameters should be considered as calibration parameter.
Output While Solving
In this section, you control what to output when solving the UQ study.
Select the Plot checkbox to choose a plot group for plotting from the Plot group list. This plot group will be updated while solving the underlying COMSOL model for the model evaluations. No plots will be updated during Monte Carlo analysis. When using the Default choice, the first automatically added plot group will be used.
Select the Show UQ results in table graph checkbox to display numerical results from the UQ study in a table graph group that you choose from the Table graph group list. Choose New to create a new table graph group, or choose any existing table graph group.
From the Probes list, choose which probes to output values from: All (the default), None, or Manual. If you choose Manual, add any available probes to the Probes table below.
To output to an accumulated probe table, select the Accumulated probe table checkbox and then choose a probe table for the output from the Output table list. Choose New to create a new output table, or choose any existing output table.
Advanced Settings
From the Error handling list, choose Stop immediately (the default) to stop the solution process directly if an error occurs, or choose Skip problematic parameters to skip problematic parameters where the COMSOL model evaluation fails, and continue the solution process for the UQ study. When Skip problematic parameters is chosen, the possible errors are collected and retained in the Uncertainty Quantification Job Configuration node. This node has a warning overlay for its icon when there are collected errors.
From the Keep model evaluations in memory list, choose Only last (the default) to only keep the last model evaluation, or choose All to keep all model evaluations.
From the Default solver sequence generation list, choose Using global parameters (the default) to use the values of the global parameters or choose Use each parameter tuple for a parametric run with parameter tuples. See Parametric Sweep in the COMSOL Multiphysics Reference Manual for more information.
Select the Reuse solution from previous step checkbox if desired. This option can be useful for cases where the solutions for the input parameters are close to each other and it benefits the nonlinear solution process to start from the previously computed solution. Notice that because the UQ analysis is global, there can be large differences between these solutions so this option is not always beneficial.
Select the Distribute model evaluation checkbox if you run COMSOL on a distributed system and want to make use of a distributed evaluation. The benefit of distributed evaluation is that during the sampling with the COMSOL model evaluations, these can be done in parallel. However, for the AGP, this is only done for the initial sample points, since only one model evaluation at a time will be performed for subsequent adaptation steps. Without adaptation, or when using the SPCE surrogate model, there is no such limitation.
From the Uncertainty Quantification log list, choose Normal (the default) to only keep the log from the uncertainty quantification study, choose Minimal to only keep minimal log from the uncertainty quantification study, or choose Detailed to keep the log from the uncertainty quantification study and the model evaluations from the uncertainty quantification study.