Products
  • Wolfram|One

    The definitive Wolfram Language and notebook experience

  • Mathematica

    The original technical computing environment

  • Wolfram Notebook Assistant + LLM Kit

    All-in-one AI assistance for your Wolfram experience

  • System Modeler
  • Wolfram Player
  • Finance Platform
  • Wolfram Engine
  • Enterprise Private Cloud
  • Application Server
  • Wolfram|Alpha Notebook Edition
  • Wolfram Cloud App
  • Wolfram Player App

More mobile apps

Core Technologies of Wolfram Products

  • Wolfram Language
  • Computable Data
  • Wolfram Notebooks
  • AI & Linguistic Understanding

Deployment Options

  • Wolfram Cloud
  • wolframscript
  • Wolfram Engine Community Edition
  • Wolfram LLM API
  • WSTPServer
  • Wolfram|Alpha APIs

From the Community

  • Function Repository
  • Community Paclet Repository
  • Example Repository
  • Neural Net Repository
  • Prompt Repository
  • Wolfram Demonstrations
  • Data Repository
  • Group & Organizational Licensing
  • All Products
Consulting & Solutions

We deliver solutions for the AI era—combining symbolic computation, data-driven insights and deep technical expertise

  • Data & Computational Intelligence
  • Model-Based Design
  • Algorithm Development
  • Wolfram|Alpha for Business
  • Blockchain Technology
  • Education Technology
  • Quantum Computation

WolframConsulting.com

Wolfram Solutions

  • Data Science
  • Artificial Intelligence
  • Biosciences
  • Healthcare Intelligence
  • Sustainable Energy
  • Control Systems
  • Enterprise Wolfram|Alpha
  • Blockchain Labs

More Wolfram Solutions

Wolfram Solutions For Education

  • Research Universities
  • Colleges & Teaching Universities
  • Junior & Community Colleges
  • High Schools
  • Educational Technology
  • Computer-Based Math

More Solutions for Education

  • Contact Us
Learning & Support

Get Started

  • Wolfram Language Introduction
  • Fast Intro for Programmers
  • Fast Intro for Math Students
  • Wolfram Language Documentation

More Learning

  • Highlighted Core Areas
  • Demonstrations
  • YouTube
  • Daily Study Groups
  • Wolfram Schools and Programs
  • Books

Grow Your Skills

  • Wolfram U

    Courses in computing, science, life and more

  • Community

    Learn, solve problems and share ideas.

  • Blog

    News, views and insights from Wolfram

  • Resources for

    Software Developers

Tech Support

  • Contact Us
  • Support FAQs
  • Support FAQs
  • Contact Us
Company
  • About Wolfram
  • Career Center
  • All Sites & Resources
  • Connect & Follow
  • Contact Us

Work with Us

  • Student Ambassador Initiative
  • Wolfram for Startups
  • Student Opportunities
  • Jobs Using Wolfram Language

Educational Programs for Adults

  • Summer School
  • Winter School

Educational Programs for Youth

  • Middle School Camp
  • High School Research Program
  • Computational Adventures

Read

  • Stephen Wolfram's Writings
  • Wolfram Blog
  • Wolfram Tech | Books
  • Wolfram Media
  • Complex Systems

Educational Resources

  • Wolfram MathWorld
  • Wolfram in STEM/STEAM
  • Wolfram Challenges
  • Wolfram Problem Generator

Wolfram Initiatives

  • Wolfram Science
  • Wolfram Foundation
  • History of Mathematics Project

Events

  • Stephen Wolfram Livestreams
  • Online & In-Person Events
  • Contact Us
  • Connect & Follow
