net.simplace.sim.components.experimental.lifestock.MilkProduction
Component Variables
Content Type | Name | Description | Data Type | Unit | Min Value | Max Value | Default Value |
constant | cJuvenileConsumptionOfftake | Amount of Milk sum | DOUBLE | g | 0.0 | 10000.0 | 800.0 |
constant | cMilkOfftake | Amount of Milk per Animal and Day | DOUBLE | g/day/animal | 0.0 | 10000.0 | 1500.0 |
constant | cMilkingDays | Amount of days one animal gives milk | INT | d | 0 | 365 | 90 |
constant | cParturition | Fraction of Birth per AdultFemale | DOUBLE | 1 | 0.0 | 1.0 | 0.5 |
input | iAdultFemale | Number of Animals Adult Female | DOUBLE | animal | 0.0 | 10000.0 | 20.5 |
input | iJuvenileFemale | Number of Animals Juvenile Female | DOUBLE | animal | 0.0 | 10000.0 | - |
input | iJuvenileMale | Number of Animals Juvenile Male | DOUBLE | animal | 0.0 | 10000.0 | - |
out | MilkConsumed | Sum of milk consumed | DOUBLE | g | 0.0 | 1.0E7 | 0.0 |
out | MilkExported | Sum of milk exported | DOUBLE | g | 0.0 | 1.0E7 | 0.0 |
out | MilkProduced | Sum of milk produced | DOUBLE | g | 0.0 | 1.0E7 | 0.0 |
public class MilkProduction extends net.simplace.sim.model.FWSimComponent {
// Public Constructors
public MilkProduction();
// 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) - MilkProduction