Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions CHANGELOG.rst
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,7 @@ Change Log

[upcoming release] - 2026-..-..
-------------------------------
- [ADDED] toolbox: :code:`compute_switch_flows` computes power flow through zero-impedance bus-bus switches via nodal balance
- [FIXED] runopp(init="results") now preserves the warm-start vector in the PIPS-backed AC OPF solver
- [ADDED] added more functions to diagnostic
- [ADDED] check to check if vkr_percent values are reasonable (see issue #786).
Expand Down
9 changes: 8 additions & 1 deletion doc/elements/switch.rst
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
.. _switch_model:
.. _switch_model:

=============
Switch
Expand Down Expand Up @@ -41,6 +41,13 @@ This has the following advantages compared to modelling the switch as a small im
- there is no voltage drop over the switch (ideal switch)
- no convergence problems due to small impedances / large admittances
- less buses in the admittance matrix

.. note::

Because fused buses share one internal node, ``res_switch`` contains NaN for
bus-bus switches with ``z_ohm=0`` after ``runpp()``. To compute the power
flow through these switches via nodal balance, call
:func:`pandapower.toolbox.compute_switch_flows` after the load flow.

*Bus-Element-Switches:*

Expand Down
2 changes: 2 additions & 0 deletions doc/toolbox.rst
Original file line number Diff line number Diff line change
Expand Up @@ -47,6 +47,8 @@ Result Information

.. autofunction:: pandapower.toolbox.clear_result_tables

.. autofunction:: pandapower.toolbox.compute_switch_flows

.. autofunction:: pandapower.toolbox.res_power_columns

====================================
Expand Down
Loading
Loading