java.lang.Object
net.simplace.sim.model.FWSimComponent
net.simplace.sim.components.models.lintul5.amei.NPKDemand
All Implemented Interfaces:
net.simplace.sim.util.FWSimFieldContainer

public class NPKDemand extends net.simplace.sim.model.FWSimComponent
Lintul5 - Simple generic model for simulation of crop growth - NPKDemand part

This sim component calculates the NPK demand part from NPK sim component. It does not calculate any biomass related part, but takes biomass of crop organs iWRT, iWST, iWLVG ad iWSO as an input. Available NPK is taken from the inputs iNMINT, iKPMINT, iKMINT. It outputs stress factors as well as NPK daily uptake rates.

== References == - (L5) Joost Wolf, [https://models.pps.wur.nl/system/files/LINTUL4-report-vs1_0.zip User guide for LINTUL5], Wageningen UR, Wageningen, 2012

Author:
G. Krauss
See Also:

Component Variables

Content TypeNameDescriptionData TypeUnitMin ValueMax ValueDefault Value
constantcDVSIinitial development stage of crop (from 0 to 2)DOUBLE10.0-0.0
constantcDVSNLTDVS stage above which no N, P and K uptakes by the crop do occurDOUBLE10.0-1.3
constantcDVSNTDVS stage above which N, P and K translocations to storage organs occur -DOUBLE10.0-0.8
constantcFNTRTN-P-K translocations from roots as a fraction of resp. total N-P-K amounts translocated from leaves and stemsDOUBLE1--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
constantcIOPTindicates optimal (=1), water limited (=2), water and N limited (=3) and water and N, P and K limited run (=4)INT1144
constantcKMAXSOmaximal K concentration in storage organsDOUBLEg/g0.0-0.0048
constantcKMaxTableConcentrationMaximum K concentration in leaves as function of DVS (c.f. KMXLV)DOUBLEARRAYg/g-- 0.12 0.08 0.06 0.04 0.028 0.028
constantcKMaxTableDVSDVS for maximum K concentration in leaves (c.f. KMXLV)DOUBLEARRAY1-- 0.0 0.4 0.7 1.0 2.0 2.1
constantcLRKRmaximum K concentration in roots as fraction of maximum K concentration in leavesDOUBLE1--0.5
constantcLRNRmaximum N concentration in roots as fraction of maximum N concentration in leavesDOUBLE1--0.5
constantcLRPRmaximum P concentration in roots as fraction of maximum P concentration in leavesDOUBLE1--0.5
constantcLSKRmaximum K concentration in stems as fraction of maximum K concentration in leavesDOUBLE1--0.5
constantcLSNRmaximum N concentration in stems as fraction of maximum N concentration in leavesDOUBLE1--0.5
constantcLSPRmaximum P concentration in stems as fraction of maximum P concentration in leavesDOUBLE1--0.5
constantcLeavesPartitioningTableDVSDVS for fraction of above-ground dry matter to leaves (c.f. FLTB)DOUBLEARRAY1-- 0.0 0.1 0.25 0.5 0.646 0.95 2.0
constantcLeavesPartitioningTableFractionFraction of above-ground dry matter to leaves as function of DVS (c.f. FLTB)DOUBLEARRAY1-- 0.65 0.65 0.7 0.5 0.3 0.0 0.0
constantcNFIXFfraction of crop N uptake by biological fixationDOUBLE10.01.00.0
constantcNMAXSOmaximal N concentration in storage organsDOUBLEg/g0.0-0.0176
constantcNMaxTableConcentrationMaximum N concentration in leaves as function of DVS (c.f. NMXLV)DOUBLEARRAYg/g-- 0.06 0.04 0.03 0.02 0.014 0.017
constantcNMaxTableDVSDVS for maximum N concentration in leaves (c.f. NMXLV)DOUBLEARRAY1-- 0.0 0.4 0.7 1.0 2.0 2.1
constantcPMAXSOmaximal P concentration in storage organsDOUBLEg/g0.0-0.0026
constantcPMaxTableConcentrationMaximum P concentration in leaves as function of DVS (c.f. PMXLV)DOUBLEARRAYg/g-- 0.011 0.008 0.006 0.004 0.0027 0.0027
constantcPMaxTableDVSDVS for maximum P concentration in leaves (c.f. PMXLV)DOUBLEARRAY1-- 0.0 0.4 0.7 1.0 2.0 2.1
constantcRKFLVresidual K concentration in leavesDOUBLEg/g0.0-0.009
constantcRKFRTresidual K concentration in rootsDOUBLEg/g0.0-0.005
constantcRKFSTresidual K concentration in stemsDOUBLEg/g0.0-0.005
constantcRNFLVresidual N concentration in leavesDOUBLEg/g0.0-0.004
constantcRNFRTresidual N concentration in rootsDOUBLEg/g0.0-0.002
constantcRNFSTresidual N concentration in stemsDOUBLEg/g0.0-0.002
constantcRPFLVresidual P concentration in leavesDOUBLEg/g0.0-5.0E-4
constantcRPFRTresidual P concentration in rootsDOUBLEg/g0.0-3.0E-4
constantcRPFSTresidual P concentration in stemsDOUBLEg/g0.0-3.0E-4
constantcRootsPartitioningTableDVSDVS for fraction of total dry matter to roots (c.f. FRTB)DOUBLEARRAY1-- 0.0 0.1 0.2 0.35 0.4 0.5 0.7 0.9 1.2 2.0
constantcRootsPartitioningTableFractionFraction of total dry matter to roots as function of DVS (c.f. FRTB)DOUBLEARRAY1-- 0.5 0.5 0.4 0.22 0.17 0.13 0.07 0.03 0.0 0.0
constantcStemsPartitioningTableDVSDVS for fraction of above-ground dry matter to stems (c.f. FSTB)DOUBLEARRAY1-- 0.0 0.1 0.25 0.5 0.646 0.95 1.0 2.0
constantcStemsPartitioningTableFractionFraction of above-ground dry matter to stems as function of DVS (c.f. FSTB)DOUBLEARRAY1-- 0.35 0.35 0.3 0.5 0.7 1.0 0.0 0.0
constantcTCKTtime constant for K translocation to storage organsDOUBLEd0.0-10.0
constantcTCNTtime constant for N translocation to storage organsDOUBLEd0.0-10.0
constantcTCPTtime constant for P translocation to storage organsDOUBLEd0.0-10.0
constantcTDWIInitial total crop dry weightDOUBLE--210.0
inputiDLVdecrease in leaf mass by senescenceDOUBLEg/(m2 d)--0.0
inputiDRRTdeat root rateDOUBLEg/(m2 d)--0.0
inputiDRSTdead stem rateDOUBLEg/(m2 d)--0.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/m20.0-0.0
statesAKRTamount of K in living rootsDOUBLEg/m20.0-0.0
statesAKSOamount of K in storage organsDOUBLEg/m20.0-0.0
statesAKSTamount of K in living stemsDOUBLEg/m20.0-0.0
statesANLVamount of N in living leavesDOUBLEg/m20.0-0.0
statesANRTamount of N in living rootsDOUBLEg/m20.0-0.0
statesANSOamount of N in storage organsDOUBLEg/m20.0-0.0
statesANSTamount of N in living stemsDOUBLEg/m20.0-0.0
statesAPLVamount of P in living leavesDOUBLEg/m20.0-0.0
statesAPRTamount of P in living rootsDOUBLEg/m20.0-0.0
statesAPSOamount of P in storage organsDOUBLEg/m20.0-0.0
statesAPSTamount of P in living stemsDOUBLEg/m20.0-0.0
statesKLIVTamount of K in living crop organsDOUBLEg/m20.0-0.0
statesKLOSSLamount of K in dead leavesDOUBLEg/m20.0-0.0
statesKLOSSRamount of K in dead rootsDOUBLEg/m20.0-0.0
statesKLOSSSamount of K in dead stemsDOUBLEg/m20.0-0.0
statesKLOSSTamount of K in dead crop organsDOUBLEg/m20.0-0.0
statesKROOTtotal K in living and dead rootsDOUBLEg/m20.0-0.0
statesKUPTTtotal K uptake by crop from soilDOUBLEg/m20.0-0.0
statesNFIXTTtotal N uptake by crop from biological fixationDOUBLEg/m20.0-0.0
statesNLIVTamount of N in living crop organsDOUBLEg/m20.0-0.0
statesNLOSSLamount of N in dead leavesDOUBLEg/m20.0-0.0
statesNLOSSRamount of N in dead rootsDOUBLEg/m20.0-0.0
statesNLOSSSamount of N in dead stemsDOUBLEg/m20.0-0.0
statesNLOSSTamount of N in dead crop organsDOUBLEg/m20.0-0.0
statesNROOTtotal N in living and dead rootsDOUBLEg/m20.0-0.0
statesNUPTTtotal N uptake by crop from soilDOUBLEg/m20.0-0.0
statesPLIVTamount of P in living crop organsDOUBLEg/m20.0-0.0
statesPLOSSLamount of P in dead leavesDOUBLEg/m20.0-0.0
statesPLOSSRamount of P in dead rootsDOUBLEg/m20.0-0.0
statesPLOSSSamount of P in dead stemsDOUBLEg/m20.0-0.0
statesPLOSSTamount of P in dead crop organsDOUBLEg/m20.0-0.0
statesPROOTtotal P in living and dead rootsDOUBLEg/m20.0-0.0
statesPUPTTtotal P uptake by crop from soilDOUBLEg/m20.0-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
outKDEMLK demand of leavesDOUBLEg/m2--0.0
outKDEMRK demand of rootsDOUBLEg/m2--0.0
outKDEMSK demand of stemsDOUBLEg/m2--0.0
outKDEMSOK demand of storage organsDOUBLEg/m2--0.0
outKDEMTOK demand of leaves, stems and rootsDOUBLEg/m2--0.0
outKDEMTOLimitK demand of leaves, stems and roots, limited by nutrient uptake limiting factor (NLIMIT)DOUBLEg/m2--0.0
outKNIpotassium nutrition indexDOUBLE1--1.0
outNDEMLN demand of leavesDOUBLEg/m2--0.0
outNDEMRN demand of rootsDOUBLEg/m2--0.0
outNDEMSN demand of stemsDOUBLEg/m2--0.0
outNDEMSON demand of storage organsDOUBLEg/m2--0.0
outNDEMTON demand of leaves, stems and rootsDOUBLEg/m2--0.0
outNDEMTOLimitN demand of leaves, stems and roots, limited by nutrient uptake limiting factor (NLIMIT)DOUBLEg/m2--0.0
outNLIMITNutrient uptake limiting factor (-) at low moisture conditions in the rooted soil layer before anthesis.DOUBLE1--0.0
outNNInitrogen nutrition indexDOUBLE1--1.0
outNPKINPK nutrition indexDOUBLE1--1.0
outPDEMLP demand of leavesDOUBLEg/m2--0.0
outPDEMRP demand of rootsDOUBLEg/m2--0.0
outPDEMSP demand of stemsDOUBLEg/m2--0.0
outPDEMSOP demand of storage organsDOUBLEg/m2--0.0
outPDEMTOP demand of leaves, stems and rootsDOUBLEg/m2--0.0
outPDEMTOLimitP demand of leaves, stems and roots, limited by nutrient uptake limiting factor (NLIMIT)DOUBLEg/m2--0.0
outPNIphosphorus nutrition indexDOUBLE1--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()
    NPKDemand(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)
     
    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
    process the algorithm and write the results back to VarMap

    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

    • NPKDemand

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

      public NPKDemand()
      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()
    • 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)
      Specified by:
      clone in class net.simplace.sim.model.FWSimComponent
      See Also:
      • FWSimComponent.clone(net.simplace.sim.util.FWSimVarMap)