Difference between revisions of "Temperature independent fuel mixing"
From Unofficial Stationeers Wiki
m |
m |
||
Line 3: | Line 3: | ||
This setup measures the total fuel pressure and the ratio of oxygen in the fuel mixture, these values are then multiplied to calculate the partial oxygen pressure which is directly linked to the amount of moles of oxygen in the mixture. This also gives control over the total pressure (which is tripple the partial pressure in a 2:1 mixture) which helps with safety. Volatiles are added automatically whenever the ratio of oxygen in the fuel mix becomes too high. | This setup measures the total fuel pressure and the ratio of oxygen in the fuel mixture, these values are then multiplied to calculate the partial oxygen pressure which is directly linked to the amount of moles of oxygen in the mixture. This also gives control over the total pressure (which is tripple the partial pressure in a 2:1 mixture) which helps with safety. Volatiles are added automatically whenever the ratio of oxygen in the fuel mix becomes too high. | ||
− | If so desired, one can add a single logic processer to this setup to let the player insert the desired total pressure instead | + | If so desired, one can add a single logic processer to this setup to let the player insert the desired total pressure instead. Simply replace the B2 memory with 1 math multiplier (B2a) and 1 memory (B2b), then have B2a multiply the desired total pressure (set with B2b) with the desired oxygen ratio (B5), and let B1 compare B2a vs. A3 instead. New wires must also be added to connect all these parts together. |
A problem with this setup is that it will continue to add oxygen even if the volatile storage is empty, which will ruin the fuel ratio. This can be fixed either by adding a valve (infront of the volume pumps so it doesn't blow the pipe) for manual control of the oxygen flow, or by adding circuits to shut it off. | A problem with this setup is that it will continue to add oxygen even if the volatile storage is empty, which will ruin the fuel ratio. This can be fixed either by adding a valve (infront of the volume pumps so it doesn't blow the pipe) for manual control of the oxygen flow, or by adding circuits to shut it off. | ||
Line 18: | Line 18: | ||
*1 Pipe Analyzer (requires electrum) | *1 Pipe Analyzer (requires electrum) | ||
− | [[File:Temperature independent fuel mixing.jpg|thumb|Example of how to place the circuit in a location where it | + | [[File:Temperature independent fuel mixing.jpg|thumb|Example of how to place the circuit in a location where it's easy to blow it up]] |
'''Setup''' | '''Setup''' | ||
#Connect volume pumps from O2/H2 respectively leading towards the fuel side | #Connect volume pumps from O2/H2 respectively leading towards the fuel side | ||
Line 38: | Line 38: | ||
'''Notes''' | '''Notes''' | ||
− | * | + | *Don't mix fuel near critical infrastructure. |
*For safety, set the desired partial oxygen pressure to 2000 max, the total pressure will be tripple this value in kPa. | *For safety, set the desired partial oxygen pressure to 2000 max, the total pressure will be tripple this value in kPa. | ||
*If the system runs out of volatiles, the fuel mix will still be fed oxygen. | *If the system runs out of volatiles, the fuel mix will still be fed oxygen. | ||
Line 57: | Line 57: | ||
V(O2)/V(H2) = 2 * P(H2)/T(H2) * T(O2)/P(O2) | V(O2)/V(H2) = 2 * P(H2)/T(H2) * T(O2)/P(O2) | ||
− | calculate the volume ratio and set the highest volume number to 100 (assuming that the max value for a volume pump is 100L) | + | calculate the volume ratio and set the highest volume number to 100 (assuming that the max value for a volume pump really is 100L) |
Revision as of 08:06, 24 March 2021
When fuel is mixed in a Pipe Gas Mixer, the obtained ratio can be wrong if the gases had different temperatures. By using volume pumps and some logic circuits, the correct 2:1 fuel mix can still be obtained without waiting for the temperature to equalize.
This setup measures the total fuel pressure and the ratio of oxygen in the fuel mixture, these values are then multiplied to calculate the partial oxygen pressure which is directly linked to the amount of moles of oxygen in the mixture. This also gives control over the total pressure (which is tripple the partial pressure in a 2:1 mixture) which helps with safety. Volatiles are added automatically whenever the ratio of oxygen in the fuel mix becomes too high.
If so desired, one can add a single logic processer to this setup to let the player insert the desired total pressure instead. Simply replace the B2 memory with 1 math multiplier (B2a) and 1 memory (B2b), then have B2a multiply the desired total pressure (set with B2b) with the desired oxygen ratio (B5), and let B1 compare B2a vs. A3 instead. New wires must also be added to connect all these parts together.
A problem with this setup is that it will continue to add oxygen even if the volatile storage is empty, which will ruin the fuel ratio. This can be fixed either by adding a valve (infront of the volume pumps so it doesn't blow the pipe) for manual control of the oxygen flow, or by adding circuits to shut it off. Another issue is that tweaking the memory values while the system is running can cause the fuel tank to overpressurize and burst, keep suspects with screwdrivers away from the area.
Components
- Gas pipes
- Gas storage
- Wires
- 4 Logic I/O
- 3 Logic Processor
- 2 Logic Memory
- 2 Volume pumps
- 1 Pipe Analyzer (requires electrum)
Setup
- Connect volume pumps from O2/H2 respectively leading towards the fuel side
- Connect the pipe analyzer on the fuel side
- Optional: Use a Power Area Control or Transformer to isolate the logical components to their own network. This also makes it easy to shut off the system.
- Place logical components
- A1: Reader for pipe analyzer, total pressure (in KPa)
- A2: Reader for pipe analyzer, ratioOxygen (between 0 and 1)
- A3: Math multiplier, A1*A2 (this is the partial oxygen pressure in the fuel tank)
- B1: Compare, B2 vs. A3, greater
- B2: Memory, 2000 (desired partial oxygen pressure, 3x this will be the total pressure)
- B3: Writer for Oxygen volume pump, on
- B4: Compare, A2 vs. B5, greater
- B5: Memory, 0.334 (use Labeller to set this value)
- B6: Writer for Volatiles volume pump, on
Notes
- Don't mix fuel near critical infrastructure.
- For safety, set the desired partial oxygen pressure to 2000 max, the total pressure will be tripple this value in kPa.
- If the system runs out of volatiles, the fuel mix will still be fed oxygen.
- If the system runs out of oxygen, the system will stop adding volatiles.
- Give volume pumps a 1:2 ratio on their values, this reduces errors in the fuel mix when the system is rebalancing.
- Power use 120 W on standby
Using an IC 10
If an IC 10 is used to control the fuel mixing, the formula PV=nRT can be used to manipulate the setting on the volume pumps to get a 2:1 ratio directly. This will speed up the fuel making considerable since large flows can be handled with high accuracy. The required formula can made by setting up one expression for H2 and one for O2, solve both for n, then combine the two expressions and cancel out R. We know that we need twice the amount of H2, so the expression will become:
n=PV/(RT) -> 2 PV/T (volatiles) = PV/T (oxygen)
2 * P(H2)*V(H2)/T(H2) = P(O2)*V(O2)/T(O2)
solve for the volume ratio, since that is what the volume pump can control
V(O2)/V(H2) = 2 * P(H2)/T(H2) * T(O2)/P(O2)
calculate the volume ratio and set the highest volume number to 100 (assuming that the max value for a volume pump really is 100L)