Title: A system for real time allocation of irrigation resources