![]() | 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..)