stationeers.de Mod workshop · Dominik1199
DE Sign in
  1. Home
  2. Stationeers wiki
  3. Devices
  4. Gas Mixer

Devices

Gas Mixer

Gasmischer

PrefabStructureGasMixer Hash2104106366in the hash lookup
Pipes and atmosphere paintable Game 0.2.6428.27798

Overview

Gas Mixer (StructureGasMixer) in Stationeers: device, hash 2104106366, 100 W. With build steps, 11 IC10 logic values and connection diagram.

The gas mixer has two inputs (Input and Input2), one output and a shared port for power and data. Setting (0 to 100, factory value 50) is the share of Input in percent; Input2 supplies the rest. At 100 only Input passes, at 0 only Input2. The connection diagram shows which port is which; when you look at the mixer in game, it names both shares.

It works in moles, not by pressure: each tick it takes from each input as much as that input's share of 200 kPa in 10 litres amounts to at the temperature of that input. The input pressure does not change the ratio – you do not need pressure regulators in front for that. Temperature does: if both inputs are equally warm, Setting is exactly the mole fraction and therefore the share of the output pressure. An example: Setting 22, oxygen at 20 °C (293.15 K), nitrogen at 0 °C (273.15 K). That gives (22 / 293.15) / (22 / 293.15 + 78 / 273.15) ≈ 20.8 % oxygen, because the colder input delivers more moles per litre.

Two quirks from the game code:

  • If one input runs dry, the mixer stops (except at 0 or 100). It never produces a wrong mix because of that.
  • It does not regulate the output pressure and keeps pushing even against higher pressure, at 20 °C at least about 0.82 mol per tick. Switch it off with IC10 as soon as a Pipe Analyzer at the output reports the target pressure.

You set Setting on the device in steps of ten, holding the key for small increments in steps of one. If you hold a labeller that is switched on, you type the value in directly. All three pipes must be connected, otherwise it reports Error. There are also On and Lock; readable are Maximum, Ratio, Power and RequiredPower; base draw is 100 W. More in Gases and mixtures: breathing air, gas mixer, partial pressure.

IC10 and logic

11 logic values, 11 readable and 3 writable.

  • Power R 1
  • Error R 4
  • Lock RW 10
  • Setting RW 12
  • Maximum R 23
  • Ratio R 24
  • On RW 28
  • RequiredPower R 33
  • PrefabHash R 84
  • ReferenceId R 217
  • NameHash R 268

Example: address by name

Reads Setting, shows the value on the IC housing and writes On. Name the device with the labeller first; devices with the same name are addressed together.

# Gas Mixer address by name
define DEVICE 2104106366  # StructureGasMixer
define NAME HASH("Gas Mixer")  # name in game (labeller)
define TARGET 1  # On 1 = on
alias value r0

start:
yield
lbn value DEVICE NAME Setting 0  # 0 = average of all with this name
bnan value start  # no device with this name
s db Setting value  # show on the housing
sbn DEVICE NAME On TARGET  # set value
j start

Connections

2Gas3Gas1Gas4
Schematic: inputs left, outputs right, waste on top, power and data at the bottom. Position and spacing do not match the model.
  1. 1Gas pipe · output
  2. 2Gas pipe · input 2
  3. 3Gas pipe · input
  4. 4Power and data

Building and deconstruction

Grid: small grid (0.5 m) · mounting: free in the grid

  1. 1

    Place

    Take back with Hand Drill

Total material

Deconstruction returns

Built with: Kit (Gas Mixer)

Raw values from the game code (5)

Field names as in the game code, untranslated. Useful for mods and exact limits.

DeviceAtmospherics.outputSetting50
DeviceAtmospherics.pressurePerTick200
DeviceAtmospherics.MinSetting0
DeviceAtmospherics.MaxSetting100
DeviceAtmospherics.ConnectionTypeExhaustive

See also

Esc
↑ ↓ selectEnter open/ opens search anywhere