Bay 12 Games Forum

Please login or register.

Login with username, password and session length
Advanced search  

Author Topic: Desalinizing water  (Read 795 times)

Stargazer

  • Bay Watcher
    • View Profile
Desalinizing water
« on: January 14, 2012, 09:26:15 pm »

Picked an ocean embark. The water is salty. I know that putting a well over it will make it drinkable, but I was hoping to make a freshwater bath inside the fort. Using pumps as a filter does not seem to work. Any ideas as to what to do?
Logged

Sphalerite

  • Bay Watcher
    • View Profile
    • Drew's Robots and stuff
Re: Desalinizing water
« Reply #1 on: January 14, 2012, 09:30:00 pm »

See this thread:

http://www.bay12forums.com/smf/index.php?topic=95811

The most reliable method seems to be to build a completely above-ground cistern and use a pump or two to pump water into it.

A bit more details on the theory.  Saltiness is a property of location.  Individual tiles on the map are flagged as salty or not salty.  In the ocean, water near the surface (sometimes including murky pools and aquifers) are flagged as salty from the start.  If two tiles both have water in them, and one is salty, the other will become salty.  This means that if any part of a body of water becomes salty, the entire thing will become salty.

There does not appear to be any way, short of memory hacking tools, to turn a salty tile back to being non-salty.  So if a cistern has every contained salt water, any water ever placed in that cistern will be salty.

Pumps don't so much remove salt as teleport water.  Water is removed from the entrance tile of the pump and created at the exit tile of the pump.  If the entrance tile was salty and the exit tile was not salty, then the pump is effectively desalinating the water.  You can use this to make fresh water at the ocean, provided you are very, very careful never to let the fresh water at the output touch any salt water.

Oceans generate waves, which can travel quite far inland.  These can apparently turn fresh water salty, if the water is at the level of the ocean and the wave travels across it.  This can apparently happen even if there is a solid wall in the path the wave.  So the most reliable desalination systems are those where none of the desalinated water is at the same Z-level as the surface of the ocean.
« Last Edit: January 14, 2012, 09:39:42 pm by Sphalerite »
Logged
Any intelligent fool can make things bigger and more complex... It takes a touch of genius --- and a lot of courage to move in the opposite direction.