[0.16.51] Splitter input priority does not work when output belts are of mixed speed

This subforum contains all the issues which we already resolved.
Post Reply
lexi.lambda
Burner Inserter
Burner Inserter
Posts: 9
Joined: Tue Sep 04, 2018 12:09 am
Contact:

[0.16.51] Splitter input priority does not work when output belts are of mixed speed

Post by lexi.lambda »

A picture is worth a thousand words:



The above priority splitter has input priority set to the left side, and the output belts are red and yellow, which together form the same amount of throughput as the blue belt supplying the input. Therefore, this should pull from the blue belt at full speed and not use the yellow belt at all, but it doesn’t work that way—the yellow belt is pulled from at full speed, instead, and the blue belt is forced to wait.

I’ve attached a save file that reproduces the problem.
Attachments
priority-splitter-bug.zip
(2.26 MiB) Downloaded 65 times
factorio-current.log
(3.54 KiB) Downloaded 81 times

quyxkh
Smart Inserter
Smart Inserter
Posts: 1028
Joined: Sun May 08, 2016 9:01 am
Contact:

Re: [0.16.51] Splitter input priority does not work when output belts are of mixed speed

Post by quyxkh »

Splitters can only prioritize the inputs they have, they don't know what's going to happen in the future, they only know what's at their input ports right now. Set the game speed down to like 1/30 or something and watch: that splitter's prioritizing what it has.

If you want to stuff the blue belt before splitting it, do that:
snap@T4842885=1088x208+570.5-139.75,z2.jpg
snap@T4842885=1088x208+570.5-139.75,z2.jpg (16.36 KiB) Viewed 1902 times

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

Re: [0.16.51] Splitter input priority does not work when output belts are of mixed speed

Post by DaveMcW »

The root problem is the splitter will occasionally output 4 items on the same tick, but its input buffer only holds 2 items per belt. To fix this the splitter would need to buffer 4 items per belt (2 items per lane).

User avatar
Klonan
Factorio Staff
Factorio Staff
Posts: 5150
Joined: Sun Jan 11, 2015 2:09 pm
Contact:

Re: [0.16.51] Splitter input priority does not work when output belts are of mixed speed

Post by Klonan »

Seems to be fixed in 0.17.21

Attachments
2019-03-26_23-33-05.mp4
(1.08 MiB) Downloaded 62 times

Post Reply

Return to “Resolved Problems and Bugs”