Calculate Time for production?
Calculate Time for production?
So I'm trying to accurately calculate mining times and production times. The displayed values don't match what I'm seeing with production values.
Example: Iron ore mining -- 2 seconds to mine, electric mining drill says .5 mining speed.
Shouldn't that mean it's at 50% speed so 3 seconds to mine where a 1 mining speed == 2 seconds to mine?
Furnace smelting. Furnace says it's a 1 speed, iron smelting is 3.5 seconds ... actual is 2 seconds (approx. measured).
So how do you accurately calculate the true production time, mining time, smelting time of items?
(did a search and couldn't find answers)
Example: Iron ore mining -- 2 seconds to mine, electric mining drill says .5 mining speed.
Shouldn't that mean it's at 50% speed so 3 seconds to mine where a 1 mining speed == 2 seconds to mine?
Furnace smelting. Furnace says it's a 1 speed, iron smelting is 3.5 seconds ... actual is 2 seconds (approx. measured).
So how do you accurately calculate the true production time, mining time, smelting time of items?
(did a search and couldn't find answers)
Re: Calculate Time for production?
The Smelter have a smeltspeed and the plates have a production time.
Miningdrills have a Miningspeed and the mined materials have a mining time.
Assemblers have a productionspeed and the crafted items have a productionstime.
for production and smelting there are 2 values you have to use for calculation:
example for Iron plates with the first smelter:
production_time (3.5) / production_speed (1) = 3.5 seconds
for mining there are 4 values you have to use for calculation:
example with electric mining drill on copper field:
mining_hardeness (0.9)/ mining_power (3) = 0.3 seconds
mining_speed (0.5) * mining_time (2) = 1 second
Total time: 1.3 seconds
Miningdrills have a Miningspeed and the mined materials have a mining time.
Assemblers have a productionspeed and the crafted items have a productionstime.
for production and smelting there are 2 values you have to use for calculation:
example for Iron plates with the first smelter:
production_time (3.5) / production_speed (1) = 3.5 seconds
for mining there are 4 values you have to use for calculation:
example with electric mining drill on copper field:
mining_hardeness (0.9)/ mining_power (3) = 0.3 seconds
mining_speed (0.5) * mining_time (2) = 1 second
Total time: 1.3 seconds
Re: Calculate Time for production?
Awesome thanks, I kinda figured on the production ones but the mining ones were throwing me for a loop.
Re: Calculate Time for production?
folowing wiki formula for item per sec :
Minning Time / ((Mining power - Mining hardness) * Speed) = production rate( in sec for item)
2/((3-0.9)*0.5)=1,9... sec for one ore iron/copper or coal
that simply compared to obserwed fact that electric mining dril is litle slower than stell/electric furnace
Minning Time / ((Mining power - Mining hardness) * Speed) = production rate( in sec for item)
2/((3-0.9)*0.5)=1,9... sec for one ore iron/copper or coal
that simply compared to obserwed fact that electric mining dril is litle slower than stell/electric furnace
Re: Calculate Time for production?
Edit: seems that Kazinski was faster From which page do you have the formula? Cause it looks better balanced...
Interesting. In the wiki we have this: https://forums.factorio.com/wiki/inde ... ning_drill
The formula there says:
I even cannot say, which is really right, cause I'm writing this on my iPad.
Interesting. In the wiki we have this: https://forums.factorio.com/wiki/inde ... ning_drill
The formula there says:
Code: Select all
(Mining power - Mining hardness) * Speed / Mining Time = production rate (in resource/s)
(3(power) - 0.9(hardness)) = 2.1 * 0.5(speed) = 1.05 / 2(time) = 0.525 items/sec = every 1,9047619048 sec one item
Cool suggestion: Eatable MOUSE-pointers.
Have you used the Advanced Search today?
Need help, question? FAQ - Wiki - Forum help
I still like small signatures...
Have you used the Advanced Search today?
Need help, question? FAQ - Wiki - Forum help
I still like small signatures...
Re: Calculate Time for production?
in scholl im have good grade for match and simple rewriting formula from wiki page is not problem
Re: Calculate Time for production?
Of course. I always pressed the 1/x button on my calculator to get seconds per resource.
I added it to the wiki article.
I added it to the wiki article.
Cool suggestion: Eatable MOUSE-pointers.
Have you used the Advanced Search today?
Need help, question? FAQ - Wiki - Forum help
I still like small signatures...
Have you used the Advanced Search today?
Need help, question? FAQ - Wiki - Forum help
I still like small signatures...
Re: Calculate Time for production?
I tried to calculate how much ore can be obtained per unit of spent fuel.
I use this formulas: https://forums.factorio.com/wiki/inde ... ning_drill.
I insert 50 coal into burner mining drill and into boiler which feeds electric mining drill.
I calculate working time:
Time = Fuel * Fuel value * Efficiency / Energy consumption.
Res qty = Time / Seconds for one resource item.
On 50 coal Burner mining drill time = 50*8000*100%/300 = 1333.33 sec.
On 50 coal Electric mining drill time = 50*8000*50%/90 = 2222.22 sec.
Iron ore mining:
Burner mining drill:
Seconds for one resource item = 3.571 sec/res.
On 50 coal ore qty = 373.33
Electric mining drill:
Seconds for one resource item = 1.905 sec/res.
On 50 coal ore qty = 1166.67
On real game I got:
Burner mining drill on 50 coal ore qty = 372.1
Electric mining drill on 50 coal ore qty = 1159.4
Why did I receive less ore than expected?
I use this formulas: https://forums.factorio.com/wiki/inde ... ning_drill.
I insert 50 coal into burner mining drill and into boiler which feeds electric mining drill.
I calculate working time:
Time = Fuel * Fuel value * Efficiency / Energy consumption.
Res qty = Time / Seconds for one resource item.
On 50 coal Burner mining drill time = 50*8000*100%/300 = 1333.33 sec.
On 50 coal Electric mining drill time = 50*8000*50%/90 = 2222.22 sec.
Iron ore mining:
Burner mining drill:
Seconds for one resource item = 3.571 sec/res.
On 50 coal ore qty = 373.33
Electric mining drill:
Seconds for one resource item = 1.905 sec/res.
On 50 coal ore qty = 1166.67
On real game I got:
Burner mining drill on 50 coal ore qty = 372.1
Electric mining drill on 50 coal ore qty = 1159.4
Why did I receive less ore than expected?
Re: Calculate Time for production?
@Udav
After each cycle it takes two ticks (2/60sec) to start a new cyxle.
Since drills and assembly machines shate the same source code I guess this also applies to assembly machines.
(posting this despite the age of the thread since it is linked in the wiki)
After each cycle it takes two ticks (2/60sec) to start a new cyxle.
Since drills and assembly machines shate the same source code I guess this also applies to assembly machines.
(posting this despite the age of the thread since it is linked in the wiki)
Re: Calculate Time for production?
I've updated the wiki with precalculated rates for the vanilla ores.
https://wiki.factorio.com/index.php?title=Mining_drills
https://wiki.factorio.com/index.php?title=Mining_drills
Re: Calculate Time for production?
Source? Never heard of this before.b0wter wrote:@Udav
After each cycle it takes two ticks (2/60sec) to start a new cyxle.
My mods: Capsule Ammo | HandyHands - Automatic handcrafting | ChunkyChunks - Configurable Gridlines
Some other creations: Combinassembly Language GitHub w instructions and link to run it in your browser | 0~drain Laser
Some other creations: Combinassembly Language GitHub w instructions and link to run it in your browser | 0~drain Laser