Class PhenologyLiaise

java.lang.Object
net.simplace.sim.model.FWSimComponent
net.simplace.usermodules.gzhao.PhenologyLiaise
All Implemented Interfaces:
net.simplace.sim.util.FWSimFieldContainer

public class PhenologyLiaise extends net.simplace.sim.model.FWSimComponent
Author:
Gunther

Component Variables

Content TypeNameDescriptionData TypeUnitMin ValueMax ValueDefault Value
constantcDTSMTBincrease in temperature sum as dependent on mean daily temperatureDOUBLEARRAY°C---
constantcDVSIdevelopment stage of crop (from 0 to 2)DOUBLE1--0.0
constantcIDEMDay of emergenceINT1--0
constantcIDPLDay of plantingINT1--1
constantcIDSLdevelopment from emergence to flowering depends on temperature (=0), temperature + day length (=1)INT1--0
constantcPHOTTBtable of development rate reduction until flowering by daylengthDOUBLEARRAY---
constantcPLstart at plantingBOOLEAN1--true
constantcTBASEM-DOUBLE--0.0
constantcTEFFMXmax. eff. temp. for emergenceDOUBLE--30.0
constantcTSUM1temperature sum required for vegetative period (from emergence to flowering)DOUBLE--1050.0
constantcTSUM2temperature sum required for generative periodDOUBLE--1000.0
constantcTSUMEMrequired temperature sum for crop emergenceDOUBLE--60.0
constantcTSUMMilkripenesstemperature sum from anthesis to milkripenessDOUBLE--0.0
constantcVBASEVernalisation base thermal dayDOUBLE1--0.0
constantcVERNRTVernalisation factor dependend by average temperatureDOUBLEARRAY1-- 0.0 1.0 1.0 1.0
constantcVERSATVernalisation max thermal dayDOUBLE1--0.0
constantcVernalisationDevStagemaximal devstage up to which vernalisation is appliedDOUBLE1--0.3
inputiDDLPPhotoperiodic daylengthDOUBLEh--0.0
inputiDoHarvestharvestingBOOLEAN1--false
inputiDoSowsowingBOOLEAN1--false
inputiTMAXmaximal air temperature during day (output of routine WEATHR)DOUBLE°C--0.0
inputiTMINminimal air temperature during day (output of routine WEATHR)DOUBLE°C--0.0
stateWithCrop-BOOLEAN--false
statesDVSinitial development stage of crop (from 0 to 2)DOUBLE1--0.0
statesTSULPtemperature sum from sowing/plantingDOUBLE--0.0
statesTSUMtemperature sum from emergenceDOUBLE--0.0
statesTSUMLtemperature sum from emergence inclusive day length effectDOUBLE--0.0
statesVERNvernalisation daysDOUBLE--0.0
raterDTSULPincrease in temperature sum from planting or sowingDOUBLE°C--0.0
raterDTSUMactual increase in temperature sum from emergence without reduction (RDAYL)DOUBLE°C--0.0
raterDTSUMLactual increase in temperature sum from emergence with reduction for day length (RDAYL)DOUBLE°C--0.0
raterDVRrate of phenological developmentDOUBLEd-1--0.0
raterRVERNRvernal day increase rateDOUBLE°C--0.0
outAnthesisDOYDOY of AnthesisINT1--0
outAnthesisDateDate of AnthesisDATE1---
outEMERGhas emergedBOOLEAN1--false
outEmergenceDOYDOY of EmergenceINT1--0
outEmergenceDateDate of EmergenceDATE1---
outFLOWhas floweredBOOLEAN1--false
outGrowingPeriodePeriod of SowingINT1010000
outIDEMERGDay of emergenceINT1--0
outIsAnthesistrue if Anthesis dateBOOLEAN1--false
outIsEmergencetrue if Emergence dateBOOLEAN1--false
outIsMaturitytrue if maturity dateBOOLEAN1--false
outIsMilkripenesstrue if milkripeness dateBOOLEAN1--false
outIsPhenologyEventtrue if sowing/emergence/anthesis/maturity dateBOOLEAN1--false
outIsSowingtrue if Sowing dateBOOLEAN1--false
outMATURITYis matureBOOLEAN1--false
outMILKRIPENESSmilkripeness has occuredBOOLEAN1--false
outMaturityDOYDOY of MaturityINT1--0
outMaturityDateDate of MaturityDATE1---
outMilkripenessDOYDOY of MaturityINT1--0
outMilkripenessDateDate of MaturityDATE1---
outSOWis sownBOOLEAN1--false
outSowingDOYDOY of SowingINT1--0
outSowingDateDate of SowingDATE1---
  • 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()
    PhenologyLiaise(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 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<?>>
     
    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
     
    protected void
     
    protected void
     
    protected void
     
    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

    • PhenologyLiaise

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

      public PhenologyLiaise()
      Empty constructor used by class.forName()
  • Method Details

    • createVariables

      public HashMap<String,net.simplace.sim.util.FWSimVariable<?>> createVariables()
      Specified by:
      createVariables in interface net.simplace.sim.util.FWSimFieldContainer
      Specified by:
      createVariables in class net.simplace.sim.model.FWSimComponent
      See Also:
      • net.simplace.simulation.model.FWSimComponent#createVariables()
    • init

      protected void init()
      Specified by:
      init in class net.simplace.sim.model.FWSimComponent
      See Also:
      • net.simplace.simulation.model.FWSimComponent#init()
    • initValues

      protected void initValues()
    • initOnSowing

      protected void initOnSowing()
    • resetOnHarvest

      protected void resetOnHarvest()
    • process

      protected void process()
      Specified by:
      process in class net.simplace.sim.model.FWSimComponent
      See Also:
      • net.simplace.simulation.model.FWSimComponent#process()
    • CalculatePhenology

      protected void CalculatePhenology()
    • 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:
      • net.simplace.simulation.model.FWSimComponent#clone(net.simplace.simulation.util.FWSimVarMap)