Ask Your Question
0

SCMVA values don't match between PSSE GUI and Python API function

asked Mar 1 '0

annuko gravatar image

updated Mar 2 '0

I calculated SCMVA capacity at a bus in PSSE using a python "ascc_currents" function with the bus voltage option 1 (all buses at specified value):

Here is how the function was used:

rlst = pssarrays.ascccurrents(sid=sidin, all=all, flt3ph=1, voltop=1,genxop=0)

The calculated SCMVA using above function does not match with the value from GUI of PSSE with "all buses at specified voltage" is selected.

Surprisingly, the value from python function (using option 1) matches with the value from GUI when the voltage option is set to faulted bus at specified voltage in GUI.

Can anyone tell me what could be the reason for this difference?

Thanks

2 answers

Sort by » oldest newest most voted
0

answered Oct 4 '3

jconto gravatar image

Record to python script the GUI process and then compare this script with your script.

link
0

answered Oct 4 '3

jbarberia gravatar image

updated Oct 4 '3

The main difference lies in the coordinates used to display the information.

If the coordinates are set to "polar" then the real part is the magnitude of the short circuit current and the imaginary part is the angle in degrees.

rlst = pssarrays.ascccurrents(sid=sidin, all=all, flt3ph=1, voltop=1,genxop=0)
print rlst.scfmt # polar

base_power = psspy.sysmva()
buses = rlst.fltbus
scmva = {fltbus: rlst.flt3ph[i].ia1.real * base_power for i, fltbus in enumerate(buses)}
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

1 follower

Stats

Asked: Mar 1 '0

Seen: 397 times

Last updated: Oct 04 '23