Short-term operational planning of water grids