Compare https://whathemortgage.com/ ← similar, for Dutch mortgages. It supports both annuity and linear interest structures. Also open source which might help you!