RUFAS.routines.feed_storage.baleage module#

class RUFAS.routines.feed_storage.baleage.Baleage(capacity: float = inf)#

Bases: Storage

Class representing Baleage storage, a subclass of Storage.

Attributes#

bale_densityfloat

Density of the bale, calculated based on the dry matter.

post_wilting_moisture_percentagefloat

The post-wilting moisture level that baleage will dry down to (unitless).

acceptable_cropslist[CropCategory]

The list of acceptable crops for this storage type.

Methods#

calculate_protein_loss():

Calculates the protein loss specific to Baleage storage.

__init__(capacity: float = inf)#
process_degradations(weather: Weather, time: RufasTime) None#

Processes the loss of moisture in baled crops, and calls the base class’s implementation of process_degradations to process the loss of dry matter.

Parameters#

weatherWeather

Weather instance containing all weather information for the simulation.

timeRufasTime

RufasTime instance tracking the current time of the simulation.

calculate_protein_loss() None#

Calculate the protein loss specific to Baleage storage.

Returns#

None