Wolfram|Alpha
  • Your Account
  • User Portal
  • Wolfram Cloud
  • Products
    • Wolfram|One
    • Mathematica
    • Wolfram Notebook Assistant + LLM Kit
    • System Modeler
    • Wolfram Player
    • Finance Platform
    • Wolfram|Alpha Notebook Edition
    • Wolfram Engine
    • Enterprise Private Cloud
    • Application Server
    • Wolfram Cloud App
    • Wolfram Player App

    More mobile apps

    • Core Technologies
      • Wolfram Language
      • Computable Data
      • Wolfram Notebooks
      • AI & Linguistic Understanding
    • Deployment Options
      • Wolfram Cloud
      • wolframscript
      • Wolfram Engine Community Edition
      • Wolfram LLM API
      • WSTPServer
      • Wolfram|Alpha APIs
    • From the Community
      • Function Repository
      • Community Paclet Repository
      • Example Repository
      • Neural Net Repository
      • Prompt Repository
      • Wolfram Demonstrations
      • Data Repository
    • Group & Organizational Licensing
    • All Products
  • Consulting & Solutions

    We deliver solutions for the AI era—combining symbolic computation, data-driven insights and deep technical expertise

    WolframConsulting.com

    Wolfram Solutions

    • Data Science
    • Artificial Intelligence
    • Biosciences
    • Healthcare Intelligence
    • Sustainable Energy
    • Control Systems
    • Enterprise Wolfram|Alpha
    • Blockchain Labs

    More Wolfram Solutions

    Wolfram Solutions For Education

    • Research Universities
    • Colleges & Teaching Universities
    • Junior & Community Colleges
    • High Schools
    • Educational Technology
    • Computer-Based Math

    More Solutions for Education

    • Contact Us
  • Learning & Support

    Get Started

    • Wolfram Language Introduction
    • Fast Intro for Programmers
    • Fast Intro for Math Students
    • Wolfram Language Documentation

    Grow Your Skills

    • Wolfram U

      Courses in computing, science, life and more

    • Community

      Learn, solve problems and share ideas.

    • Blog

      News, views and insights from Wolfram

    • Resources for

      Software Developers
    • Tech Support
      • Contact Us
      • Support FAQs
    • More Learning
      • Highlighted Core Areas
      • Demonstrations
      • YouTube
      • Daily Study Groups
      • Wolfram Schools and Programs
      • Books
    • Support FAQs
    • Contact Us
  • Company
    • About Wolfram
    • Career Center
    • All Sites & Resources
    • Connect & Follow
    • Contact Us

    Work with Us

    • Student Ambassador Initiative
    • Wolfram for Startups
    • Student Opportunities
    • Jobs Using Wolfram Language

    Educational Programs for Adults

    • Summer School
    • Winter School

    Educational Programs for Youth

    • Middle School Camp
    • High School Research Program
    • Computational Adventures

    Read

    • Stephen Wolfram's Writings
    • Wolfram Blog
    • Wolfram Tech | Books
    • Wolfram Media
    • Complex Systems
    • Educational Resources
      • Wolfram MathWorld
      • Wolfram in STEM/STEAM
      • Wolfram Challenges
      • Wolfram Problem Generator
    • Wolfram Initiatives
      • Wolfram Science
      • Wolfram Foundation
      • History of Mathematics Project
    • Events
      • Stephen Wolfram Livestreams
      • Online & In-Person Events
    • Contact Us
    • Connect & Follow
  • Wolfram|Alpha
  • Wolfram Cloud
  • Your Account
  • User Portal
Wolfram Language & System Documentation Center
SystemModelSimulateSensitivity
  • See Also
    • SystemModelSimulate
    • SystemModelSimulationData
    • SystemModelExamples
    • SystemModelParametricSimulate
    • ParametricNDSolveValue
  • Related Guides
    • System Model Simulation
    • System Model Analytics & Design
    • See Also
      • SystemModelSimulate
      • SystemModelSimulationData
      • SystemModelExamples
      • SystemModelParametricSimulate
      • ParametricNDSolveValue
    • Related Guides
      • System Model Simulation
      • System Model Analytics & Design

SystemModelSimulateSensitivity[model,{p1,p2,…}]

simulates model and sensitivities to parameters pi following experiment settings.

SystemModelSimulateSensitivity[model,tmax,{p1,p2,…}]

simulates from 0 to tmax.

SystemModelSimulateSensitivity[model,{tmin,tmax},{p1,p2,…}]

simulates from tmin to tmax.

