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

Devices

Pressure Regulator

Druckregler

PrefabStructurePressureRegulator Hash209854039in the hash lookup
Pipes and atmosphere paintable Game 0.2.6428.27798

Overview

Pressure Regulator (StructurePressureRegulator) in Stationeers: device, hash 209854039, 100 W. With build steps, 11 IC10 logic values and connection diagram.

The pressure regulator sits between two pipe networks and fills the network at its output up to the set pressure. Once that is reached it closes; when the pressure there drops, it lets gas follow from the input again. That makes it the classic pressure reducer: behind a tank at many thousand kPa it supplies a network at a steady pressure, for example the supply air for vents.

Setting is the target pressure at the output in kPa, from 0 to 60,795 kPa – the upper limit of a gas pipe, and exactly the value Maximum reports. It ships at 50 kPa. On the device you change it in steps of 100 kPa, holding the key for small increments in steps of 1 kPa; with a switched-on labeller in your hand you type the value in directly. Add On and Lock. Power and data share one port; base draw is 100 W.

One limit is often overlooked: the regulator only fills up to the target – per tick at most as much as fits into the output network between the actual and the target pressure. With a single pipe piece (10 L), 120 kPa target, an empty pipe and 20 °C that is n = 120 · 10 / (8.3144 · 293) ≈ 0.49 mol per tick. With many consumers behind it, that is not enough. More pipe or an in-line tank at the output acts as a buffer: with 110 litres it would already be 5.4 mol.

A second quirk is in the game code: the regulator does not check whether the input has more pressure. If the output is below the target, it keeps pushing even from a weaker network – per tick the amount of 101.325 kPa in 10 litres, about 0.42 mol at 20 °C. If the input has more pressure, it may be correspondingly more. So it acts like a small pump with a cut-off pressure.

The Kit (Pressure Regulator) builds four devices: this regulator, the Back Pressure Regulator, the pressurant valve and the Purge Valve. Placing takes one step; you remove it with the hand drill. How regulators, pumps and valves work together is covered in Pumps, valves and pressure regulators: which part for what.

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.

# Pressure Regulator address by name
define DEVICE 209854039  # StructurePressureRegulator
define NAME HASH("Pressure Regulator")  # 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

1Gas2Gas3
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 · input
  2. 2Gas pipe · output
  3. 3Power 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 (Pressure Regulator)

Raw values from the game code (7)

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

PressureRegulator.RegulatorTypeUpstream
PressureRegulator.MovedContentAll
DeviceAtmospherics.outputSetting50
DeviceAtmospherics.pressurePerTick101.3
DeviceAtmospherics.MinSetting0
DeviceAtmospherics.MaxSetting100
DeviceAtmospherics.ConnectionTypeExhaustive

See also

Esc
↑ ↓ selectEnter open/ opens search anywhere