Table of Contents

Simulation settings

Select Simulation | Simulation Settings, click the Simulation Settings tool bar button or press F6 to open this window.

The simulation settings window contains four pages:

General

Here you specify the start and the end times for the simulation and output options.

Simulation time

Simulation outputs

NoteFor probabilistic, sensitivity analysis and simulation table simulations the output option should be Produce specified output only, otherwise only the start and end time is included in the result. A warning message will be presented in the Errors window. This is to limit the amount of data produced and to guarantee that the same time vector is returned from all simulations.

In the case of the Linear time series the default value for the Min time is set to the Start Time and for the Max time is set to the End Time. In the case of the ‘Geometric’ time series the default values for the Min and the Max times is set to auto. * If you select ‘Linear Increment’ time series, enter the first and the last time in the Min and Max box respectively. Enter the increment in the increment box. The default value for the Min time is set to the Start Time and for the Max time is set to the End Time. For example: Start = 5, End = 10, Increment = 2.5 will return a time series with the values 5, 7.5 and 10.

Outputs

SimulationOutputs2.png

NoteBy default, values for all enabled blocks and parameters for all enabled materials will be returned from the simulation. To exclude materials from the simulation you must enable/disable them in the materials window.

The output page lets you choose simulation endpoints. All blocks of the project are displayed and are organized by sub-system. By selecting/unselecting either endpoints or whole sub-system nodes, you determine which simulation outputs will be available after the simulation is finished.

By removing simulation outputs the simulation time and memory consumption decreases. Also, the list of results will be shorter which makes it easier when creating charts and tables.

As soon as a new block is added to the model, it is also added to the list of outputs.

Solver

(ODE toolbox) The solver page lets you select numerical solver and edit it’s settings.

For more information on solver settings see Solver settings.

simulation_settings

Batches

(ODE toolbox) This page lets you set up simulation batches which can improve the simulation time drastically.

simulation_settings

Advanced

See also