Ask Your Question

Revision history [back]

click to hide/show revision 1
initial version

PSS/E Crash when using DFAX from Python

Hi everyone,

I am experiencing a bad case of PSS/E crash when using DFAX command within a Python Scripts. The DFAX command is included in a certain loop to calculate sensitivities of a bus to a branch flow. Every now and then the script crashes and the process is interrupted.

There is a message when debugging the crash, saying there is an exception not controlled in 0x058A5225 (psseng.dll), access violation trying to read the location 0x1C207A88.

I suspect that there is a problem when the script creates the dfax file, as if the dfax file cannot be accessed many times, or there is a problem when accessing multiple times certain dll. The crashing moment seems to happen randomly, at different moments in the loop.

Any body experiencing this type of problems may give me a clue?

I am using PSSE 33.5

thanks in advance!