v6.0.1
Summary: Bugfix release addressing clustering issues with multi-period systems and ExtremeConfig.
π Fixed
- Multi-period clustering with ExtremeConfig - Fixed
ValueError: cannot reshape arraywhen clustering multi-period or multi-scenario systems withExtremeConfig. 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
ExtremeConfigwith multi-period or multi-scenario systems, onlymethod='replace'is now allowed. Usingmethod='new_cluster'ormethod='append'will raise aValueError. 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