Ask Your Question
0

Sizing of a fixed shunt capacitor

asked Jul 10 '15

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.

1 answer

Sort by » oldest newest most voted
0

answered Jul 10 '15

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')
link

Comments

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

PSSE_ABCD gravatar imagePSSE_ABCD (Jul 11 '15)

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: Jul 10 '15

Seen: 916 times

Last updated: Jul 10 '15