Class N2Odenit
java.lang.Object
net.simplace.sim.model.FWSimComponent
net.simplace.sim.components.experimental.n2o.N2Odenit
- All Implemented Interfaces:
net.simplace.sim.util.FWSimFieldContainer
public class N2Odenit
extends net.simplace.sim.model.FWSimComponent
- Author:
- Andreas Enders, info@andreas-enders.de Henault, C, Germon, J.C. 2000: NEMIS, a predictive model of denitrification on the field scale, European Journal of Soil Science Linn, D.M., and J.W. Doran. 1984. Effect of water-filled pore space on carbon dioxide and nitrous oxide production in tilled and non-tilled soils. Soil Sci. Soc. Am. J. 48:1267-1272.
Component Variables
Content Type | Name | Description | Data Type | Unit | Min Value | Max Value | Default Value |
---|---|---|---|---|---|---|---|
constant | Km | Constant K | DOUBLE | mg N/kg | 0.0 | 50.0 | 22.0 |
constant | ParticleDensity | Maximum particle density | DOUBLE | g/cm3 | 0.0 | 3.0 | 2.65 |
constant | PotentialDenitrificationRate | Maximum denitrification rate at 20°C | DOUBLE | g N/m2 | 0.1 | 0.4 | 0.2 |
constant | SoilDepth | SoilDepth arry | DOUBLEARRAY | m | 0.0 | 3.0 | - |
constant | TopSoilDepth | Maximum depth of denitrification | DOUBLE | m | 0.0 | 3.0 | 0.5 |
input | BulkDensity | BulkDensity of layers | DOUBLEARRAY | g/cm3 | 0.0 | 3.0 | - |
input | Nitrate | NitrateContent | DOUBLEARRAY | g N/m2 | 0.0 | 999999.0 | - |
input | SoilTemperature | SoilTemperatur at layers | DOUBLEARRAY | °C | -40.0 | 60.0 | - |
input | WaterContent | Volumetric WaterContent | DOUBLEARRAY | 1 | 0.0 | 1.0 | - |
out | Denitrification | Denitrification sum | DOUBLE | mg/m2 | 0.0 | 1.0 | 0.0 |
out | DenitrificationLayers | Denitrification per layer | DOUBLEARRAY | mg/m2 | 0.0 | 10.0 | - |
out | NitrateLimitFactor | Factor limiting denitrification by nitrate content | DOUBLEARRAY | 1 | 0.0 | 1.0 | - |
out | TemperatureLimitFactor | Factor limiting denitrification by temperature | DOUBLEARRAY | 1 | 0.0 | 1.0 | - |
out | WaterLimitFactor | Factor limiting denitrification by watercontent | DOUBLEARRAY | 1 | 0.0 | 1.0 | - |
-
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
-
Method Summary
Modifier and TypeMethodDescriptionprotected net.simplace.sim.model.FWSimComponent
clone
(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 void
init()
Initializes the fields by getting input and output FWSimVariables from VarMapprotected void
process()
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, 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
-
Constructor Details
-
N2Odenit
public N2Odenit()Empty constructor used by class.forName()
-
-
Method Details
-
createVariables
Create the FWSimVariables as interface for this SimComponent- Specified by:
createVariables
in interfacenet.simplace.sim.util.FWSimFieldContainer
- Specified by:
createVariables
in classnet.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 classnet.simplace.sim.model.FWSimComponent
- See Also:
-
net.simplace.simulation.model.FWSimComponent#init()
-
process
protected void process()Process the algorithm and write the results back to VarMap- Specified by:
process
in classnet.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 classnet.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 classnet.simplace.sim.model.FWSimComponent
- See Also:
-
net.simplace.simulation.model.FWSimComponent#clone(net.simplace.simulation.util.FWSimVarMap)
-