Class NPKDemandOutVars

java.lang.Object
net.simplace.sim.model.FWSimComponent
net.simplace.usermodules.heidi.modules.Lintul5mod.NPKDemandOutVars
All Implemented Interfaces:
net.simplace.sim.util.FWSimFieldContainer

public class NPKDemandOutVars extends net.simplace.sim.model.FWSimComponent
Component for the Lintul crop model

Component Variables

Content TypeNameDescriptionData TypeUnitMin ValueMax ValueDefault Value
constantcDVSIdevelopment stage of crop (from 0 to 2)DOUBLE1--0.0
constantcDVSNLTDVS stage above which no N, P and K uptakes by the crop do occurDOUBLE1--1.3
constantcDVSNTDVS stage above which N, P and K translocations to storage organs occur -DOUBLE1--0.8
constantcFLTBfraction table of abovre-gr. biomass to leaves as function of DVSDOUBLEARRAY---
constantcFNTRTN-P-K translocations from roots as a fraction of resp. total N-P-K amounts translocated from leaves and stemsDOUBLE--0.15
constantcFRKXoptimal K concentration as fraction of maximal K concentrationDOUBLE1--1.0
constantcFRNXoptimal N concentration as fraction of maximal N concentrationDOUBLE1--1.0
constantcFRPXoptimal P concentration as fraction of maximal P concentrationDOUBLE1--1.0
constantcFRTBfraction table of total biomass to roots as function of DVSDOUBLEARRAY---
constantcFSTBfraction table of abovre-gr. biomass to stems as function of DVSDOUBLEARRAY---
constantcIOPTindicates optimal (=1), water limited (=2), water and N limited (=3) and water and N, P and K limited run (=4)INT1--0
constantcKMAXSOmaximal K concentration in storage organsDOUBLEg/g--0.0048
constantcKMXLVtable with maximal N concentration in leaves as function of DVSDOUBLEARRAYg/g---
constantcLRKRmaximum K concentration in roots as fraction of maximum K concentration in leavesDOUBLE--0.5
constantcLRNRmaximum N concentration in roots as fraction of maximum N concentration in leavesDOUBLE--0.5
constantcLRPRmaximum P concentration in roots as fraction of maximum P concentration in leavesDOUBLE--0.5
constantcLSKRmaximum K concentration in stems as fraction of maximum K concentration in leavesDOUBLE--0.5
constantcLSNRmaximum N concentration in stems as fraction of maximum N concentration in leavesDOUBLE--0.5
constantcLSPRmaximum P concentration in stems as fraction of maximum P concentration in leavesDOUBLE--0.5
constantcNFIXFfraction of crop N uptake by biological fixationDOUBLE1--0.0
constantcNMAXSOmaximal N concentration in storage organsDOUBLEg/g--0.0176
constantcNMXLVtable with maximal N concentration in leaves as function of DVSDOUBLEARRAYg/g---
constantcPMAXSOmaximal P concentration in storage organsDOUBLEg/g--0.0026
constantcPMXLVtable with maximal P concentration in leaves as function of DVSDOUBLEARRAYg/g---
constantcRKFLVresidual K concentration in leavesDOUBLEg/g--0.009
constantcRKFRTresidual K concentration in rootsDOUBLEg/g--0.005
constantcRKFSTresidual K concentration in stemsDOUBLEg/g--0.005
constantcRNFLVresidual N concentration in leavesDOUBLEg/g--0.004
constantcRNFRTresidual N concentration in rootsDOUBLEg/g--0.002
constantcRNFSTresidual N concentration in stemsDOUBLEg/g--0.002
constantcRPFLVresidual P concentration in leavesDOUBLEg/g--5.0E-4
constantcRPFRTresidual P concentration in rootsDOUBLEg/g--3.0E-4
constantcRPFSTresidual P concentration in stemsDOUBLEg/g--3.0E-4
constantcTCKTtime constant for K translocation to storage organsDOUBLEd--10.0
constantcTCNTtime constant for N translocation to storage organsDOUBLEd--10.0
constantcTCPTtime constant for P translocation to storage organsDOUBLEd--10.0
constantcTDWIInitial total crop dry weightDOUBLE--210.0
inputiDVSinitial development stage of crop (from 0 to 2)DOUBLE1--0.0
inputiDoHarvestharvestingBOOLEAN1--false
inputiDoSowsowingBOOLEAN1--false
inputiEMERGhas emergedBOOLEAN1--false
inputiIDEMERGDay of emergenceINT1--0
inputiKMINTtotal K directly available from soil and fertiliserDOUBLEg/m2--0.0
inputiNMINTtotal mineral N directly available from soil and fertiliserDOUBLEg/m2--0.0
inputiPMINTtotal P directly available from soil and fertiliserDOUBLEg/m2--0.0
inputiTRANRFwater stress reduction factorDOUBLE1--1.0
inputiWLVGweight of living leavesDOUBLEg/m2--0.0
inputiWRTweight of rootsDOUBLEg/m2--0.0
inputiWSOweight of storage organsDOUBLEg/m2--0.0
inputiWSTweight of stemsDOUBLEg/m2--0.0
statesAKLVamount of K in living leavesDOUBLEg/m2--0.0
statesAKRTamount of K in living rootsDOUBLEg/m2--0.0
statesAKSOamount of K in storage organsDOUBLEg/m2--0.0
statesAKSTamount of K in living stemsDOUBLEg/m2--0.0
statesANLVamount of N in living leavesDOUBLEg/m2--0.0
statesANRTamount of N in living rootsDOUBLEg/m2--0.0
statesANSOamount of N in storage organsDOUBLEg/m2--0.0
statesANSOkghaamount of N in storage organsDOUBLEhttp://www.wurvoc.org/vocabularies/om-1.8/kg_per_ha--0.0
statesANSTamount of N in living stemsDOUBLEg/m2--0.0
statesAPLVamount of P in living leavesDOUBLEg/m2--0.0
statesAPRTamount of P in living rootsDOUBLEg/m2--0.0
statesAPSOamount of P in storage organsDOUBLEg/m2--0.0
statesAPSTamount of P in living stemsDOUBLEg/m2--0.0
statesKLIVTamount of K in living crop organsDOUBLEg/m2--0.0
statesKLOSSLamount of K in dead leavesDOUBLEg/m2--0.0
statesKLOSSRamount of K in dead rootsDOUBLEg/m2--0.0
statesKLOSSSamount of K in dead stemsDOUBLEg/m2--0.0
statesKLOSSTamount of K in dead crop organsDOUBLEg/m2--0.0
statesKROOTtotal K in living and dead rootsDOUBLEg/m2--0.0
statesKUPTTtotal K uptake by crop from soilDOUBLEg/m2--0.0
statesNABOVEGRDtotal N above groundDOUBLEhttp://www.wurvoc.org/vocabularies/om-1.8/kg N_per_ha--0.0
statesNFIXTTtotal N uptake by crop from biological fixationDOUBLEg/m2--0.0
statesNLIVTamount of N in living crop organsDOUBLEg/m2--0.0
statesNLOSSLamount of N in dead leavesDOUBLEg/m2--0.0
statesNLOSSRamount of N in dead rootsDOUBLEg/m2--0.0
statesNLOSSSamount of N in dead stemsDOUBLEg/m2--0.0
statesNLOSSTamount of N in dead crop organsDOUBLEg/m2--0.0
statesNROOTtotal N in living and dead rootsDOUBLEg/m2--0.0
statesNUPTTtotal N uptake by crop from soilDOUBLEg/m2--0.0
statesPLIVTamount of P in living crop organsDOUBLEg/m2--0.0
statesPLOSSLamount of P in dead leavesDOUBLEg/m2--0.0
statesPLOSSRamount of P in dead rootsDOUBLEg/m2--0.0
statesPLOSSSamount of P in dead stemsDOUBLEg/m2--0.0
statesPLOSSTamount of P in dead crop organsDOUBLEg/m2--0.0
statesPROOTtotal P in living and dead rootsDOUBLEg/m2--0.0
statesPUPTTtotal P uptake by crop from soilDOUBLEg/m2--0.0
raterDLVdecrease in leaf mass by senescenceDOUBLEg/(m2 d)--0.0
raterDRRTdeat root rateDOUBLE--0.0
raterDRSTdead stem rateDOUBLE--0.0
raterKUPTRdaily K uptake rate by the cropDOUBLEg/(m2 d)--0.0
raterNFIXTRN uptake rate by crop from biological fixationDOUBLEg/(m2 d)--0.0
raterNUPTRdaily N uptake rate by the cropDOUBLEg/(m2 d)--0.0
raterPUPTRdaily P uptake rate by the cropDOUBLEg/(m2 d)--0.0
raterRKLDLVK losses due to death of leavesDOUBLEg/(m2 d)--0.0
raterRKLDRTK losses due to death of rootsDOUBLEg/(m2 d)--0.0
raterRKLDSTK losses due to death of stemsDOUBLEg/(m2 d)--0.0
raterRKLVrate of change of K amount in the leavesDOUBLEg/(m2 d)--0.0
raterRKRTrate of change of K amount in the rootsDOUBLEg/(m2 d)--0.0
raterRKSOrate of change of K amount in the storage organsDOUBLEg/(m2 d)--0.0
raterRKSTrate of change of K amount in the stemsDOUBLEg/(m2 d)--0.0
raterRNLDLVN losses due to death of leavesDOUBLEg/(m2 d)--0.0
raterRNLDRTN losses due to death of rootsDOUBLEg/(m2 d)--0.0
raterRNLDSTN losses due to death of stemsDOUBLEg/(m2 d)--0.0
raterRNLVrate of change of N amount in the leavesDOUBLEg/(m2 d)--0.0
raterRNRTrate of change of N amount in the rootsDOUBLEJ/(m2 d)--0.0
raterRNSOactual N translocation to storage organsDOUBLEg/(m2 d)--0.0
raterRNSTrate of change of N amount in the stemsDOUBLEg/(m2 d)--0.0
raterRPLDLVP losses due to death of leavesDOUBLEg/(m2 d)--0.0
raterRPLDRTP losses due to death of rootsDOUBLEg/(m2 d)--0.0
raterRPLDSTP losses due to death of stemsDOUBLEg/(m2 d)--0.0
raterRPLVrate of change of P amount in the leavesDOUBLEg/(m2 d)--0.0
raterRPRTrate of change of P amount in the rootsDOUBLEg/(m2 d)--0.0
raterRPSOactual P translocation to storage organsDOUBLEg/(m2 d)--0.0
raterRPSTrate of change of P amount in the stemsDOUBLEg/(m2 d)--0.0
outKDEML-DOUBLE--1.0
outKDEMR-DOUBLE--1.0
outKDEMS-DOUBLE--1.0
outKDEMSO-DOUBLE--1.0
outKDEMTO-DOUBLE--1.0
outKNI-DOUBLE--1.0
outNDEML-DOUBLE--1.0
outNDEMR-DOUBLE--1.0
outNDEMS-DOUBLE--1.0
outNDEMSO-DOUBLE--1.0
outNDEMTO-DOUBLE--1.0
outNLIMITNutrient uptake limiting factor (-) at low moisture conditions in the rooted soil layer before anthesis.DOUBLE1--0.0
outNNI-DOUBLE--1.0
outNPKI-DOUBLE--1.0
outPDEML-DOUBLE--1.0
outPDEMR-DOUBLE--1.0
outPDEMS-DOUBLE--1.0
outPDEMSO-DOUBLE--1.0
outPDEMTO-DOUBLE--1.0
outPNI-DOUBLE--1.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()
    NPKDemandOutVars(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

    • NPKDemandOutVars

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

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