Class Lintul2
- All Implemented Interfaces:
net.simplace.sim.util.FWSimFieldContainer
Lintul2 is the implementation of the original FST Version of Lintul2, which you find at (L2).
Model description
For the model description please consult the original documentation from (L2).
Changes in the SIMPLACE version
In order to integrate in the SIMPLACE Framework and make the model run over multiple years, following changes were made.
- There are two additional boolean input Variables iDoSow and iDoHarvest
- There is an additional output variable WithCrop, which is set to true
when iDoSow is true and set to false, when iDoHarvest is true
- Calculation is performed only while WithCrop is true (between iDoSow and iDoHarvest). Outside
this period, variables remain on their initial values.
- On iDoSow and iDoHarvest, the variables are reset to their initial values. When calculating
multiple years, no values are kept from one vegetation period to the other
- The internal variable is TIME always set to the value of the model DOY, when iDoSow is true
and is incremented daily while WithCrop is true
Result comparison
This versions produces same results (up to rounding) as the FST version. Comparison was made by running the FST script LINTUL2NetherlandsParams.FST with weather data NLD1.970 and NLD1.971 from (W). To perform the comparison, run the SIMPLACE unit test net.simplace.sim.test.model.Lintul2Test.testLintul2Project() and run the FST file above with
References
- Author:
- Gunther Krauss
Component Variables
Content Type | Name | Description | Data Type | Unit | Min Value | Max Value | Default Value |
---|---|---|---|---|---|---|---|
constant | cDOYEM | Daynumber at crop emergence | INT | d | - | - | 1 |
constant | cDRATE | Maximum drainage rate (soil characteristic) | DOUBLE | mm/d | - | - | 50.0 |
constant | cFLVTB | Table of FLV as a function of TSUM | DOUBLEARRAY | 1 | - | - | - |
constant | cFRTTB | Table of FRT as a function of TSUM | DOUBLEARRAY | 1 | - | - | - |
constant | cFSOTB | Table of FSO as a function of TSUM | DOUBLEARRAY | 1 | - | - | - |
constant | cFSTTB | Table of FST as a function of TSUM | DOUBLEARRAY | 1 | - | - | - |
constant | cIRRIGF | Irrigation rate relative to the rate needed to keep the soil water status at field capacity (WC=WCFC) | DOUBLE | 1 | - | - | 0.0 |
constant | cK | Extinction coefficient for photosynthetically active radiation | DOUBLE | 1 | - | - | 0.6 |
constant | cLAICR | Critical LAI beyond which leaves die due to self-shading | DOUBLE | m2/m2 | - | - | 4.0 |
constant | cLAII | Initial leaf area index (at crop emergence) | DOUBLE | m2/m2 | - | - | 0.012 |
constant | cLUE | Light use efficiency (dry matter produced per unit of intercepted photosynthetically active radiation) | DOUBLE | g/MJ | - | - | 3.0 |
constant | cLeavesPartitioningTableDVS | DVS for fraction of total dry matter to leaves (c.f. FLVTB) | DOUBLEARRAY | 1 | - | - | - |
constant | cLeavesPartitioningTableFraction | Fraction of total dry matter to leaves as function of DVS (c.f. FLVTB) | DOUBLEARRAY | 1 | - | - | - |
constant | cRDRLeavesTableMeanTemperature | Daily mean temperature for relative death rate of leaves (c.f. RDRT) | DOUBLEARRAY | °C | - | - | - |
constant | cRDRLeavesTableRelativeRate | Relative death rate of leaves as a function of daily mean temperature (c.f. RDRT) | DOUBLEARRAY | d-1 | - | - | - |
constant | cRDRSHM | Maximum relative death rate of leaves due to shading | DOUBLE | d-1 | - | - | 0.03 |
constant | cRDRT | Table of RDR as a function of temperature | DOUBLEARRAY | 1 | - | - | - |
constant | cRGRL | Relative growth rate of LAI during exponential growth | DOUBLE | (°C d)-1 | - | - | 0.009 |
constant | cROOTDI | Initial rooting depth (at crop emergence) | DOUBLE | m | - | - | 0.1 |
constant | cROOTDM | Maximum rooting depth | DOUBLE | m | - | - | 1.2 |
constant | cRRDMAX | Maximum rate of increase in rooting depth | DOUBLE | m/d | - | - | 0.012 |
constant | cRootsPartitioningTableDVS | DVS for fraction of total dry matter to roots (c.f. FRTTB) | DOUBLEARRAY | 1 | - | - | - |
constant | cRootsPartitioningTableFraction | Fraction of total dry matter to roots as function of DVS (c.f. FRTTB) | DOUBLEARRAY | 1 | - | - | - |
constant | cSLA | Specific leaf area | DOUBLE | m2/g | - | - | 0.022 |
constant | cStemsPartitioningTableDVS | DVS for fraction of total dry matter to stems (c.f. FSTTB) | DOUBLEARRAY | 1 | - | - | - |
constant | cStemsPartitioningTableFraction | Fraction of total dry matter to stems as function of DVS (c.f. FSTTB) | DOUBLEARRAY | 1 | - | - | - |
constant | cStorageOrgansPartitioningTableDVS | DVS for fraction of total dry matter to storage organs (c.f. FSOTB) | DOUBLEARRAY | 1 | - | - | - |
constant | cStorageOrgansPartitioningTableFraction | Fraction of total dry matter to storage organs as function of DVS (c.f. FSOTB) | DOUBLEARRAY | 1 | - | - | - |
constant | cTBASE | Base temperature | DOUBLE | °C | - | - | 0.0 |
constant | cTRANCO | Transpiration constant (crop characteristic indicating the level of drought tolerance) | DOUBLE | mm/d | - | - | 8.0 |
constant | cTSUMAN | Temperature sum at anthesis | DOUBLE | °C d | - | - | 1110.0 |
constant | cWCAD | Soil water content at air dryness | DOUBLE | m3/m3 | 0.0 | 1.0 | 0.08 |
constant | cWCFC | Soil water content at field capacity | DOUBLE | m3/m3 | 0.0 | 1.0 | 0.36 |
constant | cWCI | Initial soil water content (at start of the simulation run) | DOUBLE | m3/m3 | 0.0 | 1.0 | 0.36 |
constant | cWCST | Soil water content at full saturation | DOUBLE | m3/m3 | 0.0 | 1.0 | 0.55 |
constant | cWCWET | Critical soil water content for transpiration reduction due to waterlogging | DOUBLE | m3/m3 | 0.0 | 1.0 | 0.48 |
constant | cWCWP | Soil water content at wilting point | DOUBLE | m3/m3 | 0.0 | 1.0 | 0.23 |
input | iDoHarvest | harvesting | BOOLEAN | 1 | - | - | false |
input | iDoSow | sowing | BOOLEAN | 1 | - | - | false |
input | iRAIN | Water input through rainfall | DOUBLE | mm/d | - | - | 0.0 |
input | iRDD | Daily global radiation (weather file) | DOUBLE | J/(m2 d) | - | - | 0.0 |
input | iTMMN | Daily minimum temperature (weather file) | DOUBLE | °C | - | - | 0.0 |
input | iTMMX | Daily maximum temperature (weather file) | DOUBLE | °C | - | - | 0.0 |
input | iVP | Vapour pressure of the air | DOUBLE | kPa | - | - | 0.0 |
input | iWN | Wind speed | DOUBLE | m/s | - | - | 0.0 |
state | sLAI | Leaf area index | DOUBLE | m2/m2 | - | - | 0.0 |
state | sROOTD | Rooting depth | DOUBLE | m | - | - | 0.0 |
state | sTRAIN | Total rain | DOUBLE | mm | - | - | 0.0 |
state | sTSUM | Temperature sum | DOUBLE | °C d | - | - | 0.0 |
state | sWA | Actual amount of water in the soil | DOUBLE | mm | - | - | 0.0 |
state | sWLVD | Dry weight of dead leaves | DOUBLE | g/m2 | - | - | 0.0 |
state | sWLVG | Dry weight of green leaves | DOUBLE | g/m2 | - | - | 0.0 |
state | sWRT | Dry weight of roots | DOUBLE | g/m2 | - | - | 0.0 |
state | sWSO | Dry weight of storage organs | DOUBLE | g/m2 | - | - | 0.0 |
state | sWST | Dry weight of stems | DOUBLE | g/m2 | - | - | 0.0 |
rate | rDLV | Death rate of leaves | DOUBLE | g/(m2 d) | - | - | 0.0 |
rate | rRLAI | Growth rate of LAI | DOUBLE | m2/(m2 d) | - | - | 0.0 |
rate | rRROOTD | Rate of increase in rooting depth | DOUBLE | m/d | - | - | 0.0 |
rate | rRTSUM | Rate of increase of the temperature sum | DOUBLE | °C | - | - | 0.0 |
rate | rRWA | Overall rate of change of soil water amount | DOUBLE | mm/d | - | - | 0.0 |
rate | rRWLVG | Net rate of increase weight of green leaves | DOUBLE | g/(m2 d) | - | - | 0.0 |
rate | rRWRT | Rate of increase weight of roots | DOUBLE | g/(m2 d) | - | - | 0.0 |
rate | rRWSO | Rate of increase weight of storage organs | DOUBLE | g/(m2 d) | - | - | 0.0 |
rate | rRWST | Rate of increase weight of stems | DOUBLE | g/(m2 d) | - | - | 0.0 |
out | ActualSoilEvaporation | Rate of evaporation from the soil (EVAP) | DOUBLE | mm/d | - | - | 0.0 |
out | ActualTranspiration | Rate of transpiration by the crop (TRAN) | DOUBLE | mm/d | - | - | 0.0 |
out | DAVTMP | Daily average temperature | DOUBLE | °C | - | - | 0.0 |
out | DLAI | Death rate of leaf area index | DOUBLE | m2/(m2 d) | - | - | 0.0 |
out | DRAIN | Drainage rate below the root zone | DOUBLE | mm/d | - | - | 0.0 |
out | DTEFF | Daily effective temperature | DOUBLE | °C | - | - | 0.0 |
out | DTR | Daily global radiation | DOUBLE | MJ/(m2 d) | - | - | 0.0 |
out | EMERG | Auxiliary variable indicating crop emergence | DOUBLE | 1 | - | - | 0.0 |
out | EXPLOR | Exploration rate of new soil water layers by root depth growth | DOUBLE | mm/d | - | - | 0.0 |
out | GLAI | Growth rate of leaf area index | DOUBLE | m2/(m2 d) | - | - | 0.0 |
out | GLV | Growth rate of leaf dry matter | DOUBLE | g/(m2 d) | - | - | 0.0 |
out | GTOTAL | Growth rate of total crop dry matter | DOUBLE | g/(m2 d) | - | - | 0.0 |
out | IRRIG | Irrigation rate | DOUBLE | mm/d | - | - | 0.0 |
out | PARINT | Intercepted photosynthetically active radiation | DOUBLE | MJ/(m2 d) | - | - | 0.0 |
out | PotentialSoilEvaporation | Potential rate of evaporation from the soil (PEVAP) | DOUBLE | mm/d | - | - | 0.0 |
out | PotentialTranspiration | Potential transpiration rate (PTRAN) | DOUBLE | mm/d | - | - | 0.0 |
out | RDR | Relative death rate of leaves | DOUBLE | d-1 | - | - | 0.0 |
out | RNINTC | Interception of rain by the canopy | DOUBLE | mm/d | - | - | 0.0 |
out | RUNOFF | Loss of water by runoff | DOUBLE | mm/d | - | - | 0.0 |
out | TRANRF | Ratio of actual and potential transpiration (factor that accounts for reduced LUE because of water stress) | DOUBLE | - | - | - | 1.0 |
out | WAI | Initial soil water amount (at start of the simulation run) | DOUBLE | mm | - | - | 0.0 |
out | WC | Actual soil water content | DOUBLE | m3/m3 | 0.0 | 1.0 | 0.0 |
out | WLV | Dry weight of leaves | DOUBLE | g/m2 | - | - | 0.0 |
out | WLVI | Initial dry weight of green leaves (at crop emergence) | DOUBLE | g/m2 | - | - | 0.0 |
out | WSOTHA | Dry weight of storage organs | DOUBLE | ton_per_hectare | - | - | 0.0 |
out | WithCrop | crop is present | BOOLEAN | 1 | - | - | false |
-
Nested Class Summary
Nested classes/interfaces inherited from class net.simplace.sim.model.FWSimComponent
net.simplace.sim.model.FWSimComponent.TEST_STATE
-
Field Summary
Fields inherited from class net.simplace.sim.model.FWSimComponent
iFieldMap, iFrequence, iInputMap, iJexlRule, iMasterComponentGroup, iName, iOrderNumber, isComponentGroup, iSimComponentElement, iSimModel, iVarMap
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionprotected net.simplace.sim.model.FWSimComponent
clone
(net.simplace.sim.util.FWSimVarMap aVarMap) creates a clone from this SimComponent for use in other threadsCreate the FWSimVariables as interface for this SimComponentfillTestVariables
(int aParamIndex, net.simplace.sim.model.FWSimComponent.TEST_STATE aDefineOrCheck) called for single component test to check the components algorithm.protected void
init()
initializes the fields by getting input and output FWSimVariables from VarMapprotected void
protected void
process()
process the algorithm and write the results back to VarMapprotected void
Methods inherited from class net.simplace.sim.model.FWSimComponent
addVariable, bind, checkCondition, createSimComponent, createSimComponent, createSimComponent, createSimComponent, doProcess, getConstantVariables, getContentType, getCreateFormXML, getDescription, getEditFormXML, getFieldMap, getFrequence, getFrequenceRuleScript, getInputs, getInputVariables, getMasterComponentGroup, getName, getOrderNumber, getOutputVariables, getVariable, getVariableField, getVarMap, initialize, isConditionCheck, isVariableAvailable, performLinks, performLinks, readInputs, removeVariable, reset, runComponentTest, setVariablesDefault, toComponentLinkingXML, toDocXML, toGroupXML, toOutputDefinitionXML, toResourcesDataXML, toResourcesDefinitionXML, toString, toXML, writeVarInfos
-
Constructor Details
-
Lintul2
public Lintul2(String aName, HashMap<String, net.simplace.sim.util.FWSimVariable<?>> aFieldMap, HashMap<String, String> aInputMap, org.jdom2.Element aSimComponentElement, net.simplace.sim.util.FWSimVarMap aVarMap, int aOrderNumber) - Parameters:
aName
-aFieldMap
-aInputMap
-aSimComponentElement
-aVarMap
-aOrderNumber
-
-
Lintul2
public Lintul2()Empty constructor used by class.forName()
-
-
Method Details
-
createVariables
Create the FWSimVariables as interface for this SimComponent- Specified by:
createVariables
in interfacenet.simplace.sim.util.FWSimFieldContainer
- Specified by:
createVariables
in classnet.simplace.sim.model.FWSimComponent
- See Also:
-
FWSimComponent.createVariables()
-
init
protected void init()initializes the fields by getting input and output FWSimVariables from VarMap- Specified by:
init
in classnet.simplace.sim.model.FWSimComponent
- See Also:
-
FWSimComponent.init()
-
initValues
protected void initValues() -
resetOnHarvest
protected void resetOnHarvest() -
process
protected void process()process the algorithm and write the results back to VarMap- Specified by:
process
in classnet.simplace.sim.model.FWSimComponent
- See Also:
-
FWSimComponent.process()
-
fillTestVariables
public HashMap<String,net.simplace.sim.util.FWSimVariable<?>> fillTestVariables(int aParamIndex, net.simplace.sim.model.FWSimComponent.TEST_STATE aDefineOrCheck) called for single component test to check the components algorithm.- Specified by:
fillTestVariables
in classnet.simplace.sim.model.FWSimComponent
- See Also:
-
net.simplace.sim.util.FWSimFieldContainer#fillTestVariables(int aParamIndex, TEST_STATE aDefineOrCheck)
-
clone
protected net.simplace.sim.model.FWSimComponent clone(net.simplace.sim.util.FWSimVarMap aVarMap) creates a clone from this SimComponent for use in other threads- Specified by:
clone
in classnet.simplace.sim.model.FWSimComponent
- See Also:
-
FWSimComponent.clone(net.simplace.sim.util.FWSimVarMap)
-