Optimizing irrigation water for resource sustainability in watershed