onstove.Electricity.salvage#
- Electricity.salvage(model: onstove.OnStove)#
Calls discount_factor function and calculates discounted salvage cost for each stove assuming a straight-line depreciation of the stove value. Function does not return anything but saves the discounted salvage cost in the discounted_salvage_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
.
See also