RUFAS.biophysical.manure.processor_enum module#

class RUFAS.biophysical.manure.processor_enum.ProcessorType(*values)#

Bases: Enum

Enum for different types of manure processors. Each member of the enum corresponds to a specific processor class.

RotaryScreen = <class 'RUFAS.biophysical.manure.separator.separator.Separator'>#
ScrewPress = <class 'RUFAS.biophysical.manure.separator.separator.Separator'>#
ContinuousMix = <class 'RUFAS.biophysical.manure.digester.continuous_mix.ContinuousMix'>#
ParlorCleaningHandler = <class 'RUFAS.biophysical.manure.handler.parlor_cleaning.ParlorCleaningHandler'>#
AlleyScraper = <class 'RUFAS.biophysical.manure.handler.single_stream_handler.SingleStreamHandler'>#
ManualScraper = <class 'RUFAS.biophysical.manure.handler.single_stream_handler.SingleStreamHandler'>#
FlushSystem = <class 'RUFAS.biophysical.manure.handler.single_stream_handler.SingleStreamHandler'>#
AnaerobicLagoon = <class 'RUFAS.biophysical.manure.storage.anaerobic_lagoon.AnaerobicLagoon'>#
SlurryStorageOutdoor = <class 'RUFAS.biophysical.manure.storage.slurry_storage_outdoor.SlurryStorageOutdoor'>#
SlurryStorageUnderfloor = <class 'RUFAS.biophysical.manure.storage.slurry_storage_underfloor.SlurryStorageUnderfloor'>#
Composting = <class 'RUFAS.biophysical.manure.storage.composting.Composting'>#
CompostBeddedPackBarn = <class 'RUFAS.biophysical.manure.storage.compost_bedded_pack_barn.CompostBeddedPackBarn'>#
OpenLot = <class 'RUFAS.biophysical.manure.storage.open_lot.OpenLot'>#
classmethod get_processor_class(processor_type: str) Type[Processor]#

Get the corresponding processor class directly from the Enum.

Parameters#

processor_typestr

The type of processor as a string (from JSON).

Returns#

Type[Processor]

The class corresponding to the processor type.

Raises#

ValueError

If the processor type is not recognized.