onstove.Charcoal.discounted_inv#
- Charcoal.discounted_inv(model: onstove.OnStove, relative: bool = True)#
Calls discount_factor function and calculates discounted investment cost. Uses proj_life and tech_life to determine number of necessary re-investments. Function does not return anything but saves the discounted investment cost in the discounted_investments 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 investments will be calculated relative to the base_fuel or not.
See also