Skip to content

Releases: e2nIEE/pandapower

pandapower 3.0.0

06 Mar 13:55
Compare
Choose a tag to compare

[3.0.0] - 2025-03-06

• [ADDED] A switch to disable updating the vk and vkr values for trafo3w
• [ADDED] Add GeographicalRegion and SubGeographicalRegion names and ids to bus df in cim converter
• [ADDED] Add VSC element, dc buses, dc lines, and hybrid AC/DC power flow calculation
• [ADDED] added support for converting cgmes v3.0
• [ADDED] added support for reading cgmes v3.0 files
• [ADDED] API function rename_std_type()
• [ADDED] cim2pp converter - added tap changer type classification for trafo and trafo3w elements
• [ADDED] cim2pp converter - export NonlinearShuntCompensatorPoint values for shunt elements
• [ADDED] cim2pp converter - extract measurements for load, sgen, gen, shunt, ext_grid, ward and xward elements
• [ADDED] cim2pp converter - extract 'Terminal' and 'description' Analog fields in net.measurement
• [ADDED] cim2pp converter: Using lxml to parse XML files (better performance)
• [ADDED] Computation of matrix conditioning and warning in case of ill-conditioning
• [ADDED] converter for European EHV grid data from JAO, the "Single Allocation Platform (SAP) for all European Transmission System Operators (TSOs) that operate in accordance to EU legislation"
• [ADDED] converter for European EHV grid data from JAO, the "Single Allocation Platform (SAP) for all European Transmission System Operators (TSOs) that operate in accordance to EU legislation"
• [ADDED] Created estimation results for shunt elements
• [ADDED] creating series capacitor added in pf to pp converter
• [ADDED] DERController with multiple options to define DER reactive power provision depending on P and V
• [ADDED] Discrete shunt controller for local voltage regulation with shunt steps
• [ADDED] extend plotly draw traces: add trace kwargs, e.g. visibility="legendonly" to not show the trace by default
• [ADDED] extend plotly draw traces: if filename=None, no HTML will be created and just a ploty.Figure object is returned
• [ADDED] extend plotly function: add zoomlevel-parameter, dash-lines and hvdc lines
• [ADDED] fix lengths missmatch of output if ignore_zero_length is False in plotting utility function coords_from_node_geodata() and rename ignore_zero_length by ignore_no_geo_diff
• [ADDED] geodata to geojson converter
• [ADDED] id_characteristic_spline optional variable for shunt elements
• [ADDED] id_characteristic_spline optional variable for trafo and trafo3w elements
• [ADDED] id_characteristic_table variable for shunt elements
• [ADDED] Implementation of Allocation Factor WLS (AF-WLS) for non observable distribution grids
• [ADDED] improved lightsim2grid documentation including compatibility issues
• [ADDED] low voltage grid Schutterwald
• [ADDED] pandas series accessor for geo column
• [ADDED] pf2pp: min/max q_mvar and min/max p_mw limits for sgens and gen will be converted
• [ADDED] pf2pp: min/max q_mvar and min/max p_mw limits for sgens and gen will be converted
• [ADDED] PowerFactory converter: option to export lines with sections as a single line with averaged-out impedance, or export line sections as separate individual lines
• [ADDED] PowerFactory converter: support load types (constI, constZ) and the setting whether to consider voltage dependency of loads
• [ADDED] shunt components G and B for impedance elements, also supports unequal G and B parameters for from and to bus
• [ADDED] shunt_characteristic_spline table
• [ADDED] shunt_characteristic_table lookup table for step dependent values for shunt elements
• [ADDED] Static Var Compensator with Voltage Control
• [ADDED] Static Var Compensator with Voltage Control
• [ADDED] station controller functionality with voltage and reactive power control with and without droop and pf import support
• [ADDED] step_dependency_table flag for shunt elements
• [ADDED] support for unequal leakage resistance and reactance for HV and LV sides of a 2W-transformer
• [ADDED] switch results p and q
• [ADDED] tap_changer_type variable for net.trafo and net.trafo3w tables (supporting "Ratio", "Symmetrical", "Ideal" and "Tabular" tap changer types)
• [ADDED] the possibility to have unequal values for branch G and B for from and to buses by means of new columns in ppc['branch'] BR_B_ASYM and BR_G_ASYM
• [ADDED] transformer tap hunting detection for DiscreteTapControl
• [ADDED] UCTE-DEF (UCTE Data Exchange Format) converter
• [CHANGED] accelerate _integrate_power_elements_connected_with_switch_buses() in get_equivalent()
• [CHANGED] accelerate distributed slack power flow calculation by using sparse-aware operations in _subnetworks()
• [CHANGED] Capitalize first letter of columns busbar_id, busbar_name and substation_id in bus df for cim converter
• [CHANGED] cim converter: Avoid huge logging output when ignore_errors = True
• [CHANGED] cim data structure method in cim converter changed to blueprint approach
• [CHANGED] cim parser: Refactor parse source file method
• [CHANGED] cim2pp converter - removed default creation of trafo spline characteristics
• [CHANGED] considering trafo controller and improve implementation for other (bus element) controller at grid_equivalent creation
• [CHANGED] create consistent parameter names (element and element_index) in controllers -> Changes for TrafoController: trafotable & trafotype -> element, tid -> element_index
• [CHANGED] dataframes_equal adapted to properly compare geojson data
• [CHANGED] diagnostic for implausible impedance values includes xward, trafo, trafo3w
• [CHANGED] dump_to_geojson now requires the geodata to be present in the geo column of a network (see :code:convert_geodata_to_geojson)
• [CHANGED] e2n logo and naming is updated due to its official renaming
• [CHANGED] geopandas version to >= 1.0
• [CHANGED] grid_equivalent creation: improved consideration of controller
• [CHANGED] in to_ppc(), the default of calculate_voltage_angles is True now (as in previously changed in runpp()).
• [CHANGED] inf to np.full(...) with value inf for array operations in pypower folder
• [CHANGED] minor changes to the example networks (mainly added names to identify them in tests)
• [CHANGED] node existence check for multiple branch elements from mixed array and set operations to set operations only
• [CHANGED] parameter renaming in net.group: element -> element_index
• [CHANGED] plotting for voltage profile considers also gens that are slacks and only ext_grids and slack gens that are in service
• [CHANGED] PowerFactory converter has workarounds for implausible impedance values
• [CHANGED] renamed characteristic table to trafo_characteristic_spline table and changed its structure so that there is one row with all spline characteristic objects per trafo/trafo3w
• [CHANGED] renamed characteristic_temp lookup table to trafo_characteristic_table for trafo and trafo3w elements
• [CHANGED] renamed id_characteristic variable to id_characteristic_table for trafo and trafo3w elements
• [CHANGED] renamed tap_dependent_impedance flag to tap_dependency_table for trafo and trafo3w elements
• [CHANGED] required standard type parameters are made available by function :code:required_std_type_parameters()
• [CHANGED] split BR_B in ppc['branch'] (complex number) into BR_B and BR_G, BR_G is added as a new column, ppc['branch'] dtype changed to float64
• [CHANGED] switched from setup.py to pyproject.toml
• [CHANGED] toolbox replace functions (e.g. gen replacement by sgens): improved result table implementation and added profiles consideration
• [CHANGED] Trafo Controllers can now be added to elements that are out of service, changed self.nothing_to_do()
• [CHANGED] trigger a numpy error in makeYbus, makeBbus, _wye_delta instead of warning
• [CHANGED] update most geodata dependant functions to use geo column
• [CHANGED] updated MANIFEST.in to exclude the ci files from the wheel distribution
• [CHANGED] updated PowerFactory to pandapower converter to export measurement reports and reflect changes in trafo/trafo3w tap changer logic
• [CHANGED] updated simple_plot to use geojson data instead of bus_geo and line_geo
• [CHANGED] updated upload_release.py to install the uploaded package and print the version
• [CHANGED] updated upload_release.py to not call setup.py anymore (see https://packaging.python.org/en/latest/discussions/setup-py-deprecated/)
• [CHANGED] use of bus_geodata and line_geodata tables to geo column in bus and line table
• [CHANGED] vectorization of switch bus and element checks in create_switches()
• [CHANGED] vectorization of y_bus reordering in _calculate_equivalent_Ybus() within get_equivalent()
• [FIXED] Allow to consider all oos components in nx graph creation
• [FIXED] avoid duplicated keys in kwargs and pf_options in run_contingency()
• [FIXED] cast the column to the correct type before assigning values
• [FIXED] cim2pp add missing description to dcline
• [FIXED] cim2pp converter - correctly populate step, max_step and q_mvar / p_mw values per step for shunt elements
• [FIXED] cim2pp converter - correctly populate tap_step_degree and shift_degree variables for trafo and trafo3w elements
• [FIXED] cim2pp converter - removed nan rows in net.measurement
• [FIXED] cim2pp: fixed missing nominal voltages at SeriesCompensator
• [FIXED] cim2pp: set default xml encoding to None to avoid error after changing to lxml
• [FIXED] cim2pp: set voltages at StaticVarCompensators with sVCControlMode==reactivePower to NaN
• [FIXED] copy array element to standard python scalar
• [FIXED] copy array element to standard python scalar
• [FIXED] Creation of zero injection measurements in WLS estimator
• [FIXED] default elements in toolbox function add_zones_to_elements()
• [FIXED] Deletion of multiple measurements at the same bus or branch
• [FIXED] deprecation of matplotlib.cm.get_cmap(name) -> matplotlib.colormaps[name]
• [FIXED] Divergence of WLS estimator with flat start for highly loaded grids
• [FIXED] Do not modify pandas options when importing pandapower
• [FIX...

Read more

pandapower 2.14.11

07 Aug 13:31
Compare
Choose a tag to compare

[2.14.11] - 2024-07-08

  • [FIXED] Lightsim2grid version
  • [FIXED] geopandas version

pandapower 2.14.9

26 Jun 07:16
Compare
Choose a tag to compare

Fixed scipy version, since newest release of scipy isn't supported in pandapower 2.14

[2.14.9] - 2024-06-26

  • [FIXED] scipy version

pandapower 2.14.8

19 Jun 12:29
Compare
Choose a tag to compare

Fixed numpy version, since newest 2.0 release of numpy isn't supported in pandapower 2.14

[2.14.8] - 2024-06-19

  • [FIXED] numpy version

pandapower 2.14.7

14 Jun 11:49
f973e00
Compare
Choose a tag to compare

[2.14.7] - 2024-06-14

  • [FIXED] read the docs configuration

pandapower 2.14.6

02 Apr 13:49
Compare
Choose a tag to compare

[2.14.6] - 2024-04-02

  • [FIXED] more futurewarnings and deprecation warnings

pandapower 2.14.5

28 Mar 13:30
Compare
Choose a tag to compare

[2.14.5] - 2024-03-28

  • [CHANGED] added possibility to provide custom weights to switches and transformers (before - always zero) when creating a graph
  • [FIXED] many futurewarnings and deprecation warnings

[2.14.4] - 2024-03-28

  • [FIXED] internal pgm test returns ANOTHER error when using python 3.8
  • [FIXED] added setuptools to relying tests

[2.14.3] - 2024-03-28

  • [FIXED] internal pgm test checked wrong result
  • [FIXED] 2.14.0 - 2.14.3 just minor release fixes to improve workflow

pandapower 2.14.2

27 Mar 15:35
Compare
Choose a tag to compare

[2.14.2] - 2024-03-26

[ADDED] function to search std_types from the basic standard type library
[ADDED] Documentation for running powerflow using power-grid-model
[ADDED] exporting to GeoJSON with all properties from bus, res_bus and line, res_line
[ADDED] function to run powerflow using the power-grid-model library
[FIXED] short-circuit calculation: wrong results when ext_grid and gen elements are connected to the same bus
[ADDED] comparison of "dict" attributes in pandapower.toolbox.comparisons.nets_equal with DeepDiff
[FIXED] loading net from xlsx with MultiIndex
[FIXED] numba version check
[FIXED] deprecation warnings for numba (set nopython=True in jit calls)
[FIXED] setting MultiIndex when loading empty DataFrame from JSON, getting next index from DataFrame with MultiIndex
[FIXED] some fixes and small updates at cim2pp
[CHANGED] add numba in the dependencies for Python 3.11 for GitHub test and release actions; revise numba version checks
[ADDED] improved documentation for short-circuit calculation (description of the function and the element results)
[FIXED] bug in pp.select_subnet when using tap dependent impedance
[ADDED] extensive unit tests for cim2pp converter (element parameter and load flow results)
[FIXED] bug in cim2pp.build_pp_net when setting default values for converted xwards
[FIXED] bug in cim2pp.build_pp_net when controller for gen is at TopologicalNode instead of ConnectivityNode
[CHANGED] adjust default iterations for runpp_3ph
[CHANGED] always convert RATE_A to ppc in build_branch (not only when mode == 'opf' as before)
[FIXED] in converter from PowerFactory, collect all buses (even not relevant for the calculation) for connectivity issues
[FIXED] bug in coords conversion in cim2pp, small fixes
[CHANGED] cim2pp: added support for multi diagram usage for DL profiles
[CHANGED] cim2pp: made build_pp_net modular by introducing classes
[ADDED] cim2pp: added option to opt out of internal powerflow calculation
[FIXED] error handling in plotly/mapbox_plot.py not raising :codeImportError if geopy or pyproj are missing
[FIXED] powerfactory2pandapower-converter error if a line has two identical coordinates
[ADDED] logger messages about the probabilistic load flow calculation (simultaneities) in the powerfactory2pandapower-converter for low voltage loads
[ADDED] matplotlib v3.8.0 support (fixed plotting_colormaps.ipynb)
[CHANGED] PowerFactory converter - name for_name as equipment for all elements; also add to line
[ADDED] option to use a second tap changer for the trafo element
[CHANGED] parameters of function merge_internal_net_and_equivalent_external_net()
[FIXED] convert_format.py: update the attributes of the characteristic objects to match the new characteristic
[FIXED] fixed the wrong id numbers for pypower powerflow algorithms fdxb and fdbx
[FIXED] additional arguments from mpc saved to net._options: create "_options" if it does not exist
[CHANGED] cim2pp: extracted getting default classes, added generic setting datatypes from CGMES XMI schema
[ADDED] function getOTDF to obtain Outage Transfer Distribution Factors, that can be used to analyse outages using the DC approximation of the power system
[ADDED] function outage_results_OTDF to obtain the matrix of results for all outage scenarios, with rows as outage scenarios and columns as branch power flows in that scenario
[FIXED] add some safeguards for TDPF to avoid numerical issues in some cases
[CHANGED] numba version check during init phase, not during calculation, saving about 3% calculation time for a loadflow
[FIXED] avoid attaching elements as duplicates to a group where some of the elements already exist
[ADDED] the function run_contingency can raise a captured error if parameter raise_errors is passed
[FIXED] bugfix for tap dependent impedance characteristics so that not all characteristics columns are necessary
[ADDED] add kwargs passing of get_equivalent() to runpp_fct()
[ADDED] auxiliary functions ets_to_element_types() and element_types_to_ets() as well as toolbox function get_connected_buses_at_switches() and extension to get_connected_switches()
[FIXED] in function toolbox.replace_zero_branches_with_switches, use absolute for the parameters of impedance elements in case they are negative nonzero values
[FIXED] in reindex_elements: fixed index error when reindexing line_geodata
[FIXED] bug in cim2pp: Changed zero prioritized generators with voltage controller to sgens (like PowerFactory does)
[ADDED] cim2pp: added description fields for each asset and added BusbarSection information to nodes
[CHANGED] cim2pp: reformat documentation for reading in files
[CHANGED] allow providing grid_tables as a parameter to the function that downloads net from PostgreSQL
[FIXED] compatibility with lightsim2grid after new version 0.8.0
[ADDED] allow passing custom runpp-function to pp.diagnostic

pandapower 2.13.1

12 May 15:47
2feba86
Compare
Choose a tag to compare

[2.13.1] - 2023-05-12

  • [FIXED] missing test files for CIM converter test in the release files

pandapower 2.13.0

12 May 15:23
2feba86
Compare
Choose a tag to compare

[2.13.0] - 2023-05-12

  • [FIXED] another correction of shunt values in CIGRE HV
  • [FIXED] deprecated np.typedict to np.sctypedict in cim converter
  • [ADDED] reporting for cim2pp converter
  • [ADDED] interfaces for repair functions for cim2pp converter
  • [ADDED] using PandaModels to optimize reactive power provision for loading reduction
  • [FIXED] several bugs in cim2pp converter, e.g. non linear tap changer issue
  • [FIXED] shape issues when calculating SC with the superposition method
  • [FIXED] typos in cim2pp tutorial
  • [FIXED] creating geo coordinates form GL profile when ConnectivityNode is only in tp/tp_bd profile for cim2pp converter
  • [FIXED] bugfix in _get_bus_v_results where vm_pu was not set for DC power flow, leading to old results staying in the bus results table
  • [ADDED] simple cim2pp converter test
  • [CHANGED] run ac pf instead of dc pf in estimation when parameter fuse_buses_with_bb_switch != 'all'
  • [REMOVED] support for deprecated functions in :code:groups.py: :code:check_unique_group_names, :code:append_to_group