Viewing Simulation Options in the Parameter Grid
Simulation sets are an inherent part of the workspace, and can be viewed and modified from within the workspace primary window.

The concept of a simulation set provides the foundation for parallel computing in PSCAD. A simulation set is a container of sorts, used to compartmentalize and configure groups of simulations. All simulations placed within a particular set are launched simultaneously (in parallel), utilizing all processing resources available. If multiple simulation sets have been defined, then each set is run sequentially as they appear in the list of sets: In the image above for example, SimulationSet1 will launch and run the ieee_ssr_bench and Study_2 projects simultaneously. Once finished, SimulationSet2 will launch and run the Cigre_Benchmark project. The sequential launching of all sets is automatic, if the user selects to run all sets.
The image below illustrates a scenario on how resources are utilized when running simulations in sets. In this example, there are two sets, one containing 5 simulations, and the other 9. As the local processor is 8-core, then there are 7 cores available (one used by PSCAD) to run the processes. The second set contains more simulations than there are cores available (9 simulations, 7 cores). In these situations, the operating system will force all 9 processes to be shared amongst the available resources. Obviously, the more cores available for parallel processing, the larger the sets of simulations can be run without any impact on efficiency.
|
|
Set Containing 5 Simulations Uses One Core For Each Directly |
Set Containing 9 Simulations Must Share the 7 Cores Available (Decreased Efficiency) |
Only projects loaded under the Projects branch in the workspace primary window may be added as a Simulation in a Simulation Set. Simulation sets and corresponding settings are all stored as part of the workspace.
For more information on manipulating simulation sets, see the following topics (found in Operation and Feature Overview | Workspace):
Adding a Simulation to a Simulation Set
To invoke the Simulation Set Options dialog, right-click on an existing simulation set and select Options...

The following describes the options available for simulation sets:

Name: The name of the simulation set. Name length must be 30 characters or less, and must only contain valid characters.
Enabled: If set to Disabled, this simulation set will be excluded when the Run All command is executed. See Running Simulations Sets.
Pre and post-run processes may be performed between simulation set runs. For example, a batch file can be used to copy or move EMTDC output files to another folder before the next simulation set is started.
Post-Run Process: Specify an executable (*.exe) or batch (*.bat) file to run, after the simulation set has completed.
Wait (Post-Run): Select Wait or Do Not Wait. If wait is selected, PSCAD will wait for the Post-Run Process to complete before continuing with the simulation set run.
Pre-Run Process: Specify an executable (*.exe) or batch (*.bat) file to run, before the simulation set has completed.
Wait (Pre-Run): Select Wait or Do Not Wait. If wait is selected, PSCAD will wait for the Pre-Run Process to complete before continuing with the simulation set run.
To invoke the Simulation Options dialog, right-click on an existing simulation and select Simulation Options...

The following describes the options available for simulations:

Simulation Set: Display only. This is the simulation set, in which this simulation is housed.
Namespace: Display only. This is the associated project namespace name.
Display Name: Enter a name that will be used only for display in the workspace pane.
Substitution Set: Choose which global substitution set is to be associated with this simulation. See Global Substitutions Pane for a detailed discussion on global substitutions.
Task Count: Specify the total number of times a simulation will execute. Each simulation can launch multiple instances of itself for batch processing, each assigned a rank number used to isolate control behaviour. See Parallel Multiple Run (PMR) for more details.
Maximum Volley: Specify the maximum number simulations to launch in parallel. This number should be chosen based on the number of processor cores available to you. The default maximum is 8, which is limited by your PSCAD license. To increase this limit, please contact the PSCAD Sales Desk (sales@pscad.com).
Tracing: Select the level of tracing you prefer for this simulation. As a cautionary note, tracing should only be enabled during a testing and debugging. When performing bulk simulations (ex. parametric studies), tracing should remain disabled, as simulation speed can be greatly affected. If Enable Tracing (Single) is selected, you must be specify a Tracing Rank. For more details on tracing, see Volley Launch (SPMD).
Tracing Rank: Specify which simulation task (rank number) will provide tracing (or plotting) information back to PSCAD. For example, if the Task Count is set to 10, then there are 10 possible simulations that can be used as a 'tracer'. See Volley Launch (SPMD) for more details.
Snapshot File: If starting from a snapshot file, this option allows you to select whether to use the same snapshot file for all tasks, or a specific snapshot file for each task, based on a unique rank number.
Force Rebuild: Force a rebuild of the project associated with this simulation, prior to launch and between runs. When enabled, a clean action is performed on the project temporary folder, thereby forcing a rebuild of the project. Note that enabling this option can result in lost data (ex. snapshot and output files).
Managing simulation and simulation set options can become unruly when many simulation sets are defined in the workspace. Thankfully, the Parameter Grid may be utilized for these tasks. Simulation set options, simulation options, simulation project setting overrides, and simulation layer overrides, may all be managed through the parameter grid:
|
|
|
Simulation Set Options |
Simulation Options |
Project Setting Overrides and Layer Overrides |
Here is an example simulation options view in the parameter grid:
