Klasse TemperatureIncrement
java.lang.Object
net.simplace.sim.model.FWSimComponent
net.simplace.sim.components.models.lintul.TemperatureIncrement
- Alle implementierten Schnittstellen:
net.simplace.sim.util.FWSimFieldContainer
public class TemperatureIncrement
extends net.simplace.sim.model.FWSimComponent
Calculates effective temperature sums for anthesis and maturity based on daily temperature and base temperatures
Daily rates of temperature sums
The model takes daily mean temperature iAirTemperatureMean and the parameters cBaseTempBeforeAnt and cBaseTempAfterAnt and calculates the coresponding EffectiveTempRateBeforeAnt and EffectiveTempRateAfterAnt by subtracting the base temperatures from the mean temperatures.
\[ EffectiveTempRateBeforeAnt = max(0,iAirTemperatureMean - cBaseTempBeforeAnt) \\ EffectiveTempRateAfterAnt = max(0,iAirTemperatureMean - cBaseTempAfterAnt) \]Rate reduction due to high mean temperatures
If the mean temperature iAirTemperatureMean exceeds cTempLimit, then the temperature sum rates are reduced linearly, becoming 0 when mean temperature reaches cTempUpperLimit:
\[ EffectiveTempRateBeforeAnt = \frac{cTempLimit-cBaseTempBeforeAnt}{cTempUpperLimit - cTempLimit}\cdot (cTempUpperLimit - iAirTemperatureMean) \\ EffectiveTempRateAfterAnt = \frac{cTempLimit-cBaseTempAfterAnt}{cTempUpperLimit - cTempLimit}\cdot (cTempUpperLimit - iAirTemperatureMean) \]References
- Autor:
- Holger Hoffmann, hhoffmann@uni-bonn.de
Component Variables
| Content Type | Name | Description | Data Type | Unit | Min Value | Max Value | Default Value |
|---|---|---|---|---|---|---|---|
| constant | cBaseTempAfterAnt | Base temperature after anthesis | DOUBLE | °C | 0.0 | 40.0 | 9.0 |
| constant | cBaseTempBeforeAnt | Base temperature before anthesis | DOUBLE | °C | 0.0 | 40.0 | 1.0 |
| constant | cTempLimit | threshold 1 for heat stress | DOUBLE | °C | 0.0 | 60.0 | 12.6 |
| constant | cTempUpperLimit | threshold 2 for heat stress | DOUBLE | °C | 0.0 | 60.0 | 15.6 |
| input | iAirTemperatureMean | Mean air temperature | DOUBLE | °C | -40.0 | 60.0 | 0.0 |
| out | EffectiveTempRateAfterAnt | Daily temperature sum rate after anthesis | DOUBLE | °C | 0.0 | 55.0 | 0.0 |
| out | EffectiveTempRateBeforeAnt | Daily temperature sum rate before anthesis | DOUBLE | °C | 0.0 | 55.0 | 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) 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 voidinit()Initializes the fields by getting input and output FWSimVariables from VarMapprotected voidprocess()Process the algorithm and write the results back to VarMapVon 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
-
TemperatureIncrement
public TemperatureIncrement()Empty constructor used by class.forName()
-
-
Methodendetails
-
createVariables
Create the FWSimVariables as interface for this SimComponent- Angegeben von:
createVariablesin Schnittstellenet.simplace.sim.util.FWSimFieldContainer- Angegeben von:
createVariablesin Klassenet.simplace.sim.model.FWSimComponent- Siehe auch:
-
init
protected void init()Initializes the fields by getting input and output FWSimVariables from VarMap- Angegeben von:
initin Klassenet.simplace.sim.model.FWSimComponent- Siehe auch:
-
process
protected void process()Process the algorithm and write the results back to VarMap- 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) - Angegeben von:
clonein Klassenet.simplace.sim.model.FWSimComponent- Siehe auch:
-