Analysis of losses in hydrology