Skip to content

v6.0.1

Choose a tag to compare

@github-actions github-actions released this 04 Feb 21:13
· 60 commits to main since this release

Summary: Bugfix release addressing clustering issues with multi-period systems and ExtremeConfig.

πŸ› Fixed

  • Multi-period clustering with ExtremeConfig - Fixed ValueError: cannot reshape array when clustering multi-period or multi-scenario systems with ExtremeConfig. The fix uses pandas .unstack() instead of manual reshape for robustness.
  • Consistent cluster count validation - Added validation to detect inconsistent cluster counts across periods/scenarios, providing clear error messages.

πŸ’₯ Breaking Changes

  • ExtremeConfig method restriction for multi-period systems - When using ExtremeConfig with multi-period or multi-scenario systems, only method='replace' is now allowed. Using method='new_cluster' or method='append' will raise a ValueError. This works around a tsam bug where these methods can produce inconsistent cluster counts across slices.

πŸ“¦ Dependencies

  • Excluded tsam 3.1.0 from compatible versions due to clustering bug.

Full Changelog: v6.0.0...v6.0.1