Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Integrate TSAM mode in oemof.solph #980

Draft
wants to merge 87 commits into
base: dev
Choose a base branch
from
Draft
Show file tree
Hide file tree
Changes from 83 commits
Commits
Show all changes
87 commits
Select commit Hold shift + click to select a range
7c8921b
Add tsam_parameters to ES
henhuy Sep 22, 2023
5f228bc
Add test for TSAM integration with storage investment
henhuy Sep 22, 2023
32a64ac
Add indexes and sets fr TSAM integration in model
henhuy Sep 22, 2023
7c037a7
Refactor TSAM indexes
henhuy Sep 22, 2023
25bb816
Add inter and intra storages in TSAM mode
henhuy Sep 22, 2023
c08b117
Change cluster and timeindex indexes for TSAM mode
henhuy Sep 26, 2023
b2bf7ab
Disaggregate TSAM mode flows and storage SOCs
henhuy Sep 26, 2023
7c43a3a
Integrate new cluster and timeindexes in storage model
henhuy Sep 26, 2023
66ad66d
Fix timeindex in inter storage balance rule
henhuy Sep 27, 2023
6286e2a
Fix SOC generation from intra SOC
henhuy Sep 27, 2023
590f1be
Fix timeincrement for min and max inter storage levels
henhuy Sep 28, 2023
b44d5e1
Fix SOC calculation in postprocessing by adding self-discharge to int…
henhuy Sep 28, 2023
c46b769
Add timeindex to aggregation setup in example
henhuy Sep 28, 2023
a26bc44
Minor change
henhuy Sep 28, 2023
1b9512e
Add flow repsentation in v5 storage example
henhuy Sep 28, 2023
e578594
Ttry to add extreme periods to TSAM aggregation for storage example v5
henhuy Sep 28, 2023
4ed1770
Fix line lengths
henhuy Sep 28, 2023
bc5779b
Fix F401
henhuy Sep 28, 2023
606a7b4
Fix import order
henhuy Sep 28, 2023
bcc05f9
Move cluster-based timestep function to model
henhuy Oct 19, 2023
68caf40
Fix SOC calculation in postprocessing for TSAM mode
henhuy Oct 19, 2023
5e2f50c
Adapt TSAM storage equations for GenericInvestmentStorage
henhuy Oct 19, 2023
b64ff83
Add test for GenericInvestmentStorage in TSAM mode
henhuy Oct 19, 2023
78cf3ee
Linting
henhuy Oct 30, 2023
4467678
Add test for storage using TSAM mode
henhuy Oct 31, 2023
3dd62fd
Remove writing of lp file for tsam test
henhuy Oct 31, 2023
25bcfb2
Fix inter storage minimum to be non-negative
henhuy Oct 31, 2023
302bcd9
Minor changes
henhuy Oct 31, 2023
2df6633
Add tests for TSAM integration of invest storage and original timeseries
henhuy Oct 31, 2023
d7cd92f
Minor change
henhuy Oct 31, 2023
7055758
add example for tsam use
MaxHiDLR Oct 4, 2023
c12e86f
add aggregate time series in _helpers
MaxHiDLR Oct 4, 2023
680a343
add basic_example csv
MaxHiDLR Oct 4, 2023
5e88021
add example for tsam use
MaxHiDLR Oct 4, 2023
8acc5e8
add basic_example csv
MaxHiDLR Oct 4, 2023
9c2af19
functions to generate correct objective weighting for cost function a…
MaxHiDLR Oct 9, 2023
e81aa17
added objetive weighting fo model
MaxHiDLR Oct 9, 2023
ff78562
add plot SOC for example5
MaxHiDLR Oct 9, 2023
3881c0c
add no investment storage example for simpler debugging
MaxHiDLR Oct 9, 2023
6b2f997
correct inter_storage_level equation
MaxHiDLR Oct 9, 2023
554e835
revert "correction" inter_storage_level equation
MaxHiDLR Oct 10, 2023
75f6764
add initial inter storage level = 0
MaxHiDLR Oct 11, 2023
d36f20b
updated no investment example, so loadprofiles force use of long term…
MaxHiDLR Oct 12, 2023
54041a0
extended timeindex to delete manual initializing of timeincrement
MaxHiDLR Oct 13, 2023
f1adb86
v7 added as reference example with new tsam structure
MaxHiDLR Oct 30, 2023
3c6b41d
tsam weighting and functions added to energy system
MaxHiDLR Oct 30, 2023
ea777b0
tsam weighting added to models
MaxHiDLR Oct 30, 2023
051eb07
tsam_weighting_objective_weighting and time_increment added to cost f…
MaxHiDLR Oct 30, 2023
9a19255
Fix default init of objective and tsam weighting
henhuy Oct 31, 2023
9fded82
Remove internal tsam aggregation
henhuy Oct 31, 2023
997ff33
Move tsam weighting init into TSAM block
henhuy Oct 31, 2023
872eb54
Remove inter storage set to zero at start of each period
henhuy Oct 31, 2023
2c1c213
Apply tsam weighting to flow equations
henhuy Nov 1, 2023
b116a53
Add whatsnew file for TSAM feature
henhuy Nov 1, 2023
b6aea20
Fix TSAM weighting factors
henhuy Nov 1, 2023
406cddc
Add test for full load hours and variable costs in TSAM mode
henhuy Nov 1, 2023
30d7306
Remove testing examples
henhuy Nov 1, 2023
fd24f80
remove basic TSAm example; move TSAM invest example into TSAM test fo…
henhuy Nov 1, 2023
32213fd
Remove TSAM function from helpers
henhuy Nov 1, 2023
1575272
Fix linting errors
henhuy Nov 1, 2023
ef42d12
Fix black errors
henhuy Nov 1, 2023
992b2ea
Fix non-TSAM storage balance equation
henhuy Nov 1, 2023
101d6d9
Fix obejective weighting in case no timeincrement is set
henhuy Nov 1, 2023
5bc3623
Fix linting error
henhuy Nov 1, 2023
370c71c
Fix latex in docstring
henhuy Nov 1, 2023
b4dfd31
Fix latex in docstring
henhuy Nov 1, 2023
6978093
Fix import order
henhuy Nov 1, 2023
0606f21
Fix mccabe error and C0200 error
henhuy Nov 1, 2023
2d3e893
Fix black
henhuy Nov 1, 2023
b878765
added explanation and references to example
MaxHiDLR Nov 20, 2023
02581bf
Implement support for segmentation in TSAM mode
henhuy Nov 21, 2023
d30fbc3
add calculation of occurences of typical periods to _models
MaxHiDLR Nov 24, 2023
83f8605
improved linespace
MaxHiDLR Nov 24, 2023
2471522
changed occurrences calc to counter
MaxHiDLR Nov 25, 2023
a990ed8
TSAM occurrences parameter has to be set before calculating timesteps…
henhuy Nov 30, 2023
bc07ac8
Simplify init of occurrences
henhuy Nov 30, 2023
7787dc6
Move init of occurrences and timesteps_per_period to ES
henhuy Nov 30, 2023
84d7613
Simplify TSAM index creation
henhuy Nov 30, 2023
74d4fba
Disaggregate TSAM timeindex without timeindex parameter
henhuy Nov 30, 2023
480317f
Make linter happy
henhuy Nov 30, 2023
6e392ec
Fix error from pandas interpolation in TSAM mode for pandas<2.1.0
henhuy Nov 30, 2023
9e5ad38
added storage_level_constraint to tsam
MaxHiDLR Dec 31, 2023
b1869cc
added function to processing for active storage level constraint vari…
MaxHiDLR Dec 31, 2023
6682d44
deleted unnecessary imports in processing
MaxHiDLR Jan 2, 2024
e3cfc37
added initial inter storage level for first timestep
MaxHiDLR Jan 5, 2024
e1a23fb
Make TSAM mode available in non-multi-period approach
henhuy Apr 3, 2024
aaef5ad
corrected tsam storage level as superposition out of inter and intra …
MaxHiDLR Jul 11, 2024
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
41 changes: 41 additions & 0 deletions docs/whatsnew/v0-6-0.rst
Original file line number Diff line number Diff line change
@@ -0,0 +1,41 @@
v0.6.0 (????)
-------------

API changes
###########

* New attribute `tsa_paramters` of `oemof.solph.EnergySystem`

New features
############

* Allow usage of aggregated timeseries by
[TSAM](https://github.com/FZJ-IEK3-VSA/tsam) module. Original timeseries is
reflected by weighting typical periods (output from TSAM) accordingly.
Thus, variable costs, full load hours, startup/shutdown costs are weighted
accordingly to occurrences of typical period in original timeseries.
Additionally, storage equations are adapted in order to respect
long-term/saisonal energy storage.

Documentation
#############

Bug fixes
#########

* Fix objective weighting for startup and shutdown costs in case of no
multi-period approach.

Testing
#######

* Added test for comparison of TSAM mode versus original mode.
Including testing of storage behaviour, variable and investment costs.

Contributors
############

* Hendrik Huyskens
* Maximilian Hillen
* Patrik Schönfeldt
* Johannes Kochems
Loading
Loading