Development of a model to optimize irrigation planning for multi-reservoir systems