In other languages: Čeština Deutsch Polski Русский Українська 简体中文

Oil processing: Difference between revisions

From Official Factorio Wiki
Jump to navigation Jump to search
(Changed links going to the redirect Tutorial:Circuit-network_Cookbook to go to Tutorial:Circuit network cookbook.)
(Removed misleading note on oil min yield)
(16 intermediate revisions by 10 users not shown)
Line 7: Line 7:
{|class="wikitable"
{|class="wikitable"
|-
|-
! Process !! Input !! Output !! Machine !! Required technology
! Process !! Input !! Output !! Machine !! Required technology !! Internal name
|-
|-
| {{Icon|Basic oil processing||}} Basic oil processing || {{icon|time|5}} + {{Icon|Crude oil|100}} || {{Icon|Heavy oil|30}} + {{Icon|Light oil|30}} + {{Icon|Petroleum gas|40}} || {{Icon|Oil refinery}} || {{icontech|Oil processing (research)|}} [[Oil processing (research)|Oil processing]]
| {{Icon|Basic oil processing||}} Basic oil processing || {{icon|time|5}} + {{Icon|Crude oil|100}} || {{Icon|Petroleum gas|45}} || {{Icon|Oil refinery}} || {{icontech|Oil processing (research)|}} [[Oil processing (research)|Oil processing]] || basic-oil-processing
|-
|-
| {{Icon|Advanced oil processing||}} Advanced oil processing || {{icon|time|5}} + {{Icon|Crude oil|100}} + {{icon|water|50}} || {{Icon|Heavy oil|10}} + {{Icon|Light oil|45}} + {{Icon|Petroleum gas|55}} || {{Icon|Oil refinery}} || {{icontech|Advanced oil processing (research)|}} [[Advanced oil processing (research)|Advanced oil processing]]
| {{Icon|Advanced oil processing||}} Advanced oil processing || {{icon|time|5}} + {{Icon|Crude oil|100}} + {{icon|water|50}} || {{Icon|Heavy oil|25}} + {{Icon|Light oil|45}} + {{Icon|Petroleum gas|55}} || {{Icon|Oil refinery}} || {{icontech|Advanced oil processing (research)|}} [[Advanced oil processing (research)|Advanced oil processing]] || advanced-oil-processing
|-
|-
| {{Icon|Heavy oil cracking||}} Heavy oil cracking || {{icon|time|3}} + {{Icon|Heavy oil|40}} + {{icon|water|30}} || {{Icon|Light oil|30}} || {{Icon|Chemical plant}} || {{icontech|Advanced oil processing (research)|}} [[Advanced oil processing (research)|Advanced oil processing]]
| {{Icon|Heavy oil cracking||}} Heavy oil cracking || {{icon|time|2}} + {{Icon|Heavy oil|40}} + {{icon|water|30}} || {{Icon|Light oil|30}} || {{Icon|Chemical plant}} || {{icontech|Advanced oil processing (research)|}} [[Advanced oil processing (research)|Advanced oil processing]] || heavy-oil-cracking
|-
|-
| {{Icon|Light oil cracking||}} Light oil cracking || {{icon|time|3}} + {{Icon|Light oil|30}} + {{icon|water|30}} || {{Icon|Petroleum gas|20}} || {{Icon|Chemical plant}} || {{icontech|Advanced oil processing (research)|}} [[Advanced oil processing (research)|Advanced oil processing]]
| {{Icon|Light oil cracking||}} Light oil cracking || {{icon|time|2}} + {{Icon|Light oil|30}} + {{icon|water|30}} || {{Icon|Petroleum gas|20}} || {{Icon|Chemical plant}} || {{icontech|Advanced oil processing (research)|}} [[Advanced oil processing (research)|Advanced oil processing]] || light-oil-cracking
|-
|-
| {{Icon|Coal liquefaction||}} Coal liquefaction || {{icon|time|5}} + {{icon|coal|10}} + {{Icon|Heavy oil|25}} + {{icon|steam|50}} || {{Icon|Heavy oil|35}} + {{Icon|Light oil|15}} + {{Icon|Petroleum gas|20}} || {{Icon|Oil refinery}} || {{icontech|coal liquefaction|}} [[Coal liquefaction (research)|Coal liquefaction]]
| {{Icon|Coal liquefaction||}} Coal liquefaction || {{icon|time|5}} + {{icon|coal|10}} + {{Icon|Heavy oil|25}} + {{icon|steam|50}} || {{Icon|Heavy oil|90}} + {{Icon|Light oil|20}} + {{Icon|Petroleum gas|10}} || {{Icon|Oil refinery}} || {{icontech|coal liquefaction|}} [[Coal liquefaction (research)|Coal liquefaction]] || coal-liquefaction
|}
|}


