Klasse SimpleFertilizer
java.lang.Object
net.simplace.sim.model.FWSimComponent
net.simplace.sim.components.management.SimpleFertilizer
- Alle implementierten Schnittstellen:
net.simplace.sim.util.FWSimFieldContainer
Veraltet.
Applies fertilizer by using tabular values - designed to use Lintul5-style fertilizer tables
Fertilizer has to be provided as an array, where the entries containing DOY of fertilization alternate with entries containing corresponding fertilizer 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 fertilization.
There are three tables the user can provide: cNitrateTAB, cAmmoniaTAB, cPotassiumTAB, cPhosphorusTAB and cNitrateAndAmmoniaTAB .
Each of the table populates the corresponding output Nitrate, Ammonia, Potassium, Phosphorus or NitrateAndAmmonia.
Notice: Nitrate and Ammonia do not add to NitrateAndAmmonia. This output is related only to cNitrateAndAmmoniaTAB!
- Autor:
- gk
- Siehe auch:
Component Variables
| Content Type | Name | Description | Data Type | Unit | Min Value | Max Value | Default Value |
|---|---|---|---|---|---|---|---|
| constant | cAmmoniaTAB | table with effective applications of ammonia as function of day number (DOY) | DOUBLEARRAY | g/(m2 d) | - | - | - |
| constant | cNitrateAndAmmoniaTAB | table with effective applications of nitrate and ammonia as function of day number (DOY) | DOUBLEARRAY | g/(m2 d) | - | - | - |
| constant | cNitrateTAB | table with effective applications of nitrate as function of day number (DOY) | DOUBLEARRAY | g/(m2 d) | - | - | - |
| constant | cPhosphorusTAB | table with effective applications of Phosphorus as function of day number (DOY) | DOUBLEARRAY | g/(m2 d) | - | - | - |
| constant | cPotassiumTAB | table with effective applications of ammonia as function of day number (DOY) | DOUBLEARRAY | g/(m2 d) | - | - | - |
| out | Ammonia | daily applied ammonia | DOUBLE | g/(m2 d) | - | - | 0.0 |
| out | Nitrate | daily applied nitrate | DOUBLE | g/(m2 d) | - | - | 0.0 |
| out | NitrateAndAmmonia | daily applied nitrate and ammonia | DOUBLE | g/(m2 d) | - | - | 0.0 |
| out | Phosphorus | daily applied Phosphorus | DOUBLE | g/(m2 d) | - | - | 0.0 |
| out | Potassium | daily applied Potassium | DOUBLE | g/(m2 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
KonstruktorenKonstruktorBeschreibungVeraltet.Empty constructor used by class.forName()SimpleFertilizer(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) Veraltet. -
Methodenübersicht
Modifizierer und TypMethodeBeschreibungprotected net.simplace.sim.model.FWSimComponentclone(net.simplace.sim.util.FWSimVarMap aVarMap) Veraltet.creates a clone from this SimComponent for use in other threadsVeraltet.fillTestVariables(int aParamIndex, net.simplace.sim.model.FWSimComponent.TEST_STATE aDefineOrCheck) Veraltet.called for single component test to check the components algorithm.protected voidinit()Veraltet.protected voidprocess()Veraltet.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
-
SimpleFertilizer
public SimpleFertilizer(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) Veraltet.- Parameter:
aName-aFieldMap-aInputMap-aSimComponentElement-aVarMap-aOrderNumber-
-
SimpleFertilizer
public SimpleFertilizer()Veraltet.Empty constructor used by class.forName()
-
-
Methodendetails
-
createVariables
Veraltet.- Angegeben von:
createVariablesin Schnittstellenet.simplace.sim.util.FWSimFieldContainer- Angegeben von:
createVariablesin Klassenet.simplace.sim.model.FWSimComponent- Siehe auch:
-
init
protected void init()Veraltet.- Angegeben von:
initin Klassenet.simplace.sim.model.FWSimComponent- Siehe auch:
-
process
protected void process()Veraltet.- 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) Veraltet.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) Veraltet.creates a clone from this SimComponent for use in other threads- Angegeben von:
clonein Klassenet.simplace.sim.model.FWSimComponent- Siehe auch:
-