flixopt 2.1.10__py3-none-any.whl → 2.2.0__py3-none-any.whl
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Potentially problematic release.
This version of flixopt might be problematic. Click here for more details.
- flixopt/__init__.py +0 -2
- flixopt/calculation.py +2 -2
- flixopt/components.py +1 -1
- flixopt/config.py +486 -193
- flixopt/elements.py +5 -5
- flixopt/features.py +6 -6
- flixopt/flow_system.py +2 -1
- flixopt/interface.py +4 -4
- flixopt/io.py +6 -4
- flixopt/results.py +1 -1
- {flixopt-2.1.10.dist-info → flixopt-2.2.0.dist-info}/METADATA +6 -8
- flixopt-2.2.0.dist-info/RECORD +25 -0
- flixopt-2.2.0.dist-info/top_level.txt +1 -0
- docs/examples/00-Minimal Example.md +0 -5
- docs/examples/01-Basic Example.md +0 -5
- docs/examples/02-Complex Example.md +0 -10
- docs/examples/03-Calculation Modes.md +0 -5
- docs/examples/index.md +0 -5
- docs/faq/contribute.md +0 -61
- docs/faq/index.md +0 -3
- docs/images/architecture_flixOpt-pre2.0.0.png +0 -0
- docs/images/architecture_flixOpt.png +0 -0
- docs/images/flixopt-icon.svg +0 -1
- docs/javascripts/mathjax.js +0 -18
- docs/user-guide/Mathematical Notation/Bus.md +0 -33
- docs/user-guide/Mathematical Notation/Effects, Penalty & Objective.md +0 -132
- docs/user-guide/Mathematical Notation/Flow.md +0 -26
- docs/user-guide/Mathematical Notation/InvestParameters.md +0 -3
- docs/user-guide/Mathematical Notation/LinearConverter.md +0 -21
- docs/user-guide/Mathematical Notation/OnOffParameters.md +0 -3
- docs/user-guide/Mathematical Notation/Piecewise.md +0 -49
- docs/user-guide/Mathematical Notation/Storage.md +0 -44
- docs/user-guide/Mathematical Notation/index.md +0 -22
- docs/user-guide/Mathematical Notation/others.md +0 -3
- docs/user-guide/index.md +0 -124
- flixopt/config.yaml +0 -10
- flixopt-2.1.10.dist-info/RECORD +0 -57
- flixopt-2.1.10.dist-info/top_level.txt +0 -5
- pics/architecture_flixOpt-pre2.0.0.png +0 -0
- pics/architecture_flixOpt.png +0 -0
- pics/flixOpt_plotting.jpg +0 -0
- pics/flixopt-icon.svg +0 -1
- pics/pics.pptx +0 -0
- scripts/extract_changelog.py +0 -148
- scripts/extract_release_notes.py +0 -45
- scripts/gen_ref_pages.py +0 -54
- tests/ressources/Zeitreihen2020.csv +0 -35137
- {flixopt-2.1.10.dist-info → flixopt-2.2.0.dist-info}/WHEEL +0 -0
- {flixopt-2.1.10.dist-info → flixopt-2.2.0.dist-info}/licenses/LICENSE +0 -0
flixopt/__init__.py
CHANGED
flixopt/calculation.py
CHANGED
|
@@ -91,13 +91,13 @@ class Calculation:
|
|
|
91
91
|
model.label_of_element: float(model.size.solution)
|
|
92
92
|
for component in self.flow_system.components.values()
|
|
93
93
|
for model in component.model.all_sub_models
|
|
94
|
-
if isinstance(model, InvestmentModel) and float(model.size.solution) >= CONFIG.
|
|
94
|
+
if isinstance(model, InvestmentModel) and float(model.size.solution) >= CONFIG.Modeling.epsilon
|
|
95
95
|
},
|
|
96
96
|
'Not invested': {
|
|
97
97
|
model.label_of_element: float(model.size.solution)
|
|
98
98
|
for component in self.flow_system.components.values()
|
|
99
99
|
for model in component.model.all_sub_models
|
|
100
|
-
if isinstance(model, InvestmentModel) and float(model.size.solution) < CONFIG.
|
|
100
|
+
if isinstance(model, InvestmentModel) and float(model.size.solution) < CONFIG.Modeling.epsilon
|
|
101
101
|
},
|
|
102
102
|
},
|
|
103
103
|
'Buses with excess': [
|
flixopt/components.py
CHANGED
|
@@ -791,7 +791,7 @@ class StorageModel(ComponentModel):
|
|
|
791
791
|
charge_state.isel(time=slice(1, None))
|
|
792
792
|
== charge_state.isel(time=slice(None, -1)) * ((1 - rel_loss) ** hours_per_step)
|
|
793
793
|
+ charge_rate * eff_charge * hours_per_step
|
|
794
|
-
- discharge_rate *
|
|
794
|
+
- discharge_rate * hours_per_step / eff_discharge,
|
|
795
795
|
name=f'{self.label_full}|charge_state',
|
|
796
796
|
),
|
|
797
797
|
'charge_state',
|