Scripting Guide

InterPSS Scripting will play a very important role in extending InterPSS functionality. With the scripting capability, the GEditor becomes a MatLab-like development environment. InterPSS at runtime consists of a set of objects, such as AclfNetwork object for loadflow study, or DStabilityNetwork object for transient stability simulation. An AclfNetwork object, in turn, contains a set of connected AclfBus objects and AclfBranch objects. Fundamentally, InterPSS allows you to define scripts at individual object level to augment and/or alter its behavior, which gives the user a very powerful way to extend InterPSS with ulimited possibilities.

The MatLab approach is very popular in the power system academic and research world. However, MatLab based solutions can only stay at university or research lab, since, in our opinion, a MatLab-based solution is not robust and efficient enough for solving large scale power system simulation problems. InterPSS allows you to turn your scripting solution to a formal Java plugin and deployed into InterPSS. Therefore, there is no compromise in performance and scalability.

Bus/Branch Object Scripting - InterPSS, though its GUI, provides standard models for modeling Bus and Branch for purpose of Loadflow analysis, such as Swing, PV and PQ bus, and Short Circuit analysis, such as contributing and non-contributing bus. However, we realized that there might be situations that these models are not detailed enough to solve a particular problem. If this happens, you can either contact the InterPSS development team to add a new model, which may take time, or you can extend InterPSS yourself by adding your own models, using the Bus/Branch object scripting approach.

Custom Analysis Run Scripting - Some times you may want to control how to run your project. InterPSS allows you to define a set of scripts to fully control the run process. For example, you may want to increase step-by-step the power exchange at a particular interchange interface to find out system voltage stability limit.