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

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

Model to reproduce the same results as the LintulFAST implementation in C# used for the AGRIADAPT project.

The model has some modifications compared to original Lintul2

  • adds Trend and Technology
  • takes Vernalisation and Photoresponse into account
  • TRANRF can be modified by a parameter DrougthTolerance

Differences to the C# LintulFAST-Version

  • Crop and phenology files have to be in a different format
  • Model gives different results, if corrupted weather files are used (missing days, double days)

It is a predecessor of the Simplace Lintul2. Main differences are

  • LintulFAST consists of only one SimComponent, that calculates all processes (phenology, water, biomass)
  • It is not well suited to be used in combination with other SimComponents

The model is just for legacy purposes

  • reproduce same results as C# version
  • can be used for module comparison

The model is not developed any more. Existing errors in the algorithms are not fixed.

Formulas and Algorithms are not documented at this place. Please check the documentation of the C#-Version of LintulFAST.

References: ???

Component Variables

Content TypeNameDescriptionData TypeUnitMin ValueMax ValueDefault Value
constantcApplyPhotoresponse-BOOLEAN--true
constantcApplyVernalisation-BOOLEAN--true
constantcBasetemp_Anthesis-DOUBLE--3.0
constantcCo2InfluenceLUE-BOOLEAN--false
constantcCo2InfluenceLUE_ReferenceCo2Value-DOUBLE--350.0
constantcCo2InfluenceLUE_ReferenceLUEValue-DOUBLE--3.0
constantcCo2InfluenceLUE_b1-DOUBLE--6928.0
constantcCo2InfluenceLUE_b2-DOUBLE---0.0014
constantcCo2InfluenceTranspiration-BOOLEAN--false
constantcCo2InfluenceTranspiration_b-DOUBLE--1.1
constantcCo2InfluenceTranspiration_m-DOUBLE---3.0E-4
constantcCo2Slope-DOUBLE--41397.0
constantcCo2StartValue-DOUBLE--350.0
constantcCo2StartYear-INT--1990
constantcDRATE-DOUBLE--50.0
constantcDaysFromPlantingToEmergence-INT--0
constantcDevStepAnthesis-DOUBLE--1.0
constantcDevStepHarvest-DOUBLE--2.0
constantcDroughtTolerance-DOUBLE--0.5
constantcFLVTB-DOUBLEARRAY---
constantcFRTTB-DOUBLEARRAY---
constantcFSOTB-DOUBLEARRAY---
constantcFSTTB-DOUBLEARRAY---
constantcIRRIGF-DOUBLE--0.0
constantcK-DOUBLE--0.6
constantcLAII-DOUBLE--0.012
constantcLUE-DOUBLE--3.0
constantcLaiCritical-DOUBLE--4.0
constantcLatitude-DOUBLE--50.123456789
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---
constantcObservedYears-INTARRAY---
constantcObservedYields-DOUBLEARRAY---
constantcPhotoperiodTableFactorCorrection factor of development rate in dependence of day length (c.f. PhotoresponseTable)DOUBLEARRAY1---
constantcPhotoperiodTableHourDay length for correction factor of development (c.f. PhotoresponseTable)DOUBLEARRAYh---
constantcPotentialGrowth-BOOLEAN--false
constantcRDRLeavesTableMeanTemperatureDaily mean temperature for relative death rate of leaves (c.f. RDRT)DOUBLEARRAY°C-- -10.0 10.0 15.0 30.0 50.0
constantcRDRLeavesTableRelativeRateRelative death rate of leaves as a function of daily mean temperature (c.f. RDRT)DOUBLEARRAYd-1-- 0.0 0.03 0.04 0.09 0.09
constantcRDRSHM-DOUBLE--0.05
constantcRDRT-DOUBLEARRAY---
constantcRGRL-DOUBLE--0.009
constantcROOTDI-DOUBLE--0.1
constantcROOTDM-DOUBLE--1.2
constantcRRDMAX-DOUBLE--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---
constantcSLA-DOUBLE--0.022
constantcStartDOY-INT--0
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---
constantcTRANCO-DOUBLE--8.0
constantcTSUMMaturity-DOUBLE--1110.24691358
constantcTSUMPlantingToEmergence-DOUBLE--0.0
constantcTechnologyInfluence-BOOLEAN--false
constantcTechnologyYr_t0-DOUBLE--1.0
constantcTechnology_Intervall-INT--35
constantcTechnology_StartYear-INT--0
constantcTechnologyf_IntervallT_Gr-DOUBLE--0.85
constantcTechnologyf_T_Gr-DOUBLE--0.9
constantcTechnologyf_T_Pr-DOUBLE--0.8
constantcThigh-DOUBLE--10.0
constantcTlow-DOUBLE--3.0
constantcTrendCalculateStartYearMeansBased-BOOLEAN--false
constantcTrend_OptWithoutTrend_SimWithTrend-BOOLEAN--false
constantcUseReferenceEvapotranspiration-BOOLEAN--false
constantcVernDaysMax-DOUBLE--30.0
constantcWCAD-DOUBLE--0.025
constantcWCFC-DOUBLE--0.23
constantcWCI-DOUBLE--0.23
constantcWCST-DOUBLE--0.4
constantcWCWET-DOUBLE--0.35
constantcWCWP-DOUBLE--0.075
constantcWCWP_IgnoreForGLA-BOOLEAN--false
constantcfractionReallocLeavestoSO-DOUBLE--0.3
constantcfractionReallocStemstoSO-DOUBLE--0.2
inputiDAVTMP-DOUBLE--0.0
inputiIrradiation-DOUBLE--0.0
inputiMaxTemp-DOUBLE--0.0
inputiMinTemp-DOUBLE--0.0
inputiPrecipitation-DOUBLE--0.0
inputiReferenceEvapotranspiration-DOUBLE--0.0
inputiVapourpressure-DOUBLE--0.0
inputiWindSpeed-DOUBLE--0.0
inputiYear-INT--0
inputirTSUMEFF_BaseAnt-DOUBLE--0.0
inputirTSUMEFF_BaseMAt-DOUBLE--0.0
statesDayOfYear-INT--0
statesDaysFromPlantingToEmergence-INT--0
statesDevStage-DOUBLE--0.0
statesGreenLeavesMax-DOUBLE--0.0
statesLAI-DOUBLE--0.0
statesROOTD-DOUBLE--0.0
statesStemsMax-DOUBLE--0.0
statesTIME-INT--0
statesTSUM-DOUBLE--0.0
statesTSUMToEmergence-DOUBLE--0.0
statesTrendCompensationStartYear-INT--0
statesTrendCompensation_a1-DOUBLE--0.0
statesWA-DOUBLE--0.0
statesWLV-DOUBLE--0.0
statesWLVD-DOUBLE--0.0
statesWLVG-DOUBLE--0.0
statesWRT-DOUBLE--0.0
statesWSO-DOUBLE--0.0
statesWSO_NoTT-DOUBLE--0.0
statesWST-DOUBLE--0.0
raterLeavesReallocated-DOUBLE--0.0
raterRDevStage-DOUBLE--0.0
raterRLAI-DOUBLE--0.0
raterRROOTD-DOUBLE--0.0
raterRTSUM_DS-DOUBLE--0.0
raterRWA-DOUBLE--0.0
raterRWLVG-DOUBLE--0.0
raterRWRT-DOUBLE--0.0
raterRWSO-DOUBLE--0.0
raterRWST-DOUBLE--0.0
raterStemsReallocated-DOUBLE--0.0
outAboveGroundBiomass-DOUBLE--0.0
outAboveGroundBiomassAnthesis-DOUBLE--0.0
outAboveGroundBiomassMaturity-DOUBLE--0.0
outCropCycleCount-INT--0
outCumulativeET-DOUBLE--0.0
outDRAIN-DOUBLE--0.0
outDayOfAnthesis-INT--0
outDayOfMaturity-INT--0
outDoHarvest-BOOLEAN--false
outEVAP-DOUBLE--0.0
outEXPLOR-DOUBLE--0.0
outGTOTAL-DOUBLE--0.0
outHarvestIndex-DOUBLE--0.0
outIRRIG-DOUBLE--0.0
outMAXLAI-DOUBLE--0.0
outPARINT-DOUBLE--0.0
outPEVAP-DOUBLE--0.0
outPTRAN-DOUBLE--0.0
outRNINTC-DOUBLE--0.0
outRUNOFF-DOUBLE--0.0
outTRAN-DOUBLE--0.0
outTRANF-DOUBLE--1.0
outWC-DOUBLE--0.0
outWTOTAL-DOUBLE--1.0E-9
  • 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()
    LintulFast(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
    void
     
    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
     
    void
     
    protected void
    process the algorithm and write the results back to VarMap Implements the same behavior as in LintulFAST (C#-Version)
    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

    • LintulFast

      public LintulFast(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 -
    • LintulFast

      public LintulFast()
      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()
    • Reset

      public void Reset()
    • process

      protected void process()
      process the algorithm and write the results back to VarMap Implements the same behavior as in LintulFAST (C#-Version)
      Specified by:
      process in class net.simplace.sim.model.FWSimComponent
      See Also:
      • FWSimComponent.process()
    • addTrendAndTechnologyToYield

      public void addTrendAndTechnologyToYield()
    • Lintul2ModelOneStep

      public void Lintul2ModelOneStep()
    • 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)