Assembling machine 3 speed, red circuit production puzzle

Don't know how to use a machine? Looking for efficient setups? Stuck in a mission?
Post Reply
matrix47
Burner Inserter
Burner Inserter
Posts: 8
Joined: Fri Apr 10, 2015 1:13 pm
Contact:

Assembling machine 3 speed, red circuit production puzzle

Post by matrix47 »

It seems that something is not right with assembler machine 3 production speed. With them I can't get perfect ratio for red circuit production - 1 copper wire assembler per 8 red circuit assemblers.
Check out this gameplay video on youtube: https://www.youtube.com/watch?v=bnFqaZrs5Zk (first 40 seconds).
Copper wire machines on bottom seem to produce at full speed, but the top most red circuit assemblers stop from time to time, though they shouldn't.
You can look at small green light on the assembler to see if it is working ( https://forums.factorio.com/forum/viewtop ... 94&t=18369 ).

I have posted this on reddit first, and some people confirmed they had the same problem: https://www.reddit.com/r/factorio/comme ... n_problem/

Any help will be strongly appreciated!

User avatar
DaveMcW
Smart Inserter
Smart Inserter
Posts: 3700
Joined: Tue May 13, 2014 11:06 am
Contact:

Re: Assembling machine 3 speed, red circuit production puzzle

Post by DaveMcW »

The 1:8 ratio is wrong.

Copper wire recipe takes 25 ticks to produce, not 24 = 60 * 0.5 / 1.25

Advanced circuit recipe takes 385 ticks to produce, not 384 = 60 * 8 / 1.25

The correct ratio is 10:77.
Last edited by DaveMcW on Mon Feb 22, 2016 2:04 pm, edited 1 time in total.

daniel34
Global Moderator
Global Moderator
Posts: 2761
Joined: Thu Dec 25, 2014 7:30 am
Contact:

Re: Assembling machine 3 speed, red circuit production puzzle

Post by daniel34 »

Given this simple setup:
Image
I can see that DaveMcW is right. The factory makes 287.9 cable/min as predicted:
3600 (ticks per minute) x 2 (products per run) / 25 (ticks it takes) = 288

What I don't understand, why does it take 25 and not 24 ticks? Is there a technical reason for that and are other (seemingly) perfect ratios affected too?
1.25 (AM3 crafting speed) x 2 (copper cable per prod. run) / 0.5 (time in seconds to produce) x 60 (seconds in a minute) = 300

EDIT: doing the same with Assembler 2, this calculation checks out:
0.75 (AM2 crafting speed) x 2 (copper cable per prod. run) / 0.5 (time in seconds to produce) x 60 (seconds in a minute) = 180
Measured result on production screen: ~180 cable / min
Why does the AM3 behave differently?
quick links: log file | graphical issues | wiki

matrix47
Burner Inserter
Burner Inserter
Posts: 8
Joined: Fri Apr 10, 2015 1:13 pm
Contact:

Re: Assembling machine 3 speed, red circuit production puzzle

Post by matrix47 »

DaveMcW wrote:The 1:8 ratio is wrong.

Copper wire recipe takes 25 ticks to produce, not 24 = 60 * 0.5 / 1.25

Advanced circuit recipe takes 385 ticks to produce, not 284 = 60 * 8 / 1.25

The correct ratio is 10:77.
I'm curious, where do numbers 25 and 385 come from?

User avatar
DaveMcW
Smart Inserter
Smart Inserter
Posts: 3700
Joined: Tue May 13, 2014 11:06 am
Contact:

Re: Assembling machine 3 speed, red circuit production puzzle

Post by DaveMcW »

matrix47 wrote:I'm curious, where do numbers 25 and 385 come from?
Writing a script that watches assembling machine output.

I'll give it here, but it will probably crash your game if you don't have chests where it expects.
Script

daniel34
Global Moderator
Global Moderator
Posts: 2761
Joined: Thu Dec 25, 2014 7:30 am
Contact:

Re: Assembling machine 3 speed, red circuit production puzzle

Post by daniel34 »

DaveMcW wrote:
matrix47 wrote:I'm curious, where do numbers 25 and 385 come from?
Writing a script that watches assembling machine output.
I see, but do you know why it is 25 and not 24?
After all, with the AM2 it is 40 ticks, which is 60 * 0.5 / 0.75
3600 / 40 ticks * 2 cable = 180/min, and that is what I measured in Factorio.

For AM3:
60 * 0,5 / 1.25 = 24 ticks, so 3600 / 24 ticks * 2 cable = 300/min, but measure says 288/min.
quick links: log file | graphical issues | wiki

matrix47
Burner Inserter
Burner Inserter
Posts: 8
Joined: Fri Apr 10, 2015 1:13 pm
Contact:

Re: Assembling machine 3 speed, red circuit production puzzle

Post by matrix47 »

DaveMcW wrote:
matrix47 wrote:I'm curious, where do numbers 25 and 385 come from?
Writing a script that watches assembling machine output.

I'll give it here, but it will probably crash your game if you don't have chests where it expects.
Script
hm, so maybe there is a constant delay of 1 tick between production cycles?

User avatar
Jackalope_Gaming
Fast Inserter
Fast Inserter
Posts: 230
Joined: Wed Oct 07, 2015 10:11 pm
Contact:

Re: Assembling machine 3 speed, red circuit production puzzle

Post by Jackalope_Gaming »

I have made a blueprint for red circuit assembly that directly inserts copper cable from the assembler into all 8 red circuit assemblers. My best guess is the assembler might not be able to make both copper cables at the same time, so each end up as part of a partial tick, and if the gap between those happens right with a game tick then the first one will happen on tick 24 and the second will have to be output on tick 25. http://factorioblueprints.com/view/zoLsyxznWfak6WCPA

In testing with that using assembler 3's I am also seeing a slight copper cable shortage. That's if we're saturating the green circuits another way since the design can't get enough iron input or green circuit output to fully feed all 8 red circuit assemblers.

Post Reply

Return to “Gameplay Help”