Preface
I believe many friends who play Greg for the first time find the automation of flocculated water troublesome, so I wrote this article as a modest spur to induce others to come forward with valuable contributions. Generally speaking, there are two ways to automate flocculated water — sequence control and state control. Here we use stable state control, avoiding the annoying problem of having to manually reset the sequence after a major power outage in sequence control.
Achievement Display
Introduction to Principles
For those who want to directly copy the homework, you can go straight to the setup tutorial.
The advanced active state detector will emit a uniform redstone signal strength of 0~15 according to the recipe completion progress, with 0 in standby.
A redstone comparator is used to compare the set strength with the real-time strength.
Hereinafter, the output signal of the advanced active state detector is referred to asreal-time intensity, the input signal at the side input of the redstone comparator is calledset intensity.
After the pulse gate receives a redstone signal, it emits a short pulse.
As shown in the figure, the lever simulates the real-time strength of the cover plate. In the comparison mode of the redstone comparator, output = main input × [max(side input) ≤ main input]. In plain terms, when the real-time strength is greater than or equal to the set strength, it outputs the main input strength; otherwise it outputs 0. After the comparator outputs a redstone signal, a pulse gate emits a one-shot pulse, activating the ME input bus, thereby inputting 1kB of polyaluminium chloride. When the pulse ends, the ME input bus is closed, thus automating the flocculated water. Based on the main pack's feel, setting the strength to 13 gives a better experience; at that point the purified water runs to about 112s, avoiding the waste caused by early dosing as much as possible.
Building Tutorial from Scratch
Prepare materials
Advanced Active State Detector
Machine Control Overlay
Pulse Gate (More Red)
Redstone Comparator
Redstone Torch
Redstone Dust
Set up the device as shown in the figure, place the cover plate, and set the signal for the machine to control the cover plate to reverse.
Then place the redstone comparator and pulse gate. Note that the pulse gate here should face toward the input port. The main package uses a setting strength of 13; if you want to decide at which second to feed materials, you can set it yourself based on the formula.
Feeding time = 8 * Set intensity
Finally, connect the AE cable. On the first startup, toggle the input hatch once to input 1kB of polyaluminum chloride; after that, it's fully automatic—even a power outage won't require a manual reset. The flocculated waste liquid produced can be recovered by building two distillation towers on top, giving a 99% recovery rate for the aluminum chloride. Note that you need to recover enough aluminum chloride (>1kB) during the interval period! Otherwise, the next cycle will have a reduced success rate due to insufficient aluminum chloride. It is recommended to store 5kB in the network as backup.