net.simplace.sim.components.experimental.livestock.FeedEnergySupply

Component Variables

Content TypeNameDescriptionData TypeUnitMin ValueMax ValueDefault Value
constantcConcentrateInitialConcentrate in Storage initialDOUBLEJ0.01.0E70.0
constantcDegradationFactorFraction of Forage in Storage that degrades per dayDOUBLE10.01.00.001
constantcForageInitialForage in Storage initialDOUBLEJ0.01.0E80.0
constantcForageMaxForage in Storage maxDOUBLEJ0.01.0E80.0
inputiConcentrateEnergyConsumptionAmount of Concentrate consumed todayDOUBLEJ0.0100000.0-
inputiConcentrateProductionEnergyContentAmount of Forage produced and importedDOUBLEJ0.0100000.00.0
inputiDoEmptyForageStoreSwitch to empty forage store values.BOOLEAN1--false
inputiDoInitializeSwitch to re-initialize the model with initial values.BOOLEAN1--false
inputiForageEnergyConsumptionAmount of Forage consumed todayDOUBLEJ0.0100000.0-
inputiForageProductionEnergyContentAmount of Forage produced and importedDOUBLEJ0.0100000.00.0
statesConcentrateStorageAmount of Concentrate available in storageDOUBLEJ0.01.0E70.0
statesForageStorageAmount of Forage available in storageDOUBLEJ0.01.0E70.0
outConcentrateConsumedSum Amount of Concentrate consumed (sum)DOUBLEJ0.01.0E80.0
outForageConsumedSum Amount of Forage consumed (sum)DOUBLEJ0.01.0E80.0
outForageDegradedSum Amount of Forage degraded (sum)DOUBLEJ0.01.0E80.0



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


// 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) - FeedEnergySupply