Skip to content
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

leaf biomass derivative and scaling #283

Closed
rgknox opened this issue Oct 3, 2017 · 6 comments
Closed

leaf biomass derivative and scaling #283

rgknox opened this issue Oct 3, 2017 · 6 comments

Comments

@rgknox
Copy link
Contributor

rgknox commented Oct 3, 2017

We currently have an allometry function that assesses leaf biomass: see EDGrowthFunctionsMod.F90:Bleaf().

We also have an allometry function that returns the derivative of the leaf biomass function with respect to diameter (its actually the inverse of that derivative, change in diameter wrt change in biomass), see EDGrowthFunctionsMod.F90:dDbhdBl().

I noticed that in calling bleaf, we are scaling the result by this term "slascaler", which is the ratio of EDPftvarcon_inst%allom_d2bl_slascaler(cohort_in%pft)/EDPftvarcon_inst%slatop(cohort_in%pft).

However, we are not adding that term to the calculation of dDbhdBl(), as far as I can tell. I was expecting it to be there. The derivative of a function multiplied by a constant should maintain that constant.

@rosiealice
Copy link
Contributor

Hmm. I'd thus be tempted to remove slascaler. It was meant to prevent the leaf allocation for high SLA plants being lower than low SLA plants, so that low SLA plants don't end up with a huge disadvantage, but now the pft specific allocation fractions override the need for that, since we can adjust the amount of leaf area externally if we so desire. I'd vote for getting rid of it. And good catch. :)

@rgknox
Copy link
Contributor Author

rgknox commented Oct 3, 2017

Sounds good. When I remove it, I will modify the existing parameter file and adjust EDPftvarcon_inst%allom_d2bl1 to accomodate the loss of slascaler.

@rgknox
Copy link
Contributor Author

rgknox commented Oct 4, 2017

Here is a quick test of the proposed fix. Results change a little bit, but not a big shift really.
bleaf-deriv-fix_plots.pdf

@rosiealice
Copy link
Contributor

rosiealice commented Oct 4, 2017 via email

@rgknox
Copy link
Contributor Author

rgknox commented Oct 4, 2017

Same here, I was expecting the fix to not be b4b, and I'm happy to see that the results are not changed that much.

@ckoven
Copy link
Contributor

ckoven commented Oct 10, 2017

fixed via #287. closing.

@ckoven ckoven closed this as completed Oct 10, 2017
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

3 participants