Running a Short-Circuit Calculation
The short circuit calculation is carried out with the calc_sc function:
- pandapower.shortcircuit.calc_sc(net, bus=None, fault='3ph', case='max', lv_tol_percent=10, topology='auto', ip=False, ith=False, tk_s=1., kappa_method='C', r_fault_ohm=0., x_fault_ohm=0., branch_results=False, check_connectivity=True, return_all_currents=False, inverse_y=True, use_pre_fault_voltage=False)
Calculates minimal or maximal symmetrical short-circuit currents. The calculation is based on the method of the equivalent voltage source according to DIN/IEC EN 60909. The initial short-circuit alternating current ikss is the basis of the short-circuit calculation and is therefore always calculated. Other short-circuit 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.
- Parameters:
**net** (pandapowerNet)
**bus** (int, list, np.array, None)
bus (defined)
***fault** (str, 3ph) –
“3ph” for three-phase
”2ph” for two-phase (phase-to-phase) short-circuits
”1ph” for single-phase-to-ground faults
**case** (str, "max") –
“max” for maximal current calculation
”min” for minimal current calculation
**lv_tol_percent** (int, 10) –
6 for 6% voltage tolerance
10 for 10% voltage olerance
**ip** (bool, False)
**ith** (bool, False)
**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)
**x_fault_ohm** (float, 0)
**branch_results** (bool, False)
**return_all_currents** (bool, False)
each (branch, bus)
**inverse_y** (bool, True)
efficienter (factorization version is in experiment which should be faster and memory)
**use_pre_fault_voltage** (bool, False)
C") ("Type)
OUTPUT:
Example
calc_sc(net)
print(net.res_bus_sc)
from pandapower.shortcircuit import calc_sc
from pandapower.networks import mv_oberrhein
net = mv_oberrhein()
net.ext_grid["s_sc_min_mva"] = 100
net.ext_grid["rx_min"] = 0.1
net.line["endtemp_degree"] = 20
calc_sc(net, case="min")
print(net.res_bus_sc)