SystemModelSimulateSensitivity[model,vars,{tmin,tmax},{p1,p2,…}]

stores only simulation data for the variables vars.

Details and Options
Details and Options Details and Options
Examples  
Basic Examples  
Scope  
Models  
Simulation Time  
Sensitivity Results  
Variables, Parameters and Inputs  
Result Storage  
Generalizations & Extensions  
Options  
InterpolationOrder  
Method  
ProgressReporting  
Applications  
Properties & Relations  
Neat Examples  
See Also
Related Guides
Related Links
History
Cite this Page
BUILT-IN SYMBOL
  • See Also
    • SystemModelSimulate
    • SystemModelSimulationData
    • SystemModelExamples
    • SystemModelParametricSimulate
    • ParametricNDSolveValue
  • Related Guides
    • System Model Simulation
    • System Model Analytics & Design
    • See Also
      • SystemModelSimulate
      • SystemModelSimulationData
      • SystemModelExamples
      • SystemModelParametricSimulate
      • ParametricNDSolveValue
    • Related Guides
      • System Model Simulation
      • System Model Analytics & Design

SystemModelSimulateSensitivity

SystemModelSimulateSensitivity[model,{p1,p2,…}]

simulates model and sensitivities to parameters pi following experiment settings.

SystemModelSimulateSensitivity[model,tmax,{p1,p2,…}]

simulates from 0 to tmax.

SystemModelSimulateSensitivity[model,{tmin,tmax},{p1,p2,…}]

simulates from tmin to tmax.

SystemModelSimulateSensitivity[model,vars,{tmin,tmax},{p1,p2,…}]

stores only simulation data for the variables vars.

Details and Options

  • SystemModelSimulateSensitivity is used to estimate the variations in simulation results when changing parameter values in system models.
  • The model can have the following forms:
  • SystemModel[…]general system model
    StateSpaceModel[…]state-space model
    TransferFunctionModel[…]transfer function model
    AffineStateSpaceModel[…]affine state-space model
    NonlinearStateSpaceModel[…]nonlinear state-space model
    DiscreteInputOutputModel[…]discrete input-output model
  • SystemModelSimulateSensitivity returns a SystemModelSimulationData object.
  • For a SystemModel model, SystemModelSimulateSensitivity generates solutions for all variables , as well as derivatives , , … for all states , for .
  • For other types of models, SystemModelSimulateSensitivity generates solutions for all variables , as well as derivatives , , …, for .
  • Sensitivities can be listed in a SystemModelSimulationData object sd with sd["SensitivityNames"].
  • The stored simulation variables vars can have the following values:
  • Automaticautomatically choose what to store
    {v1,v2,…}store only variables vi
    Allstore all variables
  • SystemModelSimulateSensitivity[…,spec] uses Association spec for initial values, parameters and inputs:
  • "ParameterValues"{p1val1,…}parameter pi has value vali
    "InitialValues"{v1val1,…}variable vi has initial value vali
    "Inputs"{in1fun1,…}input ini has value funi[t] at time t
  • Setting "ParameterValues" or "InitialValues" to {pi->{c1,c2,…},…} runs simulations in parallel, with pi taking values cj.
  • "InitialValues" corresponds to the start property in the Modelica model.
  • The following options can be given:
  • InterpolationOrder Automaticcontinuity degree of output between events
    Method Automaticwhat simulation method to use
    ProgressReporting $ProgressReportingcontrol display of progress
  • The option setting Automatic normally means that the setting is taken from model or its experiment setting.
  • For a SystemModel model, the CVODES solver used can be controlled with Method->{"opt1"->val1}.
  • Possible suboptions for the CVODES method include:
  • "InterpolationPoints"Automaticnumber of interpolation points
    "Tolerance"10-6tolerance for adaptive step size

Examples

open all close all

Basic Examples  (3)

Study sensitivity of a parameter over the time interval in model experiment settings:

Extract sensitivity names and plot them:

Show the sensitivity of a signal to relative changes in a parameter:

Plot bounds for y and z when varying a by 10%:

Use the diagram representation of a model as input:

