Actions

Editing Temperature independent fuel mixing

Warning: You are not logged in. Your IP address will be publicly visible if you make any edits. If you log in or create an account, your edits will be attributed to your username, along with other benefits.

The edit can be undone. Please check the comparison below to verify that this is what you want to do, and then save the changes below to finish undoing the edit.
Latest revision Your text
Line 1: Line 1:
Making fuel with a gas mixer set to 33:67 works fine when the incoming O2 and H2 have the same temperature. But when the temperature is different, the mix will become incorrect.
+
Making fuel with a 33:67 setting on the gas mixer when the incoming O2 and H2 have different temperatures will result in an incorrect mix.  
 
 
To get a perfect fuel mix regardless of the temperature difference, a circuit can be used to calculate which gas mixer setting to use. The gas mixer will accept decimal values, so it's incredibly accurate. This allows it to always make a perfect 1:2 mix. Just don't forget that making hot fuel will lead to explosions, if that should happen, please enjoy the strongest and most perfect explosion possible.
 
  
 +
Instead of waiting for the temperatures to equalize, one can build a circuit that calculates the necessary setting on the gas mixer to always produce perfect fuel. The fuel will really be perfect because the gas mixer allows decimal values, so it has an incredibly accuracy. Just don't forget that making hot fuel will lead to explosions, if that should happen, please enjoy the strongest and most perfect explosion possible.
  
 
'''Components needed:'''
 
'''Components needed:'''
 
*3 logic I/O (2 readers, 1 writer)
 
*3 logic I/O (2 readers, 1 writer)
*4 logic processor (all math)
+
*5 logic processor (all math)
 
*3 logic memory
 
*3 logic memory
 
*2 pipe analyzer
 
*2 pipe analyzer
Line 14: Line 13:
 
'''Build:'''
 
'''Build:'''
  
This part will turn the following equation into a circuit, it will only work when the '''H2 pipe''' is connected to '''input 1'''(the side)<br>
+
On the gas mixer, connect O2 to input 1 (side) and H2 to input 2 (top)
gas mixer setting = 100 / ( 1 + Temp.oxygen/(2*Temp.volatiles) )
 
  
*Connect the H2 pipe to input 1 (side) and O2 pipe to input 2 (top)
 
 
*2 pipe analyzers
 
*2 pipe analyzers
 
**On the O2 and H2 sides
 
**On the O2 and H2 sides
 
*2 logic readers
 
*2 logic readers
**Read the temperatures of the pure O2 and H2
+
**T.o = Temperature on the pure oxygen side
*4 math and 3 memory units for calculations
+
**T.v = Temperature on the pure volatiles side
**A = 2*Temp.volatiles
+
*2 math and 1 memory unit to calculate T.o/(2*T.v)
**B = Temp.oxygen/A
+
**A = 2*T.v
 +
**B = T.o/A
 +
*2 math and 1 memory unit to calculate the ratio of oxygen (result between 0 and 1)
 
**C = B+1
 
**C = B+1
**D = 100/C
+
**D = B/C
 +
*1 math and 1 memory to get a final value between 0 and 100, the range that the gas mixer wants
 +
**result = 100*D
 
*1 logic writer to send the result to the gas mixer
 
*1 logic writer to send the result to the gas mixer
 
**The gas mixer will accept decimal values, so the mix will be a perfect 2:1 mix of H2 and O2
 
**The gas mixer will accept decimal values, so the mix will be a perfect 2:1 mix of H2 and O2
  
  
'''Extra:'''
+
'''Additional:'''
*If the O2 pipe connects to input 1 (the side) instead, the equation to use is
 
**gas mixer setting = 100 - (100 / (1 + Temp.oxygen/(2*Temp.volatiles))), which simplifies to 100 / (1 + (2*Temp.volatiles)/Temp.oxygen)
 
**This means B above must be changed to B = A/Temp.oxygen
 
 
*Use a PAC or Transformer to put this circuit on it's own data network
 
*Use a PAC or Transformer to put this circuit on it's own data network
*The circuit will require 170W on standby and 270W while mixing fuel
+
*The circuit will require 180W on standby and 280W while mixing fuel
 +
 
  
  
Line 57: Line 56:
 
Combine the expressions
 
Combine the expressions
 
*P.o*V.o / (R*T.o) = 1/2 * P.v*V.v / (R*T.v)
 
