Error: unexpected APIOPT value
I am trying to tree islands caused due to applying outages and I am getting the unexpected APIOPT value: 2.
buses = psspy.tree(1,1) if buses > 0: while buses != 0: psspy.tree(2,1)
add a comment
I am trying to tree islands caused due to applying outages and I am getting the unexpected APIOPT value: 2.
buses = psspy.tree(1,1) if buses > 0: while buses != 0: psspy.tree(2,1)
This is a great answer!
Thank you for your quick response. I tried using psspy.island() and solved the case. I am seeing new error, Multi-step API routine TREE must be completed first. Can you please help me with the error?
Thank you.