InvestmentMetrics

class flexdesign.investment.InvestmentMetrics(horizon_years: int, rate: float, currency: str, cash_flows: list[float], npv: float, irr: float | None)

Cash flows, NPV and IRR of a design against a baseline.

summary() → str

Return a plain-text table of the yearly cash flows, NPV and IRR.

Returns:

The table, with amounts in the study’s currency.