Skip to content

Version 0.16.0

Latest

Choose a tag to compare

@github-actions github-actions released this 08 Oct 12:29
· 17 commits to develop since this release
f037894
  • Add support for Python 3.15 and the free-threaded Python 3.15t.
  • #503 Catalogue string filters now have clearer matching rules: any string is a case-insensitive literal match, unless wrapped in ^...$, in which case it is a case-insensitive regex; a compiled re.Pattern is used as-is (its flags respected). Invalid patterns no longer pass silently.
  • #502 Add an add_control parameter to plot_interactive_map and plot_results_interactive_map to optionally omit the layer control, similar to the existing add_search parameter.
  • #501 #502 #499 Improve the performance of the folium interactive map plots on large networks.
    • Buses are now rendered as canvas-compatible folium.CircleMarkers instead of DOM-based
      Markers with a custom DivIcon. This means passing prefer_canvas=True in map_kws (already forwarded to the folium.Map constructor) now also speeds up panning/zooming of buses, not just lines.
    • Voltage sources are no longer folded into oversized square bus markers; they are now plotted as their own "source" map elements with their own tooltip/popup fields (phases, bus_id, nominal_voltage, ...). If you use a custom style_color callback, it must now also handle the new "source" el_type in addition to "bus", "line", "transformer", "switch".
  • #500 #499 Improve the performance of the voltage profile Plotly plot on large networks by reducing the number of traces, and add a renderer="webgl" option to plot_plotly for much better pan/zoom performance on very large networks.
  • #498 Revert use of "CartoDB Positron" by default in interactive map plots after Carto API key requirement.
  • #497 Remove the warning by when the z_line or y_shunt matrix has off-diagonal elements with a non-zero real part which commonly represents the resistance of a shared, non-ideal return path.
  • #496 #284 Fix LineParameters.from_geometry for twisted lines: the phase conductors physically rotate around the neutral along the length of the cable, so the inductance and capacitance are now averaged over the three symmetric rotations of the phase conductors instead of using a single, arbitrary cross-section snapshot. Also add a missing check rejecting phase conductors that are too big and would physically overlap each other.
  • #493 Set en.name to the network (ElmNet) name and en.crs to EPSG:4326 when loading a network from a DGS file.
  • #492 Improve import time of roseau.load_flow by caching the pint registry instantiation.

What's Changed

Full Changelog: v0.15.0...v0.16.0