Interpolating biomass and cost data between usual 5-year increments for yearly myopic optimisation#1986
Interpolating biomass and cost data between usual 5-year increments for yearly myopic optimisation#1986LRydin wants to merge 1 commit intoPyPSA:masterfrom
Conversation
|
There is a lot I still need to do, but first, I'd welcome all input. Then I can get to fixing all the issues and stuff I have missed. |
|
In principle, a good idea to support arbitrary years, even if linearly interpolated.
|
|
I missed your comment, @fneum, sorry. I think, maybe the best approach is to open an issue/PR in the |
This is my first PR. I've been toying around with the possibility of running year-by-year miopic optimisation. Shortly, I found that the only two extant obstacles were:
Thus, I've changed two things in this PR. First, I've created an elementary script that linearly interpolates the biomass potentials. Secondly, I've changed the retrieve.smk rule for the costs data from
technology-data's `output'.Closes # (if applicable).
Changes proposed in this Pull Request
Created:
scripts/retrieve_cost_data_interpolated.pyEdited:
rules/retrieve.smkscripts/build_biomass_potentials.pyDoubt
I don't think my approach to linear interpolation could be improved, since it fundamentally just shifts the work that
technology-datadoes topypsa-eur. So this is a bit patchyNote
plot_balance_map_interactive, but this could be an issue with upper bounds/limits, not to do with the optimisation.Checklist
pixi.toml(usingpixi add <dependency-name>).config/config.default.yaml.doc/configtables/*.csv.doc/release_notes.rstis added.