Signature:
FeedMgmt(
herds: AnimalHerd | list | pd.Series,
par: ParameterRetriever,
type: str
)
Docstring:
Class that that calculates amount of crop products ('crop_prod'), by-products ('by_prod') and
crop residues ('crop_resid') needed for a certain demand feed 'feed' accounting far all losses
between harvest/production and final consumption by the animals. It also calculates nutrient
characteristics of rations and methane emissions associated with feed digestion.
Parameters
----------
herds : (pandas.Series of) AnimalHerd object(s)
par : ParameterRetriever object
type : str, default 'GeoDist'
Should match the optimisation module used
'GeoDist' for GeoDistributor or
'FeedDist' for FeedDistributor
Note: This is a factory base-class to instantiate a concrete implementation of either a
GeoDistFeedMgmt object (type='GeoDist') or a FeedDistFeedMgmt object (type='FeedDist')
File: CIBUSmod/mgmt_modules/feed_mgmt/__init__.py