Description
Apply or reverse a supplied livestock mass-shrink fraction.
Animal-production budgets depend on measured quantities, population exposure and wet/dry or yield conventions. A per-animal quantity or material balance can reconcile records without establishing an appropriate housing, water or production target. Biological variation and welfare require independent assessment.
Apply or reverse a supplied livestock mass-shrink fraction.
When to use this tool
Use Livestock Weighing Time Shrink Term when checking the stated animal-record quantity, allocation or material basis.
How to use the tool and how it works
- Enter observedMass, shrinkFraction, restoreToPreShrink. Use the units and conventions below.
- Run the tool. Correct any format, range, or cross-field input error before interpreting the output.
- Read adjustedMass, difference. Use the output convention below.
Apply or reverse a supplied livestock mass-shrink fraction. Require observedMass >= 0 and shrinkFraction in [0,1); restore divides by 1-fraction, otherwise multiplies by it, difference is adjusted-observed.1
| Input field | Meaning and units | Accepted input |
|---|---|---|
| observedMass | Observed Mass | Required. Finite number; minimum 0. |
| shrinkFraction | Shrink Fraction | Required. Finite number; minimum 0; strictly below 1. |
| restoreToPreShrink | True divides observedMass by 1-shrinkFraction; false applies shrinkage by multiplication. | Required. Boolean. |
| Output field | Interpretation | Returned shape |
|---|---|---|
| adjustedMass | Adjusted Mass | Required. Finite number. |
| difference | Difference | Required. Finite number. |
{
"input": {
"observedMass": 90,
"shrinkFraction": 0.1,
"restoreToPreShrink": true
},
"output": {
"adjustedMass": 100,
"difference": 10
}
} Limitations and assumptions
- This is a bookkeeping conversion rather than a handling recommendation; actual shrink, health, welfare and valuation are not verified.
- Inputs must satisfy both the field types and the cross-field conditions above. Invalid input causes an error; a successful false flag or documented placeholder is a different result.
- Numeric calculations use binary floating point unless exact decimal-integer arithmetic is explicitly stated. No hidden measurement tolerance or decimal rounding is added; nonfinite or out-of-contract results are rejected. Numeric signed-zero results are exported as zero.
Alternative or Complementary methods
Use verified representative records and qualified husbandry/veterinary assessment for actual animal welfare, facilities or production decisions.
References
Similar or alternative tools
- Manure Nutrient One Animal Day Term
Return manure and retained nutrient per supplied animal-days.
- Feed Dry Matter Share Residual
Return dry mass from wet-mass water fraction and a record residual.