User's guide chapter 3 section 13 & 14

Previous: Chapter 2 Next: Chapter 4

3.13 – Scenarios: Setting Up Experiments

Scenarios are experiments that are run with a model in which the value of one or more parameters varies for each run. Scenarios allow you to run and compare multiple test cases for a model all automatically. You create scenarios by defining scenario parameters to be used in your model, referencing them in your model, and then defining specific scenarios in which values are assigned to those parameters.

3.13.1 – Scenario Parameters

Scenario parameters are placeholders like variables, only they are used to represent a value that changes from scenario to scenario. For example, if you want to run three model scenarios experimenting with different activity times, you would enter a scenario parameter as the activity time, and then define three different scenarios with three different times in the Scenarios tab of the Scenarios & Parameters dialog.

Scenario Parameters

New This button creates a new parameter that may then be edited.

Delete This button deletes the selected parameter.

Name The name of the parameter to be used in the model in place of actual values.

Default Value The value of the parameter when the Save & Simulate Chart menu item is selected rather than Run Scenarios.

Move Up Moves the selected parameter up in the list.

Move Down Moves the selected parameter down in the list.

How To – Define a scenario parameter

1. From the Simulation menu select Define Scenarios.

2. Click on the Scenario Parameters tab in the dialog (as shown on the previous page).

3. Click on the New button.

4. Enter the name of the parameter.

5. Enter a default initial value. This could be a specific number (e.g. number of resources) or a distribution function.

Hierarchical Model – Delete Scenario Parameters

Linked hierarchical model files synchronize data when you save each file. When you delete a variable, attribute, or scenario parameter in one model file, it is added back in from the other linked files during synchronization.

  1. Unlink your hierarchical model files.
  2. Make your change in each file and save it.
  3. Re-link the hierarchical structure