pommes-public / pommesinvest

A bottom-up fundamental investment model for the German electricity sector
Other
3 stars 0 forks source link

Memory handling becomes an issue for large model instances #12

Closed jokochems closed 1 year ago

jokochems commented 1 year ago

For solving large long-term models (European scope, 2020-2025/2050, hourly resolution, including demand response), currently Out of Memory Errors are faced.

These are twofold:

Problem 1 (full instance: including demand response and 2020-2050):

Problem 2 (reduced instance: reducing to 2020-2045):

jokochems commented 1 year ago

13 might solve problem 2, while for problem 1, as written, this might be resolved by adjusting the model configuration itself. Thus, at first, no further code changes seem necessary. This issue should nevertheless be reopened if needed.

jokochems commented 1 year ago

Another heads up: Using this strategy, a model run with hourly resolution and considering the median estimate for technical demand response potentials as well as for the costs of flexibility options terminated, though memory usage (around 460 GB) was very close to the available resource limit.