Ask Your Question

Revision history [back]

click to hide/show revision 1
initial version

The following code calculates the 3 phase fault current at bus 154 in savnw.sav and writes the result to a text file:

buses = [154]
psspy.bsys(1,0,[0.0,0.0],0,[],len(buses),buses,0,[],0,[])
psspy.ascc_3(1,0,[0,0,0,0,0,1,0,0,0,0,1,0,0,0,0,0,0],1.0,"ascc3P.txt","","")

The file contains the pu current, 69.0545 pu.

  3    154                        69.0545        3.7513  DOWNTN      230.00

Use Ibase=Sbase/Vbase/sqrt(3) = 100/230/sqrt(3) = 0.251022 kA to convert to kA. 69.0545*0.251022 = 17.334 kA.

You can complete the script to rewrite the file with the fault current in kA instead of pu.