4.2.0 - 2025-11-25¶
← Previous: 4.1.4 | Next: 4.3.0 → | 📋 All Releases | 🏷️ GitHub Release
Summary: Renamed classes and parameters related to Calculation, Aggregation and Results. Fully backwards compatible
If upgrading from v2.x, see the v3.0.0 release notes and Migration Guide.
✨ Added¶
overwriteparameter when saving results to file. If True, overwrite existing files.
♻️ Changed¶
- Now creates the Results folder even if parents didnt exist
🗑️ Deprecated¶
Class and module renaming: - FullCalculation → Optimization - AggregatedCalculation → ClusteredOptimization - SegmentedCalculation → SegmentedOptimization - CalculationResults → Results - SegmentedCalculationResults → SegmentedResults - Aggregation → Clustering - AggregationParameters → ClusteringParameters - AggregationModel → ClusteringModel - Module: calculation.py → optimization.py - Module: aggregation.py → clustering.py
Old names remain available with deprecation warnings (removed in v5.0.0).
🐛 Fixed¶
- Fixed
fix_sizes()docstring/implementation inconsistency for optionaldsparameter
👷 Development¶
- Fixed
active_timestepstype annotation to includeNone - Fixed xarray truth-value ambiguity in
main_resultsbuses with excess filter - Added validation for
nr_of_previous_valuesinSegmentedOptimizationto prevent silent indexing bugs
← Previous: 4.1.4 | Next: 4.3.0 → | 📋 All Releases | 🏷️ GitHub Release