gtopt/capital_recovery.hpp file

Capital recovery factor and annuity of an overnight cost.

A capacity object (Generator, Line, Battery, Converter) may give its investment cost as an overnight cost plus an economic life and a private discount rate (WACC / hurdle rate) instead of an annualized annual_capcost. The LP then charges the annuity

annual_capcost = overnight_capcost × CRF(wacc, economic_life)
CRF(r, n) = r (1 + r)^n / ((1 + r)^n − 1)

while the stage discount factors keep the planning-wide (social) annual_discount_rate. See docs/methods/investment-economics.md.

Namespaces

namespace gtopt