Ask Your Question
0

psspy tree PSSE command API

asked 2016-11-21 15:54:46 -0500

Power_System_Engineer gravatar image

What's the best way to check for island buses? I found the psspy.tree(1,0) but unfortunately, if there are no island buses, it throws an error when I change the option to 2 to disconnect all island buses. What I would like to do is check if there are island buses not equal to zero, then execute the psspy.tree(2,1).

edit retag flag offensive close merge delete

1 answer

Sort by ยป oldest newest most voted
0

answered 2016-11-21 16:54:30 -0500

perolofl gravatar image

updated 2016-11-22 02:08:28 -0500

The easiest way to disconnect all island buses is to use API island!

ierr = psspy.island()

ierr shows the number of tripped islands

edit flag offensive delete link more

Comments

That works great if there are island buses, but it is throwing me an ierr = 1 which indicates that there are no island buses. So how would I check if there are island buses or not and if so then invoke the psspy.island()? Ok nvm I figured it out. Thanks for your help!

Power_System_Engineer gravatar imagePower_System_Engineer ( 2016-11-22 08:54:47 -0500 )edit

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: 2016-11-21 15:54:46 -0500

Seen: 1,289 times

Last updated: Nov 22 '16