Skip to content
Merged
5 changes: 5 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -96,6 +96,10 @@ This replaces `specific_share_to_other_effects_*` parameters and inverts the dir
- Improved Model Structure - Views and organisation is now divided into:
- Model: The main Model (linopy.Model) that is used to create and store the variables and constraints for the flow_system.
- Submodel: The base class for all submodels. Each is a subset of the Model, for simpler access and clearer code.
- Made docstrings in `config.py` more compact and easier to read
- Improved format handling in configuration module
- Enhanced console output to support both `stdout` and `stderr` stream selection
- Added `show_logger_name` parameter to `CONFIG.Logging` for displaying logger names in messages

### 🗑️ Deprecated

Expand Down Expand Up @@ -133,6 +137,7 @@ This replaces `specific_share_to_other_effects_*` parameters and inverts the dir
- Enhanced NetCDF I/O with proper attribute preservation for DataArrays
- Improved error handling and validation in serialization processes
- Better type consistency across all framework components
- Added extra validation in `config.py` to improve error handling

### 📝 Docs

Expand Down
3 changes: 1 addition & 2 deletions flixopt/calculation.py
Original file line number Diff line number Diff line change
Expand Up @@ -250,9 +250,8 @@ def solve(

# Log the formatted output
if log_main_results:
logger.info(f'{" Main Results ":#^80}')
logger.info(
'\n'
f'{" Main Results ":#^80}\n'
+ yaml.dump(
utils.round_nested_floats(self.main_results),
default_flow_style=False,
Expand Down
Loading