Copy and paste the output above:

Scope  (16)

Models  (3)

Compute variables and sensitivities when simulating a NonlinearStateSpaceModel:

Extract sensitivity names and plot them:

Plot bounds for a state when varying a by 40%:

Compute sensitivities in a parameter sweep for an AffineStateSpaceModel:

Plot bounds for a state when varying a by 50%:

Compute sensitivities for a DiscreteInputOutputModel:

Plot bounds for the output when varying a by 5%:

Simulation Time  (3)

Simulate with settings from the model:

Simulate from time 0 to 5:

Simulate for an explicit time interval:

Sensitivity Results  (6)

Study the sensitivity of one parameter:

Simulate with sensitivity to parameter a:

Get the sensitivity names:

Get the sensitivity y has to changes in a:

Study the sensitivities from one parameter:

Plot one of the sensitivities:

Show the sensitivity of a signal to a parameter a:

Get the sensitivity names:

Get the sensitivity y has to changes in a, as well as the nominal trajectory for y:

Plot y with original parameter a, and with parameter a increased by 0.05:

Show the sensitivity of a signal to relative changes in a parameter:

Get the sensitivity names:

Get the sensitivity y and z have to changes in a, as well as nominal trajectories and value:

Plot bounds for y and z when varying a by 10% of the sensitivity:

Show the sensitivity of a signal to absolute changes in a parameter a:

Get the sensitivity y has to changes in a, as well as the trajectory for y:

Compute the change in y when parameter a changes with absolute value 0.1:

Plot the variation of y when parameter a varies by ±0.1:

Variables, Parameters and Inputs  (3)

Change the initial values of a simulation:

Compare the changes in a plot:

Change the parameter values of a simulation:

Compare the two in a plot:

Give an input function for a variable and study the sensitivity of the output to a gain parameter:

Plot the sensitivity of the output to the gain parameter:

Result Storage  (1)

Store only selected variables:

Only the given variables and parameters are saved:

Generalizations & Extensions  (1)

Debug messages are collected in the message group "WSMDebug":

Turn on debug messages for initialization:

Turn off all debug messages for "WSMDebug":

Options  (3)

InterpolationOrder  (1)

Simulate with interpolation orders 1 and 3, and 3 interpolation points:

Show the sensitivity variable:

Method  (1)

Simulate a SystemModel and compute sensitivities with the number of interpolation points set by the model:

Simulate and compute sensitivities with a custom number of interpolation points:

ProgressReporting  (1)

Control progress reporting with ProgressReporting:

Applications  (5)

Study the sensitivity of a model:

Get the value of the parameter:

Find the peak deviation when varying the parameter:

Show a 5% sensitivity bound and the peak deviation time:

Find out which variable is most sensitive to a frequency parameter:

A 10% sensitivity bound shows that "integrator3.y" is most sensitive to the parameter:

Simulate a rolling wheel:

Select the position of the wheel and its sensitivities to different parameters:

Show the path of the wheel with 4% variation of the wheel radius and mass, respectively:

Calibrate parameters in a model by comparing to measurement data:

Set up caching for simulation:

Use SystemModelSimulateSensitivity to get gradients:

Plot the result of the simulation for specific parameter values:

Fit parameters to the measurement data:

Not using gradients takes longer:

Simulate with the fitted parameters:

Show the test data and the calibrated model together:

Plot a solution with its sensitivity bounds:

Get the nominal value of the parameter:

Show a 5% sensitivity bound:

Simulate with a maximal variation of 5%:

Get the trajectories:

Show that the trajectories are mostly contained in the approximated sensitivity bounds:

Properties & Relations  (4)

Compare a sensitivity simulation with the sensitivity of the corresponding differential equation:

Plot bounds for a relative parameter change:

Get the sensitivity y has to changes in a, as well as y and the value for a:

Plot bounds for y when varying a by 10% of the sensitivity:

Use SystemModelPlot instead:

Sensitivities are valid for small changes in the parameter:

Get sensitivities to a parameter:

Simulate with variation of the parameter:

