Scripting
IPSA+ now has a scripted extension library for Python. This enables IPSA+ to be run without a user interface from within a Python shell. This guide provides a full reference to all the IPSA+ objects and their callable functions exposed through Python. Python was chosen for a number of reasons:
- it's simple to use
- it's a mature and well documented language
- it can be used to create/modify Microsoft Office spreadsheet files
The Scripted IPSA+ dll
The Python extension dll contains quite a lot of IPSA+ (about 70%):
- The data model - all the IPSA+ network and analysis data
- The IIF file reading library
- Licensing - it requires a valid IPSA+ license
- Database, UDM and Protection data model - not directly accessible
- Load flow - the IPSA+ load flow and engine loading utilities
- Fault Level - the IPSA+ fault level and engine loading utilities
- Harmonics - the IPSA+ harmonics option and engine loading utilities
Features
The following actions are possible:
- Read and write IPSA+ iif network files
- Full access to view and/or modify all the network data - including the analyis parameters
- Add, edit and view extension data
- Perform Load flow studies and get all the results
- Perform Fault level studies and get all the results
- Perform Harmonics studies and get all the results
- Compare two IPSA+ networks

