Ask Your Question

Revision history [back]

click to hide/show revision 1
initial version

I spent a few days a while back trying to tackle this. A few things I learned:

  • There is this program someone made to create slider diagrams: Local Area Viewer http://www.cleargridsolutions.com/ How it works is he exports the case info to a page file and then does the actual creation of the slider diagram in an independent exe. There is a python script that is used as an interface between PSSE and his standalone exe. Interesting to look at anyways.
  • I then started writing a set of classes to create diagrams based on the old psse DRAW command/format (because slider diagram xml was too much for me to care about). Its like a simpler slider diagram. I would then save the draw commands as a .drw file and import it using the api completely seamlessly in python. I got it about 25% done before deciding it was too much hassle, but I do think the idea would work.

I spent a few days a while back trying to tackle this. A few things I learned:

  • There is this program someone made to create slider diagrams: Local Area Viewer http://www.cleargridsolutions.com/ How it works is he exports the case info to a page file and then does the actual creation of the slider diagram in an independent exe. There is a python script that is used as an interface between PSSE and his standalone exe. Interesting to look at anyways.
  • I then started writing a set of classes to create diagrams based on the old psse DRAW command/format (because slider diagram xml was too much for me to care about). Its like a simpler slider diagram. I would then save the draw commands as a .drw file and import it using the api completely seamlessly in python. I got it about 25% done before deciding it was too much hassle, but I do think the idea would work.

UPDATE

I was browsing through the documentation and found a reference to "sliderPy" which is used to modify slider diagrams. I haven't had a chance to look at it at all, but here is something to get you started:

import psspy
import sliderPy
help(sliderPy)