First time here? We are a friendly community of Power Systems Engineers. Check out the FAQ!
1 | initial version |
Use python error catching feature:
for i in events:
try:
psspy.comandxx() #potentially could cause a crash
except:
print 'error message'
continue # next event
#....do something if no error occurred: