The water deficit in the Mediterranean area is a known matter severely affecting agriculture. One way to avoid the aquifers’ exploitation is to supply water to crops by using thermal desalination processes. Moreover, in order to guarantee long-term sustainability, the required thermal energy for the desalination process can be provided by solar energy. This paper shows simulations for a case study in which a solar multi-effect distillation plant produces water for irrigation purposes. Detailed models of the involved systems are the base of a predictive controller to operate the desalination plant and fulfil the water demanded by the crops.