== Setting up oil processing ==
== Setting up oil processing ==
[[Pumpjack]]s need to be placed on top of the middle of the oil well, which is highlighted with a green box when the pumpjack is held. Pumpjacks produce a certain amount of [[Crude oil]] per second, shown on the right, at the bottom of the information panel. Over time this value will decrease down to a minimum of 2 oil/s, so a pumpjack will provide unlimited oil but eventually at a very low rate.
[[Pumpjack]]s need to be placed on top of the middle of the oil well, which is highlighted with a green box when the pumpjack is held. Pumpjacks produce a certain amount of [[Crude oil]] per second, shown on the right, at the bottom of the information panel.


Crude oil must be refined in an [[oil refinery]]. The oil refinery needs to have a recipe set (see above for available recipes). Once it is set and "alt-mode" is active, the input and output locations and the expected fluids are shown. The locations of these cannot be changed, only the entire machine can be rotated. The refinery will stop production of all products if one product output is full, so it should be ensured that the products are transported out of the refinery; any products that cannot be used should be (temporarily) stored in a [[storage tank]].
Crude oil must be refined in an [[oil refinery]]. The oil refinery needs to have a recipe set (see above for available recipes). Once it is set and "alt-mode" is active, the input and output locations and the expected fluids are shown. The locations of these cannot be changed, only the entire machine can be rotated.


Once the process finishes, the player will be left with 3 products: [[heavy oil]], [[light oil]] and [[petroleum gas]]. Both heavy oil and light oil can be cracked to the next lower type in a [[chemical plant]] (recipe above). This is useful if the player has an abundance of one product, but is lacking another (a common problem).
Advanced oil processing and coal liquefaction produce multiple fluids: [[heavy oil]], [[light oil]] and [[petroleum gas]]. The refinery will stop production of all products if one product output is full, so it should be ensured that the products are transported out of the refinery; any products that cannot be used should be (temporarily) stored in a [[storage tank]]. Furthermore, both heavy oil and light oil can be cracked to the next lower type in a [[chemical plant]] (recipe above). This is useful if the player has an abundance of one product, but is lacking another (a common problem).