Comparing in a plot, a 10% variation gives trajectories outside computed bounds:

Use SystemModelParametricSimulate for a function that can be evaluated for different values:

Compute solutions for different values of the frequency parameter:

Plot the solutions over time:

Neat Examples  (1)

Show sensitivity bounds for the and axes in the Rabinovich–Fabrikant equations:

Show the sensitivity bounds in 3D:

See Also

SystemModelSimulate  SystemModelSimulationData  SystemModelExamples  SystemModelParametricSimulate  ParametricNDSolveValue

Related Guides

    ▪
  • System Model Simulation
  • ▪
  • System Model Analytics & Design

Related Links

  • ▪ Wolfram System Modeler Documentation

History

Introduced in 2018 (11.3)

Wolfram Research (2018), SystemModelSimulateSensitivity, Wolfram Language function, https://reference.wolfram.com/language/ref/SystemModelSimulateSensitivity.html.

Text

Wolfram Research (2018), SystemModelSimulateSensitivity, Wolfram Language function, https://reference.wolfram.com/language/ref/SystemModelSimulateSensitivity.html.

CMS

Wolfram Language. 2018. "SystemModelSimulateSensitivity." Wolfram Language & System Documentation Center. Wolfram Research. https://reference.wolfram.com/language/ref/SystemModelSimulateSensitivity.html.

APA

Wolfram Language. (2018). SystemModelSimulateSensitivity. Wolfram Language & System Documentation Center. Retrieved from https://reference.wolfram.com/language/ref/SystemModelSimulateSensitivity.html

BibTeX

@misc{reference.wolfram_2025_systemmodelsimulatesensitivity, author="Wolfram Research", title="{SystemModelSimulateSensitivity}", year="2018", howpublished="\url{https://reference.wolfram.com/language/ref/SystemModelSimulateSensitivity.html}", note=[Accessed: 01-December-2025]}

BibLaTeX

@online{reference.wolfram_2025_systemmodelsimulatesensitivity, organization={Wolfram Research}, title={SystemModelSimulateSensitivity}, year={2018}, url={https://reference.wolfram.com/language/ref/SystemModelSimulateSensitivity.html}, note=[Accessed: 01-December-2025]}

Top
Introduction for Programmers
Introductory Book
Wolfram Function Repository | Wolfram Data Repository | Wolfram Data Drop | Wolfram Language Products
Top
  • Products
  • Wolfram|One
  • Mathematica
  • Notebook Assistant + LLM Kit
  • System Modeler

  • Wolfram|Alpha Notebook Edition
  • Wolfram|Alpha Pro
  • Mobile Apps

  • Wolfram Player
  • Wolfram Engine

  • Volume & Site Licensing
  • Server Deployment Options
  • Consulting
  • Wolfram Consulting
  • Repositories
  • Data Repository
  • Function Repository
  • Community Paclet Repository
  • Neural Net Repository
  • Prompt Repository

  • Wolfram Language Example Repository
  • Notebook Archive
  • Wolfram GitHub
  • Learning
  • Wolfram U
  • Wolfram Language Documentation
  • Webinars & Training
  • Educational Programs

  • Wolfram Language Introduction
  • Fast Introduction for Programmers
  • Fast Introduction for Math Students
  • Books

  • Wolfram Community
  • Wolfram Blog
  • Public Resources
  • Wolfram|Alpha
  • Wolfram Problem Generator
  • Wolfram Challenges

  • Computer-Based Math
  • Computational Thinking
  • Computational Adventures

  • Demonstrations Project
  • Wolfram Data Drop
  • MathWorld
  • Wolfram Science
  • Wolfram Media Publishing
  • Customer Resources
  • Store
  • Product Downloads
  • User Portal
  • Your Account
  • Organization Access

  • Support FAQ
  • Contact Support
  • Company
  • About Wolfram
  • Careers
  • Contact
  • Events
Wolfram Community Wolfram Blog
Legal & Privacy Policy
WolframAlpha.com | WolframCloud.com
© 2025 Wolfram
© 2025 Wolfram | Legal & Privacy Policy |
English