Klasse MethaneEmission
java.lang.Object
net.simplace.sim.model.FWSimComponent
net.simplace.sim.components.experimental.livestock.MethaneEmission
- Alle implementierten Schnittstellen:
net.simplace.sim.util.FWSimFieldContainer
public class MethaneEmission
extends net.simplace.sim.model.FWSimComponent
- Autor:
- Andreas Enders, info@andreas-enders.de Some java code documentation with several newlines and such things
Component Variables
| Content Type | Name | Description | Data Type | Unit | Min Value | Max Value | Default Value |
|---|---|---|---|---|---|---|---|
| constant | cAdultFemaleMethanConversionFraction | fraction of gross energy in feed converted to CH4 [animal] | DOUBLE | - | 0.0 | 0.1 | 0.065 |
| constant | cAdultFemaleWeight | Weight per Animal and Day Adult Female | DOUBLE | g/animal | 0.0 | 1000000.0 | 250000.0 |
| constant | cAdultMaleMethanConversionFraction | fraction of gross energy in feed converted to CH4 [animal] | DOUBLE | - | 0.0 | 0.1 | 0.065 |
| constant | cAdultMaleWeight | Weight per Animal and Day Adult Male | DOUBLE | g/animal | 0.0 | 1000000.0 | 300000.0 |
| constant | cJuvenileFemaleMethanConversionFraction | fraction of gross energy in feed converted to CH4 [animal] | DOUBLE | - | 0.0 | 0.1 | 0.045 |
| constant | cJuvenileFemaleWeight | Weight per Animal and Day Juvenile Female | DOUBLE | g/animal | 0.0 | 1000000.0 | 35000.0 |
| constant | cJuvenileMaleMethanConversionFraction | fraction of gross energy in feed converted to CH4 [animal] | DOUBLE | - | 0.0 | 0.1 | 0.045 |
| constant | cJuvenileMaleWeight | Weight per Animal and Day Juvenile Male | DOUBLE | g/animal | 0.0 | 1000000.0 | 45000.0 |
| constant | cSpecificMethanEmission | Conversion from J to CH4 | DOUBLE | g CH4/J | 0.0 | 1.0E-4 | 1.8E-5 |
| constant | cSubAdultFemaleMethanConversionFraction | fraction of gross energy in feed converted to CH4 [animal] | DOUBLE | - | 0.0 | 0.1 | 0.055 |
| constant | cSubAdultFemaleWeight | Weight per Animal and Day SubAdult Female | DOUBLE | g/animal | 0.0 | 1000000.0 | 150000.0 |
| constant | cSubAdultMaleMethanConversionFraction | fraction of gross energy in feed converted to CH4 [animal] | DOUBLE | - | 0.0 | 0.1 | 0.055 |
| constant | cSubAdultMaleWeight | Weight per Animal and Day SubAdult Male | DOUBLE | g/animal | 0.0 | 1000000.0 | 185000.0 |
| input | iAdultFemale | No. of head of livestock | DOUBLE | animal | 0.0 | 1000.0 | 20.0 |
| input | iAdultMale | No. of head of livestock | DOUBLE | animal | 0.0 | 1000.0 | 20.0 |
| input | iEnergyConsumption | Total Energy Consumption of the livestock | DOUBLE | J | 0.0 | 1.0E8 | 20.0 |
| input | iJuvenileFemale | No. of head of livestock | DOUBLE | animal | 0.0 | 1000.0 | 20.0 |
| input | iJuvenileMale | No. of head of livestock | DOUBLE | animal | 0.0 | 1000.0 | 20.0 |
| input | iSubAdultFemale | No. of head of livestock | DOUBLE | animal | 0.0 | 1000.0 | 20.0 |
| input | iSubAdultMale | No. of head of livestock | DOUBLE | animal | 0.0 | 1000.0 | 20.0 |
| out | CH4emission | Enteric Fermentation Emission from a livestock category | DOUBLE | g CH4/d | 0.0 | 500000.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) Taken from IPCC Report 2006 Vol 4, Chapter 10: Emissions from Livestock and Manure Management: V4_10_Ch10_Livestock.pdf Emission factor development An emission factor for each animal category was developed following Equation 10.21: EQUATION 10.21 CH4 EMISSION FACTORS FOR ENTERIC FERMENTATION FROM A LIVESTOCK CATEGORY EF = (GE * (Ym / 100) / 55.56 Where: EF = emission factor, kg CH4 head-1 yr-1 GE = gross energy intake, MJ head-1 day-1 Ym = methane conversion factor, per cent of gross energy in feed converted to methane The factor 55.65 (MJ/kg CH4) is the energy content of methane This emission factor equation assumes that the emission factors are being developed for an animal category for an entire year (365 days).fillTestVariables(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
-
MethaneEmission
public MethaneEmission()Empty constructor used by class.forName()
-
-
Methodendetails
-
createVariables
Taken from IPCC Report 2006 Vol 4, Chapter 10: Emissions from Livestock and Manure Management: V4_10_Ch10_Livestock.pdf Emission factor development An emission factor for each animal category was developed following Equation 10.21: EQUATION 10.21 CH4 EMISSION FACTORS FOR ENTERIC FERMENTATION FROM A LIVESTOCK CATEGORY EF = (GE * (Ym / 100) / 55.56 Where: EF = emission factor, kg CH4 head-1 yr-1 GE = gross energy intake, MJ head-1 day-1 Ym = methane conversion factor, per cent of gross energy in feed converted to methane The factor 55.65 (MJ/kg CH4) is the energy content of methane This emission factor equation assumes that the emission factors are being developed for an animal category for an entire year (365 days). While a full year emission factor is typically used, in some circumstances the animal category may be defined for a shorter period (e.g., for the wet season of the year or for a 150-day feedlot feeding period). In this case, the emission factor would be estimated for the specific period (e.g., the wet season) and the 365 days would be replaced by the number of days in the period. The definition of the period to which the emission factor applies is described in Section 10.2.- 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:
-