Main Content

Sensitivity Analysis

使用实验设计(DOE),Monte Carlo和相关技术分析成本功能对模型参数的敏感性

Use Sensitivity Analysis to evaluate how the parameters and states of a Simulink®模型影响模型输出或模型设计要求。您可以在Sensitivity Analyzer,或在命令行。您可以使用并行计算或快速重新启动加快评估。在里面Sensitivity Analyzer,在进行灵敏度分析后,您可以将分析结果导出到参数估计器orResponse Optimizer应用。要了解有关灵敏度分析及其应用的更多信息,请参见什么是灵敏度分析?

应用

Sensitivity Analyzer 探索设计空间并确定最具影响力的模型参数

功能

expand all

sdo.sample 生成参数样本
sdo.sampleptions 参数采样选项sdo.sample
SDO.参数空间 Specify probability distributions for model parameters
制造者 创建概率分布对象
truncate Truncate probability distribution object
SDO.Scatterplot 样品的散点图

Create Simulation Scenario

sdo.SimulationTest Simulation scenario description

指定时间域要求

sdo.requirements.SignalBound 分段线性振幅结合
SDO.Requirentess.SignAltracking 参考信号跟踪
SDO.Requirentess.Stepresponseenvelope Step response bound on signal
sdo.requirements.PhasePlaneEllipse 强加椭圆形绑定在两个信号的相平面轨迹上
sdo.requirements.PhasePlaneRegion Impose region bound on phase plane trajectory of two signals

Specify Parameter Requirements

SDO.Requirentess.FunctionMatching 对变量施加功能匹配约束
sdo.requirements.MonotonicVariable 对变量施加单调约束
SDO.Requirentess.RelationalConstraint 对一对变量施加关系约束
SDO.Requirentess.smoothnessconstraint Impose bounds on gradient magnitude of variable

指定频域要求

sdo.requirements.BodeMagnitude Bode幅度结合
sdo.requirements.closedloppeakgain 关d loop peak gain bound
sdo.requirentess.gainphasemargin Gain and phase margin bounds
SDO.Requirentess.Openloopgainphase Nichols response bound
sdo.requirements.PZDampingRatio Damping ratio bound
sdo.requirements.PZNaturalFrequency Natural frequency bound
sdo.requirements.PZSettlingTime 定居时间绑定
sdo.requirements.SingularValue Singular value bound
sdo.evaluate 评估样品的成本功能
sdo.evalueptions Cost function evaluation options forsdo.evaluate
sdo.eratingpointSetup 设置稳态操作点计算
SDO.GETPARAMETROMODEL 设计变量用于优化
SDO.GETSTATEFROMEDEL 初始状态以估算金宝appmodel
sdo.getModelDependencies 模型文件和路径依赖性列表
SDO.SetValueInModel 模型中的设置设计变量值
sdo.analyze 分析模型参数如何影响成本功能
SDO.AnalyzeOptions 一个alysis options forsdo.analyze

话题

Evaluation Basics

什么是灵敏度分析?

Simulink Design Optimization™软件执行全球灵敏度分析。

生成参数样本for Sensitivity Analysis

This topic shows how to generate parameter samples for sensitivity analysis.

分析参数和设计要求之间的关系

Use visual and statistical analysis techniques to analyze the relationship between the parameters and design requirements.

Validate Sensitivity Analysis

Validate sensitivity analysis by checking generated parameter values, evaluation results, and analysis results.

Write a Cost Function

Write a cost function for parameter estimation, response optimization, or sensitivity analysis. The cost function evaluates your design requirements using design variable values.

应用and Programmatic Workflow

确定估计的关键参数(GUI)

This example shows how to use sensitivity analysis to narrow down the number of parameters that you need to estimate when fitting a model.

Identify Key Parameters for Estimation (Code)

This example shows how to use sensitivity analysis to narrow down the number of parameters that you need to estimate to fit a model.

Design Exploration Using Parameter Sampling (GUI)

此示例显示了如何使用Sensitivity Analyzer

Design Exploration Using Parameter Sampling (Code)

This example shows how to sample and explore a design space.

使用参数采样(GUI)探索设计可靠性

This example shows how to use theSensitivity Analyzerto explore the behavior of a PI controller for a DC motor.

稳态评估

指定稳态工作点进行灵敏度分析

一个operating point动态系统定义了模型的状态和根级输入信号。

Speed Up Evaluation

Use Parallel Computing for Sensitivity Analysis

Specify model dependencies and use parallel computing for performing sensitivity analysis in the app, or at the command line.

Use Fast Restart Mode During Sensitivity Analysis

该主题显示了如何使用Simulink快速重新启动加快灵敏度分析。金宝app

Use Accelerator Mode During Simulations

Simulink Design Optimizationsoftware supports普通的and加速器simulation modes.

将中间数据存储在应用程序中

如何通过存储中间数据来加快应用程序中的评估。

Sensitivity AnalyzerTasks

Specify Parameters for Design Exploration

选择模型参数用于应用程序中的灵敏度分析。

指定时间域要求

Specify time-domain requirements such as signal matching, amplitude bounds, step response bounds, reference signals, elliptical bounds, and custom bounds.

指定参数要求

Specify requirements such as monotonic, smoothness, property, and relational constraints on parameters in your model.

指定频域要求

在灵敏度分析仪中指定频域需求。

预处理数据

在使用数据之前,执行诸如删除偏移和过滤数据之类的预处理操作。

Create Linearization I/O Sets

Create linearization input/output sets in the Response Optimizer or Sensitivity Analyzer.

Evaluate Design Requirements

在灵敏度分析仪中评估您的设计要求。

使用灵敏度分析来配置估计和优化

Use the results generated in the Sensitivity Analyzer to configure parameter estimation or response optimization.

与灵敏度分析仪中的图相互作用

绘图和解释参数集,需求,结果散射,轮廓和龙卷风图。

代码生成

生成用于设计空间探索和评估的灵敏度分析的MATLAB代码(GUI)

This example shows how to automatically generate a MATLAB function to solve a Sensitivity Analysis evaluation problem.

生成MATLAB代码以进行灵敏度分析统计数据以识别关键参数(GUI)

此示例显示了如何自动生成MATLAB函数以解决灵敏度分析统计问题问题。