Parameter Sweep

Navigation:  Toolboxes > Time Domain Toolbox >

Parameter Sweep

Previous pageReturn to chapter overviewNext page

Using the Parameter Sweep option of the Time Domain Toolbox, you can perform a predefined number of simulation runs with variation of parameters / initial values.

Parameters / Initial Values

1.From the Tools menu select the Time Domain Toolbox and then Parameter Sweep.

A window will open, asking you which parameters / initial values should be changed during the multiple simulations:

ParameterSweepParameters

2.Add the parameters / initial values of your choice:
3.Click the Next button.

Result

A window opens asking you which result (optional) should be shown after the simulations:

ParameterSweepResult

4.If you do not want to use a result after simulation, enter nothing here. If you like to present a result after the simulation, enter it here using the various options of the window.
5.Click the Next button.

Run options

A window will open, asking some simulation run options:

ParameterSweepProperties

You can select the following items:

Steps: Number of simulations runs.
Copy from States: Use the result of the previous simulation runs as the starting value
numerical output of the parameter sweep.
Join Parameter Variation: Change all parameters simultaneously.
Clear After Every Run: Clear the simulation plot when a new simulation run starts.
Redraw After Every Run: Update the scaling after every run.
6.Select the desired run options and click the Next button.

A window will open with a summary of the chosen options. If your are not satisfied you can use the Back button to go to a previous window and change settings.

7.Click the Finish button to close the Multiple Run Wizard.
8.From the Simulation menu click the Multiple Run command to perform the Parameter Sweep.

Parameter Sweep Results

After simulation has been done, a Multiple Run Results window will open, showing the minimum and maximum value of the result and chosen parameters:

ParameterSweepShowResults

You can select the following items:

Values: Choose this button to open the list that shows the numerical output of the parameter sweep.
Matlab: Export the results to Matlab.
OK: Close the Multiple Run Results Window.

 

You can always re-open the Multiple Run Results window, by selecting the Multiple Run Results command of the View Menu.

9.By choosing the Values button, a new window is opened, showing the numerical results of the parameter sweep.

In the Results list of this window the subsequent runs are shown and (if available) the value of the chosen result:

ParameterSweepResultList

You can select the following items:

Set Values: Choose the values of the selected run, as new parameter values of your model.
Create Datafile: Use this button to store the values of the selected variables on file. Use the control-key and shift-key to make multiple selections.