-
Notifications
You must be signed in to change notification settings - Fork 241
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
Time aggregation: can't have two different aggregations between elec and sectors #1277
Comments
Hi. Indeed it looks like with the current implementation, it might not be possible to set one resolution for electricity-only networks, and another resolution for sector-coupled networks. Implementation-wise, networks are time-aggregated according to However, I cannot see that snapshot weightings are exported in the I do agree that it seems a bit unnecessary to have two completely separate paths for time aggregation. However, it seems like a bit of a hairy issue to resolve cleanly without making some changes to the rest of the workflow. My observations:
At the very least, we could document a little better right now that different time resolutions for elec-only and sector-coupled networks aren't supported. If others think it's a reasonable idea, I'd be happy to give something like 4. (above) a shot and see if I can harmonise how time aggregation is dealt with a little. Thoughts? |
Just to add one or two more reflections on this issue, #1278 is the kind of thing that happens when users try setting Thinking about it again, I gather that the concrete, practical reason for having two configuration options for this is precisely because In my opinion, it might not be a bad idea to introduce a new configuration option like If such an option was introduced, the time resolution configuration could be simplified to a single option, and the |
Checklist
master
branchpypsa-eur
environment. Update viaconda env update -f envs/environment.yaml
.Describe the Bug
I believe there are some issues with time aggregation.
If you run the sectorial model with two different resolution for electricity and sectors it will create the csv for the snapshot weightings (in "resources") in the prepare_network rule, then it is not rerun in prepare_sector_network, thus taking the values from that csv.
Maybe there is no need to separate the two time aggregations
PS: thanks @p-glaum for the help with this
The text was updated successfully, but these errors were encountered: