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

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

This sim component calculates the NPK part from Lintul5. It does not calculate any biomass related part, but takes biomass of crop organs iWRT, iWST, iWLVG and iWSO as input.

References

Author:
G. Krauss
See Also:

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
constantcFERKTABtable with fertiliser K applications at given daysDOUBLEARRAYg/(m2 d)---
constantcFERNTABtable with fertiliser N applications at given daysDOUBLEARRAYg/(m2 d)---
constantcFERPTABtable with fertiliser P applications at given daysDOUBLEARRAYg/(m2 d)---
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
constantcKMINIinitial amount (at crop emergence) of potentially available soil KDOUBLEg/m2--0.0
constantcKMXLVtable with maximal K concentration in leaves as function of DVSDOUBLEARRAYg/g---
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
constantcKRFrecovery fractions of fertiliser K applicationsDOUBLE10.01.00.6
constantcKRFTABtable with recovery fractions of fertiliser K applicationsDOUBLEARRAY1---
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 fixationDOUBLE1--0.0
constantcNMAXSOmaximal N concentration in storage organsDOUBLEg/g--0.0176
constantcNMINIinitial amount (at crop emergence) of potentially available soil organic NDOUBLEg/m2--0.0
constantcNMXLVtable with maximal N concentration in leaves as function of DVSDOUBLEARRAYg/g---
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
constantcNRFrecovery fractions of fertiliser N applicationsDOUBLE10.01.00.7
constantcNRFTABtable with recovery fractions of fertiliser N applicationsDOUBLEARRAY1---
constantcPMAXSOmaximal P concentration in storage organsDOUBLEg/g--0.0026
constantcPMINIinitial amount (at crop emergence) of potentially available soil PDOUBLEg/m2--0.0
constantcPMXLVtable with maximal P concentration in leaves as function of DVSDOUBLEARRAYg/g---
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
constantcPRFrecovery fractions of fertiliser P applicationsDOUBLE10.01.00.2
constantcPRFTABtable with recovery fractions of fertiliser P applicationsDOUBLEARRAY1---
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
constantcRTKMINSfraction of soil K coming available per dayDOUBLEd-1--0.0
constantcRTNMINSfraction of soil organic N coming available per dayDOUBLEd-1--0.0
constantcRTPMINSfraction of soil P coming available per dayDOUBLEd-1--0.0
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
constantcScaleFactorFERKScales the y-values of FERKTAB (for sensitivity analysis / calibration)DOUBLE1--1.0
constantcScaleFactorFERNScales the y-values of FERNTAB (for sensitivity analysis / calibration)DOUBLE1--1.0
constantcScaleFactorFERPScales the y-values of FERPTAB (for sensitivity analysis / calibration)DOUBLE1--1.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 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 weightDOUBLEg/m2--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
inputiFERKfertiliser K applicationsDOUBLEg/(m2 d)0.0--
inputiFERNfertiliser N applicationsDOUBLEg/(m2 d)0.0--
inputiFERPfertiliser P applicationsDOUBLEg/(m2 d)0.0--
inputiIDEMERGDay of emergenceINT1--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
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
statesKMINamount of K potentially available from the soilDOUBLEg/m2--0.0
statesKMINTtotal K directly available from soil and fertiliserDOUBLEg/m2--0.0
statesKROOTtotal K in living and dead rootsDOUBLEg/m2--0.0
statesKUPTTtotal K uptake by crop from soilDOUBLEg/m2--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
statesNMINorganic N potentially available by mineralization from the soilDOUBLE--0.0
statesNMINTtotal mineral N directly available from soil and fertiliserDOUBLEg/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
statesPMINP potentially available from the soilDOUBLEg/m2--0.0
statesPMINTtotal P directly available from soil and fertiliserDOUBLEg/m2--0.0
statesPROOTtotal P in living and dead rootsDOUBLEg/m2--0.0
statesPUPTTtotal P uptake by crop from soilDOUBLEg/m2--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
raterRKMINSdepletion (thus negative value) of the available amount of soil KDOUBLEg/(m2 d)--0.0
raterRKMINTchange in total directly available K in soilDOUBLEg/(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
raterRNMINSdepletion (thus negative value)/mineralization of the available amount of soil organic NDOUBLEg/(m2 d)--0.0
raterRNMINTchange in total inorganic directly available N in soilDOUBLEg/(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
raterRPMINSdepletion (thus negative value) of the available amount of soil PDOUBLEg/(m2 d)--0.0
raterRPMINTchange in total directly available P in soilDOUBLEg/(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
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
    NPK()
    Empty constructor used by class.forName()
    NPK(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

    • NPK

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

      public NPK()
      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()
    • resetValues

      protected void resetValues()
    • 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)
      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)