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)
First time here? We are a friendly community of Power Systems Engineers. Check out the FAQ!
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)
API tree is a real pain. Just use API island instead!
psspy.island()
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.
Asked: 2018-07-03 14:19:57 -0500
Seen: 930 times
Last updated: Jul 06 '18