Ask Your Question

kcruz's profile - activity

2017-06-06 13:00:38 -0500 answered a question PSSE 34 with excel

Hi

In PPSE 34 you can call the libreries directly, only write in your script

import PSSE34 import pssexcel

etc. etc.

2017-06-06 11:55:20 -0500 received badge  Editor (source)
2017-06-06 11:54:47 -0500 answered a question How do I export short circuit data(.sc) to an excel file using pss/e and python?

Hi

yes this is posible , is necesary use the ascc_currents ( you can see the API manual) this function return the short circuit current and you can save the result in a variable and that write in a excel file

In this example I a use for write the 3 phase fault and line to groun fault in a excel file:

rlst = pssarrays.ascc_currents(sid= system, all = 0, flt3ph = 1, fltlg = 1 )# take the short circuit result and save in the rlst variable

excelfile.setcell((filacont,4),rlst.flt3ph[i].ia.real/1000, numberFormat = '0.00') # here write the 3 phase fault ( rlst.flt3ph[i].ia.real/1000) in KA in a excel file ( for can use excel see in the API excelpy)

excelfile.setcell((filacont,5),rlst.fltlg[i].ia.real/1000, numberFormat = '0.00') # here write the line to groun fault ( rlst.fltlg[i].ia.real/1000) in KA in a excel file