Actions

Difference between revisions of "Pipe Gas Mixer"

From Unofficial Stationeers Wiki

m
(Added a derivation for the first precision gas mixing calculation)
 
(11 intermediate revisions by 7 users not shown)
Line 1: Line 1:
 +
[[Category:Atmospherics]]
 +
[[Category:Items]]
 
<languages />
 
<languages />
 
<translate>
 
<translate>
 
<!--T:1-->
 
<!--T:1-->
 
{{Itembox
 
{{Itembox
  | name        = Pipe Gas Mixer
+
  | name        = Kit (Gas Mixer)
 
  | image      = [[File:ItemPipeGasMixer.png]]
 
  | image      = [[File:ItemPipeGasMixer.png]]
  | stacks      = 1
+
  | stacks      = Yes (5)
 
  | createdwith = [[Hydraulic Pipe Bender]], [[Fabricator]]
 
  | createdwith = [[Hydraulic Pipe Bender]], [[Fabricator]]
  | cost        = 2g [[Iron]], 2g [[Gold]], 2g [[Copper]]
+
  | cost        = 2g [[Iron]], 2g [[Gold]], 2g [[Copper]] <!-- cost Ok as of 29.6.2022 -->
 +
}}
 +
{{Structurebox
 +
| name        = Pipe Gas Mixer
 +
| paintable  = Yes
 +
| power_usage      =  100W
 +
| placed_with_item  = Kit (Gas Mixer)
 +
| placed_on_grid = Small Grid
 
}}
 
}}
  
 
== Description == <!--T:2-->
 
== Description == <!--T:2-->
Used to mix two gasses 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.
+
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 [[Kit (Logic I/O)|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:
 +
 
 +
<code>Tout = (T1 x 100) / (S + (100-S) x T1 / T2)</code>
 +
 
 +
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:
 +
 
 +
<code>S = (100/(T2-T1)) x ((T1 x T2 / Tout) - T1)</code>
 +
 
 +
== Precision gas mixing ==
 +
 
 +
When you want to achieve a precise output ratio (r') you must take into account the temperatures of the inputs when calculating the setting of the gas mixer (r).
 +
 
 +
<code>r = (r'T1) / ((1-r')T2+r'T1)</code>
 +
 
 +
To the right is a derivation of the above equation. [[File:Gas Mixer Calc.png|thumb|Gas Mixer Calculation for Different Input Temperatures]]
 +
 
 +
 
 +
If there is already gas in the output pipe network (m1 + m2), it is possible to calculate the goal (r') of the gas mixer which can be added to the pipe network to achieve a target gas ratio (r")
 +
 
 +
<code>b=(1-r")m1 - r" x m2</code>
 +
 
 +
<code>r' = (b x T2 - r" x V x 12.2) / ( b x (T2-T1) - V x 12.2)</code>
  
 
{{Data Network Header}}
 
{{Data Network Header}}
Line 49: Line 89:
 
|-
 
|-
 
|}
 
|}
 +
 +
== External Links ==
 +
* [https://youtu.be/0CQL88PXkeE Precision Gas Mixing (youtube)]
 +
* [http://www.purplefrog.com/~thoth/art/stationeers-furnace/gas-mixer.html precision gas mixing mathematical derivation]
  
 
</translate>
 
</translate>

Latest revision as of 15:29, 28 January 2023

Other languages:
English
Kit (Gas Mixer)
ItemPipeGasMixer.png
Stacks Yes (5)
Recipe
Created With Hydraulic Pipe Bender, Fabricator
Cost 2g Iron, 2g Gold, 2g Copper
Pipe Gas Mixer
Paintable Yes
Operation
Power Usage 100W
Construction
Placed with Kit (Gas Mixer)
Placed on Small Grid

Description[edit]

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[edit]

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[edit]

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)

Precision gas mixing[edit]

When you want to achieve a precise output ratio (r') you must take into account the temperatures of the inputs when calculating the setting of the gas mixer (r).

r = (r'T1) / ((1-r')T2+r'T1)

To the right is a derivation of the above equation.
Gas Mixer Calculation for Different Input Temperatures


If there is already gas in the output pipe network (m1 + m2), it is possible to calculate the goal (r') of the gas mixer which can be added to the pipe network to achieve a target gas ratio (r")

b=(1-r")m1 - r" x m2

r' = (b x T2 - r" x V x 12.2) / ( b x (T2-T1) - V x 12.2)

Data Network Properties[edit]

These are all Data Network properties of this device.

Data Parameters[edit]

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[edit]

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

External Links[edit]