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

Ask Your Question
0

PSSPY Memory Leak

asked Sep 3 '15

Jacde gravatar image

Hello all,

Running PSS/E v32, I've noticed that if I run psspy calls within a script too many times (in a loop for example) python starts leaking memory. If I make the loop too big, python consumes so much memory that it can't function properly anymore.

Has anyone run into this memory leakage problem before and more importantly found a way to fix it?

Thanks.

1 answer

Sort by » oldest newest most voted
0

answered Sep 24 '15

MW gravatar image

Hi Jacde,

I've had the same problem, ended up just running my cases in smaller batches as a "quick fix". Otherwise, the resulting output had alot of ripples in them and unstable starting conditions (during steady state before trip). However, I'd be very interested in hearing an answer on this subject if anyone has it.

My script is a three layered loop running all the combinations of the data file types and specified contingencies (.sav, .dyr and then specified line-trips) with each file type having approximately 8 files. I also noticed that when running the same script with the same number of cases/contingencies/dynamic data files using the example file savnw I did not get the same problem, however the .sav-file I am using for my simulations are >200 times in terms of kB.

I've sent the question forward to PTI Support but they have been unable to answer. Sorry I cannot be of more help, anyone else here with an answer to this?

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

Stats

Asked: Sep 3 '15

Seen: 798 times

Last updated: Sep 24 '15