Class PopulationGrowth

java.lang.Object
net.simplace.sim.model.FWSimComponent
net.simplace.sim.components.experimental.livestock.PopulationGrowth
All Implemented Interfaces:
net.simplace.sim.util.FWSimFieldContainer

public class PopulationGrowth extends net.simplace.sim.model.FWSimComponent
Author:
Gunther Krauss, gk@uni-bonn.de - Andreas Enders, info@andreas-enders.de M. Lesnoff, 2008, DynMod: A tool for demographic projections of tropical Livestock population under Microsoft Excel, User Manual, Version 1. CIRAD, ILRI

Component Variables

Content TypeNameDescriptionData TypeUnitMin ValueMax ValueDefault Value
constantcAdultFemaleDurationCategory Timespan of Animals Adult FemaleDOUBLEyear0.020.011.0
constantcAdultFemaleInitialInitialNumber of Animals Adult FemaleDOUBLEanimal0.010000.010000.0
constantcAdultFemaleMaxNumberMaxNumber of Animals Adult FemaleDOUBLEanimal0.010000.010000.0
constantcAdultFemaleMortalityFractionMortality fraction per year of Animals Adult FemaleDOUBLEanimal/animal0.01.00.03
constantcAdultFemaleOfftakeFractionOfftake fraction of Animals Adult FemaleDOUBLEanimal/animal0.01.00.0
constantcAdultMaleDurationCategory Timespan of Animals Adult MaleDOUBLEyear0.020.06.0
constantcAdultMaleInitialInitialNumber of Animals Adult MaleDOUBLEanimal0.010000.010000.0
constantcAdultMaleMaxNumberMaxNumber of Animals Adult MaleDOUBLEanimal0.010000.010000.0
constantcAdultMaleMortalityFractionMortality fraction per year of Animals Adult MaleDOUBLEanimal/animal0.01.00.03
constantcAdultMaleOfftakeFractionOfftake fraction of Animals Adult MaleDOUBLEanimal/animal0.01.00.0
constantcFemaleAtBirthFemale fraction of BirthsDOUBLEanimal/animal0.01.00.5
constantcJuvenileFemaleDurationCategory Timespan of Animals Juvenile FemaleDOUBLEyear0.010.01.0
constantcJuvenileFemaleInitialInitialNumber of Animals Juvenile FemaleDOUBLEanimal0.010000.010000.0
constantcJuvenileFemaleMaxNumberMaxNumber of Animals Juvenile FemaleDOUBLEanimal0.010000.010000.0
constantcJuvenileFemaleMortalityFractionMortality fraction per year of Animals Juvenile FemaleDOUBLEanimal/animal0.01.00.13
constantcJuvenileFemaleOfftakeFractionOfftake fraction of Animals Juvenile FemaleDOUBLEanimal/animal0.01.00.0
constantcJuvenileMaleDurationCategory Timespan of Animals Juvenile MaleDOUBLEyear0.010.01.0
constantcJuvenileMaleInitialInitialNumber of Animals Juvenile MaleDOUBLEanimal0.010000.010000.0
constantcJuvenileMaleMaxNumberMaxNumber of Animals Juvenile MaleDOUBLEanimal0.010000.010000.0
constantcJuvenileMaleMortalityFractionMortality fraction per year of Animals Juvenile MaleDOUBLEanimal/animal0.01.00.13
constantcJuvenileMaleOfftakeFractionOfftake fraction of Animals Juvenile MaleDOUBLEanimal/animal0.01.00.0
constantcMaintenanceNutritionMortalityFactorSum EnergyDemand of animalsDOUBLE10.010.02.0
constantcParturitionNumber of Births per year per adult female animalDOUBLEyear-10.01.00.5
constantcProlificationProlification - survival rate during birthDOUBLEone0.01.01.0
constantcSubAdultFemaleDurationCategory Timespan of Animals SubAdult FemaleDOUBLEyear0.010.03.0
constantcSubAdultFemaleInitialInitialNumber of Animals SubAdult FemaleDOUBLEanimal0.010000.010000.0
constantcSubAdultFemaleMaxNumberMaxNumber of Animals SubAdult FemaleDOUBLEanimal0.010000.010000.0
constantcSubAdultFemaleMortalityFractionMortality fraction per year of Animals SubAdult FemaleDOUBLEanimal/animal0.01.00.05
constantcSubAdultFemaleOfftakeFractionOfftake fraction of Animals SubAdult FemaleDOUBLEanimal/animal0.01.00.0
constantcSubAdultMaleDurationCategory Timespan of Animals SubAdult MaleDOUBLEyear0.010.03.0
constantcSubAdultMaleInitialInitialNumber of Animals SubAdult MaleDOUBLEanimal0.010000.010000.0
constantcSubAdultMaleMaxNumberMaxNumber of Animals SubAdult MaleDOUBLEanimal0.010000.010000.0
constantcSubAdultMaleMortalityFractionMortality fraction per year of Animals SubAdult MaleDOUBLEanimal/animal0.01.00.05
constantcSubAdultMaleOfftakeFractionOfftake fraction of Animals SubAdult MaleDOUBLEanimal/animal0.01.00.0
inputiAdultFemaleIntakeNumberIntake of Animals Adult FemaleDOUBLEanimal/day0.010000.00.0
inputiAdultFemaleOfftakeNumberOfftake of Animals Adult FemaleDOUBLEanimal/day0.010000.00.0
inputiAdultMaleIntakeNumberIntake of Animals Adult MaleDOUBLEanimal/day0.010000.00.0
inputiAdultMaleOfftakeNumberOfftake of Animals Adult MaleDOUBLEanimal/day0.010000.00.0
inputiDoInitializeSwitch to re-initialize the model with initial values.BOOLEAN1--false
inputiJuvenileFemaleIntakeNumberIntake of Animals Juvenile FemaleDOUBLEanimal/day0.010000.00.0
inputiJuvenileFemaleOfftakeNumberOfftake of Animals Juvenile FemaleDOUBLEanimal/day0.010000.00.0
inputiJuvenileMaleIntakeNumberIntake of Animals Juvenile MaleDOUBLEanimal/day0.010000.00.0
inputiJuvenileMaleOfftakeNumberOfftake of Animals Juvenile MaleDOUBLEanimal/day0.010000.00.0
inputiMaintenanceNutritionIndexSum EnergyDemand of animalsDOUBLE10.01.01.0
inputiProductionNutritionIndexSum EnergyDemand for maintenance only DOUBLE10.01.01.0
inputiSubAdultFemaleIntakeNumberIntake of Animals SubAdult FemaleDOUBLEanimal/day0.010000.00.0
inputiSubAdultFemaleOfftakeNumberOfftake of Animals SubAdult FemaleDOUBLEanimal/day0.010000.00.0
inputiSubAdultMaleIntakeNumberIntake of Animals SubAdult MaleDOUBLEanimal/day0.010000.00.0
inputiSubAdultMaleOfftakeNumberOfftake of Animals SubAdult MaleDOUBLEanimal/day0.010000.00.0
statesAdultFemaleNumber of Animals Adult FemaleDOUBLEanimal0.010000.020.0
statesAdultMaleNumber of Animals Adult MaleDOUBLEanimal0.010000.04.0
statesJuvenileFemaleNumber of Animals Juvenile FemaleDOUBLEanimal0.010000.04.0
statesJuvenileMaleNumber of Animals Juvenile MaleDOUBLEanimal0.010000.04.0
statesSubAdultFemaleNumber of Animals SubAdult FemaleDOUBLEanimal0.010000.010.0
statesSubAdultMaleNumber of Animals SubAdult MaleDOUBLEanimal0.010000.07.0
statesTotalAnimalsNumber of Animals Total (sum)DOUBLEanimal0.010000.04.0
raterAdultFemaleIntakeRateYearly change rate of Animals Adult FemaleDOUBLEanimal/day-100.0100.00.0
raterAdultFemaleMortalityRateYearly change rate of Animals Adult FemaleDOUBLEanimal/day0.0100.00.0
raterAdultFemaleOfftakeRateYearly change rate of Animals Adult FemaleDOUBLEanimal/day0.0100.00.0
raterAdultFemaleRateYearly change rate of Animals Adult FemaleDOUBLEanimal/day0.0100.00.0
raterAdultMaleIntakeRateYearly change rate of Animals Adult MaleDOUBLEanimal/day-100.0100.00.0
raterAdultMaleMortalityRateYearly change rate of Animals SAdult MaleDOUBLEanimal/day0.0100.00.0
raterAdultMaleOfftakeRateYearly change rate of Animals Adult MaleDOUBLEanimal/day0.0100.00.0
raterAdultMaleRateYearly change rate of Animals Adult MaleDOUBLEanimal/day0.0100.00.0
raterJuvenileFemaleBirthRateYearly change rate of Animals Juvenile FemaleDOUBLEanimal/day0.0100.00.0
raterJuvenileFemaleIntakeRateYearly change rate of Animals Juvenile FemaleDOUBLEanimal/day-100.0100.00.0
raterJuvenileFemaleMortalityRateYearly change rate of Animals Juvenile FemaleDOUBLEanimal/day0.0100.00.0
raterJuvenileFemaleOfftakeRateYearly change rate of Animals Juvenile FemaleDOUBLEanimal/day0.0100.00.0
raterJuvenileFemaleRateYearly change rate of Animals Juvenile FemaleDOUBLEanimal/day0.0100.00.0
raterJuvenileMaleBirthRateYearly change rate of Animals Juvenile MaleDOUBLEanimal/day0.0100.00.0
raterJuvenileMaleIntakeRateYearly change rate of Animals Juvenile MaleDOUBLEanimal/day-100.0100.00.0
raterJuvenileMaleMortalityRateYearly change rate of Animals Juvenile MaleDOUBLEanimal/day0.0100.00.0
raterJuvenileMaleOfftakeRateYearly change rate of Animals Juvenile MaleDOUBLEanimal/day0.0100.00.0
raterJuvenileMaleRateYearly change rate of Animals Juvenile MaleDOUBLEanimal/day0.0100.00.0
raterSubAdultFemaleIntakeRateYearly change rate of Animals SubAdult FemaleDOUBLEanimal/day-100.0100.00.0
raterSubAdultFemaleMortalityRateYearly change rate of Animals SubAdult FemaleDOUBLEanimal/day0.0100.00.0
raterSubAdultFemaleOfftakeRateYearly change rate of Animals SubAdult FemaleDOUBLEanimal/day0.0100.00.0
raterSubAdultFemaleRateYearly change rate of Animals SubAdult FemaleDOUBLEanimal/day0.0100.00.0
raterSubAdultMaleIntakeRateYearly change rate of Animals SubAdult MaleDOUBLEanimal/day-100.0100.00.0
raterSubAdultMaleMortalityRateYearly change rate of Animals SubAdult MaleDOUBLEanimal/day0.0100.00.0
raterSubAdultMaleOfftakeRateYearly change rate of Animals SubAdult MaleDOUBLEanimal/day0.0100.00.0
raterSubAdultMaleRateYearly change rate of Animals SubAdult MaleDOUBLEanimal/day0.0100.00.0
outLivestockBalanceBalance of the Livestock for Male and FemaleDOUBLEanimal0.0100.00.0
outLivestockBalanceFemaleBalance of the Livestock for FemaleDOUBLEanimal0.0100.00.0
outLivestockBalanceMaleBalance of the Livestock for MaleDOUBLEanimal0.0100.00.0
  • Nested Class Summary

    Nested classes/interfaces inherited from class net.simplace.sim.model.FWSimComponent

    net.simplace.sim.model.FWSimComponent.TEST_STATE
  • Field Summary

    Fields inherited from class net.simplace.sim.model.FWSimComponent

    iFieldMap, iFrequence, iInputMap, iJexlRule, iMasterComponentGroup, iName, iOrderNumber, isComponentGroup, iSimComponentElement, iSimModel, iVarMap
  • Constructor Summary

    Constructors
    Constructor
    Description
    Empty constructor used by class.forName()
  • Method Summary

    Modifier and Type
    Method
    Description
    protected net.simplace.sim.model.FWSimComponent
    clone(net.simplace.sim.util.FWSimVarMap aVarMap)
     
    HashMap<String,net.simplace.sim.util.FWSimVariable<?>>
    Create the FWSimVariables as interface for this SimComponent
    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.
    protected void
    Initializes the fields by getting input and output FWSimVariables from VarMap
    protected void
    Process the algorithm and write the results back to VarMap

    Methods inherited from class 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

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
  • Constructor Details

    • PopulationGrowth

      public PopulationGrowth()
      Empty constructor used by class.forName()
  • Method Details

    • createVariables

      public HashMap<String,net.simplace.sim.util.FWSimVariable<?>> createVariables()
      Create the FWSimVariables as interface for this SimComponent
      Specified by:
      createVariables in interface net.simplace.sim.util.FWSimFieldContainer
      Specified by:
      createVariables in class net.simplace.sim.model.FWSimComponent
      See Also:
      • net.simplace.simulation.model.FWSimComponent#createVariables()
    • init

      protected void init()
      Initializes the fields by getting input and output FWSimVariables from VarMap
      Specified by:
      init in class net.simplace.sim.model.FWSimComponent
      See Also:
      • net.simplace.simulation.model.FWSimComponent#init()
    • process

      protected void process()
      Process the algorithm and write the results back to VarMap
      Specified by:
      process in class net.simplace.sim.model.FWSimComponent
      See Also:
      • net.simplace.simulation.model.FWSimComponent#process()
    • 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.
      Specified by:
      fillTestVariables in class net.simplace.sim.model.FWSimComponent
      See Also:
      • net.simplace.sim.util.FWSimFieldContainer#fillTestVariables(int aParamIndex, TEST_STATE aDefineOrCheck)
    • clone

      protected net.simplace.sim.model.FWSimComponent clone(net.simplace.sim.util.FWSimVarMap aVarMap)
      Specified by:
      clone in class net.simplace.sim.model.FWSimComponent
      See Also:
      • net.simplace.simulation.model.FWSimComponent#clone(net.simplace.simulation.util.FWSimVarMap)