architecture-building-systems / CityEnergyAnalyst

The City Energy Analyst (CEA)
https://www.cityenergyanalyst.com/
MIT License
188 stars 60 forks source link

Handling zero interest rates #3549

Closed MatNif closed 3 months ago

MatNif commented 3 months ago

This introduces a simple fix to calculating annualised capex and opex with an interest rate of 0. This is necessary since the basic annuity formula is undefined for an interest rate of zero.

In addition, the documentation of these methods was updated and a source explaining how the annuity factor is derived has been added.