You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
-**Sharing system**: The old `specific_share_to_other_effects_*` parameters were completely replaced with the new `share_from_temporal` and `share_from_periodic` syntax (see 🔥 Removed section)
149
+
-**FlowSystem independence**: FlowSystems cannot be shared across multiple Calculations anymore. A copy of the FlowSystem is created instead, making every Calculation independent. Each Subcalculation in `SegmentedCalculation` now has its own distinct `FlowSystem` object
150
+
-**Bus and Effect object assignment**: Direct assignment of Bus/Effect objects is no longer supported. Use labels (strings) instead:
151
+
-`Flow.bus` must receive a string label, not a Bus object
152
+
- Effect shares must use effect labels (strings) in dictionaries, not Effect objects
153
+
-**Logging defaults** (from v2.2.0): Console and file logging are now disabled by default. Enable explicitly with `CONFIG.Logging.console = True` and `CONFIG.apply()`
154
+
155
+
**Class and Method Renaming:**
156
+
143
157
- Renamed class `SystemModel` to `FlowSystemModel`
144
158
- Renamed class `Model` to `Submodel`
145
159
- Renamed `mode` parameter in plotting methods to `style`
146
-
- Renamed investment binary variable `is_invested` to `invested` in `InvestmentModel`
147
-
-`Calculation.do_modeling()` now returns the `Calculation` object instead of its `linopy.Model`. Callers that previously accessed the linopy model directly should now use `calculation.do_modeling().model` instead of `calculation.do_modeling()`.
160
+
-`Calculation.do_modeling()` now returns the `Calculation` object instead of its `linopy.Model`. Callers that previously accessed the linopy model directly should now use `calculation.do_modeling().model` instead of `calculation.do_modeling()`
161
+
162
+
**Variable Renaming in Results:**
163
+
164
+
- Investment binary variable: `is_invested` → `invested` in `InvestmentModel`
-`relative_minimum_charge_state` and `relative_maximum_charge_state` don't have an extra timestep anymore. Use the new `relative_minimum_final_charge_state` and `relative_maximum_final_charge_state` parameters for final state control
148
178
149
179
### ♻️ Changed
150
180
151
-
- FlowSystems cannot be shared across multiple Calculations anymore. A copy of the FlowSystem is created instead, making every Calculation independent
152
-
- Each Subcalculation in `SegmentedCalculation` now has its own distinct `FlowSystem` object
153
181
- Type system overhaul - added clear separation between temporal and non-temporal data throughout codebase for better clarity
154
182
- Enhanced FlowSystem interface with improved `__repr__()` and `__str__()` methods
155
183
- Improved Model Structure - Views and organisation is now divided into:
@@ -164,8 +192,6 @@ This replaces `specific_share_to_other_effects_*` parameters and inverts the dir
164
192
165
193
- The `agg_group` and `agg_weight` parameters of `TimeSeriesData` are deprecated and will be removed in a future version. Use `aggregation_group` and `aggregation_weight` instead.
166
194
- The `active_timesteps` parameter of `Calculation` is deprecated and will be removed in a future version. Use the new `sel(time=...)` method on the FlowSystem instead.
167
-
- The assignment of Bus Objects to Flow.bus is deprecated and will be removed in a future version. Use the label of the Bus instead.
168
-
- The usage of Effects objects in Dicts to assign shares to Effects is deprecated and will be removed in a future version. Use the label of the Effect instead.
169
195
-**InvestParameters** parameters renamed for improved clarity around investment and retirement effects:
0 commit comments