Is there a limit to number of trains sent to Depot?

Adds new train stops forming a highly configurable logistic network.

Moderator: Optera

Post Reply
zOldBulldog
Smart Inserter
Smart Inserter
Posts: 1161
Joined: Sat Mar 17, 2018 1:20 pm
Contact:

Is there a limit to number of trains sent to Depot?

Post by zOldBulldog »

I am very puzzled. I made a Depot with stops for many trains but after a certain number of trains it just won't let me assign more trains to it even though there are slots available.

Is this a limit of LTN or is this a sign that I messed up something? If so... what is the best way to troubleshoot it?

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

Re: Is there a limit to number of trains sent to Depot?

Post by Optera »

How many is "a certain number"?
What does "assign more trains to it" mean?

Far as I know there is no limit to trains having the same stop in their schedule, and that is all it takes to assign trains to a depot.

zOldBulldog
Smart Inserter
Smart Inserter
Posts: 1161
Joined: Sat Mar 17, 2018 1:20 pm
Contact:

Re: Is there a limit to number of trains sent to Depot?

Post by zOldBulldog »

Optera wrote:
Tue May 07, 2019 12:27 pm
How many is "a certain number"?
What does "assign more trains to it" mean?

Far as I know there is no limit to trains having the same stop in their schedule, and that is all it takes to assign trains to a depot.
It recognizes aprox 8 trains with the schedule set to 5sec inactivity on the Depot stop name.
I have stops for about 16 trains, all with the Depot name.
But when I try to set the schedule for one more train train... the Depot does not even show in the list of stations.

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

Re: Is there a limit to number of trains sent to Depot?

Post by Optera »

That would be a bug in factorio.
Mods have no control of the stops listed in schedules.

zOldBulldog
Smart Inserter
Smart Inserter
Posts: 1161
Joined: Sat Mar 17, 2018 1:20 pm
Contact:

Re: Is there a limit to number of trains sent to Depot?

Post by zOldBulldog »

Optera wrote:
Tue May 07, 2019 1:20 pm
That would be a bug in factorio.
Mods have no control of the stops listed in schedules.
But is it a known limitation or should I suspect that I messed up?

Also, what is the workaround? Because clearly nobody can setup a proper base with just 8 trains for depot stops. So, if this is a known bug in Factorio, someone must have figured out how to work around it and it must be the common practice with LTN.

boran_blok
Long Handed Inserter
Long Handed Inserter
Posts: 93
Joined: Fri Mar 01, 2019 7:56 am
Contact:

Re: Is there a limit to number of trains sent to Depot?

Post by boran_blok »

I am still unclear how you assign trains to depots or verify trains that are assigned to depots.

I have run depots with 50 trains on our previous map before, granted this proved to be a huge bottleneck but that was just train pathfinding, assigning all those trains to the depot was no problem at all.

zOldBulldog
Smart Inserter
Smart Inserter
Posts: 1161
Joined: Sat Mar 17, 2018 1:20 pm
Contact:

Re: Is there a limit to number of trains sent to Depot?

Post by zOldBulldog »

boran_blok wrote:
Tue May 07, 2019 1:37 pm
I am still unclear how you assign trains to depots or verify trains that are assigned to depots.

I have run depots with 50 trains on our previous map before, granted this proved to be a huge bottleneck but that was just train pathfinding, assigning all those trains to the depot was no problem at all.
Thank you!!! That was what I needed to hear. It means/proves that the error is mine, not a bug.

With that information I could still not find the cause... but deleting and rebuilding the later (unused part) of my depot array... fixed it. Not sure what was wrong but I clearly had done something wrong.

Problem solved.
---

To answer your question:
- I place an LTN stop object.
- I name the LTN stop something I recognize like Depot or LTN Depot.
- I place a constant combinator next to it.
- I wire the constant combinator to the lamp in the LTN stop with a wire.
- I set signals in the constant combinator. In this particular case:
--- Stop is Depot = 1
--- Minimum Train Length = 3
--- Maximum Train Length = 12
- I go into the train scheduling and set a single stop, using the LTN Depot stop name. For a wait condition I use 5 sec of inactivity.

That is it. I copy that for every single stop in the depot array.

NOTE: Of course, I also have other stuff to do fueling at the depot. For example an LTN Request stop for the fuel train that unloads (through a balancer) into a couple of Provider Chests, a few roboports and logistic bots, and a few Requester Chests to feed the locomotive while they wait. I use bots for this because it allows me to put the depot rails just 2 blocks apart, very compact.

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

Re: Is there a limit to number of trains sent to Depot?

Post by Optera »

Train length is ignored for depots.

The only control signal used on depots is NetworkID.

zOldBulldog
Smart Inserter
Smart Inserter
Posts: 1161
Joined: Sat Mar 17, 2018 1:20 pm
Contact:

Re: Is there a limit to number of trains sent to Depot?

Post by zOldBulldog »

Optera wrote:
Tue May 07, 2019 2:18 pm
Train length is ignored for depots.

The only control signal used on depots is NetworkID.
Thank you! Extremely good info to know.

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

Re: Is there a limit to number of trains sent to Depot?

Post by Optera »

The manual clearly states this. At least to me its clear.

Bushdoctor
Fast Inserter
Fast Inserter
Posts: 183
Joined: Sun Feb 21, 2016 6:33 pm
Contact:

Re: Is there a limit to number of trains sent to Depot?

Post by Bushdoctor »

Optera wrote:
Tue May 07, 2019 3:10 pm
[Train length is ignored for depots.]
The manual clearly states this. At least to me its clear.
It's easy to overlook that the topic on that page switches from Depot to Requester and Provider.
Don't get me wrong, it's noted as it should be in the manual... but still it's easy to overlook that that part doesn't count for depots.
Anyways, I'm glad I found your comment because it both answered my question and also made me go back to see where I missed something obvious.

Post Reply

Return to “Logistic Train Network”