Actions

User

RA2lover/Sandbox/Thermodynamics machinery notes

From Unofficial Stationeers Wiki

< User:RA2lover/Sandbox
Revision as of 07:31, 5 November 2025 by RA2lover (talk | contribs)

Air Conditioner

- If the *input* network is off from the target temperature by less than 1 degree, no action is performed on a tick.

Otherwise, the air contitioner's internal logic takes place:

- 1 - Try to take contents from its input network into an internal storage (mole-equivalent of 100 liters of gas at the input network temperature and air conditioner's processing capability (guessed to be 1atm, untested), includes both liquids and gases)
- 2 - Transfer 14kJ * OperationalTemperatureEfficiency * TemperatureDifferentialEfficiency of energy between the waste network and the internal network (if either input network before the step 1 pumping or the waste network pressures are below 1atm, scale down by the lowest pressure from that to 0 linearly)
- 3 - Transfer contents from its internal network to its output network

TemperatureDeltaCurve losses can be avoided entirely by connecting the input network and waste network together (as opposed to the typical closed-loop configuration where input and output networks are connected together).

How much is 14kJ? Vulcan night atmosphere (400 K @ 100L, 1atm) would get you 3.046 moles at 23.182 J/mol/K, or a drop of ~201 K (which would get hampered by the OperationalTemperatureEfficiency still not being that high).

Wall Cooler

Checks if pressure on both pipe and world grid atmosphere is above armstrong limit (6.3 kPa), transfers 1kJ * TemperatureDifferentialEffficiency of energy per tick from the environment to the pipe network. Although no OperationalTemperatureEfficiency curve is present, this would only be more efficient than an air conditioner on situations where this value would be <5% (or 2.5%? TODO: clear up J/tick and W distinction for power consumers). You'll probably want an air conditioner on most scenarios.

Wall Heater

Checks if world grid atmosphere is above armstrong limit and temperature is below 2500 K, adds 1kJ/tick to world grid, ignites flammable atmospheres below autoignition temperature.

Pipe Heater

Same pressure/temperature checks as wall heater, but doesn't ignite flammable pipe contents(assuming no autoignition occurs).

Road Flare

Ignites flamambles. Adds 1kJ/tick when lit. 1.2s fuse when fired from Flare Gun. 25m illumination range when falling from flare gun, 10m range otherwise.

Evaporation Chamber

Not sure how to treat it other than as a combo liquid volume regulator, purge valve and heat exchanger.

Condensation Chamber

Combo pressure regulator, condensation valve and heat exchanger.

Condensation Valve / Expansion Valve

Moves 10 liters of liquids or half the liquids volume on the input pipe network per tick, whichever is smaller. Isn't supposed to move if the output network can't fit another 0.1L of liquids (untested).

Passive Vent

Mixes pipe gas contents with world cell gas contents, or mixes all pipe contents with all world cell contents if submerged in liquid. Not sure how to make use of this considering the amount of liquids required to submerge one.

Pipe Radiators

Convection power = 100*area*deltaT. Area is multiplied by internal and external pressure ratios compared to 1atm, so effectiveness is reduced if either is below this pressure.

Radiation power is based on a curve function on the difference between the network temperature and the background temperature (world temperature on a vacuum, lerped to atmospheric temperature based on how many moles are on it up to 20kPa @ 0°C (=70.450583221073 mols on a world cell)). Area is multiplied by internal pressure ratio compared to 1atm.

Pipe Organ

Makes sound if pressure delta between pipe network and world is above 10kPa. Equalizes pipe network gases with world cell gases at a rate of 20 kPa/tick.

Liquid Volume Pump

Move setting L/tick of liquids from input to output network, then remove gases from input network until output network pressure is equalized.

A liquid volume pump set to 0 L can be used as a one-way gas valve. (This behavior is different from the one-way valve, which also moves liquids)

Volume Pump

Take the moles present in setting L of the input pipe network, move them to the output in a single tick. If setting is greater than the input pipe network volume, only the input pipe network is used but power is still consumed based on the setting parameter.

Turbopumps

Same mechanics as turbo pumps but with a fixed base power consumption and a lower consumption/L pumped.

Gas regulators

(Comprises Pressure Regulator, Back Pressure Regulator, Pressurant Valve, Purge Valve)

If output network pressure is greater than input network pressure, move up to a mole-equivalent quantity of gas that would fit in pressurePerTick(=1atm?)*10L volume at the pipe network temperature.

With a 10L volume pump consuming twice the power of a gas regulator, This makes a gas regulator more efficient than a volume pump when operating on input network pipe pressures below pressurePerTick*2 (2 atm?) as more volume/W is scavenged in that circumstance.

If input pipe pressure is greater than output network pressure, check if more gas could be moved by moving a quarter of the pressure difference on the input network per tick instead, and move up to that if so. This makes a regulator more efficient than a volume pump in scenarios where the input network volume is large enough to make a reasonable pressure gradient worthwhile.

Liquid regulators

(Liquid volume regulator, Liquid Back Volume regulator)

If volume percentage on input network is greater than output network, pump liquids up to the greater of:

- A quarter of the combined network liquid volume percentage to output network per tick (if input network volume ratio > output network volume ratio). This isn't liquid level balancing - a 50.(0)1/100L against a 50/100L network will still result in a single-tick movement of ~100L/4 = 25L from input to output. There's a likely bug here.
- The regulator's liquid volume pumping capacity (0.25L/tick).

If any liquids were moved, balance gas pressures on the output with a one-way gas valve from input to output. Liquids have to be moved for this, unlike the 0L liquid volume pump.

Space Suit Air Conditioner

If suit AC is off, suit has no waste tank attached or no/empty battery, do nothing.

Close waste tank valve. If waste tank is full, do nothing.

Calculate the energy required to move the suit/helmet's internal atmosphere to the target temperature.

If cooling to that temperature, transfer the excess energy to the waste tank consuming 1% of it in battery power, and marking an amount of gas to be moved to the waste tank on that tick's filtration step (1 mol / 2 kJ cooled).

If heating to that temperature, consume 50% of the energy spent heating the contents in battery power.

The maximum amount of heat a suit can add/remove per tick is proportional to its condition, but the heating/cooling efficiency remains the same.

Space Suit Filtration

If filtration is off, suit is unpowered or has no waste tank attached, do nothing.

Close waste tank valve. If waste tank is full, do nothing.

Fill waste tank to 1 kPa with air tank contents if waste tank pressure is below 1kPa.

Remove all gases in the space suit's internal volume matching the filters in its slots.

Remove additional gases from the space suit's internal volume if the amount of gas to be moved on the AC step exceeds the amount of gas moved by the filters, up to the suit's pumping rate (proportional to its condition).

Consume 10 J from battery.