onstove.LPG.infrastructure_salvage#

LPG.infrastructure_salvage(model: onstove.OnStove, cost: float, life: int)[source]#

Calculates the salvaged cylinder cost. The function calls discount_factor.

Parameters:
model: OnStove model

Instance of the OnStove model containing the main data of the study case. See onstove.OnStove.

cost: float

The cost of buying an LPG-cylinder.

life: int

The lifetime of a cylinder.

Returns:
The discounted salvage cost of an LPG-cylinder.

See also

discount_factor