java.lang.Object
net.simplace.sim.model.FWSimComponent
net.simplace.sim.components.models.lintul2.Lintul2
All Implemented Interfaces:
net.simplace.sim.util.FWSimFieldContainer

public class Lintul2 extends net.simplace.sim.model.FWSimComponent

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 TypeNameDescriptionData TypeUnitMin ValueMax ValueDefault Value
constantcDOYEMDaynumber at crop emergenceINTd--1
constantcDRATEMaximum drainage rate (soil characteristic)DOUBLEmm/d--50.0
constantcFLVTBTable of FLV as a function of TSUMDOUBLEARRAY1---
constantcFRTTBTable of FRT as a function of TSUMDOUBLEARRAY1---
constantcFSOTBTable of FSO as a function of TSUMDOUBLEARRAY1---
constantcFSTTBTable of FST as a function of TSUMDOUBLEARRAY1---
constantcIRRIGFIrrigation rate relative to the rate needed to keep the soil water status at field capacity (WC=WCFC)DOUBLE1--0.0
constantcKExtinction coefficient for photosynthetically active radiationDOUBLE1--0.6
constantcLAICRCritical LAI beyond which leaves die due to self-shadingDOUBLEm2/m2--4.0
constantcLAIIInitial leaf area index (at crop emergence)DOUBLEm2/m2--0.012
constantcLUELight use efficiency (dry matter produced per unit of intercepted photosynthetically active radiation)DOUBLEg/MJ--3.0
constantcLeavesPartitioningTableDVSDVS for fraction of total dry matter to leaves (c.f. FLVTB)DOUBLEARRAY1---
constantcLeavesPartitioningTableFractionFraction of total dry matter to leaves as function of DVS (c.f. FLVTB)DOUBLEARRAY1---
constantcRDRLeavesTableMeanTemperatureDaily mean temperature for relative death rate of leaves (c.f. RDRT)DOUBLEARRAY°C---
constantcRDRLeavesTableRelativeRateRelative death rate of leaves as a function of daily mean temperature (c.f. RDRT)DOUBLEARRAYd-1---
constantcRDRSHMMaximum relative death rate of leaves due to shadingDOUBLEd-1--0.03
constantcRDRTTable of RDR as a function of temperatureDOUBLEARRAY1---
constantcRGRLRelative growth rate of LAI during exponential growthDOUBLE(°C d)-1--0.009
constantcROOTDIInitial rooting depth (at crop emergence)DOUBLEm--0.1
constantcROOTDMMaximum rooting depthDOUBLEm--1.2
constantcRRDMAXMaximum rate of increase in rooting depthDOUBLEm/d--0.012
constantcRootsPartitioningTableDVSDVS for fraction of total dry matter to roots (c.f. FRTTB)DOUBLEARRAY1---
constantcRootsPartitioningTableFractionFraction of total dry matter to roots as function of DVS (c.f. FRTTB)DOUBLEARRAY1---
constantcSLASpecific leaf areaDOUBLEm2/g--0.022
constantcStemsPartitioningTableDVSDVS for fraction of total dry matter to stems (c.f. FSTTB)DOUBLEARRAY1---
constantcStemsPartitioningTableFractionFraction of total dry matter to stems as function of DVS (c.f. FSTTB)DOUBLEARRAY1---
constantcStorageOrgansPartitioningTableDVSDVS for fraction of total dry matter to storage organs (c.f. FSOTB)DOUBLEARRAY1---
constantcStorageOrgansPartitioningTableFractionFraction of total dry matter to storage organs as function of DVS (c.f. FSOTB)DOUBLEARRAY1---
constantcTBASEBase temperatureDOUBLE°C--0.0
constantcTRANCOTranspiration constant (crop characteristic indicating the level of drought tolerance)DOUBLEmm/d--8.0
constantcTSUMANTemperature sum at anthesisDOUBLE°C d--1110.0
constantcWCADSoil water content at air drynessDOUBLEm3/m30.01.00.08
constantcWCFCSoil water content at field capacityDOUBLEm3/m30.01.00.36
constantcWCIInitial soil water content (at start of the simulation run)DOUBLEm3/m30.01.00.36
constantcWCSTSoil water content at full saturationDOUBLEm3/m30.01.00.55
constantcWCWETCritical soil water content for transpiration reduction due to waterloggingDOUBLEm3/m30.01.00.48
constantcWCWPSoil water content at wilting pointDOUBLEm3/m30.01.00.23
inputiDoHarvestharvestingBOOLEAN1--false
inputiDoSowsowingBOOLEAN1--false
inputiRAINWater input through rainfallDOUBLEmm/d--0.0
inputiRDDDaily global radiation (weather file)DOUBLEJ/(m2 d)--0.0
inputiTMMNDaily minimum temperature (weather file)DOUBLE°C--0.0
inputiTMMXDaily maximum temperature (weather file)DOUBLE°C--0.0
inputiVPVapour pressure of the airDOUBLEkPa--0.0
inputiWNWind speedDOUBLEm/s--0.0
statesLAILeaf area indexDOUBLEm2/m2--0.0
statesROOTDRooting depthDOUBLEm--0.0
statesTRAINTotal rainDOUBLEmm--0.0
statesTSUMTemperature sumDOUBLE°C d--0.0
statesWAActual amount of water in the soilDOUBLEmm--0.0
statesWLVDDry weight of dead leavesDOUBLEg/m2--0.0
statesWLVGDry weight of green leavesDOUBLEg/m2--0.0
statesWRTDry weight of rootsDOUBLEg/m2--0.0
statesWSODry weight of storage organsDOUBLEg/m2--0.0
statesWSTDry weight of stemsDOUBLEg/m2--0.0
raterDLVDeath rate of leavesDOUBLEg/(m2 d)--0.0
raterRLAIGrowth rate of LAIDOUBLEm2/(m2 d)--0.0
raterRROOTDRate of increase in rooting depthDOUBLEm/d--0.0
raterRTSUMRate of increase of the temperature sumDOUBLE°C--0.0
raterRWAOverall rate of change of soil water amountDOUBLEmm/d--0.0
raterRWLVGNet rate of increase weight of green leavesDOUBLEg/(m2 d)--0.0
raterRWRTRate of increase weight of rootsDOUBLEg/(m2 d)--0.0
raterRWSORate of increase weight of storage organsDOUBLEg/(m2 d)--0.0
raterRWSTRate of increase weight of stemsDOUBLEg/(m2 d)--0.0
outActualSoilEvaporationRate of evaporation from the soil (EVAP)DOUBLEmm/d--0.0
outActualTranspirationRate of transpiration by the crop (TRAN)DOUBLEmm/d--0.0
outDAVTMPDaily average temperatureDOUBLE°C--0.0
outDLAIDeath rate of leaf area indexDOUBLEm2/(m2 d)--0.0
outDRAINDrainage rate below the root zoneDOUBLEmm/d--0.0
outDTEFFDaily effective temperatureDOUBLE°C--0.0
outDTRDaily global radiationDOUBLEMJ/(m2 d)--0.0
outEMERGAuxiliary variable indicating crop emergenceDOUBLE1--0.0
outEXPLORExploration rate of new soil water layers by root depth growthDOUBLEmm/d--0.0
outGLAIGrowth rate of leaf area indexDOUBLEm2/(m2 d)--0.0
outGLVGrowth rate of leaf dry matterDOUBLEg/(m2 d)--0.0
outGTOTALGrowth rate of total crop dry matterDOUBLEg/(m2 d)--0.0
outIRRIGIrrigation rateDOUBLEmm/d--0.0
outPARINTIntercepted photosynthetically active radiationDOUBLEMJ/(m2 d)--0.0
outPotentialSoilEvaporationPotential rate of evaporation from the soil (PEVAP)DOUBLEmm/d--0.0
outPotentialTranspirationPotential transpiration rate (PTRAN)DOUBLEmm/d--0.0
outRDRRelative death rate of leavesDOUBLEd-1--0.0
outRNINTCInterception of rain by the canopyDOUBLEmm/d--0.0
outRUNOFFLoss of water by runoffDOUBLEmm/d--0.0
outTRANRFRatio of actual and potential transpiration (factor that accounts for reduced LUE because of water stress)DOUBLE- --1.0
outWAIInitial soil water amount (at start of the simulation run)DOUBLEmm--0.0
outWCActual soil water contentDOUBLEm3/m30.01.00.0
outWLVDry weight of leavesDOUBLEg/m2--0.0
outWLVIInitial dry weight of green leaves (at crop emergence)DOUBLEg/m2--0.0
outWSOTHADry weight of storage organsDOUBLEton_per_hectare--0.0
outWithCropcrop is presentBOOLEAN1--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

    Constructors
    Constructor
    Description
    Empty constructor used by class.forName()
    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)
     
  • Method Summary

    Modifier and Type
    Method
    Description
    protected net.simplace.sim.model.FWSimComponent
    clone(net.simplace.sim.util.FWSimVarMap aVarMap)
    creates a clone from this SimComponent for use in other threads
    HashMap<String,net.simplace.sim.util.FWSimVariable<?>>
    Create the FWSimVariables as interface for this SimComponent
    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.
    protected void
    initializes the fields by getting input and output FWSimVariables from VarMap
    protected void
     
    protected void
    process the algorithm and write the results back to VarMap
    protected 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

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
  • 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

      public HashMap<String,net.simplace.sim.util.FWSimVariable<?>> createVariables()
      Create the FWSimVariables as interface for this SimComponent
      Specified by:
      createVariables in interface net.simplace.sim.util.FWSimFieldContainer
      Specified by:
      createVariables in class net.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 class net.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 class net.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 class net.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 class net.simplace.sim.model.FWSimComponent
      See Also:
      • FWSimComponent.clone(net.simplace.sim.util.FWSimVarMap)