## Pipe Gas Mixer

### From Unofficial Stationeers Wiki

Other languages:
English
Stacks 1 Hydraulic Pipe Bender, Fabricator 2g Iron, 2g Gold, 2g Copper

## Description

Used to mix two gases in proportions ranging from 0-100%. A must have for the Furnace. Input 1 is the straight thorough route, and Input 2 is the side entry.

## Setting

The setting wheel is set in percent of input 1. Holding 'c' allows you to set the dial in 1 percent increments. It's possible to set the ratio with an arbitrary precision using the labeler or a Logic Writer, but the dial will always show rounded to the nearest percent when you look at it.

## Temperature Dependence

The gas mixer will mix the input gases based on moles of gas in the ratio provided by the setting, but only if the gases at input 1 and input 2 are at the same temperature. This means if you're trying to mix Volatiles and Oxygen at a 2:1 ratio, make sure both input gases are at the same temperature.

While the gas mixer ignores input pressures, the mixer will take more moles of the colder gas than you would expect. For instance, if you set the gas mixer to a 1:1 ratio and both inputs contain just Carbon Dioxide, input 1 at 2000 K and input 2 at 1000K, it will take twice as much of the gas from input 2, so your resultant gas will be Carbon Dioxide at 1333.33 K.

Assuming you're mixing two identical gases with different temperatures, and the temperature of the hot gas at input 1 is "T1", the temperature of the cold gas at input 2 is "T2" and the mixer is set to "S" percent, then the resulting gas temperature will be given by this formula:

`Tout = (T1 x 100) / (S + (100-S) x T1 / T2)`

If you know your two input temperatures and your desired output temperature (which must be between T1 and T2), you can re-arrange this to solve for "S", which will tell you what to set the dial to in order to get the desired temperature:

`S = (100/(T2-T1)) x ((T1 x T2 / Tout) - T1)`

## Data Network Properties

These are all Data Network properties of this device.

### Data Parameters

These are all parameters, that can be written to with a Logic Writer, Batch Writer, or Integrated Circuit (IC10). The outputs are listed in the order a Logic Writer's "VAR" setting cycles through them.

Parameter Name Data Type Description
Lock Boolean
Setting float Correspond to the percentage value of the Input 1
On Boolean

### Data Outputs

These are all parameters, that can be read with a Logic Reader or a Slot Reader. The outputs are listed in the order a Logic Reader's "VAR" setting cycles through them.

Output Name Data Type Description
Power Boolean
Error Boolean
Lock Boolean
Setting float Contains the current Input 1 value in percent (60.5 for example)
Maximum float Value of 100
Ratio Float Contains the ratio corresponding to the Input 1 value (0.605, for the 60.5 value above)
On Boolean
Requiredpower Integer In Watts. The Gas Mixer require 100W of power to function