User Tools

Site Tools


tutorials:radiation-model-in-crop_model2

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_model2 [2025/05/27 16:19] barley1965tutorials:radiation-model-in-crop_model2 [2025/05/27 17:53] (current) barley1965
Line 1: Line 1:
 ====== Plotting the absorbed light in a chart ====== ====== Plotting the absorbed light in a chart ======
  
-Open the file //LightChart.gsz//We now want to see model output as a chart (as you might know from R). The total light intercepted by all leaves is output into a chart, and this at every step of the simulation. +//Open the file {{ :tutorials:lightchart.gsz |lightchart.gsz}}.// We now want to see model output as a chart (as you might know from R). The total light intercepted by all leaves is output into a chart, and this at every step of the simulation. 
  
 For this, we have to declare a kind of data table in which the output is stored: For this, we have to declare a kind of data table in which the output is stored:
Line 65: Line 65:
 {{tutorials:console.png}}  {{tutorials:console.png}} 
    
-will search for all objects Leaf in the scene/graph (you have to write “Example1.Leaf” to indicate that the module was defined within the class “Example1.rgg”) the value of the parameter al and calculate the sum of it. If you omit Example1, the module Leaf cannot be found and you get an error message instead:+will search for all objects ''Leaf'' in the scene/graph (you have to write ''“Example1.Leaf”'' to indicate that the module was defined within the class ''“Example1.rgg”'') the value of the parameter ''al'' and calculate the sum of it. If you omit ''Example1'', the module ''Leaf'' cannot be found and you get an error message instead: 
 + 
 +{{tutorials:consoleerror.png}} 
    
 You can also have a look at the data table itself: You can also have a look at the data table itself:
-Main Menu: Panels -> Explorers -> Datasets+ 
 +//Main Menu: Panels -> Explorers -> Datasets// 
 + 
 +{{tutorials:panelsdatasets.png}} 
    
 This will give you a new window: This will give you a new window:
 +
 +{{tutorials:datasetslight.png}} 
    
-When you double-click on the Dataset “- Light intercepted…” you get the actual table, with two columns, # and A, where the first column contains the steps, the second the sum of light intercepted by the leaves:+When you double-click on the //Dataset “- Light intercepted…”// you get the actual table, with two columns, ''#'' and ''A'', where the first column contains the steps, the second the sum of light intercepted by the leaves: 
 + 
 +{{tutorials:datasetslighttable.png}}  
 + 
      
  
tutorials/radiation-model-in-crop_model2.1748355583.txt.gz · Last modified: 2025/05/27 16:19 by barley1965