-
Notifications
You must be signed in to change notification settings - Fork 141
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
rename and improve description of weathering rates #1929
Conversation
Updated suggestion to be approved by @strefler:
|
Thanks! I like the renaming. Regarding the simplification, I'm not sure whether it is easier for GAMS to deal with an expression like c * exp(x), or x**c. Both of them involve power functions, and my gut feeling is, that exponential might be easier, but I'm not sure. However, in the last change of the equations file, there is one exponential less, so maybe that helps. Might make sense to involve RSE on that question. The test runs show quite a bit of change, I would have expected pretty much the same outcome. Do we know where the deviation comes from? |
@strefler why do you think it looks different to before? |
@strefler we consulted @LaviniaBaumstark who shared your concern. The compromise is to move the log calculation to the equation. This keeps the accessible interpretation of p33_rock_weath_rate and makes also q33_EW_emi simpler to read. The calculation of v33_EW_onfield_tot may look a bit more complicated at first, but I added an explanation in the description which should support understanding. As all exp & log are at the same place now, it also doesn't require to look in 2 documents to understand the equation. |
I made a final check comparing the previous and current formulation, just to be sure. There are very minor deviations that I don't understand. My guess would be it is due to some minor numerical differences in the calculation? It wouldn't stop me from merging, but @amerfort could you make a final check that I didn't make a random mistake in the reformulation? |
Purpose of this PR
p33_co2_rem_rate and s33_co2_rem_rate currently have the same description, albeit meaning different things.
To make it more accessible and have different names, I suggest to rename the latter to s33_co2_rem_fraction, as it actually provides the (theoretical) fraction weathering each year. Alternatively, we could call it p33_co2_rem_exponent?
The PR also changes the description in the declarations.
Happy to further improve the description or names based on your suggestions.
If you agree to the renaming, I will also need to adjust it in remind2.
Type of change
Checklist:
remind2
where it was neededforbiddenColumnNames
in readCheckScenarioConfig.R in case the PR leads to deprecated switchesFAIL 0
in the output ofmake test
)CHANGELOG.md
has been updated correctly@strefler @amerfort
for reference @VerenaHof @robertsalzwedel