Important factors affecting water resources: Residual flows