calliope-project / calliope

A multi-scale energy systems modelling framework
https://www.callio.pe
Apache License 2.0
299 stars 94 forks source link

Move time series aggregation to an external module #356

Closed sjpfenninger closed 9 months ago

sjpfenninger commented 3 years ago

Problem description

To reduce complexity of Calliope's core code, we only want a hook for time series aggregation and resampling, rather than actually doing it ourselves.

The external module could be:

TODO:

brynpickering commented 1 year ago

In the context of #452, we could now have config.init.time_resample alongside config.init.time_subset.

We could also move these two configuration items to config.build and allow a user to resample/slice data only when they build the optimisation problem?

As I see it, advantages:

Disadvantages:

sjpfenninger commented 9 months ago

We have decided not to provide clustering code for now, and leave it up to users to do clustering as per their requirements. As of 0.7, it's possible to supply user-defined clustering: e.g. config.init.time_cluster: cluster_days.csv