Developing Novel Membrane Processes and Machine Learning Models in (Sea)Water Treatment Systems