RUFAS.biophysical.manure.handler.parlor_cleaning module#

class RUFAS.biophysical.manure.handler.parlor_cleaning.ParlorCleaningHandler(name: str, processor_type: str, cleaning_water_use_amount: float, cleaning_water_recycle_fraction: float, use_parlor_flush: bool)#

Bases: Handler

Handles the reception and processing of manure from parlor cleaning operations.

namestr

Unique identifier of the processor.

__init__(name: str, processor_type: str, cleaning_water_use_amount: float, cleaning_water_recycle_fraction: float, use_parlor_flush: bool)#

Initializes a new Processor.

receive_manure(manure_stream: ManureStream) None#

Receiving manure stream.

Parameters#

manure_streamManureStream

The ManureStream instance being received.

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

Executes the daily manure processing operations.

Parameters#

conditionsCurrentDayConditions

Current weather and environmental conditions that manure is being processed in.

timeRufasTime

RufasTime instance containing the simulations temporal information.

Returns#

dict[str, ManureStream]

Mapping between classification of manure coming out of this processor to the ManureStream containing the manure information.

static determine_fresh_water_volume_used_for_milking(num_animals: int) float#

Calculates the volume of fresh water used for milking.

Parameters#

num_animalsint

Number of animals.

Returns#

float

The volume of fresh water used for milking (L).

_abc_impl = <_abc._abc_data object>#