RUFAS.biophysical.manure.storage.slurry_storage_underfloor module#

class RUFAS.biophysical.manure.storage.slurry_storage_underfloor.SlurryStorageUnderfloor(name: str, cover: StorageCover, storage_time_period: int | None, surface_area: float, capacity: float = inf)#

Bases: Storage

__init__(name: str, cover: StorageCover, storage_time_period: int | None, surface_area: float, capacity: float = inf)#

Initializes a new instance of the SlurryStorageUnderfloor class.

process_manure(current_day_conditions: CurrentDayConditions, time: RufasTime) dict[str, ManureStream]#

Calculates the methane, ammonia, and nitrous oxide emissions from stored manure, and updates relevant storage properties.

Parameters#

current_day_conditionsCurrentDayConditions

The weather conditions of the current day, including precipitation and mean air temperature.

timeRufasTime

The current time.

Returns#

dict[str, ManureStream]

A dictionary containing manure to be passed onto the next processor if it is the scheduled emptying day; otherwise an empty dictionary.

_apply_methane_emissions(manure_temperature: float) float#

This method computes the methane emissions from both degradable and non-degradable volatile solids in the manure, adjusts the manure’s composition based on the amount of methane emitted, and accounts for the burning of methane if the storage cover is a cover and flare system.

Parameters#

manure_temperaturefloat

The temperature of the manure in, (degrees Celsius).

Returns#

float

The methane emitted from manure storage on the current day, (kg).

_apply_ammonia_emissions(manure_temperature: float) float#

This method computes the ammonia emissions from stored manure, and accounts the nitrogen and ammoniacal nitrogen loss due to ammonia emissions.

Parameters#

manure_temperaturefloat

The temperature of the manure, (0degrees Celsius).

Returns#

float

The amount of nitrogen in the ammonia emitted from manure storage on the current day, (kg).

_apply_nitrous_oxide_emissions(received_manure_nitrogen: float) float#

Calculates nitrous oxide emissions from stored manure and accounts for the nitrogen loss due to nitrous oxide emissions.

Parameters#

received_manure_nitrogenfloat

The nitrogen in the received manure on the current day.

Returns#

float

The amount of nitrogen in the nitrous oxide emitted from manure storage on the current day, (kg).

_abc_impl = <_abc._abc_data object>#