A scenario consists of a set of results from certain nodes that are stored in order to be used later for comparison.
Many scenarios can exist in one version. Pyplan allows the comparison of scenarios even between different versions of the same application.
Comparison
In order to compare two or more scenarios, the results to be compared must have the same structure.
Before creating a scenario, it is necessary to define a Scenario Template. The scenario template defines which nodes will be included as a result in a scenario.
To create a scenario template, click on the menu on the Scenario templates option and then on the Create button.
The scenario template has the following properties:
To access the scenario manager, click on the “Scenarios / Scenarios manager” option in the main menu.
From the administrator you can create, edit, export and import scenarios.
To create a new scenario you must click on the “Create” button. Then a window like the following one will open:
Here you must define the name, the alias (used as a label for comparison), an optional description, and you must specify the scenario template on which to base the creation of the scenario.
Clarification
During this step, you define the scenario according to your requirements. Optionally, you can save the scenario results by selecting the Run scenario after save checkbox. Later we will see how you can update the results of a scenario or generate a new scenario without using the scenario manager.
Once you have defined a scenario (specifying the nodes that will persist), you can save the current scenario or create a new scenario by clicking on the “Save scenario” button.
If you select the “Existing scenario” option:
When confirmed, the results of the nodes defined in the selected scenario will be saved, overwriting the previous results.
If you select the “Create new scenario” option:
you must specify the scenario template to be taken as a base and assign a name and alias. When confirmed, a new scenario will be created with the results of the nodes that were specified in the scenario selected as a base.
You can compare different scenarios (even from different versions) by clicking on the “Select scenarios” button:
In the next window you can select the scenarios to be compared, specifying which of these will be used as the basis for the comparison.
For a component (table or graph) to allow scenario comparison, you must enable the comparison option from the component properties:
This option will add a new dimension “Pyplan Scenarios” which will contain the list of selected scenarios. You can also specify whether or not to add the calculated difference fields (both absolute and percentage).