User:Abdiel Kavash/Pollution: Difference between revisions

Content deleted Content added
Line 256: Line 256:
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>PollutionRemoved</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.
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>PollutionRemoved</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.


[[File:Electric Air Filter T1.png|thumb|right|alt=A complete structure of the Electric Air Filter T1 multiblock, shown with one energy hatch, an input and output bus, maintenance hatch, and four muffler hatches on the sides.|Electric Air Filter T1 multiblock.]]
=== Air Filters ===

==== Electric Air Filters ====

The ultimate answer to all your pollution removal is the '''Electric Air Filter''' (EAF) multiblock. The multiblock comes in three tiers: T1 is available in LV, T2 in HV, and T3 in IV. Each tier increases the working range of the filter and pollution removal speed. Different EAF tiers also consume different amounts of power:
* Electric Air Filter T1 consumes 30 EU/t (LV).
* Electric Air Filter T2 consumes 480 EU/t (HV).
* Electric Air Filter T3 consumes 7,680 EU/t (IV).
''These values aren't listed anywhere, you can find them by scanning the EAF controller, or by reading the code.'' If you fail to provide sufficient power, the EAF will shut down, like any other multiblock.

The EAF requires a Turbine rotor to run, which should be placed in the controller's GUI. The only stat of the turbine that matters is its Efficiency. Unlike the single block Scrubbers, the Air Filter ''does not damage the turbine'' at all. This seems to be ''intended'', I have found no trace of any code that attempts to damage the turbine in any way.<ref>https://github.com/GTNewHorizons/NewHorizonsCoreMod/blob/master/src/main/java/com/dreammaster/gthandler/multiAirFilter/GT_MetaTileEntity_AirFilterBase.java</ref> You can make your turbine as efficient as you can, regardless of material cost, and never have to worry about replacing it!

In addition to the turbine efficiency, the rate of pollution cleaning can be increased in multiple ways:
* Adding more muffler hatches. The multiblock can house up to eight muffler hatches in the middle two blocks of each side (see picture). Every hatch increases the pollution cleaning efficiency, there should never be any reason to build it with fewer than eight.
* Using higher tier muffler hatches. However, the highest "effective" tier of a muffler hatch is the same as the power tier you use to run the EAF. For example, run the EAF on HV, even if you have IV mufflers, they will still only count as HV.
::However, since the EAF does not overclock, regardless of the tier of energy hatches, it will ''always draw the same amount of power!''
* Using an '''Absorption Filter'''. Note that this is ''a different item'' from the '''Air Filter [Tier '''x''']''' that is used in the single block Pollution Scrubbers. Clean Absorption Filters should be placed in an input bus, and the multiblock will eventually output dirty ones in an output bus.


''Do not throw away the dirty filters!'' You can clean them in a Centrifuge, with a high chance of getting a clean filter back! Starting in EV, the return is guaranteed, so filters can be completely recycled without ever having to make new ones. Plus you also get some carbon and liquid pollution back, which can be processed into a few semi-common materials if you'd like.

Using an Absorption Filter ''doubles'' the amount of pollution that the EAF removes per second, so it is definitely worth it! One filter lasts in the EAF for 300 seconds of continuous operation (30 "work cycles", where each lasts for 10 seconds).


If you want to know how much pollution your Air Filter removes, use a Portable Scanner on the controller. Note that the value you will see is pollution removed ''per tick'', if you want the value per second multiply it by 20. (But at least this time the value is actually correct.)

If you would like to know before you build the multiblock, see below:

:<source>PollutionRemoved =
30
* tierBonus
* efficiency
* ( FLOOR( 2.5^hatchTier_1 ) + FLOOR( 2.5^hatchTier_2 ) + ... + FLOOR( 2.5^hatchTier_n ) )
* (1 - 0.1 * issues)
</source>

:Where:
:* <code>PollutionRemoved</code> is the amount of pollution that the EAF removes from a chunk every second.
:* <code>tierBonus</code> depends on the tier of the EAF: for T1 the bonus is 1, for T2 it is 1.05, and for T3 it is 1.1.
:* <code>efficiency</code> is the Efficiency value of the turbine placed in the controller.
:* <code>hatchTier_i</code> is the tier of the <code>i</code>-th muffler hatch, for all mufflers in the multiblock structure (LV = 1, MV = 2, ...) Remember that a muffler can only count as a tier equal or lower than the power tier the EAF is running at.
::* If you simply use <code>n</code> identical muffler hatches, you can replace this term in the equation by just <code>n * FLOOR( 2.5^hatchTier )</code>.
:* <code>issues</code> is the number of maintenance issues the multiblock has. If it is running without any issues, the last factor is just 1 and you can leave it out.
:* <code>FLOOR</code> is the integer floor function. (<code>FLOOR(1.9) = 1</code>)

:As noted above, if the EAF is holding an Absorption Filter, then <code>PollutionRemoved</code> is further multiplied by 2.

:'''''Example:''''' ''An Electric Air Filter T2 is running on HV power, and has 8 HV muffler hatches. It is using a Vibrant Alloy Turbine (115% efficiency) and is supplied with Absorption Filters. The amount of pollution removed per second is: <code>30 * 1.05 * 1.15 * 8 * FLOOR( 2.5^3 ) * 2 = 8,694</code>. This is enough to keep up with the pollution generated by 21 Electric Blast Furnaces!''


The EAF can clean pollution in a large area, which increases with its tier: T1 works on 3x3 chunks, T2 on 5x5, and T3 on 7x7. If you would like to constrain the machine to work in a smaller area, shift-right-click the controller with a screwdriver.

Every second, the EAF picks one chunk in its working area. By default, the chunks are chosen in a fixed sequence and the EAF sweeps the entire working area over and over. If you wish, you can change it to pick chunks from the working area at random by right-clicking (without shift) the controller with a screwdriver. The random mode never picks chunks that have no pollution in them. Sequential mode always considers all chunks. Therefore if only a few chunks in the area have any pollution, random mode will get them cleaned faster. Either way, pollution in the chosen chunk gets reduced by the <code>PollutionRemoved</code> amount calculated above.


== Commands ==
== Commands ==