Running a ShortCircuit Calculation¶
The short circuit calculation is carried out with the calc_sc function:

pandapower.shortcircuit.
calc_sc
(net, fault='3ph', case='max', lv_tol_percent=10, topology='auto', ip=False, ith=False, tk_s=1.0, kappa_method='C', r_fault_ohm=0.0, x_fault_ohm=0.0, branch_results=False, check_connectivity=True, return_all_currents=False, bus=None, inverse_y=True)¶ Calculates minimal or maximal symmetrical shortcircuit currents. The calculation is based on the method of the equivalent voltage source according to DIN/IEC EN 60909. The initial shortcircuit alternating current ikss is the basis of the shortcircuit calculation and is therefore always calculated. Other shortcircuit currents can be calculated from ikss with the conversion factors defined in DIN/IEC EN 60909.
The output is stored in the net.res_bus_sc table as a short_circuit current for each bus.
 INPUT:
net (pandapowerNet) pandapower Network
*fault (str, 3ph) type of fault
“3ph” for threephase
“2ph” for twophase shortcircuits
“1ph” for singlephase ground faults
case (str, “max”)
“max” for maximal current calculation
“min” for minimal current calculation
lv_tol_percent (int, 10) voltage tolerance in low voltage grids
6 for 6% voltage tolerance
10 for 10% voltage olerance
ip (bool, False) if True, calculate aperiodic shortcircuit current
Ith (bool, False) if True, calculate equivalent thermical shortcircuit current Ith
topology (str, “auto”) define option for meshing (only relevant for ip and ith)
“meshed”  it is assumed all buses are supplied over multiple paths
“radial”  it is assumed all buses are supplied over exactly one path
“auto”  topology check for each bus is performed to see if it is supplied over multiple paths
tk_s (float, 1) failure clearing time in seconds (only relevant for ith)
r_fault_ohm (float, 0) fault resistance in Ohm
x_fault_ohm (float, 0) fault reactance in Ohm
branch_results (bool, False) defines if shortcircuit results should also be generated for branches
return_all_currents (bool, False) applies only if branch_results=True, if True shortcircuit currents for each (branch, bus) tuple is returned otherwise only the max/min is returned
bus (int, list, np.array, None) defines if shortcircuit calculations should only be calculated for defined bus
inverse_y (bool, True) defines if complete inverse should be used instead of LU factorization, factorization version is in experiment which should be faster and memory efficienter
OUTPUT:
 EXAMPLE:
calc_sc(net)
print(net.res_bus_sc)
import pandapower.shortcircuit as sc
import pandapower.networks as nw
net = nw.mv_oberrhein()
net.ext_grid["s_sc_min_mva"] = 100
net.ext_grid["rx_min"] = 0.1
net.line["endtemp_degree"] = 20
sc.calc_sc(net, case="min")
print(net.res_bus_sc)