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 Type | Name | Description | Data Type | Unit | Min Value | Max Value | Default Value |
|---|---|---|---|---|---|---|---|
| constant | cMinTemperature | soil temperature below which mineralization is assumed to stop | DOUBLE | °C | - | - | 0.0 |
| constant | cQ10 | Q10 coefficient of the mineralization temperature response | DOUBLE | 1 | 1.0 | 5.0 | 2.0 |
| constant | cReferenceTemperature | reference soil temperature at which the temperature factor equals 1 | DOUBLE | °C | - | - | 20.0 |
| input | iSoilTemperature | soil temperature of the considered layer | DOUBLE | °C | - | - | 0.0 |
| out | TemperatureFactor | dimensionless soil-temperature response factor for N mineralization (0-1+) | DOUBLE | 1 | - | - | 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
ConstructorsConstructorDescriptionEmpty constructor used by class.forName() -
Method Summary
Modifier and TypeMethodDescriptionprotected net.simplace.sim.model.FWSimComponentclone(net.simplace.sim.util.FWSimVarMap aVarMap) Create the FWSimVariables as interface for this SimComponentfillTestVariables(int aParamIndex, net.simplace.sim.model.FWSimComponent.TEST_STATE aDefineOrCheck) called for single component test to check the components algorithm.protected voidinit()Initializes the fields by getting input and output FWSimVariables from VarMapprotected voidprocess()Process the algorithm and write the results back to VarMapMethods 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
-
Constructor Details
-
NMineralizationTemperatureFactor
public NMineralizationTemperatureFactor()Empty constructor used by class.forName()
-
-
Method Details
-
createVariables
Create the FWSimVariables as interface for this SimComponent- Specified by:
createVariablesin interfacenet.simplace.sim.util.FWSimFieldContainer- Specified by:
createVariablesin classnet.simplace.sim.model.FWSimComponent- See Also:
-
init
protected void init()Initializes the fields by getting input and output FWSimVariables from VarMap- Specified by:
initin classnet.simplace.sim.model.FWSimComponent- See Also:
-
process
protected void process()Process the algorithm and write the results back to VarMap- Specified by:
processin classnet.simplace.sim.model.FWSimComponent- See Also:
-
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:
fillTestVariablesin classnet.simplace.sim.model.FWSimComponent
-
clone
protected net.simplace.sim.model.FWSimComponent clone(net.simplace.sim.util.FWSimVarMap aVarMap) - Specified by:
clonein classnet.simplace.sim.model.FWSimComponent- See Also:
-