=== Tips ===
=== Tips ===
* The [[circuit network]] can be used to easily control how much fluid gets used for each recipe, to ensure that the player always has enough. For examples on how to do this, see the [[Tutorial:Circuit network cookbook#Oil_Setups|circuit-network cookbook]].
* The [[circuit network]] can be used to easily control how much fluid gets used for each recipe, to ensure that the player always has enough. For examples on how to do this, see the [[Tutorial:Circuit network cookbook#Oil_Setups|circuit-network cookbook]].
* If you run your heavy oil pipe from the refineries past a lubricant-making chemical plant before sending it to the cracking chemical plants, you can be sure that the lubricant production will have priority over cracking.
* If you run your heavy oil pipe from the refineries past a lubricant-making chemical plant before sending it to the cracking chemical plants, you can be sure that the lubricant production will have priority over cracking.
* Solid fuel is most efficient when created from light oil. If the player has too much heavy oil, cracking it to light oil then making it into fuel is more efficient than making heavy oil into fuel directly.
* [[Solid fuel]] is most efficient when created from light oil. If the player has too much heavy oil, cracking it to light oil then making it into fuel is more efficient than making heavy oil into fuel directly.


=== Transporting fluids ===
=== Transporting fluids ===
Line 37: Line 37:
* [[Pipe]]s
* [[Pipe]]s
* [[Fluid wagon]]s
* [[Fluid wagon]]s
* Loading the fluids into [[Barrel]]s and transporting them by [[Railway]] or the [[Logistic network]]
* Loading the fluids into [[Barrel]]s and transporting them by [[Railway]], [[Transport belts]], or the [[Logistic network]]


== Optimal Ratios ==
== Optimal Ratios ==
Line 44: Line 44:
=== Petroleum gas production ===
=== Petroleum gas production ===


For producing petroleum gas, the optimal advanced oil processing ratio is 25:3:21 (advanced oil processing : heavy oil cracking : light oil cracking). Simpler ratios are possible that are most likely close enough, such as 8:1:7. Using coal liquefaction, the ratio is 25:3:9 (coal liquefaction : heavy oil cracking : light oil cracking), and 8:1:3 is close enough.
For producing petroleum gas, the optimal advanced oil processing ratio is 20:5:17 (advanced oil processing : heavy oil cracking : light oil cracking), and 8:2:7 is close enough. Using coal liquefaction, the ratio is 60:39:55 (coal liquefaction : heavy oil cracking : light oil cracking), and 12:8:11 is close enough.
 
One refinery running basic oil processing produces 9 petroleum gas per second. One refinery running advanced oil processing combined with one of each oil cracking chemical plant produces 19.5 petroleum gas per second in total. One refinery running coal liquefaction combined with one of each oil cracking chemical plant produces close to 11.2 petroleum gas per second in total (taking into consideration the recycling of the heavy oil).


The refining can be sped up with [[module]]s; to prevent jams or inactive buildings it is recommended to speed everything up evenly. When slowing the process down (by using [[productivity module]]s) you are better off experimenting on altering the ratio or the speed on certain buildings, since the default ratios given above only hold if all the structures involved run at the same speed and have 100% productivity (in other words, no bonuses).
The refining can be sped up with [[module]]s; to prevent jams or inactive buildings it is recommended to speed everything up evenly. When slowing the process down (by using [[productivity module]]s) you are better off experimenting on altering the ratio or the speed on certain buildings, since the default ratios given above only hold if all the structures involved run at the same speed and have 100% productivity (in other words, no bonuses).
Calculating the optimal ratios is relatively challenging, since not all of the durations of the processes are the same (the crafting speed of a chemical plant is 1.25, but the refinery's is 1.0). If this were not taken into account, it would lead to (temporarily) inactive buildings, which is not optimal. The table below shows examples of these calculations for various module configurations.


{| class="wikitable mw-collapsible mw-collapsed" style="text-align: center;"
{| class="wikitable mw-collapsible mw-collapsed" style="text-align: center;"
Line 71: Line 71:
|-
|-
! style="text-align: left;" | Heavy oil output
! style="text-align: left;" | Heavy oil output
| 10 || 10 || 10 ||  
| 25 || 25 || 25 ||  
|-
|-
! style="text-align: left;" | Light oil output
! style="text-align: left;" | Light oil output
Line 95: Line 95:
|-
|-
! style="text-align: left;" | Total Heavy oil output
! style="text-align: left;" | Total Heavy oil output
| 2 || 11.83 || 22.23 || per second
| 5 || 29.575 || 55.575 || per second
|-
|-
! style="text-align: left;" | Total Light oil output
! style="text-align: left;" | Total Light oil output
Line 112: Line 112:
|-
|-
! style="text-align: left;" | Crafting speed
! style="text-align: left;" | Crafting speed
| 3 || 3 || 3 || s / final item
| 2 || 2 || 2 || s / final item
|-
|-
! style="text-align: left;" | Light oil output
! style="text-align: left;" | Light oil output
Line 118: Line 118:
|-
|-
! style="text-align: left;" | Base machine crafting speed
! style="text-align: left;" | Base machine crafting speed
| 1.25 ||1.25 || 1.25 || crafts / s
| 1 || 1 || 1 || crafts / s
|-
|-
! style="text-align: left;" | Crafting speed multiplier
! style="text-align: left;" | Crafting speed multiplier
Line 127: Line 127:
|-
|-
! style="text-align: left;" | Total Heavy oil consumption
! style="text-align: left;" | Total Heavy oil consumption
| 16.67 || 75.83 || 109.17 || per second
| 20 || 91 || 131 || per second
|-
|-
! style="text-align: left;" | Total Water consumption
! style="text-align: left;" | Total Water consumption
| 12.5 || 56.88 || 81.88 || per second
| 15 || 68.25 || 98.25 || per second
|-
|-
! style="text-align: left;" | Total Light oil output
! style="text-align: left;" | Total Light oil output
| 12.5 || 73.94 || 106.44 || per second
| 15 || 88.725 || 127.725 || per second
|-
|-
!colspan="5"|Light oil cracking
!colspan="5"|Light oil cracking
Line 144: Line 144:
|-
|-
! style="text-align: left;" | Crafting speed
! style="text-align: left;" | Crafting speed
| 3 || 3 || 3 || s / final item
| 2 || 2 || 2 || s / final item
|-
|-
! style="text-align: left;" | Petroleum output
! style="text-align: left;" | Petroleum output
Line 150: Line 150:
|-
|-
! style="text-align: left;" | Base machine crafting speed
! style="text-align: left;" | Base machine crafting speed
| 1.25 || 1.25 || 1.25 || crafts / s
| 1 || 1 || 1 || crafts / s
|-
|-
! style="text-align: left;" | Crafting speed multiplier
! style="text-align: left;" | Crafting speed multiplier
Line 159: Line 159:
|-
|-
! style="text-align: left;" | Total Light oil consumption
! style="text-align: left;" | Total Light oil consumption
| 12.5 ||56.875 || 81.875 || per second
| 15 || 68.25 || 98.25 || per second
|-
|-
! style="text-align: left;" | Total Water consumption
! style="text-align: left;" | Total Water consumption
| 12.5 || 56.875 || 81.875 || per second
| 15 || 68.25 || 98.25 || per second
|-
|-
! style="text-align: left;" | Total Petroleum output
! style="text-align: left;" | Total Petroleum output
| 8.33 || 49.29 || 70.96 || per second
| 10 || 59.15 || 85.15 || per second
|-
|-
!colspan="5"|Ratio
!colspan="5"|Ratio
|-
|-
! style="text-align: left;" | Heavy oil cracking
! style="text-align: left;" | Heavy oil cracking
| 0.12 || 0.156 || 0.204 ||  
| 0.25 || 0.325 || 0.424 ||  
|-
|-
! style="text-align: left;" | Light oil cracking
! style="text-align: left;" | Light oil cracking
| 0.84 || 1.139 || 1.487 ||  
| 0.85 || 1.2025 || 1.57 ||  
|-
|-
! style="text-align: left;" | Output
! style="text-align: left;" | Petroleum gas output
| 18 || 121.198 || 227.746 || per second
| 19.5 || 136.193 || 255.923 || per second
|-
|-
|colspan="5" style="width: 600px; text-align: left;" | '''* Notes to table:''' ''Config 1'' is 3 Productivity modules 3 in each production building and 8 Beacons with 2 Speed modules 3 each in range of each production building. ''Config 2'' is 3 Productivity modules 3 in each production building and the highest achievable number of Beacons (16 for Refinery, 12 for Chemical plant) with 2 Speed modules 3 each in range of each prod. building.
|colspan="5" style="width: 600px; text-align: left;" | '''* Notes to table:''' ''Config 1'' is 3 Productivity modules 3 in each production building and 8 Beacons with 2 Speed modules 3 each in range of each production building. ''Config 2'' is 3 Productivity modules 3 in each production building and the highest achievable number of Beacons (16 for Refinery, 12 for Chemical plant) with 2 Speed modules 3 each in range of each prod. building.
|}
|}
For config 2 in the above (possibly collapsed) table, a good enough ratio is 7:3:11, and the next ratio that is better is 165:70:259. The optimal ratio involves over 50000 refineries, and so is practically useless. But, for reference, it's 52400:22230:82251.
== History ==
{{history|0.17.60|
* Basic oil processing produces only petroleum gas.}}
{{history|0.17.0|
* Coal liquefaction now produces 90 heavy oil, 20 light oil and 10 petroleum gas, consuming 25 heavy oil, 10 coal and 50 steam.}}
{{history|0.15.0|
* Added coal liquefaction oil processing recipe.}}
{{history|0.9.1|
* Added heavy oil cracking and light oil cracking.}}
{{history|0.9.0|
* Introduced
**Basic oil processing
**Advanced oil processing}}


== See also ==
== See also ==

Revision as of 11:56, 23 November 2020

Oil processing is a large part of Factorio. Oil processing may refer to the researched technology, the recipe used in the oil refinery, or the overall workings of oil.

Overview

There are various recipes that can be used to process crude oil into its fractions. Its fraction (heavy oil, light oil and petroleum gas) can also be cracked into each other. Their recipes and technology requirements can be seen below.

Process Input Output Machine Required technology Internal name
Basic oil processing.png
Basic oil processing
Time.png
5
+
Crude oil.png
100
Petroleum gas.png
45
Oil refinery.png
Oil processing (research).png
Oil processing
basic-oil-processing
Advanced oil processing.png
Advanced oil processing
Time.png
5
+
Crude oil.png
100
+
Water.png
50
Heavy oil.png
25
+
Light oil.png
45
+
Petroleum gas.png
55
Oil refinery.png
Advanced oil processing (research).png
Advanced oil processing
advanced-oil-processing
Heavy oil cracking.png
Heavy oil cracking
Time.png
2
+
Heavy oil.png
40
+
Water.png
30
Light oil.png
30
Chemical plant.png
Advanced oil processing (research).png
Advanced oil processing
heavy-oil-cracking
Light oil cracking.png
Light oil cracking
Time.png
2
+
Light oil.png
30
+
Water.png
30
Petroleum gas.png
20
Chemical plant.png
Advanced oil processing (research).png
Advanced oil processing
light-oil-cracking
Coal liquefaction.png
Coal liquefaction
Time.png
5
+
Coal.png
10
+
Heavy oil.png
25
+
Steam.png
50
Heavy oil.png
90
+
Light oil.png
20
+
Petroleum gas.png
10
Oil refinery.png
Coal liquefaction.png
Coal liquefaction
coal-liquefaction

Setting up oil processing

Pumpjacks need to be placed on top of the middle of the oil well, which is highlighted with a green box when the pumpjack is held. Pumpjacks produce a certain amount of Crude oil per second, shown on the right, at the bottom of the information panel.

Crude oil must be refined in an oil refinery. The oil refinery needs to have a recipe set (see above for available recipes). Once it is set and "alt-mode" is active, the input and output locations and the expected fluids are shown. The locations of these cannot be changed, only the entire machine can be rotated.

Advanced oil processing and coal liquefaction produce multiple fluids: heavy oil, light oil and petroleum gas. The refinery will stop production of all products if one product output is full, so it should be ensured that the products are transported out of the refinery; any products that cannot be used should be (temporarily) stored in a storage tank. Furthermore, both heavy oil and light oil can be cracked to the next lower type in a chemical plant (recipe above). This is useful if the player has an abundance of one product, but is lacking another (a common problem).

Tips

  • The circuit network can be used to easily control how much fluid gets used for each recipe, to ensure that the player always has enough. For examples on how to do this, see the circuit-network cookbook.
  • If you run your heavy oil pipe from the refineries past a lubricant-making chemical plant before sending it to the cracking chemical plants, you can be sure that the lubricant production will have priority over cracking.
  • Solid fuel is most efficient when created from light oil. If the player has too much heavy oil, cracking it to light oil then making it into fuel is more efficient than making heavy oil into fuel directly.

Transporting fluids

There are many ways to move fluids in Factorio, they are listed below:

Optimal Ratios

The optimal ratio is the ratio of production that ensures no waste of time or materials.

Petroleum gas production

For producing petroleum gas, the optimal advanced oil processing ratio is 20:5:17 (advanced oil processing : heavy oil cracking : light oil cracking), and 8:2:7 is close enough. Using coal liquefaction, the ratio is 60:39:55 (coal liquefaction : heavy oil cracking : light oil cracking), and 12:8:11 is close enough.

One refinery running basic oil processing produces 9 petroleum gas per second. One refinery running advanced oil processing combined with one of each oil cracking chemical plant produces 19.5 petroleum gas per second in total. One refinery running coal liquefaction combined with one of each oil cracking chemical plant produces close to 11.2 petroleum gas per second in total (taking into consideration the recycling of the heavy oil).

The refining can be sped up with modules; to prevent jams or inactive buildings it is recommended to speed everything up evenly. When slowing the process down (by using productivity modules) you are better off experimenting on altering the ratio or the speed on certain buildings, since the default ratios given above only hold if all the structures involved run at the same speed and have 100% productivity (in other words, no bonuses).

Petroleum production output with modules
Module configuration None Config 1 (*) Config 2 Units
Oil refinery
Crude oil consumption 100 100 100
Water consumption 50 50 50
Crafting speed 5 5 5 s / final item
Heavy oil output 25 25 25
Light oil output 45 45 45
Petroleum output 55 55 55
Base machine crafting speed 1 1 1 crafts / s
Crafting speed multiplier 100% 455% 855%
Output multiplier 100% 130% 130% final items
Total Crude oil consumption 20 91 171 per second
Total Water consumption 10 45.5 85.5 per second
Total Heavy oil output 5 29.575 55.575 per second
Total Light oil output 9 53.235 100.035 per second
Total Petroleum output 11 65.065 122.265 per second
Heavy oil cracking
Heavy oil consumption 40 40 40
Water consumption 30 30 30
Crafting speed 2 2 2 s / final item
Light oil output 30 30 30
Base machine crafting speed 1 1 1 crafts / s
Crafting speed multiplier 100% 455% 655%
Output multiplier 100% 130% 130% final items
Total Heavy oil consumption 20 91 131 per second
Total Water consumption 15 68.25 98.25 per second
Total Light oil output 15 88.725 127.725 per second
Light oil cracking
Light oil consumption 30 30 30
Water consumption 30 30 30
Crafting speed 2 2 2 s / final item
Petroleum output 20 20 20
Base machine crafting speed 1 1 1 crafts / s
Crafting speed multiplier 100% 455% 655%
Output multiplier 100% 130% 130% final items
Total Light oil consumption 15 68.25 98.25 per second
Total Water consumption 15 68.25 98.25 per second
Total Petroleum output 10 59.15 85.15 per second
Ratio
Heavy oil cracking 0.25 0.325 0.424
Light oil cracking 0.85 1.2025 1.57
Petroleum gas output 19.5 136.193 255.923 per second
* Notes to table: Config 1 is 3 Productivity modules 3 in each production building and 8 Beacons with 2 Speed modules 3 each in range of each production building. Config 2 is 3 Productivity modules 3 in each production building and the highest achievable number of Beacons (16 for Refinery, 12 for Chemical plant) with 2 Speed modules 3 each in range of each prod. building.

For config 2 in the above (possibly collapsed) table, a good enough ratio is 7:3:11, and the next ratio that is better is 165:70:259. The optimal ratio involves over 50000 refineries, and so is practically useless. But, for reference, it's 52400:22230:82251.

History

  • 0.17.60:
    • Basic oil processing produces only petroleum gas.
  • 0.17.0:
    • Coal liquefaction now produces 90 heavy oil, 20 light oil and 10 petroleum gas, consuming 25 heavy oil, 10 coal and 50 steam.
  • 0.15.0:
    • Added coal liquefaction oil processing recipe.
  • 0.9.1:
    • Added heavy oil cracking and light oil cracking.
  • 0.9.0:
    • Introduced
      • Basic oil processing
      • Advanced oil processing

See also