RA2lover/Sandbox/State Change Mechanics
From Unofficial Stationeers Wiki
< User:RA2lover/Sandbox
Contents
Solids
Are Processed in a Furnace if its internal temperature exceeds their flash point.
Ingots
Removes 45 J/flashpoint temperature/g of energy and is converted to a reagent on processing.
Ores/Reagent Mixes
Releases contents on processing.
Ices
TBW
Pure Ices
TBW
Things
TBW
Gases
TBW
Liquids
World Liquid Density
A world liquid has the same density as 8000 L of an ideal gas at the liquid's saturation pressure at maximum temperature would have if compressed to 7990 L.
These are how many moles of liquid a 8000L world cell can hold:
Liquid Oxygen 35636.86 mols Liquid Nitrogen 30422.6 mols Liquid Carbon Dioxide 21812.45 mols Liquid Volatiles 29642.56 mols Liquid Pollutant 13600.7 mols Water 8989.58 mols Polluted Water 9189.66 mols Hydrogen 82575.7 mols Nitrous Oxide 4474.61 mols
Evaporation
Calculate evaporation energy limits, quantity limits, and an evaporation ratio, which depend on the circumstances the liquid is in. If the quantity of liquids evaporated by the evaporation energy limit exceeds the evaporation quantity limit, the evaporation quantity limit is used instead. Either of the limits(energy or quantity) is then further reduced by an evaporation ratio, which is fixed at 10% if there are more than 0.1 moles of liquids, or 50% if less.
Subcooled / Compressed liquids
If the pressure of the liquid is greater than the evaporation pressure for its temperature, no evaporation occurs.
Evaporating liquids
Liquids evaporating under normal circumstances have an evaporation energy limit, proportional to how far below the evaporation pressure the liquid is. The maximum value under normal circumstances is the energy required to cool the liquid by 10°C in a tick. This is achieved with a pressure delta equal to the liquid's minimum liquid pressure, and linearly decreases to 0°C on smaller pressure deltas.
They also have a evaporation quantity limit. Under normal evaporation, that equates to the amount of ideal gas required to increase the network/cell's pressure to the evaporation pressure.
Superheated liquids
If the temperature of the liquid is above its maximum liquid temperature, liquid evaporation is accelerated. The evaporation quantity limit is replaced with the total amount of liquid, and the evaporation energy limit is increased to the energy required to cool the liquid down to its maximum liquid temperature if that is greater than the existing evaporation energy limit.
Supercooled liquids
Liquids below 1 K above their freezing temperature inside a network evaporate at a slower rate, with their evaporation energy reduced to quantity*specific heat W. This limits their maximum cooling rate to 1°C/s. Liquids below their freezing temperature have their evaporation pressure linearly reduced to the Armstrong pressure (6.3 kPa) at half their freezing point. As most liquids are at armstrong pressure at their freezing point, this only affects Liquid Carbon Dioxide, Liquid Nitrous Oxide and Liquid Pollutant.
"Hypercooled" liquids"
Liquids below half their freezing temperature don't evaporate regardless of conditions. "Hypercooled" liquids can exist indefinitely in world cells not belonging to a room as long as the quantity in the cell remains below the ice formation threshold and they don't get heated back to a supercooled state.
In real life, hypercooled liquids refer to supercooled liquids where the temperature has dropped to below the point where the resulting solid would be below its freezing point despite the latent heat.
Evaporation Example
A 7500 L room cell containing 50 kPa of water vapor and 1000 L (1123.6975 moles) of liquid water at 100°C undergoes evaporation for 1 tick.
The water's evaporation pressure at this temperature is 101.325 kPa, giving us an evaporation pressure gradient of 51.325 kPa.
The water's minimum liquid pressure is 6.3 kPa, which the evaporation pressure gradient is well in excess of, making the evaporation energy limit 72 J/mol*K * 10°C * 1123.6975 mol = 809.062 kJ. This energy would be enough to evaporate 101.132775 moles of water.
The water's evaporation quantity limit is 6500 L of ideal gas at 51.325 kPa and 100°C, or 107.5288 mol. This limit could be increased further by removing water vapor faster to achieve a lower pressure, but because our available energy is not enough to hit the evaporation quantity limit, the available energy is completely used instead.
Because the quantities are far in excess of 0.1 mol, only 10% of those 101.132775 moles of water is evaporated, resulting in 80.9062 kJ/tick of cooling.
Reagents
TBW
Global
TBW
