The first application of the finite differences (FD) method is provided for the solution of an ordinary differential equation (ODE) that mathematically describes the filling and emptying of a water reservoir, such as an artificial lake behind a dam. The reservoir is filling from upstream catchment basins inflows, while at the same time being emptied by designed outflows over a weir, under a sluice gate or through an orifice.