Ask Your Question
1

How do I delete a bus from a working case?

asked Feb 23 '12

Daniel_Hillier gravatar image

In a previous question I learnt how to add a bus to a working case (psspy.bus_data_2(...)), now I would like to know how to completely remove a bus from a working case?

Comments

@Daniel Hillier why would you want to eliminate some bus data after have spent considerable time and effort in building up its connectivity?

amaity gravatar imageamaity (Mar 1 '12)

Not much use at the moment. Just thought it may be useful to know if I was transitioning old cases.

Daniel_Hillier gravatar imageDaniel_Hillier (Mar 7 '12)

1 answer

Sort by » oldest newest most voted
2

answered Mar 7 '12

Daniel_Hillier gravatar image

I found that psspy.extr(sid,all,status) will remove all buses and connected branches for the sid provided (or all buses if all=1).

Sounds like a fun way to spend an afternoon.

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

Stats

Asked: Feb 23 '12

Seen: 1,602 times

Last updated: Mar 06 '12