*P.o*V.o / (R*T.o) = 1/2 * P.v*V.v / (R*T.v)
We now cancel R from both sides. We can also remove P.o and P.v because the gas mixer is already compensating for differences in incoming pressures and we don't want to do that twice, this leaves us with
+
We now cancel R from both sides. We can also remove P.o and P.v because the gas mixer is already compensating for differences in incoming pressures so we don't have to deal with that, this leaves us with
 
*V.o/T.o = 1/2 * V.v/T.v
 
*V.o/T.o = 1/2 * V.v/T.v
 
The gas mixer can only influence the volume, not the temperature, so we will solve for the volume ratio
 
The gas mixer can only influence the volume, not the temperature, so we will solve for the volume ratio
Line 67: Line 66:
 
*2) Ratio.o + Ratio.v = 100% = 1
 
*2) Ratio.o + Ratio.v = 100% = 1
 
Two equations, two unknowns. This can be solved.<br>
 
Two equations, two unknowns. This can be solved.<br>
Lets do calculations for both Ratio.o or Ratio.v, the end result is the same but the formulas and which pipe goes where will be different.
+
It doesn't really matter if we choose Ratio.o or Ratio.v, the only effect from this is to determine which pipe goes where on the gas mixer. Let's use oxygen on input 1 and volatiles on input 2. That means we should solve for Ratio.o, so lets remove Ratio.v via substitution
 
 
First lets solve for Ratio.o
 
 
*Ratio.v = 1 - Ratio.o
 
*Ratio.v = 1 - Ratio.o
 
now substitute this into the first equation
 
now substitute this into the first equation
Line 77: Line 74:
 
To make it easier to look at, lets substitute T.o/(2*T.v) for k
 
To make it easier to look at, lets substitute T.o/(2*T.v) for k
 
*Ratio.o = k / (1 + k)
 
*Ratio.o = k / (1 + k)
*Ratio.o = 1 / (1/k + 1)
 
The 1/k part is annoying, but since the substitution is a fraction we can shuffle things around
 
*k = T.o/(2*T.v)
 
*1/k = (2*T.v)/T.o
 
Inserting that gives
 
*Ratio.o = 1 / ((2*T.v)/T.o + 1)
 
Now we will multiply with 100 to get a value between 0 and 100 which the gas mixer wants.
 
*gas mixer setting = 100 / (1 + (2*T.v)/T.o)
 
This is the final equation when O2 connects to input 1, the result will be sent to the gas mixer
 
 
Secondly lets do Ratio.v
 
*Ratio.o = 1 - Ratio.v
 
now substitute this into the first equation
 
*(1-Ratio.v)/Ratio.v = T.o/(2*T.v)
 
After some algebra we get
 
*Ratio.v = 1 / (1 + T.o/(2*T.v))
 
To make it easier to look at, lets substitute T.o/(2*T.v) for k
 
*Ratio.v = 1 / (1 + k)
 
 
Now we will multiply with 100 to get a value between 0 and 100 which the gas mixer wants.
 
Now we will multiply with 100 to get a value between 0 and 100 which the gas mixer wants.
*gas mixer setting = 100 / (1 + T.o/(2*T.v))
+
*gas mixer setting = 100 * T.o/(2*T.v) / (1 + T.o/(2*T.v))
This is the final equation when H2 connects to input 1, the result will be sent to the gas mixer
+
This is our final equation and the one that the circuit will be calculating. The result will be sent to the gas mixer.<br>
 +
As mentioned above, this equation expects the O2 pipe to be connected to input 1. If we wanted the H2 pipe on input 1, we would have to solve for ratio.v above instead to get another equation. It's of course possible to be lazy and do ratio.v = 1 - ratio.o, but if you are going to be lazy consider that the extra processor will require 4g of metal and 10W of power, and mining and building power generation is work too!

Please note that all contributions to Unofficial Stationeers Wiki may be edited, altered, or removed by other contributors. If you do not want your writing to be edited mercilessly, then do not submit it here.
You are also promising us that you wrote this yourself, or copied it from a public domain or similar free resource (see Unofficial Stationeers Wiki:Copyrights for details). Do not submit copyrighted work without permission!

To edit this page, please answer the question that appears below (more info):

Cancel | Editing help (opens in new window)