Closed sjpfenninger closed 9 months 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:
time_resample
would have no impact here as currently when we resample we keep a copy of the original timeseries in-memory anyway.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
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:
model.resample_time
.model.cluster_time
.model.include_inter_cluster_storage
, default is True).