Ask Your Question
0

Automate short circuit current calculations in PSSE

asked Jan 29 '4

bikiran1991 gravatar image

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?

1 answer

Sort by » oldest newest most voted
0

answered Jan 29 '4

jconto gravatar image

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'

link

Your Answer

Please start posting anonymously - your entry will be published after you log in or create a new account.
Want to format code in your answer? Here is a one minute demo on Youtube

Add Answer

[hide preview]

Question Tools

1 follower

Stats

Asked: Jan 29 '4

Seen: 508 times

Last updated: Jan 29 '24