net.simplace.sim.components.experimental.FarmFinance

Component Variables

Content TypeNameDescriptionData TypeUnitMin ValueMax ValueDefault Value
constantcAnimalPrice1price per g animal weightDOUBLEcurrency / g0.02000.0126.0
constantcAnimalPrice2price per g animal weightDOUBLEcurrency / g0.02000.0126.0
constantcAnimalPrice3price per g animal weightDOUBLEcurrency / g0.02000.0126.0
constantcConcentratePriceConversion from J to currencyDOUBLEcurrency / J0.0100.055.65
constantcDailyExpensesdaily expensesDOUBLEcurrency0.0500000.00.0
constantcInitialCashinitialState of the cashpointDOUBLEcurrency0.0500000.00.0
inputiAnimalSellout1Sold Animal per Day Juvenile FemaleDOUBLEanimal0.0100000.00.0
inputiAnimalSellout2Sold Animal per Day SubAdult FemaleDOUBLEanimal0.0100000.00.0
inputiAnimalSellout3Sold Animal per Day Adult FemaleDOUBLEanimal0.0100000.00.0
inputiConcentratePurchasePurchase concentrate amountDOUBLEJ0.0100000.00.0
inputiConcentrateSellOutEarnings of concentrate sell outDOUBLEJ0.01000.00.0
inputiDoInitializeSwitch to re-initialize the model with initial values.BOOLEAN1--false
inputiIrregularAnimalSellout1Earnings of irregular animal sell outDOUBLEcurrency0.0100000.00.0
inputiIrregularAnimalSellout2Earnings of irregular animal sell outDOUBLEcurrency0.0100000.00.0
inputiIrregularAnimalSellout3Earnings of irregular animal sell outDOUBLEcurrency0.0100000.00.0
statesCashEnteric Fermentation Emission from a livestock categoryDOUBLEcurrency0.05.0E70.0
raterCashchange of cash point todayDOUBLEcurrency0.0500000.00.0
outConcentrateCostCost of concentrate purchaseDOUBLEcurrency0.0500000.00.0
outEarningsConcentrateSaleEarnings of concentrate sell outDOUBLEcurrency-500000.0500000.00.0
outEarningsIrregularAnimalSelloutEarnings of irregular animal sell outDOUBLEcurrency0.0100000.00.0
outEarningsRegularAnimalSelloutEarnings of regular animal sell outDOUBLEcurrency0.0100000.00.0



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


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