Skip to content
Merged
Show file tree
Hide file tree
Changes from 18 commits
Commits
Show all changes
134 commits
Select commit Hold shift + click to select a range
3c20c15
Add directory
uvchik Nov 13, 2025
9b9bbba
Move script placeholder to right place
p-snft Nov 13, 2025
00b5e49
Add example 10-minute resolution data
p-snft Nov 13, 2025
d9695d1
Add first draft of an equidistant model
uvchik Nov 13, 2025
53cc3b4
Fix style issue
uvchik Nov 13, 2025
c021430
adds simple draft for multi_period tutorial
esske Nov 26, 2025
20c64df
Remove time index tutorial input data
p-snft Nov 28, 2025
2de1c24
Add timeindex tutorial data download script
p-snft Nov 28, 2025
28f8c1d
Add data licensing information to download_input_data
p-snft Nov 28, 2025
95151ce
Improve example data file download script
p-snft Dec 3, 2025
3c81884
Add demandlib heat profile generation to time index tutorial
p-snft Dec 3, 2025
f92d308
add example of tsam with equal logic as time_series_equidistant.py ex…
Maxhi77 Dec 9, 2025
df6e8cb
add exmaple of segmentation of timeseries with tsam
Maxhi77 Dec 9, 2025
a51f3be
adds cost data and energy prices
esske Dec 11, 2025
db5d7e3
adds mulit-period with dummy data
esske Dec 11, 2025
0dfdf45
Add basic resampling plot in time index tutorial
p-snft Dec 11, 2025
14d90de
cleans data in shared.py
esske Dec 15, 2025
ccd672c
Add feasable mulit_period model, but with not working decomissioning
esske Dec 15, 2025
762dc07
fixes decommisioning bug, but creates but in PV
esske Dec 16, 2025
f01c581
Use shared data for model and add uneven index
uvchik Dec 17, 2025
a52bd31
Add a copy of shared
uvchik Dec 17, 2025
27045bb
Merge branch 'examples-timeseries-retcon-paper' of http://github.com/…
uvchik Dec 17, 2025
05899ff
Merge branch 'dev' of http://github.com/oemof/oemof-solph into exampl…
uvchik Dec 17, 2025
e53c63e
Adapt examples with even/uneven timeseries
uvchik Dec 18, 2025
630fb13
adds old results processing to mulit_period
esske Dec 18, 2025
709f13b
Adapt shared as discussed
uvchik Dec 18, 2025
bcf6b57
Merge branch 'examples-timeseries-retcon-paper' of https://github.com…
esske Dec 18, 2025
1f2f9d3
Fixes bug in multi-period with magic
esske Dec 18, 2025
c29199e
Add normed pv timeseries
uvchik Dec 18, 2025
d84d8a5
Merge branch 'examples-timeseries-retcon-paper' of http://github.com/…
uvchik Dec 18, 2025
5e2f184
Fix unit of normed pv time series to W/kWp
uvchik Dec 18, 2025
543b2d4
Combine time series examples
uvchik Dec 18, 2025
0f8f091
Create cost data for every year until 2065
uvchik Dec 18, 2025
344279c
Create time series in kWh because prices are per kW(h)
uvchik Dec 18, 2025
0cb3b97
Add prices to example
uvchik Dec 18, 2025
4e13112
Fix style issues
uvchik Dec 18, 2025
4685653
add function for discount average price of energy carriers f.e. gas p…
Maxhi77 Dec 19, 2025
b90b20b
Integrate cost data
uvchik Dec 19, 2025
8cd6865
Refactor shared.py from time index tutorial
p-snft Jan 2, 2026
04a623e
Refactor further
p-snft Jan 2, 2026
e0a393c
Delete shared_e in time index tutorial
p-snft Jan 2, 2026
3ed1a6b
Change plot to show time-series as such
p-snft Jan 2, 2026
7b03c42
Update used building for time index tutorial
p-snft Jan 3, 2026
e0699ff
Improve example data plotting
p-snft Jan 5, 2026
7cf1b93
Read data from shared.py in mulit_period.py
esske Jan 5, 2026
47ca570
Add car charging profile to shared.py
esske Jan 5, 2026
b92d355
Add year parameter
uvchik Jan 6, 2026
31444e3
Merge branch 'examples-timeseries-retcon-paper' of http://github.com/…
uvchik Jan 6, 2026
b05fe82
Add proxy
uvchik Jan 6, 2026
1171bfe
Fix style issues
uvchik Jan 6, 2026
9ba2f00
Add car charging
uvchik Jan 6, 2026
6ae0001
Add parameters to share
uvchik Jan 6, 2026
6fcaac2
Fix uneven timeindex
uvchik Jan 6, 2026
6014e1c
Add reduced pv costs
esske Jan 7, 2026
bfd1e1d
Merge branch 'examples-timeseries-retcon-paper' of https://github.com…
esske Jan 7, 2026
1f1d9fd
change tsam_example equal logic to time_series_equidistant.py example…
Maxhi77 Jan 7, 2026
43d6e15
change tsam_example equal logic to time_series_equidistant.py example…
Maxhi77 Jan 7, 2026
56b52b1
Add new car time series
esske Jan 7, 2026
5551274
Adapt factors
uvchik Jan 7, 2026
ffdf662
Merge branch 'examples-timeseries-retcon-paper' of http://github.com/…
uvchik Jan 7, 2026
56b0a6e
Add parameter variation and pv limit
uvchik Jan 7, 2026
3dfa60d
Clean module
uvchik Jan 7, 2026
6526b62
Create lock file to enable multiple sessions
uvchik Jan 7, 2026
409dc18
Fix path creation
uvchik Jan 7, 2026
329167d
Fix parameter variation
uvchik Jan 7, 2026
2835fb7
Why PV?
esske Jan 8, 2026
6295b62
Fix style issues
uvchik Jan 9, 2026
dd7d42e
Merge branch 'examples-timeseries-retcon-paper' of http://github.com/…
uvchik Jan 9, 2026
b647333
Align code and add time tracking
uvchik Jan 9, 2026
c34382c
Fix time tracking
uvchik Jan 9, 2026
7f18110
Replace fixed_costs by offset
p-snft Jan 10, 2026
82a2014
add investment max values to cost data
Maxhi77 Jan 11, 2026
79d10f3
delete max_capacity_pv because it is now in cost data for each techno…
Maxhi77 Jan 11, 2026
ca0c2ab
change some naming in tsam example
Maxhi77 Jan 11, 2026
448850c
Merge branch 'examples-timeseries-retcon-paper' of github.com:oemof/o…
p-snft Jan 11, 2026
5291a46
add create inv. object function for multiperiod
Maxhi77 Jan 12, 2026
6b6aa25
integrate into tsam example the create inv object multiperiod
Maxhi77 Jan 12, 2026
d8a607e
to equalize examples annuity of offset and interest rate =0.05
Maxhi77 Jan 12, 2026
ecd5a21
to equalize examples annuity of offset and interest rate =0.05
Maxhi77 Jan 12, 2026
9b31893
New Plot for Multi-period
esske Jan 12, 2026
4e5fbcf
Fix style issues
uvchik Jan 13, 2026
8a5f3ef
Re-introduce argument discount_rate for Model
p-snft Jan 13, 2026
0828673
Fix tsam model
uvchik Jan 13, 2026
e5a2993
Add summary plots
uvchik Jan 14, 2026
785924c
Merge branch 'dev' into examples-timeseries-retcon-paper
p-snft Jan 21, 2026
ef472f3
Rename tutorials section
p-snft Jan 21, 2026
6fdc5d3
Add stub for time index tutorial
p-snft Jan 21, 2026
06a1423
Remove word "introductory" from tutorial page headline
p-snft Jan 21, 2026
3e01776
Merge branch 'dev' into examples-timeseries-retcon-paper
p-snft Jan 21, 2026
46afe0c
Remove unused imports
p-snft Jan 22, 2026
0a48699
Fix import oder in tutorials
p-snft Jan 22, 2026
2e76d42
Collect TSAM tutorial time series
p-snft Jan 22, 2026
ea7f6c1
Fix internal link in docs
p-snft Jan 22, 2026
7d43adc
Adhere to Black
p-snft Jan 22, 2026
81919c2
Use same ES factory for both upfront invest models
p-snft Jan 22, 2026
d394831
Use unified ES model in pathway planning model
p-snft Jan 23, 2026
38fefa7
Merge branch 'dev' into examples-timeseries-retcon-paper
p-snft Jan 23, 2026
4da2b4d
Merge branch 'dev' into examples-timeseries-retcon-paper
p-snft Jan 23, 2026
9894d98
Fix import orders
p-snft Jan 23, 2026
eeccc66
Merge, delete, and rename timeindex tut scripts
p-snft Jan 23, 2026
8518ee4
Refactor timestep tutorial data download
p-snft Jan 28, 2026
5ed8c9a
Set timeout for data download
p-snft Jan 28, 2026
a085229
Adhere to Black
p-snft Jan 28, 2026
912f021
Refactor example data fetcher
p-snft Jan 28, 2026
c576778
Merge branch 'dev' into examples-timeseries-retcon-paper
p-snft Jan 28, 2026
0178f13
Merge branch 'dev' into examples-timeseries-retcon-paper
p-snft Jan 28, 2026
4e4b590
Add changes to changelog
p-snft Jan 28, 2026
965de0f
Fix typo
p-snft Jan 28, 2026
296727c
Add beginning of time index tutorial
p-snft Jan 28, 2026
9dcf00f
Fix code in rst
p-snft Jan 28, 2026
cb2687d
Change doc formulation
p-snft Jan 28, 2026
103ba39
Remove always true if checks
p-snft Jan 28, 2026
62f9a7b
Merge branch 'dev' into examples-timeseries-retcon-paper
p-snft Jan 28, 2026
97574ca
Fix shadowing and type issues
uvchik Jan 28, 2026
76d1feb
Merge branch 'examples-timeseries-retcon-paper' of http://github.com/…
uvchik Jan 28, 2026
ae0be8d
Merge branch 'dev' into examples-timeseries-retcon-paper
p-snft Jan 28, 2026
1d1be69
Merge branch 'examples-timeseries-retcon-paper' of github.com:oemof/o…
p-snft Jan 28, 2026
17eab10
Merge branch 'dev' into examples-timeseries-retcon-paper
p-snft Jan 30, 2026
7137651
Continue ts tutorial text
p-snft Feb 2, 2026
c5f47bd
Reference input_data script in tutorial
p-snft Feb 2, 2026
216d4ca
Replace png image by svg
p-snft Feb 2, 2026
805f7c8
Add duration curve to tutorial
p-snft Feb 2, 2026
2bfe607
Improve file handling in tutorial scripts
p-snft Feb 2, 2026
c9a47a1
Discart unneeded return values
p-snft Feb 2, 2026
2c2a9d9
Move figure to correct path
p-snft Feb 2, 2026
d61da99
Test side-by-side images
p-snft Feb 2, 2026
dfc926d
Merge branch 'dev' into examples-timeseries-retcon-paper
p-snft Feb 2, 2026
b995773
Finalise draft for aggregation tutorial part 1
p-snft Feb 2, 2026
947bdb2
Add description of step 4 in tempoall_aggreation.rst
esske Feb 9, 2026
137615e
add figures for tsam tutorial
Maxhi77 Feb 9, 2026
3156a45
add step 3 tutorial explanation of tsam
Maxhi77 Feb 9, 2026
d365c29
Merge branch 'dev' into examples-timeseries-retcon-paper
p-snft Feb 18, 2026
832f364
Complete aggregation tutorial
p-snft Feb 18, 2026
f1c6f9a
Replace Elsevier links by doi
p-snft Feb 19, 2026
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
3 changes: 3 additions & 0 deletions tutorials/.gitignore
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
energy.csv
temperature.csv

