Ask Your Question

Revision history [back]

click to hide/show revision 1
initial version

display pssarrays.iecs_currents as polar

After running pssarrays.iecs_currents(), rlst is returned with values in rectangular. After using the command, below, to change SC format to polar the results display in rectangular: What did I miss?

import pssarrays
psspy.bsys(1,0,[0.0,0.0],0,[],1,[9999],0,[],0,[])
rlst=pssarrays.iecs_currents(1,0,1,0,0,0,0,0,0,0,1,1,0,0,0,1,0, 0.08333, 1.1,"","","")

print rslt.scfmt
>rectangular
print rlst.flt3ph[0].ia1
>(0.12169598043-3.0920612812j)

rlst['scfmt'] = 'polar'

print rslt.scfmt
>polar
print rlst.flt3ph[0].ia1
>(0.12169598043-3.0920612812j)**