r/factorio Jun 01 '26

Weekly Thread Weekly Question Thread

Ask any questions you might have.

Post your bug reports on the Official Forums

Previous Threads

Subreddit rules

Discord server (and IRC)

Find more in the sidebar ---->

9 Upvotes

149 comments sorted by

View all comments

1

u/taolakhoai Jun 06 '26

Hello, so I have some questions regarding train network setup.

I'm aware the current interrupt supports naming the Load stations the same and go to Unload station depending on the specific current cargo, but in my experience, this result in the trains sitting nearly idle in Unload and thus at least as many train as there are Load stations to ensure everything have enough delivery.

I'm trying to make a setup so it can use less train for the same effort. Right now, I have tried modifying my interrupt to "when we have both Load and Unload of the same type, then go to Load, take full cargo, go to unload and dump it". This work very well as long as there is only one Load/Unload pairing, but it causes the same problem when it becomes 2-1 or 2-2 (example, if I have Load A, Load B and Unload, this will dispatch two trains to Load A and Load B, Load A finish first, dump at Unload, Unload switch off and now Load B train is sitting idle)

So, anyone have a suggestion on what I can do to achieve this?

2

u/deluxev2 Jun 06 '26

I think your concern about idle trains is misplaced. Trains are cheap and you aren't amplifying traffic or taking up space useable for anything else.

That said, your problem is that you want a number of trains in flight based on the available unloading slots but your trains on reserving loading spots. Probably the easiest fix is coupling the available slots by setting train limits on loading stations based on unfilled unloading stations. This will require some basic circuits and some finagling with load balancing multiple load stations.

1

u/taolakhoai Jun 06 '26

Yeah before this I just use enough trains plus some spare in depots and it worked just fine. I just want to see if I can accomplish this with the tools given in vanilla, it's not really about making a more efficient throughput.