Ask Your Question
0

Calculate Three-Phase Short-Circuit Current using Python

asked 2025-10-19 14:00:37 -0500

SamehKozman gravatar image

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.

edit retag flag offensive close merge delete

2 answers

Sort by ยป oldest newest most voted
0

answered 2025-10-26 09:08:37 -0500

perolofl gravatar image

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.

edit flag offensive delete link more

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 gravatar imageSamehKozman ( 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 gravatar imageperolofl ( 2025-10-31 02:44:19 -0500 )edit
0

answered 2025-10-23 13:57:23 -0500

jbarberia gravatar image

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.

edit flag offensive delete link more

Comments

Thank you so much

SamehKozman gravatar imageSamehKozman ( 2025-10-24 07:46:03 -0500 )edit

Your Answer

Please start posting anonymously - your entry will be published after you log in or create a new account.

Add Answer

[hide preview]

Question Tools

1 follower

Stats

Asked: 2025-10-19 14:00:37 -0500

Seen: 151 times

Last updated: Oct 26