First time here? We are a friendly community of Power Systems Engineers. Check out the FAQ!
| 1 | initial version |
I have a script that uses a for loop to iterate through a list of faults on a case. I was wondering if there was a way to check if pss/e is getting hung up on the fault it is running and move on to the next iteration of the loop?
| 2 | include's code from @drsieb01's comment |
I have a script that uses a for loop to iterate through a list of faults on a case. I was wondering if there was a way to check if pss/e is getting hung up on the fault it is running and move on to the next iteration of the loop?
(edit to include code from @drsieb01 's comment)
Example:
for fault in os.listdir('faultfile'):
psspy.runrspnsfile(...file path..)
whit loves you. Content on this site is licensed under a Creative Commons Attribution Share Alike 3.0 license.