Modelling of long term nitrogen retention in surface waters