A Comprehensive Script Example

The following Python script example will perform the actions of a simple switching study. The script itself is well documented and quite self explanitory.

The commands used in this scritp include:

 - launching PSCAD

 - set licensing mode

 - setting the compiler

 - loading a project

 - changing component parameters

 - running the simulation

 - moving data to output folder

 - sending screenshots to Microsoft Word

 - loading data into Excel and plotting