Ask Your Question
0

Error: unexpected APIOPT value

asked Jul 3 '18

anonymous user

Anonymous

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)

2 answers

Sort by » oldest newest most voted
0

answered Jul 4 '18

perolofl gravatar image

API tree is a real pain. Just use API island instead!

psspy.island()
link

Comments

This is a great answer!

patrickrossiter gravatar imagepatrickrossiter (Jul 15 '18)
0

answered Jul 6 '18

Corey gravatar image

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.

link

Your Answer

Please start posting anonymously - your entry will be published after you log in or create a new account.
Want to format code in your answer? Here is a one minute demo on Youtube

Add Answer

[hide preview]

Question Tools

1 follower

Stats

Asked: Jul 3 '18

Seen: 845 times

Last updated: Jul 06 '18