Trading water: an urban model