Ask Your Question
0

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

asked 2023-07-31 02:08:38 -0600

Jimmy gravatar image

updated 2023-07-31 02:10:12 -0600

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.

edit retag flag offensive close merge delete

1 answer

Sort by » oldest newest most voted
0

answered 2023-07-31 03:44:27 -0600

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.

edit flag offensive delete link more

Comments

Thank you so much.

Jimmy gravatar imageJimmy ( 2023-08-01 04:05:30 -0600 )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: 2023-07-31 02:08:38 -0600

Seen: 1,297 times

Last updated: Jul 31 '23