Package net.simplace.usermodules.gzhao
Class Lintul5_DRUNIR_Liaise
java.lang.Object
net.simplace.sim.model.FWSimComponent
net.simplace.usermodules.gzhao.Lintul5_DRUNIR_Liaise
- All Implemented Interfaces:
net.simplace.sim.util.FWSimFieldContainer
public class Lintul5_DRUNIR_Liaise
extends net.simplace.sim.model.FWSimComponent
Soil water and DRainage, RUNoff, IRrigation routines from LINTUL
- Author:
- Gunther Krauss, Andreas Enders, Roelof Oomen
Component Variables
| Content Type | Name | Description | Data Type | Unit | Min Value | Max Value | Default Value |
|---|---|---|---|---|---|---|---|
| constant | cDRATE | Maximum drainage rate (soil characteristic) | DOUBLE | mm/d | 0.0 | 80.0 | 50.0 |
| constant | cIRRIGF | Irrigation rate relative to the rate needed to keep the soil water status at field capacity (WC=WCFC) | DOUBLE | 1 | 0.0 | 1.0 | 0.0 |
| constant | cWCFC | Soil water content at field capacity | DOUBLE | m3/m3 | 0.0 | 1.0 | 0.23 |
| constant | cWCST | Soil water content at full saturation | DOUBLE | m3/m3 | 0.0 | 1.0 | 0.4 |
| constant | cWCWP | Soil water content at wilting point | DOUBLE | m3/m3 | 0.0 | 1.0 | 0.075 |
| constant | cWaterContentInitial | Initial soil water content (at start of the simulation run) | DOUBLE | m3/m3 | 0.0 | 1.0 | 0.23 |
| input | WithCrop | crop is present | BOOLEAN | 1 | - | - | false |
| input | cNoSowHarvest | If true, actual water content is set to initial value on first simulation day | BOOLEAN | 1 | - | - | false |
| input | iDTR | daily total radiation (output of routine WEATHR) | DOUBLE | J/(m2 d) | - | - | 0.0 |
| input | iDoHarvest | If plant is harvested on this day | BOOLEAN | 1 | - | - | false |
| input | iDoSow | If plant is sown on this day | BOOLEAN | 1 | - | - | false |
| input | iEVAP | evaporation | DOUBLE | mm/d | 0.0 | 20.0 | - |
| input | iIrrigation | Water input through irrigation | DOUBLE | mm/d | 0.0 | 500.0 | 0.0 |
| input | iLAI | leaf area index | DOUBLE | m2/m2 | 0.0 | 11.0 | - |
| input | iRAIN | Water input through rainfall | DOUBLE | mm/d | 0.0 | 100.0 | - |
| input | iROOTD | Rooting depth | DOUBLE | m | 0.0 | 5.0 | - |
| input | iRROOTD | Rate of increase in rooting depth | DOUBLE | m/d | 0.0 | 3.0 | - |
| input | iTMAX | maximal air temperature during day (output of routine WEATHR) | DOUBLE | °C | - | - | 0.0 |
| input | iTMIN | minimal air temperature during day (output of routine WEATHR) | DOUBLE | °C | - | - | 0.0 |
| input | iTRAN | transpiration | DOUBLE | mm/d | 0.0 | 20.0 | - |
| input | pET | potential evapotraspiration | DOUBLE | mm/d | 0.0 | 100.0 | - |
| state | sGlobalWaterContent | Actual amount of water in the soil (WA) | DOUBLE | mm | 0.0 | 1000.0 | 0.0 |
| out | CropAvailWaterContent | Water available for crop (above wilting point) | DOUBLE | m3/m3 | 0.0 | 20.0 | 0.0 |
| out | DRAIN | Drainage rate below the root zone | DOUBLE | mm/d | 0.0 | 200.0 | 0.0 |
| out | EFFECTIVERAIN | Effective rainfall | DOUBLE | mm/d | 0.0 | 2000.0 | 0.0 |
| out | EVAP_cumulative | cumulative soil evaporation while crop growing | DOUBLE | mm/d | 0.0 | 10000.0 | - |
| out | GROWINGSEASONRAIN | Growing season rainfall | DOUBLE | mm/d | 0.0 | 3000.0 | 0.0 |
| out | GSDays | Growing season lengh | INT | d | 0 | 3000 | 0 |
| out | GSRadiationsum | Growing season maximum temperature | DOUBLE | J/(m2 d) | 0.0 | 300000.0 | 0.0 |
| out | GSTMaxsum | Growing season maximum temperature | DOUBLE | °C | -100000.0 | 30000.0 | 0.0 |
| out | GSTMinsum | Growing season minimum temperature | DOUBLE | °C | -1000000.0 | 300000.0 | 0.0 |
| out | GrowingSeasonPET | Accumulation of potential evapotranspiration in growing season | DOUBLE | mm/d | 0.0 | 2000.0 | 0.0 |
| out | IRRIG | Irrigation rate | DOUBLE | mm/d | 0.0 | 200.0 | 0.0 |
| out | IRRIGATIONNETREQUIREMENT | Net irrigation requirement | DOUBLE | mm/d | -2000.0 | 4000.0 | 0.0 |
| out | RNINTC | Interception of rain by the canopy | DOUBLE | mm/d | 0.0 | 20.0 | 0.0 |
| out | RUNOFF | Loss of water by runoff | DOUBLE | mm/d | 0.0 | 2000.0 | 0.0 |
| out | TRAN_cumulative | cumulative soil transpiration while crop growing | DOUBLE | mm/d | 0.0 | 10000.0 | - |
| out | totalDRAIN | Total drainage rate below the root zone | DOUBLE | mm/d | 0.0 | 2000.0 | 0.0 |
| out | totalRUNOFF | Total Loss of water by runoff | DOUBLE | mm/d | 0.0 | 2000.0 | 0.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 -
Method Summary
Modifier and TypeMethodDescriptionprotected net.simplace.sim.model.FWSimComponentclone(net.simplace.sim.util.FWSimVarMap aVarMap) /** creates a clone from this SimComponent for use in other threadsfillTestVariables(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, 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
-
Lintul5_DRUNIR_Liaise
public Lintul5_DRUNIR_Liaise()Empty constructor used by class.forName()
-
-
Method Details
-
createVariables
- Specified by:
createVariablesin interfacenet.simplace.sim.util.FWSimFieldContainer- Specified by:
createVariablesin 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:
initin 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:
processin 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:
fillTestVariablesin 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) /** creates a clone from this SimComponent for use in other threads- Specified by:
clonein classnet.simplace.sim.model.FWSimComponent- See Also:
-
net.simplace.simulation.model.FWSimComponent#clone(net.simplace.simulation.util.FWSimVarMap)
-