dry_water_bal function