Ask Your Question

Revision history [back]

click to hide/show revision 1
initial version

Is it possible to load the PSSE working case instead of the .SAV-file?

Hello.

I've written a program which opens a *.SAV - case and when I press my "calculate" button it does some 1- ,2- , and 3-phase fault calculations.

Thing is that I want the calculations not to be made based on the *.SAV-file but on the PSSE working case currently running in case I've altered some data i.e. by switched of some buses/power lines.

Is there a command to load the working case of a running PSSE process? So instead of loading a *.SAV-file (psspy.case('C:\PSSE\RandomFile.sav') I'm loading the PSSE working case ( psspy.case(WORKING CASE)

Kind regards

Is it possible to load the PSSE working case instead of the .SAV-file?Connection between Python and an already running PSSE-process

Hello.

I've written a program which opens a *.SAV - case and when I press my "calculate" button it does some 1- ,2- , and 3-phase fault calculations.

Thing is that I want the calculations not to be made based on the *.SAV-file but on the PSSE working case currently running in case I've altered some data i.e. by switched of some buses/power lines.

Ok. So I opened up a PSSE-process manually in windows. Is there a command to load way to connect to this PSSE-process from my python program so that I can collect its data thats in the working case of a case?

Calling psspy.psseinit() is not the answer because it initializes a new PSSE-process which is run in the background and that I can't see graphically.

I want to be able to access the data from the manually started graphical PSSE-process from Python. If there is no way of doing that, is there then a way of initializing a new PSSE-process (psseinit()) and then making this PSSE-process run open, graphically, in Windows? I don't want to have it running in the background.

The idea of my program is to let PSSE process? So modify the net graphically with split bus, switch off line and other commandos and what the python part is to do it so tell PSSE when to make Fault calculations and then collect the fault data and present it graphically in my own python program instead of loading a *.SAV-file (psspy.case('C:\PSSE\RandomFile.sav') I'm loading as text it the PSSE working case ( psspy.case(WORKING CASE)Output Bar.

Kind regards

Connection between Python and an already running PSSE-process

Hello.

Ok. So I opened up a PSSE-process manually in windows. Is there a way to connect to this PSSE-process from my python program so that I can collect its data thats in the working case?

Calling psspy.psseinit() is not the answer because it initializes a new PSSE-process which is run in the background and that I can't see graphically.

I want to be able to access the data from the manually started graphical PSSE-process from Python. If there is no way of doing that, is there then a way of initializing a new PSSE-process (psseinit()) and then making this PSSE-process run open, graphically, in Windows? I don't want to have it running in the background.

The idea of my program is to let PSSE modify the net network graphically with split bus, switch off line and other commandos and what the python part is to do it so tell PSSE when to make Fault calculations and then collect the fault data and present it graphically in my own python program instead of as text it the PSSE Output Bar.

Kind regards