Class RadiationInterception
java.lang.Object
net.simplace.sim.model.FWSimComponent
net.simplace.sim.components.experimental.intercropping.RadiationInterception
- All Implemented Interfaces:
net.simplace.sim.util.FWSimFieldContainer
public class RadiationInterception
extends net.simplace.sim.model.FWSimComponent
Calculates each crops radiation interceptions for two crops
Calculation
Calculates radiation interception of two crops planted in strips, possibly with space between the strips.
See (1) for calculation details.
References
(1) Gou, F.; van Ittersum, M. K; Simon, E.; Leffelaar, P. A.; van der Putten, P.E.L.; Zhang, L. ; van der Werf,W. 2017 Intercropping wheat and maize increases total radiation interception and wheat RUE but lowers maize RUE. European Journal of Agronomy, 125-139.
- Author:
- G. Krauss
- See Also:
Component Variables
Content Type | Name | Description | Data Type | Unit | Min Value | Max Value | Default Value |
---|---|---|---|---|---|---|---|
constant | cSpace1 | space between plant 1 and plant 2 | DOUBLE | m | 0.0 | - | 0.0 |
constant | cSpace2 | space between plant 2 and plant 1 | DOUBLE | m | 0.0 | - | 0.0 |
constant | cWidth1 | Width of strip of plant 1 | DOUBLE | m | 0.0 | - | 0.0 |
constant | cWidth2 | Width of strip of plant 2 | DOUBLE | m | 0.0 | - | 0.0 |
constant | ck1 | Light extinction coefficient of plant 1 | DOUBLE | 1 | 0.0 | 1.0 | 0.6 |
constant | ck2 | Light extinction coefficient of plant 2 | DOUBLE | 1 | 0.0 | 1.0 | 0.6 |
input | iDoHarvest1 | True on day when plant 1 is harvested | BOOLEAN | - | - | false | |
input | iDoHarvest2 | True on day when plant 2 is harvested | BOOLEAN | - | - | false | |
input | iDoSow1 | True on day when plant 1 is sown | BOOLEAN | - | - | false | |
input | iDoSow2 | True on day when plant 2 is sown | BOOLEAN | - | - | false | |
input | iHeight1 | Height of plant 1 | DOUBLE | m | 0.0 | - | 0.0 |
input | iHeight2 | Height of plant 2 | DOUBLE | m | 0.0 | - | 0.0 |
input | iLAI1 | Leaf area index of plant 1 | DOUBLE | m2/m2 | 0.0 | - | 0.0 |
input | iLAI2 | Leaf area index of plant 2 | DOUBLE | m2/m2 | 0.0 | - | 0.0 |
input | iRadiation | Radiation to be intercepted by both plants | DOUBLE | J/(m2 d) | 0.0 | - | 0.0 |
out | InterceptionFraction1 | Radiation interception factor of plant 1 | DOUBLE | 1 | 0.0 | 1.0 | 0.0 |
out | InterceptionFraction2 | Radiation interception factor of plant 2 | DOUBLE | 1 | 0.0 | 1.0 | 0.0 |
out | Radiation1 | Radiation to be intercepted by plant 1 | DOUBLE | J/(m2 d) | 0.0 | - | 0.0 |
out | Radiation2 | Radiation to be intercepted by plant 2 | DOUBLE | J/(m2 d) | 0.0 | - | 0.0 |
out | WithCrop1 | True while plant 1 is present | BOOLEAN | - | - | false | |
out | WithCrop2 | True while plant 2 is present | BOOLEAN | - | - | false |
-
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
ModifierConstructorDescriptioncalled from class.forName()protected
RadiationInterception
(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 TypeMethodDescriptionprotected net.simplace.sim.model.FWSimComponent
clone
(net.simplace.sim.util.FWSimVarMap aVarMap) fillTestVariables
(int aParamIndex, net.simplace.sim.model.FWSimComponent.TEST_STATE aDefineOrCheck) called for single component test to check the components algorithm.protected void
init()
protected void
protected void
process()
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
-
Constructor Details
-
RadiationInterception
protected RadiationInterception(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
-
-
RadiationInterception
public RadiationInterception()called from class.forName()
-
-
Method Details
-
createVariables
- Specified by:
createVariables
in interfacenet.simplace.sim.util.FWSimFieldContainer
- Specified by:
createVariables
in classnet.simplace.sim.model.FWSimComponent
-
init
protected void init()- Specified by:
init
in classnet.simplace.sim.model.FWSimComponent
-
initVariables
protected void initVariables() -
process
protected void process()- Specified by:
process
in classnet.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 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) - Specified by:
clone
in classnet.simplace.sim.model.FWSimComponent
- See Also:
-
FWSimComponent.clone(net.simplace.sim.util.FWSimVarMap)
-