Description
Mixed Mining
This is an advanced multi-ore mining block for Brian's Self-Building Mega-Factory (SBF). This design starts from that book's Mine blueprint, copying its multi-ore LTN provider station.
Mixed Mining provides all mined ores continuously. There are blueprints for mining with and without fluids. Mined uranium ore is routed to a dedicated 4-wagon provider station.
Structure
The mine is composed of thousands of electric mining drills working in groups of 4. This splits the block into hundreds of small patches which allows the block to control which ores get mined.
Each drill group shares a short primary belt (yellow) which empties into a secondary belt (blue) through a splitter. In the Wet Mining block, this junction is rate-limited when the blue belts are full so that each drill group is able to contribute. This helps prevent uranium shortages when that ore is farthest upstream from the station, at the cost of UPS.
There are 15 secondary belts (blue) bringing ores downstream to the station. In the wet/dry blueprint, splitters at the end of the secondary belts push uranium onto dedicated belts which terminate at the 4-wagon station. The remaining ore is loaded into the 8-wagon station at a rate of up to 8 blue belts.
The dry mining block's secondary belts run in pairs that are combined into single belts at the end. In case any of the 8x8 balancer inputs are running dry, you can re-route the second half of any backed-up belt pairs into those empty inputs to improve throughput.
Wet Mining
Uranium mining is enabled by a network of pipes and a station requesting sulfuric acid. The drills are never used as pipes. Each drill is served directly by a pipe. There is no need to manually fix up the block after construction.
The fluid network can hold over 500k fluid (40 wagon loads!) even before considering what the drills can hold. So it's going to request a lot of acid. But don't worry! It won't go to waste. The wet drills can suck those pipes dry.
Control Logic
Back on the primary belts (yellow), just before the splitter, there is a wire reading the yellow belt's contents and enabling the belt when everything <= 10. Since the belt is stopped whenever anything > 10, we can stop a coal-producing group of drills by putting coal:10 on the wire. When coal on belt AND coal:10 on wire, the belt is disabled and the coal sits there--along with any other ores that happen to be produced in that small patch--until coal:10 goes away.
Wet Mining has an additional set of signals that can stop a primary belt. This is used to even out the contribution of ores from different groups, preventing the closest groups from doing the majority of the mining and allowing the more distant ores to reach the station. The signals 1-6 are used for this. They are emitted by the race track in the middle of the station. They use the same logic as above: when any signal's value exceeds 10, the yellow belt is disabled.
Each drill group is assigned a number from 1 to 6. A combinator adds the sum of the blue belt's contents to the value of the assigned signal coming from the block. The block keeps these signals at a value of 4 for 95% of the time. The value drops to 0 for 5% of the time, with each numbered signal dropping at a different interval. When the blue belt has 6 or fewer ore, the sum is not greater than 10 and the yellow belt is enabled. When the blue belt has 7 or 8 ore on it, the total exceeds 10 and the yellow belt is stopped for 95% of the time. The effect is that downstream drill groups are only allowed to contribute 5% to the splitter's output.
Supply Management
The block has a storage quota for each type of ore. When the station reaches its quota of any ore, the primary belts supplying that ore are stopped until that ore falls below quota again.
This block is reliable. It keeps providing at all times, regardless of demand, and always produces more of whatever is in demand. When some resources are in low demand it is common to see them stay above their quotas. This leaves more space on the belts which results in faster production of the high-demand ores.
Ore Quotas
96 steel chests can hold 230,400 ore in stacks of 50. For each ore produced by the mine, the block reserves an equal fraction of 160k. The quota is therefore 40k (2.5 loads) when all 4 dry ores are produced. This leaves about 70k of slack space to accommodate the ores that were already on the secondary belts before the quota was met.
Power Management
To save power, the block disconnects drill power whenever all of its quotas are met or its accumulator drops below 50%.
Construction requires powered roboports. A switch wired to the construction site keeps the power connected until construction is complete.
Information Display
Colored lamps indicate the status of each ore.
- PROD is lit when the mine has produced that ore. The color cycles through white and cyan at one cycle per 100 ore produced.
- Train loads of each ore ready for pickup are indicated by green lights.
- FULL is lit red when the quantity of ore in the station exceeds the quota.