Ask Your Question
0

How can I get the Specific Bus number and PU ? (Not All)

asked Jul 31 '3

Jimmy gravatar image

updated Jul 31 '3

How can I get the Specific Bus number and PU ? (Not All)

I've been tried two ways, but it still couldn't work.

  1. I want to get Only Bus number 875's PU volts (maybe 2 or 3 or 4 buses number and PU volts, but not all)

I tried the code below but I can't see the result in the python shell.

psspy.bsys(0,0,[ 0.38, 345.],0,[],1,[875],0,[],0,[])

psspy.pout(0,0)

2.The second way I've tried to use psspy.abusint、 psspy.abusreal and also put it into excel.

but I read the PSS/E API. This way seems like can't get specific Bus I want.

ierr,buses = psspy.abusint(-1,1,string='NUMBER')

buses

ierr,volts = psspy.abusreal(-1,1,string='PU')

volts

I appreciate you taking the time to read my question.

1 answer

Sort by » oldest newest most voted
0

answered Jul 31 '3

perolofl gravatar image

Use busdat to get the voltage for a single bus.

ierr, vpu = psspy.busdat(875,'PU')

The voltage is here returned in variable vpu.

link

Comments

Thank you so much.

Jimmy gravatar imageJimmy (Aug 1 '3)

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 31 '3

Seen: 1,324 times

Last updated: Jul 31 '23