1

Calculate Three-Phase Short-Circuit Current using Python

Hello

What is the appropriate Python syntax which can calculate and provide only "Three-Phase (symmetrical) short circuit" at a certain bus. The "psspy.scmu" calculates additionally line to ground and double line to ground faults but I need only 3-Phase SC current and to be output it to a txt file by using this syntax: psspy.report_output(2, r"""SC-3PH.txt""", [0, 0])

Thanks in advance.

SamehKozman's avatar
41
SamehKozman
asked 2025-10-19 14:00:37 -0500
edit flag offensive 0 remove flag close merge delete

Comments

add a comment see more comments

2 Answers

1

SCMU solves networks with unbalances, a 3 phase fault is solved as you said, a LG on phase A plus a LLG between phases B and C and ground. You can use the activity ASCC (psspy.ascc_3) to compute 3 phase short-circuit calculations. Other options is the IECS activity.

jbarberia's avatar
38
jbarberia
answered 2025-10-23 13:57:23 -0500
edit flag offensive 0 remove flag delete link

Comments

Thank you so much

SamehKozman's avatar SamehKozman (2025-10-24 07:46:03 -0500) edit
add a comment see more comments
1

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.

perolofl's avatar
3.8k
perolofl
answered 2025-10-26 09:08:37 -0500
edit flag offensive 0 remove flag delete link

Comments

I truly appreciate your generosity, as always. Can I ask about the 3.7513 value. What does it express? To make the fault current outputs in KA, I tried to use the command: psspy.ierr = short_circuit_units(1) but it seems not correct. Could you please help.

SamehKozman's avatar SamehKozman (2025-10-29 15:30:36 -0500) edit

The second value is the X/R ratio. The current output is always in pu. Therefore it is needed to convert to kA by yourself, as I described above.

perolofl's avatar perolofl (2025-10-31 02:44:19 -0500) edit

Thank you so much

SamehKozman's avatar SamehKozman (2025-11-05 04:29:28 -0500) edit
add a comment see more comments

Your Answer

Login/Signup to Answer