Make all damage variables the same sign #63
Draft
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.
@davidanthoff Based on our conversation last week, I've attempted to make FUND have consistent signs for all of the damage variables, where a positive value means damages, and a negative value means benefits. This means that the
ImpactAggregation
component simply sums together each damage variable to calculateeloss
, without having to change any signs.The five variables I had to switch were:
agcost
in ImpactAgriculturecooling
in ImpactCoolingforests
in ImpactForestsheating
in ImpactHeatingwater
in ImpactWaterQuestions:
waterdam
orwatercost
to be consistent? (it's confusing that the agriculture one is already calledagcost
, even though it was measuring benefits.)run_timestep
functions (slightly more complicated in the Agriculture component, but you'll see that that's basically what I did). But would you prefer something more sophisticated, where we actually just change the sign of the "benchmark" parameter for each component, so that it has the correct sign instead?min
's that I've now changed tomax
's which limit the size of the benefits to all or some fraction of the economy. I still think this is confusing, and just want to check that this isn't a bug that we should address. If not, can we add something to the documentation that explains how these ceilings on sector-specific benefits were picked? (for agriculture, benefits can't exceed the agricultural share of the economy. for water and forests, the limit on benefits is 10% of income)