0

PSSPY Memory Leak

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.

Jacde's avatar
13
Jacde
asked 2015-09-03 08:53:38 -0500
edit flag offensive 0 remove flag close merge delete

Comments

add a comment see more comments

1 Answer

0

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?

MW's avatar
11
MW
answered 2015-09-24 01:48:00 -0500
edit flag offensive 0 remove flag delete link

Comments

add a comment see more comments

Your Answer

Login/Signup to Answer