Klasse SimpleIrrigation
- Alle implementierten Schnittstellen:
net.simplace.sim.util.FWSimFieldContainer
Irrigation has to be provided as an array cIRRTAB, where the entries containing DOY of irrigation alternate with entries containing corresponding irrigation amount: .
E. g.:
| DOY | 50 | 180 | 320 |
| Amount | 130.5 | 120 | 127.3 |
has to be provided as array
| 50 | 130.5 | 180 | 120 | 320 | 127.3 |
This is the way interpolation tables are handled in FST (see also FSTFunctions). Lintul5 uses this mechanism for irrigation.
AppliedIrrDepth takes then on each DOY in cIRRTAB the corresponding value. If the DOY is not in the table then AppliedIrrDepth is 0.
The applied irrigation volumes are added to the input variable iRAIN and the sum is output in the output variable RainAndIrrigation
In order to avoid unproductive rainfall run-off at the days of irrigation, the user can specify the amount of rain cMaxRainWithoutRunoff below which no surface run-off can occur (default is 0.0 mm d-1). Only if iRAIN exceeds this threshold cMaxRainWithoutRunoff at any day with irrigation, then CalculateRunoff is set to true.
- Autor:
- gk
Component Variables
| Content Type | Name | Description | Data Type | Unit | Min Value | Max Value | Default Value |
|---|---|---|---|---|---|---|---|
| constant | cIRRTAB | table with effective applications of irrigation water as function of day number (DOY) | DOUBLEARRAY | mm/d | - | - | - |
| constant | cMaxRainWithoutRunoff | maximum precipitation at which no runoff is calculated | DOUBLE | mm/d | - | - | 0.0 |
| input | iRAIN | precipitation | DOUBLE | mm/d | - | - | 0.0 |
| out | AppliedIrrDepth | daily applied depth of irrigation | DOUBLE | mm/d | - | - | 0.0 |
| out | CalculateRunoff | - | BOOLEAN | - | - | true | |
| out | RainAndIrrigation | precipitation + irrigation | DOUBLE | mm/d | - | - | 0.0 |
-
Verschachtelte Klassen - Übersicht
Von Klasse geerbte verschachtelte Klassen/Schnittstellen net.simplace.sim.model.FWSimComponent
net.simplace.sim.model.FWSimComponent.TEST_STATE -
Feldübersicht
Von Klasse geerbte Felder net.simplace.sim.model.FWSimComponent
iFieldMap, iFrequence, iInputMap, iJexlRule, iMasterComponentGroup, iName, iOrderNumber, isComponentGroup, iSimComponentElement, iSimModel, iVarMap -
Konstruktorübersicht
Konstruktoren -
Methodenübersicht
Modifizierer und TypMethodeBeschreibungprotected 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()protected voidprocess()Von Klasse geerbte Methoden 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
-
Konstruktordetails
-
SimpleIrrigation
public SimpleIrrigation(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) - Parameter:
aName-aFieldMap-aInputMap-aSimComponentElement-aVarMap-aOrderNumber-
-
SimpleIrrigation
public SimpleIrrigation()Empty constructor used by class.forName()
-
-
Methodendetails
-
createVariables
- Angegeben von:
createVariablesin Schnittstellenet.simplace.sim.util.FWSimFieldContainer- Angegeben von:
createVariablesin Klassenet.simplace.sim.model.FWSimComponent- Siehe auch:
-
init
protected void init()- Angegeben von:
initin Klassenet.simplace.sim.model.FWSimComponent- Siehe auch:
-
process
protected void process()- Angegeben von:
processin Klassenet.simplace.sim.model.FWSimComponent- Siehe auch:
-
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.- Angegeben von:
fillTestVariablesin Klassenet.simplace.sim.model.FWSimComponent- Siehe auch:
-
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- Angegeben von:
clonein Klassenet.simplace.sim.model.FWSimComponent- Siehe auch:
-