Specify loaders at Provider, or maximum cargo?

Adds new train stops forming a highly configurable logistic network.

Moderator: Optera

Post Reply
lrgold
Manual Inserter
Manual Inserter
Posts: 1
Joined: Sun Jun 07, 2020 5:49 pm
Contact:

Specify loaders at Provider, or maximum cargo?

Post by lrgold »

I'm having a small problem with different length trains and stations. I have a station with a single set of loaders (for a single cargo car). The consumer for these resources is also a 1-car unloader, and the minimum request size is exactly 1 cars worth of cargo (2000). When a 1-1 train gets dispatched, everything works perfectly. However, when a longer train gets dispatched, the request size is slightly over what a single car can handle (e.g. 2002). This causes the first car to be loaded, then the train to wait for the "timeout" since the last few items cannot be loaded.

I could limit the length of the train to those stations, or build additional loading/unloading stations, but it seems there must be a better solution than standardizing all trains to the same length.

I could reduce the minimum request size, but this seems hacky and suboptimal.

I suppose I could wire up logic to only supply the max(2000,actual items), but that seems overly complicated.

Can someone suggest a simpler/cleaner solution?

TIA!

User avatar
Optera
Smart Inserter
Smart Inserter
Posts: 2919
Joined: Sat Jun 11, 2016 6:41 am
Contact:

Re: Specify loaders at Provider, or maximum cargo?

Post by Optera »

That's what maximum train length is for.

Post Reply

Return to “Logistic Train Network”