Ask Your Question

Revision history [back]

click to hide/show revision 1
initial version

How to unload dyr file from memory in python?

Hi All,

The dyr file once loaded using the python command is getting locked after performing two simulations. psspy.dyre_new([1,1,1,1],'fileName',"","","").

Hence, I am not able to edit the dyr file without restarting the python kernal. Is there any way to unload the dyr files and clear memory using some python commands? I couldn't find anything in the API document.

How to unload dyr file from memory in python?

Hi All,

The dyr file once loaded using the python command is getting locked after performing two simulations. psspy.dyre_new([1,1,1,1],'fileName',"","",""). (I have used the command psspy.dyre_new([1,1,1,1],'fileName',"","","") to load the dyr file in).

Hence, I am not able to edit the dyr file without restarting the python kernal. Is there any way to unload the dyr files and clear memory using some python commands? I couldn't find anything in the API document.

Thanks in advance