An electrochemical process that generates electricity by channeling alternating streams of fresh and saltwater through a stack of ion-exchange membranes. It is crucial for salinity gradient power systems because it enables direct electrical generation without requiring turbines or mechanical moving parts.