Add new realization 11_aerosols/exoGAINS2025 - #2205
Conversation
… REMIND and first half of exoGAINS2025Airpollutants script.
…uding removal of f11_emiAPexsolve.cs4r which only contains data for GAINSlegacy scenarios
| "modules/11_aerosols/exoGAINS2025/input/emi2020_sectGAINS_sourceCEDS.cs4r", | ||
| "modules/11_aerosols/exoGAINS2025/input/emifacs_sectGAINS_sourceCEDS.cs4r", | ||
| "modules/11_aerosols/exoGAINS2025/input/emi2020_sectGAINS_sourceGAINS.cs4r", | ||
| "modules/11_aerosols/exoGAINS2025/input/emifacs_sectGAINS_sourceGAINS.cs4r", |
There was a problem hiding this comment.
why will those new data not be provided by the input data?
There was a problem hiding this comment.
I followed the current logic of the exoGAINS script. These files are needed for it, and thus need to be copied into the run folder. Agree?
There was a problem hiding this comment.
It seems that it can be changed. Will do.
There was a problem hiding this comment.
Adressed by this commit: 2fd89d9
Is this the preferred way to implement it?
| SSP4 | ||
| SSP5 | ||
| MTFR | ||
| SMIPVLLO |
There was a problem hiding this comment.
can this be deleted as long as we keep the old exoGAins-realization?
There was a problem hiding this comment.
GAINSlegacy can be deleted once we delete the old exoGAINS realization. It is not needed for the new exoGAINS2025 realization.
| + p11_emiAPexsolve(t,regi,"solvents","BC") | ||
| + p11_emiAPexsolve(t,regi,"extraction","BC") | ||
| + p11_emiAPexsolve(t,regi,"indprocess","BC"); | ||
| pm_emiExog(t,regi,"OC") = p11_emiAPexo(t,regi,"OC","AgWasteBurning") |
There was a problem hiding this comment.
where are those data calculated for startyear > 2005?
There was a problem hiding this comment.
This is old (questionable) data that I had to keep for now in the interest of time. I would be happy to delete it all right away, but do not want to crash REMIND. The data currently comes from the old mrremind functions: https://github.com/pik-piam/mrremind/blob/3770198d494e3aa49c04f673ddc03586ca4186a4/R/fullREMIND.R#L110C1-L112C123
Updating this is part of : pik-piam/mrremind#731 (comment)
| emifacs_sectGAINS_sourceCEDS.cs4r | ||
| f11_emifacs_sectREMIND_sourceCEDS.cs4r | ||
| emi2020_sectGAINS_sourceGAINS.cs4r | ||
| emifacs_sectGAINS_sourceGAINS.cs4r |
There was a problem hiding this comment.
are all emi* files generated by input data process? If so, you do not need to add those to cfg$files2export$start, Distribution would happen automatically
There was a problem hiding this comment.
Yes, all emi files are generated by input data process. But how would REMIND now to put these here?
There was a problem hiding this comment.
This is linked to #2205 (comment). Please let me know if the input data files should be handled differently.
…x): Fill NAs before computing GLO emissions.
Purpose of this PR
This PR adds a new realization 11_aerosols/exoGAINS2025 based on the input data provided by the new functions
calcGAINS2025andcalcAirPollBaseyearEmifrom pik-piam/mrremind#731.! new inputdata including mrremind-PR731 is required!
! new reporting required remind2-PR753!
It implements the approach to calculate air pollutant emissions as:
Baseyear emissions (2020) * (GAINS emission factor / GAINS emission factor (2020)) * (REMIND activity / REMIND activity (2020))
The structure of exoGAINS2025 follows the existing realization exoGAINS. The initial duplication of the realization is done in the first commit "Part 1" to be able to separate it from the content changes in the following commits.
Main changes:
calcGAINS2025used in REMIND (GAMS) and exoGAINS2025Airpollutants (R).cm_APsourceType of change
Indicate the items relevant for your PR by replacing ◻️ with ☑️.
Do not delete any lines. This makes it easier to understand which areas are affected by your changes and which are not.
Parts concerned
Impact
Checklist
Do not delete any line. Leave unfinished elements unchecked so others know how far along you are.
In the end all checkboxes must be ticked before you can merge.
make test) after my final commit and all tests pass (FAIL 0)remind2if and where it was neededforbiddenColumnNamesin readCheckScenarioConfig.R in case the PR leads to deprecated switchesCHANGELOG.mdcorrectly (added, changed, fixed, removed, input data/calibration)Further information (optional)
/p/tmp/laurinko/remind-airpollution/p/tmp/laurinko/remind-airpollution/compScen-GAINS2025-2025-09-18_14.09.50-H12.pdf/p/tmp/laurinko/remind-airpollution/compScen-GAINS2025-2025-09-18_14.09.50-AirPollutantsDetailed.pdfharmonisation-results_REMIND.pdf
compScen-SSP2-NPi2025-GAINS-2025-09-17_23.04.23-H12.pdf(red: old, green/blue: new). As expected, due to usage of CEDS instead of GAINS as source, SO2 emissions are a bit higher. Also as expected, this leads to a slight decrease in coal use.