0

Automate short circuit current calculations in PSSE

I want to automate the process of getting the fault current (at the faulted bus). I know that I can use psspy.ascc_3(), but it generates a report, either to the progress window, or to any redirected file. Is there any way to directly get the fault current using psspy, without having to parse the data from the ASCC report?

bikiran1991's avatar
47
bikiran1991
asked 2024-01-29 10:36:49 -0500
edit flag offensive 0 remove flag close merge delete

Comments

add a comment see more comments

1 Answer

0

Use module pssarrays (or replacement module arrbox) to run faults and create results in dictionary format. Specific keyworks will help extracting data like (code below is modified from a related answer posted at "Retrieve ASCC result and process it in Python" by @perolofl):

 # ascc_t1.py - run in PSSe GUI
import pssarrays
psspy.case('savnw.sav')
psspy.bsys(0,0,[ 1., 500.],0,[],1,154,0,[],0,[])
rlst = pssarrays.ascc_currents(0,0,flt3ph=1)
f3ph = rlst.flt3ph[0].ia1
z1 = rlst.thevz[0].z1
print('f3ph=',f3ph)
print('z1=',z1)

To know what keywords to use on the 'rlst' variable, check the post "Where can i find the different functions that I can use to export data from PSSE to excel?" and apply it to the module 'arrbox'

jconto's avatar
2.9k
jconto
answered 2024-01-29 17:11:45 -0500
edit flag offensive 0 remove flag delete link

Comments

add a comment see more comments

Your Answer

Login/Signup to Answer