RUFAS.routines.animal.ration.amino_acid module#
- class RUFAS.routines.animal.ration.amino_acid.AminoAcidComposition#
Bases:
TypedDict
- duodenal_endogenous: float#
- microbial: float#
- scurf: float#
- whole_empty_body: float#
- metabolic_fecal: float#
- milk: float#
- class RUFAS.routines.animal.ration.amino_acid.EssentialAminoAcidRequirements#
Bases:
TypedDict
- histidine: float#
- isoleucine: float#
- leucine: float#
- lysine: float#
- methionine: float#
- phenylalanine: float#
- threonine: float#
- thryptophan: float#
- valine: float#
- class RUFAS.routines.animal.ration.amino_acid.AminoAcidCalculator#
Bases:
object
- calculate_essential_amino_acid_requirements(animal_type: AnimalType, lactating: bool, body_weight: float, frame_weight_gain: float, gravid_uterine_weight_gain: float, dry_matter_intake_estimate: float, milk_true_protein: float, milk_production: float, NDF_conc: float) EssentialAminoAcidRequirements #
This function calculates the total Essential Amino Acid for an animal according to equations on page 8 of the AA requirements design doc.
Parameters#
- animal_type: AnimalType
A type or subtype of animal specified in AnimalType enum
- lactatingbool
If the animal is lactating.
- body_weightfloat
Body weight (kg).
- frame_weight_gainfloat
Frame weight gain refers to the accretion of both fat and protein in carcass (g / day).
- gravid_uterine_weight_gainfloat
Daily energy Requirement associated to increased gain of reproductive tissues as pregnancy advances (Mcal / day).
- dry_matter_intake_estimatefloat
Estimated dry matter intake according to empirical prediction equation within NASEM (2021) (kg / day).
- milk_true_proteinfloat
True protein contents in milk (%).
- milk_production: float
Milk yield (kg / day).
- NDF_conc:
Concentration (percent value) of Neutral Detergent Fiber in previously fed ration (%).
Returns#
- total_amino_acid_requirementsDict[str, float]
Total amino acid requirement for each of the essential amino acid (g / day)
Notes#
- NPscurf: float
Net protein requirement for scurf (g / day).
- NPEndUrin: float
Net protein requirement for endogenous urinary excretion (g / day).
- CPMFP: float
Crude protein in metabolic fecal protein (g / day).
- NPMFP: float
Net protein requirement for metabolic fecal protein (g / day).
- NPGrowth: float
Net protein requirement for body frame weight gain (g / day).
- NPGest: float
Net protein requirement for pregnancy (g / day).
- NPMilk: float
Net protein in milk, or milk true protein yield (g / day).
References#
Equations on page 8 of the Amino Acid Requirements Design Doc.
- _calculate_scurf(amino_acid: str, NPscurf: float) float #
Calculates the net demand for the specific amino acid in scurf excretion.
Parameters#
- amino_acidstr
The type of amino acid to calculate.
- NPscurf: float
Net protein requirement for scurf (g / day).
Returns#
- float
The net demand for the specific amino acid in scurf excretion (g / day).
- _calculate_endogenous_urinary_excretion(amino_acid: str, body_weight: float) float #
Calculates the net demand for the specific amino acid for endogenous urinary excretion.
Parameters#
- amino_acidstr
The type of amino acid to calculate.
- body_weight: float
Body weight (kg).
Returns#
- float
The net demand for the specific amino acid for endogenous urinary excretion (g / day).
- _calculate_metabolic_fecal_protein(amino_acid: str, NPMFP: float) float #
Calculates the net demand for the specific amino acid for metabolic fecal protein.
Parameters#
- amino_acidstr
The type of amino acid to calculate.
- NPMFP: float
Net protein requirement for metabolic fecal protein (g).
Returns#
- float
The net demand for the specific amino acid for metabolic fecal protein (g / day).
- _calculate_growth(amino_acid: str, NPGrowth: float) float #
Calculates the net demand for the specific amino acid for body frame weight gain.
Parameters#
- amino_acidstr
The type of amino acid to calculate.
- NPGrowth: float
Net protein requirement for body frame weight gain (g).
Returns#
- float
The net demand for the specific amino acid for body frame weight gain (g / day).
- _calculate_pregnancy(amino_acid: str, NPGest: float) float #
Calculates the net amino acid composition of protein accretion associated with pregnancy.
Parameters#
- amino_acidstr
The type of amino acid to calculate.
- NPGest: float
Net protein requirement for pregnancy (g).
Returns#
- float
The net amino acid composition of protein accretion associated with pregnancy (g / day).