-
Notifications
You must be signed in to change notification settings - Fork 249
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
Split planning_horizons
wildcard into investment year and cost year
#578
Comments
Hi Fabian @fneum, Just some thoughts on this issue. I see that this is a fairly old issue, but since it has not been resolved yet, I try to go for it. Would you suggest a similar approach to what was done in the multiyear-branch of pypsa-eur, i.e. making weather year a wildcard (https://github.com/PyPSA/pypsa-eur/tree/multiyear)? Furthermore, have you considered integrating weather year as a wildcard with what you propose in this issue? A weather year wildcard would ofc imply a change in the pypsa-eur framework as well. In this case, we would obtain postnetworks named: With letters infront of wildcards to avoid ambiguity. Or does it get too messy with that many year-wildcards? |
Hi @ebbekyhl, sounds good in general with the prefixed and wildcards. @lisazeyen also has put some thought into it, so maybe quickly check in with her. I'd keep the weather year out of it for the moment. The wildcard would need to be placed rather at the beginning as it affects PyPSA-Eur already: |
Hi both. We in Aarhus are particularly interested in including the {weather_year} but it makes sense to design a naming structure that is compatible with having 3 years in the name (weather, planning_horizon and cost) without getting too messy. |
Hi @ebbekyhl , I also like the idea and we were thinking about it before. I agree with @fneum that it would be nice to move the wildcard for the weather year at the beginning of the name ( |
Weather YearYes, so the reason why The If you want, I'll update the WIP PRs in PyPSA-Eur(-Sec) for multiple weather years so it's more or less compatible with the current version and you could continue from there? Also feel free to continue these yourselves. Investment and Cost YearWhether
|
also tagging @koen-vg who I know has been working on getting multiple weather years to run in PyPSA-Eur |
Thanks, @fneum and yes, I'm also fine with @lisazeyen's suggestion, this will make the network names less messy |
This is maybe more relevant to PyPSA-Eur and #315, but since discussion seems to be happening in a few different places I'll just comment here. I think it would be great to be able to sweep multiple weather years using a wildcard! There are, however, some things to keep in mind. A different but very related issue is that of running PyPSA-Eur over a single multi-year period, for example doing a single greenfield optimisation over the period 2010-2020. (In the case of multiple investment periods, one could imagine running the model for a few years in each investment period, but that use-case maybe less pressing.) Anyway, if multi-year periods are to be supported, how would that interact with a {weather_year} wildcard? What I have worked on is an implementation where we have a {year} wildcard which is allowed to be either a single year ("2020") or a range of years ("2010-2020"). In this case, we found it most natural to define the snapshots of the network over this range. One unfortunate side-effect is that the base network is then already different for different modelling periods, since that's where the snapshots are set. In order to avoid building different bus regions, etc. for different base networks, we worked around this by defining a separate "constant" base network. This is probably not the most elegant solution; another possibility might be to redefine the network snapshots in the Setting the network snapshots to different year ranges might also make it easier to work with e.g. load data from different years in the future. I don't think there are any very easy answers here, as it seems inherently a bit complicated to mix weather, load and cost data all from different years. |
For the OP, this issue is addressed here PyPSA/pypsa-eur-sec#263. I did not touch weather year since this seems to be developing well elsewhere. |
Closed via PyPSA/pypsa-eur-sec#267, right? |
We often model 2050 with 2030 cost assumptions in overnight scenarios.
It would be consistent to separate the
planning_horizons
wildcard into two wildcardsinvestment_year
andcost_year
. For myopic optimisation, these should be identical.The text was updated successfully, but these errors were encountered: