The physical bases of irrigation control