User:Abdiel Kavash/Pollution: Difference between revisions

Content deleted Content added
Line 211:
==== Pollution Scrubbers ====
 
The first pollution removal machine is the Pollution Scrubber. Note that much like many other single block machines they change name as they go higher in tiers (Pollution Scrubber -- Air Recycler -- Atmospheric Cleaner -- Biosphere Cleanser), they exist all the way up to UHV. The Pollution Scrubber requires three things to work:
* Power. The machine takes '''2A''' of the respective power tier to run.
* Turbine. The same kind of turbine rotor you would use in your gas or plasma turbines. Only three stats of the turbine are important: Efficiency, Optimal Steam flow, and Durability.
::There are also three Basic Turbines (Iron, Bronze, and Steel) that work specifically only in the Pollution Scrubber. Their stats are pretty bad, only use them if you need the scrubber ''really'' early on and can't afford proper turbines yet.
* Air Filter. Both the Tier 1 and the Tier 2 versions work, the only difference is their durability.
 
Both the turbine and the air filter will take damage while the scrubber is working, and both will eventually need to be replaced.
 
Additionally, the scrubber works faster if you expose more of its sides to open air. You probably can't manage 6 open sides since you have to run a cable to it ''somehow'', but you should aim to keep all five remaining sides open and facing an empty air block.
 
The math for how much pollution the scrubber removes is fairly complicated, I will explain it in detail below. If you just want to see for yourself, hover over the blue '''i''' icon in the top right of the scrubber's GUI while it is running. But be careful, '''the machine is lying to you'''. The actual amount of pollution it removes per second is '''half''' of the value you see. Also, if you scan the scrubber with a Portable Scanner, it tells you yet another value, which is also completely wrong. Half of the value that the GUI shows is the correct amount that the scrubber removes from its chunk every second.
 
The scrubber has two modes: high efficiency (default), and low efficiency. Toggle between the two modes by using a soldering iron on the machine. In low efficiency mode the amount of pollution removed per second is halved, but the turbine also takes half the damage (although the filter still takes the same amount of damage). In low efficiency mode the turbine will also never completely break, when its durability approaches zero the scrubber will stop working. You can use this if you figure out some way to repair the turbine.
 
Finally, starting from ZPM tier, the scrubber will also remove 1/4th of the normal amount from all 8 chunks directly and diagonally adjacent to the chunk it is working in. This comes as a free bonus, the removal from the working chunk is not affected.
 
 
:Detailed pollution scrubber math for nerds:
 
:<source>PollutionRemovedPerSecond =
FLOOR(
FLOOR(
(tier - 1) * airSides * efficiency * 10
) * (tier - 1) * airSides / 100
) * airFlow
</source>
 
:Where:
:* <code>PollutionRemovedPerSecond</code> is how much pollution the scrubber removes per second.
:* <code>tier</code> is the energy tier of the machine (LV = 1, MV = 2, ...) However, anything below MV is also considered tier 2, so that the formula doesn't just return zero. In other words, ULV, LV, and MV scrubbers all remove pollution at the same rate.
:* <code>airSides</code> counts how many sides of the machine are exposed to air. (0-6, good luck getting 6)
:* <code>efficiency</code> is the Efficiency value of the turbine. (150% efficiency = 1.5)
:* <code>airFlow</code> is the Air flow of the turbine. For ''almost'' all turbine materials this is equal to the Optimal Steam flow value in L/t that is shown in the tooltip. Only a handful of uncommon materials (the only really notable being Ichorium) get a specific bonus to Steam flow, which is not applied to Air flow. To my knowledge Air flow is not shown anywhere in game, you would have to dig through the code to find out.
:* <code>FLOOR</code> is the integer floor function. (<code>FLOOR(1.9) = 1</code>)
 
:Ignoring rounding, this simplifies to approximately:
 
:<source>PollutionRemovedPerSecond = (tier - 1)^2 * airSides^2 * efficiency * airFlow / 10</source>
 
:But note that the rounding error can be fairly large because the rounding is performed on small values in practice.
 
:As noted above, a scrubber running in low efficiency mode will remove half the <code>PollutionRemovedPerSecond</code> value every second, and a ZPM scrubber or better will also remove <code>PollutionRemovedPerSecond / 4</code> (or <code>/ 8</code> in low efficiency mode) from the eight directly and diagonally adjacent chunks.
 
Finally, just a small quirk of the scrubber: It will never remove more than half of the current pollution from a chunk in one operation. So when the pollution in the chunk becomes really low (less than twice the <code>PollutionRemovedPerSecond</code> value), the scrubber will remove less and less of it with every operation. But it will still damage the turbine and the filter at the same rate. If this is a problem for you, consider using a Pollution Detector to shut the scrubber down when pollution level gets low.
 
=== Air Filters ===