This tells us the c# class being used is RUEModel. The image above shows Photosynthesis selected (under wheat) and the tooltip showing RUEModel. To show more detail, right click on the wheat model and select ‘Show model structure’. By default the wheat model won’t show it’s structure or parameterisation.From the user interface, open a wheat example.
To determine what implementation and parameterisation are used for a particular crop model: The flexibility exists though for the model developer to use a different implementation. Most crop models in APSIM use the same implementation of photosynthesis but parameterise it in different ways. Where is the implementation of photosynthesis? All PMF functions (models) implement IFunction and so must supply an implementation of this method. IFunctionĪs we saw in the previous code block, the Photosynthesis IFunction has a Value method that returns a double. The leaf organ knows nothing of the implementation of Photosynthesis other than it is an IFunction. Leaf has a single call to this Photosynthesis function to get the amount of dry matter fixed for the day (g/m2): DMSupply.Fixation = Photosynthesis.Value() The leaf organ has a link to a photosynthesis model that is of type IFunction.
The other leaf organs work the same way with respect to photosynthesis so the information in this tutorial is relevant for other crop models in APSIM. For this tutorial we will examine the organ Leaf in Leaf.cs. There are multiple PMF leaf organs that different crops use.
#APSIM NEXT GENERATION WHEAT HOW TO#
Prerequisite: It is suggested you read how to build a model first. We will use the wheat leaf photosynthesis model as an example. In this tutorial we will explain how Plant Modelling Framework (PMF) functions work. Accessing non-standard columns of data from.