RUFAS.biophysical.animal.ration.calf_ration_manager module#
- class RUFAS.biophysical.animal.ration.calf_ration_manager.CalfMilkType(*values)#
Bases:
Enum
Calf milk types.
- WHOLE = 'whole'#
- REPLACER = 'replacer'#
- class RUFAS.biophysical.animal.ration.calf_ration_manager.CalfRationManager#
Bases:
object
Calf ration formulation is distinct from other animal types, and managed separately. Calf nutrition requirements are calculated based on the calf’s nutritional intake.
- milk_type: CalfMilkType#
- classmethod set_milk_type(milk_type: CalfMilkType) None #
Set the milk type for the calf.
Parameters#
- milk_typeCalfMilkType
The type of milk being fed to the calf.
- classmethod calc_requirements(days_born: int, body_weight: float, temp: float, animal_intake: dict[str, int | float]) dict[str, float] #
Calculate dietary intake and nutrient requirements for the calf.
Parameters#
- days_bornint
Number of days since the calf was born.
- body_weightfloat
Body weight of the calf (kg).
- tempfloat
Average temperature of the simulation day (C).
- animal_intakedict
Whole milk, replacer, and starter intake amounts and nutritional content.
Returns#
- dict[str, float]
Dictionary of requirement values and methods.
References#
RuFaS’ NRC Requirements Scientific Documentation [A.1B.F] through [A.1B.H]
- classmethod calc_intake(birth_weight: float, body_weight: float, wean_day: int, wean_length: int, available_feeds: list[NASEMFeed | NRCFeed], nutrient_standard: NutrientStandard) dict[str, float] #
Calculates the amounts of whole milk, milk replacer, and starter that a calf consumes.
Parameters#
- birth_weightfloat
Birth weight of the calf (kg).
- body_weightfloat
Body weight of the calf (kg).
- wean_dayint
Number of days after birth that calf is fully weaned from milk (or replacer).
- wean_lengthint
Wean length of the calf (days).
- available_feedslist[NASEMFeed | NRCFeed]
List of feeds available to the calf.
- nutrient_standardNutrientStandard
Enum member indicating whether the NASEM or NRC nutrition standard is being used.
Returns#
- dict[str, float]
Amounts of feed taken in by calf and nutritive content of the intake.
References#
RuFaS’ NRC Requirements Scientific Documentation [A.1B.A] through [A.1B.E]