Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
35 changes: 13 additions & 22 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -182,7 +182,17 @@ The following items are deprecated and will be removed in **v7.0.0**:
- `Results` class → Use `flow_system.solution` and `flow_system.statistics`
- `SegmentedResults` class → Use segment FlowSystems directly

**FlowSystem methods** (use `transform` or `topology` accessor instead):
Note: `topology.plot()` now renders a Sankey diagram. The old PyVis visualization is available via `topology.plot_legacy()`.

### 🔥 Removed

**Clustering classes removed** (deprecated in v5.0.0):

- `ClusteredOptimization` class - Use `flow_system.transform.cluster()` then `optimize()`
- `ClusteringParameters` class - Parameters are now passed directly to `transform.cluster()`
- `flixopt/clustering.py` module - Restructured to `flixopt/clustering/` package with new classes

**FlowSystem deprecated methods removed** (use `transform` or `topology` accessor instead):

- `flow_system.sel()` → Use `flow_system.transform.sel()`
- `flow_system.isel()` → Use `flow_system.transform.isel()`
Expand All @@ -192,28 +202,9 @@ The following items are deprecated and will be removed in **v7.0.0**:
- `flow_system.stop_network_app()` → Use `flow_system.topology.stop_app()`
- `flow_system.network_infos()` → Use `flow_system.topology.infos()`

**Parameters:**

- `normalize_weights` parameter in `create_model()`, `build_model()`, `optimize()`
**Parameters removed:**

**Topology method name simplifications** (old names still work with deprecation warnings, removal in v7.0.0):

| Old (v5.x) | New (v6.0.0) |
|------------|--------------|
| `topology.plot_network()` | `topology.plot()` |
| `topology.start_network_app()` | `topology.start_app()` |
| `topology.stop_network_app()` | `topology.stop_app()` |
| `topology.network_infos()` | `topology.infos()` |

Note: `topology.plot()` now renders a Sankey diagram. The old PyVis visualization is available via `topology.plot_legacy()`.

### 🔥 Removed

**Clustering classes removed** (deprecated in v5.0.0):

- `ClusteredOptimization` class - Use `flow_system.transform.cluster()` then `optimize()`
- `ClusteringParameters` class - Parameters are now passed directly to `transform.cluster()`
- `flixopt/clustering.py` module - Restructured to `flixopt/clustering/` package with new classes
- `normalize_weights` parameter removed from `create_model()`, `build_model()`, `optimize()` (weights are always normalized)

#### Migration from ClusteredOptimization

Expand Down
Loading