Once again in detail:
Option 1:
The €10,000 in cash is used for a special repayment on the 2.3% mortgage. This results in approximately €15,758 of saved remaining debt after 20 years.
The photovoltaic system is financed through a loan. A 3% solar loan of €10,000 over 20 years requires a monthly payment of €55.26, i.e. €663.12 per year. On the other hand, there is a tax saving of 42% * €163.12 = €68.51 compared to the option of paying for the solar system in cash, where the depreciation over 20 years is 5%, or €500.
This leaves an annual financing cost of €665.52 - €68.51 = €597.01.
Option 2:
The €10,000 in cash is used to finance the photovoltaic system.
Since the photovoltaic system is financed, the €597.01 per year originally intended for financing the photovoltaic system can flow as special repayments towards the home construction loan. This reduces the remaining debt by €15,104 after 20 years.
Option 1 therefore saves €654 of remaining debt at the end, or if the savings are spent monthly, €1.75 per month.
Conclusion: Forgoing a new photovoltaic loan appears reasonable in this calculation example; for €1.75 monthly, the effort is not worth it.