tutorials:radiation-model-in-crop_model9
Differences
This shows you the differences between two versions of the page.
| Both sides previous revisionPrevious revision | |||
| tutorials:radiation-model-in-crop_model9 [2025/11/01 12:01] – [Tasks for Exploration] barley1965 | tutorials:radiation-model-in-crop_model9 [2025/11/01 15:40] (current) – barley1965 | ||
|---|---|---|---|
| Line 115: | Line 115: | ||
| The model now makes fruit formation dependent on the availability of a threshold amount of sugar in the nearest leaf (L. 169-174): | The model now makes fruit formation dependent on the availability of a threshold amount of sugar in the nearest leaf (L. 169-174): | ||
| <code java> | <code java> | ||
| - | fl: | + | fl: |
| - | {float sugar = first((* Leaf *)[as]); | + | {float sugar = lf[as]; |
| println(" | println(" | ||
| } | } | ||
| - | if(sugar> | + | if(sugar> |
| else (fl); | else (fl); | ||
| </ | </ | ||
| Note that a '' | Note that a '' | ||
| - | Availability of sugar is calculated by querying '' | + | Availability of sugar is calculated by querying '' |
| ===== Fruit Growth Competition ===== | ===== Fruit Growth Competition ===== | ||
tutorials/radiation-model-in-crop_model9.1761994860.txt.gz · Last modified: 2025/11/01 12:01 by barley1965
