-
Notifications
You must be signed in to change notification settings - Fork 2
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
Add documentation and comments for pulse size #47
base: main
Are you sure you want to change the base?
Conversation
Codecov Report
@@ Coverage Diff @@
## master #47 +/- ##
=======================================
Coverage 90.37% 90.37%
=======================================
Files 12 12
Lines 187 187
=======================================
Hits 169 169
Misses 18 18
Flags with carried forward coverage won't be shown. Click here to find out more.
Continue to review full report at Codecov.
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I think the docs as written right now are incorect: the unit of pulse_size
is GtC, not GtCO2, unless I'm missing something :)
README.md
Outdated
|
||
### Pulse Size Details | ||
|
||
By default, MimiDICE2010 will calculate the SCC using a marginal emissions pulse of 10 GtCO2 spread over ten years, or 1 GtCO2 per year for ten years. The SCC will always be returned in $ per ton CO2 since is normalized by this pulse size. This choice of pulse size and duration is a decision made based on experiments with stability of results and moving from continuous to discretized equations, and can be found described further in the literature around DICE. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I think that is incorrect. The unit of pulse_size
is GtC, not GtCO2, and the default parameter value is 1e10
, so the default pulse size is 10 GtC. It might make sense, though, to change the unit of pulse_size
to GtCO2, just to have everything uniform?
README.md
Outdated
compute_scc(m::Model=get_model(); year::Union{Int, Nothing}=nothing, last_year::Int=model_years[end], | ||
prtp::Float64=0.015, eta::Float64=1.5, pulse_size=1e10) | ||
``` | ||
where `pulse_size` controls the size of the marginal emission pulse in GtCO2. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Again, at the moment the unit is GtC, as far as I can tell.
@davidanthoff fixed! |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I have one more change suggestion on the language.
Co-authored-by: David Anthoff <[email protected]>
@davidanthoff ready for merge! |
#32