Yes, it's the fresh water that's rare, and becomes salty in the process so it's sort of like stored solar energy from rain (mostly from the oceans)... osmotic power.
The power density even at 40% efficiency is pretty high (300Wh/m3) so major rivers (Mississippi 20,000m3/sec or 72Mm3/hr) would generate 20GW fully exploited.
The problem has always been the growth of biofilms on the surfaces of the membrane, which break them down and/or lower their efficiency.
20GW is basically nothing next to the environmental damage it would cause by destroying the Mississippi delta in order to build this plant. 20GW gives you 480,000 MWh/d. The US as a whole is currently using over 13,000,000 MWh/d [1]. There is only one Mississippi! Not worth it, if you ask me.
Besides, it's not just biofilms that are the problem. With a river you're going to have huge amounts of silt and very fine clay clogging up your membrane. The maintenance costs for an installation like this would be overwhelming.
There is far more than just one US river. Hudson for example is: 21,400 ft³/s, Potomac is 10,810 ft³/s etc.
And the output is just mild salinity water, so you could probably extract form 1/2 the flow without causing that much environmental harm as long as you pipe the output to an area with similar salinity.
Don't worry, it won't be installed and it's not practical. Also, the delta will be submerged by rising oceans soon enough so that won't be a worry either. :^(
https://en.wikipedia.org/wiki/Osmotic_power
The power density even at 40% efficiency is pretty high (300Wh/m3) so major rivers (Mississippi 20,000m3/sec or 72Mm3/hr) would generate 20GW fully exploited.
The problem has always been the growth of biofilms on the surfaces of the membrane, which break them down and/or lower their efficiency.