Skip to content

2.1.8 - 2025-09-22

Previous: 2.1.7 | Next: 2.1.9 → | 📋 All Releases | 🏷️ GitHub Release


Summary: Code quality improvements, enhanced documentation, and bug fixes for heat pump components and visualization features.

✨ Added

  • Extra Check for HeatPumpWithSource.COP to be strictly > 1 to avoid division by zero
  • Apply deterministic color assignment by using sorted() in plotting.py
  • Add missing args in docstrings in plotting.py, solvers.py, and core.py.

♻️ Changed

  • Greatly improved docstrings and documentation of all public classes
  • Make path handling to be gentle about missing .html suffix in plotting.py
  • Default for relative_losses in Transmission is now 0 instead of None
  • Setter of COP in HeatPumpWithSource now completely overwrites the conversion factors, which is safer.
  • Fix some docstrings in plotting.py
  • Change assertions to raise Exceptions in plotting.py

🐛 Fixed

Core Components: - Fix COP getter and setter of HeatPumpWithSource returning and setting wrong conversion factors - Fix custom compression levels in io.save_dataset_to_netcdf - Fix total_max did not work when total min was not used

Visualization: - Fix color scheme selection in network_app; color pickers now update when a scheme is selected

📝 Docs

  • Fix broken links in docs
  • Fix some docstrings in plotting.py

👷 Development

  • Pin dev dependencies to specific versions
  • Improve CI workflows to run faster and smarter

Previous: 2.1.7 | Next: 2.1.9 → | 📋 All Releases | 🏷️ GitHub Release