Use of membrane technology for potable water production