Ask Your Question
1

Solving Power Case - Swing Bus Error

asked 2013-06-09 21:13:13 -0500

jwari gravatar image

Hi Everyone, I would really appreciate if somebody please help me resolving the problem I have using PSS/E version 33. I am trying to solve the base case but it gives me an error that X number of buses in island without a swing bus--use activity tree. I guess islands refer to type 4 buses. Correct me if I am wrong? Which are not connected to anything. Should I remove those buses from the case (need expert opinion)? If I should then could someone please write a python code to remove those islands and solve the case.

That will be a great help.

edit retag flag offensive close merge delete

1 answer

Sort by ยป oldest newest most voted
1

answered 2013-06-10 10:16:36 -0500

nyga0082 gravatar image

updated 2013-06-10 10:17:30 -0500

Type 4 buses are not islands. When you perform the Tree command (which disconnects all islands), the buses BECOME type 4 (disconnected) buses. Yes, you should disconnect these buses if you're trying to solve the case.

You can disconnect buses by using the command prompt in PSSE. All you have to do is enter the command "tree" and follow the prompts.

Alternatively, this is a great introduction to Python itself. Since it's such a straightforward problem, you should be able to get the hang of creating a simple Python script. Look through the PSSE API document, and find the section which discusses the TREE command.

I will give you a couple hints to get you started:

1) Remember to import PSSPY.py at the start of your program

2) You first want to find out how many islands are in your case. The TREE command can accomplish this (using one of the APIOPT settings)

3) You want to run the Tree command as many times as you need in order to take all of the islands offline. Use a "while" loop for this

If this is a really pressing matter, let me know and I can give you a working code. Otherwise I don't mean to be cryptic, I just think that learning Python is a huge advantage when dealing with PSSE, and you're better off learning through trial and error as opposed to just using scripts other people have written.

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: 2013-06-09 21:13:13 -0500

Seen: 4,141 times

Last updated: Jun 10 '13