what is sensitivity analysis? -凯发k8网页登录

main content

what is sensitivity analysis?

sensitivity analysis is defined as the study of how uncertainty in the output of a model can be attributed to different sources of uncertainty in the model input[1]. in the context of using simulink® design optimization™ software, sensitivity analysis refers to understanding how the parameters and states (optimization design variables) of a simulink model influence the optimization cost function. examples of using sensitivity analysis include:

  • before optimization — determine the influence of the parameters of a simulink model on the output. use sensitivity analysis to rank parameters in order of influence, and obtain initial guesses for parameters for estimation or optimization.

  • after optimization — test how robust the cost function is to small changes in the values of optimized parameters.

one approach to sensitivity analysis is local sensitivity analysis, which is derivative based (numerical or analytical). mathematically, the sensitivity of the cost function with respect to certain parameters is equal to the partial derivative of the cost function with respect to those parameters. the term local refers to the fact that all derivatives are taken at a single point. for simple cost functions, this approach is efficient. however, this approach can be infeasible for complex models, where formulating the cost function (or the partial derivatives) is nontrivial. for example, models with discontinuities do not always have derivatives.

local sensitivity analysis is a one-at-a-time (oat) technique. oat techniques analyze the effect of one parameter on the cost function at a time, keeping the other parameters fixed. they explore only a small fraction of the design space, especially when there are many parameters. also, they do not provide insight about how the interactions between parameters influence the cost function.

another approach to sensitivity analysis is global sensitivity analysis, often implemented using monte carlo techniques. this approach uses a representative (global) set of samples to explore the design space. use simulink design optimization software to perform global sensitivity analysis using the sensitivity analyzer, or at the command line. the workflow is as follows:

  1. sample the model parameters using experimental design principles. that is, for each parameter, generate multiple values that the parameter can assume. define the parameter sample space by specifying probability distributions for each parameter. you can also specify parameter correlations.

    for information about sampling parameters, see generate parameter samples for sensitivity analysis.

  2. define a cost function by creating a design requirement on the model signals.

  3. evaluate the requirement (cost function) at each combination of parameter values using monte carlo simulations. you can plot the cost function output for the samples to visually analyze trends.

  4. (optional) formally analyze the relation between the evaluated requirement and the samples. analysis methods include correlation, partial correlation (requires statistics and machine learning toolbox™ software), and standardized regression. you can configure each analysis method to use either raw or ranked data.

    for information about the analysis methods, see analyze relation between parameters and design requirements.

references

[1] saltelli, a., ratto, m., andres, t., campolongo, f., cariboni, j., gatelli, d., saisana, m., and tarantola, s. global sensitivity analysis. the primer, john wiley and sons, 2008.

see also

| | |

related examples

more about

网站地图