Fluid system
Fluids are non-solid items, such as water and oil.
Mechanics
Fluids can only exist inside pipes and certain buildings, meaning they cannot be carried by the player, moved using inserters, dropped on the ground, or even dumped in a lake. They are counted in continuous fractions, rather than discrete integers. Liquids can be silently destroyed by removing buildings or pipes. Only one type of fluid can occupy a pipe at a time. Two fluids will never mix.
Fluids can be transported by piping, barrels, or fluid wagons.
Pressure
Here "pressure" = current_fluid_level / max_amount.
The pressure of a fluid in a pipe can be seen through the pipe window. A pipe with high pressure will show itself nearly full, a pipe with low pressure will show a small trickle of the fluid.
When two neighboring containers (pipes or fluid storage) store the same fluid at different pressure, some of the content of the fuller container will move into the less filled one. The speed of this transfer depends on the difference in pressure.
Fluids do not flow out of a building's input tile or into its output tile. Pumps partially override pressure, putting all their content into their output tile.
Volume
In the game, fluid is held in fluid boxes with a defined size (equivalent to volume). Connected fluidboxes allow fluids to flow between them. For instance, each pipe is a 1x1 fluid box with a connection in each direction.
The volume of fluid contained in a fluid box is value between 0 and the fluidbox size, so for instance the pipe can hold 100 Units of fluid, so the value in the fluid box can be any number between 0 and 100.
Temperature
Work contained in fuel is converted by the boilers or heat exchangers to steam, which is just a liquid form of work. This steam holds energy at ratio of
0.2 kJ per °C per Unit
In other words: 0.2 kJ of work is necessary to heat water by one °C.
Since steam/water is set to have a maximum temperature of 500°C and minimum of 15°C, the most work that can be in an unit of water is 97 kJ.
Types
Water | Can be extracted from water using the offshore pump. |
Steam | Water heated in a boiler or heat exchanger. Mainly used to produce power. |
Crude Oil | Extracted from oil fields by Pumpjacks and can be converted to Petroleum gas, Light Oil, and Heavy Oil. |
Petroleum Gas | Converted from Crude Oil. Used to create various items. |
Light Oil | Converted from Crude Oil. Used to create various items. Can be converted into Petroleum Gas. |
Heavy Oil | Converted from Crude Oil. Can be converted to Light Oil and Lubricant. |
Sulfuric Acid | Converted from Sulfur, Iron Plates, and Water. Can be used to create various items. |
Lubricant | Converted from Heavy Oil. Used mainly to create Express transport belts and Engines. |
Machines
Oil refinery | Converts Crude oil into Heavy oil, Light oil, and Petroleum gas. |
Chemical plant | Changes liquid to other forms as well as crafting some recipes that require liquids. |
Pumpjack | Extracts Crude oil from Oil fields. |
Boiler | Creates 165°C steam when fueled. |
Heat exchanger | Creates 500°C steam when heated using a nuclear reactor. |
Steam engine | Uses steam to generate electricity. |
Steam turbine | Uses steam to generate electricity. |
or | Puts liquids into or out of barrels. |
Piping
Piping is the most common way to move liquids in factorio.
Key entities used in piping and general fluid handling:
Pipe | Used to direct the flow of liquids. |
Pipe-to-ground | Used to cross other pipes or belts. |
Storage tank | Stores liquids for later use. |
Offshore pump | Provides Water extracted from a water tile. |
Pump | Moves fluids in the direction of the arrow. Prevents fluid from moving in the opposite deirection. |
History
Water was the first fluid to be added to the game. In version 0.9 the oil processing system, and therefore new fluids, including crude oil and petroleum gas, were added.