Difference between revisions of "Phase Change guide"
From Unofficial Stationeers Wiki
(Created page with "''game version: 0.2.4297'' =Phase Change Update= In the Phase Change Update the 7 in-game gases (O2, N2, CO2, N2O, H2O, Volatiles and Pollutant) can now be in three differen...") |
(No difference)
|
Revision as of 09:07, 26 October 2023
game version: 0.2.4297
Contents
- 1 Phase Change Update
- 1.1 How to read the in-game Stationpedia phase change diagrams
- 1.2 Valve and Pump behaviour
- 1.3 Liquid drain behaviour
- 1.4 Pipe damage
- 1.5 Separating a mix of gases or a mix of liquids
- 1.6 Dealing with extremely cold pipes
- 1.7 Heating/Cooling with phase change loops
- 1.8 Examples of how to take advantage of phase changes
- 1.9 Footnotes
Phase Change Update
In the Phase Change Update the 7 in-game gases (O2, N2, CO2, N2O, H2O, Volatiles and Pollutant) can now be in three different states; gas, liquid and solid. Gases and solids can exist by themselves, but a liquid will always co-exist with a gas (of any type). Phase changes are not instant, it will take some time for them to reach their endpoint.
How to read the in-game Stationpedia phase change diagrams
Specific heat = the energy per mol required to change the temperature by 1°C of both gas and liquid states
Freezing temperature = where a gas or liquid turns into solid (this will damage pipes!)
(unimportant) Boiling temperature = the temperature where the "Vapor pressure" is equal to 100kPa (slightly incorrect values)
Latent heat = the energy per mol released by condensation and consumed by evaporation
(unimportant) Min Condensation Pressure = below this pressure a gas will not condense into liquid (allows gases to freeze into solids)
Max liquid temperature = gas can't condense into liquid above this temperature (gas-pipes are safe from liquid damage)
Vapor pressure = (the pressure given by the graph) a liquid evaporates when below it, a gas condensates when above it
The Stationpedia graphs are divided into 3 different regions. Solid-state to the left, liquid-state in the middle and the gas-state on the right. The term "Vapor pressure" isn't mentioned but is the pressure value that is read from the graph for any given temperature. This value is not completely accurate however, comparing the graph to in-game pressures show that they are slightly off, but it's close enough.
For solids the "Vapor pressure" is actually zero, even though the graph claims it to be 6.3 kPa (see footnote 1)
For liquids the "Vapor pressure" is the pressure where a liquid will stop evaporating. This pressure doesn't have to come from the same type of gas, another gas can also provide this pressure. Oxygen is the gas with the lowest value for "Max liquid temperature", which makes it the hardest to liquidize (which would contaminate the liquid it's supposed to pressurize). This makes Oxygen ideal as a pressurant, but Nitrogen and Volatiles are almost as good so these can also be used.
For a gas with a temperature above the "Max liquid temperature" the "Vapor pressure" means nothing, because it's too hot to undergo any phase-changes. But when the temperature drops below the "Max liquid temperature" the "Vapor pressure" is the lowest pressure required for a gas to start condensating. A gas can also turn into a solid (ice) directly without becoming a liquid first, this will happen if the temperature drops to the freezing point while the pressure of the gas is kept below the "Min Condensation Pressure". This makes pipes with just gas vulnerable to freezing too.
Condensation is when a gas becomes liquid, this will release energy which increases the temperature.
Evaporation is when a liquid becomes gas, this will consume energy which decreases the temperature.
Freezing is when a gas or liquid becomes solid, this doesn't appear to change the temperature.
Valve and Pump behaviour
(incomplete list, there are other objects with gas/liquid connections that could potentially move liquids and gases in useful ways)
Moves both gas and liquid
- Filtration unit
- Regulator
- Volume Pump
- Turbo Pump
- Valve
- One-way Valves
- Liquid Regulator
- Liquid Volume Pump
- Liquid Turbo Pump
- Liquid Valve
- Liquid One-way Valve
- Condensation Chamber (the gas-input)
Moves only gas
- Purge Valve (from liquid-pipes into gas-pipes)
- Pressurant Valve (from gas-pipes into liquid-pipes)
- Liquid Regulator with Setting = 0% (between liquid-pipes)
Moves only liquid
- Condensation Valve (from gas-pipes into liquid-pipes)
- Evaporation Valve (from liquid-pipes into gas-pipes)
- Evaporation Chamber (the liquid-input)
Separating a liquid from it's co-existing gas inside a liquid-pipe can be a bit tricky, but it can still be desirable to do when these two are made from different compounds. When using an Evaporation Chamber to move just the liquid from a liquid-pipe, that liquid can leave the Chamber either by being evaporated as a gas (which requires energy) or by dumping it (as a liquid) into the surrounding atmosphere by opening the handle on the front of the Chamber. Dumping the liquid in a small 1x1x1 room allows Passive Liquid Inlets to capture it again. It's also possible to use an Evaporation Valve and route the liquid through a gas-pipe but this risks damaging that gas-pipe (unless using an exploit to protect the pipe, see "Pipe damage" below). Maybe there are other ways this wiki author doesn't know about yet.
Liquid drain behaviour
- Passive Liquid Drain (placed on gas-pipes, dumps liquids into the atmosphere)
- Active Liquid Outlet (dumps liquids from liquid-pipes into the atmosphere)
- Passive Liquid Inlet (works like a Passive Vent but for liquid-pipes, gases can enter/exit and atmospheric liquids can enter)
Pipe damage
Gas pipes:
Takes damage from liquids if the "stress" value goes above 100%. They also take damage if an unknown amount of liquids or gas freezes into a solid.
Stress in % = 5000 x "liters of liquid" / "pipe network volume"
(see footnote 2).
Liquid pipes:
Takes damage if the gas pressure goes above 6MPa, or if the liquid or gas freezes into a solid. The pipe volume is shared by both the gas and the liquid, so a liquid-pipe can become overpressurized by adding more liquid even though liquids themselves have no pressure.
Exploit:
Pipes inside double-welded frames will never take damage nor break from high pressure or stress. But they will still creak and moan.
Separating a mix of gases or a mix of liquids
Filtration units can separate both gases and liquids, but too much liquid will damage the gas-pipes (unless using an exploit to protect the pipes, see "Pipe damage" above).
Condensation: Condense a single type of gas into liquid from a gas mix when the temperature is below one of the gases "Max liquid temperature" and the pressure is above its "Vapor pressure" (performed in the Condensation Chamber or inside pipes/tanks).
Distillation: Evaporate a single type of liquid from a mix by keeping the gas pressure above the other liquids "Vapor pressure" and below the "Vapor pressure" of the liquid that is being removed (performed with the Evaporation Chamber or Purge Valve). An issue with distillation is that some pressurant gas must stay behind to prevent the remaining liquid from evaporating.
Examples:
1) (condensation) The atmosphere on Mars contains CO2, N2, O2 and Pollutant. At day-time temperatures, only the Pollutant will be below its "Max liquid temperature" (152°C at 6MPa) so it's the only gas that can condense into a liquid. Pressurizing atmospheric gas collected during the day (to roughly 4MPa or above) will force all of the Pollutant to condensate into liquid, a Passive Liquid Drain can then remove that liquid. The remaining gases are now free from toxins and safe to use in a greenhouse without further purification.
2) (distillation) A liquid mix of N2O and Pollutant can be separated via a distillation that only evaporates the Pollutant. When comparing the "Vapor pressures" of N2O and Pollutant one can see that for each temperature the Pollutant will always have the higher "Vapor pressure" value. With a Purge Valve or Evaporation Chamber it's possible to keep the pressure above the N2O's "Vapor pressure" and below the Pollutants, which means that only the Pollutant will be able to evaporate. When all the liquid Pollutant has been removed, only Pollutant gas and liquid N2O will remain. An Evaporation Valve can then be used to move just the liquid, but some engineering may be required to prevent pipe damage during this step.
Dealing with extremely cold pipes
When an AC is used for heating, its waste pipe can get extremely cold. The same goes for using passive Radiators on the Moon or on Mimas (keep the radiators exposed to sunlight to prevent the pipe temperature from getting too low). The best gas choice for cold pipes is Oxygen, since it is the hardest to liquify (-111°C at 6MPa), and all of it should (not properly tested!) turn into a liquid before it freezes into a solid. If the pipe pressure is above 6MPa the excess Oxygen will start to condense when the temperature dips to -111MPa. Attach a "Passive Liquid Drain" is a good way to protect the pipe, any liquid Oxygen will be removed from the pipe before it takes any damage. Instead of using pure Oxygen, crushed Oxite will do just fine, the Nitrogen will condense first and remove itself through the drain.
Heating/Cooling with phase change loops
Since condensation increases the temperature and evaporation decreases the temperature, it's possible to build a loop where the gas-side becomes warmer and the liquid-side colder. The Condensation and Evaporation Chambers are good for this (note: a Purge Valve (set to 0 kPa) on the liquid-pipe between them is often necessary to prevent that pipe from breaking), but a phase change loop can also be made from pipes by using a Condensation Valve and a Purge Valve (set to 0kPa). By heating the colder liquid-side, or cooling the warmer gas-side, it's possible to keep the heating/cooling going.
The performance of these loops seems moderate at best, but they consume less energy than an Air Conditioner. The efficiency has not been measured.
Examples of how to take advantage of phase changes
1) Liquid tanks can be given a pressurant gas (like Oxygen) to prevent the liquid from evaporating. This will prevent any unwanted temperature changes from evaporation, and also makes it possible to remove every mol of the liquid from the tank.
2) on Europa, use an Active Vent to pressurize atmospheric Oxygen in a pipe with a least one Passive Liquid Drain. The high pressure will result in condensation which will heat the remaining gas in the pipe up to -111°C (from around -145°C). This isn't much, but could potentially be used to reduce the energy needed to heat up atmospheric Oxygen to room temperature.
3) on Mars, capture cold night-time atmospheric gas in a pipe with a small/moderate volume, preferably with a fast Powered Vent. Since only Pollutant and CO2 can phase-change into liquids below -8°C, both of these can be removed from the pipe via Passive liquid drains. The O2 and N2 however remains trapped inside. The condensation of CO2 will heat up the pipe (to -8°C), but if the temperature can be kept down the pipe will eventually contain a mix of just O2 and N2.
4) on Vulcan, water-steam near the night-time temperature (127°C) can be cooled with a phase change loop. Heated steam will accumulate on the gas-pipe side, and cooler liquid will accumulate on the liquid-pipe side. Expelling the heat from the hot gas-pipe will keep the cooling going. Radiators are not ideal since they will pick up a lot of heat during the day, a heat-exchanger on the other hand can be deactivated which makes it better (by using an Active Vent to provide it atmospheric gas only during the night, and a One-way Valve to let those gases escape on their own).
Footnotes
1) The Stationpedia says that all solids have 6.3kPa "Vapor Pressure". But a crude experiment showed that slowly pumping in a gas (CO2) into a freezing cold room (8 grids of O2 at -149°C) did not result in a significant change in pressure (when accounting for the small increase in temperature caused by adding a warmer gas). The added gas (CO2) did not show up on a Handheld Tablet (nor a Gas Sensor or Pipe Analyzer with its own separate pipe), the only way to spot the presence of the invisible "gas" was by the small amount of ice that formed inside the passive vent used to insert it into the room. After a while some ice (CO2) fell to the floor, without resulting in any changes of pressure or temperature. Doing the reverse, placing ice into a freezing cold room, will not sublimate any of that ice into gas. Based on this, it seems that un-frozen "gas" have no actual "vapor pressure", it will just invisibly accumulate until there is enough of it to form a lump of ice.
2) from https://www.reddit.com/r/Stationeers/comments/171842v/gas_pipe_stress_calculations/