Comments (4)
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.
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.
Is this still an issue?
from plant.
I don't think so; it looks like this is probably correct now.
from plant.
Related Issues (20)
- TF24 hydraulics: Add documentation of Richards soil water implementation to Blog
- [tf24 acclimation] Tracking of resource environment through time
- [tf24 acclimation] acclimation of leaf traits to resource env
- [TF24 allometry] Break fixed relationship between leaf area and height
- [simplify interface] closer integration between run_scm and run_scm_collect
- [simplify interface] Remove redundant functions: make_scm_integrate, scm_patch, make_patch, patch_to_internals
- [simplify interface] Clarify use of expand_parameters, strategy_list, hyperpar
- [simplify interface] Clarify how to control step sizes in ode stepper HOT 1
- [simplify interface] Move reference plant from inst to tests and remove functions
- Warn if ODE solver hits minimum step size
- Vignette for K93 model
- [flattop] Alternative light interception models (flat top, PPA)
- [TF24 NSC] Literature review of Non-structural carbohydrate storage HOT 2
- Leaf dark respiration (R_d) and effect on solution of ci
- [TF24 strategy] new growth model with hydraulics and competition for water
- [Env drivers] Drive model (individuals or patches) with variable environments
- [multipatch] Multi-patch dynamics
- [simple setup] simplify user interface for running individuals, patches, multiple patches
- [plantviz] Visualisations of dynamic/growing patches
- [simplify interface] Simplify number of access points and documentation
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from plant.