APSIMInitiative / ApsimX

ApsimX is the next generation of APSIM
http://www.apsim.info
Other
134 stars 162 forks source link

Add Stock model report for EBW #9092

Closed hut104 closed 2 months ago

hut104 commented 3 months ago

Describe the new feature

The stock model would benefit from a reporting variable for Empty Body Weight. EBW calculations can be derived from code in AnimalGroup.cs line 4081. It would possibly be BaseWt/GainC[18]

her123 commented 3 months ago

base_wt is a fleece and conceptus-free weight.

hut104 commented 3 months ago

I'm new to this but Empty body weight is defined as live body weight minus gastrointestinal tract contents.

The code has the following


            EmptyBodyGain = this.AnimalState.EnergyUse.Gain / this.AnimalState.GainEContent;

            WeightChange = Genotype.GainC[18] * EmptyBodyGain;
            BaseWeight = BaseWeight + WeightChange;

This seems to suggest that there is a conversion between BaseWeight and EBW.

andrew-moore-csiro commented 3 months ago

Neil is correct: "base weight" excludes fleece and conceptus but includes (a typical level of) gut contents

And yes, C(G,18) = AParams.GainC[18] = 1.09 is the relevant multiplier