Gravar-mail: Modelling of smart irrigation with replan and redistribution algorithms