Balanced AC Power Flow

pandapower uses PYPOWER to solve the power flow problem:

alternate Text

Note

If you are interested in the pypower casefile that pandapower is using for power flow, you can find it in net[“_ppc”]. However all necessary informations are written into the pandpower format net, so the pandapower user should not usually have to deal with pypower.

If available, the librabry lightsim2grid is used as a backend for power flow simulation instead of the implementation in pandapower, leading to a boost in performance. The library lightsim2grid is implemented in C++ and can either be installed with pip install lightsim2grid, or built from source. More about the library and the installation guide can be found in the documentation or its GitHub repository.

Temperature-Dependent Power Flow (TDPF)

pandapower supports Temperature Dependent Power Flow (TDPF) with consideration of thermal inertia. TDPF is implemented based on the following publications:

    1. Frank, J. Sexauer and S. Mohagheghi, “Temperature-dependent power flow”, IEEE Transactions on Power Systems, vol. 28, no. 4, pp. 4007-4018, Nov 2013.

    1. Ngoko, H. Sugihara and T. Funaki, “A Temperature Dependent Power Flow Model Considering Overhead Transmission Line Conductor Thermal Inertia Characteristics,” 2019 IEEE International Conference on Environment and Electrical Engineering and 2019 IEEE Industrial and Commercial Power Systems Europe (EEEIC / I&CPS Europe), 2019, pp. 1-6, doi: 10.1109/EEEIC.2019.8783234.

Additional parameters in net.line are required. If missing, common assumptions are used to add the parameters to net.line. The column “tdpf” (bool) must be provided in net.line to designate which lines are relevant for TDPF. The parameter “outer_diameter_m” (float) must be provided if the weather model is used (pp.runpp parameter tdpf_update_r_theta=True). Otherwise, the parameter “r_theta_kelvin_per_mw” (float) must be specified. It can be calculated using the function “pandapower.pf.create_jacobian_tdpf.calc_r_theta_from_t_rise” For consideration of thermal inertia, pp.runpp parameter “tdpf_delay_s” specifies the time after a step change of current. The parameter “mc_joule_per_m_k” describes the mass * thermal capacity of the conductor per unit length and it must be provided in net.line.

More detailed information about TDPF can be found in the tutorials: