Ask Your Question

Revision history [back]

click to hide/show revision 1
initial version

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.

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.