Refinery

The Refinery is a building used for crafting recipes involving fluids. Most notably, this includes recipes transforming into, , or , but it is also used as part of advanced production recipes, such as refining  into  and then further into. It has one Pipeline and one Conveyor Belt connectors for both input and output, allowing for the production and consumption of recipes involving fluids and/or solid items.

The Refinery is noteworthy for producing byproducts as part of its process. For example, refining Crude Oil into Rubber produces, which must be dealt with, or else production of the primary output will stop.

Byproducts
A Refinery stops working if any of its output, whether the belt slot or the fluid slot is fully backed up if the recipe involves byproducts. To keep the refinery running, BOTH its products must be constantly removed from it.
 * To handle solid byproducts: Connect the Conveyor to an AWESOME Sink via a Smart Splitter with an 'Overflow' rule.
 * To handle fluid byproducts: Connect the Pipeline with a pipe overflow mechanism, then package the fluid with Empty Canisters. The packaged fluid can then be sent to the AWESOME Sink.
 * Heavy Oil Residue can be converted to Petroleum Coke, which is way faster than packaging and also doesn't consume any plastic.

Head lift
A Refinery has a recommended head lift of 10 meters, measured from the center of its pipe outlet.

Tips

 * Oil-product refining is a multistage process, and the uses of specific machines tend to change. A useful technique is to wrap a stack of belts and pipes up one side of a row of Refineries, around the far end and down the other side, with the output side of the Refineries facing toward the origin of the belt. This way, individual Refineries can be easily reconnected to different inputs and outputs, and any Refinery in the complex can draw from the output of any other.
 * Placing Refineries on the center of a 5-foundation-wide slab and running input/output manifolds through the center of the outermost foundations places them at the perfect distance to be reached by a Conveyor Lift or vertical Pipe branch.

History

 * Patch 0.3.6:
 * New visuals
 * Slightly smaller size (width from 12 m to 10 m and height from 30 m to 21 m), can now clip through part of the smokestack
 * Moved packaging and unpackaging recipes to the Packager
 * Existing Refineries will continue to work but it will not be possible to select the recipes on newly built ones
 * Diluted Packaged Fuel wasn't moved as it is not just a packaging recipe (Heavy Oil Residue is being refined to Fuel)
 * Unknown patch before Patch 0.3.5: Reduced power demand from 50 to 30 MW
 * Patch 0.3.1.0: Fixed position
 * Patch 0.3:
 * Renamed to Refinery.
 * Now is used to refine other fluids besides Crude Oil
 * Now can package and unpackage liquids
 * Some recipes now produce byproducts
 * Added a Pipeline in/output.
 * Patch 0.1.9: Adjusted alignments of input and output
 * Patch 0.1.5:
 * Changed crafting cost from 2 Heavy Modular Frame, 5 Motor, and 20 Cable to 4 Heavy Modular Frame, 8 Motor, and 25 Cable
 * Changed length and width from 22x13m to 20x12m