Running Models: Overview
Once you have configured the input Datafeeds for a Scenario, you are then ready to run the Scenario through the calculations of the Package's Transformer (i.e. model). The result of running a Scenario through a Transformer will be to generate one or more output Datafeeds for the Scenario.
Running a Scenario
To run a Scenario:
- Select the Scenario(s) you want to run in the Library Explorer.
- Choose Run from the Scenario menu.
Tip
You can also run Scenario(s) by right-clicking on the Scenario(s) and selecting Run, or by clicking on the Run icon in the SyncroSim toolbar.
After starting a Run, the Run Monitor will appear and show you the status of the currently running Scenarios. Note that you can run multiple Scenarios at the same time as long as they belong to the same Project.
Results Scenarios
Whenever you run a Scenario, the first thing SyncroSim does is to automatically spawn a new Scenario - called a Results Scenario - that is an exact copy of the original Scenario (i.e it contains the original Scenario's values for all input Datafeeds). It is this Results Scenario - rather than the original Scenario - that is then passed to the Package's Transformer in order to generate model output, with the results of the Transformer's calculations then being added to the Results Scenario as output Datafeeds (and thus the name "Results" Scenario). In this way the Results Scenario contains both the output of the run and a snapshot record of all the model inputs.
Once a model run is complete, a new Results Scenario will be added to Results subfolder of the original Scenario in the Library Explorer.
In the image above, Scenario 2 has been run, as indicated by the green arrow overlay for its icon. There is also now a Results subfolder containing a single Results Scenario with an ID of 5. By default the date and time of the model run is appended to the Results Scenario name.
Note
Results Scenarios behave much like regular Scenarios. Key differences however include: (1) Results Scenarios contain both input and output Datafeeds (while regular Scenarios contain only input Datafeeds); (2) Results Scenarios are always read-only (with the exception of the Scenario name, which can be changed after the run); (3) Results Scenarios have an additional Run Log Summary Property.