|  1 |    initial version    |  
Admittance matrix:
psspy.output_y_matrix(0,1,0,0,r"""C:\example.dat""")
 and then use the csv module to read the file you create.
You can also read the line connections from that file after removing self-admittance entries.
For bus angles, you can use
ierr, rarray = abusreal(0, 2, "ANGLED")
 See the API documentation for more options for abusreal if you want to specify a subsystem or limit the results to only in-service buses.
 
                
                whit loves you.      Content on this site is licensed under a Creative Commons Attribution Share Alike 3.0 license.