RUFAS.routines.animal.manure.general_manure module#
- RUFAS.routines.animal.manure.general_manure.get_default_animal_manure_excretions() AnimalManureExcretions #
Get a default AnimalManureExcretions object.
Returns#
- AnimalManureExcretions
Default AnimalManureExcretions object.
- RUFAS.routines.animal.manure.general_manure.add_animal_manure_excretions(first: AnimalManureExcretions, second: AnimalManureExcretions) AnimalManureExcretions #
Add two AnimalManureExcretions objects together.
Parameters#
- firstAnimalManureExcretions
First AnimalManureExcretions object.
- secondAnimalManureExcretions
Second AnimalManureExcretions object.
Returns#
- AnimalManureExcretions
Sum of the two AnimalManureExcretions objects.
- RUFAS.routines.animal.manure.general_manure.scalar_mult_animal_manure_excretions(manure: AnimalManureExcretions, scalar: float) AnimalManureExcretions #
- RUFAS.routines.animal.manure.general_manure.calculate_phosphorus_excretion_values(daily_milk_production: float, total_manure_excreted: float, fecal_phosphorus: float, urine_phosphorus_required: float) Tuple[float, float, float, float, float] #
Calculates a set of phosphorus excretion values produced by a given animal.
Parameters#
- daily_milk_productionfloat
Amount of daily milk produced by the animal, kg. This parameter should be set to 0 if this function is called for a non-cow animal.
- total_manure_excretedfloat
Amount of manure excreted by the animal, kg.
- fecal_phosphorusfloat
Amount of fecal phosphorus excreted by the animal, g.
- urine_phosphorus_requiredfloat
Amount of phosphorus required for urine production, g.
Returns#
- float
Total amount of phosphorus excreted by the animal, g.
- float
Fraction of extractable inorganic phosphorus, unitless.
- float
Fraction of water extractable organic phosphorus, unitless.
- float
Amount of manure phosphorus excreted, g.
- float
Fraction of phosphorus in the manure, unitless.