tmval.eff_disc_from_eff_int

tmval.conversions.eff_disc_from_eff_int(i: float, old_t: float = None, new_t: float = None) → tmval.conversions.RateTemplate[source]

A nominal/effective interest/discount rate converter. Given an effective interest rate and applicable unit of time, along with a desired unit of time for the new rate, returns an effective discount rate at the new unit of time. If old_t or new_t are not provided, they are each assumed to be 1, i.e., a 1-year period.

Parameters
  • i (float) – the effective interest rate

  • old_t (float, optional) – the old unit of time, defaults to None.

  • new_t (float, optional) – the new unit of time, defaults to None.

Returns

an effective discount rate at the new unit of time.

Return type

RateTemplate