Ask Your Question
0

Error: unexpected APIOPT value

asked 2018-07-03 14:19:57 -0500

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)

edit retag flag offensive close merge delete

2 answers

Sort by ยป oldest newest most voted
0

answered 2018-07-04 02:33:21 -0500

perolofl gravatar image

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

psspy.island()
edit flag offensive delete link more

Comments

This is a great answer!

patrickrossiter gravatar imagepatrickrossiter ( 2018-07-15 18:15:48 -0500 )edit
0

answered 2018-07-06 15:55:20 -0500

Karthik 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.

edit flag offensive delete link more

Your Answer

Please start posting anonymously - your entry will be published after you log in or create a new account.

Add Answer

[hide preview]

Question Tools

1 follower

Stats

Asked: 2018-07-03 14:19:57 -0500

Seen: 37 times

Last updated: Jul 06