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

Ask Your Question
0

can not access dyr file after two loop simulation with python

asked Jan 5 '4

Ali-E gravatar image

updated Jan 5 '4

I've encountered an issue with the dyr file in Python. Upon using the command psspy.dyre_new([1,1,1,1],'fileName',"","","") to load the dyr file, it becomes locked after running two simulations. after I stop script and manulay continuew from where its stopped, it again run two simulation and return same error.

File in use. C:\Users---\Desktop\new-folder\WREP_plb.dyr (OpnApplFil/OPNSEA)

1 answer

Sort by » oldest newest most voted
0

answered Jan 9 '4

Tassie Dave gravatar image

I have had this problem. Seems to be due to windows locks on the file. As a work-around I rename the dyr file before each loop, to names like this: temp1.dyr, temp2.dyr, temp3.dyr etc.

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: Jan 5 '4

Seen: 484 times

Last updated: Jan 08 '24