Ask Your Question
0

Sizing of a fixed shunt capacitor

asked 2015-07-10 01:29:30 -0500

PSSE_ABCD gravatar image

Dear All

I want to size my Fixed shunt capacitor based on my loadflow: so say my Capacitor is 300 MVAr but the initial loadflow voltage is 1.05,Thus I want to re-size my MSC as Q/V^2 (almost a constant Q).

I would like to do this in python: i got to the stage of using psspy.shunt_chng of

psspy.shuntchng(153,r"""1""",i,[_f, 300.0/(voltage)**2])

but I do not know know how to obtain a single voltage value for the desired bus which in this case is 153. All I want is to obtain (recall) a numerical value for the given bus so this formula works, but I do not want to type it in.

Can someone help me? Also I would like to do this in array for a larger system but once I prove this simple calculation in python.

edit retag flag offensive close merge delete

1 answer

Sort by ยป oldest newest most voted
0

answered 2015-07-10 15:56:14 -0500

nwilson gravatar image

Sounds like you just need to get the bus voltage for a bus. To get the voltage in pu for bus 153, use the following code:

ierr, busvoltage = psspy.busdat(153,'PU')
edit flag offensive delete link more

Comments

Yes it works, thanks so much....I now have to apply it to an array.

PSSE_ABCD gravatar imagePSSE_ABCD ( 2015-07-11 01:05:22 -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

Stats

Asked: 2015-07-10 01:29:30 -0500

Seen: 830 times

Last updated: Jul 10 '15