update highres parallel opmization tc #720
Merged
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
🐦 Description of this PR 🐦
With "exo", the previous default in output/extra/highres.R, spikes in costs and prices occur in single time steps.
With "endo_jan22" (model default), this does not happen.
Run time for c1000 parallel is the same for both, tc exo and tc endo_jan22: 18 mins with H16.
For context, some more run times:
c1000-SSP2-T400-CO2,978.5 = 16 h (c1000 global optimization)
c400-SSP2-T400-CO2,113.1
HRc1000_c400-SSP2-T400-CO2,18.8
HRc2000_c1000-SSP2-T400-CO2,48.1
TCendo_HRc1000_c400-SSP2-T400-CO2,18.4
TCendo_HRc2000_c400-SSP2-T400-CO2,72.2
🔧 Checklist for PR creator 🔧
Label pull request from the label list.
Self-review own code
magpie4
R library has been updated accordingly and backwards compatible where necessary.scenario_config.csv
has been updated accordingly (important ifdefault.cfg
has been updated)Document changes
CHANGELOG.md
goxygen::goxygen()
and verify the modified code is properly documentedPerform test runs
Rscript start.R --> "compilation check"
Rscript start.R --> "test runs"
Rscript start.R --> "test runs"
📉 Performance changes 📈
🚨 Checklist for reviewer 🚨
CHANGELOG
is updated correctly