Runs the YplantQMC model for one timestep. Runs the QuasiMC raytracer to
estimate absorbed PAR for every leaf on the plant, given diffuse and direct
radiation (set by fbeam, see below), the position of the sun, and
reflectance and transmittance of the foliage material.
Required is a 3D plant object (see constructplant). Optionally,
a leaf gas exchange model is used (not needed if only light absorption is
calculated) to calculate photosynthesis (and optionally, transpiration rate).
Also optionally, a hemiphoto object is used to calculate shading by the
overstorey canopy.
Output is not as easy to use as the more user-friendly
YplantDay. If you are only interested in diurnal simulations
(and plant totals by timestep), use that function. The runYplant
function is available for programming purposes (and more advanced custom
simulations).
The arguments intern, debug, delfiles and
rewriteplantfile should not be set by the user, unless you really know
what you are doing. These arguments exist for testing, and are used by
YplantDay.
The arguments reldiff and reldir can be supplied if they are
already known (from a previous simulation, when the solar angle was the same,
in particular). If you are not sure, please do not set these arguments!