Calculation of flat-rate residual value

According GCU, appendix 5, I.B

Input
Transfer of ownership
Replacement value EUR
Year of damage or loss
Year of built
Realized transport cost
Result
'=> years to be taken into account (year of damage / loss and year of built count as one year)
B) 2.2: Deduction (4%) per year (maximum 80% = 20 years) %
Impairment (%) %
'=> Impairment €
'=> Compensation € (subtotal I)
B) 2.3, para 1: 10% deduction (based on subtotal I) if the Keeper decided NOT to transfer ownership of the wagon
'=> Compensation € (subtotal II)
B) 2.3, para 2: Compensation of proven transport cost if Keeper decided NOT to transfer ownership of the wagon (limited to 10% of subtotal II)
'=> Compensation € (subtotal III)
B) 2.4: Compensation of cost for determination damage / loss incurred by the Keeper (flat rate = 2'000 €)
'=> Compensation € (Total)