User Tools

Site Tools


tutorials:radiation-model-in-crop_model9

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revisionPrevious revision
Next revision
Previous revision
tutorials:radiation-model-in-crop_model9 [2025/11/01 11:56] barley1965tutorials: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:Flower(t, m), (t >= m && t<m+2) ==>  +fl:Flower(t, m)(* <-minDescendants-Node-minDescendants->lf:Leaf *),(t >= m && t<m+2) ==> 
- {float sugar = first((* Leaf *)[as]);+ {float sugar = lf[as];
  println("sugar: " + sugar);  println("sugar: " + sugar);
  
- if(sugar>0.0005) ({noFrts++;} Fruit(0.01,1,0.1,noFrts))+ if(sugar>0) ({noFrts++;} Fruit(0.01,1,0.1,noFrts))
  else (fl);  else (fl);
 </code> </code>
 Note that a ''Flower'' that has not yet become a ''Fruit'', has two more chances to become one.   Note that a ''Flower'' that has not yet become a ''Fruit'', has two more chances to become one.  
-Availability of sugar is calculated by querying ''as'' of the nearest ''Leaf'' before deciding on fruit formation.+Availability of sugar is calculated by querying ''as'' of the nearest ''Leaf'' before deciding on fruit formation. This query uses two ''minDescendants'' edges, first down to the next lower Node module, then up to the attached Leaf.
  
 ===== Fruit Growth Competition ===== ===== Fruit Growth Competition =====
Line 166: Line 166:
 ===== Tasks for Exploration ===== ===== Tasks for Exploration =====
   - Run the model and observe sugar flow: Watch how internodes change color as sugar moves through them!   - Run the model and observe sugar flow: Watch how internodes change color as sugar moves through them!
-  - Modify DIFF_CONST: Try values between 0.0001 and 0.01. How does this affect: Speed of sugar movement? Final fruit size? Number of successfully developed fruits?+  - Modify DIFF_CONST: Try values between 0.0001 and 0.01. How does this affect: Speed of sugar movement? Final fruit size? Number of successfully developed fruits? 
   - Change transport frequency: Modify the condition if(time % 24 == 0) to different values (e.g., % 12 for twice-daily transport). What impact does this have?   - Change transport frequency: Modify the condition if(time % 24 == 0) to different values (e.g., % 12 for twice-daily transport). What impact does this have?
   - Adjust maintenance respiration: Change MR from 0.01 to 0.05. How does increased respiration affect fruit development?   - Adjust maintenance respiration: Change MR from 0.01 to 0.05. How does increased respiration affect fruit development?
 +  - The different Fruit growth graphs have been produced by modifying a single parameter: which one could that have been? (Hint: have a look at the run method, where new lateral buds are inserted). 
 ===== Biological Relevance ===== ===== Biological Relevance =====
 This transport model introduces key physiological concepts: This transport model introduces key physiological concepts:
tutorials/radiation-model-in-crop_model9.1761994568.txt.gz · Last modified: 2025/11/01 11:56 by barley1965