Class NMineralizationTemperatureFactor

java.lang.Object
net.simplace.sim.model.FWSimComponent
net.simplace.sim.components.experimental.amei.nmin.NMineralizationTemperatureFactor
All Implemented Interfaces:
net.simplace.sim.util.FWSimFieldContainer

public class NMineralizationTemperatureFactor extends net.simplace.sim.model.FWSimComponent
Calculates a dimensionless soil-temperature response factor for nitrogen mineralization, part of a simple, low-data soil N mineralization approach (see SimpleNitrogenMineralization).

Calculates how soil temperature scales the rate of nitrogen mineralization, using a Q10 function. A Q10 of 2 means the mineralization rate doubles for every 10 degC increase in soil temperature, which is commonly used as a first, physiologically typical approximation. Below a configurable minimum temperature the factor is set to 0, i.e. mineralization is assumed to stop.

References

Stanford, Frere and Schwaninger, 1973: Temperature coefficient of soil nitrogen mineralization. Soil Science 115 Kirschbaum, 1995: The temperature dependence of soil-organic-matter decomposition. Soil Biology and Biochemistry 27

Component Variables

Content TypeNameDescriptionData TypeUnitMin ValueMax ValueDefault Value
constantcMinTemperaturesoil temperature below which mineralization is assumed to stopDOUBLE°C--0.0
constantcQ10Q10 coefficient of the mineralization temperature responseDOUBLE11.05.02.0
constantcReferenceTemperaturereference soil temperature at which the temperature factor equals 1DOUBLE°C--20.0
inputiSoilTemperaturesoil temperature of the considered layerDOUBLE°C--0.0
outTemperatureFactordimensionless soil-temperature response factor for N mineralization (0-1+)DOUBLE1--1.0
Author:
Andreas Enders, Claude AI
  • 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, iResetWhenInactive, isComponentGroup, iSimComponentElement, iSimModel, iVarMap
  • Constructor Summary

    Constructors
    Constructor
    Description
    Empty constructor used by class.forName()
  • 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, getInputValueText, getInputVariables, getMasterComponentGroup, getName, getOrderNumber, getOutputVariables, getSimComponentElement, getVariable, getVariableField, getVarMap, initialize, isConditionCheck, isVariableAvailable, performLinks, performLinks, readInputs, removeVariable, reset, runComponentTest, setInputValue, setVariablesDefault, syncInputLinks, 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

    • NMineralizationTemperatureFactor

      public NMineralizationTemperatureFactor()
      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. Test case 0: soil temperature equals the reference temperature -> factor must be 1. Test case 1: soil temperature is 10 degC above reference with Q10 = 2 -> factor must double. Test case 2: soil temperature is below cMinTemperature -> factor must be 0.
      Specified by:
      fillTestVariables in class net.simplace.sim.model.FWSimComponent
    • 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)