Calculate Time for production?

Don't know how to use a machine? Looking for efficient setups? Stuck in a mission?
Post Reply
Marconos
Filter Inserter
Filter Inserter
Posts: 275
Joined: Mon Jun 02, 2014 10:46 pm

Calculate Time for production?

Post by Marconos » Sat Jan 31, 2015 3:53 am

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)

Tami
Fast Inserter
Fast Inserter
Posts: 141
Joined: Tue Nov 19, 2013 11:29 am

Re: Calculate Time for production?

Post by Tami » Sat Jan 31, 2015 4:46 am

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

Marconos
Filter Inserter
Filter Inserter
Posts: 275
Joined: Mon Jun 02, 2014 10:46 pm

Re: Calculate Time for production?

Post by Marconos » Sat Jan 31, 2015 5:07 am

Awesome thanks, I kinda figured on the production ones but the mining ones were throwing me for a loop.

Kazinski
Burner Inserter
Burner Inserter
Posts: 8
Joined: Sun Jan 11, 2015 3:26 pm

Re: Calculate Time for production?

Post by Kazinski » Sat Jan 31, 2015 12:30 pm

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

User avatar
ssilk
Global Moderator
Global Moderator
Posts: 10397
Joined: Tue Apr 16, 2013 10:35 pm

Re: Calculate Time for production?

Post by ssilk » Sat Jan 31, 2015 12:41 pm

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:

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
I even cannot say, which is really right, cause I'm writing this on my iPad. ;)
Cool suggestion: Eatable MOUSE-pointers.
Have you used the Advanced Search today?
Need help, question? FAQ - Wiki - Forum help
I still like small signatures...

Kazinski
Burner Inserter
Burner Inserter
Posts: 8
Joined: Sun Jan 11, 2015 3:26 pm

Re: Calculate Time for production?

Post by Kazinski » Sat Jan 31, 2015 1:36 pm

in scholl im have good grade for match and simple rewriting formula from wiki page is not problem :)

User avatar
ssilk
Global Moderator
Global Moderator
Posts: 10397
Joined: Tue Apr 16, 2013 10:35 pm

Re: Calculate Time for production?

Post by ssilk » Sat Jan 31, 2015 3:28 pm

Of course. I always pressed the 1/x button on my calculator to get seconds per resource. :)
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...

Udav
Inserter
Inserter
Posts: 21
Joined: Fri May 29, 2015 10:20 pm

Re: Calculate Time for production?

Post by Udav » Fri May 29, 2015 11:54 pm

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?

b0wter
Manual Inserter
Manual Inserter
Posts: 1
Joined: Sun Mar 20, 2016 9:19 pm

Re: Calculate Time for production?

Post by b0wter » Sun Mar 20, 2016 9:41 pm

@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)

User avatar
riking
Inserter
Inserter
Posts: 30
Joined: Thu May 05, 2016 5:35 pm

Re: Calculate Time for production?

Post by riking » Fri Jun 03, 2016 5:21 am

I've updated the wiki with precalculated rates for the vanilla ores.

https://wiki.factorio.com/index.php?title=Mining_drills

Qon
Filter Inserter
Filter Inserter
Posts: 793
Joined: Thu Mar 17, 2016 6:27 am

Re: Calculate Time for production?

Post by Qon » Fri Jun 03, 2016 3:08 pm

b0wter wrote:@Udav
After each cycle it takes two ticks (2/60sec) to start a new cyxle.
Source? Never heard of this before.
My mods: HandyHands - Automatic handcrafting
Proof-of-qoncept early WIP mod: VehicleVaulting - Instantly jump into vehicles in your inventory with a single action. Need feedback if I should complete this or not.

Post Reply

Return to “Gameplay Help”