pub fn capital_recovery_factor(
lifetime: u32,
discount_rate: Dimensionless,
) -> Dimensionless
Expand description
Calculates the capital recovery factor (CRF) for a given lifetime and discount rate.
The CRF is used to annualize capital costs over the lifetime of an asset.