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 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 be incorrect.
  
 
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.
 
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.
Line 33: Line 33:
 
'''Extra:'''
 
'''Extra:'''
 
*If the O2 pipe connects to input 1 (the side) instead, the equation to use is
 
*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)
+
**gas mixer setting = 100 * ( Temp.oxygen / (2*Temp.volatiles) ) / ( (1 + Temp.oxygen / (2*Temp.volatiles)) )<br>
**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 170W on standby and 270W while mixing fuel
Line 77: Line 76:
 
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.
 
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)
+
*gas mixer setting = 100 * T.o/(2*T.v) / (1 + T.o/(2*T.v))
 
This is the final equation when O2 connects to input 1, the result will be sent to the gas mixer
 
This is the final equation when O2 connects to input 1, the result will be sent to the gas mixer
  
Line 94: Line 87:
 
*Ratio.v = 1 / (1 + T.o/(2*T.v))
 
*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
 
To make it easier to look at, lets substitute T.o/(2*T.v) for k
*Ratio.v = 1 / (1 + k)
+
*Ratio.o = 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 / ( 1 + Temp.oxygen/(2*Temp.volatiles) )
 
This is the final equation when H2 connects to input 1, the result will be sent to the gas mixer
 
This is the final equation when H2 connects to input 1, the result will be sent to the gas mixer
 +
 +
As it turns out, the Ratio.v equation is shorter and choosing that one means one less math operation.

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)