[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 » Wed Oct 17, 2018 2:57 am

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 14 times
factorio-current.log
(3.54 KiB) Downloaded 13 times

quyxkh
Filter Inserter
Filter Inserter
Posts: 713
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 » Wed Oct 17, 2018 5:35 pm

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 438 times

User avatar
DaveMcW
Smart Inserter
Smart Inserter
Posts: 2806
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 » Wed Oct 17, 2018 6:28 pm

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: 3644
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 » Tue Mar 26, 2019 10:33 pm

Seems to be fixed in 0.17.21

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

Post Reply

Return to “Resolved Problems and Bugs”

Who is online

Users browsing this forum: No registered users