Creating scenarios with different variable allocations

You can create scenarios with different variable values, for example to calculate the same procedure with different values.

With each scenario, the database stores which variables exist with which values. When calculating scenarios with variables, the corresponding variable values of the scenario are set.

1.  In the Edit project window, click the Scenarios tab.

2.  Then click the  Insert scenarios with different variable allocations symbol.

Note: This function is only available if variables have been created in the base version or in a procedure parameter set under Calculate > Procedure variables > Definitions (Creating procedure variables).

The Create new scenarios window opens.

3.  Make the following changes:

Element

Description

Base code

Enter a code for the scenarios

Modifications

Allocated modifications

Use this button to allocate modifications to the scenarios (Assigning modifications to a scenario). If you do not allocate a modification, the scenarios correspond to the base version.

Procedure parameter set

Assignment of a set of procedure parameters to the scenarios using the drop-down list (Specifying procedure parameters)

Table

All defined variables of the base version or the selected procedure parameters are listed here.

Variable ID, Code, Name

Display of ID, code and name of variables

Variable values

You can enter a comma-separated list of values for string variables.

From, To

Here you enter the desired value range of the variable.

Increment

Enter the desired increment here.

Notes

If a value does not match the type of variable, the cell is highlighted.

The number of scenarios created with the current settings is displayed below the table.

4.  Confirm with OK.

The scenarios are inserted. Each scenario is displayed in a row and for each variable an editable column is displayed in the Scenarios tab.

Video: How To Generate Scenarios and Use Multi-Run with SBA

All How To videos for PTV Visum