PowerWorld Corporation provides software training in the use of PowerWorld Simulator and add-on products OPF, SCOPF, OPF Reserves, ATC, PVQV, Transient Stability, and SimAuto. Our training also covers some basics of the engineering, operations, and economics of interconnected power systems.
Slides used in the 2-day course, Automating PowerWorld Simulator with SimAuto and Python, are available below.
Download Sample Cases, Auxiliary Files, and Python Files used in this training module. The examples work best in Python 3.7.4. A guide for installing Python, Python modules, and the Visual Studio Code Integrated Development Environment (IDE) is available here.
Topics and Outline; Benefits of Automation; Key Questions
Features and Data Types in Python; the PowerWorld Automation Server (SimAuto); Connecting Python to SimAuto; SimAuto Functions and Sample Code
The Model Explorer and Case Information Displays in Simulator; Filtering; Auxiliary Files, Objects, and Variables; Scripting
Reference and Help Documents; Scripting and Python Examples; Custom Fields, Expressions, and Calculated Fields; Keywords; Auxiliary File Export Format Descriptions
Auxiliary File Overview; Automation Example: Case Development and Sensitivity (TLR) Calculations; Auxiliary File Export Format Descriptions
Auxiliary File Export Format Descriptions; Difference Case and Change Case; Present Case Topological Difference from Base Case; Updates in Version 20; Change Mode Tolerance