RUFAS.routines.manure.manure_treatments.anaerobic_digestion_and_lagoon module#

class RUFAS.routines.manure.manure_treatments.anaerobic_digestion_and_lagoon.AnaerobicDigestionAndLagoon(weather, time, manure_treatment_config: ManureTreatmentConfig | Tuple[ManureTreatmentConfig, ManureTreatmentConfig])#

Bases: BaseManureTreatment

A class that models the coupling of the anaerobic digestion and lagoon manure treatments.

There are two distinct scenarios that this class models: (1) This combination of manure treatments is preceded by a manure separator, and (2) this combination of manure treatments sandwiches a manure separator.

Attributes:

Same as BaseManureTreatment.

__init__(weather, time, manure_treatment_config: ManureTreatmentConfig | Tuple[ManureTreatmentConfig, ManureTreatmentConfig]) None#

Initializes the BaseManureTreatment class.

Args:

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

configuration for the manure treatment.

Private attributes:

_sim_day: The current simulation day. _current_pen: The current pen object. _manure_handler_daily_output: The daily output of the manure handler. _current_manure_treatment_daily_input: The current input data assigned based on the

input data passed into the daily_update() method.

_manure_separator: Present in the separator - digester - separator - lagoon scenario. _manure_separator_daily_output: Only present in the digester - separator - lagoon scenario. _accumulated_output: Summation of all daily outputs.

_create_anaerobic_digestion_daily_output() ManureTreatmentDailyOutput#

Creates the daily output for the anaerobic digestion model.

Returns:

A ManureTreatmentDailyOutput object containing the daily output for the anaerobic digestion model.

_daily_update_helper() ManureTreatmentDailyOutput#

Returns the manure treatment daily output.

Returns:

A ManureTreatmentDailyOutput object containing the daily output for the anaerobic digestion and lagoon model.

_abc_impl = <_abc._abc_data object>#