AFFDEF: A spatially distributed grid based rainfall–runoff model for continuous time simulations of river discharge