First time here? We are a friendly community of Power Systems Engineers. Check out the FAQ!
1 | initial version |
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.
2 | No.2 Revision |
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.