Skip to content

pandapower 3.0.0

Latest
Compare
Choose a tag to compare
@vogt31337 vogt31337 released this 06 Mar 13:55
· 25 commits to develop since this release

[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
• [FIXED] ensure that pp.plotting.set_line_geodata_from_bus_geodata() can also handle cases where all geodata are available already
• [FIXED] error during unbalanced powerflow due to out of service external grids
• [FIXED] fixed copy-paste error in contingency results "max_limit_nminus1" and "min_limit_nminus1"
• [FIXED] Fixed issue with power injection results in WLS estimator
• [FIXED] fixed some small bugs in the CGMES converter and improved its speed
• [FIXED] from_powerfactory() converter: error that crept in obj.GetAttributes(a) instead of obj.GetAttribute(a)
• [FIXED] further futurewarnings and deprecation warnings
• [FIXED] geopandas version
• [FIXED] Handling of current magnitude measurements in WLS estimator
• [FIXED] Increasing geojson precision as the default precision might cause problems with pandahub
• [FIXED] index error during unbalanced powerflow if multiple external grids are present
• [FIXED] Issue with initialization of WLS estimator
• [FIXED] julia tests
• [FIXED] k documentation of sgen
• [FIXED] massive performance drag in large grids due to initializing Ybus for FACTS with np.zeros instead of using sparse matrix initialization
• [FIXED] merge_nets failing if net2 has custom DataFrame that is not present in net1
• [FIXED] minor issues in geojson exporter
• [FIXED] namespace changes from numpy 2.0 release
• [FIXED] OC relay name attribute error
• [FIXED] PandaModels OPF with 'bus_dc' key errors
• [FIXED] passing literal json to 'read_json' is deprecated
• [FIXED] PowerFactory converter: fix trafo3w tap dependent impedance
• [FIXED] replacement for deprecated namespaces scipy.sparse.csc and scipy.sparse.csr
• [FIXED] replacing deprecated H and A from scipy.sparse.csc_matrix
• [FIXED] replacing deprecated in1d with isin
• [FIXED] scipy version
• [FIXED] trafo3w with tap changer at star point corrected
• [FIXED] using loc to remove the warning
• [REMOVED] Excluding tests and test_files from built packages
• [REMOVED] python 3.8 support
• [REMOVED] tap_phase_shifter bool variable from net.trafo table
• [REMOVED] vk_hv_percent_characteristic, vk_mv_percent_characteristic, vk_lv_percent_characteristic, vkr_hv_percent_characteristic, vkr_mv_percent_characteristic and vkr_lv_percent_characteristic variables from trafo3w table
• [REMOVED] vk_percent_characteristic and vkr_percent_characteristic variables from trafo table