RUFAS.biophysical.manure.separator.separator module#

class RUFAS.biophysical.manure.separator.separator.Separator(name: str, separated_solids_dry_matter: float, ammoniacal_nitrogen_efficiency: float, nitrogen_efficiency: float, phosphorus_efficiency: float, potassium_efficiency: float, ash_efficiency: float, volatile_solids_efficiency: float, total_solids_efficiency: float)#

Bases: Processor

A manure processor that separates a portion of solids from manure.

Parameters#

namestr

The name of the separator.

separated_solids_dry_matterfloat

The dry matter content (percent DM) of separated manure solids.

ammoniacal_nitrogen_efficiencyfloat

The efficiency of the separator in removing ammoniacal nitrogen from the manure.

nitrogen_efficiencyfloat

The efficiency of the separator in removing nitrogen from the manure.

phosphorus_efficiencyfloat

The efficiency of the separator in removing phosphorus from the manure.

potassium_efficiencyfloat

The efficiency of the separator in removing potassium from the manure.

ash_efficiencyfloat

The efficiency of the separator in removing ash from the manure.

volatile_solids_efficiencyfloat

The efficiency of the separator in removing volatile solids from the manure.

total_solids_efficiencyfloat

The efficiency of the separator in removing total solids from the manure.

Attributes#

is_housing_emissions_calculatorbool = False

A flag to indicate if the processor is a housing emissions calculator. Will always be false for a separator.

namestr

The name of the separator.

prefixstr

The prefix to be used for naming output variables.

separated_solids_dry_matterfloat

The dry matter content (percent DM) of separated manure solids.

ammoniacal_nitrogen_efficiencyfloat

The efficiency of the separator in removing ammoniacal nitrogen from the manure.

nitrogen_efficiencyfloat

The efficiency of the separator in removing nitrogen from the manure.

phosphorus_efficiencyfloat

The efficiency of the separator in removing phosphorus from the manure.

potassium_efficiencyfloat

The efficiency of the separator in removing potassium from the manure.

ash_efficiencyfloat

The efficiency of the separator in removing ash from the manure.

volatile_solids_efficiencyfloat

The efficiency of the separator in removing volatile solids from the manure.

total_solids_efficiencyfloat

The efficiency of the separator in removing total solids from the manure.

omOutputManager

The output manager instance used to store and manage output data.

__init__(name: str, separated_solids_dry_matter: float, ammoniacal_nitrogen_efficiency: float, nitrogen_efficiency: float, phosphorus_efficiency: float, potassium_efficiency: float, ash_efficiency: float, volatile_solids_efficiency: float, total_solids_efficiency: float) None#

Initializes a new Separator.

receive_manure(manure: ManureStream) None#

Takes in manure to be processed.

Parameters#

manureManureStream

The manure to be processed.

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

Executes the daily separation of solids from the manure and returns the solid and liquid portions.

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]

A dictionary containing: - “solid” : ManureStream

The solid portion of the separated manure.

  • “liquid”ManureStream

    The liquid portion of the separated manure.

clear_held_manure() None#

Clears the held manure stream.

_abc_impl = <_abc._abc_data object>#