RUFAS.routines.manure.manure_treatments.slurry_storage_underfloor module#

class RUFAS.routines.manure.manure_treatments.slurry_storage_underfloor.SlurryStorageUnderfloor(weather: Weather, time: RufasTime, manure_treatment_config: ManureTreatmentConfig)#

Bases: BaseManureTreatment

Class for the underfloor slurry storage.

Attributes:

All attributes inherited from BaseManureTreatment. In addition, the following attributes are defined: storage_time_period: RufasTime in days that the manure is stored in the manure

treatment system, days.

__init__(weather: Weather, time: RufasTime, manure_treatment_config: ManureTreatmentConfig) None#

Initialize the underfloor slurry storage manure treatment.

Args:

weather: A Weather object. time: A RufasTime object. manure_treatment_config: A ManureTreatmentConfig object containing

the configuration data for the manure treatment system.

calc_methane_emission(accumulated_liquid_manure_total_volatile_solids: float, accumulated_liquid_manure_total_degradable_volatile_solids: float, accumulated_liquid_manure_total_non_degradable_volatile_solids: float) Tuple[float, float]#

Calculates the CH4 emission from the outdoor slurry storage treatment system.

Parameters#

accumulated_liquid_manure_total_volatile_solids: float

The accumulated total VS in the treatment system, kg VS.

accumulated_liquid_manure_total_degradable_volatile_solids: float

The accumulated total degradable VS in the treatment system, kg VSd.

accumulated_liquid_manure_total_non_degradable_volatile_solids: float

The accumulated total non-degradable VS in the treatment system, kg VSnd.

Returns#

float

methane_loss: methane emission from the outdoor slurry storage treatment system, (kg \(CH_4\)/day).

float

methane_emission_from_degradable_volatile_solids: methane emission from total degradable solids, (kg \(CH_4\)/day).

Notes#

Barn temperature is being calculated and used here because the slurry is indoors.

calc_ammonia_emission(num_animals: int, accumulated_manure_volume: float, accumulated_manure_total_ammoniacal_nitrogen: float) Tuple[float, float]#

Calculates the ammonia emission from the underfloor slurry storage.

Args:

num_animals: Number of animals in the pen, animals. barn_area: Area of the barn per animal, m^2/animal. accumulated_manure_volume: Accumulated manure volume in the treatment system, m^3. accumulated_manure_total_ammoniacal_nitrogen: Accumulated total ammoniacal nitrogen in the treatment system, kg.

Returns:

ammonia_loss: ammonia emission from the underfloor slurry storage, kg. new_accumulated_liquid_manure_total_ammoniacal_nitrogen: Accumulated total ammoniacal nitrogen in the treatment system after the ammonia emission is calculated, kg.

_daily_update_helper() ManureTreatmentDailyOutput#

Returns the daily output of the slurry storage underfloor system.

Returns:

A ManureTreatmentDailyOutput object containing the daily output of the slurry storage underfloor system.

_abc_impl = <_abc._abc_data object>#