RUFAS.biophysical.feed_storage.baleage module#

class RUFAS.biophysical.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).

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.

project_degradations(crops: list[HarvestedCrop], weather: Weather, time: RufasTime) list[HarvestedCrop]#

Projects the state of crops currently stored at a given future date.

Parameters#

cropslist[HarvestedCrop]

List of HarvestedCrops to project degradations for.

weatherWeather

Weather instance containing all weather information for the simulation.

timeRufasTime

RufasTime instance containing the date at which the state of the stored crops should be projected.

Returns#

list[HarvestedCrop]

Crops in the state they are projected to be in at the given date.

calculate_protein_loss() None#

Calculate the protein loss specific to Baleage storage.

Returns#

None