Water Resources Management in Cooperation with Agriculture: Modelling Nitrate Concentrations with Variations in Time