User Tools

Site Tools


tutorials:radiation-model-in-crop_model4

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_model4 [2025/05/27 16:56] barley1965tutorials:radiation-model-in-crop_model4 [2025/05/27 17:58] (current) barley1965
Line 1: Line 1:
 ====== Introducing absorbing tiles ====== ====== Introducing absorbing tiles ======
  
-//Open Tiles.gsz.// +//Open the file {{ :tutorials:tiles.gsz |Tiles.gsz}}.// 
  
 We also want to visualize how much light is reaching the ground. To do that, we cover the soil surface around the plant with light-absorbing tiles. First of all, you need to declare a new module: We also want to visualize how much light is reaching the ground. To do that, we cover the soil surface around the plant with light-absorbing tiles. First of all, you need to declare a new module:
Line 35: Line 35:
 </code> </code>
  
-Like the leaves, the tiles will become brighter when they absorb light. Update is done within the ''absorbAndGrow()'' method: +Like the [[tutorials:radiation-model-in-crop_model|leaves]], the tiles will become brighter when they absorb light. Update is done within the ''absorbAndGrow()'' method: 
  
 <code java> <code java>
Line 47: Line 47:
  }  }
 </code> </code>
- + 
 +{{tutorials:tiles.png}} 
 //Task: Obtain the sum of light that is absorbed by the tiles and plot it! (Hint: you can simply add a column “1” to the existing data table and then extend the method ''updateChart()'' with the ''sum'' function).//  //Task: Obtain the sum of light that is absorbed by the tiles and plot it! (Hint: you can simply add a column “1” to the existing data table and then extend the method ''updateChart()'' with the ''sum'' function).// 
  
tutorials/radiation-model-in-crop_model4.1748357794.txt.gz · Last modified: 2025/05/27 16:56 by barley1965