Difference between revisions of "Refinery"

From Space Engineers Wiki
Jump to: navigation, search
m (+updating itembox)
m (Refining Rates: Simplified the formulas)
 
(17 intermediate revisions by 8 users not shown)
Line 1: Line 1:
{{itembox
+
{{SimpleItembox|Mod:Vanilla/CubeBlock/LargeRefinery
| item = Refinery
+
|Size|Mass|Integrity|BuildTimeSeconds|MaterialEfficiency#%|RefineSpeed#%|OperationalPowerConsumption#kW|StandbyPowerConsumption#kW|InventoryVolume#L|IsAirTight|ResourceSinkGroup|PCU}}
| description = A functional structure for processing [[Ore]] into useful [[Material]].
+
{{CategorizeComponents|Mod:Vanilla/CubeBlock/LargeRefinery}}
| tool = no
 
| largeship = yes
 
| smallship = no
 
| component = no
 
| rawmaterial = no
 
| material = no
 
 
 
| materialefficiency = 0.8
 
| refinespeed = 1.3
 
| lbuildtime = 70
 
| lairtightness = sometimes
 
| lresourcesinkgroup = Factory
 
| lpowerconsumption = 0.56
 
| lpowerstandby = 0.001
 
| lcomponentstructure = 2
 
| lcomponent1 = Steel Plate
 
| lcomponent1amt = 100
 
| lcomponent2 = Computer
 
| lcomponent2amt = 20
 
| lcomponent3 = Motor
 
| lcomponent3amt = 16
 
| lcomponent4 = Large Steel Tube
 
| lcomponent4amt = 20
 
| lcomponent5 = Construction Component
 
| lcomponent5amt = 40
 
| lcomponent6 = Steel Plate
 
| lcomponent6amt = 1100
 
 
 
| lwidth = 2
 
| lheight = 4
 
| ldepth = 2
 
| lstoragecapacity = 7500 ([[ore|ores]]), 7500 ([[material|ingots]])
 
 
 
| version = 01.108
 
}}
 
  
 
== Overview ==
 
== Overview ==
The [[Refinery]] is a functional [[Block]] available for [[Large Ship]]s and [[Station]]s, used to process raw [[Ore]]s into useful [[Material]]s. If connected to a [[Conveyor Network]] via one of the inventory access points, the Refinery can automatically pull in Ores from attached inventories to process, and any attached [[Assembler]]s can pull refined Materials from the Refinery as needed. Unlike the [[Arc Furnace]], the Refinery is capable of refining all ore types in the game, with the exception of [[Ice]], which must be processed inside an [[Oxygen Generator]].
+
The [[Refinery]] is a functional [[Block]] available for [[Large Ship]]s and [[Station]]s, used to process raw [[Ore]]s into useful [[Material]]s. If connected to a [[Conveyor Network]] via one of the inventory access points, the Refinery can automatically pull in Ores from attached inventories to process, and any attached [[Assembler]]s can pull refined Materials from the Refinery as needed. Unlike the [[Arc Furnace|Basic Refinery]], the Refinery is capable of refining all ore types in the game, with the exception of [[Ice]], which must be processed inside an [[Oxygen Generator]]. Both of its ore and ingot inventories hold {{#show:Mod:Vanilla/CubeBlock/LargeRefinery|?InventoryVolume#L}} each.
  
 
== Usage ==
 
== Usage ==
Line 45: Line 10:
  
 
=== Efficiency ===
 
=== Efficiency ===
In addition to this every type of Refiner (Refinery, [[Arc Furnace]]) also has their own ore efficiency ratio and refining speed. The factors in determining the yield of any given quantity of ores being turned into useful materials is as follows:
+
In addition to this every type of Refiner ([[Refinery]], [[Arc Furnace|Basic Refinery]]) also has their own ore efficiency ratio and refining speed. The factors in determining the yield of any given quantity of ores being turned into useful materials is as follows:
  
  Materials Produced == Ore x (RefineryEfficiency x 1.0905077 ^ EffModules)
+
  Materials Produced == Ore × (RefineryEfficiency × {{#show:Mod:Vanilla/CubeBlock/LargeEffectivenessModule|?UpgradeModuleModifier#-n}} ^ YieldModules)
 
   
 
   
 
  Ore                = the specific '''Ore's Material Efficiency''' (Ore-Ingot Ratio)
 
  Ore                = the specific '''Ore's Material Efficiency''' (Ore-Ingot Ratio)
  RefineryEfficiency = the Refinery's '''Material Efficiency''' (which for the Refinery is 0.8)
+
  RefineryEfficiency = the refiner's '''Material Efficiency''' (which for the Refinery is {{#show:Mod:Vanilla/CubeBlock/LargeRefinery|?MaterialEfficiency#-n}})
  EffModules        = the amount of attachment point connected [[Efficiency Upgrade Module|Effectiveness Modules]],
+
  YieldModules      = the amount of attachment point connected [[Efficiency Upgrade Module|Yield Modules]],
 
                       each module fills 2 attachment ports - so provides 2 each.
 
                       each module fills 2 attachment ports - so provides 2 each.
  
Using this we can estimate the yield of 50 kg of Nickel Ore to come out to 16 kg of processed Nickel Ingot, since:  
+
Using this we can estimate the yield of 50 kg of Nickel Ore to come out to {{#vardefineecho:calcresult|{{#expr: 50 * {{#show:Mod:Vanilla/Ore/Nickel|?RefineAmount#-n}} * {{#show:Mod:Vanilla/CubeBlock/LargeRefinery|?MaterialEfficiency#-n}}}}}} kg of processed Nickel Ingot, since:  
  50 kg of Nickel Ore x 0.4 (the ore's efficiency) x 0.8 (the refinery's base efficiency) = 16 kg of Nickel Ingots
+
  50 kg of Nickel Ore × {{#show:Mod:Vanilla/Ore/Nickel|?RefineAmount#-n}} (the ore's efficiency) × {{#show:Mod:Vanilla/CubeBlock/LargeRefinery|?MaterialEfficiency#-n}} (the refinery's base efficiency) = {{#var:calcresult}} kg of Nickel Ingots
  
 
=== Refining Rates ===
 
=== Refining Rates ===
 
+
{{#vardefine:matefficiency|{{#show:Mod:Vanilla/CubeBlock/LargeRefinery|?MaterialEfficiency#-n}}}}
{| class="wikitable"
+
{{#vardefine:refspeed|{{#show:Mod:Vanilla/CubeBlock/LargeRefinery|?RefineSpeed#-n}}}}
!rowspan="2" ; style="text-align:center ; font-size:18px;" |'''[[Ores|<span style="color:black">Raw</span>]]'''
+
{| class="wikitable sortable"
!colspan="2" ; style="text-align:center ; font-size:18px;" |'''Input [[Ores|Raw]]'''
+
!style="text-align:center;" | Ore
!colspan="2" ; style="text-align:center ; font-size:18px;" |'''Output [[Material|Ingots]]'''
+
!style="text-align:center;" data-sort-type="number" | Processing<br/>Time
!rowspan="2" ; style="text-align:center ; font-size:18px;" |'''Ore-Ingot<br> Ratio''' <br><sup>[%]</sup>
+
!style="text-align:center;" data-sort-type="number" | Combined<br/>Efficiency
!rowspan="2" ; style="text-align:center ; font-size:18px;" |'''Ore Refining<br> Speed''' <br><sup>[in seconds]</sup>
+
!style="text-align:center;" data-sort-type="number" | Consumption
!rowspan="2" ; style="text-align:center ; font-size:18px;" |'''[[Material|<span style="color:black">Ingots</span>]]'''
+
!style="text-align:center;" data-sort-type="number" | Production
|-
+
!style="text-align:center;" data-sort-type="number"| Production<br/>Time
|style="text-align:center ; font-size:18px;" |Kg/hour
+
!style="text-align:center;" | Result
|style="text-align:center ; font-size:18px;" |sec/kg
+
{{:Refining/RefiningTableRow|Mod:Vanilla/Ore/Cobalt|Mod:Vanilla/Ingot/Cobalt|RefinerySpeed={{#var:refspeed}}|RefineryEfficiency={{#var:matefficiency}}}}
|style="text-align:center ; font-size:18px;" |Kg/hour
+
{{:Refining/RefiningTableRow|Mod:Vanilla/Ore/Gold|Mod:Vanilla/Ingot/Gold|RefinerySpeed={{#var:refspeed}}|RefineryEfficiency={{#var:matefficiency}}}}
|style="text-align:center ; font-size:18px;" |sec/kg
+
{{:Refining/RefiningTableRow|Mod:Vanilla/Ore/Iron|Mod:Vanilla/Ingot/Iron|RefinerySpeed={{#var:refspeed}}|RefineryEfficiency={{#var:matefficiency}}}}
|-
+
{{:Refining/RefiningTableRow|Mod:Vanilla/Ore/Magnesium|Mod:Vanilla/Ingot/Magnesium|RefinerySpeed={{#var:refspeed}}|RefineryEfficiency={{#var:matefficiency}}}}
!style="text-align:left; font-size:16px;" |{{icon|Stone|small}} '''[[Stone]]'''
+
{{:Refining/RefiningTableRow|Mod:Vanilla/Ore/Nickel|Mod:Vanilla/Ingot/Nickel|RefinerySpeed={{#var:refspeed}}|RefineryEfficiency={{#var:matefficiency}}}}
|style="text-align:right;"|46800
+
{{:Refining/RefiningTableRow|Mod:Vanilla/Ore/Platinum|Mod:Vanilla/Ingot/Platinum|RefinerySpeed={{#var:refspeed}}|RefineryEfficiency={{#var:matefficiency}}}}
|style="text-align:right;"|0.05
+
{{:Refining/RefiningTableRow|Mod:Vanilla/Ore/Scrap|Mod:Vanilla/Ingot/Iron|RefinerySpeed={{#var:refspeed}}|RefineryEfficiency={{#var:matefficiency}}}}
|style="text-align:right;"|33696
+
{{:Refining/RefiningTableRow|Mod:Vanilla/Ore/Silicon|Mod:Vanilla/Ingot/Silicon|RefinerySpeed={{#var:refspeed}}|RefineryEfficiency={{#var:matefficiency}}}}
|style="text-align:right;"|0.11
+
{{:Refining/RefiningTableRow|Mod:Vanilla/Ore/Silver|Mod:Vanilla/Ingot/Silver|RefinerySpeed={{#var:refspeed}}|RefineryEfficiency={{#var:matefficiency}}}}
|style="text-align:right;"|90%
+
{{:Refining/RefiningTableRow|Mod:Vanilla/Ore/Stone
|style="text-align:right;"|0.1
+
|Mod:Vanilla/Ingot/Stone
!style="text-align:left; font-size:16px;" |{{icon|Gravel|small}} '''[[Gravel]]'''
+
|Mod:Vanilla/Ingot/Iron
|-
+
|Mod:Vanilla/Ingot/Nickel
!style="text-align:left; font-size:16px;" |{{icon|Scrap Metal|small}} '''[[Scrap Metal]]'''
+
|Mod:Vanilla/Ingot/Silicon
|style="text-align:right;"|117000
+
|RefinerySpeed={{#var:refspeed}}|RefineryEfficiency={{#var:matefficiency}}}}
|style="text-align:right;"|0.03
+
{{:Refining/RefiningTableRow|Mod:Vanilla/Ore/Uranium|Mod:Vanilla/Ingot/Uranium|RefinerySpeed={{#var:refspeed}}|RefineryEfficiency={{#var:matefficiency}}}}
|style="text-align:right;"|74880
 
|style="text-align:right;"|0.05
 
|style="text-align:right;"|80%
 
|style="text-align:right;"|0.04
 
|rowspan="2" ; style="text-align:left ; font-size:16px;" |{{icon|Iron Ingot|small}} '''[[Iron Ingot]]'''
 
|-
 
!style="text-align:left; font-size:16px;" |{{icon|Iron Ore|small}} '''[[Iron Ore]]'''
 
|style="text-align:right;"|93600
 
|style="text-align:right;"|0.04
 
|style="text-align:right;"|52416
 
|style="text-align:right;"|0.07
 
|style="text-align:right;"|70%
 
|style="text-align:right;"|0.05
 
|-
 
!style="text-align:left; font-size:16px;" |{{icon|Silicon Ore|small}} '''[[Silicon Ore]]'''
 
|style="text-align:right;"|7800
 
|style="text-align:right;"|0.46
 
|style="text-align:right;"|4368
 
|style="text-align:right;"|0.82
 
|style="text-align:right;"|70%
 
|style="text-align:right;"|0.6
 
!style="text-align:left; font-size:16px;" |{{icon|Silicon Wafer|small}} '''[[Silicon Wafer]]'''
 
|-
 
!style="text-align:left; font-size:16px;" |{{icon|Nickel Ore|small}} '''[[Nickel Ore]]'''
 
|style="text-align:right;"|2340
 
|style="text-align:right;"|1.54
 
|style="text-align:right;"|749
 
|style="text-align:right;"|4.81
 
|style="text-align:right;"|40%
 
|style="text-align:right;"|2
 
!style="text-align:left; font-size:16px;" |{{icon|Nickel Ingot|small}} '''[[Nickel Ingot]]'''
 
|-
 
!style="text-align:left; font-size:16px;" |{{icon|Cobalt Ore|small}} '''[[Cobalt Ore]]'''
 
|style="text-align:right;"|1170
 
|style="text-align:right;"|3.08
 
|style="text-align:right;"|281
 
|style="text-align:right;"|12.82
 
|style="text-align:right;"|30%
 
|style="text-align:right;"|4
 
!style="text-align:left; font-size:16px;" |{{icon|Cobalt Ingot|small}} '''[[Cobalt Ingot]]'''
 
|-
 
!style="text-align:left; font-size:16px;" |{{icon|Silver Ore|small}} '''[[Silver Ore]]'''
 
|style="text-align:right;"|4680
 
|style="text-align:right;"|0.77
 
|style="text-align:right;"|374
 
|style="text-align:right;"|9.62
 
|style="text-align:right;"|10%
 
|style="text-align:right;"|1
 
!style="text-align:left; font-size:16px;" |{{icon|Silver Ingot|small}} '''[[Silver Ingot]]'''
 
|-
 
!style="text-align:left; font-size:16px;" |{{icon|Gold Ore|small}} '''[[Gold Ore]]'''
 
|style="text-align:right;"|11700
 
|style="text-align:right;"|0.31
 
|style="text-align:right;"|94
 
|style="text-align:right;"|38.46
 
|style="text-align:right;"|1%
 
|style="text-align:right;"|0.4
 
!style="text-align:left; font-size:16px;" |{{icon|Gold Ingot|small}} '''[[Gold Ingot]]'''
 
|-
 
!style="text-align:left; font-size:16px;" |{{icon|Magnesium Ore|small}} '''[[Magnesium Ore]]'''
 
|style="text-align:right;"|4680
 
|style="text-align:right;"|0.77
 
|style="text-align:right;"|26
 
|style="text-align:right;"|137.36
 
|style="text-align:right;"|0.7%
 
|style="text-align:right;"|1
 
!style="text-align:left; font-size:16px;" |{{icon|Magnesium Powder|small}} '''[[Magnesium Powder]]'''
 
|-
 
!style="text-align:left; font-size:16px;" |{{icon|Uranium Ore|small}} '''[[Uranium Ore]]'''
 
|style="text-align:right;"|1170
 
|style="text-align:right;"|3.08
 
|style="text-align:right;"|7
 
|style="text-align:right;"|549.45
 
|style="text-align:right;"|0.7%
 
|style="text-align:right;"|4
 
!style="text-align:left; font-size:16px;" |{{icon|Uranium Ingot|small}} '''[[Uranium Ingot]]'''
 
|-
 
!style="text-align:left; font-size:16px;" |{{icon|Platinum Ore|small}} '''[[Platinum Ore]]'''
 
|style="text-align:right;"|1170
 
|style="text-align:right;"|3.08
 
|style="text-align:right;"|5
 
|style="text-align:right;"|769.23
 
|style="text-align:right;"|0.5%
 
|style="text-align:right;"|4
 
!style="text-align:left; font-size:16px;" |{{icon|Platinum Ingot|small}} '''[[Platinum Ingot]]'''
 
 
|}
 
|}
  
 
:Based on game data file content.
 
:Based on game data file content.
:Ore consumed per second = Refinery Speed * Blueprint Input / Blueprint Processing Time.
+
:Kilogram ore consumed per second = [[Property:RefineSpeed|Refinery Speed]] &times; [[Property:Mass|Ore Mass]] &divide; [[Property:RefineTime|Ore RefineTime]]
:Ingots produced per second = Refinery Speed * Refinery Material Efficiency * Blueprint Output / Blueprint Processing Time.
+
:Kilogram ingots produced per second = [[Property:RefineSpeed|Refinery Speed]] &times; [[Property:RefineAmount|Refined Mass]] &times; [[Property:MaterialEfficiency|Refinery Efficiency]] &divide; [[Property:RefineTime|Ore RefineTime]]
 
 
=== Upgrade Modules ===
 
 
 
''Information is current for v1.089''
 
  
A Refinery starts with '100%' in all categories. When you add modules, the Refinery's Control Panel will show the adjusted percentages. The Refinery block itself has eight attachment points for modules, all on the flat grey side. Each module can occupy up to two attachment points.
+
== Upgrade Modules ==
 +
A Refinery starts with ''100%'' in all categories. When you add modules, the Refinery's Control Panel will show the adjusted percentages. The Refinery block itself has eight attachment points for modules, all on the flat grey side. Each module can occupy up to two attachment points.
  
 
There are three types of upgrade module for Refineries:
 
There are three types of upgrade module for Refineries:
  
==== [[Power Efficiency Upgrade Module|Power Efficiency modules]] ====
+
=== [[Power Efficiency Upgrade Module|Power Efficiency modules]] ===
Decrease the Refinery's power consumption.
+
Improves the Refinery's power efficiency by about {{#expr: {{#show:Mod:Vanilla/CubeBlock/LargeEnergyModule|?UpgradeModuleModifier#}}*100 - 100 round 0}}%, {{#show:Mod:Vanilla/CubeBlock/LargeEnergyModule|?UpgradeModuleModifierType}}, for each attachment point.
  
==== [[Effectiveness Upgrade Module|Effectiveness modules]] ====
+
;For 1 attachment slot
 +
:{{#show:Mod:Vanilla/CubeBlock/LargeRefinery|?OperationalPowerConsumption#kW}} / {{#show:Mod:Vanilla/CubeBlock/LargeEnergyModule|?UpgradeModuleModifier#-n}} ^ 1 &asymp; {{#expr:{{#show:Mod:Vanilla/CubeBlock/LargeRefinery|?OperationalPowerConsumption#-n}} / 1000 / {{#show:Mod:Vanilla/CubeBlock/LargeEnergyModule|?UpgradeModuleModifier#-n}} ^ 1 round 0}} kW
 +
;For all 8 slots:
 +
:{{#show:Mod:Vanilla/CubeBlock/LargeRefinery|?OperationalPowerConsumption#kW}} / {{#show:Mod:Vanilla/CubeBlock/LargeEnergyModule|?UpgradeModuleModifier#-n}} ^ 8 &asymp; {{#expr:{{#show:Mod:Vanilla/CubeBlock/LargeRefinery|?OperationalPowerConsumption#-n}} / 1000 / {{#show:Mod:Vanilla/CubeBlock/LargeEnergyModule|?UpgradeModuleModifier#-n}} ^ 8 round 0}} kW
 +
 +
=== [[Effectiveness Upgrade Module|Yield modules]] ===
 
Increase the number of ingots you get for a given quantity of ore. This also has the effect of producing ingots faster. It does not affect ore consumption rate, nor does it affect power consumption.
 
Increase the number of ingots you get for a given quantity of ore. This also has the effect of producing ingots faster. It does not affect ore consumption rate, nor does it affect power consumption.
  
Effectiveness modules increase Material Efficiency by about 9% per attachment point. Their influence is cumulative, so three attachment points give 1.09 x 1.09 x 1.09 = 1.30 times the efficiency (30% bonus rather than 27%). Filling all eight will yield a 100% bonus. This means that maximizing Effectiveness will generate twice as many ingots from a given volume of ore.
+
Effectiveness modules increase Material Efficiency by about {{#expr: {{#show:Mod:Vanilla/CubeBlock/LargeEffectivenessModule|?UpgradeModuleModifier#-}}*100-100 round 0}}% per attachment point. Their influence is cumulative, so three attachment points give {{#expr: {{#show:Mod:Vanilla/CubeBlock/LargeEffectivenessModule|?UpgradeModuleModifier#-}} round 2}} ^ 3 = {{#expr: {{#show:Mod:Vanilla/CubeBlock/LargeEffectivenessModule|?UpgradeModuleModifier#-}}^3 round 2}} times the efficiency ({{#expr: {{#show:Mod:Vanilla/CubeBlock/LargeEffectivenessModule|?UpgradeModuleModifier#-}}^3 * 100 - 100 round 0}}% bonus rather than {{#expr: {{#show:Mod:Vanilla/CubeBlock/LargeEffectivenessModule|?UpgradeModuleModifier#-}}*100*3 - 300 round 0}}%). Filling all eight will yield a {{#expr: {{#show:Mod:Vanilla/CubeBlock/LargeEffectivenessModule|?UpgradeModuleModifier#-}}^8 * 100 - 100 round 2}}% bonus. This means that maximizing Effectiveness will generate twice as many ingots from a given volume of ore.
  
 
Note however that a refinery cannot produce more ingots than it consumes ore. For iron, the conversion is already 70% mass-efficient. Maximum Effectiveness would give us a theoretical yield of 0.7 x (0.8 x 2) = 1.12 ie. 1kg of ore would become 1.12kg of ingots, but the refinery cannot produce more ingots than there is ore (as this would be creating matter). For most ores this isn't an issue though.
 
Note however that a refinery cannot produce more ingots than it consumes ore. For iron, the conversion is already 70% mass-efficient. Maximum Effectiveness would give us a theoretical yield of 0.7 x (0.8 x 2) = 1.12 ie. 1kg of ore would become 1.12kg of ingots, but the refinery cannot produce more ingots than there is ore (as this would be creating matter). For most ores this isn't an issue though.
  
==== [[Productivity Upgrade Module|Productivity modules]] ====
+
=== [[Productivity Upgrade Module|Speed modules]] ===
 
Increase the speed at which ore gets converted into ingots, and increases power consumption.
 
Increase the speed at which ore gets converted into ingots, and increases power consumption.
  
Productivity modules add 50% to the Productivity stat for each attachment point occupied, giving a maximum of 500% achievable with 4 modules filling all points. This does not yield 5 times the refinement speed, however. A Refinery has a base refining speed of 1.3 and productivity gains are added to this at a rate of 0.5 per attachment point, so the actual speed can be calculated as:
+
Productivity modules add {{#expr:{{#show:Mod:Vanilla/CubeBlock/LargeProductivityModule|?UpgradeModuleModifier#-}}*100 round 0}}% to the Productivity stat for each attachment point occupied, giving a maximum of {{#expr:{{#show:Mod:Vanilla/CubeBlock/LargeProductivityModule|?UpgradeModuleModifier#-}}*100*8 round 0}}% achievable with 4 modules filling all points. This does not yield 5 times the refinement speed, however. A Refinery has a base refining speed of {{#show:Mod:Vanilla/CubeBlock/LargeRefinery|?RefineSpeed#-n}} and productivity gains are added to this at a rate of {{#show:Mod:Vanilla/CubeBlock/LargeProductivityModule|?UpgradeModuleModifier#-}} per attachment point, so the actual speed can be calculated as:
  
 
  p = number of Productivity attachment points (0 to 8)
 
  p = number of Productivity attachment points (0 to 8)
  Productivity shown in control panel = 100% + (p*50%)
+
  Productivity shown in control panel = 100% + (p*{{#expr:{{#show:Mod:Vanilla/CubeBlock/LargeProductivityModule|?UpgradeModuleModifier#-}}*100 round 0}}%)
  base speed = 1.3
+
  base speed = {{#show:Mod:Vanilla/CubeBlock/LargeRefinery|?RefineSpeed#-n}}
  actual refining speed = 1.3 + (p/2)
+
  actual refining speed = {{#show:Mod:Vanilla/CubeBlock/LargeRefinery|?RefineSpeed#-n}} + (p/2)
  observed speed increase = p*38.46%
+
  observed speed increase = p*{{#expr: ({{#show:Mod:Vanilla/CubeBlock/LargeRefinery|?RefineSpeed#-n}} + {{#show:Mod:Vanilla/CubeBlock/LargeProductivityModule|?UpgradeModuleModifier#-}}) / {{#show:Mod:Vanilla/CubeBlock/LargeRefinery|?RefineSpeed#-n}} * 100 - 100 round 2}}%
 +
 
 +
So the maximum Productivity boost actually yields about {{#expr: ({{#show:Mod:Vanilla/CubeBlock/LargeRefinery|?RefineSpeed#-n}} + {{#show:Mod:Vanilla/CubeBlock/LargeProductivityModule|?UpgradeModuleModifier#-}}*8) / {{#show:Mod:Vanilla/CubeBlock/LargeRefinery|?RefineSpeed#-n}} round 0}} times the base refining speed, rather than 5 times.
  
So the maximum Productivity boost actually yields about 4 times the base refining speed, rather than 5 times.
+
=== Combined effect ===
  
  pro = Productivity attachment points
+
  spd = Speed attachment points
 
  pow = Power Efficiency attachment points
 
  pow = Power Efficiency attachment points
 
  eff = Effectiveness module attachment points
 
  eff = Effectiveness module attachment points
  
  Power modifier = (1+0.5*Pro)/(1.2228445^pow)
+
  Power modifier         = (1+{{#show:Mod:Vanilla/CubeBlock/LargeProductivityModule|?UpgradeModuleModifier#-}}*spd)/({{#show:Mod:Vanilla/CubeBlock/LargeEnergyModule|?UpgradeModuleModifier#-}}^pow)
  Effectiveness modifier = 1.0905077 ^ eff
+
  Effectiveness modifier = {{#show:Mod:Vanilla/CubeBlock/LargeEffectivenessModule|?UpgradeModuleModifier#-}} ^ eff
  Production modifier = 0.5*pro
+
  Production modifier   = {{#show:Mod:Vanilla/CubeBlock/LargeProductivityModule|?UpgradeModuleModifier#-}}*spd
  
 
== Media ==
 
== Media ==
Line 218: Line 102:
  
 
== Tips ==
 
== Tips ==
* It's far more efficient to have an [[Arc Furnace]] refine your iron than the refinery.
+
* <s>It's far more efficient to have an [[Arc Furnace]] refine your iron than the refinery.</s> The Arc Furnace was repurposed in v1.189 to the [[Arc Furnace|Basic Refinery]].
 
* Power efficiency modules are better than you think, when your refinery is running 24/7, this can save tons of power!
 
* Power efficiency modules are better than you think, when your refinery is running 24/7, this can save tons of power!
  
Line 226: Line 110:
  
 
== See also ==
 
== See also ==
* [[Arc Furnace]]
+
* [[Arc Furnace|Basic Refinery]]
 
* [[Assembler]]
 
* [[Assembler]]
 
* [[Oxygen Generator]]
 
* [[Oxygen Generator]]
Line 235: Line 119:
 
== Programming ==
 
== Programming ==
  
* [[Programming_Guide/Action_List#Refinery|Action List - Refinery]]
+
* [[Programming_Guide/Action_List#Refinery_and_Arc_Furnace|Action List - Refinery]]
  
 
== Update History ==
 
== Update History ==
 
<div style="-webkit-border-image: none;-webkit-box-shadow: rgba(0, 0, 0, 0.046875) 0px 1px 1px 0px inset;background-color: #eeeeee;border-bottom-color: #AFAFAF;border-bottom-left-radius: 3px;border-bottom-right-radius: 3px;border-bottom-style: solid;border-bottom-width: 1px;border-left-color: #AFAFAF;border-left-style: solid;border-left-width: 1px;border-right-color: #AFAFAF;border-right-style: solid;border-right-width: 1px;border-top-color: #AFAFAF;border-top-left-radius: 3px;border-top-right-radius: 3px;border-top-style: solid;border-top-width: 1px;box-shadow: rgba(0, 0, 0, 0.046875) 0px 1px 1px 0px inset;color: #333;display: block;font-family: 'Helvetica Neue', Helvetica, Arial, sans-serif;font-size: 1em;height: auto;line-height: 20px;margin-bottom: 5px;margin-left: 8px;margin-right: 8px;margin-top: 0px;min-height: 20px;padding-bottom: 4px;padding-left: 4px;padding-right: 4px;padding-top: 4px;width: auto;">
 
<div style="-webkit-border-image: none;-webkit-box-shadow: rgba(0, 0, 0, 0.046875) 0px 1px 1px 0px inset;background-color: #eeeeee;border-bottom-color: #AFAFAF;border-bottom-left-radius: 3px;border-bottom-right-radius: 3px;border-bottom-style: solid;border-bottom-width: 1px;border-left-color: #AFAFAF;border-left-style: solid;border-left-width: 1px;border-right-color: #AFAFAF;border-right-style: solid;border-right-width: 1px;border-top-color: #AFAFAF;border-top-left-radius: 3px;border-top-right-radius: 3px;border-top-style: solid;border-top-width: 1px;box-shadow: rgba(0, 0, 0, 0.046875) 0px 1px 1px 0px inset;color: #333;display: block;font-family: 'Helvetica Neue', Helvetica, Arial, sans-serif;font-size: 1em;height: auto;line-height: 20px;margin-bottom: 5px;margin-left: 8px;margin-right: 8px;margin-top: 0px;min-height: 20px;padding-bottom: 4px;padding-left: 4px;padding-right: 4px;padding-top: 4px;width: auto;">
 
{| class="wikitable" style="width: 100%"
 
{| class="wikitable" style="width: 100%"
 +
|style="text-align: left;width: 8%"| [[Update 01.048]] ||style="padding-left: 10px;padding-right: 10px;"|
 +
*Fixed infinite refinery production issue
 +
*Fixed cannot stack items in production queue
 +
*Fixed issue when refineries were still working even when the power was cut off
 +
|-
 +
|style="text-align: left;width: 8%"| [[Update 01.047|Update 01.047.016]] ||style="padding-left: 10px;padding-right: 10px;"|
 +
*Fixed issue with refineries still working when power is cut off
 +
|-
 +
|style="text-align: left;width: 8%"| [[Update 01.045]] ||style="padding-left: 10px;padding-right: 10px;"|
 +
*Improved rendering performance of refinery
 +
|-
 +
|style="text-align: left;width: 8%"| [[Update 01.043|Update 01.043.013]] ||style="padding-left: 10px;padding-right: 10px;"|
 +
*Fixed refinery issues
 +
|-
 +
|style="text-align: left;width: 8%"| [[Update 01.033]] ||style="padding-left: 10px;padding-right: 10px;"|
 +
*Fixed material resources not being displayed
 +
|-
 +
|style="text-align: left;width: 8%"| [[Update 01.023]] ||style="padding-left: 10px;padding-right: 10px;"|
 +
*Silver refinement is 4x faster
 +
*Fixed rare infinite loading caused by refinery
 +
|-
 +
|style="text-align: left;width: 8%"| [[Update 01.022]] ||style="padding-left: 10px;padding-right: 10px;"|
 +
*Increased the uranium refinement speed by 20%
 +
*Fixed unit display in refinery
 +
*Fixed refinery speed
 +
|-
 +
|style="text-align: left;width: 8%"| [[Update 01.021|Update 01.021.029]] ||style="padding-left: 10px;padding-right: 10px;"|
 +
*Fixed refinery sound
 +
|-
 +
|style="text-align: left;width: 8%"| [[Update 01.021]] ||style="padding-left: 10px;padding-right: 10px;"|
 +
*Added new (Idle, processing) sounds
 +
|-
 +
|style="text-align: left;width: 8%"| [[Update 01.020]] ||style="padding-left: 10px;padding-right: 10px;"|
 +
*Refinery sends items into the assembler when it’s built next to it and shares a conveyor door
 +
*New sounds added
 +
|-
 +
|style="text-align: left;width: 8%"| [[Update 01.013.008]] ||style="padding-left: 10px;padding-right: 10px;"|
 +
*Fixed crash in refinery
 +
|-
 +
|style="text-align: left;width: 8%"| [[Update 01.013.008|Update 01.013]] ||style="padding-left: 10px;padding-right: 10px;"|
 +
*Refinery became a functional block.
 +
|-
 
|style="text-align: left;width: 8%"| [[Update 01.004.011]] ||style="padding-left: 10px;padding-right: 10px;"|
 
|style="text-align: left;width: 8%"| [[Update 01.004.011]] ||style="padding-left: 10px;padding-right: 10px;"|
 
*Fixed refinery collision model
 
*Fixed refinery collision model
Line 245: Line 171:
  
 
</div>
 
</div>
 +
[[Category:Functional Blocks]]

Latest revision as of 11:08, 16 January 2021

Refinery Icon.png
Large Ship / Station
Refinery
Large Ship Icon.png

ComponentsRequired

 Functional 

 Hack 

Dimensions (W,H,L)2,4,2
Mass25,328 kg
25,328,000 g
25,328,000,000 mg
25.328 t
Integrity123,660
Build time90 s
Material Efficiency100 %
Refine Speed130 %
Power Consumption560 kW
560,000 W
0.56 MW
Idle Power Consumption1 kW
1,000 W
1.0e-3 MW
Inventory Volume7,500 L
7.5 m³
750 hL
Is AirtightPartially
Power Consumer GroupFactory
PCU Cost90
BrowseLast edit: 2020-04-11

Overview

The Refinery is a functional Block available for Large Ships and Stations, used to process raw Ores into useful Materials. If connected to a Conveyor Network via one of the inventory access points, the Refinery can automatically pull in Ores from attached inventories to process, and any attached Assemblers can pull refined Materials from the Refinery as needed. Unlike the Basic Refinery, the Refinery is capable of refining all ore types in the game, with the exception of Ice, which must be processed inside an Oxygen Generator. Both of its ore and ingot inventories hold 7,500 L
7.5 m³
750 hL
each.

Usage

Each Ore once mined from an ore vein from an Asteroid, Moon, or Planet is in a very impure form that is mixed up with other elements and contaminated with impurities not suited for fashioning into useful Components, the Refinery for lack of a better word Refines the ores into their pure forms much like Smelting. Since the Ores are riddled with impurities most of the Ore will be processed away leaving behind only the base element. Each type of ore has their own ratio of impurities and the time necessary to remove.

Efficiency

In addition to this every type of Refiner (Refinery, Basic Refinery) also has their own ore efficiency ratio and refining speed. The factors in determining the yield of any given quantity of ores being turned into useful materials is as follows:

Materials Produced == Ore × (RefineryEfficiency × 1.0905077 ^ YieldModules)

Ore                = the specific Ore's Material Efficiency (Ore-Ingot Ratio)
RefineryEfficiency = the refiner's Material Efficiency (which for the Refinery is 1)
YieldModules       = the amount of attachment point connected Yield Modules,
                     each module fills 2 attachment ports - so provides 2 each.

Using this we can estimate the yield of 50 kg of Nickel Ore to come out to 20 kg of processed Nickel Ingot, since:

50 kg of Nickel Ore × 0.4 (the ore's efficiency) × 1 (the refinery's base efficiency) = 20 kg of Nickel Ingots

Refining Rates

Ore Processing
Time
Combined
Efficiency
Consumption Production Production
Time
Result
Cobalt Ore Icon.png Cobalt Ore 2.308 s/kg 30% 0.433 kg/s 0.13 kg/s 7.692 s/kg Cobalt Ingot Icon.png Cobalt Ingot
Gold Ore Icon.png Gold Ore 0.308 s/kg 1% 3.25 kg/s 0.033 kg/s 30.769 s/kg Gold Ingot Icon.png Gold Ingot
Iron Ore Icon.png Iron Ore 0.038 s/kg 70% 26 kg/s 18.2 kg/s 0.055 s/kg Iron Ingot Icon.png Iron Ingot
Magnesium Ore Icon.png Magnesium Ore 0.385 s/kg 0.7% 2.6 kg/s 0.018 kg/s 54.945 s/kg Magnesium Powder Icon.png Magnesium Powder
Nickel Ore Icon.png Nickel Ore 0.508 s/kg 40% 1.97 kg/s 0.788 kg/s 1.269 s/kg Nickel Ingot Icon.png Nickel Ingot
Platinum Ore Icon.png Platinum Ore 2.308 s/kg 0.5% 0.433 kg/s 0.002 kg/s 461.538 s/kg Platinum Ingot Icon.png Platinum Ingot
Scrap Metal Icon.png Scrap Metal 0.031 s/kg 80% 32.5 kg/s 26 kg/s 0.038 s/kg Iron Ingot Icon.png Iron Ingot
Silicon Ore Icon.png Silicon Ore 0.462 s/kg 70% 2.167 kg/s 1.517 kg/s 0.659 s/kg Silicon Wafer Icon.png Silicon Wafer
Silver Ore Icon.png Silver Ore 0.769 s/kg 10% 1.3 kg/s 0.13 kg/s 7.692 s/kg Silver Ingot Icon.png Silver Ingot
Stone Icon.png Stone 0.008 s/kg 5.04% 130 kg/s 6.552 kg/s 0.153 s/kg Gravel Icon.png Gravel
Iron Ingot Icon.png Iron Ingot
Nickel Ingot Icon.png Nickel Ingot
Silicon Wafer Icon.png Silicon Wafer
Uranium Ore Icon.png Uranium Ore 3.077 s/kg 1% 0.325 kg/s 0.003 kg/s 307.692 s/kg Uranium Ingot Icon.png Uranium Ingot
Based on game data file content.
Kilogram ore consumed per second = Refinery Speed × Ore Mass ÷ Ore RefineTime
Kilogram ingots produced per second = Refinery Speed × Refined Mass × Refinery Efficiency ÷ Ore RefineTime

Upgrade Modules

A Refinery starts with 100% in all categories. When you add modules, the Refinery's Control Panel will show the adjusted percentages. The Refinery block itself has eight attachment points for modules, all on the flat grey side. Each module can occupy up to two attachment points.

There are three types of upgrade module for Refineries:

Power Efficiency modules

Improves the Refinery's power efficiency by about 22%, Multiplicative, for each attachment point.

For 1 attachment slot
560 kW
560,000 W
0.56 MW
/ 1.2228445 ^ 1 ≈ 458 kW
For all 8 slots
560 kW
560,000 W
0.56 MW
/ 1.2228445 ^ 8 ≈ 112 kW

Yield modules

Increase the number of ingots you get for a given quantity of ore. This also has the effect of producing ingots faster. It does not affect ore consumption rate, nor does it affect power consumption.

Effectiveness modules increase Material Efficiency by about 9% per attachment point. Their influence is cumulative, so three attachment points give 1.09 ^ 3 = 1.3 times the efficiency (30% bonus rather than 27%). Filling all eight will yield a 100% bonus. This means that maximizing Effectiveness will generate twice as many ingots from a given volume of ore.

Note however that a refinery cannot produce more ingots than it consumes ore. For iron, the conversion is already 70% mass-efficient. Maximum Effectiveness would give us a theoretical yield of 0.7 x (0.8 x 2) = 1.12 ie. 1kg of ore would become 1.12kg of ingots, but the refinery cannot produce more ingots than there is ore (as this would be creating matter). For most ores this isn't an issue though.

Speed modules

Increase the speed at which ore gets converted into ingots, and increases power consumption.

Productivity modules add 50% to the Productivity stat for each attachment point occupied, giving a maximum of 400% achievable with 4 modules filling all points. This does not yield 5 times the refinement speed, however. A Refinery has a base refining speed of 1.3 and productivity gains are added to this at a rate of 0.5 per attachment point, so the actual speed can be calculated as:

p = number of Productivity attachment points (0 to 8)
Productivity shown in control panel = 100% + (p*50%)
base speed = 1.3
actual refining speed = 1.3 + (p/2)
observed speed increase = p*38.46%

So the maximum Productivity boost actually yields about 4 times the base refining speed, rather than 5 times.

Combined effect

spd = Speed attachment points
pow = Power Efficiency attachment points
eff = Effectiveness module attachment points
Power modifier         = (1+0.5*spd)/(1.2228445^pow)
Effectiveness modifier = 1.0905077 ^ eff
Production modifier    = 0.5*spd

Media

Refinery Refinery01.jpg

Tips

  • It's far more efficient to have an Arc Furnace refine your iron than the refinery. The Arc Furnace was repurposed in v1.189 to the Basic Refinery.
  • Power efficiency modules are better than you think, when your refinery is running 24/7, this can save tons of power!

Known Issues

  • Refineries use system resources when they process, so having tons of them in a small confined area can slightly affect performance. Still present as of Update 01.111
  • Refineries don't discriminate between different types of ores, so your refinery may be wasting time on stone instead of more valuable ores. A good way to address this is with the Programmable Block and a Refinery script from the Steam Workshop, or use a Conveyor Sorter.

See also

Programming

Update History

Update 01.048
  • Fixed infinite refinery production issue
  • Fixed cannot stack items in production queue
  • Fixed issue when refineries were still working even when the power was cut off
Update 01.047.016
  • Fixed issue with refineries still working when power is cut off
Update 01.045
  • Improved rendering performance of refinery
Update 01.043.013
  • Fixed refinery issues
Update 01.033
  • Fixed material resources not being displayed
Update 01.023
  • Silver refinement is 4x faster
  • Fixed rare infinite loading caused by refinery
Update 01.022
  • Increased the uranium refinement speed by 20%
  • Fixed unit display in refinery
  • Fixed refinery speed
Update 01.021.029
  • Fixed refinery sound
Update 01.021
  • Added new (Idle, processing) sounds
Update 01.020
  • Refinery sends items into the assembler when it’s built next to it and shares a conveyor door
  • New sounds added
Update 01.013.008
  • Fixed crash in refinery
Update 01.013
  • Refinery became a functional block.
Update 01.004.011
  • Fixed refinery collision model