r/factorio•
lazyl

Splitters seem to have a bias

All the small, low volume, unloading stations in my starter base were showing this bias regardless of all my balancing attempts. I couldn't figure it out so I decided to build a test system.

I created two 1-2 trains which loaded and unloaded into each other in a loop. It should have been completely balanced but after a while there was a severe imbalance between the first and second cars of one of the trains. Video. I can't think of any explanation except that the splitters must be biased, no?

Edit: Crisis averted. u/strangepostinghabits pointed out that the belt lengths on the loader were not the same for both wagons. I corrected that and then the counts were within a reasonable margin compared to my stack inserter bonus.

Posted Mar 22, 2017, 11:40 AM UTC · edited

4028

your belts are unequal. the travel time to the rear wagon is shorter than the front, plates reach it first, and more get added before it leaves. Set train departure condition to inactivity and try. you will get equal handling.

Splitters have been proven over and over again to be quite exact, some people even have sorting setups that depend on this.

27
lazylOP•

Hmm. I will make those paths the same length and try again. I don't want to set the condition to inactivity because then if there is an imbalance it will be reset each cycle and I want it to build up over time to be more obvious.

3
shinaritno shit posts please•

If there were any imbalance it wouldn't be reset.

4

attach the belts to circuits and count the items. easy as pie. you will see there is no bias.

1
Loraash•

The inserters are the ones that are biased.

7
stringweaselIn the name of science!•

It did look like that yes, but what is the reason? There shouldn't be an bias. Maybe the one carriage is available for unloading a few ticks before the other one.

1
lazylOP•

Can you elaborate? There are exactly the same number of inserters on each wagon so even if they did have a bias it should cancel out.

1
Loraash•

If the splitters get full belts they have a quirk that one belt side goes one way and another belt side goes another way. This is not technically intended by the developers, but it's correct as far as splitters go.

Inserters have a preference for one belt side, and I also think it takes them a little more time to reach for the other side.

These combined can explain why one side of the splitter gets loaded onto the train slightly faster.

If I'm wrong, somebody please correct me!

5
stringweaselIn the name of science!•

Inserters does have preference as where to pick up or put down, but all the inserters in the example is in exactly the same configuration. If one inserter was putting down to the West, and the other to the South, then it would've made a difference.

2
Loraash•

That's entirely different. This is about inserters picking up stuff.

1

it's not an actual mechanic, just a natural result of placing every other element on each output belt with complete disregard for belt lanes. if you give the splitter exactly the same number of items on each lane, you will get a very regular-looking output because both the splitter and the input are completely regular. Either a zigzag pattern on both belts, or one lane per belt.

This is not a bias or a bug, just a result of the system that humans often fail to predict.

2
Loraash•

Which is also exactly what I said. :)

1
vidjagaimes•

This might be testable with Bob's mods or something. You can customise which side of the belt inserters place items on, which also adjusts their 'rest' position at so perhaps you can fix this problem.

1
[deleted]•

[deleted]

1
MrSynckt•

I believe this is the case, you can have a belt that has ore on one side and coal on the other, chuck it into a splitter and you'll have two belts with ore on one side and coal on the other.

It's what makes this work

1

you are entirely incorrect. The above works because splitters never change the lane of any input item.

-1
Nagapito•

That is easy, because the path to the left side after the splitter is 1 tile short so it starts sooner.

1
Greydmiyu•

What's your stack size bonus?

1
lazylOP•

Stack inserters are at +25 and normal inserters are at +3. It shouldn't affect the test.

2
Greydmiyu•

So 26 and 4 for the stack size of each?

1
Nagapito•

You dont even need to wait 30 mins to notice it!
http://imgur.com/a/20xSp
Just as the first train finished loading you can notice the first wagon belts have way more plates then the right ones.

If the split was perfect between all belts, the left side, being a little shorter, should actually seem like it had more plates, since it had less space to hold the same amount but the results shows the opposite!

I also noticed something strange with loaders. They bias one side of the belt. My warehouse was being feed by an unbalanced copper smeltery and only the right side of the belt was full and the left empty. All good, this goes inside the warehouse and the output loader will output on both lanes and gets balanced, right?

Wrong! The loader output place the items on the right side of the belt and left side was still empty! I would not be admired if loaders and splitters shared some code that might be responsible for both this situations, causing a very slight un-balancing that builds over time.

I always got the felling that those 'perfect' balancers posted everywhere never seemed perfect. With all belts fully saturated, you dont notice it, with a few items only you dont notice too since the difference is 1 item here and there and you work to saturate them soon as possible. But, if you actually never force saturation and just keep them working at half-load, over time you will see that they are actually far from perfectly balanced!

-6

inserters place items on belts according to strict rules. you will never see "bias". An inserter placed in a certain direction, placing items on a belt going in a certain direction, will always place items in the same lane. The perfect balancers posted are often posted by people who don't know what they are talking about, so sometimes you are right. Most solutions are however proven correct and will not have any of the bias people in this thread seem to believe in.

The left lane starts loading sooner than the right in OP's video. it loads more plates in the time available, and has less plates left.

2
hovissimo•

Inserters definitely have a speed bias (dependent on near/far lanes and inserter direction), and in the case of backed up belts going through splitters the side of the splitter with faster inserters will "steal" material from the other side.

1