Update to pandapower 3.0

Breaking changes are provided with pandapower 3.0 to allow using geo_json functionality and to make namings more consistent. New features are not explained here.

New format for geo data

Previously, geo data were stored in tables net.bus_geodata and net.line_geodata. Now, these data are stored as geojson strings within the element tables, i.e. net.bus.geo and net.line.geo.

Renaming

Parameters were renamed for more consistency at controllers net.controller. With version 3.0, controllers refer to net elements via element (shorthand for type) and element_index. This is established by multiple functions/codings in the pandapower package. The columns in net.group are also changed: To element_type and element_index to avoid misunderstandings. A major rework could include the names element_type and element_index at any place in the package but has not been implemented (yet?) since it would break large parts of package usage.

Transformers

Different types of tap changers for 2-winding and 3-winding transformers are now explicitly accessible via tap_changer_type (string) “Ratio”, “Symmetrical” or “Ideal”.

To sum up, the following changes were made:

  • TrafoController parameters: trafotable, trafotypeelement_type; tidelement_index

  • Group column: net.groups.elementnet.groups.element_index

  • the tap changer variables tap_phase_shiftertap_changer_type bool True/False to string “Ratio”,”Symmetrical”,”Ideal”.