GithubHelp home page GithubHelp logo

Comments (4)

richfitz avatar richfitz commented on August 26, 2024

My belief is that when we have only cohorts, this should become a sum over cohorts. For a list of cohorts we should be able to approximate this with a trapezium rule over vectors x, y where

x[i] = cohort[i].mass_leaf
y[i] = cohort[i].leaf_area_above(z)

where cohort[i].leaf_area_above(z) incorporates the total leaf mass and density of cohort i. Presumably the density incorporates a term that cancels out the integration over mass_leaf?

This is implemented in 9773484 at the moment.

from plant.

richfitz avatar richfitz commented on August 26, 2024

If we do compute light environment the way described above, there is a possible problem on the first step where there is exactly one cohort tracked with a mass the same as the initial seed mass -- in that case x_1 == x_0 (so dx = 0) and the integral will evaluate to zero everywhere, so even though there is an "individual", the light environment is empty. This goes away as the individual grows, but I'm not sure that it goes away correctly.

from plant.

dfalster avatar dfalster commented on August 26, 2024

Is this still an issue?

from plant.

richfitz avatar richfitz commented on August 26, 2024

I don't think so; it looks like this is probably correct now.

from plant.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.