onstove.Charcoal.discount_fuel_cost#
- Charcoal.discount_fuel_cost(model: onstove.OnStove, relative: bool = True)#
Calls discount_factor function and calculates discounted fuel costs. Function does not return anything but saves the discounted fuel cost in the discounted_fuel_cost attribute of the Onstove model object.
- Parameters:
- model: OnStove model
Instance of the OnStove model containing the main data of the study case. See
onstove.OnStove
.- relative: bool, default True
Boolean parameter to indicate if the discounted fuel cost will be calculated relative to the base_fuel or not.
See also