First time here? We are a friendly community of Power Systems Engineers. Check out the FAQ!

Ask Your Question
0

PSS/E Crash when using DFAX from Python

asked Feb 13 '0

Cid gravatar image

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!

1 answer

Sort by » oldest newest most voted
0

answered Feb 18 '0

Cid gravatar image

I changed to PSSE 34 and the problem dissapeared. Mistery solved!

link

Your Answer

Please start posting anonymously - your entry will be published after you log in or create a new account.
Want to format code in your answer? Here is a one minute demo on Youtube

Add Answer

[hide preview]

Question Tools

1 follower

Stats

Asked: Feb 13 '0

Seen: 704 times

Last updated: Feb 18 '20