Skip to content

Releases: e2nIEE/pandapower

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

pandapower 2.12.1

19 Apr 13:24
2feba86
Compare
Choose a tag to compare
  • [FIXED] add minimum Python version (3.8) explicitly to setup.py
  • [FIXED] remove import pandapower.test from init
  • [FIXED] matplotlib imports are optional (but required for plotting)
  • [FIXED] missing numpy int imports
  • [FIXED] documentation; needed change: group functions parameter raise_ is renamed by `raise_er

pandapower 2.12.0

12 Apr 12:17
425d61d
Compare
Choose a tag to compare
  • [ADDED] feature: storing to json and restoring of nets with pandas multiindex dataframes and series
  • [ADDED] several 'marker size legends' sizes + a spec. color can be passed to weighted_marker_traces
  • [CHANGED] changed default optimization method in the estimation module from OptAlgorithm to "Newton-CG"
  • [CHANGED] cim2pp converter documentation fixes
  • [CHANGED] make legend item size constant in :code:simple_plotly
  • [FIXED] add (nan) field "coords" to bus geodata in create_cigre_network_hv to avoid fatal error when exporting to Excel
  • [FIXED] documentation of powerfactory converter
  • [FIXED] create.py: if optional arguments are None or nan, the optional columns will not be added
  • [FIXED] add tap_dependent_impedance attributes to trafo3w instead of trafo, in create.create_transformer3w and create.create_transformer3w_from_parameters
  • [CHANGED] renamed functions: drop_from_group() -> detach_from_group(), append_to_group() -> attach_to_group(), check_unique_group_names() -> check_unique_group_rows()
  • [CHANGED] attach_to_group(): enable handling of different reference_column passed than existing
  • [ADDED] toolbox function :code:count_elements, :code:drop_elements, :code:res_power_columns
  • [ADDED] new group functions :code:element_associated_groups, :code:attach_to_groups, :code:group_res_power_per_bus, :code:group_index
  • [CHANGED] repr (used by print(net)) now considers groups appropriately
  • [ADDED] documentation of DeprecationWarning process
  • [ADDED] add TDPF parameters as optional parameters for create line functions in create.py
  • [CHANGED] remove support for Python 3.7 and add Python 3.11
  • [CHANGED] split toolbox.py -> better overview, avoiding circular imports
  • [CHANGED] aim for toolbox parameter name consistency: element_types, element_index (changes to mandatory parameters only)
  • [CHANGED] output type of toolbox function :code:element_bus_tuples: set -> list
  • [ADDED] import of internal packages such as control or converter
  • [ADDED] group consideration in toolbox replace element functionality
  • [ADDED] implementation of the "recycle" functionality for DC power flow and timeseries with run=pp.rundcpp
  • [ADDED] calculate branch results for current magnitude and angle, voltage magnitude and angle, active and reactive power for short circuit calculation
  • [ADDED] implement the superposition method ("Type C") for the short circuit calculation - consider pre-fault voltages
  • [FIXED] Trafo control stepping direction for side=="hv"
  • [ADDED] feature: protection - implementation of over-current relay
  • [FIXED] Shunt admittance modelling for 3 phase calculations
  • [ADDED] bulk creation function create_storages and create_wards
  • [ADDED] FACTS devices Shunt Var Compensator (SVC) and Thyristor-Controlled Series Capacitor (TCSC) as new pandapower elements net.svc and net.tcsc

For the full list of changes see CHANGELOG.rst

pandapower 2.11.1

02 Jan 15:34
703b92f
Compare
Choose a tag to compare
  • [ADDED] a 'marker size legend' (scale_trace) can be displayed for weighted_marker_traces with plotly
  • [FIXED] bugfix in toolbox._merge_nets_deprecated

For the full list of changes see CHANGELOG.rst

pandapower 2.11.0

14 Dec 19:19
f4aba02
Compare
Choose a tag to compare
  • [ADDED] plotting function for dclines (create_dcline_collection), also added in simple_plot
  • [ADDED] calculation of overhead line temperature in Newton-Raphson with two simplified methods (Frank et al. and Ngoko et al.)
  • [ADDED] group functionality
  • [ADDED] auxiliary function warn_and_fix_parameter_renaming to throw a derpecation warning (not an Error) if old name of a parameter is used
  • [ADDED] zero-sequence parameters for net.impedance
  • [ADDED] File I/O: Can now save and load pandapower serializable objects to Excel, PostgreSQL
  • [ADDED] additional_traces (prepared by the user) can be passed to simple_plotly
  • [ADDED] Added converter CGMES v2.4.15 to pandapower
  • [CHANGED] TDPF: rename r_theta to r_theta_kelvin_per_mw, add r_theta_kelvin_per_mw to net.res_line
  • [CHANGED] Compatibility with pandas 1.5, dropped "six" dependency
  • [CHANGED] from_ppc(): revision of indexing and naming of elements
  • [CHANGED] Complete revision of validate_from_ppc()
  • [CHANGED] Improve defaults, add docstrings and rename parameters of plot_voltage_profile() and plot_loading()
  • [FIXED] Bug with user_pf_options: _init_runpp_options in auxiliary.py ignored user_pf_options when performing sanity checks
  • [CHANGED] merge_nets(): revised for groups and new behavior regarding indexing; reindex_elements(): revised for groups, don't overwrite column "index" and feature parameter lookup

For the full list of changes see CHANGELOG.rst

pandapower 2.10.1

31 Jul 11:35
1a85fdf
Compare
Choose a tag to compare

minor release (bugfix):

  • [FIXED] remove the parameter ignore_order in DeepDiff (eq), add hash to JSONSerializableClass