User Tools

Site Tools


02_user_tutorials:20_light:01_first_steps:23_spectral-light-modeling-architecture

Differences

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

Link to this comparison view

Both sides previous revisionPrevious revision
02_user_tutorials:20_light:01_first_steps:23_spectral-light-modeling-architecture [2025/12/10 17:37] – ↷ Page moved from 02_user_tutorials:20_light:23_spectral-light-modeling-architecture to 02_user_tutorials:20_light:01_first_steps:23_spectral-light-modeling-architecture gaetan02_user_tutorials:20_light:01_first_steps:23_spectral-light-modeling-architecture [2026/03/20 17:23] (current) Tim
Line 2: Line 2:
  
 Open {{02_user_tutorials:20_light:spectrallight.gsz|SpectralLight.gsz}} and explore the four files it consists of: ''Main.rgg'', ''Modules.rgg'', ''Parameters.rgg'', and ''KL.java''. The names already suggest that in ''Main.rgg'' you will find the main parts of the model, notably the methods ''init()'' and ''grow()'', but also methods to create and update the graphical output on charts (''initChart()'' and ''updateChart()''); in ''Modules.rgg'' the definition of all modules used in the model; in ''Parameters.rgg'' all parameters; and finally we have again the photosynthesis model ''KL.java''. Open {{02_user_tutorials:20_light:spectrallight.gsz|SpectralLight.gsz}} and explore the four files it consists of: ''Main.rgg'', ''Modules.rgg'', ''Parameters.rgg'', and ''KL.java''. The names already suggest that in ''Main.rgg'' you will find the main parts of the model, notably the methods ''init()'' and ''grow()'', but also methods to create and update the graphical output on charts (''initChart()'' and ''updateChart()''); in ''Modules.rgg'' the definition of all modules used in the model; in ''Parameters.rgg'' all parameters; and finally we have again the photosynthesis model ''KL.java''.
 +
 +======  ======
 +
    
 What can this model do? Well, as its name suggests, with this model we can simulate spectral light. So, instead of just simulating a lamp with white light or, at best, red, green and blue light, we now have the possibility to simulate an entire spectrum of visible light and even part of the light just outside the visible spectrum!  What can this model do? Well, as its name suggests, with this model we can simulate spectral light. So, instead of just simulating a lamp with white light or, at best, red, green and blue light, we now have the possibility to simulate an entire spectrum of visible light and even part of the light just outside the visible spectrum! 
02_user_tutorials/20_light/01_first_steps/23_spectral-light-modeling-architecture.txt · Last modified: 2026/03/20 17:23 by Tim