net.simplace.sim.components.experimental.lifestock.FodderConsumption

Component Variables

Content TypeNameDescriptionData TypeUnitMin ValueMax ValueDefault Value
constantcAdultFemaleFodderFractionFraction of Fodder per Animal and Day Adult FemaleDOUBLEg/g0.01.00.025
constantcAdultMaleFodderFractionFraction of Fodder per Animal and Day Adult MaleDOUBLEg/g0.01.00.025
constantcDegradationFactorFraction of Fodder in Storage that degrades per dayDOUBLE10.01.00.001
constantcJuvenileFemaleFodderFractionFraction of Fodder per Animal and Day Juvenile FemaleDOUBLEg/g0.01.00.025
constantcJuvenileMaleFodderFractionFraction of Fodder per Animal and Day Juvenile MaleDOUBLEg/g0.01.00.025
constantcSubAdultFemaleFodderFractionFraction of Fodder per Animal and Day SubAdult FemaleDOUBLEg/g0.01.00.025
constantcSubAdultMaleFodderFractionFraction of Fodder per Animal and Day SubAdult MaleDOUBLEg/g0.01.00.025
inputiAdultFemaleWeightWeight of Animals Adult FemaleDOUBLEg0.010000.0-
inputiAdultMaleWeightWeight of Animals Adult MaleDOUBLEg0.010000.0-
inputiFodderProductionAmount of Fodder produced and importedDOUBLEg0.0100000.00.0
inputiJuvenileFemaleWeightWeight of Animals Juvenile FemaleDOUBLEg0.010000.0-
inputiJuvenileMaleWeightWeight of Animals Juvenile MaleDOUBLEg0.010000.0-
inputiSubAdultFemaleWeightWeight of Animals SubAdult FemaleDOUBLEg0.010000.0-
inputiSubAdultMaleWeightWeight of Animals SubAdult MaleDOUBLEg0.010000.0-
statesFodderStorageAmount of Fodder available in storageDOUBLEg0.01.0E70.0
raterFodderAmount of Fodder consumed todayDOUBLEg0.0100000.0-
outFodderConsumedSum Amount of Fodder consumed (sum)DOUBLEg0.01.0E80.0
outFodderDegradedSum Amount of Fodder degraded (sum)DOUBLEg0.01.0E80.0



public class FodderConsumption extends net.simplace.sim.model.FWSimComponent {
// Public Constructors
public FodderConsumption();


// Public Instance Methods
public HashMap createVariables(); // Defines
net.simplace.sim.model.FWSimComponent


Create the FWSimVariables as interface for this SimComponent

// Protected Instance Methods
protected void init(); // Defines net.simplace.sim.model.FWSimComponent

Initializes the fields by getting input and output FWSimVariables from VarMap
protected void process(); // Defines net.simplace.sim.model.FWSimComponent

Process the algorithm and write the results back to VarMap
protected FWSimComponent clone(FWSimVarMap aVarMap);
// Defines net.simplace.sim.model.FWSimComponent


creates a clone from this SimComponent for use in other threads


}



Hierarchy: java.lang.Object - net.simplace.sim.model.FWSimComponent (net.simplace.sim.util.FWSimFieldContainer) - FodderConsumption