71 changes: 71 additions & 0 deletions tutorials/advanced/time_index/cost_data.py
Original file line number Diff line number Diff line change
@@ -0,0 +1,71 @@
import pandas as pd


def energy_prices() -> pd.DataFrame:

print("Data is taken from at doi: https://doi.org/10.52202/077185-0033")

years = [2025, 2030, 2035, 2040, 2045]
return pd.DataFrame(
{
"gas_prices [Eur/kWh]": [
0.116,
0.106,
0.133,
0.116,
0.118,
],
"electricity_prices [Eur/kWh]": [
0.386,
0.303,
0.290,
0.294,
0.286,
],
"pv_feed_in [Eur/kWh]": [-0.081] * 5,
},
index=pd.Index(years, name="year"),
)


def investment_costs() -> pd.DataFrame:
print("Data is taken from doi: https://doi.org/10.52202/077185-0033")

years = [2025, 2030, 2035, 2040, 2045]
idx = pd.Index(years, name="year")

df = pd.DataFrame(
{
("gas boiler", "specific_costs [Eur/kW]"): [61] * 5,
("gas boiler", "fixed_costs [Eur]"): [4794] * 5,
("heat pump", "specific_costs [Eur/kW]"): [
1680,
1318,
1182,
1101,
1048,
],
("heat pump", "fixed_costs [Eur]"): [3860, 3030, 2716, 2530, 2410],
("heat storage", "specific_costs [Eur/m3]"): [1120] * 5,
("heat storage", "fixed_costs [Eur]"): [806] * 5,
("pv", "specific_costs [Eur/kW]"): [
1200,
1017,
927,
864,
828,
],
("pv", "fixed_costs [Eur]"): [3038, 2575, 2347, 2188, 2096],
("battery", "specific_costs [Eur/kWh]"): [
850,
544,
453,
420,
409,
],
("battery", "fixed_costs [Eur]"): [0] * 5,
},
index=idx,
)

return df
Loading
Loading