Class LintulFast
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 Type | Name | Description | Data Type | Unit | Min Value | Max Value | Default Value |
---|---|---|---|---|---|---|---|
constant | cApplyPhotoresponse | - | BOOLEAN | - | - | true | |
constant | cApplyVernalisation | - | BOOLEAN | - | - | true | |
constant | cBasetemp_Anthesis | - | DOUBLE | - | - | 3.0 | |
constant | cCo2InfluenceLUE | - | BOOLEAN | - | - | false | |
constant | cCo2InfluenceLUE_ReferenceCo2Value | - | DOUBLE | - | - | 350.0 | |
constant | cCo2InfluenceLUE_ReferenceLUEValue | - | DOUBLE | - | - | 3.0 | |
constant | cCo2InfluenceLUE_b1 | - | DOUBLE | - | - | 6928.0 | |
constant | cCo2InfluenceLUE_b2 | - | DOUBLE | - | - | -0.0014 | |
constant | cCo2InfluenceTranspiration | - | BOOLEAN | - | - | false | |
constant | cCo2InfluenceTranspiration_b | - | DOUBLE | - | - | 1.1 | |
constant | cCo2InfluenceTranspiration_m | - | DOUBLE | - | - | -3.0E-4 | |
constant | cCo2Slope | - | DOUBLE | - | - | 41397.0 | |
constant | cCo2StartValue | - | DOUBLE | - | - | 350.0 | |
constant | cCo2StartYear | - | INT | - | - | 1990 | |
constant | cDRATE | - | DOUBLE | - | - | 50.0 | |
constant | cDaysFromPlantingToEmergence | - | INT | - | - | 0 | |
constant | cDevStepAnthesis | - | DOUBLE | - | - | 1.0 | |
constant | cDevStepHarvest | - | DOUBLE | - | - | 2.0 | |
constant | cDroughtTolerance | - | DOUBLE | - | - | 0.5 | |
constant | cFLVTB | - | DOUBLEARRAY | - | - | - | |
constant | cFRTTB | - | DOUBLEARRAY | - | - | - | |
constant | cFSOTB | - | DOUBLEARRAY | - | - | - | |
constant | cFSTTB | - | DOUBLEARRAY | - | - | - | |
constant | cIRRIGF | - | DOUBLE | - | - | 0.0 | |
constant | cK | - | DOUBLE | - | - | 0.6 | |
constant | cLAII | - | DOUBLE | - | - | 0.012 | |
constant | cLUE | - | DOUBLE | - | - | 3.0 | |
constant | cLaiCritical | - | DOUBLE | - | - | 4.0 | |
constant | cLatitude | - | DOUBLE | - | - | 50.123456789 | |
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 | cObservedYears | - | INTARRAY | - | - | - | |
constant | cObservedYields | - | DOUBLEARRAY | - | - | - | |
constant | cPhotoperiodTableFactor | Correction factor of development rate in dependence of day length (c.f. PhotoresponseTable) | DOUBLEARRAY | 1 | - | - | - |
constant | cPhotoperiodTableHour | Day length for correction factor of development (c.f. PhotoresponseTable) | DOUBLEARRAY | h | - | - | - |
constant | cPotentialGrowth | - | BOOLEAN | - | - | false | |
constant | cRDRLeavesTableMeanTemperature | Daily mean temperature for relative death rate of leaves (c.f. RDRT) | DOUBLEARRAY | °C | - | - | -10.0 10.0 15.0 30.0 50.0 |
constant | cRDRLeavesTableRelativeRate | Relative death rate of leaves as a function of daily mean temperature (c.f. RDRT) | DOUBLEARRAY | d-1 | - | - | 0.0 0.03 0.04 0.09 0.09 |
constant | cRDRSHM | - | DOUBLE | - | - | 0.05 | |
constant | cRDRT | - | DOUBLEARRAY | - | - | - | |
constant | cRGRL | - | DOUBLE | - | - | 0.009 | |
constant | cROOTDI | - | DOUBLE | - | - | 0.1 | |
constant | cROOTDM | - | DOUBLE | - | - | 1.2 | |
constant | cRRDMAX | - | DOUBLE | - | - | 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 | - | DOUBLE | - | - | 0.022 | |
constant | cStartDOY | - | INT | - | - | 0 | |
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 | cTRANCO | - | DOUBLE | - | - | 8.0 | |
constant | cTSUMMaturity | - | DOUBLE | - | - | 1110.24691358 | |
constant | cTSUMPlantingToEmergence | - | DOUBLE | - | - | 0.0 | |
constant | cTechnologyInfluence | - | BOOLEAN | - | - | false | |
constant | cTechnologyYr_t0 | - | DOUBLE | - | - | 1.0 | |
constant | cTechnology_Intervall | - | INT | - | - | 35 | |
constant | cTechnology_StartYear | - | INT | - | - | 0 | |
constant | cTechnologyf_IntervallT_Gr | - | DOUBLE | - | - | 0.85 | |
constant | cTechnologyf_T_Gr | - | DOUBLE | - | - | 0.9 | |
constant | cTechnologyf_T_Pr | - | DOUBLE | - | - | 0.8 | |
constant | cThigh | - | DOUBLE | - | - | 10.0 | |
constant | cTlow | - | DOUBLE | - | - | 3.0 | |
constant | cTrendCalculateStartYearMeansBased | - | BOOLEAN | - | - | false | |
constant | cTrend_OptWithoutTrend_SimWithTrend | - | BOOLEAN | - | - | false | |
constant | cUseReferenceEvapotranspiration | - | BOOLEAN | - | - | false | |
constant | cVernDaysMax | - | DOUBLE | - | - | 30.0 | |
constant | cWCAD | - | DOUBLE | - | - | 0.025 | |
constant | cWCFC | - | DOUBLE | - | - | 0.23 | |
constant | cWCI | - | DOUBLE | - | - | 0.23 | |
constant | cWCST | - | DOUBLE | - | - | 0.4 | |
constant | cWCWET | - | DOUBLE | - | - | 0.35 | |
constant | cWCWP | - | DOUBLE | - | - | 0.075 | |
constant | cWCWP_IgnoreForGLA | - | BOOLEAN | - | - | false | |
constant | cfractionReallocLeavestoSO | - | DOUBLE | - | - | 0.3 | |
constant | cfractionReallocStemstoSO | - | DOUBLE | - | - | 0.2 | |
input | iDAVTMP | - | DOUBLE | - | - | 0.0 | |
input | iIrradiation | - | DOUBLE | - | - | 0.0 | |
input | iMaxTemp | - | DOUBLE | - | - | 0.0 | |
input | iMinTemp | - | DOUBLE | - | - | 0.0 | |
input | iPrecipitation | - | DOUBLE | - | - | 0.0 | |
input | iReferenceEvapotranspiration | - | DOUBLE | - | - | 0.0 | |
input | iVapourpressure | - | DOUBLE | - | - | 0.0 | |
input | iWindSpeed | - | DOUBLE | - | - | 0.0 | |
input | iYear | - | INT | - | - | 0 | |
input | irTSUMEFF_BaseAnt | - | DOUBLE | - | - | 0.0 | |
input | irTSUMEFF_BaseMAt | - | DOUBLE | - | - | 0.0 | |
state | sDayOfYear | - | INT | - | - | 0 | |
state | sDaysFromPlantingToEmergence | - | INT | - | - | 0 | |
state | sDevStage | - | DOUBLE | - | - | 0.0 | |
state | sGreenLeavesMax | - | DOUBLE | - | - | 0.0 | |
state | sLAI | - | DOUBLE | - | - | 0.0 | |
state | sROOTD | - | DOUBLE | - | - | 0.0 | |
state | sStemsMax | - | DOUBLE | - | - | 0.0 | |
state | sTIME | - | INT | - | - | 0 | |
state | sTSUM | - | DOUBLE | - | - | 0.0 | |
state | sTSUMToEmergence | - | DOUBLE | - | - | 0.0 | |
state | sTrendCompensationStartYear | - | INT | - | - | 0 | |
state | sTrendCompensation_a1 | - | DOUBLE | - | - | 0.0 | |
state | sWA | - | DOUBLE | - | - | 0.0 | |
state | sWLV | - | DOUBLE | - | - | 0.0 | |
state | sWLVD | - | DOUBLE | - | - | 0.0 | |
state | sWLVG | - | DOUBLE | - | - | 0.0 | |
state | sWRT | - | DOUBLE | - | - | 0.0 | |
state | sWSO | - | DOUBLE | - | - | 0.0 | |
state | sWSO_NoTT | - | DOUBLE | - | - | 0.0 | |
state | sWST | - | DOUBLE | - | - | 0.0 | |
rate | rLeavesReallocated | - | DOUBLE | - | - | 0.0 | |
rate | rRDevStage | - | DOUBLE | - | - | 0.0 | |
rate | rRLAI | - | DOUBLE | - | - | 0.0 | |
rate | rRROOTD | - | DOUBLE | - | - | 0.0 | |
rate | rRTSUM_DS | - | DOUBLE | - | - | 0.0 | |
rate | rRWA | - | DOUBLE | - | - | 0.0 | |
rate | rRWLVG | - | DOUBLE | - | - | 0.0 | |
rate | rRWRT | - | DOUBLE | - | - | 0.0 | |
rate | rRWSO | - | DOUBLE | - | - | 0.0 | |
rate | rRWST | - | DOUBLE | - | - | 0.0 | |
rate | rStemsReallocated | - | DOUBLE | - | - | 0.0 | |
out | AboveGroundBiomass | - | DOUBLE | - | - | 0.0 | |
out | AboveGroundBiomassAnthesis | - | DOUBLE | - | - | 0.0 | |
out | AboveGroundBiomassMaturity | - | DOUBLE | - | - | 0.0 | |
out | CropCycleCount | - | INT | - | - | 0 | |
out | CumulativeET | - | DOUBLE | - | - | 0.0 | |
out | DRAIN | - | DOUBLE | - | - | 0.0 | |
out | DayOfAnthesis | - | INT | - | - | 0 | |
out | DayOfMaturity | - | INT | - | - | 0 | |
out | DoHarvest | - | BOOLEAN | - | - | false | |
out | EVAP | - | DOUBLE | - | - | 0.0 | |
out | EXPLOR | - | DOUBLE | - | - | 0.0 | |
out | GTOTAL | - | DOUBLE | - | - | 0.0 | |
out | HarvestIndex | - | DOUBLE | - | - | 0.0 | |
out | IRRIG | - | DOUBLE | - | - | 0.0 | |
out | MAXLAI | - | DOUBLE | - | - | 0.0 | |
out | PARINT | - | DOUBLE | - | - | 0.0 | |
out | PEVAP | - | DOUBLE | - | - | 0.0 | |
out | PTRAN | - | DOUBLE | - | - | 0.0 | |
out | RNINTC | - | DOUBLE | - | - | 0.0 | |
out | RUNOFF | - | DOUBLE | - | - | 0.0 | |
out | TRAN | - | DOUBLE | - | - | 0.0 | |
out | TRANF | - | DOUBLE | - | - | 1.0 | |
out | WC | - | DOUBLE | - | - | 0.0 | |
out | WTOTAL | - | 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
-
Method Summary
Modifier and TypeMethodDescriptionvoid
protected 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
void
protected void
process()
process the algorithm and write the results back to VarMap Implements the same behavior as in LintulFAST (C#-Version)void
Reset()
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
-
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
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() -
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 classnet.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 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)
-