Consider a desalination process where you enter sea water and receive fresh water and brine (or maybe pure salt).
How do I compute the least amount of energy per mass? I think this has something to do with the entropy of the different mixtures, mostly dependent on the salt concentration in the brine. Is this correct? How to calculate?