Class Pedotransfer

java.lang.Object
net.simplace.sim.model.FWSimComponent
net.simplace.sim.components.soil.pedotransfer.Pedotransfer
All Implemented Interfaces:
net.simplace.sim.util.FWSimFieldContainer

public class Pedotransfer extends net.simplace.sim.model.FWSimComponent

Takes data with depth, clay percentage, silt percentage, sand percentage (optional, default 100-(clay+silt)), organic matter percentage (optional, default 0) bulk density (optional, default 1.4), top soil depth (optional, default 0.3 m), pedotransfer function (optional, default 'Hypres'), gravel percentage (optional, default 0) in n soil layers and transforms it to Van Genuchten parameters alpha, l, m, n and Ks or Volumetric water contents.

Description

Soil data is mostly delivered with the layer specific information. The layers have different depth and are varying in their count. This Transformer takes the texture data with these n different depth layers and creates Van Genuchten and Volumetric Water Content data.

Array fields like DOUBLEARRAY for the different parameters. Depending on the fields that you put into the header the different fields are calculated.

Author:
Andreas Enders

Component Variables

Content TypeNameDescriptionData TypeUnitMin ValueMax ValueDefault Value
constantcInterflowDepthDepth of the interflow layerDOUBLEm0.01.00.0
constantcPedotransferFunctionChoose 'Hypres', 'Rawls', Default is 'Hypres'CHAR1--
constantcSoilLayerDepthDepth of the bottom of each soil layer after soil layer transformationDOUBLEARRAYm---
constantcTopSoilDepthDepth of the topsoil layer - layers that are touched by topsoil are topsoil!DOUBLEm0.01.00.3
inputiBulkDensityTexture: Bulk density, default is 1.4DOUBLEARRAYg/cm30.03.0-
inputiClayPercentageGravimetric texture part of clay, if not existing this is calculated from 100 - (sand + silt)DOUBLEARRAY%0.0100.0-
inputiDoUpdateIf the calculation should be performed again (on tillage day or so)BOOLEAN%--true
inputiGravelPercentageVolumetric texture part of gravel (additional to clay, silt, sand), default is 0DOUBLEARRAY%0.0100.0-
inputiOrganicPercentageGravimetric texture part of organic carbon, default is 0DOUBLEARRAY%0.0100.0-
inputiSandPercentageGravimetric texture part of sand, by default this is calculated from 100 - (clay + silt)DOUBLEARRAY%0.0100.0-
inputiSiltPercentageGravimetric texture part of silt, if not existing this is calculated from 100 - (sand + clay)DOUBLEARRAY%0.0100.0-
outInterflowBulkDensityTexture: Bulk density, averaged over Interflow layersDOUBLEg/cm30.03.00.0
outInterflowClayPercentageGravimetric texture part of clay, averaged over interflow layersDOUBLE%0.0100.00.0
outInterflowGravelPercentageVolumetric texture part of gravel (additional to clay, silt, sand), averaged over interflow layersDOUBLE%0.0100.00.0
outInterflowOrganicPercentageGravimetric texture part of organic carbon, averaged over interflow layersDOUBLE%0.0100.00.0
outInterflowSandPercentageGravimetric texture part of sand, averaged over interflow layersDOUBLE%0.0100.00.0
outInterflowSaturatedHydraulicConductivityKs parameterDOUBLEm/s--0.0
outInterflowSiltPercentageGravimetric texture part of silt, averaged over interflow layersDOUBLE%0.0100.00.0
outInterflowTextureClassTextureClass using the specific classificationCHARm3/m3--
outInterflowVanGenuchtenAlphaVanGenuchten Alpha parameterDOUBLEm-1--0.0
outInterflowVanGenuchtenLVanGenuchten L parameterDOUBLEm3/m3--0.0
outInterflowVanGenuchtenMVanGenuchten M parameter (1-1/N)DOUBLEm3/m3--0.0
outInterflowVanGenuchtenNVanGenuchten N parameterDOUBLEm3/m3--0.0
outInterflowVolumetricWaterContent0Volumetric soil water content in the zone from top to interflow depth at saturation (pF0 or 0.0 KPa)DOUBLEm3/m30.01.00.0
outInterflowVolumetricWaterContent1500Volumetric soil water content in the zone from top to interflow depth at permanent wilting point (pF4.2 or -1500 KPa)DOUBLEm3/m30.01.00.0
outInterflowVolumetricWaterContent200Volumetric soil water content in the zone from top to interflow depth at which water is available for upward movement (pF3.3 or -200 KPa)DOUBLEm3/m30.01.00.0
outInterflowVolumetricWaterContent3100Volumetric soil residual water content in the zone from top to interflow depth (pF6 or -3100 KPa)DOUBLEm3/m30.01.00.0
outInterflowVolumetricWaterContent33Volumetric soil water content in the zone from top to interflow depth at field capacity (pF2.5 or -33 KPa)DOUBLEm3/m30.01.00.0
outInterflowVolumetricWaterContent33Plus1500HalfVolumetric soil water content in the zone from top to interflow depth at field capacity + wilting point devided by 2 (pF2.5 or -33 KPa)/2DOUBLEm3/m30.01.00.0
outInterflowVolumetricWaterContent33to1500Volumetric soil water content in the zone from top to interflow depth at field capacity - wilting point (pF2.5 or -33 KPa)DOUBLEm3/m30.01.00.0
outInterflowVolumetricWaterContent6Volumetric soil water in the zone from top to interflow depth content at field capacity (pF1.8 or -6 kPa)DOUBLEm3/m30.01.00.0
outInterflowVolumetricWaterContent6to1500Volumetric soil water content in the zone from top to interflow depth at field capacity - wilting point (pF1.8 or -6 KPa)DOUBLEm3/m30.01.00.0
outInterflowVolumetricWaterContentResidualVolumetric soil residual water content in the zone from top to interflow depth (pF / KPa at infinity)DOUBLEm3/m30.01.00.0
outSaturatedHydraulicConductivityKs parameterDOUBLEARRAYm/s---
outTextureClassTextureClass using the specific classificationCHARARRAYm3/m3---
outTopsoilBulkDensityTexture: Bulk density, averaged over topsoil layersDOUBLEg/cm30.03.00.0
outTopsoilClayPercentageGravimetric texture part of clay, averaged over topsoil layersDOUBLE%0.0100.00.0
outTopsoilGravelPercentageVolumetric texture part of gravel (additional to clay, silt, sand), averaged over topsoil layersDOUBLE%0.0100.00.0
outTopsoilOrganicPercentageGravimetric texture part of organic carbon, averaged over topsoil layersDOUBLE%0.0100.00.0
outTopsoilSandPercentageGravimetric texture part of sand, averaged over topsoil layersDOUBLE%0.0100.00.0
outTopsoilSaturatedHydraulicConductivityKs parameterDOUBLEm/s--0.0
outTopsoilSiltPercentageGravimetric texture part of silt, averaged over topsoil layersDOUBLE%0.0100.00.0
outTopsoilTextureClassTextureClass using the specific classificationCHARm3/m3--
outTopsoilVanGenuchtenAlphaVanGenuchten Alpha parameterDOUBLEm-1--0.0
outTopsoilVanGenuchtenLVanGenuchten L parameterDOUBLEm3/m3--0.0
outTopsoilVanGenuchtenMVanGenuchten M parameter (1-1/N)DOUBLEm3/m3--0.0
outTopsoilVanGenuchtenNVanGenuchten N parameterDOUBLEm3/m3--0.0
outTopsoilVolumetricWaterContent0Volumetric soil water content in topsoil at saturation (pF0 or 0.0 KPa)DOUBLEm3/m30.01.00.0
outTopsoilVolumetricWaterContent1500Volumetric soil water content in topsoil at permanent wilting point (pF4.2 or -1500 KPa)DOUBLEm3/m30.01.00.0
outTopsoilVolumetricWaterContent200Volumetric soil water content in topsoil at which water is available for upward movement (pF3.3 or -200 KPa)DOUBLEm3/m30.01.00.0
outTopsoilVolumetricWaterContent3100Volumetric soil residual water content in topsoil (pF6 or -3100 KPa)DOUBLEm3/m30.01.00.0
outTopsoilVolumetricWaterContent33Volumetric soil water content in topsoil at field capacity (pF2.5 or -33 KPa)DOUBLEm3/m30.01.00.0
outTopsoilVolumetricWaterContent33Plus1500HalfVolumetric soil water content in topsoil at field capacity + wilting point devided by 2 (pF2.5 or -33 KPa)/2DOUBLEm3/m30.01.00.0
outTopsoilVolumetricWaterContent33to1500Volumetric soil water content in topsoil at field capacity - wilting point (pF2.5 or -33 KPa)DOUBLEm3/m30.01.00.0
outTopsoilVolumetricWaterContent6Volumetric soil water in topsoil content at field capacity (pF1.8 or -6 kPa)DOUBLEm3/m30.01.00.0
outTopsoilVolumetricWaterContent6to1500Volumetric soil water content in topsoil at field capacity - wilting point (pF1.8 or -6 KPa)DOUBLEm3/m30.01.00.0
outTopsoilVolumetricWaterContentResidualVolumetric soil residual water content in topsoil (pF / KPa at infinity)DOUBLEm3/m30.01.00.0
outVanGenuchtenAlphaVanGenuchten Alpha parameterDOUBLEARRAYm-1---
outVanGenuchtenLVanGenuchten L parameterDOUBLEARRAYm3/m3---
outVanGenuchtenMVanGenuchten M parameter (1-1/N)DOUBLEARRAYm3/m3---
outVanGenuchtenNVanGenuchten N parameterDOUBLEARRAYm3/m3---
outVolumetricWaterContent0Volumetric soil water content of each layer at saturation (pF0 or 0.0 KPa)DOUBLEARRAYm3/m30.01.0-
outVolumetricWaterContent1500Volumetric soil water content of each layer at permanent wilting point (pF4.2 or -1500 KPa)DOUBLEARRAYm3/m30.01.0-
outVolumetricWaterContent200Volumetric soil water content of each layer at which water is available for upward movement (pF3.3 or -200 KPa)DOUBLEARRAYm3/m30.01.0-
outVolumetricWaterContent3100Volumetric soil residual water content of each layer (pF6 or -3100 KPa)DOUBLEARRAYm3/m30.01.0-
outVolumetricWaterContent33Volumetric soil water content of each layer at field capacity (pF2.5 or -33 KPa)DOUBLEARRAYm3/m30.01.0-
outVolumetricWaterContent33Plus1500HalfVolumetric soil water content of each layer at field capacity + wilting point devided by 2 (pF2.5 or -33 KPa)/2DOUBLEARRAYm3/m30.01.0-
outVolumetricWaterContent33to1500Volumetric soil water content of each layer at field capacity - wilting point (pF2.5 or -33 KPa)DOUBLEARRAYm3/m30.01.0-
outVolumetricWaterContent6Volumetric soil water content of each layer at field capacity (pF1.8 or -6 kPa)DOUBLEARRAYm3/m30.01.0-
outVolumetricWaterContent6to1500Volumetric soil water content of each layer at field capacity - wilting point (pF1.8 or -6 KPa)DOUBLEARRAYm3/m30.01.0-
outVolumetricWaterContentResidualResidual Volumetric soil residual water content of each layer (pF/ KPa at infinity)DOUBLEARRAYm3/m30.01.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

    Constructors
    Constructor
    Description
     
    Pedotransfer(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 void
     
    protected net.simplace.sim.model.FWSimComponent
    clone(net.simplace.sim.util.FWSimVarMap aVarMap)
     
    HashMap<String,net.simplace.sim.util.FWSimVariable<?>>
     
    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
     
    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

    • Pedotransfer

      public Pedotransfer()
    • Pedotransfer

      public Pedotransfer(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 -
  • Method Details

    • createVariables

      public HashMap<String,net.simplace.sim.util.FWSimVariable<?>> createVariables()
      Specified by:
      createVariables in interface net.simplace.sim.util.FWSimFieldContainer
      Specified by:
      createVariables in class net.simplace.sim.model.FWSimComponent
    • init

      protected void init()
      Specified by:
      init in class net.simplace.sim.model.FWSimComponent
    • calculate

      protected void calculate()
    • process

      protected void process()
      Specified by:
      process in class net.simplace.sim.model.FWSimComponent
    • 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