First time here? We are a friendly community of Power Systems Engineers. Check out the FAQ!

Ask Your Question

Revision history [back]

click to hide/show revision 1
initial version

asked Jan 30 '15

kdlewis95 gravatar image

Exporting branch R,X values to Excel

I have not been able to figure out how to extract the R & X values from the complex array created by using psspy.abrncplx and exporting the values to excel.

The snippet from the script:

ierr, branchrx = psspy.abrncplx(-1, string='RX') xl.set_range(2, 'd', zip(*branchrx))

the script fails due to the zip function being unable to process the complex array.

Any help would be appreciated.

click to hide/show revision 2
No.2 Revision

Exporting branch R,X values to Excel

I have not been able to figure out how to extract the R & X values from the complex array created by using psspy.abrncplx and exporting the values to excel.

The snippet from the script:


ierr, branchrx = psspy.abrncplx(-1, string='RX') string='RX')

xl.set_range(2, 'd', zip(*branchrx))


the script fails due to the zip function being unable to process the complex array.

Any help would be appreciated.